1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.61 for cairo-clock 0.3.4.
4#
5# Report bugs to <macslow@bangang.de>.
6#
7# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9# This configure script is free software; the Free Software Foundation
10# gives unlimited permission to copy, distribute and modify it.
11## --------------------- ##
12## M4sh Initialization.  ##
13## --------------------- ##
14
15# Be more Bourne compatible
16DUALCASE=1; export DUALCASE # for MKS sh
17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18  emulate sh
19  NULLCMD=:
20  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21  # is contrary to our usage.  Disable this feature.
22  alias -g '${1+"$@"}'='"$@"'
23  setopt NO_GLOB_SUBST
24else
25  case `(set -o) 2>/dev/null` in
26  *posix*) set -o posix ;;
27esac
28
29fi
30
31
32
33
34# PATH needs CR
35# Avoid depending upon Character Ranges.
36as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39as_cr_digits='0123456789'
40as_cr_alnum=$as_cr_Letters$as_cr_digits
41
42# The user is always right.
43if test "${PATH_SEPARATOR+set}" != set; then
44  echo "#! /bin/sh" >conf$$.sh
45  echo  "exit 0"   >>conf$$.sh
46  chmod +x conf$$.sh
47  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
48    PATH_SEPARATOR=';'
49  else
50    PATH_SEPARATOR=:
51  fi
52  rm -f conf$$.sh
53fi
54
55# Support unset when possible.
56if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
57  as_unset=unset
58else
59  as_unset=false
60fi
61
62
63# IFS
64# We need space, tab and new line, in precisely that order.  Quoting is
65# there to prevent editors from complaining about space-tab.
66# (If _AS_PATH_WALK were called with IFS unset, it would disable word
67# splitting by setting IFS to empty value.)
68as_nl='
69'
70IFS=" ""	$as_nl"
71
72# Find who we are.  Look in the path if we contain no directory separator.
73case $0 in
74  *[\\/]* ) as_myself=$0 ;;
75  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76for as_dir in $PATH
77do
78  IFS=$as_save_IFS
79  test -z "$as_dir" && as_dir=.
80  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81done
82IFS=$as_save_IFS
83
84     ;;
85esac
86# We did not find ourselves, most probably we were run as `sh COMMAND'
87# in which case we are not to be found in the path.
88if test "x$as_myself" = x; then
89  as_myself=$0
90fi
91if test ! -f "$as_myself"; then
92  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93  { (exit 1); exit 1; }
94fi
95
96# Work around bugs in pre-3.0 UWIN ksh.
97for as_var in ENV MAIL MAILPATH
98do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
99done
100PS1='$ '
101PS2='> '
102PS4='+ '
103
104# NLS nuisances.
105for as_var in \
106  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108  LC_TELEPHONE LC_TIME
109do
110  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111    eval $as_var=C; export $as_var
112  else
113    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
114  fi
115done
116
117# Required to use basename.
118if expr a : '\(a\)' >/dev/null 2>&1 &&
119   test "X`expr 00001 : '.*\(...\)'`" = X001; then
120  as_expr=expr
121else
122  as_expr=false
123fi
124
125if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
126  as_basename=basename
127else
128  as_basename=false
129fi
130
131
132# Name of the executable.
133as_me=`$as_basename -- "$0" ||
134$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135	 X"$0" : 'X\(//\)$' \| \
136	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137echo X/"$0" |
138    sed '/^.*\/\([^/][^/]*\)\/*$/{
139	    s//\1/
140	    q
141	  }
142	  /^X\/\(\/\/\)$/{
143	    s//\1/
144	    q
145	  }
146	  /^X\/\(\/\).*/{
147	    s//\1/
148	    q
149	  }
150	  s/.*/./; q'`
151
152# CDPATH.
153$as_unset CDPATH
154
155
156if test "x$CONFIG_SHELL" = x; then
157  if (eval ":") 2>/dev/null; then
158  as_have_required=yes
159else
160  as_have_required=no
161fi
162
163  if test $as_have_required = yes && 	 (eval ":
164(as_func_return () {
165  (exit \$1)
166}
167as_func_success () {
168  as_func_return 0
169}
170as_func_failure () {
171  as_func_return 1
172}
173as_func_ret_success () {
174  return 0
175}
176as_func_ret_failure () {
177  return 1
178}
179
180exitcode=0
181if as_func_success; then
182  :
183else
184  exitcode=1
185  echo as_func_success failed.
186fi
187
188if as_func_failure; then
189  exitcode=1
190  echo as_func_failure succeeded.
191fi
192
193if as_func_ret_success; then
194  :
195else
196  exitcode=1
197  echo as_func_ret_success failed.
198fi
199
200if as_func_ret_failure; then
201  exitcode=1
202  echo as_func_ret_failure succeeded.
203fi
204
205if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
206  :
207else
208  exitcode=1
209  echo positional parameters were not saved.
210fi
211
212test \$exitcode = 0) || { (exit 1); exit 1; }
213
214(
215  as_lineno_1=\$LINENO
216  as_lineno_2=\$LINENO
217  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219") 2> /dev/null; then
220  :
221else
222  as_candidate_shells=
223    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225do
226  IFS=$as_save_IFS
227  test -z "$as_dir" && as_dir=.
228  case $as_dir in
229	 /*)
230	   for as_base in sh bash ksh sh5; do
231	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
232	   done;;
233       esac
234done
235IFS=$as_save_IFS
236
237
238      for as_shell in $as_candidate_shells $SHELL; do
239	 # Try only shells that exist, to save several forks.
240	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241		{ ("$as_shell") 2> /dev/null <<\_ASEOF
242if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243  emulate sh
244  NULLCMD=:
245  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246  # is contrary to our usage.  Disable this feature.
247  alias -g '${1+"$@"}'='"$@"'
248  setopt NO_GLOB_SUBST
249else
250  case `(set -o) 2>/dev/null` in
251  *posix*) set -o posix ;;
252esac
253
254fi
255
256
257:
258_ASEOF
259}; then
260  CONFIG_SHELL=$as_shell
261	       as_have_required=yes
262	       if { "$as_shell" 2> /dev/null <<\_ASEOF
263if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264  emulate sh
265  NULLCMD=:
266  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267  # is contrary to our usage.  Disable this feature.
268  alias -g '${1+"$@"}'='"$@"'
269  setopt NO_GLOB_SUBST
270else
271  case `(set -o) 2>/dev/null` in
272  *posix*) set -o posix ;;
273esac
274
275fi
276
277
278:
279(as_func_return () {
280  (exit $1)
281}
282as_func_success () {
283  as_func_return 0
284}
285as_func_failure () {
286  as_func_return 1
287}
288as_func_ret_success () {
289  return 0
290}
291as_func_ret_failure () {
292  return 1
293}
294
295exitcode=0
296if as_func_success; then
297  :
298else
299  exitcode=1
300  echo as_func_success failed.
301fi
302
303if as_func_failure; then
304  exitcode=1
305  echo as_func_failure succeeded.
306fi
307
308if as_func_ret_success; then
309  :
310else
311  exitcode=1
312  echo as_func_ret_success failed.
313fi
314
315if as_func_ret_failure; then
316  exitcode=1
317  echo as_func_ret_failure succeeded.
318fi
319
320if ( set x; as_func_ret_success y && test x = "$1" ); then
321  :
322else
323  exitcode=1
324  echo positional parameters were not saved.
325fi
326
327test $exitcode = 0) || { (exit 1); exit 1; }
328
329(
330  as_lineno_1=$LINENO
331  as_lineno_2=$LINENO
332  test "x$as_lineno_1" != "x$as_lineno_2" &&
333  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
334
335_ASEOF
336}; then
337  break
338fi
339
340fi
341
342      done
343
344      if test "x$CONFIG_SHELL" != x; then
345  for as_var in BASH_ENV ENV
346        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347        done
348        export CONFIG_SHELL
349        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
350fi
351
352
353    if test $as_have_required = no; then
354  echo This script requires a shell more modern than all the
355      echo shells that I found on your system.  Please install a
356      echo modern shell, or manually run the script under such a
357      echo shell if you do have one.
358      { (exit 1); exit 1; }
359fi
360
361
362fi
363
364fi
365
366
367
368(eval "as_func_return () {
369  (exit \$1)
370}
371as_func_success () {
372  as_func_return 0
373}
374as_func_failure () {
375  as_func_return 1
376}
377as_func_ret_success () {
378  return 0
379}
380as_func_ret_failure () {
381  return 1
382}
383
384exitcode=0
385if as_func_success; then
386  :
387else
388  exitcode=1
389  echo as_func_success failed.
390fi
391
392if as_func_failure; then
393  exitcode=1
394  echo as_func_failure succeeded.
395fi
396
397if as_func_ret_success; then
398  :
399else
400  exitcode=1
401  echo as_func_ret_success failed.
402fi
403
404if as_func_ret_failure; then
405  exitcode=1
406  echo as_func_ret_failure succeeded.
407fi
408
409if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
410  :
411else
412  exitcode=1
413  echo positional parameters were not saved.
414fi
415
416test \$exitcode = 0") || {
417  echo No shell found that supports shell functions.
418  echo Please tell autoconf@gnu.org about your system,
419  echo including any error possibly output before this
420  echo message
421}
422
423
424
425  as_lineno_1=$LINENO
426  as_lineno_2=$LINENO
427  test "x$as_lineno_1" != "x$as_lineno_2" &&
428  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
429
430  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431  # uniformly replaced by the line number.  The first 'sed' inserts a
432  # line-number line after each line using $LINENO; the second 'sed'
433  # does the real work.  The second script uses 'N' to pair each
434  # line-number line with the line containing $LINENO, and appends
435  # trailing '-' during substitution so that $LINENO is not a special
436  # case at line end.
437  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438  # scripts with optimization help from Paolo Bonzini.  Blame Lee
439  # E. McMahon (1931-1989) for sed's syntax.  :-)
440  sed -n '
441    p
442    /[$]LINENO/=
443  ' <$as_myself |
444    sed '
445      s/[$]LINENO.*/&-/
446      t lineno
447      b
448      :lineno
449      N
450      :loop
451      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
452      t loop
453      s/-\n.*//
454    ' >$as_me.lineno &&
455  chmod +x "$as_me.lineno" ||
456    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457   { (exit 1); exit 1; }; }
458
459  # Don't try to exec as it changes $[0], causing all sort of problems
460  # (the dirname of $[0] is not the place where we might find the
461  # original and so on.  Autoconf is especially sensitive to this).
462  . "./$as_me.lineno"
463  # Exit status is that of the last command.
464  exit
465}
466
467
468if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
469  as_dirname=dirname
470else
471  as_dirname=false
472fi
473
474ECHO_C= ECHO_N= ECHO_T=
475case `echo -n x` in
476-n*)
477  case `echo 'x\c'` in
478  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
479  *)   ECHO_C='\c';;
480  esac;;
481*)
482  ECHO_N='-n';;
483esac
484
485if expr a : '\(a\)' >/dev/null 2>&1 &&
486   test "X`expr 00001 : '.*\(...\)'`" = X001; then
487  as_expr=expr
488else
489  as_expr=false
490fi
491
492rm -f conf$$ conf$$.exe conf$$.file
493if test -d conf$$.dir; then
494  rm -f conf$$.dir/conf$$.file
495else
496  rm -f conf$$.dir
497  mkdir conf$$.dir
498fi
499echo >conf$$.file
500if ln -s conf$$.file conf$$ 2>/dev/null; then
501  as_ln_s='ln -s'
502  # ... but there are two gotchas:
503  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505  # In both cases, we have to default to `cp -p'.
506  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
507    as_ln_s='cp -p'
508elif ln conf$$.file conf$$ 2>/dev/null; then
509  as_ln_s=ln
510else
511  as_ln_s='cp -p'
512fi
513rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514rmdir conf$$.dir 2>/dev/null
515
516if mkdir -p . 2>/dev/null; then
517  as_mkdir_p=:
518else
519  test -d ./-p && rmdir ./-p
520  as_mkdir_p=false
521fi
522
523if test -x / >/dev/null 2>&1; then
524  as_test_x='test -x'
525else
526  if ls -dL / >/dev/null 2>&1; then
527    as_ls_L_option=L
528  else
529    as_ls_L_option=
530  fi
531  as_test_x='
532    eval sh -c '\''
533      if test -d "$1"; then
534        test -d "$1/.";
535      else
536	case $1 in
537        -*)set "./$1";;
538	esac;
539	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540	???[sx]*):;;*)false;;esac;fi
541    '\'' sh
542  '
543fi
544as_executable_p=$as_test_x
545
546# Sed expression to map a string onto a valid CPP name.
547as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
548
549# Sed expression to map a string onto a valid variable name.
550as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
551
552
553
554
555# Check that we are running under the correct shell.
556SHELL=${CONFIG_SHELL-/bin/sh}
557
558case X$ECHO in
559X*--fallback-echo)
560  # Remove one level of quotation (which was required for Make).
561  ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
562  ;;
563esac
564
565echo=${ECHO-echo}
566if test "X$1" = X--no-reexec; then
567  # Discard the --no-reexec flag, and continue.
568  shift
569elif test "X$1" = X--fallback-echo; then
570  # Avoid inline document here, it may be left over
571  :
572elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
573  # Yippee, $echo works!
574  :
575else
576  # Restart under the correct shell.
577  exec $SHELL "$0" --no-reexec ${1+"$@"}
578fi
579
580if test "X$1" = X--fallback-echo; then
581  # used as fallback echo
582  shift
583  cat <<EOF
584$*
585EOF
586  exit 0
587fi
588
589# The HP-UX ksh and POSIX shell print the target directory to stdout
590# if CDPATH is set.
591(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
592
593if test -z "$ECHO"; then
594if test "X${echo_test_string+set}" != Xset; then
595# find a string as large as possible, as long as the shell can cope with it
596  for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
597    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
598    if (echo_test_string=`eval $cmd`) 2>/dev/null &&
599       echo_test_string=`eval $cmd` &&
600       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
601    then
602      break
603    fi
604  done
605fi
606
607if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
608   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
609   test "X$echo_testing_string" = "X$echo_test_string"; then
610  :
611else
612  # The Solaris, AIX, and Digital Unix default echo programs unquote
613  # backslashes.  This makes it impossible to quote backslashes using
614  #   echo "$something" | sed 's/\\/\\\\/g'
615  #
616  # So, first we look for a working echo in the user's PATH.
617
618  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
619  for dir in $PATH /usr/ucb; do
620    IFS="$lt_save_ifs"
621    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
622       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
623       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
624       test "X$echo_testing_string" = "X$echo_test_string"; then
625      echo="$dir/echo"
626      break
627    fi
628  done
629  IFS="$lt_save_ifs"
630
631  if test "X$echo" = Xecho; then
632    # We didn't find a better echo, so look for alternatives.
633    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
634       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
635       test "X$echo_testing_string" = "X$echo_test_string"; then
636      # This shell has a builtin print -r that does the trick.
637      echo='print -r'
638    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
639	 test "X$CONFIG_SHELL" != X/bin/ksh; then
640      # If we have ksh, try running configure again with it.
641      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
642      export ORIGINAL_CONFIG_SHELL
643      CONFIG_SHELL=/bin/ksh
644      export CONFIG_SHELL
645      exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
646    else
647      # Try using printf.
648      echo='printf %s\n'
649      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
650	 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
651	 test "X$echo_testing_string" = "X$echo_test_string"; then
652	# Cool, printf works
653	:
654      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
655	   test "X$echo_testing_string" = 'X\t' &&
656	   echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
657	   test "X$echo_testing_string" = "X$echo_test_string"; then
658	CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
659	export CONFIG_SHELL
660	SHELL="$CONFIG_SHELL"
661	export SHELL
662	echo="$CONFIG_SHELL $0 --fallback-echo"
663      elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
664	   test "X$echo_testing_string" = 'X\t' &&
665	   echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
666	   test "X$echo_testing_string" = "X$echo_test_string"; then
667	echo="$CONFIG_SHELL $0 --fallback-echo"
668      else
669	# maybe with a smaller string...
670	prev=:
671
672	for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
673	  if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
674	  then
675	    break
676	  fi
677	  prev="$cmd"
678	done
679
680	if test "$prev" != 'sed 50q "$0"'; then
681	  echo_test_string=`eval $prev`
682	  export echo_test_string
683	  exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
684	else
685	  # Oops.  We lost completely, so just stick with echo.
686	  echo=echo
687	fi
688      fi
689    fi
690  fi
691fi
692fi
693
694# Copy echo and quote the copy suitably for passing to libtool from
695# the Makefile, instead of quoting the original, which is used later.
696ECHO=$echo
697if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
698   ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
699fi
700
701
702
703
704tagnames=${tagnames+${tagnames},}CXX
705
706tagnames=${tagnames+${tagnames},}F77
707
708exec 7<&0 </dev/null 6>&1
709
710# Name of the host.
711# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
712# so uname gets run too.
713ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
714
715#
716# Initializations.
717#
718ac_default_prefix=/usr/local
719ac_clean_files=
720ac_config_libobj_dir=.
721LIBOBJS=
722cross_compiling=no
723subdirs=
724MFLAGS=
725MAKEFLAGS=
726SHELL=${CONFIG_SHELL-/bin/sh}
727
728# Identity of this package.
729PACKAGE_NAME='cairo-clock'
730PACKAGE_TARNAME='cairo-clock'
731PACKAGE_VERSION='0.3.4'
732PACKAGE_STRING='cairo-clock 0.3.4'
733PACKAGE_BUGREPORT='macslow@bangang.de'
734
735# Factoring default headers for most tests.
736ac_includes_default="\
737#include <stdio.h>
738#ifdef HAVE_SYS_TYPES_H
739# include <sys/types.h>
740#endif
741#ifdef HAVE_SYS_STAT_H
742# include <sys/stat.h>
743#endif
744#ifdef STDC_HEADERS
745# include <stdlib.h>
746# include <stddef.h>
747#else
748# ifdef HAVE_STDLIB_H
749#  include <stdlib.h>
750# endif
751#endif
752#ifdef HAVE_STRING_H
753# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
754#  include <memory.h>
755# endif
756# include <string.h>
757#endif
758#ifdef HAVE_STRINGS_H
759# include <strings.h>
760#endif
761#ifdef HAVE_INTTYPES_H
762# include <inttypes.h>
763#endif
764#ifdef HAVE_STDINT_H
765# include <stdint.h>
766#endif
767#ifdef HAVE_UNISTD_H
768# include <unistd.h>
769#endif"
770
771ac_subst_vars='SHELL
772PATH_SEPARATOR
773PACKAGE_NAME
774PACKAGE_TARNAME
775PACKAGE_VERSION
776PACKAGE_STRING
777PACKAGE_BUGREPORT
778exec_prefix
779prefix
780program_transform_name
781bindir
782sbindir
783libexecdir
784datarootdir
785datadir
786sysconfdir
787sharedstatedir
788localstatedir
789includedir
790oldincludedir
791docdir
792infodir
793htmldir
794dvidir
795pdfdir
796psdir
797libdir
798localedir
799mandir
800DEFS
801ECHO_C
802ECHO_N
803ECHO_T
804LIBS
805build_alias
806host_alias
807target_alias
808CAIRO_CLOCK_VERSION_MAJOR
809CAIRO_CLOCK_VERSION_MINOR
810CAIRO_CLOCK_VERSION_MICRO
811INSTALL_PROGRAM
812INSTALL_SCRIPT
813INSTALL_DATA
814am__isrc
815CYGPATH_W
816PACKAGE
817VERSION
818ACLOCAL
819AUTOCONF
820AUTOMAKE
821AUTOHEADER
822MAKEINFO
823install_sh
824STRIP
825INSTALL_STRIP_PROGRAM
826mkdir_p
827AWK
828SET_MAKE
829am__leading_dot
830AMTAR
831am__tar
832am__untar
833INTLTOOL_DESKTOP_RULE
834INTLTOOL_DIRECTORY_RULE
835INTLTOOL_KEYS_RULE
836INTLTOOL_PROP_RULE
837INTLTOOL_OAF_RULE
838INTLTOOL_PONG_RULE
839INTLTOOL_SERVER_RULE
840INTLTOOL_SHEET_RULE
841INTLTOOL_SOUNDLIST_RULE
842INTLTOOL_UI_RULE
843INTLTOOL_XAM_RULE
844INTLTOOL_KBD_RULE
845INTLTOOL_XML_RULE
846INTLTOOL_XML_NOMERGE_RULE
847INTLTOOL_CAVES_RULE
848INTLTOOL_SCHEMAS_RULE
849INTLTOOL_THEME_RULE
850INTLTOOL_SERVICE_RULE
851INTLTOOL_POLICY_RULE
852XGETTEXT
853MSGMERGE
854MSGFMT
855INTLTOOL_EXTRACT
856INTLTOOL_MERGE
857INTLTOOL_UPDATE
858INTLTOOL_PERL
859ALL_LINGUAS
860CC
861CFLAGS
862LDFLAGS
863CPPFLAGS
864ac_ct_CC
865EXEEXT
866OBJEXT
867DEPDIR
868am__include
869am__quote
870AMDEP_TRUE
871AMDEP_FALSE
872AMDEPBACKSLASH
873CCDEPMODE
874am__fastdepCC_TRUE
875am__fastdepCC_FALSE
876DATADIRNAME
877MAINTAINER_MODE_TRUE
878MAINTAINER_MODE_FALSE
879MAINT
880LN_S
881CPP
882GREP
883EGREP
884LIBOBJS
885build
886build_cpu
887build_vendor
888build_os
889host
890host_cpu
891host_vendor
892host_os
893SED
894ECHO
895AR
896RANLIB
897DSYMUTIL
898NMEDIT
899CXXCPP
900LIBTOOL
901USE_NLS
902MSGFMT_OPTS
903GMSGFMT
904CATALOGS
905CATOBJEXT
906GMOFILES
907INSTOBJEXT
908INTLLIBS
909PO_IN_DATADIR_TRUE
910PO_IN_DATADIR_FALSE
911POFILES
912POSUB
913MKINSTALLDIRS
914GETTEXT_PACKAGE
915cairoclocklocaledir
916PKG_CONFIG
917GLIB_CFLAGS
918GLIB_LIBS
919GTK_CFLAGS
920GTK_LIBS
921GTK_DEP_CFLAGS
922GTK_DEP_LIBS
923CLOCK_DEFINES
924LTLIBOBJS'
925ac_subst_files=''
926      ac_precious_vars='build_alias
927host_alias
928target_alias
929CC
930CFLAGS
931LDFLAGS
932LIBS
933CPPFLAGS
934CPP
935CXXCPP
936PKG_CONFIG
937GLIB_CFLAGS
938GLIB_LIBS
939GTK_CFLAGS
940GTK_LIBS
941GTK_DEP_CFLAGS
942GTK_DEP_LIBS'
943
944
945# Initialize some variables set by options.
946ac_init_help=
947ac_init_version=false
948# The variables have the same names as the options, with
949# dashes changed to underlines.
950cache_file=/dev/null
951exec_prefix=NONE
952no_create=
953no_recursion=
954prefix=NONE
955program_prefix=NONE
956program_suffix=NONE
957program_transform_name=s,x,x,
958silent=
959site=
960srcdir=
961verbose=
962x_includes=NONE
963x_libraries=NONE
964
965# Installation directory options.
966# These are left unexpanded so users can "make install exec_prefix=/foo"
967# and all the variables that are supposed to be based on exec_prefix
968# by default will actually change.
969# Use braces instead of parens because sh, perl, etc. also accept them.
970# (The list follows the same order as the GNU Coding Standards.)
971bindir='${exec_prefix}/bin'
972sbindir='${exec_prefix}/sbin'
973libexecdir='${exec_prefix}/libexec'
974datarootdir='${prefix}/share'
975datadir='${datarootdir}'
976sysconfdir='${prefix}/etc'
977sharedstatedir='${prefix}/com'
978localstatedir='${prefix}/var'
979includedir='${prefix}/include'
980oldincludedir='/usr/include'
981docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
982infodir='${datarootdir}/info'
983htmldir='${docdir}'
984dvidir='${docdir}'
985pdfdir='${docdir}'
986psdir='${docdir}'
987libdir='${exec_prefix}/lib'
988localedir='${datarootdir}/locale'
989mandir='${datarootdir}/man'
990
991ac_prev=
992ac_dashdash=
993for ac_option
994do
995  # If the previous option needs an argument, assign it.
996  if test -n "$ac_prev"; then
997    eval $ac_prev=\$ac_option
998    ac_prev=
999    continue
1000  fi
1001
1002  case $ac_option in
1003  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1004  *)	ac_optarg=yes ;;
1005  esac
1006
1007  # Accept the important Cygnus configure options, so we can diagnose typos.
1008
1009  case $ac_dashdash$ac_option in
1010  --)
1011    ac_dashdash=yes ;;
1012
1013  -bindir | --bindir | --bindi | --bind | --bin | --bi)
1014    ac_prev=bindir ;;
1015  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1016    bindir=$ac_optarg ;;
1017
1018  -build | --build | --buil | --bui | --bu)
1019    ac_prev=build_alias ;;
1020  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1021    build_alias=$ac_optarg ;;
1022
1023  -cache-file | --cache-file | --cache-fil | --cache-fi \
1024  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1025    ac_prev=cache_file ;;
1026  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1027  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1028    cache_file=$ac_optarg ;;
1029
1030  --config-cache | -C)
1031    cache_file=config.cache ;;
1032
1033  -datadir | --datadir | --datadi | --datad)
1034    ac_prev=datadir ;;
1035  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1036    datadir=$ac_optarg ;;
1037
1038  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1039  | --dataroo | --dataro | --datar)
1040    ac_prev=datarootdir ;;
1041  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1042  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1043    datarootdir=$ac_optarg ;;
1044
1045  -disable-* | --disable-*)
1046    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1047    # Reject names that are not valid shell variable names.
1048    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1049      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1050   { (exit 1); exit 1; }; }
1051    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1052    eval enable_$ac_feature=no ;;
1053
1054  -docdir | --docdir | --docdi | --doc | --do)
1055    ac_prev=docdir ;;
1056  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1057    docdir=$ac_optarg ;;
1058
1059  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1060    ac_prev=dvidir ;;
1061  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1062    dvidir=$ac_optarg ;;
1063
1064  -enable-* | --enable-*)
1065    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1066    # Reject names that are not valid shell variable names.
1067    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1068      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1069   { (exit 1); exit 1; }; }
1070    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1071    eval enable_$ac_feature=\$ac_optarg ;;
1072
1073  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1074  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1075  | --exec | --exe | --ex)
1076    ac_prev=exec_prefix ;;
1077  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1078  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1079  | --exec=* | --exe=* | --ex=*)
1080    exec_prefix=$ac_optarg ;;
1081
1082  -gas | --gas | --ga | --g)
1083    # Obsolete; use --with-gas.
1084    with_gas=yes ;;
1085
1086  -help | --help | --hel | --he | -h)
1087    ac_init_help=long ;;
1088  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1089    ac_init_help=recursive ;;
1090  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1091    ac_init_help=short ;;
1092
1093  -host | --host | --hos | --ho)
1094    ac_prev=host_alias ;;
1095  -host=* | --host=* | --hos=* | --ho=*)
1096    host_alias=$ac_optarg ;;
1097
1098  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1099    ac_prev=htmldir ;;
1100  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1101  | --ht=*)
1102    htmldir=$ac_optarg ;;
1103
1104  -includedir | --includedir | --includedi | --included | --include \
1105  | --includ | --inclu | --incl | --inc)
1106    ac_prev=includedir ;;
1107  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1108  | --includ=* | --inclu=* | --incl=* | --inc=*)
1109    includedir=$ac_optarg ;;
1110
1111  -infodir | --infodir | --infodi | --infod | --info | --inf)
1112    ac_prev=infodir ;;
1113  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1114    infodir=$ac_optarg ;;
1115
1116  -libdir | --libdir | --libdi | --libd)
1117    ac_prev=libdir ;;
1118  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1119    libdir=$ac_optarg ;;
1120
1121  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1122  | --libexe | --libex | --libe)
1123    ac_prev=libexecdir ;;
1124  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1125  | --libexe=* | --libex=* | --libe=*)
1126    libexecdir=$ac_optarg ;;
1127
1128  -localedir | --localedir | --localedi | --localed | --locale)
1129    ac_prev=localedir ;;
1130  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1131    localedir=$ac_optarg ;;
1132
1133  -localstatedir | --localstatedir | --localstatedi | --localstated \
1134  | --localstate | --localstat | --localsta | --localst | --locals)
1135    ac_prev=localstatedir ;;
1136  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1137  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1138    localstatedir=$ac_optarg ;;
1139
1140  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1141    ac_prev=mandir ;;
1142  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1143    mandir=$ac_optarg ;;
1144
1145  -nfp | --nfp | --nf)
1146    # Obsolete; use --without-fp.
1147    with_fp=no ;;
1148
1149  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1150  | --no-cr | --no-c | -n)
1151    no_create=yes ;;
1152
1153  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1154  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1155    no_recursion=yes ;;
1156
1157  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1158  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1159  | --oldin | --oldi | --old | --ol | --o)
1160    ac_prev=oldincludedir ;;
1161  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1162  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1163  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1164    oldincludedir=$ac_optarg ;;
1165
1166  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1167    ac_prev=prefix ;;
1168  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1169    prefix=$ac_optarg ;;
1170
1171  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1172  | --program-pre | --program-pr | --program-p)
1173    ac_prev=program_prefix ;;
1174  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1175  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1176    program_prefix=$ac_optarg ;;
1177
1178  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1179  | --program-suf | --program-su | --program-s)
1180    ac_prev=program_suffix ;;
1181  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1182  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1183    program_suffix=$ac_optarg ;;
1184
1185  -program-transform-name | --program-transform-name \
1186  | --program-transform-nam | --program-transform-na \
1187  | --program-transform-n | --program-transform- \
1188  | --program-transform | --program-transfor \
1189  | --program-transfo | --program-transf \
1190  | --program-trans | --program-tran \
1191  | --progr-tra | --program-tr | --program-t)
1192    ac_prev=program_transform_name ;;
1193  -program-transform-name=* | --program-transform-name=* \
1194  | --program-transform-nam=* | --program-transform-na=* \
1195  | --program-transform-n=* | --program-transform-=* \
1196  | --program-transform=* | --program-transfor=* \
1197  | --program-transfo=* | --program-transf=* \
1198  | --program-trans=* | --program-tran=* \
1199  | --progr-tra=* | --program-tr=* | --program-t=*)
1200    program_transform_name=$ac_optarg ;;
1201
1202  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1203    ac_prev=pdfdir ;;
1204  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1205    pdfdir=$ac_optarg ;;
1206
1207  -psdir | --psdir | --psdi | --psd | --ps)
1208    ac_prev=psdir ;;
1209  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1210    psdir=$ac_optarg ;;
1211
1212  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1213  | -silent | --silent | --silen | --sile | --sil)
1214    silent=yes ;;
1215
1216  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1217    ac_prev=sbindir ;;
1218  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1219  | --sbi=* | --sb=*)
1220    sbindir=$ac_optarg ;;
1221
1222  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1223  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1224  | --sharedst | --shareds | --shared | --share | --shar \
1225  | --sha | --sh)
1226    ac_prev=sharedstatedir ;;
1227  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1228  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1229  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1230  | --sha=* | --sh=*)
1231    sharedstatedir=$ac_optarg ;;
1232
1233  -site | --site | --sit)
1234    ac_prev=site ;;
1235  -site=* | --site=* | --sit=*)
1236    site=$ac_optarg ;;
1237
1238  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1239    ac_prev=srcdir ;;
1240  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1241    srcdir=$ac_optarg ;;
1242
1243  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1244  | --syscon | --sysco | --sysc | --sys | --sy)
1245    ac_prev=sysconfdir ;;
1246  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1247  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1248    sysconfdir=$ac_optarg ;;
1249
1250  -target | --target | --targe | --targ | --tar | --ta | --t)
1251    ac_prev=target_alias ;;
1252  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1253    target_alias=$ac_optarg ;;
1254
1255  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1256    verbose=yes ;;
1257
1258  -version | --version | --versio | --versi | --vers | -V)
1259    ac_init_version=: ;;
1260
1261  -with-* | --with-*)
1262    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1263    # Reject names that are not valid shell variable names.
1264    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1265      { echo "$as_me: error: invalid package name: $ac_package" >&2
1266   { (exit 1); exit 1; }; }
1267    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1268    eval with_$ac_package=\$ac_optarg ;;
1269
1270  -without-* | --without-*)
1271    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1272    # Reject names that are not valid shell variable names.
1273    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1274      { echo "$as_me: error: invalid package name: $ac_package" >&2
1275   { (exit 1); exit 1; }; }
1276    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1277    eval with_$ac_package=no ;;
1278
1279  --x)
1280    # Obsolete; use --with-x.
1281    with_x=yes ;;
1282
1283  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1284  | --x-incl | --x-inc | --x-in | --x-i)
1285    ac_prev=x_includes ;;
1286  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1287  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1288    x_includes=$ac_optarg ;;
1289
1290  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1291  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1292    ac_prev=x_libraries ;;
1293  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1294  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1295    x_libraries=$ac_optarg ;;
1296
1297  -*) { echo "$as_me: error: unrecognized option: $ac_option
1298Try \`$0 --help' for more information." >&2
1299   { (exit 1); exit 1; }; }
1300    ;;
1301
1302  *=*)
1303    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1304    # Reject names that are not valid shell variable names.
1305    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1306      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1307   { (exit 1); exit 1; }; }
1308    eval $ac_envvar=\$ac_optarg
1309    export $ac_envvar ;;
1310
1311  *)
1312    # FIXME: should be removed in autoconf 3.0.
1313    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1314    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1315      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1316    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1317    ;;
1318
1319  esac
1320done
1321
1322if test -n "$ac_prev"; then
1323  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1324  { echo "$as_me: error: missing argument to $ac_option" >&2
1325   { (exit 1); exit 1; }; }
1326fi
1327
1328# Be sure to have absolute directory names.
1329for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1330		datadir sysconfdir sharedstatedir localstatedir includedir \
1331		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1332		libdir localedir mandir
1333do
1334  eval ac_val=\$$ac_var
1335  case $ac_val in
1336    [\\/$]* | ?:[\\/]* )  continue;;
1337    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1338  esac
1339  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1340   { (exit 1); exit 1; }; }
1341done
1342
1343# There might be people who depend on the old broken behavior: `$host'
1344# used to hold the argument of --host etc.
1345# FIXME: To remove some day.
1346build=$build_alias
1347host=$host_alias
1348target=$target_alias
1349
1350# FIXME: To remove some day.
1351if test "x$host_alias" != x; then
1352  if test "x$build_alias" = x; then
1353    cross_compiling=maybe
1354    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1355    If a cross compiler is detected then cross compile mode will be used." >&2
1356  elif test "x$build_alias" != "x$host_alias"; then
1357    cross_compiling=yes
1358  fi
1359fi
1360
1361ac_tool_prefix=
1362test -n "$host_alias" && ac_tool_prefix=$host_alias-
1363
1364test "$silent" = yes && exec 6>/dev/null
1365
1366
1367ac_pwd=`pwd` && test -n "$ac_pwd" &&
1368ac_ls_di=`ls -di .` &&
1369ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1370  { echo "$as_me: error: Working directory cannot be determined" >&2
1371   { (exit 1); exit 1; }; }
1372test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1373  { echo "$as_me: error: pwd does not report name of working directory" >&2
1374   { (exit 1); exit 1; }; }
1375
1376
1377# Find the source files, if location was not specified.
1378if test -z "$srcdir"; then
1379  ac_srcdir_defaulted=yes
1380  # Try the directory containing this script, then the parent directory.
1381  ac_confdir=`$as_dirname -- "$0" ||
1382$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1383	 X"$0" : 'X\(//\)[^/]' \| \
1384	 X"$0" : 'X\(//\)$' \| \
1385	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1386echo X"$0" |
1387    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1388	    s//\1/
1389	    q
1390	  }
1391	  /^X\(\/\/\)[^/].*/{
1392	    s//\1/
1393	    q
1394	  }
1395	  /^X\(\/\/\)$/{
1396	    s//\1/
1397	    q
1398	  }
1399	  /^X\(\/\).*/{
1400	    s//\1/
1401	    q
1402	  }
1403	  s/.*/./; q'`
1404  srcdir=$ac_confdir
1405  if test ! -r "$srcdir/$ac_unique_file"; then
1406    srcdir=..
1407  fi
1408else
1409  ac_srcdir_defaulted=no
1410fi
1411if test ! -r "$srcdir/$ac_unique_file"; then
1412  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1413  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1414   { (exit 1); exit 1; }; }
1415fi
1416ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1417ac_abs_confdir=`(
1418	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1419   { (exit 1); exit 1; }; }
1420	pwd)`
1421# When building in place, set srcdir=.
1422if test "$ac_abs_confdir" = "$ac_pwd"; then
1423  srcdir=.
1424fi
1425# Remove unnecessary trailing slashes from srcdir.
1426# Double slashes in file names in object file debugging info
1427# mess up M-x gdb in Emacs.
1428case $srcdir in
1429*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1430esac
1431for ac_var in $ac_precious_vars; do
1432  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1433  eval ac_env_${ac_var}_value=\$${ac_var}
1434  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1435  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1436done
1437
1438#
1439# Report the --help message.
1440#
1441if test "$ac_init_help" = "long"; then
1442  # Omit some internal or obsolete options to make the list less imposing.
1443  # This message is too long to be a string in the A/UX 3.1 sh.
1444  cat <<_ACEOF
1445\`configure' configures cairo-clock 0.3.4 to adapt to many kinds of systems.
1446
1447Usage: $0 [OPTION]... [VAR=VALUE]...
1448
1449To assign environment variables (e.g., CC, CFLAGS...), specify them as
1450VAR=VALUE.  See below for descriptions of some of the useful variables.
1451
1452Defaults for the options are specified in brackets.
1453
1454Configuration:
1455  -h, --help              display this help and exit
1456      --help=short        display options specific to this package
1457      --help=recursive    display the short help of all the included packages
1458  -V, --version           display version information and exit
1459  -q, --quiet, --silent   do not print \`checking...' messages
1460      --cache-file=FILE   cache test results in FILE [disabled]
1461  -C, --config-cache      alias for \`--cache-file=config.cache'
1462  -n, --no-create         do not create output files
1463      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1464
1465Installation directories:
1466  --prefix=PREFIX         install architecture-independent files in PREFIX
1467			  [$ac_default_prefix]
1468  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1469			  [PREFIX]
1470
1471By default, \`make install' will install all the files in
1472\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1473an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1474for instance \`--prefix=\$HOME'.
1475
1476For better control, use the options below.
1477
1478Fine tuning of the installation directories:
1479  --bindir=DIR           user executables [EPREFIX/bin]
1480  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1481  --libexecdir=DIR       program executables [EPREFIX/libexec]
1482  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1483  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1484  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1485  --libdir=DIR           object code libraries [EPREFIX/lib]
1486  --includedir=DIR       C header files [PREFIX/include]
1487  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1488  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1489  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1490  --infodir=DIR          info documentation [DATAROOTDIR/info]
1491  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1492  --mandir=DIR           man documentation [DATAROOTDIR/man]
1493  --docdir=DIR           documentation root [DATAROOTDIR/doc/cairo-clock]
1494  --htmldir=DIR          html documentation [DOCDIR]
1495  --dvidir=DIR           dvi documentation [DOCDIR]
1496  --pdfdir=DIR           pdf documentation [DOCDIR]
1497  --psdir=DIR            ps documentation [DOCDIR]
1498_ACEOF
1499
1500  cat <<\_ACEOF
1501
1502Program names:
1503  --program-prefix=PREFIX            prepend PREFIX to installed program names
1504  --program-suffix=SUFFIX            append SUFFIX to installed program names
1505  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1506
1507System types:
1508  --build=BUILD     configure for building on BUILD [guessed]
1509  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1510_ACEOF
1511fi
1512
1513if test -n "$ac_init_help"; then
1514  case $ac_init_help in
1515     short | recursive ) echo "Configuration of cairo-clock 0.3.4:";;
1516   esac
1517  cat <<\_ACEOF
1518
1519Optional Features:
1520  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1521  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1522  --disable-dependency-tracking  speeds up one-time build
1523  --enable-dependency-tracking   do not reject slow dependency extractors
1524  --enable-maintainer-mode  enable make rules and dependencies not useful
1525			  (and sometimes confusing) to the casual installer
1526  --enable-static[=PKGS]  build static libraries [default=no]
1527  --enable-shared[=PKGS]  build shared libraries [default=yes]
1528  --enable-fast-install[=PKGS]
1529                          optimize for fast installation [default=yes]
1530  --disable-libtool-lock  avoid locking (might break parallel builds)
1531
1532Optional Packages:
1533  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1534  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1535  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1536  --with-pic              try to use only PIC/non-PIC objects [default=use
1537                          both]
1538  --with-tags[=TAGS]      include additional configurations [automatic]
1539
1540Some influential environment variables:
1541  CC          C compiler command
1542  CFLAGS      C compiler flags
1543  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1544              nonstandard directory <lib dir>
1545  LIBS        libraries to pass to the linker, e.g. -l<library>
1546  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1547              you have headers in a nonstandard directory <include dir>
1548  CPP         C preprocessor
1549  CXXCPP      C++ preprocessor
1550  PKG_CONFIG  path to pkg-config utility
1551  GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1552  GLIB_LIBS   linker flags for GLIB, overriding pkg-config
1553  GTK_CFLAGS  C compiler flags for GTK, overriding pkg-config
1554  GTK_LIBS    linker flags for GTK, overriding pkg-config
1555  GTK_DEP_CFLAGS
1556              C compiler flags for GTK_DEP, overriding pkg-config
1557  GTK_DEP_LIBS
1558              linker flags for GTK_DEP, overriding pkg-config
1559
1560Use these variables to override the choices made by `configure' or to help
1561it to find libraries and programs with nonstandard names/locations.
1562
1563Report bugs to <macslow@bangang.de>.
1564_ACEOF
1565ac_status=$?
1566fi
1567
1568if test "$ac_init_help" = "recursive"; then
1569  # If there are subdirs, report their specific --help.
1570  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1571    test -d "$ac_dir" || continue
1572    ac_builddir=.
1573
1574case "$ac_dir" in
1575.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1576*)
1577  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1578  # A ".." for each directory in $ac_dir_suffix.
1579  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1580  case $ac_top_builddir_sub in
1581  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1582  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1583  esac ;;
1584esac
1585ac_abs_top_builddir=$ac_pwd
1586ac_abs_builddir=$ac_pwd$ac_dir_suffix
1587# for backward compatibility:
1588ac_top_builddir=$ac_top_build_prefix
1589
1590case $srcdir in
1591  .)  # We are building in place.
1592    ac_srcdir=.
1593    ac_top_srcdir=$ac_top_builddir_sub
1594    ac_abs_top_srcdir=$ac_pwd ;;
1595  [\\/]* | ?:[\\/]* )  # Absolute name.
1596    ac_srcdir=$srcdir$ac_dir_suffix;
1597    ac_top_srcdir=$srcdir
1598    ac_abs_top_srcdir=$srcdir ;;
1599  *) # Relative name.
1600    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1601    ac_top_srcdir=$ac_top_build_prefix$srcdir
1602    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1603esac
1604ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1605
1606    cd "$ac_dir" || { ac_status=$?; continue; }
1607    # Check for guested configure.
1608    if test -f "$ac_srcdir/configure.gnu"; then
1609      echo &&
1610      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1611    elif test -f "$ac_srcdir/configure"; then
1612      echo &&
1613      $SHELL "$ac_srcdir/configure" --help=recursive
1614    else
1615      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1616    fi || ac_status=$?
1617    cd "$ac_pwd" || { ac_status=$?; break; }
1618  done
1619fi
1620
1621test -n "$ac_init_help" && exit $ac_status
1622if $ac_init_version; then
1623  cat <<\_ACEOF
1624cairo-clock configure 0.3.4
1625generated by GNU Autoconf 2.61
1626
1627Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
16282002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1629This configure script is free software; the Free Software Foundation
1630gives unlimited permission to copy, distribute and modify it.
1631_ACEOF
1632  exit
1633fi
1634cat >config.log <<_ACEOF
1635This file contains any messages produced by compilers while
1636running configure, to aid debugging if configure makes a mistake.
1637
1638It was created by cairo-clock $as_me 0.3.4, which was
1639generated by GNU Autoconf 2.61.  Invocation command line was
1640
1641  $ $0 $@
1642
1643_ACEOF
1644exec 5>>config.log
1645{
1646cat <<_ASUNAME
1647## --------- ##
1648## Platform. ##
1649## --------- ##
1650
1651hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1652uname -m = `(uname -m) 2>/dev/null || echo unknown`
1653uname -r = `(uname -r) 2>/dev/null || echo unknown`
1654uname -s = `(uname -s) 2>/dev/null || echo unknown`
1655uname -v = `(uname -v) 2>/dev/null || echo unknown`
1656
1657/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1658/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1659
1660/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1661/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1662/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1663/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1664/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1665/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1666/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1667
1668_ASUNAME
1669
1670as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1671for as_dir in $PATH
1672do
1673  IFS=$as_save_IFS
1674  test -z "$as_dir" && as_dir=.
1675  echo "PATH: $as_dir"
1676done
1677IFS=$as_save_IFS
1678
1679} >&5
1680
1681cat >&5 <<_ACEOF
1682
1683
1684## ----------- ##
1685## Core tests. ##
1686## ----------- ##
1687
1688_ACEOF
1689
1690
1691# Keep a trace of the command line.
1692# Strip out --no-create and --no-recursion so they do not pile up.
1693# Strip out --silent because we don't want to record it for future runs.
1694# Also quote any args containing shell meta-characters.
1695# Make two passes to allow for proper duplicate-argument suppression.
1696ac_configure_args=
1697ac_configure_args0=
1698ac_configure_args1=
1699ac_must_keep_next=false
1700for ac_pass in 1 2
1701do
1702  for ac_arg
1703  do
1704    case $ac_arg in
1705    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1706    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1707    | -silent | --silent | --silen | --sile | --sil)
1708      continue ;;
1709    *\'*)
1710      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1711    esac
1712    case $ac_pass in
1713    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1714    2)
1715      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1716      if test $ac_must_keep_next = true; then
1717	ac_must_keep_next=false # Got value, back to normal.
1718      else
1719	case $ac_arg in
1720	  *=* | --config-cache | -C | -disable-* | --disable-* \
1721	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1722	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1723	  | -with-* | --with-* | -without-* | --without-* | --x)
1724	    case "$ac_configure_args0 " in
1725	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1726	    esac
1727	    ;;
1728	  -* ) ac_must_keep_next=true ;;
1729	esac
1730      fi
1731      ac_configure_args="$ac_configure_args '$ac_arg'"
1732      ;;
1733    esac
1734  done
1735done
1736$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1737$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1738
1739# When interrupted or exit'd, cleanup temporary files, and complete
1740# config.log.  We remove comments because anyway the quotes in there
1741# would cause problems or look ugly.
1742# WARNING: Use '\'' to represent an apostrophe within the trap.
1743# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1744trap 'exit_status=$?
1745  # Save into config.log some information that might help in debugging.
1746  {
1747    echo
1748
1749    cat <<\_ASBOX
1750## ---------------- ##
1751## Cache variables. ##
1752## ---------------- ##
1753_ASBOX
1754    echo
1755    # The following way of writing the cache mishandles newlines in values,
1756(
1757  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1758    eval ac_val=\$$ac_var
1759    case $ac_val in #(
1760    *${as_nl}*)
1761      case $ac_var in #(
1762      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1763echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1764      esac
1765      case $ac_var in #(
1766      _ | IFS | as_nl) ;; #(
1767      *) $as_unset $ac_var ;;
1768      esac ;;
1769    esac
1770  done
1771  (set) 2>&1 |
1772    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1773    *${as_nl}ac_space=\ *)
1774      sed -n \
1775	"s/'\''/'\''\\\\'\'''\''/g;
1776	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1777      ;; #(
1778    *)
1779      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1780      ;;
1781    esac |
1782    sort
1783)
1784    echo
1785
1786    cat <<\_ASBOX
1787## ----------------- ##
1788## Output variables. ##
1789## ----------------- ##
1790_ASBOX
1791    echo
1792    for ac_var in $ac_subst_vars
1793    do
1794      eval ac_val=\$$ac_var
1795      case $ac_val in
1796      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1797      esac
1798      echo "$ac_var='\''$ac_val'\''"
1799    done | sort
1800    echo
1801
1802    if test -n "$ac_subst_files"; then
1803      cat <<\_ASBOX
1804## ------------------- ##
1805## File substitutions. ##
1806## ------------------- ##
1807_ASBOX
1808      echo
1809      for ac_var in $ac_subst_files
1810      do
1811	eval ac_val=\$$ac_var
1812	case $ac_val in
1813	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1814	esac
1815	echo "$ac_var='\''$ac_val'\''"
1816      done | sort
1817      echo
1818    fi
1819
1820    if test -s confdefs.h; then
1821      cat <<\_ASBOX
1822## ----------- ##
1823## confdefs.h. ##
1824## ----------- ##
1825_ASBOX
1826      echo
1827      cat confdefs.h
1828      echo
1829    fi
1830    test "$ac_signal" != 0 &&
1831      echo "$as_me: caught signal $ac_signal"
1832    echo "$as_me: exit $exit_status"
1833  } >&5
1834  rm -f core *.core core.conftest.* &&
1835    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1836    exit $exit_status
1837' 0
1838for ac_signal in 1 2 13 15; do
1839  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1840done
1841ac_signal=0
1842
1843# confdefs.h avoids OS command line length limits that DEFS can exceed.
1844rm -f -r conftest* confdefs.h
1845
1846# Predefined preprocessor variables.
1847
1848cat >>confdefs.h <<_ACEOF
1849#define PACKAGE_NAME "$PACKAGE_NAME"
1850_ACEOF
1851
1852
1853cat >>confdefs.h <<_ACEOF
1854#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1855_ACEOF
1856
1857
1858cat >>confdefs.h <<_ACEOF
1859#define PACKAGE_VERSION "$PACKAGE_VERSION"
1860_ACEOF
1861
1862
1863cat >>confdefs.h <<_ACEOF
1864#define PACKAGE_STRING "$PACKAGE_STRING"
1865_ACEOF
1866
1867
1868cat >>confdefs.h <<_ACEOF
1869#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1870_ACEOF
1871
1872
1873# Let the site file select an alternate cache file if it wants to.
1874# Prefer explicitly selected file to automatically selected ones.
1875if test -n "$CONFIG_SITE"; then
1876  set x "$CONFIG_SITE"
1877elif test "x$prefix" != xNONE; then
1878  set x "$prefix/share/config.site" "$prefix/etc/config.site"
1879else
1880  set x "$ac_default_prefix/share/config.site" \
1881	"$ac_default_prefix/etc/config.site"
1882fi
1883shift
1884for ac_site_file
1885do
1886  if test -r "$ac_site_file"; then
1887    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1888echo "$as_me: loading site script $ac_site_file" >&6;}
1889    sed 's/^/| /' "$ac_site_file" >&5
1890    . "$ac_site_file"
1891  fi
1892done
1893
1894if test -r "$cache_file"; then
1895  # Some versions of bash will fail to source /dev/null (special
1896  # files actually), so we avoid doing that.
1897  if test -f "$cache_file"; then
1898    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1899echo "$as_me: loading cache $cache_file" >&6;}
1900    case $cache_file in
1901      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1902      *)                      . "./$cache_file";;
1903    esac
1904  fi
1905else
1906  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1907echo "$as_me: creating cache $cache_file" >&6;}
1908  >$cache_file
1909fi
1910
1911# Check that the precious variables saved in the cache have kept the same
1912# value.
1913ac_cache_corrupted=false
1914for ac_var in $ac_precious_vars; do
1915  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1916  eval ac_new_set=\$ac_env_${ac_var}_set
1917  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1918  eval ac_new_val=\$ac_env_${ac_var}_value
1919  case $ac_old_set,$ac_new_set in
1920    set,)
1921      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1922echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1923      ac_cache_corrupted=: ;;
1924    ,set)
1925      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1926echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1927      ac_cache_corrupted=: ;;
1928    ,);;
1929    *)
1930      if test "x$ac_old_val" != "x$ac_new_val"; then
1931	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1932echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1933	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1934echo "$as_me:   former value:  $ac_old_val" >&2;}
1935	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1936echo "$as_me:   current value: $ac_new_val" >&2;}
1937	ac_cache_corrupted=:
1938      fi;;
1939  esac
1940  # Pass precious variables to config.status.
1941  if test "$ac_new_set" = set; then
1942    case $ac_new_val in
1943    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1944    *) ac_arg=$ac_var=$ac_new_val ;;
1945    esac
1946    case " $ac_configure_args " in
1947      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1948      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1949    esac
1950  fi
1951done
1952if $ac_cache_corrupted; then
1953  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1954echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1955  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1956echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1957   { (exit 1); exit 1; }; }
1958fi
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984ac_ext=c
1985ac_cpp='$CPP $CPPFLAGS'
1986ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1987ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1988ac_compiler_gnu=$ac_cv_c_compiler_gnu
1989
1990
1991
1992CAIRO_CLOCK_VERSION_MAJOR=0
1993CAIRO_CLOCK_VERSION_MINOR=3
1994CAIRO_CLOCK_VERSION_MICRO=4
1995
1996
1997
1998
1999am__api_version='1.10'
2000
2001ac_aux_dir=
2002for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2003  if test -f "$ac_dir/install-sh"; then
2004    ac_aux_dir=$ac_dir
2005    ac_install_sh="$ac_aux_dir/install-sh -c"
2006    break
2007  elif test -f "$ac_dir/install.sh"; then
2008    ac_aux_dir=$ac_dir
2009    ac_install_sh="$ac_aux_dir/install.sh -c"
2010    break
2011  elif test -f "$ac_dir/shtool"; then
2012    ac_aux_dir=$ac_dir
2013    ac_install_sh="$ac_aux_dir/shtool install -c"
2014    break
2015  fi
2016done
2017if test -z "$ac_aux_dir"; then
2018  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2019echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2020   { (exit 1); exit 1; }; }
2021fi
2022
2023# These three variables are undocumented and unsupported,
2024# and are intended to be withdrawn in a future Autoconf release.
2025# They can cause serious problems if a builder's source tree is in a directory
2026# whose full name contains unusual characters.
2027ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2028ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2029ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2030
2031
2032# Find a good install program.  We prefer a C program (faster),
2033# so one script is as good as another.  But avoid the broken or
2034# incompatible versions:
2035# SysV /etc/install, /usr/sbin/install
2036# SunOS /usr/etc/install
2037# IRIX /sbin/install
2038# AIX /bin/install
2039# AmigaOS /C/install, which installs bootblocks on floppy discs
2040# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2041# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2042# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2043# OS/2's system install, which has a completely different semantic
2044# ./install, which can be erroneously created by make from ./install.sh.
2045{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2046echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2047if test -z "$INSTALL"; then
2048if test "${ac_cv_path_install+set}" = set; then
2049  echo $ECHO_N "(cached) $ECHO_C" >&6
2050else
2051  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2052for as_dir in $PATH
2053do
2054  IFS=$as_save_IFS
2055  test -z "$as_dir" && as_dir=.
2056  # Account for people who put trailing slashes in PATH elements.
2057case $as_dir/ in
2058  ./ | .// | /cC/* | \
2059  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2060  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2061  /usr/ucb/* ) ;;
2062  *)
2063    # OSF1 and SCO ODT 3.0 have their own names for install.
2064    # Don't use installbsd from OSF since it installs stuff as root
2065    # by default.
2066    for ac_prog in ginstall scoinst install; do
2067      for ac_exec_ext in '' $ac_executable_extensions; do
2068	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2069	  if test $ac_prog = install &&
2070	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2071	    # AIX install.  It has an incompatible calling convention.
2072	    :
2073	  elif test $ac_prog = install &&
2074	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2075	    # program-specific install script used by HP pwplus--don't use.
2076	    :
2077	  else
2078	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2079	    break 3
2080	  fi
2081	fi
2082      done
2083    done
2084    ;;
2085esac
2086done
2087IFS=$as_save_IFS
2088
2089
2090fi
2091  if test "${ac_cv_path_install+set}" = set; then
2092    INSTALL=$ac_cv_path_install
2093  else
2094    # As a last resort, use the slow shell script.  Don't cache a
2095    # value for INSTALL within a source directory, because that will
2096    # break other packages using the cache if that directory is
2097    # removed, or if the value is a relative name.
2098    INSTALL=$ac_install_sh
2099  fi
2100fi
2101{ echo "$as_me:$LINENO: result: $INSTALL" >&5
2102echo "${ECHO_T}$INSTALL" >&6; }
2103
2104# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2105# It thinks the first close brace ends the variable substitution.
2106test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2107
2108test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2109
2110test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2111
2112{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2113echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2114# Just in case
2115sleep 1
2116echo timestamp > conftest.file
2117# Do `set' in a subshell so we don't clobber the current shell's
2118# arguments.  Must try -L first in case configure is actually a
2119# symlink; some systems play weird games with the mod time of symlinks
2120# (eg FreeBSD returns the mod time of the symlink's containing
2121# directory).
2122if (
2123   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2124   if test "$*" = "X"; then
2125      # -L didn't work.
2126      set X `ls -t $srcdir/configure conftest.file`
2127   fi
2128   rm -f conftest.file
2129   if test "$*" != "X $srcdir/configure conftest.file" \
2130      && test "$*" != "X conftest.file $srcdir/configure"; then
2131
2132      # If neither matched, then we have a broken ls.  This can happen
2133      # if, for instance, CONFIG_SHELL is bash and it inherits a
2134      # broken ls alias from the environment.  This has actually
2135      # happened.  Such a system could not be considered "sane".
2136      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2137alias in your environment" >&5
2138echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2139alias in your environment" >&2;}
2140   { (exit 1); exit 1; }; }
2141   fi
2142
2143   test "$2" = conftest.file
2144   )
2145then
2146   # Ok.
2147   :
2148else
2149   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2150Check your system clock" >&5
2151echo "$as_me: error: newly created file is older than distributed files!
2152Check your system clock" >&2;}
2153   { (exit 1); exit 1; }; }
2154fi
2155{ echo "$as_me:$LINENO: result: yes" >&5
2156echo "${ECHO_T}yes" >&6; }
2157test "$program_prefix" != NONE &&
2158  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2159# Use a double $ so make ignores it.
2160test "$program_suffix" != NONE &&
2161  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2162# Double any \ or $.  echo might interpret backslashes.
2163# By default was `s,x,x', remove it if useless.
2164cat <<\_ACEOF >conftest.sed
2165s/[\\$]/&&/g;s/;s,x,x,$//
2166_ACEOF
2167program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2168rm -f conftest.sed
2169
2170# expand $ac_aux_dir to an absolute path
2171am_aux_dir=`cd $ac_aux_dir && pwd`
2172
2173test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2174# Use eval to expand $SHELL
2175if eval "$MISSING --run true"; then
2176  am_missing_run="$MISSING --run "
2177else
2178  am_missing_run=
2179  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2180echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2181fi
2182
2183{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2184echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2185if test -z "$MKDIR_P"; then
2186  if test "${ac_cv_path_mkdir+set}" = set; then
2187  echo $ECHO_N "(cached) $ECHO_C" >&6
2188else
2189  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2190for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2191do
2192  IFS=$as_save_IFS
2193  test -z "$as_dir" && as_dir=.
2194  for ac_prog in mkdir gmkdir; do
2195	 for ac_exec_ext in '' $ac_executable_extensions; do
2196	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2197	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2198	     'mkdir (GNU coreutils) '* | \
2199	     'mkdir (coreutils) '* | \
2200	     'mkdir (fileutils) '4.1*)
2201	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2202	       break 3;;
2203	   esac
2204	 done
2205       done
2206done
2207IFS=$as_save_IFS
2208
2209fi
2210
2211  if test "${ac_cv_path_mkdir+set}" = set; then
2212    MKDIR_P="$ac_cv_path_mkdir -p"
2213  else
2214    # As a last resort, use the slow shell script.  Don't cache a
2215    # value for MKDIR_P within a source directory, because that will
2216    # break other packages using the cache if that directory is
2217    # removed, or if the value is a relative name.
2218    test -d ./--version && rmdir ./--version
2219    MKDIR_P="$ac_install_sh -d"
2220  fi
2221fi
2222{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2223echo "${ECHO_T}$MKDIR_P" >&6; }
2224
2225mkdir_p="$MKDIR_P"
2226case $mkdir_p in
2227  [\\/$]* | ?:[\\/]*) ;;
2228  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2229esac
2230
2231for ac_prog in gawk mawk nawk awk
2232do
2233  # Extract the first word of "$ac_prog", so it can be a program name with args.
2234set dummy $ac_prog; ac_word=$2
2235{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2236echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2237if test "${ac_cv_prog_AWK+set}" = set; then
2238  echo $ECHO_N "(cached) $ECHO_C" >&6
2239else
2240  if test -n "$AWK"; then
2241  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2242else
2243as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2244for as_dir in $PATH
2245do
2246  IFS=$as_save_IFS
2247  test -z "$as_dir" && as_dir=.
2248  for ac_exec_ext in '' $ac_executable_extensions; do
2249  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2250    ac_cv_prog_AWK="$ac_prog"
2251    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2252    break 2
2253  fi
2254done
2255done
2256IFS=$as_save_IFS
2257
2258fi
2259fi
2260AWK=$ac_cv_prog_AWK
2261if test -n "$AWK"; then
2262  { echo "$as_me:$LINENO: result: $AWK" >&5
2263echo "${ECHO_T}$AWK" >&6; }
2264else
2265  { echo "$as_me:$LINENO: result: no" >&5
2266echo "${ECHO_T}no" >&6; }
2267fi
2268
2269
2270  test -n "$AWK" && break
2271done
2272
2273{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2274echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2275set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2276if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2277  echo $ECHO_N "(cached) $ECHO_C" >&6
2278else
2279  cat >conftest.make <<\_ACEOF
2280SHELL = /bin/sh
2281all:
2282	@echo '@@@%%%=$(MAKE)=@@@%%%'
2283_ACEOF
2284# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2285case `${MAKE-make} -f conftest.make 2>/dev/null` in
2286  *@@@%%%=?*=@@@%%%*)
2287    eval ac_cv_prog_make_${ac_make}_set=yes;;
2288  *)
2289    eval ac_cv_prog_make_${ac_make}_set=no;;
2290esac
2291rm -f conftest.make
2292fi
2293if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2294  { echo "$as_me:$LINENO: result: yes" >&5
2295echo "${ECHO_T}yes" >&6; }
2296  SET_MAKE=
2297else
2298  { echo "$as_me:$LINENO: result: no" >&5
2299echo "${ECHO_T}no" >&6; }
2300  SET_MAKE="MAKE=${MAKE-make}"
2301fi
2302
2303rm -rf .tst 2>/dev/null
2304mkdir .tst 2>/dev/null
2305if test -d .tst; then
2306  am__leading_dot=.
2307else
2308  am__leading_dot=_
2309fi
2310rmdir .tst 2>/dev/null
2311
2312if test "`cd $srcdir && pwd`" != "`pwd`"; then
2313  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2314  # is not polluted with repeated "-I."
2315  am__isrc=' -I$(srcdir)'
2316  # test to see if srcdir already configured
2317  if test -f $srcdir/config.status; then
2318    { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2319echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2320   { (exit 1); exit 1; }; }
2321  fi
2322fi
2323
2324# test whether we have cygpath
2325if test -z "$CYGPATH_W"; then
2326  if (cygpath --version) >/dev/null 2>/dev/null; then
2327    CYGPATH_W='cygpath -w'
2328  else
2329    CYGPATH_W=echo
2330  fi
2331fi
2332
2333
2334# Define the identity of the package.
2335 PACKAGE='cairo-clock'
2336 VERSION='0.3.4'
2337
2338
2339cat >>confdefs.h <<_ACEOF
2340#define PACKAGE "$PACKAGE"
2341_ACEOF
2342
2343
2344cat >>confdefs.h <<_ACEOF
2345#define VERSION "$VERSION"
2346_ACEOF
2347
2348# Some tools Automake needs.
2349
2350ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2351
2352
2353AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2354
2355
2356AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2357
2358
2359AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2360
2361
2362MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2363
2364install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2365
2366# Installed binaries are usually stripped using `strip' when the user
2367# run `make install-strip'.  However `strip' might not be the right
2368# tool to use in cross-compilation environments, therefore Automake
2369# will honor the `STRIP' environment variable to overrule this program.
2370if test "$cross_compiling" != no; then
2371  if test -n "$ac_tool_prefix"; then
2372  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2373set dummy ${ac_tool_prefix}strip; ac_word=$2
2374{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2375echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2376if test "${ac_cv_prog_STRIP+set}" = set; then
2377  echo $ECHO_N "(cached) $ECHO_C" >&6
2378else
2379  if test -n "$STRIP"; then
2380  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2381else
2382as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2383for as_dir in $PATH
2384do
2385  IFS=$as_save_IFS
2386  test -z "$as_dir" && as_dir=.
2387  for ac_exec_ext in '' $ac_executable_extensions; do
2388  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2389    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2390    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2391    break 2
2392  fi
2393done
2394done
2395IFS=$as_save_IFS
2396
2397fi
2398fi
2399STRIP=$ac_cv_prog_STRIP
2400if test -n "$STRIP"; then
2401  { echo "$as_me:$LINENO: result: $STRIP" >&5
2402echo "${ECHO_T}$STRIP" >&6; }
2403else
2404  { echo "$as_me:$LINENO: result: no" >&5
2405echo "${ECHO_T}no" >&6; }
2406fi
2407
2408
2409fi
2410if test -z "$ac_cv_prog_STRIP"; then
2411  ac_ct_STRIP=$STRIP
2412  # Extract the first word of "strip", so it can be a program name with args.
2413set dummy strip; ac_word=$2
2414{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2415echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2416if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2417  echo $ECHO_N "(cached) $ECHO_C" >&6
2418else
2419  if test -n "$ac_ct_STRIP"; then
2420  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2421else
2422as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2423for as_dir in $PATH
2424do
2425  IFS=$as_save_IFS
2426  test -z "$as_dir" && as_dir=.
2427  for ac_exec_ext in '' $ac_executable_extensions; do
2428  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2429    ac_cv_prog_ac_ct_STRIP="strip"
2430    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2431    break 2
2432  fi
2433done
2434done
2435IFS=$as_save_IFS
2436
2437fi
2438fi
2439ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2440if test -n "$ac_ct_STRIP"; then
2441  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2442echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2443else
2444  { echo "$as_me:$LINENO: result: no" >&5
2445echo "${ECHO_T}no" >&6; }
2446fi
2447
2448  if test "x$ac_ct_STRIP" = x; then
2449    STRIP=":"
2450  else
2451    case $cross_compiling:$ac_tool_warned in
2452yes:)
2453{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2454whose name does not start with the host triplet.  If you think this
2455configuration is useful to you, please write to autoconf@gnu.org." >&5
2456echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2457whose name does not start with the host triplet.  If you think this
2458configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2459ac_tool_warned=yes ;;
2460esac
2461    STRIP=$ac_ct_STRIP
2462  fi
2463else
2464  STRIP="$ac_cv_prog_STRIP"
2465fi
2466
2467fi
2468INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2469
2470# We need awk for the "check" target.  The system "awk" is bad on
2471# some platforms.
2472# Always define AMTAR for backward compatibility.
2473
2474AMTAR=${AMTAR-"${am_missing_run}tar"}
2475
2476am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2477
2478
2479
2480
2481
2482ac_config_headers="$ac_config_headers config.h"
2483
2484DEPDIR="${am__leading_dot}deps"
2485
2486ac_config_commands="$ac_config_commands depfiles"
2487
2488
2489am_make=${MAKE-make}
2490cat > confinc << 'END'
2491am__doit:
2492	@echo done
2493.PHONY: am__doit
2494END
2495# If we don't find an include directive, just comment out the code.
2496{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2497echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2498am__include="#"
2499am__quote=
2500_am_result=none
2501# First try GNU make style include.
2502echo "include confinc" > confmf
2503# We grep out `Entering directory' and `Leaving directory'
2504# messages which can occur if `w' ends up in MAKEFLAGS.
2505# In particular we don't look at `^make:' because GNU make might
2506# be invoked under some other name (usually "gmake"), in which
2507# case it prints its new name instead of `make'.
2508if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2509   am__include=include
2510   am__quote=
2511   _am_result=GNU
2512fi
2513# Now try BSD make style include.
2514if test "$am__include" = "#"; then
2515   echo '.include "confinc"' > confmf
2516   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2517      am__include=.include
2518      am__quote="\""
2519      _am_result=BSD
2520   fi
2521fi
2522
2523
2524{ echo "$as_me:$LINENO: result: $_am_result" >&5
2525echo "${ECHO_T}$_am_result" >&6; }
2526rm -f confinc confmf
2527
2528# Check whether --enable-dependency-tracking was given.
2529if test "${enable_dependency_tracking+set}" = set; then
2530  enableval=$enable_dependency_tracking;
2531fi
2532
2533if test "x$enable_dependency_tracking" != xno; then
2534  am_depcomp="$ac_aux_dir/depcomp"
2535  AMDEPBACKSLASH='\'
2536fi
2537 if test "x$enable_dependency_tracking" != xno; then
2538  AMDEP_TRUE=
2539  AMDEP_FALSE='#'
2540else
2541  AMDEP_TRUE='#'
2542  AMDEP_FALSE=
2543fi
2544
2545
2546ac_ext=c
2547ac_cpp='$CPP $CPPFLAGS'
2548ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2549ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2550ac_compiler_gnu=$ac_cv_c_compiler_gnu
2551if test -n "$ac_tool_prefix"; then
2552  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2553set dummy ${ac_tool_prefix}gcc; ac_word=$2
2554{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2555echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2556if test "${ac_cv_prog_CC+set}" = set; then
2557  echo $ECHO_N "(cached) $ECHO_C" >&6
2558else
2559  if test -n "$CC"; then
2560  ac_cv_prog_CC="$CC" # Let the user override the test.
2561else
2562as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2563for as_dir in $PATH
2564do
2565  IFS=$as_save_IFS
2566  test -z "$as_dir" && as_dir=.
2567  for ac_exec_ext in '' $ac_executable_extensions; do
2568  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2569    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2570    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2571    break 2
2572  fi
2573done
2574done
2575IFS=$as_save_IFS
2576
2577fi
2578fi
2579CC=$ac_cv_prog_CC
2580if test -n "$CC"; then
2581  { echo "$as_me:$LINENO: result: $CC" >&5
2582echo "${ECHO_T}$CC" >&6; }
2583else
2584  { echo "$as_me:$LINENO: result: no" >&5
2585echo "${ECHO_T}no" >&6; }
2586fi
2587
2588
2589fi
2590if test -z "$ac_cv_prog_CC"; then
2591  ac_ct_CC=$CC
2592  # Extract the first word of "gcc", so it can be a program name with args.
2593set dummy gcc; ac_word=$2
2594{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2595echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2596if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2597  echo $ECHO_N "(cached) $ECHO_C" >&6
2598else
2599  if test -n "$ac_ct_CC"; then
2600  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2601else
2602as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2603for as_dir in $PATH
2604do
2605  IFS=$as_save_IFS
2606  test -z "$as_dir" && as_dir=.
2607  for ac_exec_ext in '' $ac_executable_extensions; do
2608  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2609    ac_cv_prog_ac_ct_CC="gcc"
2610    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2611    break 2
2612  fi
2613done
2614done
2615IFS=$as_save_IFS
2616
2617fi
2618fi
2619ac_ct_CC=$ac_cv_prog_ac_ct_CC
2620if test -n "$ac_ct_CC"; then
2621  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2622echo "${ECHO_T}$ac_ct_CC" >&6; }
2623else
2624  { echo "$as_me:$LINENO: result: no" >&5
2625echo "${ECHO_T}no" >&6; }
2626fi
2627
2628  if test "x$ac_ct_CC" = x; then
2629    CC=""
2630  else
2631    case $cross_compiling:$ac_tool_warned in
2632yes:)
2633{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2634whose name does not start with the host triplet.  If you think this
2635configuration is useful to you, please write to autoconf@gnu.org." >&5
2636echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2637whose name does not start with the host triplet.  If you think this
2638configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2639ac_tool_warned=yes ;;
2640esac
2641    CC=$ac_ct_CC
2642  fi
2643else
2644  CC="$ac_cv_prog_CC"
2645fi
2646
2647if test -z "$CC"; then
2648          if test -n "$ac_tool_prefix"; then
2649    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2650set dummy ${ac_tool_prefix}cc; ac_word=$2
2651{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2652echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2653if test "${ac_cv_prog_CC+set}" = set; then
2654  echo $ECHO_N "(cached) $ECHO_C" >&6
2655else
2656  if test -n "$CC"; then
2657  ac_cv_prog_CC="$CC" # Let the user override the test.
2658else
2659as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2660for as_dir in $PATH
2661do
2662  IFS=$as_save_IFS
2663  test -z "$as_dir" && as_dir=.
2664  for ac_exec_ext in '' $ac_executable_extensions; do
2665  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2666    ac_cv_prog_CC="${ac_tool_prefix}cc"
2667    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2668    break 2
2669  fi
2670done
2671done
2672IFS=$as_save_IFS
2673
2674fi
2675fi
2676CC=$ac_cv_prog_CC
2677if test -n "$CC"; then
2678  { echo "$as_me:$LINENO: result: $CC" >&5
2679echo "${ECHO_T}$CC" >&6; }
2680else
2681  { echo "$as_me:$LINENO: result: no" >&5
2682echo "${ECHO_T}no" >&6; }
2683fi
2684
2685
2686  fi
2687fi
2688if test -z "$CC"; then
2689  # Extract the first word of "cc", so it can be a program name with args.
2690set dummy cc; ac_word=$2
2691{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2692echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2693if test "${ac_cv_prog_CC+set}" = set; then
2694  echo $ECHO_N "(cached) $ECHO_C" >&6
2695else
2696  if test -n "$CC"; then
2697  ac_cv_prog_CC="$CC" # Let the user override the test.
2698else
2699  ac_prog_rejected=no
2700as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2701for as_dir in $PATH
2702do
2703  IFS=$as_save_IFS
2704  test -z "$as_dir" && as_dir=.
2705  for ac_exec_ext in '' $ac_executable_extensions; do
2706  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2707    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2708       ac_prog_rejected=yes
2709       continue
2710     fi
2711    ac_cv_prog_CC="cc"
2712    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2713    break 2
2714  fi
2715done
2716done
2717IFS=$as_save_IFS
2718
2719if test $ac_prog_rejected = yes; then
2720  # We found a bogon in the path, so make sure we never use it.
2721  set dummy $ac_cv_prog_CC
2722  shift
2723  if test $# != 0; then
2724    # We chose a different compiler from the bogus one.
2725    # However, it has the same basename, so the bogon will be chosen
2726    # first if we set CC to just the basename; use the full file name.
2727    shift
2728    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2729  fi
2730fi
2731fi
2732fi
2733CC=$ac_cv_prog_CC
2734if test -n "$CC"; then
2735  { echo "$as_me:$LINENO: result: $CC" >&5
2736echo "${ECHO_T}$CC" >&6; }
2737else
2738  { echo "$as_me:$LINENO: result: no" >&5
2739echo "${ECHO_T}no" >&6; }
2740fi
2741
2742
2743fi
2744if test -z "$CC"; then
2745  if test -n "$ac_tool_prefix"; then
2746  for ac_prog in cl.exe
2747  do
2748    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2749set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2750{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2751echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2752if test "${ac_cv_prog_CC+set}" = set; then
2753  echo $ECHO_N "(cached) $ECHO_C" >&6
2754else
2755  if test -n "$CC"; then
2756  ac_cv_prog_CC="$CC" # Let the user override the test.
2757else
2758as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2759for as_dir in $PATH
2760do
2761  IFS=$as_save_IFS
2762  test -z "$as_dir" && as_dir=.
2763  for ac_exec_ext in '' $ac_executable_extensions; do
2764  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2765    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2766    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2767    break 2
2768  fi
2769done
2770done
2771IFS=$as_save_IFS
2772
2773fi
2774fi
2775CC=$ac_cv_prog_CC
2776if test -n "$CC"; then
2777  { echo "$as_me:$LINENO: result: $CC" >&5
2778echo "${ECHO_T}$CC" >&6; }
2779else
2780  { echo "$as_me:$LINENO: result: no" >&5
2781echo "${ECHO_T}no" >&6; }
2782fi
2783
2784
2785    test -n "$CC" && break
2786  done
2787fi
2788if test -z "$CC"; then
2789  ac_ct_CC=$CC
2790  for ac_prog in cl.exe
2791do
2792  # Extract the first word of "$ac_prog", so it can be a program name with args.
2793set dummy $ac_prog; ac_word=$2
2794{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2795echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2796if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2797  echo $ECHO_N "(cached) $ECHO_C" >&6
2798else
2799  if test -n "$ac_ct_CC"; then
2800  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2801else
2802as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2803for as_dir in $PATH
2804do
2805  IFS=$as_save_IFS
2806  test -z "$as_dir" && as_dir=.
2807  for ac_exec_ext in '' $ac_executable_extensions; do
2808  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2809    ac_cv_prog_ac_ct_CC="$ac_prog"
2810    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2811    break 2
2812  fi
2813done
2814done
2815IFS=$as_save_IFS
2816
2817fi
2818fi
2819ac_ct_CC=$ac_cv_prog_ac_ct_CC
2820if test -n "$ac_ct_CC"; then
2821  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2822echo "${ECHO_T}$ac_ct_CC" >&6; }
2823else
2824  { echo "$as_me:$LINENO: result: no" >&5
2825echo "${ECHO_T}no" >&6; }
2826fi
2827
2828
2829  test -n "$ac_ct_CC" && break
2830done
2831
2832  if test "x$ac_ct_CC" = x; then
2833    CC=""
2834  else
2835    case $cross_compiling:$ac_tool_warned in
2836yes:)
2837{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2838whose name does not start with the host triplet.  If you think this
2839configuration is useful to you, please write to autoconf@gnu.org." >&5
2840echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2841whose name does not start with the host triplet.  If you think this
2842configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2843ac_tool_warned=yes ;;
2844esac
2845    CC=$ac_ct_CC
2846  fi
2847fi
2848
2849fi
2850
2851
2852test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2853See \`config.log' for more details." >&5
2854echo "$as_me: error: no acceptable C compiler found in \$PATH
2855See \`config.log' for more details." >&2;}
2856   { (exit 1); exit 1; }; }
2857
2858# Provide some information about the compiler.
2859echo "$as_me:$LINENO: checking for C compiler version" >&5
2860ac_compiler=`set X $ac_compile; echo $2`
2861{ (ac_try="$ac_compiler --version >&5"
2862case "(($ac_try" in
2863  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2864  *) ac_try_echo=$ac_try;;
2865esac
2866eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2867  (eval "$ac_compiler --version >&5") 2>&5
2868  ac_status=$?
2869  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2870  (exit $ac_status); }
2871{ (ac_try="$ac_compiler -v >&5"
2872case "(($ac_try" in
2873  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2874  *) ac_try_echo=$ac_try;;
2875esac
2876eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2877  (eval "$ac_compiler -v >&5") 2>&5
2878  ac_status=$?
2879  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2880  (exit $ac_status); }
2881{ (ac_try="$ac_compiler -V >&5"
2882case "(($ac_try" in
2883  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2884  *) ac_try_echo=$ac_try;;
2885esac
2886eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2887  (eval "$ac_compiler -V >&5") 2>&5
2888  ac_status=$?
2889  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2890  (exit $ac_status); }
2891
2892cat >conftest.$ac_ext <<_ACEOF
2893/* confdefs.h.  */
2894_ACEOF
2895cat confdefs.h >>conftest.$ac_ext
2896cat >>conftest.$ac_ext <<_ACEOF
2897/* end confdefs.h.  */
2898
2899int
2900main ()
2901{
2902
2903  ;
2904  return 0;
2905}
2906_ACEOF
2907ac_clean_files_save=$ac_clean_files
2908ac_clean_files="$ac_clean_files a.out a.exe b.out"
2909# Try to create an executable without -o first, disregard a.out.
2910# It will help us diagnose broken compilers, and finding out an intuition
2911# of exeext.
2912{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2913echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2914ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2915#
2916# List of possible output files, starting from the most likely.
2917# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2918# only as a last resort.  b.out is created by i960 compilers.
2919ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2920#
2921# The IRIX 6 linker writes into existing files which may not be
2922# executable, retaining their permissions.  Remove them first so a
2923# subsequent execution test works.
2924ac_rmfiles=
2925for ac_file in $ac_files
2926do
2927  case $ac_file in
2928    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2929    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2930  esac
2931done
2932rm -f $ac_rmfiles
2933
2934if { (ac_try="$ac_link_default"
2935case "(($ac_try" in
2936  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2937  *) ac_try_echo=$ac_try;;
2938esac
2939eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2940  (eval "$ac_link_default") 2>&5
2941  ac_status=$?
2942  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2943  (exit $ac_status); }; then
2944  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2945# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2946# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2947# so that the user can short-circuit this test for compilers unknown to
2948# Autoconf.
2949for ac_file in $ac_files ''
2950do
2951  test -f "$ac_file" || continue
2952  case $ac_file in
2953    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2954	;;
2955    [ab].out )
2956	# We found the default executable, but exeext='' is most
2957	# certainly right.
2958	break;;
2959    *.* )
2960        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2961	then :; else
2962	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2963	fi
2964	# We set ac_cv_exeext here because the later test for it is not
2965	# safe: cross compilers may not add the suffix if given an `-o'
2966	# argument, so we may need to know it at that point already.
2967	# Even if this section looks crufty: it has the advantage of
2968	# actually working.
2969	break;;
2970    * )
2971	break;;
2972  esac
2973done
2974test "$ac_cv_exeext" = no && ac_cv_exeext=
2975
2976else
2977  ac_file=''
2978fi
2979
2980{ echo "$as_me:$LINENO: result: $ac_file" >&5
2981echo "${ECHO_T}$ac_file" >&6; }
2982if test -z "$ac_file"; then
2983  echo "$as_me: failed program was:" >&5
2984sed 's/^/| /' conftest.$ac_ext >&5
2985
2986{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2987See \`config.log' for more details." >&5
2988echo "$as_me: error: C compiler cannot create executables
2989See \`config.log' for more details." >&2;}
2990   { (exit 77); exit 77; }; }
2991fi
2992
2993ac_exeext=$ac_cv_exeext
2994
2995# Check that the compiler produces executables we can run.  If not, either
2996# the compiler is broken, or we cross compile.
2997{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2998echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2999# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3000# If not cross compiling, check that we can run a simple program.
3001if test "$cross_compiling" != yes; then
3002  if { ac_try='./$ac_file'
3003  { (case "(($ac_try" in
3004  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3005  *) ac_try_echo=$ac_try;;
3006esac
3007eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3008  (eval "$ac_try") 2>&5
3009  ac_status=$?
3010  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3011  (exit $ac_status); }; }; then
3012    cross_compiling=no
3013  else
3014    if test "$cross_compiling" = maybe; then
3015	cross_compiling=yes
3016    else
3017	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3018If you meant to cross compile, use \`--host'.
3019See \`config.log' for more details." >&5
3020echo "$as_me: error: cannot run C compiled programs.
3021If you meant to cross compile, use \`--host'.
3022See \`config.log' for more details." >&2;}
3023   { (exit 1); exit 1; }; }
3024    fi
3025  fi
3026fi
3027{ echo "$as_me:$LINENO: result: yes" >&5
3028echo "${ECHO_T}yes" >&6; }
3029
3030rm -f a.out a.exe conftest$ac_cv_exeext b.out
3031ac_clean_files=$ac_clean_files_save
3032# Check that the compiler produces executables we can run.  If not, either
3033# the compiler is broken, or we cross compile.
3034{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3035echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3036{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
3037echo "${ECHO_T}$cross_compiling" >&6; }
3038
3039{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
3040echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3041if { (ac_try="$ac_link"
3042case "(($ac_try" in
3043  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3044  *) ac_try_echo=$ac_try;;
3045esac
3046eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3047  (eval "$ac_link") 2>&5
3048  ac_status=$?
3049  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3050  (exit $ac_status); }; then
3051  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3052# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3053# work properly (i.e., refer to `conftest.exe'), while it won't with
3054# `rm'.
3055for ac_file in conftest.exe conftest conftest.*; do
3056  test -f "$ac_file" || continue
3057  case $ac_file in
3058    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3059    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3060	  break;;
3061    * ) break;;
3062  esac
3063done
3064else
3065  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3066See \`config.log' for more details." >&5
3067echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3068See \`config.log' for more details." >&2;}
3069   { (exit 1); exit 1; }; }
3070fi
3071
3072rm -f conftest$ac_cv_exeext
3073{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3074echo "${ECHO_T}$ac_cv_exeext" >&6; }
3075
3076rm -f conftest.$ac_ext
3077EXEEXT=$ac_cv_exeext
3078ac_exeext=$EXEEXT
3079{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
3080echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3081if test "${ac_cv_objext+set}" = set; then
3082  echo $ECHO_N "(cached) $ECHO_C" >&6
3083else
3084  cat >conftest.$ac_ext <<_ACEOF
3085/* confdefs.h.  */
3086_ACEOF
3087cat confdefs.h >>conftest.$ac_ext
3088cat >>conftest.$ac_ext <<_ACEOF
3089/* end confdefs.h.  */
3090
3091int
3092main ()
3093{
3094
3095  ;
3096  return 0;
3097}
3098_ACEOF
3099rm -f conftest.o conftest.obj
3100if { (ac_try="$ac_compile"
3101case "(($ac_try" in
3102  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3103  *) ac_try_echo=$ac_try;;
3104esac
3105eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3106  (eval "$ac_compile") 2>&5
3107  ac_status=$?
3108  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3109  (exit $ac_status); }; then
3110  for ac_file in conftest.o conftest.obj conftest.*; do
3111  test -f "$ac_file" || continue;
3112  case $ac_file in
3113    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3114    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3115       break;;
3116  esac
3117done
3118else
3119  echo "$as_me: failed program was:" >&5
3120sed 's/^/| /' conftest.$ac_ext >&5
3121
3122{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3123See \`config.log' for more details." >&5
3124echo "$as_me: error: cannot compute suffix of object files: cannot compile
3125See \`config.log' for more details." >&2;}
3126   { (exit 1); exit 1; }; }
3127fi
3128
3129rm -f conftest.$ac_cv_objext conftest.$ac_ext
3130fi
3131{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3132echo "${ECHO_T}$ac_cv_objext" >&6; }
3133OBJEXT=$ac_cv_objext
3134ac_objext=$OBJEXT
3135{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3136echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3137if test "${ac_cv_c_compiler_gnu+set}" = set; then
3138  echo $ECHO_N "(cached) $ECHO_C" >&6
3139else
3140  cat >conftest.$ac_ext <<_ACEOF
3141/* confdefs.h.  */
3142_ACEOF
3143cat confdefs.h >>conftest.$ac_ext
3144cat >>conftest.$ac_ext <<_ACEOF
3145/* end confdefs.h.  */
3146
3147int
3148main ()
3149{
3150#ifndef __GNUC__
3151       choke me
3152#endif
3153
3154  ;
3155  return 0;
3156}
3157_ACEOF
3158rm -f conftest.$ac_objext
3159if { (ac_try="$ac_compile"
3160case "(($ac_try" in
3161  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3162  *) ac_try_echo=$ac_try;;
3163esac
3164eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3165  (eval "$ac_compile") 2>conftest.er1
3166  ac_status=$?
3167  grep -v '^ *+' conftest.er1 >conftest.err
3168  rm -f conftest.er1
3169  cat conftest.err >&5
3170  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3171  (exit $ac_status); } && {
3172	 test -z "$ac_c_werror_flag" ||
3173	 test ! -s conftest.err
3174       } && test -s conftest.$ac_objext; then
3175  ac_compiler_gnu=yes
3176else
3177  echo "$as_me: failed program was:" >&5
3178sed 's/^/| /' conftest.$ac_ext >&5
3179
3180	ac_compiler_gnu=no
3181fi
3182
3183rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3184ac_cv_c_compiler_gnu=$ac_compiler_gnu
3185
3186fi
3187{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3188echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3189GCC=`test $ac_compiler_gnu = yes && echo yes`
3190ac_test_CFLAGS=${CFLAGS+set}
3191ac_save_CFLAGS=$CFLAGS
3192{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3193echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3194if test "${ac_cv_prog_cc_g+set}" = set; then
3195  echo $ECHO_N "(cached) $ECHO_C" >&6
3196else
3197  ac_save_c_werror_flag=$ac_c_werror_flag
3198   ac_c_werror_flag=yes
3199   ac_cv_prog_cc_g=no
3200   CFLAGS="-g"
3201   cat >conftest.$ac_ext <<_ACEOF
3202/* confdefs.h.  */
3203_ACEOF
3204cat confdefs.h >>conftest.$ac_ext
3205cat >>conftest.$ac_ext <<_ACEOF
3206/* end confdefs.h.  */
3207
3208int
3209main ()
3210{
3211
3212  ;
3213  return 0;
3214}
3215_ACEOF
3216rm -f conftest.$ac_objext
3217if { (ac_try="$ac_compile"
3218case "(($ac_try" in
3219  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3220  *) ac_try_echo=$ac_try;;
3221esac
3222eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3223  (eval "$ac_compile") 2>conftest.er1
3224  ac_status=$?
3225  grep -v '^ *+' conftest.er1 >conftest.err
3226  rm -f conftest.er1
3227  cat conftest.err >&5
3228  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3229  (exit $ac_status); } && {
3230	 test -z "$ac_c_werror_flag" ||
3231	 test ! -s conftest.err
3232       } && test -s conftest.$ac_objext; then
3233  ac_cv_prog_cc_g=yes
3234else
3235  echo "$as_me: failed program was:" >&5
3236sed 's/^/| /' conftest.$ac_ext >&5
3237
3238	CFLAGS=""
3239      cat >conftest.$ac_ext <<_ACEOF
3240/* confdefs.h.  */
3241_ACEOF
3242cat confdefs.h >>conftest.$ac_ext
3243cat >>conftest.$ac_ext <<_ACEOF
3244/* end confdefs.h.  */
3245
3246int
3247main ()
3248{
3249
3250  ;
3251  return 0;
3252}
3253_ACEOF
3254rm -f conftest.$ac_objext
3255if { (ac_try="$ac_compile"
3256case "(($ac_try" in
3257  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3258  *) ac_try_echo=$ac_try;;
3259esac
3260eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3261  (eval "$ac_compile") 2>conftest.er1
3262  ac_status=$?
3263  grep -v '^ *+' conftest.er1 >conftest.err
3264  rm -f conftest.er1
3265  cat conftest.err >&5
3266  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3267  (exit $ac_status); } && {
3268	 test -z "$ac_c_werror_flag" ||
3269	 test ! -s conftest.err
3270       } && test -s conftest.$ac_objext; then
3271  :
3272else
3273  echo "$as_me: failed program was:" >&5
3274sed 's/^/| /' conftest.$ac_ext >&5
3275
3276	ac_c_werror_flag=$ac_save_c_werror_flag
3277	 CFLAGS="-g"
3278	 cat >conftest.$ac_ext <<_ACEOF
3279/* confdefs.h.  */
3280_ACEOF
3281cat confdefs.h >>conftest.$ac_ext
3282cat >>conftest.$ac_ext <<_ACEOF
3283/* end confdefs.h.  */
3284
3285int
3286main ()
3287{
3288
3289  ;
3290  return 0;
3291}
3292_ACEOF
3293rm -f conftest.$ac_objext
3294if { (ac_try="$ac_compile"
3295case "(($ac_try" in
3296  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3297  *) ac_try_echo=$ac_try;;
3298esac
3299eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3300  (eval "$ac_compile") 2>conftest.er1
3301  ac_status=$?
3302  grep -v '^ *+' conftest.er1 >conftest.err
3303  rm -f conftest.er1
3304  cat conftest.err >&5
3305  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3306  (exit $ac_status); } && {
3307	 test -z "$ac_c_werror_flag" ||
3308	 test ! -s conftest.err
3309       } && test -s conftest.$ac_objext; then
3310  ac_cv_prog_cc_g=yes
3311else
3312  echo "$as_me: failed program was:" >&5
3313sed 's/^/| /' conftest.$ac_ext >&5
3314
3315
3316fi
3317
3318rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3319fi
3320
3321rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3322fi
3323
3324rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3325   ac_c_werror_flag=$ac_save_c_werror_flag
3326fi
3327{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3328echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3329if test "$ac_test_CFLAGS" = set; then
3330  CFLAGS=$ac_save_CFLAGS
3331elif test $ac_cv_prog_cc_g = yes; then
3332  if test "$GCC" = yes; then
3333    CFLAGS="-g -O2"
3334  else
3335    CFLAGS="-g"
3336  fi
3337else
3338  if test "$GCC" = yes; then
3339    CFLAGS="-O2"
3340  else
3341    CFLAGS=
3342  fi
3343fi
3344{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3345echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3346if test "${ac_cv_prog_cc_c89+set}" = set; then
3347  echo $ECHO_N "(cached) $ECHO_C" >&6
3348else
3349  ac_cv_prog_cc_c89=no
3350ac_save_CC=$CC
3351cat >conftest.$ac_ext <<_ACEOF
3352/* confdefs.h.  */
3353_ACEOF
3354cat confdefs.h >>conftest.$ac_ext
3355cat >>conftest.$ac_ext <<_ACEOF
3356/* end confdefs.h.  */
3357#include <stdarg.h>
3358#include <stdio.h>
3359#include <sys/types.h>
3360#include <sys/stat.h>
3361/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3362struct buf { int x; };
3363FILE * (*rcsopen) (struct buf *, struct stat *, int);
3364static char *e (p, i)
3365     char **p;
3366     int i;
3367{
3368  return p[i];
3369}
3370static char *f (char * (*g) (char **, int), char **p, ...)
3371{
3372  char *s;
3373  va_list v;
3374  va_start (v,p);
3375  s = g (p, va_arg (v,int));
3376  va_end (v);
3377  return s;
3378}
3379
3380/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3381   function prototypes and stuff, but not '\xHH' hex character constants.
3382   These don't provoke an error unfortunately, instead are silently treated
3383   as 'x'.  The following induces an error, until -std is added to get
3384   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3385   array size at least.  It's necessary to write '\x00'==0 to get something
3386   that's true only with -std.  */
3387int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3388
3389/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3390   inside strings and character constants.  */
3391#define FOO(x) 'x'
3392int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3393
3394int test (int i, double x);
3395struct s1 {int (*f) (int a);};
3396struct s2 {int (*f) (double a);};
3397int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3398int argc;
3399char **argv;
3400int
3401main ()
3402{
3403return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3404  ;
3405  return 0;
3406}
3407_ACEOF
3408for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3409	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3410do
3411  CC="$ac_save_CC $ac_arg"
3412  rm -f conftest.$ac_objext
3413if { (ac_try="$ac_compile"
3414case "(($ac_try" in
3415  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3416  *) ac_try_echo=$ac_try;;
3417esac
3418eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3419  (eval "$ac_compile") 2>conftest.er1
3420  ac_status=$?
3421  grep -v '^ *+' conftest.er1 >conftest.err
3422  rm -f conftest.er1
3423  cat conftest.err >&5
3424  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3425  (exit $ac_status); } && {
3426	 test -z "$ac_c_werror_flag" ||
3427	 test ! -s conftest.err
3428       } && test -s conftest.$ac_objext; then
3429  ac_cv_prog_cc_c89=$ac_arg
3430else
3431  echo "$as_me: failed program was:" >&5
3432sed 's/^/| /' conftest.$ac_ext >&5
3433
3434
3435fi
3436
3437rm -f core conftest.err conftest.$ac_objext
3438  test "x$ac_cv_prog_cc_c89" != "xno" && break
3439done
3440rm -f conftest.$ac_ext
3441CC=$ac_save_CC
3442
3443fi
3444# AC_CACHE_VAL
3445case "x$ac_cv_prog_cc_c89" in
3446  x)
3447    { echo "$as_me:$LINENO: result: none needed" >&5
3448echo "${ECHO_T}none needed" >&6; } ;;
3449  xno)
3450    { echo "$as_me:$LINENO: result: unsupported" >&5
3451echo "${ECHO_T}unsupported" >&6; } ;;
3452  *)
3453    CC="$CC $ac_cv_prog_cc_c89"
3454    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3455echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3456esac
3457
3458
3459ac_ext=c
3460ac_cpp='$CPP $CPPFLAGS'
3461ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3462ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3463ac_compiler_gnu=$ac_cv_c_compiler_gnu
3464
3465depcc="$CC"   am_compiler_list=
3466
3467{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3468echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3469if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3470  echo $ECHO_N "(cached) $ECHO_C" >&6
3471else
3472  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3473  # We make a subdir and do the tests there.  Otherwise we can end up
3474  # making bogus files that we don't know about and never remove.  For
3475  # instance it was reported that on HP-UX the gcc test will end up
3476  # making a dummy file named `D' -- because `-MD' means `put the output
3477  # in D'.
3478  mkdir conftest.dir
3479  # Copy depcomp to subdir because otherwise we won't find it if we're
3480  # using a relative directory.
3481  cp "$am_depcomp" conftest.dir
3482  cd conftest.dir
3483  # We will build objects and dependencies in a subdirectory because
3484  # it helps to detect inapplicable dependency modes.  For instance
3485  # both Tru64's cc and ICC support -MD to output dependencies as a
3486  # side effect of compilation, but ICC will put the dependencies in
3487  # the current directory while Tru64 will put them in the object
3488  # directory.
3489  mkdir sub
3490
3491  am_cv_CC_dependencies_compiler_type=none
3492  if test "$am_compiler_list" = ""; then
3493     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3494  fi
3495  for depmode in $am_compiler_list; do
3496    # Setup a source with many dependencies, because some compilers
3497    # like to wrap large dependency lists on column 80 (with \), and
3498    # we should not choose a depcomp mode which is confused by this.
3499    #
3500    # We need to recreate these files for each test, as the compiler may
3501    # overwrite some of them when testing with obscure command lines.
3502    # This happens at least with the AIX C compiler.
3503    : > sub/conftest.c
3504    for i in 1 2 3 4 5 6; do
3505      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3506      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3507      # Solaris 8's {/usr,}/bin/sh.
3508      touch sub/conftst$i.h
3509    done
3510    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3511
3512    case $depmode in
3513    nosideeffect)
3514      # after this tag, mechanisms are not by side-effect, so they'll
3515      # only be used when explicitly requested
3516      if test "x$enable_dependency_tracking" = xyes; then
3517	continue
3518      else
3519	break
3520      fi
3521      ;;
3522    none) break ;;
3523    esac
3524    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3525    # mode.  It turns out that the SunPro C++ compiler does not properly
3526    # handle `-M -o', and we need to detect this.
3527    if depmode=$depmode \
3528       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3529       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3530       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3531         >/dev/null 2>conftest.err &&
3532       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3533       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3534       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3535       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3536      # icc doesn't choke on unknown options, it will just issue warnings
3537      # or remarks (even with -Werror).  So we grep stderr for any message
3538      # that says an option was ignored or not supported.
3539      # When given -MP, icc 7.0 and 7.1 complain thusly:
3540      #   icc: Command line warning: ignoring option '-M'; no argument required
3541      # The diagnosis changed in icc 8.0:
3542      #   icc: Command line remark: option '-MP' not supported
3543      if (grep 'ignoring option' conftest.err ||
3544          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3545        am_cv_CC_dependencies_compiler_type=$depmode
3546        break
3547      fi
3548    fi
3549  done
3550
3551  cd ..
3552  rm -rf conftest.dir
3553else
3554  am_cv_CC_dependencies_compiler_type=none
3555fi
3556
3557fi
3558{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3559echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3560CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3561
3562 if
3563  test "x$enable_dependency_tracking" != xno \
3564  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3565  am__fastdepCC_TRUE=
3566  am__fastdepCC_FALSE='#'
3567else
3568  am__fastdepCC_TRUE='#'
3569  am__fastdepCC_FALSE=
3570fi
3571
3572
3573
3574
3575case "$am__api_version" in
3576    1.01234)
3577	{ { echo "$as_me:$LINENO: error: Automake 1.5 or newer is required to use intltool" >&5
3578echo "$as_me: error: Automake 1.5 or newer is required to use intltool" >&2;}
3579   { (exit 1); exit 1; }; }
3580    ;;
3581    *)
3582    ;;
3583esac
3584
3585if test -n "0.23"; then
3586    { echo "$as_me:$LINENO: checking for intltool >= 0.23" >&5
3587echo $ECHO_N "checking for intltool >= 0.23... $ECHO_C" >&6; }
3588
3589    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.23 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
3590    INTLTOOL_APPLIED_VERSION=`awk -F\" '/\\$VERSION / { print $ 2; }' ${ac_aux_dir}/intltool-update.in`
3591    INTLTOOL_APPLIED_VERSION_AS_INT=`awk -F\" '/\\$VERSION / { split($ 2, VERSION, "."); print VERSION[1] * 1000 + VERSION[2] * 100 + VERSION[3];}' ${ac_aux_dir}/intltool-update.in`
3592
3593    { echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5
3594echo "${ECHO_T}$INTLTOOL_APPLIED_VERSION found" >&6; }
3595    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
3596	{ { echo "$as_me:$LINENO: error: Your intltool is too old.  You need intltool 0.23 or later." >&5
3597echo "$as_me: error: Your intltool is too old.  You need intltool 0.23 or later." >&2;}
3598   { (exit 1); exit 1; }; }
3599fi
3600
3601  INTLTOOL_DESKTOP_RULE='%.desktop:   %.desktop.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3602INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3603     INTLTOOL_KEYS_RULE='%.keys:      %.keys.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3604     INTLTOOL_PROP_RULE='%.prop:      %.prop.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3605      INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
3606     INTLTOOL_PONG_RULE='%.pong:      %.pong.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3607   INTLTOOL_SERVER_RULE='%.server:    %.server.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3608    INTLTOOL_SHEET_RULE='%.sheet:     %.sheet.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3609INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3610       INTLTOOL_UI_RULE='%.ui:        %.ui.in        $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3611      INTLTOOL_XML_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3612      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
3613      INTLTOOL_XAM_RULE='%.xam:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3614      INTLTOOL_KBD_RULE='%.kbd:       %.kbd.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3615    INTLTOOL_CAVES_RULE='%.caves:     %.caves.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3616  INTLTOOL_SCHEMAS_RULE='%.schemas:   %.schemas.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3617    INTLTOOL_THEME_RULE='%.theme:     %.theme.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3618    INTLTOOL_SERVICE_RULE='%.service: %.service.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3619   INTLTOOL_POLICY_RULE='%.policy:    %.policy.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641# Check the gettext tools to make sure they are GNU
3642# Extract the first word of "xgettext", so it can be a program name with args.
3643set dummy xgettext; ac_word=$2
3644{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3645echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3646if test "${ac_cv_path_XGETTEXT+set}" = set; then
3647  echo $ECHO_N "(cached) $ECHO_C" >&6
3648else
3649  case $XGETTEXT in
3650  [\\/]* | ?:[\\/]*)
3651  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
3652  ;;
3653  *)
3654  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3655for as_dir in $PATH
3656do
3657  IFS=$as_save_IFS
3658  test -z "$as_dir" && as_dir=.
3659  for ac_exec_ext in '' $ac_executable_extensions; do
3660  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3661    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
3662    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3663    break 2
3664  fi
3665done
3666done
3667IFS=$as_save_IFS
3668
3669  ;;
3670esac
3671fi
3672XGETTEXT=$ac_cv_path_XGETTEXT
3673if test -n "$XGETTEXT"; then
3674  { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
3675echo "${ECHO_T}$XGETTEXT" >&6; }
3676else
3677  { echo "$as_me:$LINENO: result: no" >&5
3678echo "${ECHO_T}no" >&6; }
3679fi
3680
3681
3682# Extract the first word of "msgmerge", so it can be a program name with args.
3683set dummy msgmerge; ac_word=$2
3684{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3685echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3686if test "${ac_cv_path_MSGMERGE+set}" = set; then
3687  echo $ECHO_N "(cached) $ECHO_C" >&6
3688else
3689  case $MSGMERGE in
3690  [\\/]* | ?:[\\/]*)
3691  ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
3692  ;;
3693  *)
3694  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3695for as_dir in $PATH
3696do
3697  IFS=$as_save_IFS
3698  test -z "$as_dir" && as_dir=.
3699  for ac_exec_ext in '' $ac_executable_extensions; do
3700  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3701    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
3702    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3703    break 2
3704  fi
3705done
3706done
3707IFS=$as_save_IFS
3708
3709  ;;
3710esac
3711fi
3712MSGMERGE=$ac_cv_path_MSGMERGE
3713if test -n "$MSGMERGE"; then
3714  { echo "$as_me:$LINENO: result: $MSGMERGE" >&5
3715echo "${ECHO_T}$MSGMERGE" >&6; }
3716else
3717  { echo "$as_me:$LINENO: result: no" >&5
3718echo "${ECHO_T}no" >&6; }
3719fi
3720
3721
3722# Extract the first word of "msgfmt", so it can be a program name with args.
3723set dummy msgfmt; ac_word=$2
3724{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3725echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3726if test "${ac_cv_path_MSGFMT+set}" = set; then
3727  echo $ECHO_N "(cached) $ECHO_C" >&6
3728else
3729  case $MSGFMT in
3730  [\\/]* | ?:[\\/]*)
3731  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
3732  ;;
3733  *)
3734  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3735for as_dir in $PATH
3736do
3737  IFS=$as_save_IFS
3738  test -z "$as_dir" && as_dir=.
3739  for ac_exec_ext in '' $ac_executable_extensions; do
3740  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3741    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
3742    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3743    break 2
3744  fi
3745done
3746done
3747IFS=$as_save_IFS
3748
3749  ;;
3750esac
3751fi
3752MSGFMT=$ac_cv_path_MSGFMT
3753if test -n "$MSGFMT"; then
3754  { echo "$as_me:$LINENO: result: $MSGFMT" >&5
3755echo "${ECHO_T}$MSGFMT" >&6; }
3756else
3757  { echo "$as_me:$LINENO: result: no" >&5
3758echo "${ECHO_T}no" >&6; }
3759fi
3760
3761
3762if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
3763    { { echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
3764echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
3765   { (exit 1); exit 1; }; }
3766fi
3767xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
3768mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
3769mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
3770if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
3771    { { echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
3772echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
3773   { (exit 1); exit 1; }; }
3774fi
3775
3776# Use the tools built into the package, not the ones that are installed.
3777INTLTOOL_EXTRACT='$(top_builddir)/intltool-extract'
3778
3779INTLTOOL_MERGE='$(top_builddir)/intltool-merge'
3780
3781INTLTOOL_UPDATE='$(top_builddir)/intltool-update'
3782
3783
3784# Extract the first word of "perl", so it can be a program name with args.
3785set dummy perl; ac_word=$2
3786{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3787echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3788if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then
3789  echo $ECHO_N "(cached) $ECHO_C" >&6
3790else
3791  case $INTLTOOL_PERL in
3792  [\\/]* | ?:[\\/]*)
3793  ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
3794  ;;
3795  *)
3796  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3797for as_dir in $PATH
3798do
3799  IFS=$as_save_IFS
3800  test -z "$as_dir" && as_dir=.
3801  for ac_exec_ext in '' $ac_executable_extensions; do
3802  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3803    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
3804    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3805    break 2
3806  fi
3807done
3808done
3809IFS=$as_save_IFS
3810
3811  ;;
3812esac
3813fi
3814INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
3815if test -n "$INTLTOOL_PERL"; then
3816  { echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5
3817echo "${ECHO_T}$INTLTOOL_PERL" >&6; }
3818else
3819  { echo "$as_me:$LINENO: result: no" >&5
3820echo "${ECHO_T}no" >&6; }
3821fi
3822
3823
3824if test -z "$INTLTOOL_PERL"; then
3825   { { echo "$as_me:$LINENO: error: perl not found; required for intltool" >&5
3826echo "$as_me: error: perl not found; required for intltool" >&2;}
3827   { (exit 1); exit 1; }; }
3828fi
3829if test -z "`$INTLTOOL_PERL -v | fgrep '5.' 2> /dev/null`"; then
3830   { { echo "$as_me:$LINENO: error: perl 5.x required for intltool" >&5
3831echo "$as_me: error: perl 5.x required for intltool" >&2;}
3832   { (exit 1); exit 1; }; }
3833fi
3834if test "x" != "xno-xml"; then
3835   { echo "$as_me:$LINENO: checking for XML::Parser" >&5
3836echo $ECHO_N "checking for XML::Parser... $ECHO_C" >&6; }
3837   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
3838       { echo "$as_me:$LINENO: result: ok" >&5
3839echo "${ECHO_T}ok" >&6; }
3840   else
3841       { { echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5
3842echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;}
3843   { (exit 1); exit 1; }; }
3844   fi
3845fi
3846
3847# Substitute ALL_LINGUAS so we can use it in po/Makefile
3848
3849
3850# Set DATADIRNAME correctly if it is not set yet
3851# (copied from glib-gettext.m4)
3852if test -z "$DATADIRNAME"; then
3853  cat >conftest.$ac_ext <<_ACEOF
3854/* confdefs.h.  */
3855_ACEOF
3856cat confdefs.h >>conftest.$ac_ext
3857cat >>conftest.$ac_ext <<_ACEOF
3858/* end confdefs.h.  */
3859
3860int
3861main ()
3862{
3863extern int _nl_msg_cat_cntr;
3864                       return _nl_msg_cat_cntr
3865  ;
3866  return 0;
3867}
3868_ACEOF
3869rm -f conftest.$ac_objext conftest$ac_exeext
3870if { (ac_try="$ac_link"
3871case "(($ac_try" in
3872  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3873  *) ac_try_echo=$ac_try;;
3874esac
3875eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3876  (eval "$ac_link") 2>conftest.er1
3877  ac_status=$?
3878  grep -v '^ *+' conftest.er1 >conftest.err
3879  rm -f conftest.er1
3880  cat conftest.err >&5
3881  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3882  (exit $ac_status); } && {
3883	 test -z "$ac_c_werror_flag" ||
3884	 test ! -s conftest.err
3885       } && test -s conftest$ac_exeext &&
3886       $as_test_x conftest$ac_exeext; then
3887  DATADIRNAME=share
3888else
3889  echo "$as_me: failed program was:" >&5
3890sed 's/^/| /' conftest.$ac_ext >&5
3891
3892	case $host in
3893    *-*-solaris*)
3894                        { echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
3895echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; }
3896if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
3897  echo $ECHO_N "(cached) $ECHO_C" >&6
3898else
3899  cat >conftest.$ac_ext <<_ACEOF
3900/* confdefs.h.  */
3901_ACEOF
3902cat confdefs.h >>conftest.$ac_ext
3903cat >>conftest.$ac_ext <<_ACEOF
3904/* end confdefs.h.  */
3905/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
3906   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
3907#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
3908
3909/* System header to define __stub macros and hopefully few prototypes,
3910    which can conflict with char bind_textdomain_codeset (); below.
3911    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3912    <limits.h> exists even on freestanding compilers.  */
3913
3914#ifdef __STDC__
3915# include <limits.h>
3916#else
3917# include <assert.h>
3918#endif
3919
3920#undef bind_textdomain_codeset
3921
3922/* Override any GCC internal prototype to avoid an error.
3923   Use char because int might match the return type of a GCC
3924   builtin and then its argument prototype would still apply.  */
3925#ifdef __cplusplus
3926extern "C"
3927#endif
3928char bind_textdomain_codeset ();
3929/* The GNU C library defines this for functions which it implements
3930    to always fail with ENOSYS.  Some functions are actually named
3931    something starting with __ and the normal name is an alias.  */
3932#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
3933choke me
3934#endif
3935
3936int
3937main ()
3938{
3939return bind_textdomain_codeset ();
3940  ;
3941  return 0;
3942}
3943_ACEOF
3944rm -f conftest.$ac_objext conftest$ac_exeext
3945if { (ac_try="$ac_link"
3946case "(($ac_try" in
3947  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3948  *) ac_try_echo=$ac_try;;
3949esac
3950eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3951  (eval "$ac_link") 2>conftest.er1
3952  ac_status=$?
3953  grep -v '^ *+' conftest.er1 >conftest.err
3954  rm -f conftest.er1
3955  cat conftest.err >&5
3956  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3957  (exit $ac_status); } && {
3958	 test -z "$ac_c_werror_flag" ||
3959	 test ! -s conftest.err
3960       } && test -s conftest$ac_exeext &&
3961       $as_test_x conftest$ac_exeext; then
3962  ac_cv_func_bind_textdomain_codeset=yes
3963else
3964  echo "$as_me: failed program was:" >&5
3965sed 's/^/| /' conftest.$ac_ext >&5
3966
3967	ac_cv_func_bind_textdomain_codeset=no
3968fi
3969
3970rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3971      conftest$ac_exeext conftest.$ac_ext
3972fi
3973{ echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
3974echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
3975if test $ac_cv_func_bind_textdomain_codeset = yes; then
3976  DATADIRNAME=share
3977else
3978  DATADIRNAME=lib
3979fi
3980
3981    ;;
3982    *)
3983    DATADIRNAME=lib
3984    ;;
3985    esac
3986fi
3987
3988rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3989      conftest$ac_exeext conftest.$ac_ext
3990fi
3991
3992
3993
3994
3995
3996ac_config_commands="$ac_config_commands intltool"
3997
3998
3999
4000{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
4001echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
4002    # Check whether --enable-maintainer-mode was given.
4003if test "${enable_maintainer_mode+set}" = set; then
4004  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
4005else
4006  USE_MAINTAINER_MODE=no
4007fi
4008
4009  { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4010echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
4011   if test $USE_MAINTAINER_MODE = yes; then
4012  MAINTAINER_MODE_TRUE=
4013  MAINTAINER_MODE_FALSE='#'
4014else
4015  MAINTAINER_MODE_TRUE='#'
4016  MAINTAINER_MODE_FALSE=
4017fi
4018
4019  MAINT=$MAINTAINER_MODE_TRUE
4020
4021
4022
4023ac_ext=c
4024ac_cpp='$CPP $CPPFLAGS'
4025ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4026ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4027ac_compiler_gnu=$ac_cv_c_compiler_gnu
4028
4029{ echo "$as_me:$LINENO: checking for library containing strerror" >&5
4030echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
4031if test "${ac_cv_search_strerror+set}" = set; then
4032  echo $ECHO_N "(cached) $ECHO_C" >&6
4033else
4034  ac_func_search_save_LIBS=$LIBS
4035cat >conftest.$ac_ext <<_ACEOF
4036/* confdefs.h.  */
4037_ACEOF
4038cat confdefs.h >>conftest.$ac_ext
4039cat >>conftest.$ac_ext <<_ACEOF
4040/* end confdefs.h.  */
4041
4042/* Override any GCC internal prototype to avoid an error.
4043   Use char because int might match the return type of a GCC
4044   builtin and then its argument prototype would still apply.  */
4045#ifdef __cplusplus
4046extern "C"
4047#endif
4048char strerror ();
4049int
4050main ()
4051{
4052return strerror ();
4053  ;
4054  return 0;
4055}
4056_ACEOF
4057for ac_lib in '' cposix; do
4058  if test -z "$ac_lib"; then
4059    ac_res="none required"
4060  else
4061    ac_res=-l$ac_lib
4062    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
4063  fi
4064  rm -f conftest.$ac_objext conftest$ac_exeext
4065if { (ac_try="$ac_link"
4066case "(($ac_try" in
4067  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4068  *) ac_try_echo=$ac_try;;
4069esac
4070eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4071  (eval "$ac_link") 2>conftest.er1
4072  ac_status=$?
4073  grep -v '^ *+' conftest.er1 >conftest.err
4074  rm -f conftest.er1
4075  cat conftest.err >&5
4076  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4077  (exit $ac_status); } && {
4078	 test -z "$ac_c_werror_flag" ||
4079	 test ! -s conftest.err
4080       } && test -s conftest$ac_exeext &&
4081       $as_test_x conftest$ac_exeext; then
4082  ac_cv_search_strerror=$ac_res
4083else
4084  echo "$as_me: failed program was:" >&5
4085sed 's/^/| /' conftest.$ac_ext >&5
4086
4087
4088fi
4089
4090rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4091      conftest$ac_exeext
4092  if test "${ac_cv_search_strerror+set}" = set; then
4093  break
4094fi
4095done
4096if test "${ac_cv_search_strerror+set}" = set; then
4097  :
4098else
4099  ac_cv_search_strerror=no
4100fi
4101rm conftest.$ac_ext
4102LIBS=$ac_func_search_save_LIBS
4103fi
4104{ echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
4105echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
4106ac_res=$ac_cv_search_strerror
4107if test "$ac_res" != no; then
4108  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4109
4110fi
4111
4112
4113# Find a good install program.  We prefer a C program (faster),
4114# so one script is as good as another.  But avoid the broken or
4115# incompatible versions:
4116# SysV /etc/install, /usr/sbin/install
4117# SunOS /usr/etc/install
4118# IRIX /sbin/install
4119# AIX /bin/install
4120# AmigaOS /C/install, which installs bootblocks on floppy discs
4121# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4122# AFS /usr/afsws/bin/install, which mishandles nonexistent args
4123# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4124# OS/2's system install, which has a completely different semantic
4125# ./install, which can be erroneously created by make from ./install.sh.
4126{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4127echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
4128if test -z "$INSTALL"; then
4129if test "${ac_cv_path_install+set}" = set; then
4130  echo $ECHO_N "(cached) $ECHO_C" >&6
4131else
4132  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4133for as_dir in $PATH
4134do
4135  IFS=$as_save_IFS
4136  test -z "$as_dir" && as_dir=.
4137  # Account for people who put trailing slashes in PATH elements.
4138case $as_dir/ in
4139  ./ | .// | /cC/* | \
4140  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4141  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
4142  /usr/ucb/* ) ;;
4143  *)
4144    # OSF1 and SCO ODT 3.0 have their own names for install.
4145    # Don't use installbsd from OSF since it installs stuff as root
4146    # by default.
4147    for ac_prog in ginstall scoinst install; do
4148      for ac_exec_ext in '' $ac_executable_extensions; do
4149	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4150	  if test $ac_prog = install &&
4151	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4152	    # AIX install.  It has an incompatible calling convention.
4153	    :
4154	  elif test $ac_prog = install &&
4155	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4156	    # program-specific install script used by HP pwplus--don't use.
4157	    :
4158	  else
4159	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4160	    break 3
4161	  fi
4162	fi
4163      done
4164    done
4165    ;;
4166esac
4167done
4168IFS=$as_save_IFS
4169
4170
4171fi
4172  if test "${ac_cv_path_install+set}" = set; then
4173    INSTALL=$ac_cv_path_install
4174  else
4175    # As a last resort, use the slow shell script.  Don't cache a
4176    # value for INSTALL within a source directory, because that will
4177    # break other packages using the cache if that directory is
4178    # removed, or if the value is a relative name.
4179    INSTALL=$ac_install_sh
4180  fi
4181fi
4182{ echo "$as_me:$LINENO: result: $INSTALL" >&5
4183echo "${ECHO_T}$INSTALL" >&6; }
4184
4185# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4186# It thinks the first close brace ends the variable substitution.
4187test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4188
4189test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4190
4191test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4192
4193{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
4194echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4195LN_S=$as_ln_s
4196if test "$LN_S" = "ln -s"; then
4197  { echo "$as_me:$LINENO: result: yes" >&5
4198echo "${ECHO_T}yes" >&6; }
4199else
4200  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4201echo "${ECHO_T}no, using $LN_S" >&6; }
4202fi
4203
4204{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4205echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
4206set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4207if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
4208  echo $ECHO_N "(cached) $ECHO_C" >&6
4209else
4210  cat >conftest.make <<\_ACEOF
4211SHELL = /bin/sh
4212all:
4213	@echo '@@@%%%=$(MAKE)=@@@%%%'
4214_ACEOF
4215# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4216case `${MAKE-make} -f conftest.make 2>/dev/null` in
4217  *@@@%%%=?*=@@@%%%*)
4218    eval ac_cv_prog_make_${ac_make}_set=yes;;
4219  *)
4220    eval ac_cv_prog_make_${ac_make}_set=no;;
4221esac
4222rm -f conftest.make
4223fi
4224if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4225  { echo "$as_me:$LINENO: result: yes" >&5
4226echo "${ECHO_T}yes" >&6; }
4227  SET_MAKE=
4228else
4229  { echo "$as_me:$LINENO: result: no" >&5
4230echo "${ECHO_T}no" >&6; }
4231  SET_MAKE="MAKE=${MAKE-make}"
4232fi
4233
4234
4235{ echo "$as_me:$LINENO: checking for working volatile" >&5
4236echo $ECHO_N "checking for working volatile... $ECHO_C" >&6; }
4237if test "${ac_cv_c_volatile+set}" = set; then
4238  echo $ECHO_N "(cached) $ECHO_C" >&6
4239else
4240  cat >conftest.$ac_ext <<_ACEOF
4241/* confdefs.h.  */
4242_ACEOF
4243cat confdefs.h >>conftest.$ac_ext
4244cat >>conftest.$ac_ext <<_ACEOF
4245/* end confdefs.h.  */
4246
4247int
4248main ()
4249{
4250
4251volatile int x;
4252int * volatile y = (int *) 0;
4253return !x && !y;
4254  ;
4255  return 0;
4256}
4257_ACEOF
4258rm -f conftest.$ac_objext
4259if { (ac_try="$ac_compile"
4260case "(($ac_try" in
4261  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4262  *) ac_try_echo=$ac_try;;
4263esac
4264eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4265  (eval "$ac_compile") 2>conftest.er1
4266  ac_status=$?
4267  grep -v '^ *+' conftest.er1 >conftest.err
4268  rm -f conftest.er1
4269  cat conftest.err >&5
4270  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4271  (exit $ac_status); } && {
4272	 test -z "$ac_c_werror_flag" ||
4273	 test ! -s conftest.err
4274       } && test -s conftest.$ac_objext; then
4275  ac_cv_c_volatile=yes
4276else
4277  echo "$as_me: failed program was:" >&5
4278sed 's/^/| /' conftest.$ac_ext >&5
4279
4280	ac_cv_c_volatile=no
4281fi
4282
4283rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4284fi
4285{ echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5
4286echo "${ECHO_T}$ac_cv_c_volatile" >&6; }
4287if test $ac_cv_c_volatile = no; then
4288
4289cat >>confdefs.h <<\_ACEOF
4290#define volatile
4291_ACEOF
4292
4293fi
4294
4295
4296ac_ext=c
4297ac_cpp='$CPP $CPPFLAGS'
4298ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4299ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4300ac_compiler_gnu=$ac_cv_c_compiler_gnu
4301{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4302echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4303# On Suns, sometimes $CPP names a directory.
4304if test -n "$CPP" && test -d "$CPP"; then
4305  CPP=
4306fi
4307if test -z "$CPP"; then
4308  if test "${ac_cv_prog_CPP+set}" = set; then
4309  echo $ECHO_N "(cached) $ECHO_C" >&6
4310else
4311      # Double quotes because CPP needs to be expanded
4312    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4313    do
4314      ac_preproc_ok=false
4315for ac_c_preproc_warn_flag in '' yes
4316do
4317  # Use a header file that comes with gcc, so configuring glibc
4318  # with a fresh cross-compiler works.
4319  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4320  # <limits.h> exists even on freestanding compilers.
4321  # On the NeXT, cc -E runs the code through the compiler's parser,
4322  # not just through cpp. "Syntax error" is here to catch this case.
4323  cat >conftest.$ac_ext <<_ACEOF
4324/* confdefs.h.  */
4325_ACEOF
4326cat confdefs.h >>conftest.$ac_ext
4327cat >>conftest.$ac_ext <<_ACEOF
4328/* end confdefs.h.  */
4329#ifdef __STDC__
4330# include <limits.h>
4331#else
4332# include <assert.h>
4333#endif
4334		     Syntax error
4335_ACEOF
4336if { (ac_try="$ac_cpp conftest.$ac_ext"
4337case "(($ac_try" in
4338  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4339  *) ac_try_echo=$ac_try;;
4340esac
4341eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4342  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4343  ac_status=$?
4344  grep -v '^ *+' conftest.er1 >conftest.err
4345  rm -f conftest.er1
4346  cat conftest.err >&5
4347  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4348  (exit $ac_status); } >/dev/null && {
4349	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4350	 test ! -s conftest.err
4351       }; then
4352  :
4353else
4354  echo "$as_me: failed program was:" >&5
4355sed 's/^/| /' conftest.$ac_ext >&5
4356
4357  # Broken: fails on valid input.
4358continue
4359fi
4360
4361rm -f conftest.err conftest.$ac_ext
4362
4363  # OK, works on sane cases.  Now check whether nonexistent headers
4364  # can be detected and how.
4365  cat >conftest.$ac_ext <<_ACEOF
4366/* confdefs.h.  */
4367_ACEOF
4368cat confdefs.h >>conftest.$ac_ext
4369cat >>conftest.$ac_ext <<_ACEOF
4370/* end confdefs.h.  */
4371#include <ac_nonexistent.h>
4372_ACEOF
4373if { (ac_try="$ac_cpp conftest.$ac_ext"
4374case "(($ac_try" in
4375  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4376  *) ac_try_echo=$ac_try;;
4377esac
4378eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4379  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4380  ac_status=$?
4381  grep -v '^ *+' conftest.er1 >conftest.err
4382  rm -f conftest.er1
4383  cat conftest.err >&5
4384  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4385  (exit $ac_status); } >/dev/null && {
4386	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4387	 test ! -s conftest.err
4388       }; then
4389  # Broken: success on invalid input.
4390continue
4391else
4392  echo "$as_me: failed program was:" >&5
4393sed 's/^/| /' conftest.$ac_ext >&5
4394
4395  # Passes both tests.
4396ac_preproc_ok=:
4397break
4398fi
4399
4400rm -f conftest.err conftest.$ac_ext
4401
4402done
4403# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4404rm -f conftest.err conftest.$ac_ext
4405if $ac_preproc_ok; then
4406  break
4407fi
4408
4409    done
4410    ac_cv_prog_CPP=$CPP
4411
4412fi
4413  CPP=$ac_cv_prog_CPP
4414else
4415  ac_cv_prog_CPP=$CPP
4416fi
4417{ echo "$as_me:$LINENO: result: $CPP" >&5
4418echo "${ECHO_T}$CPP" >&6; }
4419ac_preproc_ok=false
4420for ac_c_preproc_warn_flag in '' yes
4421do
4422  # Use a header file that comes with gcc, so configuring glibc
4423  # with a fresh cross-compiler works.
4424  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4425  # <limits.h> exists even on freestanding compilers.
4426  # On the NeXT, cc -E runs the code through the compiler's parser,
4427  # not just through cpp. "Syntax error" is here to catch this case.
4428  cat >conftest.$ac_ext <<_ACEOF
4429/* confdefs.h.  */
4430_ACEOF
4431cat confdefs.h >>conftest.$ac_ext
4432cat >>conftest.$ac_ext <<_ACEOF
4433/* end confdefs.h.  */
4434#ifdef __STDC__
4435# include <limits.h>
4436#else
4437# include <assert.h>
4438#endif
4439		     Syntax error
4440_ACEOF
4441if { (ac_try="$ac_cpp conftest.$ac_ext"
4442case "(($ac_try" in
4443  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4444  *) ac_try_echo=$ac_try;;
4445esac
4446eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4447  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4448  ac_status=$?
4449  grep -v '^ *+' conftest.er1 >conftest.err
4450  rm -f conftest.er1
4451  cat conftest.err >&5
4452  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4453  (exit $ac_status); } >/dev/null && {
4454	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4455	 test ! -s conftest.err
4456       }; then
4457  :
4458else
4459  echo "$as_me: failed program was:" >&5
4460sed 's/^/| /' conftest.$ac_ext >&5
4461
4462  # Broken: fails on valid input.
4463continue
4464fi
4465
4466rm -f conftest.err conftest.$ac_ext
4467
4468  # OK, works on sane cases.  Now check whether nonexistent headers
4469  # can be detected and how.
4470  cat >conftest.$ac_ext <<_ACEOF
4471/* confdefs.h.  */
4472_ACEOF
4473cat confdefs.h >>conftest.$ac_ext
4474cat >>conftest.$ac_ext <<_ACEOF
4475/* end confdefs.h.  */
4476#include <ac_nonexistent.h>
4477_ACEOF
4478if { (ac_try="$ac_cpp conftest.$ac_ext"
4479case "(($ac_try" in
4480  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4481  *) ac_try_echo=$ac_try;;
4482esac
4483eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4484  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4485  ac_status=$?
4486  grep -v '^ *+' conftest.er1 >conftest.err
4487  rm -f conftest.er1
4488  cat conftest.err >&5
4489  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4490  (exit $ac_status); } >/dev/null && {
4491	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4492	 test ! -s conftest.err
4493       }; then
4494  # Broken: success on invalid input.
4495continue
4496else
4497  echo "$as_me: failed program was:" >&5
4498sed 's/^/| /' conftest.$ac_ext >&5
4499
4500  # Passes both tests.
4501ac_preproc_ok=:
4502break
4503fi
4504
4505rm -f conftest.err conftest.$ac_ext
4506
4507done
4508# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4509rm -f conftest.err conftest.$ac_ext
4510if $ac_preproc_ok; then
4511  :
4512else
4513  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4514See \`config.log' for more details." >&5
4515echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4516See \`config.log' for more details." >&2;}
4517   { (exit 1); exit 1; }; }
4518fi
4519
4520ac_ext=c
4521ac_cpp='$CPP $CPPFLAGS'
4522ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4523ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4524ac_compiler_gnu=$ac_cv_c_compiler_gnu
4525
4526
4527{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4528echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4529if test "${ac_cv_path_GREP+set}" = set; then
4530  echo $ECHO_N "(cached) $ECHO_C" >&6
4531else
4532  # Extract the first word of "grep ggrep" to use in msg output
4533if test -z "$GREP"; then
4534set dummy grep ggrep; ac_prog_name=$2
4535if test "${ac_cv_path_GREP+set}" = set; then
4536  echo $ECHO_N "(cached) $ECHO_C" >&6
4537else
4538  ac_path_GREP_found=false
4539# Loop through the user's path and test for each of PROGNAME-LIST
4540as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4541for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4542do
4543  IFS=$as_save_IFS
4544  test -z "$as_dir" && as_dir=.
4545  for ac_prog in grep ggrep; do
4546  for ac_exec_ext in '' $ac_executable_extensions; do
4547    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4548    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4549    # Check for GNU ac_path_GREP and select it if it is found.
4550  # Check for GNU $ac_path_GREP
4551case `"$ac_path_GREP" --version 2>&1` in
4552*GNU*)
4553  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4554*)
4555  ac_count=0
4556  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4557  while :
4558  do
4559    cat "conftest.in" "conftest.in" >"conftest.tmp"
4560    mv "conftest.tmp" "conftest.in"
4561    cp "conftest.in" "conftest.nl"
4562    echo 'GREP' >> "conftest.nl"
4563    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4564    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4565    ac_count=`expr $ac_count + 1`
4566    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4567      # Best one so far, save it but keep looking for a better one
4568      ac_cv_path_GREP="$ac_path_GREP"
4569      ac_path_GREP_max=$ac_count
4570    fi
4571    # 10*(2^10) chars as input seems more than enough
4572    test $ac_count -gt 10 && break
4573  done
4574  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4575esac
4576
4577
4578    $ac_path_GREP_found && break 3
4579  done
4580done
4581
4582done
4583IFS=$as_save_IFS
4584
4585
4586fi
4587
4588GREP="$ac_cv_path_GREP"
4589if test -z "$GREP"; then
4590  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4591echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4592   { (exit 1); exit 1; }; }
4593fi
4594
4595else
4596  ac_cv_path_GREP=$GREP
4597fi
4598
4599
4600fi
4601{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4602echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4603 GREP="$ac_cv_path_GREP"
4604
4605
4606{ echo "$as_me:$LINENO: checking for egrep" >&5
4607echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4608if test "${ac_cv_path_EGREP+set}" = set; then
4609  echo $ECHO_N "(cached) $ECHO_C" >&6
4610else
4611  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4612   then ac_cv_path_EGREP="$GREP -E"
4613   else
4614     # Extract the first word of "egrep" to use in msg output
4615if test -z "$EGREP"; then
4616set dummy egrep; ac_prog_name=$2
4617if test "${ac_cv_path_EGREP+set}" = set; then
4618  echo $ECHO_N "(cached) $ECHO_C" >&6
4619else
4620  ac_path_EGREP_found=false
4621# Loop through the user's path and test for each of PROGNAME-LIST
4622as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4623for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4624do
4625  IFS=$as_save_IFS
4626  test -z "$as_dir" && as_dir=.
4627  for ac_prog in egrep; do
4628  for ac_exec_ext in '' $ac_executable_extensions; do
4629    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4630    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4631    # Check for GNU ac_path_EGREP and select it if it is found.
4632  # Check for GNU $ac_path_EGREP
4633case `"$ac_path_EGREP" --version 2>&1` in
4634*GNU*)
4635  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4636*)
4637  ac_count=0
4638  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4639  while :
4640  do
4641    cat "conftest.in" "conftest.in" >"conftest.tmp"
4642    mv "conftest.tmp" "conftest.in"
4643    cp "conftest.in" "conftest.nl"
4644    echo 'EGREP' >> "conftest.nl"
4645    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4646    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4647    ac_count=`expr $ac_count + 1`
4648    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4649      # Best one so far, save it but keep looking for a better one
4650      ac_cv_path_EGREP="$ac_path_EGREP"
4651      ac_path_EGREP_max=$ac_count
4652    fi
4653    # 10*(2^10) chars as input seems more than enough
4654    test $ac_count -gt 10 && break
4655  done
4656  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4657esac
4658
4659
4660    $ac_path_EGREP_found && break 3
4661  done
4662done
4663
4664done
4665IFS=$as_save_IFS
4666
4667
4668fi
4669
4670EGREP="$ac_cv_path_EGREP"
4671if test -z "$EGREP"; then
4672  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4673echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4674   { (exit 1); exit 1; }; }
4675fi
4676
4677else
4678  ac_cv_path_EGREP=$EGREP
4679fi
4680
4681
4682   fi
4683fi
4684{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4685echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4686 EGREP="$ac_cv_path_EGREP"
4687
4688
4689{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4690echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4691if test "${ac_cv_header_stdc+set}" = set; then
4692  echo $ECHO_N "(cached) $ECHO_C" >&6
4693else
4694  cat >conftest.$ac_ext <<_ACEOF
4695/* confdefs.h.  */
4696_ACEOF
4697cat confdefs.h >>conftest.$ac_ext
4698cat >>conftest.$ac_ext <<_ACEOF
4699/* end confdefs.h.  */
4700#include <stdlib.h>
4701#include <stdarg.h>
4702#include <string.h>
4703#include <float.h>
4704
4705int
4706main ()
4707{
4708
4709  ;
4710  return 0;
4711}
4712_ACEOF
4713rm -f conftest.$ac_objext
4714if { (ac_try="$ac_compile"
4715case "(($ac_try" in
4716  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4717  *) ac_try_echo=$ac_try;;
4718esac
4719eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4720  (eval "$ac_compile") 2>conftest.er1
4721  ac_status=$?
4722  grep -v '^ *+' conftest.er1 >conftest.err
4723  rm -f conftest.er1
4724  cat conftest.err >&5
4725  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4726  (exit $ac_status); } && {
4727	 test -z "$ac_c_werror_flag" ||
4728	 test ! -s conftest.err
4729       } && test -s conftest.$ac_objext; then
4730  ac_cv_header_stdc=yes
4731else
4732  echo "$as_me: failed program was:" >&5
4733sed 's/^/| /' conftest.$ac_ext >&5
4734
4735	ac_cv_header_stdc=no
4736fi
4737
4738rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4739
4740if test $ac_cv_header_stdc = yes; then
4741  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4742  cat >conftest.$ac_ext <<_ACEOF
4743/* confdefs.h.  */
4744_ACEOF
4745cat confdefs.h >>conftest.$ac_ext
4746cat >>conftest.$ac_ext <<_ACEOF
4747/* end confdefs.h.  */
4748#include <string.h>
4749
4750_ACEOF
4751if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4752  $EGREP "memchr" >/dev/null 2>&1; then
4753  :
4754else
4755  ac_cv_header_stdc=no
4756fi
4757rm -f conftest*
4758
4759fi
4760
4761if test $ac_cv_header_stdc = yes; then
4762  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4763  cat >conftest.$ac_ext <<_ACEOF
4764/* confdefs.h.  */
4765_ACEOF
4766cat confdefs.h >>conftest.$ac_ext
4767cat >>conftest.$ac_ext <<_ACEOF
4768/* end confdefs.h.  */
4769#include <stdlib.h>
4770
4771_ACEOF
4772if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4773  $EGREP "free" >/dev/null 2>&1; then
4774  :
4775else
4776  ac_cv_header_stdc=no
4777fi
4778rm -f conftest*
4779
4780fi
4781
4782if test $ac_cv_header_stdc = yes; then
4783  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4784  if test "$cross_compiling" = yes; then
4785  :
4786else
4787  cat >conftest.$ac_ext <<_ACEOF
4788/* confdefs.h.  */
4789_ACEOF
4790cat confdefs.h >>conftest.$ac_ext
4791cat >>conftest.$ac_ext <<_ACEOF
4792/* end confdefs.h.  */
4793#include <ctype.h>
4794#include <stdlib.h>
4795#if ((' ' & 0x0FF) == 0x020)
4796# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4797# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4798#else
4799# define ISLOWER(c) \
4800		   (('a' <= (c) && (c) <= 'i') \
4801		     || ('j' <= (c) && (c) <= 'r') \
4802		     || ('s' <= (c) && (c) <= 'z'))
4803# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4804#endif
4805
4806#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4807int
4808main ()
4809{
4810  int i;
4811  for (i = 0; i < 256; i++)
4812    if (XOR (islower (i), ISLOWER (i))
4813	|| toupper (i) != TOUPPER (i))
4814      return 2;
4815  return 0;
4816}
4817_ACEOF
4818rm -f conftest$ac_exeext
4819if { (ac_try="$ac_link"
4820case "(($ac_try" in
4821  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4822  *) ac_try_echo=$ac_try;;
4823esac
4824eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4825  (eval "$ac_link") 2>&5
4826  ac_status=$?
4827  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4828  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4829  { (case "(($ac_try" in
4830  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4831  *) ac_try_echo=$ac_try;;
4832esac
4833eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4834  (eval "$ac_try") 2>&5
4835  ac_status=$?
4836  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4837  (exit $ac_status); }; }; then
4838  :
4839else
4840  echo "$as_me: program exited with status $ac_status" >&5
4841echo "$as_me: failed program was:" >&5
4842sed 's/^/| /' conftest.$ac_ext >&5
4843
4844( exit $ac_status )
4845ac_cv_header_stdc=no
4846fi
4847rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4848fi
4849
4850
4851fi
4852fi
4853{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4854echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4855if test $ac_cv_header_stdc = yes; then
4856
4857cat >>confdefs.h <<\_ACEOF
4858#define STDC_HEADERS 1
4859_ACEOF
4860
4861fi
4862
4863# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4874		  inttypes.h stdint.h unistd.h
4875do
4876as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4877{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4878echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4879if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4880  echo $ECHO_N "(cached) $ECHO_C" >&6
4881else
4882  cat >conftest.$ac_ext <<_ACEOF
4883/* confdefs.h.  */
4884_ACEOF
4885cat confdefs.h >>conftest.$ac_ext
4886cat >>conftest.$ac_ext <<_ACEOF
4887/* end confdefs.h.  */
4888$ac_includes_default
4889
4890#include <$ac_header>
4891_ACEOF
4892rm -f conftest.$ac_objext
4893if { (ac_try="$ac_compile"
4894case "(($ac_try" in
4895  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4896  *) ac_try_echo=$ac_try;;
4897esac
4898eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4899  (eval "$ac_compile") 2>conftest.er1
4900  ac_status=$?
4901  grep -v '^ *+' conftest.er1 >conftest.err
4902  rm -f conftest.er1
4903  cat conftest.err >&5
4904  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4905  (exit $ac_status); } && {
4906	 test -z "$ac_c_werror_flag" ||
4907	 test ! -s conftest.err
4908       } && test -s conftest.$ac_objext; then
4909  eval "$as_ac_Header=yes"
4910else
4911  echo "$as_me: failed program was:" >&5
4912sed 's/^/| /' conftest.$ac_ext >&5
4913
4914	eval "$as_ac_Header=no"
4915fi
4916
4917rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4918fi
4919ac_res=`eval echo '${'$as_ac_Header'}'`
4920	       { echo "$as_me:$LINENO: result: $ac_res" >&5
4921echo "${ECHO_T}$ac_res" >&6; }
4922if test `eval echo '${'$as_ac_Header'}'` = yes; then
4923  cat >>confdefs.h <<_ACEOF
4924#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4925_ACEOF
4926
4927fi
4928
4929done
4930
4931
4932{ echo "$as_me:$LINENO: checking for mode_t" >&5
4933echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
4934if test "${ac_cv_type_mode_t+set}" = set; then
4935  echo $ECHO_N "(cached) $ECHO_C" >&6
4936else
4937  cat >conftest.$ac_ext <<_ACEOF
4938/* confdefs.h.  */
4939_ACEOF
4940cat confdefs.h >>conftest.$ac_ext
4941cat >>conftest.$ac_ext <<_ACEOF
4942/* end confdefs.h.  */
4943$ac_includes_default
4944typedef mode_t ac__type_new_;
4945int
4946main ()
4947{
4948if ((ac__type_new_ *) 0)
4949  return 0;
4950if (sizeof (ac__type_new_))
4951  return 0;
4952  ;
4953  return 0;
4954}
4955_ACEOF
4956rm -f conftest.$ac_objext
4957if { (ac_try="$ac_compile"
4958case "(($ac_try" in
4959  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4960  *) ac_try_echo=$ac_try;;
4961esac
4962eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4963  (eval "$ac_compile") 2>conftest.er1
4964  ac_status=$?
4965  grep -v '^ *+' conftest.er1 >conftest.err
4966  rm -f conftest.er1
4967  cat conftest.err >&5
4968  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4969  (exit $ac_status); } && {
4970	 test -z "$ac_c_werror_flag" ||
4971	 test ! -s conftest.err
4972       } && test -s conftest.$ac_objext; then
4973  ac_cv_type_mode_t=yes
4974else
4975  echo "$as_me: failed program was:" >&5
4976sed 's/^/| /' conftest.$ac_ext >&5
4977
4978	ac_cv_type_mode_t=no
4979fi
4980
4981rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4982fi
4983{ echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
4984echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
4985if test $ac_cv_type_mode_t = yes; then
4986  :
4987else
4988
4989cat >>confdefs.h <<_ACEOF
4990#define mode_t int
4991_ACEOF
4992
4993fi
4994
4995{ echo "$as_me:$LINENO: checking for pid_t" >&5
4996echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
4997if test "${ac_cv_type_pid_t+set}" = set; then
4998  echo $ECHO_N "(cached) $ECHO_C" >&6
4999else
5000  cat >conftest.$ac_ext <<_ACEOF
5001/* confdefs.h.  */
5002_ACEOF
5003cat confdefs.h >>conftest.$ac_ext
5004cat >>conftest.$ac_ext <<_ACEOF
5005/* end confdefs.h.  */
5006$ac_includes_default
5007typedef pid_t ac__type_new_;
5008int
5009main ()
5010{
5011if ((ac__type_new_ *) 0)
5012  return 0;
5013if (sizeof (ac__type_new_))
5014  return 0;
5015  ;
5016  return 0;
5017}
5018_ACEOF
5019rm -f conftest.$ac_objext
5020if { (ac_try="$ac_compile"
5021case "(($ac_try" in
5022  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5023  *) ac_try_echo=$ac_try;;
5024esac
5025eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5026  (eval "$ac_compile") 2>conftest.er1
5027  ac_status=$?
5028  grep -v '^ *+' conftest.er1 >conftest.err
5029  rm -f conftest.er1
5030  cat conftest.err >&5
5031  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5032  (exit $ac_status); } && {
5033	 test -z "$ac_c_werror_flag" ||
5034	 test ! -s conftest.err
5035       } && test -s conftest.$ac_objext; then
5036  ac_cv_type_pid_t=yes
5037else
5038  echo "$as_me: failed program was:" >&5
5039sed 's/^/| /' conftest.$ac_ext >&5
5040
5041	ac_cv_type_pid_t=no
5042fi
5043
5044rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5045fi
5046{ echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
5047echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
5048if test $ac_cv_type_pid_t = yes; then
5049  :
5050else
5051
5052cat >>confdefs.h <<_ACEOF
5053#define pid_t int
5054_ACEOF
5055
5056fi
5057
5058
5059
5060
5061
5062
5063
5064for ac_header in ctype.h fcntl.h math.h stdio.h errno.h
5065do
5066as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5067if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5068  { echo "$as_me:$LINENO: checking for $ac_header" >&5
5069echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5070if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5071  echo $ECHO_N "(cached) $ECHO_C" >&6
5072fi
5073ac_res=`eval echo '${'$as_ac_Header'}'`
5074	       { echo "$as_me:$LINENO: result: $ac_res" >&5
5075echo "${ECHO_T}$ac_res" >&6; }
5076else
5077  # Is the header compilable?
5078{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
5079echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5080cat >conftest.$ac_ext <<_ACEOF
5081/* confdefs.h.  */
5082_ACEOF
5083cat confdefs.h >>conftest.$ac_ext
5084cat >>conftest.$ac_ext <<_ACEOF
5085/* end confdefs.h.  */
5086$ac_includes_default
5087#include <$ac_header>
5088_ACEOF
5089rm -f conftest.$ac_objext
5090if { (ac_try="$ac_compile"
5091case "(($ac_try" in
5092  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5093  *) ac_try_echo=$ac_try;;
5094esac
5095eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5096  (eval "$ac_compile") 2>conftest.er1
5097  ac_status=$?
5098  grep -v '^ *+' conftest.er1 >conftest.err
5099  rm -f conftest.er1
5100  cat conftest.err >&5
5101  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5102  (exit $ac_status); } && {
5103	 test -z "$ac_c_werror_flag" ||
5104	 test ! -s conftest.err
5105       } && test -s conftest.$ac_objext; then
5106  ac_header_compiler=yes
5107else
5108  echo "$as_me: failed program was:" >&5
5109sed 's/^/| /' conftest.$ac_ext >&5
5110
5111	ac_header_compiler=no
5112fi
5113
5114rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5115{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5116echo "${ECHO_T}$ac_header_compiler" >&6; }
5117
5118# Is the header present?
5119{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
5120echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5121cat >conftest.$ac_ext <<_ACEOF
5122/* confdefs.h.  */
5123_ACEOF
5124cat confdefs.h >>conftest.$ac_ext
5125cat >>conftest.$ac_ext <<_ACEOF
5126/* end confdefs.h.  */
5127#include <$ac_header>
5128_ACEOF
5129if { (ac_try="$ac_cpp conftest.$ac_ext"
5130case "(($ac_try" in
5131  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5132  *) ac_try_echo=$ac_try;;
5133esac
5134eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5135  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5136  ac_status=$?
5137  grep -v '^ *+' conftest.er1 >conftest.err
5138  rm -f conftest.er1
5139  cat conftest.err >&5
5140  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5141  (exit $ac_status); } >/dev/null && {
5142	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5143	 test ! -s conftest.err
5144       }; then
5145  ac_header_preproc=yes
5146else
5147  echo "$as_me: failed program was:" >&5
5148sed 's/^/| /' conftest.$ac_ext >&5
5149
5150  ac_header_preproc=no
5151fi
5152
5153rm -f conftest.err conftest.$ac_ext
5154{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5155echo "${ECHO_T}$ac_header_preproc" >&6; }
5156
5157# So?  What about this header?
5158case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5159  yes:no: )
5160    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5161echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5162    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5163echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5164    ac_header_preproc=yes
5165    ;;
5166  no:yes:* )
5167    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5168echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5169    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5170echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5171    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5172echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5173    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5174echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5175    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5176echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5177    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5178echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5179    ( cat <<\_ASBOX
5180## --------------------------------- ##
5181## Report this to macslow@bangang.de ##
5182## --------------------------------- ##
5183_ASBOX
5184     ) | sed "s/^/$as_me: WARNING:     /" >&2
5185    ;;
5186esac
5187{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5188echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5189if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5190  echo $ECHO_N "(cached) $ECHO_C" >&6
5191else
5192  eval "$as_ac_Header=\$ac_header_preproc"
5193fi
5194ac_res=`eval echo '${'$as_ac_Header'}'`
5195	       { echo "$as_me:$LINENO: result: $ac_res" >&5
5196echo "${ECHO_T}$ac_res" >&6; }
5197
5198fi
5199if test `eval echo '${'$as_ac_Header'}'` = yes; then
5200  cat >>confdefs.h <<_ACEOF
5201#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5202_ACEOF
5203
5204fi
5205
5206done
5207
5208
5209
5210for ac_func in dup2
5211do
5212as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5213{ echo "$as_me:$LINENO: checking for $ac_func" >&5
5214echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5215if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5216  echo $ECHO_N "(cached) $ECHO_C" >&6
5217else
5218  cat >conftest.$ac_ext <<_ACEOF
5219/* confdefs.h.  */
5220_ACEOF
5221cat confdefs.h >>conftest.$ac_ext
5222cat >>conftest.$ac_ext <<_ACEOF
5223/* end confdefs.h.  */
5224/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5225   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
5226#define $ac_func innocuous_$ac_func
5227
5228/* System header to define __stub macros and hopefully few prototypes,
5229    which can conflict with char $ac_func (); below.
5230    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5231    <limits.h> exists even on freestanding compilers.  */
5232
5233#ifdef __STDC__
5234# include <limits.h>
5235#else
5236# include <assert.h>
5237#endif
5238
5239#undef $ac_func
5240
5241/* Override any GCC internal prototype to avoid an error.
5242   Use char because int might match the return type of a GCC
5243   builtin and then its argument prototype would still apply.  */
5244#ifdef __cplusplus
5245extern "C"
5246#endif
5247char $ac_func ();
5248/* The GNU C library defines this for functions which it implements
5249    to always fail with ENOSYS.  Some functions are actually named
5250    something starting with __ and the normal name is an alias.  */
5251#if defined __stub_$ac_func || defined __stub___$ac_func
5252choke me
5253#endif
5254
5255int
5256main ()
5257{
5258return $ac_func ();
5259  ;
5260  return 0;
5261}
5262_ACEOF
5263rm -f conftest.$ac_objext conftest$ac_exeext
5264if { (ac_try="$ac_link"
5265case "(($ac_try" in
5266  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5267  *) ac_try_echo=$ac_try;;
5268esac
5269eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5270  (eval "$ac_link") 2>conftest.er1
5271  ac_status=$?
5272  grep -v '^ *+' conftest.er1 >conftest.err
5273  rm -f conftest.er1
5274  cat conftest.err >&5
5275  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5276  (exit $ac_status); } && {
5277	 test -z "$ac_c_werror_flag" ||
5278	 test ! -s conftest.err
5279       } && test -s conftest$ac_exeext &&
5280       $as_test_x conftest$ac_exeext; then
5281  eval "$as_ac_var=yes"
5282else
5283  echo "$as_me: failed program was:" >&5
5284sed 's/^/| /' conftest.$ac_ext >&5
5285
5286	eval "$as_ac_var=no"
5287fi
5288
5289rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5290      conftest$ac_exeext conftest.$ac_ext
5291fi
5292ac_res=`eval echo '${'$as_ac_var'}'`
5293	       { echo "$as_me:$LINENO: result: $ac_res" >&5
5294echo "${ECHO_T}$ac_res" >&6; }
5295if test `eval echo '${'$as_ac_var'}'` = yes; then
5296  cat >>confdefs.h <<_ACEOF
5297#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5298_ACEOF
5299
5300fi
5301done
5302
5303
5304for ac_func in floor
5305do
5306as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5307{ echo "$as_me:$LINENO: checking for $ac_func" >&5
5308echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5309if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5310  echo $ECHO_N "(cached) $ECHO_C" >&6
5311else
5312  cat >conftest.$ac_ext <<_ACEOF
5313/* confdefs.h.  */
5314_ACEOF
5315cat confdefs.h >>conftest.$ac_ext
5316cat >>conftest.$ac_ext <<_ACEOF
5317/* end confdefs.h.  */
5318/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5319   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
5320#define $ac_func innocuous_$ac_func
5321
5322/* System header to define __stub macros and hopefully few prototypes,
5323    which can conflict with char $ac_func (); below.
5324    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5325    <limits.h> exists even on freestanding compilers.  */
5326
5327#ifdef __STDC__
5328# include <limits.h>
5329#else
5330# include <assert.h>
5331#endif
5332
5333#undef $ac_func
5334
5335/* Override any GCC internal prototype to avoid an error.
5336   Use char because int might match the return type of a GCC
5337   builtin and then its argument prototype would still apply.  */
5338#ifdef __cplusplus
5339extern "C"
5340#endif
5341char $ac_func ();
5342/* The GNU C library defines this for functions which it implements
5343    to always fail with ENOSYS.  Some functions are actually named
5344    something starting with __ and the normal name is an alias.  */
5345#if defined __stub_$ac_func || defined __stub___$ac_func
5346choke me
5347#endif
5348
5349int
5350main ()
5351{
5352return $ac_func ();
5353  ;
5354  return 0;
5355}
5356_ACEOF
5357rm -f conftest.$ac_objext conftest$ac_exeext
5358if { (ac_try="$ac_link"
5359case "(($ac_try" in
5360  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5361  *) ac_try_echo=$ac_try;;
5362esac
5363eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5364  (eval "$ac_link") 2>conftest.er1
5365  ac_status=$?
5366  grep -v '^ *+' conftest.er1 >conftest.err
5367  rm -f conftest.er1
5368  cat conftest.err >&5
5369  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5370  (exit $ac_status); } && {
5371	 test -z "$ac_c_werror_flag" ||
5372	 test ! -s conftest.err
5373       } && test -s conftest$ac_exeext &&
5374       $as_test_x conftest$ac_exeext; then
5375  eval "$as_ac_var=yes"
5376else
5377  echo "$as_me: failed program was:" >&5
5378sed 's/^/| /' conftest.$ac_ext >&5
5379
5380	eval "$as_ac_var=no"
5381fi
5382
5383rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5384      conftest$ac_exeext conftest.$ac_ext
5385fi
5386ac_res=`eval echo '${'$as_ac_var'}'`
5387	       { echo "$as_me:$LINENO: result: $ac_res" >&5
5388echo "${ECHO_T}$ac_res" >&6; }
5389if test `eval echo '${'$as_ac_var'}'` = yes; then
5390  cat >>confdefs.h <<_ACEOF
5391#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5392_ACEOF
5393
5394fi
5395done
5396
5397
5398for ac_func in mkdir
5399do
5400as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5401{ echo "$as_me:$LINENO: checking for $ac_func" >&5
5402echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5403if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5404  echo $ECHO_N "(cached) $ECHO_C" >&6
5405else
5406  cat >conftest.$ac_ext <<_ACEOF
5407/* confdefs.h.  */
5408_ACEOF
5409cat confdefs.h >>conftest.$ac_ext
5410cat >>conftest.$ac_ext <<_ACEOF
5411/* end confdefs.h.  */
5412/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5413   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
5414#define $ac_func innocuous_$ac_func
5415
5416/* System header to define __stub macros and hopefully few prototypes,
5417    which can conflict with char $ac_func (); below.
5418    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5419    <limits.h> exists even on freestanding compilers.  */
5420
5421#ifdef __STDC__
5422# include <limits.h>
5423#else
5424# include <assert.h>
5425#endif
5426
5427#undef $ac_func
5428
5429/* Override any GCC internal prototype to avoid an error.
5430   Use char because int might match the return type of a GCC
5431   builtin and then its argument prototype would still apply.  */
5432#ifdef __cplusplus
5433extern "C"
5434#endif
5435char $ac_func ();
5436/* The GNU C library defines this for functions which it implements
5437    to always fail with ENOSYS.  Some functions are actually named
5438    something starting with __ and the normal name is an alias.  */
5439#if defined __stub_$ac_func || defined __stub___$ac_func
5440choke me
5441#endif
5442
5443int
5444main ()
5445{
5446return $ac_func ();
5447  ;
5448  return 0;
5449}
5450_ACEOF
5451rm -f conftest.$ac_objext conftest$ac_exeext
5452if { (ac_try="$ac_link"
5453case "(($ac_try" in
5454  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5455  *) ac_try_echo=$ac_try;;
5456esac
5457eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5458  (eval "$ac_link") 2>conftest.er1
5459  ac_status=$?
5460  grep -v '^ *+' conftest.er1 >conftest.err
5461  rm -f conftest.er1
5462  cat conftest.err >&5
5463  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5464  (exit $ac_status); } && {
5465	 test -z "$ac_c_werror_flag" ||
5466	 test ! -s conftest.err
5467       } && test -s conftest$ac_exeext &&
5468       $as_test_x conftest$ac_exeext; then
5469  eval "$as_ac_var=yes"
5470else
5471  echo "$as_me: failed program was:" >&5
5472sed 's/^/| /' conftest.$ac_ext >&5
5473
5474	eval "$as_ac_var=no"
5475fi
5476
5477rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5478      conftest$ac_exeext conftest.$ac_ext
5479fi
5480ac_res=`eval echo '${'$as_ac_var'}'`
5481	       { echo "$as_me:$LINENO: result: $ac_res" >&5
5482echo "${ECHO_T}$ac_res" >&6; }
5483if test `eval echo '${'$as_ac_var'}'` = yes; then
5484  cat >>confdefs.h <<_ACEOF
5485#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5486_ACEOF
5487
5488fi
5489done
5490
5491
5492for ac_func in rmdir
5493do
5494as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5495{ echo "$as_me:$LINENO: checking for $ac_func" >&5
5496echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5497if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5498  echo $ECHO_N "(cached) $ECHO_C" >&6
5499else
5500  cat >conftest.$ac_ext <<_ACEOF
5501/* confdefs.h.  */
5502_ACEOF
5503cat confdefs.h >>conftest.$ac_ext
5504cat >>conftest.$ac_ext <<_ACEOF
5505/* end confdefs.h.  */
5506/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5507   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
5508#define $ac_func innocuous_$ac_func
5509
5510/* System header to define __stub macros and hopefully few prototypes,
5511    which can conflict with char $ac_func (); below.
5512    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5513    <limits.h> exists even on freestanding compilers.  */
5514
5515#ifdef __STDC__
5516# include <limits.h>
5517#else
5518# include <assert.h>
5519#endif
5520
5521#undef $ac_func
5522
5523/* Override any GCC internal prototype to avoid an error.
5524   Use char because int might match the return type of a GCC
5525   builtin and then its argument prototype would still apply.  */
5526#ifdef __cplusplus
5527extern "C"
5528#endif
5529char $ac_func ();
5530/* The GNU C library defines this for functions which it implements
5531    to always fail with ENOSYS.  Some functions are actually named
5532    something starting with __ and the normal name is an alias.  */
5533#if defined __stub_$ac_func || defined __stub___$ac_func
5534choke me
5535#endif
5536
5537int
5538main ()
5539{
5540return $ac_func ();
5541  ;
5542  return 0;
5543}
5544_ACEOF
5545rm -f conftest.$ac_objext conftest$ac_exeext
5546if { (ac_try="$ac_link"
5547case "(($ac_try" in
5548  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5549  *) ac_try_echo=$ac_try;;
5550esac
5551eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5552  (eval "$ac_link") 2>conftest.er1
5553  ac_status=$?
5554  grep -v '^ *+' conftest.er1 >conftest.err
5555  rm -f conftest.er1
5556  cat conftest.err >&5
5557  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5558  (exit $ac_status); } && {
5559	 test -z "$ac_c_werror_flag" ||
5560	 test ! -s conftest.err
5561       } && test -s conftest$ac_exeext &&
5562       $as_test_x conftest$ac_exeext; then
5563  eval "$as_ac_var=yes"
5564else
5565  echo "$as_me: failed program was:" >&5
5566sed 's/^/| /' conftest.$ac_ext >&5
5567
5568	eval "$as_ac_var=no"
5569fi
5570
5571rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5572      conftest$ac_exeext conftest.$ac_ext
5573fi
5574ac_res=`eval echo '${'$as_ac_var'}'`
5575	       { echo "$as_me:$LINENO: result: $ac_res" >&5
5576echo "${ECHO_T}$ac_res" >&6; }
5577if test `eval echo '${'$as_ac_var'}'` = yes; then
5578  cat >>confdefs.h <<_ACEOF
5579#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5580_ACEOF
5581
5582fi
5583done
5584
5585
5586for ac_func in strchr
5587do
5588as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5589{ echo "$as_me:$LINENO: checking for $ac_func" >&5
5590echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5591if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5592  echo $ECHO_N "(cached) $ECHO_C" >&6
5593else
5594  cat >conftest.$ac_ext <<_ACEOF
5595/* confdefs.h.  */
5596_ACEOF
5597cat confdefs.h >>conftest.$ac_ext
5598cat >>conftest.$ac_ext <<_ACEOF
5599/* end confdefs.h.  */
5600/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5601   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
5602#define $ac_func innocuous_$ac_func
5603
5604/* System header to define __stub macros and hopefully few prototypes,
5605    which can conflict with char $ac_func (); below.
5606    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5607    <limits.h> exists even on freestanding compilers.  */
5608
5609#ifdef __STDC__
5610# include <limits.h>
5611#else
5612# include <assert.h>
5613#endif
5614
5615#undef $ac_func
5616
5617/* Override any GCC internal prototype to avoid an error.
5618   Use char because int might match the return type of a GCC
5619   builtin and then its argument prototype would still apply.  */
5620#ifdef __cplusplus
5621extern "C"
5622#endif
5623char $ac_func ();
5624/* The GNU C library defines this for functions which it implements
5625    to always fail with ENOSYS.  Some functions are actually named
5626    something starting with __ and the normal name is an alias.  */
5627#if defined __stub_$ac_func || defined __stub___$ac_func
5628choke me
5629#endif
5630
5631int
5632main ()
5633{
5634return $ac_func ();
5635  ;
5636  return 0;
5637}
5638_ACEOF
5639rm -f conftest.$ac_objext conftest$ac_exeext
5640if { (ac_try="$ac_link"
5641case "(($ac_try" in
5642  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5643  *) ac_try_echo=$ac_try;;
5644esac
5645eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5646  (eval "$ac_link") 2>conftest.er1
5647  ac_status=$?
5648  grep -v '^ *+' conftest.er1 >conftest.err
5649  rm -f conftest.er1
5650  cat conftest.err >&5
5651  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5652  (exit $ac_status); } && {
5653	 test -z "$ac_c_werror_flag" ||
5654	 test ! -s conftest.err
5655       } && test -s conftest$ac_exeext &&
5656       $as_test_x conftest$ac_exeext; then
5657  eval "$as_ac_var=yes"
5658else
5659  echo "$as_me: failed program was:" >&5
5660sed 's/^/| /' conftest.$ac_ext >&5
5661
5662	eval "$as_ac_var=no"
5663fi
5664
5665rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5666      conftest$ac_exeext conftest.$ac_ext
5667fi
5668ac_res=`eval echo '${'$as_ac_var'}'`
5669	       { echo "$as_me:$LINENO: result: $ac_res" >&5
5670echo "${ECHO_T}$ac_res" >&6; }
5671if test `eval echo '${'$as_ac_var'}'` = yes; then
5672  cat >>confdefs.h <<_ACEOF
5673#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5674_ACEOF
5675
5676fi
5677done
5678
5679
5680for ac_func in strcspn
5681do
5682as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5683{ echo "$as_me:$LINENO: checking for $ac_func" >&5
5684echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5685if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5686  echo $ECHO_N "(cached) $ECHO_C" >&6
5687else
5688  cat >conftest.$ac_ext <<_ACEOF
5689/* confdefs.h.  */
5690_ACEOF
5691cat confdefs.h >>conftest.$ac_ext
5692cat >>conftest.$ac_ext <<_ACEOF
5693/* end confdefs.h.  */
5694/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5695   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
5696#define $ac_func innocuous_$ac_func
5697
5698/* System header to define __stub macros and hopefully few prototypes,
5699    which can conflict with char $ac_func (); below.
5700    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5701    <limits.h> exists even on freestanding compilers.  */
5702
5703#ifdef __STDC__
5704# include <limits.h>
5705#else
5706# include <assert.h>
5707#endif
5708
5709#undef $ac_func
5710
5711/* Override any GCC internal prototype to avoid an error.
5712   Use char because int might match the return type of a GCC
5713   builtin and then its argument prototype would still apply.  */
5714#ifdef __cplusplus
5715extern "C"
5716#endif
5717char $ac_func ();
5718/* The GNU C library defines this for functions which it implements
5719    to always fail with ENOSYS.  Some functions are actually named
5720    something starting with __ and the normal name is an alias.  */
5721#if defined __stub_$ac_func || defined __stub___$ac_func
5722choke me
5723#endif
5724
5725int
5726main ()
5727{
5728return $ac_func ();
5729  ;
5730  return 0;
5731}
5732_ACEOF
5733rm -f conftest.$ac_objext conftest$ac_exeext
5734if { (ac_try="$ac_link"
5735case "(($ac_try" in
5736  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5737  *) ac_try_echo=$ac_try;;
5738esac
5739eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5740  (eval "$ac_link") 2>conftest.er1
5741  ac_status=$?
5742  grep -v '^ *+' conftest.er1 >conftest.err
5743  rm -f conftest.er1
5744  cat conftest.err >&5
5745  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5746  (exit $ac_status); } && {
5747	 test -z "$ac_c_werror_flag" ||
5748	 test ! -s conftest.err
5749       } && test -s conftest$ac_exeext &&
5750       $as_test_x conftest$ac_exeext; then
5751  eval "$as_ac_var=yes"
5752else
5753  echo "$as_me: failed program was:" >&5
5754sed 's/^/| /' conftest.$ac_ext >&5
5755
5756	eval "$as_ac_var=no"
5757fi
5758
5759rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5760      conftest$ac_exeext conftest.$ac_ext
5761fi
5762ac_res=`eval echo '${'$as_ac_var'}'`
5763	       { echo "$as_me:$LINENO: result: $ac_res" >&5
5764echo "${ECHO_T}$ac_res" >&6; }
5765if test `eval echo '${'$as_ac_var'}'` = yes; then
5766  cat >>confdefs.h <<_ACEOF
5767#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5768_ACEOF
5769
5770fi
5771done
5772
5773
5774for ac_func in strncasecmp
5775do
5776as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5777{ echo "$as_me:$LINENO: checking for $ac_func" >&5
5778echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5779if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5780  echo $ECHO_N "(cached) $ECHO_C" >&6
5781else
5782  cat >conftest.$ac_ext <<_ACEOF
5783/* confdefs.h.  */
5784_ACEOF
5785cat confdefs.h >>conftest.$ac_ext
5786cat >>conftest.$ac_ext <<_ACEOF
5787/* end confdefs.h.  */
5788/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5789   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
5790#define $ac_func innocuous_$ac_func
5791
5792/* System header to define __stub macros and hopefully few prototypes,
5793    which can conflict with char $ac_func (); below.
5794    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5795    <limits.h> exists even on freestanding compilers.  */
5796
5797#ifdef __STDC__
5798# include <limits.h>
5799#else
5800# include <assert.h>
5801#endif
5802
5803#undef $ac_func
5804
5805/* Override any GCC internal prototype to avoid an error.
5806   Use char because int might match the return type of a GCC
5807   builtin and then its argument prototype would still apply.  */
5808#ifdef __cplusplus
5809extern "C"
5810#endif
5811char $ac_func ();
5812/* The GNU C library defines this for functions which it implements
5813    to always fail with ENOSYS.  Some functions are actually named
5814    something starting with __ and the normal name is an alias.  */
5815#if defined __stub_$ac_func || defined __stub___$ac_func
5816choke me
5817#endif
5818
5819int
5820main ()
5821{
5822return $ac_func ();
5823  ;
5824  return 0;
5825}
5826_ACEOF
5827rm -f conftest.$ac_objext conftest$ac_exeext
5828if { (ac_try="$ac_link"
5829case "(($ac_try" in
5830  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5831  *) ac_try_echo=$ac_try;;
5832esac
5833eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5834  (eval "$ac_link") 2>conftest.er1
5835  ac_status=$?
5836  grep -v '^ *+' conftest.er1 >conftest.err
5837  rm -f conftest.er1
5838  cat conftest.err >&5
5839  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5840  (exit $ac_status); } && {
5841	 test -z "$ac_c_werror_flag" ||
5842	 test ! -s conftest.err
5843       } && test -s conftest$ac_exeext &&
5844       $as_test_x conftest$ac_exeext; then
5845  eval "$as_ac_var=yes"
5846else
5847  echo "$as_me: failed program was:" >&5
5848sed 's/^/| /' conftest.$ac_ext >&5
5849
5850	eval "$as_ac_var=no"
5851fi
5852
5853rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5854      conftest$ac_exeext conftest.$ac_ext
5855fi
5856ac_res=`eval echo '${'$as_ac_var'}'`
5857	       { echo "$as_me:$LINENO: result: $ac_res" >&5
5858echo "${ECHO_T}$ac_res" >&6; }
5859if test `eval echo '${'$as_ac_var'}'` = yes; then
5860  cat >>confdefs.h <<_ACEOF
5861#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5862_ACEOF
5863
5864fi
5865done
5866
5867
5868for ac_func in strstr
5869do
5870as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5871{ echo "$as_me:$LINENO: checking for $ac_func" >&5
5872echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5873if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5874  echo $ECHO_N "(cached) $ECHO_C" >&6
5875else
5876  cat >conftest.$ac_ext <<_ACEOF
5877/* confdefs.h.  */
5878_ACEOF
5879cat confdefs.h >>conftest.$ac_ext
5880cat >>conftest.$ac_ext <<_ACEOF
5881/* end confdefs.h.  */
5882/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5883   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
5884#define $ac_func innocuous_$ac_func
5885
5886/* System header to define __stub macros and hopefully few prototypes,
5887    which can conflict with char $ac_func (); below.
5888    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5889    <limits.h> exists even on freestanding compilers.  */
5890
5891#ifdef __STDC__
5892# include <limits.h>
5893#else
5894# include <assert.h>
5895#endif
5896
5897#undef $ac_func
5898
5899/* Override any GCC internal prototype to avoid an error.
5900   Use char because int might match the return type of a GCC
5901   builtin and then its argument prototype would still apply.  */
5902#ifdef __cplusplus
5903extern "C"
5904#endif
5905char $ac_func ();
5906/* The GNU C library defines this for functions which it implements
5907    to always fail with ENOSYS.  Some functions are actually named
5908    something starting with __ and the normal name is an alias.  */
5909#if defined __stub_$ac_func || defined __stub___$ac_func
5910choke me
5911#endif
5912
5913int
5914main ()
5915{
5916return $ac_func ();
5917  ;
5918  return 0;
5919}
5920_ACEOF
5921rm -f conftest.$ac_objext conftest$ac_exeext
5922if { (ac_try="$ac_link"
5923case "(($ac_try" in
5924  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5925  *) ac_try_echo=$ac_try;;
5926esac
5927eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5928  (eval "$ac_link") 2>conftest.er1
5929  ac_status=$?
5930  grep -v '^ *+' conftest.er1 >conftest.err
5931  rm -f conftest.er1
5932  cat conftest.err >&5
5933  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5934  (exit $ac_status); } && {
5935	 test -z "$ac_c_werror_flag" ||
5936	 test ! -s conftest.err
5937       } && test -s conftest$ac_exeext &&
5938       $as_test_x conftest$ac_exeext; then
5939  eval "$as_ac_var=yes"
5940else
5941  echo "$as_me: failed program was:" >&5
5942sed 's/^/| /' conftest.$ac_ext >&5
5943
5944	eval "$as_ac_var=no"
5945fi
5946
5947rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5948      conftest$ac_exeext conftest.$ac_ext
5949fi
5950ac_res=`eval echo '${'$as_ac_var'}'`
5951	       { echo "$as_me:$LINENO: result: $ac_res" >&5
5952echo "${ECHO_T}$ac_res" >&6; }
5953if test `eval echo '${'$as_ac_var'}'` = yes; then
5954  cat >>confdefs.h <<_ACEOF
5955#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5956_ACEOF
5957
5958fi
5959done
5960
5961
5962for ac_func in strtol
5963do
5964as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5965{ echo "$as_me:$LINENO: checking for $ac_func" >&5
5966echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5967if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5968  echo $ECHO_N "(cached) $ECHO_C" >&6
5969else
5970  cat >conftest.$ac_ext <<_ACEOF
5971/* confdefs.h.  */
5972_ACEOF
5973cat confdefs.h >>conftest.$ac_ext
5974cat >>conftest.$ac_ext <<_ACEOF
5975/* end confdefs.h.  */
5976/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5977   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
5978#define $ac_func innocuous_$ac_func
5979
5980/* System header to define __stub macros and hopefully few prototypes,
5981    which can conflict with char $ac_func (); below.
5982    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5983    <limits.h> exists even on freestanding compilers.  */
5984
5985#ifdef __STDC__
5986# include <limits.h>
5987#else
5988# include <assert.h>
5989#endif
5990
5991#undef $ac_func
5992
5993/* Override any GCC internal prototype to avoid an error.
5994   Use char because int might match the return type of a GCC
5995   builtin and then its argument prototype would still apply.  */
5996#ifdef __cplusplus
5997extern "C"
5998#endif
5999char $ac_func ();
6000/* The GNU C library defines this for functions which it implements
6001    to always fail with ENOSYS.  Some functions are actually named
6002    something starting with __ and the normal name is an alias.  */
6003#if defined __stub_$ac_func || defined __stub___$ac_func
6004choke me
6005#endif
6006
6007int
6008main ()
6009{
6010return $ac_func ();
6011  ;
6012  return 0;
6013}
6014_ACEOF
6015rm -f conftest.$ac_objext conftest$ac_exeext
6016if { (ac_try="$ac_link"
6017case "(($ac_try" in
6018  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6019  *) ac_try_echo=$ac_try;;
6020esac
6021eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6022  (eval "$ac_link") 2>conftest.er1
6023  ac_status=$?
6024  grep -v '^ *+' conftest.er1 >conftest.err
6025  rm -f conftest.er1
6026  cat conftest.err >&5
6027  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6028  (exit $ac_status); } && {
6029	 test -z "$ac_c_werror_flag" ||
6030	 test ! -s conftest.err
6031       } && test -s conftest$ac_exeext &&
6032       $as_test_x conftest$ac_exeext; then
6033  eval "$as_ac_var=yes"
6034else
6035  echo "$as_me: failed program was:" >&5
6036sed 's/^/| /' conftest.$ac_ext >&5
6037
6038	eval "$as_ac_var=no"
6039fi
6040
6041rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6042      conftest$ac_exeext conftest.$ac_ext
6043fi
6044ac_res=`eval echo '${'$as_ac_var'}'`
6045	       { echo "$as_me:$LINENO: result: $ac_res" >&5
6046echo "${ECHO_T}$ac_res" >&6; }
6047if test `eval echo '${'$as_ac_var'}'` = yes; then
6048  cat >>confdefs.h <<_ACEOF
6049#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6050_ACEOF
6051
6052fi
6053done
6054
6055
6056
6057for ac_header in vfork.h
6058do
6059as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6060if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6061  { echo "$as_me:$LINENO: checking for $ac_header" >&5
6062echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6063if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6064  echo $ECHO_N "(cached) $ECHO_C" >&6
6065fi
6066ac_res=`eval echo '${'$as_ac_Header'}'`
6067	       { echo "$as_me:$LINENO: result: $ac_res" >&5
6068echo "${ECHO_T}$ac_res" >&6; }
6069else
6070  # Is the header compilable?
6071{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
6072echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6073cat >conftest.$ac_ext <<_ACEOF
6074/* confdefs.h.  */
6075_ACEOF
6076cat confdefs.h >>conftest.$ac_ext
6077cat >>conftest.$ac_ext <<_ACEOF
6078/* end confdefs.h.  */
6079$ac_includes_default
6080#include <$ac_header>
6081_ACEOF
6082rm -f conftest.$ac_objext
6083if { (ac_try="$ac_compile"
6084case "(($ac_try" in
6085  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6086  *) ac_try_echo=$ac_try;;
6087esac
6088eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6089  (eval "$ac_compile") 2>conftest.er1
6090  ac_status=$?
6091  grep -v '^ *+' conftest.er1 >conftest.err
6092  rm -f conftest.er1
6093  cat conftest.err >&5
6094  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6095  (exit $ac_status); } && {
6096	 test -z "$ac_c_werror_flag" ||
6097	 test ! -s conftest.err
6098       } && test -s conftest.$ac_objext; then
6099  ac_header_compiler=yes
6100else
6101  echo "$as_me: failed program was:" >&5
6102sed 's/^/| /' conftest.$ac_ext >&5
6103
6104	ac_header_compiler=no
6105fi
6106
6107rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6108{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6109echo "${ECHO_T}$ac_header_compiler" >&6; }
6110
6111# Is the header present?
6112{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
6113echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6114cat >conftest.$ac_ext <<_ACEOF
6115/* confdefs.h.  */
6116_ACEOF
6117cat confdefs.h >>conftest.$ac_ext
6118cat >>conftest.$ac_ext <<_ACEOF
6119/* end confdefs.h.  */
6120#include <$ac_header>
6121_ACEOF
6122if { (ac_try="$ac_cpp conftest.$ac_ext"
6123case "(($ac_try" in
6124  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6125  *) ac_try_echo=$ac_try;;
6126esac
6127eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6128  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6129  ac_status=$?
6130  grep -v '^ *+' conftest.er1 >conftest.err
6131  rm -f conftest.er1
6132  cat conftest.err >&5
6133  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6134  (exit $ac_status); } >/dev/null && {
6135	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6136	 test ! -s conftest.err
6137       }; then
6138  ac_header_preproc=yes
6139else
6140  echo "$as_me: failed program was:" >&5
6141sed 's/^/| /' conftest.$ac_ext >&5
6142
6143  ac_header_preproc=no
6144fi
6145
6146rm -f conftest.err conftest.$ac_ext
6147{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6148echo "${ECHO_T}$ac_header_preproc" >&6; }
6149
6150# So?  What about this header?
6151case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6152  yes:no: )
6153    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6154echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6155    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6156echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6157    ac_header_preproc=yes
6158    ;;
6159  no:yes:* )
6160    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6161echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6162    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6163echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6164    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6165echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6166    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6167echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6168    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6169echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6170    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6171echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6172    ( cat <<\_ASBOX
6173## --------------------------------- ##
6174## Report this to macslow@bangang.de ##
6175## --------------------------------- ##
6176_ASBOX
6177     ) | sed "s/^/$as_me: WARNING:     /" >&2
6178    ;;
6179esac
6180{ echo "$as_me:$LINENO: checking for $ac_header" >&5
6181echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6182if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6183  echo $ECHO_N "(cached) $ECHO_C" >&6
6184else
6185  eval "$as_ac_Header=\$ac_header_preproc"
6186fi
6187ac_res=`eval echo '${'$as_ac_Header'}'`
6188	       { echo "$as_me:$LINENO: result: $ac_res" >&5
6189echo "${ECHO_T}$ac_res" >&6; }
6190
6191fi
6192if test `eval echo '${'$as_ac_Header'}'` = yes; then
6193  cat >>confdefs.h <<_ACEOF
6194#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6195_ACEOF
6196
6197fi
6198
6199done
6200
6201
6202
6203for ac_func in fork vfork
6204do
6205as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6206{ echo "$as_me:$LINENO: checking for $ac_func" >&5
6207echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6208if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6209  echo $ECHO_N "(cached) $ECHO_C" >&6
6210else
6211  cat >conftest.$ac_ext <<_ACEOF
6212/* confdefs.h.  */
6213_ACEOF
6214cat confdefs.h >>conftest.$ac_ext
6215cat >>conftest.$ac_ext <<_ACEOF
6216/* end confdefs.h.  */
6217/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6218   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
6219#define $ac_func innocuous_$ac_func
6220
6221/* System header to define __stub macros and hopefully few prototypes,
6222    which can conflict with char $ac_func (); below.
6223    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6224    <limits.h> exists even on freestanding compilers.  */
6225
6226#ifdef __STDC__
6227# include <limits.h>
6228#else
6229# include <assert.h>
6230#endif
6231
6232#undef $ac_func
6233
6234/* Override any GCC internal prototype to avoid an error.
6235   Use char because int might match the return type of a GCC
6236   builtin and then its argument prototype would still apply.  */
6237#ifdef __cplusplus
6238extern "C"
6239#endif
6240char $ac_func ();
6241/* The GNU C library defines this for functions which it implements
6242    to always fail with ENOSYS.  Some functions are actually named
6243    something starting with __ and the normal name is an alias.  */
6244#if defined __stub_$ac_func || defined __stub___$ac_func
6245choke me
6246#endif
6247
6248int
6249main ()
6250{
6251return $ac_func ();
6252  ;
6253  return 0;
6254}
6255_ACEOF
6256rm -f conftest.$ac_objext conftest$ac_exeext
6257if { (ac_try="$ac_link"
6258case "(($ac_try" in
6259  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6260  *) ac_try_echo=$ac_try;;
6261esac
6262eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6263  (eval "$ac_link") 2>conftest.er1
6264  ac_status=$?
6265  grep -v '^ *+' conftest.er1 >conftest.err
6266  rm -f conftest.er1
6267  cat conftest.err >&5
6268  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6269  (exit $ac_status); } && {
6270	 test -z "$ac_c_werror_flag" ||
6271	 test ! -s conftest.err
6272       } && test -s conftest$ac_exeext &&
6273       $as_test_x conftest$ac_exeext; then
6274  eval "$as_ac_var=yes"
6275else
6276  echo "$as_me: failed program was:" >&5
6277sed 's/^/| /' conftest.$ac_ext >&5
6278
6279	eval "$as_ac_var=no"
6280fi
6281
6282rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6283      conftest$ac_exeext conftest.$ac_ext
6284fi
6285ac_res=`eval echo '${'$as_ac_var'}'`
6286	       { echo "$as_me:$LINENO: result: $ac_res" >&5
6287echo "${ECHO_T}$ac_res" >&6; }
6288if test `eval echo '${'$as_ac_var'}'` = yes; then
6289  cat >>confdefs.h <<_ACEOF
6290#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6291_ACEOF
6292
6293fi
6294done
6295
6296if test "x$ac_cv_func_fork" = xyes; then
6297  { echo "$as_me:$LINENO: checking for working fork" >&5
6298echo $ECHO_N "checking for working fork... $ECHO_C" >&6; }
6299if test "${ac_cv_func_fork_works+set}" = set; then
6300  echo $ECHO_N "(cached) $ECHO_C" >&6
6301else
6302  if test "$cross_compiling" = yes; then
6303  ac_cv_func_fork_works=cross
6304else
6305  cat >conftest.$ac_ext <<_ACEOF
6306/* confdefs.h.  */
6307_ACEOF
6308cat confdefs.h >>conftest.$ac_ext
6309cat >>conftest.$ac_ext <<_ACEOF
6310/* end confdefs.h.  */
6311$ac_includes_default
6312int
6313main ()
6314{
6315
6316	  /* By Ruediger Kuhlmann. */
6317	  return fork () < 0;
6318
6319  ;
6320  return 0;
6321}
6322_ACEOF
6323rm -f conftest$ac_exeext
6324if { (ac_try="$ac_link"
6325case "(($ac_try" in
6326  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6327  *) ac_try_echo=$ac_try;;
6328esac
6329eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6330  (eval "$ac_link") 2>&5
6331  ac_status=$?
6332  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6333  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6334  { (case "(($ac_try" in
6335  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6336  *) ac_try_echo=$ac_try;;
6337esac
6338eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6339  (eval "$ac_try") 2>&5
6340  ac_status=$?
6341  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6342  (exit $ac_status); }; }; then
6343  ac_cv_func_fork_works=yes
6344else
6345  echo "$as_me: program exited with status $ac_status" >&5
6346echo "$as_me: failed program was:" >&5
6347sed 's/^/| /' conftest.$ac_ext >&5
6348
6349( exit $ac_status )
6350ac_cv_func_fork_works=no
6351fi
6352rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6353fi
6354
6355
6356fi
6357{ echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
6358echo "${ECHO_T}$ac_cv_func_fork_works" >&6; }
6359
6360else
6361  ac_cv_func_fork_works=$ac_cv_func_fork
6362fi
6363if test "x$ac_cv_func_fork_works" = xcross; then
6364  case $host in
6365    *-*-amigaos* | *-*-msdosdjgpp*)
6366      # Override, as these systems have only a dummy fork() stub
6367      ac_cv_func_fork_works=no
6368      ;;
6369    *)
6370      ac_cv_func_fork_works=yes
6371      ;;
6372  esac
6373  { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
6374echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
6375fi
6376ac_cv_func_vfork_works=$ac_cv_func_vfork
6377if test "x$ac_cv_func_vfork" = xyes; then
6378  { echo "$as_me:$LINENO: checking for working vfork" >&5
6379echo $ECHO_N "checking for working vfork... $ECHO_C" >&6; }
6380if test "${ac_cv_func_vfork_works+set}" = set; then
6381  echo $ECHO_N "(cached) $ECHO_C" >&6
6382else
6383  if test "$cross_compiling" = yes; then
6384  ac_cv_func_vfork_works=cross
6385else
6386  cat >conftest.$ac_ext <<_ACEOF
6387/* confdefs.h.  */
6388_ACEOF
6389cat confdefs.h >>conftest.$ac_ext
6390cat >>conftest.$ac_ext <<_ACEOF
6391/* end confdefs.h.  */
6392/* Thanks to Paul Eggert for this test.  */
6393$ac_includes_default
6394#include <sys/wait.h>
6395#ifdef HAVE_VFORK_H
6396# include <vfork.h>
6397#endif
6398/* On some sparc systems, changes by the child to local and incoming
6399   argument registers are propagated back to the parent.  The compiler
6400   is told about this with #include <vfork.h>, but some compilers
6401   (e.g. gcc -O) don't grok <vfork.h>.  Test for this by using a
6402   static variable whose address is put into a register that is
6403   clobbered by the vfork.  */
6404static void
6405#ifdef __cplusplus
6406sparc_address_test (int arg)
6407# else
6408sparc_address_test (arg) int arg;
6409#endif
6410{
6411  static pid_t child;
6412  if (!child) {
6413    child = vfork ();
6414    if (child < 0) {
6415      perror ("vfork");
6416      _exit(2);
6417    }
6418    if (!child) {
6419      arg = getpid();
6420      write(-1, "", 0);
6421      _exit (arg);
6422    }
6423  }
6424}
6425
6426int
6427main ()
6428{
6429  pid_t parent = getpid ();
6430  pid_t child;
6431
6432  sparc_address_test (0);
6433
6434  child = vfork ();
6435
6436  if (child == 0) {
6437    /* Here is another test for sparc vfork register problems.  This
6438       test uses lots of local variables, at least as many local
6439       variables as main has allocated so far including compiler
6440       temporaries.  4 locals are enough for gcc 1.40.3 on a Solaris
6441       4.1.3 sparc, but we use 8 to be safe.  A buggy compiler should
6442       reuse the register of parent for one of the local variables,
6443       since it will think that parent can't possibly be used any more
6444       in this routine.  Assigning to the local variable will thus
6445       munge parent in the parent process.  */
6446    pid_t
6447      p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
6448      p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
6449    /* Convince the compiler that p..p7 are live; otherwise, it might
6450       use the same hardware register for all 8 local variables.  */
6451    if (p != p1 || p != p2 || p != p3 || p != p4
6452	|| p != p5 || p != p6 || p != p7)
6453      _exit(1);
6454
6455    /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
6456       from child file descriptors.  If the child closes a descriptor
6457       before it execs or exits, this munges the parent's descriptor
6458       as well.  Test for this by closing stdout in the child.  */
6459    _exit(close(fileno(stdout)) != 0);
6460  } else {
6461    int status;
6462    struct stat st;
6463
6464    while (wait(&status) != child)
6465      ;
6466    return (
6467	 /* Was there some problem with vforking?  */
6468	 child < 0
6469
6470	 /* Did the child fail?  (This shouldn't happen.)  */
6471	 || status
6472
6473	 /* Did the vfork/compiler bug occur?  */
6474	 || parent != getpid()
6475
6476	 /* Did the file descriptor bug occur?  */
6477	 || fstat(fileno(stdout), &st) != 0
6478	 );
6479  }
6480}
6481_ACEOF
6482rm -f conftest$ac_exeext
6483if { (ac_try="$ac_link"
6484case "(($ac_try" in
6485  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6486  *) ac_try_echo=$ac_try;;
6487esac
6488eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6489  (eval "$ac_link") 2>&5
6490  ac_status=$?
6491  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6492  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6493  { (case "(($ac_try" in
6494  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6495  *) ac_try_echo=$ac_try;;
6496esac
6497eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6498  (eval "$ac_try") 2>&5
6499  ac_status=$?
6500  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6501  (exit $ac_status); }; }; then
6502  ac_cv_func_vfork_works=yes
6503else
6504  echo "$as_me: program exited with status $ac_status" >&5
6505echo "$as_me: failed program was:" >&5
6506sed 's/^/| /' conftest.$ac_ext >&5
6507
6508( exit $ac_status )
6509ac_cv_func_vfork_works=no
6510fi
6511rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6512fi
6513
6514
6515fi
6516{ echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
6517echo "${ECHO_T}$ac_cv_func_vfork_works" >&6; }
6518
6519fi;
6520if test "x$ac_cv_func_fork_works" = xcross; then
6521  ac_cv_func_vfork_works=$ac_cv_func_vfork
6522  { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
6523echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
6524fi
6525
6526if test "x$ac_cv_func_vfork_works" = xyes; then
6527
6528cat >>confdefs.h <<\_ACEOF
6529#define HAVE_WORKING_VFORK 1
6530_ACEOF
6531
6532else
6533
6534cat >>confdefs.h <<\_ACEOF
6535#define vfork fork
6536_ACEOF
6537
6538fi
6539if test "x$ac_cv_func_fork_works" = xyes; then
6540
6541cat >>confdefs.h <<\_ACEOF
6542#define HAVE_WORKING_FORK 1
6543_ACEOF
6544
6545fi
6546
6547
6548for ac_header in stdlib.h
6549do
6550as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6551if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6552  { echo "$as_me:$LINENO: checking for $ac_header" >&5
6553echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6554if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6555  echo $ECHO_N "(cached) $ECHO_C" >&6
6556fi
6557ac_res=`eval echo '${'$as_ac_Header'}'`
6558	       { echo "$as_me:$LINENO: result: $ac_res" >&5
6559echo "${ECHO_T}$ac_res" >&6; }
6560else
6561  # Is the header compilable?
6562{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
6563echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6564cat >conftest.$ac_ext <<_ACEOF
6565/* confdefs.h.  */
6566_ACEOF
6567cat confdefs.h >>conftest.$ac_ext
6568cat >>conftest.$ac_ext <<_ACEOF
6569/* end confdefs.h.  */
6570$ac_includes_default
6571#include <$ac_header>
6572_ACEOF
6573rm -f conftest.$ac_objext
6574if { (ac_try="$ac_compile"
6575case "(($ac_try" in
6576  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6577  *) ac_try_echo=$ac_try;;
6578esac
6579eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6580  (eval "$ac_compile") 2>conftest.er1
6581  ac_status=$?
6582  grep -v '^ *+' conftest.er1 >conftest.err
6583  rm -f conftest.er1
6584  cat conftest.err >&5
6585  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6586  (exit $ac_status); } && {
6587	 test -z "$ac_c_werror_flag" ||
6588	 test ! -s conftest.err
6589       } && test -s conftest.$ac_objext; then
6590  ac_header_compiler=yes
6591else
6592  echo "$as_me: failed program was:" >&5
6593sed 's/^/| /' conftest.$ac_ext >&5
6594
6595	ac_header_compiler=no
6596fi
6597
6598rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6599{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6600echo "${ECHO_T}$ac_header_compiler" >&6; }
6601
6602# Is the header present?
6603{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
6604echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6605cat >conftest.$ac_ext <<_ACEOF
6606/* confdefs.h.  */
6607_ACEOF
6608cat confdefs.h >>conftest.$ac_ext
6609cat >>conftest.$ac_ext <<_ACEOF
6610/* end confdefs.h.  */
6611#include <$ac_header>
6612_ACEOF
6613if { (ac_try="$ac_cpp conftest.$ac_ext"
6614case "(($ac_try" in
6615  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6616  *) ac_try_echo=$ac_try;;
6617esac
6618eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6619  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6620  ac_status=$?
6621  grep -v '^ *+' conftest.er1 >conftest.err
6622  rm -f conftest.er1
6623  cat conftest.err >&5
6624  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6625  (exit $ac_status); } >/dev/null && {
6626	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6627	 test ! -s conftest.err
6628       }; then
6629  ac_header_preproc=yes
6630else
6631  echo "$as_me: failed program was:" >&5
6632sed 's/^/| /' conftest.$ac_ext >&5
6633
6634  ac_header_preproc=no
6635fi
6636
6637rm -f conftest.err conftest.$ac_ext
6638{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6639echo "${ECHO_T}$ac_header_preproc" >&6; }
6640
6641# So?  What about this header?
6642case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6643  yes:no: )
6644    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6645echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6646    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6647echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6648    ac_header_preproc=yes
6649    ;;
6650  no:yes:* )
6651    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6652echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6653    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6654echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6655    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6656echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6657    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6658echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6659    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6660echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6661    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6662echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6663    ( cat <<\_ASBOX
6664## --------------------------------- ##
6665## Report this to macslow@bangang.de ##
6666## --------------------------------- ##
6667_ASBOX
6668     ) | sed "s/^/$as_me: WARNING:     /" >&2
6669    ;;
6670esac
6671{ echo "$as_me:$LINENO: checking for $ac_header" >&5
6672echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6673if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6674  echo $ECHO_N "(cached) $ECHO_C" >&6
6675else
6676  eval "$as_ac_Header=\$ac_header_preproc"
6677fi
6678ac_res=`eval echo '${'$as_ac_Header'}'`
6679	       { echo "$as_me:$LINENO: result: $ac_res" >&5
6680echo "${ECHO_T}$ac_res" >&6; }
6681
6682fi
6683if test `eval echo '${'$as_ac_Header'}'` = yes; then
6684  cat >>confdefs.h <<_ACEOF
6685#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6686_ACEOF
6687
6688fi
6689
6690done
6691
6692{ echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
6693echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6; }
6694if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
6695  echo $ECHO_N "(cached) $ECHO_C" >&6
6696else
6697  if test "$cross_compiling" = yes; then
6698  ac_cv_func_malloc_0_nonnull=no
6699else
6700  cat >conftest.$ac_ext <<_ACEOF
6701/* confdefs.h.  */
6702_ACEOF
6703cat confdefs.h >>conftest.$ac_ext
6704cat >>conftest.$ac_ext <<_ACEOF
6705/* end confdefs.h.  */
6706#if defined STDC_HEADERS || defined HAVE_STDLIB_H
6707# include <stdlib.h>
6708#else
6709char *malloc ();
6710#endif
6711
6712int
6713main ()
6714{
6715return ! malloc (0);
6716  ;
6717  return 0;
6718}
6719_ACEOF
6720rm -f conftest$ac_exeext
6721if { (ac_try="$ac_link"
6722case "(($ac_try" in
6723  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6724  *) ac_try_echo=$ac_try;;
6725esac
6726eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6727  (eval "$ac_link") 2>&5
6728  ac_status=$?
6729  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6730  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6731  { (case "(($ac_try" in
6732  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6733  *) ac_try_echo=$ac_try;;
6734esac
6735eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6736  (eval "$ac_try") 2>&5
6737  ac_status=$?
6738  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6739  (exit $ac_status); }; }; then
6740  ac_cv_func_malloc_0_nonnull=yes
6741else
6742  echo "$as_me: program exited with status $ac_status" >&5
6743echo "$as_me: failed program was:" >&5
6744sed 's/^/| /' conftest.$ac_ext >&5
6745
6746( exit $ac_status )
6747ac_cv_func_malloc_0_nonnull=no
6748fi
6749rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6750fi
6751
6752
6753fi
6754{ echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
6755echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6; }
6756if test $ac_cv_func_malloc_0_nonnull = yes; then
6757
6758cat >>confdefs.h <<\_ACEOF
6759#define HAVE_MALLOC 1
6760_ACEOF
6761
6762else
6763  cat >>confdefs.h <<\_ACEOF
6764#define HAVE_MALLOC 0
6765_ACEOF
6766
6767   case " $LIBOBJS " in
6768  *" malloc.$ac_objext "* ) ;;
6769  *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
6770 ;;
6771esac
6772
6773
6774cat >>confdefs.h <<\_ACEOF
6775#define malloc rpl_malloc
6776_ACEOF
6777
6778fi
6779
6780
6781
6782
6783for ac_header in stdlib.h
6784do
6785as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6786if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6787  { echo "$as_me:$LINENO: checking for $ac_header" >&5
6788echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6789if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6790  echo $ECHO_N "(cached) $ECHO_C" >&6
6791fi
6792ac_res=`eval echo '${'$as_ac_Header'}'`
6793	       { echo "$as_me:$LINENO: result: $ac_res" >&5
6794echo "${ECHO_T}$ac_res" >&6; }
6795else
6796  # Is the header compilable?
6797{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
6798echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6799cat >conftest.$ac_ext <<_ACEOF
6800/* confdefs.h.  */
6801_ACEOF
6802cat confdefs.h >>conftest.$ac_ext
6803cat >>conftest.$ac_ext <<_ACEOF
6804/* end confdefs.h.  */
6805$ac_includes_default
6806#include <$ac_header>
6807_ACEOF
6808rm -f conftest.$ac_objext
6809if { (ac_try="$ac_compile"
6810case "(($ac_try" in
6811  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6812  *) ac_try_echo=$ac_try;;
6813esac
6814eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6815  (eval "$ac_compile") 2>conftest.er1
6816  ac_status=$?
6817  grep -v '^ *+' conftest.er1 >conftest.err
6818  rm -f conftest.er1
6819  cat conftest.err >&5
6820  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6821  (exit $ac_status); } && {
6822	 test -z "$ac_c_werror_flag" ||
6823	 test ! -s conftest.err
6824       } && test -s conftest.$ac_objext; then
6825  ac_header_compiler=yes
6826else
6827  echo "$as_me: failed program was:" >&5
6828sed 's/^/| /' conftest.$ac_ext >&5
6829
6830	ac_header_compiler=no
6831fi
6832
6833rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6834{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6835echo "${ECHO_T}$ac_header_compiler" >&6; }
6836
6837# Is the header present?
6838{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
6839echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6840cat >conftest.$ac_ext <<_ACEOF
6841/* confdefs.h.  */
6842_ACEOF
6843cat confdefs.h >>conftest.$ac_ext
6844cat >>conftest.$ac_ext <<_ACEOF
6845/* end confdefs.h.  */
6846#include <$ac_header>
6847_ACEOF
6848if { (ac_try="$ac_cpp conftest.$ac_ext"
6849case "(($ac_try" in
6850  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6851  *) ac_try_echo=$ac_try;;
6852esac
6853eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6854  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6855  ac_status=$?
6856  grep -v '^ *+' conftest.er1 >conftest.err
6857  rm -f conftest.er1
6858  cat conftest.err >&5
6859  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6860  (exit $ac_status); } >/dev/null && {
6861	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6862	 test ! -s conftest.err
6863       }; then
6864  ac_header_preproc=yes
6865else
6866  echo "$as_me: failed program was:" >&5
6867sed 's/^/| /' conftest.$ac_ext >&5
6868
6869  ac_header_preproc=no
6870fi
6871
6872rm -f conftest.err conftest.$ac_ext
6873{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6874echo "${ECHO_T}$ac_header_preproc" >&6; }
6875
6876# So?  What about this header?
6877case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6878  yes:no: )
6879    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6880echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6881    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6882echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6883    ac_header_preproc=yes
6884    ;;
6885  no:yes:* )
6886    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6887echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6888    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6889echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6890    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6891echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6892    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6893echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6894    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6895echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6896    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6897echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6898    ( cat <<\_ASBOX
6899## --------------------------------- ##
6900## Report this to macslow@bangang.de ##
6901## --------------------------------- ##
6902_ASBOX
6903     ) | sed "s/^/$as_me: WARNING:     /" >&2
6904    ;;
6905esac
6906{ echo "$as_me:$LINENO: checking for $ac_header" >&5
6907echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6908if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6909  echo $ECHO_N "(cached) $ECHO_C" >&6
6910else
6911  eval "$as_ac_Header=\$ac_header_preproc"
6912fi
6913ac_res=`eval echo '${'$as_ac_Header'}'`
6914	       { echo "$as_me:$LINENO: result: $ac_res" >&5
6915echo "${ECHO_T}$ac_res" >&6; }
6916
6917fi
6918if test `eval echo '${'$as_ac_Header'}'` = yes; then
6919  cat >>confdefs.h <<_ACEOF
6920#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6921_ACEOF
6922
6923fi
6924
6925done
6926
6927{ echo "$as_me:$LINENO: checking for GNU libc compatible realloc" >&5
6928echo $ECHO_N "checking for GNU libc compatible realloc... $ECHO_C" >&6; }
6929if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then
6930  echo $ECHO_N "(cached) $ECHO_C" >&6
6931else
6932  if test "$cross_compiling" = yes; then
6933  ac_cv_func_realloc_0_nonnull=no
6934else
6935  cat >conftest.$ac_ext <<_ACEOF
6936/* confdefs.h.  */
6937_ACEOF
6938cat confdefs.h >>conftest.$ac_ext
6939cat >>conftest.$ac_ext <<_ACEOF
6940/* end confdefs.h.  */
6941#if defined STDC_HEADERS || defined HAVE_STDLIB_H
6942# include <stdlib.h>
6943#else
6944char *realloc ();
6945#endif
6946
6947int
6948main ()
6949{
6950return ! realloc (0, 0);
6951  ;
6952  return 0;
6953}
6954_ACEOF
6955rm -f conftest$ac_exeext
6956if { (ac_try="$ac_link"
6957case "(($ac_try" in
6958  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6959  *) ac_try_echo=$ac_try;;
6960esac
6961eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6962  (eval "$ac_link") 2>&5
6963  ac_status=$?
6964  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6965  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6966  { (case "(($ac_try" in
6967  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6968  *) ac_try_echo=$ac_try;;
6969esac
6970eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6971  (eval "$ac_try") 2>&5
6972  ac_status=$?
6973  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6974  (exit $ac_status); }; }; then
6975  ac_cv_func_realloc_0_nonnull=yes
6976else
6977  echo "$as_me: program exited with status $ac_status" >&5
6978echo "$as_me: failed program was:" >&5
6979sed 's/^/| /' conftest.$ac_ext >&5
6980
6981( exit $ac_status )
6982ac_cv_func_realloc_0_nonnull=no
6983fi
6984rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6985fi
6986
6987
6988fi
6989{ echo "$as_me:$LINENO: result: $ac_cv_func_realloc_0_nonnull" >&5
6990echo "${ECHO_T}$ac_cv_func_realloc_0_nonnull" >&6; }
6991if test $ac_cv_func_realloc_0_nonnull = yes; then
6992
6993cat >>confdefs.h <<\_ACEOF
6994#define HAVE_REALLOC 1
6995_ACEOF
6996
6997else
6998  cat >>confdefs.h <<\_ACEOF
6999#define HAVE_REALLOC 0
7000_ACEOF
7001
7002   case " $LIBOBJS " in
7003  *" realloc.$ac_objext "* ) ;;
7004  *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
7005 ;;
7006esac
7007
7008
7009cat >>confdefs.h <<\_ACEOF
7010#define realloc rpl_realloc
7011_ACEOF
7012
7013fi
7014
7015
7016
7017{ echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash" >&5
7018echo $ECHO_N "checking whether lstat dereferences a symlink specified with a trailing slash... $ECHO_C" >&6; }
7019if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then
7020  echo $ECHO_N "(cached) $ECHO_C" >&6
7021else
7022  rm -f conftest.sym conftest.file
7023echo >conftest.file
7024if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
7025  if test "$cross_compiling" = yes; then
7026  ac_cv_func_lstat_dereferences_slashed_symlink=no
7027else
7028  cat >conftest.$ac_ext <<_ACEOF
7029/* confdefs.h.  */
7030_ACEOF
7031cat confdefs.h >>conftest.$ac_ext
7032cat >>conftest.$ac_ext <<_ACEOF
7033/* end confdefs.h.  */
7034$ac_includes_default
7035int
7036main ()
7037{
7038struct stat sbuf;
7039     /* Linux will dereference the symlink and fail.
7040	That is better in the sense that it means we will not
7041	have to compile and use the lstat wrapper.  */
7042     return lstat ("conftest.sym/", &sbuf) == 0;
7043  ;
7044  return 0;
7045}
7046_ACEOF
7047rm -f conftest$ac_exeext
7048if { (ac_try="$ac_link"
7049case "(($ac_try" in
7050  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7051  *) ac_try_echo=$ac_try;;
7052esac
7053eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7054  (eval "$ac_link") 2>&5
7055  ac_status=$?
7056  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7057  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7058  { (case "(($ac_try" in
7059  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7060  *) ac_try_echo=$ac_try;;
7061esac
7062eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7063  (eval "$ac_try") 2>&5
7064  ac_status=$?
7065  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7066  (exit $ac_status); }; }; then
7067  ac_cv_func_lstat_dereferences_slashed_symlink=yes
7068else
7069  echo "$as_me: program exited with status $ac_status" >&5
7070echo "$as_me: failed program was:" >&5
7071sed 's/^/| /' conftest.$ac_ext >&5
7072
7073( exit $ac_status )
7074ac_cv_func_lstat_dereferences_slashed_symlink=no
7075fi
7076rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7077fi
7078
7079
7080else
7081  # If the `ln -s' command failed, then we probably don't even
7082  # have an lstat function.
7083  ac_cv_func_lstat_dereferences_slashed_symlink=no
7084fi
7085rm -f conftest.sym conftest.file
7086
7087fi
7088{ echo "$as_me:$LINENO: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
7089echo "${ECHO_T}$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
7090
7091test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
7092
7093cat >>confdefs.h <<_ACEOF
7094#define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
7095_ACEOF
7096
7097
7098if test $ac_cv_func_lstat_dereferences_slashed_symlink = no; then
7099  case " $LIBOBJS " in
7100  *" lstat.$ac_objext "* ) ;;
7101  *) LIBOBJS="$LIBOBJS lstat.$ac_objext"
7102 ;;
7103esac
7104
7105fi
7106
7107{ echo "$as_me:$LINENO: checking whether stat accepts an empty string" >&5
7108echo $ECHO_N "checking whether stat accepts an empty string... $ECHO_C" >&6; }
7109if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then
7110  echo $ECHO_N "(cached) $ECHO_C" >&6
7111else
7112  if test "$cross_compiling" = yes; then
7113  ac_cv_func_stat_empty_string_bug=yes
7114else
7115  cat >conftest.$ac_ext <<_ACEOF
7116/* confdefs.h.  */
7117_ACEOF
7118cat confdefs.h >>conftest.$ac_ext
7119cat >>conftest.$ac_ext <<_ACEOF
7120/* end confdefs.h.  */
7121$ac_includes_default
7122int
7123main ()
7124{
7125struct stat sbuf;
7126  return stat ("", &sbuf) == 0;
7127  ;
7128  return 0;
7129}
7130_ACEOF
7131rm -f conftest$ac_exeext
7132if { (ac_try="$ac_link"
7133case "(($ac_try" in
7134  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7135  *) ac_try_echo=$ac_try;;
7136esac
7137eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7138  (eval "$ac_link") 2>&5
7139  ac_status=$?
7140  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7141  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7142  { (case "(($ac_try" in
7143  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7144  *) ac_try_echo=$ac_try;;
7145esac
7146eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7147  (eval "$ac_try") 2>&5
7148  ac_status=$?
7149  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7150  (exit $ac_status); }; }; then
7151  ac_cv_func_stat_empty_string_bug=no
7152else
7153  echo "$as_me: program exited with status $ac_status" >&5
7154echo "$as_me: failed program was:" >&5
7155sed 's/^/| /' conftest.$ac_ext >&5
7156
7157( exit $ac_status )
7158ac_cv_func_stat_empty_string_bug=yes
7159fi
7160rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7161fi
7162
7163
7164fi
7165{ echo "$as_me:$LINENO: result: $ac_cv_func_stat_empty_string_bug" >&5
7166echo "${ECHO_T}$ac_cv_func_stat_empty_string_bug" >&6; }
7167if test $ac_cv_func_stat_empty_string_bug = yes; then
7168  case " $LIBOBJS " in
7169  *" stat.$ac_objext "* ) ;;
7170  *) LIBOBJS="$LIBOBJS stat.$ac_objext"
7171 ;;
7172esac
7173
7174
7175cat >>confdefs.h <<_ACEOF
7176#define HAVE_STAT_EMPTY_STRING_BUG 1
7177_ACEOF
7178
7179fi
7180
7181
7182
7183
7184
7185
7186
7187# Check whether --enable-static was given.
7188if test "${enable_static+set}" = set; then
7189  enableval=$enable_static; p=${PACKAGE-default}
7190    case $enableval in
7191    yes) enable_static=yes ;;
7192    no) enable_static=no ;;
7193    *)
7194     enable_static=no
7195      # Look at the argument we got.  We use all the common list separators.
7196      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7197      for pkg in $enableval; do
7198	IFS="$lt_save_ifs"
7199	if test "X$pkg" = "X$p"; then
7200	  enable_static=yes
7201	fi
7202      done
7203      IFS="$lt_save_ifs"
7204      ;;
7205    esac
7206else
7207  enable_static=no
7208fi
7209
7210
7211
7212# Check whether --enable-shared was given.
7213if test "${enable_shared+set}" = set; then
7214  enableval=$enable_shared; p=${PACKAGE-default}
7215    case $enableval in
7216    yes) enable_shared=yes ;;
7217    no) enable_shared=no ;;
7218    *)
7219      enable_shared=no
7220      # Look at the argument we got.  We use all the common list separators.
7221      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7222      for pkg in $enableval; do
7223	IFS="$lt_save_ifs"
7224	if test "X$pkg" = "X$p"; then
7225	  enable_shared=yes
7226	fi
7227      done
7228      IFS="$lt_save_ifs"
7229      ;;
7230    esac
7231else
7232  enable_shared=yes
7233fi
7234
7235
7236# Check whether --enable-fast-install was given.
7237if test "${enable_fast_install+set}" = set; then
7238  enableval=$enable_fast_install; p=${PACKAGE-default}
7239    case $enableval in
7240    yes) enable_fast_install=yes ;;
7241    no) enable_fast_install=no ;;
7242    *)
7243      enable_fast_install=no
7244      # Look at the argument we got.  We use all the common list separators.
7245      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7246      for pkg in $enableval; do
7247	IFS="$lt_save_ifs"
7248	if test "X$pkg" = "X$p"; then
7249	  enable_fast_install=yes
7250	fi
7251      done
7252      IFS="$lt_save_ifs"
7253      ;;
7254    esac
7255else
7256  enable_fast_install=yes
7257fi
7258
7259
7260# Make sure we can run config.sub.
7261$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
7262  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
7263echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
7264   { (exit 1); exit 1; }; }
7265
7266{ echo "$as_me:$LINENO: checking build system type" >&5
7267echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
7268if test "${ac_cv_build+set}" = set; then
7269  echo $ECHO_N "(cached) $ECHO_C" >&6
7270else
7271  ac_build_alias=$build_alias
7272test "x$ac_build_alias" = x &&
7273  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
7274test "x$ac_build_alias" = x &&
7275  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
7276echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
7277   { (exit 1); exit 1; }; }
7278ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
7279  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
7280echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
7281   { (exit 1); exit 1; }; }
7282
7283fi
7284{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
7285echo "${ECHO_T}$ac_cv_build" >&6; }
7286case $ac_cv_build in
7287*-*-*) ;;
7288*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
7289echo "$as_me: error: invalid value of canonical build" >&2;}
7290   { (exit 1); exit 1; }; };;
7291esac
7292build=$ac_cv_build
7293ac_save_IFS=$IFS; IFS='-'
7294set x $ac_cv_build
7295shift
7296build_cpu=$1
7297build_vendor=$2
7298shift; shift
7299# Remember, the first character of IFS is used to create $*,
7300# except with old shells:
7301build_os=$*
7302IFS=$ac_save_IFS
7303case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
7304
7305
7306{ echo "$as_me:$LINENO: checking host system type" >&5
7307echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
7308if test "${ac_cv_host+set}" = set; then
7309  echo $ECHO_N "(cached) $ECHO_C" >&6
7310else
7311  if test "x$host_alias" = x; then
7312  ac_cv_host=$ac_cv_build
7313else
7314  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
7315    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
7316echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
7317   { (exit 1); exit 1; }; }
7318fi
7319
7320fi
7321{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
7322echo "${ECHO_T}$ac_cv_host" >&6; }
7323case $ac_cv_host in
7324*-*-*) ;;
7325*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
7326echo "$as_me: error: invalid value of canonical host" >&2;}
7327   { (exit 1); exit 1; }; };;
7328esac
7329host=$ac_cv_host
7330ac_save_IFS=$IFS; IFS='-'
7331set x $ac_cv_host
7332shift
7333host_cpu=$1
7334host_vendor=$2
7335shift; shift
7336# Remember, the first character of IFS is used to create $*,
7337# except with old shells:
7338host_os=$*
7339IFS=$ac_save_IFS
7340case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
7341
7342
7343{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
7344echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
7345if test "${lt_cv_path_SED+set}" = set; then
7346  echo $ECHO_N "(cached) $ECHO_C" >&6
7347else
7348  # Loop through the user's path and test for sed and gsed.
7349# Then use that list of sed's as ones to test for truncation.
7350as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7351for as_dir in $PATH
7352do
7353  IFS=$as_save_IFS
7354  test -z "$as_dir" && as_dir=.
7355  for lt_ac_prog in sed gsed; do
7356    for ac_exec_ext in '' $ac_executable_extensions; do
7357      if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
7358        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
7359      fi
7360    done
7361  done
7362done
7363IFS=$as_save_IFS
7364lt_ac_max=0
7365lt_ac_count=0
7366# Add /usr/xpg4/bin/sed as it is typically found on Solaris
7367# along with /bin/sed that truncates output.
7368for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
7369  test ! -f $lt_ac_sed && continue
7370  cat /dev/null > conftest.in
7371  lt_ac_count=0
7372  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
7373  # Check for GNU sed and select it if it is found.
7374  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
7375    lt_cv_path_SED=$lt_ac_sed
7376    break
7377  fi
7378  while true; do
7379    cat conftest.in conftest.in >conftest.tmp
7380    mv conftest.tmp conftest.in
7381    cp conftest.in conftest.nl
7382    echo >>conftest.nl
7383    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
7384    cmp -s conftest.out conftest.nl || break
7385    # 10000 chars as input seems more than enough
7386    test $lt_ac_count -gt 10 && break
7387    lt_ac_count=`expr $lt_ac_count + 1`
7388    if test $lt_ac_count -gt $lt_ac_max; then
7389      lt_ac_max=$lt_ac_count
7390      lt_cv_path_SED=$lt_ac_sed
7391    fi
7392  done
7393done
7394
7395fi
7396
7397SED=$lt_cv_path_SED
7398
7399{ echo "$as_me:$LINENO: result: $SED" >&5
7400echo "${ECHO_T}$SED" >&6; }
7401
7402
7403# Check whether --with-gnu-ld was given.
7404if test "${with_gnu_ld+set}" = set; then
7405  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
7406else
7407  with_gnu_ld=no
7408fi
7409
7410ac_prog=ld
7411if test "$GCC" = yes; then
7412  # Check if gcc -print-prog-name=ld gives a path.
7413  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
7414echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
7415  case $host in
7416  *-*-mingw*)
7417    # gcc leaves a trailing carriage return which upsets mingw
7418    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7419  *)
7420    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
7421  esac
7422  case $ac_prog in
7423    # Accept absolute paths.
7424    [\\/]* | ?:[\\/]*)
7425      re_direlt='/[^/][^/]*/\.\./'
7426      # Canonicalize the pathname of ld
7427      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
7428      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
7429	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
7430      done
7431      test -z "$LD" && LD="$ac_prog"
7432      ;;
7433  "")
7434    # If it fails, then pretend we aren't using GCC.
7435    ac_prog=ld
7436    ;;
7437  *)
7438    # If it is relative, then search for the first ld in PATH.
7439    with_gnu_ld=unknown
7440    ;;
7441  esac
7442elif test "$with_gnu_ld" = yes; then
7443  { echo "$as_me:$LINENO: checking for GNU ld" >&5
7444echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
7445else
7446  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
7447echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
7448fi
7449if test "${lt_cv_path_LD+set}" = set; then
7450  echo $ECHO_N "(cached) $ECHO_C" >&6
7451else
7452  if test -z "$LD"; then
7453  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7454  for ac_dir in $PATH; do
7455    IFS="$lt_save_ifs"
7456    test -z "$ac_dir" && ac_dir=.
7457    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
7458      lt_cv_path_LD="$ac_dir/$ac_prog"
7459      # Check to see if the program is GNU ld.  I'd rather use --version,
7460      # but apparently some variants of GNU ld only accept -v.
7461      # Break only if it was the GNU/non-GNU ld that we prefer.
7462      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
7463      *GNU* | *'with BFD'*)
7464	test "$with_gnu_ld" != no && break
7465	;;
7466      *)
7467	test "$with_gnu_ld" != yes && break
7468	;;
7469      esac
7470    fi
7471  done
7472  IFS="$lt_save_ifs"
7473else
7474  lt_cv_path_LD="$LD" # Let the user override the test with a path.
7475fi
7476fi
7477
7478LD="$lt_cv_path_LD"
7479if test -n "$LD"; then
7480  { echo "$as_me:$LINENO: result: $LD" >&5
7481echo "${ECHO_T}$LD" >&6; }
7482else
7483  { echo "$as_me:$LINENO: result: no" >&5
7484echo "${ECHO_T}no" >&6; }
7485fi
7486test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
7487echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
7488   { (exit 1); exit 1; }; }
7489{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
7490echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
7491if test "${lt_cv_prog_gnu_ld+set}" = set; then
7492  echo $ECHO_N "(cached) $ECHO_C" >&6
7493else
7494  # I'd rather use --version here, but apparently some GNU lds only accept -v.
7495case `$LD -v 2>&1 </dev/null` in
7496*GNU* | *'with BFD'*)
7497  lt_cv_prog_gnu_ld=yes
7498  ;;
7499*)
7500  lt_cv_prog_gnu_ld=no
7501  ;;
7502esac
7503fi
7504{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
7505echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
7506with_gnu_ld=$lt_cv_prog_gnu_ld
7507
7508
7509{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
7510echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
7511if test "${lt_cv_ld_reload_flag+set}" = set; then
7512  echo $ECHO_N "(cached) $ECHO_C" >&6
7513else
7514  lt_cv_ld_reload_flag='-r'
7515fi
7516{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
7517echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
7518reload_flag=$lt_cv_ld_reload_flag
7519case $reload_flag in
7520"" | " "*) ;;
7521*) reload_flag=" $reload_flag" ;;
7522esac
7523reload_cmds='$LD$reload_flag -o $output$reload_objs'
7524case $host_os in
7525  darwin*)
7526    if test "$GCC" = yes; then
7527      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7528    else
7529      reload_cmds='$LD$reload_flag -o $output$reload_objs'
7530    fi
7531    ;;
7532esac
7533
7534{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
7535echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
7536if test "${lt_cv_path_NM+set}" = set; then
7537  echo $ECHO_N "(cached) $ECHO_C" >&6
7538else
7539  if test -n "$NM"; then
7540  # Let the user override the test.
7541  lt_cv_path_NM="$NM"
7542else
7543  lt_nm_to_check="${ac_tool_prefix}nm"
7544  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
7545    lt_nm_to_check="$lt_nm_to_check nm"
7546  fi
7547  for lt_tmp_nm in $lt_nm_to_check; do
7548    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7549    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
7550      IFS="$lt_save_ifs"
7551      test -z "$ac_dir" && ac_dir=.
7552      tmp_nm="$ac_dir/$lt_tmp_nm"
7553      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
7554	# Check to see if the nm accepts a BSD-compat flag.
7555	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
7556	#   nm: unknown option "B" ignored
7557	# Tru64's nm complains that /dev/null is an invalid object file
7558	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
7559	*/dev/null* | *'Invalid file or object type'*)
7560	  lt_cv_path_NM="$tmp_nm -B"
7561	  break
7562	  ;;
7563	*)
7564	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
7565	  */dev/null*)
7566	    lt_cv_path_NM="$tmp_nm -p"
7567	    break
7568	    ;;
7569	  *)
7570	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7571	    continue # so that we can try to find one that supports BSD flags
7572	    ;;
7573	  esac
7574	  ;;
7575	esac
7576      fi
7577    done
7578    IFS="$lt_save_ifs"
7579  done
7580  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
7581fi
7582fi
7583{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
7584echo "${ECHO_T}$lt_cv_path_NM" >&6; }
7585NM="$lt_cv_path_NM"
7586
7587{ echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
7588echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
7589if test "${lt_cv_deplibs_check_method+set}" = set; then
7590  echo $ECHO_N "(cached) $ECHO_C" >&6
7591else
7592  lt_cv_file_magic_cmd='$MAGIC_CMD'
7593lt_cv_file_magic_test_file=
7594lt_cv_deplibs_check_method='unknown'
7595# Need to set the preceding variable on all platforms that support
7596# interlibrary dependencies.
7597# 'none' -- dependencies not supported.
7598# `unknown' -- same as none, but documents that we really don't know.
7599# 'pass_all' -- all dependencies passed with no checks.
7600# 'test_compile' -- check by making test program.
7601# 'file_magic [[regex]]' -- check by looking for files in library path
7602# which responds to the $file_magic_cmd with a given extended regex.
7603# If you have `file' or equivalent on your system and you're not sure
7604# whether `pass_all' will *always* work, you probably want this one.
7605
7606case $host_os in
7607aix[4-9]*)
7608  lt_cv_deplibs_check_method=pass_all
7609  ;;
7610
7611beos*)
7612  lt_cv_deplibs_check_method=pass_all
7613  ;;
7614
7615bsdi[45]*)
7616  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7617  lt_cv_file_magic_cmd='/usr/bin/file -L'
7618  lt_cv_file_magic_test_file=/shlib/libc.so
7619  ;;
7620
7621cygwin*)
7622  # func_win32_libid is a shell function defined in ltmain.sh
7623  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7624  lt_cv_file_magic_cmd='func_win32_libid'
7625  ;;
7626
7627mingw* | pw32*)
7628  # Base MSYS/MinGW do not provide the 'file' command needed by
7629  # func_win32_libid shell function, so use a weaker test based on 'objdump',
7630  # unless we find 'file', for example because we are cross-compiling.
7631  if ( file / ) >/dev/null 2>&1; then
7632    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7633    lt_cv_file_magic_cmd='func_win32_libid'
7634  else
7635    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
7636    lt_cv_file_magic_cmd='$OBJDUMP -f'
7637  fi
7638  ;;
7639
7640darwin* | rhapsody*)
7641  lt_cv_deplibs_check_method=pass_all
7642  ;;
7643
7644freebsd* | dragonfly*)
7645  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
7646    case $host_cpu in
7647    i*86 )
7648      # Not sure whether the presence of OpenBSD here was a mistake.
7649      # Let's accept both of them until this is cleared up.
7650      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7651      lt_cv_file_magic_cmd=/usr/bin/file
7652      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7653      ;;
7654    esac
7655  else
7656    lt_cv_deplibs_check_method=pass_all
7657  fi
7658  ;;
7659
7660gnu*)
7661  lt_cv_deplibs_check_method=pass_all
7662  ;;
7663
7664hpux10.20* | hpux11*)
7665  lt_cv_file_magic_cmd=/usr/bin/file
7666  case $host_cpu in
7667  ia64*)
7668    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7669    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7670    ;;
7671  hppa*64*)
7672    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
7673    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7674    ;;
7675  *)
7676    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
7677    lt_cv_file_magic_test_file=/usr/lib/libc.sl
7678    ;;
7679  esac
7680  ;;
7681
7682interix[3-9]*)
7683  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7684  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7685  ;;
7686
7687irix5* | irix6* | nonstopux*)
7688  case $LD in
7689  *-32|*"-32 ") libmagic=32-bit;;
7690  *-n32|*"-n32 ") libmagic=N32;;
7691  *-64|*"-64 ") libmagic=64-bit;;
7692  *) libmagic=never-match;;
7693  esac
7694  lt_cv_deplibs_check_method=pass_all
7695  ;;
7696
7697# This must be Linux ELF.
7698linux* | k*bsd*-gnu)
7699  lt_cv_deplibs_check_method=pass_all
7700  ;;
7701
7702netbsd* | netbsdelf*-gnu)
7703  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
7704    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7705  else
7706    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7707  fi
7708  ;;
7709
7710newos6*)
7711  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7712  lt_cv_file_magic_cmd=/usr/bin/file
7713  lt_cv_file_magic_test_file=/usr/lib/libnls.so
7714  ;;
7715
7716nto-qnx*)
7717  lt_cv_deplibs_check_method=unknown
7718  ;;
7719
7720openbsd*)
7721  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7722    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7723  else
7724    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7725  fi
7726  ;;
7727
7728osf3* | osf4* | osf5*)
7729  lt_cv_deplibs_check_method=pass_all
7730  ;;
7731
7732rdos*)
7733  lt_cv_deplibs_check_method=pass_all
7734  ;;
7735
7736solaris*)
7737  lt_cv_deplibs_check_method=pass_all
7738  ;;
7739
7740sysv4 | sysv4.3*)
7741  case $host_vendor in
7742  motorola)
7743    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
7744    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7745    ;;
7746  ncr)
7747    lt_cv_deplibs_check_method=pass_all
7748    ;;
7749  sequent)
7750    lt_cv_file_magic_cmd='/bin/file'
7751    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7752    ;;
7753  sni)
7754    lt_cv_file_magic_cmd='/bin/file'
7755    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7756    lt_cv_file_magic_test_file=/lib/libc.so
7757    ;;
7758  siemens)
7759    lt_cv_deplibs_check_method=pass_all
7760    ;;
7761  pc)
7762    lt_cv_deplibs_check_method=pass_all
7763    ;;
7764  esac
7765  ;;
7766
7767sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7768  lt_cv_deplibs_check_method=pass_all
7769  ;;
7770esac
7771
7772fi
7773{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
7774echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
7775file_magic_cmd=$lt_cv_file_magic_cmd
7776deplibs_check_method=$lt_cv_deplibs_check_method
7777test -z "$deplibs_check_method" && deplibs_check_method=unknown
7778
7779
7780
7781
7782# If no C compiler was specified, use CC.
7783LTCC=${LTCC-"$CC"}
7784
7785# If no C compiler flags were specified, use CFLAGS.
7786LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7787
7788# Allow CC to be a program name with arguments.
7789compiler=$CC
7790
7791# Check whether --enable-libtool-lock was given.
7792if test "${enable_libtool_lock+set}" = set; then
7793  enableval=$enable_libtool_lock;
7794fi
7795
7796test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7797
7798# Some flags need to be propagated to the compiler or linker for good
7799# libtool support.
7800case $host in
7801ia64-*-hpux*)
7802  # Find out which ABI we are using.
7803  echo 'int i;' > conftest.$ac_ext
7804  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7805  (eval $ac_compile) 2>&5
7806  ac_status=$?
7807  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7808  (exit $ac_status); }; then
7809    case `/usr/bin/file conftest.$ac_objext` in
7810    *ELF-32*)
7811      HPUX_IA64_MODE="32"
7812      ;;
7813    *ELF-64*)
7814      HPUX_IA64_MODE="64"
7815      ;;
7816    esac
7817  fi
7818  rm -rf conftest*
7819  ;;
7820*-*-irix6*)
7821  # Find out which ABI we are using.
7822  echo '#line 7822 "configure"' > conftest.$ac_ext
7823  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7824  (eval $ac_compile) 2>&5
7825  ac_status=$?
7826  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7827  (exit $ac_status); }; then
7828   if test "$lt_cv_prog_gnu_ld" = yes; then
7829    case `/usr/bin/file conftest.$ac_objext` in
7830    *32-bit*)
7831      LD="${LD-ld} -melf32bsmip"
7832      ;;
7833    *N32*)
7834      LD="${LD-ld} -melf32bmipn32"
7835      ;;
7836    *64-bit*)
7837      LD="${LD-ld} -melf64bmip"
7838      ;;
7839    esac
7840   else
7841    case `/usr/bin/file conftest.$ac_objext` in
7842    *32-bit*)
7843      LD="${LD-ld} -32"
7844      ;;
7845    *N32*)
7846      LD="${LD-ld} -n32"
7847      ;;
7848    *64-bit*)
7849      LD="${LD-ld} -64"
7850      ;;
7851    esac
7852   fi
7853  fi
7854  rm -rf conftest*
7855  ;;
7856
7857x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7858s390*-*linux*|sparc*-*linux*)
7859  # Find out which ABI we are using.
7860  echo 'int i;' > conftest.$ac_ext
7861  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7862  (eval $ac_compile) 2>&5
7863  ac_status=$?
7864  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7865  (exit $ac_status); }; then
7866    case `/usr/bin/file conftest.o` in
7867    *32-bit*)
7868      case $host in
7869        x86_64-*kfreebsd*-gnu)
7870          LD="${LD-ld} -m elf_i386_fbsd"
7871          ;;
7872        x86_64-*linux*)
7873          LD="${LD-ld} -m elf_i386"
7874          ;;
7875        ppc64-*linux*|powerpc64-*linux*)
7876          LD="${LD-ld} -m elf32ppclinux"
7877          ;;
7878        s390x-*linux*)
7879          LD="${LD-ld} -m elf_s390"
7880          ;;
7881        sparc64-*linux*)
7882          LD="${LD-ld} -m elf32_sparc"
7883          ;;
7884      esac
7885      ;;
7886    *64-bit*)
7887      case $host in
7888        x86_64-*kfreebsd*-gnu)
7889          LD="${LD-ld} -m elf_x86_64_fbsd"
7890          ;;
7891        x86_64-*linux*)
7892          LD="${LD-ld} -m elf_x86_64"
7893          ;;
7894        ppc*-*linux*|powerpc*-*linux*)
7895          LD="${LD-ld} -m elf64ppc"
7896          ;;
7897        s390*-*linux*)
7898          LD="${LD-ld} -m elf64_s390"
7899          ;;
7900        sparc*-*linux*)
7901          LD="${LD-ld} -m elf64_sparc"
7902          ;;
7903      esac
7904      ;;
7905    esac
7906  fi
7907  rm -rf conftest*
7908  ;;
7909
7910*-*-sco3.2v5*)
7911  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7912  SAVE_CFLAGS="$CFLAGS"
7913  CFLAGS="$CFLAGS -belf"
7914  { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
7915echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
7916if test "${lt_cv_cc_needs_belf+set}" = set; then
7917  echo $ECHO_N "(cached) $ECHO_C" >&6
7918else
7919  ac_ext=c
7920ac_cpp='$CPP $CPPFLAGS'
7921ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7922ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7923ac_compiler_gnu=$ac_cv_c_compiler_gnu
7924
7925     cat >conftest.$ac_ext <<_ACEOF
7926/* confdefs.h.  */
7927_ACEOF
7928cat confdefs.h >>conftest.$ac_ext
7929cat >>conftest.$ac_ext <<_ACEOF
7930/* end confdefs.h.  */
7931
7932int
7933main ()
7934{
7935
7936  ;
7937  return 0;
7938}
7939_ACEOF
7940rm -f conftest.$ac_objext conftest$ac_exeext
7941if { (ac_try="$ac_link"
7942case "(($ac_try" in
7943  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7944  *) ac_try_echo=$ac_try;;
7945esac
7946eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7947  (eval "$ac_link") 2>conftest.er1
7948  ac_status=$?
7949  grep -v '^ *+' conftest.er1 >conftest.err
7950  rm -f conftest.er1
7951  cat conftest.err >&5
7952  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7953  (exit $ac_status); } && {
7954	 test -z "$ac_c_werror_flag" ||
7955	 test ! -s conftest.err
7956       } && test -s conftest$ac_exeext &&
7957       $as_test_x conftest$ac_exeext; then
7958  lt_cv_cc_needs_belf=yes
7959else
7960  echo "$as_me: failed program was:" >&5
7961sed 's/^/| /' conftest.$ac_ext >&5
7962
7963	lt_cv_cc_needs_belf=no
7964fi
7965
7966rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7967      conftest$ac_exeext conftest.$ac_ext
7968     ac_ext=c
7969ac_cpp='$CPP $CPPFLAGS'
7970ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7971ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7972ac_compiler_gnu=$ac_cv_c_compiler_gnu
7973
7974fi
7975{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
7976echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
7977  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7978    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7979    CFLAGS="$SAVE_CFLAGS"
7980  fi
7981  ;;
7982sparc*-*solaris*)
7983  # Find out which ABI we are using.
7984  echo 'int i;' > conftest.$ac_ext
7985  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7986  (eval $ac_compile) 2>&5
7987  ac_status=$?
7988  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7989  (exit $ac_status); }; then
7990    case `/usr/bin/file conftest.o` in
7991    *64-bit*)
7992      case $lt_cv_prog_gnu_ld in
7993      yes*) LD="${LD-ld} -m elf64_sparc" ;;
7994      *)
7995        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7996	  LD="${LD-ld} -64"
7997	fi
7998	;;
7999      esac
8000      ;;
8001    esac
8002  fi
8003  rm -rf conftest*
8004  ;;
8005
8006
8007esac
8008
8009need_locks="$enable_libtool_lock"
8010
8011
8012
8013for ac_header in dlfcn.h
8014do
8015as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8016if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8017  { echo "$as_me:$LINENO: checking for $ac_header" >&5
8018echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8019if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8020  echo $ECHO_N "(cached) $ECHO_C" >&6
8021fi
8022ac_res=`eval echo '${'$as_ac_Header'}'`
8023	       { echo "$as_me:$LINENO: result: $ac_res" >&5
8024echo "${ECHO_T}$ac_res" >&6; }
8025else
8026  # Is the header compilable?
8027{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
8028echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8029cat >conftest.$ac_ext <<_ACEOF
8030/* confdefs.h.  */
8031_ACEOF
8032cat confdefs.h >>conftest.$ac_ext
8033cat >>conftest.$ac_ext <<_ACEOF
8034/* end confdefs.h.  */
8035$ac_includes_default
8036#include <$ac_header>
8037_ACEOF
8038rm -f conftest.$ac_objext
8039if { (ac_try="$ac_compile"
8040case "(($ac_try" in
8041  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8042  *) ac_try_echo=$ac_try;;
8043esac
8044eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8045  (eval "$ac_compile") 2>conftest.er1
8046  ac_status=$?
8047  grep -v '^ *+' conftest.er1 >conftest.err
8048  rm -f conftest.er1
8049  cat conftest.err >&5
8050  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8051  (exit $ac_status); } && {
8052	 test -z "$ac_c_werror_flag" ||
8053	 test ! -s conftest.err
8054       } && test -s conftest.$ac_objext; then
8055  ac_header_compiler=yes
8056else
8057  echo "$as_me: failed program was:" >&5
8058sed 's/^/| /' conftest.$ac_ext >&5
8059
8060	ac_header_compiler=no
8061fi
8062
8063rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8064{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8065echo "${ECHO_T}$ac_header_compiler" >&6; }
8066
8067# Is the header present?
8068{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
8069echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8070cat >conftest.$ac_ext <<_ACEOF
8071/* confdefs.h.  */
8072_ACEOF
8073cat confdefs.h >>conftest.$ac_ext
8074cat >>conftest.$ac_ext <<_ACEOF
8075/* end confdefs.h.  */
8076#include <$ac_header>
8077_ACEOF
8078if { (ac_try="$ac_cpp conftest.$ac_ext"
8079case "(($ac_try" in
8080  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8081  *) ac_try_echo=$ac_try;;
8082esac
8083eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8084  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8085  ac_status=$?
8086  grep -v '^ *+' conftest.er1 >conftest.err
8087  rm -f conftest.er1
8088  cat conftest.err >&5
8089  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8090  (exit $ac_status); } >/dev/null && {
8091	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8092	 test ! -s conftest.err
8093       }; then
8094  ac_header_preproc=yes
8095else
8096  echo "$as_me: failed program was:" >&5
8097sed 's/^/| /' conftest.$ac_ext >&5
8098
8099  ac_header_preproc=no
8100fi
8101
8102rm -f conftest.err conftest.$ac_ext
8103{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8104echo "${ECHO_T}$ac_header_preproc" >&6; }
8105
8106# So?  What about this header?
8107case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8108  yes:no: )
8109    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8110echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8111    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8112echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8113    ac_header_preproc=yes
8114    ;;
8115  no:yes:* )
8116    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8117echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8118    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
8119echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
8120    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8121echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8122    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
8123echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
8124    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8125echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8126    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8127echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8128    ( cat <<\_ASBOX
8129## --------------------------------- ##
8130## Report this to macslow@bangang.de ##
8131## --------------------------------- ##
8132_ASBOX
8133     ) | sed "s/^/$as_me: WARNING:     /" >&2
8134    ;;
8135esac
8136{ echo "$as_me:$LINENO: checking for $ac_header" >&5
8137echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8138if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8139  echo $ECHO_N "(cached) $ECHO_C" >&6
8140else
8141  eval "$as_ac_Header=\$ac_header_preproc"
8142fi
8143ac_res=`eval echo '${'$as_ac_Header'}'`
8144	       { echo "$as_me:$LINENO: result: $ac_res" >&5
8145echo "${ECHO_T}$ac_res" >&6; }
8146
8147fi
8148if test `eval echo '${'$as_ac_Header'}'` = yes; then
8149  cat >>confdefs.h <<_ACEOF
8150#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8151_ACEOF
8152
8153fi
8154
8155done
8156
8157
8158
8159
8160if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
8161    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
8162    (test "X$CXX" != "Xg++"))) ; then
8163  ac_ext=cpp
8164ac_cpp='$CXXCPP $CPPFLAGS'
8165ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8166ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8167ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8168{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
8169echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
8170if test -z "$CXXCPP"; then
8171  if test "${ac_cv_prog_CXXCPP+set}" = set; then
8172  echo $ECHO_N "(cached) $ECHO_C" >&6
8173else
8174      # Double quotes because CXXCPP needs to be expanded
8175    for CXXCPP in "$CXX -E" "/lib/cpp"
8176    do
8177      ac_preproc_ok=false
8178for ac_cxx_preproc_warn_flag in '' yes
8179do
8180  # Use a header file that comes with gcc, so configuring glibc
8181  # with a fresh cross-compiler works.
8182  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8183  # <limits.h> exists even on freestanding compilers.
8184  # On the NeXT, cc -E runs the code through the compiler's parser,
8185  # not just through cpp. "Syntax error" is here to catch this case.
8186  cat >conftest.$ac_ext <<_ACEOF
8187/* confdefs.h.  */
8188_ACEOF
8189cat confdefs.h >>conftest.$ac_ext
8190cat >>conftest.$ac_ext <<_ACEOF
8191/* end confdefs.h.  */
8192#ifdef __STDC__
8193# include <limits.h>
8194#else
8195# include <assert.h>
8196#endif
8197		     Syntax error
8198_ACEOF
8199if { (ac_try="$ac_cpp conftest.$ac_ext"
8200case "(($ac_try" in
8201  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8202  *) ac_try_echo=$ac_try;;
8203esac
8204eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8205  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8206  ac_status=$?
8207  grep -v '^ *+' conftest.er1 >conftest.err
8208  rm -f conftest.er1
8209  cat conftest.err >&5
8210  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8211  (exit $ac_status); } >/dev/null && {
8212	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
8213	 test ! -s conftest.err
8214       }; then
8215  :
8216else
8217  echo "$as_me: failed program was:" >&5
8218sed 's/^/| /' conftest.$ac_ext >&5
8219
8220  # Broken: fails on valid input.
8221continue
8222fi
8223
8224rm -f conftest.err conftest.$ac_ext
8225
8226  # OK, works on sane cases.  Now check whether nonexistent headers
8227  # can be detected and how.
8228  cat >conftest.$ac_ext <<_ACEOF
8229/* confdefs.h.  */
8230_ACEOF
8231cat confdefs.h >>conftest.$ac_ext
8232cat >>conftest.$ac_ext <<_ACEOF
8233/* end confdefs.h.  */
8234#include <ac_nonexistent.h>
8235_ACEOF
8236if { (ac_try="$ac_cpp conftest.$ac_ext"
8237case "(($ac_try" in
8238  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8239  *) ac_try_echo=$ac_try;;
8240esac
8241eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8242  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8243  ac_status=$?
8244  grep -v '^ *+' conftest.er1 >conftest.err
8245  rm -f conftest.er1
8246  cat conftest.err >&5
8247  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8248  (exit $ac_status); } >/dev/null && {
8249	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
8250	 test ! -s conftest.err
8251       }; then
8252  # Broken: success on invalid input.
8253continue
8254else
8255  echo "$as_me: failed program was:" >&5
8256sed 's/^/| /' conftest.$ac_ext >&5
8257
8258  # Passes both tests.
8259ac_preproc_ok=:
8260break
8261fi
8262
8263rm -f conftest.err conftest.$ac_ext
8264
8265done
8266# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8267rm -f conftest.err conftest.$ac_ext
8268if $ac_preproc_ok; then
8269  break
8270fi
8271
8272    done
8273    ac_cv_prog_CXXCPP=$CXXCPP
8274
8275fi
8276  CXXCPP=$ac_cv_prog_CXXCPP
8277else
8278  ac_cv_prog_CXXCPP=$CXXCPP
8279fi
8280{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
8281echo "${ECHO_T}$CXXCPP" >&6; }
8282ac_preproc_ok=false
8283for ac_cxx_preproc_warn_flag in '' yes
8284do
8285  # Use a header file that comes with gcc, so configuring glibc
8286  # with a fresh cross-compiler works.
8287  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8288  # <limits.h> exists even on freestanding compilers.
8289  # On the NeXT, cc -E runs the code through the compiler's parser,
8290  # not just through cpp. "Syntax error" is here to catch this case.
8291  cat >conftest.$ac_ext <<_ACEOF
8292/* confdefs.h.  */
8293_ACEOF
8294cat confdefs.h >>conftest.$ac_ext
8295cat >>conftest.$ac_ext <<_ACEOF
8296/* end confdefs.h.  */
8297#ifdef __STDC__
8298# include <limits.h>
8299#else
8300# include <assert.h>
8301#endif
8302		     Syntax error
8303_ACEOF
8304if { (ac_try="$ac_cpp conftest.$ac_ext"
8305case "(($ac_try" in
8306  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8307  *) ac_try_echo=$ac_try;;
8308esac
8309eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8310  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8311  ac_status=$?
8312  grep -v '^ *+' conftest.er1 >conftest.err
8313  rm -f conftest.er1
8314  cat conftest.err >&5
8315  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8316  (exit $ac_status); } >/dev/null && {
8317	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
8318	 test ! -s conftest.err
8319       }; then
8320  :
8321else
8322  echo "$as_me: failed program was:" >&5
8323sed 's/^/| /' conftest.$ac_ext >&5
8324
8325  # Broken: fails on valid input.
8326continue
8327fi
8328
8329rm -f conftest.err conftest.$ac_ext
8330
8331  # OK, works on sane cases.  Now check whether nonexistent headers
8332  # can be detected and how.
8333  cat >conftest.$ac_ext <<_ACEOF
8334/* confdefs.h.  */
8335_ACEOF
8336cat confdefs.h >>conftest.$ac_ext
8337cat >>conftest.$ac_ext <<_ACEOF
8338/* end confdefs.h.  */
8339#include <ac_nonexistent.h>
8340_ACEOF
8341if { (ac_try="$ac_cpp conftest.$ac_ext"
8342case "(($ac_try" in
8343  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8344  *) ac_try_echo=$ac_try;;
8345esac
8346eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8347  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8348  ac_status=$?
8349  grep -v '^ *+' conftest.er1 >conftest.err
8350  rm -f conftest.er1
8351  cat conftest.err >&5
8352  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8353  (exit $ac_status); } >/dev/null && {
8354	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
8355	 test ! -s conftest.err
8356       }; then
8357  # Broken: success on invalid input.
8358continue
8359else
8360  echo "$as_me: failed program was:" >&5
8361sed 's/^/| /' conftest.$ac_ext >&5
8362
8363  # Passes both tests.
8364ac_preproc_ok=:
8365break
8366fi
8367
8368rm -f conftest.err conftest.$ac_ext
8369
8370done
8371# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8372rm -f conftest.err conftest.$ac_ext
8373if $ac_preproc_ok; then
8374  :
8375else
8376  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
8377See \`config.log' for more details." >&5
8378echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
8379See \`config.log' for more details." >&2;}
8380   { (exit 1); exit 1; }; }
8381fi
8382
8383ac_ext=cpp
8384ac_cpp='$CXXCPP $CPPFLAGS'
8385ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8386ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8387ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8388
8389fi
8390
8391
8392
8393
8394
8395# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
8396# find the maximum length of command line arguments
8397{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
8398echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
8399if test "${lt_cv_sys_max_cmd_len+set}" = set; then
8400  echo $ECHO_N "(cached) $ECHO_C" >&6
8401else
8402    i=0
8403  teststring="ABCD"
8404
8405  case $build_os in
8406  msdosdjgpp*)
8407    # On DJGPP, this test can blow up pretty badly due to problems in libc
8408    # (any single argument exceeding 2000 bytes causes a buffer overrun
8409    # during glob expansion).  Even if it were fixed, the result of this
8410    # check would be larger than it should be.
8411    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
8412    ;;
8413
8414  gnu*)
8415    # Under GNU Hurd, this test is not required because there is
8416    # no limit to the length of command line arguments.
8417    # Libtool will interpret -1 as no limit whatsoever
8418    lt_cv_sys_max_cmd_len=-1;
8419    ;;
8420
8421  cygwin* | mingw*)
8422    # On Win9x/ME, this test blows up -- it succeeds, but takes
8423    # about 5 minutes as the teststring grows exponentially.
8424    # Worse, since 9x/ME are not pre-emptively multitasking,
8425    # you end up with a "frozen" computer, even though with patience
8426    # the test eventually succeeds (with a max line length of 256k).
8427    # Instead, let's just punt: use the minimum linelength reported by
8428    # all of the supported platforms: 8192 (on NT/2K/XP).
8429    lt_cv_sys_max_cmd_len=8192;
8430    ;;
8431
8432  amigaos*)
8433    # On AmigaOS with pdksh, this test takes hours, literally.
8434    # So we just punt and use a minimum line length of 8192.
8435    lt_cv_sys_max_cmd_len=8192;
8436    ;;
8437
8438  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
8439    # This has been around since 386BSD, at least.  Likely further.
8440    if test -x /sbin/sysctl; then
8441      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
8442    elif test -x /usr/sbin/sysctl; then
8443      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
8444    else
8445      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
8446    fi
8447    # And add a safety zone
8448    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
8449    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
8450    ;;
8451
8452  interix*)
8453    # We know the value 262144 and hardcode it with a safety zone (like BSD)
8454    lt_cv_sys_max_cmd_len=196608
8455    ;;
8456
8457  osf*)
8458    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
8459    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
8460    # nice to cause kernel panics so lets avoid the loop below.
8461    # First set a reasonable default.
8462    lt_cv_sys_max_cmd_len=16384
8463    #
8464    if test -x /sbin/sysconfig; then
8465      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
8466        *1*) lt_cv_sys_max_cmd_len=-1 ;;
8467      esac
8468    fi
8469    ;;
8470  sco3.2v5*)
8471    lt_cv_sys_max_cmd_len=102400
8472    ;;
8473  sysv5* | sco5v6* | sysv4.2uw2*)
8474    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
8475    if test -n "$kargmax"; then
8476      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ 	]//'`
8477    else
8478      lt_cv_sys_max_cmd_len=32768
8479    fi
8480    ;;
8481  *)
8482    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
8483    if test -n "$lt_cv_sys_max_cmd_len"; then
8484      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
8485      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
8486    else
8487      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
8488      while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
8489	       = "XX$teststring") >/dev/null 2>&1 &&
8490	      new_result=`expr "X$teststring" : ".*" 2>&1` &&
8491	      lt_cv_sys_max_cmd_len=$new_result &&
8492	      test $i != 17 # 1/2 MB should be enough
8493      do
8494        i=`expr $i + 1`
8495        teststring=$teststring$teststring
8496      done
8497      teststring=
8498      # Add a significant safety factor because C++ compilers can tack on massive
8499      # amounts of additional arguments before passing them to the linker.
8500      # It appears as though 1/2 is a usable value.
8501      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
8502    fi
8503    ;;
8504  esac
8505
8506fi
8507
8508if test -n $lt_cv_sys_max_cmd_len ; then
8509  { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
8510echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
8511else
8512  { echo "$as_me:$LINENO: result: none" >&5
8513echo "${ECHO_T}none" >&6; }
8514fi
8515
8516
8517
8518
8519
8520# Check for command to grab the raw symbol name followed by C symbol from nm.
8521{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
8522echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
8523if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
8524  echo $ECHO_N "(cached) $ECHO_C" >&6
8525else
8526
8527# These are sane defaults that work on at least a few old systems.
8528# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
8529
8530# Character class describing NM global symbol codes.
8531symcode='[BCDEGRST]'
8532
8533# Regexp to match symbols that can be accessed directly from C.
8534sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
8535
8536# Transform an extracted symbol line into a proper C declaration
8537lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
8538
8539# Transform an extracted symbol line into symbol name and symbol address
8540lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
8541
8542# Define system-specific variables.
8543case $host_os in
8544aix*)
8545  symcode='[BCDT]'
8546  ;;
8547cygwin* | mingw* | pw32*)
8548  symcode='[ABCDGISTW]'
8549  ;;
8550hpux*) # Its linker distinguishes data from code symbols
8551  if test "$host_cpu" = ia64; then
8552    symcode='[ABCDEGRST]'
8553  fi
8554  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8555  lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
8556  ;;
8557linux* | k*bsd*-gnu)
8558  if test "$host_cpu" = ia64; then
8559    symcode='[ABCDGIRSTW]'
8560    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8561    lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
8562  fi
8563  ;;
8564irix* | nonstopux*)
8565  symcode='[BCDEGRST]'
8566  ;;
8567osf*)
8568  symcode='[BCDEGQRST]'
8569  ;;
8570solaris*)
8571  symcode='[BDRT]'
8572  ;;
8573sco3.2v5*)
8574  symcode='[DT]'
8575  ;;
8576sysv4.2uw2*)
8577  symcode='[DT]'
8578  ;;
8579sysv5* | sco5v6* | unixware* | OpenUNIX*)
8580  symcode='[ABDT]'
8581  ;;
8582sysv4)
8583  symcode='[DFNSTU]'
8584  ;;
8585esac
8586
8587# Handle CRLF in mingw tool chain
8588opt_cr=
8589case $build_os in
8590mingw*)
8591  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8592  ;;
8593esac
8594
8595# If we're using GNU nm, then use its standard symbol codes.
8596case `$NM -V 2>&1` in
8597*GNU* | *'with BFD'*)
8598  symcode='[ABCDGIRSTW]' ;;
8599esac
8600
8601# Try without a prefix undercore, then with it.
8602for ac_symprfx in "" "_"; do
8603
8604  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8605  symxfrm="\\1 $ac_symprfx\\2 \\2"
8606
8607  # Write the raw and C identifiers.
8608  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8609
8610  # Check to see that the pipe works correctly.
8611  pipe_works=no
8612
8613  rm -f conftest*
8614  cat > conftest.$ac_ext <<EOF
8615#ifdef __cplusplus
8616extern "C" {
8617#endif
8618char nm_test_var;
8619void nm_test_func(){}
8620#ifdef __cplusplus
8621}
8622#endif
8623int main(){nm_test_var='a';nm_test_func();return(0);}
8624EOF
8625
8626  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8627  (eval $ac_compile) 2>&5
8628  ac_status=$?
8629  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8630  (exit $ac_status); }; then
8631    # Now try to grab the symbols.
8632    nlist=conftest.nm
8633    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
8634  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
8635  ac_status=$?
8636  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8637  (exit $ac_status); } && test -s "$nlist"; then
8638      # Try sorting and uniquifying the output.
8639      if sort "$nlist" | uniq > "$nlist"T; then
8640	mv -f "$nlist"T "$nlist"
8641      else
8642	rm -f "$nlist"T
8643      fi
8644
8645      # Make sure that we snagged all the symbols we need.
8646      if grep ' nm_test_var$' "$nlist" >/dev/null; then
8647	if grep ' nm_test_func$' "$nlist" >/dev/null; then
8648	  cat <<EOF > conftest.$ac_ext
8649#ifdef __cplusplus
8650extern "C" {
8651#endif
8652
8653EOF
8654	  # Now generate the symbol file.
8655	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
8656
8657	  cat <<EOF >> conftest.$ac_ext
8658#if defined (__STDC__) && __STDC__
8659# define lt_ptr_t void *
8660#else
8661# define lt_ptr_t char *
8662# define const
8663#endif
8664
8665/* The mapping between symbol names and symbols. */
8666const struct {
8667  const char *name;
8668  lt_ptr_t address;
8669}
8670lt_preloaded_symbols[] =
8671{
8672EOF
8673	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
8674	  cat <<\EOF >> conftest.$ac_ext
8675  {0, (lt_ptr_t) 0}
8676};
8677
8678#ifdef __cplusplus
8679}
8680#endif
8681EOF
8682	  # Now try linking the two files.
8683	  mv conftest.$ac_objext conftstm.$ac_objext
8684	  lt_save_LIBS="$LIBS"
8685	  lt_save_CFLAGS="$CFLAGS"
8686	  LIBS="conftstm.$ac_objext"
8687	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8688	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8689  (eval $ac_link) 2>&5
8690  ac_status=$?
8691  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8692  (exit $ac_status); } && test -s conftest${ac_exeext}; then
8693	    pipe_works=yes
8694	  fi
8695	  LIBS="$lt_save_LIBS"
8696	  CFLAGS="$lt_save_CFLAGS"
8697	else
8698	  echo "cannot find nm_test_func in $nlist" >&5
8699	fi
8700      else
8701	echo "cannot find nm_test_var in $nlist" >&5
8702      fi
8703    else
8704      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8705    fi
8706  else
8707    echo "$progname: failed program was:" >&5
8708    cat conftest.$ac_ext >&5
8709  fi
8710  rm -rf conftest* conftst*
8711
8712  # Do not use the global_symbol_pipe unless it works.
8713  if test "$pipe_works" = yes; then
8714    break
8715  else
8716    lt_cv_sys_global_symbol_pipe=
8717  fi
8718done
8719
8720fi
8721
8722if test -z "$lt_cv_sys_global_symbol_pipe"; then
8723  lt_cv_sys_global_symbol_to_cdecl=
8724fi
8725if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8726  { echo "$as_me:$LINENO: result: failed" >&5
8727echo "${ECHO_T}failed" >&6; }
8728else
8729  { echo "$as_me:$LINENO: result: ok" >&5
8730echo "${ECHO_T}ok" >&6; }
8731fi
8732
8733{ echo "$as_me:$LINENO: checking for objdir" >&5
8734echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
8735if test "${lt_cv_objdir+set}" = set; then
8736  echo $ECHO_N "(cached) $ECHO_C" >&6
8737else
8738  rm -f .libs 2>/dev/null
8739mkdir .libs 2>/dev/null
8740if test -d .libs; then
8741  lt_cv_objdir=.libs
8742else
8743  # MS-DOS does not allow filenames that begin with a dot.
8744  lt_cv_objdir=_libs
8745fi
8746rmdir .libs 2>/dev/null
8747fi
8748{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
8749echo "${ECHO_T}$lt_cv_objdir" >&6; }
8750objdir=$lt_cv_objdir
8751
8752
8753
8754
8755
8756case $host_os in
8757aix3*)
8758  # AIX sometimes has problems with the GCC collect2 program.  For some
8759  # reason, if we set the COLLECT_NAMES environment variable, the problems
8760  # vanish in a puff of smoke.
8761  if test "X${COLLECT_NAMES+set}" != Xset; then
8762    COLLECT_NAMES=
8763    export COLLECT_NAMES
8764  fi
8765  ;;
8766esac
8767
8768# Sed substitution that helps us do robust quoting.  It backslashifies
8769# metacharacters that are still active within double-quoted strings.
8770Xsed='sed -e 1s/^X//'
8771sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
8772
8773# Same as above, but do not quote variable references.
8774double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
8775
8776# Sed substitution to delay expansion of an escaped shell variable in a
8777# double_quote_subst'ed string.
8778delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8779
8780# Sed substitution to avoid accidental globbing in evaled expressions
8781no_glob_subst='s/\*/\\\*/g'
8782
8783# Constants:
8784rm="rm -f"
8785
8786# Global variables:
8787default_ofile=libtool
8788can_build_shared=yes
8789
8790# All known linkers require a `.a' archive for static linking (except MSVC,
8791# which needs '.lib').
8792libext=a
8793ltmain="$ac_aux_dir/ltmain.sh"
8794ofile="$default_ofile"
8795with_gnu_ld="$lt_cv_prog_gnu_ld"
8796
8797if test -n "$ac_tool_prefix"; then
8798  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8799set dummy ${ac_tool_prefix}ar; ac_word=$2
8800{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8801echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8802if test "${ac_cv_prog_AR+set}" = set; then
8803  echo $ECHO_N "(cached) $ECHO_C" >&6
8804else
8805  if test -n "$AR"; then
8806  ac_cv_prog_AR="$AR" # Let the user override the test.
8807else
8808as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8809for as_dir in $PATH
8810do
8811  IFS=$as_save_IFS
8812  test -z "$as_dir" && as_dir=.
8813  for ac_exec_ext in '' $ac_executable_extensions; do
8814  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8815    ac_cv_prog_AR="${ac_tool_prefix}ar"
8816    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8817    break 2
8818  fi
8819done
8820done
8821IFS=$as_save_IFS
8822
8823fi
8824fi
8825AR=$ac_cv_prog_AR
8826if test -n "$AR"; then
8827  { echo "$as_me:$LINENO: result: $AR" >&5
8828echo "${ECHO_T}$AR" >&6; }
8829else
8830  { echo "$as_me:$LINENO: result: no" >&5
8831echo "${ECHO_T}no" >&6; }
8832fi
8833
8834
8835fi
8836if test -z "$ac_cv_prog_AR"; then
8837  ac_ct_AR=$AR
8838  # Extract the first word of "ar", so it can be a program name with args.
8839set dummy ar; ac_word=$2
8840{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8841echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8842if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
8843  echo $ECHO_N "(cached) $ECHO_C" >&6
8844else
8845  if test -n "$ac_ct_AR"; then
8846  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
8847else
8848as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8849for as_dir in $PATH
8850do
8851  IFS=$as_save_IFS
8852  test -z "$as_dir" && as_dir=.
8853  for ac_exec_ext in '' $ac_executable_extensions; do
8854  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8855    ac_cv_prog_ac_ct_AR="ar"
8856    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8857    break 2
8858  fi
8859done
8860done
8861IFS=$as_save_IFS
8862
8863fi
8864fi
8865ac_ct_AR=$ac_cv_prog_ac_ct_AR
8866if test -n "$ac_ct_AR"; then
8867  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
8868echo "${ECHO_T}$ac_ct_AR" >&6; }
8869else
8870  { echo "$as_me:$LINENO: result: no" >&5
8871echo "${ECHO_T}no" >&6; }
8872fi
8873
8874  if test "x$ac_ct_AR" = x; then
8875    AR="false"
8876  else
8877    case $cross_compiling:$ac_tool_warned in
8878yes:)
8879{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8880whose name does not start with the host triplet.  If you think this
8881configuration is useful to you, please write to autoconf@gnu.org." >&5
8882echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8883whose name does not start with the host triplet.  If you think this
8884configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8885ac_tool_warned=yes ;;
8886esac
8887    AR=$ac_ct_AR
8888  fi
8889else
8890  AR="$ac_cv_prog_AR"
8891fi
8892
8893if test -n "$ac_tool_prefix"; then
8894  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8895set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8896{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8897echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8898if test "${ac_cv_prog_RANLIB+set}" = set; then
8899  echo $ECHO_N "(cached) $ECHO_C" >&6
8900else
8901  if test -n "$RANLIB"; then
8902  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8903else
8904as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8905for as_dir in $PATH
8906do
8907  IFS=$as_save_IFS
8908  test -z "$as_dir" && as_dir=.
8909  for ac_exec_ext in '' $ac_executable_extensions; do
8910  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8911    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
8912    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8913    break 2
8914  fi
8915done
8916done
8917IFS=$as_save_IFS
8918
8919fi
8920fi
8921RANLIB=$ac_cv_prog_RANLIB
8922if test -n "$RANLIB"; then
8923  { echo "$as_me:$LINENO: result: $RANLIB" >&5
8924echo "${ECHO_T}$RANLIB" >&6; }
8925else
8926  { echo "$as_me:$LINENO: result: no" >&5
8927echo "${ECHO_T}no" >&6; }
8928fi
8929
8930
8931fi
8932if test -z "$ac_cv_prog_RANLIB"; then
8933  ac_ct_RANLIB=$RANLIB
8934  # Extract the first word of "ranlib", so it can be a program name with args.
8935set dummy ranlib; ac_word=$2
8936{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8937echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8938if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
8939  echo $ECHO_N "(cached) $ECHO_C" >&6
8940else
8941  if test -n "$ac_ct_RANLIB"; then
8942  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8943else
8944as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8945for as_dir in $PATH
8946do
8947  IFS=$as_save_IFS
8948  test -z "$as_dir" && as_dir=.
8949  for ac_exec_ext in '' $ac_executable_extensions; do
8950  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8951    ac_cv_prog_ac_ct_RANLIB="ranlib"
8952    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8953    break 2
8954  fi
8955done
8956done
8957IFS=$as_save_IFS
8958
8959fi
8960fi
8961ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8962if test -n "$ac_ct_RANLIB"; then
8963  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
8964echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
8965else
8966  { echo "$as_me:$LINENO: result: no" >&5
8967echo "${ECHO_T}no" >&6; }
8968fi
8969
8970  if test "x$ac_ct_RANLIB" = x; then
8971    RANLIB=":"
8972  else
8973    case $cross_compiling:$ac_tool_warned in
8974yes:)
8975{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8976whose name does not start with the host triplet.  If you think this
8977configuration is useful to you, please write to autoconf@gnu.org." >&5
8978echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8979whose name does not start with the host triplet.  If you think this
8980configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8981ac_tool_warned=yes ;;
8982esac
8983    RANLIB=$ac_ct_RANLIB
8984  fi
8985else
8986  RANLIB="$ac_cv_prog_RANLIB"
8987fi
8988
8989if test -n "$ac_tool_prefix"; then
8990  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
8991set dummy ${ac_tool_prefix}strip; ac_word=$2
8992{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8993echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8994if test "${ac_cv_prog_STRIP+set}" = set; then
8995  echo $ECHO_N "(cached) $ECHO_C" >&6
8996else
8997  if test -n "$STRIP"; then
8998  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8999else
9000as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9001for as_dir in $PATH
9002do
9003  IFS=$as_save_IFS
9004  test -z "$as_dir" && as_dir=.
9005  for ac_exec_ext in '' $ac_executable_extensions; do
9006  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9007    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
9008    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9009    break 2
9010  fi
9011done
9012done
9013IFS=$as_save_IFS
9014
9015fi
9016fi
9017STRIP=$ac_cv_prog_STRIP
9018if test -n "$STRIP"; then
9019  { echo "$as_me:$LINENO: result: $STRIP" >&5
9020echo "${ECHO_T}$STRIP" >&6; }
9021else
9022  { echo "$as_me:$LINENO: result: no" >&5
9023echo "${ECHO_T}no" >&6; }
9024fi
9025
9026
9027fi
9028if test -z "$ac_cv_prog_STRIP"; then
9029  ac_ct_STRIP=$STRIP
9030  # Extract the first word of "strip", so it can be a program name with args.
9031set dummy strip; ac_word=$2
9032{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9033echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9034if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
9035  echo $ECHO_N "(cached) $ECHO_C" >&6
9036else
9037  if test -n "$ac_ct_STRIP"; then
9038  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
9039else
9040as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9041for as_dir in $PATH
9042do
9043  IFS=$as_save_IFS
9044  test -z "$as_dir" && as_dir=.
9045  for ac_exec_ext in '' $ac_executable_extensions; do
9046  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9047    ac_cv_prog_ac_ct_STRIP="strip"
9048    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9049    break 2
9050  fi
9051done
9052done
9053IFS=$as_save_IFS
9054
9055fi
9056fi
9057ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
9058if test -n "$ac_ct_STRIP"; then
9059  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
9060echo "${ECHO_T}$ac_ct_STRIP" >&6; }
9061else
9062  { echo "$as_me:$LINENO: result: no" >&5
9063echo "${ECHO_T}no" >&6; }
9064fi
9065
9066  if test "x$ac_ct_STRIP" = x; then
9067    STRIP=":"
9068  else
9069    case $cross_compiling:$ac_tool_warned in
9070yes:)
9071{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
9072whose name does not start with the host triplet.  If you think this
9073configuration is useful to you, please write to autoconf@gnu.org." >&5
9074echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
9075whose name does not start with the host triplet.  If you think this
9076configuration is useful to you, please write to autoconf@gnu.org." >&2;}
9077ac_tool_warned=yes ;;
9078esac
9079    STRIP=$ac_ct_STRIP
9080  fi
9081else
9082  STRIP="$ac_cv_prog_STRIP"
9083fi
9084
9085
9086old_CC="$CC"
9087old_CFLAGS="$CFLAGS"
9088
9089# Set sane defaults for various variables
9090test -z "$AR" && AR=ar
9091test -z "$AR_FLAGS" && AR_FLAGS=cru
9092test -z "$AS" && AS=as
9093test -z "$CC" && CC=cc
9094test -z "$LTCC" && LTCC=$CC
9095test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9096test -z "$DLLTOOL" && DLLTOOL=dlltool
9097test -z "$LD" && LD=ld
9098test -z "$LN_S" && LN_S="ln -s"
9099test -z "$MAGIC_CMD" && MAGIC_CMD=file
9100test -z "$NM" && NM=nm
9101test -z "$SED" && SED=sed
9102test -z "$OBJDUMP" && OBJDUMP=objdump
9103test -z "$RANLIB" && RANLIB=:
9104test -z "$STRIP" && STRIP=:
9105test -z "$ac_objext" && ac_objext=o
9106
9107# Determine commands to create old-style static archives.
9108old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
9109old_postinstall_cmds='chmod 644 $oldlib'
9110old_postuninstall_cmds=
9111
9112if test -n "$RANLIB"; then
9113  case $host_os in
9114  openbsd*)
9115    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
9116    ;;
9117  *)
9118    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
9119    ;;
9120  esac
9121  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
9122fi
9123
9124for cc_temp in $compiler""; do
9125  case $cc_temp in
9126    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9127    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9128    \-*) ;;
9129    *) break;;
9130  esac
9131done
9132cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
9133
9134
9135# Only perform the check for file, if the check method requires it
9136case $deplibs_check_method in
9137file_magic*)
9138  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9139    { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
9140echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
9141if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
9142  echo $ECHO_N "(cached) $ECHO_C" >&6
9143else
9144  case $MAGIC_CMD in
9145[\\/*] |  ?:[\\/]*)
9146  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9147  ;;
9148*)
9149  lt_save_MAGIC_CMD="$MAGIC_CMD"
9150  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9151  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9152  for ac_dir in $ac_dummy; do
9153    IFS="$lt_save_ifs"
9154    test -z "$ac_dir" && ac_dir=.
9155    if test -f $ac_dir/${ac_tool_prefix}file; then
9156      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9157      if test -n "$file_magic_test_file"; then
9158	case $deplibs_check_method in
9159	"file_magic "*)
9160	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9161	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9162	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9163	    $EGREP "$file_magic_regex" > /dev/null; then
9164	    :
9165	  else
9166	    cat <<EOF 1>&2
9167
9168*** Warning: the command libtool uses to detect shared libraries,
9169*** $file_magic_cmd, produces output that libtool cannot recognize.
9170*** The result is that libtool may fail to recognize shared libraries
9171*** as such.  This will affect the creation of libtool libraries that
9172*** depend on shared libraries, but programs linked with such libtool
9173*** libraries will work regardless of this problem.  Nevertheless, you
9174*** may want to report the problem to your system manager and/or to
9175*** bug-libtool@gnu.org
9176
9177EOF
9178	  fi ;;
9179	esac
9180      fi
9181      break
9182    fi
9183  done
9184  IFS="$lt_save_ifs"
9185  MAGIC_CMD="$lt_save_MAGIC_CMD"
9186  ;;
9187esac
9188fi
9189
9190MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9191if test -n "$MAGIC_CMD"; then
9192  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
9193echo "${ECHO_T}$MAGIC_CMD" >&6; }
9194else
9195  { echo "$as_me:$LINENO: result: no" >&5
9196echo "${ECHO_T}no" >&6; }
9197fi
9198
9199if test -z "$lt_cv_path_MAGIC_CMD"; then
9200  if test -n "$ac_tool_prefix"; then
9201    { echo "$as_me:$LINENO: checking for file" >&5
9202echo $ECHO_N "checking for file... $ECHO_C" >&6; }
9203if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
9204  echo $ECHO_N "(cached) $ECHO_C" >&6
9205else
9206  case $MAGIC_CMD in
9207[\\/*] |  ?:[\\/]*)
9208  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9209  ;;
9210*)
9211  lt_save_MAGIC_CMD="$MAGIC_CMD"
9212  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9213  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9214  for ac_dir in $ac_dummy; do
9215    IFS="$lt_save_ifs"
9216    test -z "$ac_dir" && ac_dir=.
9217    if test -f $ac_dir/file; then
9218      lt_cv_path_MAGIC_CMD="$ac_dir/file"
9219      if test -n "$file_magic_test_file"; then
9220	case $deplibs_check_method in
9221	"file_magic "*)
9222	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9223	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9224	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9225	    $EGREP "$file_magic_regex" > /dev/null; then
9226	    :
9227	  else
9228	    cat <<EOF 1>&2
9229
9230*** Warning: the command libtool uses to detect shared libraries,
9231*** $file_magic_cmd, produces output that libtool cannot recognize.
9232*** The result is that libtool may fail to recognize shared libraries
9233*** as such.  This will affect the creation of libtool libraries that
9234*** depend on shared libraries, but programs linked with such libtool
9235*** libraries will work regardless of this problem.  Nevertheless, you
9236*** may want to report the problem to your system manager and/or to
9237*** bug-libtool@gnu.org
9238
9239EOF
9240	  fi ;;
9241	esac
9242      fi
9243      break
9244    fi
9245  done
9246  IFS="$lt_save_ifs"
9247  MAGIC_CMD="$lt_save_MAGIC_CMD"
9248  ;;
9249esac
9250fi
9251
9252MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9253if test -n "$MAGIC_CMD"; then
9254  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
9255echo "${ECHO_T}$MAGIC_CMD" >&6; }
9256else
9257  { echo "$as_me:$LINENO: result: no" >&5
9258echo "${ECHO_T}no" >&6; }
9259fi
9260
9261  else
9262    MAGIC_CMD=:
9263  fi
9264fi
9265
9266  fi
9267  ;;
9268esac
9269
9270
9271  case $host_os in
9272    rhapsody* | darwin*)
9273    if test -n "$ac_tool_prefix"; then
9274  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
9275set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
9276{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9277echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9278if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
9279  echo $ECHO_N "(cached) $ECHO_C" >&6
9280else
9281  if test -n "$DSYMUTIL"; then
9282  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
9283else
9284as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9285for as_dir in $PATH
9286do
9287  IFS=$as_save_IFS
9288  test -z "$as_dir" && as_dir=.
9289  for ac_exec_ext in '' $ac_executable_extensions; do
9290  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9291    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
9292    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9293    break 2
9294  fi
9295done
9296done
9297IFS=$as_save_IFS
9298
9299fi
9300fi
9301DSYMUTIL=$ac_cv_prog_DSYMUTIL
9302if test -n "$DSYMUTIL"; then
9303  { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
9304echo "${ECHO_T}$DSYMUTIL" >&6; }
9305else
9306  { echo "$as_me:$LINENO: result: no" >&5
9307echo "${ECHO_T}no" >&6; }
9308fi
9309
9310
9311fi
9312if test -z "$ac_cv_prog_DSYMUTIL"; then
9313  ac_ct_DSYMUTIL=$DSYMUTIL
9314  # Extract the first word of "dsymutil", so it can be a program name with args.
9315set dummy dsymutil; ac_word=$2
9316{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9317echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9318if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
9319  echo $ECHO_N "(cached) $ECHO_C" >&6
9320else
9321  if test -n "$ac_ct_DSYMUTIL"; then
9322  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
9323else
9324as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9325for as_dir in $PATH
9326do
9327  IFS=$as_save_IFS
9328  test -z "$as_dir" && as_dir=.
9329  for ac_exec_ext in '' $ac_executable_extensions; do
9330  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9331    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
9332    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9333    break 2
9334  fi
9335done
9336done
9337IFS=$as_save_IFS
9338
9339fi
9340fi
9341ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
9342if test -n "$ac_ct_DSYMUTIL"; then
9343  { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
9344echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
9345else
9346  { echo "$as_me:$LINENO: result: no" >&5
9347echo "${ECHO_T}no" >&6; }
9348fi
9349
9350  if test "x$ac_ct_DSYMUTIL" = x; then
9351    DSYMUTIL=":"
9352  else
9353    case $cross_compiling:$ac_tool_warned in
9354yes:)
9355{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
9356whose name does not start with the host triplet.  If you think this
9357configuration is useful to you, please write to autoconf@gnu.org." >&5
9358echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
9359whose name does not start with the host triplet.  If you think this
9360configuration is useful to you, please write to autoconf@gnu.org." >&2;}
9361ac_tool_warned=yes ;;
9362esac
9363    DSYMUTIL=$ac_ct_DSYMUTIL
9364  fi
9365else
9366  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
9367fi
9368
9369    if test -n "$ac_tool_prefix"; then
9370  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
9371set dummy ${ac_tool_prefix}nmedit; ac_word=$2
9372{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9373echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9374if test "${ac_cv_prog_NMEDIT+set}" = set; then
9375  echo $ECHO_N "(cached) $ECHO_C" >&6
9376else
9377  if test -n "$NMEDIT"; then
9378  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
9379else
9380as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9381for as_dir in $PATH
9382do
9383  IFS=$as_save_IFS
9384  test -z "$as_dir" && as_dir=.
9385  for ac_exec_ext in '' $ac_executable_extensions; do
9386  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9387    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
9388    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9389    break 2
9390  fi
9391done
9392done
9393IFS=$as_save_IFS
9394
9395fi
9396fi
9397NMEDIT=$ac_cv_prog_NMEDIT
9398if test -n "$NMEDIT"; then
9399  { echo "$as_me:$LINENO: result: $NMEDIT" >&5
9400echo "${ECHO_T}$NMEDIT" >&6; }
9401else
9402  { echo "$as_me:$LINENO: result: no" >&5
9403echo "${ECHO_T}no" >&6; }
9404fi
9405
9406
9407fi
9408if test -z "$ac_cv_prog_NMEDIT"; then
9409  ac_ct_NMEDIT=$NMEDIT
9410  # Extract the first word of "nmedit", so it can be a program name with args.
9411set dummy nmedit; ac_word=$2
9412{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9413echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9414if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
9415  echo $ECHO_N "(cached) $ECHO_C" >&6
9416else
9417  if test -n "$ac_ct_NMEDIT"; then
9418  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
9419else
9420as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9421for as_dir in $PATH
9422do
9423  IFS=$as_save_IFS
9424  test -z "$as_dir" && as_dir=.
9425  for ac_exec_ext in '' $ac_executable_extensions; do
9426  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9427    ac_cv_prog_ac_ct_NMEDIT="nmedit"
9428    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9429    break 2
9430  fi
9431done
9432done
9433IFS=$as_save_IFS
9434
9435fi
9436fi
9437ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
9438if test -n "$ac_ct_NMEDIT"; then
9439  { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
9440echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
9441else
9442  { echo "$as_me:$LINENO: result: no" >&5
9443echo "${ECHO_T}no" >&6; }
9444fi
9445
9446  if test "x$ac_ct_NMEDIT" = x; then
9447    NMEDIT=":"
9448  else
9449    case $cross_compiling:$ac_tool_warned in
9450yes:)
9451{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
9452whose name does not start with the host triplet.  If you think this
9453configuration is useful to you, please write to autoconf@gnu.org." >&5
9454echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
9455whose name does not start with the host triplet.  If you think this
9456configuration is useful to you, please write to autoconf@gnu.org." >&2;}
9457ac_tool_warned=yes ;;
9458esac
9459    NMEDIT=$ac_ct_NMEDIT
9460  fi
9461else
9462  NMEDIT="$ac_cv_prog_NMEDIT"
9463fi
9464
9465
9466    { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
9467echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
9468if test "${lt_cv_apple_cc_single_mod+set}" = set; then
9469  echo $ECHO_N "(cached) $ECHO_C" >&6
9470else
9471  lt_cv_apple_cc_single_mod=no
9472      if test -z "${LT_MULTI_MODULE}"; then
9473   # By default we will add the -single_module flag. You can override
9474   # by either setting the environment variable LT_MULTI_MODULE
9475   # non-empty at configure time, or by adding -multi_module to the
9476   # link flags.
9477   echo "int foo(void){return 1;}" > conftest.c
9478   $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9479     -dynamiclib ${wl}-single_module conftest.c
9480   if test -f libconftest.dylib; then
9481     lt_cv_apple_cc_single_mod=yes
9482     rm -rf libconftest.dylib*
9483   fi
9484   rm conftest.c
9485      fi
9486fi
9487{ echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
9488echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
9489    { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
9490echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
9491if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
9492  echo $ECHO_N "(cached) $ECHO_C" >&6
9493else
9494  lt_cv_ld_exported_symbols_list=no
9495      save_LDFLAGS=$LDFLAGS
9496      echo "_main" > conftest.sym
9497      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9498      cat >conftest.$ac_ext <<_ACEOF
9499/* confdefs.h.  */
9500_ACEOF
9501cat confdefs.h >>conftest.$ac_ext
9502cat >>conftest.$ac_ext <<_ACEOF
9503/* end confdefs.h.  */
9504
9505int
9506main ()
9507{
9508
9509  ;
9510  return 0;
9511}
9512_ACEOF
9513rm -f conftest.$ac_objext conftest$ac_exeext
9514if { (ac_try="$ac_link"
9515case "(($ac_try" in
9516  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9517  *) ac_try_echo=$ac_try;;
9518esac
9519eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9520  (eval "$ac_link") 2>conftest.er1
9521  ac_status=$?
9522  grep -v '^ *+' conftest.er1 >conftest.err
9523  rm -f conftest.er1
9524  cat conftest.err >&5
9525  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9526  (exit $ac_status); } && {
9527	 test -z "$ac_c_werror_flag" ||
9528	 test ! -s conftest.err
9529       } && test -s conftest$ac_exeext &&
9530       $as_test_x conftest$ac_exeext; then
9531  lt_cv_ld_exported_symbols_list=yes
9532else
9533  echo "$as_me: failed program was:" >&5
9534sed 's/^/| /' conftest.$ac_ext >&5
9535
9536	lt_cv_ld_exported_symbols_list=no
9537fi
9538
9539rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9540      conftest$ac_exeext conftest.$ac_ext
9541   LDFLAGS="$save_LDFLAGS"
9542
9543fi
9544{ echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
9545echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
9546    case $host_os in
9547    rhapsody* | darwin1.[0123])
9548      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
9549    darwin1.*)
9550     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9551    darwin*)
9552      # if running on 10.5 or later, the deployment target defaults
9553      # to the OS version, if on x86, and 10.4, the deployment
9554      # target defaults to 10.4. Don't you love it?
9555      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9556   10.0,*86*-darwin8*|10.0,*-darwin[91]*)
9557     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9558   10.[012]*)
9559     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9560   10.*)
9561     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9562      esac
9563    ;;
9564  esac
9565    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9566      _lt_dar_single_mod='$single_module'
9567    fi
9568    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9569      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9570    else
9571      _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
9572    fi
9573    if test "$DSYMUTIL" != ":"; then
9574      _lt_dsymutil="~$DSYMUTIL \$lib || :"
9575    else
9576      _lt_dsymutil=
9577    fi
9578    ;;
9579  esac
9580
9581
9582enable_dlopen=no
9583enable_win32_dll=no
9584
9585# Check whether --enable-libtool-lock was given.
9586if test "${enable_libtool_lock+set}" = set; then
9587  enableval=$enable_libtool_lock;
9588fi
9589
9590test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
9591
9592
9593# Check whether --with-pic was given.
9594if test "${with_pic+set}" = set; then
9595  withval=$with_pic; pic_mode="$withval"
9596else
9597  pic_mode=default
9598fi
9599
9600test -z "$pic_mode" && pic_mode=default
9601
9602# Use C for the default configuration in the libtool script
9603tagname=
9604lt_save_CC="$CC"
9605ac_ext=c
9606ac_cpp='$CPP $CPPFLAGS'
9607ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9608ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9609ac_compiler_gnu=$ac_cv_c_compiler_gnu
9610
9611
9612# Source file extension for C test sources.
9613ac_ext=c
9614
9615# Object file extension for compiled C test sources.
9616objext=o
9617objext=$objext
9618
9619# Code to be used in simple compile tests
9620lt_simple_compile_test_code="int some_variable = 0;"
9621
9622# Code to be used in simple link tests
9623lt_simple_link_test_code='int main(){return(0);}'
9624
9625
9626# If no C compiler was specified, use CC.
9627LTCC=${LTCC-"$CC"}
9628
9629# If no C compiler flags were specified, use CFLAGS.
9630LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9631
9632# Allow CC to be a program name with arguments.
9633compiler=$CC
9634
9635
9636# save warnings/boilerplate of simple test code
9637ac_outfile=conftest.$ac_objext
9638echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9639eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9640_lt_compiler_boilerplate=`cat conftest.err`
9641$rm conftest*
9642
9643ac_outfile=conftest.$ac_objext
9644echo "$lt_simple_link_test_code" >conftest.$ac_ext
9645eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9646_lt_linker_boilerplate=`cat conftest.err`
9647$rm -r conftest*
9648
9649
9650
9651lt_prog_compiler_no_builtin_flag=
9652
9653if test "$GCC" = yes; then
9654  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
9655
9656
9657{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9658echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
9659if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
9660  echo $ECHO_N "(cached) $ECHO_C" >&6
9661else
9662  lt_cv_prog_compiler_rtti_exceptions=no
9663  ac_outfile=conftest.$ac_objext
9664   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9665   lt_compiler_flag="-fno-rtti -fno-exceptions"
9666   # Insert the option either (1) after the last *FLAGS variable, or
9667   # (2) before a word containing "conftest.", or (3) at the end.
9668   # Note that $ac_compile itself does not contain backslashes and begins
9669   # with a dollar sign (not a hyphen), so the echo should work correctly.
9670   # The option is referenced via a variable to avoid confusing sed.
9671   lt_compile=`echo "$ac_compile" | $SED \
9672   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9673   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9674   -e 's:$: $lt_compiler_flag:'`
9675   (eval echo "\"\$as_me:9675: $lt_compile\"" >&5)
9676   (eval "$lt_compile" 2>conftest.err)
9677   ac_status=$?
9678   cat conftest.err >&5
9679   echo "$as_me:9679: \$? = $ac_status" >&5
9680   if (exit $ac_status) && test -s "$ac_outfile"; then
9681     # The compiler can only warn and ignore the option if not recognized
9682     # So say no if there are warnings other than the usual output.
9683     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9684     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9685     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9686       lt_cv_prog_compiler_rtti_exceptions=yes
9687     fi
9688   fi
9689   $rm conftest*
9690
9691fi
9692{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9693echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9694
9695if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9696    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9697else
9698    :
9699fi
9700
9701fi
9702
9703lt_prog_compiler_wl=
9704lt_prog_compiler_pic=
9705lt_prog_compiler_static=
9706
9707{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
9708echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
9709
9710  if test "$GCC" = yes; then
9711    lt_prog_compiler_wl='-Wl,'
9712    lt_prog_compiler_static='-static'
9713
9714    case $host_os in
9715      aix*)
9716      # All AIX code is PIC.
9717      if test "$host_cpu" = ia64; then
9718	# AIX 5 now supports IA64 processor
9719	lt_prog_compiler_static='-Bstatic'
9720      fi
9721      ;;
9722
9723    amigaos*)
9724      # FIXME: we need at least 68020 code to build shared libraries, but
9725      # adding the `-m68020' flag to GCC prevents building anything better,
9726      # like `-m68040'.
9727      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9728      ;;
9729
9730    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9731      # PIC is the default for these OSes.
9732      ;;
9733
9734    mingw* | cygwin* | pw32* | os2*)
9735      # This hack is so that the source file can tell whether it is being
9736      # built for inclusion in a dll (and should export symbols for example).
9737      # Although the cygwin gcc ignores -fPIC, still need this for old-style
9738      # (--disable-auto-import) libraries
9739      lt_prog_compiler_pic='-DDLL_EXPORT'
9740      ;;
9741
9742    darwin* | rhapsody*)
9743      # PIC is the default on this platform
9744      # Common symbols not allowed in MH_DYLIB files
9745      lt_prog_compiler_pic='-fno-common'
9746      ;;
9747
9748    interix[3-9]*)
9749      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9750      # Instead, we relocate shared libraries at runtime.
9751      ;;
9752
9753    msdosdjgpp*)
9754      # Just because we use GCC doesn't mean we suddenly get shared libraries
9755      # on systems that don't support them.
9756      lt_prog_compiler_can_build_shared=no
9757      enable_shared=no
9758      ;;
9759
9760    sysv4*MP*)
9761      if test -d /usr/nec; then
9762	lt_prog_compiler_pic=-Kconform_pic
9763      fi
9764      ;;
9765
9766    hpux*)
9767      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9768      # not for PA HP-UX.
9769      case $host_cpu in
9770      hppa*64*|ia64*)
9771	# +Z the default
9772	;;
9773      *)
9774	lt_prog_compiler_pic='-fPIC'
9775	;;
9776      esac
9777      ;;
9778
9779    *)
9780      lt_prog_compiler_pic='-fPIC'
9781      ;;
9782    esac
9783  else
9784    # PORTME Check for flag to pass linker flags through the system compiler.
9785    case $host_os in
9786    aix*)
9787      lt_prog_compiler_wl='-Wl,'
9788      if test "$host_cpu" = ia64; then
9789	# AIX 5 now supports IA64 processor
9790	lt_prog_compiler_static='-Bstatic'
9791      else
9792	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9793      fi
9794      ;;
9795      darwin*)
9796        # PIC is the default on this platform
9797        # Common symbols not allowed in MH_DYLIB files
9798       case $cc_basename in
9799         xlc*)
9800         lt_prog_compiler_pic='-qnocommon'
9801         lt_prog_compiler_wl='-Wl,'
9802         ;;
9803       esac
9804       ;;
9805
9806    mingw* | cygwin* | pw32* | os2*)
9807      # This hack is so that the source file can tell whether it is being
9808      # built for inclusion in a dll (and should export symbols for example).
9809      lt_prog_compiler_pic='-DDLL_EXPORT'
9810      ;;
9811
9812    hpux9* | hpux10* | hpux11*)
9813      lt_prog_compiler_wl='-Wl,'
9814      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9815      # not for PA HP-UX.
9816      case $host_cpu in
9817      hppa*64*|ia64*)
9818	# +Z the default
9819	;;
9820      *)
9821	lt_prog_compiler_pic='+Z'
9822	;;
9823      esac
9824      # Is there a better lt_prog_compiler_static that works with the bundled CC?
9825      lt_prog_compiler_static='${wl}-a ${wl}archive'
9826      ;;
9827
9828    irix5* | irix6* | nonstopux*)
9829      lt_prog_compiler_wl='-Wl,'
9830      # PIC (with -KPIC) is the default.
9831      lt_prog_compiler_static='-non_shared'
9832      ;;
9833
9834    newsos6)
9835      lt_prog_compiler_pic='-KPIC'
9836      lt_prog_compiler_static='-Bstatic'
9837      ;;
9838
9839    linux* | k*bsd*-gnu)
9840      case $cc_basename in
9841      icc* | ecc*)
9842	lt_prog_compiler_wl='-Wl,'
9843	lt_prog_compiler_pic='-KPIC'
9844	lt_prog_compiler_static='-static'
9845        ;;
9846      pgcc* | pgf77* | pgf90* | pgf95*)
9847        # Portland Group compilers (*not* the Pentium gcc compiler,
9848	# which looks to be a dead project)
9849	lt_prog_compiler_wl='-Wl,'
9850	lt_prog_compiler_pic='-fpic'
9851	lt_prog_compiler_static='-Bstatic'
9852        ;;
9853      ccc*)
9854        lt_prog_compiler_wl='-Wl,'
9855        # All Alpha code is PIC.
9856        lt_prog_compiler_static='-non_shared'
9857        ;;
9858      *)
9859        case `$CC -V 2>&1 | sed 5q` in
9860	*Sun\ C*)
9861	  # Sun C 5.9
9862	  lt_prog_compiler_pic='-KPIC'
9863	  lt_prog_compiler_static='-Bstatic'
9864	  lt_prog_compiler_wl='-Wl,'
9865	  ;;
9866	*Sun\ F*)
9867	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
9868	  lt_prog_compiler_pic='-KPIC'
9869	  lt_prog_compiler_static='-Bstatic'
9870	  lt_prog_compiler_wl=''
9871	  ;;
9872	esac
9873	;;
9874      esac
9875      ;;
9876
9877    osf3* | osf4* | osf5*)
9878      lt_prog_compiler_wl='-Wl,'
9879      # All OSF/1 code is PIC.
9880      lt_prog_compiler_static='-non_shared'
9881      ;;
9882
9883    rdos*)
9884      lt_prog_compiler_static='-non_shared'
9885      ;;
9886
9887    solaris*)
9888      lt_prog_compiler_pic='-KPIC'
9889      lt_prog_compiler_static='-Bstatic'
9890      case $cc_basename in
9891      f77* | f90* | f95*)
9892	lt_prog_compiler_wl='-Qoption ld ';;
9893      *)
9894	lt_prog_compiler_wl='-Wl,';;
9895      esac
9896      ;;
9897
9898    sunos4*)
9899      lt_prog_compiler_wl='-Qoption ld '
9900      lt_prog_compiler_pic='-PIC'
9901      lt_prog_compiler_static='-Bstatic'
9902      ;;
9903
9904    sysv4 | sysv4.2uw2* | sysv4.3*)
9905      lt_prog_compiler_wl='-Wl,'
9906      lt_prog_compiler_pic='-KPIC'
9907      lt_prog_compiler_static='-Bstatic'
9908      ;;
9909
9910    sysv4*MP*)
9911      if test -d /usr/nec ;then
9912	lt_prog_compiler_pic='-Kconform_pic'
9913	lt_prog_compiler_static='-Bstatic'
9914      fi
9915      ;;
9916
9917    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9918      lt_prog_compiler_wl='-Wl,'
9919      lt_prog_compiler_pic='-KPIC'
9920      lt_prog_compiler_static='-Bstatic'
9921      ;;
9922
9923    unicos*)
9924      lt_prog_compiler_wl='-Wl,'
9925      lt_prog_compiler_can_build_shared=no
9926      ;;
9927
9928    uts4*)
9929      lt_prog_compiler_pic='-pic'
9930      lt_prog_compiler_static='-Bstatic'
9931      ;;
9932
9933    *)
9934      lt_prog_compiler_can_build_shared=no
9935      ;;
9936    esac
9937  fi
9938
9939{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
9940echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
9941
9942#
9943# Check to make sure the PIC flag actually works.
9944#
9945if test -n "$lt_prog_compiler_pic"; then
9946
9947{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9948echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
9949if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
9950  echo $ECHO_N "(cached) $ECHO_C" >&6
9951else
9952  lt_cv_prog_compiler_pic_works=no
9953  ac_outfile=conftest.$ac_objext
9954   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9955   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9956   # Insert the option either (1) after the last *FLAGS variable, or
9957   # (2) before a word containing "conftest.", or (3) at the end.
9958   # Note that $ac_compile itself does not contain backslashes and begins
9959   # with a dollar sign (not a hyphen), so the echo should work correctly.
9960   # The option is referenced via a variable to avoid confusing sed.
9961   lt_compile=`echo "$ac_compile" | $SED \
9962   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9963   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9964   -e 's:$: $lt_compiler_flag:'`
9965   (eval echo "\"\$as_me:9965: $lt_compile\"" >&5)
9966   (eval "$lt_compile" 2>conftest.err)
9967   ac_status=$?
9968   cat conftest.err >&5
9969   echo "$as_me:9969: \$? = $ac_status" >&5
9970   if (exit $ac_status) && test -s "$ac_outfile"; then
9971     # The compiler can only warn and ignore the option if not recognized
9972     # So say no if there are warnings other than the usual output.
9973     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9974     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9975     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9976       lt_cv_prog_compiler_pic_works=yes
9977     fi
9978   fi
9979   $rm conftest*
9980
9981fi
9982{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
9983echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
9984
9985if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9986    case $lt_prog_compiler_pic in
9987     "" | " "*) ;;
9988     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9989     esac
9990else
9991    lt_prog_compiler_pic=
9992     lt_prog_compiler_can_build_shared=no
9993fi
9994
9995fi
9996case $host_os in
9997  # For platforms which do not support PIC, -DPIC is meaningless:
9998  *djgpp*)
9999    lt_prog_compiler_pic=
10000    ;;
10001  *)
10002    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10003    ;;
10004esac
10005
10006#
10007# Check to make sure the static flag actually works.
10008#
10009wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10010{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10011echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
10012if test "${lt_cv_prog_compiler_static_works+set}" = set; then
10013  echo $ECHO_N "(cached) $ECHO_C" >&6
10014else
10015  lt_cv_prog_compiler_static_works=no
10016   save_LDFLAGS="$LDFLAGS"
10017   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10018   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10019   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10020     # The linker can only warn and ignore the option if not recognized
10021     # So say no if there are warnings
10022     if test -s conftest.err; then
10023       # Append any errors to the config.log.
10024       cat conftest.err 1>&5
10025       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
10026       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10027       if diff conftest.exp conftest.er2 >/dev/null; then
10028         lt_cv_prog_compiler_static_works=yes
10029       fi
10030     else
10031       lt_cv_prog_compiler_static_works=yes
10032     fi
10033   fi
10034   $rm -r conftest*
10035   LDFLAGS="$save_LDFLAGS"
10036
10037fi
10038{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
10039echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
10040
10041if test x"$lt_cv_prog_compiler_static_works" = xyes; then
10042    :
10043else
10044    lt_prog_compiler_static=
10045fi
10046
10047
10048{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
10049echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
10050if test "${lt_cv_prog_compiler_c_o+set}" = set; then
10051  echo $ECHO_N "(cached) $ECHO_C" >&6
10052else
10053  lt_cv_prog_compiler_c_o=no
10054   $rm -r conftest 2>/dev/null
10055   mkdir conftest
10056   cd conftest
10057   mkdir out
10058   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10059
10060   lt_compiler_flag="-o out/conftest2.$ac_objext"
10061   # Insert the option either (1) after the last *FLAGS variable, or
10062   # (2) before a word containing "conftest.", or (3) at the end.
10063   # Note that $ac_compile itself does not contain backslashes and begins
10064   # with a dollar sign (not a hyphen), so the echo should work correctly.
10065   lt_compile=`echo "$ac_compile" | $SED \
10066   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10067   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10068   -e 's:$: $lt_compiler_flag:'`
10069   (eval echo "\"\$as_me:10069: $lt_compile\"" >&5)
10070   (eval "$lt_compile" 2>out/conftest.err)
10071   ac_status=$?
10072   cat out/conftest.err >&5
10073   echo "$as_me:10073: \$? = $ac_status" >&5
10074   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10075   then
10076     # The compiler can only warn and ignore the option if not recognized
10077     # So say no if there are warnings
10078     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
10079     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10080     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10081       lt_cv_prog_compiler_c_o=yes
10082     fi
10083   fi
10084   chmod u+w . 2>&5
10085   $rm conftest*
10086   # SGI C++ compiler will create directory out/ii_files/ for
10087   # template instantiation
10088   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
10089   $rm out/* && rmdir out
10090   cd ..
10091   rmdir conftest
10092   $rm conftest*
10093
10094fi
10095{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
10096echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
10097
10098
10099hard_links="nottested"
10100if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10101  # do not overwrite the value of need_locks provided by the user
10102  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
10103echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
10104  hard_links=yes
10105  $rm conftest*
10106  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10107  touch conftest.a
10108  ln conftest.a conftest.b 2>&5 || hard_links=no
10109  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10110  { echo "$as_me:$LINENO: result: $hard_links" >&5
10111echo "${ECHO_T}$hard_links" >&6; }
10112  if test "$hard_links" = no; then
10113    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10114echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10115    need_locks=warn
10116  fi
10117else
10118  need_locks=no
10119fi
10120
10121{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10122echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
10123
10124  runpath_var=
10125  allow_undefined_flag=
10126  enable_shared_with_static_runtimes=no
10127  archive_cmds=
10128  archive_expsym_cmds=
10129  old_archive_From_new_cmds=
10130  old_archive_from_expsyms_cmds=
10131  export_dynamic_flag_spec=
10132  whole_archive_flag_spec=
10133  thread_safe_flag_spec=
10134  hardcode_libdir_flag_spec=
10135  hardcode_libdir_flag_spec_ld=
10136  hardcode_libdir_separator=
10137  hardcode_direct=no
10138  hardcode_minus_L=no
10139  hardcode_shlibpath_var=unsupported
10140  link_all_deplibs=unknown
10141  hardcode_automatic=no
10142  module_cmds=
10143  module_expsym_cmds=
10144  always_export_symbols=no
10145  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10146  # include_expsyms should be a list of space-separated symbols to be *always*
10147  # included in the symbol list
10148  include_expsyms=
10149  # exclude_expsyms can be an extended regexp of symbols to exclude
10150  # it will be wrapped by ` (' and `)$', so one must not match beginning or
10151  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10152  # as well as any symbol that contains `d'.
10153  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10154  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10155  # platforms (ab)use it in PIC code, but their linkers get confused if
10156  # the symbol is explicitly referenced.  Since portable code cannot
10157  # rely on this symbol name, it's probably fine to never include it in
10158  # preloaded symbol tables.
10159  # Exclude shared library initialization/finalization symbols.
10160  extract_expsyms_cmds=
10161  # Just being paranoid about ensuring that cc_basename is set.
10162  for cc_temp in $compiler""; do
10163  case $cc_temp in
10164    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10165    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10166    \-*) ;;
10167    *) break;;
10168  esac
10169done
10170cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10171
10172  case $host_os in
10173  cygwin* | mingw* | pw32*)
10174    # FIXME: the MSVC++ port hasn't been tested in a loooong time
10175    # When not using gcc, we currently assume that we are using
10176    # Microsoft Visual C++.
10177    if test "$GCC" != yes; then
10178      with_gnu_ld=no
10179    fi
10180    ;;
10181  interix*)
10182    # we just hope/assume this is gcc and not c89 (= MSVC++)
10183    with_gnu_ld=yes
10184    ;;
10185  openbsd*)
10186    with_gnu_ld=no
10187    ;;
10188  esac
10189
10190  ld_shlibs=yes
10191  if test "$with_gnu_ld" = yes; then
10192    # If archive_cmds runs LD, not CC, wlarc should be empty
10193    wlarc='${wl}'
10194
10195    # Set some defaults for GNU ld with shared library support. These
10196    # are reset later if shared libraries are not supported. Putting them
10197    # here allows them to be overridden if necessary.
10198    runpath_var=LD_RUN_PATH
10199    hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
10200    export_dynamic_flag_spec='${wl}--export-dynamic'
10201    # ancient GNU ld didn't support --whole-archive et. al.
10202    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
10203	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10204      else
10205  	whole_archive_flag_spec=
10206    fi
10207    supports_anon_versioning=no
10208    case `$LD -v 2>/dev/null` in
10209      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10210      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10211      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10212      *\ 2.11.*) ;; # other 2.11 versions
10213      *) supports_anon_versioning=yes ;;
10214    esac
10215
10216    # See if GNU ld supports shared libraries.
10217    case $host_os in
10218    aix[3-9]*)
10219      # On AIX/PPC, the GNU linker is very broken
10220      if test "$host_cpu" != ia64; then
10221	ld_shlibs=no
10222	cat <<EOF 1>&2
10223
10224*** Warning: the GNU linker, at least up to release 2.9.1, is reported
10225*** to be unable to reliably create shared libraries on AIX.
10226*** Therefore, libtool is disabling shared libraries support.  If you
10227*** really care for shared libraries, you may want to modify your PATH
10228*** so that a non-GNU linker is found, and then restart.
10229
10230EOF
10231      fi
10232      ;;
10233
10234    amigaos*)
10235      archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
10236      hardcode_libdir_flag_spec='-L$libdir'
10237      hardcode_minus_L=yes
10238
10239      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
10240      # that the semantics of dynamic libraries on AmigaOS, at least up
10241      # to version 4, is to share data among multiple programs linked
10242      # with the same dynamic library.  Since this doesn't match the
10243      # behavior of shared libraries on other platforms, we can't use
10244      # them.
10245      ld_shlibs=no
10246      ;;
10247
10248    beos*)
10249      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
10250	allow_undefined_flag=unsupported
10251	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10252	# support --undefined.  This deserves some investigation.  FIXME
10253	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10254      else
10255	ld_shlibs=no
10256      fi
10257      ;;
10258
10259    cygwin* | mingw* | pw32*)
10260      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10261      # as there is no search path for DLLs.
10262      hardcode_libdir_flag_spec='-L$libdir'
10263      allow_undefined_flag=unsupported
10264      always_export_symbols=no
10265      enable_shared_with_static_runtimes=yes
10266      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10267
10268      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
10269        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10270	# If the export-symbols file already is a .def file (1st line
10271	# is EXPORTS), use it as is; otherwise, prepend...
10272	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10273	  cp $export_symbols $output_objdir/$soname.def;
10274	else
10275	  echo EXPORTS > $output_objdir/$soname.def;
10276	  cat $export_symbols >> $output_objdir/$soname.def;
10277	fi~
10278	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10279      else
10280	ld_shlibs=no
10281      fi
10282      ;;
10283
10284    interix[3-9]*)
10285      hardcode_direct=no
10286      hardcode_shlibpath_var=no
10287      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10288      export_dynamic_flag_spec='${wl}-E'
10289      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10290      # Instead, shared libraries are loaded at an image base (0x10000000 by
10291      # default) and relocated if they conflict, which is a slow very memory
10292      # consuming and fragmenting process.  To avoid this, we pick a random,
10293      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10294      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
10295      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10296      archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10297      ;;
10298
10299    gnu* | linux* | k*bsd*-gnu)
10300      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
10301	tmp_addflag=
10302	case $cc_basename,$host_cpu in
10303	pgcc*)				# Portland Group C compiler
10304	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
10305	  tmp_addflag=' $pic_flag'
10306	  ;;
10307	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
10308	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
10309	  tmp_addflag=' $pic_flag -Mnomain' ;;
10310	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
10311	  tmp_addflag=' -i_dynamic' ;;
10312	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
10313	  tmp_addflag=' -i_dynamic -nofor_main' ;;
10314	ifc* | ifort*)			# Intel Fortran compiler
10315	  tmp_addflag=' -nofor_main' ;;
10316	esac
10317	case `$CC -V 2>&1 | sed 5q` in
10318	*Sun\ C*)			# Sun C 5.9
10319	  whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
10320	  tmp_sharedflag='-G' ;;
10321	*Sun\ F*)			# Sun Fortran 8.3
10322	  tmp_sharedflag='-G' ;;
10323	*)
10324	  tmp_sharedflag='-shared' ;;
10325	esac
10326	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10327
10328	if test $supports_anon_versioning = yes; then
10329	  archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
10330  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10331  $echo "local: *; };" >> $output_objdir/$libname.ver~
10332	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10333	fi
10334	link_all_deplibs=no
10335      else
10336	ld_shlibs=no
10337      fi
10338      ;;
10339
10340    netbsd* | netbsdelf*-gnu)
10341      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10342	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10343	wlarc=
10344      else
10345	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10346	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10347      fi
10348      ;;
10349
10350    solaris*)
10351      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
10352	ld_shlibs=no
10353	cat <<EOF 1>&2
10354
10355*** Warning: The releases 2.8.* of the GNU linker cannot reliably
10356*** create shared libraries on Solaris systems.  Therefore, libtool
10357*** is disabling shared libraries support.  We urge you to upgrade GNU
10358*** binutils to release 2.9.1 or newer.  Another option is to modify
10359*** your PATH or compiler configuration so that the native linker is
10360*** used, and then restart.
10361
10362EOF
10363      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
10364	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10365	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10366      else
10367	ld_shlibs=no
10368      fi
10369      ;;
10370
10371    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10372      case `$LD -v 2>&1` in
10373        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10374	ld_shlibs=no
10375	cat <<_LT_EOF 1>&2
10376
10377*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10378*** reliably create shared libraries on SCO systems.  Therefore, libtool
10379*** is disabling shared libraries support.  We urge you to upgrade GNU
10380*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
10381*** your PATH or compiler configuration so that the native linker is
10382*** used, and then restart.
10383
10384_LT_EOF
10385	;;
10386	*)
10387	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
10388	    hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
10389	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
10390	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
10391	  else
10392	    ld_shlibs=no
10393	  fi
10394	;;
10395      esac
10396      ;;
10397
10398    sunos4*)
10399      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10400      wlarc=
10401      hardcode_direct=yes
10402      hardcode_shlibpath_var=no
10403      ;;
10404
10405    *)
10406      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
10407	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10408	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10409      else
10410	ld_shlibs=no
10411      fi
10412      ;;
10413    esac
10414
10415    if test "$ld_shlibs" = no; then
10416      runpath_var=
10417      hardcode_libdir_flag_spec=
10418      export_dynamic_flag_spec=
10419      whole_archive_flag_spec=
10420    fi
10421  else
10422    # PORTME fill in a description of your system's linker (not GNU ld)
10423    case $host_os in
10424    aix3*)
10425      allow_undefined_flag=unsupported
10426      always_export_symbols=yes
10427      archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
10428      # Note: this linker hardcodes the directories in LIBPATH if there
10429      # are no directories specified by -L.
10430      hardcode_minus_L=yes
10431      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10432	# Neither direct hardcoding nor static linking is supported with a
10433	# broken collect2.
10434	hardcode_direct=unsupported
10435      fi
10436      ;;
10437
10438    aix[4-9]*)
10439      if test "$host_cpu" = ia64; then
10440	# On IA64, the linker does run time linking by default, so we don't
10441	# have to do anything special.
10442	aix_use_runtimelinking=no
10443	exp_sym_flag='-Bexport'
10444	no_entry_flag=""
10445      else
10446	# If we're using GNU nm, then we don't want the "-C" option.
10447	# -C means demangle to AIX nm, but means don't demangle with GNU nm
10448	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
10449	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
10450	else
10451	  export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
10452	fi
10453	aix_use_runtimelinking=no
10454
10455	# Test if we are trying to use run time linking or normal
10456	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
10457	# need to do runtime linking.
10458	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10459	  for ld_flag in $LDFLAGS; do
10460  	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10461  	    aix_use_runtimelinking=yes
10462  	    break
10463  	  fi
10464	  done
10465	  ;;
10466	esac
10467
10468	exp_sym_flag='-bexport'
10469	no_entry_flag='-bnoentry'
10470      fi
10471
10472      # When large executables or shared objects are built, AIX ld can
10473      # have problems creating the table of contents.  If linking a library
10474      # or program results in "error TOC overflow" add -mminimal-toc to
10475      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10476      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10477
10478      archive_cmds=''
10479      hardcode_direct=yes
10480      hardcode_libdir_separator=':'
10481      link_all_deplibs=yes
10482
10483      if test "$GCC" = yes; then
10484	case $host_os in aix4.[012]|aix4.[012].*)
10485	# We only want to do this on AIX 4.2 and lower, the check
10486	# below for broken collect2 doesn't work under 4.3+
10487	  collect2name=`${CC} -print-prog-name=collect2`
10488	  if test -f "$collect2name" && \
10489  	   strings "$collect2name" | grep resolve_lib_name >/dev/null
10490	  then
10491  	  # We have reworked collect2
10492  	  :
10493	  else
10494  	  # We have old collect2
10495  	  hardcode_direct=unsupported
10496  	  # It fails to find uninstalled libraries when the uninstalled
10497  	  # path is not listed in the libpath.  Setting hardcode_minus_L
10498  	  # to unsupported forces relinking
10499  	  hardcode_minus_L=yes
10500  	  hardcode_libdir_flag_spec='-L$libdir'
10501  	  hardcode_libdir_separator=
10502	  fi
10503	  ;;
10504	esac
10505	shared_flag='-shared'
10506	if test "$aix_use_runtimelinking" = yes; then
10507	  shared_flag="$shared_flag "'${wl}-G'
10508	fi
10509      else
10510	# not using gcc
10511	if test "$host_cpu" = ia64; then
10512  	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10513  	# chokes on -Wl,-G. The following line is correct:
10514	  shared_flag='-G'
10515	else
10516	  if test "$aix_use_runtimelinking" = yes; then
10517	    shared_flag='${wl}-G'
10518	  else
10519	    shared_flag='${wl}-bM:SRE'
10520	  fi
10521	fi
10522      fi
10523
10524      # It seems that -bexpall does not export symbols beginning with
10525      # underscore (_), so it is better to generate a list of symbols to export.
10526      always_export_symbols=yes
10527      if test "$aix_use_runtimelinking" = yes; then
10528	# Warning - without using the other runtime loading flags (-brtl),
10529	# -berok will link without error, but may produce a broken library.
10530	allow_undefined_flag='-berok'
10531       # Determine the default libpath from the value encoded in an empty executable.
10532       cat >conftest.$ac_ext <<_ACEOF
10533/* confdefs.h.  */
10534_ACEOF
10535cat confdefs.h >>conftest.$ac_ext
10536cat >>conftest.$ac_ext <<_ACEOF
10537/* end confdefs.h.  */
10538
10539int
10540main ()
10541{
10542
10543  ;
10544  return 0;
10545}
10546_ACEOF
10547rm -f conftest.$ac_objext conftest$ac_exeext
10548if { (ac_try="$ac_link"
10549case "(($ac_try" in
10550  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10551  *) ac_try_echo=$ac_try;;
10552esac
10553eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10554  (eval "$ac_link") 2>conftest.er1
10555  ac_status=$?
10556  grep -v '^ *+' conftest.er1 >conftest.err
10557  rm -f conftest.er1
10558  cat conftest.err >&5
10559  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10560  (exit $ac_status); } && {
10561	 test -z "$ac_c_werror_flag" ||
10562	 test ! -s conftest.err
10563       } && test -s conftest$ac_exeext &&
10564       $as_test_x conftest$ac_exeext; then
10565
10566lt_aix_libpath_sed='
10567    /Import File Strings/,/^$/ {
10568	/^0/ {
10569	    s/^0  *\(.*\)$/\1/
10570	    p
10571	}
10572    }'
10573aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10574# Check for a 64-bit object if we didn't find anything.
10575if test -z "$aix_libpath"; then
10576  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10577fi
10578else
10579  echo "$as_me: failed program was:" >&5
10580sed 's/^/| /' conftest.$ac_ext >&5
10581
10582
10583fi
10584
10585rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10586      conftest$ac_exeext conftest.$ac_ext
10587if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10588
10589       hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10590	archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10591       else
10592	if test "$host_cpu" = ia64; then
10593	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10594	  allow_undefined_flag="-z nodefs"
10595	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
10596	else
10597	 # Determine the default libpath from the value encoded in an empty executable.
10598	 cat >conftest.$ac_ext <<_ACEOF
10599/* confdefs.h.  */
10600_ACEOF
10601cat confdefs.h >>conftest.$ac_ext
10602cat >>conftest.$ac_ext <<_ACEOF
10603/* end confdefs.h.  */
10604
10605int
10606main ()
10607{
10608
10609  ;
10610  return 0;
10611}
10612_ACEOF
10613rm -f conftest.$ac_objext conftest$ac_exeext
10614if { (ac_try="$ac_link"
10615case "(($ac_try" in
10616  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10617  *) ac_try_echo=$ac_try;;
10618esac
10619eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10620  (eval "$ac_link") 2>conftest.er1
10621  ac_status=$?
10622  grep -v '^ *+' conftest.er1 >conftest.err
10623  rm -f conftest.er1
10624  cat conftest.err >&5
10625  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10626  (exit $ac_status); } && {
10627	 test -z "$ac_c_werror_flag" ||
10628	 test ! -s conftest.err
10629       } && test -s conftest$ac_exeext &&
10630       $as_test_x conftest$ac_exeext; then
10631
10632lt_aix_libpath_sed='
10633    /Import File Strings/,/^$/ {
10634	/^0/ {
10635	    s/^0  *\(.*\)$/\1/
10636	    p
10637	}
10638    }'
10639aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10640# Check for a 64-bit object if we didn't find anything.
10641if test -z "$aix_libpath"; then
10642  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10643fi
10644else
10645  echo "$as_me: failed program was:" >&5
10646sed 's/^/| /' conftest.$ac_ext >&5
10647
10648
10649fi
10650
10651rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10652      conftest$ac_exeext conftest.$ac_ext
10653if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10654
10655	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10656	  # Warning - without using the other run time loading flags,
10657	  # -berok will link without error, but may produce a broken library.
10658	  no_undefined_flag=' ${wl}-bernotok'
10659	  allow_undefined_flag=' ${wl}-berok'
10660	  # Exported symbols can be pulled into shared objects from archives
10661	  whole_archive_flag_spec='$convenience'
10662	  archive_cmds_need_lc=yes
10663	  # This is similar to how AIX traditionally builds its shared libraries.
10664	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
10665	fi
10666      fi
10667      ;;
10668
10669    amigaos*)
10670      archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
10671      hardcode_libdir_flag_spec='-L$libdir'
10672      hardcode_minus_L=yes
10673      # see comment about different semantics on the GNU ld section
10674      ld_shlibs=no
10675      ;;
10676
10677    bsdi[45]*)
10678      export_dynamic_flag_spec=-rdynamic
10679      ;;
10680
10681    cygwin* | mingw* | pw32*)
10682      # When not using gcc, we currently assume that we are using
10683      # Microsoft Visual C++.
10684      # hardcode_libdir_flag_spec is actually meaningless, as there is
10685      # no search path for DLLs.
10686      hardcode_libdir_flag_spec=' '
10687      allow_undefined_flag=unsupported
10688      # Tell ltmain to make .lib files, not .a files.
10689      libext=lib
10690      # Tell ltmain to make .dll files, not .so files.
10691      shrext_cmds=".dll"
10692      # FIXME: Setting linknames here is a bad hack.
10693      archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
10694      # The linker will automatically build a .lib file if we build a DLL.
10695      old_archive_From_new_cmds='true'
10696      # FIXME: Should let the user specify the lib program.
10697      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10698      fix_srcfile_path='`cygpath -w "$srcfile"`'
10699      enable_shared_with_static_runtimes=yes
10700      ;;
10701
10702    darwin* | rhapsody*)
10703      case $host_os in
10704        rhapsody* | darwin1.[012])
10705         allow_undefined_flag='${wl}-undefined ${wl}suppress'
10706         ;;
10707       *) # Darwin 1.3 on
10708         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
10709           allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10710         else
10711           case ${MACOSX_DEPLOYMENT_TARGET} in
10712             10.[012])
10713               allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10714               ;;
10715             10.*)
10716               allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
10717               ;;
10718           esac
10719         fi
10720         ;;
10721      esac
10722      archive_cmds_need_lc=no
10723      hardcode_direct=no
10724      hardcode_automatic=yes
10725      hardcode_shlibpath_var=unsupported
10726      whole_archive_flag_spec=''
10727      link_all_deplibs=yes
10728    if test "$GCC" = yes ; then
10729    	output_verbose_link_cmd='echo'
10730        archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10731        module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10732        archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
10733        module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
10734    else
10735      case $cc_basename in
10736        xlc*)
10737         output_verbose_link_cmd='echo'
10738         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
10739         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10740          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10741         archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10742          module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10743          ;;
10744       *)
10745         ld_shlibs=no
10746          ;;
10747      esac
10748    fi
10749      ;;
10750
10751    dgux*)
10752      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10753      hardcode_libdir_flag_spec='-L$libdir'
10754      hardcode_shlibpath_var=no
10755      ;;
10756
10757    freebsd1*)
10758      ld_shlibs=no
10759      ;;
10760
10761    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10762    # support.  Future versions do this automatically, but an explicit c++rt0.o
10763    # does not break anything, and helps significantly (at the cost of a little
10764    # extra space).
10765    freebsd2.2*)
10766      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10767      hardcode_libdir_flag_spec='-R$libdir'
10768      hardcode_direct=yes
10769      hardcode_shlibpath_var=no
10770      ;;
10771
10772    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10773    freebsd2*)
10774      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10775      hardcode_direct=yes
10776      hardcode_minus_L=yes
10777      hardcode_shlibpath_var=no
10778      ;;
10779
10780    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10781    freebsd* | dragonfly*)
10782      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10783      hardcode_libdir_flag_spec='-R$libdir'
10784      hardcode_direct=yes
10785      hardcode_shlibpath_var=no
10786      ;;
10787
10788    hpux9*)
10789      if test "$GCC" = yes; then
10790	archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10791      else
10792	archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10793      fi
10794      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10795      hardcode_libdir_separator=:
10796      hardcode_direct=yes
10797
10798      # hardcode_minus_L: Not really in the search PATH,
10799      # but as the default location of the library.
10800      hardcode_minus_L=yes
10801      export_dynamic_flag_spec='${wl}-E'
10802      ;;
10803
10804    hpux10*)
10805      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10806	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10807      else
10808	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10809      fi
10810      if test "$with_gnu_ld" = no; then
10811	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10812	hardcode_libdir_separator=:
10813
10814	hardcode_direct=yes
10815	export_dynamic_flag_spec='${wl}-E'
10816
10817	# hardcode_minus_L: Not really in the search PATH,
10818	# but as the default location of the library.
10819	hardcode_minus_L=yes
10820      fi
10821      ;;
10822
10823    hpux11*)
10824      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10825	case $host_cpu in
10826	hppa*64*)
10827	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10828	  ;;
10829	ia64*)
10830	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10831	  ;;
10832	*)
10833	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10834	  ;;
10835	esac
10836      else
10837	case $host_cpu in
10838	hppa*64*)
10839	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10840	  ;;
10841	ia64*)
10842	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10843	  ;;
10844	*)
10845	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10846	  ;;
10847	esac
10848      fi
10849      if test "$with_gnu_ld" = no; then
10850	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10851	hardcode_libdir_separator=:
10852
10853	case $host_cpu in
10854	hppa*64*|ia64*)
10855	  hardcode_libdir_flag_spec_ld='+b $libdir'
10856	  hardcode_direct=no
10857	  hardcode_shlibpath_var=no
10858	  ;;
10859	*)
10860	  hardcode_direct=yes
10861	  export_dynamic_flag_spec='${wl}-E'
10862
10863	  # hardcode_minus_L: Not really in the search PATH,
10864	  # but as the default location of the library.
10865	  hardcode_minus_L=yes
10866	  ;;
10867	esac
10868      fi
10869      ;;
10870
10871    irix5* | irix6* | nonstopux*)
10872      if test "$GCC" = yes; then
10873	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10874      else
10875	archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
10876	hardcode_libdir_flag_spec_ld='-rpath $libdir'
10877      fi
10878      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10879      hardcode_libdir_separator=:
10880      link_all_deplibs=yes
10881      ;;
10882
10883    netbsd* | netbsdelf*-gnu)
10884      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10885	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10886      else
10887	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10888      fi
10889      hardcode_libdir_flag_spec='-R$libdir'
10890      hardcode_direct=yes
10891      hardcode_shlibpath_var=no
10892      ;;
10893
10894    newsos6)
10895      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10896      hardcode_direct=yes
10897      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10898      hardcode_libdir_separator=:
10899      hardcode_shlibpath_var=no
10900      ;;
10901
10902    openbsd*)
10903      if test -f /usr/libexec/ld.so; then
10904	hardcode_direct=yes
10905	hardcode_shlibpath_var=no
10906	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10907	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10908	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10909	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10910	  export_dynamic_flag_spec='${wl}-E'
10911	else
10912	  case $host_os in
10913	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10914	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10915	     hardcode_libdir_flag_spec='-R$libdir'
10916	     ;;
10917	   *)
10918	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10919	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10920	     ;;
10921	  esac
10922        fi
10923      else
10924	ld_shlibs=no
10925      fi
10926      ;;
10927
10928    os2*)
10929      hardcode_libdir_flag_spec='-L$libdir'
10930      hardcode_minus_L=yes
10931      allow_undefined_flag=unsupported
10932      archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
10933      old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10934      ;;
10935
10936    osf3*)
10937      if test "$GCC" = yes; then
10938	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10939	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10940      else
10941	allow_undefined_flag=' -expect_unresolved \*'
10942	archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
10943      fi
10944      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10945      hardcode_libdir_separator=:
10946      ;;
10947
10948    osf4* | osf5*)	# as osf3* with the addition of -msym flag
10949      if test "$GCC" = yes; then
10950	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10951	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10952	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10953      else
10954	allow_undefined_flag=' -expect_unresolved \*'
10955	archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
10956	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
10957	$LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
10958
10959	# Both c and cxx compiler support -rpath directly
10960	hardcode_libdir_flag_spec='-rpath $libdir'
10961      fi
10962      hardcode_libdir_separator=:
10963      ;;
10964
10965    solaris*)
10966      no_undefined_flag=' -z text'
10967      if test "$GCC" = yes; then
10968	wlarc='${wl}'
10969	archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10970	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10971	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
10972      else
10973	wlarc=''
10974	archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10975	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10976  	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
10977      fi
10978      hardcode_libdir_flag_spec='-R$libdir'
10979      hardcode_shlibpath_var=no
10980      case $host_os in
10981      solaris2.[0-5] | solaris2.[0-5].*) ;;
10982      *)
10983	# The compiler driver will combine and reorder linker options,
10984	# but understands `-z linker_flag'.  GCC discards it without `$wl',
10985	# but is careful enough not to reorder.
10986 	# Supported since Solaris 2.6 (maybe 2.5.1?)
10987	if test "$GCC" = yes; then
10988	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10989	else
10990	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10991	fi
10992	;;
10993      esac
10994      link_all_deplibs=yes
10995      ;;
10996
10997    sunos4*)
10998      if test "x$host_vendor" = xsequent; then
10999	# Use $CC to link under sequent, because it throws in some extra .o
11000	# files that make .init and .fini sections work.
11001	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11002      else
11003	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11004      fi
11005      hardcode_libdir_flag_spec='-L$libdir'
11006      hardcode_direct=yes
11007      hardcode_minus_L=yes
11008      hardcode_shlibpath_var=no
11009      ;;
11010
11011    sysv4)
11012      case $host_vendor in
11013	sni)
11014	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11015	  hardcode_direct=yes # is this really true???
11016	;;
11017	siemens)
11018	  ## LD is ld it makes a PLAMLIB
11019	  ## CC just makes a GrossModule.
11020	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11021	  reload_cmds='$CC -r -o $output$reload_objs'
11022	  hardcode_direct=no
11023        ;;
11024	motorola)
11025	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11026	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11027	;;
11028      esac
11029      runpath_var='LD_RUN_PATH'
11030      hardcode_shlibpath_var=no
11031      ;;
11032
11033    sysv4.3*)
11034      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11035      hardcode_shlibpath_var=no
11036      export_dynamic_flag_spec='-Bexport'
11037      ;;
11038
11039    sysv4*MP*)
11040      if test -d /usr/nec; then
11041	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11042	hardcode_shlibpath_var=no
11043	runpath_var=LD_RUN_PATH
11044	hardcode_runpath_var=yes
11045	ld_shlibs=yes
11046      fi
11047      ;;
11048
11049    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11050      no_undefined_flag='${wl}-z,text'
11051      archive_cmds_need_lc=no
11052      hardcode_shlibpath_var=no
11053      runpath_var='LD_RUN_PATH'
11054
11055      if test "$GCC" = yes; then
11056	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11057	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11058      else
11059	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11060	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11061      fi
11062      ;;
11063
11064    sysv5* | sco3.2v5* | sco5v6*)
11065      # Note: We can NOT use -z defs as we might desire, because we do not
11066      # link with -lc, and that would cause any symbols used from libc to
11067      # always be unresolved, which means just about no library would
11068      # ever link correctly.  If we're not using GNU ld we use -z text
11069      # though, which does catch some bad symbols but isn't as heavy-handed
11070      # as -z defs.
11071      no_undefined_flag='${wl}-z,text'
11072      allow_undefined_flag='${wl}-z,nodefs'
11073      archive_cmds_need_lc=no
11074      hardcode_shlibpath_var=no
11075      hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
11076      hardcode_libdir_separator=':'
11077      link_all_deplibs=yes
11078      export_dynamic_flag_spec='${wl}-Bexport'
11079      runpath_var='LD_RUN_PATH'
11080
11081      if test "$GCC" = yes; then
11082	archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11083	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11084      else
11085	archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11086	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11087      fi
11088      ;;
11089
11090    uts4*)
11091      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11092      hardcode_libdir_flag_spec='-L$libdir'
11093      hardcode_shlibpath_var=no
11094      ;;
11095
11096    *)
11097      ld_shlibs=no
11098      ;;
11099    esac
11100  fi
11101
11102{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
11103echo "${ECHO_T}$ld_shlibs" >&6; }
11104test "$ld_shlibs" = no && can_build_shared=no
11105
11106#
11107# Do we need to explicitly link libc?
11108#
11109case "x$archive_cmds_need_lc" in
11110x|xyes)
11111  # Assume -lc should be added
11112  archive_cmds_need_lc=yes
11113
11114  if test "$enable_shared" = yes && test "$GCC" = yes; then
11115    case $archive_cmds in
11116    *'~'*)
11117      # FIXME: we may have to deal with multi-command sequences.
11118      ;;
11119    '$CC '*)
11120      # Test whether the compiler implicitly links with -lc since on some
11121      # systems, -lgcc has to come before -lc. If gcc already passes -lc
11122      # to ld, don't add -lc before -lgcc.
11123      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11124echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
11125      $rm conftest*
11126      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11127
11128      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11129  (eval $ac_compile) 2>&5
11130  ac_status=$?
11131  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11132  (exit $ac_status); } 2>conftest.err; then
11133        soname=conftest
11134        lib=conftest
11135        libobjs=conftest.$ac_objext
11136        deplibs=
11137        wl=$lt_prog_compiler_wl
11138	pic_flag=$lt_prog_compiler_pic
11139        compiler_flags=-v
11140        linker_flags=-v
11141        verstring=
11142        output_objdir=.
11143        libname=conftest
11144        lt_save_allow_undefined_flag=$allow_undefined_flag
11145        allow_undefined_flag=
11146        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
11147  (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
11148  ac_status=$?
11149  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11150  (exit $ac_status); }
11151        then
11152	  archive_cmds_need_lc=no
11153        else
11154	  archive_cmds_need_lc=yes
11155        fi
11156        allow_undefined_flag=$lt_save_allow_undefined_flag
11157      else
11158        cat conftest.err 1>&5
11159      fi
11160      $rm conftest*
11161      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
11162echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
11163      ;;
11164    esac
11165  fi
11166  ;;
11167esac
11168
11169{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11170echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
11171library_names_spec=
11172libname_spec='lib$name'
11173soname_spec=
11174shrext_cmds=".so"
11175postinstall_cmds=
11176postuninstall_cmds=
11177finish_cmds=
11178finish_eval=
11179shlibpath_var=
11180shlibpath_overrides_runpath=unknown
11181version_type=none
11182dynamic_linker="$host_os ld.so"
11183sys_lib_dlsearch_path_spec="/lib /usr/lib"
11184
11185if test "$GCC" = yes; then
11186  case $host_os in
11187    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11188    *) lt_awk_arg="/^libraries:/" ;;
11189  esac
11190  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11191  if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
11192    # if the path contains ";" then we assume it to be the separator
11193    # otherwise default to the standard path separator (i.e. ":") - it is
11194    # assumed that no part of a normal pathname contains ";" but that should
11195    # okay in the real world where ";" in dirpaths is itself problematic.
11196    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
11197  else
11198    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
11199  fi
11200  # Ok, now we have the path, separated by spaces, we can step through it
11201  # and add multilib dir if necessary.
11202  lt_tmp_lt_search_path_spec=
11203  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11204  for lt_sys_path in $lt_search_path_spec; do
11205    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11206      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11207    else
11208      test -d "$lt_sys_path" && \
11209	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11210    fi
11211  done
11212  lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
11213BEGIN {RS=" "; FS="/|\n";} {
11214  lt_foo="";
11215  lt_count=0;
11216  for (lt_i = NF; lt_i > 0; lt_i--) {
11217    if ($lt_i != "" && $lt_i != ".") {
11218      if ($lt_i == "..") {
11219        lt_count++;
11220      } else {
11221        if (lt_count == 0) {
11222          lt_foo="/" $lt_i lt_foo;
11223        } else {
11224          lt_count--;
11225        }
11226      }
11227    }
11228  }
11229  if (lt_foo != "") { lt_freq[lt_foo]++; }
11230  if (lt_freq[lt_foo] == 1) { print lt_foo; }
11231}'`
11232  sys_lib_search_path_spec=`echo $lt_search_path_spec`
11233else
11234  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11235fi
11236need_lib_prefix=unknown
11237hardcode_into_libs=no
11238
11239# when you set need_version to no, make sure it does not cause -set_version
11240# flags to be left without arguments
11241need_version=unknown
11242
11243case $host_os in
11244aix3*)
11245  version_type=linux
11246  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11247  shlibpath_var=LIBPATH
11248
11249  # AIX 3 has no versioning support, so we append a major version to the name.
11250  soname_spec='${libname}${release}${shared_ext}$major'
11251  ;;
11252
11253aix[4-9]*)
11254  version_type=linux
11255  need_lib_prefix=no
11256  need_version=no
11257  hardcode_into_libs=yes
11258  if test "$host_cpu" = ia64; then
11259    # AIX 5 supports IA64
11260    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11261    shlibpath_var=LD_LIBRARY_PATH
11262  else
11263    # With GCC up to 2.95.x, collect2 would create an import file
11264    # for dependence libraries.  The import file would start with
11265    # the line `#! .'.  This would cause the generated library to
11266    # depend on `.', always an invalid library.  This was fixed in
11267    # development snapshots of GCC prior to 3.0.
11268    case $host_os in
11269      aix4 | aix4.[01] | aix4.[01].*)
11270      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11271	   echo ' yes '
11272	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
11273	:
11274      else
11275	can_build_shared=no
11276      fi
11277      ;;
11278    esac
11279    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11280    # soname into executable. Probably we can add versioning support to
11281    # collect2, so additional links can be useful in future.
11282    if test "$aix_use_runtimelinking" = yes; then
11283      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11284      # instead of lib<name>.a to let people know that these are not
11285      # typical AIX shared libraries.
11286      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11287    else
11288      # We preserve .a as extension for shared libraries through AIX4.2
11289      # and later when we are not doing run time linking.
11290      library_names_spec='${libname}${release}.a $libname.a'
11291      soname_spec='${libname}${release}${shared_ext}$major'
11292    fi
11293    shlibpath_var=LIBPATH
11294  fi
11295  ;;
11296
11297amigaos*)
11298  library_names_spec='$libname.ixlibrary $libname.a'
11299  # Create ${libname}_ixlibrary.a entries in /sys/libs.
11300  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
11301  ;;
11302
11303beos*)
11304  library_names_spec='${libname}${shared_ext}'
11305  dynamic_linker="$host_os ld.so"
11306  shlibpath_var=LIBRARY_PATH
11307  ;;
11308
11309bsdi[45]*)
11310  version_type=linux
11311  need_version=no
11312  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11313  soname_spec='${libname}${release}${shared_ext}$major'
11314  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11315  shlibpath_var=LD_LIBRARY_PATH
11316  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11317  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11318  # the default ld.so.conf also contains /usr/contrib/lib and
11319  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11320  # libtool to hard-code these into programs
11321  ;;
11322
11323cygwin* | mingw* | pw32*)
11324  version_type=windows
11325  shrext_cmds=".dll"
11326  need_version=no
11327  need_lib_prefix=no
11328
11329  case $GCC,$host_os in
11330  yes,cygwin* | yes,mingw* | yes,pw32*)
11331    library_names_spec='$libname.dll.a'
11332    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11333    postinstall_cmds='base_file=`basename \${file}`~
11334      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
11335      dldir=$destdir/`dirname \$dlpath`~
11336      test -d \$dldir || mkdir -p \$dldir~
11337      $install_prog $dir/$dlname \$dldir/$dlname~
11338      chmod a+x \$dldir/$dlname'
11339    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11340      dlpath=$dir/\$dldll~
11341       $rm \$dlpath'
11342    shlibpath_overrides_runpath=yes
11343
11344    case $host_os in
11345    cygwin*)
11346      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11347      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11348      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
11349      ;;
11350    mingw*)
11351      # MinGW DLLs use traditional 'lib' prefix
11352      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11353      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11354      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
11355        # It is most probably a Windows format PATH printed by
11356        # mingw gcc, but we are running on Cygwin. Gcc prints its search
11357        # path with ; separators, and with drive letters. We can handle the
11358        # drive letters (cygwin fileutils understands them), so leave them,
11359        # especially as we might pass files found there to a mingw objdump,
11360        # which wouldn't understand a cygwinified path. Ahh.
11361        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11362      else
11363        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
11364      fi
11365      ;;
11366    pw32*)
11367      # pw32 DLLs use 'pw' prefix rather than 'lib'
11368      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11369      ;;
11370    esac
11371    ;;
11372
11373  *)
11374    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11375    ;;
11376  esac
11377  dynamic_linker='Win32 ld.exe'
11378  # FIXME: first we should search . and the directory the executable is in
11379  shlibpath_var=PATH
11380  ;;
11381
11382darwin* | rhapsody*)
11383  dynamic_linker="$host_os dyld"
11384  version_type=darwin
11385  need_lib_prefix=no
11386  need_version=no
11387  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11388  soname_spec='${libname}${release}${major}$shared_ext'
11389  shlibpath_overrides_runpath=yes
11390  shlibpath_var=DYLD_LIBRARY_PATH
11391  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11392
11393  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11394  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11395  ;;
11396
11397dgux*)
11398  version_type=linux
11399  need_lib_prefix=no
11400  need_version=no
11401  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11402  soname_spec='${libname}${release}${shared_ext}$major'
11403  shlibpath_var=LD_LIBRARY_PATH
11404  ;;
11405
11406freebsd1*)
11407  dynamic_linker=no
11408  ;;
11409
11410freebsd* | dragonfly*)
11411  # DragonFly does not have aout.  When/if they implement a new
11412  # versioning mechanism, adjust this.
11413  if test -x /usr/bin/objformat; then
11414    objformat=`/usr/bin/objformat`
11415  else
11416    case $host_os in
11417    freebsd[123]*) objformat=aout ;;
11418    *) objformat=elf ;;
11419    esac
11420  fi
11421  version_type=freebsd-$objformat
11422  case $version_type in
11423    freebsd-elf*)
11424      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11425      need_version=no
11426      need_lib_prefix=no
11427      ;;
11428    freebsd-*)
11429      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11430      need_version=yes
11431      ;;
11432  esac
11433  shlibpath_var=LD_LIBRARY_PATH
11434  case $host_os in
11435  freebsd2*)
11436    shlibpath_overrides_runpath=yes
11437    ;;
11438  freebsd3.[01]* | freebsdelf3.[01]*)
11439    shlibpath_overrides_runpath=yes
11440    hardcode_into_libs=yes
11441    ;;
11442  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11443  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11444    shlibpath_overrides_runpath=no
11445    hardcode_into_libs=yes
11446    ;;
11447  *) # from 4.6 on, and DragonFly
11448    shlibpath_overrides_runpath=yes
11449    hardcode_into_libs=yes
11450    ;;
11451  esac
11452  ;;
11453
11454gnu*)
11455  version_type=linux
11456  need_lib_prefix=no
11457  need_version=no
11458  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11459  soname_spec='${libname}${release}${shared_ext}$major'
11460  shlibpath_var=LD_LIBRARY_PATH
11461  hardcode_into_libs=yes
11462  ;;
11463
11464hpux9* | hpux10* | hpux11*)
11465  # Give a soname corresponding to the major version so that dld.sl refuses to
11466  # link against other versions.
11467  version_type=sunos
11468  need_lib_prefix=no
11469  need_version=no
11470  case $host_cpu in
11471  ia64*)
11472    shrext_cmds='.so'
11473    hardcode_into_libs=yes
11474    dynamic_linker="$host_os dld.so"
11475    shlibpath_var=LD_LIBRARY_PATH
11476    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11477    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11478    soname_spec='${libname}${release}${shared_ext}$major'
11479    if test "X$HPUX_IA64_MODE" = X32; then
11480      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11481    else
11482      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11483    fi
11484    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11485    ;;
11486   hppa*64*)
11487     shrext_cmds='.sl'
11488     hardcode_into_libs=yes
11489     dynamic_linker="$host_os dld.sl"
11490     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11491     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11492     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11493     soname_spec='${libname}${release}${shared_ext}$major'
11494     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11495     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11496     ;;
11497   *)
11498    shrext_cmds='.sl'
11499    dynamic_linker="$host_os dld.sl"
11500    shlibpath_var=SHLIB_PATH
11501    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11502    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11503    soname_spec='${libname}${release}${shared_ext}$major'
11504    ;;
11505  esac
11506  # HP-UX runs *really* slowly unless shared libraries are mode 555.
11507  postinstall_cmds='chmod 555 $lib'
11508  ;;
11509
11510interix[3-9]*)
11511  version_type=linux
11512  need_lib_prefix=no
11513  need_version=no
11514  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11515  soname_spec='${libname}${release}${shared_ext}$major'
11516  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11517  shlibpath_var=LD_LIBRARY_PATH
11518  shlibpath_overrides_runpath=no
11519  hardcode_into_libs=yes
11520  ;;
11521
11522irix5* | irix6* | nonstopux*)
11523  case $host_os in
11524    nonstopux*) version_type=nonstopux ;;
11525    *)
11526	if test "$lt_cv_prog_gnu_ld" = yes; then
11527		version_type=linux
11528	else
11529		version_type=irix
11530	fi ;;
11531  esac
11532  need_lib_prefix=no
11533  need_version=no
11534  soname_spec='${libname}${release}${shared_ext}$major'
11535  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11536  case $host_os in
11537  irix5* | nonstopux*)
11538    libsuff= shlibsuff=
11539    ;;
11540  *)
11541    case $LD in # libtool.m4 will add one of these switches to LD
11542    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11543      libsuff= shlibsuff= libmagic=32-bit;;
11544    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11545      libsuff=32 shlibsuff=N32 libmagic=N32;;
11546    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11547      libsuff=64 shlibsuff=64 libmagic=64-bit;;
11548    *) libsuff= shlibsuff= libmagic=never-match;;
11549    esac
11550    ;;
11551  esac
11552  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11553  shlibpath_overrides_runpath=no
11554  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11555  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11556  hardcode_into_libs=yes
11557  ;;
11558
11559# No shared lib support for Linux oldld, aout, or coff.
11560linux*oldld* | linux*aout* | linux*coff*)
11561  dynamic_linker=no
11562  ;;
11563
11564# This must be Linux ELF.
11565linux* | k*bsd*-gnu)
11566  version_type=linux
11567  need_lib_prefix=no
11568  need_version=no
11569  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11570  soname_spec='${libname}${release}${shared_ext}$major'
11571  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11572  shlibpath_var=LD_LIBRARY_PATH
11573  shlibpath_overrides_runpath=no
11574  # This implies no fast_install, which is unacceptable.
11575  # Some rework will be needed to allow for fast_install
11576  # before this can be enabled.
11577  hardcode_into_libs=yes
11578
11579  # Append ld.so.conf contents to the search path
11580  if test -f /etc/ld.so.conf; then
11581    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ 	]*hwcap[ 	]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
11582    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11583  fi
11584
11585  # We used to test for /lib/ld.so.1 and disable shared libraries on
11586  # powerpc, because MkLinux only supported shared libraries with the
11587  # GNU dynamic linker.  Since this was broken with cross compilers,
11588  # most powerpc-linux boxes support dynamic linking these days and
11589  # people can always --disable-shared, the test was removed, and we
11590  # assume the GNU/Linux dynamic linker is in use.
11591  dynamic_linker='GNU/Linux ld.so'
11592  ;;
11593
11594netbsdelf*-gnu)
11595  version_type=linux
11596  need_lib_prefix=no
11597  need_version=no
11598  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11599  soname_spec='${libname}${release}${shared_ext}$major'
11600  shlibpath_var=LD_LIBRARY_PATH
11601  shlibpath_overrides_runpath=no
11602  hardcode_into_libs=yes
11603  dynamic_linker='NetBSD ld.elf_so'
11604  ;;
11605
11606netbsd*)
11607  version_type=sunos
11608  need_lib_prefix=no
11609  need_version=no
11610  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11611    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11612    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11613    dynamic_linker='NetBSD (a.out) ld.so'
11614  else
11615    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11616    soname_spec='${libname}${release}${shared_ext}$major'
11617    dynamic_linker='NetBSD ld.elf_so'
11618  fi
11619  shlibpath_var=LD_LIBRARY_PATH
11620  shlibpath_overrides_runpath=yes
11621  hardcode_into_libs=yes
11622  ;;
11623
11624newsos6)
11625  version_type=linux
11626  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11627  shlibpath_var=LD_LIBRARY_PATH
11628  shlibpath_overrides_runpath=yes
11629  ;;
11630
11631nto-qnx*)
11632  version_type=linux
11633  need_lib_prefix=no
11634  need_version=no
11635  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11636  soname_spec='${libname}${release}${shared_ext}$major'
11637  shlibpath_var=LD_LIBRARY_PATH
11638  shlibpath_overrides_runpath=yes
11639  ;;
11640
11641openbsd*)
11642  version_type=sunos
11643  sys_lib_dlsearch_path_spec="/usr/lib"
11644  need_lib_prefix=no
11645  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11646  case $host_os in
11647    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11648    *)                         need_version=no  ;;
11649  esac
11650  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11651  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11652  shlibpath_var=LD_LIBRARY_PATH
11653  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11654    case $host_os in
11655      openbsd2.[89] | openbsd2.[89].*)
11656	shlibpath_overrides_runpath=no
11657	;;
11658      *)
11659	shlibpath_overrides_runpath=yes
11660	;;
11661      esac
11662  else
11663    shlibpath_overrides_runpath=yes
11664  fi
11665  ;;
11666
11667os2*)
11668  libname_spec='$name'
11669  shrext_cmds=".dll"
11670  need_lib_prefix=no
11671  library_names_spec='$libname${shared_ext} $libname.a'
11672  dynamic_linker='OS/2 ld.exe'
11673  shlibpath_var=LIBPATH
11674  ;;
11675
11676osf3* | osf4* | osf5*)
11677  version_type=osf
11678  need_lib_prefix=no
11679  need_version=no
11680  soname_spec='${libname}${release}${shared_ext}$major'
11681  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11682  shlibpath_var=LD_LIBRARY_PATH
11683  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11684  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11685  ;;
11686
11687rdos*)
11688  dynamic_linker=no
11689  ;;
11690
11691solaris*)
11692  version_type=linux
11693  need_lib_prefix=no
11694  need_version=no
11695  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11696  soname_spec='${libname}${release}${shared_ext}$major'
11697  shlibpath_var=LD_LIBRARY_PATH
11698  shlibpath_overrides_runpath=yes
11699  hardcode_into_libs=yes
11700  # ldd complains unless libraries are executable
11701  postinstall_cmds='chmod +x $lib'
11702  ;;
11703
11704sunos4*)
11705  version_type=sunos
11706  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11707  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11708  shlibpath_var=LD_LIBRARY_PATH
11709  shlibpath_overrides_runpath=yes
11710  if test "$with_gnu_ld" = yes; then
11711    need_lib_prefix=no
11712  fi
11713  need_version=yes
11714  ;;
11715
11716sysv4 | sysv4.3*)
11717  version_type=linux
11718  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11719  soname_spec='${libname}${release}${shared_ext}$major'
11720  shlibpath_var=LD_LIBRARY_PATH
11721  case $host_vendor in
11722    sni)
11723      shlibpath_overrides_runpath=no
11724      need_lib_prefix=no
11725      export_dynamic_flag_spec='${wl}-Blargedynsym'
11726      runpath_var=LD_RUN_PATH
11727      ;;
11728    siemens)
11729      need_lib_prefix=no
11730      ;;
11731    motorola)
11732      need_lib_prefix=no
11733      need_version=no
11734      shlibpath_overrides_runpath=no
11735      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11736      ;;
11737  esac
11738  ;;
11739
11740sysv4*MP*)
11741  if test -d /usr/nec ;then
11742    version_type=linux
11743    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11744    soname_spec='$libname${shared_ext}.$major'
11745    shlibpath_var=LD_LIBRARY_PATH
11746  fi
11747  ;;
11748
11749sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11750  version_type=freebsd-elf
11751  need_lib_prefix=no
11752  need_version=no
11753  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11754  soname_spec='${libname}${release}${shared_ext}$major'
11755  shlibpath_var=LD_LIBRARY_PATH
11756  hardcode_into_libs=yes
11757  if test "$with_gnu_ld" = yes; then
11758    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11759    shlibpath_overrides_runpath=no
11760  else
11761    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11762    shlibpath_overrides_runpath=yes
11763    case $host_os in
11764      sco3.2v5*)
11765        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11766	;;
11767    esac
11768  fi
11769  sys_lib_dlsearch_path_spec='/usr/lib'
11770  ;;
11771
11772uts4*)
11773  version_type=linux
11774  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11775  soname_spec='${libname}${release}${shared_ext}$major'
11776  shlibpath_var=LD_LIBRARY_PATH
11777  ;;
11778
11779*)
11780  dynamic_linker=no
11781  ;;
11782esac
11783{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11784echo "${ECHO_T}$dynamic_linker" >&6; }
11785test "$dynamic_linker" = no && can_build_shared=no
11786
11787if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11788  echo $ECHO_N "(cached) $ECHO_C" >&6
11789else
11790  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
11791fi
11792
11793sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11794if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11795  echo $ECHO_N "(cached) $ECHO_C" >&6
11796else
11797  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
11798fi
11799
11800sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11801
11802variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11803if test "$GCC" = yes; then
11804  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11805fi
11806
11807{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11808echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
11809hardcode_action=
11810if test -n "$hardcode_libdir_flag_spec" || \
11811   test -n "$runpath_var" || \
11812   test "X$hardcode_automatic" = "Xyes" ; then
11813
11814  # We can hardcode non-existant directories.
11815  if test "$hardcode_direct" != no &&
11816     # If the only mechanism to avoid hardcoding is shlibpath_var, we
11817     # have to relink, otherwise we might link with an installed library
11818     # when we should be linking with a yet-to-be-installed one
11819     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
11820     test "$hardcode_minus_L" != no; then
11821    # Linking always hardcodes the temporary library directory.
11822    hardcode_action=relink
11823  else
11824    # We can link without hardcoding, and we can hardcode nonexisting dirs.
11825    hardcode_action=immediate
11826  fi
11827else
11828  # We cannot hardcode anything, or else we can only hardcode existing
11829  # directories.
11830  hardcode_action=unsupported
11831fi
11832{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
11833echo "${ECHO_T}$hardcode_action" >&6; }
11834
11835if test "$hardcode_action" = relink; then
11836  # Fast installation is not supported
11837  enable_fast_install=no
11838elif test "$shlibpath_overrides_runpath" = yes ||
11839     test "$enable_shared" = no; then
11840  # Fast installation is not necessary
11841  enable_fast_install=needless
11842fi
11843
11844striplib=
11845old_striplib=
11846{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11847echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
11848if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
11849  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11850  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11851  { echo "$as_me:$LINENO: result: yes" >&5
11852echo "${ECHO_T}yes" >&6; }
11853else
11854# FIXME - insert some real tests, host_os isn't really good enough
11855  case $host_os in
11856   darwin*)
11857       if test -n "$STRIP" ; then
11858         striplib="$STRIP -x"
11859         old_striplib="$STRIP -S"
11860         { echo "$as_me:$LINENO: result: yes" >&5
11861echo "${ECHO_T}yes" >&6; }
11862       else
11863  { echo "$as_me:$LINENO: result: no" >&5
11864echo "${ECHO_T}no" >&6; }
11865fi
11866       ;;
11867   *)
11868  { echo "$as_me:$LINENO: result: no" >&5
11869echo "${ECHO_T}no" >&6; }
11870    ;;
11871  esac
11872fi
11873
11874if test "x$enable_dlopen" != xyes; then
11875  enable_dlopen=unknown
11876  enable_dlopen_self=unknown
11877  enable_dlopen_self_static=unknown
11878else
11879  lt_cv_dlopen=no
11880  lt_cv_dlopen_libs=
11881
11882  case $host_os in
11883  beos*)
11884    lt_cv_dlopen="load_add_on"
11885    lt_cv_dlopen_libs=
11886    lt_cv_dlopen_self=yes
11887    ;;
11888
11889  mingw* | pw32*)
11890    lt_cv_dlopen="LoadLibrary"
11891    lt_cv_dlopen_libs=
11892   ;;
11893
11894  cygwin*)
11895    lt_cv_dlopen="dlopen"
11896    lt_cv_dlopen_libs=
11897   ;;
11898
11899  darwin*)
11900  # if libdl is installed we need to link against it
11901    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11902echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
11903if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11904  echo $ECHO_N "(cached) $ECHO_C" >&6
11905else
11906  ac_check_lib_save_LIBS=$LIBS
11907LIBS="-ldl  $LIBS"
11908cat >conftest.$ac_ext <<_ACEOF
11909/* confdefs.h.  */
11910_ACEOF
11911cat confdefs.h >>conftest.$ac_ext
11912cat >>conftest.$ac_ext <<_ACEOF
11913/* end confdefs.h.  */
11914
11915/* Override any GCC internal prototype to avoid an error.
11916   Use char because int might match the return type of a GCC
11917   builtin and then its argument prototype would still apply.  */
11918#ifdef __cplusplus
11919extern "C"
11920#endif
11921char dlopen ();
11922int
11923main ()
11924{
11925return dlopen ();
11926  ;
11927  return 0;
11928}
11929_ACEOF
11930rm -f conftest.$ac_objext conftest$ac_exeext
11931if { (ac_try="$ac_link"
11932case "(($ac_try" in
11933  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11934  *) ac_try_echo=$ac_try;;
11935esac
11936eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11937  (eval "$ac_link") 2>conftest.er1
11938  ac_status=$?
11939  grep -v '^ *+' conftest.er1 >conftest.err
11940  rm -f conftest.er1
11941  cat conftest.err >&5
11942  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11943  (exit $ac_status); } && {
11944	 test -z "$ac_c_werror_flag" ||
11945	 test ! -s conftest.err
11946       } && test -s conftest$ac_exeext &&
11947       $as_test_x conftest$ac_exeext; then
11948  ac_cv_lib_dl_dlopen=yes
11949else
11950  echo "$as_me: failed program was:" >&5
11951sed 's/^/| /' conftest.$ac_ext >&5
11952
11953	ac_cv_lib_dl_dlopen=no
11954fi
11955
11956rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11957      conftest$ac_exeext conftest.$ac_ext
11958LIBS=$ac_check_lib_save_LIBS
11959fi
11960{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11961echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
11962if test $ac_cv_lib_dl_dlopen = yes; then
11963  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11964else
11965
11966    lt_cv_dlopen="dyld"
11967    lt_cv_dlopen_libs=
11968    lt_cv_dlopen_self=yes
11969
11970fi
11971
11972   ;;
11973
11974  *)
11975    { echo "$as_me:$LINENO: checking for shl_load" >&5
11976echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
11977if test "${ac_cv_func_shl_load+set}" = set; then
11978  echo $ECHO_N "(cached) $ECHO_C" >&6
11979else
11980  cat >conftest.$ac_ext <<_ACEOF
11981/* confdefs.h.  */
11982_ACEOF
11983cat confdefs.h >>conftest.$ac_ext
11984cat >>conftest.$ac_ext <<_ACEOF
11985/* end confdefs.h.  */
11986/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
11987   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11988#define shl_load innocuous_shl_load
11989
11990/* System header to define __stub macros and hopefully few prototypes,
11991    which can conflict with char shl_load (); below.
11992    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11993    <limits.h> exists even on freestanding compilers.  */
11994
11995#ifdef __STDC__
11996# include <limits.h>
11997#else
11998# include <assert.h>
11999#endif
12000
12001#undef shl_load
12002
12003/* Override any GCC internal prototype to avoid an error.
12004   Use char because int might match the return type of a GCC
12005   builtin and then its argument prototype would still apply.  */
12006#ifdef __cplusplus
12007extern "C"
12008#endif
12009char shl_load ();
12010/* The GNU C library defines this for functions which it implements
12011    to always fail with ENOSYS.  Some functions are actually named
12012    something starting with __ and the normal name is an alias.  */
12013#if defined __stub_shl_load || defined __stub___shl_load
12014choke me
12015#endif
12016
12017int
12018main ()
12019{
12020return shl_load ();
12021  ;
12022  return 0;
12023}
12024_ACEOF
12025rm -f conftest.$ac_objext conftest$ac_exeext
12026if { (ac_try="$ac_link"
12027case "(($ac_try" in
12028  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12029  *) ac_try_echo=$ac_try;;
12030esac
12031eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12032  (eval "$ac_link") 2>conftest.er1
12033  ac_status=$?
12034  grep -v '^ *+' conftest.er1 >conftest.err
12035  rm -f conftest.er1
12036  cat conftest.err >&5
12037  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12038  (exit $ac_status); } && {
12039	 test -z "$ac_c_werror_flag" ||
12040	 test ! -s conftest.err
12041       } && test -s conftest$ac_exeext &&
12042       $as_test_x conftest$ac_exeext; then
12043  ac_cv_func_shl_load=yes
12044else
12045  echo "$as_me: failed program was:" >&5
12046sed 's/^/| /' conftest.$ac_ext >&5
12047
12048	ac_cv_func_shl_load=no
12049fi
12050
12051rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12052      conftest$ac_exeext conftest.$ac_ext
12053fi
12054{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
12055echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
12056if test $ac_cv_func_shl_load = yes; then
12057  lt_cv_dlopen="shl_load"
12058else
12059  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
12060echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
12061if test "${ac_cv_lib_dld_shl_load+set}" = set; then
12062  echo $ECHO_N "(cached) $ECHO_C" >&6
12063else
12064  ac_check_lib_save_LIBS=$LIBS
12065LIBS="-ldld  $LIBS"
12066cat >conftest.$ac_ext <<_ACEOF
12067/* confdefs.h.  */
12068_ACEOF
12069cat confdefs.h >>conftest.$ac_ext
12070cat >>conftest.$ac_ext <<_ACEOF
12071/* end confdefs.h.  */
12072
12073/* Override any GCC internal prototype to avoid an error.
12074   Use char because int might match the return type of a GCC
12075   builtin and then its argument prototype would still apply.  */
12076#ifdef __cplusplus
12077extern "C"
12078#endif
12079char shl_load ();
12080int
12081main ()
12082{
12083return shl_load ();
12084  ;
12085  return 0;
12086}
12087_ACEOF
12088rm -f conftest.$ac_objext conftest$ac_exeext
12089if { (ac_try="$ac_link"
12090case "(($ac_try" in
12091  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12092  *) ac_try_echo=$ac_try;;
12093esac
12094eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12095  (eval "$ac_link") 2>conftest.er1
12096  ac_status=$?
12097  grep -v '^ *+' conftest.er1 >conftest.err
12098  rm -f conftest.er1
12099  cat conftest.err >&5
12100  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12101  (exit $ac_status); } && {
12102	 test -z "$ac_c_werror_flag" ||
12103	 test ! -s conftest.err
12104       } && test -s conftest$ac_exeext &&
12105       $as_test_x conftest$ac_exeext; then
12106  ac_cv_lib_dld_shl_load=yes
12107else
12108  echo "$as_me: failed program was:" >&5
12109sed 's/^/| /' conftest.$ac_ext >&5
12110
12111	ac_cv_lib_dld_shl_load=no
12112fi
12113
12114rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12115      conftest$ac_exeext conftest.$ac_ext
12116LIBS=$ac_check_lib_save_LIBS
12117fi
12118{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
12119echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
12120if test $ac_cv_lib_dld_shl_load = yes; then
12121  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12122else
12123  { echo "$as_me:$LINENO: checking for dlopen" >&5
12124echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
12125if test "${ac_cv_func_dlopen+set}" = set; then
12126  echo $ECHO_N "(cached) $ECHO_C" >&6
12127else
12128  cat >conftest.$ac_ext <<_ACEOF
12129/* confdefs.h.  */
12130_ACEOF
12131cat confdefs.h >>conftest.$ac_ext
12132cat >>conftest.$ac_ext <<_ACEOF
12133/* end confdefs.h.  */
12134/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
12135   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12136#define dlopen innocuous_dlopen
12137
12138/* System header to define __stub macros and hopefully few prototypes,
12139    which can conflict with char dlopen (); below.
12140    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12141    <limits.h> exists even on freestanding compilers.  */
12142
12143#ifdef __STDC__
12144# include <limits.h>
12145#else
12146# include <assert.h>
12147#endif
12148
12149#undef dlopen
12150
12151/* Override any GCC internal prototype to avoid an error.
12152   Use char because int might match the return type of a GCC
12153   builtin and then its argument prototype would still apply.  */
12154#ifdef __cplusplus
12155extern "C"
12156#endif
12157char dlopen ();
12158/* The GNU C library defines this for functions which it implements
12159    to always fail with ENOSYS.  Some functions are actually named
12160    something starting with __ and the normal name is an alias.  */
12161#if defined __stub_dlopen || defined __stub___dlopen
12162choke me
12163#endif
12164
12165int
12166main ()
12167{
12168return dlopen ();
12169  ;
12170  return 0;
12171}
12172_ACEOF
12173rm -f conftest.$ac_objext conftest$ac_exeext
12174if { (ac_try="$ac_link"
12175case "(($ac_try" in
12176  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12177  *) ac_try_echo=$ac_try;;
12178esac
12179eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12180  (eval "$ac_link") 2>conftest.er1
12181  ac_status=$?
12182  grep -v '^ *+' conftest.er1 >conftest.err
12183  rm -f conftest.er1
12184  cat conftest.err >&5
12185  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12186  (exit $ac_status); } && {
12187	 test -z "$ac_c_werror_flag" ||
12188	 test ! -s conftest.err
12189       } && test -s conftest$ac_exeext &&
12190       $as_test_x conftest$ac_exeext; then
12191  ac_cv_func_dlopen=yes
12192else
12193  echo "$as_me: failed program was:" >&5
12194sed 's/^/| /' conftest.$ac_ext >&5
12195
12196	ac_cv_func_dlopen=no
12197fi
12198
12199rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12200      conftest$ac_exeext conftest.$ac_ext
12201fi
12202{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
12203echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
12204if test $ac_cv_func_dlopen = yes; then
12205  lt_cv_dlopen="dlopen"
12206else
12207  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12208echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
12209if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12210  echo $ECHO_N "(cached) $ECHO_C" >&6
12211else
12212  ac_check_lib_save_LIBS=$LIBS
12213LIBS="-ldl  $LIBS"
12214cat >conftest.$ac_ext <<_ACEOF
12215/* confdefs.h.  */
12216_ACEOF
12217cat confdefs.h >>conftest.$ac_ext
12218cat >>conftest.$ac_ext <<_ACEOF
12219/* end confdefs.h.  */
12220
12221/* Override any GCC internal prototype to avoid an error.
12222   Use char because int might match the return type of a GCC
12223   builtin and then its argument prototype would still apply.  */
12224#ifdef __cplusplus
12225extern "C"
12226#endif
12227char dlopen ();
12228int
12229main ()
12230{
12231return dlopen ();
12232  ;
12233  return 0;
12234}
12235_ACEOF
12236rm -f conftest.$ac_objext conftest$ac_exeext
12237if { (ac_try="$ac_link"
12238case "(($ac_try" in
12239  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12240  *) ac_try_echo=$ac_try;;
12241esac
12242eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12243  (eval "$ac_link") 2>conftest.er1
12244  ac_status=$?
12245  grep -v '^ *+' conftest.er1 >conftest.err
12246  rm -f conftest.er1
12247  cat conftest.err >&5
12248  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12249  (exit $ac_status); } && {
12250	 test -z "$ac_c_werror_flag" ||
12251	 test ! -s conftest.err
12252       } && test -s conftest$ac_exeext &&
12253       $as_test_x conftest$ac_exeext; then
12254  ac_cv_lib_dl_dlopen=yes
12255else
12256  echo "$as_me: failed program was:" >&5
12257sed 's/^/| /' conftest.$ac_ext >&5
12258
12259	ac_cv_lib_dl_dlopen=no
12260fi
12261
12262rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12263      conftest$ac_exeext conftest.$ac_ext
12264LIBS=$ac_check_lib_save_LIBS
12265fi
12266{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12267echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
12268if test $ac_cv_lib_dl_dlopen = yes; then
12269  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12270else
12271  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
12272echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
12273if test "${ac_cv_lib_svld_dlopen+set}" = set; then
12274  echo $ECHO_N "(cached) $ECHO_C" >&6
12275else
12276  ac_check_lib_save_LIBS=$LIBS
12277LIBS="-lsvld  $LIBS"
12278cat >conftest.$ac_ext <<_ACEOF
12279/* confdefs.h.  */
12280_ACEOF
12281cat confdefs.h >>conftest.$ac_ext
12282cat >>conftest.$ac_ext <<_ACEOF
12283/* end confdefs.h.  */
12284
12285/* Override any GCC internal prototype to avoid an error.
12286   Use char because int might match the return type of a GCC
12287   builtin and then its argument prototype would still apply.  */
12288#ifdef __cplusplus
12289extern "C"
12290#endif
12291char dlopen ();
12292int
12293main ()
12294{
12295return dlopen ();
12296  ;
12297  return 0;
12298}
12299_ACEOF
12300rm -f conftest.$ac_objext conftest$ac_exeext
12301if { (ac_try="$ac_link"
12302case "(($ac_try" in
12303  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12304  *) ac_try_echo=$ac_try;;
12305esac
12306eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12307  (eval "$ac_link") 2>conftest.er1
12308  ac_status=$?
12309  grep -v '^ *+' conftest.er1 >conftest.err
12310  rm -f conftest.er1
12311  cat conftest.err >&5
12312  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12313  (exit $ac_status); } && {
12314	 test -z "$ac_c_werror_flag" ||
12315	 test ! -s conftest.err
12316       } && test -s conftest$ac_exeext &&
12317       $as_test_x conftest$ac_exeext; then
12318  ac_cv_lib_svld_dlopen=yes
12319else
12320  echo "$as_me: failed program was:" >&5
12321sed 's/^/| /' conftest.$ac_ext >&5
12322
12323	ac_cv_lib_svld_dlopen=no
12324fi
12325
12326rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12327      conftest$ac_exeext conftest.$ac_ext
12328LIBS=$ac_check_lib_save_LIBS
12329fi
12330{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12331echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
12332if test $ac_cv_lib_svld_dlopen = yes; then
12333  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12334else
12335  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12336echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
12337if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12338  echo $ECHO_N "(cached) $ECHO_C" >&6
12339else
12340  ac_check_lib_save_LIBS=$LIBS
12341LIBS="-ldld  $LIBS"
12342cat >conftest.$ac_ext <<_ACEOF
12343/* confdefs.h.  */
12344_ACEOF
12345cat confdefs.h >>conftest.$ac_ext
12346cat >>conftest.$ac_ext <<_ACEOF
12347/* end confdefs.h.  */
12348
12349/* Override any GCC internal prototype to avoid an error.
12350   Use char because int might match the return type of a GCC
12351   builtin and then its argument prototype would still apply.  */
12352#ifdef __cplusplus
12353extern "C"
12354#endif
12355char dld_link ();
12356int
12357main ()
12358{
12359return dld_link ();
12360  ;
12361  return 0;
12362}
12363_ACEOF
12364rm -f conftest.$ac_objext conftest$ac_exeext
12365if { (ac_try="$ac_link"
12366case "(($ac_try" in
12367  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12368  *) ac_try_echo=$ac_try;;
12369esac
12370eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12371  (eval "$ac_link") 2>conftest.er1
12372  ac_status=$?
12373  grep -v '^ *+' conftest.er1 >conftest.err
12374  rm -f conftest.er1
12375  cat conftest.err >&5
12376  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12377  (exit $ac_status); } && {
12378	 test -z "$ac_c_werror_flag" ||
12379	 test ! -s conftest.err
12380       } && test -s conftest$ac_exeext &&
12381       $as_test_x conftest$ac_exeext; then
12382  ac_cv_lib_dld_dld_link=yes
12383else
12384  echo "$as_me: failed program was:" >&5
12385sed 's/^/| /' conftest.$ac_ext >&5
12386
12387	ac_cv_lib_dld_dld_link=no
12388fi
12389
12390rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12391      conftest$ac_exeext conftest.$ac_ext
12392LIBS=$ac_check_lib_save_LIBS
12393fi
12394{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12395echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
12396if test $ac_cv_lib_dld_dld_link = yes; then
12397  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12398fi
12399
12400
12401fi
12402
12403
12404fi
12405
12406
12407fi
12408
12409
12410fi
12411
12412
12413fi
12414
12415    ;;
12416  esac
12417
12418  if test "x$lt_cv_dlopen" != xno; then
12419    enable_dlopen=yes
12420  else
12421    enable_dlopen=no
12422  fi
12423
12424  case $lt_cv_dlopen in
12425  dlopen)
12426    save_CPPFLAGS="$CPPFLAGS"
12427    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12428
12429    save_LDFLAGS="$LDFLAGS"
12430    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12431
12432    save_LIBS="$LIBS"
12433    LIBS="$lt_cv_dlopen_libs $LIBS"
12434
12435    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12436echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
12437if test "${lt_cv_dlopen_self+set}" = set; then
12438  echo $ECHO_N "(cached) $ECHO_C" >&6
12439else
12440  	  if test "$cross_compiling" = yes; then :
12441  lt_cv_dlopen_self=cross
12442else
12443  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12444  lt_status=$lt_dlunknown
12445  cat > conftest.$ac_ext <<EOF
12446#line 12446 "configure"
12447#include "confdefs.h"
12448
12449#if HAVE_DLFCN_H
12450#include <dlfcn.h>
12451#endif
12452
12453#include <stdio.h>
12454
12455#ifdef RTLD_GLOBAL
12456#  define LT_DLGLOBAL		RTLD_GLOBAL
12457#else
12458#  ifdef DL_GLOBAL
12459#    define LT_DLGLOBAL		DL_GLOBAL
12460#  else
12461#    define LT_DLGLOBAL		0
12462#  endif
12463#endif
12464
12465/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12466   find out it does not work in some platform. */
12467#ifndef LT_DLLAZY_OR_NOW
12468#  ifdef RTLD_LAZY
12469#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12470#  else
12471#    ifdef DL_LAZY
12472#      define LT_DLLAZY_OR_NOW		DL_LAZY
12473#    else
12474#      ifdef RTLD_NOW
12475#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12476#      else
12477#        ifdef DL_NOW
12478#          define LT_DLLAZY_OR_NOW	DL_NOW
12479#        else
12480#          define LT_DLLAZY_OR_NOW	0
12481#        endif
12482#      endif
12483#    endif
12484#  endif
12485#endif
12486
12487#ifdef __cplusplus
12488extern "C" void exit (int);
12489#endif
12490
12491void fnord() { int i=42;}
12492int main ()
12493{
12494  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12495  int status = $lt_dlunknown;
12496
12497  if (self)
12498    {
12499      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12500      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12501      /* dlclose (self); */
12502    }
12503  else
12504    puts (dlerror ());
12505
12506    exit (status);
12507}
12508EOF
12509  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12510  (eval $ac_link) 2>&5
12511  ac_status=$?
12512  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12513  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12514    (./conftest; exit; ) >&5 2>/dev/null
12515    lt_status=$?
12516    case x$lt_status in
12517      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12518      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12519      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12520    esac
12521  else :
12522    # compilation failed
12523    lt_cv_dlopen_self=no
12524  fi
12525fi
12526rm -fr conftest*
12527
12528
12529fi
12530{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12531echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
12532
12533    if test "x$lt_cv_dlopen_self" = xyes; then
12534      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12535      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12536echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
12537if test "${lt_cv_dlopen_self_static+set}" = set; then
12538  echo $ECHO_N "(cached) $ECHO_C" >&6
12539else
12540  	  if test "$cross_compiling" = yes; then :
12541  lt_cv_dlopen_self_static=cross
12542else
12543  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12544  lt_status=$lt_dlunknown
12545  cat > conftest.$ac_ext <<EOF
12546#line 12546 "configure"
12547#include "confdefs.h"
12548
12549#if HAVE_DLFCN_H
12550#include <dlfcn.h>
12551#endif
12552
12553#include <stdio.h>
12554
12555#ifdef RTLD_GLOBAL
12556#  define LT_DLGLOBAL		RTLD_GLOBAL
12557#else
12558#  ifdef DL_GLOBAL
12559#    define LT_DLGLOBAL		DL_GLOBAL
12560#  else
12561#    define LT_DLGLOBAL		0
12562#  endif
12563#endif
12564
12565/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12566   find out it does not work in some platform. */
12567#ifndef LT_DLLAZY_OR_NOW
12568#  ifdef RTLD_LAZY
12569#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12570#  else
12571#    ifdef DL_LAZY
12572#      define LT_DLLAZY_OR_NOW		DL_LAZY
12573#    else
12574#      ifdef RTLD_NOW
12575#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12576#      else
12577#        ifdef DL_NOW
12578#          define LT_DLLAZY_OR_NOW	DL_NOW
12579#        else
12580#          define LT_DLLAZY_OR_NOW	0
12581#        endif
12582#      endif
12583#    endif
12584#  endif
12585#endif
12586
12587#ifdef __cplusplus
12588extern "C" void exit (int);
12589#endif
12590
12591void fnord() { int i=42;}
12592int main ()
12593{
12594  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12595  int status = $lt_dlunknown;
12596
12597  if (self)
12598    {
12599      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12600      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12601      /* dlclose (self); */
12602    }
12603  else
12604    puts (dlerror ());
12605
12606    exit (status);
12607}
12608EOF
12609  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12610  (eval $ac_link) 2>&5
12611  ac_status=$?
12612  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12613  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12614    (./conftest; exit; ) >&5 2>/dev/null
12615    lt_status=$?
12616    case x$lt_status in
12617      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12618      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12619      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12620    esac
12621  else :
12622    # compilation failed
12623    lt_cv_dlopen_self_static=no
12624  fi
12625fi
12626rm -fr conftest*
12627
12628
12629fi
12630{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12631echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
12632    fi
12633
12634    CPPFLAGS="$save_CPPFLAGS"
12635    LDFLAGS="$save_LDFLAGS"
12636    LIBS="$save_LIBS"
12637    ;;
12638  esac
12639
12640  case $lt_cv_dlopen_self in
12641  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12642  *) enable_dlopen_self=unknown ;;
12643  esac
12644
12645  case $lt_cv_dlopen_self_static in
12646  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12647  *) enable_dlopen_self_static=unknown ;;
12648  esac
12649fi
12650
12651
12652# Report which library types will actually be built
12653{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12654echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
12655{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
12656echo "${ECHO_T}$can_build_shared" >&6; }
12657
12658{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12659echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
12660test "$can_build_shared" = "no" && enable_shared=no
12661
12662# On AIX, shared libraries and static libraries use the same namespace, and
12663# are all built from PIC.
12664case $host_os in
12665aix3*)
12666  test "$enable_shared" = yes && enable_static=no
12667  if test -n "$RANLIB"; then
12668    archive_cmds="$archive_cmds~\$RANLIB \$lib"
12669    postinstall_cmds='$RANLIB $lib'
12670  fi
12671  ;;
12672
12673aix[4-9]*)
12674  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12675    test "$enable_shared" = yes && enable_static=no
12676  fi
12677    ;;
12678esac
12679{ echo "$as_me:$LINENO: result: $enable_shared" >&5
12680echo "${ECHO_T}$enable_shared" >&6; }
12681
12682{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12683echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
12684# Make sure either enable_shared or enable_static is yes.
12685test "$enable_shared" = yes || enable_static=yes
12686{ echo "$as_me:$LINENO: result: $enable_static" >&5
12687echo "${ECHO_T}$enable_static" >&6; }
12688
12689# The else clause should only fire when bootstrapping the
12690# libtool distribution, otherwise you forgot to ship ltmain.sh
12691# with your package, and you will get complaints that there are
12692# no rules to generate ltmain.sh.
12693if test -f "$ltmain"; then
12694  # See if we are running on zsh, and set the options which allow our commands through
12695  # without removal of \ escapes.
12696  if test -n "${ZSH_VERSION+set}" ; then
12697    setopt NO_GLOB_SUBST
12698  fi
12699  # Now quote all the things that may contain metacharacters while being
12700  # careful not to overquote the AC_SUBSTed values.  We take copies of the
12701  # variables and quote the copies for generation of the libtool script.
12702  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
12703    SED SHELL STRIP \
12704    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12705    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12706    deplibs_check_method reload_flag reload_cmds need_locks \
12707    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12708    lt_cv_sys_global_symbol_to_c_name_address \
12709    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12710    old_postinstall_cmds old_postuninstall_cmds \
12711    compiler \
12712    CC \
12713    LD \
12714    lt_prog_compiler_wl \
12715    lt_prog_compiler_pic \
12716    lt_prog_compiler_static \
12717    lt_prog_compiler_no_builtin_flag \
12718    export_dynamic_flag_spec \
12719    thread_safe_flag_spec \
12720    whole_archive_flag_spec \
12721    enable_shared_with_static_runtimes \
12722    old_archive_cmds \
12723    old_archive_from_new_cmds \
12724    predep_objects \
12725    postdep_objects \
12726    predeps \
12727    postdeps \
12728    compiler_lib_search_path \
12729    compiler_lib_search_dirs \
12730    archive_cmds \
12731    archive_expsym_cmds \
12732    postinstall_cmds \
12733    postuninstall_cmds \
12734    old_archive_from_expsyms_cmds \
12735    allow_undefined_flag \
12736    no_undefined_flag \
12737    export_symbols_cmds \
12738    hardcode_libdir_flag_spec \
12739    hardcode_libdir_flag_spec_ld \
12740    hardcode_libdir_separator \
12741    hardcode_automatic \
12742    module_cmds \
12743    module_expsym_cmds \
12744    lt_cv_prog_compiler_c_o \
12745    fix_srcfile_path \
12746    exclude_expsyms \
12747    include_expsyms; do
12748
12749    case $var in
12750    old_archive_cmds | \
12751    old_archive_from_new_cmds | \
12752    archive_cmds | \
12753    archive_expsym_cmds | \
12754    module_cmds | \
12755    module_expsym_cmds | \
12756    old_archive_from_expsyms_cmds | \
12757    export_symbols_cmds | \
12758    extract_expsyms_cmds | reload_cmds | finish_cmds | \
12759    postinstall_cmds | postuninstall_cmds | \
12760    old_postinstall_cmds | old_postuninstall_cmds | \
12761    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
12762      # Double-quote double-evaled strings.
12763      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
12764      ;;
12765    *)
12766      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
12767      ;;
12768    esac
12769  done
12770
12771  case $lt_echo in
12772  *'\$0 --fallback-echo"')
12773    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12774    ;;
12775  esac
12776
12777cfgfile="${ofile}T"
12778  trap "$rm \"$cfgfile\"; exit 1" 1 2 15
12779  $rm -f "$cfgfile"
12780  { echo "$as_me:$LINENO: creating $ofile" >&5
12781echo "$as_me: creating $ofile" >&6;}
12782
12783  cat <<__EOF__ >> "$cfgfile"
12784#! $SHELL
12785
12786# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
12787# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
12788# NOTE: Changes made to this file will be lost: look at ltmain.sh.
12789#
12790# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
12791# Free Software Foundation, Inc.
12792#
12793# This file is part of GNU Libtool:
12794# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
12795#
12796# This program is free software; you can redistribute it and/or modify
12797# it under the terms of the GNU General Public License as published by
12798# the Free Software Foundation; either version 2 of the License, or
12799# (at your option) any later version.
12800#
12801# This program is distributed in the hope that it will be useful, but
12802# WITHOUT ANY WARRANTY; without even the implied warranty of
12803# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12804# General Public License for more details.
12805#
12806# You should have received a copy of the GNU General Public License
12807# along with this program; if not, write to the Free Software
12808# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
12809#
12810# As a special exception to the GNU General Public License, if you
12811# distribute this file as part of a program that contains a
12812# configuration script generated by Autoconf, you may include it under
12813# the same distribution terms that you use for the rest of that program.
12814
12815# A sed program that does not truncate output.
12816SED=$lt_SED
12817
12818# Sed that helps us avoid accidentally triggering echo(1) options like -n.
12819Xsed="$SED -e 1s/^X//"
12820
12821# The HP-UX ksh and POSIX shell print the target directory to stdout
12822# if CDPATH is set.
12823(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12824
12825# The names of the tagged configurations supported by this script.
12826available_tags=
12827
12828# ### BEGIN LIBTOOL CONFIG
12829
12830# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12831
12832# Shell to use when invoking shell scripts.
12833SHELL=$lt_SHELL
12834
12835# Whether or not to build shared libraries.
12836build_libtool_libs=$enable_shared
12837
12838# Whether or not to build static libraries.
12839build_old_libs=$enable_static
12840
12841# Whether or not to add -lc for building shared libraries.
12842build_libtool_need_lc=$archive_cmds_need_lc
12843
12844# Whether or not to disallow shared libs when runtime libs are static
12845allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
12846
12847# Whether or not to optimize for fast installation.
12848fast_install=$enable_fast_install
12849
12850# The host system.
12851host_alias=$host_alias
12852host=$host
12853host_os=$host_os
12854
12855# The build system.
12856build_alias=$build_alias
12857build=$build
12858build_os=$build_os
12859
12860# An echo program that does not interpret backslashes.
12861echo=$lt_echo
12862
12863# The archiver.
12864AR=$lt_AR
12865AR_FLAGS=$lt_AR_FLAGS
12866
12867# A C compiler.
12868LTCC=$lt_LTCC
12869
12870# LTCC compiler flags.
12871LTCFLAGS=$lt_LTCFLAGS
12872
12873# A language-specific compiler.
12874CC=$lt_compiler
12875
12876# Is the compiler the GNU C compiler?
12877with_gcc=$GCC
12878
12879# An ERE matcher.
12880EGREP=$lt_EGREP
12881
12882# The linker used to build libraries.
12883LD=$lt_LD
12884
12885# Whether we need hard or soft links.
12886LN_S=$lt_LN_S
12887
12888# A BSD-compatible nm program.
12889NM=$lt_NM
12890
12891# A symbol stripping program
12892STRIP=$lt_STRIP
12893
12894# Used to examine libraries when file_magic_cmd begins "file"
12895MAGIC_CMD=$MAGIC_CMD
12896
12897# Used on cygwin: DLL creation program.
12898DLLTOOL="$DLLTOOL"
12899
12900# Used on cygwin: object dumper.
12901OBJDUMP="$OBJDUMP"
12902
12903# Used on cygwin: assembler.
12904AS="$AS"
12905
12906# The name of the directory that contains temporary libtool files.
12907objdir=$objdir
12908
12909# How to create reloadable object files.
12910reload_flag=$lt_reload_flag
12911reload_cmds=$lt_reload_cmds
12912
12913# How to pass a linker flag through the compiler.
12914wl=$lt_lt_prog_compiler_wl
12915
12916# Object file suffix (normally "o").
12917objext="$ac_objext"
12918
12919# Old archive suffix (normally "a").
12920libext="$libext"
12921
12922# Shared library suffix (normally ".so").
12923shrext_cmds='$shrext_cmds'
12924
12925# Executable file suffix (normally "").
12926exeext="$exeext"
12927
12928# Additional compiler flags for building library objects.
12929pic_flag=$lt_lt_prog_compiler_pic
12930pic_mode=$pic_mode
12931
12932# What is the maximum length of a command?
12933max_cmd_len=$lt_cv_sys_max_cmd_len
12934
12935# Does compiler simultaneously support -c and -o options?
12936compiler_c_o=$lt_lt_cv_prog_compiler_c_o
12937
12938# Must we lock files when doing compilation?
12939need_locks=$lt_need_locks
12940
12941# Do we need the lib prefix for modules?
12942need_lib_prefix=$need_lib_prefix
12943
12944# Do we need a version for libraries?
12945need_version=$need_version
12946
12947# Whether dlopen is supported.
12948dlopen_support=$enable_dlopen
12949
12950# Whether dlopen of programs is supported.
12951dlopen_self=$enable_dlopen_self
12952
12953# Whether dlopen of statically linked programs is supported.
12954dlopen_self_static=$enable_dlopen_self_static
12955
12956# Compiler flag to prevent dynamic linking.
12957link_static_flag=$lt_lt_prog_compiler_static
12958
12959# Compiler flag to turn off builtin functions.
12960no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
12961
12962# Compiler flag to allow reflexive dlopens.
12963export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
12964
12965# Compiler flag to generate shared objects directly from archives.
12966whole_archive_flag_spec=$lt_whole_archive_flag_spec
12967
12968# Compiler flag to generate thread-safe objects.
12969thread_safe_flag_spec=$lt_thread_safe_flag_spec
12970
12971# Library versioning type.
12972version_type=$version_type
12973
12974# Format of library name prefix.
12975libname_spec=$lt_libname_spec
12976
12977# List of archive names.  First name is the real one, the rest are links.
12978# The last name is the one that the linker finds with -lNAME.
12979library_names_spec=$lt_library_names_spec
12980
12981# The coded name of the library, if different from the real name.
12982soname_spec=$lt_soname_spec
12983
12984# Commands used to build and install an old-style archive.
12985RANLIB=$lt_RANLIB
12986old_archive_cmds=$lt_old_archive_cmds
12987old_postinstall_cmds=$lt_old_postinstall_cmds
12988old_postuninstall_cmds=$lt_old_postuninstall_cmds
12989
12990# Create an old-style archive from a shared archive.
12991old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
12992
12993# Create a temporary old-style archive to link instead of a shared archive.
12994old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
12995
12996# Commands used to build and install a shared archive.
12997archive_cmds=$lt_archive_cmds
12998archive_expsym_cmds=$lt_archive_expsym_cmds
12999postinstall_cmds=$lt_postinstall_cmds
13000postuninstall_cmds=$lt_postuninstall_cmds
13001
13002# Commands used to build a loadable module (assumed same as above if empty)
13003module_cmds=$lt_module_cmds
13004module_expsym_cmds=$lt_module_expsym_cmds
13005
13006# Commands to strip libraries.
13007old_striplib=$lt_old_striplib
13008striplib=$lt_striplib
13009
13010# Dependencies to place before the objects being linked to create a
13011# shared library.
13012predep_objects=$lt_predep_objects
13013
13014# Dependencies to place after the objects being linked to create a
13015# shared library.
13016postdep_objects=$lt_postdep_objects
13017
13018# Dependencies to place before the objects being linked to create a
13019# shared library.
13020predeps=$lt_predeps
13021
13022# Dependencies to place after the objects being linked to create a
13023# shared library.
13024postdeps=$lt_postdeps
13025
13026# The directories searched by this compiler when creating a shared
13027# library
13028compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
13029
13030# The library search path used internally by the compiler when linking
13031# a shared library.
13032compiler_lib_search_path=$lt_compiler_lib_search_path
13033
13034# Method to check whether dependent libraries are shared objects.
13035deplibs_check_method=$lt_deplibs_check_method
13036
13037# Command to use when deplibs_check_method == file_magic.
13038file_magic_cmd=$lt_file_magic_cmd
13039
13040# Flag that allows shared libraries with undefined symbols to be built.
13041allow_undefined_flag=$lt_allow_undefined_flag
13042
13043# Flag that forces no undefined symbols.
13044no_undefined_flag=$lt_no_undefined_flag
13045
13046# Commands used to finish a libtool library installation in a directory.
13047finish_cmds=$lt_finish_cmds
13048
13049# Same as above, but a single script fragment to be evaled but not shown.
13050finish_eval=$lt_finish_eval
13051
13052# Take the output of nm and produce a listing of raw symbols and C names.
13053global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13054
13055# Transform the output of nm in a proper C declaration
13056global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13057
13058# Transform the output of nm in a C name address pair
13059global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13060
13061# This is the shared library runtime path variable.
13062runpath_var=$runpath_var
13063
13064# This is the shared library path variable.
13065shlibpath_var=$shlibpath_var
13066
13067# Is shlibpath searched before the hard-coded library search path?
13068shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13069
13070# How to hardcode a shared library path into an executable.
13071hardcode_action=$hardcode_action
13072
13073# Whether we should hardcode library paths into libraries.
13074hardcode_into_libs=$hardcode_into_libs
13075
13076# Flag to hardcode \$libdir into a binary during linking.
13077# This must work even if \$libdir does not exist.
13078hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13079
13080# If ld is used when linking, flag to hardcode \$libdir into
13081# a binary during linking. This must work even if \$libdir does
13082# not exist.
13083hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
13084
13085# Whether we need a single -rpath flag with a separated argument.
13086hardcode_libdir_separator=$lt_hardcode_libdir_separator
13087
13088# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13089# resulting binary.
13090hardcode_direct=$hardcode_direct
13091
13092# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13093# resulting binary.
13094hardcode_minus_L=$hardcode_minus_L
13095
13096# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13097# the resulting binary.
13098hardcode_shlibpath_var=$hardcode_shlibpath_var
13099
13100# Set to yes if building a shared library automatically hardcodes DIR into the library
13101# and all subsequent libraries and executables linked against it.
13102hardcode_automatic=$hardcode_automatic
13103
13104# Variables whose values should be saved in libtool wrapper scripts and
13105# restored at relink time.
13106variables_saved_for_relink="$variables_saved_for_relink"
13107
13108# Whether libtool must link a program against all its dependency libraries.
13109link_all_deplibs=$link_all_deplibs
13110
13111# Compile-time system search path for libraries
13112sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13113
13114# Run-time system search path for libraries
13115sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13116
13117# Fix the shell variable \$srcfile for the compiler.
13118fix_srcfile_path=$lt_fix_srcfile_path
13119
13120# Set to yes if exported symbols are required.
13121always_export_symbols=$always_export_symbols
13122
13123# The commands to list exported symbols.
13124export_symbols_cmds=$lt_export_symbols_cmds
13125
13126# The commands to extract the exported symbol list from a shared archive.
13127extract_expsyms_cmds=$lt_extract_expsyms_cmds
13128
13129# Symbols that should not be listed in the preloaded symbols.
13130exclude_expsyms=$lt_exclude_expsyms
13131
13132# Symbols that must always be exported.
13133include_expsyms=$lt_include_expsyms
13134
13135# ### END LIBTOOL CONFIG
13136
13137__EOF__
13138
13139
13140  case $host_os in
13141  aix3*)
13142    cat <<\EOF >> "$cfgfile"
13143
13144# AIX sometimes has problems with the GCC collect2 program.  For some
13145# reason, if we set the COLLECT_NAMES environment variable, the problems
13146# vanish in a puff of smoke.
13147if test "X${COLLECT_NAMES+set}" != Xset; then
13148  COLLECT_NAMES=
13149  export COLLECT_NAMES
13150fi
13151EOF
13152    ;;
13153  esac
13154
13155  # We use sed instead of cat because bash on DJGPP gets confused if
13156  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
13157  # text mode, it properly converts lines to CR/LF.  This bash problem
13158  # is reportedly fixed, but why not run on old versions too?
13159  sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
13160
13161  mv -f "$cfgfile" "$ofile" || \
13162    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
13163  chmod +x "$ofile"
13164
13165else
13166  # If there is no Makefile yet, we rely on a make rule to execute
13167  # `config.status --recheck' to rerun these tests and create the
13168  # libtool script then.
13169  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
13170  if test -f "$ltmain_in"; then
13171    test -f Makefile && make "$ltmain"
13172  fi
13173fi
13174
13175
13176ac_ext=c
13177ac_cpp='$CPP $CPPFLAGS'
13178ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13179ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13180ac_compiler_gnu=$ac_cv_c_compiler_gnu
13181
13182CC="$lt_save_CC"
13183
13184
13185# Check whether --with-tags was given.
13186if test "${with_tags+set}" = set; then
13187  withval=$with_tags; tagnames="$withval"
13188fi
13189
13190
13191if test -f "$ltmain" && test -n "$tagnames"; then
13192  if test ! -f "${ofile}"; then
13193    { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
13194echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
13195  fi
13196
13197  if test -z "$LTCC"; then
13198    eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
13199    if test -z "$LTCC"; then
13200      { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
13201echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
13202    else
13203      { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
13204echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
13205    fi
13206  fi
13207  if test -z "$LTCFLAGS"; then
13208    eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
13209  fi
13210
13211  # Extract list of available tagged configurations in $ofile.
13212  # Note that this assumes the entire list is on one line.
13213  available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
13214
13215  lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
13216  for tagname in $tagnames; do
13217    IFS="$lt_save_ifs"
13218    # Check whether tagname contains only valid characters
13219    case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
13220    "") ;;
13221    *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
13222echo "$as_me: error: invalid tag name: $tagname" >&2;}
13223   { (exit 1); exit 1; }; }
13224	;;
13225    esac
13226
13227    if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
13228    then
13229      { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
13230echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
13231   { (exit 1); exit 1; }; }
13232    fi
13233
13234    # Update the list of available tags.
13235    if test -n "$tagname"; then
13236      echo appending configuration tag \"$tagname\" to $ofile
13237
13238      case $tagname in
13239      CXX)
13240	if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
13241	    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
13242	    (test "X$CXX" != "Xg++"))) ; then
13243	  ac_ext=cpp
13244ac_cpp='$CXXCPP $CPPFLAGS'
13245ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13246ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13247ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13248
13249
13250
13251
13252archive_cmds_need_lc_CXX=no
13253allow_undefined_flag_CXX=
13254always_export_symbols_CXX=no
13255archive_expsym_cmds_CXX=
13256export_dynamic_flag_spec_CXX=
13257hardcode_direct_CXX=no
13258hardcode_libdir_flag_spec_CXX=
13259hardcode_libdir_flag_spec_ld_CXX=
13260hardcode_libdir_separator_CXX=
13261hardcode_minus_L_CXX=no
13262hardcode_shlibpath_var_CXX=unsupported
13263hardcode_automatic_CXX=no
13264module_cmds_CXX=
13265module_expsym_cmds_CXX=
13266link_all_deplibs_CXX=unknown
13267old_archive_cmds_CXX=$old_archive_cmds
13268no_undefined_flag_CXX=
13269whole_archive_flag_spec_CXX=
13270enable_shared_with_static_runtimes_CXX=no
13271
13272# Dependencies to place before and after the object being linked:
13273predep_objects_CXX=
13274postdep_objects_CXX=
13275predeps_CXX=
13276postdeps_CXX=
13277compiler_lib_search_path_CXX=
13278compiler_lib_search_dirs_CXX=
13279
13280# Source file extension for C++ test sources.
13281ac_ext=cpp
13282
13283# Object file extension for compiled C++ test sources.
13284objext=o
13285objext_CXX=$objext
13286
13287# Code to be used in simple compile tests
13288lt_simple_compile_test_code="int some_variable = 0;"
13289
13290# Code to be used in simple link tests
13291lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
13292
13293# ltmain only uses $CC for tagged configurations so make sure $CC is set.
13294
13295# If no C compiler was specified, use CC.
13296LTCC=${LTCC-"$CC"}
13297
13298# If no C compiler flags were specified, use CFLAGS.
13299LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13300
13301# Allow CC to be a program name with arguments.
13302compiler=$CC
13303
13304
13305# save warnings/boilerplate of simple test code
13306ac_outfile=conftest.$ac_objext
13307echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13308eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13309_lt_compiler_boilerplate=`cat conftest.err`
13310$rm conftest*
13311
13312ac_outfile=conftest.$ac_objext
13313echo "$lt_simple_link_test_code" >conftest.$ac_ext
13314eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13315_lt_linker_boilerplate=`cat conftest.err`
13316$rm -r conftest*
13317
13318
13319# Allow CC to be a program name with arguments.
13320lt_save_CC=$CC
13321lt_save_LD=$LD
13322lt_save_GCC=$GCC
13323GCC=$GXX
13324lt_save_with_gnu_ld=$with_gnu_ld
13325lt_save_path_LD=$lt_cv_path_LD
13326if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13327  lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
13328else
13329  $as_unset lt_cv_prog_gnu_ld
13330fi
13331if test -n "${lt_cv_path_LDCXX+set}"; then
13332  lt_cv_path_LD=$lt_cv_path_LDCXX
13333else
13334  $as_unset lt_cv_path_LD
13335fi
13336test -z "${LDCXX+set}" || LD=$LDCXX
13337CC=${CXX-"c++"}
13338compiler=$CC
13339compiler_CXX=$CC
13340for cc_temp in $compiler""; do
13341  case $cc_temp in
13342    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13343    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13344    \-*) ;;
13345    *) break;;
13346  esac
13347done
13348cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13349
13350
13351# We don't want -fno-exception wen compiling C++ code, so set the
13352# no_builtin_flag separately
13353if test "$GXX" = yes; then
13354  lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
13355else
13356  lt_prog_compiler_no_builtin_flag_CXX=
13357fi
13358
13359if test "$GXX" = yes; then
13360  # Set up default GNU C++ configuration
13361
13362
13363# Check whether --with-gnu-ld was given.
13364if test "${with_gnu_ld+set}" = set; then
13365  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
13366else
13367  with_gnu_ld=no
13368fi
13369
13370ac_prog=ld
13371if test "$GCC" = yes; then
13372  # Check if gcc -print-prog-name=ld gives a path.
13373  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
13374echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
13375  case $host in
13376  *-*-mingw*)
13377    # gcc leaves a trailing carriage return which upsets mingw
13378    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13379  *)
13380    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13381  esac
13382  case $ac_prog in
13383    # Accept absolute paths.
13384    [\\/]* | ?:[\\/]*)
13385      re_direlt='/[^/][^/]*/\.\./'
13386      # Canonicalize the pathname of ld
13387      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
13388      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
13389	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
13390      done
13391      test -z "$LD" && LD="$ac_prog"
13392      ;;
13393  "")
13394    # If it fails, then pretend we aren't using GCC.
13395    ac_prog=ld
13396    ;;
13397  *)
13398    # If it is relative, then search for the first ld in PATH.
13399    with_gnu_ld=unknown
13400    ;;
13401  esac
13402elif test "$with_gnu_ld" = yes; then
13403  { echo "$as_me:$LINENO: checking for GNU ld" >&5
13404echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
13405else
13406  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
13407echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
13408fi
13409if test "${lt_cv_path_LD+set}" = set; then
13410  echo $ECHO_N "(cached) $ECHO_C" >&6
13411else
13412  if test -z "$LD"; then
13413  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
13414  for ac_dir in $PATH; do
13415    IFS="$lt_save_ifs"
13416    test -z "$ac_dir" && ac_dir=.
13417    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13418      lt_cv_path_LD="$ac_dir/$ac_prog"
13419      # Check to see if the program is GNU ld.  I'd rather use --version,
13420      # but apparently some variants of GNU ld only accept -v.
13421      # Break only if it was the GNU/non-GNU ld that we prefer.
13422      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13423      *GNU* | *'with BFD'*)
13424	test "$with_gnu_ld" != no && break
13425	;;
13426      *)
13427	test "$with_gnu_ld" != yes && break
13428	;;
13429      esac
13430    fi
13431  done
13432  IFS="$lt_save_ifs"
13433else
13434  lt_cv_path_LD="$LD" # Let the user override the test with a path.
13435fi
13436fi
13437
13438LD="$lt_cv_path_LD"
13439if test -n "$LD"; then
13440  { echo "$as_me:$LINENO: result: $LD" >&5
13441echo "${ECHO_T}$LD" >&6; }
13442else
13443  { echo "$as_me:$LINENO: result: no" >&5
13444echo "${ECHO_T}no" >&6; }
13445fi
13446test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
13447echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
13448   { (exit 1); exit 1; }; }
13449{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
13450echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
13451if test "${lt_cv_prog_gnu_ld+set}" = set; then
13452  echo $ECHO_N "(cached) $ECHO_C" >&6
13453else
13454  # I'd rather use --version here, but apparently some GNU lds only accept -v.
13455case `$LD -v 2>&1 </dev/null` in
13456*GNU* | *'with BFD'*)
13457  lt_cv_prog_gnu_ld=yes
13458  ;;
13459*)
13460  lt_cv_prog_gnu_ld=no
13461  ;;
13462esac
13463fi
13464{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
13465echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
13466with_gnu_ld=$lt_cv_prog_gnu_ld
13467
13468
13469
13470  # Check if GNU C++ uses GNU ld as the underlying linker, since the
13471  # archiving commands below assume that GNU ld is being used.
13472  if test "$with_gnu_ld" = yes; then
13473    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13474    archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13475
13476    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13477    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13478
13479    # If archive_cmds runs LD, not CC, wlarc should be empty
13480    # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13481    #     investigate it a little bit more. (MM)
13482    wlarc='${wl}'
13483
13484    # ancient GNU ld didn't support --whole-archive et. al.
13485    if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
13486	grep 'no-whole-archive' > /dev/null; then
13487      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13488    else
13489      whole_archive_flag_spec_CXX=
13490    fi
13491  else
13492    with_gnu_ld=no
13493    wlarc=
13494
13495    # A generic and very simple default shared library creation
13496    # command for GNU C++ for the case where it uses the native
13497    # linker, instead of GNU ld.  If possible, this setting should
13498    # overridden to take advantage of the native linker features on
13499    # the platform it is being used on.
13500    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13501  fi
13502
13503  # Commands to make compiler produce verbose output that lists
13504  # what "hidden" libraries, object files and flags are used when
13505  # linking a shared library.
13506  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
13507
13508else
13509  GXX=no
13510  with_gnu_ld=no
13511  wlarc=
13512fi
13513
13514# PORTME: fill in a description of your system's C++ link characteristics
13515{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13516echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
13517ld_shlibs_CXX=yes
13518case $host_os in
13519  aix3*)
13520    # FIXME: insert proper C++ library support
13521    ld_shlibs_CXX=no
13522    ;;
13523  aix[4-9]*)
13524    if test "$host_cpu" = ia64; then
13525      # On IA64, the linker does run time linking by default, so we don't
13526      # have to do anything special.
13527      aix_use_runtimelinking=no
13528      exp_sym_flag='-Bexport'
13529      no_entry_flag=""
13530    else
13531      aix_use_runtimelinking=no
13532
13533      # Test if we are trying to use run time linking or normal
13534      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13535      # need to do runtime linking.
13536      case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13537	for ld_flag in $LDFLAGS; do
13538	  case $ld_flag in
13539	  *-brtl*)
13540	    aix_use_runtimelinking=yes
13541	    break
13542	    ;;
13543	  esac
13544	done
13545	;;
13546      esac
13547
13548      exp_sym_flag='-bexport'
13549      no_entry_flag='-bnoentry'
13550    fi
13551
13552    # When large executables or shared objects are built, AIX ld can
13553    # have problems creating the table of contents.  If linking a library
13554    # or program results in "error TOC overflow" add -mminimal-toc to
13555    # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
13556    # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13557
13558    archive_cmds_CXX=''
13559    hardcode_direct_CXX=yes
13560    hardcode_libdir_separator_CXX=':'
13561    link_all_deplibs_CXX=yes
13562
13563    if test "$GXX" = yes; then
13564      case $host_os in aix4.[012]|aix4.[012].*)
13565      # We only want to do this on AIX 4.2 and lower, the check
13566      # below for broken collect2 doesn't work under 4.3+
13567	collect2name=`${CC} -print-prog-name=collect2`
13568	if test -f "$collect2name" && \
13569	   strings "$collect2name" | grep resolve_lib_name >/dev/null
13570	then
13571	  # We have reworked collect2
13572	  :
13573	else
13574	  # We have old collect2
13575	  hardcode_direct_CXX=unsupported
13576	  # It fails to find uninstalled libraries when the uninstalled
13577	  # path is not listed in the libpath.  Setting hardcode_minus_L
13578	  # to unsupported forces relinking
13579	  hardcode_minus_L_CXX=yes
13580	  hardcode_libdir_flag_spec_CXX='-L$libdir'
13581	  hardcode_libdir_separator_CXX=
13582	fi
13583	;;
13584      esac
13585      shared_flag='-shared'
13586      if test "$aix_use_runtimelinking" = yes; then
13587	shared_flag="$shared_flag "'${wl}-G'
13588      fi
13589    else
13590      # not using gcc
13591      if test "$host_cpu" = ia64; then
13592	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13593	# chokes on -Wl,-G. The following line is correct:
13594	shared_flag='-G'
13595      else
13596	if test "$aix_use_runtimelinking" = yes; then
13597	  shared_flag='${wl}-G'
13598	else
13599	  shared_flag='${wl}-bM:SRE'
13600	fi
13601      fi
13602    fi
13603
13604    # It seems that -bexpall does not export symbols beginning with
13605    # underscore (_), so it is better to generate a list of symbols to export.
13606    always_export_symbols_CXX=yes
13607    if test "$aix_use_runtimelinking" = yes; then
13608      # Warning - without using the other runtime loading flags (-brtl),
13609      # -berok will link without error, but may produce a broken library.
13610      allow_undefined_flag_CXX='-berok'
13611      # Determine the default libpath from the value encoded in an empty executable.
13612      cat >conftest.$ac_ext <<_ACEOF
13613/* confdefs.h.  */
13614_ACEOF
13615cat confdefs.h >>conftest.$ac_ext
13616cat >>conftest.$ac_ext <<_ACEOF
13617/* end confdefs.h.  */
13618
13619int
13620main ()
13621{
13622
13623  ;
13624  return 0;
13625}
13626_ACEOF
13627rm -f conftest.$ac_objext conftest$ac_exeext
13628if { (ac_try="$ac_link"
13629case "(($ac_try" in
13630  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13631  *) ac_try_echo=$ac_try;;
13632esac
13633eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13634  (eval "$ac_link") 2>conftest.er1
13635  ac_status=$?
13636  grep -v '^ *+' conftest.er1 >conftest.err
13637  rm -f conftest.er1
13638  cat conftest.err >&5
13639  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13640  (exit $ac_status); } && {
13641	 test -z "$ac_cxx_werror_flag" ||
13642	 test ! -s conftest.err
13643       } && test -s conftest$ac_exeext &&
13644       $as_test_x conftest$ac_exeext; then
13645
13646lt_aix_libpath_sed='
13647    /Import File Strings/,/^$/ {
13648	/^0/ {
13649	    s/^0  *\(.*\)$/\1/
13650	    p
13651	}
13652    }'
13653aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13654# Check for a 64-bit object if we didn't find anything.
13655if test -z "$aix_libpath"; then
13656  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13657fi
13658else
13659  echo "$as_me: failed program was:" >&5
13660sed 's/^/| /' conftest.$ac_ext >&5
13661
13662
13663fi
13664
13665rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13666      conftest$ac_exeext conftest.$ac_ext
13667if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13668
13669      hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13670
13671      archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
13672     else
13673      if test "$host_cpu" = ia64; then
13674	hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
13675	allow_undefined_flag_CXX="-z nodefs"
13676	archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
13677      else
13678	# Determine the default libpath from the value encoded in an empty executable.
13679	cat >conftest.$ac_ext <<_ACEOF
13680/* confdefs.h.  */
13681_ACEOF
13682cat confdefs.h >>conftest.$ac_ext
13683cat >>conftest.$ac_ext <<_ACEOF
13684/* end confdefs.h.  */
13685
13686int
13687main ()
13688{
13689
13690  ;
13691  return 0;
13692}
13693_ACEOF
13694rm -f conftest.$ac_objext conftest$ac_exeext
13695if { (ac_try="$ac_link"
13696case "(($ac_try" in
13697  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13698  *) ac_try_echo=$ac_try;;
13699esac
13700eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13701  (eval "$ac_link") 2>conftest.er1
13702  ac_status=$?
13703  grep -v '^ *+' conftest.er1 >conftest.err
13704  rm -f conftest.er1
13705  cat conftest.err >&5
13706  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13707  (exit $ac_status); } && {
13708	 test -z "$ac_cxx_werror_flag" ||
13709	 test ! -s conftest.err
13710       } && test -s conftest$ac_exeext &&
13711       $as_test_x conftest$ac_exeext; then
13712
13713lt_aix_libpath_sed='
13714    /Import File Strings/,/^$/ {
13715	/^0/ {
13716	    s/^0  *\(.*\)$/\1/
13717	    p
13718	}
13719    }'
13720aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13721# Check for a 64-bit object if we didn't find anything.
13722if test -z "$aix_libpath"; then
13723  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13724fi
13725else
13726  echo "$as_me: failed program was:" >&5
13727sed 's/^/| /' conftest.$ac_ext >&5
13728
13729
13730fi
13731
13732rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13733      conftest$ac_exeext conftest.$ac_ext
13734if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13735
13736	hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13737	# Warning - without using the other run time loading flags,
13738	# -berok will link without error, but may produce a broken library.
13739	no_undefined_flag_CXX=' ${wl}-bernotok'
13740	allow_undefined_flag_CXX=' ${wl}-berok'
13741	# Exported symbols can be pulled into shared objects from archives
13742	whole_archive_flag_spec_CXX='$convenience'
13743	archive_cmds_need_lc_CXX=yes
13744	# This is similar to how AIX traditionally builds its shared libraries.
13745	archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
13746      fi
13747    fi
13748    ;;
13749
13750  beos*)
13751    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13752      allow_undefined_flag_CXX=unsupported
13753      # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13754      # support --undefined.  This deserves some investigation.  FIXME
13755      archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13756    else
13757      ld_shlibs_CXX=no
13758    fi
13759    ;;
13760
13761  chorus*)
13762    case $cc_basename in
13763      *)
13764	# FIXME: insert proper C++ library support
13765	ld_shlibs_CXX=no
13766	;;
13767    esac
13768    ;;
13769
13770  cygwin* | mingw* | pw32*)
13771    # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13772    # as there is no search path for DLLs.
13773    hardcode_libdir_flag_spec_CXX='-L$libdir'
13774    allow_undefined_flag_CXX=unsupported
13775    always_export_symbols_CXX=no
13776    enable_shared_with_static_runtimes_CXX=yes
13777
13778    if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
13779      archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13780      # If the export-symbols file already is a .def file (1st line
13781      # is EXPORTS), use it as is; otherwise, prepend...
13782      archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13783	cp $export_symbols $output_objdir/$soname.def;
13784      else
13785	echo EXPORTS > $output_objdir/$soname.def;
13786	cat $export_symbols >> $output_objdir/$soname.def;
13787      fi~
13788      $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13789    else
13790      ld_shlibs_CXX=no
13791    fi
13792  ;;
13793      darwin* | rhapsody*)
13794      archive_cmds_need_lc_CXX=no
13795      hardcode_direct_CXX=no
13796      hardcode_automatic_CXX=yes
13797      hardcode_shlibpath_var_CXX=unsupported
13798      whole_archive_flag_spec_CXX=''
13799      link_all_deplibs_CXX=yes
13800      allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
13801      if test "$GXX" = yes ; then
13802      output_verbose_link_cmd='echo'
13803      archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
13804      module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13805      archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
13806      module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
13807      if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13808        archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
13809        archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
13810      fi
13811      else
13812      case $cc_basename in
13813        xlc*)
13814         output_verbose_link_cmd='echo'
13815          archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
13816          module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
13817          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
13818          archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
13819          module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
13820          ;;
13821       *)
13822         ld_shlibs_CXX=no
13823          ;;
13824      esac
13825      fi
13826        ;;
13827
13828  dgux*)
13829    case $cc_basename in
13830      ec++*)
13831	# FIXME: insert proper C++ library support
13832	ld_shlibs_CXX=no
13833	;;
13834      ghcx*)
13835	# Green Hills C++ Compiler
13836	# FIXME: insert proper C++ library support
13837	ld_shlibs_CXX=no
13838	;;
13839      *)
13840	# FIXME: insert proper C++ library support
13841	ld_shlibs_CXX=no
13842	;;
13843    esac
13844    ;;
13845  freebsd[12]*)
13846    # C++ shared libraries reported to be fairly broken before switch to ELF
13847    ld_shlibs_CXX=no
13848    ;;
13849  freebsd-elf*)
13850    archive_cmds_need_lc_CXX=no
13851    ;;
13852  freebsd* | dragonfly*)
13853    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13854    # conventions
13855    ld_shlibs_CXX=yes
13856    ;;
13857  gnu*)
13858    ;;
13859  hpux9*)
13860    hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13861    hardcode_libdir_separator_CXX=:
13862    export_dynamic_flag_spec_CXX='${wl}-E'
13863    hardcode_direct_CXX=yes
13864    hardcode_minus_L_CXX=yes # Not in the search PATH,
13865				# but as the default
13866				# location of the library.
13867
13868    case $cc_basename in
13869    CC*)
13870      # FIXME: insert proper C++ library support
13871      ld_shlibs_CXX=no
13872      ;;
13873    aCC*)
13874      archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13875      # Commands to make compiler produce verbose output that lists
13876      # what "hidden" libraries, object files and flags are used when
13877      # linking a shared library.
13878      #
13879      # There doesn't appear to be a way to prevent this compiler from
13880      # explicitly linking system object files so we need to strip them
13881      # from the output so that they don't get included in the library
13882      # dependencies.
13883      output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
13884      ;;
13885    *)
13886      if test "$GXX" = yes; then
13887        archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13888      else
13889        # FIXME: insert proper C++ library support
13890        ld_shlibs_CXX=no
13891      fi
13892      ;;
13893    esac
13894    ;;
13895  hpux10*|hpux11*)
13896    if test $with_gnu_ld = no; then
13897      hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13898      hardcode_libdir_separator_CXX=:
13899
13900      case $host_cpu in
13901      hppa*64*|ia64*) ;;
13902      *)
13903	export_dynamic_flag_spec_CXX='${wl}-E'
13904        ;;
13905      esac
13906    fi
13907    case $host_cpu in
13908    hppa*64*|ia64*)
13909      hardcode_direct_CXX=no
13910      hardcode_shlibpath_var_CXX=no
13911      ;;
13912    *)
13913      hardcode_direct_CXX=yes
13914      hardcode_minus_L_CXX=yes # Not in the search PATH,
13915					      # but as the default
13916					      # location of the library.
13917      ;;
13918    esac
13919
13920    case $cc_basename in
13921      CC*)
13922	# FIXME: insert proper C++ library support
13923	ld_shlibs_CXX=no
13924	;;
13925      aCC*)
13926	case $host_cpu in
13927	hppa*64*)
13928	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13929	  ;;
13930	ia64*)
13931	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13932	  ;;
13933	*)
13934	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13935	  ;;
13936	esac
13937	# Commands to make compiler produce verbose output that lists
13938	# what "hidden" libraries, object files and flags are used when
13939	# linking a shared library.
13940	#
13941	# There doesn't appear to be a way to prevent this compiler from
13942	# explicitly linking system object files so we need to strip them
13943	# from the output so that they don't get included in the library
13944	# dependencies.
13945	output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
13946	;;
13947      *)
13948	if test "$GXX" = yes; then
13949	  if test $with_gnu_ld = no; then
13950	    case $host_cpu in
13951	    hppa*64*)
13952	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13953	      ;;
13954	    ia64*)
13955	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13956	      ;;
13957	    *)
13958	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13959	      ;;
13960	    esac
13961	  fi
13962	else
13963	  # FIXME: insert proper C++ library support
13964	  ld_shlibs_CXX=no
13965	fi
13966	;;
13967    esac
13968    ;;
13969  interix[3-9]*)
13970    hardcode_direct_CXX=no
13971    hardcode_shlibpath_var_CXX=no
13972    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13973    export_dynamic_flag_spec_CXX='${wl}-E'
13974    # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13975    # Instead, shared libraries are loaded at an image base (0x10000000 by
13976    # default) and relocated if they conflict, which is a slow very memory
13977    # consuming and fragmenting process.  To avoid this, we pick a random,
13978    # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13979    # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
13980    archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
13981    archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
13982    ;;
13983  irix5* | irix6*)
13984    case $cc_basename in
13985      CC*)
13986	# SGI C++
13987	archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
13988
13989	# Archives containing C++ object files must be created using
13990	# "CC -ar", where "CC" is the IRIX C++ compiler.  This is
13991	# necessary to make sure instantiated templates are included
13992	# in the archive.
13993	old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13994	;;
13995      *)
13996	if test "$GXX" = yes; then
13997	  if test "$with_gnu_ld" = no; then
13998	    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13999	  else
14000	    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
14001	  fi
14002	fi
14003	link_all_deplibs_CXX=yes
14004	;;
14005    esac
14006    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14007    hardcode_libdir_separator_CXX=:
14008    ;;
14009  linux* | k*bsd*-gnu)
14010    case $cc_basename in
14011      KCC*)
14012	# Kuck and Associates, Inc. (KAI) C++ Compiler
14013
14014	# KCC will only create a shared library if the output file
14015	# ends with ".so" (or ".sl" for HP-UX), so rename the library
14016	# to its proper name (with version) after linking.
14017	archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
14018	archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
14019	# Commands to make compiler produce verbose output that lists
14020	# what "hidden" libraries, object files and flags are used when
14021	# linking a shared library.
14022	#
14023	# There doesn't appear to be a way to prevent this compiler from
14024	# explicitly linking system object files so we need to strip them
14025	# from the output so that they don't get included in the library
14026	# dependencies.
14027	output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
14028
14029	hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
14030	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14031
14032	# Archives containing C++ object files must be created using
14033	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
14034	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
14035	;;
14036      icpc*)
14037	# Intel C++
14038	with_gnu_ld=yes
14039	# version 8.0 and above of icpc choke on multiply defined symbols
14040	# if we add $predep_objects and $postdep_objects, however 7.1 and
14041	# earlier do not add the objects themselves.
14042	case `$CC -V 2>&1` in
14043	*"Version 7."*)
14044  	  archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14045  	  archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14046	  ;;
14047	*)  # Version 8.0 or newer
14048	  tmp_idyn=
14049	  case $host_cpu in
14050	    ia64*) tmp_idyn=' -i_dynamic';;
14051	  esac
14052  	  archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14053	  archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14054	  ;;
14055	esac
14056	archive_cmds_need_lc_CXX=no
14057	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14058	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14059	whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14060	;;
14061      pgCC* | pgcpp*)
14062        # Portland Group C++ compiler
14063	archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14064  	archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
14065
14066	hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
14067	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14068	whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
14069        ;;
14070      cxx*)
14071	# Compaq C++
14072	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14073	archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
14074
14075	runpath_var=LD_RUN_PATH
14076	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14077	hardcode_libdir_separator_CXX=:
14078
14079	# Commands to make compiler produce verbose output that lists
14080	# what "hidden" libraries, object files and flags are used when
14081	# linking a shared library.
14082	#
14083	# There doesn't appear to be a way to prevent this compiler from
14084	# explicitly linking system object files so we need to strip them
14085	# from the output so that they don't get included in the library
14086	# dependencies.
14087	output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
14088	;;
14089      *)
14090	case `$CC -V 2>&1 | sed 5q` in
14091	*Sun\ C*)
14092	  # Sun C++ 5.9
14093	  no_undefined_flag_CXX=' -zdefs'
14094	  archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14095	  archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
14096	  hardcode_libdir_flag_spec_CXX='-R$libdir'
14097	  whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
14098
14099	  # Not sure whether something based on
14100	  # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14101	  # would be better.
14102	  output_verbose_link_cmd='echo'
14103
14104	  # Archives containing C++ object files must be created using
14105	  # "CC -xar", where "CC" is the Sun C++ compiler.  This is
14106	  # necessary to make sure instantiated templates are included
14107	  # in the archive.
14108	  old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14109	  ;;
14110	esac
14111	;;
14112    esac
14113    ;;
14114  lynxos*)
14115    # FIXME: insert proper C++ library support
14116    ld_shlibs_CXX=no
14117    ;;
14118  m88k*)
14119    # FIXME: insert proper C++ library support
14120    ld_shlibs_CXX=no
14121    ;;
14122  mvs*)
14123    case $cc_basename in
14124      cxx*)
14125	# FIXME: insert proper C++ library support
14126	ld_shlibs_CXX=no
14127	;;
14128      *)
14129	# FIXME: insert proper C++ library support
14130	ld_shlibs_CXX=no
14131	;;
14132    esac
14133    ;;
14134  netbsd* | netbsdelf*-gnu)
14135    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14136      archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14137      wlarc=
14138      hardcode_libdir_flag_spec_CXX='-R$libdir'
14139      hardcode_direct_CXX=yes
14140      hardcode_shlibpath_var_CXX=no
14141    fi
14142    # Workaround some broken pre-1.5 toolchains
14143    output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14144    ;;
14145  openbsd2*)
14146    # C++ shared libraries are fairly broken
14147    ld_shlibs_CXX=no
14148    ;;
14149  openbsd*)
14150    if test -f /usr/libexec/ld.so; then
14151      hardcode_direct_CXX=yes
14152      hardcode_shlibpath_var_CXX=no
14153      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14154      hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14155      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14156	archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
14157	export_dynamic_flag_spec_CXX='${wl}-E'
14158	whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14159      fi
14160      output_verbose_link_cmd='echo'
14161    else
14162      ld_shlibs_CXX=no
14163    fi
14164    ;;
14165  osf3*)
14166    case $cc_basename in
14167      KCC*)
14168	# Kuck and Associates, Inc. (KAI) C++ Compiler
14169
14170	# KCC will only create a shared library if the output file
14171	# ends with ".so" (or ".sl" for HP-UX), so rename the library
14172	# to its proper name (with version) after linking.
14173	archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
14174
14175	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14176	hardcode_libdir_separator_CXX=:
14177
14178	# Archives containing C++ object files must be created using
14179	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
14180	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
14181
14182	;;
14183      RCC*)
14184	# Rational C++ 2.4.1
14185	# FIXME: insert proper C++ library support
14186	ld_shlibs_CXX=no
14187	;;
14188      cxx*)
14189	allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14190	archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
14191
14192	hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14193	hardcode_libdir_separator_CXX=:
14194
14195	# Commands to make compiler produce verbose output that lists
14196	# what "hidden" libraries, object files and flags are used when
14197	# linking a shared library.
14198	#
14199	# There doesn't appear to be a way to prevent this compiler from
14200	# explicitly linking system object files so we need to strip them
14201	# from the output so that they don't get included in the library
14202	# dependencies.
14203	output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
14204	;;
14205      *)
14206	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14207	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14208	  archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14209
14210	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14211	  hardcode_libdir_separator_CXX=:
14212
14213	  # Commands to make compiler produce verbose output that lists
14214	  # what "hidden" libraries, object files and flags are used when
14215	  # linking a shared library.
14216	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
14217
14218	else
14219	  # FIXME: insert proper C++ library support
14220	  ld_shlibs_CXX=no
14221	fi
14222	;;
14223    esac
14224    ;;
14225  osf4* | osf5*)
14226    case $cc_basename in
14227      KCC*)
14228	# Kuck and Associates, Inc. (KAI) C++ Compiler
14229
14230	# KCC will only create a shared library if the output file
14231	# ends with ".so" (or ".sl" for HP-UX), so rename the library
14232	# to its proper name (with version) after linking.
14233	archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
14234
14235	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14236	hardcode_libdir_separator_CXX=:
14237
14238	# Archives containing C++ object files must be created using
14239	# the KAI C++ compiler.
14240	old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
14241	;;
14242      RCC*)
14243	# Rational C++ 2.4.1
14244	# FIXME: insert proper C++ library support
14245	ld_shlibs_CXX=no
14246	;;
14247      cxx*)
14248	allow_undefined_flag_CXX=' -expect_unresolved \*'
14249	archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
14250	archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14251	  echo "-hidden">> $lib.exp~
14252	  $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp  `test -n "$verstring" && echo -set_version	$verstring` -update_registry ${output_objdir}/so_locations -o $lib~
14253	  $rm $lib.exp'
14254
14255	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14256	hardcode_libdir_separator_CXX=:
14257
14258	# Commands to make compiler produce verbose output that lists
14259	# what "hidden" libraries, object files and flags are used when
14260	# linking a shared library.
14261	#
14262	# There doesn't appear to be a way to prevent this compiler from
14263	# explicitly linking system object files so we need to strip them
14264	# from the output so that they don't get included in the library
14265	# dependencies.
14266	output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
14267	;;
14268      *)
14269	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14270	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14271	 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14272
14273	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14274	  hardcode_libdir_separator_CXX=:
14275
14276	  # Commands to make compiler produce verbose output that lists
14277	  # what "hidden" libraries, object files and flags are used when
14278	  # linking a shared library.
14279	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
14280
14281	else
14282	  # FIXME: insert proper C++ library support
14283	  ld_shlibs_CXX=no
14284	fi
14285	;;
14286    esac
14287    ;;
14288  psos*)
14289    # FIXME: insert proper C++ library support
14290    ld_shlibs_CXX=no
14291    ;;
14292  sunos4*)
14293    case $cc_basename in
14294      CC*)
14295	# Sun C++ 4.x
14296	# FIXME: insert proper C++ library support
14297	ld_shlibs_CXX=no
14298	;;
14299      lcc*)
14300	# Lucid
14301	# FIXME: insert proper C++ library support
14302	ld_shlibs_CXX=no
14303	;;
14304      *)
14305	# FIXME: insert proper C++ library support
14306	ld_shlibs_CXX=no
14307	;;
14308    esac
14309    ;;
14310  solaris*)
14311    case $cc_basename in
14312      CC*)
14313	# Sun C++ 4.2, 5.x and Centerline C++
14314        archive_cmds_need_lc_CXX=yes
14315	no_undefined_flag_CXX=' -zdefs'
14316	archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14317	archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14318	$CC -G${allow_undefined_flag}  ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
14319
14320	hardcode_libdir_flag_spec_CXX='-R$libdir'
14321	hardcode_shlibpath_var_CXX=no
14322	case $host_os in
14323	  solaris2.[0-5] | solaris2.[0-5].*) ;;
14324	  *)
14325	    # The compiler driver will combine and reorder linker options,
14326	    # but understands `-z linker_flag'.
14327	    # Supported since Solaris 2.6 (maybe 2.5.1?)
14328	    whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
14329	    ;;
14330	esac
14331	link_all_deplibs_CXX=yes
14332
14333	output_verbose_link_cmd='echo'
14334
14335	# Archives containing C++ object files must be created using
14336	# "CC -xar", where "CC" is the Sun C++ compiler.  This is
14337	# necessary to make sure instantiated templates are included
14338	# in the archive.
14339	old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14340	;;
14341      gcx*)
14342	# Green Hills C++ Compiler
14343	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14344
14345	# The C++ compiler must be used to create the archive.
14346	old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14347	;;
14348      *)
14349	# GNU C++ compiler with Solaris linker
14350	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14351	  no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
14352	  if $CC --version | grep -v '^2\.7' > /dev/null; then
14353	    archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14354	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14355		$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
14356
14357	    # Commands to make compiler produce verbose output that lists
14358	    # what "hidden" libraries, object files and flags are used when
14359	    # linking a shared library.
14360	    output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
14361	  else
14362	    # g++ 2.7 appears to require `-G' NOT `-shared' on this
14363	    # platform.
14364	    archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14365	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14366		$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
14367
14368	    # Commands to make compiler produce verbose output that lists
14369	    # what "hidden" libraries, object files and flags are used when
14370	    # linking a shared library.
14371	    output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
14372	  fi
14373
14374	  hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
14375	  case $host_os in
14376	  solaris2.[0-5] | solaris2.[0-5].*) ;;
14377	  *)
14378	    whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14379	    ;;
14380	  esac
14381	fi
14382	;;
14383    esac
14384    ;;
14385  sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14386    no_undefined_flag_CXX='${wl}-z,text'
14387    archive_cmds_need_lc_CXX=no
14388    hardcode_shlibpath_var_CXX=no
14389    runpath_var='LD_RUN_PATH'
14390
14391    case $cc_basename in
14392      CC*)
14393	archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14394	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14395	;;
14396      *)
14397	archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14398	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14399	;;
14400    esac
14401    ;;
14402  sysv5* | sco3.2v5* | sco5v6*)
14403    # Note: We can NOT use -z defs as we might desire, because we do not
14404    # link with -lc, and that would cause any symbols used from libc to
14405    # always be unresolved, which means just about no library would
14406    # ever link correctly.  If we're not using GNU ld we use -z text
14407    # though, which does catch some bad symbols but isn't as heavy-handed
14408    # as -z defs.
14409    # For security reasons, it is highly recommended that you always
14410    # use absolute paths for naming shared libraries, and exclude the
14411    # DT_RUNPATH tag from executables and libraries.  But doing so
14412    # requires that you compile everything twice, which is a pain.
14413    # So that behaviour is only enabled if SCOABSPATH is set to a
14414    # non-empty value in the environment.  Most likely only useful for
14415    # creating official distributions of packages.
14416    # This is a hack until libtool officially supports absolute path
14417    # names for shared libraries.
14418    no_undefined_flag_CXX='${wl}-z,text'
14419    allow_undefined_flag_CXX='${wl}-z,nodefs'
14420    archive_cmds_need_lc_CXX=no
14421    hardcode_shlibpath_var_CXX=no
14422    hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
14423    hardcode_libdir_separator_CXX=':'
14424    link_all_deplibs_CXX=yes
14425    export_dynamic_flag_spec_CXX='${wl}-Bexport'
14426    runpath_var='LD_RUN_PATH'
14427
14428    case $cc_basename in
14429      CC*)
14430	archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14431	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14432	;;
14433      *)
14434	archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14435	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14436	;;
14437    esac
14438    ;;
14439  tandem*)
14440    case $cc_basename in
14441      NCC*)
14442	# NonStop-UX NCC 3.20
14443	# FIXME: insert proper C++ library support
14444	ld_shlibs_CXX=no
14445	;;
14446      *)
14447	# FIXME: insert proper C++ library support
14448	ld_shlibs_CXX=no
14449	;;
14450    esac
14451    ;;
14452  vxworks*)
14453    # FIXME: insert proper C++ library support
14454    ld_shlibs_CXX=no
14455    ;;
14456  *)
14457    # FIXME: insert proper C++ library support
14458    ld_shlibs_CXX=no
14459    ;;
14460esac
14461{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
14462echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
14463test "$ld_shlibs_CXX" = no && can_build_shared=no
14464
14465GCC_CXX="$GXX"
14466LD_CXX="$LD"
14467
14468cat > conftest.$ac_ext <<EOF
14469class Foo
14470{
14471public:
14472  Foo (void) { a = 0; }
14473private:
14474  int a;
14475};
14476EOF
14477
14478if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14479  (eval $ac_compile) 2>&5
14480  ac_status=$?
14481  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14482  (exit $ac_status); }; then
14483  # Parse the compiler output and extract the necessary
14484  # objects, libraries and library flags.
14485
14486  # Sentinel used to keep track of whether or not we are before
14487  # the conftest object file.
14488  pre_test_object_deps_done=no
14489
14490  # The `*' in the case matches for architectures that use `case' in
14491  # $output_verbose_cmd can trigger glob expansion during the loop
14492  # eval without this substitution.
14493  output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
14494
14495  for p in `eval $output_verbose_link_cmd`; do
14496    case $p in
14497
14498    -L* | -R* | -l*)
14499       # Some compilers place space between "-{L,R}" and the path.
14500       # Remove the space.
14501       if test $p = "-L" \
14502	  || test $p = "-R"; then
14503	 prev=$p
14504	 continue
14505       else
14506	 prev=
14507       fi
14508
14509       if test "$pre_test_object_deps_done" = no; then
14510	 case $p in
14511	 -L* | -R*)
14512	   # Internal compiler library paths should come after those
14513	   # provided the user.  The postdeps already come after the
14514	   # user supplied libs so there is no need to process them.
14515	   if test -z "$compiler_lib_search_path_CXX"; then
14516	     compiler_lib_search_path_CXX="${prev}${p}"
14517	   else
14518	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
14519	   fi
14520	   ;;
14521	 # The "-l" case would never come before the object being
14522	 # linked, so don't bother handling this case.
14523	 esac
14524       else
14525	 if test -z "$postdeps_CXX"; then
14526	   postdeps_CXX="${prev}${p}"
14527	 else
14528	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
14529	 fi
14530       fi
14531       ;;
14532
14533    *.$objext)
14534       # This assumes that the test object file only shows up
14535       # once in the compiler output.
14536       if test "$p" = "conftest.$objext"; then
14537	 pre_test_object_deps_done=yes
14538	 continue
14539       fi
14540
14541       if test "$pre_test_object_deps_done" = no; then
14542	 if test -z "$predep_objects_CXX"; then
14543	   predep_objects_CXX="$p"
14544	 else
14545	   predep_objects_CXX="$predep_objects_CXX $p"
14546	 fi
14547       else
14548	 if test -z "$postdep_objects_CXX"; then
14549	   postdep_objects_CXX="$p"
14550	 else
14551	   postdep_objects_CXX="$postdep_objects_CXX $p"
14552	 fi
14553       fi
14554       ;;
14555
14556    *) ;; # Ignore the rest.
14557
14558    esac
14559  done
14560
14561  # Clean up.
14562  rm -f a.out a.exe
14563else
14564  echo "libtool.m4: error: problem compiling CXX test program"
14565fi
14566
14567$rm -f confest.$objext
14568
14569compiler_lib_search_dirs_CXX=
14570if test -n "$compiler_lib_search_path_CXX"; then
14571  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14572fi
14573
14574# PORTME: override above test on systems where it is broken
14575case $host_os in
14576interix[3-9]*)
14577  # Interix 3.5 installs completely hosed .la files for C++, so rather than
14578  # hack all around it, let's just trust "g++" to DTRT.
14579  predep_objects_CXX=
14580  postdep_objects_CXX=
14581  postdeps_CXX=
14582  ;;
14583
14584linux*)
14585  case `$CC -V 2>&1 | sed 5q` in
14586  *Sun\ C*)
14587    # Sun C++ 5.9
14588    #
14589    # The more standards-conforming stlport4 library is
14590    # incompatible with the Cstd library. Avoid specifying
14591    # it if it's in CXXFLAGS. Ignore libCrun as
14592    # -library=stlport4 depends on it.
14593    case " $CXX $CXXFLAGS " in
14594    *" -library=stlport4 "*)
14595      solaris_use_stlport4=yes
14596      ;;
14597    esac
14598    if test "$solaris_use_stlport4" != yes; then
14599      postdeps_CXX='-library=Cstd -library=Crun'
14600    fi
14601    ;;
14602  esac
14603  ;;
14604
14605solaris*)
14606  case $cc_basename in
14607  CC*)
14608    # The more standards-conforming stlport4 library is
14609    # incompatible with the Cstd library. Avoid specifying
14610    # it if it's in CXXFLAGS. Ignore libCrun as
14611    # -library=stlport4 depends on it.
14612    case " $CXX $CXXFLAGS " in
14613    *" -library=stlport4 "*)
14614      solaris_use_stlport4=yes
14615      ;;
14616    esac
14617
14618    # Adding this requires a known-good setup of shared libraries for
14619    # Sun compiler versions before 5.6, else PIC objects from an old
14620    # archive will be linked into the output, leading to subtle bugs.
14621    if test "$solaris_use_stlport4" != yes; then
14622      postdeps_CXX='-library=Cstd -library=Crun'
14623    fi
14624    ;;
14625  esac
14626  ;;
14627esac
14628
14629case " $postdeps_CXX " in
14630*" -lc "*) archive_cmds_need_lc_CXX=no ;;
14631esac
14632
14633lt_prog_compiler_wl_CXX=
14634lt_prog_compiler_pic_CXX=
14635lt_prog_compiler_static_CXX=
14636
14637{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14638echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
14639
14640  # C++ specific cases for pic, static, wl, etc.
14641  if test "$GXX" = yes; then
14642    lt_prog_compiler_wl_CXX='-Wl,'
14643    lt_prog_compiler_static_CXX='-static'
14644
14645    case $host_os in
14646    aix*)
14647      # All AIX code is PIC.
14648      if test "$host_cpu" = ia64; then
14649	# AIX 5 now supports IA64 processor
14650	lt_prog_compiler_static_CXX='-Bstatic'
14651      fi
14652      ;;
14653    amigaos*)
14654      # FIXME: we need at least 68020 code to build shared libraries, but
14655      # adding the `-m68020' flag to GCC prevents building anything better,
14656      # like `-m68040'.
14657      lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14658      ;;
14659    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14660      # PIC is the default for these OSes.
14661      ;;
14662    mingw* | cygwin* | os2* | pw32*)
14663      # This hack is so that the source file can tell whether it is being
14664      # built for inclusion in a dll (and should export symbols for example).
14665      # Although the cygwin gcc ignores -fPIC, still need this for old-style
14666      # (--disable-auto-import) libraries
14667      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14668      ;;
14669    darwin* | rhapsody*)
14670      # PIC is the default on this platform
14671      # Common symbols not allowed in MH_DYLIB files
14672      lt_prog_compiler_pic_CXX='-fno-common'
14673      ;;
14674    *djgpp*)
14675      # DJGPP does not support shared libraries at all
14676      lt_prog_compiler_pic_CXX=
14677      ;;
14678    interix[3-9]*)
14679      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14680      # Instead, we relocate shared libraries at runtime.
14681      ;;
14682    sysv4*MP*)
14683      if test -d /usr/nec; then
14684	lt_prog_compiler_pic_CXX=-Kconform_pic
14685      fi
14686      ;;
14687    hpux*)
14688      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14689      # not for PA HP-UX.
14690      case $host_cpu in
14691      hppa*64*|ia64*)
14692	;;
14693      *)
14694	lt_prog_compiler_pic_CXX='-fPIC'
14695	;;
14696      esac
14697      ;;
14698    *)
14699      lt_prog_compiler_pic_CXX='-fPIC'
14700      ;;
14701    esac
14702  else
14703    case $host_os in
14704      aix[4-9]*)
14705	# All AIX code is PIC.
14706	if test "$host_cpu" = ia64; then
14707	  # AIX 5 now supports IA64 processor
14708	  lt_prog_compiler_static_CXX='-Bstatic'
14709	else
14710	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14711	fi
14712	;;
14713      chorus*)
14714	case $cc_basename in
14715	cxch68*)
14716	  # Green Hills C++ Compiler
14717	  # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
14718	  ;;
14719	esac
14720	;;
14721       darwin*)
14722         # PIC is the default on this platform
14723         # Common symbols not allowed in MH_DYLIB files
14724         case $cc_basename in
14725           xlc*)
14726           lt_prog_compiler_pic_CXX='-qnocommon'
14727           lt_prog_compiler_wl_CXX='-Wl,'
14728           ;;
14729         esac
14730       ;;
14731      dgux*)
14732	case $cc_basename in
14733	  ec++*)
14734	    lt_prog_compiler_pic_CXX='-KPIC'
14735	    ;;
14736	  ghcx*)
14737	    # Green Hills C++ Compiler
14738	    lt_prog_compiler_pic_CXX='-pic'
14739	    ;;
14740	  *)
14741	    ;;
14742	esac
14743	;;
14744      freebsd* | dragonfly*)
14745	# FreeBSD uses GNU C++
14746	;;
14747      hpux9* | hpux10* | hpux11*)
14748	case $cc_basename in
14749	  CC*)
14750	    lt_prog_compiler_wl_CXX='-Wl,'
14751	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14752	    if test "$host_cpu" != ia64; then
14753	      lt_prog_compiler_pic_CXX='+Z'
14754	    fi
14755	    ;;
14756	  aCC*)
14757	    lt_prog_compiler_wl_CXX='-Wl,'
14758	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14759	    case $host_cpu in
14760	    hppa*64*|ia64*)
14761	      # +Z the default
14762	      ;;
14763	    *)
14764	      lt_prog_compiler_pic_CXX='+Z'
14765	      ;;
14766	    esac
14767	    ;;
14768	  *)
14769	    ;;
14770	esac
14771	;;
14772      interix*)
14773	# This is c89, which is MS Visual C++ (no shared libs)
14774	# Anyone wants to do a port?
14775	;;
14776      irix5* | irix6* | nonstopux*)
14777	case $cc_basename in
14778	  CC*)
14779	    lt_prog_compiler_wl_CXX='-Wl,'
14780	    lt_prog_compiler_static_CXX='-non_shared'
14781	    # CC pic flag -KPIC is the default.
14782	    ;;
14783	  *)
14784	    ;;
14785	esac
14786	;;
14787      linux* | k*bsd*-gnu)
14788	case $cc_basename in
14789	  KCC*)
14790	    # KAI C++ Compiler
14791	    lt_prog_compiler_wl_CXX='--backend -Wl,'
14792	    lt_prog_compiler_pic_CXX='-fPIC'
14793	    ;;
14794	  icpc* | ecpc*)
14795	    # Intel C++
14796	    lt_prog_compiler_wl_CXX='-Wl,'
14797	    lt_prog_compiler_pic_CXX='-KPIC'
14798	    lt_prog_compiler_static_CXX='-static'
14799	    ;;
14800	  pgCC* | pgcpp*)
14801	    # Portland Group C++ compiler.
14802	    lt_prog_compiler_wl_CXX='-Wl,'
14803	    lt_prog_compiler_pic_CXX='-fpic'
14804	    lt_prog_compiler_static_CXX='-Bstatic'
14805	    ;;
14806	  cxx*)
14807	    # Compaq C++
14808	    # Make sure the PIC flag is empty.  It appears that all Alpha
14809	    # Linux and Compaq Tru64 Unix objects are PIC.
14810	    lt_prog_compiler_pic_CXX=
14811	    lt_prog_compiler_static_CXX='-non_shared'
14812	    ;;
14813	  *)
14814	    case `$CC -V 2>&1 | sed 5q` in
14815	    *Sun\ C*)
14816	      # Sun C++ 5.9
14817	      lt_prog_compiler_pic_CXX='-KPIC'
14818	      lt_prog_compiler_static_CXX='-Bstatic'
14819	      lt_prog_compiler_wl_CXX='-Qoption ld '
14820	      ;;
14821	    esac
14822	    ;;
14823	esac
14824	;;
14825      lynxos*)
14826	;;
14827      m88k*)
14828	;;
14829      mvs*)
14830	case $cc_basename in
14831	  cxx*)
14832	    lt_prog_compiler_pic_CXX='-W c,exportall'
14833	    ;;
14834	  *)
14835	    ;;
14836	esac
14837	;;
14838      netbsd* | netbsdelf*-gnu)
14839	;;
14840      osf3* | osf4* | osf5*)
14841	case $cc_basename in
14842	  KCC*)
14843	    lt_prog_compiler_wl_CXX='--backend -Wl,'
14844	    ;;
14845	  RCC*)
14846	    # Rational C++ 2.4.1
14847	    lt_prog_compiler_pic_CXX='-pic'
14848	    ;;
14849	  cxx*)
14850	    # Digital/Compaq C++
14851	    lt_prog_compiler_wl_CXX='-Wl,'
14852	    # Make sure the PIC flag is empty.  It appears that all Alpha
14853	    # Linux and Compaq Tru64 Unix objects are PIC.
14854	    lt_prog_compiler_pic_CXX=
14855	    lt_prog_compiler_static_CXX='-non_shared'
14856	    ;;
14857	  *)
14858	    ;;
14859	esac
14860	;;
14861      psos*)
14862	;;
14863      solaris*)
14864	case $cc_basename in
14865	  CC*)
14866	    # Sun C++ 4.2, 5.x and Centerline C++
14867	    lt_prog_compiler_pic_CXX='-KPIC'
14868	    lt_prog_compiler_static_CXX='-Bstatic'
14869	    lt_prog_compiler_wl_CXX='-Qoption ld '
14870	    ;;
14871	  gcx*)
14872	    # Green Hills C++ Compiler
14873	    lt_prog_compiler_pic_CXX='-PIC'
14874	    ;;
14875	  *)
14876	    ;;
14877	esac
14878	;;
14879      sunos4*)
14880	case $cc_basename in
14881	  CC*)
14882	    # Sun C++ 4.x
14883	    lt_prog_compiler_pic_CXX='-pic'
14884	    lt_prog_compiler_static_CXX='-Bstatic'
14885	    ;;
14886	  lcc*)
14887	    # Lucid
14888	    lt_prog_compiler_pic_CXX='-pic'
14889	    ;;
14890	  *)
14891	    ;;
14892	esac
14893	;;
14894      tandem*)
14895	case $cc_basename in
14896	  NCC*)
14897	    # NonStop-UX NCC 3.20
14898	    lt_prog_compiler_pic_CXX='-KPIC'
14899	    ;;
14900	  *)
14901	    ;;
14902	esac
14903	;;
14904      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14905	case $cc_basename in
14906	  CC*)
14907	    lt_prog_compiler_wl_CXX='-Wl,'
14908	    lt_prog_compiler_pic_CXX='-KPIC'
14909	    lt_prog_compiler_static_CXX='-Bstatic'
14910	    ;;
14911	esac
14912	;;
14913      vxworks*)
14914	;;
14915      *)
14916	lt_prog_compiler_can_build_shared_CXX=no
14917	;;
14918    esac
14919  fi
14920
14921{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
14922echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
14923
14924#
14925# Check to make sure the PIC flag actually works.
14926#
14927if test -n "$lt_prog_compiler_pic_CXX"; then
14928
14929{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14930echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
14931if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
14932  echo $ECHO_N "(cached) $ECHO_C" >&6
14933else
14934  lt_cv_prog_compiler_pic_works_CXX=no
14935  ac_outfile=conftest.$ac_objext
14936   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14937   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14938   # Insert the option either (1) after the last *FLAGS variable, or
14939   # (2) before a word containing "conftest.", or (3) at the end.
14940   # Note that $ac_compile itself does not contain backslashes and begins
14941   # with a dollar sign (not a hyphen), so the echo should work correctly.
14942   # The option is referenced via a variable to avoid confusing sed.
14943   lt_compile=`echo "$ac_compile" | $SED \
14944   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14945   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14946   -e 's:$: $lt_compiler_flag:'`
14947   (eval echo "\"\$as_me:14947: $lt_compile\"" >&5)
14948   (eval "$lt_compile" 2>conftest.err)
14949   ac_status=$?
14950   cat conftest.err >&5
14951   echo "$as_me:14951: \$? = $ac_status" >&5
14952   if (exit $ac_status) && test -s "$ac_outfile"; then
14953     # The compiler can only warn and ignore the option if not recognized
14954     # So say no if there are warnings other than the usual output.
14955     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14956     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14957     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14958       lt_cv_prog_compiler_pic_works_CXX=yes
14959     fi
14960   fi
14961   $rm conftest*
14962
14963fi
14964{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14965echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14966
14967if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14968    case $lt_prog_compiler_pic_CXX in
14969     "" | " "*) ;;
14970     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14971     esac
14972else
14973    lt_prog_compiler_pic_CXX=
14974     lt_prog_compiler_can_build_shared_CXX=no
14975fi
14976
14977fi
14978case $host_os in
14979  # For platforms which do not support PIC, -DPIC is meaningless:
14980  *djgpp*)
14981    lt_prog_compiler_pic_CXX=
14982    ;;
14983  *)
14984    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14985    ;;
14986esac
14987
14988#
14989# Check to make sure the static flag actually works.
14990#
14991wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14992{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14993echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14994if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
14995  echo $ECHO_N "(cached) $ECHO_C" >&6
14996else
14997  lt_cv_prog_compiler_static_works_CXX=no
14998   save_LDFLAGS="$LDFLAGS"
14999   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15000   echo "$lt_simple_link_test_code" > conftest.$ac_ext
15001   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15002     # The linker can only warn and ignore the option if not recognized
15003     # So say no if there are warnings
15004     if test -s conftest.err; then
15005       # Append any errors to the config.log.
15006       cat conftest.err 1>&5
15007       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
15008       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15009       if diff conftest.exp conftest.er2 >/dev/null; then
15010         lt_cv_prog_compiler_static_works_CXX=yes
15011       fi
15012     else
15013       lt_cv_prog_compiler_static_works_CXX=yes
15014     fi
15015   fi
15016   $rm -r conftest*
15017   LDFLAGS="$save_LDFLAGS"
15018
15019fi
15020{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15021echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6; }
15022
15023if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
15024    :
15025else
15026    lt_prog_compiler_static_CXX=
15027fi
15028
15029
15030{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15031echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
15032if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
15033  echo $ECHO_N "(cached) $ECHO_C" >&6
15034else
15035  lt_cv_prog_compiler_c_o_CXX=no
15036   $rm -r conftest 2>/dev/null
15037   mkdir conftest
15038   cd conftest
15039   mkdir out
15040   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15041
15042   lt_compiler_flag="-o out/conftest2.$ac_objext"
15043   # Insert the option either (1) after the last *FLAGS variable, or
15044   # (2) before a word containing "conftest.", or (3) at the end.
15045   # Note that $ac_compile itself does not contain backslashes and begins
15046   # with a dollar sign (not a hyphen), so the echo should work correctly.
15047   lt_compile=`echo "$ac_compile" | $SED \
15048   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15049   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15050   -e 's:$: $lt_compiler_flag:'`
15051   (eval echo "\"\$as_me:15051: $lt_compile\"" >&5)
15052   (eval "$lt_compile" 2>out/conftest.err)
15053   ac_status=$?
15054   cat out/conftest.err >&5
15055   echo "$as_me:15055: \$? = $ac_status" >&5
15056   if (exit $ac_status) && test -s out/conftest2.$ac_objext
15057   then
15058     # The compiler can only warn and ignore the option if not recognized
15059     # So say no if there are warnings
15060     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
15061     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15062     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15063       lt_cv_prog_compiler_c_o_CXX=yes
15064     fi
15065   fi
15066   chmod u+w . 2>&5
15067   $rm conftest*
15068   # SGI C++ compiler will create directory out/ii_files/ for
15069   # template instantiation
15070   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
15071   $rm out/* && rmdir out
15072   cd ..
15073   rmdir conftest
15074   $rm conftest*
15075
15076fi
15077{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15078echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
15079
15080
15081hard_links="nottested"
15082if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
15083  # do not overwrite the value of need_locks provided by the user
15084  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15085echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
15086  hard_links=yes
15087  $rm conftest*
15088  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15089  touch conftest.a
15090  ln conftest.a conftest.b 2>&5 || hard_links=no
15091  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15092  { echo "$as_me:$LINENO: result: $hard_links" >&5
15093echo "${ECHO_T}$hard_links" >&6; }
15094  if test "$hard_links" = no; then
15095    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15096echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15097    need_locks=warn
15098  fi
15099else
15100  need_locks=no
15101fi
15102
15103{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15104echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
15105
15106  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15107  case $host_os in
15108  aix[4-9]*)
15109    # If we're using GNU nm, then we don't want the "-C" option.
15110    # -C means demangle to AIX nm, but means don't demangle with GNU nm
15111    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
15112      export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
15113    else
15114      export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
15115    fi
15116    ;;
15117  pw32*)
15118    export_symbols_cmds_CXX="$ltdll_cmds"
15119  ;;
15120  cygwin* | mingw*)
15121    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
15122  ;;
15123  linux* | k*bsd*-gnu)
15124    link_all_deplibs_CXX=no
15125  ;;
15126  *)
15127    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15128  ;;
15129  esac
15130  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15131
15132{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
15133echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
15134test "$ld_shlibs_CXX" = no && can_build_shared=no
15135
15136#
15137# Do we need to explicitly link libc?
15138#
15139case "x$archive_cmds_need_lc_CXX" in
15140x|xyes)
15141  # Assume -lc should be added
15142  archive_cmds_need_lc_CXX=yes
15143
15144  if test "$enable_shared" = yes && test "$GCC" = yes; then
15145    case $archive_cmds_CXX in
15146    *'~'*)
15147      # FIXME: we may have to deal with multi-command sequences.
15148      ;;
15149    '$CC '*)
15150      # Test whether the compiler implicitly links with -lc since on some
15151      # systems, -lgcc has to come before -lc. If gcc already passes -lc
15152      # to ld, don't add -lc before -lgcc.
15153      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15154echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15155      $rm conftest*
15156      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15157
15158      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15159  (eval $ac_compile) 2>&5
15160  ac_status=$?
15161  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15162  (exit $ac_status); } 2>conftest.err; then
15163        soname=conftest
15164        lib=conftest
15165        libobjs=conftest.$ac_objext
15166        deplibs=
15167        wl=$lt_prog_compiler_wl_CXX
15168	pic_flag=$lt_prog_compiler_pic_CXX
15169        compiler_flags=-v
15170        linker_flags=-v
15171        verstring=
15172        output_objdir=.
15173        libname=conftest
15174        lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
15175        allow_undefined_flag_CXX=
15176        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15177  (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
15178  ac_status=$?
15179  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15180  (exit $ac_status); }
15181        then
15182	  archive_cmds_need_lc_CXX=no
15183        else
15184	  archive_cmds_need_lc_CXX=yes
15185        fi
15186        allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
15187      else
15188        cat conftest.err 1>&5
15189      fi
15190      $rm conftest*
15191      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
15192echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
15193      ;;
15194    esac
15195  fi
15196  ;;
15197esac
15198
15199{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15200echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15201library_names_spec=
15202libname_spec='lib$name'
15203soname_spec=
15204shrext_cmds=".so"
15205postinstall_cmds=
15206postuninstall_cmds=
15207finish_cmds=
15208finish_eval=
15209shlibpath_var=
15210shlibpath_overrides_runpath=unknown
15211version_type=none
15212dynamic_linker="$host_os ld.so"
15213sys_lib_dlsearch_path_spec="/lib /usr/lib"
15214
15215need_lib_prefix=unknown
15216hardcode_into_libs=no
15217
15218# when you set need_version to no, make sure it does not cause -set_version
15219# flags to be left without arguments
15220need_version=unknown
15221
15222case $host_os in
15223aix3*)
15224  version_type=linux
15225  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15226  shlibpath_var=LIBPATH
15227
15228  # AIX 3 has no versioning support, so we append a major version to the name.
15229  soname_spec='${libname}${release}${shared_ext}$major'
15230  ;;
15231
15232aix[4-9]*)
15233  version_type=linux
15234  need_lib_prefix=no
15235  need_version=no
15236  hardcode_into_libs=yes
15237  if test "$host_cpu" = ia64; then
15238    # AIX 5 supports IA64
15239    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15240    shlibpath_var=LD_LIBRARY_PATH
15241  else
15242    # With GCC up to 2.95.x, collect2 would create an import file
15243    # for dependence libraries.  The import file would start with
15244    # the line `#! .'.  This would cause the generated library to
15245    # depend on `.', always an invalid library.  This was fixed in
15246    # development snapshots of GCC prior to 3.0.
15247    case $host_os in
15248      aix4 | aix4.[01] | aix4.[01].*)
15249      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15250	   echo ' yes '
15251	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
15252	:
15253      else
15254	can_build_shared=no
15255      fi
15256      ;;
15257    esac
15258    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15259    # soname into executable. Probably we can add versioning support to
15260    # collect2, so additional links can be useful in future.
15261    if test "$aix_use_runtimelinking" = yes; then
15262      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15263      # instead of lib<name>.a to let people know that these are not
15264      # typical AIX shared libraries.
15265      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15266    else
15267      # We preserve .a as extension for shared libraries through AIX4.2
15268      # and later when we are not doing run time linking.
15269      library_names_spec='${libname}${release}.a $libname.a'
15270      soname_spec='${libname}${release}${shared_ext}$major'
15271    fi
15272    shlibpath_var=LIBPATH
15273  fi
15274  ;;
15275
15276amigaos*)
15277  library_names_spec='$libname.ixlibrary $libname.a'
15278  # Create ${libname}_ixlibrary.a entries in /sys/libs.
15279  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
15280  ;;
15281
15282beos*)
15283  library_names_spec='${libname}${shared_ext}'
15284  dynamic_linker="$host_os ld.so"
15285  shlibpath_var=LIBRARY_PATH
15286  ;;
15287
15288bsdi[45]*)
15289  version_type=linux
15290  need_version=no
15291  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15292  soname_spec='${libname}${release}${shared_ext}$major'
15293  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15294  shlibpath_var=LD_LIBRARY_PATH
15295  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15296  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15297  # the default ld.so.conf also contains /usr/contrib/lib and
15298  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15299  # libtool to hard-code these into programs
15300  ;;
15301
15302cygwin* | mingw* | pw32*)
15303  version_type=windows
15304  shrext_cmds=".dll"
15305  need_version=no
15306  need_lib_prefix=no
15307
15308  case $GCC,$host_os in
15309  yes,cygwin* | yes,mingw* | yes,pw32*)
15310    library_names_spec='$libname.dll.a'
15311    # DLL is installed to $(libdir)/../bin by postinstall_cmds
15312    postinstall_cmds='base_file=`basename \${file}`~
15313      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15314      dldir=$destdir/`dirname \$dlpath`~
15315      test -d \$dldir || mkdir -p \$dldir~
15316      $install_prog $dir/$dlname \$dldir/$dlname~
15317      chmod a+x \$dldir/$dlname'
15318    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15319      dlpath=$dir/\$dldll~
15320       $rm \$dlpath'
15321    shlibpath_overrides_runpath=yes
15322
15323    case $host_os in
15324    cygwin*)
15325      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15326      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15327      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
15328      ;;
15329    mingw*)
15330      # MinGW DLLs use traditional 'lib' prefix
15331      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15332      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15333      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
15334        # It is most probably a Windows format PATH printed by
15335        # mingw gcc, but we are running on Cygwin. Gcc prints its search
15336        # path with ; separators, and with drive letters. We can handle the
15337        # drive letters (cygwin fileutils understands them), so leave them,
15338        # especially as we might pass files found there to a mingw objdump,
15339        # which wouldn't understand a cygwinified path. Ahh.
15340        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15341      else
15342        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
15343      fi
15344      ;;
15345    pw32*)
15346      # pw32 DLLs use 'pw' prefix rather than 'lib'
15347      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15348      ;;
15349    esac
15350    ;;
15351
15352  *)
15353    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15354    ;;
15355  esac
15356  dynamic_linker='Win32 ld.exe'
15357  # FIXME: first we should search . and the directory the executable is in
15358  shlibpath_var=PATH
15359  ;;
15360
15361darwin* | rhapsody*)
15362  dynamic_linker="$host_os dyld"
15363  version_type=darwin
15364  need_lib_prefix=no
15365  need_version=no
15366  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15367  soname_spec='${libname}${release}${major}$shared_ext'
15368  shlibpath_overrides_runpath=yes
15369  shlibpath_var=DYLD_LIBRARY_PATH
15370  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15371
15372  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15373  ;;
15374
15375dgux*)
15376  version_type=linux
15377  need_lib_prefix=no
15378  need_version=no
15379  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15380  soname_spec='${libname}${release}${shared_ext}$major'
15381  shlibpath_var=LD_LIBRARY_PATH
15382  ;;
15383
15384freebsd1*)
15385  dynamic_linker=no
15386  ;;
15387
15388freebsd* | dragonfly*)
15389  # DragonFly does not have aout.  When/if they implement a new
15390  # versioning mechanism, adjust this.
15391  if test -x /usr/bin/objformat; then
15392    objformat=`/usr/bin/objformat`
15393  else
15394    case $host_os in
15395    freebsd[123]*) objformat=aout ;;
15396    *) objformat=elf ;;
15397    esac
15398  fi
15399  version_type=freebsd-$objformat
15400  case $version_type in
15401    freebsd-elf*)
15402      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15403      need_version=no
15404      need_lib_prefix=no
15405      ;;
15406    freebsd-*)
15407      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15408      need_version=yes
15409      ;;
15410  esac
15411  shlibpath_var=LD_LIBRARY_PATH
15412  case $host_os in
15413  freebsd2*)
15414    shlibpath_overrides_runpath=yes
15415    ;;
15416  freebsd3.[01]* | freebsdelf3.[01]*)
15417    shlibpath_overrides_runpath=yes
15418    hardcode_into_libs=yes
15419    ;;
15420  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15421  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15422    shlibpath_overrides_runpath=no
15423    hardcode_into_libs=yes
15424    ;;
15425  *) # from 4.6 on, and DragonFly
15426    shlibpath_overrides_runpath=yes
15427    hardcode_into_libs=yes
15428    ;;
15429  esac
15430  ;;
15431
15432gnu*)
15433  version_type=linux
15434  need_lib_prefix=no
15435  need_version=no
15436  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15437  soname_spec='${libname}${release}${shared_ext}$major'
15438  shlibpath_var=LD_LIBRARY_PATH
15439  hardcode_into_libs=yes
15440  ;;
15441
15442hpux9* | hpux10* | hpux11*)
15443  # Give a soname corresponding to the major version so that dld.sl refuses to
15444  # link against other versions.
15445  version_type=sunos
15446  need_lib_prefix=no
15447  need_version=no
15448  case $host_cpu in
15449  ia64*)
15450    shrext_cmds='.so'
15451    hardcode_into_libs=yes
15452    dynamic_linker="$host_os dld.so"
15453    shlibpath_var=LD_LIBRARY_PATH
15454    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15455    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15456    soname_spec='${libname}${release}${shared_ext}$major'
15457    if test "X$HPUX_IA64_MODE" = X32; then
15458      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15459    else
15460      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15461    fi
15462    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15463    ;;
15464   hppa*64*)
15465     shrext_cmds='.sl'
15466     hardcode_into_libs=yes
15467     dynamic_linker="$host_os dld.sl"
15468     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15469     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15470     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15471     soname_spec='${libname}${release}${shared_ext}$major'
15472     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15473     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15474     ;;
15475   *)
15476    shrext_cmds='.sl'
15477    dynamic_linker="$host_os dld.sl"
15478    shlibpath_var=SHLIB_PATH
15479    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15480    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15481    soname_spec='${libname}${release}${shared_ext}$major'
15482    ;;
15483  esac
15484  # HP-UX runs *really* slowly unless shared libraries are mode 555.
15485  postinstall_cmds='chmod 555 $lib'
15486  ;;
15487
15488interix[3-9]*)
15489  version_type=linux
15490  need_lib_prefix=no
15491  need_version=no
15492  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15493  soname_spec='${libname}${release}${shared_ext}$major'
15494  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15495  shlibpath_var=LD_LIBRARY_PATH
15496  shlibpath_overrides_runpath=no
15497  hardcode_into_libs=yes
15498  ;;
15499
15500irix5* | irix6* | nonstopux*)
15501  case $host_os in
15502    nonstopux*) version_type=nonstopux ;;
15503    *)
15504	if test "$lt_cv_prog_gnu_ld" = yes; then
15505		version_type=linux
15506	else
15507		version_type=irix
15508	fi ;;
15509  esac
15510  need_lib_prefix=no
15511  need_version=no
15512  soname_spec='${libname}${release}${shared_ext}$major'
15513  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15514  case $host_os in
15515  irix5* | nonstopux*)
15516    libsuff= shlibsuff=
15517    ;;
15518  *)
15519    case $LD in # libtool.m4 will add one of these switches to LD
15520    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15521      libsuff= shlibsuff= libmagic=32-bit;;
15522    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15523      libsuff=32 shlibsuff=N32 libmagic=N32;;
15524    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15525      libsuff=64 shlibsuff=64 libmagic=64-bit;;
15526    *) libsuff= shlibsuff= libmagic=never-match;;
15527    esac
15528    ;;
15529  esac
15530  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15531  shlibpath_overrides_runpath=no
15532  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15533  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15534  hardcode_into_libs=yes
15535  ;;
15536
15537# No shared lib support for Linux oldld, aout, or coff.
15538linux*oldld* | linux*aout* | linux*coff*)
15539  dynamic_linker=no
15540  ;;
15541
15542# This must be Linux ELF.
15543linux* | k*bsd*-gnu)
15544  version_type=linux
15545  need_lib_prefix=no
15546  need_version=no
15547  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15548  soname_spec='${libname}${release}${shared_ext}$major'
15549  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15550  shlibpath_var=LD_LIBRARY_PATH
15551  shlibpath_overrides_runpath=no
15552  # This implies no fast_install, which is unacceptable.
15553  # Some rework will be needed to allow for fast_install
15554  # before this can be enabled.
15555  hardcode_into_libs=yes
15556
15557  # Append ld.so.conf contents to the search path
15558  if test -f /etc/ld.so.conf; then
15559    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ 	]*hwcap[ 	]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
15560    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15561  fi
15562
15563  # We used to test for /lib/ld.so.1 and disable shared libraries on
15564  # powerpc, because MkLinux only supported shared libraries with the
15565  # GNU dynamic linker.  Since this was broken with cross compilers,
15566  # most powerpc-linux boxes support dynamic linking these days and
15567  # people can always --disable-shared, the test was removed, and we
15568  # assume the GNU/Linux dynamic linker is in use.
15569  dynamic_linker='GNU/Linux ld.so'
15570  ;;
15571
15572netbsdelf*-gnu)
15573  version_type=linux
15574  need_lib_prefix=no
15575  need_version=no
15576  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15577  soname_spec='${libname}${release}${shared_ext}$major'
15578  shlibpath_var=LD_LIBRARY_PATH
15579  shlibpath_overrides_runpath=no
15580  hardcode_into_libs=yes
15581  dynamic_linker='NetBSD ld.elf_so'
15582  ;;
15583
15584netbsd*)
15585  version_type=sunos
15586  need_lib_prefix=no
15587  need_version=no
15588  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15589    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15590    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15591    dynamic_linker='NetBSD (a.out) ld.so'
15592  else
15593    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15594    soname_spec='${libname}${release}${shared_ext}$major'
15595    dynamic_linker='NetBSD ld.elf_so'
15596  fi
15597  shlibpath_var=LD_LIBRARY_PATH
15598  shlibpath_overrides_runpath=yes
15599  hardcode_into_libs=yes
15600  ;;
15601
15602newsos6)
15603  version_type=linux
15604  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15605  shlibpath_var=LD_LIBRARY_PATH
15606  shlibpath_overrides_runpath=yes
15607  ;;
15608
15609nto-qnx*)
15610  version_type=linux
15611  need_lib_prefix=no
15612  need_version=no
15613  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15614  soname_spec='${libname}${release}${shared_ext}$major'
15615  shlibpath_var=LD_LIBRARY_PATH
15616  shlibpath_overrides_runpath=yes
15617  ;;
15618
15619openbsd*)
15620  version_type=sunos
15621  sys_lib_dlsearch_path_spec="/usr/lib"
15622  need_lib_prefix=no
15623  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15624  case $host_os in
15625    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15626    *)                         need_version=no  ;;
15627  esac
15628  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15629  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15630  shlibpath_var=LD_LIBRARY_PATH
15631  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15632    case $host_os in
15633      openbsd2.[89] | openbsd2.[89].*)
15634	shlibpath_overrides_runpath=no
15635	;;
15636      *)
15637	shlibpath_overrides_runpath=yes
15638	;;
15639      esac
15640  else
15641    shlibpath_overrides_runpath=yes
15642  fi
15643  ;;
15644
15645os2*)
15646  libname_spec='$name'
15647  shrext_cmds=".dll"
15648  need_lib_prefix=no
15649  library_names_spec='$libname${shared_ext} $libname.a'
15650  dynamic_linker='OS/2 ld.exe'
15651  shlibpath_var=LIBPATH
15652  ;;
15653
15654osf3* | osf4* | osf5*)
15655  version_type=osf
15656  need_lib_prefix=no
15657  need_version=no
15658  soname_spec='${libname}${release}${shared_ext}$major'
15659  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15660  shlibpath_var=LD_LIBRARY_PATH
15661  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15662  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15663  ;;
15664
15665rdos*)
15666  dynamic_linker=no
15667  ;;
15668
15669solaris*)
15670  version_type=linux
15671  need_lib_prefix=no
15672  need_version=no
15673  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15674  soname_spec='${libname}${release}${shared_ext}$major'
15675  shlibpath_var=LD_LIBRARY_PATH
15676  shlibpath_overrides_runpath=yes
15677  hardcode_into_libs=yes
15678  # ldd complains unless libraries are executable
15679  postinstall_cmds='chmod +x $lib'
15680  ;;
15681
15682sunos4*)
15683  version_type=sunos
15684  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15685  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15686  shlibpath_var=LD_LIBRARY_PATH
15687  shlibpath_overrides_runpath=yes
15688  if test "$with_gnu_ld" = yes; then
15689    need_lib_prefix=no
15690  fi
15691  need_version=yes
15692  ;;
15693
15694sysv4 | sysv4.3*)
15695  version_type=linux
15696  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15697  soname_spec='${libname}${release}${shared_ext}$major'
15698  shlibpath_var=LD_LIBRARY_PATH
15699  case $host_vendor in
15700    sni)
15701      shlibpath_overrides_runpath=no
15702      need_lib_prefix=no
15703      export_dynamic_flag_spec='${wl}-Blargedynsym'
15704      runpath_var=LD_RUN_PATH
15705      ;;
15706    siemens)
15707      need_lib_prefix=no
15708      ;;
15709    motorola)
15710      need_lib_prefix=no
15711      need_version=no
15712      shlibpath_overrides_runpath=no
15713      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15714      ;;
15715  esac
15716  ;;
15717
15718sysv4*MP*)
15719  if test -d /usr/nec ;then
15720    version_type=linux
15721    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15722    soname_spec='$libname${shared_ext}.$major'
15723    shlibpath_var=LD_LIBRARY_PATH
15724  fi
15725  ;;
15726
15727sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15728  version_type=freebsd-elf
15729  need_lib_prefix=no
15730  need_version=no
15731  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15732  soname_spec='${libname}${release}${shared_ext}$major'
15733  shlibpath_var=LD_LIBRARY_PATH
15734  hardcode_into_libs=yes
15735  if test "$with_gnu_ld" = yes; then
15736    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15737    shlibpath_overrides_runpath=no
15738  else
15739    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15740    shlibpath_overrides_runpath=yes
15741    case $host_os in
15742      sco3.2v5*)
15743        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15744	;;
15745    esac
15746  fi
15747  sys_lib_dlsearch_path_spec='/usr/lib'
15748  ;;
15749
15750uts4*)
15751  version_type=linux
15752  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15753  soname_spec='${libname}${release}${shared_ext}$major'
15754  shlibpath_var=LD_LIBRARY_PATH
15755  ;;
15756
15757*)
15758  dynamic_linker=no
15759  ;;
15760esac
15761{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15762echo "${ECHO_T}$dynamic_linker" >&6; }
15763test "$dynamic_linker" = no && can_build_shared=no
15764
15765if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15766  echo $ECHO_N "(cached) $ECHO_C" >&6
15767else
15768  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
15769fi
15770
15771sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15772if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15773  echo $ECHO_N "(cached) $ECHO_C" >&6
15774else
15775  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
15776fi
15777
15778sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15779
15780variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15781if test "$GCC" = yes; then
15782  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15783fi
15784
15785{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15786echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
15787hardcode_action_CXX=
15788if test -n "$hardcode_libdir_flag_spec_CXX" || \
15789   test -n "$runpath_var_CXX" || \
15790   test "X$hardcode_automatic_CXX" = "Xyes" ; then
15791
15792  # We can hardcode non-existant directories.
15793  if test "$hardcode_direct_CXX" != no &&
15794     # If the only mechanism to avoid hardcoding is shlibpath_var, we
15795     # have to relink, otherwise we might link with an installed library
15796     # when we should be linking with a yet-to-be-installed one
15797     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15798     test "$hardcode_minus_L_CXX" != no; then
15799    # Linking always hardcodes the temporary library directory.
15800    hardcode_action_CXX=relink
15801  else
15802    # We can link without hardcoding, and we can hardcode nonexisting dirs.
15803    hardcode_action_CXX=immediate
15804  fi
15805else
15806  # We cannot hardcode anything, or else we can only hardcode existing
15807  # directories.
15808  hardcode_action_CXX=unsupported
15809fi
15810{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
15811echo "${ECHO_T}$hardcode_action_CXX" >&6; }
15812
15813if test "$hardcode_action_CXX" = relink; then
15814  # Fast installation is not supported
15815  enable_fast_install=no
15816elif test "$shlibpath_overrides_runpath" = yes ||
15817     test "$enable_shared" = no; then
15818  # Fast installation is not necessary
15819  enable_fast_install=needless
15820fi
15821
15822
15823# The else clause should only fire when bootstrapping the
15824# libtool distribution, otherwise you forgot to ship ltmain.sh
15825# with your package, and you will get complaints that there are
15826# no rules to generate ltmain.sh.
15827if test -f "$ltmain"; then
15828  # See if we are running on zsh, and set the options which allow our commands through
15829  # without removal of \ escapes.
15830  if test -n "${ZSH_VERSION+set}" ; then
15831    setopt NO_GLOB_SUBST
15832  fi
15833  # Now quote all the things that may contain metacharacters while being
15834  # careful not to overquote the AC_SUBSTed values.  We take copies of the
15835  # variables and quote the copies for generation of the libtool script.
15836  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
15837    SED SHELL STRIP \
15838    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15839    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15840    deplibs_check_method reload_flag reload_cmds need_locks \
15841    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15842    lt_cv_sys_global_symbol_to_c_name_address \
15843    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15844    old_postinstall_cmds old_postuninstall_cmds \
15845    compiler_CXX \
15846    CC_CXX \
15847    LD_CXX \
15848    lt_prog_compiler_wl_CXX \
15849    lt_prog_compiler_pic_CXX \
15850    lt_prog_compiler_static_CXX \
15851    lt_prog_compiler_no_builtin_flag_CXX \
15852    export_dynamic_flag_spec_CXX \
15853    thread_safe_flag_spec_CXX \
15854    whole_archive_flag_spec_CXX \
15855    enable_shared_with_static_runtimes_CXX \
15856    old_archive_cmds_CXX \
15857    old_archive_from_new_cmds_CXX \
15858    predep_objects_CXX \
15859    postdep_objects_CXX \
15860    predeps_CXX \
15861    postdeps_CXX \
15862    compiler_lib_search_path_CXX \
15863    compiler_lib_search_dirs_CXX \
15864    archive_cmds_CXX \
15865    archive_expsym_cmds_CXX \
15866    postinstall_cmds_CXX \
15867    postuninstall_cmds_CXX \
15868    old_archive_from_expsyms_cmds_CXX \
15869    allow_undefined_flag_CXX \
15870    no_undefined_flag_CXX \
15871    export_symbols_cmds_CXX \
15872    hardcode_libdir_flag_spec_CXX \
15873    hardcode_libdir_flag_spec_ld_CXX \
15874    hardcode_libdir_separator_CXX \
15875    hardcode_automatic_CXX \
15876    module_cmds_CXX \
15877    module_expsym_cmds_CXX \
15878    lt_cv_prog_compiler_c_o_CXX \
15879    fix_srcfile_path_CXX \
15880    exclude_expsyms_CXX \
15881    include_expsyms_CXX; do
15882
15883    case $var in
15884    old_archive_cmds_CXX | \
15885    old_archive_from_new_cmds_CXX | \
15886    archive_cmds_CXX | \
15887    archive_expsym_cmds_CXX | \
15888    module_cmds_CXX | \
15889    module_expsym_cmds_CXX | \
15890    old_archive_from_expsyms_cmds_CXX | \
15891    export_symbols_cmds_CXX | \
15892    extract_expsyms_cmds | reload_cmds | finish_cmds | \
15893    postinstall_cmds | postuninstall_cmds | \
15894    old_postinstall_cmds | old_postuninstall_cmds | \
15895    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
15896      # Double-quote double-evaled strings.
15897      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15898      ;;
15899    *)
15900      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15901      ;;
15902    esac
15903  done
15904
15905  case $lt_echo in
15906  *'\$0 --fallback-echo"')
15907    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15908    ;;
15909  esac
15910
15911cfgfile="$ofile"
15912
15913  cat <<__EOF__ >> "$cfgfile"
15914# ### BEGIN LIBTOOL TAG CONFIG: $tagname
15915
15916# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15917
15918# Shell to use when invoking shell scripts.
15919SHELL=$lt_SHELL
15920
15921# Whether or not to build shared libraries.
15922build_libtool_libs=$enable_shared
15923
15924# Whether or not to build static libraries.
15925build_old_libs=$enable_static
15926
15927# Whether or not to add -lc for building shared libraries.
15928build_libtool_need_lc=$archive_cmds_need_lc_CXX
15929
15930# Whether or not to disallow shared libs when runtime libs are static
15931allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
15932
15933# Whether or not to optimize for fast installation.
15934fast_install=$enable_fast_install
15935
15936# The host system.
15937host_alias=$host_alias
15938host=$host
15939host_os=$host_os
15940
15941# The build system.
15942build_alias=$build_alias
15943build=$build
15944build_os=$build_os
15945
15946# An echo program that does not interpret backslashes.
15947echo=$lt_echo
15948
15949# The archiver.
15950AR=$lt_AR
15951AR_FLAGS=$lt_AR_FLAGS
15952
15953# A C compiler.
15954LTCC=$lt_LTCC
15955
15956# LTCC compiler flags.
15957LTCFLAGS=$lt_LTCFLAGS
15958
15959# A language-specific compiler.
15960CC=$lt_compiler_CXX
15961
15962# Is the compiler the GNU C compiler?
15963with_gcc=$GCC_CXX
15964
15965# An ERE matcher.
15966EGREP=$lt_EGREP
15967
15968# The linker used to build libraries.
15969LD=$lt_LD_CXX
15970
15971# Whether we need hard or soft links.
15972LN_S=$lt_LN_S
15973
15974# A BSD-compatible nm program.
15975NM=$lt_NM
15976
15977# A symbol stripping program
15978STRIP=$lt_STRIP
15979
15980# Used to examine libraries when file_magic_cmd begins "file"
15981MAGIC_CMD=$MAGIC_CMD
15982
15983# Used on cygwin: DLL creation program.
15984DLLTOOL="$DLLTOOL"
15985
15986# Used on cygwin: object dumper.
15987OBJDUMP="$OBJDUMP"
15988
15989# Used on cygwin: assembler.
15990AS="$AS"
15991
15992# The name of the directory that contains temporary libtool files.
15993objdir=$objdir
15994
15995# How to create reloadable object files.
15996reload_flag=$lt_reload_flag
15997reload_cmds=$lt_reload_cmds
15998
15999# How to pass a linker flag through the compiler.
16000wl=$lt_lt_prog_compiler_wl_CXX
16001
16002# Object file suffix (normally "o").
16003objext="$ac_objext"
16004
16005# Old archive suffix (normally "a").
16006libext="$libext"
16007
16008# Shared library suffix (normally ".so").
16009shrext_cmds='$shrext_cmds'
16010
16011# Executable file suffix (normally "").
16012exeext="$exeext"
16013
16014# Additional compiler flags for building library objects.
16015pic_flag=$lt_lt_prog_compiler_pic_CXX
16016pic_mode=$pic_mode
16017
16018# What is the maximum length of a command?
16019max_cmd_len=$lt_cv_sys_max_cmd_len
16020
16021# Does compiler simultaneously support -c and -o options?
16022compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
16023
16024# Must we lock files when doing compilation?
16025need_locks=$lt_need_locks
16026
16027# Do we need the lib prefix for modules?
16028need_lib_prefix=$need_lib_prefix
16029
16030# Do we need a version for libraries?
16031need_version=$need_version
16032
16033# Whether dlopen is supported.
16034dlopen_support=$enable_dlopen
16035
16036# Whether dlopen of programs is supported.
16037dlopen_self=$enable_dlopen_self
16038
16039# Whether dlopen of statically linked programs is supported.
16040dlopen_self_static=$enable_dlopen_self_static
16041
16042# Compiler flag to prevent dynamic linking.
16043link_static_flag=$lt_lt_prog_compiler_static_CXX
16044
16045# Compiler flag to turn off builtin functions.
16046no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
16047
16048# Compiler flag to allow reflexive dlopens.
16049export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
16050
16051# Compiler flag to generate shared objects directly from archives.
16052whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
16053
16054# Compiler flag to generate thread-safe objects.
16055thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
16056
16057# Library versioning type.
16058version_type=$version_type
16059
16060# Format of library name prefix.
16061libname_spec=$lt_libname_spec
16062
16063# List of archive names.  First name is the real one, the rest are links.
16064# The last name is the one that the linker finds with -lNAME.
16065library_names_spec=$lt_library_names_spec
16066
16067# The coded name of the library, if different from the real name.
16068soname_spec=$lt_soname_spec
16069
16070# Commands used to build and install an old-style archive.
16071RANLIB=$lt_RANLIB
16072old_archive_cmds=$lt_old_archive_cmds_CXX
16073old_postinstall_cmds=$lt_old_postinstall_cmds
16074old_postuninstall_cmds=$lt_old_postuninstall_cmds
16075
16076# Create an old-style archive from a shared archive.
16077old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
16078
16079# Create a temporary old-style archive to link instead of a shared archive.
16080old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
16081
16082# Commands used to build and install a shared archive.
16083archive_cmds=$lt_archive_cmds_CXX
16084archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
16085postinstall_cmds=$lt_postinstall_cmds
16086postuninstall_cmds=$lt_postuninstall_cmds
16087
16088# Commands used to build a loadable module (assumed same as above if empty)
16089module_cmds=$lt_module_cmds_CXX
16090module_expsym_cmds=$lt_module_expsym_cmds_CXX
16091
16092# Commands to strip libraries.
16093old_striplib=$lt_old_striplib
16094striplib=$lt_striplib
16095
16096# Dependencies to place before the objects being linked to create a
16097# shared library.
16098predep_objects=$lt_predep_objects_CXX
16099
16100# Dependencies to place after the objects being linked to create a
16101# shared library.
16102postdep_objects=$lt_postdep_objects_CXX
16103
16104# Dependencies to place before the objects being linked to create a
16105# shared library.
16106predeps=$lt_predeps_CXX
16107
16108# Dependencies to place after the objects being linked to create a
16109# shared library.
16110postdeps=$lt_postdeps_CXX
16111
16112# The directories searched by this compiler when creating a shared
16113# library
16114compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
16115
16116# The library search path used internally by the compiler when linking
16117# a shared library.
16118compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
16119
16120# Method to check whether dependent libraries are shared objects.
16121deplibs_check_method=$lt_deplibs_check_method
16122
16123# Command to use when deplibs_check_method == file_magic.
16124file_magic_cmd=$lt_file_magic_cmd
16125
16126# Flag that allows shared libraries with undefined symbols to be built.
16127allow_undefined_flag=$lt_allow_undefined_flag_CXX
16128
16129# Flag that forces no undefined symbols.
16130no_undefined_flag=$lt_no_undefined_flag_CXX
16131
16132# Commands used to finish a libtool library installation in a directory.
16133finish_cmds=$lt_finish_cmds
16134
16135# Same as above, but a single script fragment to be evaled but not shown.
16136finish_eval=$lt_finish_eval
16137
16138# Take the output of nm and produce a listing of raw symbols and C names.
16139global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16140
16141# Transform the output of nm in a proper C declaration
16142global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16143
16144# Transform the output of nm in a C name address pair
16145global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16146
16147# This is the shared library runtime path variable.
16148runpath_var=$runpath_var
16149
16150# This is the shared library path variable.
16151shlibpath_var=$shlibpath_var
16152
16153# Is shlibpath searched before the hard-coded library search path?
16154shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16155
16156# How to hardcode a shared library path into an executable.
16157hardcode_action=$hardcode_action_CXX
16158
16159# Whether we should hardcode library paths into libraries.
16160hardcode_into_libs=$hardcode_into_libs
16161
16162# Flag to hardcode \$libdir into a binary during linking.
16163# This must work even if \$libdir does not exist.
16164hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
16165
16166# If ld is used when linking, flag to hardcode \$libdir into
16167# a binary during linking. This must work even if \$libdir does
16168# not exist.
16169hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
16170
16171# Whether we need a single -rpath flag with a separated argument.
16172hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
16173
16174# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16175# resulting binary.
16176hardcode_direct=$hardcode_direct_CXX
16177
16178# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16179# resulting binary.
16180hardcode_minus_L=$hardcode_minus_L_CXX
16181
16182# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16183# the resulting binary.
16184hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
16185
16186# Set to yes if building a shared library automatically hardcodes DIR into the library
16187# and all subsequent libraries and executables linked against it.
16188hardcode_automatic=$hardcode_automatic_CXX
16189
16190# Variables whose values should be saved in libtool wrapper scripts and
16191# restored at relink time.
16192variables_saved_for_relink="$variables_saved_for_relink"
16193
16194# Whether libtool must link a program against all its dependency libraries.
16195link_all_deplibs=$link_all_deplibs_CXX
16196
16197# Compile-time system search path for libraries
16198sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16199
16200# Run-time system search path for libraries
16201sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16202
16203# Fix the shell variable \$srcfile for the compiler.
16204fix_srcfile_path=$lt_fix_srcfile_path
16205
16206# Set to yes if exported symbols are required.
16207always_export_symbols=$always_export_symbols_CXX
16208
16209# The commands to list exported symbols.
16210export_symbols_cmds=$lt_export_symbols_cmds_CXX
16211
16212# The commands to extract the exported symbol list from a shared archive.
16213extract_expsyms_cmds=$lt_extract_expsyms_cmds
16214
16215# Symbols that should not be listed in the preloaded symbols.
16216exclude_expsyms=$lt_exclude_expsyms_CXX
16217
16218# Symbols that must always be exported.
16219include_expsyms=$lt_include_expsyms_CXX
16220
16221# ### END LIBTOOL TAG CONFIG: $tagname
16222
16223__EOF__
16224
16225
16226else
16227  # If there is no Makefile yet, we rely on a make rule to execute
16228  # `config.status --recheck' to rerun these tests and create the
16229  # libtool script then.
16230  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16231  if test -f "$ltmain_in"; then
16232    test -f Makefile && make "$ltmain"
16233  fi
16234fi
16235
16236
16237ac_ext=c
16238ac_cpp='$CPP $CPPFLAGS'
16239ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16240ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16241ac_compiler_gnu=$ac_cv_c_compiler_gnu
16242
16243CC=$lt_save_CC
16244LDCXX=$LD
16245LD=$lt_save_LD
16246GCC=$lt_save_GCC
16247with_gnu_ldcxx=$with_gnu_ld
16248with_gnu_ld=$lt_save_with_gnu_ld
16249lt_cv_path_LDCXX=$lt_cv_path_LD
16250lt_cv_path_LD=$lt_save_path_LD
16251lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
16252lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
16253
16254	else
16255	  tagname=""
16256	fi
16257	;;
16258
16259      F77)
16260	if test -n "$F77" && test "X$F77" != "Xno"; then
16261
16262ac_ext=f
16263ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
16264ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16265ac_compiler_gnu=$ac_cv_f77_compiler_gnu
16266
16267
16268archive_cmds_need_lc_F77=no
16269allow_undefined_flag_F77=
16270always_export_symbols_F77=no
16271archive_expsym_cmds_F77=
16272export_dynamic_flag_spec_F77=
16273hardcode_direct_F77=no
16274hardcode_libdir_flag_spec_F77=
16275hardcode_libdir_flag_spec_ld_F77=
16276hardcode_libdir_separator_F77=
16277hardcode_minus_L_F77=no
16278hardcode_automatic_F77=no
16279module_cmds_F77=
16280module_expsym_cmds_F77=
16281link_all_deplibs_F77=unknown
16282old_archive_cmds_F77=$old_archive_cmds
16283no_undefined_flag_F77=
16284whole_archive_flag_spec_F77=
16285enable_shared_with_static_runtimes_F77=no
16286
16287# Source file extension for f77 test sources.
16288ac_ext=f
16289
16290# Object file extension for compiled f77 test sources.
16291objext=o
16292objext_F77=$objext
16293
16294# Code to be used in simple compile tests
16295lt_simple_compile_test_code="\
16296      subroutine t
16297      return
16298      end
16299"
16300
16301# Code to be used in simple link tests
16302lt_simple_link_test_code="\
16303      program t
16304      end
16305"
16306
16307# ltmain only uses $CC for tagged configurations so make sure $CC is set.
16308
16309# If no C compiler was specified, use CC.
16310LTCC=${LTCC-"$CC"}
16311
16312# If no C compiler flags were specified, use CFLAGS.
16313LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
16314
16315# Allow CC to be a program name with arguments.
16316compiler=$CC
16317
16318
16319# save warnings/boilerplate of simple test code
16320ac_outfile=conftest.$ac_objext
16321echo "$lt_simple_compile_test_code" >conftest.$ac_ext
16322eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16323_lt_compiler_boilerplate=`cat conftest.err`
16324$rm conftest*
16325
16326ac_outfile=conftest.$ac_objext
16327echo "$lt_simple_link_test_code" >conftest.$ac_ext
16328eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16329_lt_linker_boilerplate=`cat conftest.err`
16330$rm -r conftest*
16331
16332
16333# Allow CC to be a program name with arguments.
16334lt_save_CC="$CC"
16335CC=${F77-"f77"}
16336compiler=$CC
16337compiler_F77=$CC
16338for cc_temp in $compiler""; do
16339  case $cc_temp in
16340    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
16341    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
16342    \-*) ;;
16343    *) break;;
16344  esac
16345done
16346cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16347
16348
16349{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
16350echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
16351{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
16352echo "${ECHO_T}$can_build_shared" >&6; }
16353
16354{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
16355echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
16356test "$can_build_shared" = "no" && enable_shared=no
16357
16358# On AIX, shared libraries and static libraries use the same namespace, and
16359# are all built from PIC.
16360case $host_os in
16361aix3*)
16362  test "$enable_shared" = yes && enable_static=no
16363  if test -n "$RANLIB"; then
16364    archive_cmds="$archive_cmds~\$RANLIB \$lib"
16365    postinstall_cmds='$RANLIB $lib'
16366  fi
16367  ;;
16368aix[4-9]*)
16369  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
16370    test "$enable_shared" = yes && enable_static=no
16371  fi
16372  ;;
16373esac
16374{ echo "$as_me:$LINENO: result: $enable_shared" >&5
16375echo "${ECHO_T}$enable_shared" >&6; }
16376
16377{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
16378echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
16379# Make sure either enable_shared or enable_static is yes.
16380test "$enable_shared" = yes || enable_static=yes
16381{ echo "$as_me:$LINENO: result: $enable_static" >&5
16382echo "${ECHO_T}$enable_static" >&6; }
16383
16384GCC_F77="$G77"
16385LD_F77="$LD"
16386
16387lt_prog_compiler_wl_F77=
16388lt_prog_compiler_pic_F77=
16389lt_prog_compiler_static_F77=
16390
16391{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16392echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16393
16394  if test "$GCC" = yes; then
16395    lt_prog_compiler_wl_F77='-Wl,'
16396    lt_prog_compiler_static_F77='-static'
16397
16398    case $host_os in
16399      aix*)
16400      # All AIX code is PIC.
16401      if test "$host_cpu" = ia64; then
16402	# AIX 5 now supports IA64 processor
16403	lt_prog_compiler_static_F77='-Bstatic'
16404      fi
16405      ;;
16406
16407    amigaos*)
16408      # FIXME: we need at least 68020 code to build shared libraries, but
16409      # adding the `-m68020' flag to GCC prevents building anything better,
16410      # like `-m68040'.
16411      lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
16412      ;;
16413
16414    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16415      # PIC is the default for these OSes.
16416      ;;
16417
16418    mingw* | cygwin* | pw32* | os2*)
16419      # This hack is so that the source file can tell whether it is being
16420      # built for inclusion in a dll (and should export symbols for example).
16421      # Although the cygwin gcc ignores -fPIC, still need this for old-style
16422      # (--disable-auto-import) libraries
16423      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
16424      ;;
16425
16426    darwin* | rhapsody*)
16427      # PIC is the default on this platform
16428      # Common symbols not allowed in MH_DYLIB files
16429      lt_prog_compiler_pic_F77='-fno-common'
16430      ;;
16431
16432    interix[3-9]*)
16433      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16434      # Instead, we relocate shared libraries at runtime.
16435      ;;
16436
16437    msdosdjgpp*)
16438      # Just because we use GCC doesn't mean we suddenly get shared libraries
16439      # on systems that don't support them.
16440      lt_prog_compiler_can_build_shared_F77=no
16441      enable_shared=no
16442      ;;
16443
16444    sysv4*MP*)
16445      if test -d /usr/nec; then
16446	lt_prog_compiler_pic_F77=-Kconform_pic
16447      fi
16448      ;;
16449
16450    hpux*)
16451      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16452      # not for PA HP-UX.
16453      case $host_cpu in
16454      hppa*64*|ia64*)
16455	# +Z the default
16456	;;
16457      *)
16458	lt_prog_compiler_pic_F77='-fPIC'
16459	;;
16460      esac
16461      ;;
16462
16463    *)
16464      lt_prog_compiler_pic_F77='-fPIC'
16465      ;;
16466    esac
16467  else
16468    # PORTME Check for flag to pass linker flags through the system compiler.
16469    case $host_os in
16470    aix*)
16471      lt_prog_compiler_wl_F77='-Wl,'
16472      if test "$host_cpu" = ia64; then
16473	# AIX 5 now supports IA64 processor
16474	lt_prog_compiler_static_F77='-Bstatic'
16475      else
16476	lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
16477      fi
16478      ;;
16479      darwin*)
16480        # PIC is the default on this platform
16481        # Common symbols not allowed in MH_DYLIB files
16482       case $cc_basename in
16483         xlc*)
16484         lt_prog_compiler_pic_F77='-qnocommon'
16485         lt_prog_compiler_wl_F77='-Wl,'
16486         ;;
16487       esac
16488       ;;
16489
16490    mingw* | cygwin* | pw32* | os2*)
16491      # This hack is so that the source file can tell whether it is being
16492      # built for inclusion in a dll (and should export symbols for example).
16493      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
16494      ;;
16495
16496    hpux9* | hpux10* | hpux11*)
16497      lt_prog_compiler_wl_F77='-Wl,'
16498      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16499      # not for PA HP-UX.
16500      case $host_cpu in
16501      hppa*64*|ia64*)
16502	# +Z the default
16503	;;
16504      *)
16505	lt_prog_compiler_pic_F77='+Z'
16506	;;
16507      esac
16508      # Is there a better lt_prog_compiler_static that works with the bundled CC?
16509      lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
16510      ;;
16511
16512    irix5* | irix6* | nonstopux*)
16513      lt_prog_compiler_wl_F77='-Wl,'
16514      # PIC (with -KPIC) is the default.
16515      lt_prog_compiler_static_F77='-non_shared'
16516      ;;
16517
16518    newsos6)
16519      lt_prog_compiler_pic_F77='-KPIC'
16520      lt_prog_compiler_static_F77='-Bstatic'
16521      ;;
16522
16523    linux* | k*bsd*-gnu)
16524      case $cc_basename in
16525      icc* | ecc*)
16526	lt_prog_compiler_wl_F77='-Wl,'
16527	lt_prog_compiler_pic_F77='-KPIC'
16528	lt_prog_compiler_static_F77='-static'
16529        ;;
16530      pgcc* | pgf77* | pgf90* | pgf95*)
16531        # Portland Group compilers (*not* the Pentium gcc compiler,
16532	# which looks to be a dead project)
16533	lt_prog_compiler_wl_F77='-Wl,'
16534	lt_prog_compiler_pic_F77='-fpic'
16535	lt_prog_compiler_static_F77='-Bstatic'
16536        ;;
16537      ccc*)
16538        lt_prog_compiler_wl_F77='-Wl,'
16539        # All Alpha code is PIC.
16540        lt_prog_compiler_static_F77='-non_shared'
16541        ;;
16542      *)
16543        case `$CC -V 2>&1 | sed 5q` in
16544	*Sun\ C*)
16545	  # Sun C 5.9
16546	  lt_prog_compiler_pic_F77='-KPIC'
16547	  lt_prog_compiler_static_F77='-Bstatic'
16548	  lt_prog_compiler_wl_F77='-Wl,'
16549	  ;;
16550	*Sun\ F*)
16551	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
16552	  lt_prog_compiler_pic_F77='-KPIC'
16553	  lt_prog_compiler_static_F77='-Bstatic'
16554	  lt_prog_compiler_wl_F77=''
16555	  ;;
16556	esac
16557	;;
16558      esac
16559      ;;
16560
16561    osf3* | osf4* | osf5*)
16562      lt_prog_compiler_wl_F77='-Wl,'
16563      # All OSF/1 code is PIC.
16564      lt_prog_compiler_static_F77='-non_shared'
16565      ;;
16566
16567    rdos*)
16568      lt_prog_compiler_static_F77='-non_shared'
16569      ;;
16570
16571    solaris*)
16572      lt_prog_compiler_pic_F77='-KPIC'
16573      lt_prog_compiler_static_F77='-Bstatic'
16574      case $cc_basename in
16575      f77* | f90* | f95*)
16576	lt_prog_compiler_wl_F77='-Qoption ld ';;
16577      *)
16578	lt_prog_compiler_wl_F77='-Wl,';;
16579      esac
16580      ;;
16581
16582    sunos4*)
16583      lt_prog_compiler_wl_F77='-Qoption ld '
16584      lt_prog_compiler_pic_F77='-PIC'
16585      lt_prog_compiler_static_F77='-Bstatic'
16586      ;;
16587
16588    sysv4 | sysv4.2uw2* | sysv4.3*)
16589      lt_prog_compiler_wl_F77='-Wl,'
16590      lt_prog_compiler_pic_F77='-KPIC'
16591      lt_prog_compiler_static_F77='-Bstatic'
16592      ;;
16593
16594    sysv4*MP*)
16595      if test -d /usr/nec ;then
16596	lt_prog_compiler_pic_F77='-Kconform_pic'
16597	lt_prog_compiler_static_F77='-Bstatic'
16598      fi
16599      ;;
16600
16601    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
16602      lt_prog_compiler_wl_F77='-Wl,'
16603      lt_prog_compiler_pic_F77='-KPIC'
16604      lt_prog_compiler_static_F77='-Bstatic'
16605      ;;
16606
16607    unicos*)
16608      lt_prog_compiler_wl_F77='-Wl,'
16609      lt_prog_compiler_can_build_shared_F77=no
16610      ;;
16611
16612    uts4*)
16613      lt_prog_compiler_pic_F77='-pic'
16614      lt_prog_compiler_static_F77='-Bstatic'
16615      ;;
16616
16617    *)
16618      lt_prog_compiler_can_build_shared_F77=no
16619      ;;
16620    esac
16621  fi
16622
16623{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
16624echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
16625
16626#
16627# Check to make sure the PIC flag actually works.
16628#
16629if test -n "$lt_prog_compiler_pic_F77"; then
16630
16631{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
16632echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
16633if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
16634  echo $ECHO_N "(cached) $ECHO_C" >&6
16635else
16636  lt_cv_prog_compiler_pic_works_F77=no
16637  ac_outfile=conftest.$ac_objext
16638   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16639   lt_compiler_flag="$lt_prog_compiler_pic_F77"
16640   # Insert the option either (1) after the last *FLAGS variable, or
16641   # (2) before a word containing "conftest.", or (3) at the end.
16642   # Note that $ac_compile itself does not contain backslashes and begins
16643   # with a dollar sign (not a hyphen), so the echo should work correctly.
16644   # The option is referenced via a variable to avoid confusing sed.
16645   lt_compile=`echo "$ac_compile" | $SED \
16646   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16647   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16648   -e 's:$: $lt_compiler_flag:'`
16649   (eval echo "\"\$as_me:16649: $lt_compile\"" >&5)
16650   (eval "$lt_compile" 2>conftest.err)
16651   ac_status=$?
16652   cat conftest.err >&5
16653   echo "$as_me:16653: \$? = $ac_status" >&5
16654   if (exit $ac_status) && test -s "$ac_outfile"; then
16655     # The compiler can only warn and ignore the option if not recognized
16656     # So say no if there are warnings other than the usual output.
16657     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
16658     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16659     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16660       lt_cv_prog_compiler_pic_works_F77=yes
16661     fi
16662   fi
16663   $rm conftest*
16664
16665fi
16666{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
16667echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_F77" >&6; }
16668
16669if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
16670    case $lt_prog_compiler_pic_F77 in
16671     "" | " "*) ;;
16672     *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
16673     esac
16674else
16675    lt_prog_compiler_pic_F77=
16676     lt_prog_compiler_can_build_shared_F77=no
16677fi
16678
16679fi
16680case $host_os in
16681  # For platforms which do not support PIC, -DPIC is meaningless:
16682  *djgpp*)
16683    lt_prog_compiler_pic_F77=
16684    ;;
16685  *)
16686    lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
16687    ;;
16688esac
16689
16690#
16691# Check to make sure the static flag actually works.
16692#
16693wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
16694{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16695echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
16696if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
16697  echo $ECHO_N "(cached) $ECHO_C" >&6
16698else
16699  lt_cv_prog_compiler_static_works_F77=no
16700   save_LDFLAGS="$LDFLAGS"
16701   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
16702   echo "$lt_simple_link_test_code" > conftest.$ac_ext
16703   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
16704     # The linker can only warn and ignore the option if not recognized
16705     # So say no if there are warnings
16706     if test -s conftest.err; then
16707       # Append any errors to the config.log.
16708       cat conftest.err 1>&5
16709       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
16710       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16711       if diff conftest.exp conftest.er2 >/dev/null; then
16712         lt_cv_prog_compiler_static_works_F77=yes
16713       fi
16714     else
16715       lt_cv_prog_compiler_static_works_F77=yes
16716     fi
16717   fi
16718   $rm -r conftest*
16719   LDFLAGS="$save_LDFLAGS"
16720
16721fi
16722{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
16723echo "${ECHO_T}$lt_cv_prog_compiler_static_works_F77" >&6; }
16724
16725if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
16726    :
16727else
16728    lt_prog_compiler_static_F77=
16729fi
16730
16731
16732{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16733echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
16734if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
16735  echo $ECHO_N "(cached) $ECHO_C" >&6
16736else
16737  lt_cv_prog_compiler_c_o_F77=no
16738   $rm -r conftest 2>/dev/null
16739   mkdir conftest
16740   cd conftest
16741   mkdir out
16742   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16743
16744   lt_compiler_flag="-o out/conftest2.$ac_objext"
16745   # Insert the option either (1) after the last *FLAGS variable, or
16746   # (2) before a word containing "conftest.", or (3) at the end.
16747   # Note that $ac_compile itself does not contain backslashes and begins
16748   # with a dollar sign (not a hyphen), so the echo should work correctly.
16749   lt_compile=`echo "$ac_compile" | $SED \
16750   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16751   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16752   -e 's:$: $lt_compiler_flag:'`
16753   (eval echo "\"\$as_me:16753: $lt_compile\"" >&5)
16754   (eval "$lt_compile" 2>out/conftest.err)
16755   ac_status=$?
16756   cat out/conftest.err >&5
16757   echo "$as_me:16757: \$? = $ac_status" >&5
16758   if (exit $ac_status) && test -s out/conftest2.$ac_objext
16759   then
16760     # The compiler can only warn and ignore the option if not recognized
16761     # So say no if there are warnings
16762     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
16763     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16764     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16765       lt_cv_prog_compiler_c_o_F77=yes
16766     fi
16767   fi
16768   chmod u+w . 2>&5
16769   $rm conftest*
16770   # SGI C++ compiler will create directory out/ii_files/ for
16771   # template instantiation
16772   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
16773   $rm out/* && rmdir out
16774   cd ..
16775   rmdir conftest
16776   $rm conftest*
16777
16778fi
16779{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
16780echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
16781
16782
16783hard_links="nottested"
16784if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
16785  # do not overwrite the value of need_locks provided by the user
16786  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16787echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
16788  hard_links=yes
16789  $rm conftest*
16790  ln conftest.a conftest.b 2>/dev/null && hard_links=no
16791  touch conftest.a
16792  ln conftest.a conftest.b 2>&5 || hard_links=no
16793  ln conftest.a conftest.b 2>/dev/null && hard_links=no
16794  { echo "$as_me:$LINENO: result: $hard_links" >&5
16795echo "${ECHO_T}$hard_links" >&6; }
16796  if test "$hard_links" = no; then
16797    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16798echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16799    need_locks=warn
16800  fi
16801else
16802  need_locks=no
16803fi
16804
16805{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16806echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
16807
16808  runpath_var=
16809  allow_undefined_flag_F77=
16810  enable_shared_with_static_runtimes_F77=no
16811  archive_cmds_F77=
16812  archive_expsym_cmds_F77=
16813  old_archive_From_new_cmds_F77=
16814  old_archive_from_expsyms_cmds_F77=
16815  export_dynamic_flag_spec_F77=
16816  whole_archive_flag_spec_F77=
16817  thread_safe_flag_spec_F77=
16818  hardcode_libdir_flag_spec_F77=
16819  hardcode_libdir_flag_spec_ld_F77=
16820  hardcode_libdir_separator_F77=
16821  hardcode_direct_F77=no
16822  hardcode_minus_L_F77=no
16823  hardcode_shlibpath_var_F77=unsupported
16824  link_all_deplibs_F77=unknown
16825  hardcode_automatic_F77=no
16826  module_cmds_F77=
16827  module_expsym_cmds_F77=
16828  always_export_symbols_F77=no
16829  export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16830  # include_expsyms should be a list of space-separated symbols to be *always*
16831  # included in the symbol list
16832  include_expsyms_F77=
16833  # exclude_expsyms can be an extended regexp of symbols to exclude
16834  # it will be wrapped by ` (' and `)$', so one must not match beginning or
16835  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16836  # as well as any symbol that contains `d'.
16837  exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
16838  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16839  # platforms (ab)use it in PIC code, but their linkers get confused if
16840  # the symbol is explicitly referenced.  Since portable code cannot
16841  # rely on this symbol name, it's probably fine to never include it in
16842  # preloaded symbol tables.
16843  # Exclude shared library initialization/finalization symbols.
16844  extract_expsyms_cmds=
16845  # Just being paranoid about ensuring that cc_basename is set.
16846  for cc_temp in $compiler""; do
16847  case $cc_temp in
16848    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
16849    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
16850    \-*) ;;
16851    *) break;;
16852  esac
16853done
16854cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16855
16856  case $host_os in
16857  cygwin* | mingw* | pw32*)
16858    # FIXME: the MSVC++ port hasn't been tested in a loooong time
16859    # When not using gcc, we currently assume that we are using
16860    # Microsoft Visual C++.
16861    if test "$GCC" != yes; then
16862      with_gnu_ld=no
16863    fi
16864    ;;
16865  interix*)
16866    # we just hope/assume this is gcc and not c89 (= MSVC++)
16867    with_gnu_ld=yes
16868    ;;
16869  openbsd*)
16870    with_gnu_ld=no
16871    ;;
16872  esac
16873
16874  ld_shlibs_F77=yes
16875  if test "$with_gnu_ld" = yes; then
16876    # If archive_cmds runs LD, not CC, wlarc should be empty
16877    wlarc='${wl}'
16878
16879    # Set some defaults for GNU ld with shared library support. These
16880    # are reset later if shared libraries are not supported. Putting them
16881    # here allows them to be overridden if necessary.
16882    runpath_var=LD_RUN_PATH
16883    hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
16884    export_dynamic_flag_spec_F77='${wl}--export-dynamic'
16885    # ancient GNU ld didn't support --whole-archive et. al.
16886    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
16887	whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16888      else
16889  	whole_archive_flag_spec_F77=
16890    fi
16891    supports_anon_versioning=no
16892    case `$LD -v 2>/dev/null` in
16893      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
16894      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
16895      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
16896      *\ 2.11.*) ;; # other 2.11 versions
16897      *) supports_anon_versioning=yes ;;
16898    esac
16899
16900    # See if GNU ld supports shared libraries.
16901    case $host_os in
16902    aix[3-9]*)
16903      # On AIX/PPC, the GNU linker is very broken
16904      if test "$host_cpu" != ia64; then
16905	ld_shlibs_F77=no
16906	cat <<EOF 1>&2
16907
16908*** Warning: the GNU linker, at least up to release 2.9.1, is reported
16909*** to be unable to reliably create shared libraries on AIX.
16910*** Therefore, libtool is disabling shared libraries support.  If you
16911*** really care for shared libraries, you may want to modify your PATH
16912*** so that a non-GNU linker is found, and then restart.
16913
16914EOF
16915      fi
16916      ;;
16917
16918    amigaos*)
16919      archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
16920      hardcode_libdir_flag_spec_F77='-L$libdir'
16921      hardcode_minus_L_F77=yes
16922
16923      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16924      # that the semantics of dynamic libraries on AmigaOS, at least up
16925      # to version 4, is to share data among multiple programs linked
16926      # with the same dynamic library.  Since this doesn't match the
16927      # behavior of shared libraries on other platforms, we can't use
16928      # them.
16929      ld_shlibs_F77=no
16930      ;;
16931
16932    beos*)
16933      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16934	allow_undefined_flag_F77=unsupported
16935	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16936	# support --undefined.  This deserves some investigation.  FIXME
16937	archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16938      else
16939	ld_shlibs_F77=no
16940      fi
16941      ;;
16942
16943    cygwin* | mingw* | pw32*)
16944      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
16945      # as there is no search path for DLLs.
16946      hardcode_libdir_flag_spec_F77='-L$libdir'
16947      allow_undefined_flag_F77=unsupported
16948      always_export_symbols_F77=no
16949      enable_shared_with_static_runtimes_F77=yes
16950      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
16951
16952      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
16953        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16954	# If the export-symbols file already is a .def file (1st line
16955	# is EXPORTS), use it as is; otherwise, prepend...
16956	archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16957	  cp $export_symbols $output_objdir/$soname.def;
16958	else
16959	  echo EXPORTS > $output_objdir/$soname.def;
16960	  cat $export_symbols >> $output_objdir/$soname.def;
16961	fi~
16962	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16963      else
16964	ld_shlibs_F77=no
16965      fi
16966      ;;
16967
16968    interix[3-9]*)
16969      hardcode_direct_F77=no
16970      hardcode_shlibpath_var_F77=no
16971      hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
16972      export_dynamic_flag_spec_F77='${wl}-E'
16973      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
16974      # Instead, shared libraries are loaded at an image base (0x10000000 by
16975      # default) and relocated if they conflict, which is a slow very memory
16976      # consuming and fragmenting process.  To avoid this, we pick a random,
16977      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
16978      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
16979      archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
16980      archive_expsym_cmds_F77='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
16981      ;;
16982
16983    gnu* | linux* | k*bsd*-gnu)
16984      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16985	tmp_addflag=
16986	case $cc_basename,$host_cpu in
16987	pgcc*)				# Portland Group C compiler
16988	  whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
16989	  tmp_addflag=' $pic_flag'
16990	  ;;
16991	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
16992	  whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
16993	  tmp_addflag=' $pic_flag -Mnomain' ;;
16994	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
16995	  tmp_addflag=' -i_dynamic' ;;
16996	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
16997	  tmp_addflag=' -i_dynamic -nofor_main' ;;
16998	ifc* | ifort*)			# Intel Fortran compiler
16999	  tmp_addflag=' -nofor_main' ;;
17000	esac
17001	case `$CC -V 2>&1 | sed 5q` in
17002	*Sun\ C*)			# Sun C 5.9
17003	  whole_archive_flag_spec_F77='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
17004	  tmp_sharedflag='-G' ;;
17005	*Sun\ F*)			# Sun Fortran 8.3
17006	  tmp_sharedflag='-G' ;;
17007	*)
17008	  tmp_sharedflag='-shared' ;;
17009	esac
17010	archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17011
17012	if test $supports_anon_versioning = yes; then
17013	  archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
17014  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17015  $echo "local: *; };" >> $output_objdir/$libname.ver~
17016	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17017	fi
17018	link_all_deplibs_F77=no
17019      else
17020	ld_shlibs_F77=no
17021      fi
17022      ;;
17023
17024    netbsd* | netbsdelf*-gnu)
17025      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17026	archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17027	wlarc=
17028      else
17029	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17030	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17031      fi
17032      ;;
17033
17034    solaris*)
17035      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
17036	ld_shlibs_F77=no
17037	cat <<EOF 1>&2
17038
17039*** Warning: The releases 2.8.* of the GNU linker cannot reliably
17040*** create shared libraries on Solaris systems.  Therefore, libtool
17041*** is disabling shared libraries support.  We urge you to upgrade GNU
17042*** binutils to release 2.9.1 or newer.  Another option is to modify
17043*** your PATH or compiler configuration so that the native linker is
17044*** used, and then restart.
17045
17046EOF
17047      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17048	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17049	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17050      else
17051	ld_shlibs_F77=no
17052      fi
17053      ;;
17054
17055    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
17056      case `$LD -v 2>&1` in
17057        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
17058	ld_shlibs_F77=no
17059	cat <<_LT_EOF 1>&2
17060
17061*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17062*** reliably create shared libraries on SCO systems.  Therefore, libtool
17063*** is disabling shared libraries support.  We urge you to upgrade GNU
17064*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
17065*** your PATH or compiler configuration so that the native linker is
17066*** used, and then restart.
17067
17068_LT_EOF
17069	;;
17070	*)
17071	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17072	    hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
17073	    archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
17074	    archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17075	  else
17076	    ld_shlibs_F77=no
17077	  fi
17078	;;
17079      esac
17080      ;;
17081
17082    sunos4*)
17083      archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17084      wlarc=
17085      hardcode_direct_F77=yes
17086      hardcode_shlibpath_var_F77=no
17087      ;;
17088
17089    *)
17090      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17091	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17092	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17093      else
17094	ld_shlibs_F77=no
17095      fi
17096      ;;
17097    esac
17098
17099    if test "$ld_shlibs_F77" = no; then
17100      runpath_var=
17101      hardcode_libdir_flag_spec_F77=
17102      export_dynamic_flag_spec_F77=
17103      whole_archive_flag_spec_F77=
17104    fi
17105  else
17106    # PORTME fill in a description of your system's linker (not GNU ld)
17107    case $host_os in
17108    aix3*)
17109      allow_undefined_flag_F77=unsupported
17110      always_export_symbols_F77=yes
17111      archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
17112      # Note: this linker hardcodes the directories in LIBPATH if there
17113      # are no directories specified by -L.
17114      hardcode_minus_L_F77=yes
17115      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17116	# Neither direct hardcoding nor static linking is supported with a
17117	# broken collect2.
17118	hardcode_direct_F77=unsupported
17119      fi
17120      ;;
17121
17122    aix[4-9]*)
17123      if test "$host_cpu" = ia64; then
17124	# On IA64, the linker does run time linking by default, so we don't
17125	# have to do anything special.
17126	aix_use_runtimelinking=no
17127	exp_sym_flag='-Bexport'
17128	no_entry_flag=""
17129      else
17130	# If we're using GNU nm, then we don't want the "-C" option.
17131	# -C means demangle to AIX nm, but means don't demangle with GNU nm
17132	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
17133	  export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
17134	else
17135	  export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
17136	fi
17137	aix_use_runtimelinking=no
17138
17139	# Test if we are trying to use run time linking or normal
17140	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
17141	# need to do runtime linking.
17142	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
17143	  for ld_flag in $LDFLAGS; do
17144  	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
17145  	    aix_use_runtimelinking=yes
17146  	    break
17147  	  fi
17148	  done
17149	  ;;
17150	esac
17151
17152	exp_sym_flag='-bexport'
17153	no_entry_flag='-bnoentry'
17154      fi
17155
17156      # When large executables or shared objects are built, AIX ld can
17157      # have problems creating the table of contents.  If linking a library
17158      # or program results in "error TOC overflow" add -mminimal-toc to
17159      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
17160      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17161
17162      archive_cmds_F77=''
17163      hardcode_direct_F77=yes
17164      hardcode_libdir_separator_F77=':'
17165      link_all_deplibs_F77=yes
17166
17167      if test "$GCC" = yes; then
17168	case $host_os in aix4.[012]|aix4.[012].*)
17169	# We only want to do this on AIX 4.2 and lower, the check
17170	# below for broken collect2 doesn't work under 4.3+
17171	  collect2name=`${CC} -print-prog-name=collect2`
17172	  if test -f "$collect2name" && \
17173  	   strings "$collect2name" | grep resolve_lib_name >/dev/null
17174	  then
17175  	  # We have reworked collect2
17176  	  :
17177	  else
17178  	  # We have old collect2
17179  	  hardcode_direct_F77=unsupported
17180  	  # It fails to find uninstalled libraries when the uninstalled
17181  	  # path is not listed in the libpath.  Setting hardcode_minus_L
17182  	  # to unsupported forces relinking
17183  	  hardcode_minus_L_F77=yes
17184  	  hardcode_libdir_flag_spec_F77='-L$libdir'
17185  	  hardcode_libdir_separator_F77=
17186	  fi
17187	  ;;
17188	esac
17189	shared_flag='-shared'
17190	if test "$aix_use_runtimelinking" = yes; then
17191	  shared_flag="$shared_flag "'${wl}-G'
17192	fi
17193      else
17194	# not using gcc
17195	if test "$host_cpu" = ia64; then
17196  	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17197  	# chokes on -Wl,-G. The following line is correct:
17198	  shared_flag='-G'
17199	else
17200	  if test "$aix_use_runtimelinking" = yes; then
17201	    shared_flag='${wl}-G'
17202	  else
17203	    shared_flag='${wl}-bM:SRE'
17204	  fi
17205	fi
17206      fi
17207
17208      # It seems that -bexpall does not export symbols beginning with
17209      # underscore (_), so it is better to generate a list of symbols to export.
17210      always_export_symbols_F77=yes
17211      if test "$aix_use_runtimelinking" = yes; then
17212	# Warning - without using the other runtime loading flags (-brtl),
17213	# -berok will link without error, but may produce a broken library.
17214	allow_undefined_flag_F77='-berok'
17215       # Determine the default libpath from the value encoded in an empty executable.
17216       cat >conftest.$ac_ext <<_ACEOF
17217      program main
17218
17219      end
17220_ACEOF
17221rm -f conftest.$ac_objext conftest$ac_exeext
17222if { (ac_try="$ac_link"
17223case "(($ac_try" in
17224  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17225  *) ac_try_echo=$ac_try;;
17226esac
17227eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17228  (eval "$ac_link") 2>conftest.er1
17229  ac_status=$?
17230  grep -v '^ *+' conftest.er1 >conftest.err
17231  rm -f conftest.er1
17232  cat conftest.err >&5
17233  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17234  (exit $ac_status); } && {
17235	 test -z "$ac_f77_werror_flag" ||
17236	 test ! -s conftest.err
17237       } && test -s conftest$ac_exeext &&
17238       $as_test_x conftest$ac_exeext; then
17239
17240lt_aix_libpath_sed='
17241    /Import File Strings/,/^$/ {
17242	/^0/ {
17243	    s/^0  *\(.*\)$/\1/
17244	    p
17245	}
17246    }'
17247aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17248# Check for a 64-bit object if we didn't find anything.
17249if test -z "$aix_libpath"; then
17250  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17251fi
17252else
17253  echo "$as_me: failed program was:" >&5
17254sed 's/^/| /' conftest.$ac_ext >&5
17255
17256
17257fi
17258
17259rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17260      conftest$ac_exeext conftest.$ac_ext
17261if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17262
17263       hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
17264	archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
17265       else
17266	if test "$host_cpu" = ia64; then
17267	  hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
17268	  allow_undefined_flag_F77="-z nodefs"
17269	  archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
17270	else
17271	 # Determine the default libpath from the value encoded in an empty executable.
17272	 cat >conftest.$ac_ext <<_ACEOF
17273      program main
17274
17275      end
17276_ACEOF
17277rm -f conftest.$ac_objext conftest$ac_exeext
17278if { (ac_try="$ac_link"
17279case "(($ac_try" in
17280  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17281  *) ac_try_echo=$ac_try;;
17282esac
17283eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17284  (eval "$ac_link") 2>conftest.er1
17285  ac_status=$?
17286  grep -v '^ *+' conftest.er1 >conftest.err
17287  rm -f conftest.er1
17288  cat conftest.err >&5
17289  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17290  (exit $ac_status); } && {
17291	 test -z "$ac_f77_werror_flag" ||
17292	 test ! -s conftest.err
17293       } && test -s conftest$ac_exeext &&
17294       $as_test_x conftest$ac_exeext; then
17295
17296lt_aix_libpath_sed='
17297    /Import File Strings/,/^$/ {
17298	/^0/ {
17299	    s/^0  *\(.*\)$/\1/
17300	    p
17301	}
17302    }'
17303aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17304# Check for a 64-bit object if we didn't find anything.
17305if test -z "$aix_libpath"; then
17306  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17307fi
17308else
17309  echo "$as_me: failed program was:" >&5
17310sed 's/^/| /' conftest.$ac_ext >&5
17311
17312
17313fi
17314
17315rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17316      conftest$ac_exeext conftest.$ac_ext
17317if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17318
17319	 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
17320	  # Warning - without using the other run time loading flags,
17321	  # -berok will link without error, but may produce a broken library.
17322	  no_undefined_flag_F77=' ${wl}-bernotok'
17323	  allow_undefined_flag_F77=' ${wl}-berok'
17324	  # Exported symbols can be pulled into shared objects from archives
17325	  whole_archive_flag_spec_F77='$convenience'
17326	  archive_cmds_need_lc_F77=yes
17327	  # This is similar to how AIX traditionally builds its shared libraries.
17328	  archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
17329	fi
17330      fi
17331      ;;
17332
17333    amigaos*)
17334      archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
17335      hardcode_libdir_flag_spec_F77='-L$libdir'
17336      hardcode_minus_L_F77=yes
17337      # see comment about different semantics on the GNU ld section
17338      ld_shlibs_F77=no
17339      ;;
17340
17341    bsdi[45]*)
17342      export_dynamic_flag_spec_F77=-rdynamic
17343      ;;
17344
17345    cygwin* | mingw* | pw32*)
17346      # When not using gcc, we currently assume that we are using
17347      # Microsoft Visual C++.
17348      # hardcode_libdir_flag_spec is actually meaningless, as there is
17349      # no search path for DLLs.
17350      hardcode_libdir_flag_spec_F77=' '
17351      allow_undefined_flag_F77=unsupported
17352      # Tell ltmain to make .lib files, not .a files.
17353      libext=lib
17354      # Tell ltmain to make .dll files, not .so files.
17355      shrext_cmds=".dll"
17356      # FIXME: Setting linknames here is a bad hack.
17357      archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17358      # The linker will automatically build a .lib file if we build a DLL.
17359      old_archive_From_new_cmds_F77='true'
17360      # FIXME: Should let the user specify the lib program.
17361      old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
17362      fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
17363      enable_shared_with_static_runtimes_F77=yes
17364      ;;
17365
17366    darwin* | rhapsody*)
17367      case $host_os in
17368        rhapsody* | darwin1.[012])
17369         allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
17370         ;;
17371       *) # Darwin 1.3 on
17372         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17373           allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17374         else
17375           case ${MACOSX_DEPLOYMENT_TARGET} in
17376             10.[012])
17377               allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17378               ;;
17379             10.*)
17380               allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
17381               ;;
17382           esac
17383         fi
17384         ;;
17385      esac
17386      archive_cmds_need_lc_F77=no
17387      hardcode_direct_F77=no
17388      hardcode_automatic_F77=yes
17389      hardcode_shlibpath_var_F77=unsupported
17390      whole_archive_flag_spec_F77=''
17391      link_all_deplibs_F77=yes
17392    if test "$GCC" = yes ; then
17393    	output_verbose_link_cmd='echo'
17394        archive_cmds_F77="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
17395        module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
17396        archive_expsym_cmds_F77="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
17397        module_expsym_cmds_F77="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
17398    else
17399      case $cc_basename in
17400        xlc*)
17401         output_verbose_link_cmd='echo'
17402         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
17403         module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17404          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17405         archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17406          module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17407          ;;
17408       *)
17409         ld_shlibs_F77=no
17410          ;;
17411      esac
17412    fi
17413      ;;
17414
17415    dgux*)
17416      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17417      hardcode_libdir_flag_spec_F77='-L$libdir'
17418      hardcode_shlibpath_var_F77=no
17419      ;;
17420
17421    freebsd1*)
17422      ld_shlibs_F77=no
17423      ;;
17424
17425    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17426    # support.  Future versions do this automatically, but an explicit c++rt0.o
17427    # does not break anything, and helps significantly (at the cost of a little
17428    # extra space).
17429    freebsd2.2*)
17430      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17431      hardcode_libdir_flag_spec_F77='-R$libdir'
17432      hardcode_direct_F77=yes
17433      hardcode_shlibpath_var_F77=no
17434      ;;
17435
17436    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17437    freebsd2*)
17438      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17439      hardcode_direct_F77=yes
17440      hardcode_minus_L_F77=yes
17441      hardcode_shlibpath_var_F77=no
17442      ;;
17443
17444    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17445    freebsd* | dragonfly*)
17446      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17447      hardcode_libdir_flag_spec_F77='-R$libdir'
17448      hardcode_direct_F77=yes
17449      hardcode_shlibpath_var_F77=no
17450      ;;
17451
17452    hpux9*)
17453      if test "$GCC" = yes; then
17454	archive_cmds_F77='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
17455      else
17456	archive_cmds_F77='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
17457      fi
17458      hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
17459      hardcode_libdir_separator_F77=:
17460      hardcode_direct_F77=yes
17461
17462      # hardcode_minus_L: Not really in the search PATH,
17463      # but as the default location of the library.
17464      hardcode_minus_L_F77=yes
17465      export_dynamic_flag_spec_F77='${wl}-E'
17466      ;;
17467
17468    hpux10*)
17469      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
17470	archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17471      else
17472	archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17473      fi
17474      if test "$with_gnu_ld" = no; then
17475	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
17476	hardcode_libdir_separator_F77=:
17477
17478	hardcode_direct_F77=yes
17479	export_dynamic_flag_spec_F77='${wl}-E'
17480
17481	# hardcode_minus_L: Not really in the search PATH,
17482	# but as the default location of the library.
17483	hardcode_minus_L_F77=yes
17484      fi
17485      ;;
17486
17487    hpux11*)
17488      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
17489	case $host_cpu in
17490	hppa*64*)
17491	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17492	  ;;
17493	ia64*)
17494	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17495	  ;;
17496	*)
17497	  archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17498	  ;;
17499	esac
17500      else
17501	case $host_cpu in
17502	hppa*64*)
17503	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17504	  ;;
17505	ia64*)
17506	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17507	  ;;
17508	*)
17509	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17510	  ;;
17511	esac
17512      fi
17513      if test "$with_gnu_ld" = no; then
17514	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
17515	hardcode_libdir_separator_F77=:
17516
17517	case $host_cpu in
17518	hppa*64*|ia64*)
17519	  hardcode_libdir_flag_spec_ld_F77='+b $libdir'
17520	  hardcode_direct_F77=no
17521	  hardcode_shlibpath_var_F77=no
17522	  ;;
17523	*)
17524	  hardcode_direct_F77=yes
17525	  export_dynamic_flag_spec_F77='${wl}-E'
17526
17527	  # hardcode_minus_L: Not really in the search PATH,
17528	  # but as the default location of the library.
17529	  hardcode_minus_L_F77=yes
17530	  ;;
17531	esac
17532      fi
17533      ;;
17534
17535    irix5* | irix6* | nonstopux*)
17536      if test "$GCC" = yes; then
17537	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17538      else
17539	archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
17540	hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
17541      fi
17542      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
17543      hardcode_libdir_separator_F77=:
17544      link_all_deplibs_F77=yes
17545      ;;
17546
17547    netbsd* | netbsdelf*-gnu)
17548      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17549	archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
17550      else
17551	archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
17552      fi
17553      hardcode_libdir_flag_spec_F77='-R$libdir'
17554      hardcode_direct_F77=yes
17555      hardcode_shlibpath_var_F77=no
17556      ;;
17557
17558    newsos6)
17559      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17560      hardcode_direct_F77=yes
17561      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
17562      hardcode_libdir_separator_F77=:
17563      hardcode_shlibpath_var_F77=no
17564      ;;
17565
17566    openbsd*)
17567      if test -f /usr/libexec/ld.so; then
17568	hardcode_direct_F77=yes
17569	hardcode_shlibpath_var_F77=no
17570	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17571	  archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17572	  archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17573	  hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
17574	  export_dynamic_flag_spec_F77='${wl}-E'
17575	else
17576	  case $host_os in
17577	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
17578	     archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17579	     hardcode_libdir_flag_spec_F77='-R$libdir'
17580	     ;;
17581	   *)
17582	     archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17583	     hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
17584	     ;;
17585	  esac
17586        fi
17587      else
17588	ld_shlibs_F77=no
17589      fi
17590      ;;
17591
17592    os2*)
17593      hardcode_libdir_flag_spec_F77='-L$libdir'
17594      hardcode_minus_L_F77=yes
17595      allow_undefined_flag_F77=unsupported
17596      archive_cmds_F77='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
17597      old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17598      ;;
17599
17600    osf3*)
17601      if test "$GCC" = yes; then
17602	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
17603	archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17604      else
17605	allow_undefined_flag_F77=' -expect_unresolved \*'
17606	archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
17607      fi
17608      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
17609      hardcode_libdir_separator_F77=:
17610      ;;
17611
17612    osf4* | osf5*)	# as osf3* with the addition of -msym flag
17613      if test "$GCC" = yes; then
17614	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
17615	archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17616	hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
17617      else
17618	allow_undefined_flag_F77=' -expect_unresolved \*'
17619	archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
17620	archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
17621	$LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
17622
17623	# Both c and cxx compiler support -rpath directly
17624	hardcode_libdir_flag_spec_F77='-rpath $libdir'
17625      fi
17626      hardcode_libdir_separator_F77=:
17627      ;;
17628
17629    solaris*)
17630      no_undefined_flag_F77=' -z text'
17631      if test "$GCC" = yes; then
17632	wlarc='${wl}'
17633	archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17634	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17635	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
17636      else
17637	wlarc=''
17638	archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17639	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17640  	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17641      fi
17642      hardcode_libdir_flag_spec_F77='-R$libdir'
17643      hardcode_shlibpath_var_F77=no
17644      case $host_os in
17645      solaris2.[0-5] | solaris2.[0-5].*) ;;
17646      *)
17647	# The compiler driver will combine and reorder linker options,
17648	# but understands `-z linker_flag'.  GCC discards it without `$wl',
17649	# but is careful enough not to reorder.
17650 	# Supported since Solaris 2.6 (maybe 2.5.1?)
17651	if test "$GCC" = yes; then
17652	  whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
17653	else
17654	  whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
17655	fi
17656	;;
17657      esac
17658      link_all_deplibs_F77=yes
17659      ;;
17660
17661    sunos4*)
17662      if test "x$host_vendor" = xsequent; then
17663	# Use $CC to link under sequent, because it throws in some extra .o
17664	# files that make .init and .fini sections work.
17665	archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17666      else
17667	archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17668      fi
17669      hardcode_libdir_flag_spec_F77='-L$libdir'
17670      hardcode_direct_F77=yes
17671      hardcode_minus_L_F77=yes
17672      hardcode_shlibpath_var_F77=no
17673      ;;
17674
17675    sysv4)
17676      case $host_vendor in
17677	sni)
17678	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17679	  hardcode_direct_F77=yes # is this really true???
17680	;;
17681	siemens)
17682	  ## LD is ld it makes a PLAMLIB
17683	  ## CC just makes a GrossModule.
17684	  archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17685	  reload_cmds_F77='$CC -r -o $output$reload_objs'
17686	  hardcode_direct_F77=no
17687        ;;
17688	motorola)
17689	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17690	  hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
17691	;;
17692      esac
17693      runpath_var='LD_RUN_PATH'
17694      hardcode_shlibpath_var_F77=no
17695      ;;
17696
17697    sysv4.3*)
17698      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17699      hardcode_shlibpath_var_F77=no
17700      export_dynamic_flag_spec_F77='-Bexport'
17701      ;;
17702
17703    sysv4*MP*)
17704      if test -d /usr/nec; then
17705	archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17706	hardcode_shlibpath_var_F77=no
17707	runpath_var=LD_RUN_PATH
17708	hardcode_runpath_var=yes
17709	ld_shlibs_F77=yes
17710      fi
17711      ;;
17712
17713    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
17714      no_undefined_flag_F77='${wl}-z,text'
17715      archive_cmds_need_lc_F77=no
17716      hardcode_shlibpath_var_F77=no
17717      runpath_var='LD_RUN_PATH'
17718
17719      if test "$GCC" = yes; then
17720	archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17721	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17722      else
17723	archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17724	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17725      fi
17726      ;;
17727
17728    sysv5* | sco3.2v5* | sco5v6*)
17729      # Note: We can NOT use -z defs as we might desire, because we do not
17730      # link with -lc, and that would cause any symbols used from libc to
17731      # always be unresolved, which means just about no library would
17732      # ever link correctly.  If we're not using GNU ld we use -z text
17733      # though, which does catch some bad symbols but isn't as heavy-handed
17734      # as -z defs.
17735      no_undefined_flag_F77='${wl}-z,text'
17736      allow_undefined_flag_F77='${wl}-z,nodefs'
17737      archive_cmds_need_lc_F77=no
17738      hardcode_shlibpath_var_F77=no
17739      hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
17740      hardcode_libdir_separator_F77=':'
17741      link_all_deplibs_F77=yes
17742      export_dynamic_flag_spec_F77='${wl}-Bexport'
17743      runpath_var='LD_RUN_PATH'
17744
17745      if test "$GCC" = yes; then
17746	archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17747	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17748      else
17749	archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17750	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17751      fi
17752      ;;
17753
17754    uts4*)
17755      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17756      hardcode_libdir_flag_spec_F77='-L$libdir'
17757      hardcode_shlibpath_var_F77=no
17758      ;;
17759
17760    *)
17761      ld_shlibs_F77=no
17762      ;;
17763    esac
17764  fi
17765
17766{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
17767echo "${ECHO_T}$ld_shlibs_F77" >&6; }
17768test "$ld_shlibs_F77" = no && can_build_shared=no
17769
17770#
17771# Do we need to explicitly link libc?
17772#
17773case "x$archive_cmds_need_lc_F77" in
17774x|xyes)
17775  # Assume -lc should be added
17776  archive_cmds_need_lc_F77=yes
17777
17778  if test "$enable_shared" = yes && test "$GCC" = yes; then
17779    case $archive_cmds_F77 in
17780    *'~'*)
17781      # FIXME: we may have to deal with multi-command sequences.
17782      ;;
17783    '$CC '*)
17784      # Test whether the compiler implicitly links with -lc since on some
17785      # systems, -lgcc has to come before -lc. If gcc already passes -lc
17786      # to ld, don't add -lc before -lgcc.
17787      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17788echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
17789      $rm conftest*
17790      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17791
17792      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17793  (eval $ac_compile) 2>&5
17794  ac_status=$?
17795  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17796  (exit $ac_status); } 2>conftest.err; then
17797        soname=conftest
17798        lib=conftest
17799        libobjs=conftest.$ac_objext
17800        deplibs=
17801        wl=$lt_prog_compiler_wl_F77
17802	pic_flag=$lt_prog_compiler_pic_F77
17803        compiler_flags=-v
17804        linker_flags=-v
17805        verstring=
17806        output_objdir=.
17807        libname=conftest
17808        lt_save_allow_undefined_flag=$allow_undefined_flag_F77
17809        allow_undefined_flag_F77=
17810        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
17811  (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
17812  ac_status=$?
17813  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17814  (exit $ac_status); }
17815        then
17816	  archive_cmds_need_lc_F77=no
17817        else
17818	  archive_cmds_need_lc_F77=yes
17819        fi
17820        allow_undefined_flag_F77=$lt_save_allow_undefined_flag
17821      else
17822        cat conftest.err 1>&5
17823      fi
17824      $rm conftest*
17825      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
17826echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
17827      ;;
17828    esac
17829  fi
17830  ;;
17831esac
17832
17833{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17834echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
17835library_names_spec=
17836libname_spec='lib$name'
17837soname_spec=
17838shrext_cmds=".so"
17839postinstall_cmds=
17840postuninstall_cmds=
17841finish_cmds=
17842finish_eval=
17843shlibpath_var=
17844shlibpath_overrides_runpath=unknown
17845version_type=none
17846dynamic_linker="$host_os ld.so"
17847sys_lib_dlsearch_path_spec="/lib /usr/lib"
17848
17849need_lib_prefix=unknown
17850hardcode_into_libs=no
17851
17852# when you set need_version to no, make sure it does not cause -set_version
17853# flags to be left without arguments
17854need_version=unknown
17855
17856case $host_os in
17857aix3*)
17858  version_type=linux
17859  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
17860  shlibpath_var=LIBPATH
17861
17862  # AIX 3 has no versioning support, so we append a major version to the name.
17863  soname_spec='${libname}${release}${shared_ext}$major'
17864  ;;
17865
17866aix[4-9]*)
17867  version_type=linux
17868  need_lib_prefix=no
17869  need_version=no
17870  hardcode_into_libs=yes
17871  if test "$host_cpu" = ia64; then
17872    # AIX 5 supports IA64
17873    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17874    shlibpath_var=LD_LIBRARY_PATH
17875  else
17876    # With GCC up to 2.95.x, collect2 would create an import file
17877    # for dependence libraries.  The import file would start with
17878    # the line `#! .'.  This would cause the generated library to
17879    # depend on `.', always an invalid library.  This was fixed in
17880    # development snapshots of GCC prior to 3.0.
17881    case $host_os in
17882      aix4 | aix4.[01] | aix4.[01].*)
17883      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17884	   echo ' yes '
17885	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
17886	:
17887      else
17888	can_build_shared=no
17889      fi
17890      ;;
17891    esac
17892    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17893    # soname into executable. Probably we can add versioning support to
17894    # collect2, so additional links can be useful in future.
17895    if test "$aix_use_runtimelinking" = yes; then
17896      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17897      # instead of lib<name>.a to let people know that these are not
17898      # typical AIX shared libraries.
17899      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17900    else
17901      # We preserve .a as extension for shared libraries through AIX4.2
17902      # and later when we are not doing run time linking.
17903      library_names_spec='${libname}${release}.a $libname.a'
17904      soname_spec='${libname}${release}${shared_ext}$major'
17905    fi
17906    shlibpath_var=LIBPATH
17907  fi
17908  ;;
17909
17910amigaos*)
17911  library_names_spec='$libname.ixlibrary $libname.a'
17912  # Create ${libname}_ixlibrary.a entries in /sys/libs.
17913  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
17914  ;;
17915
17916beos*)
17917  library_names_spec='${libname}${shared_ext}'
17918  dynamic_linker="$host_os ld.so"
17919  shlibpath_var=LIBRARY_PATH
17920  ;;
17921
17922bsdi[45]*)
17923  version_type=linux
17924  need_version=no
17925  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17926  soname_spec='${libname}${release}${shared_ext}$major'
17927  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
17928  shlibpath_var=LD_LIBRARY_PATH
17929  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17930  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
17931  # the default ld.so.conf also contains /usr/contrib/lib and
17932  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17933  # libtool to hard-code these into programs
17934  ;;
17935
17936cygwin* | mingw* | pw32*)
17937  version_type=windows
17938  shrext_cmds=".dll"
17939  need_version=no
17940  need_lib_prefix=no
17941
17942  case $GCC,$host_os in
17943  yes,cygwin* | yes,mingw* | yes,pw32*)
17944    library_names_spec='$libname.dll.a'
17945    # DLL is installed to $(libdir)/../bin by postinstall_cmds
17946    postinstall_cmds='base_file=`basename \${file}`~
17947      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
17948      dldir=$destdir/`dirname \$dlpath`~
17949      test -d \$dldir || mkdir -p \$dldir~
17950      $install_prog $dir/$dlname \$dldir/$dlname~
17951      chmod a+x \$dldir/$dlname'
17952    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17953      dlpath=$dir/\$dldll~
17954       $rm \$dlpath'
17955    shlibpath_overrides_runpath=yes
17956
17957    case $host_os in
17958    cygwin*)
17959      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17960      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17961      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
17962      ;;
17963    mingw*)
17964      # MinGW DLLs use traditional 'lib' prefix
17965      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17966      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17967      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
17968        # It is most probably a Windows format PATH printed by
17969        # mingw gcc, but we are running on Cygwin. Gcc prints its search
17970        # path with ; separators, and with drive letters. We can handle the
17971        # drive letters (cygwin fileutils understands them), so leave them,
17972        # especially as we might pass files found there to a mingw objdump,
17973        # which wouldn't understand a cygwinified path. Ahh.
17974        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17975      else
17976        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
17977      fi
17978      ;;
17979    pw32*)
17980      # pw32 DLLs use 'pw' prefix rather than 'lib'
17981      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17982      ;;
17983    esac
17984    ;;
17985
17986  *)
17987    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17988    ;;
17989  esac
17990  dynamic_linker='Win32 ld.exe'
17991  # FIXME: first we should search . and the directory the executable is in
17992  shlibpath_var=PATH
17993  ;;
17994
17995darwin* | rhapsody*)
17996  dynamic_linker="$host_os dyld"
17997  version_type=darwin
17998  need_lib_prefix=no
17999  need_version=no
18000  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18001  soname_spec='${libname}${release}${major}$shared_ext'
18002  shlibpath_overrides_runpath=yes
18003  shlibpath_var=DYLD_LIBRARY_PATH
18004  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
18005
18006  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
18007  ;;
18008
18009dgux*)
18010  version_type=linux
18011  need_lib_prefix=no
18012  need_version=no
18013  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18014  soname_spec='${libname}${release}${shared_ext}$major'
18015  shlibpath_var=LD_LIBRARY_PATH
18016  ;;
18017
18018freebsd1*)
18019  dynamic_linker=no
18020  ;;
18021
18022freebsd* | dragonfly*)
18023  # DragonFly does not have aout.  When/if they implement a new
18024  # versioning mechanism, adjust this.
18025  if test -x /usr/bin/objformat; then
18026    objformat=`/usr/bin/objformat`
18027  else
18028    case $host_os in
18029    freebsd[123]*) objformat=aout ;;
18030    *) objformat=elf ;;
18031    esac
18032  fi
18033  version_type=freebsd-$objformat
18034  case $version_type in
18035    freebsd-elf*)
18036      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18037      need_version=no
18038      need_lib_prefix=no
18039      ;;
18040    freebsd-*)
18041      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18042      need_version=yes
18043      ;;
18044  esac
18045  shlibpath_var=LD_LIBRARY_PATH
18046  case $host_os in
18047  freebsd2*)
18048    shlibpath_overrides_runpath=yes
18049    ;;
18050  freebsd3.[01]* | freebsdelf3.[01]*)
18051    shlibpath_overrides_runpath=yes
18052    hardcode_into_libs=yes
18053    ;;
18054  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
18055  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
18056    shlibpath_overrides_runpath=no
18057    hardcode_into_libs=yes
18058    ;;
18059  *) # from 4.6 on, and DragonFly
18060    shlibpath_overrides_runpath=yes
18061    hardcode_into_libs=yes
18062    ;;
18063  esac
18064  ;;
18065
18066gnu*)
18067  version_type=linux
18068  need_lib_prefix=no
18069  need_version=no
18070  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18071  soname_spec='${libname}${release}${shared_ext}$major'
18072  shlibpath_var=LD_LIBRARY_PATH
18073  hardcode_into_libs=yes
18074  ;;
18075
18076hpux9* | hpux10* | hpux11*)
18077  # Give a soname corresponding to the major version so that dld.sl refuses to
18078  # link against other versions.
18079  version_type=sunos
18080  need_lib_prefix=no
18081  need_version=no
18082  case $host_cpu in
18083  ia64*)
18084    shrext_cmds='.so'
18085    hardcode_into_libs=yes
18086    dynamic_linker="$host_os dld.so"
18087    shlibpath_var=LD_LIBRARY_PATH
18088    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18089    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18090    soname_spec='${libname}${release}${shared_ext}$major'
18091    if test "X$HPUX_IA64_MODE" = X32; then
18092      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18093    else
18094      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
18095    fi
18096    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18097    ;;
18098   hppa*64*)
18099     shrext_cmds='.sl'
18100     hardcode_into_libs=yes
18101     dynamic_linker="$host_os dld.sl"
18102     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
18103     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18104     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18105     soname_spec='${libname}${release}${shared_ext}$major'
18106     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18107     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18108     ;;
18109   *)
18110    shrext_cmds='.sl'
18111    dynamic_linker="$host_os dld.sl"
18112    shlibpath_var=SHLIB_PATH
18113    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
18114    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18115    soname_spec='${libname}${release}${shared_ext}$major'
18116    ;;
18117  esac
18118  # HP-UX runs *really* slowly unless shared libraries are mode 555.
18119  postinstall_cmds='chmod 555 $lib'
18120  ;;
18121
18122interix[3-9]*)
18123  version_type=linux
18124  need_lib_prefix=no
18125  need_version=no
18126  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18127  soname_spec='${libname}${release}${shared_ext}$major'
18128  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
18129  shlibpath_var=LD_LIBRARY_PATH
18130  shlibpath_overrides_runpath=no
18131  hardcode_into_libs=yes
18132  ;;
18133
18134irix5* | irix6* | nonstopux*)
18135  case $host_os in
18136    nonstopux*) version_type=nonstopux ;;
18137    *)
18138	if test "$lt_cv_prog_gnu_ld" = yes; then
18139		version_type=linux
18140	else
18141		version_type=irix
18142	fi ;;
18143  esac
18144  need_lib_prefix=no
18145  need_version=no
18146  soname_spec='${libname}${release}${shared_ext}$major'
18147  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18148  case $host_os in
18149  irix5* | nonstopux*)
18150    libsuff= shlibsuff=
18151    ;;
18152  *)
18153    case $LD in # libtool.m4 will add one of these switches to LD
18154    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
18155      libsuff= shlibsuff= libmagic=32-bit;;
18156    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
18157      libsuff=32 shlibsuff=N32 libmagic=N32;;
18158    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
18159      libsuff=64 shlibsuff=64 libmagic=64-bit;;
18160    *) libsuff= shlibsuff= libmagic=never-match;;
18161    esac
18162    ;;
18163  esac
18164  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
18165  shlibpath_overrides_runpath=no
18166  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18167  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
18168  hardcode_into_libs=yes
18169  ;;
18170
18171# No shared lib support for Linux oldld, aout, or coff.
18172linux*oldld* | linux*aout* | linux*coff*)
18173  dynamic_linker=no
18174  ;;
18175
18176# This must be Linux ELF.
18177linux* | k*bsd*-gnu)
18178  version_type=linux
18179  need_lib_prefix=no
18180  need_version=no
18181  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18182  soname_spec='${libname}${release}${shared_ext}$major'
18183  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18184  shlibpath_var=LD_LIBRARY_PATH
18185  shlibpath_overrides_runpath=no
18186  # This implies no fast_install, which is unacceptable.
18187  # Some rework will be needed to allow for fast_install
18188  # before this can be enabled.
18189  hardcode_into_libs=yes
18190
18191  # Append ld.so.conf contents to the search path
18192  if test -f /etc/ld.so.conf; then
18193    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ 	]*hwcap[ 	]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
18194    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
18195  fi
18196
18197  # We used to test for /lib/ld.so.1 and disable shared libraries on
18198  # powerpc, because MkLinux only supported shared libraries with the
18199  # GNU dynamic linker.  Since this was broken with cross compilers,
18200  # most powerpc-linux boxes support dynamic linking these days and
18201  # people can always --disable-shared, the test was removed, and we
18202  # assume the GNU/Linux dynamic linker is in use.
18203  dynamic_linker='GNU/Linux ld.so'
18204  ;;
18205
18206netbsdelf*-gnu)
18207  version_type=linux
18208  need_lib_prefix=no
18209  need_version=no
18210  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18211  soname_spec='${libname}${release}${shared_ext}$major'
18212  shlibpath_var=LD_LIBRARY_PATH
18213  shlibpath_overrides_runpath=no
18214  hardcode_into_libs=yes
18215  dynamic_linker='NetBSD ld.elf_so'
18216  ;;
18217
18218netbsd*)
18219  version_type=sunos
18220  need_lib_prefix=no
18221  need_version=no
18222  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18223    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18224    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18225    dynamic_linker='NetBSD (a.out) ld.so'
18226  else
18227    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18228    soname_spec='${libname}${release}${shared_ext}$major'
18229    dynamic_linker='NetBSD ld.elf_so'
18230  fi
18231  shlibpath_var=LD_LIBRARY_PATH
18232  shlibpath_overrides_runpath=yes
18233  hardcode_into_libs=yes
18234  ;;
18235
18236newsos6)
18237  version_type=linux
18238  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18239  shlibpath_var=LD_LIBRARY_PATH
18240  shlibpath_overrides_runpath=yes
18241  ;;
18242
18243nto-qnx*)
18244  version_type=linux
18245  need_lib_prefix=no
18246  need_version=no
18247  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18248  soname_spec='${libname}${release}${shared_ext}$major'
18249  shlibpath_var=LD_LIBRARY_PATH
18250  shlibpath_overrides_runpath=yes
18251  ;;
18252
18253openbsd*)
18254  version_type=sunos
18255  sys_lib_dlsearch_path_spec="/usr/lib"
18256  need_lib_prefix=no
18257  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18258  case $host_os in
18259    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
18260    *)                         need_version=no  ;;
18261  esac
18262  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18263  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18264  shlibpath_var=LD_LIBRARY_PATH
18265  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18266    case $host_os in
18267      openbsd2.[89] | openbsd2.[89].*)
18268	shlibpath_overrides_runpath=no
18269	;;
18270      *)
18271	shlibpath_overrides_runpath=yes
18272	;;
18273      esac
18274  else
18275    shlibpath_overrides_runpath=yes
18276  fi
18277  ;;
18278
18279os2*)
18280  libname_spec='$name'
18281  shrext_cmds=".dll"
18282  need_lib_prefix=no
18283  library_names_spec='$libname${shared_ext} $libname.a'
18284  dynamic_linker='OS/2 ld.exe'
18285  shlibpath_var=LIBPATH
18286  ;;
18287
18288osf3* | osf4* | osf5*)
18289  version_type=osf
18290  need_lib_prefix=no
18291  need_version=no
18292  soname_spec='${libname}${release}${shared_ext}$major'
18293  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18294  shlibpath_var=LD_LIBRARY_PATH
18295  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18296  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
18297  ;;
18298
18299rdos*)
18300  dynamic_linker=no
18301  ;;
18302
18303solaris*)
18304  version_type=linux
18305  need_lib_prefix=no
18306  need_version=no
18307  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18308  soname_spec='${libname}${release}${shared_ext}$major'
18309  shlibpath_var=LD_LIBRARY_PATH
18310  shlibpath_overrides_runpath=yes
18311  hardcode_into_libs=yes
18312  # ldd complains unless libraries are executable
18313  postinstall_cmds='chmod +x $lib'
18314  ;;
18315
18316sunos4*)
18317  version_type=sunos
18318  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18319  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18320  shlibpath_var=LD_LIBRARY_PATH
18321  shlibpath_overrides_runpath=yes
18322  if test "$with_gnu_ld" = yes; then
18323    need_lib_prefix=no
18324  fi
18325  need_version=yes
18326  ;;
18327
18328sysv4 | sysv4.3*)
18329  version_type=linux
18330  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18331  soname_spec='${libname}${release}${shared_ext}$major'
18332  shlibpath_var=LD_LIBRARY_PATH
18333  case $host_vendor in
18334    sni)
18335      shlibpath_overrides_runpath=no
18336      need_lib_prefix=no
18337      export_dynamic_flag_spec='${wl}-Blargedynsym'
18338      runpath_var=LD_RUN_PATH
18339      ;;
18340    siemens)
18341      need_lib_prefix=no
18342      ;;
18343    motorola)
18344      need_lib_prefix=no
18345      need_version=no
18346      shlibpath_overrides_runpath=no
18347      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
18348      ;;
18349  esac
18350  ;;
18351
18352sysv4*MP*)
18353  if test -d /usr/nec ;then
18354    version_type=linux
18355    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18356    soname_spec='$libname${shared_ext}.$major'
18357    shlibpath_var=LD_LIBRARY_PATH
18358  fi
18359  ;;
18360
18361sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
18362  version_type=freebsd-elf
18363  need_lib_prefix=no
18364  need_version=no
18365  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18366  soname_spec='${libname}${release}${shared_ext}$major'
18367  shlibpath_var=LD_LIBRARY_PATH
18368  hardcode_into_libs=yes
18369  if test "$with_gnu_ld" = yes; then
18370    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18371    shlibpath_overrides_runpath=no
18372  else
18373    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
18374    shlibpath_overrides_runpath=yes
18375    case $host_os in
18376      sco3.2v5*)
18377        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
18378	;;
18379    esac
18380  fi
18381  sys_lib_dlsearch_path_spec='/usr/lib'
18382  ;;
18383
18384uts4*)
18385  version_type=linux
18386  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18387  soname_spec='${libname}${release}${shared_ext}$major'
18388  shlibpath_var=LD_LIBRARY_PATH
18389  ;;
18390
18391*)
18392  dynamic_linker=no
18393  ;;
18394esac
18395{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18396echo "${ECHO_T}$dynamic_linker" >&6; }
18397test "$dynamic_linker" = no && can_build_shared=no
18398
18399if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
18400  echo $ECHO_N "(cached) $ECHO_C" >&6
18401else
18402  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
18403fi
18404
18405sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
18406if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
18407  echo $ECHO_N "(cached) $ECHO_C" >&6
18408else
18409  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
18410fi
18411
18412sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
18413
18414variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
18415if test "$GCC" = yes; then
18416  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18417fi
18418
18419{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18420echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
18421hardcode_action_F77=
18422if test -n "$hardcode_libdir_flag_spec_F77" || \
18423   test -n "$runpath_var_F77" || \
18424   test "X$hardcode_automatic_F77" = "Xyes" ; then
18425
18426  # We can hardcode non-existant directories.
18427  if test "$hardcode_direct_F77" != no &&
18428     # If the only mechanism to avoid hardcoding is shlibpath_var, we
18429     # have to relink, otherwise we might link with an installed library
18430     # when we should be linking with a yet-to-be-installed one
18431     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
18432     test "$hardcode_minus_L_F77" != no; then
18433    # Linking always hardcodes the temporary library directory.
18434    hardcode_action_F77=relink
18435  else
18436    # We can link without hardcoding, and we can hardcode nonexisting dirs.
18437    hardcode_action_F77=immediate
18438  fi
18439else
18440  # We cannot hardcode anything, or else we can only hardcode existing
18441  # directories.
18442  hardcode_action_F77=unsupported
18443fi
18444{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
18445echo "${ECHO_T}$hardcode_action_F77" >&6; }
18446
18447if test "$hardcode_action_F77" = relink; then
18448  # Fast installation is not supported
18449  enable_fast_install=no
18450elif test "$shlibpath_overrides_runpath" = yes ||
18451     test "$enable_shared" = no; then
18452  # Fast installation is not necessary
18453  enable_fast_install=needless
18454fi
18455
18456
18457# The else clause should only fire when bootstrapping the
18458# libtool distribution, otherwise you forgot to ship ltmain.sh
18459# with your package, and you will get complaints that there are
18460# no rules to generate ltmain.sh.
18461if test -f "$ltmain"; then
18462  # See if we are running on zsh, and set the options which allow our commands through
18463  # without removal of \ escapes.
18464  if test -n "${ZSH_VERSION+set}" ; then
18465    setopt NO_GLOB_SUBST
18466  fi
18467  # Now quote all the things that may contain metacharacters while being
18468  # careful not to overquote the AC_SUBSTed values.  We take copies of the
18469  # variables and quote the copies for generation of the libtool script.
18470  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18471    SED SHELL STRIP \
18472    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18473    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18474    deplibs_check_method reload_flag reload_cmds need_locks \
18475    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18476    lt_cv_sys_global_symbol_to_c_name_address \
18477    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18478    old_postinstall_cmds old_postuninstall_cmds \
18479    compiler_F77 \
18480    CC_F77 \
18481    LD_F77 \
18482    lt_prog_compiler_wl_F77 \
18483    lt_prog_compiler_pic_F77 \
18484    lt_prog_compiler_static_F77 \
18485    lt_prog_compiler_no_builtin_flag_F77 \
18486    export_dynamic_flag_spec_F77 \
18487    thread_safe_flag_spec_F77 \
18488    whole_archive_flag_spec_F77 \
18489    enable_shared_with_static_runtimes_F77 \
18490    old_archive_cmds_F77 \
18491    old_archive_from_new_cmds_F77 \
18492    predep_objects_F77 \
18493    postdep_objects_F77 \
18494    predeps_F77 \
18495    postdeps_F77 \
18496    compiler_lib_search_path_F77 \
18497    compiler_lib_search_dirs_F77 \
18498    archive_cmds_F77 \
18499    archive_expsym_cmds_F77 \
18500    postinstall_cmds_F77 \
18501    postuninstall_cmds_F77 \
18502    old_archive_from_expsyms_cmds_F77 \
18503    allow_undefined_flag_F77 \
18504    no_undefined_flag_F77 \
18505    export_symbols_cmds_F77 \
18506    hardcode_libdir_flag_spec_F77 \
18507    hardcode_libdir_flag_spec_ld_F77 \
18508    hardcode_libdir_separator_F77 \
18509    hardcode_automatic_F77 \
18510    module_cmds_F77 \
18511    module_expsym_cmds_F77 \
18512    lt_cv_prog_compiler_c_o_F77 \
18513    fix_srcfile_path_F77 \
18514    exclude_expsyms_F77 \
18515    include_expsyms_F77; do
18516
18517    case $var in
18518    old_archive_cmds_F77 | \
18519    old_archive_from_new_cmds_F77 | \
18520    archive_cmds_F77 | \
18521    archive_expsym_cmds_F77 | \
18522    module_cmds_F77 | \
18523    module_expsym_cmds_F77 | \
18524    old_archive_from_expsyms_cmds_F77 | \
18525    export_symbols_cmds_F77 | \
18526    extract_expsyms_cmds | reload_cmds | finish_cmds | \
18527    postinstall_cmds | postuninstall_cmds | \
18528    old_postinstall_cmds | old_postuninstall_cmds | \
18529    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
18530      # Double-quote double-evaled strings.
18531      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18532      ;;
18533    *)
18534      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18535      ;;
18536    esac
18537  done
18538
18539  case $lt_echo in
18540  *'\$0 --fallback-echo"')
18541    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18542    ;;
18543  esac
18544
18545cfgfile="$ofile"
18546
18547  cat <<__EOF__ >> "$cfgfile"
18548# ### BEGIN LIBTOOL TAG CONFIG: $tagname
18549
18550# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18551
18552# Shell to use when invoking shell scripts.
18553SHELL=$lt_SHELL
18554
18555# Whether or not to build shared libraries.
18556build_libtool_libs=$enable_shared
18557
18558# Whether or not to build static libraries.
18559build_old_libs=$enable_static
18560
18561# Whether or not to add -lc for building shared libraries.
18562build_libtool_need_lc=$archive_cmds_need_lc_F77
18563
18564# Whether or not to disallow shared libs when runtime libs are static
18565allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
18566
18567# Whether or not to optimize for fast installation.
18568fast_install=$enable_fast_install
18569
18570# The host system.
18571host_alias=$host_alias
18572host=$host
18573host_os=$host_os
18574
18575# The build system.
18576build_alias=$build_alias
18577build=$build
18578build_os=$build_os
18579
18580# An echo program that does not interpret backslashes.
18581echo=$lt_echo
18582
18583# The archiver.
18584AR=$lt_AR
18585AR_FLAGS=$lt_AR_FLAGS
18586
18587# A C compiler.
18588LTCC=$lt_LTCC
18589
18590# LTCC compiler flags.
18591LTCFLAGS=$lt_LTCFLAGS
18592
18593# A language-specific compiler.
18594CC=$lt_compiler_F77
18595
18596# Is the compiler the GNU C compiler?
18597with_gcc=$GCC_F77
18598
18599# An ERE matcher.
18600EGREP=$lt_EGREP
18601
18602# The linker used to build libraries.
18603LD=$lt_LD_F77
18604
18605# Whether we need hard or soft links.
18606LN_S=$lt_LN_S
18607
18608# A BSD-compatible nm program.
18609NM=$lt_NM
18610
18611# A symbol stripping program
18612STRIP=$lt_STRIP
18613
18614# Used to examine libraries when file_magic_cmd begins "file"
18615MAGIC_CMD=$MAGIC_CMD
18616
18617# Used on cygwin: DLL creation program.
18618DLLTOOL="$DLLTOOL"
18619
18620# Used on cygwin: object dumper.
18621OBJDUMP="$OBJDUMP"
18622
18623# Used on cygwin: assembler.
18624AS="$AS"
18625
18626# The name of the directory that contains temporary libtool files.
18627objdir=$objdir
18628
18629# How to create reloadable object files.
18630reload_flag=$lt_reload_flag
18631reload_cmds=$lt_reload_cmds
18632
18633# How to pass a linker flag through the compiler.
18634wl=$lt_lt_prog_compiler_wl_F77
18635
18636# Object file suffix (normally "o").
18637objext="$ac_objext"
18638
18639# Old archive suffix (normally "a").
18640libext="$libext"
18641
18642# Shared library suffix (normally ".so").
18643shrext_cmds='$shrext_cmds'
18644
18645# Executable file suffix (normally "").
18646exeext="$exeext"
18647
18648# Additional compiler flags for building library objects.
18649pic_flag=$lt_lt_prog_compiler_pic_F77
18650pic_mode=$pic_mode
18651
18652# What is the maximum length of a command?
18653max_cmd_len=$lt_cv_sys_max_cmd_len
18654
18655# Does compiler simultaneously support -c and -o options?
18656compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
18657
18658# Must we lock files when doing compilation?
18659need_locks=$lt_need_locks
18660
18661# Do we need the lib prefix for modules?
18662need_lib_prefix=$need_lib_prefix
18663
18664# Do we need a version for libraries?
18665need_version=$need_version
18666
18667# Whether dlopen is supported.
18668dlopen_support=$enable_dlopen
18669
18670# Whether dlopen of programs is supported.
18671dlopen_self=$enable_dlopen_self
18672
18673# Whether dlopen of statically linked programs is supported.
18674dlopen_self_static=$enable_dlopen_self_static
18675
18676# Compiler flag to prevent dynamic linking.
18677link_static_flag=$lt_lt_prog_compiler_static_F77
18678
18679# Compiler flag to turn off builtin functions.
18680no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
18681
18682# Compiler flag to allow reflexive dlopens.
18683export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
18684
18685# Compiler flag to generate shared objects directly from archives.
18686whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
18687
18688# Compiler flag to generate thread-safe objects.
18689thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
18690
18691# Library versioning type.
18692version_type=$version_type
18693
18694# Format of library name prefix.
18695libname_spec=$lt_libname_spec
18696
18697# List of archive names.  First name is the real one, the rest are links.
18698# The last name is the one that the linker finds with -lNAME.
18699library_names_spec=$lt_library_names_spec
18700
18701# The coded name of the library, if different from the real name.
18702soname_spec=$lt_soname_spec
18703
18704# Commands used to build and install an old-style archive.
18705RANLIB=$lt_RANLIB
18706old_archive_cmds=$lt_old_archive_cmds_F77
18707old_postinstall_cmds=$lt_old_postinstall_cmds
18708old_postuninstall_cmds=$lt_old_postuninstall_cmds
18709
18710# Create an old-style archive from a shared archive.
18711old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
18712
18713# Create a temporary old-style archive to link instead of a shared archive.
18714old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
18715
18716# Commands used to build and install a shared archive.
18717archive_cmds=$lt_archive_cmds_F77
18718archive_expsym_cmds=$lt_archive_expsym_cmds_F77
18719postinstall_cmds=$lt_postinstall_cmds
18720postuninstall_cmds=$lt_postuninstall_cmds
18721
18722# Commands used to build a loadable module (assumed same as above if empty)
18723module_cmds=$lt_module_cmds_F77
18724module_expsym_cmds=$lt_module_expsym_cmds_F77
18725
18726# Commands to strip libraries.
18727old_striplib=$lt_old_striplib
18728striplib=$lt_striplib
18729
18730# Dependencies to place before the objects being linked to create a
18731# shared library.
18732predep_objects=$lt_predep_objects_F77
18733
18734# Dependencies to place after the objects being linked to create a
18735# shared library.
18736postdep_objects=$lt_postdep_objects_F77
18737
18738# Dependencies to place before the objects being linked to create a
18739# shared library.
18740predeps=$lt_predeps_F77
18741
18742# Dependencies to place after the objects being linked to create a
18743# shared library.
18744postdeps=$lt_postdeps_F77
18745
18746# The directories searched by this compiler when creating a shared
18747# library
18748compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
18749
18750# The library search path used internally by the compiler when linking
18751# a shared library.
18752compiler_lib_search_path=$lt_compiler_lib_search_path_F77
18753
18754# Method to check whether dependent libraries are shared objects.
18755deplibs_check_method=$lt_deplibs_check_method
18756
18757# Command to use when deplibs_check_method == file_magic.
18758file_magic_cmd=$lt_file_magic_cmd
18759
18760# Flag that allows shared libraries with undefined symbols to be built.
18761allow_undefined_flag=$lt_allow_undefined_flag_F77
18762
18763# Flag that forces no undefined symbols.
18764no_undefined_flag=$lt_no_undefined_flag_F77
18765
18766# Commands used to finish a libtool library installation in a directory.
18767finish_cmds=$lt_finish_cmds
18768
18769# Same as above, but a single script fragment to be evaled but not shown.
18770finish_eval=$lt_finish_eval
18771
18772# Take the output of nm and produce a listing of raw symbols and C names.
18773global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18774
18775# Transform the output of nm in a proper C declaration
18776global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18777
18778# Transform the output of nm in a C name address pair
18779global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18780
18781# This is the shared library runtime path variable.
18782runpath_var=$runpath_var
18783
18784# This is the shared library path variable.
18785shlibpath_var=$shlibpath_var
18786
18787# Is shlibpath searched before the hard-coded library search path?
18788shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18789
18790# How to hardcode a shared library path into an executable.
18791hardcode_action=$hardcode_action_F77
18792
18793# Whether we should hardcode library paths into libraries.
18794hardcode_into_libs=$hardcode_into_libs
18795
18796# Flag to hardcode \$libdir into a binary during linking.
18797# This must work even if \$libdir does not exist.
18798hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
18799
18800# If ld is used when linking, flag to hardcode \$libdir into
18801# a binary during linking. This must work even if \$libdir does
18802# not exist.
18803hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
18804
18805# Whether we need a single -rpath flag with a separated argument.
18806hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
18807
18808# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18809# resulting binary.
18810hardcode_direct=$hardcode_direct_F77
18811
18812# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18813# resulting binary.
18814hardcode_minus_L=$hardcode_minus_L_F77
18815
18816# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18817# the resulting binary.
18818hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
18819
18820# Set to yes if building a shared library automatically hardcodes DIR into the library
18821# and all subsequent libraries and executables linked against it.
18822hardcode_automatic=$hardcode_automatic_F77
18823
18824# Variables whose values should be saved in libtool wrapper scripts and
18825# restored at relink time.
18826variables_saved_for_relink="$variables_saved_for_relink"
18827
18828# Whether libtool must link a program against all its dependency libraries.
18829link_all_deplibs=$link_all_deplibs_F77
18830
18831# Compile-time system search path for libraries
18832sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18833
18834# Run-time system search path for libraries
18835sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18836
18837# Fix the shell variable \$srcfile for the compiler.
18838fix_srcfile_path=$lt_fix_srcfile_path
18839
18840# Set to yes if exported symbols are required.
18841always_export_symbols=$always_export_symbols_F77
18842
18843# The commands to list exported symbols.
18844export_symbols_cmds=$lt_export_symbols_cmds_F77
18845
18846# The commands to extract the exported symbol list from a shared archive.
18847extract_expsyms_cmds=$lt_extract_expsyms_cmds
18848
18849# Symbols that should not be listed in the preloaded symbols.
18850exclude_expsyms=$lt_exclude_expsyms_F77
18851
18852# Symbols that must always be exported.
18853include_expsyms=$lt_include_expsyms_F77
18854
18855# ### END LIBTOOL TAG CONFIG: $tagname
18856
18857__EOF__
18858
18859
18860else
18861  # If there is no Makefile yet, we rely on a make rule to execute
18862  # `config.status --recheck' to rerun these tests and create the
18863  # libtool script then.
18864  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18865  if test -f "$ltmain_in"; then
18866    test -f Makefile && make "$ltmain"
18867  fi
18868fi
18869
18870
18871ac_ext=c
18872ac_cpp='$CPP $CPPFLAGS'
18873ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18874ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18875ac_compiler_gnu=$ac_cv_c_compiler_gnu
18876
18877CC="$lt_save_CC"
18878
18879	else
18880	  tagname=""
18881	fi
18882	;;
18883
18884      GCJ)
18885	if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
18886
18887
18888# Source file extension for Java test sources.
18889ac_ext=java
18890
18891# Object file extension for compiled Java test sources.
18892objext=o
18893objext_GCJ=$objext
18894
18895# Code to be used in simple compile tests
18896lt_simple_compile_test_code="class foo {}"
18897
18898# Code to be used in simple link tests
18899lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
18900
18901# ltmain only uses $CC for tagged configurations so make sure $CC is set.
18902
18903# If no C compiler was specified, use CC.
18904LTCC=${LTCC-"$CC"}
18905
18906# If no C compiler flags were specified, use CFLAGS.
18907LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
18908
18909# Allow CC to be a program name with arguments.
18910compiler=$CC
18911
18912
18913# save warnings/boilerplate of simple test code
18914ac_outfile=conftest.$ac_objext
18915echo "$lt_simple_compile_test_code" >conftest.$ac_ext
18916eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18917_lt_compiler_boilerplate=`cat conftest.err`
18918$rm conftest*
18919
18920ac_outfile=conftest.$ac_objext
18921echo "$lt_simple_link_test_code" >conftest.$ac_ext
18922eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18923_lt_linker_boilerplate=`cat conftest.err`
18924$rm -r conftest*
18925
18926
18927# Allow CC to be a program name with arguments.
18928lt_save_CC="$CC"
18929CC=${GCJ-"gcj"}
18930compiler=$CC
18931compiler_GCJ=$CC
18932for cc_temp in $compiler""; do
18933  case $cc_temp in
18934    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
18935    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
18936    \-*) ;;
18937    *) break;;
18938  esac
18939done
18940cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18941
18942
18943# GCJ did not exist at the time GCC didn't implicitly link libc in.
18944archive_cmds_need_lc_GCJ=no
18945
18946old_archive_cmds_GCJ=$old_archive_cmds
18947
18948
18949lt_prog_compiler_no_builtin_flag_GCJ=
18950
18951if test "$GCC" = yes; then
18952  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
18953
18954
18955{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
18956echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
18957if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
18958  echo $ECHO_N "(cached) $ECHO_C" >&6
18959else
18960  lt_cv_prog_compiler_rtti_exceptions=no
18961  ac_outfile=conftest.$ac_objext
18962   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18963   lt_compiler_flag="-fno-rtti -fno-exceptions"
18964   # Insert the option either (1) after the last *FLAGS variable, or
18965   # (2) before a word containing "conftest.", or (3) at the end.
18966   # Note that $ac_compile itself does not contain backslashes and begins
18967   # with a dollar sign (not a hyphen), so the echo should work correctly.
18968   # The option is referenced via a variable to avoid confusing sed.
18969   lt_compile=`echo "$ac_compile" | $SED \
18970   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18971   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18972   -e 's:$: $lt_compiler_flag:'`
18973   (eval echo "\"\$as_me:18973: $lt_compile\"" >&5)
18974   (eval "$lt_compile" 2>conftest.err)
18975   ac_status=$?
18976   cat conftest.err >&5
18977   echo "$as_me:18977: \$? = $ac_status" >&5
18978   if (exit $ac_status) && test -s "$ac_outfile"; then
18979     # The compiler can only warn and ignore the option if not recognized
18980     # So say no if there are warnings other than the usual output.
18981     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
18982     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
18983     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
18984       lt_cv_prog_compiler_rtti_exceptions=yes
18985     fi
18986   fi
18987   $rm conftest*
18988
18989fi
18990{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
18991echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
18992
18993if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
18994    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
18995else
18996    :
18997fi
18998
18999fi
19000
19001lt_prog_compiler_wl_GCJ=
19002lt_prog_compiler_pic_GCJ=
19003lt_prog_compiler_static_GCJ=
19004
19005{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
19006echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
19007
19008  if test "$GCC" = yes; then
19009    lt_prog_compiler_wl_GCJ='-Wl,'
19010    lt_prog_compiler_static_GCJ='-static'
19011
19012    case $host_os in
19013      aix*)
19014      # All AIX code is PIC.
19015      if test "$host_cpu" = ia64; then
19016	# AIX 5 now supports IA64 processor
19017	lt_prog_compiler_static_GCJ='-Bstatic'
19018      fi
19019      ;;
19020
19021    amigaos*)
19022      # FIXME: we need at least 68020 code to build shared libraries, but
19023      # adding the `-m68020' flag to GCC prevents building anything better,
19024      # like `-m68040'.
19025      lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
19026      ;;
19027
19028    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
19029      # PIC is the default for these OSes.
19030      ;;
19031
19032    mingw* | cygwin* | pw32* | os2*)
19033      # This hack is so that the source file can tell whether it is being
19034      # built for inclusion in a dll (and should export symbols for example).
19035      # Although the cygwin gcc ignores -fPIC, still need this for old-style
19036      # (--disable-auto-import) libraries
19037
19038      ;;
19039
19040    darwin* | rhapsody*)
19041      # PIC is the default on this platform
19042      # Common symbols not allowed in MH_DYLIB files
19043      lt_prog_compiler_pic_GCJ='-fno-common'
19044      ;;
19045
19046    interix[3-9]*)
19047      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
19048      # Instead, we relocate shared libraries at runtime.
19049      ;;
19050
19051    msdosdjgpp*)
19052      # Just because we use GCC doesn't mean we suddenly get shared libraries
19053      # on systems that don't support them.
19054      lt_prog_compiler_can_build_shared_GCJ=no
19055      enable_shared=no
19056      ;;
19057
19058    sysv4*MP*)
19059      if test -d /usr/nec; then
19060	lt_prog_compiler_pic_GCJ=-Kconform_pic
19061      fi
19062      ;;
19063
19064    hpux*)
19065      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
19066      # not for PA HP-UX.
19067      case $host_cpu in
19068      hppa*64*|ia64*)
19069	# +Z the default
19070	;;
19071      *)
19072	lt_prog_compiler_pic_GCJ='-fPIC'
19073	;;
19074      esac
19075      ;;
19076
19077    *)
19078      lt_prog_compiler_pic_GCJ='-fPIC'
19079      ;;
19080    esac
19081  else
19082    # PORTME Check for flag to pass linker flags through the system compiler.
19083    case $host_os in
19084    aix*)
19085      lt_prog_compiler_wl_GCJ='-Wl,'
19086      if test "$host_cpu" = ia64; then
19087	# AIX 5 now supports IA64 processor
19088	lt_prog_compiler_static_GCJ='-Bstatic'
19089      else
19090	lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
19091      fi
19092      ;;
19093      darwin*)
19094        # PIC is the default on this platform
19095        # Common symbols not allowed in MH_DYLIB files
19096       case $cc_basename in
19097         xlc*)
19098         lt_prog_compiler_pic_GCJ='-qnocommon'
19099         lt_prog_compiler_wl_GCJ='-Wl,'
19100         ;;
19101       esac
19102       ;;
19103
19104    mingw* | cygwin* | pw32* | os2*)
19105      # This hack is so that the source file can tell whether it is being
19106      # built for inclusion in a dll (and should export symbols for example).
19107
19108      ;;
19109
19110    hpux9* | hpux10* | hpux11*)
19111      lt_prog_compiler_wl_GCJ='-Wl,'
19112      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
19113      # not for PA HP-UX.
19114      case $host_cpu in
19115      hppa*64*|ia64*)
19116	# +Z the default
19117	;;
19118      *)
19119	lt_prog_compiler_pic_GCJ='+Z'
19120	;;
19121      esac
19122      # Is there a better lt_prog_compiler_static that works with the bundled CC?
19123      lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
19124      ;;
19125
19126    irix5* | irix6* | nonstopux*)
19127      lt_prog_compiler_wl_GCJ='-Wl,'
19128      # PIC (with -KPIC) is the default.
19129      lt_prog_compiler_static_GCJ='-non_shared'
19130      ;;
19131
19132    newsos6)
19133      lt_prog_compiler_pic_GCJ='-KPIC'
19134      lt_prog_compiler_static_GCJ='-Bstatic'
19135      ;;
19136
19137    linux* | k*bsd*-gnu)
19138      case $cc_basename in
19139      icc* | ecc*)
19140	lt_prog_compiler_wl_GCJ='-Wl,'
19141	lt_prog_compiler_pic_GCJ='-KPIC'
19142	lt_prog_compiler_static_GCJ='-static'
19143        ;;
19144      pgcc* | pgf77* | pgf90* | pgf95*)
19145        # Portland Group compilers (*not* the Pentium gcc compiler,
19146	# which looks to be a dead project)
19147	lt_prog_compiler_wl_GCJ='-Wl,'
19148	lt_prog_compiler_pic_GCJ='-fpic'
19149	lt_prog_compiler_static_GCJ='-Bstatic'
19150        ;;
19151      ccc*)
19152        lt_prog_compiler_wl_GCJ='-Wl,'
19153        # All Alpha code is PIC.
19154        lt_prog_compiler_static_GCJ='-non_shared'
19155        ;;
19156      *)
19157        case `$CC -V 2>&1 | sed 5q` in
19158	*Sun\ C*)
19159	  # Sun C 5.9
19160	  lt_prog_compiler_pic_GCJ='-KPIC'
19161	  lt_prog_compiler_static_GCJ='-Bstatic'
19162	  lt_prog_compiler_wl_GCJ='-Wl,'
19163	  ;;
19164	*Sun\ F*)
19165	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
19166	  lt_prog_compiler_pic_GCJ='-KPIC'
19167	  lt_prog_compiler_static_GCJ='-Bstatic'
19168	  lt_prog_compiler_wl_GCJ=''
19169	  ;;
19170	esac
19171	;;
19172      esac
19173      ;;
19174
19175    osf3* | osf4* | osf5*)
19176      lt_prog_compiler_wl_GCJ='-Wl,'
19177      # All OSF/1 code is PIC.
19178      lt_prog_compiler_static_GCJ='-non_shared'
19179      ;;
19180
19181    rdos*)
19182      lt_prog_compiler_static_GCJ='-non_shared'
19183      ;;
19184
19185    solaris*)
19186      lt_prog_compiler_pic_GCJ='-KPIC'
19187      lt_prog_compiler_static_GCJ='-Bstatic'
19188      case $cc_basename in
19189      f77* | f90* | f95*)
19190	lt_prog_compiler_wl_GCJ='-Qoption ld ';;
19191      *)
19192	lt_prog_compiler_wl_GCJ='-Wl,';;
19193      esac
19194      ;;
19195
19196    sunos4*)
19197      lt_prog_compiler_wl_GCJ='-Qoption ld '
19198      lt_prog_compiler_pic_GCJ='-PIC'
19199      lt_prog_compiler_static_GCJ='-Bstatic'
19200      ;;
19201
19202    sysv4 | sysv4.2uw2* | sysv4.3*)
19203      lt_prog_compiler_wl_GCJ='-Wl,'
19204      lt_prog_compiler_pic_GCJ='-KPIC'
19205      lt_prog_compiler_static_GCJ='-Bstatic'
19206      ;;
19207
19208    sysv4*MP*)
19209      if test -d /usr/nec ;then
19210	lt_prog_compiler_pic_GCJ='-Kconform_pic'
19211	lt_prog_compiler_static_GCJ='-Bstatic'
19212      fi
19213      ;;
19214
19215    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
19216      lt_prog_compiler_wl_GCJ='-Wl,'
19217      lt_prog_compiler_pic_GCJ='-KPIC'
19218      lt_prog_compiler_static_GCJ='-Bstatic'
19219      ;;
19220
19221    unicos*)
19222      lt_prog_compiler_wl_GCJ='-Wl,'
19223      lt_prog_compiler_can_build_shared_GCJ=no
19224      ;;
19225
19226    uts4*)
19227      lt_prog_compiler_pic_GCJ='-pic'
19228      lt_prog_compiler_static_GCJ='-Bstatic'
19229      ;;
19230
19231    *)
19232      lt_prog_compiler_can_build_shared_GCJ=no
19233      ;;
19234    esac
19235  fi
19236
19237{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
19238echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
19239
19240#
19241# Check to make sure the PIC flag actually works.
19242#
19243if test -n "$lt_prog_compiler_pic_GCJ"; then
19244
19245{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
19246echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
19247if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
19248  echo $ECHO_N "(cached) $ECHO_C" >&6
19249else
19250  lt_cv_prog_compiler_pic_works_GCJ=no
19251  ac_outfile=conftest.$ac_objext
19252   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19253   lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
19254   # Insert the option either (1) after the last *FLAGS variable, or
19255   # (2) before a word containing "conftest.", or (3) at the end.
19256   # Note that $ac_compile itself does not contain backslashes and begins
19257   # with a dollar sign (not a hyphen), so the echo should work correctly.
19258   # The option is referenced via a variable to avoid confusing sed.
19259   lt_compile=`echo "$ac_compile" | $SED \
19260   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19261   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19262   -e 's:$: $lt_compiler_flag:'`
19263   (eval echo "\"\$as_me:19263: $lt_compile\"" >&5)
19264   (eval "$lt_compile" 2>conftest.err)
19265   ac_status=$?
19266   cat conftest.err >&5
19267   echo "$as_me:19267: \$? = $ac_status" >&5
19268   if (exit $ac_status) && test -s "$ac_outfile"; then
19269     # The compiler can only warn and ignore the option if not recognized
19270     # So say no if there are warnings other than the usual output.
19271     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
19272     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
19273     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
19274       lt_cv_prog_compiler_pic_works_GCJ=yes
19275     fi
19276   fi
19277   $rm conftest*
19278
19279fi
19280{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
19281echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
19282
19283if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
19284    case $lt_prog_compiler_pic_GCJ in
19285     "" | " "*) ;;
19286     *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
19287     esac
19288else
19289    lt_prog_compiler_pic_GCJ=
19290     lt_prog_compiler_can_build_shared_GCJ=no
19291fi
19292
19293fi
19294case $host_os in
19295  # For platforms which do not support PIC, -DPIC is meaningless:
19296  *djgpp*)
19297    lt_prog_compiler_pic_GCJ=
19298    ;;
19299  *)
19300    lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
19301    ;;
19302esac
19303
19304#
19305# Check to make sure the static flag actually works.
19306#
19307wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
19308{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
19309echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
19310if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
19311  echo $ECHO_N "(cached) $ECHO_C" >&6
19312else
19313  lt_cv_prog_compiler_static_works_GCJ=no
19314   save_LDFLAGS="$LDFLAGS"
19315   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
19316   echo "$lt_simple_link_test_code" > conftest.$ac_ext
19317   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
19318     # The linker can only warn and ignore the option if not recognized
19319     # So say no if there are warnings
19320     if test -s conftest.err; then
19321       # Append any errors to the config.log.
19322       cat conftest.err 1>&5
19323       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
19324       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
19325       if diff conftest.exp conftest.er2 >/dev/null; then
19326         lt_cv_prog_compiler_static_works_GCJ=yes
19327       fi
19328     else
19329       lt_cv_prog_compiler_static_works_GCJ=yes
19330     fi
19331   fi
19332   $rm -r conftest*
19333   LDFLAGS="$save_LDFLAGS"
19334
19335fi
19336{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
19337echo "${ECHO_T}$lt_cv_prog_compiler_static_works_GCJ" >&6; }
19338
19339if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
19340    :
19341else
19342    lt_prog_compiler_static_GCJ=
19343fi
19344
19345
19346{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
19347echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
19348if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
19349  echo $ECHO_N "(cached) $ECHO_C" >&6
19350else
19351  lt_cv_prog_compiler_c_o_GCJ=no
19352   $rm -r conftest 2>/dev/null
19353   mkdir conftest
19354   cd conftest
19355   mkdir out
19356   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19357
19358   lt_compiler_flag="-o out/conftest2.$ac_objext"
19359   # Insert the option either (1) after the last *FLAGS variable, or
19360   # (2) before a word containing "conftest.", or (3) at the end.
19361   # Note that $ac_compile itself does not contain backslashes and begins
19362   # with a dollar sign (not a hyphen), so the echo should work correctly.
19363   lt_compile=`echo "$ac_compile" | $SED \
19364   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19365   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19366   -e 's:$: $lt_compiler_flag:'`
19367   (eval echo "\"\$as_me:19367: $lt_compile\"" >&5)
19368   (eval "$lt_compile" 2>out/conftest.err)
19369   ac_status=$?
19370   cat out/conftest.err >&5
19371   echo "$as_me:19371: \$? = $ac_status" >&5
19372   if (exit $ac_status) && test -s out/conftest2.$ac_objext
19373   then
19374     # The compiler can only warn and ignore the option if not recognized
19375     # So say no if there are warnings
19376     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
19377     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
19378     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
19379       lt_cv_prog_compiler_c_o_GCJ=yes
19380     fi
19381   fi
19382   chmod u+w . 2>&5
19383   $rm conftest*
19384   # SGI C++ compiler will create directory out/ii_files/ for
19385   # template instantiation
19386   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
19387   $rm out/* && rmdir out
19388   cd ..
19389   rmdir conftest
19390   $rm conftest*
19391
19392fi
19393{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
19394echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
19395
19396
19397hard_links="nottested"
19398if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
19399  # do not overwrite the value of need_locks provided by the user
19400  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
19401echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
19402  hard_links=yes
19403  $rm conftest*
19404  ln conftest.a conftest.b 2>/dev/null && hard_links=no
19405  touch conftest.a
19406  ln conftest.a conftest.b 2>&5 || hard_links=no
19407  ln conftest.a conftest.b 2>/dev/null && hard_links=no
19408  { echo "$as_me:$LINENO: result: $hard_links" >&5
19409echo "${ECHO_T}$hard_links" >&6; }
19410  if test "$hard_links" = no; then
19411    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
19412echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
19413    need_locks=warn
19414  fi
19415else
19416  need_locks=no
19417fi
19418
19419{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
19420echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
19421
19422  runpath_var=
19423  allow_undefined_flag_GCJ=
19424  enable_shared_with_static_runtimes_GCJ=no
19425  archive_cmds_GCJ=
19426  archive_expsym_cmds_GCJ=
19427  old_archive_From_new_cmds_GCJ=
19428  old_archive_from_expsyms_cmds_GCJ=
19429  export_dynamic_flag_spec_GCJ=
19430  whole_archive_flag_spec_GCJ=
19431  thread_safe_flag_spec_GCJ=
19432  hardcode_libdir_flag_spec_GCJ=
19433  hardcode_libdir_flag_spec_ld_GCJ=
19434  hardcode_libdir_separator_GCJ=
19435  hardcode_direct_GCJ=no
19436  hardcode_minus_L_GCJ=no
19437  hardcode_shlibpath_var_GCJ=unsupported
19438  link_all_deplibs_GCJ=unknown
19439  hardcode_automatic_GCJ=no
19440  module_cmds_GCJ=
19441  module_expsym_cmds_GCJ=
19442  always_export_symbols_GCJ=no
19443  export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
19444  # include_expsyms should be a list of space-separated symbols to be *always*
19445  # included in the symbol list
19446  include_expsyms_GCJ=
19447  # exclude_expsyms can be an extended regexp of symbols to exclude
19448  # it will be wrapped by ` (' and `)$', so one must not match beginning or
19449  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
19450  # as well as any symbol that contains `d'.
19451  exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
19452  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
19453  # platforms (ab)use it in PIC code, but their linkers get confused if
19454  # the symbol is explicitly referenced.  Since portable code cannot
19455  # rely on this symbol name, it's probably fine to never include it in
19456  # preloaded symbol tables.
19457  # Exclude shared library initialization/finalization symbols.
19458  extract_expsyms_cmds=
19459  # Just being paranoid about ensuring that cc_basename is set.
19460  for cc_temp in $compiler""; do
19461  case $cc_temp in
19462    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
19463    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
19464    \-*) ;;
19465    *) break;;
19466  esac
19467done
19468cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19469
19470  case $host_os in
19471  cygwin* | mingw* | pw32*)
19472    # FIXME: the MSVC++ port hasn't been tested in a loooong time
19473    # When not using gcc, we currently assume that we are using
19474    # Microsoft Visual C++.
19475    if test "$GCC" != yes; then
19476      with_gnu_ld=no
19477    fi
19478    ;;
19479  interix*)
19480    # we just hope/assume this is gcc and not c89 (= MSVC++)
19481    with_gnu_ld=yes
19482    ;;
19483  openbsd*)
19484    with_gnu_ld=no
19485    ;;
19486  esac
19487
19488  ld_shlibs_GCJ=yes
19489  if test "$with_gnu_ld" = yes; then
19490    # If archive_cmds runs LD, not CC, wlarc should be empty
19491    wlarc='${wl}'
19492
19493    # Set some defaults for GNU ld with shared library support. These
19494    # are reset later if shared libraries are not supported. Putting them
19495    # here allows them to be overridden if necessary.
19496    runpath_var=LD_RUN_PATH
19497    hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
19498    export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
19499    # ancient GNU ld didn't support --whole-archive et. al.
19500    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
19501	whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
19502      else
19503  	whole_archive_flag_spec_GCJ=
19504    fi
19505    supports_anon_versioning=no
19506    case `$LD -v 2>/dev/null` in
19507      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
19508      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
19509      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
19510      *\ 2.11.*) ;; # other 2.11 versions
19511      *) supports_anon_versioning=yes ;;
19512    esac
19513
19514    # See if GNU ld supports shared libraries.
19515    case $host_os in
19516    aix[3-9]*)
19517      # On AIX/PPC, the GNU linker is very broken
19518      if test "$host_cpu" != ia64; then
19519	ld_shlibs_GCJ=no
19520	cat <<EOF 1>&2
19521
19522*** Warning: the GNU linker, at least up to release 2.9.1, is reported
19523*** to be unable to reliably create shared libraries on AIX.
19524*** Therefore, libtool is disabling shared libraries support.  If you
19525*** really care for shared libraries, you may want to modify your PATH
19526*** so that a non-GNU linker is found, and then restart.
19527
19528EOF
19529      fi
19530      ;;
19531
19532    amigaos*)
19533      archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
19534      hardcode_libdir_flag_spec_GCJ='-L$libdir'
19535      hardcode_minus_L_GCJ=yes
19536
19537      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
19538      # that the semantics of dynamic libraries on AmigaOS, at least up
19539      # to version 4, is to share data among multiple programs linked
19540      # with the same dynamic library.  Since this doesn't match the
19541      # behavior of shared libraries on other platforms, we can't use
19542      # them.
19543      ld_shlibs_GCJ=no
19544      ;;
19545
19546    beos*)
19547      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
19548	allow_undefined_flag_GCJ=unsupported
19549	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
19550	# support --undefined.  This deserves some investigation.  FIXME
19551	archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19552      else
19553	ld_shlibs_GCJ=no
19554      fi
19555      ;;
19556
19557    cygwin* | mingw* | pw32*)
19558      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
19559      # as there is no search path for DLLs.
19560      hardcode_libdir_flag_spec_GCJ='-L$libdir'
19561      allow_undefined_flag_GCJ=unsupported
19562      always_export_symbols_GCJ=no
19563      enable_shared_with_static_runtimes_GCJ=yes
19564      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
19565
19566      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
19567        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
19568	# If the export-symbols file already is a .def file (1st line
19569	# is EXPORTS), use it as is; otherwise, prepend...
19570	archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
19571	  cp $export_symbols $output_objdir/$soname.def;
19572	else
19573	  echo EXPORTS > $output_objdir/$soname.def;
19574	  cat $export_symbols >> $output_objdir/$soname.def;
19575	fi~
19576	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
19577      else
19578	ld_shlibs_GCJ=no
19579      fi
19580      ;;
19581
19582    interix[3-9]*)
19583      hardcode_direct_GCJ=no
19584      hardcode_shlibpath_var_GCJ=no
19585      hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
19586      export_dynamic_flag_spec_GCJ='${wl}-E'
19587      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
19588      # Instead, shared libraries are loaded at an image base (0x10000000 by
19589      # default) and relocated if they conflict, which is a slow very memory
19590      # consuming and fragmenting process.  To avoid this, we pick a random,
19591      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
19592      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
19593      archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
19594      archive_expsym_cmds_GCJ='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
19595      ;;
19596
19597    gnu* | linux* | k*bsd*-gnu)
19598      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
19599	tmp_addflag=
19600	case $cc_basename,$host_cpu in
19601	pgcc*)				# Portland Group C compiler
19602	  whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
19603	  tmp_addflag=' $pic_flag'
19604	  ;;
19605	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
19606	  whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
19607	  tmp_addflag=' $pic_flag -Mnomain' ;;
19608	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
19609	  tmp_addflag=' -i_dynamic' ;;
19610	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
19611	  tmp_addflag=' -i_dynamic -nofor_main' ;;
19612	ifc* | ifort*)			# Intel Fortran compiler
19613	  tmp_addflag=' -nofor_main' ;;
19614	esac
19615	case `$CC -V 2>&1 | sed 5q` in
19616	*Sun\ C*)			# Sun C 5.9
19617	  whole_archive_flag_spec_GCJ='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
19618	  tmp_sharedflag='-G' ;;
19619	*Sun\ F*)			# Sun Fortran 8.3
19620	  tmp_sharedflag='-G' ;;
19621	*)
19622	  tmp_sharedflag='-shared' ;;
19623	esac
19624	archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19625
19626	if test $supports_anon_versioning = yes; then
19627	  archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
19628  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
19629  $echo "local: *; };" >> $output_objdir/$libname.ver~
19630	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
19631	fi
19632	link_all_deplibs_GCJ=no
19633      else
19634	ld_shlibs_GCJ=no
19635      fi
19636      ;;
19637
19638    netbsd* | netbsdelf*-gnu)
19639      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
19640	archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
19641	wlarc=
19642      else
19643	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19644	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
19645      fi
19646      ;;
19647
19648    solaris*)
19649      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
19650	ld_shlibs_GCJ=no
19651	cat <<EOF 1>&2
19652
19653*** Warning: The releases 2.8.* of the GNU linker cannot reliably
19654*** create shared libraries on Solaris systems.  Therefore, libtool
19655*** is disabling shared libraries support.  We urge you to upgrade GNU
19656*** binutils to release 2.9.1 or newer.  Another option is to modify
19657*** your PATH or compiler configuration so that the native linker is
19658*** used, and then restart.
19659
19660EOF
19661      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
19662	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19663	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
19664      else
19665	ld_shlibs_GCJ=no
19666      fi
19667      ;;
19668
19669    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
19670      case `$LD -v 2>&1` in
19671        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
19672	ld_shlibs_GCJ=no
19673	cat <<_LT_EOF 1>&2
19674
19675*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
19676*** reliably create shared libraries on SCO systems.  Therefore, libtool
19677*** is disabling shared libraries support.  We urge you to upgrade GNU
19678*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
19679*** your PATH or compiler configuration so that the native linker is
19680*** used, and then restart.
19681
19682_LT_EOF
19683	;;
19684	*)
19685	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
19686	    hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
19687	    archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
19688	    archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
19689	  else
19690	    ld_shlibs_GCJ=no
19691	  fi
19692	;;
19693      esac
19694      ;;
19695
19696    sunos4*)
19697      archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19698      wlarc=
19699      hardcode_direct_GCJ=yes
19700      hardcode_shlibpath_var_GCJ=no
19701      ;;
19702
19703    *)
19704      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
19705	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19706	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
19707      else
19708	ld_shlibs_GCJ=no
19709      fi
19710      ;;
19711    esac
19712
19713    if test "$ld_shlibs_GCJ" = no; then
19714      runpath_var=
19715      hardcode_libdir_flag_spec_GCJ=
19716      export_dynamic_flag_spec_GCJ=
19717      whole_archive_flag_spec_GCJ=
19718    fi
19719  else
19720    # PORTME fill in a description of your system's linker (not GNU ld)
19721    case $host_os in
19722    aix3*)
19723      allow_undefined_flag_GCJ=unsupported
19724      always_export_symbols_GCJ=yes
19725      archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
19726      # Note: this linker hardcodes the directories in LIBPATH if there
19727      # are no directories specified by -L.
19728      hardcode_minus_L_GCJ=yes
19729      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
19730	# Neither direct hardcoding nor static linking is supported with a
19731	# broken collect2.
19732	hardcode_direct_GCJ=unsupported
19733      fi
19734      ;;
19735
19736    aix[4-9]*)
19737      if test "$host_cpu" = ia64; then
19738	# On IA64, the linker does run time linking by default, so we don't
19739	# have to do anything special.
19740	aix_use_runtimelinking=no
19741	exp_sym_flag='-Bexport'
19742	no_entry_flag=""
19743      else
19744	# If we're using GNU nm, then we don't want the "-C" option.
19745	# -C means demangle to AIX nm, but means don't demangle with GNU nm
19746	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
19747	  export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
19748	else
19749	  export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
19750	fi
19751	aix_use_runtimelinking=no
19752
19753	# Test if we are trying to use run time linking or normal
19754	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
19755	# need to do runtime linking.
19756	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
19757	  for ld_flag in $LDFLAGS; do
19758  	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
19759  	    aix_use_runtimelinking=yes
19760  	    break
19761  	  fi
19762	  done
19763	  ;;
19764	esac
19765
19766	exp_sym_flag='-bexport'
19767	no_entry_flag='-bnoentry'
19768      fi
19769
19770      # When large executables or shared objects are built, AIX ld can
19771      # have problems creating the table of contents.  If linking a library
19772      # or program results in "error TOC overflow" add -mminimal-toc to
19773      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
19774      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
19775
19776      archive_cmds_GCJ=''
19777      hardcode_direct_GCJ=yes
19778      hardcode_libdir_separator_GCJ=':'
19779      link_all_deplibs_GCJ=yes
19780
19781      if test "$GCC" = yes; then
19782	case $host_os in aix4.[012]|aix4.[012].*)
19783	# We only want to do this on AIX 4.2 and lower, the check
19784	# below for broken collect2 doesn't work under 4.3+
19785	  collect2name=`${CC} -print-prog-name=collect2`
19786	  if test -f "$collect2name" && \
19787  	   strings "$collect2name" | grep resolve_lib_name >/dev/null
19788	  then
19789  	  # We have reworked collect2
19790  	  :
19791	  else
19792  	  # We have old collect2
19793  	  hardcode_direct_GCJ=unsupported
19794  	  # It fails to find uninstalled libraries when the uninstalled
19795  	  # path is not listed in the libpath.  Setting hardcode_minus_L
19796  	  # to unsupported forces relinking
19797  	  hardcode_minus_L_GCJ=yes
19798  	  hardcode_libdir_flag_spec_GCJ='-L$libdir'
19799  	  hardcode_libdir_separator_GCJ=
19800	  fi
19801	  ;;
19802	esac
19803	shared_flag='-shared'
19804	if test "$aix_use_runtimelinking" = yes; then
19805	  shared_flag="$shared_flag "'${wl}-G'
19806	fi
19807      else
19808	# not using gcc
19809	if test "$host_cpu" = ia64; then
19810  	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
19811  	# chokes on -Wl,-G. The following line is correct:
19812	  shared_flag='-G'
19813	else
19814	  if test "$aix_use_runtimelinking" = yes; then
19815	    shared_flag='${wl}-G'
19816	  else
19817	    shared_flag='${wl}-bM:SRE'
19818	  fi
19819	fi
19820      fi
19821
19822      # It seems that -bexpall does not export symbols beginning with
19823      # underscore (_), so it is better to generate a list of symbols to export.
19824      always_export_symbols_GCJ=yes
19825      if test "$aix_use_runtimelinking" = yes; then
19826	# Warning - without using the other runtime loading flags (-brtl),
19827	# -berok will link without error, but may produce a broken library.
19828	allow_undefined_flag_GCJ='-berok'
19829       # Determine the default libpath from the value encoded in an empty executable.
19830       cat >conftest.$ac_ext <<_ACEOF
19831/* confdefs.h.  */
19832_ACEOF
19833cat confdefs.h >>conftest.$ac_ext
19834cat >>conftest.$ac_ext <<_ACEOF
19835/* end confdefs.h.  */
19836
19837int
19838main ()
19839{
19840
19841  ;
19842  return 0;
19843}
19844_ACEOF
19845rm -f conftest.$ac_objext conftest$ac_exeext
19846if { (ac_try="$ac_link"
19847case "(($ac_try" in
19848  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19849  *) ac_try_echo=$ac_try;;
19850esac
19851eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19852  (eval "$ac_link") 2>conftest.er1
19853  ac_status=$?
19854  grep -v '^ *+' conftest.er1 >conftest.err
19855  rm -f conftest.er1
19856  cat conftest.err >&5
19857  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19858  (exit $ac_status); } && {
19859	 test -z "$ac_c_werror_flag" ||
19860	 test ! -s conftest.err
19861       } && test -s conftest$ac_exeext &&
19862       $as_test_x conftest$ac_exeext; then
19863
19864lt_aix_libpath_sed='
19865    /Import File Strings/,/^$/ {
19866	/^0/ {
19867	    s/^0  *\(.*\)$/\1/
19868	    p
19869	}
19870    }'
19871aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
19872# Check for a 64-bit object if we didn't find anything.
19873if test -z "$aix_libpath"; then
19874  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
19875fi
19876else
19877  echo "$as_me: failed program was:" >&5
19878sed 's/^/| /' conftest.$ac_ext >&5
19879
19880
19881fi
19882
19883rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19884      conftest$ac_exeext conftest.$ac_ext
19885if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
19886
19887       hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
19888	archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
19889       else
19890	if test "$host_cpu" = ia64; then
19891	  hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
19892	  allow_undefined_flag_GCJ="-z nodefs"
19893	  archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
19894	else
19895	 # Determine the default libpath from the value encoded in an empty executable.
19896	 cat >conftest.$ac_ext <<_ACEOF
19897/* confdefs.h.  */
19898_ACEOF
19899cat confdefs.h >>conftest.$ac_ext
19900cat >>conftest.$ac_ext <<_ACEOF
19901/* end confdefs.h.  */
19902
19903int
19904main ()
19905{
19906
19907  ;
19908  return 0;
19909}
19910_ACEOF
19911rm -f conftest.$ac_objext conftest$ac_exeext
19912if { (ac_try="$ac_link"
19913case "(($ac_try" in
19914  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19915  *) ac_try_echo=$ac_try;;
19916esac
19917eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19918  (eval "$ac_link") 2>conftest.er1
19919  ac_status=$?
19920  grep -v '^ *+' conftest.er1 >conftest.err
19921  rm -f conftest.er1
19922  cat conftest.err >&5
19923  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19924  (exit $ac_status); } && {
19925	 test -z "$ac_c_werror_flag" ||
19926	 test ! -s conftest.err
19927       } && test -s conftest$ac_exeext &&
19928       $as_test_x conftest$ac_exeext; then
19929
19930lt_aix_libpath_sed='
19931    /Import File Strings/,/^$/ {
19932	/^0/ {
19933	    s/^0  *\(.*\)$/\1/
19934	    p
19935	}
19936    }'
19937aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
19938# Check for a 64-bit object if we didn't find anything.
19939if test -z "$aix_libpath"; then
19940  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
19941fi
19942else
19943  echo "$as_me: failed program was:" >&5
19944sed 's/^/| /' conftest.$ac_ext >&5
19945
19946
19947fi
19948
19949rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19950      conftest$ac_exeext conftest.$ac_ext
19951if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
19952
19953	 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
19954	  # Warning - without using the other run time loading flags,
19955	  # -berok will link without error, but may produce a broken library.
19956	  no_undefined_flag_GCJ=' ${wl}-bernotok'
19957	  allow_undefined_flag_GCJ=' ${wl}-berok'
19958	  # Exported symbols can be pulled into shared objects from archives
19959	  whole_archive_flag_spec_GCJ='$convenience'
19960	  archive_cmds_need_lc_GCJ=yes
19961	  # This is similar to how AIX traditionally builds its shared libraries.
19962	  archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
19963	fi
19964      fi
19965      ;;
19966
19967    amigaos*)
19968      archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
19969      hardcode_libdir_flag_spec_GCJ='-L$libdir'
19970      hardcode_minus_L_GCJ=yes
19971      # see comment about different semantics on the GNU ld section
19972      ld_shlibs_GCJ=no
19973      ;;
19974
19975    bsdi[45]*)
19976      export_dynamic_flag_spec_GCJ=-rdynamic
19977      ;;
19978
19979    cygwin* | mingw* | pw32*)
19980      # When not using gcc, we currently assume that we are using
19981      # Microsoft Visual C++.
19982      # hardcode_libdir_flag_spec is actually meaningless, as there is
19983      # no search path for DLLs.
19984      hardcode_libdir_flag_spec_GCJ=' '
19985      allow_undefined_flag_GCJ=unsupported
19986      # Tell ltmain to make .lib files, not .a files.
19987      libext=lib
19988      # Tell ltmain to make .dll files, not .so files.
19989      shrext_cmds=".dll"
19990      # FIXME: Setting linknames here is a bad hack.
19991      archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
19992      # The linker will automatically build a .lib file if we build a DLL.
19993      old_archive_From_new_cmds_GCJ='true'
19994      # FIXME: Should let the user specify the lib program.
19995      old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
19996      fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
19997      enable_shared_with_static_runtimes_GCJ=yes
19998      ;;
19999
20000    darwin* | rhapsody*)
20001      case $host_os in
20002        rhapsody* | darwin1.[012])
20003         allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
20004         ;;
20005       *) # Darwin 1.3 on
20006         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
20007           allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
20008         else
20009           case ${MACOSX_DEPLOYMENT_TARGET} in
20010             10.[012])
20011               allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
20012               ;;
20013             10.*)
20014               allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
20015               ;;
20016           esac
20017         fi
20018         ;;
20019      esac
20020      archive_cmds_need_lc_GCJ=no
20021      hardcode_direct_GCJ=no
20022      hardcode_automatic_GCJ=yes
20023      hardcode_shlibpath_var_GCJ=unsupported
20024      whole_archive_flag_spec_GCJ=''
20025      link_all_deplibs_GCJ=yes
20026    if test "$GCC" = yes ; then
20027    	output_verbose_link_cmd='echo'
20028        archive_cmds_GCJ="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
20029        module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
20030        archive_expsym_cmds_GCJ="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
20031        module_expsym_cmds_GCJ="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
20032    else
20033      case $cc_basename in
20034        xlc*)
20035         output_verbose_link_cmd='echo'
20036         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
20037         module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
20038          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
20039         archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
20040          module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
20041          ;;
20042       *)
20043         ld_shlibs_GCJ=no
20044          ;;
20045      esac
20046    fi
20047      ;;
20048
20049    dgux*)
20050      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20051      hardcode_libdir_flag_spec_GCJ='-L$libdir'
20052      hardcode_shlibpath_var_GCJ=no
20053      ;;
20054
20055    freebsd1*)
20056      ld_shlibs_GCJ=no
20057      ;;
20058
20059    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
20060    # support.  Future versions do this automatically, but an explicit c++rt0.o
20061    # does not break anything, and helps significantly (at the cost of a little
20062    # extra space).
20063    freebsd2.2*)
20064      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
20065      hardcode_libdir_flag_spec_GCJ='-R$libdir'
20066      hardcode_direct_GCJ=yes
20067      hardcode_shlibpath_var_GCJ=no
20068      ;;
20069
20070    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
20071    freebsd2*)
20072      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
20073      hardcode_direct_GCJ=yes
20074      hardcode_minus_L_GCJ=yes
20075      hardcode_shlibpath_var_GCJ=no
20076      ;;
20077
20078    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
20079    freebsd* | dragonfly*)
20080      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
20081      hardcode_libdir_flag_spec_GCJ='-R$libdir'
20082      hardcode_direct_GCJ=yes
20083      hardcode_shlibpath_var_GCJ=no
20084      ;;
20085
20086    hpux9*)
20087      if test "$GCC" = yes; then
20088	archive_cmds_GCJ='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
20089      else
20090	archive_cmds_GCJ='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
20091      fi
20092      hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
20093      hardcode_libdir_separator_GCJ=:
20094      hardcode_direct_GCJ=yes
20095
20096      # hardcode_minus_L: Not really in the search PATH,
20097      # but as the default location of the library.
20098      hardcode_minus_L_GCJ=yes
20099      export_dynamic_flag_spec_GCJ='${wl}-E'
20100      ;;
20101
20102    hpux10*)
20103      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
20104	archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
20105      else
20106	archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
20107      fi
20108      if test "$with_gnu_ld" = no; then
20109	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
20110	hardcode_libdir_separator_GCJ=:
20111
20112	hardcode_direct_GCJ=yes
20113	export_dynamic_flag_spec_GCJ='${wl}-E'
20114
20115	# hardcode_minus_L: Not really in the search PATH,
20116	# but as the default location of the library.
20117	hardcode_minus_L_GCJ=yes
20118      fi
20119      ;;
20120
20121    hpux11*)
20122      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
20123	case $host_cpu in
20124	hppa*64*)
20125	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
20126	  ;;
20127	ia64*)
20128	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
20129	  ;;
20130	*)
20131	  archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
20132	  ;;
20133	esac
20134      else
20135	case $host_cpu in
20136	hppa*64*)
20137	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
20138	  ;;
20139	ia64*)
20140	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
20141	  ;;
20142	*)
20143	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
20144	  ;;
20145	esac
20146      fi
20147      if test "$with_gnu_ld" = no; then
20148	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
20149	hardcode_libdir_separator_GCJ=:
20150
20151	case $host_cpu in
20152	hppa*64*|ia64*)
20153	  hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
20154	  hardcode_direct_GCJ=no
20155	  hardcode_shlibpath_var_GCJ=no
20156	  ;;
20157	*)
20158	  hardcode_direct_GCJ=yes
20159	  export_dynamic_flag_spec_GCJ='${wl}-E'
20160
20161	  # hardcode_minus_L: Not really in the search PATH,
20162	  # but as the default location of the library.
20163	  hardcode_minus_L_GCJ=yes
20164	  ;;
20165	esac
20166      fi
20167      ;;
20168
20169    irix5* | irix6* | nonstopux*)
20170      if test "$GCC" = yes; then
20171	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
20172      else
20173	archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
20174	hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
20175      fi
20176      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
20177      hardcode_libdir_separator_GCJ=:
20178      link_all_deplibs_GCJ=yes
20179      ;;
20180
20181    netbsd* | netbsdelf*-gnu)
20182      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
20183	archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
20184      else
20185	archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
20186      fi
20187      hardcode_libdir_flag_spec_GCJ='-R$libdir'
20188      hardcode_direct_GCJ=yes
20189      hardcode_shlibpath_var_GCJ=no
20190      ;;
20191
20192    newsos6)
20193      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20194      hardcode_direct_GCJ=yes
20195      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
20196      hardcode_libdir_separator_GCJ=:
20197      hardcode_shlibpath_var_GCJ=no
20198      ;;
20199
20200    openbsd*)
20201      if test -f /usr/libexec/ld.so; then
20202	hardcode_direct_GCJ=yes
20203	hardcode_shlibpath_var_GCJ=no
20204	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
20205	  archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
20206	  archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
20207	  hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
20208	  export_dynamic_flag_spec_GCJ='${wl}-E'
20209	else
20210	  case $host_os in
20211	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
20212	     archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
20213	     hardcode_libdir_flag_spec_GCJ='-R$libdir'
20214	     ;;
20215	   *)
20216	     archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
20217	     hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
20218	     ;;
20219	  esac
20220        fi
20221      else
20222	ld_shlibs_GCJ=no
20223      fi
20224      ;;
20225
20226    os2*)
20227      hardcode_libdir_flag_spec_GCJ='-L$libdir'
20228      hardcode_minus_L_GCJ=yes
20229      allow_undefined_flag_GCJ=unsupported
20230      archive_cmds_GCJ='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
20231      old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
20232      ;;
20233
20234    osf3*)
20235      if test "$GCC" = yes; then
20236	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
20237	archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
20238      else
20239	allow_undefined_flag_GCJ=' -expect_unresolved \*'
20240	archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
20241      fi
20242      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
20243      hardcode_libdir_separator_GCJ=:
20244      ;;
20245
20246    osf4* | osf5*)	# as osf3* with the addition of -msym flag
20247      if test "$GCC" = yes; then
20248	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
20249	archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
20250	hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
20251      else
20252	allow_undefined_flag_GCJ=' -expect_unresolved \*'
20253	archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
20254	archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
20255	$LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
20256
20257	# Both c and cxx compiler support -rpath directly
20258	hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
20259      fi
20260      hardcode_libdir_separator_GCJ=:
20261      ;;
20262
20263    solaris*)
20264      no_undefined_flag_GCJ=' -z text'
20265      if test "$GCC" = yes; then
20266	wlarc='${wl}'
20267	archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
20268	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
20269	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
20270      else
20271	wlarc=''
20272	archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
20273	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
20274  	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
20275      fi
20276      hardcode_libdir_flag_spec_GCJ='-R$libdir'
20277      hardcode_shlibpath_var_GCJ=no
20278      case $host_os in
20279      solaris2.[0-5] | solaris2.[0-5].*) ;;
20280      *)
20281	# The compiler driver will combine and reorder linker options,
20282	# but understands `-z linker_flag'.  GCC discards it without `$wl',
20283	# but is careful enough not to reorder.
20284 	# Supported since Solaris 2.6 (maybe 2.5.1?)
20285	if test "$GCC" = yes; then
20286	  whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
20287	else
20288	  whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
20289	fi
20290	;;
20291      esac
20292      link_all_deplibs_GCJ=yes
20293      ;;
20294
20295    sunos4*)
20296      if test "x$host_vendor" = xsequent; then
20297	# Use $CC to link under sequent, because it throws in some extra .o
20298	# files that make .init and .fini sections work.
20299	archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
20300      else
20301	archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
20302      fi
20303      hardcode_libdir_flag_spec_GCJ='-L$libdir'
20304      hardcode_direct_GCJ=yes
20305      hardcode_minus_L_GCJ=yes
20306      hardcode_shlibpath_var_GCJ=no
20307      ;;
20308
20309    sysv4)
20310      case $host_vendor in
20311	sni)
20312	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20313	  hardcode_direct_GCJ=yes # is this really true???
20314	;;
20315	siemens)
20316	  ## LD is ld it makes a PLAMLIB
20317	  ## CC just makes a GrossModule.
20318	  archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
20319	  reload_cmds_GCJ='$CC -r -o $output$reload_objs'
20320	  hardcode_direct_GCJ=no
20321        ;;
20322	motorola)
20323	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20324	  hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
20325	;;
20326      esac
20327      runpath_var='LD_RUN_PATH'
20328      hardcode_shlibpath_var_GCJ=no
20329      ;;
20330
20331    sysv4.3*)
20332      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20333      hardcode_shlibpath_var_GCJ=no
20334      export_dynamic_flag_spec_GCJ='-Bexport'
20335      ;;
20336
20337    sysv4*MP*)
20338      if test -d /usr/nec; then
20339	archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20340	hardcode_shlibpath_var_GCJ=no
20341	runpath_var=LD_RUN_PATH
20342	hardcode_runpath_var=yes
20343	ld_shlibs_GCJ=yes
20344      fi
20345      ;;
20346
20347    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
20348      no_undefined_flag_GCJ='${wl}-z,text'
20349      archive_cmds_need_lc_GCJ=no
20350      hardcode_shlibpath_var_GCJ=no
20351      runpath_var='LD_RUN_PATH'
20352
20353      if test "$GCC" = yes; then
20354	archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
20355	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
20356      else
20357	archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
20358	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
20359      fi
20360      ;;
20361
20362    sysv5* | sco3.2v5* | sco5v6*)
20363      # Note: We can NOT use -z defs as we might desire, because we do not
20364      # link with -lc, and that would cause any symbols used from libc to
20365      # always be unresolved, which means just about no library would
20366      # ever link correctly.  If we're not using GNU ld we use -z text
20367      # though, which does catch some bad symbols but isn't as heavy-handed
20368      # as -z defs.
20369      no_undefined_flag_GCJ='${wl}-z,text'
20370      allow_undefined_flag_GCJ='${wl}-z,nodefs'
20371      archive_cmds_need_lc_GCJ=no
20372      hardcode_shlibpath_var_GCJ=no
20373      hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
20374      hardcode_libdir_separator_GCJ=':'
20375      link_all_deplibs_GCJ=yes
20376      export_dynamic_flag_spec_GCJ='${wl}-Bexport'
20377      runpath_var='LD_RUN_PATH'
20378
20379      if test "$GCC" = yes; then
20380	archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
20381	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
20382      else
20383	archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
20384	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
20385      fi
20386      ;;
20387
20388    uts4*)
20389      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20390      hardcode_libdir_flag_spec_GCJ='-L$libdir'
20391      hardcode_shlibpath_var_GCJ=no
20392      ;;
20393
20394    *)
20395      ld_shlibs_GCJ=no
20396      ;;
20397    esac
20398  fi
20399
20400{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
20401echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
20402test "$ld_shlibs_GCJ" = no && can_build_shared=no
20403
20404#
20405# Do we need to explicitly link libc?
20406#
20407case "x$archive_cmds_need_lc_GCJ" in
20408x|xyes)
20409  # Assume -lc should be added
20410  archive_cmds_need_lc_GCJ=yes
20411
20412  if test "$enable_shared" = yes && test "$GCC" = yes; then
20413    case $archive_cmds_GCJ in
20414    *'~'*)
20415      # FIXME: we may have to deal with multi-command sequences.
20416      ;;
20417    '$CC '*)
20418      # Test whether the compiler implicitly links with -lc since on some
20419      # systems, -lgcc has to come before -lc. If gcc already passes -lc
20420      # to ld, don't add -lc before -lgcc.
20421      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
20422echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
20423      $rm conftest*
20424      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
20425
20426      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20427  (eval $ac_compile) 2>&5
20428  ac_status=$?
20429  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20430  (exit $ac_status); } 2>conftest.err; then
20431        soname=conftest
20432        lib=conftest
20433        libobjs=conftest.$ac_objext
20434        deplibs=
20435        wl=$lt_prog_compiler_wl_GCJ
20436	pic_flag=$lt_prog_compiler_pic_GCJ
20437        compiler_flags=-v
20438        linker_flags=-v
20439        verstring=
20440        output_objdir=.
20441        libname=conftest
20442        lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
20443        allow_undefined_flag_GCJ=
20444        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
20445  (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
20446  ac_status=$?
20447  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20448  (exit $ac_status); }
20449        then
20450	  archive_cmds_need_lc_GCJ=no
20451        else
20452	  archive_cmds_need_lc_GCJ=yes
20453        fi
20454        allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
20455      else
20456        cat conftest.err 1>&5
20457      fi
20458      $rm conftest*
20459      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
20460echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
20461      ;;
20462    esac
20463  fi
20464  ;;
20465esac
20466
20467{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
20468echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
20469library_names_spec=
20470libname_spec='lib$name'
20471soname_spec=
20472shrext_cmds=".so"
20473postinstall_cmds=
20474postuninstall_cmds=
20475finish_cmds=
20476finish_eval=
20477shlibpath_var=
20478shlibpath_overrides_runpath=unknown
20479version_type=none
20480dynamic_linker="$host_os ld.so"
20481sys_lib_dlsearch_path_spec="/lib /usr/lib"
20482
20483need_lib_prefix=unknown
20484hardcode_into_libs=no
20485
20486# when you set need_version to no, make sure it does not cause -set_version
20487# flags to be left without arguments
20488need_version=unknown
20489
20490case $host_os in
20491aix3*)
20492  version_type=linux
20493  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
20494  shlibpath_var=LIBPATH
20495
20496  # AIX 3 has no versioning support, so we append a major version to the name.
20497  soname_spec='${libname}${release}${shared_ext}$major'
20498  ;;
20499
20500aix[4-9]*)
20501  version_type=linux
20502  need_lib_prefix=no
20503  need_version=no
20504  hardcode_into_libs=yes
20505  if test "$host_cpu" = ia64; then
20506    # AIX 5 supports IA64
20507    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
20508    shlibpath_var=LD_LIBRARY_PATH
20509  else
20510    # With GCC up to 2.95.x, collect2 would create an import file
20511    # for dependence libraries.  The import file would start with
20512    # the line `#! .'.  This would cause the generated library to
20513    # depend on `.', always an invalid library.  This was fixed in
20514    # development snapshots of GCC prior to 3.0.
20515    case $host_os in
20516      aix4 | aix4.[01] | aix4.[01].*)
20517      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
20518	   echo ' yes '
20519	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
20520	:
20521      else
20522	can_build_shared=no
20523      fi
20524      ;;
20525    esac
20526    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
20527    # soname into executable. Probably we can add versioning support to
20528    # collect2, so additional links can be useful in future.
20529    if test "$aix_use_runtimelinking" = yes; then
20530      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
20531      # instead of lib<name>.a to let people know that these are not
20532      # typical AIX shared libraries.
20533      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20534    else
20535      # We preserve .a as extension for shared libraries through AIX4.2
20536      # and later when we are not doing run time linking.
20537      library_names_spec='${libname}${release}.a $libname.a'
20538      soname_spec='${libname}${release}${shared_ext}$major'
20539    fi
20540    shlibpath_var=LIBPATH
20541  fi
20542  ;;
20543
20544amigaos*)
20545  library_names_spec='$libname.ixlibrary $libname.a'
20546  # Create ${libname}_ixlibrary.a entries in /sys/libs.
20547  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
20548  ;;
20549
20550beos*)
20551  library_names_spec='${libname}${shared_ext}'
20552  dynamic_linker="$host_os ld.so"
20553  shlibpath_var=LIBRARY_PATH
20554  ;;
20555
20556bsdi[45]*)
20557  version_type=linux
20558  need_version=no
20559  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20560  soname_spec='${libname}${release}${shared_ext}$major'
20561  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
20562  shlibpath_var=LD_LIBRARY_PATH
20563  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
20564  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
20565  # the default ld.so.conf also contains /usr/contrib/lib and
20566  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
20567  # libtool to hard-code these into programs
20568  ;;
20569
20570cygwin* | mingw* | pw32*)
20571  version_type=windows
20572  shrext_cmds=".dll"
20573  need_version=no
20574  need_lib_prefix=no
20575
20576  case $GCC,$host_os in
20577  yes,cygwin* | yes,mingw* | yes,pw32*)
20578    library_names_spec='$libname.dll.a'
20579    # DLL is installed to $(libdir)/../bin by postinstall_cmds
20580    postinstall_cmds='base_file=`basename \${file}`~
20581      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
20582      dldir=$destdir/`dirname \$dlpath`~
20583      test -d \$dldir || mkdir -p \$dldir~
20584      $install_prog $dir/$dlname \$dldir/$dlname~
20585      chmod a+x \$dldir/$dlname'
20586    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
20587      dlpath=$dir/\$dldll~
20588       $rm \$dlpath'
20589    shlibpath_overrides_runpath=yes
20590
20591    case $host_os in
20592    cygwin*)
20593      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
20594      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20595      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
20596      ;;
20597    mingw*)
20598      # MinGW DLLs use traditional 'lib' prefix
20599      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20600      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
20601      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
20602        # It is most probably a Windows format PATH printed by
20603        # mingw gcc, but we are running on Cygwin. Gcc prints its search
20604        # path with ; separators, and with drive letters. We can handle the
20605        # drive letters (cygwin fileutils understands them), so leave them,
20606        # especially as we might pass files found there to a mingw objdump,
20607        # which wouldn't understand a cygwinified path. Ahh.
20608        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
20609      else
20610        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
20611      fi
20612      ;;
20613    pw32*)
20614      # pw32 DLLs use 'pw' prefix rather than 'lib'
20615      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20616      ;;
20617    esac
20618    ;;
20619
20620  *)
20621    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
20622    ;;
20623  esac
20624  dynamic_linker='Win32 ld.exe'
20625  # FIXME: first we should search . and the directory the executable is in
20626  shlibpath_var=PATH
20627  ;;
20628
20629darwin* | rhapsody*)
20630  dynamic_linker="$host_os dyld"
20631  version_type=darwin
20632  need_lib_prefix=no
20633  need_version=no
20634  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
20635  soname_spec='${libname}${release}${major}$shared_ext'
20636  shlibpath_overrides_runpath=yes
20637  shlibpath_var=DYLD_LIBRARY_PATH
20638  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
20639
20640  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
20641  ;;
20642
20643dgux*)
20644  version_type=linux
20645  need_lib_prefix=no
20646  need_version=no
20647  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
20648  soname_spec='${libname}${release}${shared_ext}$major'
20649  shlibpath_var=LD_LIBRARY_PATH
20650  ;;
20651
20652freebsd1*)
20653  dynamic_linker=no
20654  ;;
20655
20656freebsd* | dragonfly*)
20657  # DragonFly does not have aout.  When/if they implement a new
20658  # versioning mechanism, adjust this.
20659  if test -x /usr/bin/objformat; then
20660    objformat=`/usr/bin/objformat`
20661  else
20662    case $host_os in
20663    freebsd[123]*) objformat=aout ;;
20664    *) objformat=elf ;;
20665    esac
20666  fi
20667  version_type=freebsd-$objformat
20668  case $version_type in
20669    freebsd-elf*)
20670      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20671      need_version=no
20672      need_lib_prefix=no
20673      ;;
20674    freebsd-*)
20675      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
20676      need_version=yes
20677      ;;
20678  esac
20679  shlibpath_var=LD_LIBRARY_PATH
20680  case $host_os in
20681  freebsd2*)
20682    shlibpath_overrides_runpath=yes
20683    ;;
20684  freebsd3.[01]* | freebsdelf3.[01]*)
20685    shlibpath_overrides_runpath=yes
20686    hardcode_into_libs=yes
20687    ;;
20688  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
20689  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
20690    shlibpath_overrides_runpath=no
20691    hardcode_into_libs=yes
20692    ;;
20693  *) # from 4.6 on, and DragonFly
20694    shlibpath_overrides_runpath=yes
20695    hardcode_into_libs=yes
20696    ;;
20697  esac
20698  ;;
20699
20700gnu*)
20701  version_type=linux
20702  need_lib_prefix=no
20703  need_version=no
20704  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
20705  soname_spec='${libname}${release}${shared_ext}$major'
20706  shlibpath_var=LD_LIBRARY_PATH
20707  hardcode_into_libs=yes
20708  ;;
20709
20710hpux9* | hpux10* | hpux11*)
20711  # Give a soname corresponding to the major version so that dld.sl refuses to
20712  # link against other versions.
20713  version_type=sunos
20714  need_lib_prefix=no
20715  need_version=no
20716  case $host_cpu in
20717  ia64*)
20718    shrext_cmds='.so'
20719    hardcode_into_libs=yes
20720    dynamic_linker="$host_os dld.so"
20721    shlibpath_var=LD_LIBRARY_PATH
20722    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
20723    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20724    soname_spec='${libname}${release}${shared_ext}$major'
20725    if test "X$HPUX_IA64_MODE" = X32; then
20726      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
20727    else
20728      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
20729    fi
20730    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
20731    ;;
20732   hppa*64*)
20733     shrext_cmds='.sl'
20734     hardcode_into_libs=yes
20735     dynamic_linker="$host_os dld.sl"
20736     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
20737     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
20738     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20739     soname_spec='${libname}${release}${shared_ext}$major'
20740     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
20741     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
20742     ;;
20743   *)
20744    shrext_cmds='.sl'
20745    dynamic_linker="$host_os dld.sl"
20746    shlibpath_var=SHLIB_PATH
20747    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
20748    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20749    soname_spec='${libname}${release}${shared_ext}$major'
20750    ;;
20751  esac
20752  # HP-UX runs *really* slowly unless shared libraries are mode 555.
20753  postinstall_cmds='chmod 555 $lib'
20754  ;;
20755
20756interix[3-9]*)
20757  version_type=linux
20758  need_lib_prefix=no
20759  need_version=no
20760  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20761  soname_spec='${libname}${release}${shared_ext}$major'
20762  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
20763  shlibpath_var=LD_LIBRARY_PATH
20764  shlibpath_overrides_runpath=no
20765  hardcode_into_libs=yes
20766  ;;
20767
20768irix5* | irix6* | nonstopux*)
20769  case $host_os in
20770    nonstopux*) version_type=nonstopux ;;
20771    *)
20772	if test "$lt_cv_prog_gnu_ld" = yes; then
20773		version_type=linux
20774	else
20775		version_type=irix
20776	fi ;;
20777  esac
20778  need_lib_prefix=no
20779  need_version=no
20780  soname_spec='${libname}${release}${shared_ext}$major'
20781  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
20782  case $host_os in
20783  irix5* | nonstopux*)
20784    libsuff= shlibsuff=
20785    ;;
20786  *)
20787    case $LD in # libtool.m4 will add one of these switches to LD
20788    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
20789      libsuff= shlibsuff= libmagic=32-bit;;
20790    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
20791      libsuff=32 shlibsuff=N32 libmagic=N32;;
20792    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
20793      libsuff=64 shlibsuff=64 libmagic=64-bit;;
20794    *) libsuff= shlibsuff= libmagic=never-match;;
20795    esac
20796    ;;
20797  esac
20798  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
20799  shlibpath_overrides_runpath=no
20800  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
20801  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
20802  hardcode_into_libs=yes
20803  ;;
20804
20805# No shared lib support for Linux oldld, aout, or coff.
20806linux*oldld* | linux*aout* | linux*coff*)
20807  dynamic_linker=no
20808  ;;
20809
20810# This must be Linux ELF.
20811linux* | k*bsd*-gnu)
20812  version_type=linux
20813  need_lib_prefix=no
20814  need_version=no
20815  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20816  soname_spec='${libname}${release}${shared_ext}$major'
20817  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
20818  shlibpath_var=LD_LIBRARY_PATH
20819  shlibpath_overrides_runpath=no
20820  # This implies no fast_install, which is unacceptable.
20821  # Some rework will be needed to allow for fast_install
20822  # before this can be enabled.
20823  hardcode_into_libs=yes
20824
20825  # Append ld.so.conf contents to the search path
20826  if test -f /etc/ld.so.conf; then
20827    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ 	]*hwcap[ 	]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
20828    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
20829  fi
20830
20831  # We used to test for /lib/ld.so.1 and disable shared libraries on
20832  # powerpc, because MkLinux only supported shared libraries with the
20833  # GNU dynamic linker.  Since this was broken with cross compilers,
20834  # most powerpc-linux boxes support dynamic linking these days and
20835  # people can always --disable-shared, the test was removed, and we
20836  # assume the GNU/Linux dynamic linker is in use.
20837  dynamic_linker='GNU/Linux ld.so'
20838  ;;
20839
20840netbsdelf*-gnu)
20841  version_type=linux
20842  need_lib_prefix=no
20843  need_version=no
20844  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20845  soname_spec='${libname}${release}${shared_ext}$major'
20846  shlibpath_var=LD_LIBRARY_PATH
20847  shlibpath_overrides_runpath=no
20848  hardcode_into_libs=yes
20849  dynamic_linker='NetBSD ld.elf_so'
20850  ;;
20851
20852netbsd*)
20853  version_type=sunos
20854  need_lib_prefix=no
20855  need_version=no
20856  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
20857    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20858    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20859    dynamic_linker='NetBSD (a.out) ld.so'
20860  else
20861    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20862    soname_spec='${libname}${release}${shared_ext}$major'
20863    dynamic_linker='NetBSD ld.elf_so'
20864  fi
20865  shlibpath_var=LD_LIBRARY_PATH
20866  shlibpath_overrides_runpath=yes
20867  hardcode_into_libs=yes
20868  ;;
20869
20870newsos6)
20871  version_type=linux
20872  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20873  shlibpath_var=LD_LIBRARY_PATH
20874  shlibpath_overrides_runpath=yes
20875  ;;
20876
20877nto-qnx*)
20878  version_type=linux
20879  need_lib_prefix=no
20880  need_version=no
20881  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20882  soname_spec='${libname}${release}${shared_ext}$major'
20883  shlibpath_var=LD_LIBRARY_PATH
20884  shlibpath_overrides_runpath=yes
20885  ;;
20886
20887openbsd*)
20888  version_type=sunos
20889  sys_lib_dlsearch_path_spec="/usr/lib"
20890  need_lib_prefix=no
20891  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
20892  case $host_os in
20893    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
20894    *)                         need_version=no  ;;
20895  esac
20896  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20897  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20898  shlibpath_var=LD_LIBRARY_PATH
20899  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
20900    case $host_os in
20901      openbsd2.[89] | openbsd2.[89].*)
20902	shlibpath_overrides_runpath=no
20903	;;
20904      *)
20905	shlibpath_overrides_runpath=yes
20906	;;
20907      esac
20908  else
20909    shlibpath_overrides_runpath=yes
20910  fi
20911  ;;
20912
20913os2*)
20914  libname_spec='$name'
20915  shrext_cmds=".dll"
20916  need_lib_prefix=no
20917  library_names_spec='$libname${shared_ext} $libname.a'
20918  dynamic_linker='OS/2 ld.exe'
20919  shlibpath_var=LIBPATH
20920  ;;
20921
20922osf3* | osf4* | osf5*)
20923  version_type=osf
20924  need_lib_prefix=no
20925  need_version=no
20926  soname_spec='${libname}${release}${shared_ext}$major'
20927  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20928  shlibpath_var=LD_LIBRARY_PATH
20929  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
20930  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
20931  ;;
20932
20933rdos*)
20934  dynamic_linker=no
20935  ;;
20936
20937solaris*)
20938  version_type=linux
20939  need_lib_prefix=no
20940  need_version=no
20941  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20942  soname_spec='${libname}${release}${shared_ext}$major'
20943  shlibpath_var=LD_LIBRARY_PATH
20944  shlibpath_overrides_runpath=yes
20945  hardcode_into_libs=yes
20946  # ldd complains unless libraries are executable
20947  postinstall_cmds='chmod +x $lib'
20948  ;;
20949
20950sunos4*)
20951  version_type=sunos
20952  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20953  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
20954  shlibpath_var=LD_LIBRARY_PATH
20955  shlibpath_overrides_runpath=yes
20956  if test "$with_gnu_ld" = yes; then
20957    need_lib_prefix=no
20958  fi
20959  need_version=yes
20960  ;;
20961
20962sysv4 | sysv4.3*)
20963  version_type=linux
20964  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20965  soname_spec='${libname}${release}${shared_ext}$major'
20966  shlibpath_var=LD_LIBRARY_PATH
20967  case $host_vendor in
20968    sni)
20969      shlibpath_overrides_runpath=no
20970      need_lib_prefix=no
20971      export_dynamic_flag_spec='${wl}-Blargedynsym'
20972      runpath_var=LD_RUN_PATH
20973      ;;
20974    siemens)
20975      need_lib_prefix=no
20976      ;;
20977    motorola)
20978      need_lib_prefix=no
20979      need_version=no
20980      shlibpath_overrides_runpath=no
20981      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
20982      ;;
20983  esac
20984  ;;
20985
20986sysv4*MP*)
20987  if test -d /usr/nec ;then
20988    version_type=linux
20989    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
20990    soname_spec='$libname${shared_ext}.$major'
20991    shlibpath_var=LD_LIBRARY_PATH
20992  fi
20993  ;;
20994
20995sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
20996  version_type=freebsd-elf
20997  need_lib_prefix=no
20998  need_version=no
20999  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
21000  soname_spec='${libname}${release}${shared_ext}$major'
21001  shlibpath_var=LD_LIBRARY_PATH
21002  hardcode_into_libs=yes
21003  if test "$with_gnu_ld" = yes; then
21004    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
21005    shlibpath_overrides_runpath=no
21006  else
21007    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
21008    shlibpath_overrides_runpath=yes
21009    case $host_os in
21010      sco3.2v5*)
21011        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
21012	;;
21013    esac
21014  fi
21015  sys_lib_dlsearch_path_spec='/usr/lib'
21016  ;;
21017
21018uts4*)
21019  version_type=linux
21020  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21021  soname_spec='${libname}${release}${shared_ext}$major'
21022  shlibpath_var=LD_LIBRARY_PATH
21023  ;;
21024
21025*)
21026  dynamic_linker=no
21027  ;;
21028esac
21029{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
21030echo "${ECHO_T}$dynamic_linker" >&6; }
21031test "$dynamic_linker" = no && can_build_shared=no
21032
21033if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
21034  echo $ECHO_N "(cached) $ECHO_C" >&6
21035else
21036  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
21037fi
21038
21039sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
21040if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
21041  echo $ECHO_N "(cached) $ECHO_C" >&6
21042else
21043  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
21044fi
21045
21046sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
21047
21048variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
21049if test "$GCC" = yes; then
21050  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
21051fi
21052
21053{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
21054echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
21055hardcode_action_GCJ=
21056if test -n "$hardcode_libdir_flag_spec_GCJ" || \
21057   test -n "$runpath_var_GCJ" || \
21058   test "X$hardcode_automatic_GCJ" = "Xyes" ; then
21059
21060  # We can hardcode non-existant directories.
21061  if test "$hardcode_direct_GCJ" != no &&
21062     # If the only mechanism to avoid hardcoding is shlibpath_var, we
21063     # have to relink, otherwise we might link with an installed library
21064     # when we should be linking with a yet-to-be-installed one
21065     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
21066     test "$hardcode_minus_L_GCJ" != no; then
21067    # Linking always hardcodes the temporary library directory.
21068    hardcode_action_GCJ=relink
21069  else
21070    # We can link without hardcoding, and we can hardcode nonexisting dirs.
21071    hardcode_action_GCJ=immediate
21072  fi
21073else
21074  # We cannot hardcode anything, or else we can only hardcode existing
21075  # directories.
21076  hardcode_action_GCJ=unsupported
21077fi
21078{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
21079echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
21080
21081if test "$hardcode_action_GCJ" = relink; then
21082  # Fast installation is not supported
21083  enable_fast_install=no
21084elif test "$shlibpath_overrides_runpath" = yes ||
21085     test "$enable_shared" = no; then
21086  # Fast installation is not necessary
21087  enable_fast_install=needless
21088fi
21089
21090
21091# The else clause should only fire when bootstrapping the
21092# libtool distribution, otherwise you forgot to ship ltmain.sh
21093# with your package, and you will get complaints that there are
21094# no rules to generate ltmain.sh.
21095if test -f "$ltmain"; then
21096  # See if we are running on zsh, and set the options which allow our commands through
21097  # without removal of \ escapes.
21098  if test -n "${ZSH_VERSION+set}" ; then
21099    setopt NO_GLOB_SUBST
21100  fi
21101  # Now quote all the things that may contain metacharacters while being
21102  # careful not to overquote the AC_SUBSTed values.  We take copies of the
21103  # variables and quote the copies for generation of the libtool script.
21104  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
21105    SED SHELL STRIP \
21106    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
21107    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
21108    deplibs_check_method reload_flag reload_cmds need_locks \
21109    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
21110    lt_cv_sys_global_symbol_to_c_name_address \
21111    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
21112    old_postinstall_cmds old_postuninstall_cmds \
21113    compiler_GCJ \
21114    CC_GCJ \
21115    LD_GCJ \
21116    lt_prog_compiler_wl_GCJ \
21117    lt_prog_compiler_pic_GCJ \
21118    lt_prog_compiler_static_GCJ \
21119    lt_prog_compiler_no_builtin_flag_GCJ \
21120    export_dynamic_flag_spec_GCJ \
21121    thread_safe_flag_spec_GCJ \
21122    whole_archive_flag_spec_GCJ \
21123    enable_shared_with_static_runtimes_GCJ \
21124    old_archive_cmds_GCJ \
21125    old_archive_from_new_cmds_GCJ \
21126    predep_objects_GCJ \
21127    postdep_objects_GCJ \
21128    predeps_GCJ \
21129    postdeps_GCJ \
21130    compiler_lib_search_path_GCJ \
21131    compiler_lib_search_dirs_GCJ \
21132    archive_cmds_GCJ \
21133    archive_expsym_cmds_GCJ \
21134    postinstall_cmds_GCJ \
21135    postuninstall_cmds_GCJ \
21136    old_archive_from_expsyms_cmds_GCJ \
21137    allow_undefined_flag_GCJ \
21138    no_undefined_flag_GCJ \
21139    export_symbols_cmds_GCJ \
21140    hardcode_libdir_flag_spec_GCJ \
21141    hardcode_libdir_flag_spec_ld_GCJ \
21142    hardcode_libdir_separator_GCJ \
21143    hardcode_automatic_GCJ \
21144    module_cmds_GCJ \
21145    module_expsym_cmds_GCJ \
21146    lt_cv_prog_compiler_c_o_GCJ \
21147    fix_srcfile_path_GCJ \
21148    exclude_expsyms_GCJ \
21149    include_expsyms_GCJ; do
21150
21151    case $var in
21152    old_archive_cmds_GCJ | \
21153    old_archive_from_new_cmds_GCJ | \
21154    archive_cmds_GCJ | \
21155    archive_expsym_cmds_GCJ | \
21156    module_cmds_GCJ | \
21157    module_expsym_cmds_GCJ | \
21158    old_archive_from_expsyms_cmds_GCJ | \
21159    export_symbols_cmds_GCJ | \
21160    extract_expsyms_cmds | reload_cmds | finish_cmds | \
21161    postinstall_cmds | postuninstall_cmds | \
21162    old_postinstall_cmds | old_postuninstall_cmds | \
21163    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
21164      # Double-quote double-evaled strings.
21165      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
21166      ;;
21167    *)
21168      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
21169      ;;
21170    esac
21171  done
21172
21173  case $lt_echo in
21174  *'\$0 --fallback-echo"')
21175    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
21176    ;;
21177  esac
21178
21179cfgfile="$ofile"
21180
21181  cat <<__EOF__ >> "$cfgfile"
21182# ### BEGIN LIBTOOL TAG CONFIG: $tagname
21183
21184# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21185
21186# Shell to use when invoking shell scripts.
21187SHELL=$lt_SHELL
21188
21189# Whether or not to build shared libraries.
21190build_libtool_libs=$enable_shared
21191
21192# Whether or not to build static libraries.
21193build_old_libs=$enable_static
21194
21195# Whether or not to add -lc for building shared libraries.
21196build_libtool_need_lc=$archive_cmds_need_lc_GCJ
21197
21198# Whether or not to disallow shared libs when runtime libs are static
21199allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
21200
21201# Whether or not to optimize for fast installation.
21202fast_install=$enable_fast_install
21203
21204# The host system.
21205host_alias=$host_alias
21206host=$host
21207host_os=$host_os
21208
21209# The build system.
21210build_alias=$build_alias
21211build=$build
21212build_os=$build_os
21213
21214# An echo program that does not interpret backslashes.
21215echo=$lt_echo
21216
21217# The archiver.
21218AR=$lt_AR
21219AR_FLAGS=$lt_AR_FLAGS
21220
21221# A C compiler.
21222LTCC=$lt_LTCC
21223
21224# LTCC compiler flags.
21225LTCFLAGS=$lt_LTCFLAGS
21226
21227# A language-specific compiler.
21228CC=$lt_compiler_GCJ
21229
21230# Is the compiler the GNU C compiler?
21231with_gcc=$GCC_GCJ
21232
21233# An ERE matcher.
21234EGREP=$lt_EGREP
21235
21236# The linker used to build libraries.
21237LD=$lt_LD_GCJ
21238
21239# Whether we need hard or soft links.
21240LN_S=$lt_LN_S
21241
21242# A BSD-compatible nm program.
21243NM=$lt_NM
21244
21245# A symbol stripping program
21246STRIP=$lt_STRIP
21247
21248# Used to examine libraries when file_magic_cmd begins "file"
21249MAGIC_CMD=$MAGIC_CMD
21250
21251# Used on cygwin: DLL creation program.
21252DLLTOOL="$DLLTOOL"
21253
21254# Used on cygwin: object dumper.
21255OBJDUMP="$OBJDUMP"
21256
21257# Used on cygwin: assembler.
21258AS="$AS"
21259
21260# The name of the directory that contains temporary libtool files.
21261objdir=$objdir
21262
21263# How to create reloadable object files.
21264reload_flag=$lt_reload_flag
21265reload_cmds=$lt_reload_cmds
21266
21267# How to pass a linker flag through the compiler.
21268wl=$lt_lt_prog_compiler_wl_GCJ
21269
21270# Object file suffix (normally "o").
21271objext="$ac_objext"
21272
21273# Old archive suffix (normally "a").
21274libext="$libext"
21275
21276# Shared library suffix (normally ".so").
21277shrext_cmds='$shrext_cmds'
21278
21279# Executable file suffix (normally "").
21280exeext="$exeext"
21281
21282# Additional compiler flags for building library objects.
21283pic_flag=$lt_lt_prog_compiler_pic_GCJ
21284pic_mode=$pic_mode
21285
21286# What is the maximum length of a command?
21287max_cmd_len=$lt_cv_sys_max_cmd_len
21288
21289# Does compiler simultaneously support -c and -o options?
21290compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
21291
21292# Must we lock files when doing compilation?
21293need_locks=$lt_need_locks
21294
21295# Do we need the lib prefix for modules?
21296need_lib_prefix=$need_lib_prefix
21297
21298# Do we need a version for libraries?
21299need_version=$need_version
21300
21301# Whether dlopen is supported.
21302dlopen_support=$enable_dlopen
21303
21304# Whether dlopen of programs is supported.
21305dlopen_self=$enable_dlopen_self
21306
21307# Whether dlopen of statically linked programs is supported.
21308dlopen_self_static=$enable_dlopen_self_static
21309
21310# Compiler flag to prevent dynamic linking.
21311link_static_flag=$lt_lt_prog_compiler_static_GCJ
21312
21313# Compiler flag to turn off builtin functions.
21314no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
21315
21316# Compiler flag to allow reflexive dlopens.
21317export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
21318
21319# Compiler flag to generate shared objects directly from archives.
21320whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
21321
21322# Compiler flag to generate thread-safe objects.
21323thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
21324
21325# Library versioning type.
21326version_type=$version_type
21327
21328# Format of library name prefix.
21329libname_spec=$lt_libname_spec
21330
21331# List of archive names.  First name is the real one, the rest are links.
21332# The last name is the one that the linker finds with -lNAME.
21333library_names_spec=$lt_library_names_spec
21334
21335# The coded name of the library, if different from the real name.
21336soname_spec=$lt_soname_spec
21337
21338# Commands used to build and install an old-style archive.
21339RANLIB=$lt_RANLIB
21340old_archive_cmds=$lt_old_archive_cmds_GCJ
21341old_postinstall_cmds=$lt_old_postinstall_cmds
21342old_postuninstall_cmds=$lt_old_postuninstall_cmds
21343
21344# Create an old-style archive from a shared archive.
21345old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
21346
21347# Create a temporary old-style archive to link instead of a shared archive.
21348old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
21349
21350# Commands used to build and install a shared archive.
21351archive_cmds=$lt_archive_cmds_GCJ
21352archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
21353postinstall_cmds=$lt_postinstall_cmds
21354postuninstall_cmds=$lt_postuninstall_cmds
21355
21356# Commands used to build a loadable module (assumed same as above if empty)
21357module_cmds=$lt_module_cmds_GCJ
21358module_expsym_cmds=$lt_module_expsym_cmds_GCJ
21359
21360# Commands to strip libraries.
21361old_striplib=$lt_old_striplib
21362striplib=$lt_striplib
21363
21364# Dependencies to place before the objects being linked to create a
21365# shared library.
21366predep_objects=$lt_predep_objects_GCJ
21367
21368# Dependencies to place after the objects being linked to create a
21369# shared library.
21370postdep_objects=$lt_postdep_objects_GCJ
21371
21372# Dependencies to place before the objects being linked to create a
21373# shared library.
21374predeps=$lt_predeps_GCJ
21375
21376# Dependencies to place after the objects being linked to create a
21377# shared library.
21378postdeps=$lt_postdeps_GCJ
21379
21380# The directories searched by this compiler when creating a shared
21381# library
21382compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
21383
21384# The library search path used internally by the compiler when linking
21385# a shared library.
21386compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
21387
21388# Method to check whether dependent libraries are shared objects.
21389deplibs_check_method=$lt_deplibs_check_method
21390
21391# Command to use when deplibs_check_method == file_magic.
21392file_magic_cmd=$lt_file_magic_cmd
21393
21394# Flag that allows shared libraries with undefined symbols to be built.
21395allow_undefined_flag=$lt_allow_undefined_flag_GCJ
21396
21397# Flag that forces no undefined symbols.
21398no_undefined_flag=$lt_no_undefined_flag_GCJ
21399
21400# Commands used to finish a libtool library installation in a directory.
21401finish_cmds=$lt_finish_cmds
21402
21403# Same as above, but a single script fragment to be evaled but not shown.
21404finish_eval=$lt_finish_eval
21405
21406# Take the output of nm and produce a listing of raw symbols and C names.
21407global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21408
21409# Transform the output of nm in a proper C declaration
21410global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21411
21412# Transform the output of nm in a C name address pair
21413global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21414
21415# This is the shared library runtime path variable.
21416runpath_var=$runpath_var
21417
21418# This is the shared library path variable.
21419shlibpath_var=$shlibpath_var
21420
21421# Is shlibpath searched before the hard-coded library search path?
21422shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21423
21424# How to hardcode a shared library path into an executable.
21425hardcode_action=$hardcode_action_GCJ
21426
21427# Whether we should hardcode library paths into libraries.
21428hardcode_into_libs=$hardcode_into_libs
21429
21430# Flag to hardcode \$libdir into a binary during linking.
21431# This must work even if \$libdir does not exist.
21432hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
21433
21434# If ld is used when linking, flag to hardcode \$libdir into
21435# a binary during linking. This must work even if \$libdir does
21436# not exist.
21437hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
21438
21439# Whether we need a single -rpath flag with a separated argument.
21440hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
21441
21442# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
21443# resulting binary.
21444hardcode_direct=$hardcode_direct_GCJ
21445
21446# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
21447# resulting binary.
21448hardcode_minus_L=$hardcode_minus_L_GCJ
21449
21450# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
21451# the resulting binary.
21452hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
21453
21454# Set to yes if building a shared library automatically hardcodes DIR into the library
21455# and all subsequent libraries and executables linked against it.
21456hardcode_automatic=$hardcode_automatic_GCJ
21457
21458# Variables whose values should be saved in libtool wrapper scripts and
21459# restored at relink time.
21460variables_saved_for_relink="$variables_saved_for_relink"
21461
21462# Whether libtool must link a program against all its dependency libraries.
21463link_all_deplibs=$link_all_deplibs_GCJ
21464
21465# Compile-time system search path for libraries
21466sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21467
21468# Run-time system search path for libraries
21469sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21470
21471# Fix the shell variable \$srcfile for the compiler.
21472fix_srcfile_path=$lt_fix_srcfile_path
21473
21474# Set to yes if exported symbols are required.
21475always_export_symbols=$always_export_symbols_GCJ
21476
21477# The commands to list exported symbols.
21478export_symbols_cmds=$lt_export_symbols_cmds_GCJ
21479
21480# The commands to extract the exported symbol list from a shared archive.
21481extract_expsyms_cmds=$lt_extract_expsyms_cmds
21482
21483# Symbols that should not be listed in the preloaded symbols.
21484exclude_expsyms=$lt_exclude_expsyms_GCJ
21485
21486# Symbols that must always be exported.
21487include_expsyms=$lt_include_expsyms_GCJ
21488
21489# ### END LIBTOOL TAG CONFIG: $tagname
21490
21491__EOF__
21492
21493
21494else
21495  # If there is no Makefile yet, we rely on a make rule to execute
21496  # `config.status --recheck' to rerun these tests and create the
21497  # libtool script then.
21498  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
21499  if test -f "$ltmain_in"; then
21500    test -f Makefile && make "$ltmain"
21501  fi
21502fi
21503
21504
21505ac_ext=c
21506ac_cpp='$CPP $CPPFLAGS'
21507ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21508ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21509ac_compiler_gnu=$ac_cv_c_compiler_gnu
21510
21511CC="$lt_save_CC"
21512
21513	else
21514	  tagname=""
21515	fi
21516	;;
21517
21518      RC)
21519
21520
21521# Source file extension for RC test sources.
21522ac_ext=rc
21523
21524# Object file extension for compiled RC test sources.
21525objext=o
21526objext_RC=$objext
21527
21528# Code to be used in simple compile tests
21529lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
21530
21531# Code to be used in simple link tests
21532lt_simple_link_test_code="$lt_simple_compile_test_code"
21533
21534# ltmain only uses $CC for tagged configurations so make sure $CC is set.
21535
21536# If no C compiler was specified, use CC.
21537LTCC=${LTCC-"$CC"}
21538
21539# If no C compiler flags were specified, use CFLAGS.
21540LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
21541
21542# Allow CC to be a program name with arguments.
21543compiler=$CC
21544
21545
21546# save warnings/boilerplate of simple test code
21547ac_outfile=conftest.$ac_objext
21548echo "$lt_simple_compile_test_code" >conftest.$ac_ext
21549eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
21550_lt_compiler_boilerplate=`cat conftest.err`
21551$rm conftest*
21552
21553ac_outfile=conftest.$ac_objext
21554echo "$lt_simple_link_test_code" >conftest.$ac_ext
21555eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
21556_lt_linker_boilerplate=`cat conftest.err`
21557$rm -r conftest*
21558
21559
21560# Allow CC to be a program name with arguments.
21561lt_save_CC="$CC"
21562CC=${RC-"windres"}
21563compiler=$CC
21564compiler_RC=$CC
21565for cc_temp in $compiler""; do
21566  case $cc_temp in
21567    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
21568    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
21569    \-*) ;;
21570    *) break;;
21571  esac
21572done
21573cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
21574
21575lt_cv_prog_compiler_c_o_RC=yes
21576
21577# The else clause should only fire when bootstrapping the
21578# libtool distribution, otherwise you forgot to ship ltmain.sh
21579# with your package, and you will get complaints that there are
21580# no rules to generate ltmain.sh.
21581if test -f "$ltmain"; then
21582  # See if we are running on zsh, and set the options which allow our commands through
21583  # without removal of \ escapes.
21584  if test -n "${ZSH_VERSION+set}" ; then
21585    setopt NO_GLOB_SUBST
21586  fi
21587  # Now quote all the things that may contain metacharacters while being
21588  # careful not to overquote the AC_SUBSTed values.  We take copies of the
21589  # variables and quote the copies for generation of the libtool script.
21590  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
21591    SED SHELL STRIP \
21592    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
21593    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
21594    deplibs_check_method reload_flag reload_cmds need_locks \
21595    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
21596    lt_cv_sys_global_symbol_to_c_name_address \
21597    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
21598    old_postinstall_cmds old_postuninstall_cmds \
21599    compiler_RC \
21600    CC_RC \
21601    LD_RC \
21602    lt_prog_compiler_wl_RC \
21603    lt_prog_compiler_pic_RC \
21604    lt_prog_compiler_static_RC \
21605    lt_prog_compiler_no_builtin_flag_RC \
21606    export_dynamic_flag_spec_RC \
21607    thread_safe_flag_spec_RC \
21608    whole_archive_flag_spec_RC \
21609    enable_shared_with_static_runtimes_RC \
21610    old_archive_cmds_RC \
21611    old_archive_from_new_cmds_RC \
21612    predep_objects_RC \
21613    postdep_objects_RC \
21614    predeps_RC \
21615    postdeps_RC \
21616    compiler_lib_search_path_RC \
21617    compiler_lib_search_dirs_RC \
21618    archive_cmds_RC \
21619    archive_expsym_cmds_RC \
21620    postinstall_cmds_RC \
21621    postuninstall_cmds_RC \
21622    old_archive_from_expsyms_cmds_RC \
21623    allow_undefined_flag_RC \
21624    no_undefined_flag_RC \
21625    export_symbols_cmds_RC \
21626    hardcode_libdir_flag_spec_RC \
21627    hardcode_libdir_flag_spec_ld_RC \
21628    hardcode_libdir_separator_RC \
21629    hardcode_automatic_RC \
21630    module_cmds_RC \
21631    module_expsym_cmds_RC \
21632    lt_cv_prog_compiler_c_o_RC \
21633    fix_srcfile_path_RC \
21634    exclude_expsyms_RC \
21635    include_expsyms_RC; do
21636
21637    case $var in
21638    old_archive_cmds_RC | \
21639    old_archive_from_new_cmds_RC | \
21640    archive_cmds_RC | \
21641    archive_expsym_cmds_RC | \
21642    module_cmds_RC | \
21643    module_expsym_cmds_RC | \
21644    old_archive_from_expsyms_cmds_RC | \
21645    export_symbols_cmds_RC | \
21646    extract_expsyms_cmds | reload_cmds | finish_cmds | \
21647    postinstall_cmds | postuninstall_cmds | \
21648    old_postinstall_cmds | old_postuninstall_cmds | \
21649    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
21650      # Double-quote double-evaled strings.
21651      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
21652      ;;
21653    *)
21654      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
21655      ;;
21656    esac
21657  done
21658
21659  case $lt_echo in
21660  *'\$0 --fallback-echo"')
21661    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
21662    ;;
21663  esac
21664
21665cfgfile="$ofile"
21666
21667  cat <<__EOF__ >> "$cfgfile"
21668# ### BEGIN LIBTOOL TAG CONFIG: $tagname
21669
21670# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21671
21672# Shell to use when invoking shell scripts.
21673SHELL=$lt_SHELL
21674
21675# Whether or not to build shared libraries.
21676build_libtool_libs=$enable_shared
21677
21678# Whether or not to build static libraries.
21679build_old_libs=$enable_static
21680
21681# Whether or not to add -lc for building shared libraries.
21682build_libtool_need_lc=$archive_cmds_need_lc_RC
21683
21684# Whether or not to disallow shared libs when runtime libs are static
21685allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
21686
21687# Whether or not to optimize for fast installation.
21688fast_install=$enable_fast_install
21689
21690# The host system.
21691host_alias=$host_alias
21692host=$host
21693host_os=$host_os
21694
21695# The build system.
21696build_alias=$build_alias
21697build=$build
21698build_os=$build_os
21699
21700# An echo program that does not interpret backslashes.
21701echo=$lt_echo
21702
21703# The archiver.
21704AR=$lt_AR
21705AR_FLAGS=$lt_AR_FLAGS
21706
21707# A C compiler.
21708LTCC=$lt_LTCC
21709
21710# LTCC compiler flags.
21711LTCFLAGS=$lt_LTCFLAGS
21712
21713# A language-specific compiler.
21714CC=$lt_compiler_RC
21715
21716# Is the compiler the GNU C compiler?
21717with_gcc=$GCC_RC
21718
21719# An ERE matcher.
21720EGREP=$lt_EGREP
21721
21722# The linker used to build libraries.
21723LD=$lt_LD_RC
21724
21725# Whether we need hard or soft links.
21726LN_S=$lt_LN_S
21727
21728# A BSD-compatible nm program.
21729NM=$lt_NM
21730
21731# A symbol stripping program
21732STRIP=$lt_STRIP
21733
21734# Used to examine libraries when file_magic_cmd begins "file"
21735MAGIC_CMD=$MAGIC_CMD
21736
21737# Used on cygwin: DLL creation program.
21738DLLTOOL="$DLLTOOL"
21739
21740# Used on cygwin: object dumper.
21741OBJDUMP="$OBJDUMP"
21742
21743# Used on cygwin: assembler.
21744AS="$AS"
21745
21746# The name of the directory that contains temporary libtool files.
21747objdir=$objdir
21748
21749# How to create reloadable object files.
21750reload_flag=$lt_reload_flag
21751reload_cmds=$lt_reload_cmds
21752
21753# How to pass a linker flag through the compiler.
21754wl=$lt_lt_prog_compiler_wl_RC
21755
21756# Object file suffix (normally "o").
21757objext="$ac_objext"
21758
21759# Old archive suffix (normally "a").
21760libext="$libext"
21761
21762# Shared library suffix (normally ".so").
21763shrext_cmds='$shrext_cmds'
21764
21765# Executable file suffix (normally "").
21766exeext="$exeext"
21767
21768# Additional compiler flags for building library objects.
21769pic_flag=$lt_lt_prog_compiler_pic_RC
21770pic_mode=$pic_mode
21771
21772# What is the maximum length of a command?
21773max_cmd_len=$lt_cv_sys_max_cmd_len
21774
21775# Does compiler simultaneously support -c and -o options?
21776compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
21777
21778# Must we lock files when doing compilation?
21779need_locks=$lt_need_locks
21780
21781# Do we need the lib prefix for modules?
21782need_lib_prefix=$need_lib_prefix
21783
21784# Do we need a version for libraries?
21785need_version=$need_version
21786
21787# Whether dlopen is supported.
21788dlopen_support=$enable_dlopen
21789
21790# Whether dlopen of programs is supported.
21791dlopen_self=$enable_dlopen_self
21792
21793# Whether dlopen of statically linked programs is supported.
21794dlopen_self_static=$enable_dlopen_self_static
21795
21796# Compiler flag to prevent dynamic linking.
21797link_static_flag=$lt_lt_prog_compiler_static_RC
21798
21799# Compiler flag to turn off builtin functions.
21800no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
21801
21802# Compiler flag to allow reflexive dlopens.
21803export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
21804
21805# Compiler flag to generate shared objects directly from archives.
21806whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
21807
21808# Compiler flag to generate thread-safe objects.
21809thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
21810
21811# Library versioning type.
21812version_type=$version_type
21813
21814# Format of library name prefix.
21815libname_spec=$lt_libname_spec
21816
21817# List of archive names.  First name is the real one, the rest are links.
21818# The last name is the one that the linker finds with -lNAME.
21819library_names_spec=$lt_library_names_spec
21820
21821# The coded name of the library, if different from the real name.
21822soname_spec=$lt_soname_spec
21823
21824# Commands used to build and install an old-style archive.
21825RANLIB=$lt_RANLIB
21826old_archive_cmds=$lt_old_archive_cmds_RC
21827old_postinstall_cmds=$lt_old_postinstall_cmds
21828old_postuninstall_cmds=$lt_old_postuninstall_cmds
21829
21830# Create an old-style archive from a shared archive.
21831old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
21832
21833# Create a temporary old-style archive to link instead of a shared archive.
21834old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
21835
21836# Commands used to build and install a shared archive.
21837archive_cmds=$lt_archive_cmds_RC
21838archive_expsym_cmds=$lt_archive_expsym_cmds_RC
21839postinstall_cmds=$lt_postinstall_cmds
21840postuninstall_cmds=$lt_postuninstall_cmds
21841
21842# Commands used to build a loadable module (assumed same as above if empty)
21843module_cmds=$lt_module_cmds_RC
21844module_expsym_cmds=$lt_module_expsym_cmds_RC
21845
21846# Commands to strip libraries.
21847old_striplib=$lt_old_striplib
21848striplib=$lt_striplib
21849
21850# Dependencies to place before the objects being linked to create a
21851# shared library.
21852predep_objects=$lt_predep_objects_RC
21853
21854# Dependencies to place after the objects being linked to create a
21855# shared library.
21856postdep_objects=$lt_postdep_objects_RC
21857
21858# Dependencies to place before the objects being linked to create a
21859# shared library.
21860predeps=$lt_predeps_RC
21861
21862# Dependencies to place after the objects being linked to create a
21863# shared library.
21864postdeps=$lt_postdeps_RC
21865
21866# The directories searched by this compiler when creating a shared
21867# library
21868compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
21869
21870# The library search path used internally by the compiler when linking
21871# a shared library.
21872compiler_lib_search_path=$lt_compiler_lib_search_path_RC
21873
21874# Method to check whether dependent libraries are shared objects.
21875deplibs_check_method=$lt_deplibs_check_method
21876
21877# Command to use when deplibs_check_method == file_magic.
21878file_magic_cmd=$lt_file_magic_cmd
21879
21880# Flag that allows shared libraries with undefined symbols to be built.
21881allow_undefined_flag=$lt_allow_undefined_flag_RC
21882
21883# Flag that forces no undefined symbols.
21884no_undefined_flag=$lt_no_undefined_flag_RC
21885
21886# Commands used to finish a libtool library installation in a directory.
21887finish_cmds=$lt_finish_cmds
21888
21889# Same as above, but a single script fragment to be evaled but not shown.
21890finish_eval=$lt_finish_eval
21891
21892# Take the output of nm and produce a listing of raw symbols and C names.
21893global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21894
21895# Transform the output of nm in a proper C declaration
21896global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21897
21898# Transform the output of nm in a C name address pair
21899global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21900
21901# This is the shared library runtime path variable.
21902runpath_var=$runpath_var
21903
21904# This is the shared library path variable.
21905shlibpath_var=$shlibpath_var
21906
21907# Is shlibpath searched before the hard-coded library search path?
21908shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21909
21910# How to hardcode a shared library path into an executable.
21911hardcode_action=$hardcode_action_RC
21912
21913# Whether we should hardcode library paths into libraries.
21914hardcode_into_libs=$hardcode_into_libs
21915
21916# Flag to hardcode \$libdir into a binary during linking.
21917# This must work even if \$libdir does not exist.
21918hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
21919
21920# If ld is used when linking, flag to hardcode \$libdir into
21921# a binary during linking. This must work even if \$libdir does
21922# not exist.
21923hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
21924
21925# Whether we need a single -rpath flag with a separated argument.
21926hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
21927
21928# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
21929# resulting binary.
21930hardcode_direct=$hardcode_direct_RC
21931
21932# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
21933# resulting binary.
21934hardcode_minus_L=$hardcode_minus_L_RC
21935
21936# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
21937# the resulting binary.
21938hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
21939
21940# Set to yes if building a shared library automatically hardcodes DIR into the library
21941# and all subsequent libraries and executables linked against it.
21942hardcode_automatic=$hardcode_automatic_RC
21943
21944# Variables whose values should be saved in libtool wrapper scripts and
21945# restored at relink time.
21946variables_saved_for_relink="$variables_saved_for_relink"
21947
21948# Whether libtool must link a program against all its dependency libraries.
21949link_all_deplibs=$link_all_deplibs_RC
21950
21951# Compile-time system search path for libraries
21952sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21953
21954# Run-time system search path for libraries
21955sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21956
21957# Fix the shell variable \$srcfile for the compiler.
21958fix_srcfile_path=$lt_fix_srcfile_path
21959
21960# Set to yes if exported symbols are required.
21961always_export_symbols=$always_export_symbols_RC
21962
21963# The commands to list exported symbols.
21964export_symbols_cmds=$lt_export_symbols_cmds_RC
21965
21966# The commands to extract the exported symbol list from a shared archive.
21967extract_expsyms_cmds=$lt_extract_expsyms_cmds
21968
21969# Symbols that should not be listed in the preloaded symbols.
21970exclude_expsyms=$lt_exclude_expsyms_RC
21971
21972# Symbols that must always be exported.
21973include_expsyms=$lt_include_expsyms_RC
21974
21975# ### END LIBTOOL TAG CONFIG: $tagname
21976
21977__EOF__
21978
21979
21980else
21981  # If there is no Makefile yet, we rely on a make rule to execute
21982  # `config.status --recheck' to rerun these tests and create the
21983  # libtool script then.
21984  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
21985  if test -f "$ltmain_in"; then
21986    test -f Makefile && make "$ltmain"
21987  fi
21988fi
21989
21990
21991ac_ext=c
21992ac_cpp='$CPP $CPPFLAGS'
21993ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21994ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21995ac_compiler_gnu=$ac_cv_c_compiler_gnu
21996
21997CC="$lt_save_CC"
21998
21999	;;
22000
22001      *)
22002	{ { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
22003echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
22004   { (exit 1); exit 1; }; }
22005	;;
22006      esac
22007
22008      # Append the new tag name to the list of available tags.
22009      if test -n "$tagname" ; then
22010      available_tags="$available_tags $tagname"
22011    fi
22012    fi
22013  done
22014  IFS="$lt_save_ifs"
22015
22016  # Now substitute the updated list of available tags.
22017  if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
22018    mv "${ofile}T" "$ofile"
22019    chmod +x "$ofile"
22020  else
22021    rm -f "${ofile}T"
22022    { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
22023echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
22024   { (exit 1); exit 1; }; }
22025  fi
22026fi
22027
22028
22029
22030# This can be used to rebuild libtool when needed
22031LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
22032
22033# Always use our own libtool.
22034LIBTOOL='$(SHELL) $(top_builddir)/libtool'
22035
22036# Prevent multiple expansion
22037
22038
22039
22040
22041
22042
22043
22044
22045
22046
22047
22048
22049
22050
22051
22052
22053
22054
22055
22056
22057
22058ALL_LINGUAS="da de en_GB es fi fr it ja nl nn pl pt_PT ru sl sv tr zh_CN zh_TW"
22059
22060
22061
22062for ac_header in locale.h
22063do
22064as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22065if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22066  { echo "$as_me:$LINENO: checking for $ac_header" >&5
22067echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
22068if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22069  echo $ECHO_N "(cached) $ECHO_C" >&6
22070fi
22071ac_res=`eval echo '${'$as_ac_Header'}'`
22072	       { echo "$as_me:$LINENO: result: $ac_res" >&5
22073echo "${ECHO_T}$ac_res" >&6; }
22074else
22075  # Is the header compilable?
22076{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
22077echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
22078cat >conftest.$ac_ext <<_ACEOF
22079/* confdefs.h.  */
22080_ACEOF
22081cat confdefs.h >>conftest.$ac_ext
22082cat >>conftest.$ac_ext <<_ACEOF
22083/* end confdefs.h.  */
22084$ac_includes_default
22085#include <$ac_header>
22086_ACEOF
22087rm -f conftest.$ac_objext
22088if { (ac_try="$ac_compile"
22089case "(($ac_try" in
22090  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22091  *) ac_try_echo=$ac_try;;
22092esac
22093eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22094  (eval "$ac_compile") 2>conftest.er1
22095  ac_status=$?
22096  grep -v '^ *+' conftest.er1 >conftest.err
22097  rm -f conftest.er1
22098  cat conftest.err >&5
22099  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22100  (exit $ac_status); } && {
22101	 test -z "$ac_c_werror_flag" ||
22102	 test ! -s conftest.err
22103       } && test -s conftest.$ac_objext; then
22104  ac_header_compiler=yes
22105else
22106  echo "$as_me: failed program was:" >&5
22107sed 's/^/| /' conftest.$ac_ext >&5
22108
22109	ac_header_compiler=no
22110fi
22111
22112rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22113{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22114echo "${ECHO_T}$ac_header_compiler" >&6; }
22115
22116# Is the header present?
22117{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
22118echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
22119cat >conftest.$ac_ext <<_ACEOF
22120/* confdefs.h.  */
22121_ACEOF
22122cat confdefs.h >>conftest.$ac_ext
22123cat >>conftest.$ac_ext <<_ACEOF
22124/* end confdefs.h.  */
22125#include <$ac_header>
22126_ACEOF
22127if { (ac_try="$ac_cpp conftest.$ac_ext"
22128case "(($ac_try" in
22129  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22130  *) ac_try_echo=$ac_try;;
22131esac
22132eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22133  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
22134  ac_status=$?
22135  grep -v '^ *+' conftest.er1 >conftest.err
22136  rm -f conftest.er1
22137  cat conftest.err >&5
22138  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22139  (exit $ac_status); } >/dev/null && {
22140	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22141	 test ! -s conftest.err
22142       }; then
22143  ac_header_preproc=yes
22144else
22145  echo "$as_me: failed program was:" >&5
22146sed 's/^/| /' conftest.$ac_ext >&5
22147
22148  ac_header_preproc=no
22149fi
22150
22151rm -f conftest.err conftest.$ac_ext
22152{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22153echo "${ECHO_T}$ac_header_preproc" >&6; }
22154
22155# So?  What about this header?
22156case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22157  yes:no: )
22158    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22159echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22160    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22161echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22162    ac_header_preproc=yes
22163    ;;
22164  no:yes:* )
22165    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22166echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22167    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
22168echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
22169    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22170echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22171    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
22172echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
22173    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22174echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22175    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22176echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22177    ( cat <<\_ASBOX
22178## --------------------------------- ##
22179## Report this to macslow@bangang.de ##
22180## --------------------------------- ##
22181_ASBOX
22182     ) | sed "s/^/$as_me: WARNING:     /" >&2
22183    ;;
22184esac
22185{ echo "$as_me:$LINENO: checking for $ac_header" >&5
22186echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
22187if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22188  echo $ECHO_N "(cached) $ECHO_C" >&6
22189else
22190  eval "$as_ac_Header=\$ac_header_preproc"
22191fi
22192ac_res=`eval echo '${'$as_ac_Header'}'`
22193	       { echo "$as_me:$LINENO: result: $ac_res" >&5
22194echo "${ECHO_T}$ac_res" >&6; }
22195
22196fi
22197if test `eval echo '${'$as_ac_Header'}'` = yes; then
22198  cat >>confdefs.h <<_ACEOF
22199#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22200_ACEOF
22201
22202fi
22203
22204done
22205
22206    if test $ac_cv_header_locale_h = yes; then
22207    { echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
22208echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6; }
22209if test "${am_cv_val_LC_MESSAGES+set}" = set; then
22210  echo $ECHO_N "(cached) $ECHO_C" >&6
22211else
22212  cat >conftest.$ac_ext <<_ACEOF
22213/* confdefs.h.  */
22214_ACEOF
22215cat confdefs.h >>conftest.$ac_ext
22216cat >>conftest.$ac_ext <<_ACEOF
22217/* end confdefs.h.  */
22218#include <locale.h>
22219int
22220main ()
22221{
22222return LC_MESSAGES
22223  ;
22224  return 0;
22225}
22226_ACEOF
22227rm -f conftest.$ac_objext conftest$ac_exeext
22228if { (ac_try="$ac_link"
22229case "(($ac_try" in
22230  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22231  *) ac_try_echo=$ac_try;;
22232esac
22233eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22234  (eval "$ac_link") 2>conftest.er1
22235  ac_status=$?
22236  grep -v '^ *+' conftest.er1 >conftest.err
22237  rm -f conftest.er1
22238  cat conftest.err >&5
22239  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22240  (exit $ac_status); } && {
22241	 test -z "$ac_c_werror_flag" ||
22242	 test ! -s conftest.err
22243       } && test -s conftest$ac_exeext &&
22244       $as_test_x conftest$ac_exeext; then
22245  am_cv_val_LC_MESSAGES=yes
22246else
22247  echo "$as_me: failed program was:" >&5
22248sed 's/^/| /' conftest.$ac_ext >&5
22249
22250	am_cv_val_LC_MESSAGES=no
22251fi
22252
22253rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22254      conftest$ac_exeext conftest.$ac_ext
22255fi
22256{ echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
22257echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6; }
22258    if test $am_cv_val_LC_MESSAGES = yes; then
22259
22260cat >>confdefs.h <<\_ACEOF
22261#define HAVE_LC_MESSAGES 1
22262_ACEOF
22263
22264    fi
22265  fi
22266     USE_NLS=yes
22267
22268
22269    gt_cv_have_gettext=no
22270
22271    CATOBJEXT=NONE
22272    XGETTEXT=:
22273    INTLLIBS=
22274
22275    if test "${ac_cv_header_libintl_h+set}" = set; then
22276  { echo "$as_me:$LINENO: checking for libintl.h" >&5
22277echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
22278if test "${ac_cv_header_libintl_h+set}" = set; then
22279  echo $ECHO_N "(cached) $ECHO_C" >&6
22280fi
22281{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
22282echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
22283else
22284  # Is the header compilable?
22285{ echo "$as_me:$LINENO: checking libintl.h usability" >&5
22286echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6; }
22287cat >conftest.$ac_ext <<_ACEOF
22288/* confdefs.h.  */
22289_ACEOF
22290cat confdefs.h >>conftest.$ac_ext
22291cat >>conftest.$ac_ext <<_ACEOF
22292/* end confdefs.h.  */
22293$ac_includes_default
22294#include <libintl.h>
22295_ACEOF
22296rm -f conftest.$ac_objext
22297if { (ac_try="$ac_compile"
22298case "(($ac_try" in
22299  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22300  *) ac_try_echo=$ac_try;;
22301esac
22302eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22303  (eval "$ac_compile") 2>conftest.er1
22304  ac_status=$?
22305  grep -v '^ *+' conftest.er1 >conftest.err
22306  rm -f conftest.er1
22307  cat conftest.err >&5
22308  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22309  (exit $ac_status); } && {
22310	 test -z "$ac_c_werror_flag" ||
22311	 test ! -s conftest.err
22312       } && test -s conftest.$ac_objext; then
22313  ac_header_compiler=yes
22314else
22315  echo "$as_me: failed program was:" >&5
22316sed 's/^/| /' conftest.$ac_ext >&5
22317
22318	ac_header_compiler=no
22319fi
22320
22321rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22322{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22323echo "${ECHO_T}$ac_header_compiler" >&6; }
22324
22325# Is the header present?
22326{ echo "$as_me:$LINENO: checking libintl.h presence" >&5
22327echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6; }
22328cat >conftest.$ac_ext <<_ACEOF
22329/* confdefs.h.  */
22330_ACEOF
22331cat confdefs.h >>conftest.$ac_ext
22332cat >>conftest.$ac_ext <<_ACEOF
22333/* end confdefs.h.  */
22334#include <libintl.h>
22335_ACEOF
22336if { (ac_try="$ac_cpp conftest.$ac_ext"
22337case "(($ac_try" in
22338  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22339  *) ac_try_echo=$ac_try;;
22340esac
22341eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22342  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
22343  ac_status=$?
22344  grep -v '^ *+' conftest.er1 >conftest.err
22345  rm -f conftest.er1
22346  cat conftest.err >&5
22347  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22348  (exit $ac_status); } >/dev/null && {
22349	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22350	 test ! -s conftest.err
22351       }; then
22352  ac_header_preproc=yes
22353else
22354  echo "$as_me: failed program was:" >&5
22355sed 's/^/| /' conftest.$ac_ext >&5
22356
22357  ac_header_preproc=no
22358fi
22359
22360rm -f conftest.err conftest.$ac_ext
22361{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22362echo "${ECHO_T}$ac_header_preproc" >&6; }
22363
22364# So?  What about this header?
22365case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22366  yes:no: )
22367    { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
22368echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22369    { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
22370echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
22371    ac_header_preproc=yes
22372    ;;
22373  no:yes:* )
22374    { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
22375echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
22376    { echo "$as_me:$LINENO: WARNING: libintl.h:     check for missing prerequisite headers?" >&5
22377echo "$as_me: WARNING: libintl.h:     check for missing prerequisite headers?" >&2;}
22378    { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
22379echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
22380    { echo "$as_me:$LINENO: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&5
22381echo "$as_me: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
22382    { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
22383echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
22384    { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
22385echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
22386    ( cat <<\_ASBOX
22387## --------------------------------- ##
22388## Report this to macslow@bangang.de ##
22389## --------------------------------- ##
22390_ASBOX
22391     ) | sed "s/^/$as_me: WARNING:     /" >&2
22392    ;;
22393esac
22394{ echo "$as_me:$LINENO: checking for libintl.h" >&5
22395echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
22396if test "${ac_cv_header_libintl_h+set}" = set; then
22397  echo $ECHO_N "(cached) $ECHO_C" >&6
22398else
22399  ac_cv_header_libintl_h=$ac_header_preproc
22400fi
22401{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
22402echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
22403
22404fi
22405if test $ac_cv_header_libintl_h = yes; then
22406  gt_cv_func_dgettext_libintl="no"
22407      libintl_extra_libs=""
22408
22409      #
22410      # First check in libc
22411      #
22412      { echo "$as_me:$LINENO: checking for ngettext in libc" >&5
22413echo $ECHO_N "checking for ngettext in libc... $ECHO_C" >&6; }
22414if test "${gt_cv_func_ngettext_libc+set}" = set; then
22415  echo $ECHO_N "(cached) $ECHO_C" >&6
22416else
22417  cat >conftest.$ac_ext <<_ACEOF
22418/* confdefs.h.  */
22419_ACEOF
22420cat confdefs.h >>conftest.$ac_ext
22421cat >>conftest.$ac_ext <<_ACEOF
22422/* end confdefs.h.  */
22423
22424#include <libintl.h>
22425
22426int
22427main ()
22428{
22429return !ngettext ("","", 1)
22430  ;
22431  return 0;
22432}
22433_ACEOF
22434rm -f conftest.$ac_objext conftest$ac_exeext
22435if { (ac_try="$ac_link"
22436case "(($ac_try" in
22437  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22438  *) ac_try_echo=$ac_try;;
22439esac
22440eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22441  (eval "$ac_link") 2>conftest.er1
22442  ac_status=$?
22443  grep -v '^ *+' conftest.er1 >conftest.err
22444  rm -f conftest.er1
22445  cat conftest.err >&5
22446  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22447  (exit $ac_status); } && {
22448	 test -z "$ac_c_werror_flag" ||
22449	 test ! -s conftest.err
22450       } && test -s conftest$ac_exeext &&
22451       $as_test_x conftest$ac_exeext; then
22452  gt_cv_func_ngettext_libc=yes
22453else
22454  echo "$as_me: failed program was:" >&5
22455sed 's/^/| /' conftest.$ac_ext >&5
22456
22457	gt_cv_func_ngettext_libc=no
22458fi
22459
22460rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22461      conftest$ac_exeext conftest.$ac_ext
22462
22463fi
22464{ echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
22465echo "${ECHO_T}$gt_cv_func_ngettext_libc" >&6; }
22466
22467      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
22468	      { echo "$as_me:$LINENO: checking for dgettext in libc" >&5
22469echo $ECHO_N "checking for dgettext in libc... $ECHO_C" >&6; }
22470if test "${gt_cv_func_dgettext_libc+set}" = set; then
22471  echo $ECHO_N "(cached) $ECHO_C" >&6
22472else
22473  cat >conftest.$ac_ext <<_ACEOF
22474/* confdefs.h.  */
22475_ACEOF
22476cat confdefs.h >>conftest.$ac_ext
22477cat >>conftest.$ac_ext <<_ACEOF
22478/* end confdefs.h.  */
22479
22480#include <libintl.h>
22481
22482int
22483main ()
22484{
22485return !dgettext ("","")
22486  ;
22487  return 0;
22488}
22489_ACEOF
22490rm -f conftest.$ac_objext conftest$ac_exeext
22491if { (ac_try="$ac_link"
22492case "(($ac_try" in
22493  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22494  *) ac_try_echo=$ac_try;;
22495esac
22496eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22497  (eval "$ac_link") 2>conftest.er1
22498  ac_status=$?
22499  grep -v '^ *+' conftest.er1 >conftest.err
22500  rm -f conftest.er1
22501  cat conftest.err >&5
22502  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22503  (exit $ac_status); } && {
22504	 test -z "$ac_c_werror_flag" ||
22505	 test ! -s conftest.err
22506       } && test -s conftest$ac_exeext &&
22507       $as_test_x conftest$ac_exeext; then
22508  gt_cv_func_dgettext_libc=yes
22509else
22510  echo "$as_me: failed program was:" >&5
22511sed 's/^/| /' conftest.$ac_ext >&5
22512
22513	gt_cv_func_dgettext_libc=no
22514fi
22515
22516rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22517      conftest$ac_exeext conftest.$ac_ext
22518
22519fi
22520{ echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
22521echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6; }
22522      fi
22523
22524      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
22525
22526for ac_func in bind_textdomain_codeset
22527do
22528as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22529{ echo "$as_me:$LINENO: checking for $ac_func" >&5
22530echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
22531if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
22532  echo $ECHO_N "(cached) $ECHO_C" >&6
22533else
22534  cat >conftest.$ac_ext <<_ACEOF
22535/* confdefs.h.  */
22536_ACEOF
22537cat confdefs.h >>conftest.$ac_ext
22538cat >>conftest.$ac_ext <<_ACEOF
22539/* end confdefs.h.  */
22540/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22541   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22542#define $ac_func innocuous_$ac_func
22543
22544/* System header to define __stub macros and hopefully few prototypes,
22545    which can conflict with char $ac_func (); below.
22546    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22547    <limits.h> exists even on freestanding compilers.  */
22548
22549#ifdef __STDC__
22550# include <limits.h>
22551#else
22552# include <assert.h>
22553#endif
22554
22555#undef $ac_func
22556
22557/* Override any GCC internal prototype to avoid an error.
22558   Use char because int might match the return type of a GCC
22559   builtin and then its argument prototype would still apply.  */
22560#ifdef __cplusplus
22561extern "C"
22562#endif
22563char $ac_func ();
22564/* The GNU C library defines this for functions which it implements
22565    to always fail with ENOSYS.  Some functions are actually named
22566    something starting with __ and the normal name is an alias.  */
22567#if defined __stub_$ac_func || defined __stub___$ac_func
22568choke me
22569#endif
22570
22571int
22572main ()
22573{
22574return $ac_func ();
22575  ;
22576  return 0;
22577}
22578_ACEOF
22579rm -f conftest.$ac_objext conftest$ac_exeext
22580if { (ac_try="$ac_link"
22581case "(($ac_try" in
22582  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22583  *) ac_try_echo=$ac_try;;
22584esac
22585eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22586  (eval "$ac_link") 2>conftest.er1
22587  ac_status=$?
22588  grep -v '^ *+' conftest.er1 >conftest.err
22589  rm -f conftest.er1
22590  cat conftest.err >&5
22591  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22592  (exit $ac_status); } && {
22593	 test -z "$ac_c_werror_flag" ||
22594	 test ! -s conftest.err
22595       } && test -s conftest$ac_exeext &&
22596       $as_test_x conftest$ac_exeext; then
22597  eval "$as_ac_var=yes"
22598else
22599  echo "$as_me: failed program was:" >&5
22600sed 's/^/| /' conftest.$ac_ext >&5
22601
22602	eval "$as_ac_var=no"
22603fi
22604
22605rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22606      conftest$ac_exeext conftest.$ac_ext
22607fi
22608ac_res=`eval echo '${'$as_ac_var'}'`
22609	       { echo "$as_me:$LINENO: result: $ac_res" >&5
22610echo "${ECHO_T}$ac_res" >&6; }
22611if test `eval echo '${'$as_ac_var'}'` = yes; then
22612  cat >>confdefs.h <<_ACEOF
22613#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22614_ACEOF
22615
22616fi
22617done
22618
22619      fi
22620
22621      #
22622      # If we don't have everything we want, check in libintl
22623      #
22624      if test "$gt_cv_func_dgettext_libc" != "yes" \
22625	 || test "$gt_cv_func_ngettext_libc" != "yes" \
22626         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
22627
22628        { echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
22629echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6; }
22630if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
22631  echo $ECHO_N "(cached) $ECHO_C" >&6
22632else
22633  ac_check_lib_save_LIBS=$LIBS
22634LIBS="-lintl  $LIBS"
22635cat >conftest.$ac_ext <<_ACEOF
22636/* confdefs.h.  */
22637_ACEOF
22638cat confdefs.h >>conftest.$ac_ext
22639cat >>conftest.$ac_ext <<_ACEOF
22640/* end confdefs.h.  */
22641
22642/* Override any GCC internal prototype to avoid an error.
22643   Use char because int might match the return type of a GCC
22644   builtin and then its argument prototype would still apply.  */
22645#ifdef __cplusplus
22646extern "C"
22647#endif
22648char bindtextdomain ();
22649int
22650main ()
22651{
22652return bindtextdomain ();
22653  ;
22654  return 0;
22655}
22656_ACEOF
22657rm -f conftest.$ac_objext conftest$ac_exeext
22658if { (ac_try="$ac_link"
22659case "(($ac_try" in
22660  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22661  *) ac_try_echo=$ac_try;;
22662esac
22663eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22664  (eval "$ac_link") 2>conftest.er1
22665  ac_status=$?
22666  grep -v '^ *+' conftest.er1 >conftest.err
22667  rm -f conftest.er1
22668  cat conftest.err >&5
22669  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22670  (exit $ac_status); } && {
22671	 test -z "$ac_c_werror_flag" ||
22672	 test ! -s conftest.err
22673       } && test -s conftest$ac_exeext &&
22674       $as_test_x conftest$ac_exeext; then
22675  ac_cv_lib_intl_bindtextdomain=yes
22676else
22677  echo "$as_me: failed program was:" >&5
22678sed 's/^/| /' conftest.$ac_ext >&5
22679
22680	ac_cv_lib_intl_bindtextdomain=no
22681fi
22682
22683rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22684      conftest$ac_exeext conftest.$ac_ext
22685LIBS=$ac_check_lib_save_LIBS
22686fi
22687{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
22688echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6; }
22689if test $ac_cv_lib_intl_bindtextdomain = yes; then
22690  { echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
22691echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
22692if test "${ac_cv_lib_intl_ngettext+set}" = set; then
22693  echo $ECHO_N "(cached) $ECHO_C" >&6
22694else
22695  ac_check_lib_save_LIBS=$LIBS
22696LIBS="-lintl  $LIBS"
22697cat >conftest.$ac_ext <<_ACEOF
22698/* confdefs.h.  */
22699_ACEOF
22700cat confdefs.h >>conftest.$ac_ext
22701cat >>conftest.$ac_ext <<_ACEOF
22702/* end confdefs.h.  */
22703
22704/* Override any GCC internal prototype to avoid an error.
22705   Use char because int might match the return type of a GCC
22706   builtin and then its argument prototype would still apply.  */
22707#ifdef __cplusplus
22708extern "C"
22709#endif
22710char ngettext ();
22711int
22712main ()
22713{
22714return ngettext ();
22715  ;
22716  return 0;
22717}
22718_ACEOF
22719rm -f conftest.$ac_objext conftest$ac_exeext
22720if { (ac_try="$ac_link"
22721case "(($ac_try" in
22722  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22723  *) ac_try_echo=$ac_try;;
22724esac
22725eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22726  (eval "$ac_link") 2>conftest.er1
22727  ac_status=$?
22728  grep -v '^ *+' conftest.er1 >conftest.err
22729  rm -f conftest.er1
22730  cat conftest.err >&5
22731  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22732  (exit $ac_status); } && {
22733	 test -z "$ac_c_werror_flag" ||
22734	 test ! -s conftest.err
22735       } && test -s conftest$ac_exeext &&
22736       $as_test_x conftest$ac_exeext; then
22737  ac_cv_lib_intl_ngettext=yes
22738else
22739  echo "$as_me: failed program was:" >&5
22740sed 's/^/| /' conftest.$ac_ext >&5
22741
22742	ac_cv_lib_intl_ngettext=no
22743fi
22744
22745rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22746      conftest$ac_exeext conftest.$ac_ext
22747LIBS=$ac_check_lib_save_LIBS
22748fi
22749{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
22750echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
22751if test $ac_cv_lib_intl_ngettext = yes; then
22752  { echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
22753echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6; }
22754if test "${ac_cv_lib_intl_dgettext+set}" = set; then
22755  echo $ECHO_N "(cached) $ECHO_C" >&6
22756else
22757  ac_check_lib_save_LIBS=$LIBS
22758LIBS="-lintl  $LIBS"
22759cat >conftest.$ac_ext <<_ACEOF
22760/* confdefs.h.  */
22761_ACEOF
22762cat confdefs.h >>conftest.$ac_ext
22763cat >>conftest.$ac_ext <<_ACEOF
22764/* end confdefs.h.  */
22765
22766/* Override any GCC internal prototype to avoid an error.
22767   Use char because int might match the return type of a GCC
22768   builtin and then its argument prototype would still apply.  */
22769#ifdef __cplusplus
22770extern "C"
22771#endif
22772char dgettext ();
22773int
22774main ()
22775{
22776return dgettext ();
22777  ;
22778  return 0;
22779}
22780_ACEOF
22781rm -f conftest.$ac_objext conftest$ac_exeext
22782if { (ac_try="$ac_link"
22783case "(($ac_try" in
22784  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22785  *) ac_try_echo=$ac_try;;
22786esac
22787eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22788  (eval "$ac_link") 2>conftest.er1
22789  ac_status=$?
22790  grep -v '^ *+' conftest.er1 >conftest.err
22791  rm -f conftest.er1
22792  cat conftest.err >&5
22793  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22794  (exit $ac_status); } && {
22795	 test -z "$ac_c_werror_flag" ||
22796	 test ! -s conftest.err
22797       } && test -s conftest$ac_exeext &&
22798       $as_test_x conftest$ac_exeext; then
22799  ac_cv_lib_intl_dgettext=yes
22800else
22801  echo "$as_me: failed program was:" >&5
22802sed 's/^/| /' conftest.$ac_ext >&5
22803
22804	ac_cv_lib_intl_dgettext=no
22805fi
22806
22807rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22808      conftest$ac_exeext conftest.$ac_ext
22809LIBS=$ac_check_lib_save_LIBS
22810fi
22811{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
22812echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6; }
22813if test $ac_cv_lib_intl_dgettext = yes; then
22814  gt_cv_func_dgettext_libintl=yes
22815fi
22816
22817fi
22818
22819fi
22820
22821
22822	if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
22823	  { echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
22824echo $ECHO_N "checking if -liconv is needed to use gettext... $ECHO_C" >&6; }
22825	  { echo "$as_me:$LINENO: result: " >&5
22826echo "${ECHO_T}" >&6; }
22827  	  { echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
22828echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
22829if test "${ac_cv_lib_intl_ngettext+set}" = set; then
22830  echo $ECHO_N "(cached) $ECHO_C" >&6
22831else
22832  ac_check_lib_save_LIBS=$LIBS
22833LIBS="-lintl -liconv $LIBS"
22834cat >conftest.$ac_ext <<_ACEOF
22835/* confdefs.h.  */
22836_ACEOF
22837cat confdefs.h >>conftest.$ac_ext
22838cat >>conftest.$ac_ext <<_ACEOF
22839/* end confdefs.h.  */
22840
22841/* Override any GCC internal prototype to avoid an error.
22842   Use char because int might match the return type of a GCC
22843   builtin and then its argument prototype would still apply.  */
22844#ifdef __cplusplus
22845extern "C"
22846#endif
22847char ngettext ();
22848int
22849main ()
22850{
22851return ngettext ();
22852  ;
22853  return 0;
22854}
22855_ACEOF
22856rm -f conftest.$ac_objext conftest$ac_exeext
22857if { (ac_try="$ac_link"
22858case "(($ac_try" in
22859  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22860  *) ac_try_echo=$ac_try;;
22861esac
22862eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22863  (eval "$ac_link") 2>conftest.er1
22864  ac_status=$?
22865  grep -v '^ *+' conftest.er1 >conftest.err
22866  rm -f conftest.er1
22867  cat conftest.err >&5
22868  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22869  (exit $ac_status); } && {
22870	 test -z "$ac_c_werror_flag" ||
22871	 test ! -s conftest.err
22872       } && test -s conftest$ac_exeext &&
22873       $as_test_x conftest$ac_exeext; then
22874  ac_cv_lib_intl_ngettext=yes
22875else
22876  echo "$as_me: failed program was:" >&5
22877sed 's/^/| /' conftest.$ac_ext >&5
22878
22879	ac_cv_lib_intl_ngettext=no
22880fi
22881
22882rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22883      conftest$ac_exeext conftest.$ac_ext
22884LIBS=$ac_check_lib_save_LIBS
22885fi
22886{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
22887echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
22888if test $ac_cv_lib_intl_ngettext = yes; then
22889  { echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
22890echo $ECHO_N "checking for dcgettext in -lintl... $ECHO_C" >&6; }
22891if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
22892  echo $ECHO_N "(cached) $ECHO_C" >&6
22893else
22894  ac_check_lib_save_LIBS=$LIBS
22895LIBS="-lintl -liconv $LIBS"
22896cat >conftest.$ac_ext <<_ACEOF
22897/* confdefs.h.  */
22898_ACEOF
22899cat confdefs.h >>conftest.$ac_ext
22900cat >>conftest.$ac_ext <<_ACEOF
22901/* end confdefs.h.  */
22902
22903/* Override any GCC internal prototype to avoid an error.
22904   Use char because int might match the return type of a GCC
22905   builtin and then its argument prototype would still apply.  */
22906#ifdef __cplusplus
22907extern "C"
22908#endif
22909char dcgettext ();
22910int
22911main ()
22912{
22913return dcgettext ();
22914  ;
22915  return 0;
22916}
22917_ACEOF
22918rm -f conftest.$ac_objext conftest$ac_exeext
22919if { (ac_try="$ac_link"
22920case "(($ac_try" in
22921  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22922  *) ac_try_echo=$ac_try;;
22923esac
22924eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22925  (eval "$ac_link") 2>conftest.er1
22926  ac_status=$?
22927  grep -v '^ *+' conftest.er1 >conftest.err
22928  rm -f conftest.er1
22929  cat conftest.err >&5
22930  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22931  (exit $ac_status); } && {
22932	 test -z "$ac_c_werror_flag" ||
22933	 test ! -s conftest.err
22934       } && test -s conftest$ac_exeext &&
22935       $as_test_x conftest$ac_exeext; then
22936  ac_cv_lib_intl_dcgettext=yes
22937else
22938  echo "$as_me: failed program was:" >&5
22939sed 's/^/| /' conftest.$ac_ext >&5
22940
22941	ac_cv_lib_intl_dcgettext=no
22942fi
22943
22944rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22945      conftest$ac_exeext conftest.$ac_ext
22946LIBS=$ac_check_lib_save_LIBS
22947fi
22948{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
22949echo "${ECHO_T}$ac_cv_lib_intl_dcgettext" >&6; }
22950if test $ac_cv_lib_intl_dcgettext = yes; then
22951  gt_cv_func_dgettext_libintl=yes
22952			libintl_extra_libs=-liconv
22953else
22954  :
22955fi
22956
22957else
22958  :
22959fi
22960
22961        fi
22962
22963        #
22964        # If we found libintl, then check in it for bind_textdomain_codeset();
22965        # we'll prefer libc if neither have bind_textdomain_codeset(),
22966        # and both have dgettext and ngettext
22967        #
22968        if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
22969          glib_save_LIBS="$LIBS"
22970          LIBS="$LIBS -lintl $libintl_extra_libs"
22971          unset ac_cv_func_bind_textdomain_codeset
22972
22973for ac_func in bind_textdomain_codeset
22974do
22975as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22976{ echo "$as_me:$LINENO: checking for $ac_func" >&5
22977echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
22978if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
22979  echo $ECHO_N "(cached) $ECHO_C" >&6
22980else
22981  cat >conftest.$ac_ext <<_ACEOF
22982/* confdefs.h.  */
22983_ACEOF
22984cat confdefs.h >>conftest.$ac_ext
22985cat >>conftest.$ac_ext <<_ACEOF
22986/* end confdefs.h.  */
22987/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22988   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22989#define $ac_func innocuous_$ac_func
22990
22991/* System header to define __stub macros and hopefully few prototypes,
22992    which can conflict with char $ac_func (); below.
22993    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22994    <limits.h> exists even on freestanding compilers.  */
22995
22996#ifdef __STDC__
22997# include <limits.h>
22998#else
22999# include <assert.h>
23000#endif
23001
23002#undef $ac_func
23003
23004/* Override any GCC internal prototype to avoid an error.
23005   Use char because int might match the return type of a GCC
23006   builtin and then its argument prototype would still apply.  */
23007#ifdef __cplusplus
23008extern "C"
23009#endif
23010char $ac_func ();
23011/* The GNU C library defines this for functions which it implements
23012    to always fail with ENOSYS.  Some functions are actually named
23013    something starting with __ and the normal name is an alias.  */
23014#if defined __stub_$ac_func || defined __stub___$ac_func
23015choke me
23016#endif
23017
23018int
23019main ()
23020{
23021return $ac_func ();
23022  ;
23023  return 0;
23024}
23025_ACEOF
23026rm -f conftest.$ac_objext conftest$ac_exeext
23027if { (ac_try="$ac_link"
23028case "(($ac_try" in
23029  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23030  *) ac_try_echo=$ac_try;;
23031esac
23032eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23033  (eval "$ac_link") 2>conftest.er1
23034  ac_status=$?
23035  grep -v '^ *+' conftest.er1 >conftest.err
23036  rm -f conftest.er1
23037  cat conftest.err >&5
23038  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23039  (exit $ac_status); } && {
23040	 test -z "$ac_c_werror_flag" ||
23041	 test ! -s conftest.err
23042       } && test -s conftest$ac_exeext &&
23043       $as_test_x conftest$ac_exeext; then
23044  eval "$as_ac_var=yes"
23045else
23046  echo "$as_me: failed program was:" >&5
23047sed 's/^/| /' conftest.$ac_ext >&5
23048
23049	eval "$as_ac_var=no"
23050fi
23051
23052rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23053      conftest$ac_exeext conftest.$ac_ext
23054fi
23055ac_res=`eval echo '${'$as_ac_var'}'`
23056	       { echo "$as_me:$LINENO: result: $ac_res" >&5
23057echo "${ECHO_T}$ac_res" >&6; }
23058if test `eval echo '${'$as_ac_var'}'` = yes; then
23059  cat >>confdefs.h <<_ACEOF
23060#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23061_ACEOF
23062
23063fi
23064done
23065
23066          LIBS="$glib_save_LIBS"
23067
23068          if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
23069            gt_cv_func_dgettext_libc=no
23070          else
23071            if test "$gt_cv_func_dgettext_libc" = "yes" \
23072		&& test "$gt_cv_func_ngettext_libc" = "yes"; then
23073              gt_cv_func_dgettext_libintl=no
23074            fi
23075          fi
23076        fi
23077      fi
23078
23079      if test "$gt_cv_func_dgettext_libc" = "yes" \
23080	|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
23081        gt_cv_have_gettext=yes
23082      fi
23083
23084      if test "$gt_cv_func_dgettext_libintl" = "yes"; then
23085        INTLLIBS="-lintl $libintl_extra_libs"
23086      fi
23087
23088      if test "$gt_cv_have_gettext" = "yes"; then
23089
23090cat >>confdefs.h <<\_ACEOF
23091#define HAVE_GETTEXT 1
23092_ACEOF
23093
23094	# Extract the first word of "msgfmt", so it can be a program name with args.
23095set dummy msgfmt; ac_word=$2
23096{ echo "$as_me:$LINENO: checking for $ac_word" >&5
23097echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
23098if test "${ac_cv_path_MSGFMT+set}" = set; then
23099  echo $ECHO_N "(cached) $ECHO_C" >&6
23100else
23101  case "$MSGFMT" in
23102  /*)
23103  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
23104  ;;
23105  *)
23106  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
23107  for ac_dir in $PATH; do
23108    test -z "$ac_dir" && ac_dir=.
23109    if test -f $ac_dir/$ac_word; then
23110      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
23111	ac_cv_path_MSGFMT="$ac_dir/$ac_word"
23112	break
23113      fi
23114    fi
23115  done
23116  IFS="$ac_save_ifs"
23117  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
23118  ;;
23119esac
23120fi
23121MSGFMT="$ac_cv_path_MSGFMT"
23122if test "$MSGFMT" != "no"; then
23123  { echo "$as_me:$LINENO: result: $MSGFMT" >&5
23124echo "${ECHO_T}$MSGFMT" >&6; }
23125else
23126  { echo "$as_me:$LINENO: result: no" >&5
23127echo "${ECHO_T}no" >&6; }
23128fi
23129	if test "$MSGFMT" != "no"; then
23130          glib_save_LIBS="$LIBS"
23131          LIBS="$LIBS $INTLLIBS"
23132
23133for ac_func in dcgettext
23134do
23135as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23136{ echo "$as_me:$LINENO: checking for $ac_func" >&5
23137echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
23138if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
23139  echo $ECHO_N "(cached) $ECHO_C" >&6
23140else
23141  cat >conftest.$ac_ext <<_ACEOF
23142/* confdefs.h.  */
23143_ACEOF
23144cat confdefs.h >>conftest.$ac_ext
23145cat >>conftest.$ac_ext <<_ACEOF
23146/* end confdefs.h.  */
23147/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23148   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23149#define $ac_func innocuous_$ac_func
23150
23151/* System header to define __stub macros and hopefully few prototypes,
23152    which can conflict with char $ac_func (); below.
23153    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23154    <limits.h> exists even on freestanding compilers.  */
23155
23156#ifdef __STDC__
23157# include <limits.h>
23158#else
23159# include <assert.h>
23160#endif
23161
23162#undef $ac_func
23163
23164/* Override any GCC internal prototype to avoid an error.
23165   Use char because int might match the return type of a GCC
23166   builtin and then its argument prototype would still apply.  */
23167#ifdef __cplusplus
23168extern "C"
23169#endif
23170char $ac_func ();
23171/* The GNU C library defines this for functions which it implements
23172    to always fail with ENOSYS.  Some functions are actually named
23173    something starting with __ and the normal name is an alias.  */
23174#if defined __stub_$ac_func || defined __stub___$ac_func
23175choke me
23176#endif
23177
23178int
23179main ()
23180{
23181return $ac_func ();
23182  ;
23183  return 0;
23184}
23185_ACEOF
23186rm -f conftest.$ac_objext conftest$ac_exeext
23187if { (ac_try="$ac_link"
23188case "(($ac_try" in
23189  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23190  *) ac_try_echo=$ac_try;;
23191esac
23192eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23193  (eval "$ac_link") 2>conftest.er1
23194  ac_status=$?
23195  grep -v '^ *+' conftest.er1 >conftest.err
23196  rm -f conftest.er1
23197  cat conftest.err >&5
23198  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23199  (exit $ac_status); } && {
23200	 test -z "$ac_c_werror_flag" ||
23201	 test ! -s conftest.err
23202       } && test -s conftest$ac_exeext &&
23203       $as_test_x conftest$ac_exeext; then
23204  eval "$as_ac_var=yes"
23205else
23206  echo "$as_me: failed program was:" >&5
23207sed 's/^/| /' conftest.$ac_ext >&5
23208
23209	eval "$as_ac_var=no"
23210fi
23211
23212rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23213      conftest$ac_exeext conftest.$ac_ext
23214fi
23215ac_res=`eval echo '${'$as_ac_var'}'`
23216	       { echo "$as_me:$LINENO: result: $ac_res" >&5
23217echo "${ECHO_T}$ac_res" >&6; }
23218if test `eval echo '${'$as_ac_var'}'` = yes; then
23219  cat >>confdefs.h <<_ACEOF
23220#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23221_ACEOF
23222
23223fi
23224done
23225
23226	  MSGFMT_OPTS=
23227	  { echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
23228echo $ECHO_N "checking if msgfmt accepts -c... $ECHO_C" >&6; }
23229	  cat >conftest.foo <<_ACEOF
23230
23231msgid ""
23232msgstr ""
23233"Content-Type: text/plain; charset=UTF-8\n"
23234"Project-Id-Version: test 1.0\n"
23235"PO-Revision-Date: 2007-02-15 12:01+0100\n"
23236"Last-Translator: test <foo@bar.xx>\n"
23237"Language-Team: C <LL@li.org>\n"
23238"MIME-Version: 1.0\n"
23239"Content-Transfer-Encoding: 8bit\n"
23240
23241_ACEOF
23242if { (echo "$as_me:$LINENO: \$MSGFMT -c -o /dev/null conftest.foo") >&5
23243  ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
23244  ac_status=$?
23245  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23246  (exit $ac_status); }; then
23247  MSGFMT_OPTS=-c; { echo "$as_me:$LINENO: result: yes" >&5
23248echo "${ECHO_T}yes" >&6; }
23249else { echo "$as_me:$LINENO: result: no" >&5
23250echo "${ECHO_T}no" >&6; }
23251echo "$as_me: failed input was:" >&5
23252sed 's/^/| /' conftest.foo >&5
23253fi
23254
23255	  # Extract the first word of "gmsgfmt", so it can be a program name with args.
23256set dummy gmsgfmt; ac_word=$2
23257{ echo "$as_me:$LINENO: checking for $ac_word" >&5
23258echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
23259if test "${ac_cv_path_GMSGFMT+set}" = set; then
23260  echo $ECHO_N "(cached) $ECHO_C" >&6
23261else
23262  case $GMSGFMT in
23263  [\\/]* | ?:[\\/]*)
23264  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
23265  ;;
23266  *)
23267  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23268for as_dir in $PATH
23269do
23270  IFS=$as_save_IFS
23271  test -z "$as_dir" && as_dir=.
23272  for ac_exec_ext in '' $ac_executable_extensions; do
23273  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23274    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
23275    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23276    break 2
23277  fi
23278done
23279done
23280IFS=$as_save_IFS
23281
23282  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
23283  ;;
23284esac
23285fi
23286GMSGFMT=$ac_cv_path_GMSGFMT
23287if test -n "$GMSGFMT"; then
23288  { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
23289echo "${ECHO_T}$GMSGFMT" >&6; }
23290else
23291  { echo "$as_me:$LINENO: result: no" >&5
23292echo "${ECHO_T}no" >&6; }
23293fi
23294
23295
23296	  # Extract the first word of "xgettext", so it can be a program name with args.
23297set dummy xgettext; ac_word=$2
23298{ echo "$as_me:$LINENO: checking for $ac_word" >&5
23299echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
23300if test "${ac_cv_path_XGETTEXT+set}" = set; then
23301  echo $ECHO_N "(cached) $ECHO_C" >&6
23302else
23303  case "$XGETTEXT" in
23304  /*)
23305  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
23306  ;;
23307  *)
23308  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
23309  for ac_dir in $PATH; do
23310    test -z "$ac_dir" && ac_dir=.
23311    if test -f $ac_dir/$ac_word; then
23312      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
23313	ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
23314	break
23315      fi
23316    fi
23317  done
23318  IFS="$ac_save_ifs"
23319  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
23320  ;;
23321esac
23322fi
23323XGETTEXT="$ac_cv_path_XGETTEXT"
23324if test "$XGETTEXT" != ":"; then
23325  { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
23326echo "${ECHO_T}$XGETTEXT" >&6; }
23327else
23328  { echo "$as_me:$LINENO: result: no" >&5
23329echo "${ECHO_T}no" >&6; }
23330fi
23331
23332	  cat >conftest.$ac_ext <<_ACEOF
23333/* confdefs.h.  */
23334_ACEOF
23335cat confdefs.h >>conftest.$ac_ext
23336cat >>conftest.$ac_ext <<_ACEOF
23337/* end confdefs.h.  */
23338
23339int
23340main ()
23341{
23342extern int _nl_msg_cat_cntr;
23343			 return _nl_msg_cat_cntr
23344  ;
23345  return 0;
23346}
23347_ACEOF
23348rm -f conftest.$ac_objext conftest$ac_exeext
23349if { (ac_try="$ac_link"
23350case "(($ac_try" in
23351  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23352  *) ac_try_echo=$ac_try;;
23353esac
23354eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23355  (eval "$ac_link") 2>conftest.er1
23356  ac_status=$?
23357  grep -v '^ *+' conftest.er1 >conftest.err
23358  rm -f conftest.er1
23359  cat conftest.err >&5
23360  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23361  (exit $ac_status); } && {
23362	 test -z "$ac_c_werror_flag" ||
23363	 test ! -s conftest.err
23364       } && test -s conftest$ac_exeext &&
23365       $as_test_x conftest$ac_exeext; then
23366  CATOBJEXT=.gmo
23367             DATADIRNAME=share
23368else
23369  echo "$as_me: failed program was:" >&5
23370sed 's/^/| /' conftest.$ac_ext >&5
23371
23372	case $host in
23373	    *-*-solaris*)
23374	    	                	    	                { echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
23375echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; }
23376if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
23377  echo $ECHO_N "(cached) $ECHO_C" >&6
23378else
23379  cat >conftest.$ac_ext <<_ACEOF
23380/* confdefs.h.  */
23381_ACEOF
23382cat confdefs.h >>conftest.$ac_ext
23383cat >>conftest.$ac_ext <<_ACEOF
23384/* end confdefs.h.  */
23385/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
23386   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23387#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
23388
23389/* System header to define __stub macros and hopefully few prototypes,
23390    which can conflict with char bind_textdomain_codeset (); below.
23391    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23392    <limits.h> exists even on freestanding compilers.  */
23393
23394#ifdef __STDC__
23395# include <limits.h>
23396#else
23397# include <assert.h>
23398#endif
23399
23400#undef bind_textdomain_codeset
23401
23402/* Override any GCC internal prototype to avoid an error.
23403   Use char because int might match the return type of a GCC
23404   builtin and then its argument prototype would still apply.  */
23405#ifdef __cplusplus
23406extern "C"
23407#endif
23408char bind_textdomain_codeset ();
23409/* The GNU C library defines this for functions which it implements
23410    to always fail with ENOSYS.  Some functions are actually named
23411    something starting with __ and the normal name is an alias.  */
23412#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
23413choke me
23414#endif
23415
23416int
23417main ()
23418{
23419return bind_textdomain_codeset ();
23420  ;
23421  return 0;
23422}
23423_ACEOF
23424rm -f conftest.$ac_objext conftest$ac_exeext
23425if { (ac_try="$ac_link"
23426case "(($ac_try" in
23427  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23428  *) ac_try_echo=$ac_try;;
23429esac
23430eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23431  (eval "$ac_link") 2>conftest.er1
23432  ac_status=$?
23433  grep -v '^ *+' conftest.er1 >conftest.err
23434  rm -f conftest.er1
23435  cat conftest.err >&5
23436  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23437  (exit $ac_status); } && {
23438	 test -z "$ac_c_werror_flag" ||
23439	 test ! -s conftest.err
23440       } && test -s conftest$ac_exeext &&
23441       $as_test_x conftest$ac_exeext; then
23442  ac_cv_func_bind_textdomain_codeset=yes
23443else
23444  echo "$as_me: failed program was:" >&5
23445sed 's/^/| /' conftest.$ac_ext >&5
23446
23447	ac_cv_func_bind_textdomain_codeset=no
23448fi
23449
23450rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23451      conftest$ac_exeext conftest.$ac_ext
23452fi
23453{ echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
23454echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
23455if test $ac_cv_func_bind_textdomain_codeset = yes; then
23456  CATOBJEXT=.gmo
23457               DATADIRNAME=share
23458else
23459  CATOBJEXT=.mo
23460               DATADIRNAME=lib
23461fi
23462
23463	    ;;
23464	    *)
23465	    CATOBJEXT=.mo
23466            DATADIRNAME=lib
23467	    ;;
23468	    esac
23469fi
23470
23471rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23472      conftest$ac_exeext conftest.$ac_ext
23473          LIBS="$glib_save_LIBS"
23474	  INSTOBJEXT=.mo
23475	else
23476	  gt_cv_have_gettext=no
23477	fi
23478      fi
23479
23480fi
23481
23482
23483
23484    if test "$gt_cv_have_gettext" = "yes" ; then
23485
23486cat >>confdefs.h <<\_ACEOF
23487#define ENABLE_NLS 1
23488_ACEOF
23489
23490    fi
23491
23492        if test "$XGETTEXT" != ":"; then
23493                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
23494        : ;
23495      else
23496        { echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
23497echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6; }
23498        XGETTEXT=":"
23499      fi
23500    fi
23501
23502    # We need to process the po/ directory.
23503    POSUB=po
23504
23505    ac_config_commands="$ac_config_commands default-1"
23506
23507
23508                for lang in $ALL_LINGUAS; do
23509      GMOFILES="$GMOFILES $lang.gmo"
23510      POFILES="$POFILES $lang.po"
23511    done
23512
23513
23514
23515
23516
23517
23518
23519
23520
23521
23522
23523
23524
23525   if test "$gt_cv_have_gettext" = "yes"; then
23526     if test "x$ALL_LINGUAS" = "x"; then
23527       LINGUAS=
23528     else
23529       { echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
23530echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6; }
23531       NEW_LINGUAS=
23532       for presentlang in $ALL_LINGUAS; do
23533         useit=no
23534         if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
23535           desiredlanguages="$LINGUAS"
23536         else
23537           desiredlanguages="$ALL_LINGUAS"
23538         fi
23539         for desiredlang in $desiredlanguages; do
23540 	   # Use the presentlang catalog if desiredlang is
23541           #   a. equal to presentlang, or
23542           #   b. a variant of presentlang (because in this case,
23543           #      presentlang can be used as a fallback for messages
23544           #      which are not translated in the desiredlang catalog).
23545           case "$desiredlang" in
23546             "$presentlang"*) useit=yes;;
23547           esac
23548         done
23549         if test $useit = yes; then
23550           NEW_LINGUAS="$NEW_LINGUAS $presentlang"
23551         fi
23552       done
23553       LINGUAS=$NEW_LINGUAS
23554       { echo "$as_me:$LINENO: result: $LINGUAS" >&5
23555echo "${ECHO_T}$LINGUAS" >&6; }
23556     fi
23557
23558          if test -n "$LINGUAS"; then
23559       for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
23560     fi
23561   fi
23562
23563            MKINSTALLDIRS=
23564   if test -n "$ac_aux_dir"; then
23565     MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
23566   fi
23567   if test -z "$MKINSTALLDIRS"; then
23568     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
23569   fi
23570
23571
23572         test -d po || mkdir po
23573   if test "x$srcdir" != "x."; then
23574     if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
23575       posrcprefix="$srcdir/"
23576     else
23577       posrcprefix="../$srcdir/"
23578     fi
23579   else
23580     posrcprefix="../"
23581   fi
23582   rm -f po/POTFILES
23583   sed -e "/^#/d" -e "/^\$/d" -e "s,.*,	$posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
23584	< $srcdir/po/POTFILES.in > po/POTFILES
23585
23586GETTEXT_PACKAGE=cairo-clock
23587
23588cat >>confdefs.h <<_ACEOF
23589#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
23590_ACEOF
23591
23592
23593
23594cairoclocklocaledir='${prefix}/${DATADIRNAME}/locale'
23595
23596
23597
23598
23599if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
23600	if test -n "$ac_tool_prefix"; then
23601  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
23602set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
23603{ echo "$as_me:$LINENO: checking for $ac_word" >&5
23604echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
23605if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23606  echo $ECHO_N "(cached) $ECHO_C" >&6
23607else
23608  case $PKG_CONFIG in
23609  [\\/]* | ?:[\\/]*)
23610  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23611  ;;
23612  *)
23613  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23614for as_dir in $PATH
23615do
23616  IFS=$as_save_IFS
23617  test -z "$as_dir" && as_dir=.
23618  for ac_exec_ext in '' $ac_executable_extensions; do
23619  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23620    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23621    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23622    break 2
23623  fi
23624done
23625done
23626IFS=$as_save_IFS
23627
23628  ;;
23629esac
23630fi
23631PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23632if test -n "$PKG_CONFIG"; then
23633  { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23634echo "${ECHO_T}$PKG_CONFIG" >&6; }
23635else
23636  { echo "$as_me:$LINENO: result: no" >&5
23637echo "${ECHO_T}no" >&6; }
23638fi
23639
23640
23641fi
23642if test -z "$ac_cv_path_PKG_CONFIG"; then
23643  ac_pt_PKG_CONFIG=$PKG_CONFIG
23644  # Extract the first word of "pkg-config", so it can be a program name with args.
23645set dummy pkg-config; ac_word=$2
23646{ echo "$as_me:$LINENO: checking for $ac_word" >&5
23647echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
23648if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
23649  echo $ECHO_N "(cached) $ECHO_C" >&6
23650else
23651  case $ac_pt_PKG_CONFIG in
23652  [\\/]* | ?:[\\/]*)
23653  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
23654  ;;
23655  *)
23656  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23657for as_dir in $PATH
23658do
23659  IFS=$as_save_IFS
23660  test -z "$as_dir" && as_dir=.
23661  for ac_exec_ext in '' $ac_executable_extensions; do
23662  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23663    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23664    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23665    break 2
23666  fi
23667done
23668done
23669IFS=$as_save_IFS
23670
23671  ;;
23672esac
23673fi
23674ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
23675if test -n "$ac_pt_PKG_CONFIG"; then
23676  { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
23677echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
23678else
23679  { echo "$as_me:$LINENO: result: no" >&5
23680echo "${ECHO_T}no" >&6; }
23681fi
23682
23683  if test "x$ac_pt_PKG_CONFIG" = x; then
23684    PKG_CONFIG=""
23685  else
23686    case $cross_compiling:$ac_tool_warned in
23687yes:)
23688{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
23689whose name does not start with the host triplet.  If you think this
23690configuration is useful to you, please write to autoconf@gnu.org." >&5
23691echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
23692whose name does not start with the host triplet.  If you think this
23693configuration is useful to you, please write to autoconf@gnu.org." >&2;}
23694ac_tool_warned=yes ;;
23695esac
23696    PKG_CONFIG=$ac_pt_PKG_CONFIG
23697  fi
23698else
23699  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
23700fi
23701
23702fi
23703if test -n "$PKG_CONFIG"; then
23704	_pkg_min_version=0.9.0
23705	{ echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
23706echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
23707	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
23708		{ echo "$as_me:$LINENO: result: yes" >&5
23709echo "${ECHO_T}yes" >&6; }
23710	else
23711		{ echo "$as_me:$LINENO: result: no" >&5
23712echo "${ECHO_T}no" >&6; }
23713		PKG_CONFIG=""
23714	fi
23715
23716fi
23717
23718
23719pkg_failed=no
23720{ echo "$as_me:$LINENO: checking for GLIB" >&5
23721echo $ECHO_N "checking for GLIB... $ECHO_C" >&6; }
23722
23723if test -n "$PKG_CONFIG"; then
23724    if test -n "$GLIB_CFLAGS"; then
23725        pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
23726    else
23727        if test -n "$PKG_CONFIG" && \
23728    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.8.0 gobject-2.0 gthread-2.0 gmodule-2.0\"") >&5
23729  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.8.0 gobject-2.0 gthread-2.0 gmodule-2.0") 2>&5
23730  ac_status=$?
23731  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23732  (exit $ac_status); }; then
23733  pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.8.0 gobject-2.0 gthread-2.0 gmodule-2.0" 2>/dev/null`
23734else
23735  pkg_failed=yes
23736fi
23737    fi
23738else
23739	pkg_failed=untried
23740fi
23741if test -n "$PKG_CONFIG"; then
23742    if test -n "$GLIB_LIBS"; then
23743        pkg_cv_GLIB_LIBS="$GLIB_LIBS"
23744    else
23745        if test -n "$PKG_CONFIG" && \
23746    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.8.0 gobject-2.0 gthread-2.0 gmodule-2.0\"") >&5
23747  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.8.0 gobject-2.0 gthread-2.0 gmodule-2.0") 2>&5
23748  ac_status=$?
23749  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23750  (exit $ac_status); }; then
23751  pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.8.0 gobject-2.0 gthread-2.0 gmodule-2.0" 2>/dev/null`
23752else
23753  pkg_failed=yes
23754fi
23755    fi
23756else
23757	pkg_failed=untried
23758fi
23759
23760
23761
23762if test $pkg_failed = yes; then
23763
23764if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23765        _pkg_short_errors_supported=yes
23766else
23767        _pkg_short_errors_supported=no
23768fi
23769        if test $_pkg_short_errors_supported = yes; then
23770	        GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0 >= 2.8.0 gobject-2.0 gthread-2.0 gmodule-2.0"`
23771        else
23772	        GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 2.8.0 gobject-2.0 gthread-2.0 gmodule-2.0"`
23773        fi
23774	# Put the nasty error message in config.log where it belongs
23775	echo "$GLIB_PKG_ERRORS" >&5
23776
23777	{ { echo "$as_me:$LINENO: error: Package requirements (glib-2.0 >= 2.8.0 gobject-2.0 gthread-2.0 gmodule-2.0) were not met:
23778
23779$GLIB_PKG_ERRORS
23780
23781Consider adjusting the PKG_CONFIG_PATH environment variable if you
23782installed software in a non-standard prefix.
23783
23784Alternatively, you may set the environment variables GLIB_CFLAGS
23785and GLIB_LIBS to avoid the need to call pkg-config.
23786See the pkg-config man page for more details.
23787" >&5
23788echo "$as_me: error: Package requirements (glib-2.0 >= 2.8.0 gobject-2.0 gthread-2.0 gmodule-2.0) were not met:
23789
23790$GLIB_PKG_ERRORS
23791
23792Consider adjusting the PKG_CONFIG_PATH environment variable if you
23793installed software in a non-standard prefix.
23794
23795Alternatively, you may set the environment variables GLIB_CFLAGS
23796and GLIB_LIBS to avoid the need to call pkg-config.
23797See the pkg-config man page for more details.
23798" >&2;}
23799   { (exit 1); exit 1; }; }
23800elif test $pkg_failed = untried; then
23801	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
23802is in your PATH or set the PKG_CONFIG environment variable to the full
23803path to pkg-config.
23804
23805Alternatively, you may set the environment variables GLIB_CFLAGS
23806and GLIB_LIBS to avoid the need to call pkg-config.
23807See the pkg-config man page for more details.
23808
23809To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23810See \`config.log' for more details." >&5
23811echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
23812is in your PATH or set the PKG_CONFIG environment variable to the full
23813path to pkg-config.
23814
23815Alternatively, you may set the environment variables GLIB_CFLAGS
23816and GLIB_LIBS to avoid the need to call pkg-config.
23817See the pkg-config man page for more details.
23818
23819To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23820See \`config.log' for more details." >&2;}
23821   { (exit 1); exit 1; }; }
23822else
23823	GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
23824	GLIB_LIBS=$pkg_cv_GLIB_LIBS
23825        { echo "$as_me:$LINENO: result: yes" >&5
23826echo "${ECHO_T}yes" >&6; }
23827	:
23828fi
23829
23830
23831pkg_failed=no
23832{ echo "$as_me:$LINENO: checking for GTK" >&5
23833echo $ECHO_N "checking for GTK... $ECHO_C" >&6; }
23834
23835if test -n "$PKG_CONFIG"; then
23836    if test -n "$GTK_CFLAGS"; then
23837        pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
23838    else
23839        if test -n "$PKG_CONFIG" && \
23840    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.10.0\"") >&5
23841  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.10.0") 2>&5
23842  ac_status=$?
23843  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23844  (exit $ac_status); }; then
23845  pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.10.0" 2>/dev/null`
23846else
23847  pkg_failed=yes
23848fi
23849    fi
23850else
23851	pkg_failed=untried
23852fi
23853if test -n "$PKG_CONFIG"; then
23854    if test -n "$GTK_LIBS"; then
23855        pkg_cv_GTK_LIBS="$GTK_LIBS"
23856    else
23857        if test -n "$PKG_CONFIG" && \
23858    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.10.0\"") >&5
23859  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.10.0") 2>&5
23860  ac_status=$?
23861  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23862  (exit $ac_status); }; then
23863  pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.10.0" 2>/dev/null`
23864else
23865  pkg_failed=yes
23866fi
23867    fi
23868else
23869	pkg_failed=untried
23870fi
23871
23872
23873
23874if test $pkg_failed = yes; then
23875
23876if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23877        _pkg_short_errors_supported=yes
23878else
23879        _pkg_short_errors_supported=no
23880fi
23881        if test $_pkg_short_errors_supported = yes; then
23882	        GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-2.0 >= 2.10.0"`
23883        else
23884	        GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.10.0"`
23885        fi
23886	# Put the nasty error message in config.log where it belongs
23887	echo "$GTK_PKG_ERRORS" >&5
23888
23889	{ { echo "$as_me:$LINENO: error: Package requirements (gtk+-2.0 >= 2.10.0) were not met:
23890
23891$GTK_PKG_ERRORS
23892
23893Consider adjusting the PKG_CONFIG_PATH environment variable if you
23894installed software in a non-standard prefix.
23895
23896Alternatively, you may set the environment variables GTK_CFLAGS
23897and GTK_LIBS to avoid the need to call pkg-config.
23898See the pkg-config man page for more details.
23899" >&5
23900echo "$as_me: error: Package requirements (gtk+-2.0 >= 2.10.0) were not met:
23901
23902$GTK_PKG_ERRORS
23903
23904Consider adjusting the PKG_CONFIG_PATH environment variable if you
23905installed software in a non-standard prefix.
23906
23907Alternatively, you may set the environment variables GTK_CFLAGS
23908and GTK_LIBS to avoid the need to call pkg-config.
23909See the pkg-config man page for more details.
23910" >&2;}
23911   { (exit 1); exit 1; }; }
23912elif test $pkg_failed = untried; then
23913	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
23914is in your PATH or set the PKG_CONFIG environment variable to the full
23915path to pkg-config.
23916
23917Alternatively, you may set the environment variables GTK_CFLAGS
23918and GTK_LIBS to avoid the need to call pkg-config.
23919See the pkg-config man page for more details.
23920
23921To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23922See \`config.log' for more details." >&5
23923echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
23924is in your PATH or set the PKG_CONFIG environment variable to the full
23925path to pkg-config.
23926
23927Alternatively, you may set the environment variables GTK_CFLAGS
23928and GTK_LIBS to avoid the need to call pkg-config.
23929See the pkg-config man page for more details.
23930
23931To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23932See \`config.log' for more details." >&2;}
23933   { (exit 1); exit 1; }; }
23934else
23935	GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
23936	GTK_LIBS=$pkg_cv_GTK_LIBS
23937        { echo "$as_me:$LINENO: result: yes" >&5
23938echo "${ECHO_T}yes" >&6; }
23939	:
23940fi
23941
23942
23943pkg_failed=no
23944{ echo "$as_me:$LINENO: checking for GTK_DEP" >&5
23945echo $ECHO_N "checking for GTK_DEP... $ECHO_C" >&6; }
23946
23947if test -n "$PKG_CONFIG"; then
23948    if test -n "$GTK_DEP_CFLAGS"; then
23949        pkg_cv_GTK_DEP_CFLAGS="$GTK_DEP_CFLAGS"
23950    else
23951        if test -n "$PKG_CONFIG" && \
23952    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo >= 1.2.0
23953         pango >= 1.10.0
23954	 pangocairo >= 1.10.0
23955	 libglade-2.0 >= 2.6.0
23956	 librsvg-2.0 >= 2.14.0\"") >&5
23957  ($PKG_CONFIG --exists --print-errors "cairo >= 1.2.0
23958         pango >= 1.10.0
23959	 pangocairo >= 1.10.0
23960	 libglade-2.0 >= 2.6.0
23961	 librsvg-2.0 >= 2.14.0") 2>&5
23962  ac_status=$?
23963  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23964  (exit $ac_status); }; then
23965  pkg_cv_GTK_DEP_CFLAGS=`$PKG_CONFIG --cflags "cairo >= 1.2.0
23966         pango >= 1.10.0
23967	 pangocairo >= 1.10.0
23968	 libglade-2.0 >= 2.6.0
23969	 librsvg-2.0 >= 2.14.0" 2>/dev/null`
23970else
23971  pkg_failed=yes
23972fi
23973    fi
23974else
23975	pkg_failed=untried
23976fi
23977if test -n "$PKG_CONFIG"; then
23978    if test -n "$GTK_DEP_LIBS"; then
23979        pkg_cv_GTK_DEP_LIBS="$GTK_DEP_LIBS"
23980    else
23981        if test -n "$PKG_CONFIG" && \
23982    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo >= 1.2.0
23983         pango >= 1.10.0
23984	 pangocairo >= 1.10.0
23985	 libglade-2.0 >= 2.6.0
23986	 librsvg-2.0 >= 2.14.0\"") >&5
23987  ($PKG_CONFIG --exists --print-errors "cairo >= 1.2.0
23988         pango >= 1.10.0
23989	 pangocairo >= 1.10.0
23990	 libglade-2.0 >= 2.6.0
23991	 librsvg-2.0 >= 2.14.0") 2>&5
23992  ac_status=$?
23993  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23994  (exit $ac_status); }; then
23995  pkg_cv_GTK_DEP_LIBS=`$PKG_CONFIG --libs "cairo >= 1.2.0
23996         pango >= 1.10.0
23997	 pangocairo >= 1.10.0
23998	 libglade-2.0 >= 2.6.0
23999	 librsvg-2.0 >= 2.14.0" 2>/dev/null`
24000else
24001  pkg_failed=yes
24002fi
24003    fi
24004else
24005	pkg_failed=untried
24006fi
24007
24008
24009
24010if test $pkg_failed = yes; then
24011
24012if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24013        _pkg_short_errors_supported=yes
24014else
24015        _pkg_short_errors_supported=no
24016fi
24017        if test $_pkg_short_errors_supported = yes; then
24018	        GTK_DEP_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo >= 1.2.0
24019         pango >= 1.10.0
24020	 pangocairo >= 1.10.0
24021	 libglade-2.0 >= 2.6.0
24022	 librsvg-2.0 >= 2.14.0"`
24023        else
24024	        GTK_DEP_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo >= 1.2.0
24025         pango >= 1.10.0
24026	 pangocairo >= 1.10.0
24027	 libglade-2.0 >= 2.6.0
24028	 librsvg-2.0 >= 2.14.0"`
24029        fi
24030	# Put the nasty error message in config.log where it belongs
24031	echo "$GTK_DEP_PKG_ERRORS" >&5
24032
24033	{ { echo "$as_me:$LINENO: error: Package requirements (cairo >= 1.2.0
24034         pango >= 1.10.0
24035	 pangocairo >= 1.10.0
24036	 libglade-2.0 >= 2.6.0
24037	 librsvg-2.0 >= 2.14.0) were not met:
24038
24039$GTK_DEP_PKG_ERRORS
24040
24041Consider adjusting the PKG_CONFIG_PATH environment variable if you
24042installed software in a non-standard prefix.
24043
24044Alternatively, you may set the environment variables GTK_DEP_CFLAGS
24045and GTK_DEP_LIBS to avoid the need to call pkg-config.
24046See the pkg-config man page for more details.
24047" >&5
24048echo "$as_me: error: Package requirements (cairo >= 1.2.0
24049         pango >= 1.10.0
24050	 pangocairo >= 1.10.0
24051	 libglade-2.0 >= 2.6.0
24052	 librsvg-2.0 >= 2.14.0) were not met:
24053
24054$GTK_DEP_PKG_ERRORS
24055
24056Consider adjusting the PKG_CONFIG_PATH environment variable if you
24057installed software in a non-standard prefix.
24058
24059Alternatively, you may set the environment variables GTK_DEP_CFLAGS
24060and GTK_DEP_LIBS to avoid the need to call pkg-config.
24061See the pkg-config man page for more details.
24062" >&2;}
24063   { (exit 1); exit 1; }; }
24064elif test $pkg_failed = untried; then
24065	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
24066is in your PATH or set the PKG_CONFIG environment variable to the full
24067path to pkg-config.
24068
24069Alternatively, you may set the environment variables GTK_DEP_CFLAGS
24070and GTK_DEP_LIBS to avoid the need to call pkg-config.
24071See the pkg-config man page for more details.
24072
24073To get pkg-config, see <http://pkg-config.freedesktop.org/>.
24074See \`config.log' for more details." >&5
24075echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
24076is in your PATH or set the PKG_CONFIG environment variable to the full
24077path to pkg-config.
24078
24079Alternatively, you may set the environment variables GTK_DEP_CFLAGS
24080and GTK_DEP_LIBS to avoid the need to call pkg-config.
24081See the pkg-config man page for more details.
24082
24083To get pkg-config, see <http://pkg-config.freedesktop.org/>.
24084See \`config.log' for more details." >&2;}
24085   { (exit 1); exit 1; }; }
24086else
24087	GTK_DEP_CFLAGS=$pkg_cv_GTK_DEP_CFLAGS
24088	GTK_DEP_LIBS=$pkg_cv_GTK_DEP_LIBS
24089        { echo "$as_me:$LINENO: result: yes" >&5
24090echo "${ECHO_T}yes" >&6; }
24091	:
24092fi
24093
24094CLOCK_DEFINES='-DDATA_DIR="\"$(datadir)\"" -DPKGDATA_DIR="\"$(pkgdatadir)\""'
24095
24096
24097CFLAGS="$CFLAGS -Wall -pedantic -std=c99 -fno-strict-aliasing -fmessage-length=0 -D_FORTIFY_SOURCE=2"
24098
24099ac_config_files="$ac_config_files Makefile desktop/Makefile pixmaps/Makefile glade/Makefile src/Makefile man/Makefile po/Makefile.in themes/Makefile themes/fdo/Makefile themes/simple/Makefile themes/default/Makefile themes/glassy/Makefile themes/gremlin/Makefile themes/gremlin-24/Makefile themes/zen/Makefile themes/antique/Makefile themes/radium/Makefile themes/funky/Makefile themes/default-24/Makefile themes/ipulse/Makefile themes/ipulse-24/Makefile themes/quartz-24/Makefile themes/radium-24/Makefile themes/silvia/Makefile themes/silvia-24/Makefile themes/simple-24/Makefile themes/tango/Makefile"
24100
24101
24102cat >confcache <<\_ACEOF
24103# This file is a shell script that caches the results of configure
24104# tests run on this system so they can be shared between configure
24105# scripts and configure runs, see configure's option --config-cache.
24106# It is not useful on other systems.  If it contains results you don't
24107# want to keep, you may remove or edit it.
24108#
24109# config.status only pays attention to the cache file if you give it
24110# the --recheck option to rerun configure.
24111#
24112# `ac_cv_env_foo' variables (set or unset) will be overridden when
24113# loading this file, other *unset* `ac_cv_foo' will be assigned the
24114# following values.
24115
24116_ACEOF
24117
24118# The following way of writing the cache mishandles newlines in values,
24119# but we know of no workaround that is simple, portable, and efficient.
24120# So, we kill variables containing newlines.
24121# Ultrix sh set writes to stderr and can't be redirected directly,
24122# and sets the high bit in the cache file unless we assign to the vars.
24123(
24124  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24125    eval ac_val=\$$ac_var
24126    case $ac_val in #(
24127    *${as_nl}*)
24128      case $ac_var in #(
24129      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
24130echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
24131      esac
24132      case $ac_var in #(
24133      _ | IFS | as_nl) ;; #(
24134      *) $as_unset $ac_var ;;
24135      esac ;;
24136    esac
24137  done
24138
24139  (set) 2>&1 |
24140    case $as_nl`(ac_space=' '; set) 2>&1` in #(
24141    *${as_nl}ac_space=\ *)
24142      # `set' does not quote correctly, so add quotes (double-quote
24143      # substitution turns \\\\ into \\, and sed turns \\ into \).
24144      sed -n \
24145	"s/'/'\\\\''/g;
24146	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24147      ;; #(
24148    *)
24149      # `set' quotes correctly as required by POSIX, so do not add quotes.
24150      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24151      ;;
24152    esac |
24153    sort
24154) |
24155  sed '
24156     /^ac_cv_env_/b end
24157     t clear
24158     :clear
24159     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24160     t end
24161     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24162     :end' >>confcache
24163if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
24164  if test -w "$cache_file"; then
24165    test "x$cache_file" != "x/dev/null" &&
24166      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
24167echo "$as_me: updating cache $cache_file" >&6;}
24168    cat confcache >$cache_file
24169  else
24170    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
24171echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24172  fi
24173fi
24174rm -f confcache
24175
24176test "x$prefix" = xNONE && prefix=$ac_default_prefix
24177# Let make expand exec_prefix.
24178test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
24179
24180DEFS=-DHAVE_CONFIG_H
24181
24182ac_libobjs=
24183ac_ltlibobjs=
24184for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
24185  # 1. Remove the extension, and $U if already installed.
24186  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
24187  ac_i=`echo "$ac_i" | sed "$ac_script"`
24188  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
24189  #    will be set to the directory where LIBOBJS objects are built.
24190  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
24191  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
24192done
24193LIBOBJS=$ac_libobjs
24194
24195LTLIBOBJS=$ac_ltlibobjs
24196
24197
24198if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
24199  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
24200Usually this means the macro was only invoked conditionally." >&5
24201echo "$as_me: error: conditional \"AMDEP\" was never defined.
24202Usually this means the macro was only invoked conditionally." >&2;}
24203   { (exit 1); exit 1; }; }
24204fi
24205if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
24206  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
24207Usually this means the macro was only invoked conditionally." >&5
24208echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
24209Usually this means the macro was only invoked conditionally." >&2;}
24210   { (exit 1); exit 1; }; }
24211fi
24212
24213  ac_config_commands="$ac_config_commands po/stamp-it"
24214
24215
24216if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
24217  { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
24218Usually this means the macro was only invoked conditionally." >&5
24219echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
24220Usually this means the macro was only invoked conditionally." >&2;}
24221   { (exit 1); exit 1; }; }
24222fi
24223
24224: ${CONFIG_STATUS=./config.status}
24225ac_clean_files_save=$ac_clean_files
24226ac_clean_files="$ac_clean_files $CONFIG_STATUS"
24227{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
24228echo "$as_me: creating $CONFIG_STATUS" >&6;}
24229cat >$CONFIG_STATUS <<_ACEOF
24230#! $SHELL
24231# Generated by $as_me.
24232# Run this file to recreate the current configuration.
24233# Compiler output produced by configure, useful for debugging
24234# configure, is in config.log if it exists.
24235
24236debug=false
24237ac_cs_recheck=false
24238ac_cs_silent=false
24239SHELL=\${CONFIG_SHELL-$SHELL}
24240_ACEOF
24241
24242cat >>$CONFIG_STATUS <<\_ACEOF
24243## --------------------- ##
24244## M4sh Initialization.  ##
24245## --------------------- ##
24246
24247# Be more Bourne compatible
24248DUALCASE=1; export DUALCASE # for MKS sh
24249if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
24250  emulate sh
24251  NULLCMD=:
24252  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
24253  # is contrary to our usage.  Disable this feature.
24254  alias -g '${1+"$@"}'='"$@"'
24255  setopt NO_GLOB_SUBST
24256else
24257  case `(set -o) 2>/dev/null` in
24258  *posix*) set -o posix ;;
24259esac
24260
24261fi
24262
24263
24264
24265
24266# PATH needs CR
24267# Avoid depending upon Character Ranges.
24268as_cr_letters='abcdefghijklmnopqrstuvwxyz'
24269as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
24270as_cr_Letters=$as_cr_letters$as_cr_LETTERS
24271as_cr_digits='0123456789'
24272as_cr_alnum=$as_cr_Letters$as_cr_digits
24273
24274# The user is always right.
24275if test "${PATH_SEPARATOR+set}" != set; then
24276  echo "#! /bin/sh" >conf$$.sh
24277  echo  "exit 0"   >>conf$$.sh
24278  chmod +x conf$$.sh
24279  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
24280    PATH_SEPARATOR=';'
24281  else
24282    PATH_SEPARATOR=:
24283  fi
24284  rm -f conf$$.sh
24285fi
24286
24287# Support unset when possible.
24288if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
24289  as_unset=unset
24290else
24291  as_unset=false
24292fi
24293
24294
24295# IFS
24296# We need space, tab and new line, in precisely that order.  Quoting is
24297# there to prevent editors from complaining about space-tab.
24298# (If _AS_PATH_WALK were called with IFS unset, it would disable word
24299# splitting by setting IFS to empty value.)
24300as_nl='
24301'
24302IFS=" ""	$as_nl"
24303
24304# Find who we are.  Look in the path if we contain no directory separator.
24305case $0 in
24306  *[\\/]* ) as_myself=$0 ;;
24307  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24308for as_dir in $PATH
24309do
24310  IFS=$as_save_IFS
24311  test -z "$as_dir" && as_dir=.
24312  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
24313done
24314IFS=$as_save_IFS
24315
24316     ;;
24317esac
24318# We did not find ourselves, most probably we were run as `sh COMMAND'
24319# in which case we are not to be found in the path.
24320if test "x$as_myself" = x; then
24321  as_myself=$0
24322fi
24323if test ! -f "$as_myself"; then
24324  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
24325  { (exit 1); exit 1; }
24326fi
24327
24328# Work around bugs in pre-3.0 UWIN ksh.
24329for as_var in ENV MAIL MAILPATH
24330do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
24331done
24332PS1='$ '
24333PS2='> '
24334PS4='+ '
24335
24336# NLS nuisances.
24337for as_var in \
24338  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
24339  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
24340  LC_TELEPHONE LC_TIME
24341do
24342  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
24343    eval $as_var=C; export $as_var
24344  else
24345    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
24346  fi
24347done
24348
24349# Required to use basename.
24350if expr a : '\(a\)' >/dev/null 2>&1 &&
24351   test "X`expr 00001 : '.*\(...\)'`" = X001; then
24352  as_expr=expr
24353else
24354  as_expr=false
24355fi
24356
24357if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
24358  as_basename=basename
24359else
24360  as_basename=false
24361fi
24362
24363
24364# Name of the executable.
24365as_me=`$as_basename -- "$0" ||
24366$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
24367	 X"$0" : 'X\(//\)$' \| \
24368	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
24369echo X/"$0" |
24370    sed '/^.*\/\([^/][^/]*\)\/*$/{
24371	    s//\1/
24372	    q
24373	  }
24374	  /^X\/\(\/\/\)$/{
24375	    s//\1/
24376	    q
24377	  }
24378	  /^X\/\(\/\).*/{
24379	    s//\1/
24380	    q
24381	  }
24382	  s/.*/./; q'`
24383
24384# CDPATH.
24385$as_unset CDPATH
24386
24387
24388
24389  as_lineno_1=$LINENO
24390  as_lineno_2=$LINENO
24391  test "x$as_lineno_1" != "x$as_lineno_2" &&
24392  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
24393
24394  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
24395  # uniformly replaced by the line number.  The first 'sed' inserts a
24396  # line-number line after each line using $LINENO; the second 'sed'
24397  # does the real work.  The second script uses 'N' to pair each
24398  # line-number line with the line containing $LINENO, and appends
24399  # trailing '-' during substitution so that $LINENO is not a special
24400  # case at line end.
24401  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
24402  # scripts with optimization help from Paolo Bonzini.  Blame Lee
24403  # E. McMahon (1931-1989) for sed's syntax.  :-)
24404  sed -n '
24405    p
24406    /[$]LINENO/=
24407  ' <$as_myself |
24408    sed '
24409      s/[$]LINENO.*/&-/
24410      t lineno
24411      b
24412      :lineno
24413      N
24414      :loop
24415      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
24416      t loop
24417      s/-\n.*//
24418    ' >$as_me.lineno &&
24419  chmod +x "$as_me.lineno" ||
24420    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
24421   { (exit 1); exit 1; }; }
24422
24423  # Don't try to exec as it changes $[0], causing all sort of problems
24424  # (the dirname of $[0] is not the place where we might find the
24425  # original and so on.  Autoconf is especially sensitive to this).
24426  . "./$as_me.lineno"
24427  # Exit status is that of the last command.
24428  exit
24429}
24430
24431
24432if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
24433  as_dirname=dirname
24434else
24435  as_dirname=false
24436fi
24437
24438ECHO_C= ECHO_N= ECHO_T=
24439case `echo -n x` in
24440-n*)
24441  case `echo 'x\c'` in
24442  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
24443  *)   ECHO_C='\c';;
24444  esac;;
24445*)
24446  ECHO_N='-n';;
24447esac
24448
24449if expr a : '\(a\)' >/dev/null 2>&1 &&
24450   test "X`expr 00001 : '.*\(...\)'`" = X001; then
24451  as_expr=expr
24452else
24453  as_expr=false
24454fi
24455
24456rm -f conf$$ conf$$.exe conf$$.file
24457if test -d conf$$.dir; then
24458  rm -f conf$$.dir/conf$$.file
24459else
24460  rm -f conf$$.dir
24461  mkdir conf$$.dir
24462fi
24463echo >conf$$.file
24464if ln -s conf$$.file conf$$ 2>/dev/null; then
24465  as_ln_s='ln -s'
24466  # ... but there are two gotchas:
24467  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
24468  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
24469  # In both cases, we have to default to `cp -p'.
24470  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
24471    as_ln_s='cp -p'
24472elif ln conf$$.file conf$$ 2>/dev/null; then
24473  as_ln_s=ln
24474else
24475  as_ln_s='cp -p'
24476fi
24477rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
24478rmdir conf$$.dir 2>/dev/null
24479
24480if mkdir -p . 2>/dev/null; then
24481  as_mkdir_p=:
24482else
24483  test -d ./-p && rmdir ./-p
24484  as_mkdir_p=false
24485fi
24486
24487if test -x / >/dev/null 2>&1; then
24488  as_test_x='test -x'
24489else
24490  if ls -dL / >/dev/null 2>&1; then
24491    as_ls_L_option=L
24492  else
24493    as_ls_L_option=
24494  fi
24495  as_test_x='
24496    eval sh -c '\''
24497      if test -d "$1"; then
24498        test -d "$1/.";
24499      else
24500	case $1 in
24501        -*)set "./$1";;
24502	esac;
24503	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
24504	???[sx]*):;;*)false;;esac;fi
24505    '\'' sh
24506  '
24507fi
24508as_executable_p=$as_test_x
24509
24510# Sed expression to map a string onto a valid CPP name.
24511as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
24512
24513# Sed expression to map a string onto a valid variable name.
24514as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
24515
24516
24517exec 6>&1
24518
24519# Save the log message, to keep $[0] and so on meaningful, and to
24520# report actual input values of CONFIG_FILES etc. instead of their
24521# values after options handling.
24522ac_log="
24523This file was extended by cairo-clock $as_me 0.3.4, which was
24524generated by GNU Autoconf 2.61.  Invocation command line was
24525
24526  CONFIG_FILES    = $CONFIG_FILES
24527  CONFIG_HEADERS  = $CONFIG_HEADERS
24528  CONFIG_LINKS    = $CONFIG_LINKS
24529  CONFIG_COMMANDS = $CONFIG_COMMANDS
24530  $ $0 $@
24531
24532on `(hostname || uname -n) 2>/dev/null | sed 1q`
24533"
24534
24535_ACEOF
24536
24537cat >>$CONFIG_STATUS <<_ACEOF
24538# Files that config.status was made for.
24539config_files="$ac_config_files"
24540config_headers="$ac_config_headers"
24541config_commands="$ac_config_commands"
24542
24543_ACEOF
24544
24545cat >>$CONFIG_STATUS <<\_ACEOF
24546ac_cs_usage="\
24547\`$as_me' instantiates files from templates according to the
24548current configuration.
24549
24550Usage: $0 [OPTIONS] [FILE]...
24551
24552  -h, --help       print this help, then exit
24553  -V, --version    print version number and configuration settings, then exit
24554  -q, --quiet      do not print progress messages
24555  -d, --debug      don't remove temporary files
24556      --recheck    update $as_me by reconfiguring in the same conditions
24557  --file=FILE[:TEMPLATE]
24558		   instantiate the configuration file FILE
24559  --header=FILE[:TEMPLATE]
24560		   instantiate the configuration header FILE
24561
24562Configuration files:
24563$config_files
24564
24565Configuration headers:
24566$config_headers
24567
24568Configuration commands:
24569$config_commands
24570
24571Report bugs to <bug-autoconf@gnu.org>."
24572
24573_ACEOF
24574cat >>$CONFIG_STATUS <<_ACEOF
24575ac_cs_version="\\
24576cairo-clock config.status 0.3.4
24577configured by $0, generated by GNU Autoconf 2.61,
24578  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
24579
24580Copyright (C) 2006 Free Software Foundation, Inc.
24581This config.status script is free software; the Free Software Foundation
24582gives unlimited permission to copy, distribute and modify it."
24583
24584ac_pwd='$ac_pwd'
24585srcdir='$srcdir'
24586INSTALL='$INSTALL'
24587MKDIR_P='$MKDIR_P'
24588_ACEOF
24589
24590cat >>$CONFIG_STATUS <<\_ACEOF
24591# If no file are specified by the user, then we need to provide default
24592# value.  By we need to know if files were specified by the user.
24593ac_need_defaults=:
24594while test $# != 0
24595do
24596  case $1 in
24597  --*=*)
24598    ac_option=`expr "X$1" : 'X\([^=]*\)='`
24599    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
24600    ac_shift=:
24601    ;;
24602  *)
24603    ac_option=$1
24604    ac_optarg=$2
24605    ac_shift=shift
24606    ;;
24607  esac
24608
24609  case $ac_option in
24610  # Handling of the options.
24611  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
24612    ac_cs_recheck=: ;;
24613  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
24614    echo "$ac_cs_version"; exit ;;
24615  --debug | --debu | --deb | --de | --d | -d )
24616    debug=: ;;
24617  --file | --fil | --fi | --f )
24618    $ac_shift
24619    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
24620    ac_need_defaults=false;;
24621  --header | --heade | --head | --hea )
24622    $ac_shift
24623    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
24624    ac_need_defaults=false;;
24625  --he | --h)
24626    # Conflict between --help and --header
24627    { echo "$as_me: error: ambiguous option: $1
24628Try \`$0 --help' for more information." >&2
24629   { (exit 1); exit 1; }; };;
24630  --help | --hel | -h )
24631    echo "$ac_cs_usage"; exit ;;
24632  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
24633  | -silent | --silent | --silen | --sile | --sil | --si | --s)
24634    ac_cs_silent=: ;;
24635
24636  # This is an error.
24637  -*) { echo "$as_me: error: unrecognized option: $1
24638Try \`$0 --help' for more information." >&2
24639   { (exit 1); exit 1; }; } ;;
24640
24641  *) ac_config_targets="$ac_config_targets $1"
24642     ac_need_defaults=false ;;
24643
24644  esac
24645  shift
24646done
24647
24648ac_configure_extra_args=
24649
24650if $ac_cs_silent; then
24651  exec 6>/dev/null
24652  ac_configure_extra_args="$ac_configure_extra_args --silent"
24653fi
24654
24655_ACEOF
24656cat >>$CONFIG_STATUS <<_ACEOF
24657if \$ac_cs_recheck; then
24658  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
24659  CONFIG_SHELL=$SHELL
24660  export CONFIG_SHELL
24661  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
24662fi
24663
24664_ACEOF
24665cat >>$CONFIG_STATUS <<\_ACEOF
24666exec 5>>config.log
24667{
24668  echo
24669  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
24670## Running $as_me. ##
24671_ASBOX
24672  echo "$ac_log"
24673} >&5
24674
24675_ACEOF
24676cat >>$CONFIG_STATUS <<_ACEOF
24677#
24678# INIT-COMMANDS
24679#
24680AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
24681INTLTOOL_PERL='${INTLTOOL_PERL}' ac_aux_dir='${ac_aux_dir}'
24682prefix="$prefix" exec_prefix="$exec_prefix" INTLTOOL_LIBDIR="$libdir"
24683INTLTOOL_EXTRACT='${INTLTOOL_EXTRACT}'
24684
24685
24686_ACEOF
24687
24688cat >>$CONFIG_STATUS <<\_ACEOF
24689
24690# Handling of arguments.
24691for ac_config_target in $ac_config_targets
24692do
24693  case $ac_config_target in
24694    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
24695    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
24696    "intltool") CONFIG_COMMANDS="$CONFIG_COMMANDS intltool" ;;
24697    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
24698    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
24699    "desktop/Makefile") CONFIG_FILES="$CONFIG_FILES desktop/Makefile" ;;
24700    "pixmaps/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/Makefile" ;;
24701    "glade/Makefile") CONFIG_FILES="$CONFIG_FILES glade/Makefile" ;;
24702    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
24703    "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
24704    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
24705    "themes/Makefile") CONFIG_FILES="$CONFIG_FILES themes/Makefile" ;;
24706    "themes/fdo/Makefile") CONFIG_FILES="$CONFIG_FILES themes/fdo/Makefile" ;;
24707    "themes/simple/Makefile") CONFIG_FILES="$CONFIG_FILES themes/simple/Makefile" ;;
24708    "themes/default/Makefile") CONFIG_FILES="$CONFIG_FILES themes/default/Makefile" ;;
24709    "themes/glassy/Makefile") CONFIG_FILES="$CONFIG_FILES themes/glassy/Makefile" ;;
24710    "themes/gremlin/Makefile") CONFIG_FILES="$CONFIG_FILES themes/gremlin/Makefile" ;;
24711    "themes/gremlin-24/Makefile") CONFIG_FILES="$CONFIG_FILES themes/gremlin-24/Makefile" ;;
24712    "themes/zen/Makefile") CONFIG_FILES="$CONFIG_FILES themes/zen/Makefile" ;;
24713    "themes/antique/Makefile") CONFIG_FILES="$CONFIG_FILES themes/antique/Makefile" ;;
24714    "themes/radium/Makefile") CONFIG_FILES="$CONFIG_FILES themes/radium/Makefile" ;;
24715    "themes/funky/Makefile") CONFIG_FILES="$CONFIG_FILES themes/funky/Makefile" ;;
24716    "themes/default-24/Makefile") CONFIG_FILES="$CONFIG_FILES themes/default-24/Makefile" ;;
24717    "themes/ipulse/Makefile") CONFIG_FILES="$CONFIG_FILES themes/ipulse/Makefile" ;;
24718    "themes/ipulse-24/Makefile") CONFIG_FILES="$CONFIG_FILES themes/ipulse-24/Makefile" ;;
24719    "themes/quartz-24/Makefile") CONFIG_FILES="$CONFIG_FILES themes/quartz-24/Makefile" ;;
24720    "themes/radium-24/Makefile") CONFIG_FILES="$CONFIG_FILES themes/radium-24/Makefile" ;;
24721    "themes/silvia/Makefile") CONFIG_FILES="$CONFIG_FILES themes/silvia/Makefile" ;;
24722    "themes/silvia-24/Makefile") CONFIG_FILES="$CONFIG_FILES themes/silvia-24/Makefile" ;;
24723    "themes/simple-24/Makefile") CONFIG_FILES="$CONFIG_FILES themes/simple-24/Makefile" ;;
24724    "themes/tango/Makefile") CONFIG_FILES="$CONFIG_FILES themes/tango/Makefile" ;;
24725    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
24726
24727  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
24728echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
24729   { (exit 1); exit 1; }; };;
24730  esac
24731done
24732
24733
24734# If the user did not use the arguments to specify the items to instantiate,
24735# then the envvar interface is used.  Set only those that are not.
24736# We use the long form for the default assignment because of an extremely
24737# bizarre bug on SunOS 4.1.3.
24738if $ac_need_defaults; then
24739  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
24740  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
24741  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
24742fi
24743
24744# Have a temporary directory for convenience.  Make it in the build tree
24745# simply because there is no reason against having it here, and in addition,
24746# creating and moving files from /tmp can sometimes cause problems.
24747# Hook for its removal unless debugging.
24748# Note that there is a small window in which the directory will not be cleaned:
24749# after its creation but before its name has been assigned to `$tmp'.
24750$debug ||
24751{
24752  tmp=
24753  trap 'exit_status=$?
24754  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
24755' 0
24756  trap '{ (exit 1); exit 1; }' 1 2 13 15
24757}
24758# Create a (secure) tmp directory for tmp files.
24759
24760{
24761  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
24762  test -n "$tmp" && test -d "$tmp"
24763}  ||
24764{
24765  tmp=./conf$$-$RANDOM
24766  (umask 077 && mkdir "$tmp")
24767} ||
24768{
24769   echo "$me: cannot create a temporary directory in ." >&2
24770   { (exit 1); exit 1; }
24771}
24772
24773#
24774# Set up the sed scripts for CONFIG_FILES section.
24775#
24776
24777# No need to generate the scripts if there are no CONFIG_FILES.
24778# This happens for instance when ./config.status config.h
24779if test -n "$CONFIG_FILES"; then
24780
24781_ACEOF
24782
24783
24784
24785ac_delim='%!_!# '
24786for ac_last_try in false false false false false :; do
24787  cat >conf$$subs.sed <<_ACEOF
24788SHELL!$SHELL$ac_delim
24789PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
24790PACKAGE_NAME!$PACKAGE_NAME$ac_delim
24791PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
24792PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
24793PACKAGE_STRING!$PACKAGE_STRING$ac_delim
24794PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
24795exec_prefix!$exec_prefix$ac_delim
24796prefix!$prefix$ac_delim
24797program_transform_name!$program_transform_name$ac_delim
24798bindir!$bindir$ac_delim
24799sbindir!$sbindir$ac_delim
24800libexecdir!$libexecdir$ac_delim
24801datarootdir!$datarootdir$ac_delim
24802datadir!$datadir$ac_delim
24803sysconfdir!$sysconfdir$ac_delim
24804sharedstatedir!$sharedstatedir$ac_delim
24805localstatedir!$localstatedir$ac_delim
24806includedir!$includedir$ac_delim
24807oldincludedir!$oldincludedir$ac_delim
24808docdir!$docdir$ac_delim
24809infodir!$infodir$ac_delim
24810htmldir!$htmldir$ac_delim
24811dvidir!$dvidir$ac_delim
24812pdfdir!$pdfdir$ac_delim
24813psdir!$psdir$ac_delim
24814libdir!$libdir$ac_delim
24815localedir!$localedir$ac_delim
24816mandir!$mandir$ac_delim
24817DEFS!$DEFS$ac_delim
24818ECHO_C!$ECHO_C$ac_delim
24819ECHO_N!$ECHO_N$ac_delim
24820ECHO_T!$ECHO_T$ac_delim
24821LIBS!$LIBS$ac_delim
24822build_alias!$build_alias$ac_delim
24823host_alias!$host_alias$ac_delim
24824target_alias!$target_alias$ac_delim
24825CAIRO_CLOCK_VERSION_MAJOR!$CAIRO_CLOCK_VERSION_MAJOR$ac_delim
24826CAIRO_CLOCK_VERSION_MINOR!$CAIRO_CLOCK_VERSION_MINOR$ac_delim
24827CAIRO_CLOCK_VERSION_MICRO!$CAIRO_CLOCK_VERSION_MICRO$ac_delim
24828INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
24829INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
24830INSTALL_DATA!$INSTALL_DATA$ac_delim
24831am__isrc!$am__isrc$ac_delim
24832CYGPATH_W!$CYGPATH_W$ac_delim
24833PACKAGE!$PACKAGE$ac_delim
24834VERSION!$VERSION$ac_delim
24835ACLOCAL!$ACLOCAL$ac_delim
24836AUTOCONF!$AUTOCONF$ac_delim
24837AUTOMAKE!$AUTOMAKE$ac_delim
24838AUTOHEADER!$AUTOHEADER$ac_delim
24839MAKEINFO!$MAKEINFO$ac_delim
24840install_sh!$install_sh$ac_delim
24841STRIP!$STRIP$ac_delim
24842INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
24843mkdir_p!$mkdir_p$ac_delim
24844AWK!$AWK$ac_delim
24845SET_MAKE!$SET_MAKE$ac_delim
24846am__leading_dot!$am__leading_dot$ac_delim
24847AMTAR!$AMTAR$ac_delim
24848am__tar!$am__tar$ac_delim
24849am__untar!$am__untar$ac_delim
24850INTLTOOL_DESKTOP_RULE!$INTLTOOL_DESKTOP_RULE$ac_delim
24851INTLTOOL_DIRECTORY_RULE!$INTLTOOL_DIRECTORY_RULE$ac_delim
24852INTLTOOL_KEYS_RULE!$INTLTOOL_KEYS_RULE$ac_delim
24853INTLTOOL_PROP_RULE!$INTLTOOL_PROP_RULE$ac_delim
24854INTLTOOL_OAF_RULE!$INTLTOOL_OAF_RULE$ac_delim
24855INTLTOOL_PONG_RULE!$INTLTOOL_PONG_RULE$ac_delim
24856INTLTOOL_SERVER_RULE!$INTLTOOL_SERVER_RULE$ac_delim
24857INTLTOOL_SHEET_RULE!$INTLTOOL_SHEET_RULE$ac_delim
24858INTLTOOL_SOUNDLIST_RULE!$INTLTOOL_SOUNDLIST_RULE$ac_delim
24859INTLTOOL_UI_RULE!$INTLTOOL_UI_RULE$ac_delim
24860INTLTOOL_XAM_RULE!$INTLTOOL_XAM_RULE$ac_delim
24861INTLTOOL_KBD_RULE!$INTLTOOL_KBD_RULE$ac_delim
24862INTLTOOL_XML_RULE!$INTLTOOL_XML_RULE$ac_delim
24863INTLTOOL_XML_NOMERGE_RULE!$INTLTOOL_XML_NOMERGE_RULE$ac_delim
24864INTLTOOL_CAVES_RULE!$INTLTOOL_CAVES_RULE$ac_delim
24865INTLTOOL_SCHEMAS_RULE!$INTLTOOL_SCHEMAS_RULE$ac_delim
24866INTLTOOL_THEME_RULE!$INTLTOOL_THEME_RULE$ac_delim
24867INTLTOOL_SERVICE_RULE!$INTLTOOL_SERVICE_RULE$ac_delim
24868INTLTOOL_POLICY_RULE!$INTLTOOL_POLICY_RULE$ac_delim
24869XGETTEXT!$XGETTEXT$ac_delim
24870MSGMERGE!$MSGMERGE$ac_delim
24871MSGFMT!$MSGFMT$ac_delim
24872INTLTOOL_EXTRACT!$INTLTOOL_EXTRACT$ac_delim
24873INTLTOOL_MERGE!$INTLTOOL_MERGE$ac_delim
24874INTLTOOL_UPDATE!$INTLTOOL_UPDATE$ac_delim
24875INTLTOOL_PERL!$INTLTOOL_PERL$ac_delim
24876ALL_LINGUAS!$ALL_LINGUAS$ac_delim
24877CC!$CC$ac_delim
24878CFLAGS!$CFLAGS$ac_delim
24879LDFLAGS!$LDFLAGS$ac_delim
24880CPPFLAGS!$CPPFLAGS$ac_delim
24881ac_ct_CC!$ac_ct_CC$ac_delim
24882EXEEXT!$EXEEXT$ac_delim
24883OBJEXT!$OBJEXT$ac_delim
24884DEPDIR!$DEPDIR$ac_delim
24885_ACEOF
24886
24887  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
24888    break
24889  elif $ac_last_try; then
24890    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
24891echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
24892   { (exit 1); exit 1; }; }
24893  else
24894    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
24895  fi
24896done
24897
24898ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
24899if test -n "$ac_eof"; then
24900  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
24901  ac_eof=`expr $ac_eof + 1`
24902fi
24903
24904cat >>$CONFIG_STATUS <<_ACEOF
24905cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
24906/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24907_ACEOF
24908sed '
24909s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
24910s/^/s,@/; s/!/@,|#_!!_#|/
24911:n
24912t n
24913s/'"$ac_delim"'$/,g/; t
24914s/$/\\/; p
24915N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
24916' >>$CONFIG_STATUS <conf$$subs.sed
24917rm -f conf$$subs.sed
24918cat >>$CONFIG_STATUS <<_ACEOF
24919CEOF$ac_eof
24920_ACEOF
24921
24922
24923ac_delim='%!_!# '
24924for ac_last_try in false false false false false :; do
24925  cat >conf$$subs.sed <<_ACEOF
24926am__include!$am__include$ac_delim
24927am__quote!$am__quote$ac_delim
24928AMDEP_TRUE!$AMDEP_TRUE$ac_delim
24929AMDEP_FALSE!$AMDEP_FALSE$ac_delim
24930AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
24931CCDEPMODE!$CCDEPMODE$ac_delim
24932am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
24933am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
24934DATADIRNAME!$DATADIRNAME$ac_delim
24935MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
24936MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
24937MAINT!$MAINT$ac_delim
24938LN_S!$LN_S$ac_delim
24939CPP!$CPP$ac_delim
24940GREP!$GREP$ac_delim
24941EGREP!$EGREP$ac_delim
24942LIBOBJS!$LIBOBJS$ac_delim
24943build!$build$ac_delim
24944build_cpu!$build_cpu$ac_delim
24945build_vendor!$build_vendor$ac_delim
24946build_os!$build_os$ac_delim
24947host!$host$ac_delim
24948host_cpu!$host_cpu$ac_delim
24949host_vendor!$host_vendor$ac_delim
24950host_os!$host_os$ac_delim
24951SED!$SED$ac_delim
24952ECHO!$ECHO$ac_delim
24953AR!$AR$ac_delim
24954RANLIB!$RANLIB$ac_delim
24955DSYMUTIL!$DSYMUTIL$ac_delim
24956NMEDIT!$NMEDIT$ac_delim
24957CXXCPP!$CXXCPP$ac_delim
24958LIBTOOL!$LIBTOOL$ac_delim
24959USE_NLS!$USE_NLS$ac_delim
24960MSGFMT_OPTS!$MSGFMT_OPTS$ac_delim
24961GMSGFMT!$GMSGFMT$ac_delim
24962CATALOGS!$CATALOGS$ac_delim
24963CATOBJEXT!$CATOBJEXT$ac_delim
24964GMOFILES!$GMOFILES$ac_delim
24965INSTOBJEXT!$INSTOBJEXT$ac_delim
24966INTLLIBS!$INTLLIBS$ac_delim
24967PO_IN_DATADIR_TRUE!$PO_IN_DATADIR_TRUE$ac_delim
24968PO_IN_DATADIR_FALSE!$PO_IN_DATADIR_FALSE$ac_delim
24969POFILES!$POFILES$ac_delim
24970POSUB!$POSUB$ac_delim
24971MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim
24972GETTEXT_PACKAGE!$GETTEXT_PACKAGE$ac_delim
24973cairoclocklocaledir!$cairoclocklocaledir$ac_delim
24974PKG_CONFIG!$PKG_CONFIG$ac_delim
24975GLIB_CFLAGS!$GLIB_CFLAGS$ac_delim
24976GLIB_LIBS!$GLIB_LIBS$ac_delim
24977GTK_CFLAGS!$GTK_CFLAGS$ac_delim
24978GTK_LIBS!$GTK_LIBS$ac_delim
24979GTK_DEP_CFLAGS!$GTK_DEP_CFLAGS$ac_delim
24980GTK_DEP_LIBS!$GTK_DEP_LIBS$ac_delim
24981CLOCK_DEFINES!$CLOCK_DEFINES$ac_delim
24982LTLIBOBJS!$LTLIBOBJS$ac_delim
24983_ACEOF
24984
24985  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 57; then
24986    break
24987  elif $ac_last_try; then
24988    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
24989echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
24990   { (exit 1); exit 1; }; }
24991  else
24992    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
24993  fi
24994done
24995
24996ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
24997if test -n "$ac_eof"; then
24998  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
24999  ac_eof=`expr $ac_eof + 1`
25000fi
25001
25002cat >>$CONFIG_STATUS <<_ACEOF
25003cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
25004/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
25005_ACEOF
25006sed '
25007s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
25008s/^/s,@/; s/!/@,|#_!!_#|/
25009:n
25010t n
25011s/'"$ac_delim"'$/,g/; t
25012s/$/\\/; p
25013N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
25014' >>$CONFIG_STATUS <conf$$subs.sed
25015rm -f conf$$subs.sed
25016cat >>$CONFIG_STATUS <<_ACEOF
25017:end
25018s/|#_!!_#|//g
25019CEOF$ac_eof
25020_ACEOF
25021
25022
25023# VPATH may cause trouble with some makes, so we remove $(srcdir),
25024# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
25025# trailing colons and then remove the whole line if VPATH becomes empty
25026# (actually we leave an empty line to preserve line numbers).
25027if test "x$srcdir" = x.; then
25028  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
25029s/:*\$(srcdir):*/:/
25030s/:*\${srcdir}:*/:/
25031s/:*@srcdir@:*/:/
25032s/^\([^=]*=[	 ]*\):*/\1/
25033s/:*$//
25034s/^[^=]*=[	 ]*$//
25035}'
25036fi
25037
25038cat >>$CONFIG_STATUS <<\_ACEOF
25039fi # test -n "$CONFIG_FILES"
25040
25041
25042for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
25043do
25044  case $ac_tag in
25045  :[FHLC]) ac_mode=$ac_tag; continue;;
25046  esac
25047  case $ac_mode$ac_tag in
25048  :[FHL]*:*);;
25049  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
25050echo "$as_me: error: Invalid tag $ac_tag." >&2;}
25051   { (exit 1); exit 1; }; };;
25052  :[FH]-) ac_tag=-:-;;
25053  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
25054  esac
25055  ac_save_IFS=$IFS
25056  IFS=:
25057  set x $ac_tag
25058  IFS=$ac_save_IFS
25059  shift
25060  ac_file=$1
25061  shift
25062
25063  case $ac_mode in
25064  :L) ac_source=$1;;
25065  :[FH])
25066    ac_file_inputs=
25067    for ac_f
25068    do
25069      case $ac_f in
25070      -) ac_f="$tmp/stdin";;
25071      *) # Look for the file first in the build tree, then in the source tree
25072	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
25073	 # because $ac_f cannot contain `:'.
25074	 test -f "$ac_f" ||
25075	   case $ac_f in
25076	   [\\/$]*) false;;
25077	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
25078	   esac ||
25079	   { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
25080echo "$as_me: error: cannot find input file: $ac_f" >&2;}
25081   { (exit 1); exit 1; }; };;
25082      esac
25083      ac_file_inputs="$ac_file_inputs $ac_f"
25084    done
25085
25086    # Let's still pretend it is `configure' which instantiates (i.e., don't
25087    # use $as_me), people would be surprised to read:
25088    #    /* config.h.  Generated by config.status.  */
25089    configure_input="Generated from "`IFS=:
25090	  echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
25091    if test x"$ac_file" != x-; then
25092      configure_input="$ac_file.  $configure_input"
25093      { echo "$as_me:$LINENO: creating $ac_file" >&5
25094echo "$as_me: creating $ac_file" >&6;}
25095    fi
25096
25097    case $ac_tag in
25098    *:-:* | *:-) cat >"$tmp/stdin";;
25099    esac
25100    ;;
25101  esac
25102
25103  ac_dir=`$as_dirname -- "$ac_file" ||
25104$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25105	 X"$ac_file" : 'X\(//\)[^/]' \| \
25106	 X"$ac_file" : 'X\(//\)$' \| \
25107	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
25108echo X"$ac_file" |
25109    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25110	    s//\1/
25111	    q
25112	  }
25113	  /^X\(\/\/\)[^/].*/{
25114	    s//\1/
25115	    q
25116	  }
25117	  /^X\(\/\/\)$/{
25118	    s//\1/
25119	    q
25120	  }
25121	  /^X\(\/\).*/{
25122	    s//\1/
25123	    q
25124	  }
25125	  s/.*/./; q'`
25126  { as_dir="$ac_dir"
25127  case $as_dir in #(
25128  -*) as_dir=./$as_dir;;
25129  esac
25130  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
25131    as_dirs=
25132    while :; do
25133      case $as_dir in #(
25134      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
25135      *) as_qdir=$as_dir;;
25136      esac
25137      as_dirs="'$as_qdir' $as_dirs"
25138      as_dir=`$as_dirname -- "$as_dir" ||
25139$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25140	 X"$as_dir" : 'X\(//\)[^/]' \| \
25141	 X"$as_dir" : 'X\(//\)$' \| \
25142	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25143echo X"$as_dir" |
25144    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25145	    s//\1/
25146	    q
25147	  }
25148	  /^X\(\/\/\)[^/].*/{
25149	    s//\1/
25150	    q
25151	  }
25152	  /^X\(\/\/\)$/{
25153	    s//\1/
25154	    q
25155	  }
25156	  /^X\(\/\).*/{
25157	    s//\1/
25158	    q
25159	  }
25160	  s/.*/./; q'`
25161      test -d "$as_dir" && break
25162    done
25163    test -z "$as_dirs" || eval "mkdir $as_dirs"
25164  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
25165echo "$as_me: error: cannot create directory $as_dir" >&2;}
25166   { (exit 1); exit 1; }; }; }
25167  ac_builddir=.
25168
25169case "$ac_dir" in
25170.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
25171*)
25172  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
25173  # A ".." for each directory in $ac_dir_suffix.
25174  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
25175  case $ac_top_builddir_sub in
25176  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
25177  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
25178  esac ;;
25179esac
25180ac_abs_top_builddir=$ac_pwd
25181ac_abs_builddir=$ac_pwd$ac_dir_suffix
25182# for backward compatibility:
25183ac_top_builddir=$ac_top_build_prefix
25184
25185case $srcdir in
25186  .)  # We are building in place.
25187    ac_srcdir=.
25188    ac_top_srcdir=$ac_top_builddir_sub
25189    ac_abs_top_srcdir=$ac_pwd ;;
25190  [\\/]* | ?:[\\/]* )  # Absolute name.
25191    ac_srcdir=$srcdir$ac_dir_suffix;
25192    ac_top_srcdir=$srcdir
25193    ac_abs_top_srcdir=$srcdir ;;
25194  *) # Relative name.
25195    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
25196    ac_top_srcdir=$ac_top_build_prefix$srcdir
25197    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
25198esac
25199ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
25200
25201
25202  case $ac_mode in
25203  :F)
25204  #
25205  # CONFIG_FILE
25206  #
25207
25208  case $INSTALL in
25209  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
25210  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
25211  esac
25212  ac_MKDIR_P=$MKDIR_P
25213  case $MKDIR_P in
25214  [\\/$]* | ?:[\\/]* ) ;;
25215  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
25216  esac
25217_ACEOF
25218
25219cat >>$CONFIG_STATUS <<\_ACEOF
25220# If the template does not know about datarootdir, expand it.
25221# FIXME: This hack should be removed a few years after 2.60.
25222ac_datarootdir_hack=; ac_datarootdir_seen=
25223
25224case `sed -n '/datarootdir/ {
25225  p
25226  q
25227}
25228/@datadir@/p
25229/@docdir@/p
25230/@infodir@/p
25231/@localedir@/p
25232/@mandir@/p
25233' $ac_file_inputs` in
25234*datarootdir*) ac_datarootdir_seen=yes;;
25235*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
25236  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
25237echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
25238_ACEOF
25239cat >>$CONFIG_STATUS <<_ACEOF
25240  ac_datarootdir_hack='
25241  s&@datadir@&$datadir&g
25242  s&@docdir@&$docdir&g
25243  s&@infodir@&$infodir&g
25244  s&@localedir@&$localedir&g
25245  s&@mandir@&$mandir&g
25246    s&\\\${datarootdir}&$datarootdir&g' ;;
25247esac
25248_ACEOF
25249
25250# Neutralize VPATH when `$srcdir' = `.'.
25251# Shell code in configure.ac might set extrasub.
25252# FIXME: do we really want to maintain this feature?
25253cat >>$CONFIG_STATUS <<_ACEOF
25254  sed "$ac_vpsub
25255$extrasub
25256_ACEOF
25257cat >>$CONFIG_STATUS <<\_ACEOF
25258:t
25259/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
25260s&@configure_input@&$configure_input&;t t
25261s&@top_builddir@&$ac_top_builddir_sub&;t t
25262s&@srcdir@&$ac_srcdir&;t t
25263s&@abs_srcdir@&$ac_abs_srcdir&;t t
25264s&@top_srcdir@&$ac_top_srcdir&;t t
25265s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
25266s&@builddir@&$ac_builddir&;t t
25267s&@abs_builddir@&$ac_abs_builddir&;t t
25268s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
25269s&@INSTALL@&$ac_INSTALL&;t t
25270s&@MKDIR_P@&$ac_MKDIR_P&;t t
25271$ac_datarootdir_hack
25272" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
25273
25274test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
25275  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
25276  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
25277  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
25278which seems to be undefined.  Please make sure it is defined." >&5
25279echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
25280which seems to be undefined.  Please make sure it is defined." >&2;}
25281
25282  rm -f "$tmp/stdin"
25283  case $ac_file in
25284  -) cat "$tmp/out"; rm -f "$tmp/out";;
25285  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
25286  esac
25287 ;;
25288  :H)
25289  #
25290  # CONFIG_HEADER
25291  #
25292_ACEOF
25293
25294# Transform confdefs.h into a sed script `conftest.defines', that
25295# substitutes the proper values into config.h.in to produce config.h.
25296rm -f conftest.defines conftest.tail
25297# First, append a space to every undef/define line, to ease matching.
25298echo 's/$/ /' >conftest.defines
25299# Then, protect against being on the right side of a sed subst, or in
25300# an unquoted here document, in config.status.  If some macros were
25301# called several times there might be several #defines for the same
25302# symbol, which is useless.  But do not sort them, since the last
25303# AC_DEFINE must be honored.
25304ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
25305# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
25306# NAME is the cpp macro being defined, VALUE is the value it is being given.
25307# PARAMS is the parameter list in the macro definition--in most cases, it's
25308# just an empty string.
25309ac_dA='s,^\\([	 #]*\\)[^	 ]*\\([	 ]*'
25310ac_dB='\\)[	 (].*,\\1define\\2'
25311ac_dC=' '
25312ac_dD=' ,'
25313
25314uniq confdefs.h |
25315  sed -n '
25316	t rset
25317	:rset
25318	s/^[	 ]*#[	 ]*define[	 ][	 ]*//
25319	t ok
25320	d
25321	:ok
25322	s/[\\&,]/\\&/g
25323	s/^\('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
25324	s/^\('"$ac_word_re"'\)[	 ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
25325  ' >>conftest.defines
25326
25327# Remove the space that was appended to ease matching.
25328# Then replace #undef with comments.  This is necessary, for
25329# example, in the case of _POSIX_SOURCE, which is predefined and required
25330# on some systems where configure will not decide to define it.
25331# (The regexp can be short, since the line contains either #define or #undef.)
25332echo 's/ $//
25333s,^[	 #]*u.*,/* & */,' >>conftest.defines
25334
25335# Break up conftest.defines:
25336ac_max_sed_lines=50
25337
25338# First sed command is:	 sed -f defines.sed $ac_file_inputs >"$tmp/out1"
25339# Second one is:	 sed -f defines.sed "$tmp/out1" >"$tmp/out2"
25340# Third one will be:	 sed -f defines.sed "$tmp/out2" >"$tmp/out1"
25341# et cetera.
25342ac_in='$ac_file_inputs'
25343ac_out='"$tmp/out1"'
25344ac_nxt='"$tmp/out2"'
25345
25346while :
25347do
25348  # Write a here document:
25349    cat >>$CONFIG_STATUS <<_ACEOF
25350    # First, check the format of the line:
25351    cat >"\$tmp/defines.sed" <<\\CEOF
25352/^[	 ]*#[	 ]*undef[	 ][	 ]*$ac_word_re[	 ]*\$/b def
25353/^[	 ]*#[	 ]*define[	 ][	 ]*$ac_word_re[(	 ]/b def
25354b
25355:def
25356_ACEOF
25357  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
25358  echo 'CEOF
25359    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
25360  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
25361  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
25362  grep . conftest.tail >/dev/null || break
25363  rm -f conftest.defines
25364  mv conftest.tail conftest.defines
25365done
25366rm -f conftest.defines conftest.tail
25367
25368echo "ac_result=$ac_in" >>$CONFIG_STATUS
25369cat >>$CONFIG_STATUS <<\_ACEOF
25370  if test x"$ac_file" != x-; then
25371    echo "/* $configure_input  */" >"$tmp/config.h"
25372    cat "$ac_result" >>"$tmp/config.h"
25373    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
25374      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
25375echo "$as_me: $ac_file is unchanged" >&6;}
25376    else
25377      rm -f $ac_file
25378      mv "$tmp/config.h" $ac_file
25379    fi
25380  else
25381    echo "/* $configure_input  */"
25382    cat "$ac_result"
25383  fi
25384  rm -f "$tmp/out12"
25385# Compute $ac_file's index in $config_headers.
25386_am_arg=$ac_file
25387_am_stamp_count=1
25388for _am_header in $config_headers :; do
25389  case $_am_header in
25390    $_am_arg | $_am_arg:* )
25391      break ;;
25392    * )
25393      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
25394  esac
25395done
25396echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
25397$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25398	 X"$_am_arg" : 'X\(//\)[^/]' \| \
25399	 X"$_am_arg" : 'X\(//\)$' \| \
25400	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
25401echo X"$_am_arg" |
25402    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25403	    s//\1/
25404	    q
25405	  }
25406	  /^X\(\/\/\)[^/].*/{
25407	    s//\1/
25408	    q
25409	  }
25410	  /^X\(\/\/\)$/{
25411	    s//\1/
25412	    q
25413	  }
25414	  /^X\(\/\).*/{
25415	    s//\1/
25416	    q
25417	  }
25418	  s/.*/./; q'`/stamp-h$_am_stamp_count
25419 ;;
25420
25421  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
25422echo "$as_me: executing $ac_file commands" >&6;}
25423 ;;
25424  esac
25425
25426
25427  case $ac_file$ac_mode in
25428    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
25429  # Strip MF so we end up with the name of the file.
25430  mf=`echo "$mf" | sed -e 's/:.*$//'`
25431  # Check whether this is an Automake generated Makefile or not.
25432  # We used to match only the files named `Makefile.in', but
25433  # some people rename them; so instead we look at the file content.
25434  # Grep'ing the first line is not enough: some people post-process
25435  # each Makefile.in and add a new line on top of each file to say so.
25436  # Grep'ing the whole file is not good either: AIX grep has a line
25437  # limit of 2048, but all sed's we know have understand at least 4000.
25438  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
25439    dirpart=`$as_dirname -- "$mf" ||
25440$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25441	 X"$mf" : 'X\(//\)[^/]' \| \
25442	 X"$mf" : 'X\(//\)$' \| \
25443	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
25444echo X"$mf" |
25445    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25446	    s//\1/
25447	    q
25448	  }
25449	  /^X\(\/\/\)[^/].*/{
25450	    s//\1/
25451	    q
25452	  }
25453	  /^X\(\/\/\)$/{
25454	    s//\1/
25455	    q
25456	  }
25457	  /^X\(\/\).*/{
25458	    s//\1/
25459	    q
25460	  }
25461	  s/.*/./; q'`
25462  else
25463    continue
25464  fi
25465  # Extract the definition of DEPDIR, am__include, and am__quote
25466  # from the Makefile without running `make'.
25467  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
25468  test -z "$DEPDIR" && continue
25469  am__include=`sed -n 's/^am__include = //p' < "$mf"`
25470  test -z "am__include" && continue
25471  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
25472  # When using ansi2knr, U may be empty or an underscore; expand it
25473  U=`sed -n 's/^U = //p' < "$mf"`
25474  # Find all dependency output files, they are included files with
25475  # $(DEPDIR) in their names.  We invoke sed twice because it is the
25476  # simplest approach to changing $(DEPDIR) to its actual value in the
25477  # expansion.
25478  for file in `sed -n "
25479    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
25480       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
25481    # Make sure the directory exists.
25482    test -f "$dirpart/$file" && continue
25483    fdir=`$as_dirname -- "$file" ||
25484$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25485	 X"$file" : 'X\(//\)[^/]' \| \
25486	 X"$file" : 'X\(//\)$' \| \
25487	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
25488echo X"$file" |
25489    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25490	    s//\1/
25491	    q
25492	  }
25493	  /^X\(\/\/\)[^/].*/{
25494	    s//\1/
25495	    q
25496	  }
25497	  /^X\(\/\/\)$/{
25498	    s//\1/
25499	    q
25500	  }
25501	  /^X\(\/\).*/{
25502	    s//\1/
25503	    q
25504	  }
25505	  s/.*/./; q'`
25506    { as_dir=$dirpart/$fdir
25507  case $as_dir in #(
25508  -*) as_dir=./$as_dir;;
25509  esac
25510  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
25511    as_dirs=
25512    while :; do
25513      case $as_dir in #(
25514      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
25515      *) as_qdir=$as_dir;;
25516      esac
25517      as_dirs="'$as_qdir' $as_dirs"
25518      as_dir=`$as_dirname -- "$as_dir" ||
25519$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25520	 X"$as_dir" : 'X\(//\)[^/]' \| \
25521	 X"$as_dir" : 'X\(//\)$' \| \
25522	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25523echo X"$as_dir" |
25524    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25525	    s//\1/
25526	    q
25527	  }
25528	  /^X\(\/\/\)[^/].*/{
25529	    s//\1/
25530	    q
25531	  }
25532	  /^X\(\/\/\)$/{
25533	    s//\1/
25534	    q
25535	  }
25536	  /^X\(\/\).*/{
25537	    s//\1/
25538	    q
25539	  }
25540	  s/.*/./; q'`
25541      test -d "$as_dir" && break
25542    done
25543    test -z "$as_dirs" || eval "mkdir $as_dirs"
25544  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
25545echo "$as_me: error: cannot create directory $as_dir" >&2;}
25546   { (exit 1); exit 1; }; }; }
25547    # echo "creating $dirpart/$file"
25548    echo '# dummy' > "$dirpart/$file"
25549  done
25550done
25551 ;;
25552    "intltool":C)
25553
25554for file in intltool-extract intltool-merge intltool-update; do
25555  sed -e "s|@INTLTOOL_EXTRACT@|`pwd`/intltool-extract|g" \
25556      -e "s|@INTLTOOL_LIBDIR@|${INTLTOOL_LIBDIR}|g" \
25557      -e "s|@INTLTOOL_PERL@|${INTLTOOL_PERL}|g" \
25558	< ${ac_aux_dir}/${file}.in > ${file}.out
25559  if cmp -s ${file} ${file}.out 2>/dev/null; then
25560    rm -f ${file}.out
25561  else
25562    mv -f ${file}.out ${file}
25563  fi
25564  chmod ugo+x ${file}
25565  chmod u+w ${file}
25566done
25567
25568 ;;
25569    "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
25570        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
25571      esac ;;
25572    "po/stamp-it":C)
25573    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
25574    >"po/stamp-it.tmp"
25575    sed '/^#/d
25576	 s/^[[].*] *//
25577	 /^[ 	]*$/d
25578	'"s|^|	$ac_top_srcdir/|" \
25579      "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
25580
25581    if test ! -f "po/Makefile"; then
25582      { { echo "$as_me:$LINENO: error: po/Makefile is not ready." >&5
25583echo "$as_me: error: po/Makefile is not ready." >&2;}
25584   { (exit 1); exit 1; }; }
25585    fi
25586    mv "po/Makefile" "po/Makefile.tmp"
25587    sed '/^POTFILES =/,/[^\\]$/ {
25588		/^POTFILES =/!d
25589		r po/POTFILES
25590	  }
25591	 ' "po/Makefile.tmp" >"po/Makefile"
25592    rm -f "po/Makefile.tmp"
25593    mv "po/stamp-it.tmp" "po/stamp-it"
25594   ;;
25595
25596  esac
25597done # for ac_tag
25598
25599
25600{ (exit 0); exit 0; }
25601_ACEOF
25602chmod +x $CONFIG_STATUS
25603ac_clean_files=$ac_clean_files_save
25604
25605
25606# configure is writing to config.log, and then calls config.status.
25607# config.status does its own redirection, appending to config.log.
25608# Unfortunately, on DOS this fails, as config.log is still kept open
25609# by configure, so config.status won't be able to write to it; its
25610# output is simply discarded.  So we exec the FD to /dev/null,
25611# effectively closing config.log, so it can be properly (re)opened and
25612# appended to by config.status.  When coming back to configure, we
25613# need to make the FD available again.
25614if test "$no_create" != yes; then
25615  ac_cs_success=:
25616  ac_config_status_args=
25617  test "$silent" = yes &&
25618    ac_config_status_args="$ac_config_status_args --quiet"
25619  exec 5>/dev/null
25620  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
25621  exec 5>>config.log
25622  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
25623  # would make configure fail if this is the last instruction.
25624  $ac_cs_success || { (exit 1); exit 1; }
25625fi
25626
25627
25628