2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22 DUALCASE=1; export DUALCASE # for MKS sh
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 if expr a : '\(a\)' >/dev/null 2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.file conf$$ 2>/dev/null; then
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
221 test -d ./-p && rmdir ./-p
225 as_executable_p="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # Check that we are running under the correct shell.
246 SHELL=${CONFIG_SHELL-/bin/sh}
250 # Remove one level of quotation (which was required for Make).
251 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
256 if test "X$1" = X--no-reexec; then
257 # Discard the --no-reexec flag, and continue.
259 elif test "X$1" = X--fallback-echo; then
260 # Avoid inline document here, it may be left over
262 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
263 # Yippee, $ECHO works!
266 # Restart under the correct shell.
267 exec $SHELL "$0" --no-reexec ${1+"$@"}
270 if test "X$1" = X--fallback-echo; then
271 # used as fallback echo
279 # The HP-UX ksh and POSIX shell print the target directory to stdout
281 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
283 if test -z "$lt_ECHO"; then
284 if test "X${echo_test_string+set}" != Xset; then
285 # find a string as large as possible, as long as the shell can cope with it
286 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
287 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
288 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
289 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
296 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
297 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
298 test "X$echo_testing_string" = "X$echo_test_string"; then
301 # The Solaris, AIX, and Digital Unix default echo programs unquote
302 # backslashes. This makes it impossible to quote backslashes using
303 # echo "$something" | sed 's/\\/\\\\/g'
305 # So, first we look for a working echo in the user's PATH.
307 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
308 for dir in $PATH /usr/ucb; do
310 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
311 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
312 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
313 test "X$echo_testing_string" = "X$echo_test_string"; then
320 if test "X$ECHO" = Xecho; then
321 # We didn't find a better echo, so look for alternatives.
322 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
323 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
324 test "X$echo_testing_string" = "X$echo_test_string"; then
325 # This shell has a builtin print -r that does the trick.
327 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
328 test "X$CONFIG_SHELL" != X/bin/ksh; then
329 # If we have ksh, try running configure again with it.
330 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
331 export ORIGINAL_CONFIG_SHELL
332 CONFIG_SHELL=/bin/ksh
334 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
338 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
339 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
340 test "X$echo_testing_string" = "X$echo_test_string"; then
343 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
344 test "X$echo_testing_string" = 'X\t' &&
345 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
346 test "X$echo_testing_string" = "X$echo_test_string"; then
347 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
349 SHELL="$CONFIG_SHELL"
351 ECHO="$CONFIG_SHELL $0 --fallback-echo"
352 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
353 test "X$echo_testing_string" = 'X\t' &&
354 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
355 test "X$echo_testing_string" = "X$echo_test_string"; then
356 ECHO="$CONFIG_SHELL $0 --fallback-echo"
358 # maybe with a smaller string...
361 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
362 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
369 if test "$prev" != 'sed 50q "$0"'; then
370 echo_test_string=`eval $prev`
371 export echo_test_string
372 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
374 # Oops. We lost completely, so just stick with echo.
383 # Copy echo and quote the copy suitably for passing to libtool from
384 # the Makefile, instead of quoting the original, which is used later.
386 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
387 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
394 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
395 # so uname gets run too.
396 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
403 ac_default_prefix=/usr/local
404 ac_config_libobj_dir=.
409 SHELL=${CONFIG_SHELL-/bin/sh}
411 # Maximum number of lines to put in a shell here document.
412 # This variable seems obsolete. It should probably be removed, and
413 # only ac_max_sed_lines should be used.
414 : ${ac_max_here_lines=38}
416 # Identity of this package.
423 ac_unique_file="gprof.c"
424 # Factoring default headers for most tests.
425 ac_includes_default="\
428 # include <sys/types.h>
431 # include <sys/stat.h>
442 # if !STDC_HEADERS && HAVE_MEMORY_H
448 # include <strings.h>
451 # include <inttypes.h>
461 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE LIBTOOL SED EGREP FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM LN_S AR ac_ct_AR RANLIB ac_ct_RANLIB lt_ECHO CPP USE_NLS LIBINTL LIBINTL_DEP INCINTL XGETTEXT GMSGFMT POSUB CATALOGS DATADIRNAME INSTOBJEXT GENCAT CATOBJEXT MKINSTALLDIRS MSGFMT MSGMERGE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT GENINSRC_NEVER_TRUE GENINSRC_NEVER_FALSE WARN_CFLAGS NO_WERROR datarootdir docdir htmldir LIBOBJS LTLIBOBJS'
464 # Initialize some variables set by options.
466 ac_init_version=false
467 # The variables have the same names as the options, with
468 # dashes changed to underlines.
476 program_transform_name=s,x,x,
484 # Installation directory options.
485 # These are left unexpanded so users can "make install exec_prefix=/foo"
486 # and all the variables that are supposed to be based on exec_prefix
487 # by default will actually change.
488 # Use braces instead of parens because sh, perl, etc. also accept them.
489 bindir='${exec_prefix}/bin'
490 sbindir='${exec_prefix}/sbin'
491 libexecdir='${exec_prefix}/libexec'
492 datadir='${prefix}/share'
493 sysconfdir='${prefix}/etc'
494 sharedstatedir='${prefix}/com'
495 localstatedir='${prefix}/var'
496 libdir='${exec_prefix}/lib'
497 includedir='${prefix}/include'
498 oldincludedir='/usr/include'
499 infodir='${prefix}/info'
500 mandir='${prefix}/man'
505 # If the previous option needs an argument, assign it.
506 if test -n "$ac_prev"; then
507 eval "$ac_prev=\$ac_option"
512 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
514 # Accept the important Cygnus configure options, so we can diagnose typos.
518 -bindir | --bindir | --bindi | --bind | --bin | --bi)
520 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
523 -build | --build | --buil | --bui | --bu)
524 ac_prev=build_alias ;;
525 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
526 build_alias=$ac_optarg ;;
528 -cache-file | --cache-file | --cache-fil | --cache-fi \
529 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
530 ac_prev=cache_file ;;
531 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
532 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
533 cache_file=$ac_optarg ;;
536 cache_file=config.cache ;;
538 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
540 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
542 datadir=$ac_optarg ;;
544 -disable-* | --disable-*)
545 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
546 # Reject names that are not valid shell variable names.
547 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
548 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
549 { (exit 1); exit 1; }; }
550 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
551 eval "enable_$ac_feature=no" ;;
553 -enable-* | --enable-*)
554 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
555 # Reject names that are not valid shell variable names.
556 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
557 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
558 { (exit 1); exit 1; }; }
559 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
561 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
564 eval "enable_$ac_feature='$ac_optarg'" ;;
566 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
567 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
568 | --exec | --exe | --ex)
569 ac_prev=exec_prefix ;;
570 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
571 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
572 | --exec=* | --exe=* | --ex=*)
573 exec_prefix=$ac_optarg ;;
575 -gas | --gas | --ga | --g)
576 # Obsolete; use --with-gas.
579 -help | --help | --hel | --he | -h)
581 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
582 ac_init_help=recursive ;;
583 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
584 ac_init_help=short ;;
586 -host | --host | --hos | --ho)
587 ac_prev=host_alias ;;
588 -host=* | --host=* | --hos=* | --ho=*)
589 host_alias=$ac_optarg ;;
591 -includedir | --includedir | --includedi | --included | --include \
592 | --includ | --inclu | --incl | --inc)
593 ac_prev=includedir ;;
594 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
595 | --includ=* | --inclu=* | --incl=* | --inc=*)
596 includedir=$ac_optarg ;;
598 -infodir | --infodir | --infodi | --infod | --info | --inf)
600 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
601 infodir=$ac_optarg ;;
603 -libdir | --libdir | --libdi | --libd)
605 -libdir=* | --libdir=* | --libdi=* | --libd=*)
608 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
609 | --libexe | --libex | --libe)
610 ac_prev=libexecdir ;;
611 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
612 | --libexe=* | --libex=* | --libe=*)
613 libexecdir=$ac_optarg ;;
615 -localstatedir | --localstatedir | --localstatedi | --localstated \
616 | --localstate | --localstat | --localsta | --localst \
617 | --locals | --local | --loca | --loc | --lo)
618 ac_prev=localstatedir ;;
619 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
620 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
621 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
622 localstatedir=$ac_optarg ;;
624 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
626 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
630 # Obsolete; use --without-fp.
633 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
634 | --no-cr | --no-c | -n)
637 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
638 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
641 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
642 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
643 | --oldin | --oldi | --old | --ol | --o)
644 ac_prev=oldincludedir ;;
645 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
646 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
647 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
648 oldincludedir=$ac_optarg ;;
650 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
652 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
655 -program-prefix | --program-prefix | --program-prefi | --program-pref \
656 | --program-pre | --program-pr | --program-p)
657 ac_prev=program_prefix ;;
658 -program-prefix=* | --program-prefix=* | --program-prefi=* \
659 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
660 program_prefix=$ac_optarg ;;
662 -program-suffix | --program-suffix | --program-suffi | --program-suff \
663 | --program-suf | --program-su | --program-s)
664 ac_prev=program_suffix ;;
665 -program-suffix=* | --program-suffix=* | --program-suffi=* \
666 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
667 program_suffix=$ac_optarg ;;
669 -program-transform-name | --program-transform-name \
670 | --program-transform-nam | --program-transform-na \
671 | --program-transform-n | --program-transform- \
672 | --program-transform | --program-transfor \
673 | --program-transfo | --program-transf \
674 | --program-trans | --program-tran \
675 | --progr-tra | --program-tr | --program-t)
676 ac_prev=program_transform_name ;;
677 -program-transform-name=* | --program-transform-name=* \
678 | --program-transform-nam=* | --program-transform-na=* \
679 | --program-transform-n=* | --program-transform-=* \
680 | --program-transform=* | --program-transfor=* \
681 | --program-transfo=* | --program-transf=* \
682 | --program-trans=* | --program-tran=* \
683 | --progr-tra=* | --program-tr=* | --program-t=*)
684 program_transform_name=$ac_optarg ;;
686 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
687 | -silent | --silent | --silen | --sile | --sil)
690 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
692 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
694 sbindir=$ac_optarg ;;
696 -sharedstatedir | --sharedstatedir | --sharedstatedi \
697 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
698 | --sharedst | --shareds | --shared | --share | --shar \
700 ac_prev=sharedstatedir ;;
701 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
702 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
703 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
705 sharedstatedir=$ac_optarg ;;
707 -site | --site | --sit)
709 -site=* | --site=* | --sit=*)
712 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
714 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
717 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
718 | --syscon | --sysco | --sysc | --sys | --sy)
719 ac_prev=sysconfdir ;;
720 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
721 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
722 sysconfdir=$ac_optarg ;;
724 -target | --target | --targe | --targ | --tar | --ta | --t)
725 ac_prev=target_alias ;;
726 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
727 target_alias=$ac_optarg ;;
729 -v | -verbose | --verbose | --verbos | --verbo | --verb)
732 -version | --version | --versio | --versi | --vers | -V)
736 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
737 # Reject names that are not valid shell variable names.
738 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
739 { echo "$as_me: error: invalid package name: $ac_package" >&2
740 { (exit 1); exit 1; }; }
741 ac_package=`echo $ac_package| sed 's/-/_/g'`
743 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
746 eval "with_$ac_package='$ac_optarg'" ;;
748 -without-* | --without-*)
749 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
750 # Reject names that are not valid shell variable names.
751 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
752 { echo "$as_me: error: invalid package name: $ac_package" >&2
753 { (exit 1); exit 1; }; }
754 ac_package=`echo $ac_package | sed 's/-/_/g'`
755 eval "with_$ac_package=no" ;;
758 # Obsolete; use --with-x.
761 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
762 | --x-incl | --x-inc | --x-in | --x-i)
763 ac_prev=x_includes ;;
764 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
765 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
766 x_includes=$ac_optarg ;;
768 -x-libraries | --x-libraries | --x-librarie | --x-librari \
769 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
770 ac_prev=x_libraries ;;
771 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
772 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
773 x_libraries=$ac_optarg ;;
775 -*) { echo "$as_me: error: unrecognized option: $ac_option
776 Try \`$0 --help' for more information." >&2
777 { (exit 1); exit 1; }; }
781 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
782 # Reject names that are not valid shell variable names.
783 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
784 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
785 { (exit 1); exit 1; }; }
786 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
787 eval "$ac_envvar='$ac_optarg'"
791 # FIXME: should be removed in autoconf 3.0.
792 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
793 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
794 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
795 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
801 if test -n "$ac_prev"; then
802 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
803 { echo "$as_me: error: missing argument to $ac_option" >&2
804 { (exit 1); exit 1; }; }
807 # Be sure to have absolute paths.
808 for ac_var in exec_prefix prefix
810 eval ac_val=$`echo $ac_var`
812 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
813 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
814 { (exit 1); exit 1; }; };;
818 # Be sure to have absolute paths.
819 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
820 localstatedir libdir includedir oldincludedir infodir mandir
822 eval ac_val=$`echo $ac_var`
824 [\\/$]* | ?:[\\/]* ) ;;
825 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
826 { (exit 1); exit 1; }; };;
830 # There might be people who depend on the old broken behavior: `$host'
831 # used to hold the argument of --host etc.
832 # FIXME: To remove some day.
837 # FIXME: To remove some day.
838 if test "x$host_alias" != x; then
839 if test "x$build_alias" = x; then
840 cross_compiling=maybe
841 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
842 If a cross compiler is detected then cross compile mode will be used." >&2
843 elif test "x$build_alias" != "x$host_alias"; then
849 test -n "$host_alias" && ac_tool_prefix=$host_alias-
851 test "$silent" = yes && exec 6>/dev/null
854 # Find the source files, if location was not specified.
855 if test -z "$srcdir"; then
856 ac_srcdir_defaulted=yes
857 # Try the directory containing this script, then its parent.
858 ac_confdir=`(dirname "$0") 2>/dev/null ||
859 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
860 X"$0" : 'X\(//\)[^/]' \| \
861 X"$0" : 'X\(//\)$' \| \
862 X"$0" : 'X\(/\)' \| \
863 . : '\(.\)' 2>/dev/null ||
865 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
866 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
867 /^X\(\/\/\)$/{ s//\1/; q; }
868 /^X\(\/\).*/{ s//\1/; q; }
871 if test ! -r $srcdir/$ac_unique_file; then
875 ac_srcdir_defaulted=no
877 if test ! -r $srcdir/$ac_unique_file; then
878 if test "$ac_srcdir_defaulted" = yes; then
879 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
880 { (exit 1); exit 1; }; }
882 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
883 { (exit 1); exit 1; }; }
886 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
887 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
888 { (exit 1); exit 1; }; }
889 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
890 ac_env_build_alias_set=${build_alias+set}
891 ac_env_build_alias_value=$build_alias
892 ac_cv_env_build_alias_set=${build_alias+set}
893 ac_cv_env_build_alias_value=$build_alias
894 ac_env_host_alias_set=${host_alias+set}
895 ac_env_host_alias_value=$host_alias
896 ac_cv_env_host_alias_set=${host_alias+set}
897 ac_cv_env_host_alias_value=$host_alias
898 ac_env_target_alias_set=${target_alias+set}
899 ac_env_target_alias_value=$target_alias
900 ac_cv_env_target_alias_set=${target_alias+set}
901 ac_cv_env_target_alias_value=$target_alias
902 ac_env_CC_set=${CC+set}
904 ac_cv_env_CC_set=${CC+set}
905 ac_cv_env_CC_value=$CC
906 ac_env_CFLAGS_set=${CFLAGS+set}
907 ac_env_CFLAGS_value=$CFLAGS
908 ac_cv_env_CFLAGS_set=${CFLAGS+set}
909 ac_cv_env_CFLAGS_value=$CFLAGS
910 ac_env_LDFLAGS_set=${LDFLAGS+set}
911 ac_env_LDFLAGS_value=$LDFLAGS
912 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
913 ac_cv_env_LDFLAGS_value=$LDFLAGS
914 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
915 ac_env_CPPFLAGS_value=$CPPFLAGS
916 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
917 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
918 ac_env_CPP_set=${CPP+set}
919 ac_env_CPP_value=$CPP
920 ac_cv_env_CPP_set=${CPP+set}
921 ac_cv_env_CPP_value=$CPP
924 # Report the --help message.
926 if test "$ac_init_help" = "long"; then
927 # Omit some internal or obsolete options to make the list less imposing.
928 # This message is too long to be a string in the A/UX 3.1 sh.
930 \`configure' configures this package to adapt to many kinds of systems.
932 Usage: $0 [OPTION]... [VAR=VALUE]...
934 To assign environment variables (e.g., CC, CFLAGS...), specify them as
935 VAR=VALUE. See below for descriptions of some of the useful variables.
937 Defaults for the options are specified in brackets.
940 -h, --help display this help and exit
941 --help=short display options specific to this package
942 --help=recursive display the short help of all the included packages
943 -V, --version display version information and exit
944 -q, --quiet, --silent do not print \`checking...' messages
945 --cache-file=FILE cache test results in FILE [disabled]
946 -C, --config-cache alias for \`--cache-file=config.cache'
947 -n, --no-create do not create output files
948 --srcdir=DIR find the sources in DIR [configure dir or \`..']
953 Installation directories:
954 --prefix=PREFIX install architecture-independent files in PREFIX
956 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
959 By default, \`make install' will install all the files in
960 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
961 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
962 for instance \`--prefix=\$HOME'.
964 For better control, use the options below.
966 Fine tuning of the installation directories:
967 --bindir=DIR user executables [EPREFIX/bin]
968 --sbindir=DIR system admin executables [EPREFIX/sbin]
969 --libexecdir=DIR program executables [EPREFIX/libexec]
970 --datadir=DIR read-only architecture-independent data [PREFIX/share]
971 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
972 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
973 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
974 --libdir=DIR object code libraries [EPREFIX/lib]
975 --includedir=DIR C header files [PREFIX/include]
976 --oldincludedir=DIR C header files for non-gcc [/usr/include]
977 --infodir=DIR info documentation [PREFIX/info]
978 --mandir=DIR man documentation [PREFIX/man]
984 --program-prefix=PREFIX prepend PREFIX to installed program names
985 --program-suffix=SUFFIX append SUFFIX to installed program names
986 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
989 --build=BUILD configure for building on BUILD [guessed]
990 --host=HOST cross-compile to build programs to run on HOST [BUILD]
991 --target=TARGET configure for building compilers for TARGET [HOST]
995 if test -n "$ac_init_help"; then
1000 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1001 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1002 --disable-dependency-tracking speeds up one-time build
1003 --enable-dependency-tracking do not reject slow dependency extractors
1004 --enable-shared[=PKGS]
1005 build shared libraries [default=yes]
1006 --enable-static[=PKGS]
1007 build static libraries [default=yes]
1008 --enable-fast-install[=PKGS]
1009 optimize for fast installation [default=yes]
1010 --disable-libtool-lock avoid locking (might break parallel builds)
1011 --disable-nls do not use Native Language Support
1012 --enable-maintainer-mode enable make rules and dependencies not useful
1013 (and sometimes confusing) to the casual installer
1014 --enable-werror treat compile warnings as errors
1015 --enable-build-warnings enable build-time compiler warnings
1018 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1019 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1020 --with-pic try to use only PIC/non-PIC objects [default=use
1022 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1024 Some influential environment variables:
1025 CC C compiler command
1026 CFLAGS C compiler flags
1027 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1028 nonstandard directory <lib dir>
1029 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1030 headers in a nonstandard directory <include dir>
1033 Use these variables to override the choices made by `configure' or to help
1034 it to find libraries and programs with nonstandard names/locations.
1039 if test "$ac_init_help" = "recursive"; then
1040 # If there are subdirs, report their specific --help.
1042 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1043 test -d $ac_dir || continue
1046 if test "$ac_dir" != .; then
1047 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1048 # A "../" for each directory in $ac_dir_suffix.
1049 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1051 ac_dir_suffix= ac_top_builddir=
1055 .) # No --srcdir option. We are building in place.
1057 if test -z "$ac_top_builddir"; then
1060 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1062 [\\/]* | ?:[\\/]* ) # Absolute path.
1063 ac_srcdir=$srcdir$ac_dir_suffix;
1064 ac_top_srcdir=$srcdir ;;
1066 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1067 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1070 # Do not use `cd foo && pwd` to compute absolute paths, because
1071 # the directories may not exist.
1073 .) ac_abs_builddir="$ac_dir";;
1076 .) ac_abs_builddir=`pwd`;;
1077 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1078 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1081 case $ac_abs_builddir in
1082 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1084 case ${ac_top_builddir}. in
1085 .) ac_abs_top_builddir=$ac_abs_builddir;;
1086 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1087 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1090 case $ac_abs_builddir in
1091 .) ac_abs_srcdir=$ac_srcdir;;
1094 .) ac_abs_srcdir=$ac_abs_builddir;;
1095 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1096 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1099 case $ac_abs_builddir in
1100 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1102 case $ac_top_srcdir in
1103 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1104 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1105 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1110 # Check for guested configure; otherwise get Cygnus style configure.
1111 if test -f $ac_srcdir/configure.gnu; then
1113 $SHELL $ac_srcdir/configure.gnu --help=recursive
1114 elif test -f $ac_srcdir/configure; then
1116 $SHELL $ac_srcdir/configure --help=recursive
1117 elif test -f $ac_srcdir/configure.ac ||
1118 test -f $ac_srcdir/configure.in; then
1120 $ac_configure --help
1122 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1128 test -n "$ac_init_help" && exit 0
1129 if $ac_init_version; then
1132 Copyright (C) 2003 Free Software Foundation, Inc.
1133 This configure script is free software; the Free Software Foundation
1134 gives unlimited permission to copy, distribute and modify it.
1140 This file contains any messages produced by compilers while
1141 running configure, to aid debugging if configure makes a mistake.
1143 It was created by $as_me, which was
1144 generated by GNU Autoconf 2.59. Invocation command line was
1155 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1156 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1157 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1158 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1159 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1161 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1162 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1164 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1165 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1166 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1167 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1168 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1169 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1170 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1178 test -z "$as_dir" && as_dir=.
1179 echo "PATH: $as_dir"
1194 # Keep a trace of the command line.
1195 # Strip out --no-create and --no-recursion so they do not pile up.
1196 # Strip out --silent because we don't want to record it for future runs.
1197 # Also quote any args containing shell meta-characters.
1198 # Make two passes to allow for proper duplicate-argument suppression.
1203 ac_must_keep_next=false
1209 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1210 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1211 | -silent | --silent | --silen | --sile | --sil)
1213 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1214 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1217 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1219 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1220 if test $ac_must_keep_next = true; then
1221 ac_must_keep_next=false # Got value, back to normal.
1224 *=* | --config-cache | -C | -disable-* | --disable-* \
1225 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1226 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1227 | -with-* | --with-* | -without-* | --without-* | --x)
1228 case "$ac_configure_args0 " in
1229 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1232 -* ) ac_must_keep_next=true ;;
1235 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1236 # Get rid of the leading space.
1242 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1243 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1245 # When interrupted or exit'd, cleanup temporary files, and complete
1246 # config.log. We remove comments because anyway the quotes in there
1247 # would cause problems or look ugly.
1248 # WARNING: Be sure not to use single quotes in there, as some shells,
1249 # such as our DU 5.0 friend, will then `close' the trap.
1250 trap 'exit_status=$?
1251 # Save into config.log some information that might help in debugging.
1256 ## ---------------- ##
1257 ## Cache variables. ##
1258 ## ---------------- ##
1261 # The following way of writing the cache mishandles newlines in values,
1264 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1267 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1268 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1272 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1279 ## ----------------- ##
1280 ## Output variables. ##
1281 ## ----------------- ##
1284 for ac_var in $ac_subst_vars
1286 eval ac_val=$`echo $ac_var`
1287 echo "$ac_var='"'"'$ac_val'"'"'"
1291 if test -n "$ac_subst_files"; then
1298 for ac_var in $ac_subst_files
1300 eval ac_val=$`echo $ac_var`
1301 echo "$ac_var='"'"'$ac_val'"'"'"
1306 if test -s confdefs.h; then
1313 sed "/^$/d" confdefs.h | sort
1316 test "$ac_signal" != 0 &&
1317 echo "$as_me: caught signal $ac_signal"
1318 echo "$as_me: exit $exit_status"
1320 rm -f core *.core &&
1321 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1324 for ac_signal in 1 2 13 15; do
1325 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1329 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1330 rm -rf conftest* confdefs.h
1331 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1334 # Predefined preprocessor variables.
1336 cat >>confdefs.h <<_ACEOF
1337 #define PACKAGE_NAME "$PACKAGE_NAME"
1341 cat >>confdefs.h <<_ACEOF
1342 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1346 cat >>confdefs.h <<_ACEOF
1347 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1351 cat >>confdefs.h <<_ACEOF
1352 #define PACKAGE_STRING "$PACKAGE_STRING"
1356 cat >>confdefs.h <<_ACEOF
1357 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1361 # Let the site file select an alternate cache file if it wants to.
1362 # Prefer explicitly selected file to automatically selected ones.
1363 if test -z "$CONFIG_SITE"; then
1364 if test "x$prefix" != xNONE; then
1365 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1367 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1370 for ac_site_file in $CONFIG_SITE; do
1371 if test -r "$ac_site_file"; then
1372 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1373 echo "$as_me: loading site script $ac_site_file" >&6;}
1374 sed 's/^/| /' "$ac_site_file" >&5
1379 if test -r "$cache_file"; then
1380 # Some versions of bash will fail to source /dev/null (special
1381 # files actually), so we avoid doing that.
1382 if test -f "$cache_file"; then
1383 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1384 echo "$as_me: loading cache $cache_file" >&6;}
1386 [\\/]* | ?:[\\/]* ) . $cache_file;;
1387 *) . ./$cache_file;;
1391 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1392 echo "$as_me: creating cache $cache_file" >&6;}
1396 # Check that the precious variables saved in the cache have kept the same
1398 ac_cache_corrupted=false
1399 for ac_var in `(set) 2>&1 |
1400 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1401 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1402 eval ac_new_set=\$ac_env_${ac_var}_set
1403 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1404 eval ac_new_val="\$ac_env_${ac_var}_value"
1405 case $ac_old_set,$ac_new_set in
1407 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1408 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1409 ac_cache_corrupted=: ;;
1411 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1412 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1413 ac_cache_corrupted=: ;;
1416 if test "x$ac_old_val" != "x$ac_new_val"; then
1417 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1418 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1419 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1420 echo "$as_me: former value: $ac_old_val" >&2;}
1421 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1422 echo "$as_me: current value: $ac_new_val" >&2;}
1423 ac_cache_corrupted=:
1426 # Pass precious variables to config.status.
1427 if test "$ac_new_set" = set; then
1429 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1430 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1431 *) ac_arg=$ac_var=$ac_new_val ;;
1433 case " $ac_configure_args " in
1434 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1435 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1439 if $ac_cache_corrupted; then
1440 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1441 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1442 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1443 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1444 { (exit 1); exit 1; }; }
1448 ac_cpp='$CPP $CPPFLAGS'
1449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1474 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1475 if test -f $ac_dir/install-sh; then
1477 ac_install_sh="$ac_aux_dir/install-sh -c"
1479 elif test -f $ac_dir/install.sh; then
1481 ac_install_sh="$ac_aux_dir/install.sh -c"
1483 elif test -f $ac_dir/shtool; then
1485 ac_install_sh="$ac_aux_dir/shtool install -c"
1489 if test -z "$ac_aux_dir"; then
1490 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1491 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1492 { (exit 1); exit 1; }; }
1494 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1495 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1496 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1498 # Make sure we can run config.sub.
1499 $ac_config_sub sun4 >/dev/null 2>&1 ||
1500 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1501 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1502 { (exit 1); exit 1; }; }
1504 echo "$as_me:$LINENO: checking build system type" >&5
1505 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1506 if test "${ac_cv_build+set}" = set; then
1507 echo $ECHO_N "(cached) $ECHO_C" >&6
1509 ac_cv_build_alias=$build_alias
1510 test -z "$ac_cv_build_alias" &&
1511 ac_cv_build_alias=`$ac_config_guess`
1512 test -z "$ac_cv_build_alias" &&
1513 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1514 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1515 { (exit 1); exit 1; }; }
1516 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1517 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1518 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1519 { (exit 1); exit 1; }; }
1522 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1523 echo "${ECHO_T}$ac_cv_build" >&6
1525 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1526 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1527 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1530 echo "$as_me:$LINENO: checking host system type" >&5
1531 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1532 if test "${ac_cv_host+set}" = set; then
1533 echo $ECHO_N "(cached) $ECHO_C" >&6
1535 ac_cv_host_alias=$host_alias
1536 test -z "$ac_cv_host_alias" &&
1537 ac_cv_host_alias=$ac_cv_build_alias
1538 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1539 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1540 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1541 { (exit 1); exit 1; }; }
1544 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1545 echo "${ECHO_T}$ac_cv_host" >&6
1547 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1548 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1549 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1552 echo "$as_me:$LINENO: checking target system type" >&5
1553 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1554 if test "${ac_cv_target+set}" = set; then
1555 echo $ECHO_N "(cached) $ECHO_C" >&6
1557 ac_cv_target_alias=$target_alias
1558 test "x$ac_cv_target_alias" = "x" &&
1559 ac_cv_target_alias=$ac_cv_host_alias
1560 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1561 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1562 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1563 { (exit 1); exit 1; }; }
1566 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1567 echo "${ECHO_T}$ac_cv_target" >&6
1568 target=$ac_cv_target
1569 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1570 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1571 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1574 # The aliases save the names the user supplied, while $host etc.
1575 # will get canonicalized.
1576 test -n "$target_alias" &&
1577 test "$program_prefix$program_suffix$program_transform_name" = \
1579 program_prefix=${target_alias}-
1581 ac_cpp='$CPP $CPPFLAGS'
1582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1585 if test -n "$ac_tool_prefix"; then
1586 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1587 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1588 echo "$as_me:$LINENO: checking for $ac_word" >&5
1589 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1590 if test "${ac_cv_prog_CC+set}" = set; then
1591 echo $ECHO_N "(cached) $ECHO_C" >&6
1593 if test -n "$CC"; then
1594 ac_cv_prog_CC="$CC" # Let the user override the test.
1596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1600 test -z "$as_dir" && as_dir=.
1601 for ac_exec_ext in '' $ac_executable_extensions; do
1602 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1603 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1604 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1613 if test -n "$CC"; then
1614 echo "$as_me:$LINENO: result: $CC" >&5
1615 echo "${ECHO_T}$CC" >&6
1617 echo "$as_me:$LINENO: result: no" >&5
1618 echo "${ECHO_T}no" >&6
1622 if test -z "$ac_cv_prog_CC"; then
1624 # Extract the first word of "gcc", so it can be a program name with args.
1625 set dummy gcc; ac_word=$2
1626 echo "$as_me:$LINENO: checking for $ac_word" >&5
1627 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1628 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1629 echo $ECHO_N "(cached) $ECHO_C" >&6
1631 if test -n "$ac_ct_CC"; then
1632 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1638 test -z "$as_dir" && as_dir=.
1639 for ac_exec_ext in '' $ac_executable_extensions; do
1640 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1641 ac_cv_prog_ac_ct_CC="gcc"
1642 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1650 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1651 if test -n "$ac_ct_CC"; then
1652 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1653 echo "${ECHO_T}$ac_ct_CC" >&6
1655 echo "$as_me:$LINENO: result: no" >&5
1656 echo "${ECHO_T}no" >&6
1664 if test -z "$CC"; then
1665 if test -n "$ac_tool_prefix"; then
1666 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1667 set dummy ${ac_tool_prefix}cc; ac_word=$2
1668 echo "$as_me:$LINENO: checking for $ac_word" >&5
1669 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1670 if test "${ac_cv_prog_CC+set}" = set; then
1671 echo $ECHO_N "(cached) $ECHO_C" >&6
1673 if test -n "$CC"; then
1674 ac_cv_prog_CC="$CC" # Let the user override the test.
1676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1680 test -z "$as_dir" && as_dir=.
1681 for ac_exec_ext in '' $ac_executable_extensions; do
1682 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1683 ac_cv_prog_CC="${ac_tool_prefix}cc"
1684 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1693 if test -n "$CC"; then
1694 echo "$as_me:$LINENO: result: $CC" >&5
1695 echo "${ECHO_T}$CC" >&6
1697 echo "$as_me:$LINENO: result: no" >&5
1698 echo "${ECHO_T}no" >&6
1702 if test -z "$ac_cv_prog_CC"; then
1704 # Extract the first word of "cc", so it can be a program name with args.
1705 set dummy cc; ac_word=$2
1706 echo "$as_me:$LINENO: checking for $ac_word" >&5
1707 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1708 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1709 echo $ECHO_N "(cached) $ECHO_C" >&6
1711 if test -n "$ac_ct_CC"; then
1712 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1718 test -z "$as_dir" && as_dir=.
1719 for ac_exec_ext in '' $ac_executable_extensions; do
1720 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1721 ac_cv_prog_ac_ct_CC="cc"
1722 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1730 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1731 if test -n "$ac_ct_CC"; then
1732 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1733 echo "${ECHO_T}$ac_ct_CC" >&6
1735 echo "$as_me:$LINENO: result: no" >&5
1736 echo "${ECHO_T}no" >&6
1745 if test -z "$CC"; then
1746 # Extract the first word of "cc", so it can be a program name with args.
1747 set dummy cc; ac_word=$2
1748 echo "$as_me:$LINENO: checking for $ac_word" >&5
1749 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1750 if test "${ac_cv_prog_CC+set}" = set; then
1751 echo $ECHO_N "(cached) $ECHO_C" >&6
1753 if test -n "$CC"; then
1754 ac_cv_prog_CC="$CC" # Let the user override the test.
1757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1761 test -z "$as_dir" && as_dir=.
1762 for ac_exec_ext in '' $ac_executable_extensions; do
1763 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1764 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1765 ac_prog_rejected=yes
1769 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1775 if test $ac_prog_rejected = yes; then
1776 # We found a bogon in the path, so make sure we never use it.
1777 set dummy $ac_cv_prog_CC
1779 if test $# != 0; then
1780 # We chose a different compiler from the bogus one.
1781 # However, it has the same basename, so the bogon will be chosen
1782 # first if we set CC to just the basename; use the full file name.
1784 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1790 if test -n "$CC"; then
1791 echo "$as_me:$LINENO: result: $CC" >&5
1792 echo "${ECHO_T}$CC" >&6
1794 echo "$as_me:$LINENO: result: no" >&5
1795 echo "${ECHO_T}no" >&6
1799 if test -z "$CC"; then
1800 if test -n "$ac_tool_prefix"; then
1803 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1804 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1805 echo "$as_me:$LINENO: checking for $ac_word" >&5
1806 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1807 if test "${ac_cv_prog_CC+set}" = set; then
1808 echo $ECHO_N "(cached) $ECHO_C" >&6
1810 if test -n "$CC"; then
1811 ac_cv_prog_CC="$CC" # Let the user override the test.
1813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1817 test -z "$as_dir" && as_dir=.
1818 for ac_exec_ext in '' $ac_executable_extensions; do
1819 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1820 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1821 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1830 if test -n "$CC"; then
1831 echo "$as_me:$LINENO: result: $CC" >&5
1832 echo "${ECHO_T}$CC" >&6
1834 echo "$as_me:$LINENO: result: no" >&5
1835 echo "${ECHO_T}no" >&6
1838 test -n "$CC" && break
1841 if test -z "$CC"; then
1845 # Extract the first word of "$ac_prog", so it can be a program name with args.
1846 set dummy $ac_prog; ac_word=$2
1847 echo "$as_me:$LINENO: checking for $ac_word" >&5
1848 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1849 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1850 echo $ECHO_N "(cached) $ECHO_C" >&6
1852 if test -n "$ac_ct_CC"; then
1853 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1859 test -z "$as_dir" && as_dir=.
1860 for ac_exec_ext in '' $ac_executable_extensions; do
1861 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1862 ac_cv_prog_ac_ct_CC="$ac_prog"
1863 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1871 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1872 if test -n "$ac_ct_CC"; then
1873 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1874 echo "${ECHO_T}$ac_ct_CC" >&6
1876 echo "$as_me:$LINENO: result: no" >&5
1877 echo "${ECHO_T}no" >&6
1880 test -n "$ac_ct_CC" && break
1889 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1890 See \`config.log' for more details." >&5
1891 echo "$as_me: error: no acceptable C compiler found in \$PATH
1892 See \`config.log' for more details." >&2;}
1893 { (exit 1); exit 1; }; }
1895 # Provide some information about the compiler.
1896 echo "$as_me:$LINENO:" \
1897 "checking for C compiler version" >&5
1898 ac_compiler=`set X $ac_compile; echo $2`
1899 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1900 (eval $ac_compiler --version </dev/null >&5) 2>&5
1902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1903 (exit $ac_status); }
1904 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1905 (eval $ac_compiler -v </dev/null >&5) 2>&5
1907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1908 (exit $ac_status); }
1909 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1910 (eval $ac_compiler -V </dev/null >&5) 2>&5
1912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1913 (exit $ac_status); }
1915 cat >conftest.$ac_ext <<_ACEOF
1918 cat confdefs.h >>conftest.$ac_ext
1919 cat >>conftest.$ac_ext <<_ACEOF
1920 /* end confdefs.h. */
1930 ac_clean_files_save=$ac_clean_files
1931 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1932 # Try to create an executable without -o first, disregard a.out.
1933 # It will help us diagnose broken compilers, and finding out an intuition
1935 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1936 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1937 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1938 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1939 (eval $ac_link_default) 2>&5
1941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1942 (exit $ac_status); }; then
1943 # Find the output, starting from the most likely. This scheme is
1944 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1947 # Be careful to initialize this variable, since it used to be cached.
1948 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1950 # b.out is created by i960 compilers.
1951 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1953 test -f "$ac_file" || continue
1955 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1958 # This is the source file.
1961 # We found the default executable, but exeext='' is most
1965 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1966 # FIXME: I believe we export ac_cv_exeext for Libtool,
1967 # but it would be cool to find out if it's true. Does anybody
1968 # maintain Libtool? --akim.
1976 echo "$as_me: failed program was:" >&5
1977 sed 's/^/| /' conftest.$ac_ext >&5
1979 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1980 See \`config.log' for more details." >&5
1981 echo "$as_me: error: C compiler cannot create executables
1982 See \`config.log' for more details." >&2;}
1983 { (exit 77); exit 77; }; }
1986 ac_exeext=$ac_cv_exeext
1987 echo "$as_me:$LINENO: result: $ac_file" >&5
1988 echo "${ECHO_T}$ac_file" >&6
1990 # Check the compiler produces executables we can run. If not, either
1991 # the compiler is broken, or we cross compile.
1992 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1993 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1994 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1995 # If not cross compiling, check that we can run a simple program.
1996 if test "$cross_compiling" != yes; then
1997 if { ac_try='./$ac_file'
1998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2002 (exit $ac_status); }; }; then
2005 if test "$cross_compiling" = maybe; then
2008 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2009 If you meant to cross compile, use \`--host'.
2010 See \`config.log' for more details." >&5
2011 echo "$as_me: error: cannot run C compiled programs.
2012 If you meant to cross compile, use \`--host'.
2013 See \`config.log' for more details." >&2;}
2014 { (exit 1); exit 1; }; }
2018 echo "$as_me:$LINENO: result: yes" >&5
2019 echo "${ECHO_T}yes" >&6
2021 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2022 ac_clean_files=$ac_clean_files_save
2023 # Check the compiler produces executables we can run. If not, either
2024 # the compiler is broken, or we cross compile.
2025 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2026 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2027 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2028 echo "${ECHO_T}$cross_compiling" >&6
2030 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2031 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2033 (eval $ac_link) 2>&5
2035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2036 (exit $ac_status); }; then
2037 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2038 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2039 # work properly (i.e., refer to `conftest.exe'), while it won't with
2041 for ac_file in conftest.exe conftest conftest.*; do
2042 test -f "$ac_file" || continue
2044 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2045 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2052 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2053 See \`config.log' for more details." >&5
2054 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2055 See \`config.log' for more details." >&2;}
2056 { (exit 1); exit 1; }; }
2059 rm -f conftest$ac_cv_exeext
2060 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2061 echo "${ECHO_T}$ac_cv_exeext" >&6
2063 rm -f conftest.$ac_ext
2064 EXEEXT=$ac_cv_exeext
2066 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2067 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2068 if test "${ac_cv_objext+set}" = set; then
2069 echo $ECHO_N "(cached) $ECHO_C" >&6
2071 cat >conftest.$ac_ext <<_ACEOF
2074 cat confdefs.h >>conftest.$ac_ext
2075 cat >>conftest.$ac_ext <<_ACEOF
2076 /* end confdefs.h. */
2086 rm -f conftest.o conftest.obj
2087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2088 (eval $ac_compile) 2>&5
2090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2091 (exit $ac_status); }; then
2092 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2094 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2095 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2100 echo "$as_me: failed program was:" >&5
2101 sed 's/^/| /' conftest.$ac_ext >&5
2103 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2104 See \`config.log' for more details." >&5
2105 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2106 See \`config.log' for more details." >&2;}
2107 { (exit 1); exit 1; }; }
2110 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2112 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2113 echo "${ECHO_T}$ac_cv_objext" >&6
2114 OBJEXT=$ac_cv_objext
2116 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2117 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2118 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2119 echo $ECHO_N "(cached) $ECHO_C" >&6
2121 cat >conftest.$ac_ext <<_ACEOF
2124 cat confdefs.h >>conftest.$ac_ext
2125 cat >>conftest.$ac_ext <<_ACEOF
2126 /* end confdefs.h. */
2139 rm -f conftest.$ac_objext
2140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2141 (eval $ac_compile) 2>conftest.er1
2143 grep -v '^ *+' conftest.er1 >conftest.err
2145 cat conftest.err >&5
2146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2147 (exit $ac_status); } &&
2148 { ac_try='test -z "$ac_c_werror_flag"
2149 || test ! -s conftest.err'
2150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2154 (exit $ac_status); }; } &&
2155 { ac_try='test -s conftest.$ac_objext'
2156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2160 (exit $ac_status); }; }; then
2163 echo "$as_me: failed program was:" >&5
2164 sed 's/^/| /' conftest.$ac_ext >&5
2168 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2169 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2172 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2173 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2174 GCC=`test $ac_compiler_gnu = yes && echo yes`
2175 ac_test_CFLAGS=${CFLAGS+set}
2176 ac_save_CFLAGS=$CFLAGS
2178 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2179 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2180 if test "${ac_cv_prog_cc_g+set}" = set; then
2181 echo $ECHO_N "(cached) $ECHO_C" >&6
2183 cat >conftest.$ac_ext <<_ACEOF
2186 cat confdefs.h >>conftest.$ac_ext
2187 cat >>conftest.$ac_ext <<_ACEOF
2188 /* end confdefs.h. */
2198 rm -f conftest.$ac_objext
2199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2200 (eval $ac_compile) 2>conftest.er1
2202 grep -v '^ *+' conftest.er1 >conftest.err
2204 cat conftest.err >&5
2205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2206 (exit $ac_status); } &&
2207 { ac_try='test -z "$ac_c_werror_flag"
2208 || test ! -s conftest.err'
2209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2213 (exit $ac_status); }; } &&
2214 { ac_try='test -s conftest.$ac_objext'
2215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2219 (exit $ac_status); }; }; then
2222 echo "$as_me: failed program was:" >&5
2223 sed 's/^/| /' conftest.$ac_ext >&5
2227 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2229 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2230 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2231 if test "$ac_test_CFLAGS" = set; then
2232 CFLAGS=$ac_save_CFLAGS
2233 elif test $ac_cv_prog_cc_g = yes; then
2234 if test "$GCC" = yes; then
2240 if test "$GCC" = yes; then
2246 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2247 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2248 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2249 echo $ECHO_N "(cached) $ECHO_C" >&6
2251 ac_cv_prog_cc_stdc=no
2253 cat >conftest.$ac_ext <<_ACEOF
2256 cat confdefs.h >>conftest.$ac_ext
2257 cat >>conftest.$ac_ext <<_ACEOF
2258 /* end confdefs.h. */
2261 #include <sys/types.h>
2262 #include <sys/stat.h>
2263 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2264 struct buf { int x; };
2265 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2266 static char *e (p, i)
2272 static char *f (char * (*g) (char **, int), char **p, ...)
2277 s = g (p, va_arg (v,int));
2282 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2283 function prototypes and stuff, but not '\xHH' hex character constants.
2284 These don't provoke an error unfortunately, instead are silently treated
2285 as 'x'. The following induces an error, until -std1 is added to get
2286 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2287 array size at least. It's necessary to write '\x00'==0 to get something
2288 that's true only with -std1. */
2289 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2291 int test (int i, double x);
2292 struct s1 {int (*f) (int a);};
2293 struct s2 {int (*f) (double a);};
2294 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2300 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2305 # Don't try gcc -ansi; that turns off useful extensions and
2306 # breaks some systems' header files.
2307 # AIX -qlanglvl=ansi
2308 # Ultrix and OSF/1 -std1
2309 # HP-UX 10.20 and later -Ae
2310 # HP-UX older versions -Aa -D_HPUX_SOURCE
2311 # SVR4 -Xc -D__EXTENSIONS__
2312 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2314 CC="$ac_save_CC $ac_arg"
2315 rm -f conftest.$ac_objext
2316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2317 (eval $ac_compile) 2>conftest.er1
2319 grep -v '^ *+' conftest.er1 >conftest.err
2321 cat conftest.err >&5
2322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2323 (exit $ac_status); } &&
2324 { ac_try='test -z "$ac_c_werror_flag"
2325 || test ! -s conftest.err'
2326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2330 (exit $ac_status); }; } &&
2331 { ac_try='test -s conftest.$ac_objext'
2332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2336 (exit $ac_status); }; }; then
2337 ac_cv_prog_cc_stdc=$ac_arg
2340 echo "$as_me: failed program was:" >&5
2341 sed 's/^/| /' conftest.$ac_ext >&5
2344 rm -f conftest.err conftest.$ac_objext
2346 rm -f conftest.$ac_ext conftest.$ac_objext
2351 case "x$ac_cv_prog_cc_stdc" in
2353 echo "$as_me:$LINENO: result: none needed" >&5
2354 echo "${ECHO_T}none needed" >&6 ;;
2356 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2357 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2358 CC="$CC $ac_cv_prog_cc_stdc" ;;
2361 # Some people use a C++ compiler to compile C. Since we use `exit',
2362 # in C++ we need to declare it. In case someone uses the same compiler
2363 # for both compiling C and C++ we need to have the C++ compiler decide
2364 # the declaration of exit, since it's the most demanding environment.
2365 cat >conftest.$ac_ext <<_ACEOF
2370 rm -f conftest.$ac_objext
2371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2372 (eval $ac_compile) 2>conftest.er1
2374 grep -v '^ *+' conftest.er1 >conftest.err
2376 cat conftest.err >&5
2377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2378 (exit $ac_status); } &&
2379 { ac_try='test -z "$ac_c_werror_flag"
2380 || test ! -s conftest.err'
2381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2385 (exit $ac_status); }; } &&
2386 { ac_try='test -s conftest.$ac_objext'
2387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2391 (exit $ac_status); }; }; then
2392 for ac_declaration in \
2394 'extern "C" void std::exit (int) throw (); using std::exit;' \
2395 'extern "C" void std::exit (int); using std::exit;' \
2396 'extern "C" void exit (int) throw ();' \
2397 'extern "C" void exit (int);' \
2400 cat >conftest.$ac_ext <<_ACEOF
2403 cat confdefs.h >>conftest.$ac_ext
2404 cat >>conftest.$ac_ext <<_ACEOF
2405 /* end confdefs.h. */
2416 rm -f conftest.$ac_objext
2417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2418 (eval $ac_compile) 2>conftest.er1
2420 grep -v '^ *+' conftest.er1 >conftest.err
2422 cat conftest.err >&5
2423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2424 (exit $ac_status); } &&
2425 { ac_try='test -z "$ac_c_werror_flag"
2426 || test ! -s conftest.err'
2427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2431 (exit $ac_status); }; } &&
2432 { ac_try='test -s conftest.$ac_objext'
2433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2437 (exit $ac_status); }; }; then
2440 echo "$as_me: failed program was:" >&5
2441 sed 's/^/| /' conftest.$ac_ext >&5
2445 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2446 cat >conftest.$ac_ext <<_ACEOF
2449 cat confdefs.h >>conftest.$ac_ext
2450 cat >>conftest.$ac_ext <<_ACEOF
2451 /* end confdefs.h. */
2461 rm -f conftest.$ac_objext
2462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2463 (eval $ac_compile) 2>conftest.er1
2465 grep -v '^ *+' conftest.er1 >conftest.err
2467 cat conftest.err >&5
2468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2469 (exit $ac_status); } &&
2470 { ac_try='test -z "$ac_c_werror_flag"
2471 || test ! -s conftest.err'
2472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2476 (exit $ac_status); }; } &&
2477 { ac_try='test -s conftest.$ac_objext'
2478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2482 (exit $ac_status); }; }; then
2485 echo "$as_me: failed program was:" >&5
2486 sed 's/^/| /' conftest.$ac_ext >&5
2489 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2492 if test -n "$ac_declaration"; then
2493 echo '#ifdef __cplusplus' >>confdefs.h
2494 echo $ac_declaration >>confdefs.h
2495 echo '#endif' >>confdefs.h
2499 echo "$as_me: failed program was:" >&5
2500 sed 's/^/| /' conftest.$ac_ext >&5
2503 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2505 ac_cpp='$CPP $CPPFLAGS'
2506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2511 echo "$as_me:$LINENO: checking for library containing strerror" >&5
2512 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
2513 if test "${ac_cv_search_strerror+set}" = set; then
2514 echo $ECHO_N "(cached) $ECHO_C" >&6
2516 ac_func_search_save_LIBS=$LIBS
2517 ac_cv_search_strerror=no
2518 cat >conftest.$ac_ext <<_ACEOF
2521 cat confdefs.h >>conftest.$ac_ext
2522 cat >>conftest.$ac_ext <<_ACEOF
2523 /* end confdefs.h. */
2525 /* Override any gcc2 internal prototype to avoid an error. */
2529 /* We use char because int might match the return type of a gcc2
2530 builtin and then its argument prototype would still apply. */
2540 rm -f conftest.$ac_objext conftest$ac_exeext
2541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2542 (eval $ac_link) 2>conftest.er1
2544 grep -v '^ *+' conftest.er1 >conftest.err
2546 cat conftest.err >&5
2547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2548 (exit $ac_status); } &&
2549 { ac_try='test -z "$ac_c_werror_flag"
2550 || test ! -s conftest.err'
2551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2555 (exit $ac_status); }; } &&
2556 { ac_try='test -s conftest$ac_exeext'
2557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2561 (exit $ac_status); }; }; then
2562 ac_cv_search_strerror="none required"
2564 echo "$as_me: failed program was:" >&5
2565 sed 's/^/| /' conftest.$ac_ext >&5
2568 rm -f conftest.err conftest.$ac_objext \
2569 conftest$ac_exeext conftest.$ac_ext
2570 if test "$ac_cv_search_strerror" = no; then
2571 for ac_lib in cposix; do
2572 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
2573 cat >conftest.$ac_ext <<_ACEOF
2576 cat confdefs.h >>conftest.$ac_ext
2577 cat >>conftest.$ac_ext <<_ACEOF
2578 /* end confdefs.h. */
2580 /* Override any gcc2 internal prototype to avoid an error. */
2584 /* We use char because int might match the return type of a gcc2
2585 builtin and then its argument prototype would still apply. */
2595 rm -f conftest.$ac_objext conftest$ac_exeext
2596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2597 (eval $ac_link) 2>conftest.er1
2599 grep -v '^ *+' conftest.er1 >conftest.err
2601 cat conftest.err >&5
2602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2603 (exit $ac_status); } &&
2604 { ac_try='test -z "$ac_c_werror_flag"
2605 || test ! -s conftest.err'
2606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2610 (exit $ac_status); }; } &&
2611 { ac_try='test -s conftest$ac_exeext'
2612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2616 (exit $ac_status); }; }; then
2617 ac_cv_search_strerror="-l$ac_lib"
2620 echo "$as_me: failed program was:" >&5
2621 sed 's/^/| /' conftest.$ac_ext >&5
2624 rm -f conftest.err conftest.$ac_objext \
2625 conftest$ac_exeext conftest.$ac_ext
2628 LIBS=$ac_func_search_save_LIBS
2630 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2631 echo "${ECHO_T}$ac_cv_search_strerror" >&6
2632 if test "$ac_cv_search_strerror" != no; then
2633 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
2638 BFD_VERSION=`sed -n -e 's/^.._INIT_AUTOMAKE.*,[ ]*\([^ ]*\)[ ]*).*/\1/p' < ${srcdir}/../bfd/configure.in`
2639 am__api_version="1.9"
2640 # Find a good install program. We prefer a C program (faster),
2641 # so one script is as good as another. But avoid the broken or
2642 # incompatible versions:
2643 # SysV /etc/install, /usr/sbin/install
2644 # SunOS /usr/etc/install
2645 # IRIX /sbin/install
2647 # AmigaOS /C/install, which installs bootblocks on floppy discs
2648 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2649 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2650 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2651 # OS/2's system install, which has a completely different semantic
2652 # ./install, which can be erroneously created by make from ./install.sh.
2653 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2654 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2655 if test -z "$INSTALL"; then
2656 if test "${ac_cv_path_install+set}" = set; then
2657 echo $ECHO_N "(cached) $ECHO_C" >&6
2659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2663 test -z "$as_dir" && as_dir=.
2664 # Account for people who put trailing slashes in PATH elements.
2666 ./ | .// | /cC/* | \
2667 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2668 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2671 # OSF1 and SCO ODT 3.0 have their own names for install.
2672 # Don't use installbsd from OSF since it installs stuff as root
2674 for ac_prog in ginstall scoinst install; do
2675 for ac_exec_ext in '' $ac_executable_extensions; do
2676 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2677 if test $ac_prog = install &&
2678 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2679 # AIX install. It has an incompatible calling convention.
2681 elif test $ac_prog = install &&
2682 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2683 # program-specific install script used by HP pwplus--don't use.
2686 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2698 if test "${ac_cv_path_install+set}" = set; then
2699 INSTALL=$ac_cv_path_install
2701 # As a last resort, use the slow shell script. We don't cache a
2702 # path for INSTALL within a source directory, because that will
2703 # break other packages using the cache if that directory is
2704 # removed, or if the path is relative.
2705 INSTALL=$ac_install_sh
2708 echo "$as_me:$LINENO: result: $INSTALL" >&5
2709 echo "${ECHO_T}$INSTALL" >&6
2711 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2712 # It thinks the first close brace ends the variable substitution.
2713 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2715 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2717 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2719 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2720 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
2723 echo timestamp > conftest.file
2724 # Do `set' in a subshell so we don't clobber the current shell's
2725 # arguments. Must try -L first in case configure is actually a
2726 # symlink; some systems play weird games with the mod time of symlinks
2727 # (eg FreeBSD returns the mod time of the symlink's containing
2730 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2731 if test "$*" = "X"; then
2733 set X `ls -t $srcdir/configure conftest.file`
2736 if test "$*" != "X $srcdir/configure conftest.file" \
2737 && test "$*" != "X conftest.file $srcdir/configure"; then
2739 # If neither matched, then we have a broken ls. This can happen
2740 # if, for instance, CONFIG_SHELL is bash and it inherits a
2741 # broken ls alias from the environment. This has actually
2742 # happened. Such a system could not be considered "sane".
2743 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2744 alias in your environment" >&5
2745 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2746 alias in your environment" >&2;}
2747 { (exit 1); exit 1; }; }
2750 test "$2" = conftest.file
2756 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2757 Check your system clock" >&5
2758 echo "$as_me: error: newly created file is older than distributed files!
2759 Check your system clock" >&2;}
2760 { (exit 1); exit 1; }; }
2762 echo "$as_me:$LINENO: result: yes" >&5
2763 echo "${ECHO_T}yes" >&6
2764 test "$program_prefix" != NONE &&
2765 program_transform_name="s,^,$program_prefix,;$program_transform_name"
2766 # Use a double $ so make ignores it.
2767 test "$program_suffix" != NONE &&
2768 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
2769 # Double any \ or $. echo might interpret backslashes.
2770 # By default was `s,x,x', remove it if useless.
2771 cat <<\_ACEOF >conftest.sed
2772 s/[\\$]/&&/g;s/;s,x,x,$//
2774 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2777 # expand $ac_aux_dir to an absolute path
2778 am_aux_dir=`cd $ac_aux_dir && pwd`
2780 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2781 # Use eval to expand $SHELL
2782 if eval "$MISSING --run true"; then
2783 am_missing_run="$MISSING --run "
2786 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2787 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2790 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2791 # We used to keeping the `.' as first argument, in order to
2792 # allow $(mkdir_p) to be used without argument. As in
2793 # $(mkdir_p) $(somedir)
2794 # where $(somedir) is conditionally defined. However this is wrong
2796 # 1. if the package is installed by a user who cannot write `.'
2797 # make install will fail,
2798 # 2. the above comment should most certainly read
2799 # $(mkdir_p) $(DESTDIR)$(somedir)
2800 # so it does not work when $(somedir) is undefined and
2801 # $(DESTDIR) is not.
2802 # To support the latter case, we have to write
2803 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2804 # so the `.' trick is pointless.
2805 mkdir_p='mkdir -p --'
2807 # On NextStep and OpenStep, the `mkdir' command does not
2808 # recognize any option. It will interpret all options as
2809 # directories to create, and then abort because `.' already
2811 for d in ./-p ./--version;
2813 test -d $d && rmdir $d
2815 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2816 if test -f "$ac_aux_dir/mkinstalldirs"; then
2817 mkdir_p='$(mkinstalldirs)'
2819 mkdir_p='$(install_sh) -d'
2823 for ac_prog in gawk mawk nawk awk
2825 # Extract the first word of "$ac_prog", so it can be a program name with args.
2826 set dummy $ac_prog; ac_word=$2
2827 echo "$as_me:$LINENO: checking for $ac_word" >&5
2828 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2829 if test "${ac_cv_prog_AWK+set}" = set; then
2830 echo $ECHO_N "(cached) $ECHO_C" >&6
2832 if test -n "$AWK"; then
2833 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2839 test -z "$as_dir" && as_dir=.
2840 for ac_exec_ext in '' $ac_executable_extensions; do
2841 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2842 ac_cv_prog_AWK="$ac_prog"
2843 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2852 if test -n "$AWK"; then
2853 echo "$as_me:$LINENO: result: $AWK" >&5
2854 echo "${ECHO_T}$AWK" >&6
2856 echo "$as_me:$LINENO: result: no" >&5
2857 echo "${ECHO_T}no" >&6
2860 test -n "$AWK" && break
2863 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2864 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2865 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
2866 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2867 echo $ECHO_N "(cached) $ECHO_C" >&6
2869 cat >conftest.make <<\_ACEOF
2871 @echo 'ac_maketemp="$(MAKE)"'
2873 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2874 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2875 if test -n "$ac_maketemp"; then
2876 eval ac_cv_prog_make_${ac_make}_set=yes
2878 eval ac_cv_prog_make_${ac_make}_set=no
2882 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2883 echo "$as_me:$LINENO: result: yes" >&5
2884 echo "${ECHO_T}yes" >&6
2887 echo "$as_me:$LINENO: result: no" >&5
2888 echo "${ECHO_T}no" >&6
2889 SET_MAKE="MAKE=${MAKE-make}"
2892 rm -rf .tst 2>/dev/null
2893 mkdir .tst 2>/dev/null
2894 if test -d .tst; then
2899 rmdir .tst 2>/dev/null
2901 DEPDIR="${am__leading_dot}deps"
2903 ac_config_commands="$ac_config_commands depfiles"
2906 am_make=${MAKE-make}
2907 cat > confinc << 'END'
2912 # If we don't find an include directive, just comment out the code.
2913 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2914 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2918 # First try GNU make style include.
2919 echo "include confinc" > confmf
2920 # We grep out `Entering directory' and `Leaving directory'
2921 # messages which can occur if `w' ends up in MAKEFLAGS.
2922 # In particular we don't look at `^make:' because GNU make might
2923 # be invoked under some other name (usually "gmake"), in which
2924 # case it prints its new name instead of `make'.
2925 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2930 # Now try BSD make style include.
2931 if test "$am__include" = "#"; then
2932 echo '.include "confinc"' > confmf
2933 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2934 am__include=.include
2941 echo "$as_me:$LINENO: result: $_am_result" >&5
2942 echo "${ECHO_T}$_am_result" >&6
2943 rm -f confinc confmf
2945 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2946 if test "${enable_dependency_tracking+set}" = set; then
2947 enableval="$enable_dependency_tracking"
2950 if test "x$enable_dependency_tracking" != xno; then
2951 am_depcomp="$ac_aux_dir/depcomp"
2956 if test "x$enable_dependency_tracking" != xno; then
2966 # test to see if srcdir already configured
2967 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2968 test -f $srcdir/config.status; then
2969 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2970 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2971 { (exit 1); exit 1; }; }
2974 # test whether we have cygpath
2975 if test -z "$CYGPATH_W"; then
2976 if (cygpath --version) >/dev/null 2>/dev/null; then
2977 CYGPATH_W='cygpath -w'
2984 # Define the identity of the package.
2986 VERSION=${BFD_VERSION}
2989 cat >>confdefs.h <<_ACEOF
2990 #define PACKAGE "$PACKAGE"
2994 cat >>confdefs.h <<_ACEOF
2995 #define VERSION "$VERSION"
2998 # Some tools Automake needs.
3000 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3003 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3006 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3009 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3012 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3014 install_sh=${install_sh-"$am_aux_dir/install-sh"}
3016 # Installed binaries are usually stripped using `strip' when the user
3017 # run `make install-strip'. However `strip' might not be the right
3018 # tool to use in cross-compilation environments, therefore Automake
3019 # will honor the `STRIP' environment variable to overrule this program.
3020 if test "$cross_compiling" != no; then
3021 if test -n "$ac_tool_prefix"; then
3022 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3023 set dummy ${ac_tool_prefix}strip; ac_word=$2
3024 echo "$as_me:$LINENO: checking for $ac_word" >&5
3025 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3026 if test "${ac_cv_prog_STRIP+set}" = set; then
3027 echo $ECHO_N "(cached) $ECHO_C" >&6
3029 if test -n "$STRIP"; then
3030 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3036 test -z "$as_dir" && as_dir=.
3037 for ac_exec_ext in '' $ac_executable_extensions; do
3038 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3039 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3040 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3048 STRIP=$ac_cv_prog_STRIP
3049 if test -n "$STRIP"; then
3050 echo "$as_me:$LINENO: result: $STRIP" >&5
3051 echo "${ECHO_T}$STRIP" >&6
3053 echo "$as_me:$LINENO: result: no" >&5
3054 echo "${ECHO_T}no" >&6
3058 if test -z "$ac_cv_prog_STRIP"; then
3060 # Extract the first word of "strip", so it can be a program name with args.
3061 set dummy strip; ac_word=$2
3062 echo "$as_me:$LINENO: checking for $ac_word" >&5
3063 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3064 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3065 echo $ECHO_N "(cached) $ECHO_C" >&6
3067 if test -n "$ac_ct_STRIP"; then
3068 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3074 test -z "$as_dir" && as_dir=.
3075 for ac_exec_ext in '' $ac_executable_extensions; do
3076 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3077 ac_cv_prog_ac_ct_STRIP="strip"
3078 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3084 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
3087 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3088 if test -n "$ac_ct_STRIP"; then
3089 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3090 echo "${ECHO_T}$ac_ct_STRIP" >&6
3092 echo "$as_me:$LINENO: result: no" >&5
3093 echo "${ECHO_T}no" >&6
3098 STRIP="$ac_cv_prog_STRIP"
3102 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
3104 # We need awk for the "check" target. The system "awk" is bad on
3106 # Always define AMTAR for backward compatibility.
3108 AMTAR=${AMTAR-"${am_missing_run}tar"}
3110 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3115 depcc="$CC" am_compiler_list=
3117 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3118 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3119 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3120 echo $ECHO_N "(cached) $ECHO_C" >&6
3122 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3123 # We make a subdir and do the tests there. Otherwise we can end up
3124 # making bogus files that we don't know about and never remove. For
3125 # instance it was reported that on HP-UX the gcc test will end up
3126 # making a dummy file named `D' -- because `-MD' means `put the output
3129 # Copy depcomp to subdir because otherwise we won't find it if we're
3130 # using a relative directory.
3131 cp "$am_depcomp" conftest.dir
3133 # We will build objects and dependencies in a subdirectory because
3134 # it helps to detect inapplicable dependency modes. For instance
3135 # both Tru64's cc and ICC support -MD to output dependencies as a
3136 # side effect of compilation, but ICC will put the dependencies in
3137 # the current directory while Tru64 will put them in the object
3141 am_cv_CC_dependencies_compiler_type=none
3142 if test "$am_compiler_list" = ""; then
3143 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3145 for depmode in $am_compiler_list; do
3146 # Setup a source with many dependencies, because some compilers
3147 # like to wrap large dependency lists on column 80 (with \), and
3148 # we should not choose a depcomp mode which is confused by this.
3150 # We need to recreate these files for each test, as the compiler may
3151 # overwrite some of them when testing with obscure command lines.
3152 # This happens at least with the AIX C compiler.
3154 for i in 1 2 3 4 5 6; do
3155 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3156 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3157 # Solaris 8's {/usr,}/bin/sh.
3158 touch sub/conftst$i.h
3160 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3164 # after this tag, mechanisms are not by side-effect, so they'll
3165 # only be used when explicitly requested
3166 if test "x$enable_dependency_tracking" = xyes; then
3174 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3175 # mode. It turns out that the SunPro C++ compiler does not properly
3176 # handle `-M -o', and we need to detect this.
3177 if depmode=$depmode \
3178 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3179 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3180 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3181 >/dev/null 2>conftest.err &&
3182 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3183 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3184 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3185 # icc doesn't choke on unknown options, it will just issue warnings
3186 # or remarks (even with -Werror). So we grep stderr for any message
3187 # that says an option was ignored or not supported.
3188 # When given -MP, icc 7.0 and 7.1 complain thusly:
3189 # icc: Command line warning: ignoring option '-M'; no argument required
3190 # The diagnosis changed in icc 8.0:
3191 # icc: Command line remark: option '-MP' not supported
3192 if (grep 'ignoring option' conftest.err ||
3193 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3194 am_cv_CC_dependencies_compiler_type=$depmode
3203 am_cv_CC_dependencies_compiler_type=none
3207 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3208 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3209 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3214 test "x$enable_dependency_tracking" != xno \
3215 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3217 am__fastdepCC_FALSE='#'
3219 am__fastdepCC_TRUE='#'
3220 am__fastdepCC_FALSE=
3228 macro_version='2.1a'
3229 macro_revision='1.2435'
3242 ltmain="$ac_aux_dir/ltmain.sh"
3252 # Check whether --enable-shared or --disable-shared was given.
3253 if test "${enable_shared+set}" = set; then
3254 enableval="$enable_shared"
3255 p=${PACKAGE-default}
3257 yes) enable_shared=yes ;;
3258 no) enable_shared=no ;;
3261 # Look at the argument we got. We use all the common list separators.
3262 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3263 for pkg in $enableval; do
3265 if test "X$pkg" = "X$p"; then
3283 # Check whether --enable-static or --disable-static was given.
3284 if test "${enable_static+set}" = set; then
3285 enableval="$enable_static"
3286 p=${PACKAGE-default}
3288 yes) enable_static=yes ;;
3289 no) enable_static=no ;;
3292 # Look at the argument we got. We use all the common list separators.
3293 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3294 for pkg in $enableval; do
3296 if test "X$pkg" = "X$p"; then
3315 # Check whether --with-pic or --without-pic was given.
3316 if test "${with_pic+set}" = set; then
3323 test -z "$pic_mode" && pic_mode=default
3331 # Check whether --enable-fast-install or --disable-fast-install was given.
3332 if test "${enable_fast_install+set}" = set; then
3333 enableval="$enable_fast_install"
3334 p=${PACKAGE-default}
3336 yes) enable_fast_install=yes ;;
3337 no) enable_fast_install=no ;;
3339 enable_fast_install=no
3340 # Look at the argument we got. We use all the common list separators.
3341 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3342 for pkg in $enableval; do
3344 if test "X$pkg" = "X$p"; then
3345 enable_fast_install=yes
3352 enable_fast_install=yes
3362 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3363 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3364 if test "${lt_cv_path_SED+set}" = set; then
3365 echo $ECHO_N "(cached) $ECHO_C" >&6
3367 # Loop through the user's path and test for sed and gsed.
3368 # Then use that list of sed's as ones to test for truncation.
3369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3373 test -z "$as_dir" && as_dir=.
3374 for lt_ac_prog in sed gsed; do
3375 for ac_exec_ext in '' $ac_executable_extensions; do
3376 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3377 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3385 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3386 # along with /bin/sed that truncates output.
3387 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3388 test ! -f $lt_ac_sed && continue
3389 cat /dev/null > conftest.in
3391 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3392 # Check for GNU sed and select it if it is found.
3393 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
3394 lt_cv_path_SED=$lt_ac_sed
3398 cat conftest.in conftest.in >conftest.tmp
3399 mv conftest.tmp conftest.in
3400 cp conftest.in conftest.nl
3402 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
3403 cmp -s conftest.out conftest.nl || break
3404 # 10000 chars as input seems more than enough
3405 test $lt_ac_count -gt 10 && break
3406 lt_ac_count=`expr $lt_ac_count + 1`
3407 if test $lt_ac_count -gt $lt_ac_max; then
3408 lt_ac_max=$lt_ac_count
3409 lt_cv_path_SED=$lt_ac_sed
3418 echo "$as_me:$LINENO: result: $SED" >&5
3419 echo "${ECHO_T}$SED" >&6
3421 test -z "$SED" && SED=sed
3422 Xsed="$SED -e 1s/^X//"
3434 echo "$as_me:$LINENO: checking for egrep" >&5
3435 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3436 if test "${ac_cv_prog_egrep+set}" = set; then
3437 echo $ECHO_N "(cached) $ECHO_C" >&6
3439 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3440 then ac_cv_prog_egrep='grep -E'
3441 else ac_cv_prog_egrep='egrep'
3444 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3445 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3446 EGREP=$ac_cv_prog_egrep
3449 echo "$as_me:$LINENO: checking for fgrep" >&5
3450 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
3451 if test "${ac_cv_prog_fgrep+set}" = set; then
3452 echo $ECHO_N "(cached) $ECHO_C" >&6
3454 if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1
3455 then ac_cv_prog_fgrep='grep -F'
3456 else ac_cv_prog_fgrep='fgrep'
3459 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
3460 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
3461 FGREP=$ac_cv_prog_fgrep
3464 test -z "$GREP" && GREP=grep
3484 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3485 if test "${with_gnu_ld+set}" = set; then
3486 withval="$with_gnu_ld"
3487 test "$withval" = no || with_gnu_ld=yes
3492 if test "$GCC" = yes; then
3493 # Check if gcc -print-prog-name=ld gives a path.
3494 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3495 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
3498 # gcc leaves a trailing carriage return which upsets mingw
3499 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3501 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3504 # Accept absolute paths.
3506 re_direlt='/[^/][^/]*/\.\./'
3507 # Canonicalize the pathname of ld
3508 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
3509 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
3510 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
3512 test -z "$LD" && LD="$ac_prog"
3515 # If it fails, then pretend we aren't using GCC.
3519 # If it is relative, then search for the first ld in PATH.
3523 elif test "$with_gnu_ld" = yes; then
3524 echo "$as_me:$LINENO: checking for GNU ld" >&5
3525 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3527 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3528 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3530 if test "${lt_cv_path_LD+set}" = set; then
3531 echo $ECHO_N "(cached) $ECHO_C" >&6
3533 if test -z "$LD"; then
3534 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3535 for ac_dir in $PATH; do
3537 test -z "$ac_dir" && ac_dir=.
3538 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3539 lt_cv_path_LD="$ac_dir/$ac_prog"
3540 # Check to see if the program is GNU ld. I'd rather use --version,
3541 # but apparently some variants of GNU ld only accept -v.
3542 # Break only if it was the GNU/non-GNU ld that we prefer.
3543 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3544 *GNU* | *'with BFD'*)
3545 test "$with_gnu_ld" != no && break
3548 test "$with_gnu_ld" != yes && break
3555 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3560 if test -n "$LD"; then
3561 echo "$as_me:$LINENO: result: $LD" >&5
3562 echo "${ECHO_T}$LD" >&6
3564 echo "$as_me:$LINENO: result: no" >&5
3565 echo "${ECHO_T}no" >&6
3567 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3568 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3569 { (exit 1); exit 1; }; }
3570 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3571 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3572 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3573 echo $ECHO_N "(cached) $ECHO_C" >&6
3575 # I'd rather use --version here, but apparently some GNU lds only accept -v.
3576 case `$LD -v 2>&1 </dev/null` in
3577 *GNU* | *'with BFD'*)
3578 lt_cv_prog_gnu_ld=yes
3581 lt_cv_prog_gnu_ld=no
3585 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3586 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3587 with_gnu_ld=$lt_cv_prog_gnu_ld
3598 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
3599 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
3600 if test "${lt_cv_path_NM+set}" = set; then
3601 echo $ECHO_N "(cached) $ECHO_C" >&6
3603 if test -n "$NM"; then
3604 # Let the user override the test.
3607 lt_nm_to_check="${ac_tool_prefix}nm"
3608 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3609 lt_nm_to_check="$lt_nm_to_check nm"
3611 for lt_tmp_nm in $lt_nm_to_check; do
3612 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3613 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
3615 test -z "$ac_dir" && ac_dir=.
3616 tmp_nm="$ac_dir/$lt_tmp_nm"
3617 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
3618 # Check to see if the nm accepts a BSD-compat flag.
3619 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3620 # nm: unknown option "B" ignored
3621 # Tru64's nm complains that /dev/null is an invalid object file
3622 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3623 */dev/null* | *'Invalid file or object type'*)
3624 lt_cv_path_NM="$tmp_nm -B"
3628 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3630 lt_cv_path_NM="$tmp_nm -p"
3634 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3635 continue # so that we can try to find one that supports BSD flags
3644 : ${lt_cv_path_NM=no}
3647 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
3648 echo "${ECHO_T}$lt_cv_path_NM" >&6
3649 if test "$lt_cv_path_NM" != "no"; then
3652 # Didn't find any BSD compatible name lister, look for dumpbin.
3653 if test -n "$ac_tool_prefix"; then
3654 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
3656 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3657 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3658 echo "$as_me:$LINENO: checking for $ac_word" >&5
3659 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3660 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
3661 echo $ECHO_N "(cached) $ECHO_C" >&6
3663 if test -n "$DUMPBIN"; then
3664 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
3666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3670 test -z "$as_dir" && as_dir=.
3671 for ac_exec_ext in '' $ac_executable_extensions; do
3672 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3673 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
3674 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3682 DUMPBIN=$ac_cv_prog_DUMPBIN
3683 if test -n "$DUMPBIN"; then
3684 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
3685 echo "${ECHO_T}$DUMPBIN" >&6
3687 echo "$as_me:$LINENO: result: no" >&5
3688 echo "${ECHO_T}no" >&6
3691 test -n "$DUMPBIN" && break
3694 if test -z "$DUMPBIN"; then
3695 ac_ct_DUMPBIN=$DUMPBIN
3696 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
3698 # Extract the first word of "$ac_prog", so it can be a program name with args.
3699 set dummy $ac_prog; ac_word=$2
3700 echo "$as_me:$LINENO: checking for $ac_word" >&5
3701 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3702 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
3703 echo $ECHO_N "(cached) $ECHO_C" >&6
3705 if test -n "$ac_ct_DUMPBIN"; then
3706 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
3708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3712 test -z "$as_dir" && as_dir=.
3713 for ac_exec_ext in '' $ac_executable_extensions; do
3714 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3715 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
3716 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3724 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
3725 if test -n "$ac_ct_DUMPBIN"; then
3726 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
3727 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
3729 echo "$as_me:$LINENO: result: no" >&5
3730 echo "${ECHO_T}no" >&6
3733 test -n "$ac_ct_DUMPBIN" && break
3735 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN=":"
3737 DUMPBIN=$ac_ct_DUMPBIN
3741 if test "$DUMPBIN" != ":"; then
3745 test -z "$NM" && NM=nm
3752 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
3753 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
3754 if test "${lt_cv_nm_interface+set}" = set; then
3755 echo $ECHO_N "(cached) $ECHO_C" >&6
3757 lt_cv_nm_interface="BSD nm"
3758 echo "int some_variable = 0;" > conftest.$ac_ext
3759 (eval echo "\"\$as_me:3759: $ac_compile\"" >&5)
3760 (eval "$ac_compile" 2>conftest.err)
3761 cat conftest.err >&5
3762 (eval echo "\"\$as_me:3762: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
3763 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
3764 cat conftest.err >&5
3765 (eval echo "\"\$as_me:3765: output\"" >&5)
3766 cat conftest.out >&5
3767 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
3768 lt_cv_nm_interface="MS dumpbin"
3772 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
3773 echo "${ECHO_T}$lt_cv_nm_interface" >&6
3775 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3776 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3778 if test "$LN_S" = "ln -s"; then
3779 echo "$as_me:$LINENO: result: yes" >&5
3780 echo "${ECHO_T}yes" >&6
3782 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3783 echo "${ECHO_T}no, using $LN_S" >&6
3786 # find the maximum length of command line arguments
3787 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
3788 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
3789 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
3790 echo $ECHO_N "(cached) $ECHO_C" >&6
3797 # On DJGPP, this test can blow up pretty badly due to problems in libc
3798 # (any single argument exceeding 2000 bytes causes a buffer overrun
3799 # during glob expansion). Even if it were fixed, the result of this
3800 # check would be larger than it should be.
3801 lt_cv_sys_max_cmd_len=12288; # 12K is about right
3805 # Under GNU Hurd, this test is not required because there is
3806 # no limit to the length of command line arguments.
3807 # Libtool will interpret -1 as no limit whatsoever
3808 lt_cv_sys_max_cmd_len=-1;
3812 # On Win9x/ME, this test blows up -- it succeeds, but takes
3813 # about 5 minutes as the teststring grows exponentially.
3814 # Worse, since 9x/ME are not pre-emptively multitasking,
3815 # you end up with a "frozen" computer, even though with patience
3816 # the test eventually succeeds (with a max line length of 256k).
3817 # Instead, let's just punt: use the minimum linelength reported by
3818 # all of the supported platforms: 8192 (on NT/2K/XP).
3819 lt_cv_sys_max_cmd_len=8192;
3823 # On AmigaOS with pdksh, this test takes hours, literally.
3824 # So we just punt and use a minimum line length of 8192.
3825 lt_cv_sys_max_cmd_len=8192;
3828 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
3829 # This has been around since 386BSD, at least. Likely further.
3830 if test -x /sbin/sysctl; then
3831 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
3832 elif test -x /usr/sbin/sysctl; then
3833 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
3835 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
3837 # And add a safety zone
3838 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
3839 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
3843 # We know the value 262144 and hardcode it with a safety zone (like BSD)
3844 lt_cv_sys_max_cmd_len=196608
3848 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
3849 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
3850 # nice to cause kernel panics so lets avoid the loop below.
3851 # First set a reasonable default.
3852 lt_cv_sys_max_cmd_len=16384
3854 if test -x /sbin/sysconfig; then
3855 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
3856 *1*) lt_cv_sys_max_cmd_len=-1 ;;
3861 lt_cv_sys_max_cmd_len=102400
3863 sysv5* | sco5v6* | sysv4.2uw2*)
3864 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
3865 if test -n "$kargmax"; then
3866 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
3868 lt_cv_sys_max_cmd_len=32768
3872 lt_cv_sys_max_cmd_len=`getconf ARG_MAX 2> /dev/null`
3873 if test -n $lt_cv_sys_max_cmd_len; then
3874 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
3875 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
3877 # Make teststring a little bigger before we do anything with it.
3878 # a 1K string should be a reasonable start.
3879 for i in 1 2 3 4 5 6 7 8 ; do
3880 teststring=$teststring$teststring
3882 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
3883 # If test is not a shell built-in, we'll probably end up computing a
3884 # maximum length that is only half of the actual maximum length, but
3886 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
3887 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
3888 test $i != 17 # 1/2 MB should be enough
3891 teststring=$teststring$teststring
3893 # Only check the string length outside the loop.
3894 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
3896 # Add a significant safety factor because C++ compilers can tack on
3897 # massive amounts of additional arguments before passing them to the
3898 # linker. It appears as though 1/2 is a usable value.
3899 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
3906 if test -n $lt_cv_sys_max_cmd_len ; then
3907 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
3908 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
3910 echo "$as_me:$LINENO: result: none" >&5
3911 echo "${ECHO_T}none" >&6
3913 max_cmd_len=$lt_cv_sys_max_cmd_len
3925 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
3926 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
3927 # Try some XSI features
3930 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
3931 = c,a/b,, ) >/dev/null 2>&1 \
3933 echo "$as_me:$LINENO: result: $xsi_shell" >&5
3934 echo "${ECHO_T}$xsi_shell" >&6
3937 echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
3938 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6
3940 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
3942 && lt_shell_append=yes
3943 echo "$as_me:$LINENO: result: $lt_shell_append" >&5
3944 echo "${ECHO_T}$lt_shell_append" >&6
3947 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3957 # test EBCDIC or ASCII
3958 case `echo X|tr X '\101'` in
3959 A) # ASCII based system
3960 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
3961 lt_SP2NL='tr \040 \012'
3962 lt_NL2SP='tr \015\012 \040\040'
3964 *) # EBCDIC based system
3965 lt_SP2NL='tr \100 \n'
3966 lt_NL2SP='tr \r\n \100\100'
3978 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3979 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3980 if test "${lt_cv_ld_reload_flag+set}" = set; then
3981 echo $ECHO_N "(cached) $ECHO_C" >&6
3983 lt_cv_ld_reload_flag='-r'
3985 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3986 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3987 reload_flag=$lt_cv_ld_reload_flag
3988 case $reload_flag in
3990 *) reload_flag=" $reload_flag" ;;
3992 reload_cmds='$LD$reload_flag -o $output$reload_objs'
3995 if test "$GCC" = yes; then
3996 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
3998 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4012 echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4013 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6
4014 if test "${lt_cv_deplibs_check_method+set}" = set; then
4015 echo $ECHO_N "(cached) $ECHO_C" >&6
4017 lt_cv_file_magic_cmd='$MAGIC_CMD'
4018 lt_cv_file_magic_test_file=
4019 lt_cv_deplibs_check_method='unknown'
4020 # Need to set the preceding variable on all platforms that support
4021 # interlibrary dependencies.
4022 # 'none' -- dependencies not supported.
4023 # `unknown' -- same as none, but documents that we really don't know.
4024 # 'pass_all' -- all dependencies passed with no checks.
4025 # 'test_compile' -- check by making test program.
4026 # 'file_magic [[regex]]' -- check by looking for files in library path
4027 # which responds to the $file_magic_cmd with a given extended regex.
4028 # If you have `file' or equivalent on your system and you're not sure
4029 # whether `pass_all' will *always* work, you probably want this one.
4033 lt_cv_deplibs_check_method=pass_all
4037 lt_cv_deplibs_check_method=pass_all
4041 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4042 lt_cv_file_magic_cmd='/usr/bin/file -L'
4043 lt_cv_file_magic_test_file=/shlib/libc.so
4047 # func_win32_libid is a shell function defined in ltmain.sh
4048 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4049 lt_cv_file_magic_cmd='func_win32_libid'
4053 # Base MSYS/MinGW do not provide the 'file' command needed by
4054 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4055 # unless we find 'file', for example because we are cross-compiling.
4056 if ( file / ) >/dev/null 2>&1; then
4057 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4058 lt_cv_file_magic_cmd='func_win32_libid'
4060 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4061 lt_cv_file_magic_cmd='$OBJDUMP -f'
4065 darwin* | rhapsody*)
4066 lt_cv_deplibs_check_method=pass_all
4069 freebsd* | dragonfly*)
4070 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4073 # Not sure whether the presence of OpenBSD here was a mistake.
4074 # Let's accept both of them until this is cleared up.
4075 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4076 lt_cv_file_magic_cmd=/usr/bin/file
4077 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4081 lt_cv_deplibs_check_method=pass_all
4086 lt_cv_deplibs_check_method=pass_all
4089 hpux10.20* | hpux11*)
4090 lt_cv_file_magic_cmd=/usr/bin/file
4093 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4094 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4097 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]'
4098 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4101 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4102 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4108 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4109 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4112 irix5* | irix6* | nonstopux*)
4114 *-32|*"-32 ") libmagic=32-bit;;
4115 *-n32|*"-n32 ") libmagic=N32;;
4116 *-64|*"-64 ") libmagic=64-bit;;
4117 *) libmagic=never-match;;
4119 lt_cv_deplibs_check_method=pass_all
4122 # This must be Linux ELF.
4123 linux* | k*bsd*-gnu)
4124 lt_cv_deplibs_check_method=pass_all
4128 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4129 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4131 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4136 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4137 lt_cv_file_magic_cmd=/usr/bin/file
4138 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4142 lt_cv_deplibs_check_method=pass_all
4146 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4147 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4149 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4153 osf3* | osf4* | osf5*)
4154 lt_cv_deplibs_check_method=pass_all
4158 lt_cv_deplibs_check_method=pass_all
4162 lt_cv_deplibs_check_method=pass_all
4165 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4166 lt_cv_deplibs_check_method=pass_all
4170 case $host_vendor in
4172 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]'
4173 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4176 lt_cv_deplibs_check_method=pass_all
4179 lt_cv_file_magic_cmd='/bin/file'
4180 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4183 lt_cv_file_magic_cmd='/bin/file'
4184 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4185 lt_cv_file_magic_test_file=/lib/libc.so
4188 lt_cv_deplibs_check_method=pass_all
4191 lt_cv_deplibs_check_method=pass_all
4197 lt_cv_deplibs_check_method=pass_all
4202 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4203 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4204 file_magic_cmd=$lt_cv_file_magic_cmd
4205 deplibs_check_method=$lt_cv_deplibs_check_method
4206 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4219 if test -n "$ac_tool_prefix"; then
4220 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4221 set dummy ${ac_tool_prefix}ar; ac_word=$2
4222 echo "$as_me:$LINENO: checking for $ac_word" >&5
4223 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4224 if test "${ac_cv_prog_AR+set}" = set; then
4225 echo $ECHO_N "(cached) $ECHO_C" >&6
4227 if test -n "$AR"; then
4228 ac_cv_prog_AR="$AR" # Let the user override the test.
4230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4234 test -z "$as_dir" && as_dir=.
4235 for ac_exec_ext in '' $ac_executable_extensions; do
4236 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4237 ac_cv_prog_AR="${ac_tool_prefix}ar"
4238 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4247 if test -n "$AR"; then
4248 echo "$as_me:$LINENO: result: $AR" >&5
4249 echo "${ECHO_T}$AR" >&6
4251 echo "$as_me:$LINENO: result: no" >&5
4252 echo "${ECHO_T}no" >&6
4256 if test -z "$ac_cv_prog_AR"; then
4258 # Extract the first word of "ar", so it can be a program name with args.
4259 set dummy ar; ac_word=$2
4260 echo "$as_me:$LINENO: checking for $ac_word" >&5
4261 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4262 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4263 echo $ECHO_N "(cached) $ECHO_C" >&6
4265 if test -n "$ac_ct_AR"; then
4266 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4272 test -z "$as_dir" && as_dir=.
4273 for ac_exec_ext in '' $ac_executable_extensions; do
4274 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4275 ac_cv_prog_ac_ct_AR="ar"
4276 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4282 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
4285 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4286 if test -n "$ac_ct_AR"; then
4287 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4288 echo "${ECHO_T}$ac_ct_AR" >&6
4290 echo "$as_me:$LINENO: result: no" >&5
4291 echo "${ECHO_T}no" >&6
4299 test -z "$AR" && AR=ar
4300 test -z "$AR_FLAGS" && AR_FLAGS=cru
4312 if test -n "$ac_tool_prefix"; then
4313 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4314 set dummy ${ac_tool_prefix}strip; ac_word=$2
4315 echo "$as_me:$LINENO: checking for $ac_word" >&5
4316 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4317 if test "${ac_cv_prog_STRIP+set}" = set; then
4318 echo $ECHO_N "(cached) $ECHO_C" >&6
4320 if test -n "$STRIP"; then
4321 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4327 test -z "$as_dir" && as_dir=.
4328 for ac_exec_ext in '' $ac_executable_extensions; do
4329 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4330 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4331 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4339 STRIP=$ac_cv_prog_STRIP
4340 if test -n "$STRIP"; then
4341 echo "$as_me:$LINENO: result: $STRIP" >&5
4342 echo "${ECHO_T}$STRIP" >&6
4344 echo "$as_me:$LINENO: result: no" >&5
4345 echo "${ECHO_T}no" >&6
4349 if test -z "$ac_cv_prog_STRIP"; then
4351 # Extract the first word of "strip", so it can be a program name with args.
4352 set dummy strip; ac_word=$2
4353 echo "$as_me:$LINENO: checking for $ac_word" >&5
4354 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4355 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4356 echo $ECHO_N "(cached) $ECHO_C" >&6
4358 if test -n "$ac_ct_STRIP"; then
4359 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4365 test -z "$as_dir" && as_dir=.
4366 for ac_exec_ext in '' $ac_executable_extensions; do
4367 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4368 ac_cv_prog_ac_ct_STRIP="strip"
4369 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4375 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4378 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4379 if test -n "$ac_ct_STRIP"; then
4380 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4381 echo "${ECHO_T}$ac_ct_STRIP" >&6
4383 echo "$as_me:$LINENO: result: no" >&5
4384 echo "${ECHO_T}no" >&6
4389 STRIP="$ac_cv_prog_STRIP"
4392 test -z "$STRIP" && STRIP=:
4399 if test -n "$ac_tool_prefix"; then
4400 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4401 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4402 echo "$as_me:$LINENO: checking for $ac_word" >&5
4403 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4404 if test "${ac_cv_prog_RANLIB+set}" = set; then
4405 echo $ECHO_N "(cached) $ECHO_C" >&6
4407 if test -n "$RANLIB"; then
4408 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4414 test -z "$as_dir" && as_dir=.
4415 for ac_exec_ext in '' $ac_executable_extensions; do
4416 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4417 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4418 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4426 RANLIB=$ac_cv_prog_RANLIB
4427 if test -n "$RANLIB"; then
4428 echo "$as_me:$LINENO: result: $RANLIB" >&5
4429 echo "${ECHO_T}$RANLIB" >&6
4431 echo "$as_me:$LINENO: result: no" >&5
4432 echo "${ECHO_T}no" >&6
4436 if test -z "$ac_cv_prog_RANLIB"; then
4437 ac_ct_RANLIB=$RANLIB
4438 # Extract the first word of "ranlib", so it can be a program name with args.
4439 set dummy ranlib; ac_word=$2
4440 echo "$as_me:$LINENO: checking for $ac_word" >&5
4441 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4442 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4443 echo $ECHO_N "(cached) $ECHO_C" >&6
4445 if test -n "$ac_ct_RANLIB"; then
4446 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4452 test -z "$as_dir" && as_dir=.
4453 for ac_exec_ext in '' $ac_executable_extensions; do
4454 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4455 ac_cv_prog_ac_ct_RANLIB="ranlib"
4456 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4462 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4465 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4466 if test -n "$ac_ct_RANLIB"; then
4467 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4468 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4470 echo "$as_me:$LINENO: result: no" >&5
4471 echo "${ECHO_T}no" >&6
4474 RANLIB=$ac_ct_RANLIB
4476 RANLIB="$ac_cv_prog_RANLIB"
4479 test -z "$RANLIB" && RANLIB=:
4486 # Determine commands to create old-style static archives.
4487 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
4488 old_postinstall_cmds='chmod 644 $oldlib'
4489 old_postuninstall_cmds=
4491 if test -n "$RANLIB"; then
4494 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
4497 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
4500 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
4536 # If no C compiler was specified, use CC.
4539 # If no C compiler flags were specified, use CFLAGS.
4540 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
4542 # Allow CC to be a program name with arguments.
4546 # Check for command to grab the raw symbol name followed by C symbol from nm.
4547 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
4548 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
4549 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
4550 echo $ECHO_N "(cached) $ECHO_C" >&6
4553 # These are sane defaults that work on at least a few old systems.
4554 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
4556 # Character class describing NM global symbol codes.
4557 symcode='[BCDEGRST]'
4559 # Regexp to match symbols that can be accessed directly from C.
4560 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
4562 # Define system-specific variables.
4567 cygwin* | mingw* | pw32*)
4568 symcode='[ABCDGISTW]'
4571 if test "$host_cpu" = ia64; then
4572 symcode='[ABCDEGRST]'
4576 symcode='[BCDEGRST]'
4579 symcode='[BCDEGQRST]'
4590 sysv5* | sco5v6* | unixware* | OpenUNIX*)
4598 # If we're using GNU nm, then use its standard symbol codes.
4599 case `$NM -V 2>&1` in
4600 *GNU* | *'with BFD'*)
4601 symcode='[ABCDGIRSTW]' ;;
4604 # Transform an extracted symbol line into a proper C declaration.
4605 # Some systems (esp. on ia64) link data and code symbols differently,
4606 # so use this general approach.
4607 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
4609 # Transform an extracted symbol line into symbol name and symbol address
4610 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
4612 # Handle CRLF in mingw tool chain
4616 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
4620 # Try without a prefix underscore, then with it.
4621 for ac_symprfx in "" "_"; do
4623 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
4624 symxfrm="\\1 $ac_symprfx\\2 \\2"
4626 # Write the raw and C identifiers.
4627 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
4628 # Fake it for dumpbin and say T for any non-static function
4629 # and D for any global variable.
4630 # Also find C++ and __fastcall symbols from MSVC++,
4631 # which start with @ or ?.
4632 lt_cv_sys_global_symbol_pipe="$AWK '"\
4633 " {last_section=section; section=\$ 3};"\
4634 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
4635 " \$ 0!~/External *\|/{next};"\
4636 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
4637 " {if(hide[section]) next};"\
4638 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
4639 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
4640 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
4641 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
4642 " ' prfx=^$ac_symprfx"
4644 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
4647 # Check to see that the pipe works correctly.
4651 cat > conftest.$ac_ext <<_LT_EOF
4656 void nm_test_func(void);
4657 void nm_test_func(void){}
4661 int main(){nm_test_var='a';nm_test_func();return(0);}
4664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4665 (eval $ac_compile) 2>&5
4667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4668 (exit $ac_status); }; then
4669 # Now try to grab the symbols.
4671 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
4672 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
4674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4675 (exit $ac_status); } && test -s "$nlist"; then
4676 # Try sorting and uniquifying the output.
4677 if sort "$nlist" | uniq > "$nlist"T; then
4678 mv -f "$nlist"T "$nlist"
4683 # Make sure that we snagged all the symbols we need.
4684 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
4685 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
4686 cat <<_LT_EOF > conftest.$ac_ext
4692 # Now generate the symbol file.
4693 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
4695 cat <<_LT_EOF >> conftest.$ac_ext
4697 /* The mapping between symbol names and symbols. */
4702 lt__PROGRAM__LTX_preloaded_symbols[] =
4704 { "@PROGRAM@", (void *) 0 },
4706 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
4707 cat <<\_LT_EOF >> conftest.$ac_ext
4711 /* This works around a problem in FreeBSD linker */
4712 #ifdef FREEBSD_WORKAROUND
4713 static const void *lt_preloaded_setup() {
4714 return lt__PROGRAM__LTX_preloaded_symbols;
4722 # Now try linking the two files.
4723 mv conftest.$ac_objext conftstm.$ac_objext
4724 lt_save_LIBS="$LIBS"
4725 lt_save_CFLAGS="$CFLAGS"
4726 LIBS="conftstm.$ac_objext"
4727 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
4728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4729 (eval $ac_link) 2>&5
4731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4732 (exit $ac_status); } && test -s conftest${ac_exeext}; then
4735 LIBS="$lt_save_LIBS"
4736 CFLAGS="$lt_save_CFLAGS"
4738 echo "cannot find nm_test_func in $nlist" >&5
4741 echo "cannot find nm_test_var in $nlist" >&5
4744 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
4747 echo "$progname: failed program was:" >&5
4748 cat conftest.$ac_ext >&5
4750 rm -f conftest* conftst*
4752 # Do not use the global_symbol_pipe unless it works.
4753 if test "$pipe_works" = yes; then
4756 lt_cv_sys_global_symbol_pipe=
4762 if test -z "$lt_cv_sys_global_symbol_pipe"; then
4763 lt_cv_sys_global_symbol_to_cdecl=
4765 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
4766 echo "$as_me:$LINENO: result: failed" >&5
4767 echo "${ECHO_T}failed" >&6
4769 echo "$as_me:$LINENO: result: ok" >&5
4770 echo "${ECHO_T}ok" >&6
4789 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4790 if test "${enable_libtool_lock+set}" = set; then
4791 enableval="$enable_libtool_lock"
4794 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4796 # Some flags need to be propagated to the compiler or linker for good
4800 # Find out which ABI we are using.
4801 echo 'int i;' > conftest.$ac_ext
4802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4803 (eval $ac_compile) 2>&5
4805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4806 (exit $ac_status); }; then
4807 case `/usr/bin/file conftest.$ac_objext` in
4819 # Find out which ABI we are using.
4820 echo '#line 4820 "configure"' > conftest.$ac_ext
4821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4822 (eval $ac_compile) 2>&5
4824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4825 (exit $ac_status); }; then
4826 if test "$lt_cv_prog_gnu_ld" = yes; then
4827 case `/usr/bin/file conftest.$ac_objext` in
4829 LD="${LD-ld} -melf32bsmip"
4832 LD="${LD-ld} -melf32bmipn32"
4835 LD="${LD-ld} -melf64bmip"
4839 case `/usr/bin/file conftest.$ac_objext` in
4855 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
4856 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
4857 # Find out which ABI we are using.
4858 echo 'int i;' > conftest.$ac_ext
4859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4860 (eval $ac_compile) 2>&5
4862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4863 (exit $ac_status); }; then
4864 case `/usr/bin/file conftest.o` in
4867 x86_64-*kfreebsd*-gnu)
4868 LD="${LD-ld} -m elf_i386_fbsd"
4871 LD="${LD-ld} -m elf_i386"
4873 ppc64-*linux*|powerpc64-*linux*)
4874 LD="${LD-ld} -m elf32ppclinux"
4877 LD="${LD-ld} -m elf_s390"
4880 LD="${LD-ld} -m elf32_sparc"
4886 x86_64-*kfreebsd*-gnu)
4887 LD="${LD-ld} -m elf_x86_64_fbsd"
4890 LD="${LD-ld} -m elf_x86_64"
4892 ppc*-*linux*|powerpc*-*linux*)
4893 LD="${LD-ld} -m elf64ppc"
4895 s390*-*linux*|s390*-*tpf*)
4896 LD="${LD-ld} -m elf64_s390"
4899 LD="${LD-ld} -m elf64_sparc"
4909 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4910 SAVE_CFLAGS="$CFLAGS"
4911 CFLAGS="$CFLAGS -belf"
4912 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4913 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4914 if test "${lt_cv_cc_needs_belf+set}" = set; then
4915 echo $ECHO_N "(cached) $ECHO_C" >&6
4918 ac_cpp='$CPP $CPPFLAGS'
4919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4923 cat >conftest.$ac_ext <<_ACEOF
4926 cat confdefs.h >>conftest.$ac_ext
4927 cat >>conftest.$ac_ext <<_ACEOF
4928 /* end confdefs.h. */
4938 rm -f conftest.$ac_objext conftest$ac_exeext
4939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4940 (eval $ac_link) 2>conftest.er1
4942 grep -v '^ *+' conftest.er1 >conftest.err
4944 cat conftest.err >&5
4945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4946 (exit $ac_status); } &&
4947 { ac_try='test -z "$ac_c_werror_flag"
4948 || test ! -s conftest.err'
4949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4953 (exit $ac_status); }; } &&
4954 { ac_try='test -s conftest$ac_exeext'
4955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4959 (exit $ac_status); }; }; then
4960 lt_cv_cc_needs_belf=yes
4962 echo "$as_me: failed program was:" >&5
4963 sed 's/^/| /' conftest.$ac_ext >&5
4965 lt_cv_cc_needs_belf=no
4967 rm -f conftest.err conftest.$ac_objext \
4968 conftest$ac_exeext conftest.$ac_ext
4970 ac_cpp='$CPP $CPPFLAGS'
4971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4976 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4977 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4978 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4979 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4980 CFLAGS="$SAVE_CFLAGS"
4984 # Find out which ABI we are using.
4985 echo 'int i;' > conftest.$ac_ext
4986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4987 (eval $ac_compile) 2>&5
4989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4990 (exit $ac_status); }; then
4991 case `/usr/bin/file conftest.o` in
4993 case $lt_cv_prog_gnu_ld in
4994 yes*) LD="${LD-ld} -m elf64_sparc" ;;
4995 *) LD="${LD-ld} -64" ;;
5004 need_locks="$enable_libtool_lock"
5007 ac_cpp='$CPP $CPPFLAGS'
5008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5011 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5012 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5013 # On Suns, sometimes $CPP names a directory.
5014 if test -n "$CPP" && test -d "$CPP"; then
5017 if test -z "$CPP"; then
5018 if test "${ac_cv_prog_CPP+set}" = set; then
5019 echo $ECHO_N "(cached) $ECHO_C" >&6
5021 # Double quotes because CPP needs to be expanded
5022 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5025 for ac_c_preproc_warn_flag in '' yes
5027 # Use a header file that comes with gcc, so configuring glibc
5028 # with a fresh cross-compiler works.
5029 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5030 # <limits.h> exists even on freestanding compilers.
5031 # On the NeXT, cc -E runs the code through the compiler's parser,
5032 # not just through cpp. "Syntax error" is here to catch this case.
5033 cat >conftest.$ac_ext <<_ACEOF
5036 cat confdefs.h >>conftest.$ac_ext
5037 cat >>conftest.$ac_ext <<_ACEOF
5038 /* end confdefs.h. */
5040 # include <limits.h>
5042 # include <assert.h>
5046 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5047 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5049 grep -v '^ *+' conftest.er1 >conftest.err
5051 cat conftest.err >&5
5052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5053 (exit $ac_status); } >/dev/null; then
5054 if test -s conftest.err; then
5055 ac_cpp_err=$ac_c_preproc_warn_flag
5056 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5063 if test -z "$ac_cpp_err"; then
5066 echo "$as_me: failed program was:" >&5
5067 sed 's/^/| /' conftest.$ac_ext >&5
5069 # Broken: fails on valid input.
5072 rm -f conftest.err conftest.$ac_ext
5074 # OK, works on sane cases. Now check whether non-existent headers
5075 # can be detected and how.
5076 cat >conftest.$ac_ext <<_ACEOF
5079 cat confdefs.h >>conftest.$ac_ext
5080 cat >>conftest.$ac_ext <<_ACEOF
5081 /* end confdefs.h. */
5082 #include <ac_nonexistent.h>
5084 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5085 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5087 grep -v '^ *+' conftest.er1 >conftest.err
5089 cat conftest.err >&5
5090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5091 (exit $ac_status); } >/dev/null; then
5092 if test -s conftest.err; then
5093 ac_cpp_err=$ac_c_preproc_warn_flag
5094 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5101 if test -z "$ac_cpp_err"; then
5102 # Broken: success on invalid input.
5105 echo "$as_me: failed program was:" >&5
5106 sed 's/^/| /' conftest.$ac_ext >&5
5108 # Passes both tests.
5112 rm -f conftest.err conftest.$ac_ext
5115 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5116 rm -f conftest.err conftest.$ac_ext
5117 if $ac_preproc_ok; then
5129 echo "$as_me:$LINENO: result: $CPP" >&5
5130 echo "${ECHO_T}$CPP" >&6
5132 for ac_c_preproc_warn_flag in '' yes
5134 # Use a header file that comes with gcc, so configuring glibc
5135 # with a fresh cross-compiler works.
5136 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5137 # <limits.h> exists even on freestanding compilers.
5138 # On the NeXT, cc -E runs the code through the compiler's parser,
5139 # not just through cpp. "Syntax error" is here to catch this case.
5140 cat >conftest.$ac_ext <<_ACEOF
5143 cat confdefs.h >>conftest.$ac_ext
5144 cat >>conftest.$ac_ext <<_ACEOF
5145 /* end confdefs.h. */
5147 # include <limits.h>
5149 # include <assert.h>
5153 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5154 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5156 grep -v '^ *+' conftest.er1 >conftest.err
5158 cat conftest.err >&5
5159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5160 (exit $ac_status); } >/dev/null; then
5161 if test -s conftest.err; then
5162 ac_cpp_err=$ac_c_preproc_warn_flag
5163 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5170 if test -z "$ac_cpp_err"; then
5173 echo "$as_me: failed program was:" >&5
5174 sed 's/^/| /' conftest.$ac_ext >&5
5176 # Broken: fails on valid input.
5179 rm -f conftest.err conftest.$ac_ext
5181 # OK, works on sane cases. Now check whether non-existent headers
5182 # can be detected and how.
5183 cat >conftest.$ac_ext <<_ACEOF
5186 cat confdefs.h >>conftest.$ac_ext
5187 cat >>conftest.$ac_ext <<_ACEOF
5188 /* end confdefs.h. */
5189 #include <ac_nonexistent.h>
5191 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5192 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5194 grep -v '^ *+' conftest.er1 >conftest.err
5196 cat conftest.err >&5
5197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5198 (exit $ac_status); } >/dev/null; then
5199 if test -s conftest.err; then
5200 ac_cpp_err=$ac_c_preproc_warn_flag
5201 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5208 if test -z "$ac_cpp_err"; then
5209 # Broken: success on invalid input.
5212 echo "$as_me: failed program was:" >&5
5213 sed 's/^/| /' conftest.$ac_ext >&5
5215 # Passes both tests.
5219 rm -f conftest.err conftest.$ac_ext
5222 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5223 rm -f conftest.err conftest.$ac_ext
5224 if $ac_preproc_ok; then
5227 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5228 See \`config.log' for more details." >&5
5229 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5230 See \`config.log' for more details." >&2;}
5231 { (exit 1); exit 1; }; }
5235 ac_cpp='$CPP $CPPFLAGS'
5236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5241 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5242 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5243 if test "${ac_cv_header_stdc+set}" = set; then
5244 echo $ECHO_N "(cached) $ECHO_C" >&6
5246 cat >conftest.$ac_ext <<_ACEOF
5249 cat confdefs.h >>conftest.$ac_ext
5250 cat >>conftest.$ac_ext <<_ACEOF
5251 /* end confdefs.h. */
5265 rm -f conftest.$ac_objext
5266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5267 (eval $ac_compile) 2>conftest.er1
5269 grep -v '^ *+' conftest.er1 >conftest.err
5271 cat conftest.err >&5
5272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5273 (exit $ac_status); } &&
5274 { ac_try='test -z "$ac_c_werror_flag"
5275 || test ! -s conftest.err'
5276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5280 (exit $ac_status); }; } &&
5281 { ac_try='test -s conftest.$ac_objext'
5282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5286 (exit $ac_status); }; }; then
5287 ac_cv_header_stdc=yes
5289 echo "$as_me: failed program was:" >&5
5290 sed 's/^/| /' conftest.$ac_ext >&5
5292 ac_cv_header_stdc=no
5294 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5296 if test $ac_cv_header_stdc = yes; then
5297 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5298 cat >conftest.$ac_ext <<_ACEOF
5301 cat confdefs.h >>conftest.$ac_ext
5302 cat >>conftest.$ac_ext <<_ACEOF
5303 /* end confdefs.h. */
5307 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5308 $EGREP "memchr" >/dev/null 2>&1; then
5311 ac_cv_header_stdc=no
5317 if test $ac_cv_header_stdc = yes; then
5318 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5319 cat >conftest.$ac_ext <<_ACEOF
5322 cat confdefs.h >>conftest.$ac_ext
5323 cat >>conftest.$ac_ext <<_ACEOF
5324 /* end confdefs.h. */
5328 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5329 $EGREP "free" >/dev/null 2>&1; then
5332 ac_cv_header_stdc=no
5338 if test $ac_cv_header_stdc = yes; then
5339 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5340 if test "$cross_compiling" = yes; then
5343 cat >conftest.$ac_ext <<_ACEOF
5346 cat confdefs.h >>conftest.$ac_ext
5347 cat >>conftest.$ac_ext <<_ACEOF
5348 /* end confdefs.h. */
5350 #if ((' ' & 0x0FF) == 0x020)
5351 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5352 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5354 # define ISLOWER(c) \
5355 (('a' <= (c) && (c) <= 'i') \
5356 || ('j' <= (c) && (c) <= 'r') \
5357 || ('s' <= (c) && (c) <= 'z'))
5358 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5361 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5366 for (i = 0; i < 256; i++)
5367 if (XOR (islower (i), ISLOWER (i))
5368 || toupper (i) != TOUPPER (i))
5373 rm -f conftest$ac_exeext
5374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5375 (eval $ac_link) 2>&5
5377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5378 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5383 (exit $ac_status); }; }; then
5386 echo "$as_me: program exited with status $ac_status" >&5
5387 echo "$as_me: failed program was:" >&5
5388 sed 's/^/| /' conftest.$ac_ext >&5
5391 ac_cv_header_stdc=no
5393 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5397 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5398 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5399 if test $ac_cv_header_stdc = yes; then
5401 cat >>confdefs.h <<\_ACEOF
5402 #define STDC_HEADERS 1
5407 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5417 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5418 inttypes.h stdint.h unistd.h
5420 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5421 echo "$as_me:$LINENO: checking for $ac_header" >&5
5422 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5423 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5424 echo $ECHO_N "(cached) $ECHO_C" >&6
5426 cat >conftest.$ac_ext <<_ACEOF
5429 cat confdefs.h >>conftest.$ac_ext
5430 cat >>conftest.$ac_ext <<_ACEOF
5431 /* end confdefs.h. */
5432 $ac_includes_default
5434 #include <$ac_header>
5436 rm -f conftest.$ac_objext
5437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5438 (eval $ac_compile) 2>conftest.er1
5440 grep -v '^ *+' conftest.er1 >conftest.err
5442 cat conftest.err >&5
5443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5444 (exit $ac_status); } &&
5445 { ac_try='test -z "$ac_c_werror_flag"
5446 || test ! -s conftest.err'
5447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5451 (exit $ac_status); }; } &&
5452 { ac_try='test -s conftest.$ac_objext'
5453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5457 (exit $ac_status); }; }; then
5458 eval "$as_ac_Header=yes"
5460 echo "$as_me: failed program was:" >&5
5461 sed 's/^/| /' conftest.$ac_ext >&5
5463 eval "$as_ac_Header=no"
5465 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5467 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5468 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5469 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5470 cat >>confdefs.h <<_ACEOF
5471 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5480 for ac_header in dlfcn.h
5482 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5483 echo "$as_me:$LINENO: checking for $ac_header" >&5
5484 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5485 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5486 echo $ECHO_N "(cached) $ECHO_C" >&6
5488 cat >conftest.$ac_ext <<_ACEOF
5491 cat confdefs.h >>conftest.$ac_ext
5492 cat >>conftest.$ac_ext <<_ACEOF
5493 /* end confdefs.h. */
5494 $ac_includes_default
5496 #include <$ac_header>
5498 rm -f conftest.$ac_objext
5499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5500 (eval $ac_compile) 2>conftest.er1
5502 grep -v '^ *+' conftest.er1 >conftest.err
5504 cat conftest.err >&5
5505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5506 (exit $ac_status); } &&
5507 { ac_try='test -z "$ac_c_werror_flag"
5508 || test ! -s conftest.err'
5509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5513 (exit $ac_status); }; } &&
5514 { ac_try='test -s conftest.$ac_objext'
5515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5519 (exit $ac_status); }; }; then
5520 eval "$as_ac_Header=yes"
5522 echo "$as_me: failed program was:" >&5
5523 sed 's/^/| /' conftest.$ac_ext >&5
5525 eval "$as_ac_Header=no"
5527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5530 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5531 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5532 cat >>confdefs.h <<_ACEOF
5533 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5542 # This can be used to rebuild libtool when needed
5543 LIBTOOL_DEPS="$ltmain"
5545 # Always use our own libtool.
5546 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
5572 test -z "$LN_S" && LN_S="ln -s"
5587 if test -n "${ZSH_VERSION+set}" ; then
5588 setopt NO_GLOB_SUBST
5591 echo "$as_me:$LINENO: checking for objdir" >&5
5592 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
5593 if test "${lt_cv_objdir+set}" = set; then
5594 echo $ECHO_N "(cached) $ECHO_C" >&6
5596 rm -f .libs 2>/dev/null
5597 mkdir .libs 2>/dev/null
5598 if test -d .libs; then
5601 # MS-DOS does not allow filenames that begin with a dot.
5604 rmdir .libs 2>/dev/null
5606 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5607 echo "${ECHO_T}$lt_cv_objdir" >&6
5608 objdir=$lt_cv_objdir
5614 cat >>confdefs.h <<_ACEOF
5615 #define LT_OBJDIR "$lt_cv_objdir/"
5636 # AIX sometimes has problems with the GCC collect2 program. For some
5637 # reason, if we set the COLLECT_NAMES environment variable, the problems
5638 # vanish in a puff of smoke.
5639 if test "X${COLLECT_NAMES+set}" != Xset; then
5641 export COLLECT_NAMES
5646 # Sed substitution that helps us do robust quoting. It backslashifies
5647 # metacharacters that are still active within double-quoted strings.
5648 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5650 # Same as above, but do not quote variable references.
5651 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5653 # Sed substitution to delay expansion of an escaped shell variable in a
5654 # double_quote_subst'ed string.
5655 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5657 # Sed substitution to delay expansion of an escaped single quote.
5658 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5660 # Sed substitution to avoid accidental globbing in evaled expressions
5661 no_glob_subst='s/\*/\\\*/g'
5665 can_build_shared=yes
5667 # All known linkers require a `.a' archive for static linking (except MSVC,
5668 # which needs '.lib').
5671 with_gnu_ld="$lt_cv_prog_gnu_ld"
5674 old_CFLAGS="$CFLAGS"
5676 # Set sane defaults for various variables
5677 test -z "$CC" && CC=cc
5678 test -z "$LTCC" && LTCC=$CC
5679 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
5680 test -z "$LD" && LD=ld
5681 test -z "$ac_objext" && ac_objext=o
5683 for cc_temp in $compiler""; do
5685 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
5686 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
5691 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
5694 # Only perform the check for file, if the check method requires it
5695 test -z "$MAGIC_CMD" && MAGIC_CMD=file
5696 case $deplibs_check_method in
5698 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
5699 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
5700 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
5701 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5702 echo $ECHO_N "(cached) $ECHO_C" >&6
5706 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
5709 lt_save_MAGIC_CMD="$MAGIC_CMD"
5710 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5711 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
5712 for ac_dir in $ac_dummy; do
5714 test -z "$ac_dir" && ac_dir=.
5715 if test -f $ac_dir/${ac_tool_prefix}file; then
5716 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
5717 if test -n "$file_magic_test_file"; then
5718 case $deplibs_check_method in
5720 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
5721 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5722 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
5723 $EGREP "$file_magic_regex" > /dev/null; then
5728 *** Warning: the command libtool uses to detect shared libraries,
5729 *** $file_magic_cmd, produces output that libtool cannot recognize.
5730 *** The result is that libtool may fail to recognize shared libraries
5731 *** as such. This will affect the creation of libtool libraries that
5732 *** depend on shared libraries, but programs linked with such libtool
5733 *** libraries will work regardless of this problem. Nevertheless, you
5734 *** may want to report the problem to your system manager and/or to
5735 *** bug-libtool@gnu.org
5745 MAGIC_CMD="$lt_save_MAGIC_CMD"
5750 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5751 if test -n "$MAGIC_CMD"; then
5752 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5753 echo "${ECHO_T}$MAGIC_CMD" >&6
5755 echo "$as_me:$LINENO: result: no" >&5
5756 echo "${ECHO_T}no" >&6
5763 if test -z "$lt_cv_path_MAGIC_CMD"; then
5764 if test -n "$ac_tool_prefix"; then
5765 echo "$as_me:$LINENO: checking for file" >&5
5766 echo $ECHO_N "checking for file... $ECHO_C" >&6
5767 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5768 echo $ECHO_N "(cached) $ECHO_C" >&6
5772 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
5775 lt_save_MAGIC_CMD="$MAGIC_CMD"
5776 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5777 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
5778 for ac_dir in $ac_dummy; do
5780 test -z "$ac_dir" && ac_dir=.
5781 if test -f $ac_dir/file; then
5782 lt_cv_path_MAGIC_CMD="$ac_dir/file"
5783 if test -n "$file_magic_test_file"; then
5784 case $deplibs_check_method in
5786 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
5787 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5788 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
5789 $EGREP "$file_magic_regex" > /dev/null; then
5794 *** Warning: the command libtool uses to detect shared libraries,
5795 *** $file_magic_cmd, produces output that libtool cannot recognize.
5796 *** The result is that libtool may fail to recognize shared libraries
5797 *** as such. This will affect the creation of libtool libraries that
5798 *** depend on shared libraries, but programs linked with such libtool
5799 *** libraries will work regardless of this problem. Nevertheless, you
5800 *** may want to report the problem to your system manager and/or to
5801 *** bug-libtool@gnu.org
5811 MAGIC_CMD="$lt_save_MAGIC_CMD"
5816 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5817 if test -n "$MAGIC_CMD"; then
5818 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5819 echo "${ECHO_T}$MAGIC_CMD" >&6
5821 echo "$as_me:$LINENO: result: no" >&5
5822 echo "${ECHO_T}no" >&6
5835 # Use C for the default configuration in the libtool script
5839 ac_cpp='$CPP $CPPFLAGS'
5840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5845 # Source file extension for C test sources.
5848 # Object file extension for compiled C test sources.
5852 # Code to be used in simple compile tests
5853 lt_simple_compile_test_code="int some_variable = 0;"
5855 # Code to be used in simple link tests
5856 lt_simple_link_test_code='int main(){return(0);}'
5864 # If no C compiler was specified, use CC.
5867 # If no C compiler flags were specified, use CFLAGS.
5868 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5870 # Allow CC to be a program name with arguments.
5873 # Save the default compiler, since it gets overwritten when the other
5874 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
5875 compiler_DEFAULT=$CC
5877 # save warnings/boilerplate of simple test code
5878 ac_outfile=conftest.$ac_objext
5879 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
5880 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
5881 _lt_compiler_boilerplate=`cat conftest.err`
5884 ac_outfile=conftest.$ac_objext
5885 echo "$lt_simple_link_test_code" >conftest.$ac_ext
5886 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
5887 _lt_linker_boilerplate=`cat conftest.err`
5892 ## There is no encapsulation within the following macros, do not change
5893 ## the running order or otherwise move them around unless you know exactly
5894 ## what you are doing...
5895 if test -n "$compiler"; then
5897 lt_prog_compiler_no_builtin_flag=
5899 if test "$GCC" = yes; then
5900 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
5902 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
5903 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
5904 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
5905 echo $ECHO_N "(cached) $ECHO_C" >&6
5907 lt_cv_prog_compiler_rtti_exceptions=no
5908 ac_outfile=conftest.$ac_objext
5909 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
5910 lt_compiler_flag="-fno-rtti -fno-exceptions"
5911 # Insert the option either (1) after the last *FLAGS variable, or
5912 # (2) before a word containing "conftest.", or (3) at the end.
5913 # Note that $ac_compile itself does not contain backslashes and begins
5914 # with a dollar sign (not a hyphen), so the echo should work correctly.
5915 # The option is referenced via a variable to avoid confusing sed.
5916 lt_compile=`echo "$ac_compile" | $SED \
5917 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
5918 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
5919 -e 's:$: $lt_compiler_flag:'`
5920 (eval echo "\"\$as_me:5920: $lt_compile\"" >&5)
5921 (eval "$lt_compile" 2>conftest.err)
5923 cat conftest.err >&5
5924 echo "$as_me:5924: \$? = $ac_status" >&5
5925 if (exit $ac_status) && test -s "$ac_outfile"; then
5926 # The compiler can only warn and ignore the option if not recognized
5927 # So say no if there are warnings other than the usual output.
5928 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
5929 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
5930 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
5931 lt_cv_prog_compiler_rtti_exceptions=yes
5937 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
5938 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
5940 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
5941 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
5953 lt_prog_compiler_wl=
5954 lt_prog_compiler_pic=
5955 lt_prog_compiler_static=
5957 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
5958 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
5960 if test "$GCC" = yes; then
5961 lt_prog_compiler_wl='-Wl,'
5962 lt_prog_compiler_static='-static'
5966 # All AIX code is PIC.
5967 if test "$host_cpu" = ia64; then
5968 # AIX 5 now supports IA64 processor
5969 lt_prog_compiler_static='-Bstatic'
5974 if test "$host_cpu" = m68k; then
5975 # FIXME: we need at least 68020 code to build shared libraries, but
5976 # adding the `-m68020' flag to GCC prevents building anything better,
5978 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
5982 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
5983 # PIC is the default for these OSes.
5986 mingw* | cygwin* | pw32* | os2*)
5987 # This hack is so that the source file can tell whether it is being
5988 # built for inclusion in a dll (and should export symbols for example).
5989 # Although the cygwin gcc ignores -fPIC, still need this for old-style
5990 # (--disable-auto-import) libraries
5991 lt_prog_compiler_pic='-DDLL_EXPORT'
5994 darwin* | rhapsody*)
5995 # PIC is the default on this platform
5996 # Common symbols not allowed in MH_DYLIB files
5997 lt_prog_compiler_pic='-fno-common'
6001 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6008 lt_prog_compiler_pic='-fPIC'
6014 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6015 # Instead, we relocate shared libraries at runtime.
6019 # Just because we use GCC doesn't mean we suddenly get shared libraries
6020 # on systems that don't support them.
6021 lt_prog_compiler_can_build_shared=no
6026 # QNX uses GNU C++, but need to define -shared option too, otherwise
6028 lt_prog_compiler_pic='-fPIC -shared'
6032 if test -d /usr/nec; then
6033 lt_prog_compiler_pic=-Kconform_pic
6038 lt_prog_compiler_pic='-fPIC'
6042 # PORTME Check for flag to pass linker flags through the system compiler.
6045 lt_prog_compiler_wl='-Wl,'
6046 if test "$host_cpu" = ia64; then
6047 # AIX 5 now supports IA64 processor
6048 lt_prog_compiler_static='-Bstatic'
6050 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
6054 # PIC is the default on this platform
6055 # Common symbols not allowed in MH_DYLIB files
6056 case $cc_basename in
6058 lt_prog_compiler_pic='-qnocommon'
6059 lt_prog_compiler_wl='-Wl,'
6064 mingw* | cygwin* | pw32* | os2*)
6065 # This hack is so that the source file can tell whether it is being
6066 # built for inclusion in a dll (and should export symbols for example).
6067 lt_prog_compiler_pic='-DDLL_EXPORT'
6070 hpux9* | hpux10* | hpux11*)
6071 lt_prog_compiler_wl='-Wl,'
6072 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6079 lt_prog_compiler_pic='+Z'
6082 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6083 lt_prog_compiler_static='${wl}-a ${wl}archive'
6086 irix5* | irix6* | nonstopux*)
6087 lt_prog_compiler_wl='-Wl,'
6088 # PIC (with -KPIC) is the default.
6089 lt_prog_compiler_static='-non_shared'
6092 linux* | k*bsd*-gnu)
6093 case $cc_basename in
6095 lt_prog_compiler_wl='-Wl,'
6096 lt_prog_compiler_pic='-KPIC'
6097 lt_prog_compiler_static='-static'
6099 pgcc* | pgf77* | pgf90* | pgf95*)
6100 # Portland Group compilers (*not* the Pentium gcc compiler,
6101 # which looks to be a dead project)
6102 lt_prog_compiler_wl='-Wl,'
6103 lt_prog_compiler_pic='-fpic'
6104 lt_prog_compiler_static='-Bstatic'
6107 lt_prog_compiler_wl='-Wl,'
6108 # All Alpha code is PIC.
6109 lt_prog_compiler_static='-non_shared'
6112 case `$CC -V 2>&1 | sed 5q` in
6115 lt_prog_compiler_pic='-KPIC'
6116 lt_prog_compiler_static='-Bstatic'
6117 lt_prog_compiler_wl='-Wl,'
6120 # Sun Fortran 8.3 passes all unrecognized flags to the linker
6121 lt_prog_compiler_pic='-KPIC'
6122 lt_prog_compiler_static='-Bstatic'
6123 lt_prog_compiler_wl=''
6131 lt_prog_compiler_pic='-KPIC'
6132 lt_prog_compiler_static='-Bstatic'
6136 # QNX uses GNU C++, but need to define -shared option too, otherwise
6138 lt_prog_compiler_pic='-fPIC -shared'
6141 osf3* | osf4* | osf5*)
6142 lt_prog_compiler_wl='-Wl,'
6143 # All OSF/1 code is PIC.
6144 lt_prog_compiler_static='-non_shared'
6148 lt_prog_compiler_static='-non_shared'
6152 lt_prog_compiler_pic='-KPIC'
6153 lt_prog_compiler_static='-Bstatic'
6154 case $cc_basename in
6156 lt_prog_compiler_wl='-Qoption ld ';;
6158 lt_prog_compiler_wl='-Wl,';;
6163 lt_prog_compiler_wl='-Qoption ld '
6164 lt_prog_compiler_pic='-PIC'
6165 lt_prog_compiler_static='-Bstatic'
6168 sysv4 | sysv4.2uw2* | sysv4.3*)
6169 lt_prog_compiler_wl='-Wl,'
6170 lt_prog_compiler_pic='-KPIC'
6171 lt_prog_compiler_static='-Bstatic'
6175 if test -d /usr/nec ;then
6176 lt_prog_compiler_pic='-Kconform_pic'
6177 lt_prog_compiler_static='-Bstatic'
6181 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
6182 lt_prog_compiler_wl='-Wl,'
6183 lt_prog_compiler_pic='-KPIC'
6184 lt_prog_compiler_static='-Bstatic'
6188 lt_prog_compiler_wl='-Wl,'
6189 lt_prog_compiler_can_build_shared=no
6193 lt_prog_compiler_pic='-pic'
6194 lt_prog_compiler_static='-Bstatic'
6198 lt_prog_compiler_can_build_shared=no
6204 # For platforms which do not support PIC, -DPIC is meaningless:
6206 lt_prog_compiler_pic=
6209 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
6212 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6213 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6221 # Check to make sure the PIC flag actually works.
6223 if test -n "$lt_prog_compiler_pic"; then
6224 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6225 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6226 if test "${lt_prog_compiler_pic_works+set}" = set; then
6227 echo $ECHO_N "(cached) $ECHO_C" >&6
6229 lt_prog_compiler_pic_works=no
6230 ac_outfile=conftest.$ac_objext
6231 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6232 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
6233 # Insert the option either (1) after the last *FLAGS variable, or
6234 # (2) before a word containing "conftest.", or (3) at the end.
6235 # Note that $ac_compile itself does not contain backslashes and begins
6236 # with a dollar sign (not a hyphen), so the echo should work correctly.
6237 # The option is referenced via a variable to avoid confusing sed.
6238 lt_compile=`echo "$ac_compile" | $SED \
6239 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6240 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6241 -e 's:$: $lt_compiler_flag:'`
6242 (eval echo "\"\$as_me:6242: $lt_compile\"" >&5)
6243 (eval "$lt_compile" 2>conftest.err)
6245 cat conftest.err >&5
6246 echo "$as_me:6246: \$? = $ac_status" >&5
6247 if (exit $ac_status) && test -s "$ac_outfile"; then
6248 # The compiler can only warn and ignore the option if not recognized
6249 # So say no if there are warnings other than the usual output.
6250 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
6251 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
6252 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
6253 lt_prog_compiler_pic_works=yes
6259 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6260 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
6262 if test x"$lt_prog_compiler_pic_works" = xyes; then
6263 case $lt_prog_compiler_pic in
6265 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
6268 lt_prog_compiler_pic=
6269 lt_prog_compiler_can_build_shared=no
6280 # Check to make sure the static flag actually works.
6282 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
6283 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
6284 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
6285 if test "${lt_prog_compiler_static_works+set}" = set; then
6286 echo $ECHO_N "(cached) $ECHO_C" >&6
6288 lt_prog_compiler_static_works=no
6289 save_LDFLAGS="$LDFLAGS"
6290 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
6291 echo "$lt_simple_link_test_code" > conftest.$ac_ext
6292 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
6293 # The linker can only warn and ignore the option if not recognized
6294 # So say no if there are warnings
6295 if test -s conftest.err; then
6296 # Append any errors to the config.log.
6297 cat conftest.err 1>&5
6298 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
6299 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
6300 if diff conftest.exp conftest.er2 >/dev/null; then
6301 lt_prog_compiler_static_works=yes
6304 lt_prog_compiler_static_works=yes
6308 LDFLAGS="$save_LDFLAGS"
6311 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6312 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6314 if test x"$lt_prog_compiler_static_works" = xyes; then
6317 lt_prog_compiler_static=
6326 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6327 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6328 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6329 echo $ECHO_N "(cached) $ECHO_C" >&6
6331 lt_cv_prog_compiler_c_o=no
6332 $RM -r conftest 2>/dev/null
6336 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6338 lt_compiler_flag="-o out/conftest2.$ac_objext"
6339 # Insert the option either (1) after the last *FLAGS variable, or
6340 # (2) before a word containing "conftest.", or (3) at the end.
6341 # Note that $ac_compile itself does not contain backslashes and begins
6342 # with a dollar sign (not a hyphen), so the echo should work correctly.
6343 lt_compile=`echo "$ac_compile" | $SED \
6344 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6345 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6346 -e 's:$: $lt_compiler_flag:'`
6347 (eval echo "\"\$as_me:6347: $lt_compile\"" >&5)
6348 (eval "$lt_compile" 2>out/conftest.err)
6350 cat out/conftest.err >&5
6351 echo "$as_me:6351: \$? = $ac_status" >&5
6352 if (exit $ac_status) && test -s out/conftest2.$ac_objext
6354 # The compiler can only warn and ignore the option if not recognized
6355 # So say no if there are warnings
6356 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
6357 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
6358 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
6359 lt_cv_prog_compiler_c_o=yes
6364 # SGI C++ compiler will create directory out/ii_files/ for
6365 # template instantiation
6366 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
6367 $RM out/* && rmdir out
6373 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6374 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6381 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6382 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6383 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6384 echo $ECHO_N "(cached) $ECHO_C" >&6
6386 lt_cv_prog_compiler_c_o=no
6387 $RM -r conftest 2>/dev/null
6391 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6393 lt_compiler_flag="-o out/conftest2.$ac_objext"
6394 # Insert the option either (1) after the last *FLAGS variable, or
6395 # (2) before a word containing "conftest.", or (3) at the end.
6396 # Note that $ac_compile itself does not contain backslashes and begins
6397 # with a dollar sign (not a hyphen), so the echo should work correctly.
6398 lt_compile=`echo "$ac_compile" | $SED \
6399 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6400 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6401 -e 's:$: $lt_compiler_flag:'`
6402 (eval echo "\"\$as_me:6402: $lt_compile\"" >&5)
6403 (eval "$lt_compile" 2>out/conftest.err)
6405 cat out/conftest.err >&5
6406 echo "$as_me:6406: \$? = $ac_status" >&5
6407 if (exit $ac_status) && test -s out/conftest2.$ac_objext
6409 # The compiler can only warn and ignore the option if not recognized
6410 # So say no if there are warnings
6411 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
6412 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
6413 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
6414 lt_cv_prog_compiler_c_o=yes
6419 # SGI C++ compiler will create directory out/ii_files/ for
6420 # template instantiation
6421 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
6422 $RM out/* && rmdir out
6428 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6429 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6434 hard_links="nottested"
6435 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
6436 # do not overwrite the value of need_locks provided by the user
6437 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6438 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
6441 ln conftest.a conftest.b 2>/dev/null && hard_links=no
6443 ln conftest.a conftest.b 2>&5 || hard_links=no
6444 ln conftest.a conftest.b 2>/dev/null && hard_links=no
6445 echo "$as_me:$LINENO: result: $hard_links" >&5
6446 echo "${ECHO_T}$hard_links" >&6
6447 if test "$hard_links" = no; then
6448 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6449 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6461 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6462 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
6465 allow_undefined_flag=
6466 always_export_symbols=no
6468 archive_expsym_cmds=
6469 compiler_needs_object=no
6470 enable_shared_with_static_runtimes=no
6471 export_dynamic_flag_spec=
6472 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6473 hardcode_automatic=no
6475 hardcode_direct_absolute=no
6476 hardcode_libdir_flag_spec=
6477 hardcode_libdir_flag_spec_ld=
6478 hardcode_libdir_separator=
6480 hardcode_shlibpath_var=unsupported
6482 link_all_deplibs=unknown
6485 old_archive_from_new_cmds=
6486 old_archive_from_expsyms_cmds=
6487 thread_safe_flag_spec=
6488 whole_archive_flag_spec=
6489 # include_expsyms should be a list of space-separated symbols to be *always*
6490 # included in the symbol list
6492 # exclude_expsyms can be an extended regexp of symbols to exclude
6493 # it will be wrapped by ` (' and `)$', so one must not match beginning or
6494 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6495 # as well as any symbol that contains `d'.
6496 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
6497 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6498 # platforms (ab)use it in PIC code, but their linkers get confused if
6499 # the symbol is explicitly referenced. Since portable code cannot
6500 # rely on this symbol name, it's probably fine to never include it in
6501 # preloaded symbol tables.
6502 extract_expsyms_cmds=
6505 cygwin* | mingw* | pw32*)
6506 # FIXME: the MSVC++ port hasn't been tested in a loooong time
6507 # When not using gcc, we currently assume that we are using
6508 # Microsoft Visual C++.
6509 if test "$GCC" != yes; then
6514 # we just hope/assume this is gcc and not c89 (= MSVC++)
6523 if test "$with_gnu_ld" = yes; then
6524 # If archive_cmds runs LD, not CC, wlarc should be empty
6527 # Set some defaults for GNU ld with shared library support. These
6528 # are reset later if shared libraries are not supported. Putting them
6529 # here allows them to be overridden if necessary.
6530 runpath_var=LD_RUN_PATH
6531 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
6532 export_dynamic_flag_spec='${wl}--export-dynamic'
6533 # ancient GNU ld didn't support --whole-archive et. al.
6534 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
6535 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6537 whole_archive_flag_spec=
6539 supports_anon_versioning=no
6540 case `$LD -v 2>&1` in
6541 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
6542 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
6543 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
6544 *\ 2.11.*) ;; # other 2.11 versions
6545 *) supports_anon_versioning=yes ;;
6548 # See if GNU ld supports shared libraries.
6550 aix3* | aix4* | aix5*)
6551 # On AIX/PPC, the GNU linker is very broken
6552 if test "$host_cpu" != ia64; then
6556 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
6557 *** to be unable to reliably create shared libraries on AIX.
6558 *** Therefore, libtool is disabling shared libraries support. If you
6559 *** really care for shared libraries, you may want to modify your PATH
6560 *** so that a non-GNU linker is found, and then restart.
6567 if test "$host_cpu" = m68k; then
6568 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)'
6569 hardcode_libdir_flag_spec='-L$libdir'
6570 hardcode_minus_L=yes
6573 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
6574 # that the semantics of dynamic libraries on AmigaOS, at least up
6575 # to version 4, is to share data among multiple programs linked
6576 # with the same dynamic library. Since this doesn't match the
6577 # behavior of shared libraries on other platforms, we can't use
6583 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
6584 allow_undefined_flag=unsupported
6585 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
6586 # support --undefined. This deserves some investigation. FIXME
6587 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6593 cygwin* | mingw* | pw32*)
6594 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
6595 # as there is no search path for DLLs.
6596 hardcode_libdir_flag_spec='-L$libdir'
6597 allow_undefined_flag=unsupported
6598 always_export_symbols=no
6599 enable_shared_with_static_runtimes=yes
6600 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
6602 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
6603 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
6604 # If the export-symbols file already is a .def file (1st line
6605 # is EXPORTS), use it as is; otherwise, prepend...
6606 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
6607 cp $export_symbols $output_objdir/$soname.def;
6609 echo EXPORTS > $output_objdir/$soname.def;
6610 cat $export_symbols >> $output_objdir/$soname.def;
6612 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
6620 hardcode_shlibpath_var=no
6621 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
6622 export_dynamic_flag_spec='${wl}-E'
6623 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
6624 # Instead, shared libraries are loaded at an image base (0x10000000 by
6625 # default) and relocated if they conflict, which is a slow very memory
6626 # consuming and fragmenting process. To avoid this, we pick a random,
6627 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
6628 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
6629 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
6630 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'
6633 gnu* | linux* | tpf* | k*bsd*-gnu)
6635 if test "$host_os" = linux-dietlibc; then
6636 case $cc_basename in
6637 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
6640 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
6641 && test "$tmp_diet" = no
6644 case $cc_basename,$host_cpu in
6645 pgcc*) # Portland Group C compiler
6646 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'
6647 tmp_addflag=' $pic_flag'
6649 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
6650 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'
6651 tmp_addflag=' $pic_flag -Mnomain' ;;
6652 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
6653 tmp_addflag=' -i_dynamic' ;;
6654 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
6655 tmp_addflag=' -i_dynamic -nofor_main' ;;
6656 ifc* | ifort*) # Intel Fortran compiler
6657 tmp_addflag=' -nofor_main' ;;
6659 case `$CC -V 2>&1 | sed 5q` in
6660 *Sun\ C*) # Sun C 5.9
6661 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'
6662 compiler_needs_object=yes
6663 tmp_sharedflag='-G' ;;
6664 *Sun\ F*) # Sun Fortran 8.3
6665 tmp_sharedflag='-G' ;;
6667 tmp_sharedflag='-shared' ;;
6669 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6671 if test "x$supports_anon_versioning" = xyes; then
6672 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
6673 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
6674 echo "local: *; };" >> $output_objdir/$libname.ver~
6675 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
6683 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
6684 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
6687 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6688 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6693 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
6697 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
6698 *** create shared libraries on Solaris systems. Therefore, libtool
6699 *** is disabling shared libraries support. We urge you to upgrade GNU
6700 *** binutils to release 2.9.1 or newer. Another option is to modify
6701 *** your PATH or compiler configuration so that the native linker is
6702 *** used, and then restart.
6705 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
6706 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6707 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6713 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
6714 case `$LD -v 2>&1` in
6715 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
6719 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
6720 *** reliably create shared libraries on SCO systems. Therefore, libtool
6721 *** is disabling shared libraries support. We urge you to upgrade GNU
6722 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
6723 *** your PATH or compiler configuration so that the native linker is
6724 *** used, and then restart.
6729 # For security reasons, it is highly recommended that you always
6730 # use absolute paths for naming shared libraries, and exclude the
6731 # DT_RUNPATH tag from executables and libraries. But doing so
6732 # requires that you compile everything twice, which is a pain.
6733 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
6734 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
6735 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6736 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6745 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6748 hardcode_shlibpath_var=no
6752 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
6753 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6754 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6761 if test "$ld_shlibs" = no; then
6763 hardcode_libdir_flag_spec=
6764 export_dynamic_flag_spec=
6765 whole_archive_flag_spec=
6768 # PORTME fill in a description of your system's linker (not GNU ld)
6771 allow_undefined_flag=unsupported
6772 always_export_symbols=yes
6773 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'
6774 # Note: this linker hardcodes the directories in LIBPATH if there
6775 # are no directories specified by -L.
6776 hardcode_minus_L=yes
6777 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
6778 # Neither direct hardcoding nor static linking is supported with a
6780 hardcode_direct=unsupported
6785 if test "$host_cpu" = ia64; then
6786 # On IA64, the linker does run time linking by default, so we don't
6787 # have to do anything special.
6788 aix_use_runtimelinking=no
6789 exp_sym_flag='-Bexport'
6792 # If we're using GNU nm, then we don't want the "-C" option.
6793 # -C means demangle to AIX nm, but means don't demangle with GNU nm
6794 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
6795 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'
6797 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'
6799 aix_use_runtimelinking=no
6801 # Test if we are trying to use run time linking or normal
6802 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
6803 # need to do runtime linking.
6804 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
6805 for ld_flag in $LDFLAGS; do
6806 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
6807 aix_use_runtimelinking=yes
6814 exp_sym_flag='-bexport'
6815 no_entry_flag='-bnoentry'
6818 # When large executables or shared objects are built, AIX ld can
6819 # have problems creating the table of contents. If linking a library
6820 # or program results in "error TOC overflow" add -mminimal-toc to
6821 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
6822 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
6826 hardcode_direct_absolute=yes
6827 hardcode_libdir_separator=':'
6828 link_all_deplibs=yes
6829 file_list_spec='${wl}-f,'
6831 if test "$GCC" = yes; then
6832 case $host_os in aix4.[012]|aix4.[012].*)
6833 # We only want to do this on AIX 4.2 and lower, the check
6834 # below for broken collect2 doesn't work under 4.3+
6835 collect2name=`${CC} -print-prog-name=collect2`
6836 if test -f "$collect2name" &&
6837 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
6839 # We have reworked collect2
6842 # We have old collect2
6843 hardcode_direct=unsupported
6844 # It fails to find uninstalled libraries when the uninstalled
6845 # path is not listed in the libpath. Setting hardcode_minus_L
6846 # to unsupported forces relinking
6847 hardcode_minus_L=yes
6848 hardcode_libdir_flag_spec='-L$libdir'
6849 hardcode_libdir_separator=
6853 shared_flag='-shared'
6854 if test "$aix_use_runtimelinking" = yes; then
6855 shared_flag="$shared_flag "'${wl}-G'
6859 if test "$host_cpu" = ia64; then
6860 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
6861 # chokes on -Wl,-G. The following line is correct:
6864 if test "$aix_use_runtimelinking" = yes; then
6865 shared_flag='${wl}-G'
6867 shared_flag='${wl}-bM:SRE'
6872 # It seems that -bexpall does not export symbols beginning with
6873 # underscore (_), so it is better to generate a list of symbols to export.
6874 always_export_symbols=yes
6875 if test "$aix_use_runtimelinking" = yes; then
6876 # Warning - without using the other runtime loading flags (-brtl),
6877 # -berok will link without error, but may produce a broken library.
6878 allow_undefined_flag='-berok'
6879 # Determine the default libpath from the value encoded in an
6881 cat >conftest.$ac_ext <<_ACEOF
6884 cat confdefs.h >>conftest.$ac_ext
6885 cat >>conftest.$ac_ext <<_ACEOF
6886 /* end confdefs.h. */
6896 rm -f conftest.$ac_objext conftest$ac_exeext
6897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6898 (eval $ac_link) 2>conftest.er1
6900 grep -v '^ *+' conftest.er1 >conftest.err
6902 cat conftest.err >&5
6903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6904 (exit $ac_status); } &&
6905 { ac_try='test -z "$ac_c_werror_flag"
6906 || test ! -s conftest.err'
6907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6911 (exit $ac_status); }; } &&
6912 { ac_try='test -s conftest$ac_exeext'
6913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6917 (exit $ac_status); }; }; then
6919 lt_aix_libpath_sed='
6920 /Import File Strings/,/^$/ {
6926 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
6927 # Check for a 64-bit object if we didn't find anything.
6928 if test -z "$aix_libpath"; then
6929 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
6932 echo "$as_me: failed program was:" >&5
6933 sed 's/^/| /' conftest.$ac_ext >&5
6936 rm -f conftest.err conftest.$ac_objext \
6937 conftest$ac_exeext conftest.$ac_ext
6938 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6940 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
6941 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 "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
6943 if test "$host_cpu" = ia64; then
6944 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
6945 allow_undefined_flag="-z nodefs"
6946 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"
6948 # Determine the default libpath from the value encoded in an
6950 cat >conftest.$ac_ext <<_ACEOF
6953 cat confdefs.h >>conftest.$ac_ext
6954 cat >>conftest.$ac_ext <<_ACEOF
6955 /* end confdefs.h. */
6965 rm -f conftest.$ac_objext conftest$ac_exeext
6966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6967 (eval $ac_link) 2>conftest.er1
6969 grep -v '^ *+' conftest.er1 >conftest.err
6971 cat conftest.err >&5
6972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6973 (exit $ac_status); } &&
6974 { ac_try='test -z "$ac_c_werror_flag"
6975 || test ! -s conftest.err'
6976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6980 (exit $ac_status); }; } &&
6981 { ac_try='test -s conftest$ac_exeext'
6982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6986 (exit $ac_status); }; }; then
6988 lt_aix_libpath_sed='
6989 /Import File Strings/,/^$/ {
6995 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
6996 # Check for a 64-bit object if we didn't find anything.
6997 if test -z "$aix_libpath"; then
6998 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7001 echo "$as_me: failed program was:" >&5
7002 sed 's/^/| /' conftest.$ac_ext >&5
7005 rm -f conftest.err conftest.$ac_objext \
7006 conftest$ac_exeext conftest.$ac_ext
7007 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7009 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7010 # Warning - without using the other run time loading flags,
7011 # -berok will link without error, but may produce a broken library.
7012 no_undefined_flag=' ${wl}-bernotok'
7013 allow_undefined_flag=' ${wl}-berok'
7014 # Exported symbols can be pulled into shared objects from archives
7015 whole_archive_flag_spec='$convenience'
7016 archive_cmds_need_lc=yes
7017 # This is similar to how AIX traditionally builds its shared libraries.
7018 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'
7024 if test "$host_cpu" = m68k; then
7025 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)'
7026 hardcode_libdir_flag_spec='-L$libdir'
7027 hardcode_minus_L=yes
7029 # see comment about different semantics on the GNU ld section
7034 export_dynamic_flag_spec=-rdynamic
7037 cygwin* | mingw* | pw32*)
7038 # When not using gcc, we currently assume that we are using
7039 # Microsoft Visual C++.
7040 # hardcode_libdir_flag_spec is actually meaningless, as there is
7041 # no search path for DLLs.
7042 hardcode_libdir_flag_spec=' '
7043 allow_undefined_flag=unsupported
7044 # Tell ltmain to make .lib files, not .a files.
7046 # Tell ltmain to make .dll files, not .so files.
7048 # FIXME: Setting linknames here is a bad hack.
7049 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
7050 # The linker will automatically build a .lib file if we build a DLL.
7051 old_archive_from_new_cmds='true'
7052 # FIXME: Should let the user specify the lib program.
7053 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
7054 fix_srcfile_path='`cygpath -w "$srcfile"`'
7055 enable_shared_with_static_runtimes=yes
7058 darwin* | rhapsody*)
7060 rhapsody* | darwin1.[012])
7061 allow_undefined_flag='${wl}-undefined ${wl}suppress'
7064 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
7066 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7069 allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
7074 archive_cmds_need_lc=no
7076 hardcode_automatic=yes
7077 hardcode_shlibpath_var=unsupported
7078 whole_archive_flag_spec=''
7079 link_all_deplibs=yes
7080 if test "$GCC" = yes ; then
7081 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7082 echo $ECHO_N "(cached) $ECHO_C" >&6
7084 lt_cv_apple_cc_single_mod=no
7085 if test -z "${LT_MULTI_MODULE}"; then
7086 # By default we will add the -single_module flag. You can override
7087 # by either setting the environment variable LT_MULTI_MODULE
7088 # non-empty at configure time, or by adding -multi-module to the
7090 echo "int foo(void){return 1;}" > conftest.c
7091 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7092 -dynamiclib ${wl}-single_module conftest.c
7093 if test -f libconftest.dylib; then
7094 lt_cv_apple_cc_single_mod=yes
7095 rm libconftest.dylib
7101 output_verbose_link_cmd=echo
7102 if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
7103 archive_cmds='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7104 archive_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $single_module -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7106 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7107 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~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7109 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7110 module_expsym_cmds='sed -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}'
7112 case $cc_basename in
7114 output_verbose_link_cmd=echo
7115 archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
7116 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7117 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7118 archive_expsym_cmds='sed "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 $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7119 module_expsym_cmds='sed "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}'
7129 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7130 hardcode_libdir_flag_spec='-L$libdir'
7131 hardcode_shlibpath_var=no
7138 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7139 # support. Future versions do this automatically, but an explicit c++rt0.o
7140 # does not break anything, and helps significantly (at the cost of a little
7143 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7144 hardcode_libdir_flag_spec='-R$libdir'
7146 hardcode_shlibpath_var=no
7149 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7151 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7153 hardcode_minus_L=yes
7154 hardcode_shlibpath_var=no
7157 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7158 freebsd* | dragonfly*)
7159 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7160 hardcode_libdir_flag_spec='-R$libdir'
7162 hardcode_shlibpath_var=no
7166 if test "$GCC" = yes; then
7167 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'
7169 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'
7171 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7172 hardcode_libdir_separator=:
7175 # hardcode_minus_L: Not really in the search PATH,
7176 # but as the default location of the library.
7177 hardcode_minus_L=yes
7178 export_dynamic_flag_spec='${wl}-E'
7182 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7183 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7185 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7187 if test "$with_gnu_ld" = no; then
7188 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7189 hardcode_libdir_flag_spec_ld='+b $libdir'
7190 hardcode_libdir_separator=:
7192 hardcode_direct_absolute=yes
7193 export_dynamic_flag_spec='${wl}-E'
7194 # hardcode_minus_L: Not really in the search PATH,
7195 # but as the default location of the library.
7196 hardcode_minus_L=yes
7201 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7204 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7207 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7210 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7216 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7219 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7222 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7226 if test "$with_gnu_ld" = no; then
7227 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7228 hardcode_libdir_separator=:
7233 hardcode_shlibpath_var=no
7237 hardcode_direct_absolute=yes
7238 export_dynamic_flag_spec='${wl}-E'
7240 # hardcode_minus_L: Not really in the search PATH,
7241 # but as the default location of the library.
7242 hardcode_minus_L=yes
7248 irix5* | irix6* | nonstopux*)
7249 if test "$GCC" = yes; then
7250 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
7251 # Try to use the -exported_symbol ld option, if it does not
7252 # work, assume that -exports_file does not work either and
7253 # implicitly export all symbols.
7254 save_LDFLAGS="$LDFLAGS"
7255 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
7256 cat >conftest.$ac_ext <<_ACEOF
7259 rm -f conftest.$ac_objext conftest$ac_exeext
7260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7261 (eval $ac_link) 2>conftest.er1
7263 grep -v '^ *+' conftest.er1 >conftest.err
7265 cat conftest.err >&5
7266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7267 (exit $ac_status); } &&
7268 { ac_try='test -z "$ac_c_werror_flag"
7269 || test ! -s conftest.err'
7270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7274 (exit $ac_status); }; } &&
7275 { ac_try='test -s conftest$ac_exeext'
7276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7280 (exit $ac_status); }; }; then
7281 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
7284 echo "$as_me: failed program was:" >&5
7285 sed 's/^/| /' conftest.$ac_ext >&5
7288 rm -f conftest.err conftest.$ac_objext \
7289 conftest$ac_exeext conftest.$ac_ext
7290 LDFLAGS="$save_LDFLAGS"
7292 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
7293 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
7295 archive_cmds_need_lc='no'
7296 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7297 hardcode_libdir_separator=:
7299 link_all_deplibs=yes
7303 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
7304 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7306 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7308 hardcode_libdir_flag_spec='-R$libdir'
7310 hardcode_shlibpath_var=no
7314 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7316 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7317 hardcode_libdir_separator=:
7318 hardcode_shlibpath_var=no
7326 hardcode_shlibpath_var=no
7327 hardcode_direct_absolute=yes
7328 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7329 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7330 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
7331 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7332 export_dynamic_flag_spec='${wl}-E'
7335 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
7336 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7337 hardcode_libdir_flag_spec='-R$libdir'
7340 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7341 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7348 hardcode_libdir_flag_spec='-L$libdir'
7349 hardcode_minus_L=yes
7350 allow_undefined_flag=unsupported
7351 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'
7352 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7356 if test "$GCC" = yes; then
7357 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7358 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
7360 allow_undefined_flag=' -expect_unresolved \*'
7361 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
7363 archive_cmds_need_lc='no'
7364 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7365 hardcode_libdir_separator=:
7368 osf4* | osf5*) # as osf3* with the addition of -msym flag
7369 if test "$GCC" = yes; then
7370 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7371 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
7372 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7374 allow_undefined_flag=' -expect_unresolved \*'
7375 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
7376 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
7377 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
7379 # Both c and cxx compiler support -rpath directly
7380 hardcode_libdir_flag_spec='-rpath $libdir'
7382 archive_cmds_need_lc='no'
7383 hardcode_libdir_separator=:
7387 no_undefined_flag=' -z defs'
7388 if test "$GCC" = yes; then
7390 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7391 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
7392 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
7394 case `$CC -V 2>&1` in
7397 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7398 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
7399 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
7403 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
7404 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
7405 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
7409 hardcode_libdir_flag_spec='-R$libdir'
7410 hardcode_shlibpath_var=no
7412 solaris2.[0-5] | solaris2.[0-5].*) ;;
7414 # The compiler driver will combine and reorder linker options,
7415 # but understands `-z linker_flag'. GCC discards it without `$wl',
7416 # but is careful enough not to reorder.
7417 # Supported since Solaris 2.6 (maybe 2.5.1?)
7418 if test "$GCC" = yes; then
7419 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
7421 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
7425 link_all_deplibs=yes
7429 if test "x$host_vendor" = xsequent; then
7430 # Use $CC to link under sequent, because it throws in some extra .o
7431 # files that make .init and .fini sections work.
7432 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
7434 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7436 hardcode_libdir_flag_spec='-L$libdir'
7438 hardcode_minus_L=yes
7439 hardcode_shlibpath_var=no
7443 case $host_vendor in
7445 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7446 hardcode_direct=yes # is this really true???
7449 ## LD is ld it makes a PLAMLIB
7450 ## CC just makes a GrossModule.
7451 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7452 reload_cmds='$CC -r -o $output$reload_objs'
7456 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7457 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
7460 runpath_var='LD_RUN_PATH'
7461 hardcode_shlibpath_var=no
7465 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7466 hardcode_shlibpath_var=no
7467 export_dynamic_flag_spec='-Bexport'
7471 if test -d /usr/nec; then
7472 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7473 hardcode_shlibpath_var=no
7474 runpath_var=LD_RUN_PATH
7475 hardcode_runpath_var=yes
7480 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
7481 no_undefined_flag='${wl}-z,text'
7482 archive_cmds_need_lc=no
7483 hardcode_shlibpath_var=no
7484 runpath_var='LD_RUN_PATH'
7486 if test "$GCC" = yes; then
7487 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7488 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7490 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7491 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7495 sysv5* | sco3.2v5* | sco5v6*)
7496 # Note: We can NOT use -z defs as we might desire, because we do not
7497 # link with -lc, and that would cause any symbols used from libc to
7498 # always be unresolved, which means just about no library would
7499 # ever link correctly. If we're not using GNU ld we use -z text
7500 # though, which does catch some bad symbols but isn't as heavy-handed
7502 no_undefined_flag='${wl}-z,text'
7503 allow_undefined_flag='${wl}-z,nodefs'
7504 archive_cmds_need_lc=no
7505 hardcode_shlibpath_var=no
7506 hardcode_libdir_flag_spec='${wl}-R,$libdir'
7507 hardcode_libdir_separator=':'
7508 link_all_deplibs=yes
7509 export_dynamic_flag_spec='${wl}-Bexport'
7510 runpath_var='LD_RUN_PATH'
7512 if test "$GCC" = yes; then
7513 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7514 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7516 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7517 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7522 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7523 hardcode_libdir_flag_spec='-L$libdir'
7524 hardcode_shlibpath_var=no
7532 if test x$host_vendor = xsni; then
7534 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
7535 export_dynamic_flag_spec='${wl}-Blargedynsym'
7541 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7542 echo "${ECHO_T}$ld_shlibs" >&6
7543 test "$ld_shlibs" = no && can_build_shared=no
7545 with_gnu_ld=$with_gnu_ld
7562 # Do we need to explicitly link libc?
7564 case "x$archive_cmds_need_lc" in
7566 # Assume -lc should be added
7567 archive_cmds_need_lc=yes
7569 if test "$enable_shared" = yes && test "$GCC" = yes; then
7570 case $archive_cmds in
7572 # FIXME: we may have to deal with multi-command sequences.
7575 # Test whether the compiler implicitly links with -lc since on some
7576 # systems, -lgcc has to come before -lc. If gcc already passes -lc
7577 # to ld, don't add -lc before -lgcc.
7578 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7579 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
7581 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7584 (eval $ac_compile) 2>&5
7586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7587 (exit $ac_status); } 2>conftest.err; then
7590 libobjs=conftest.$ac_objext
7592 wl=$lt_prog_compiler_wl
7593 pic_flag=$lt_prog_compiler_pic
7599 lt_save_allow_undefined_flag=$allow_undefined_flag
7600 allow_undefined_flag=
7601 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
7602 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
7604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7605 (exit $ac_status); }
7607 archive_cmds_need_lc=no
7609 archive_cmds_need_lc=yes
7611 allow_undefined_flag=$lt_save_allow_undefined_flag
7613 cat conftest.err 1>&5
7616 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7617 echo "${ECHO_T}$archive_cmds_need_lc" >&6
7780 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7781 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
7783 if test "$withGCC" = yes; then
7785 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
7786 *) lt_awk_arg="/^libraries:/" ;;
7788 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7789 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
7790 # if the path contains ";" then we assume it to be the separator
7791 # otherwise default to the standard path separator (i.e. ":") - it is
7792 # assumed that no part of a normal pathname contains ";" but that should
7793 # okay in the real world where ";" in dirpaths is itself problematic.
7794 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
7796 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7798 # Ok, now we have the path, separated by spaces, we can step through it
7799 # and add multilib dir if necessary.
7800 lt_tmp_lt_search_path_spec=
7801 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
7802 for lt_sys_path in $lt_search_path_spec; do
7803 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
7804 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
7806 test -d "$lt_sys_path" && \
7807 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
7810 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
7811 BEGIN {RS=" "; FS="/|\n";} {
7814 for (lt_i = NF; lt_i > 0; lt_i--) {
7815 if ($lt_i != "" && $lt_i != ".") {
7816 if ($lt_i == "..") {
7819 if (lt_count == 0) {
7820 lt_foo="/" $lt_i lt_foo;
7827 if (lt_foo != "") { lt_freq[lt_foo]++; }
7828 if (lt_freq[lt_foo] == 1) { print lt_foo; }
7830 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
7832 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
7835 libname_spec='lib$name'
7843 shlibpath_overrides_runpath=unknown
7845 dynamic_linker="$host_os ld.so"
7846 sys_lib_dlsearch_path_spec="/lib /usr/lib"
7847 need_lib_prefix=unknown
7848 hardcode_into_libs=no
7850 # when you set need_version to no, make sure it does not cause -set_version
7851 # flags to be left without arguments
7852 need_version=unknown
7857 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
7858 shlibpath_var=LIBPATH
7860 # AIX 3 has no versioning support, so we append a major version to the name.
7861 soname_spec='${libname}${release}${shared_ext}$major'
7868 hardcode_into_libs=yes
7869 if test "$host_cpu" = ia64; then
7870 # AIX 5 supports IA64
7871 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
7872 shlibpath_var=LD_LIBRARY_PATH
7874 # With GCC up to 2.95.x, collect2 would create an import file
7875 # for dependence libraries. The import file would start with
7876 # the line `#! .'. This would cause the generated library to
7877 # depend on `.', always an invalid library. This was fixed in
7878 # development snapshots of GCC prior to 3.0.
7880 aix4 | aix4.[01] | aix4.[01].*)
7881 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
7883 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
7890 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
7891 # soname into executable. Probably we can add versioning support to
7892 # collect2, so additional links can be useful in future.
7893 if test "$aix_use_runtimelinking" = yes; then
7894 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
7895 # instead of lib<name>.a to let people know that these are not
7896 # typical AIX shared libraries.
7897 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7899 # We preserve .a as extension for shared libraries through AIX4.2
7900 # and later when we are not doing run time linking.
7901 library_names_spec='${libname}${release}.a $libname.a'
7902 soname_spec='${libname}${release}${shared_ext}$major'
7904 shlibpath_var=LIBPATH
7909 if test "$host_cpu" = m68k; then
7910 library_names_spec='$libname.ixlibrary $libname.a'
7911 # Create ${libname}_ixlibrary.a entries in /sys/libs.
7912 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'
7919 library_names_spec='${libname}${shared_ext}'
7920 dynamic_linker="$host_os ld.so"
7921 shlibpath_var=LIBRARY_PATH
7927 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7928 soname_spec='${libname}${release}${shared_ext}$major'
7929 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
7930 shlibpath_var=LD_LIBRARY_PATH
7931 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
7932 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
7933 # the default ld.so.conf also contains /usr/contrib/lib and
7934 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
7935 # libtool to hard-code these into programs
7938 cygwin* | mingw* | pw32*)
7939 version_type=windows
7944 case $withGCC,$host_os in
7945 yes,cygwin* | yes,mingw* | yes,pw32*)
7946 library_names_spec='$libname.dll.a'
7947 # DLL is installed to $(libdir)/../bin by postinstall_cmds
7948 postinstall_cmds='base_file=`basename \${file}`~
7949 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
7950 dldir=$destdir/`dirname \$dlpath`~
7951 test -d \$dldir || mkdir -p \$dldir~
7952 $install_prog $dir/$dlname \$dldir/$dlname~
7953 chmod a+x \$dldir/$dlname~
7954 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
7955 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
7957 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
7958 dlpath=$dir/\$dldll~
7960 shlibpath_overrides_runpath=yes
7964 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
7965 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7966 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
7969 # MinGW DLLs use traditional 'lib' prefix
7970 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7971 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7972 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
7973 # It is most probably a Windows format PATH printed by
7974 # mingw gcc, but we are running on Cygwin. Gcc prints its search
7975 # path with ; separators, and with drive letters. We can handle the
7976 # drive letters (cygwin fileutils understands them), so leave them,
7977 # especially as we might pass files found there to a mingw objdump,
7978 # which wouldn't understand a cygwinified path. Ahh.
7979 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7981 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7985 # pw32 DLLs use 'pw' prefix rather than 'lib'
7986 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7992 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
7995 dynamic_linker='Win32 ld.exe'
7996 # FIXME: first we should search . and the directory the executable is in
8000 darwin* | rhapsody*)
8001 dynamic_linker="$host_os dyld"
8005 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8006 soname_spec='${libname}${release}${major}$shared_ext'
8007 shlibpath_overrides_runpath=yes
8008 shlibpath_var=DYLD_LIBRARY_PATH
8009 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
8011 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
8012 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
8019 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8020 soname_spec='${libname}${release}${shared_ext}$major'
8021 shlibpath_var=LD_LIBRARY_PATH
8028 freebsd* | dragonfly*)
8029 # DragonFly does not have aout. When/if they implement a new
8030 # versioning mechanism, adjust this.
8031 if test -x /usr/bin/objformat; then
8032 objformat=`/usr/bin/objformat`
8035 freebsd[123]*) objformat=aout ;;
8039 version_type=freebsd-$objformat
8040 case $version_type in
8042 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8047 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8051 shlibpath_var=LD_LIBRARY_PATH
8054 shlibpath_overrides_runpath=yes
8056 freebsd3.[01]* | freebsdelf3.[01]*)
8057 shlibpath_overrides_runpath=yes
8058 hardcode_into_libs=yes
8060 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
8061 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
8062 shlibpath_overrides_runpath=no
8063 hardcode_into_libs=yes
8065 *) # from 4.6 on, and DragonFly
8066 shlibpath_overrides_runpath=yes
8067 hardcode_into_libs=yes
8076 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8077 soname_spec='${libname}${release}${shared_ext}$major'
8078 shlibpath_var=LD_LIBRARY_PATH
8079 hardcode_into_libs=yes
8082 hpux9* | hpux10* | hpux11*)
8083 # Give a soname corresponding to the major version so that dld.sl refuses to
8084 # link against other versions.
8091 hardcode_into_libs=yes
8092 dynamic_linker="$host_os dld.so"
8093 shlibpath_var=LD_LIBRARY_PATH
8094 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
8095 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8096 soname_spec='${libname}${release}${shared_ext}$major'
8097 if test "X$HPUX_IA64_MODE" = X32; then
8098 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8100 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
8102 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
8106 hardcode_into_libs=yes
8107 dynamic_linker="$host_os dld.sl"
8108 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
8109 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
8110 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8111 soname_spec='${libname}${release}${shared_ext}$major'
8112 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8113 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
8117 dynamic_linker="$host_os dld.sl"
8118 shlibpath_var=SHLIB_PATH
8119 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
8120 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8121 soname_spec='${libname}${release}${shared_ext}$major'
8124 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8125 postinstall_cmds='chmod 555 $lib'
8132 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8133 soname_spec='${libname}${release}${shared_ext}$major'
8134 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
8135 shlibpath_var=LD_LIBRARY_PATH
8136 shlibpath_overrides_runpath=no
8137 hardcode_into_libs=yes
8140 irix5* | irix6* | nonstopux*)
8142 nonstopux*) version_type=nonstopux ;;
8144 if test "$lt_cv_prog_gnu_ld" = yes; then
8152 soname_spec='${libname}${release}${shared_ext}$major'
8153 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8155 irix5* | nonstopux*)
8159 case $LD in # libtool.m4 will add one of these switches to LD
8160 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
8161 libsuff= shlibsuff= libmagic=32-bit;;
8162 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
8163 libsuff=32 shlibsuff=N32 libmagic=N32;;
8164 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
8165 libsuff=64 shlibsuff=64 libmagic=64-bit;;
8166 *) libsuff= shlibsuff= libmagic=never-match;;
8170 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
8171 shlibpath_overrides_runpath=no
8172 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8173 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
8174 hardcode_into_libs=yes
8177 # No shared lib support for Linux oldld, aout, or coff.
8178 linux*oldld* | linux*aout* | linux*coff*)
8182 # This must be Linux ELF.
8183 linux* | k*bsd*-gnu)
8187 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8188 soname_spec='${libname}${release}${shared_ext}$major'
8189 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8190 shlibpath_var=LD_LIBRARY_PATH
8191 shlibpath_overrides_runpath=no
8192 # Some binutils ld are patched to set DT_RUNPATH
8193 save_LDFLAGS=$LDFLAGS
8195 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
8196 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
8197 cat >conftest.$ac_ext <<_ACEOF
8200 cat confdefs.h >>conftest.$ac_ext
8201 cat >>conftest.$ac_ext <<_ACEOF
8202 /* end confdefs.h. */
8212 rm -f conftest.$ac_objext conftest$ac_exeext
8213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8214 (eval $ac_link) 2>conftest.er1
8216 grep -v '^ *+' conftest.er1 >conftest.err
8218 cat conftest.err >&5
8219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8220 (exit $ac_status); } &&
8221 { ac_try='test -z "$ac_c_werror_flag"
8222 || test ! -s conftest.err'
8223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8227 (exit $ac_status); }; } &&
8228 { ac_try='test -s conftest$ac_exeext'
8229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8233 (exit $ac_status); }; }; then
8234 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
8235 shlibpath_overrides_runpath=yes
8239 echo "$as_me: failed program was:" >&5
8240 sed 's/^/| /' conftest.$ac_ext >&5
8243 rm -f conftest.err conftest.$ac_objext \
8244 conftest$ac_exeext conftest.$ac_ext
8245 LDFLAGS=$save_LDFLAGS
8248 # This implies no fast_install, which is unacceptable.
8249 # Some rework will be needed to allow for fast_install
8250 # before this can be enabled.
8251 hardcode_into_libs=yes
8253 # Append ld.so.conf contents to the search path
8254 if test -f /etc/ld.so.conf; then
8255 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/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
8256 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
8259 # We used to test for /lib/ld.so.1 and disable shared libraries on
8260 # powerpc, because MkLinux only supported shared libraries with the
8261 # GNU dynamic linker. Since this was broken with cross compilers,
8262 # most powerpc-linux boxes support dynamic linking these days and
8263 # people can always --disable-shared, the test was removed, and we
8264 # assume the GNU/Linux dynamic linker is in use.
8265 dynamic_linker='GNU/Linux ld.so'
8272 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8273 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8274 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8275 dynamic_linker='NetBSD (a.out) ld.so'
8277 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8278 soname_spec='${libname}${release}${shared_ext}$major'
8279 dynamic_linker='NetBSD ld.elf_so'
8281 shlibpath_var=LD_LIBRARY_PATH
8282 shlibpath_overrides_runpath=yes
8283 hardcode_into_libs=yes
8288 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8289 shlibpath_var=LD_LIBRARY_PATH
8290 shlibpath_overrides_runpath=yes
8297 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8298 soname_spec='${libname}${release}${shared_ext}$major'
8299 shlibpath_var=LD_LIBRARY_PATH
8300 shlibpath_overrides_runpath=no
8301 hardcode_into_libs=yes
8302 dynamic_linker='ldqnx.so'
8307 sys_lib_dlsearch_path_spec="/usr/lib"
8309 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
8311 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
8312 *) need_version=no ;;
8314 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8315 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8316 shlibpath_var=LD_LIBRARY_PATH
8317 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8319 openbsd2.[89] | openbsd2.[89].*)
8320 shlibpath_overrides_runpath=no
8323 shlibpath_overrides_runpath=yes
8327 shlibpath_overrides_runpath=yes
8332 libname_spec='$name'
8335 library_names_spec='$libname${shared_ext} $libname.a'
8336 dynamic_linker='OS/2 ld.exe'
8337 shlibpath_var=LIBPATH
8340 osf3* | osf4* | osf5*)
8344 soname_spec='${libname}${release}${shared_ext}$major'
8345 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8346 shlibpath_var=LD_LIBRARY_PATH
8347 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
8348 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
8359 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8360 soname_spec='${libname}${release}${shared_ext}$major'
8361 shlibpath_var=LD_LIBRARY_PATH
8362 shlibpath_overrides_runpath=yes
8363 hardcode_into_libs=yes
8364 # ldd complains unless libraries are executable
8365 postinstall_cmds='chmod +x $lib'
8370 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8371 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
8372 shlibpath_var=LD_LIBRARY_PATH
8373 shlibpath_overrides_runpath=yes
8374 if test "$with_gnu_ld" = yes; then
8382 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8383 soname_spec='${libname}${release}${shared_ext}$major'
8384 shlibpath_var=LD_LIBRARY_PATH
8385 case $host_vendor in
8387 shlibpath_overrides_runpath=no
8389 runpath_var=LD_RUN_PATH
8397 shlibpath_overrides_runpath=no
8398 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
8404 if test -d /usr/nec ;then
8406 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
8407 soname_spec='$libname${shared_ext}.$major'
8408 shlibpath_var=LD_LIBRARY_PATH
8412 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
8413 version_type=freebsd-elf
8416 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8417 soname_spec='${libname}${release}${shared_ext}$major'
8418 shlibpath_var=LD_LIBRARY_PATH
8419 shlibpath_overrides_runpath=yes
8420 hardcode_into_libs=yes
8421 if test "$with_gnu_ld" = yes; then
8422 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
8424 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
8427 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
8431 sys_lib_dlsearch_path_spec='/usr/lib'
8435 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
8439 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8440 shlibpath_var=LD_LIBRARY_PATH
8441 shlibpath_overrides_runpath=no
8442 hardcode_into_libs=yes
8447 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8448 soname_spec='${libname}${release}${shared_ext}$major'
8449 shlibpath_var=LD_LIBRARY_PATH
8456 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8457 echo "${ECHO_T}$dynamic_linker" >&6
8458 test "$dynamic_linker" = no && can_build_shared=no
8460 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
8461 if test "$GCC" = yes; then
8462 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
8551 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
8552 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
8554 if test -n "$hardcode_libdir_flag_spec" ||
8555 test -n "$runpath_var" ||
8556 test "X$hardcode_automatic" = "Xyes" ; then
8558 # We can hardcode non-existent directories.
8559 if test "$hardcode_direct" != no &&
8560 # If the only mechanism to avoid hardcoding is shlibpath_var, we
8561 # have to relink, otherwise we might link with an installed library
8562 # when we should be linking with a yet-to-be-installed one
8563 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
8564 test "$hardcode_minus_L" != no; then
8565 # Linking always hardcodes the temporary library directory.
8566 hardcode_action=relink
8568 # We can link without hardcoding, and we can hardcode nonexisting dirs.
8569 hardcode_action=immediate
8572 # We cannot hardcode anything, or else we can only hardcode existing
8574 hardcode_action=unsupported
8576 echo "$as_me:$LINENO: result: $hardcode_action" >&5
8577 echo "${ECHO_T}$hardcode_action" >&6
8579 if test "$hardcode_action" = relink ||
8580 test "$inherit_rpath" = yes; then
8581 # Fast installation is not supported
8582 enable_fast_install=no
8583 elif test "$shlibpath_overrides_runpath" = yes ||
8584 test "$enable_shared" = no; then
8585 # Fast installation is not necessary
8586 enable_fast_install=needless
8594 if test "x$enable_dlopen" != xyes; then
8595 enable_dlopen=unknown
8596 enable_dlopen_self=unknown
8597 enable_dlopen_self_static=unknown
8604 lt_cv_dlopen="load_add_on"
8606 lt_cv_dlopen_self=yes
8610 lt_cv_dlopen="LoadLibrary"
8615 lt_cv_dlopen="dlopen"
8620 # if libdl is installed we need to link against it
8621 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8622 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8623 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8624 echo $ECHO_N "(cached) $ECHO_C" >&6
8626 ac_check_lib_save_LIBS=$LIBS
8628 cat >conftest.$ac_ext <<_ACEOF
8631 cat confdefs.h >>conftest.$ac_ext
8632 cat >>conftest.$ac_ext <<_ACEOF
8633 /* end confdefs.h. */
8635 /* Override any gcc2 internal prototype to avoid an error. */
8639 /* We use char because int might match the return type of a gcc2
8640 builtin and then its argument prototype would still apply. */
8650 rm -f conftest.$ac_objext conftest$ac_exeext
8651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8652 (eval $ac_link) 2>conftest.er1
8654 grep -v '^ *+' conftest.er1 >conftest.err
8656 cat conftest.err >&5
8657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8658 (exit $ac_status); } &&
8659 { ac_try='test -z "$ac_c_werror_flag"
8660 || test ! -s conftest.err'
8661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8665 (exit $ac_status); }; } &&
8666 { ac_try='test -s conftest$ac_exeext'
8667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8671 (exit $ac_status); }; }; then
8672 ac_cv_lib_dl_dlopen=yes
8674 echo "$as_me: failed program was:" >&5
8675 sed 's/^/| /' conftest.$ac_ext >&5
8677 ac_cv_lib_dl_dlopen=no
8679 rm -f conftest.err conftest.$ac_objext \
8680 conftest$ac_exeext conftest.$ac_ext
8681 LIBS=$ac_check_lib_save_LIBS
8683 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8684 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8685 if test $ac_cv_lib_dl_dlopen = yes; then
8686 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8691 lt_cv_dlopen_self=yes
8698 echo "$as_me:$LINENO: checking for shl_load" >&5
8699 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
8700 if test "${ac_cv_func_shl_load+set}" = set; then
8701 echo $ECHO_N "(cached) $ECHO_C" >&6
8703 cat >conftest.$ac_ext <<_ACEOF
8706 cat confdefs.h >>conftest.$ac_ext
8707 cat >>conftest.$ac_ext <<_ACEOF
8708 /* end confdefs.h. */
8709 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
8710 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8711 #define shl_load innocuous_shl_load
8713 /* System header to define __stub macros and hopefully few prototypes,
8714 which can conflict with char shl_load (); below.
8715 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8716 <limits.h> exists even on freestanding compilers. */
8719 # include <limits.h>
8721 # include <assert.h>
8726 /* Override any gcc2 internal prototype to avoid an error. */
8731 /* We use char because int might match the return type of a gcc2
8732 builtin and then its argument prototype would still apply. */
8734 /* The GNU C library defines this for functions which it implements
8735 to always fail with ENOSYS. Some functions are actually named
8736 something starting with __ and the normal name is an alias. */
8737 #if defined (__stub_shl_load) || defined (__stub___shl_load)
8740 char (*f) () = shl_load;
8749 return f != shl_load;
8754 rm -f conftest.$ac_objext conftest$ac_exeext
8755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8756 (eval $ac_link) 2>conftest.er1
8758 grep -v '^ *+' conftest.er1 >conftest.err
8760 cat conftest.err >&5
8761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8762 (exit $ac_status); } &&
8763 { ac_try='test -z "$ac_c_werror_flag"
8764 || test ! -s conftest.err'
8765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8769 (exit $ac_status); }; } &&
8770 { ac_try='test -s conftest$ac_exeext'
8771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8775 (exit $ac_status); }; }; then
8776 ac_cv_func_shl_load=yes
8778 echo "$as_me: failed program was:" >&5
8779 sed 's/^/| /' conftest.$ac_ext >&5
8781 ac_cv_func_shl_load=no
8783 rm -f conftest.err conftest.$ac_objext \
8784 conftest$ac_exeext conftest.$ac_ext
8786 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8787 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
8788 if test $ac_cv_func_shl_load = yes; then
8789 lt_cv_dlopen="shl_load"
8791 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8792 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
8793 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8794 echo $ECHO_N "(cached) $ECHO_C" >&6
8796 ac_check_lib_save_LIBS=$LIBS
8798 cat >conftest.$ac_ext <<_ACEOF
8801 cat confdefs.h >>conftest.$ac_ext
8802 cat >>conftest.$ac_ext <<_ACEOF
8803 /* end confdefs.h. */
8805 /* Override any gcc2 internal prototype to avoid an error. */
8809 /* We use char because int might match the return type of a gcc2
8810 builtin and then its argument prototype would still apply. */
8820 rm -f conftest.$ac_objext conftest$ac_exeext
8821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8822 (eval $ac_link) 2>conftest.er1
8824 grep -v '^ *+' conftest.er1 >conftest.err
8826 cat conftest.err >&5
8827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8828 (exit $ac_status); } &&
8829 { ac_try='test -z "$ac_c_werror_flag"
8830 || test ! -s conftest.err'
8831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8835 (exit $ac_status); }; } &&
8836 { ac_try='test -s conftest$ac_exeext'
8837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8841 (exit $ac_status); }; }; then
8842 ac_cv_lib_dld_shl_load=yes
8844 echo "$as_me: failed program was:" >&5
8845 sed 's/^/| /' conftest.$ac_ext >&5
8847 ac_cv_lib_dld_shl_load=no
8849 rm -f conftest.err conftest.$ac_objext \
8850 conftest$ac_exeext conftest.$ac_ext
8851 LIBS=$ac_check_lib_save_LIBS
8853 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8854 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
8855 if test $ac_cv_lib_dld_shl_load = yes; then
8856 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
8858 echo "$as_me:$LINENO: checking for dlopen" >&5
8859 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
8860 if test "${ac_cv_func_dlopen+set}" = set; then
8861 echo $ECHO_N "(cached) $ECHO_C" >&6
8863 cat >conftest.$ac_ext <<_ACEOF
8866 cat confdefs.h >>conftest.$ac_ext
8867 cat >>conftest.$ac_ext <<_ACEOF
8868 /* end confdefs.h. */
8869 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
8870 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8871 #define dlopen innocuous_dlopen
8873 /* System header to define __stub macros and hopefully few prototypes,
8874 which can conflict with char dlopen (); below.
8875 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8876 <limits.h> exists even on freestanding compilers. */
8879 # include <limits.h>
8881 # include <assert.h>
8886 /* Override any gcc2 internal prototype to avoid an error. */
8891 /* We use char because int might match the return type of a gcc2
8892 builtin and then its argument prototype would still apply. */
8894 /* The GNU C library defines this for functions which it implements
8895 to always fail with ENOSYS. Some functions are actually named
8896 something starting with __ and the normal name is an alias. */
8897 #if defined (__stub_dlopen) || defined (__stub___dlopen)
8900 char (*f) () = dlopen;
8914 rm -f conftest.$ac_objext conftest$ac_exeext
8915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8916 (eval $ac_link) 2>conftest.er1
8918 grep -v '^ *+' conftest.er1 >conftest.err
8920 cat conftest.err >&5
8921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8922 (exit $ac_status); } &&
8923 { ac_try='test -z "$ac_c_werror_flag"
8924 || test ! -s conftest.err'
8925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8929 (exit $ac_status); }; } &&
8930 { ac_try='test -s conftest$ac_exeext'
8931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8935 (exit $ac_status); }; }; then
8936 ac_cv_func_dlopen=yes
8938 echo "$as_me: failed program was:" >&5
8939 sed 's/^/| /' conftest.$ac_ext >&5
8941 ac_cv_func_dlopen=no
8943 rm -f conftest.err conftest.$ac_objext \
8944 conftest$ac_exeext conftest.$ac_ext
8946 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8947 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
8948 if test $ac_cv_func_dlopen = yes; then
8949 lt_cv_dlopen="dlopen"
8951 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8952 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8953 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8954 echo $ECHO_N "(cached) $ECHO_C" >&6
8956 ac_check_lib_save_LIBS=$LIBS
8958 cat >conftest.$ac_ext <<_ACEOF
8961 cat confdefs.h >>conftest.$ac_ext
8962 cat >>conftest.$ac_ext <<_ACEOF
8963 /* end confdefs.h. */
8965 /* Override any gcc2 internal prototype to avoid an error. */
8969 /* We use char because int might match the return type of a gcc2
8970 builtin and then its argument prototype would still apply. */
8980 rm -f conftest.$ac_objext conftest$ac_exeext
8981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8982 (eval $ac_link) 2>conftest.er1
8984 grep -v '^ *+' conftest.er1 >conftest.err
8986 cat conftest.err >&5
8987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8988 (exit $ac_status); } &&
8989 { ac_try='test -z "$ac_c_werror_flag"
8990 || test ! -s conftest.err'
8991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8995 (exit $ac_status); }; } &&
8996 { ac_try='test -s conftest$ac_exeext'
8997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9001 (exit $ac_status); }; }; then
9002 ac_cv_lib_dl_dlopen=yes
9004 echo "$as_me: failed program was:" >&5
9005 sed 's/^/| /' conftest.$ac_ext >&5
9007 ac_cv_lib_dl_dlopen=no
9009 rm -f conftest.err conftest.$ac_objext \
9010 conftest$ac_exeext conftest.$ac_ext
9011 LIBS=$ac_check_lib_save_LIBS
9013 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9014 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9015 if test $ac_cv_lib_dl_dlopen = yes; then
9016 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9018 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9019 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
9020 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9021 echo $ECHO_N "(cached) $ECHO_C" >&6
9023 ac_check_lib_save_LIBS=$LIBS
9025 cat >conftest.$ac_ext <<_ACEOF
9028 cat confdefs.h >>conftest.$ac_ext
9029 cat >>conftest.$ac_ext <<_ACEOF
9030 /* end confdefs.h. */
9032 /* Override any gcc2 internal prototype to avoid an error. */
9036 /* We use char because int might match the return type of a gcc2
9037 builtin and then its argument prototype would still apply. */
9047 rm -f conftest.$ac_objext conftest$ac_exeext
9048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9049 (eval $ac_link) 2>conftest.er1
9051 grep -v '^ *+' conftest.er1 >conftest.err
9053 cat conftest.err >&5
9054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9055 (exit $ac_status); } &&
9056 { ac_try='test -z "$ac_c_werror_flag"
9057 || test ! -s conftest.err'
9058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9062 (exit $ac_status); }; } &&
9063 { ac_try='test -s conftest$ac_exeext'
9064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9068 (exit $ac_status); }; }; then
9069 ac_cv_lib_svld_dlopen=yes
9071 echo "$as_me: failed program was:" >&5
9072 sed 's/^/| /' conftest.$ac_ext >&5
9074 ac_cv_lib_svld_dlopen=no
9076 rm -f conftest.err conftest.$ac_objext \
9077 conftest$ac_exeext conftest.$ac_ext
9078 LIBS=$ac_check_lib_save_LIBS
9080 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9081 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
9082 if test $ac_cv_lib_svld_dlopen = yes; then
9083 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
9085 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9086 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
9087 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9088 echo $ECHO_N "(cached) $ECHO_C" >&6
9090 ac_check_lib_save_LIBS=$LIBS
9092 cat >conftest.$ac_ext <<_ACEOF
9095 cat confdefs.h >>conftest.$ac_ext
9096 cat >>conftest.$ac_ext <<_ACEOF
9097 /* end confdefs.h. */
9099 /* Override any gcc2 internal prototype to avoid an error. */
9103 /* We use char because int might match the return type of a gcc2
9104 builtin and then its argument prototype would still apply. */
9114 rm -f conftest.$ac_objext conftest$ac_exeext
9115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9116 (eval $ac_link) 2>conftest.er1
9118 grep -v '^ *+' conftest.er1 >conftest.err
9120 cat conftest.err >&5
9121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9122 (exit $ac_status); } &&
9123 { ac_try='test -z "$ac_c_werror_flag"
9124 || test ! -s conftest.err'
9125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9129 (exit $ac_status); }; } &&
9130 { ac_try='test -s conftest$ac_exeext'
9131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9135 (exit $ac_status); }; }; then
9136 ac_cv_lib_dld_dld_link=yes
9138 echo "$as_me: failed program was:" >&5
9139 sed 's/^/| /' conftest.$ac_ext >&5
9141 ac_cv_lib_dld_dld_link=no
9143 rm -f conftest.err conftest.$ac_objext \
9144 conftest$ac_exeext conftest.$ac_ext
9145 LIBS=$ac_check_lib_save_LIBS
9147 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9148 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
9149 if test $ac_cv_lib_dld_dld_link = yes; then
9150 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
9171 if test "x$lt_cv_dlopen" != xno; then
9177 case $lt_cv_dlopen in
9179 save_CPPFLAGS="$CPPFLAGS"
9180 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
9182 save_LDFLAGS="$LDFLAGS"
9183 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
9186 LIBS="$lt_cv_dlopen_libs $LIBS"
9188 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9189 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
9190 if test "${lt_cv_dlopen_self+set}" = set; then
9191 echo $ECHO_N "(cached) $ECHO_C" >&6
9193 if test "$cross_compiling" = yes; then :
9194 lt_cv_dlopen_self=cross
9196 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9197 lt_status=$lt_dlunknown
9198 cat > conftest.$ac_ext <<_LT_EOF
9199 #line 9199 "configure"
9200 #include "confdefs.h"
9209 # define LT_DLGLOBAL RTLD_GLOBAL
9212 # define LT_DLGLOBAL DL_GLOBAL
9214 # define LT_DLGLOBAL 0
9218 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9219 find out it does not work in some platform. */
9220 #ifndef LT_DLLAZY_OR_NOW
9222 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9225 # define LT_DLLAZY_OR_NOW DL_LAZY
9228 # define LT_DLLAZY_OR_NOW RTLD_NOW
9231 # define LT_DLLAZY_OR_NOW DL_NOW
9233 # define LT_DLLAZY_OR_NOW 0
9241 extern "C" void exit (int);
9244 void fnord() { int i=42;}
9247 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9248 int status = $lt_dlunknown;
9252 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9253 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9254 /* dlclose (self); */
9262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9263 (eval $ac_link) 2>&5
9265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9266 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9267 (./conftest; exit; ) >&5 2>/dev/null
9270 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
9271 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
9272 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
9275 # compilation failed
9276 lt_cv_dlopen_self=no
9283 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9284 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
9286 if test "x$lt_cv_dlopen_self" = xyes; then
9287 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
9288 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9289 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
9290 if test "${lt_cv_dlopen_self_static+set}" = set; then
9291 echo $ECHO_N "(cached) $ECHO_C" >&6
9293 if test "$cross_compiling" = yes; then :
9294 lt_cv_dlopen_self_static=cross
9296 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9297 lt_status=$lt_dlunknown
9298 cat > conftest.$ac_ext <<_LT_EOF
9299 #line 9299 "configure"
9300 #include "confdefs.h"
9309 # define LT_DLGLOBAL RTLD_GLOBAL
9312 # define LT_DLGLOBAL DL_GLOBAL
9314 # define LT_DLGLOBAL 0
9318 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9319 find out it does not work in some platform. */
9320 #ifndef LT_DLLAZY_OR_NOW
9322 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9325 # define LT_DLLAZY_OR_NOW DL_LAZY
9328 # define LT_DLLAZY_OR_NOW RTLD_NOW
9331 # define LT_DLLAZY_OR_NOW DL_NOW
9333 # define LT_DLLAZY_OR_NOW 0
9341 extern "C" void exit (int);
9344 void fnord() { int i=42;}
9347 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9348 int status = $lt_dlunknown;
9352 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9353 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9354 /* dlclose (self); */
9362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9363 (eval $ac_link) 2>&5
9365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9366 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9367 (./conftest; exit; ) >&5 2>/dev/null
9370 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
9371 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
9372 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
9375 # compilation failed
9376 lt_cv_dlopen_self_static=no
9383 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
9384 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
9387 CPPFLAGS="$save_CPPFLAGS"
9388 LDFLAGS="$save_LDFLAGS"
9393 case $lt_cv_dlopen_self in
9394 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
9395 *) enable_dlopen_self=unknown ;;
9398 case $lt_cv_dlopen_self_static in
9399 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
9400 *) enable_dlopen_self_static=unknown ;;
9422 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9423 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
9424 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
9425 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
9426 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
9427 echo "$as_me:$LINENO: result: yes" >&5
9428 echo "${ECHO_T}yes" >&6
9430 # FIXME - insert some real tests, host_os isn't really good enough
9433 if test -n "$STRIP" ; then
9434 striplib="$STRIP -x"
9435 old_striplib="$STRIP -S"
9436 echo "$as_me:$LINENO: result: yes" >&5
9437 echo "${ECHO_T}yes" >&6
9439 echo "$as_me:$LINENO: result: no" >&5
9440 echo "${ECHO_T}no" >&6
9444 echo "$as_me:$LINENO: result: no" >&5
9445 echo "${ECHO_T}no" >&6
9461 # Report which library types will actually be built
9462 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9463 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
9464 echo "$as_me:$LINENO: result: $can_build_shared" >&5
9465 echo "${ECHO_T}$can_build_shared" >&6
9467 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
9468 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
9469 test "$can_build_shared" = "no" && enable_shared=no
9471 # On AIX, shared libraries and static libraries use the same namespace, and
9472 # are all built from PIC.
9475 test "$enable_shared" = yes && enable_static=no
9476 if test -n "$RANLIB"; then
9477 archive_cmds="$archive_cmds~\$RANLIB \$lib"
9478 postinstall_cmds='$RANLIB $lib'
9483 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
9484 test "$enable_shared" = yes && enable_static=no
9488 echo "$as_me:$LINENO: result: $enable_shared" >&5
9489 echo "${ECHO_T}$enable_shared" >&6
9491 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
9492 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
9493 # Make sure either enable_shared or enable_static is yes.
9494 test "$enable_shared" = yes || enable_static=yes
9495 echo "$as_me:$LINENO: result: $enable_static" >&5
9496 echo "${ECHO_T}$enable_static" >&6
9503 ac_cpp='$CPP $CPPFLAGS'
9504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9522 ac_config_commands="$ac_config_commands libtool"
9531 ac_config_headers="$ac_config_headers gconfig.h:gconfig.in"
9535 ac_cpp='$CPP $CPPFLAGS'
9536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9539 if test -n "$ac_tool_prefix"; then
9540 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
9541 set dummy ${ac_tool_prefix}gcc; ac_word=$2
9542 echo "$as_me:$LINENO: checking for $ac_word" >&5
9543 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9544 if test "${ac_cv_prog_CC+set}" = set; then
9545 echo $ECHO_N "(cached) $ECHO_C" >&6
9547 if test -n "$CC"; then
9548 ac_cv_prog_CC="$CC" # Let the user override the test.
9550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9554 test -z "$as_dir" && as_dir=.
9555 for ac_exec_ext in '' $ac_executable_extensions; do
9556 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9557 ac_cv_prog_CC="${ac_tool_prefix}gcc"
9558 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9567 if test -n "$CC"; then
9568 echo "$as_me:$LINENO: result: $CC" >&5
9569 echo "${ECHO_T}$CC" >&6
9571 echo "$as_me:$LINENO: result: no" >&5
9572 echo "${ECHO_T}no" >&6
9576 if test -z "$ac_cv_prog_CC"; then
9578 # Extract the first word of "gcc", so it can be a program name with args.
9579 set dummy gcc; ac_word=$2
9580 echo "$as_me:$LINENO: checking for $ac_word" >&5
9581 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9582 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9583 echo $ECHO_N "(cached) $ECHO_C" >&6
9585 if test -n "$ac_ct_CC"; then
9586 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9592 test -z "$as_dir" && as_dir=.
9593 for ac_exec_ext in '' $ac_executable_extensions; do
9594 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9595 ac_cv_prog_ac_ct_CC="gcc"
9596 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9604 ac_ct_CC=$ac_cv_prog_ac_ct_CC
9605 if test -n "$ac_ct_CC"; then
9606 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9607 echo "${ECHO_T}$ac_ct_CC" >&6
9609 echo "$as_me:$LINENO: result: no" >&5
9610 echo "${ECHO_T}no" >&6
9618 if test -z "$CC"; then
9619 if test -n "$ac_tool_prefix"; then
9620 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
9621 set dummy ${ac_tool_prefix}cc; ac_word=$2
9622 echo "$as_me:$LINENO: checking for $ac_word" >&5
9623 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9624 if test "${ac_cv_prog_CC+set}" = set; then
9625 echo $ECHO_N "(cached) $ECHO_C" >&6
9627 if test -n "$CC"; then
9628 ac_cv_prog_CC="$CC" # Let the user override the test.
9630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9634 test -z "$as_dir" && as_dir=.
9635 for ac_exec_ext in '' $ac_executable_extensions; do
9636 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9637 ac_cv_prog_CC="${ac_tool_prefix}cc"
9638 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9647 if test -n "$CC"; then
9648 echo "$as_me:$LINENO: result: $CC" >&5
9649 echo "${ECHO_T}$CC" >&6
9651 echo "$as_me:$LINENO: result: no" >&5
9652 echo "${ECHO_T}no" >&6
9656 if test -z "$ac_cv_prog_CC"; then
9658 # Extract the first word of "cc", so it can be a program name with args.
9659 set dummy cc; ac_word=$2
9660 echo "$as_me:$LINENO: checking for $ac_word" >&5
9661 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9662 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9663 echo $ECHO_N "(cached) $ECHO_C" >&6
9665 if test -n "$ac_ct_CC"; then
9666 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9672 test -z "$as_dir" && as_dir=.
9673 for ac_exec_ext in '' $ac_executable_extensions; do
9674 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9675 ac_cv_prog_ac_ct_CC="cc"
9676 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9684 ac_ct_CC=$ac_cv_prog_ac_ct_CC
9685 if test -n "$ac_ct_CC"; then
9686 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9687 echo "${ECHO_T}$ac_ct_CC" >&6
9689 echo "$as_me:$LINENO: result: no" >&5
9690 echo "${ECHO_T}no" >&6
9699 if test -z "$CC"; then
9700 # Extract the first word of "cc", so it can be a program name with args.
9701 set dummy cc; ac_word=$2
9702 echo "$as_me:$LINENO: checking for $ac_word" >&5
9703 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9704 if test "${ac_cv_prog_CC+set}" = set; then
9705 echo $ECHO_N "(cached) $ECHO_C" >&6
9707 if test -n "$CC"; then
9708 ac_cv_prog_CC="$CC" # Let the user override the test.
9711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9715 test -z "$as_dir" && as_dir=.
9716 for ac_exec_ext in '' $ac_executable_extensions; do
9717 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9718 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
9719 ac_prog_rejected=yes
9723 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9729 if test $ac_prog_rejected = yes; then
9730 # We found a bogon in the path, so make sure we never use it.
9731 set dummy $ac_cv_prog_CC
9733 if test $# != 0; then
9734 # We chose a different compiler from the bogus one.
9735 # However, it has the same basename, so the bogon will be chosen
9736 # first if we set CC to just the basename; use the full file name.
9738 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
9744 if test -n "$CC"; then
9745 echo "$as_me:$LINENO: result: $CC" >&5
9746 echo "${ECHO_T}$CC" >&6
9748 echo "$as_me:$LINENO: result: no" >&5
9749 echo "${ECHO_T}no" >&6
9753 if test -z "$CC"; then
9754 if test -n "$ac_tool_prefix"; then
9757 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9758 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9759 echo "$as_me:$LINENO: checking for $ac_word" >&5
9760 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9761 if test "${ac_cv_prog_CC+set}" = set; then
9762 echo $ECHO_N "(cached) $ECHO_C" >&6
9764 if test -n "$CC"; then
9765 ac_cv_prog_CC="$CC" # Let the user override the test.
9767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9771 test -z "$as_dir" && as_dir=.
9772 for ac_exec_ext in '' $ac_executable_extensions; do
9773 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9774 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
9775 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9784 if test -n "$CC"; then
9785 echo "$as_me:$LINENO: result: $CC" >&5
9786 echo "${ECHO_T}$CC" >&6
9788 echo "$as_me:$LINENO: result: no" >&5
9789 echo "${ECHO_T}no" >&6
9792 test -n "$CC" && break
9795 if test -z "$CC"; then
9799 # Extract the first word of "$ac_prog", so it can be a program name with args.
9800 set dummy $ac_prog; ac_word=$2
9801 echo "$as_me:$LINENO: checking for $ac_word" >&5
9802 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9803 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9804 echo $ECHO_N "(cached) $ECHO_C" >&6
9806 if test -n "$ac_ct_CC"; then
9807 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9813 test -z "$as_dir" && as_dir=.
9814 for ac_exec_ext in '' $ac_executable_extensions; do
9815 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9816 ac_cv_prog_ac_ct_CC="$ac_prog"
9817 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9825 ac_ct_CC=$ac_cv_prog_ac_ct_CC
9826 if test -n "$ac_ct_CC"; then
9827 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9828 echo "${ECHO_T}$ac_ct_CC" >&6
9830 echo "$as_me:$LINENO: result: no" >&5
9831 echo "${ECHO_T}no" >&6
9834 test -n "$ac_ct_CC" && break
9843 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
9844 See \`config.log' for more details." >&5
9845 echo "$as_me: error: no acceptable C compiler found in \$PATH
9846 See \`config.log' for more details." >&2;}
9847 { (exit 1); exit 1; }; }
9849 # Provide some information about the compiler.
9850 echo "$as_me:$LINENO:" \
9851 "checking for C compiler version" >&5
9852 ac_compiler=`set X $ac_compile; echo $2`
9853 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
9854 (eval $ac_compiler --version </dev/null >&5) 2>&5
9856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9857 (exit $ac_status); }
9858 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
9859 (eval $ac_compiler -v </dev/null >&5) 2>&5
9861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9862 (exit $ac_status); }
9863 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
9864 (eval $ac_compiler -V </dev/null >&5) 2>&5
9866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9867 (exit $ac_status); }
9869 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
9870 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
9871 if test "${ac_cv_c_compiler_gnu+set}" = set; then
9872 echo $ECHO_N "(cached) $ECHO_C" >&6
9874 cat >conftest.$ac_ext <<_ACEOF
9877 cat confdefs.h >>conftest.$ac_ext
9878 cat >>conftest.$ac_ext <<_ACEOF
9879 /* end confdefs.h. */
9892 rm -f conftest.$ac_objext
9893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9894 (eval $ac_compile) 2>conftest.er1
9896 grep -v '^ *+' conftest.er1 >conftest.err
9898 cat conftest.err >&5
9899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9900 (exit $ac_status); } &&
9901 { ac_try='test -z "$ac_c_werror_flag"
9902 || test ! -s conftest.err'
9903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9907 (exit $ac_status); }; } &&
9908 { ac_try='test -s conftest.$ac_objext'
9909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9913 (exit $ac_status); }; }; then
9916 echo "$as_me: failed program was:" >&5
9917 sed 's/^/| /' conftest.$ac_ext >&5
9921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9922 ac_cv_c_compiler_gnu=$ac_compiler_gnu
9925 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
9926 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
9927 GCC=`test $ac_compiler_gnu = yes && echo yes`
9928 ac_test_CFLAGS=${CFLAGS+set}
9929 ac_save_CFLAGS=$CFLAGS
9931 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
9932 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
9933 if test "${ac_cv_prog_cc_g+set}" = set; then
9934 echo $ECHO_N "(cached) $ECHO_C" >&6
9936 cat >conftest.$ac_ext <<_ACEOF
9939 cat confdefs.h >>conftest.$ac_ext
9940 cat >>conftest.$ac_ext <<_ACEOF
9941 /* end confdefs.h. */
9951 rm -f conftest.$ac_objext
9952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9953 (eval $ac_compile) 2>conftest.er1
9955 grep -v '^ *+' conftest.er1 >conftest.err
9957 cat conftest.err >&5
9958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9959 (exit $ac_status); } &&
9960 { ac_try='test -z "$ac_c_werror_flag"
9961 || test ! -s conftest.err'
9962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9966 (exit $ac_status); }; } &&
9967 { ac_try='test -s conftest.$ac_objext'
9968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9972 (exit $ac_status); }; }; then
9975 echo "$as_me: failed program was:" >&5
9976 sed 's/^/| /' conftest.$ac_ext >&5
9980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9982 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
9983 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
9984 if test "$ac_test_CFLAGS" = set; then
9985 CFLAGS=$ac_save_CFLAGS
9986 elif test $ac_cv_prog_cc_g = yes; then
9987 if test "$GCC" = yes; then
9993 if test "$GCC" = yes; then
9999 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10000 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10001 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10002 echo $ECHO_N "(cached) $ECHO_C" >&6
10004 ac_cv_prog_cc_stdc=no
10006 cat >conftest.$ac_ext <<_ACEOF
10009 cat confdefs.h >>conftest.$ac_ext
10010 cat >>conftest.$ac_ext <<_ACEOF
10011 /* end confdefs.h. */
10012 #include <stdarg.h>
10014 #include <sys/types.h>
10015 #include <sys/stat.h>
10016 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10017 struct buf { int x; };
10018 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10019 static char *e (p, i)
10025 static char *f (char * (*g) (char **, int), char **p, ...)
10030 s = g (p, va_arg (v,int));
10035 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
10036 function prototypes and stuff, but not '\xHH' hex character constants.
10037 These don't provoke an error unfortunately, instead are silently treated
10038 as 'x'. The following induces an error, until -std1 is added to get
10039 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
10040 array size at least. It's necessary to write '\x00'==0 to get something
10041 that's true only with -std1. */
10042 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
10044 int test (int i, double x);
10045 struct s1 {int (*f) (int a);};
10046 struct s2 {int (*f) (double a);};
10047 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10053 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10058 # Don't try gcc -ansi; that turns off useful extensions and
10059 # breaks some systems' header files.
10060 # AIX -qlanglvl=ansi
10061 # Ultrix and OSF/1 -std1
10062 # HP-UX 10.20 and later -Ae
10063 # HP-UX older versions -Aa -D_HPUX_SOURCE
10064 # SVR4 -Xc -D__EXTENSIONS__
10065 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10067 CC="$ac_save_CC $ac_arg"
10068 rm -f conftest.$ac_objext
10069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10070 (eval $ac_compile) 2>conftest.er1
10072 grep -v '^ *+' conftest.er1 >conftest.err
10074 cat conftest.err >&5
10075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10076 (exit $ac_status); } &&
10077 { ac_try='test -z "$ac_c_werror_flag"
10078 || test ! -s conftest.err'
10079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10080 (eval $ac_try) 2>&5
10082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10083 (exit $ac_status); }; } &&
10084 { ac_try='test -s conftest.$ac_objext'
10085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10086 (eval $ac_try) 2>&5
10088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10089 (exit $ac_status); }; }; then
10090 ac_cv_prog_cc_stdc=$ac_arg
10093 echo "$as_me: failed program was:" >&5
10094 sed 's/^/| /' conftest.$ac_ext >&5
10097 rm -f conftest.err conftest.$ac_objext
10099 rm -f conftest.$ac_ext conftest.$ac_objext
10104 case "x$ac_cv_prog_cc_stdc" in
10106 echo "$as_me:$LINENO: result: none needed" >&5
10107 echo "${ECHO_T}none needed" >&6 ;;
10109 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10110 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10111 CC="$CC $ac_cv_prog_cc_stdc" ;;
10114 # Some people use a C++ compiler to compile C. Since we use `exit',
10115 # in C++ we need to declare it. In case someone uses the same compiler
10116 # for both compiling C and C++ we need to have the C++ compiler decide
10117 # the declaration of exit, since it's the most demanding environment.
10118 cat >conftest.$ac_ext <<_ACEOF
10119 #ifndef __cplusplus
10123 rm -f conftest.$ac_objext
10124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10125 (eval $ac_compile) 2>conftest.er1
10127 grep -v '^ *+' conftest.er1 >conftest.err
10129 cat conftest.err >&5
10130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10131 (exit $ac_status); } &&
10132 { ac_try='test -z "$ac_c_werror_flag"
10133 || test ! -s conftest.err'
10134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10135 (eval $ac_try) 2>&5
10137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10138 (exit $ac_status); }; } &&
10139 { ac_try='test -s conftest.$ac_objext'
10140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10141 (eval $ac_try) 2>&5
10143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10144 (exit $ac_status); }; }; then
10145 for ac_declaration in \
10147 'extern "C" void std::exit (int) throw (); using std::exit;' \
10148 'extern "C" void std::exit (int); using std::exit;' \
10149 'extern "C" void exit (int) throw ();' \
10150 'extern "C" void exit (int);' \
10153 cat >conftest.$ac_ext <<_ACEOF
10156 cat confdefs.h >>conftest.$ac_ext
10157 cat >>conftest.$ac_ext <<_ACEOF
10158 /* end confdefs.h. */
10160 #include <stdlib.h>
10169 rm -f conftest.$ac_objext
10170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10171 (eval $ac_compile) 2>conftest.er1
10173 grep -v '^ *+' conftest.er1 >conftest.err
10175 cat conftest.err >&5
10176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10177 (exit $ac_status); } &&
10178 { ac_try='test -z "$ac_c_werror_flag"
10179 || test ! -s conftest.err'
10180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10181 (eval $ac_try) 2>&5
10183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10184 (exit $ac_status); }; } &&
10185 { ac_try='test -s conftest.$ac_objext'
10186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10187 (eval $ac_try) 2>&5
10189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10190 (exit $ac_status); }; }; then
10193 echo "$as_me: failed program was:" >&5
10194 sed 's/^/| /' conftest.$ac_ext >&5
10198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10199 cat >conftest.$ac_ext <<_ACEOF
10202 cat confdefs.h >>conftest.$ac_ext
10203 cat >>conftest.$ac_ext <<_ACEOF
10204 /* end confdefs.h. */
10214 rm -f conftest.$ac_objext
10215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10216 (eval $ac_compile) 2>conftest.er1
10218 grep -v '^ *+' conftest.er1 >conftest.err
10220 cat conftest.err >&5
10221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10222 (exit $ac_status); } &&
10223 { ac_try='test -z "$ac_c_werror_flag"
10224 || test ! -s conftest.err'
10225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10226 (eval $ac_try) 2>&5
10228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10229 (exit $ac_status); }; } &&
10230 { ac_try='test -s conftest.$ac_objext'
10231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10232 (eval $ac_try) 2>&5
10234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10235 (exit $ac_status); }; }; then
10238 echo "$as_me: failed program was:" >&5
10239 sed 's/^/| /' conftest.$ac_ext >&5
10242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10245 if test -n "$ac_declaration"; then
10246 echo '#ifdef __cplusplus' >>confdefs.h
10247 echo $ac_declaration >>confdefs.h
10248 echo '#endif' >>confdefs.h
10252 echo "$as_me: failed program was:" >&5
10253 sed 's/^/| /' conftest.$ac_ext >&5
10256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10258 ac_cpp='$CPP $CPPFLAGS'
10259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10264 cat >>confdefs.h <<\_ACEOF
10265 #define _GNU_SOURCE 1
10269 # Find a good install program. We prefer a C program (faster),
10270 # so one script is as good as another. But avoid the broken or
10271 # incompatible versions:
10272 # SysV /etc/install, /usr/sbin/install
10273 # SunOS /usr/etc/install
10274 # IRIX /sbin/install
10276 # AmigaOS /C/install, which installs bootblocks on floppy discs
10277 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
10278 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
10279 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
10280 # OS/2's system install, which has a completely different semantic
10281 # ./install, which can be erroneously created by make from ./install.sh.
10282 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
10283 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
10284 if test -z "$INSTALL"; then
10285 if test "${ac_cv_path_install+set}" = set; then
10286 echo $ECHO_N "(cached) $ECHO_C" >&6
10288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10289 for as_dir in $PATH
10292 test -z "$as_dir" && as_dir=.
10293 # Account for people who put trailing slashes in PATH elements.
10295 ./ | .// | /cC/* | \
10296 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
10297 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
10300 # OSF1 and SCO ODT 3.0 have their own names for install.
10301 # Don't use installbsd from OSF since it installs stuff as root
10303 for ac_prog in ginstall scoinst install; do
10304 for ac_exec_ext in '' $ac_executable_extensions; do
10305 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
10306 if test $ac_prog = install &&
10307 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
10308 # AIX install. It has an incompatible calling convention.
10310 elif test $ac_prog = install &&
10311 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
10312 # program-specific install script used by HP pwplus--don't use.
10315 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
10327 if test "${ac_cv_path_install+set}" = set; then
10328 INSTALL=$ac_cv_path_install
10330 # As a last resort, use the slow shell script. We don't cache a
10331 # path for INSTALL within a source directory, because that will
10332 # break other packages using the cache if that directory is
10333 # removed, or if the path is relative.
10334 INSTALL=$ac_install_sh
10337 echo "$as_me:$LINENO: result: $INSTALL" >&5
10338 echo "${ECHO_T}$INSTALL" >&6
10340 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
10341 # It thinks the first close brace ends the variable substitution.
10342 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
10344 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
10346 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
10350 for ac_func in setmode
10352 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10353 echo "$as_me:$LINENO: checking for $ac_func" >&5
10354 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10355 if eval "test \"\${$as_ac_var+set}\" = set"; then
10356 echo $ECHO_N "(cached) $ECHO_C" >&6
10358 cat >conftest.$ac_ext <<_ACEOF
10361 cat confdefs.h >>conftest.$ac_ext
10362 cat >>conftest.$ac_ext <<_ACEOF
10363 /* end confdefs.h. */
10364 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10365 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10366 #define $ac_func innocuous_$ac_func
10368 /* System header to define __stub macros and hopefully few prototypes,
10369 which can conflict with char $ac_func (); below.
10370 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10371 <limits.h> exists even on freestanding compilers. */
10374 # include <limits.h>
10376 # include <assert.h>
10381 /* Override any gcc2 internal prototype to avoid an error. */
10386 /* We use char because int might match the return type of a gcc2
10387 builtin and then its argument prototype would still apply. */
10389 /* The GNU C library defines this for functions which it implements
10390 to always fail with ENOSYS. Some functions are actually named
10391 something starting with __ and the normal name is an alias. */
10392 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10395 char (*f) () = $ac_func;
10404 return f != $ac_func;
10409 rm -f conftest.$ac_objext conftest$ac_exeext
10410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10411 (eval $ac_link) 2>conftest.er1
10413 grep -v '^ *+' conftest.er1 >conftest.err
10415 cat conftest.err >&5
10416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10417 (exit $ac_status); } &&
10418 { ac_try='test -z "$ac_c_werror_flag"
10419 || test ! -s conftest.err'
10420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10421 (eval $ac_try) 2>&5
10423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10424 (exit $ac_status); }; } &&
10425 { ac_try='test -s conftest$ac_exeext'
10426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10427 (eval $ac_try) 2>&5
10429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10430 (exit $ac_status); }; }; then
10431 eval "$as_ac_var=yes"
10433 echo "$as_me: failed program was:" >&5
10434 sed 's/^/| /' conftest.$ac_ext >&5
10436 eval "$as_ac_var=no"
10438 rm -f conftest.err conftest.$ac_objext \
10439 conftest$ac_exeext conftest.$ac_ext
10441 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10442 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10443 if test `eval echo '${'$as_ac_var'}'` = yes; then
10444 cat >>confdefs.h <<_ACEOF
10445 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10452 ALL_LINGUAS="fr tr sv es id da pt_BR de vi rw ga ms fi"
10453 # If we haven't got the data from the intl directory,
10454 # assume NLS is disabled.
10463 if test -f ../intl/config.intl; then
10464 . ../intl/config.intl
10466 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
10467 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
10468 if test x"$USE_NLS" != xyes; then
10469 echo "$as_me:$LINENO: result: no" >&5
10470 echo "${ECHO_T}no" >&6
10472 echo "$as_me:$LINENO: result: yes" >&5
10473 echo "${ECHO_T}yes" >&6
10475 cat >>confdefs.h <<\_ACEOF
10476 #define ENABLE_NLS 1
10480 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
10481 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
10482 # Look for .po and .gmo files in the source directory.
10485 for cat in $srcdir/po/*.gmo $srcdir/po/*.po; do
10486 # If there aren't any .gmo files the shell will give us the
10487 # literal string "../path/to/srcdir/po/*.gmo" which has to be
10489 case "$cat" in *\**)
10492 # The quadruple backslash is collapsed to a double backslash
10493 # by the backticks, then collapsed again by the double quotes,
10494 # leaving us with one backslash in the sed expression (right
10495 # before the dot that mustn't act as a wildcard).
10496 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
10497 lang=`echo $cat | sed -e "s!\\\\.gmo!!"`
10498 # The user is allowed to set LINGUAS to a list of languages to
10499 # install catalogs for. If it's empty that means "all of them."
10500 if test "x$LINGUAS" = x; then
10501 CATALOGS="$CATALOGS $cat"
10502 XLINGUAS="$XLINGUAS $lang"
10504 case "$LINGUAS" in *$lang*)
10505 CATALOGS="$CATALOGS $cat"
10506 XLINGUAS="$XLINGUAS $lang"
10511 LINGUAS="$XLINGUAS"
10512 echo "$as_me:$LINENO: result: $LINGUAS" >&5
10513 echo "${ECHO_T}$LINGUAS" >&6
10527 if test -n "$ac_aux_dir"; then
10528 case "$ac_aux_dir" in
10529 /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
10530 *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
10533 if test -z "$MKINSTALLDIRS"; then
10534 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
10539 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
10540 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
10541 # Check whether --enable-nls or --disable-nls was given.
10542 if test "${enable_nls+set}" = set; then
10543 enableval="$enable_nls"
10548 echo "$as_me:$LINENO: result: $USE_NLS" >&5
10549 echo "${ECHO_T}$USE_NLS" >&6
10556 # Prepare PATH_SEPARATOR.
10557 # The user is always right.
10558 if test "${PATH_SEPARATOR+set}" != set; then
10559 echo "#! /bin/sh" >conf$$.sh
10560 echo "exit 0" >>conf$$.sh
10562 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
10570 # Find out how to test for executable files. Don't use a zero-byte file,
10571 # as systems may use methods other than mode bits to determine executability.
10572 cat >conf$$.file <<_ASEOF
10576 chmod +x conf$$.file
10577 if test -x conf$$.file >/dev/null 2>&1; then
10578 ac_executable_p="test -x"
10580 ac_executable_p="test -f"
10584 # Extract the first word of "msgfmt", so it can be a program name with args.
10585 set dummy msgfmt; ac_word=$2
10586 echo "$as_me:$LINENO: checking for $ac_word" >&5
10587 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10588 if test "${ac_cv_path_MSGFMT+set}" = set; then
10589 echo $ECHO_N "(cached) $ECHO_C" >&6
10593 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
10596 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
10597 for ac_dir in $PATH; do
10599 test -z "$ac_dir" && ac_dir=.
10600 for ac_exec_ext in '' $ac_executable_extensions; do
10601 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
10602 if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
10603 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
10604 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
10611 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
10615 MSGFMT="$ac_cv_path_MSGFMT"
10616 if test "$MSGFMT" != ":"; then
10617 echo "$as_me:$LINENO: result: $MSGFMT" >&5
10618 echo "${ECHO_T}$MSGFMT" >&6
10620 echo "$as_me:$LINENO: result: no" >&5
10621 echo "${ECHO_T}no" >&6
10624 # Extract the first word of "gmsgfmt", so it can be a program name with args.
10625 set dummy gmsgfmt; ac_word=$2
10626 echo "$as_me:$LINENO: checking for $ac_word" >&5
10627 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10628 if test "${ac_cv_path_GMSGFMT+set}" = set; then
10629 echo $ECHO_N "(cached) $ECHO_C" >&6
10633 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
10636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10637 for as_dir in $PATH
10640 test -z "$as_dir" && as_dir=.
10641 for ac_exec_ext in '' $ac_executable_extensions; do
10642 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10643 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
10644 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10650 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
10654 GMSGFMT=$ac_cv_path_GMSGFMT
10656 if test -n "$GMSGFMT"; then
10657 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
10658 echo "${ECHO_T}$GMSGFMT" >&6
10660 echo "$as_me:$LINENO: result: no" >&5
10661 echo "${ECHO_T}no" >&6
10666 # Prepare PATH_SEPARATOR.
10667 # The user is always right.
10668 if test "${PATH_SEPARATOR+set}" != set; then
10669 echo "#! /bin/sh" >conf$$.sh
10670 echo "exit 0" >>conf$$.sh
10672 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
10680 # Find out how to test for executable files. Don't use a zero-byte file,
10681 # as systems may use methods other than mode bits to determine executability.
10682 cat >conf$$.file <<_ASEOF
10686 chmod +x conf$$.file
10687 if test -x conf$$.file >/dev/null 2>&1; then
10688 ac_executable_p="test -x"
10690 ac_executable_p="test -f"
10694 # Extract the first word of "xgettext", so it can be a program name with args.
10695 set dummy xgettext; ac_word=$2
10696 echo "$as_me:$LINENO: checking for $ac_word" >&5
10697 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10698 if test "${ac_cv_path_XGETTEXT+set}" = set; then
10699 echo $ECHO_N "(cached) $ECHO_C" >&6
10701 case "$XGETTEXT" in
10703 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
10706 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
10707 for ac_dir in $PATH; do
10709 test -z "$ac_dir" && ac_dir=.
10710 for ac_exec_ext in '' $ac_executable_extensions; do
10711 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
10712 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
10713 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
10714 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
10721 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
10725 XGETTEXT="$ac_cv_path_XGETTEXT"
10726 if test "$XGETTEXT" != ":"; then
10727 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
10728 echo "${ECHO_T}$XGETTEXT" >&6
10730 echo "$as_me:$LINENO: result: no" >&5
10731 echo "${ECHO_T}no" >&6
10737 # Prepare PATH_SEPARATOR.
10738 # The user is always right.
10739 if test "${PATH_SEPARATOR+set}" != set; then
10740 echo "#! /bin/sh" >conf$$.sh
10741 echo "exit 0" >>conf$$.sh
10743 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
10751 # Find out how to test for executable files. Don't use a zero-byte file,
10752 # as systems may use methods other than mode bits to determine executability.
10753 cat >conf$$.file <<_ASEOF
10757 chmod +x conf$$.file
10758 if test -x conf$$.file >/dev/null 2>&1; then
10759 ac_executable_p="test -x"
10761 ac_executable_p="test -f"
10765 # Extract the first word of "msgmerge", so it can be a program name with args.
10766 set dummy msgmerge; ac_word=$2
10767 echo "$as_me:$LINENO: checking for $ac_word" >&5
10768 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10769 if test "${ac_cv_path_MSGMERGE+set}" = set; then
10770 echo $ECHO_N "(cached) $ECHO_C" >&6
10772 case "$MSGMERGE" in
10774 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
10777 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
10778 for ac_dir in $PATH; do
10780 test -z "$ac_dir" && ac_dir=.
10781 for ac_exec_ext in '' $ac_executable_extensions; do
10782 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
10783 if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
10784 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
10791 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
10795 MSGMERGE="$ac_cv_path_MSGMERGE"
10796 if test "$MSGMERGE" != ":"; then
10797 echo "$as_me:$LINENO: result: $MSGMERGE" >&5
10798 echo "${ECHO_T}$MSGMERGE" >&6
10800 echo "$as_me:$LINENO: result: no" >&5
10801 echo "${ECHO_T}no" >&6
10805 if test "$GMSGFMT" != ":"; then
10806 if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
10807 (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
10810 GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
10811 echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
10812 echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
10817 if test "$XGETTEXT" != ":"; then
10818 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
10819 (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
10822 echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
10823 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
10829 ac_config_commands="$ac_config_commands default-1"
10833 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
10834 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
10835 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
10836 if test "${enable_maintainer_mode+set}" = set; then
10837 enableval="$enable_maintainer_mode"
10838 USE_MAINTAINER_MODE=$enableval
10840 USE_MAINTAINER_MODE=no
10842 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
10843 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
10846 if test $USE_MAINTAINER_MODE = yes; then
10847 MAINTAINER_MODE_TRUE=
10848 MAINTAINER_MODE_FALSE='#'
10850 MAINTAINER_MODE_TRUE='#'
10851 MAINTAINER_MODE_FALSE=
10854 MAINT=$MAINTAINER_MODE_TRUE
10860 GENINSRC_NEVER_TRUE=
10861 GENINSRC_NEVER_FALSE='#'
10863 GENINSRC_NEVER_TRUE='#'
10864 GENINSRC_NEVER_FALSE=
10870 for ac_header in sys/gmon_out.h
10872 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10873 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10874 echo "$as_me:$LINENO: checking for $ac_header" >&5
10875 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10876 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10877 echo $ECHO_N "(cached) $ECHO_C" >&6
10879 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10880 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10882 # Is the header compilable?
10883 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10884 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10885 cat >conftest.$ac_ext <<_ACEOF
10888 cat confdefs.h >>conftest.$ac_ext
10889 cat >>conftest.$ac_ext <<_ACEOF
10890 /* end confdefs.h. */
10891 $ac_includes_default
10892 #include <$ac_header>
10894 rm -f conftest.$ac_objext
10895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10896 (eval $ac_compile) 2>conftest.er1
10898 grep -v '^ *+' conftest.er1 >conftest.err
10900 cat conftest.err >&5
10901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10902 (exit $ac_status); } &&
10903 { ac_try='test -z "$ac_c_werror_flag"
10904 || test ! -s conftest.err'
10905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10906 (eval $ac_try) 2>&5
10908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10909 (exit $ac_status); }; } &&
10910 { ac_try='test -s conftest.$ac_objext'
10911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10912 (eval $ac_try) 2>&5
10914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10915 (exit $ac_status); }; }; then
10916 ac_header_compiler=yes
10918 echo "$as_me: failed program was:" >&5
10919 sed 's/^/| /' conftest.$ac_ext >&5
10921 ac_header_compiler=no
10923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10924 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10925 echo "${ECHO_T}$ac_header_compiler" >&6
10927 # Is the header present?
10928 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10929 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10930 cat >conftest.$ac_ext <<_ACEOF
10933 cat confdefs.h >>conftest.$ac_ext
10934 cat >>conftest.$ac_ext <<_ACEOF
10935 /* end confdefs.h. */
10936 #include <$ac_header>
10938 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10939 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10941 grep -v '^ *+' conftest.er1 >conftest.err
10943 cat conftest.err >&5
10944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10945 (exit $ac_status); } >/dev/null; then
10946 if test -s conftest.err; then
10947 ac_cpp_err=$ac_c_preproc_warn_flag
10948 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10955 if test -z "$ac_cpp_err"; then
10956 ac_header_preproc=yes
10958 echo "$as_me: failed program was:" >&5
10959 sed 's/^/| /' conftest.$ac_ext >&5
10961 ac_header_preproc=no
10963 rm -f conftest.err conftest.$ac_ext
10964 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10965 echo "${ECHO_T}$ac_header_preproc" >&6
10967 # So? What about this header?
10968 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10970 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10971 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10972 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10973 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10974 ac_header_preproc=yes
10977 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10978 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10979 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10980 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10981 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10982 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10983 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10984 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10985 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10986 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10987 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10988 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10991 ## ------------------------------------------ ##
10992 ## Report this to the AC_PACKAGE_NAME lists. ##
10993 ## ------------------------------------------ ##
10996 sed "s/^/$as_me: WARNING: /" >&2
10999 echo "$as_me:$LINENO: checking for $ac_header" >&5
11000 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11001 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11002 echo $ECHO_N "(cached) $ECHO_C" >&6
11004 eval "$as_ac_Header=\$ac_header_preproc"
11006 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11007 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11010 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11011 cat >>confdefs.h <<_ACEOF
11012 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11020 echo "$as_me:$LINENO: checking for a known getopt prototype in unistd.h" >&5
11021 echo $ECHO_N "checking for a known getopt prototype in unistd.h... $ECHO_C" >&6
11022 if test "${gprof_cv_decl_getopt_unistd_h+set}" = set; then
11023 echo $ECHO_N "(cached) $ECHO_C" >&6
11025 cat >conftest.$ac_ext <<_ACEOF
11028 cat confdefs.h >>conftest.$ac_ext
11029 cat >>conftest.$ac_ext <<_ACEOF
11030 /* end confdefs.h. */
11031 #include <unistd.h>
11035 extern int getopt (int, char *const*, const char *);
11040 rm -f conftest.$ac_objext
11041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11042 (eval $ac_compile) 2>conftest.er1
11044 grep -v '^ *+' conftest.er1 >conftest.err
11046 cat conftest.err >&5
11047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11048 (exit $ac_status); } &&
11049 { ac_try='test -z "$ac_c_werror_flag"
11050 || test ! -s conftest.err'
11051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11052 (eval $ac_try) 2>&5
11054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11055 (exit $ac_status); }; } &&
11056 { ac_try='test -s conftest.$ac_objext'
11057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11058 (eval $ac_try) 2>&5
11060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11061 (exit $ac_status); }; }; then
11062 gprof_cv_decl_getopt_unistd_h=yes
11064 echo "$as_me: failed program was:" >&5
11065 sed 's/^/| /' conftest.$ac_ext >&5
11067 gprof_cv_decl_getopt_unistd_h=no
11069 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11072 echo "$as_me:$LINENO: result: $gprof_cv_decl_getopt_unistd_h" >&5
11073 echo "${ECHO_T}$gprof_cv_decl_getopt_unistd_h" >&6
11074 if test $gprof_cv_decl_getopt_unistd_h = yes; then
11076 cat >>confdefs.h <<\_ACEOF
11077 #define HAVE_DECL_GETOPT 1
11082 # Some systems have fabs only in -lm, not in -lc.
11083 echo "$as_me:$LINENO: checking for library containing fabs" >&5
11084 echo $ECHO_N "checking for library containing fabs... $ECHO_C" >&6
11085 if test "${ac_cv_search_fabs+set}" = set; then
11086 echo $ECHO_N "(cached) $ECHO_C" >&6
11088 ac_func_search_save_LIBS=$LIBS
11089 ac_cv_search_fabs=no
11090 cat >conftest.$ac_ext <<_ACEOF
11093 cat confdefs.h >>conftest.$ac_ext
11094 cat >>conftest.$ac_ext <<_ACEOF
11095 /* end confdefs.h. */
11097 /* Override any gcc2 internal prototype to avoid an error. */
11101 /* We use char because int might match the return type of a gcc2
11102 builtin and then its argument prototype would still apply. */
11112 rm -f conftest.$ac_objext conftest$ac_exeext
11113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11114 (eval $ac_link) 2>conftest.er1
11116 grep -v '^ *+' conftest.er1 >conftest.err
11118 cat conftest.err >&5
11119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11120 (exit $ac_status); } &&
11121 { ac_try='test -z "$ac_c_werror_flag"
11122 || test ! -s conftest.err'
11123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11124 (eval $ac_try) 2>&5
11126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11127 (exit $ac_status); }; } &&
11128 { ac_try='test -s conftest$ac_exeext'
11129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11130 (eval $ac_try) 2>&5
11132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11133 (exit $ac_status); }; }; then
11134 ac_cv_search_fabs="none required"
11136 echo "$as_me: failed program was:" >&5
11137 sed 's/^/| /' conftest.$ac_ext >&5
11140 rm -f conftest.err conftest.$ac_objext \
11141 conftest$ac_exeext conftest.$ac_ext
11142 if test "$ac_cv_search_fabs" = no; then
11143 for ac_lib in m; do
11144 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
11145 cat >conftest.$ac_ext <<_ACEOF
11148 cat confdefs.h >>conftest.$ac_ext
11149 cat >>conftest.$ac_ext <<_ACEOF
11150 /* end confdefs.h. */
11152 /* Override any gcc2 internal prototype to avoid an error. */
11156 /* We use char because int might match the return type of a gcc2
11157 builtin and then its argument prototype would still apply. */
11167 rm -f conftest.$ac_objext conftest$ac_exeext
11168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11169 (eval $ac_link) 2>conftest.er1
11171 grep -v '^ *+' conftest.er1 >conftest.err
11173 cat conftest.err >&5
11174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11175 (exit $ac_status); } &&
11176 { ac_try='test -z "$ac_c_werror_flag"
11177 || test ! -s conftest.err'
11178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11179 (eval $ac_try) 2>&5
11181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11182 (exit $ac_status); }; } &&
11183 { ac_try='test -s conftest$ac_exeext'
11184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11185 (eval $ac_try) 2>&5
11187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11188 (exit $ac_status); }; }; then
11189 ac_cv_search_fabs="-l$ac_lib"
11192 echo "$as_me: failed program was:" >&5
11193 sed 's/^/| /' conftest.$ac_ext >&5
11196 rm -f conftest.err conftest.$ac_objext \
11197 conftest$ac_exeext conftest.$ac_ext
11200 LIBS=$ac_func_search_save_LIBS
11202 echo "$as_me:$LINENO: result: $ac_cv_search_fabs" >&5
11203 echo "${ECHO_T}$ac_cv_search_fabs" >&6
11204 if test "$ac_cv_search_fabs" != no; then
11205 test "$ac_cv_search_fabs" = "none required" || LIBS="$ac_cv_search_fabs $LIBS"
11211 GCC_WARN_CFLAGS="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
11213 # Check whether --enable-werror or --disable-werror was given.
11214 if test "${enable_werror+set}" = set; then
11215 enableval="$enable_werror"
11216 case "${enableval}" in
11217 yes | y) ERROR_ON_WARNING="yes" ;;
11218 no | n) ERROR_ON_WARNING="no" ;;
11219 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
11220 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
11221 { (exit 1); exit 1; }; } ;;
11225 # Enable -Werror by default when using gcc
11226 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
11227 ERROR_ON_WARNING=yes
11231 if test "${ERROR_ON_WARNING}" = yes ; then
11232 GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Werror"
11233 NO_WERROR="-Wno-error"
11236 if test "${GCC}" = yes ; then
11237 WARN_CFLAGS="${GCC_WARN_CFLAGS}"
11240 # Check whether --enable-build-warnings or --disable-build-warnings was given.
11241 if test "${enable_build_warnings+set}" = set; then
11242 enableval="$enable_build_warnings"
11243 case "${enableval}" in
11244 yes) WARN_CFLAGS="${GCC_WARN_CFLAGS}";;
11245 no) if test "${GCC}" = yes ; then
11248 ,*) t=`echo "${enableval}" | sed -e "s/,/ /g"`
11249 WARN_CFLAGS="${GCC_WARN_CFLAGS} ${t}";;
11250 *,) t=`echo "${enableval}" | sed -e "s/,/ /g"`
11251 WARN_CFLAGS="${t} ${GCC_WARN_CFLAGS}";;
11252 *) WARN_CFLAGS=`echo "${enableval}" | sed -e "s/,/ /g"`;;
11256 if test x"$silent" != x"yes" && test x"$WARN_CFLAGS" != x""; then
11257 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
11268 ac_config_files="$ac_config_files Makefile po/Makefile.in:po/Make-in"
11270 cat >confcache <<\_ACEOF
11271 # This file is a shell script that caches the results of configure
11272 # tests run on this system so they can be shared between configure
11273 # scripts and configure runs, see configure's option --config-cache.
11274 # It is not useful on other systems. If it contains results you don't
11275 # want to keep, you may remove or edit it.
11277 # config.status only pays attention to the cache file if you give it
11278 # the --recheck option to rerun configure.
11280 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11281 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11282 # following values.
11286 # The following way of writing the cache mishandles newlines in values,
11287 # but we know of no workaround that is simple, portable, and efficient.
11288 # So, don't put newlines in cache variables' values.
11289 # Ultrix sh set writes to stderr and can't be redirected directly,
11290 # and sets the high bit in the cache file unless we assign to the vars.
11293 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11295 # `set' does not quote correctly, so add quotes (double-quote
11296 # substitution turns \\\\ into \\, and sed turns \\ into \).
11299 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11302 # `set' quotes correctly as required by POSIX, so do not add quotes.
11304 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11311 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11313 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11315 if diff $cache_file confcache >/dev/null 2>&1; then :; else
11316 if test -w $cache_file; then
11317 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11318 cat confcache >$cache_file
11320 echo "not updating unwritable cache $cache_file"
11325 test "x$prefix" = xNONE && prefix=$ac_default_prefix
11326 # Let make expand exec_prefix.
11327 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
11329 # VPATH may cause trouble with some makes, so we remove $(srcdir),
11330 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
11331 # trailing colons and then remove the whole line if VPATH becomes empty
11332 # (actually we leave an empty line to preserve line numbers).
11333 if test "x$srcdir" = x.; then
11334 ac_vpsub='/^[ ]*VPATH[ ]*=/{
11335 s/:*\$(srcdir):*/:/;
11336 s/:*\${srcdir}:*/:/;
11338 s/^\([^=]*=[ ]*\):*/\1/;
11344 DEFS=-DHAVE_CONFIG_H
11348 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
11349 # 1. Remove the extension, and $U if already installed.
11350 ac_i=`echo "$ac_i" |
11351 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
11353 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
11354 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
11356 LIBOBJS=$ac_libobjs
11358 LTLIBOBJS=$ac_ltlibobjs
11361 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
11362 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
11363 Usually this means the macro was only invoked conditionally." >&5
11364 echo "$as_me: error: conditional \"AMDEP\" was never defined.
11365 Usually this means the macro was only invoked conditionally." >&2;}
11366 { (exit 1); exit 1; }; }
11368 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11369 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
11370 Usually this means the macro was only invoked conditionally." >&5
11371 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
11372 Usually this means the macro was only invoked conditionally." >&2;}
11373 { (exit 1); exit 1; }; }
11375 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
11376 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
11377 Usually this means the macro was only invoked conditionally." >&5
11378 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
11379 Usually this means the macro was only invoked conditionally." >&2;}
11380 { (exit 1); exit 1; }; }
11382 if test -z "${GENINSRC_NEVER_TRUE}" && test -z "${GENINSRC_NEVER_FALSE}"; then
11383 { { echo "$as_me:$LINENO: error: conditional \"GENINSRC_NEVER\" was never defined.
11384 Usually this means the macro was only invoked conditionally." >&5
11385 echo "$as_me: error: conditional \"GENINSRC_NEVER\" was never defined.
11386 Usually this means the macro was only invoked conditionally." >&2;}
11387 { (exit 1); exit 1; }; }
11390 : ${CONFIG_STATUS=./config.status}
11391 ac_clean_files_save=$ac_clean_files
11392 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
11393 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
11394 echo "$as_me: creating $CONFIG_STATUS" >&6;}
11395 cat >$CONFIG_STATUS <<_ACEOF
11397 # Generated by $as_me.
11398 # Run this file to recreate the current configuration.
11399 # Compiler output produced by configure, useful for debugging
11400 # configure, is in config.log if it exists.
11403 ac_cs_recheck=false
11405 SHELL=\${CONFIG_SHELL-$SHELL}
11408 cat >>$CONFIG_STATUS <<\_ACEOF
11409 ## --------------------- ##
11410 ## M4sh Initialization. ##
11411 ## --------------------- ##
11413 # Be Bourne compatible
11414 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
11417 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
11418 # is contrary to our usage. Disable this feature.
11419 alias -g '${1+"$@"}'='"$@"'
11420 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
11423 DUALCASE=1; export DUALCASE # for MKS sh
11425 # Support unset when possible.
11426 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
11433 # Work around bugs in pre-3.0 UWIN ksh.
11434 $as_unset ENV MAIL MAILPATH
11441 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
11442 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
11443 LC_TELEPHONE LC_TIME
11445 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
11446 eval $as_var=C; export $as_var
11452 # Required to use basename.
11453 if expr a : '\(a\)' >/dev/null 2>&1; then
11459 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
11460 as_basename=basename
11466 # Name of the executable.
11467 as_me=`$as_basename "$0" ||
11468 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11469 X"$0" : 'X\(//\)$' \| \
11470 X"$0" : 'X\(/\)$' \| \
11471 . : '\(.\)' 2>/dev/null ||
11473 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
11474 /^X\/\(\/\/\)$/{ s//\1/; q; }
11475 /^X\/\(\/\).*/{ s//\1/; q; }
11479 # PATH needs CR, and LINENO needs CR and PATH.
11480 # Avoid depending upon Character Ranges.
11481 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
11482 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11483 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
11484 as_cr_digits='0123456789'
11485 as_cr_alnum=$as_cr_Letters$as_cr_digits
11487 # The user is always right.
11488 if test "${PATH_SEPARATOR+set}" != set; then
11489 echo "#! /bin/sh" >conf$$.sh
11490 echo "exit 0" >>conf$$.sh
11492 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11501 as_lineno_1=$LINENO
11502 as_lineno_2=$LINENO
11503 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
11504 test "x$as_lineno_1" != "x$as_lineno_2" &&
11505 test "x$as_lineno_3" = "x$as_lineno_2" || {
11506 # Find who we are. Look in the path if we contain no path at all
11509 *[\\/]* ) as_myself=$0 ;;
11510 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11511 for as_dir in $PATH
11514 test -z "$as_dir" && as_dir=.
11515 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11520 # We did not find ourselves, most probably we were run as `sh COMMAND'
11521 # in which case we are not to be found in the path.
11522 if test "x$as_myself" = x; then
11525 if test ! -f "$as_myself"; then
11526 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
11527 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
11528 { (exit 1); exit 1; }; }
11530 case $CONFIG_SHELL in
11532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11533 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
11536 test -z "$as_dir" && as_dir=.
11537 for as_base in sh bash ksh sh5; do
11540 if ("$as_dir/$as_base" -c '
11541 as_lineno_1=$LINENO
11542 as_lineno_2=$LINENO
11543 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
11544 test "x$as_lineno_1" != "x$as_lineno_2" &&
11545 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
11546 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
11547 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
11548 CONFIG_SHELL=$as_dir/$as_base
11549 export CONFIG_SHELL
11550 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
11558 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
11559 # uniformly replaced by the line number. The first 'sed' inserts a
11560 # line-number line before each line; the second 'sed' does the real
11561 # work. The second script uses 'N' to pair each line-number line
11562 # with the numbered line, and appends trailing '-' during
11563 # substitution so that $LINENO is not a special case at line end.
11564 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
11565 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
11566 sed '=' <$as_myself |
11571 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
11574 s,^['$as_cr_digits']*\n,,
11575 ' >$as_me.lineno &&
11576 chmod +x $as_me.lineno ||
11577 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
11578 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
11579 { (exit 1); exit 1; }; }
11581 # Don't try to exec as it changes $[0], causing all sort of problems
11582 # (the dirname of $[0] is not the place where we might find the
11583 # original and so on. Autoconf is especially sensible to this).
11585 # Exit status is that of the last command.
11590 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
11591 *c*,-n*) ECHO_N= ECHO_C='
11593 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
11594 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
11597 if expr a : '\(a\)' >/dev/null 2>&1; then
11603 rm -f conf$$ conf$$.exe conf$$.file
11605 if ln -s conf$$.file conf$$ 2>/dev/null; then
11606 # We could just check for DJGPP; but this test a) works b) is more generic
11607 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
11608 if test -f conf$$.exe; then
11609 # Don't use ln at all; we don't have any links
11614 elif ln conf$$.file conf$$ 2>/dev/null; then
11619 rm -f conf$$ conf$$.exe conf$$.file
11621 if mkdir -p . 2>/dev/null; then
11624 test -d ./-p && rmdir ./-p
11628 as_executable_p="test -f"
11630 # Sed expression to map a string onto a valid CPP name.
11631 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11633 # Sed expression to map a string onto a valid variable name.
11634 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11638 # We need space, tab and new line, in precisely that order.
11648 # Open the log real soon, to keep \$[0] and so on meaningful, and to
11649 # report actual input values of CONFIG_FILES etc. instead of their
11650 # values after options handling. Logging --version etc. is OK.
11654 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11655 ## Running $as_me. ##
11660 This file was extended by $as_me, which was
11661 generated by GNU Autoconf 2.59. Invocation command line was
11663 CONFIG_FILES = $CONFIG_FILES
11664 CONFIG_HEADERS = $CONFIG_HEADERS
11665 CONFIG_LINKS = $CONFIG_LINKS
11666 CONFIG_COMMANDS = $CONFIG_COMMANDS
11670 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
11674 # Files that config.status was made for.
11675 if test -n "$ac_config_files"; then
11676 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
11679 if test -n "$ac_config_headers"; then
11680 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
11683 if test -n "$ac_config_links"; then
11684 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
11687 if test -n "$ac_config_commands"; then
11688 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
11691 cat >>$CONFIG_STATUS <<\_ACEOF
11694 \`$as_me' instantiates files from templates according to the
11695 current configuration.
11697 Usage: $0 [OPTIONS] [FILE]...
11699 -h, --help print this help, then exit
11700 -V, --version print version number, then exit
11701 -q, --quiet do not print progress messages
11702 -d, --debug don't remove temporary files
11703 --recheck update $as_me by reconfiguring in the same conditions
11704 --file=FILE[:TEMPLATE]
11705 instantiate the configuration file FILE
11706 --header=FILE[:TEMPLATE]
11707 instantiate the configuration header FILE
11709 Configuration files:
11712 Configuration headers:
11715 Configuration commands:
11718 Report bugs to <bug-autoconf@gnu.org>."
11721 cat >>$CONFIG_STATUS <<_ACEOF
11724 configured by $0, generated by GNU Autoconf 2.59,
11725 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
11727 Copyright (C) 2003 Free Software Foundation, Inc.
11728 This config.status script is free software; the Free Software Foundation
11729 gives unlimited permission to copy, distribute and modify it."
11734 cat >>$CONFIG_STATUS <<\_ACEOF
11735 # If no file are specified by the user, then we need to provide default
11736 # value. By we need to know if files were specified by the user.
11742 ac_option=`expr "x$1" : 'x\([^=]*\)='`
11743 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
11751 *) # This is not an option, so the user has probably given explicit
11754 ac_need_defaults=false;;
11758 # Handling of the options.
11760 cat >>$CONFIG_STATUS <<\_ACEOF
11761 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
11763 --version | --vers* | -V )
11764 echo "$ac_cs_version"; exit 0 ;;
11766 # Conflict between --help and --header
11767 { { echo "$as_me:$LINENO: error: ambiguous option: $1
11768 Try \`$0 --help' for more information." >&5
11769 echo "$as_me: error: ambiguous option: $1
11770 Try \`$0 --help' for more information." >&2;}
11771 { (exit 1); exit 1; }; };;
11772 --help | --hel | -h )
11773 echo "$ac_cs_usage"; exit 0 ;;
11774 --debug | --d* | -d )
11776 --file | --fil | --fi | --f )
11778 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
11779 ac_need_defaults=false;;
11780 --header | --heade | --head | --hea )
11782 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
11783 ac_need_defaults=false;;
11784 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
11785 | -silent | --silent | --silen | --sile | --sil | --si | --s)
11788 # This is an error.
11789 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
11790 Try \`$0 --help' for more information." >&5
11791 echo "$as_me: error: unrecognized option: $1
11792 Try \`$0 --help' for more information." >&2;}
11793 { (exit 1); exit 1; }; } ;;
11795 *) ac_config_targets="$ac_config_targets $1" ;;
11801 ac_configure_extra_args=
11803 if $ac_cs_silent; then
11805 ac_configure_extra_args="$ac_configure_extra_args --silent"
11809 cat >>$CONFIG_STATUS <<_ACEOF
11810 if \$ac_cs_recheck; then
11811 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
11812 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11817 cat >>$CONFIG_STATUS <<_ACEOF
11819 # INIT-COMMANDS section.
11822 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
11825 # The HP-UX ksh and POSIX shell print the target directory to stdout
11826 # if CDPATH is set.
11827 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11829 sed_quote_subst='$sed_quote_subst'
11830 double_quote_subst='$double_quote_subst'
11831 delay_variable_subst='$delay_variable_subst'
11832 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
11833 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
11834 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
11835 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
11836 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
11837 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
11838 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
11839 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
11840 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
11841 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
11842 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
11843 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
11844 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
11845 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
11846 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
11847 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
11848 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
11849 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
11850 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
11851 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
11852 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
11853 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
11854 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
11855 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
11856 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
11857 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
11858 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
11859 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11860 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
11861 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
11862 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
11863 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
11864 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
11865 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
11866 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11867 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11868 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11869 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
11870 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
11871 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
11872 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
11873 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
11874 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
11875 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
11876 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
11877 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
11878 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
11879 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
11880 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
11881 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
11882 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
11883 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
11884 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
11885 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
11886 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
11887 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11888 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11889 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
11890 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
11891 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
11892 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
11893 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
11894 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11895 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11896 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11897 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11898 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11899 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11900 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
11901 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
11902 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
11903 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
11904 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
11905 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
11906 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
11907 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
11908 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
11909 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
11910 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
11911 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
11912 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
11913 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
11914 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
11915 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11916 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
11917 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
11918 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11919 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
11920 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
11921 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
11922 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
11923 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
11924 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
11925 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
11926 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
11927 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
11928 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
11929 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
11930 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11931 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11932 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11933 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
11934 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
11935 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
11936 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
11937 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
11938 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
11939 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
11940 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
11941 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
11942 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
11945 LTCFLAGS='$LTCFLAGS'
11946 compiler='$compiler_DEFAULT'
11948 # Quote evaled strings.
11959 deplibs_check_method \
11968 lt_cv_sys_global_symbol_pipe \
11969 lt_cv_sys_global_symbol_to_cdecl \
11970 lt_cv_sys_global_symbol_to_c_name_address \
11973 lt_prog_compiler_no_builtin_flag \
11974 lt_prog_compiler_wl \
11975 lt_prog_compiler_pic \
11976 lt_prog_compiler_static \
11977 lt_cv_prog_compiler_c_o \
11980 export_dynamic_flag_spec \
11981 whole_archive_flag_spec \
11982 compiler_needs_object \
11984 allow_undefined_flag \
11985 no_undefined_flag \
11986 hardcode_libdir_flag_spec \
11987 hardcode_libdir_flag_spec_ld \
11988 hardcode_libdir_separator \
11993 variables_saved_for_relink \
11995 library_names_spec \
12000 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
12001 *[\\\\\\\`\\"\\\$]*)
12002 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
12005 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12010 # Double-quote double-evaled strings.
12011 for var in reload_cmds \
12012 old_postinstall_cmds \
12013 old_postuninstall_cmds \
12015 extract_expsyms_cmds \
12016 old_archive_from_new_cmds \
12017 old_archive_from_expsyms_cmds \
12019 archive_expsym_cmds \
12021 module_expsym_cmds \
12022 export_symbols_cmds \
12025 postuninstall_cmds \
12027 sys_lib_search_path_spec \
12028 sys_lib_dlsearch_path_spec; do
12029 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
12030 *[\\\\\\\`\\"\\\$]*)
12031 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
12034 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12039 # Fix-up fallback echo if it was mangled by the above quoting rules.
12041 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
12045 ac_aux_dir='$ac_aux_dir'
12046 xsi_shell='$xsi_shell'
12047 lt_shell_append='$lt_shell_append'
12049 # See if we are running on zsh, and set the options which allow our
12050 # commands through without removal of \ escapes INIT.
12051 if test -n "\${ZSH_VERSION+set}" ; then
12052 setopt NO_GLOB_SUBST
12058 TIMESTAMP='$TIMESTAMP'
12064 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
12065 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
12067 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
12068 # Capture the value of LINGUAS because we need it to compute CATALOGS.
12069 LINGUAS="${LINGUAS-%UNSET%}"
12076 cat >>$CONFIG_STATUS <<\_ACEOF
12077 for ac_config_target in $ac_config_targets
12079 case "$ac_config_target" in
12080 # Handling of arguments.
12081 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
12082 "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
12083 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
12084 "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
12085 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
12086 "gconfig.h" ) CONFIG_HEADERS="$CONFIG_HEADERS gconfig.h:gconfig.in" ;;
12087 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
12088 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12089 { (exit 1); exit 1; }; };;
12093 # If the user did not use the arguments to specify the items to instantiate,
12094 # then the envvar interface is used. Set only those that are not.
12095 # We use the long form for the default assignment because of an extremely
12096 # bizarre bug on SunOS 4.1.3.
12097 if $ac_need_defaults; then
12098 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
12099 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
12100 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
12103 # Have a temporary directory for convenience. Make it in the build tree
12104 # simply because there is no reason to put it here, and in addition,
12105 # creating and moving files from /tmp can sometimes cause problems.
12106 # Create a temporary directory, and hook for its removal unless debugging.
12109 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
12110 trap '{ (exit 1); exit 1; }' 1 2 13 15
12113 # Create a (secure) tmp directory for tmp files.
12116 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
12117 test -n "$tmp" && test -d "$tmp"
12120 tmp=./confstat$$-$RANDOM
12121 (umask 077 && mkdir $tmp)
12124 echo "$me: cannot create a temporary directory in ." >&2
12125 { (exit 1); exit 1; }
12130 cat >>$CONFIG_STATUS <<_ACEOF
12133 # CONFIG_FILES section.
12136 # No need to generate the scripts if there are no CONFIG_FILES.
12137 # This happens for instance when ./config.status config.h
12138 if test -n "\$CONFIG_FILES"; then
12139 # Protect against being on the right side of a sed subst in config.status.
12140 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
12141 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
12142 s,@SHELL@,$SHELL,;t t
12143 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
12144 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
12145 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
12146 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
12147 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
12148 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
12149 s,@exec_prefix@,$exec_prefix,;t t
12150 s,@prefix@,$prefix,;t t
12151 s,@program_transform_name@,$program_transform_name,;t t
12152 s,@bindir@,$bindir,;t t
12153 s,@sbindir@,$sbindir,;t t
12154 s,@libexecdir@,$libexecdir,;t t
12155 s,@datadir@,$datadir,;t t
12156 s,@sysconfdir@,$sysconfdir,;t t
12157 s,@sharedstatedir@,$sharedstatedir,;t t
12158 s,@localstatedir@,$localstatedir,;t t
12159 s,@libdir@,$libdir,;t t
12160 s,@includedir@,$includedir,;t t
12161 s,@oldincludedir@,$oldincludedir,;t t
12162 s,@infodir@,$infodir,;t t
12163 s,@mandir@,$mandir,;t t
12164 s,@build_alias@,$build_alias,;t t
12165 s,@host_alias@,$host_alias,;t t
12166 s,@target_alias@,$target_alias,;t t
12167 s,@DEFS@,$DEFS,;t t
12168 s,@ECHO_C@,$ECHO_C,;t t
12169 s,@ECHO_N@,$ECHO_N,;t t
12170 s,@ECHO_T@,$ECHO_T,;t t
12171 s,@LIBS@,$LIBS,;t t
12172 s,@build@,$build,;t t
12173 s,@build_cpu@,$build_cpu,;t t
12174 s,@build_vendor@,$build_vendor,;t t
12175 s,@build_os@,$build_os,;t t
12176 s,@host@,$host,;t t
12177 s,@host_cpu@,$host_cpu,;t t
12178 s,@host_vendor@,$host_vendor,;t t
12179 s,@host_os@,$host_os,;t t
12180 s,@target@,$target,;t t
12181 s,@target_cpu@,$target_cpu,;t t
12182 s,@target_vendor@,$target_vendor,;t t
12183 s,@target_os@,$target_os,;t t
12185 s,@CFLAGS@,$CFLAGS,;t t
12186 s,@LDFLAGS@,$LDFLAGS,;t t
12187 s,@CPPFLAGS@,$CPPFLAGS,;t t
12188 s,@ac_ct_CC@,$ac_ct_CC,;t t
12189 s,@EXEEXT@,$EXEEXT,;t t
12190 s,@OBJEXT@,$OBJEXT,;t t
12191 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
12192 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
12193 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
12194 s,@CYGPATH_W@,$CYGPATH_W,;t t
12195 s,@PACKAGE@,$PACKAGE,;t t
12196 s,@VERSION@,$VERSION,;t t
12197 s,@ACLOCAL@,$ACLOCAL,;t t
12198 s,@AUTOCONF@,$AUTOCONF,;t t
12199 s,@AUTOMAKE@,$AUTOMAKE,;t t
12200 s,@AUTOHEADER@,$AUTOHEADER,;t t
12201 s,@MAKEINFO@,$MAKEINFO,;t t
12202 s,@install_sh@,$install_sh,;t t
12203 s,@STRIP@,$STRIP,;t t
12204 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
12205 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
12206 s,@mkdir_p@,$mkdir_p,;t t
12208 s,@SET_MAKE@,$SET_MAKE,;t t
12209 s,@am__leading_dot@,$am__leading_dot,;t t
12210 s,@AMTAR@,$AMTAR,;t t
12211 s,@am__tar@,$am__tar,;t t
12212 s,@am__untar@,$am__untar,;t t
12213 s,@DEPDIR@,$DEPDIR,;t t
12214 s,@am__include@,$am__include,;t t
12215 s,@am__quote@,$am__quote,;t t
12216 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
12217 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
12218 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
12219 s,@CCDEPMODE@,$CCDEPMODE,;t t
12220 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
12221 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
12222 s,@LIBTOOL@,$LIBTOOL,;t t
12224 s,@EGREP@,$EGREP,;t t
12225 s,@FGREP@,$FGREP,;t t
12226 s,@GREP@,$GREP,;t t
12228 s,@DUMPBIN@,$DUMPBIN,;t t
12229 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
12231 s,@LN_S@,$LN_S,;t t
12233 s,@ac_ct_AR@,$ac_ct_AR,;t t
12234 s,@RANLIB@,$RANLIB,;t t
12235 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
12236 s,@lt_ECHO@,$lt_ECHO,;t t
12238 s,@USE_NLS@,$USE_NLS,;t t
12239 s,@LIBINTL@,$LIBINTL,;t t
12240 s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
12241 s,@INCINTL@,$INCINTL,;t t
12242 s,@XGETTEXT@,$XGETTEXT,;t t
12243 s,@GMSGFMT@,$GMSGFMT,;t t
12244 s,@POSUB@,$POSUB,;t t
12245 s,@CATALOGS@,$CATALOGS,;t t
12246 s,@DATADIRNAME@,$DATADIRNAME,;t t
12247 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
12248 s,@GENCAT@,$GENCAT,;t t
12249 s,@CATOBJEXT@,$CATOBJEXT,;t t
12250 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
12251 s,@MSGFMT@,$MSGFMT,;t t
12252 s,@MSGMERGE@,$MSGMERGE,;t t
12253 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
12254 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
12255 s,@MAINT@,$MAINT,;t t
12256 s,@GENINSRC_NEVER_TRUE@,$GENINSRC_NEVER_TRUE,;t t
12257 s,@GENINSRC_NEVER_FALSE@,$GENINSRC_NEVER_FALSE,;t t
12258 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
12259 s,@NO_WERROR@,$NO_WERROR,;t t
12260 s,@datarootdir@,$datarootdir,;t t
12261 s,@docdir@,$docdir,;t t
12262 s,@htmldir@,$htmldir,;t t
12263 s,@LIBOBJS@,$LIBOBJS,;t t
12264 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
12269 cat >>$CONFIG_STATUS <<\_ACEOF
12270 # Split the substitutions into bite-sized pieces for seds with
12271 # small command number limits, like on Digital OSF/1 and HP-UX.
12272 ac_max_sed_lines=48
12273 ac_sed_frag=1 # Number of current file.
12274 ac_beg=1 # First line for current file.
12275 ac_end=$ac_max_sed_lines # Line after last line for current file.
12278 while $ac_more_lines; do
12279 if test $ac_beg -gt 1; then
12280 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
12282 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
12284 if test ! -s $tmp/subs.frag; then
12285 ac_more_lines=false
12287 # The purpose of the label and of the branching condition is to
12288 # speed up the sed processing (if there are no `@' at all, there
12289 # is no need to browse any of the substitutions).
12290 # These are the two extra sed commands mentioned above.
12292 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
12293 if test -z "$ac_sed_cmds"; then
12294 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
12296 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
12298 ac_sed_frag=`expr $ac_sed_frag + 1`
12300 ac_end=`expr $ac_end + $ac_max_sed_lines`
12303 if test -z "$ac_sed_cmds"; then
12306 fi # test -n "$CONFIG_FILES"
12309 cat >>$CONFIG_STATUS <<\_ACEOF
12310 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
12311 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12313 - | *:- | *:-:* ) # input from stdin
12315 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
12316 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
12317 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
12318 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
12319 * ) ac_file_in=$ac_file.in ;;
12322 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
12323 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
12324 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12325 X"$ac_file" : 'X\(//\)[^/]' \| \
12326 X"$ac_file" : 'X\(//\)$' \| \
12327 X"$ac_file" : 'X\(/\)' \| \
12328 . : '\(.\)' 2>/dev/null ||
12330 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12331 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12332 /^X\(\/\/\)$/{ s//\1/; q; }
12333 /^X\(\/\).*/{ s//\1/; q; }
12335 { if $as_mkdir_p; then
12340 while test ! -d "$as_dir"; do
12341 as_dirs="$as_dir $as_dirs"
12342 as_dir=`(dirname "$as_dir") 2>/dev/null ||
12343 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12344 X"$as_dir" : 'X\(//\)[^/]' \| \
12345 X"$as_dir" : 'X\(//\)$' \| \
12346 X"$as_dir" : 'X\(/\)' \| \
12347 . : '\(.\)' 2>/dev/null ||
12349 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12350 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12351 /^X\(\/\/\)$/{ s//\1/; q; }
12352 /^X\(\/\).*/{ s//\1/; q; }
12355 test ! -n "$as_dirs" || mkdir $as_dirs
12356 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12357 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12358 { (exit 1); exit 1; }; }; }
12362 if test "$ac_dir" != .; then
12363 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12364 # A "../" for each directory in $ac_dir_suffix.
12365 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
12367 ac_dir_suffix= ac_top_builddir=
12371 .) # No --srcdir option. We are building in place.
12373 if test -z "$ac_top_builddir"; then
12376 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
12378 [\\/]* | ?:[\\/]* ) # Absolute path.
12379 ac_srcdir=$srcdir$ac_dir_suffix;
12380 ac_top_srcdir=$srcdir ;;
12381 *) # Relative path.
12382 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
12383 ac_top_srcdir=$ac_top_builddir$srcdir ;;
12386 # Do not use `cd foo && pwd` to compute absolute paths, because
12387 # the directories may not exist.
12389 .) ac_abs_builddir="$ac_dir";;
12392 .) ac_abs_builddir=`pwd`;;
12393 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
12394 *) ac_abs_builddir=`pwd`/"$ac_dir";;
12397 case $ac_abs_builddir in
12398 .) ac_abs_top_builddir=${ac_top_builddir}.;;
12400 case ${ac_top_builddir}. in
12401 .) ac_abs_top_builddir=$ac_abs_builddir;;
12402 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
12403 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
12406 case $ac_abs_builddir in
12407 .) ac_abs_srcdir=$ac_srcdir;;
12410 .) ac_abs_srcdir=$ac_abs_builddir;;
12411 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
12412 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
12415 case $ac_abs_builddir in
12416 .) ac_abs_top_srcdir=$ac_top_srcdir;;
12418 case $ac_top_srcdir in
12419 .) ac_abs_top_srcdir=$ac_abs_builddir;;
12420 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
12421 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
12427 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
12428 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
12431 if test x"$ac_file" != x-; then
12432 { echo "$as_me:$LINENO: creating $ac_file" >&5
12433 echo "$as_me: creating $ac_file" >&6;}
12436 # Let's still pretend it is `configure' which instantiates (i.e., don't
12437 # use $as_me), people would be surprised to read:
12438 # /* config.h. Generated by config.status. */
12439 if test x"$ac_file" = x-; then
12442 configure_input="$ac_file. "
12444 configure_input=$configure_input"Generated from `echo $ac_file_in |
12445 sed 's,.*/,,'` by configure."
12447 # First look for the input files in the build tree, otherwise in the
12449 ac_file_inputs=`IFS=:
12450 for f in $ac_file_in; do
12452 -) echo $tmp/stdin ;;
12454 # Absolute (can't be DOS-style, as IFS=:)
12455 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12456 echo "$as_me: error: cannot find input file: $f" >&2;}
12457 { (exit 1); exit 1; }; }
12460 if test -f "$f"; then
12463 elif test -f "$srcdir/$f"; then
12468 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12469 echo "$as_me: error: cannot find input file: $f" >&2;}
12470 { (exit 1); exit 1; }; }
12473 done` || { (exit 1); exit 1; }
12475 cat >>$CONFIG_STATUS <<_ACEOF
12479 cat >>$CONFIG_STATUS <<\_ACEOF
12481 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
12482 s,@configure_input@,$configure_input,;t t
12483 s,@srcdir@,$ac_srcdir,;t t
12484 s,@abs_srcdir@,$ac_abs_srcdir,;t t
12485 s,@top_srcdir@,$ac_top_srcdir,;t t
12486 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
12487 s,@builddir@,$ac_builddir,;t t
12488 s,@abs_builddir@,$ac_abs_builddir,;t t
12489 s,@top_builddir@,$ac_top_builddir,;t t
12490 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
12491 s,@INSTALL@,$ac_INSTALL,;t t
12492 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
12494 if test x"$ac_file" != x-; then
12495 mv $tmp/out $ac_file
12503 cat >>$CONFIG_STATUS <<\_ACEOF
12506 # CONFIG_HEADER section.
12509 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
12510 # NAME is the cpp macro being defined and VALUE is the value it is being given.
12512 # ac_d sets the value in "#define NAME VALUE" lines.
12513 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
12514 ac_dB='[ ].*$,\1#\2'
12517 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
12518 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
12519 ac_uB='$,\1#\2define\3'
12523 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
12524 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12526 - | *:- | *:-:* ) # input from stdin
12528 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
12529 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
12530 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
12531 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
12532 * ) ac_file_in=$ac_file.in ;;
12535 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
12536 echo "$as_me: creating $ac_file" >&6;}
12538 # First look for the input files in the build tree, otherwise in the
12540 ac_file_inputs=`IFS=:
12541 for f in $ac_file_in; do
12543 -) echo $tmp/stdin ;;
12545 # Absolute (can't be DOS-style, as IFS=:)
12546 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12547 echo "$as_me: error: cannot find input file: $f" >&2;}
12548 { (exit 1); exit 1; }; }
12549 # Do quote $f, to prevent DOS paths from being IFS'd.
12552 if test -f "$f"; then
12555 elif test -f "$srcdir/$f"; then
12560 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12561 echo "$as_me: error: cannot find input file: $f" >&2;}
12562 { (exit 1); exit 1; }; }
12565 done` || { (exit 1); exit 1; }
12566 # Remove the trailing spaces.
12567 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
12571 # Transform confdefs.h into two sed scripts, `conftest.defines' and
12572 # `conftest.undefs', that substitutes the proper values into
12573 # config.h.in to produce config.h. The first handles `#define'
12574 # templates, and the second `#undef' templates.
12575 # And first: Protect against being on the right side of a sed subst in
12576 # config.status. Protect against being in an unquoted here document
12577 # in config.status.
12578 rm -f conftest.defines conftest.undefs
12579 # Using a here document instead of a string reduces the quoting nightmare.
12580 # Putting comments in sed scripts is not portable.
12582 # `end' is used to avoid that the second main sed command (meant for
12583 # 0-ary CPP macros) applies to n-ary macro definitions.
12584 # See the Autoconf documentation for `clear'.
12585 cat >confdef2sed.sed <<\_ACEOF
12590 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
12592 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
12595 # If some macros were called several times there might be several times
12596 # the same #defines, which is useless. Nevertheless, we may not want to
12597 # sort them, since we want the *last* AC-DEFINE to be honored.
12598 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
12599 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
12600 rm -f confdef2sed.sed
12602 # This sed command replaces #undef with comments. This is necessary, for
12603 # example, in the case of _POSIX_SOURCE, which is predefined and required
12604 # on some systems where configure will not decide to define it.
12605 cat >>conftest.undefs <<\_ACEOF
12606 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
12609 # Break up conftest.defines because some shells have a limit on the size
12610 # of here documents, and old seds have small limits too (100 cmds).
12611 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
12612 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
12613 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
12614 echo ' :' >>$CONFIG_STATUS
12615 rm -f conftest.tail
12616 while grep . conftest.defines >/dev/null
12618 # Write a limited-size here document to $tmp/defines.sed.
12619 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
12620 # Speed up: don't consider the non `#define' lines.
12621 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
12622 # Work around the forget-to-reset-the-flag bug.
12623 echo 't clr' >>$CONFIG_STATUS
12624 echo ': clr' >>$CONFIG_STATUS
12625 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
12627 sed -f $tmp/defines.sed $tmp/in >$tmp/out
12629 mv $tmp/out $tmp/in
12631 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
12632 rm -f conftest.defines
12633 mv conftest.tail conftest.defines
12635 rm -f conftest.defines
12636 echo ' fi # grep' >>$CONFIG_STATUS
12637 echo >>$CONFIG_STATUS
12639 # Break up conftest.undefs because some shells have a limit on the size
12640 # of here documents, and old seds have small limits too (100 cmds).
12641 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
12642 rm -f conftest.tail
12643 while grep . conftest.undefs >/dev/null
12645 # Write a limited-size here document to $tmp/undefs.sed.
12646 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
12647 # Speed up: don't consider the non `#undef'
12648 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
12649 # Work around the forget-to-reset-the-flag bug.
12650 echo 't clr' >>$CONFIG_STATUS
12651 echo ': clr' >>$CONFIG_STATUS
12652 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
12654 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
12656 mv $tmp/out $tmp/in
12658 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
12659 rm -f conftest.undefs
12660 mv conftest.tail conftest.undefs
12662 rm -f conftest.undefs
12664 cat >>$CONFIG_STATUS <<\_ACEOF
12665 # Let's still pretend it is `configure' which instantiates (i.e., don't
12666 # use $as_me), people would be surprised to read:
12667 # /* config.h. Generated by config.status. */
12668 if test x"$ac_file" = x-; then
12669 echo "/* Generated by configure. */" >$tmp/config.h
12671 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
12673 cat $tmp/in >>$tmp/config.h
12675 if test x"$ac_file" != x-; then
12676 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
12677 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
12678 echo "$as_me: $ac_file is unchanged" >&6;}
12680 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
12681 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12682 X"$ac_file" : 'X\(//\)[^/]' \| \
12683 X"$ac_file" : 'X\(//\)$' \| \
12684 X"$ac_file" : 'X\(/\)' \| \
12685 . : '\(.\)' 2>/dev/null ||
12687 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12688 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12689 /^X\(\/\/\)$/{ s//\1/; q; }
12690 /^X\(\/\).*/{ s//\1/; q; }
12692 { if $as_mkdir_p; then
12697 while test ! -d "$as_dir"; do
12698 as_dirs="$as_dir $as_dirs"
12699 as_dir=`(dirname "$as_dir") 2>/dev/null ||
12700 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12701 X"$as_dir" : 'X\(//\)[^/]' \| \
12702 X"$as_dir" : 'X\(//\)$' \| \
12703 X"$as_dir" : 'X\(/\)' \| \
12704 . : '\(.\)' 2>/dev/null ||
12706 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12707 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12708 /^X\(\/\/\)$/{ s//\1/; q; }
12709 /^X\(\/\).*/{ s//\1/; q; }
12712 test ! -n "$as_dirs" || mkdir $as_dirs
12713 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12714 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12715 { (exit 1); exit 1; }; }; }
12718 mv $tmp/config.h $ac_file
12722 rm -f $tmp/config.h
12724 # Compute $ac_file's index in $config_headers.
12726 for _am_header in $config_headers :; do
12727 case $_am_header in
12728 $ac_file | $ac_file:* )
12731 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
12734 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
12735 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12736 X$ac_file : 'X\(//\)[^/]' \| \
12737 X$ac_file : 'X\(//\)$' \| \
12738 X$ac_file : 'X\(/\)' \| \
12739 . : '\(.\)' 2>/dev/null ||
12741 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12742 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12743 /^X\(\/\/\)$/{ s//\1/; q; }
12744 /^X\(\/\).*/{ s//\1/; q; }
12745 s/.*/./; q'`/stamp-h$_am_stamp_count
12748 cat >>$CONFIG_STATUS <<\_ACEOF
12751 # CONFIG_COMMANDS section.
12753 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
12754 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
12755 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
12756 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
12757 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12758 X"$ac_dest" : 'X\(//\)[^/]' \| \
12759 X"$ac_dest" : 'X\(//\)$' \| \
12760 X"$ac_dest" : 'X\(/\)' \| \
12761 . : '\(.\)' 2>/dev/null ||
12763 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12764 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12765 /^X\(\/\/\)$/{ s//\1/; q; }
12766 /^X\(\/\).*/{ s//\1/; q; }
12768 { if $as_mkdir_p; then
12773 while test ! -d "$as_dir"; do
12774 as_dirs="$as_dir $as_dirs"
12775 as_dir=`(dirname "$as_dir") 2>/dev/null ||
12776 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12777 X"$as_dir" : 'X\(//\)[^/]' \| \
12778 X"$as_dir" : 'X\(//\)$' \| \
12779 X"$as_dir" : 'X\(/\)' \| \
12780 . : '\(.\)' 2>/dev/null ||
12782 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12783 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12784 /^X\(\/\/\)$/{ s//\1/; q; }
12785 /^X\(\/\).*/{ s//\1/; q; }
12788 test ! -n "$as_dirs" || mkdir $as_dirs
12789 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12790 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12791 { (exit 1); exit 1; }; }; }
12795 if test "$ac_dir" != .; then
12796 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12797 # A "../" for each directory in $ac_dir_suffix.
12798 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
12800 ac_dir_suffix= ac_top_builddir=
12804 .) # No --srcdir option. We are building in place.
12806 if test -z "$ac_top_builddir"; then
12809 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
12811 [\\/]* | ?:[\\/]* ) # Absolute path.
12812 ac_srcdir=$srcdir$ac_dir_suffix;
12813 ac_top_srcdir=$srcdir ;;
12814 *) # Relative path.
12815 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
12816 ac_top_srcdir=$ac_top_builddir$srcdir ;;
12819 # Do not use `cd foo && pwd` to compute absolute paths, because
12820 # the directories may not exist.
12822 .) ac_abs_builddir="$ac_dir";;
12825 .) ac_abs_builddir=`pwd`;;
12826 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
12827 *) ac_abs_builddir=`pwd`/"$ac_dir";;
12830 case $ac_abs_builddir in
12831 .) ac_abs_top_builddir=${ac_top_builddir}.;;
12833 case ${ac_top_builddir}. in
12834 .) ac_abs_top_builddir=$ac_abs_builddir;;
12835 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
12836 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
12839 case $ac_abs_builddir in
12840 .) ac_abs_srcdir=$ac_srcdir;;
12843 .) ac_abs_srcdir=$ac_abs_builddir;;
12844 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
12845 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
12848 case $ac_abs_builddir in
12849 .) ac_abs_top_srcdir=$ac_top_srcdir;;
12851 case $ac_top_srcdir in
12852 .) ac_abs_top_srcdir=$ac_abs_builddir;;
12853 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
12854 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
12859 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
12860 echo "$as_me: executing $ac_dest commands" >&6;}
12862 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
12863 # Strip MF so we end up with the name of the file.
12864 mf=`echo "$mf" | sed -e 's/:.*$//'`
12865 # Check whether this is an Automake generated Makefile or not.
12866 # We used to match only the files named `Makefile.in', but
12867 # some people rename them; so instead we look at the file content.
12868 # Grep'ing the first line is not enough: some people post-process
12869 # each Makefile.in and add a new line on top of each file to say so.
12870 # So let's grep whole file.
12871 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
12872 dirpart=`(dirname "$mf") 2>/dev/null ||
12873 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12874 X"$mf" : 'X\(//\)[^/]' \| \
12875 X"$mf" : 'X\(//\)$' \| \
12876 X"$mf" : 'X\(/\)' \| \
12877 . : '\(.\)' 2>/dev/null ||
12879 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12880 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12881 /^X\(\/\/\)$/{ s//\1/; q; }
12882 /^X\(\/\).*/{ s//\1/; q; }
12887 # Extract the definition of DEPDIR, am__include, and am__quote
12888 # from the Makefile without running `make'.
12889 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
12890 test -z "$DEPDIR" && continue
12891 am__include=`sed -n 's/^am__include = //p' < "$mf"`
12892 test -z "am__include" && continue
12893 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
12894 # When using ansi2knr, U may be empty or an underscore; expand it
12895 U=`sed -n 's/^U = //p' < "$mf"`
12896 # Find all dependency output files, they are included files with
12897 # $(DEPDIR) in their names. We invoke sed twice because it is the
12898 # simplest approach to changing $(DEPDIR) to its actual value in the
12900 for file in `sed -n "
12901 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
12902 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
12903 # Make sure the directory exists.
12904 test -f "$dirpart/$file" && continue
12905 fdir=`(dirname "$file") 2>/dev/null ||
12906 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12907 X"$file" : 'X\(//\)[^/]' \| \
12908 X"$file" : 'X\(//\)$' \| \
12909 X"$file" : 'X\(/\)' \| \
12910 . : '\(.\)' 2>/dev/null ||
12912 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12913 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12914 /^X\(\/\/\)$/{ s//\1/; q; }
12915 /^X\(\/\).*/{ s//\1/; q; }
12917 { if $as_mkdir_p; then
12918 mkdir -p $dirpart/$fdir
12920 as_dir=$dirpart/$fdir
12922 while test ! -d "$as_dir"; do
12923 as_dirs="$as_dir $as_dirs"
12924 as_dir=`(dirname "$as_dir") 2>/dev/null ||
12925 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12926 X"$as_dir" : 'X\(//\)[^/]' \| \
12927 X"$as_dir" : 'X\(//\)$' \| \
12928 X"$as_dir" : 'X\(/\)' \| \
12929 . : '\(.\)' 2>/dev/null ||
12931 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12932 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12933 /^X\(\/\/\)$/{ s//\1/; q; }
12934 /^X\(\/\).*/{ s//\1/; q; }
12937 test ! -n "$as_dirs" || mkdir $as_dirs
12938 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
12939 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
12940 { (exit 1); exit 1; }; }; }
12942 # echo "creating $dirpart/$file"
12943 echo '# dummy' > "$dirpart/$file"
12949 # See if we are running on zsh, and set the options which allow our
12950 # commands through without removal of \ escapes.
12951 if test -n "${ZSH_VERSION+set}" ; then
12952 setopt NO_GLOB_SUBST
12955 cfgfile="${ofile}T"
12956 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
12959 cat <<_LT_EOF >> "$cfgfile"
12962 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
12963 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
12964 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12965 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
12967 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
12968 # 2006, 2007 Free Software Foundation, Inc.
12970 # This file is part of GNU Libtool:
12971 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
12973 # This program is free software; you can redistribute it and/or modify
12974 # it under the terms of the GNU General Public License as published by
12975 # the Free Software Foundation; either version 2 of the License, or
12976 # (at your option) any later version.
12978 # This program is distributed in the hope that it will be useful, but
12979 # WITHOUT ANY WARRANTY; without even the implied warranty of
12980 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12981 # General Public License for more details.
12983 # You should have received a copy of the GNU General Public License
12984 # along with this program; if not, a copy can be downloaded from
12985 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
12986 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
12987 # MA 02110-1301, USA.
12989 # As a special exception to the GNU General Public License, if you
12990 # distribute this file as part of a program that contains a
12991 # configuration script generated by Autoconf, you may include it under
12992 # the same distribution terms that you use for the rest of that program.
12995 # The names of the tagged configurations supported by this script.
12998 # ### BEGIN LIBTOOL CONFIG
13000 # Which release of libtool.m4 was used?
13001 macro_version=$macro_version
13002 macro_revision=$macro_revision
13004 # Whether or not to build shared libraries.
13005 build_libtool_libs=$enable_shared
13007 # Whether or not to build static libraries.
13008 build_old_libs=$enable_static
13010 # What type of objects to build.
13013 # Whether or not to optimize for fast installation.
13014 fast_install=$enable_fast_install
13017 host_alias=$host_alias
13021 # The build system.
13022 build_alias=$build_alias
13026 # A sed program that does not truncate output.
13029 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
13030 Xsed="\$SED -e 1s/^X//"
13032 # A grep program that handles long lines.
13038 # A literal string matcher.
13041 # A BSD- or MS-compatible name lister.
13044 # Whether we need soft or hard links.
13047 # What is the maximum length of a command?
13048 max_cmd_len=$max_cmd_len
13050 # Object file suffix (normally "o").
13053 # Executable file suffix (normally "").
13056 # whether the shell understands "unset".
13059 # turn spaces into newlines.
13062 # turn newlines into spaces.
13065 # How to create reloadable object files.
13066 reload_flag=$lt_reload_flag
13067 reload_cmds=$lt_reload_cmds
13069 # Method to check whether dependent libraries are shared objects.
13070 deplibs_check_method=$lt_deplibs_check_method
13072 # Command to use when deplibs_check_method == "file_magic".
13073 file_magic_cmd=$lt_file_magic_cmd
13077 AR_FLAGS=$lt_AR_FLAGS
13079 # A symbol stripping program.
13082 # Commands used to install an old-style archive.
13084 old_postinstall_cmds=$lt_old_postinstall_cmds
13085 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13090 # LTCC compiler flags.
13091 LTCFLAGS=$lt_CFLAGS
13093 # Take the output of nm and produce a listing of raw symbols and C names.
13094 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13096 # Transform the output of nm in a proper C declaration.
13097 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13099 # Transform the output of nm in a C name address pair.
13100 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13102 # The name of the directory that contains temporary libtool files.
13105 # Shell to use when invoking shell scripts.
13108 # An echo program that does not interpret backslashes.
13111 # Used to examine libraries when file_magic_cmd begins with "file".
13112 MAGIC_CMD=$MAGIC_CMD
13114 # Must we lock files when doing compilation?
13115 need_locks=$lt_need_locks
13117 # Old archive suffix (normally "a").
13120 # Shared library suffix (normally ".so").
13121 shrext_cmds=$lt_shrext_cmds
13123 # The commands to extract the exported symbol list from a shared archive.
13124 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13126 # Variables whose values should be saved in libtool wrapper scripts and
13127 # restored at link time.
13128 variables_saved_for_relink=$lt_variables_saved_for_relink
13130 # Do we need the "lib" prefix for modules?
13131 need_lib_prefix=$need_lib_prefix
13133 # Do we need a version for libraries?
13134 need_version=$need_version
13136 # Library versioning type.
13137 version_type=$version_type
13139 # Shared library runtime path variable.
13140 runpath_var=$runpath_var
13142 # Shared library path variable.
13143 shlibpath_var=$shlibpath_var
13145 # Is shlibpath searched before the hard-coded library search path?
13146 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13148 # Format of library name prefix.
13149 libname_spec=$lt_libname_spec
13151 # List of archive names. First name is the real one, the rest are links.
13152 # The last name is the one that the linker finds with -lNAME
13153 library_names_spec=$lt_library_names_spec
13155 # The coded name of the library, if different from the real name.
13156 soname_spec=$lt_soname_spec
13158 # Command to use after installation of a shared archive.
13159 postinstall_cmds=$lt_postinstall_cmds
13161 # Command to use after uninstallation of a shared archive.
13162 postuninstall_cmds=$lt_postuninstall_cmds
13164 # Commands used to finish a libtool library installation in a directory.
13165 finish_cmds=$lt_finish_cmds
13167 # As "finish_cmds", except a single script fragment to be evaled but
13169 finish_eval=$lt_finish_eval
13171 # Whether we should hardcode library paths into libraries.
13172 hardcode_into_libs=$hardcode_into_libs
13174 # Compile-time system search path for libraries.
13175 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13177 # Run-time system search path for libraries.
13178 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13180 # Whether dlopen is supported.
13181 dlopen_support=$enable_dlopen
13183 # Whether dlopen of programs is supported.
13184 dlopen_self=$enable_dlopen_self
13186 # Whether dlopen of statically linked programs is supported.
13187 dlopen_self_static=$enable_dlopen_self_static
13189 # Commands to strip libraries.
13190 old_striplib=$lt_old_striplib
13191 striplib=$lt_striplib
13194 # The linker used to build libraries.
13197 # Commands used to build an old-style archive.
13198 old_archive_cmds=$lt_old_archive_cmds
13200 # A language specific compiler.
13203 # Is the compiler the GNU compiler?
13206 # Compiler flag to turn off builtin functions.
13207 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13209 # How to pass a linker flag through the compiler.
13210 wl=$lt_lt_prog_compiler_wl
13212 # Additional compiler flags for building library objects.
13213 pic_flag=$lt_lt_prog_compiler_pic
13215 # Compiler flag to prevent dynamic linking.
13216 link_static_flag=$lt_lt_prog_compiler_static
13218 # Does compiler simultaneously support -c and -o options?
13219 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
13221 # Whether or not to add -lc for building shared libraries.
13222 build_libtool_need_lc=$archive_cmds_need_lc
13224 # Whether or not to disallow shared libs when runtime libs are static.
13225 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
13227 # Compiler flag to allow reflexive dlopens.
13228 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
13230 # Compiler flag to generate shared objects directly from archives.
13231 whole_archive_flag_spec=$lt_whole_archive_flag_spec
13233 # Whether the compiler copes with passing no objects directly.
13234 compiler_needs_object=$lt_compiler_needs_object
13236 # Create an old-style archive from a shared archive.
13237 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
13239 # Create a temporary old-style archive to link instead of a shared archive.
13240 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
13242 # Commands used to build a shared archive.
13243 archive_cmds=$lt_archive_cmds
13244 archive_expsym_cmds=$lt_archive_expsym_cmds
13246 # Commands used to build a loadable module if different from building
13247 # a shared archive.
13248 module_cmds=$lt_module_cmds
13249 module_expsym_cmds=$lt_module_expsym_cmds
13251 # Whether we are building with GNU ld or not.
13252 with_gnu_ld=$lt_with_gnu_ld
13254 # Flag that allows shared libraries with undefined symbols to be built.
13255 allow_undefined_flag=$lt_allow_undefined_flag
13257 # Flag that enforces no undefined symbols.
13258 no_undefined_flag=$lt_no_undefined_flag
13260 # Flag to hardcode \$libdir into a binary during linking.
13261 # This must work even if \$libdir does not exist
13262 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13264 # If ld is used when linking, flag to hardcode \$libdir into a binary
13265 # during linking. This must work even if \$libdir does not exist.
13266 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
13268 # Whether we need a single "-rpath" flag with a separated argument.
13269 hardcode_libdir_separator=$lt_hardcode_libdir_separator
13271 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13272 # DIR into the resulting binary.
13273 hardcode_direct=$hardcode_direct
13275 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13276 # DIR into the resulting binary and the resulting library dependency is
13277 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
13278 # library is relocated.
13279 hardcode_direct_absolute=$hardcode_direct_absolute
13281 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
13282 # into the resulting binary.
13283 hardcode_minus_L=$hardcode_minus_L
13285 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
13286 # into the resulting binary.
13287 hardcode_shlibpath_var=$hardcode_shlibpath_var
13289 # Set to "yes" if building a shared library automatically hardcodes DIR
13290 # into the library and all subsequent libraries and executables linked
13292 hardcode_automatic=$hardcode_automatic
13294 # Set to yes if linker adds runtime paths of dependent libraries
13295 # to runtime path list.
13296 inherit_rpath=$inherit_rpath
13298 # Whether libtool must link a program against all its dependency libraries.
13299 link_all_deplibs=$link_all_deplibs
13301 # Fix the shell variable \$srcfile for the compiler.
13302 fix_srcfile_path=$lt_fix_srcfile_path
13304 # Set to "yes" if exported symbols are required.
13305 always_export_symbols=$always_export_symbols
13307 # The commands to list exported symbols.
13308 export_symbols_cmds=$lt_export_symbols_cmds
13310 # Symbols that should not be listed in the preloaded symbols.
13311 exclude_expsyms=$lt_exclude_expsyms
13313 # Symbols that must always be exported.
13314 include_expsyms=$lt_include_expsyms
13316 # Commands necessary for linking programs (against libraries) with templates.
13317 prelink_cmds=$lt_prelink_cmds
13319 # Specify filename containing input files.
13320 file_list_spec=$lt_file_list_spec
13322 # How to hardcode a shared library path into an executable.
13323 hardcode_action=$hardcode_action
13325 # ### END LIBTOOL CONFIG
13331 cat <<\_LT_EOF >> "$cfgfile"
13332 # AIX sometimes has problems with the GCC collect2 program. For some
13333 # reason, if we set the COLLECT_NAMES environment variable, the problems
13334 # vanish in a puff of smoke.
13335 if test "X${COLLECT_NAMES+set}" != Xset; then
13337 export COLLECT_NAMES
13344 ltmain="$ac_aux_dir/ltmain.sh"
13347 # We use sed instead of cat because bash on DJGPP gets confused if
13348 # if finds mixed CR/LF and LF-only lines. Since sed operates in
13349 # text mode, it properly converts lines to CR/LF. This bash problem
13350 # is reportedly fixed, but why not run on old versions too?
13351 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
13352 || (rm -f "$cfgfile"; exit 1)
13356 cat << \_LT_EOF >> "$cfgfile"
13357 # func_dirname file append nondir_replacement
13358 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
13359 # otherwise set result to NONDIR_REPLACEMENT.
13363 */*) func_dirname_result="${1%/*}${2}" ;;
13364 * ) func_dirname_result="${3}" ;;
13368 # func_basename file
13371 func_basename_result="${1##*/}"
13374 # func_stripname prefix suffix name
13375 # strip PREFIX and SUFFIX off of NAME.
13376 # PREFIX and SUFFIX must not contain globbing or regex special
13377 # characters, hashes, percent signs, but SUFFIX may contain a leading
13378 # dot (in which case that matches only a dot).
13381 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
13382 # positional parameters, so assign one to ordinary parameter first.
13383 func_stripname_result=${3}
13384 func_stripname_result=${func_stripname_result#"${1}"}
13385 func_stripname_result=${func_stripname_result%"${2}"}
13391 func_opt_split_opt=${1%%=*}
13392 func_opt_split_arg=${1#*=}
13399 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
13400 *) func_lo2o_result=${1} ;;
13405 *) # Bourne compatible functions.
13406 cat << \_LT_EOF >> "$cfgfile"
13407 # func_dirname file append nondir_replacement
13408 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
13409 # otherwise set result to NONDIR_REPLACEMENT.
13412 # Extract subdirectory from the argument.
13413 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
13414 if test "X$func_dirname_result" = "X${1}"; then
13415 func_dirname_result="${3}"
13417 func_dirname_result="$func_dirname_result${2}"
13421 # func_basename file
13424 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
13427 # func_stripname prefix suffix name
13428 # strip PREFIX and SUFFIX off of NAME.
13429 # PREFIX and SUFFIX must not contain globbing or regex special
13430 # characters, hashes, percent signs, but SUFFIX may contain a leading
13431 # dot (in which case that matches only a dot).
13432 # func_strip_suffix prefix name
13436 .*) func_stripname_result=`$ECHO "X${3}" \
13437 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
13438 *) func_stripname_result=`$ECHO "X${3}" \
13439 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
13444 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
13445 my_sed_long_arg='1s/^-[^=]*=//'
13450 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
13451 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
13457 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
13462 case $lt_shell_append in
13464 cat << \_LT_EOF >> "$cfgfile"
13466 # func_append var value
13467 # Append VALUE to the end of shell variable VAR.
13475 cat << \_LT_EOF >> "$cfgfile"
13477 # func_append var value
13478 # Append VALUE to the end of shell variable VAR.
13488 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
13489 || (rm -f "$cfgfile"; exit 1)
13491 mv -f "$cfgfile" "$ofile" ||
13492 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
13497 for ac_file in $CONFIG_FILES; do
13498 # Support "outfile[:infile[:infile...]]"
13500 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
13502 # PO directories have a Makefile.in generated from Makefile.in.in.
13503 case "$ac_file" in */Makefile.in)
13504 # Adjust a relative srcdir.
13505 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
13506 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
13507 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
13508 # In autoconf-2.13 it is called $ac_given_srcdir.
13509 # In autoconf-2.50 it is called $srcdir.
13510 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
13511 case "$ac_given_srcdir" in
13512 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
13513 /*) top_srcdir="$ac_given_srcdir" ;;
13514 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
13516 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
13517 rm -f "$ac_dir/POTFILES"
13518 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
13519 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
13520 POMAKEFILEDEPS="POTFILES.in"
13521 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
13522 # on $ac_dir but don't depend on user-specified configuration
13524 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
13525 # The LINGUAS file contains the set of available languages.
13526 if test -n "$OBSOLETE_ALL_LINGUAS"; then
13527 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
13529 ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
13530 # Hide the ALL_LINGUAS assigment from automake.
13531 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
13532 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
13534 # The set of available languages was given in configure.in.
13535 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
13537 case "$ac_given_srcdir" in
13539 *) srcdirpre='$(srcdir)/' ;;
13545 for lang in $ALL_LINGUAS; do
13546 POFILES="$POFILES $srcdirpre$lang.po"
13547 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
13548 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
13549 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
13551 # CATALOGS depends on both $ac_dir and the user's LINGUAS
13552 # environment variable.
13554 if test -n "$ALL_LINGUAS"; then
13555 for presentlang in $ALL_LINGUAS; do
13557 if test "%UNSET%" != "$LINGUAS"; then
13558 desiredlanguages="$LINGUAS"
13560 desiredlanguages="$ALL_LINGUAS"
13562 for desiredlang in $desiredlanguages; do
13563 # Use the presentlang catalog if desiredlang is
13564 # a. equal to presentlang, or
13565 # b. a variant of presentlang (because in this case,
13566 # presentlang can be used as a fallback for messages
13567 # which are not translated in the desiredlang catalog).
13568 case "$desiredlang" in
13569 "$presentlang"*) useit=yes;;
13572 if test $useit = yes; then
13573 INST_LINGUAS="$INST_LINGUAS $presentlang"
13578 if test -n "$INST_LINGUAS"; then
13579 for lang in $INST_LINGUAS; do
13580 CATALOGS="$CATALOGS $lang.gmo"
13583 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
13584 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
13585 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
13586 if test -f "$f"; then
13588 *.orig | *.bak | *~) ;;
13589 *) cat "$f" >> "$ac_dir/Makefile" ;;
13601 cat >>$CONFIG_STATUS <<\_ACEOF
13603 { (exit 0); exit 0; }
13605 chmod +x $CONFIG_STATUS
13606 ac_clean_files=$ac_clean_files_save
13609 # configure is writing to config.log, and then calls config.status.
13610 # config.status does its own redirection, appending to config.log.
13611 # Unfortunately, on DOS this fails, as config.log is still kept open
13612 # by configure, so config.status won't be able to write to it; its
13613 # output is simply discarded. So we exec the FD to /dev/null,
13614 # effectively closing config.log, so it can be properly (re)opened and
13615 # appended to by config.status. When coming back to configure, we
13616 # need to make the FD available again.
13617 if test "$no_create" != yes; then
13619 ac_config_status_args=
13620 test "$silent" = yes &&
13621 ac_config_status_args="$ac_config_status_args --quiet"
13623 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
13625 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13626 # would make configure fail if this is the last instruction.
13627 $ac_cs_success || { (exit 1); exit 1; }