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="z8k-dis.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 CPP EGREP AR ac_ct_AR RANLIB ac_ct_RANLIB LIBTOOL SED FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM LN_S OBJDUMP ac_ct_OBJDUMP lt_ECHO DSYMUTIL ac_ct_DSYMUTIL NMEDIT ac_ct_NMEDIT LIPO ac_ct_LIPO OTOOL ac_ct_OTOOL OTOOL64 ac_ct_OTOOL64 WARN_CFLAGS NO_WERROR MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT INSTALL_LIBBFD_TRUE INSTALL_LIBBFD_FALSE host_noncanonical target_noncanonical bfdlibdir bfdincludedir USE_NLS LIBINTL LIBINTL_DEP INCINTL XGETTEXT GMSGFMT POSUB CATALOGS DATADIRNAME INSTOBJEXT GENCAT CATOBJEXT MKINSTALLDIRS MSGFMT MSGMERGE CC_FOR_BUILD EXEEXT_FOR_BUILD HDEFINES CGEN_MAINT_TRUE CGEN_MAINT_FALSE cgendir SHARED_LDFLAGS SHARED_LIBADD SHARED_DEPENDENCIES archdefs BFD_MACHINES LIBOBJS LTLIBOBJS'
465 # Initialize some variables set by options.
467 ac_init_version=false
468 # The variables have the same names as the options, with
469 # dashes changed to underlines.
477 program_transform_name=s,x,x,
485 # Installation directory options.
486 # These are left unexpanded so users can "make install exec_prefix=/foo"
487 # and all the variables that are supposed to be based on exec_prefix
488 # by default will actually change.
489 # Use braces instead of parens because sh, perl, etc. also accept them.
490 bindir='${exec_prefix}/bin'
491 sbindir='${exec_prefix}/sbin'
492 libexecdir='${exec_prefix}/libexec'
493 datadir='${prefix}/share'
494 sysconfdir='${prefix}/etc'
495 sharedstatedir='${prefix}/com'
496 localstatedir='${prefix}/var'
497 libdir='${exec_prefix}/lib'
498 includedir='${prefix}/include'
499 oldincludedir='/usr/include'
500 infodir='${prefix}/info'
501 mandir='${prefix}/man'
506 # If the previous option needs an argument, assign it.
507 if test -n "$ac_prev"; then
508 eval "$ac_prev=\$ac_option"
513 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
515 # Accept the important Cygnus configure options, so we can diagnose typos.
519 -bindir | --bindir | --bindi | --bind | --bin | --bi)
521 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
524 -build | --build | --buil | --bui | --bu)
525 ac_prev=build_alias ;;
526 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
527 build_alias=$ac_optarg ;;
529 -cache-file | --cache-file | --cache-fil | --cache-fi \
530 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
531 ac_prev=cache_file ;;
532 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
533 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
534 cache_file=$ac_optarg ;;
537 cache_file=config.cache ;;
539 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
541 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
543 datadir=$ac_optarg ;;
545 -disable-* | --disable-*)
546 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
547 # Reject names that are not valid shell variable names.
548 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
549 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
550 { (exit 1); exit 1; }; }
551 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
552 eval "enable_$ac_feature=no" ;;
554 -enable-* | --enable-*)
555 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
556 # Reject names that are not valid shell variable names.
557 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
558 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
559 { (exit 1); exit 1; }; }
560 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
562 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
565 eval "enable_$ac_feature='$ac_optarg'" ;;
567 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
568 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
569 | --exec | --exe | --ex)
570 ac_prev=exec_prefix ;;
571 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
572 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
573 | --exec=* | --exe=* | --ex=*)
574 exec_prefix=$ac_optarg ;;
576 -gas | --gas | --ga | --g)
577 # Obsolete; use --with-gas.
580 -help | --help | --hel | --he | -h)
582 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
583 ac_init_help=recursive ;;
584 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
585 ac_init_help=short ;;
587 -host | --host | --hos | --ho)
588 ac_prev=host_alias ;;
589 -host=* | --host=* | --hos=* | --ho=*)
590 host_alias=$ac_optarg ;;
592 -includedir | --includedir | --includedi | --included | --include \
593 | --includ | --inclu | --incl | --inc)
594 ac_prev=includedir ;;
595 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
596 | --includ=* | --inclu=* | --incl=* | --inc=*)
597 includedir=$ac_optarg ;;
599 -infodir | --infodir | --infodi | --infod | --info | --inf)
601 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
602 infodir=$ac_optarg ;;
604 -libdir | --libdir | --libdi | --libd)
606 -libdir=* | --libdir=* | --libdi=* | --libd=*)
609 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
610 | --libexe | --libex | --libe)
611 ac_prev=libexecdir ;;
612 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
613 | --libexe=* | --libex=* | --libe=*)
614 libexecdir=$ac_optarg ;;
616 -localstatedir | --localstatedir | --localstatedi | --localstated \
617 | --localstate | --localstat | --localsta | --localst \
618 | --locals | --local | --loca | --loc | --lo)
619 ac_prev=localstatedir ;;
620 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
621 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
622 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
623 localstatedir=$ac_optarg ;;
625 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
627 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
631 # Obsolete; use --without-fp.
634 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
635 | --no-cr | --no-c | -n)
638 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
639 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
642 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
643 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
644 | --oldin | --oldi | --old | --ol | --o)
645 ac_prev=oldincludedir ;;
646 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
647 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
648 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
649 oldincludedir=$ac_optarg ;;
651 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
653 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
656 -program-prefix | --program-prefix | --program-prefi | --program-pref \
657 | --program-pre | --program-pr | --program-p)
658 ac_prev=program_prefix ;;
659 -program-prefix=* | --program-prefix=* | --program-prefi=* \
660 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
661 program_prefix=$ac_optarg ;;
663 -program-suffix | --program-suffix | --program-suffi | --program-suff \
664 | --program-suf | --program-su | --program-s)
665 ac_prev=program_suffix ;;
666 -program-suffix=* | --program-suffix=* | --program-suffi=* \
667 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
668 program_suffix=$ac_optarg ;;
670 -program-transform-name | --program-transform-name \
671 | --program-transform-nam | --program-transform-na \
672 | --program-transform-n | --program-transform- \
673 | --program-transform | --program-transfor \
674 | --program-transfo | --program-transf \
675 | --program-trans | --program-tran \
676 | --progr-tra | --program-tr | --program-t)
677 ac_prev=program_transform_name ;;
678 -program-transform-name=* | --program-transform-name=* \
679 | --program-transform-nam=* | --program-transform-na=* \
680 | --program-transform-n=* | --program-transform-=* \
681 | --program-transform=* | --program-transfor=* \
682 | --program-transfo=* | --program-transf=* \
683 | --program-trans=* | --program-tran=* \
684 | --progr-tra=* | --program-tr=* | --program-t=*)
685 program_transform_name=$ac_optarg ;;
687 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
688 | -silent | --silent | --silen | --sile | --sil)
691 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
693 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
695 sbindir=$ac_optarg ;;
697 -sharedstatedir | --sharedstatedir | --sharedstatedi \
698 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
699 | --sharedst | --shareds | --shared | --share | --shar \
701 ac_prev=sharedstatedir ;;
702 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
703 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
704 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
706 sharedstatedir=$ac_optarg ;;
708 -site | --site | --sit)
710 -site=* | --site=* | --sit=*)
713 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
715 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
718 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
719 | --syscon | --sysco | --sysc | --sys | --sy)
720 ac_prev=sysconfdir ;;
721 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
722 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
723 sysconfdir=$ac_optarg ;;
725 -target | --target | --targe | --targ | --tar | --ta | --t)
726 ac_prev=target_alias ;;
727 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
728 target_alias=$ac_optarg ;;
730 -v | -verbose | --verbose | --verbos | --verbo | --verb)
733 -version | --version | --versio | --versi | --vers | -V)
737 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
738 # Reject names that are not valid shell variable names.
739 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
740 { echo "$as_me: error: invalid package name: $ac_package" >&2
741 { (exit 1); exit 1; }; }
742 ac_package=`echo $ac_package| sed 's/-/_/g'`
744 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
747 eval "with_$ac_package='$ac_optarg'" ;;
749 -without-* | --without-*)
750 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
751 # Reject names that are not valid shell variable names.
752 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
753 { echo "$as_me: error: invalid package name: $ac_package" >&2
754 { (exit 1); exit 1; }; }
755 ac_package=`echo $ac_package | sed 's/-/_/g'`
756 eval "with_$ac_package=no" ;;
759 # Obsolete; use --with-x.
762 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
763 | --x-incl | --x-inc | --x-in | --x-i)
764 ac_prev=x_includes ;;
765 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
766 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
767 x_includes=$ac_optarg ;;
769 -x-libraries | --x-libraries | --x-librarie | --x-librari \
770 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
771 ac_prev=x_libraries ;;
772 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
773 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
774 x_libraries=$ac_optarg ;;
776 -*) { echo "$as_me: error: unrecognized option: $ac_option
777 Try \`$0 --help' for more information." >&2
778 { (exit 1); exit 1; }; }
782 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
783 # Reject names that are not valid shell variable names.
784 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
785 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
786 { (exit 1); exit 1; }; }
787 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
788 eval "$ac_envvar='$ac_optarg'"
792 # FIXME: should be removed in autoconf 3.0.
793 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
794 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
795 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
796 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
802 if test -n "$ac_prev"; then
803 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
804 { echo "$as_me: error: missing argument to $ac_option" >&2
805 { (exit 1); exit 1; }; }
808 # Be sure to have absolute paths.
809 for ac_var in exec_prefix prefix
811 eval ac_val=$`echo $ac_var`
813 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
814 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
815 { (exit 1); exit 1; }; };;
819 # Be sure to have absolute paths.
820 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
821 localstatedir libdir includedir oldincludedir infodir mandir
823 eval ac_val=$`echo $ac_var`
825 [\\/$]* | ?:[\\/]* ) ;;
826 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
827 { (exit 1); exit 1; }; };;
831 # There might be people who depend on the old broken behavior: `$host'
832 # used to hold the argument of --host etc.
833 # FIXME: To remove some day.
838 # FIXME: To remove some day.
839 if test "x$host_alias" != x; then
840 if test "x$build_alias" = x; then
841 cross_compiling=maybe
842 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
843 If a cross compiler is detected then cross compile mode will be used." >&2
844 elif test "x$build_alias" != "x$host_alias"; then
850 test -n "$host_alias" && ac_tool_prefix=$host_alias-
852 test "$silent" = yes && exec 6>/dev/null
855 # Find the source files, if location was not specified.
856 if test -z "$srcdir"; then
857 ac_srcdir_defaulted=yes
858 # Try the directory containing this script, then its parent.
859 ac_confdir=`(dirname "$0") 2>/dev/null ||
860 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
861 X"$0" : 'X\(//\)[^/]' \| \
862 X"$0" : 'X\(//\)$' \| \
863 X"$0" : 'X\(/\)' \| \
864 . : '\(.\)' 2>/dev/null ||
866 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
867 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
868 /^X\(\/\/\)$/{ s//\1/; q; }
869 /^X\(\/\).*/{ s//\1/; q; }
872 if test ! -r $srcdir/$ac_unique_file; then
876 ac_srcdir_defaulted=no
878 if test ! -r $srcdir/$ac_unique_file; then
879 if test "$ac_srcdir_defaulted" = yes; then
880 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
881 { (exit 1); exit 1; }; }
883 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
884 { (exit 1); exit 1; }; }
887 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
888 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
889 { (exit 1); exit 1; }; }
890 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
891 ac_env_build_alias_set=${build_alias+set}
892 ac_env_build_alias_value=$build_alias
893 ac_cv_env_build_alias_set=${build_alias+set}
894 ac_cv_env_build_alias_value=$build_alias
895 ac_env_host_alias_set=${host_alias+set}
896 ac_env_host_alias_value=$host_alias
897 ac_cv_env_host_alias_set=${host_alias+set}
898 ac_cv_env_host_alias_value=$host_alias
899 ac_env_target_alias_set=${target_alias+set}
900 ac_env_target_alias_value=$target_alias
901 ac_cv_env_target_alias_set=${target_alias+set}
902 ac_cv_env_target_alias_value=$target_alias
903 ac_env_CC_set=${CC+set}
905 ac_cv_env_CC_set=${CC+set}
906 ac_cv_env_CC_value=$CC
907 ac_env_CFLAGS_set=${CFLAGS+set}
908 ac_env_CFLAGS_value=$CFLAGS
909 ac_cv_env_CFLAGS_set=${CFLAGS+set}
910 ac_cv_env_CFLAGS_value=$CFLAGS
911 ac_env_LDFLAGS_set=${LDFLAGS+set}
912 ac_env_LDFLAGS_value=$LDFLAGS
913 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
914 ac_cv_env_LDFLAGS_value=$LDFLAGS
915 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
916 ac_env_CPPFLAGS_value=$CPPFLAGS
917 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
918 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
919 ac_env_CPP_set=${CPP+set}
920 ac_env_CPP_value=$CPP
921 ac_cv_env_CPP_set=${CPP+set}
922 ac_cv_env_CPP_value=$CPP
925 # Report the --help message.
927 if test "$ac_init_help" = "long"; then
928 # Omit some internal or obsolete options to make the list less imposing.
929 # This message is too long to be a string in the A/UX 3.1 sh.
931 \`configure' configures this package to adapt to many kinds of systems.
933 Usage: $0 [OPTION]... [VAR=VALUE]...
935 To assign environment variables (e.g., CC, CFLAGS...), specify them as
936 VAR=VALUE. See below for descriptions of some of the useful variables.
938 Defaults for the options are specified in brackets.
941 -h, --help display this help and exit
942 --help=short display options specific to this package
943 --help=recursive display the short help of all the included packages
944 -V, --version display version information and exit
945 -q, --quiet, --silent do not print \`checking...' messages
946 --cache-file=FILE cache test results in FILE [disabled]
947 -C, --config-cache alias for \`--cache-file=config.cache'
948 -n, --no-create do not create output files
949 --srcdir=DIR find the sources in DIR [configure dir or \`..']
954 Installation directories:
955 --prefix=PREFIX install architecture-independent files in PREFIX
957 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
960 By default, \`make install' will install all the files in
961 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
962 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
963 for instance \`--prefix=\$HOME'.
965 For better control, use the options below.
967 Fine tuning of the installation directories:
968 --bindir=DIR user executables [EPREFIX/bin]
969 --sbindir=DIR system admin executables [EPREFIX/sbin]
970 --libexecdir=DIR program executables [EPREFIX/libexec]
971 --datadir=DIR read-only architecture-independent data [PREFIX/share]
972 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
973 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
974 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
975 --libdir=DIR object code libraries [EPREFIX/lib]
976 --includedir=DIR C header files [PREFIX/include]
977 --oldincludedir=DIR C header files for non-gcc [/usr/include]
978 --infodir=DIR info documentation [PREFIX/info]
979 --mandir=DIR man documentation [PREFIX/man]
985 --program-prefix=PREFIX prepend PREFIX to installed program names
986 --program-suffix=SUFFIX append SUFFIX to installed program names
987 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
990 --build=BUILD configure for building on BUILD [guessed]
991 --host=HOST cross-compile to build programs to run on HOST [BUILD]
992 --target=TARGET configure for building compilers for TARGET [HOST]
996 if test -n "$ac_init_help"; then
1001 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1002 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1003 --disable-dependency-tracking speeds up one-time build
1004 --enable-dependency-tracking do not reject slow dependency extractors
1005 --enable-shared[=PKGS]
1006 build shared libraries [default=no]
1007 --enable-static[=PKGS]
1008 build static libraries [default=yes]
1009 --enable-fast-install[=PKGS]
1010 optimize for fast installation [default=yes]
1011 --disable-libtool-lock avoid locking (might break parallel builds)
1012 --enable-targets alternative target configurations
1013 --enable-commonbfdlib build shared BFD/opcodes/libiberty library
1014 --enable-werror treat compile warnings as errors
1015 --enable-build-warnings enable build-time compiler warnings
1016 --enable-maintainer-mode enable make rules and dependencies not useful
1017 (and sometimes confusing) to the casual installer
1018 --enable-install-libbfd controls installation of libbfd and related headers
1019 --disable-nls do not use Native Language Support
1020 --enable-cgen-maint=dir build cgen generated files
1023 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1024 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1025 --with-pic try to use only PIC/non-PIC objects [default=use
1027 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1029 Some influential environment variables:
1030 CC C compiler command
1031 CFLAGS C compiler flags
1032 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1033 nonstandard directory <lib dir>
1034 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1035 headers in a nonstandard directory <include dir>
1038 Use these variables to override the choices made by `configure' or to help
1039 it to find libraries and programs with nonstandard names/locations.
1044 if test "$ac_init_help" = "recursive"; then
1045 # If there are subdirs, report their specific --help.
1047 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1048 test -d $ac_dir || continue
1051 if test "$ac_dir" != .; then
1052 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1053 # A "../" for each directory in $ac_dir_suffix.
1054 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1056 ac_dir_suffix= ac_top_builddir=
1060 .) # No --srcdir option. We are building in place.
1062 if test -z "$ac_top_builddir"; then
1065 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1067 [\\/]* | ?:[\\/]* ) # Absolute path.
1068 ac_srcdir=$srcdir$ac_dir_suffix;
1069 ac_top_srcdir=$srcdir ;;
1071 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1072 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1075 # Do not use `cd foo && pwd` to compute absolute paths, because
1076 # the directories may not exist.
1078 .) ac_abs_builddir="$ac_dir";;
1081 .) ac_abs_builddir=`pwd`;;
1082 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1083 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1086 case $ac_abs_builddir in
1087 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1089 case ${ac_top_builddir}. in
1090 .) ac_abs_top_builddir=$ac_abs_builddir;;
1091 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1092 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1095 case $ac_abs_builddir in
1096 .) ac_abs_srcdir=$ac_srcdir;;
1099 .) ac_abs_srcdir=$ac_abs_builddir;;
1100 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1101 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1104 case $ac_abs_builddir in
1105 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1107 case $ac_top_srcdir in
1108 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1109 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1110 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1115 # Check for guested configure; otherwise get Cygnus style configure.
1116 if test -f $ac_srcdir/configure.gnu; then
1118 $SHELL $ac_srcdir/configure.gnu --help=recursive
1119 elif test -f $ac_srcdir/configure; then
1121 $SHELL $ac_srcdir/configure --help=recursive
1122 elif test -f $ac_srcdir/configure.ac ||
1123 test -f $ac_srcdir/configure.in; then
1125 $ac_configure --help
1127 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1133 test -n "$ac_init_help" && exit 0
1134 if $ac_init_version; then
1137 Copyright (C) 2003 Free Software Foundation, Inc.
1138 This configure script is free software; the Free Software Foundation
1139 gives unlimited permission to copy, distribute and modify it.
1145 This file contains any messages produced by compilers while
1146 running configure, to aid debugging if configure makes a mistake.
1148 It was created by $as_me, which was
1149 generated by GNU Autoconf 2.59. Invocation command line was
1160 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1161 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1162 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1163 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1164 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1166 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1167 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1169 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1170 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1171 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1172 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1173 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1174 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1175 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1183 test -z "$as_dir" && as_dir=.
1184 echo "PATH: $as_dir"
1199 # Keep a trace of the command line.
1200 # Strip out --no-create and --no-recursion so they do not pile up.
1201 # Strip out --silent because we don't want to record it for future runs.
1202 # Also quote any args containing shell meta-characters.
1203 # Make two passes to allow for proper duplicate-argument suppression.
1208 ac_must_keep_next=false
1214 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1215 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1216 | -silent | --silent | --silen | --sile | --sil)
1218 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1219 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1222 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1224 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1225 if test $ac_must_keep_next = true; then
1226 ac_must_keep_next=false # Got value, back to normal.
1229 *=* | --config-cache | -C | -disable-* | --disable-* \
1230 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1231 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1232 | -with-* | --with-* | -without-* | --without-* | --x)
1233 case "$ac_configure_args0 " in
1234 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1237 -* ) ac_must_keep_next=true ;;
1240 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1241 # Get rid of the leading space.
1247 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1248 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1250 # When interrupted or exit'd, cleanup temporary files, and complete
1251 # config.log. We remove comments because anyway the quotes in there
1252 # would cause problems or look ugly.
1253 # WARNING: Be sure not to use single quotes in there, as some shells,
1254 # such as our DU 5.0 friend, will then `close' the trap.
1255 trap 'exit_status=$?
1256 # Save into config.log some information that might help in debugging.
1261 ## ---------------- ##
1262 ## Cache variables. ##
1263 ## ---------------- ##
1266 # The following way of writing the cache mishandles newlines in values,
1269 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1272 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1273 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1277 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1284 ## ----------------- ##
1285 ## Output variables. ##
1286 ## ----------------- ##
1289 for ac_var in $ac_subst_vars
1291 eval ac_val=$`echo $ac_var`
1292 echo "$ac_var='"'"'$ac_val'"'"'"
1296 if test -n "$ac_subst_files"; then
1303 for ac_var in $ac_subst_files
1305 eval ac_val=$`echo $ac_var`
1306 echo "$ac_var='"'"'$ac_val'"'"'"
1311 if test -s confdefs.h; then
1318 sed "/^$/d" confdefs.h | sort
1321 test "$ac_signal" != 0 &&
1322 echo "$as_me: caught signal $ac_signal"
1323 echo "$as_me: exit $exit_status"
1325 rm -f core *.core &&
1326 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1329 for ac_signal in 1 2 13 15; do
1330 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1334 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1335 rm -rf conftest* confdefs.h
1336 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1339 # Predefined preprocessor variables.
1341 cat >>confdefs.h <<_ACEOF
1342 #define PACKAGE_NAME "$PACKAGE_NAME"
1346 cat >>confdefs.h <<_ACEOF
1347 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1351 cat >>confdefs.h <<_ACEOF
1352 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1356 cat >>confdefs.h <<_ACEOF
1357 #define PACKAGE_STRING "$PACKAGE_STRING"
1361 cat >>confdefs.h <<_ACEOF
1362 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1366 # Let the site file select an alternate cache file if it wants to.
1367 # Prefer explicitly selected file to automatically selected ones.
1368 if test -z "$CONFIG_SITE"; then
1369 if test "x$prefix" != xNONE; then
1370 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1372 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1375 for ac_site_file in $CONFIG_SITE; do
1376 if test -r "$ac_site_file"; then
1377 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1378 echo "$as_me: loading site script $ac_site_file" >&6;}
1379 sed 's/^/| /' "$ac_site_file" >&5
1384 if test -r "$cache_file"; then
1385 # Some versions of bash will fail to source /dev/null (special
1386 # files actually), so we avoid doing that.
1387 if test -f "$cache_file"; then
1388 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1389 echo "$as_me: loading cache $cache_file" >&6;}
1391 [\\/]* | ?:[\\/]* ) . $cache_file;;
1392 *) . ./$cache_file;;
1396 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1397 echo "$as_me: creating cache $cache_file" >&6;}
1401 # Check that the precious variables saved in the cache have kept the same
1403 ac_cache_corrupted=false
1404 for ac_var in `(set) 2>&1 |
1405 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1406 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1407 eval ac_new_set=\$ac_env_${ac_var}_set
1408 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1409 eval ac_new_val="\$ac_env_${ac_var}_value"
1410 case $ac_old_set,$ac_new_set in
1412 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1413 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1414 ac_cache_corrupted=: ;;
1416 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1417 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1418 ac_cache_corrupted=: ;;
1421 if test "x$ac_old_val" != "x$ac_new_val"; then
1422 # differences in whitespace do not lead to failure.
1423 ac_old_val_w=`echo x $ac_old_val`
1424 ac_new_val_w=`echo x $ac_new_val`
1425 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1426 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1427 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1428 ac_cache_corrupted=:
1430 { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1431 echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1432 eval $ac_var=\$ac_old_val
1434 { echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1435 echo "$as_me: former value: \`$ac_old_val'" >&2;}
1436 { echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1437 echo "$as_me: current value: \`$ac_new_val'" >&2;}
1440 # Pass precious variables to config.status.
1441 if test "$ac_new_set" = set; then
1443 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1444 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1445 *) ac_arg=$ac_var=$ac_new_val ;;
1447 case " $ac_configure_args " in
1448 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1449 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1453 if $ac_cache_corrupted; then
1454 { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1455 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1456 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1457 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1458 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1459 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1460 { (exit 1); exit 1; }; }
1464 ac_cpp='$CPP $CPPFLAGS'
1465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1493 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1494 if test -f $ac_dir/install-sh; then
1496 ac_install_sh="$ac_aux_dir/install-sh -c"
1498 elif test -f $ac_dir/install.sh; then
1500 ac_install_sh="$ac_aux_dir/install.sh -c"
1502 elif test -f $ac_dir/shtool; then
1504 ac_install_sh="$ac_aux_dir/shtool install -c"
1508 if test -z "$ac_aux_dir"; then
1509 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1510 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1511 { (exit 1); exit 1; }; }
1513 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1514 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1515 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1517 # Make sure we can run config.sub.
1518 $ac_config_sub sun4 >/dev/null 2>&1 ||
1519 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1520 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1521 { (exit 1); exit 1; }; }
1523 echo "$as_me:$LINENO: checking build system type" >&5
1524 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1525 if test "${ac_cv_build+set}" = set; then
1526 echo $ECHO_N "(cached) $ECHO_C" >&6
1528 ac_cv_build_alias=$build_alias
1529 test -z "$ac_cv_build_alias" &&
1530 ac_cv_build_alias=`$ac_config_guess`
1531 test -z "$ac_cv_build_alias" &&
1532 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1533 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1534 { (exit 1); exit 1; }; }
1535 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1536 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1537 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1538 { (exit 1); exit 1; }; }
1541 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1542 echo "${ECHO_T}$ac_cv_build" >&6
1544 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1545 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1546 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1549 echo "$as_me:$LINENO: checking host system type" >&5
1550 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1551 if test "${ac_cv_host+set}" = set; then
1552 echo $ECHO_N "(cached) $ECHO_C" >&6
1554 ac_cv_host_alias=$host_alias
1555 test -z "$ac_cv_host_alias" &&
1556 ac_cv_host_alias=$ac_cv_build_alias
1557 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1558 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1559 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1560 { (exit 1); exit 1; }; }
1563 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1564 echo "${ECHO_T}$ac_cv_host" >&6
1566 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1567 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1568 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1571 echo "$as_me:$LINENO: checking target system type" >&5
1572 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1573 if test "${ac_cv_target+set}" = set; then
1574 echo $ECHO_N "(cached) $ECHO_C" >&6
1576 ac_cv_target_alias=$target_alias
1577 test "x$ac_cv_target_alias" = "x" &&
1578 ac_cv_target_alias=$ac_cv_host_alias
1579 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1580 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1581 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1582 { (exit 1); exit 1; }; }
1585 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1586 echo "${ECHO_T}$ac_cv_target" >&6
1587 target=$ac_cv_target
1588 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1589 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1590 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1593 # The aliases save the names the user supplied, while $host etc.
1594 # will get canonicalized.
1595 test -n "$target_alias" &&
1596 test "$program_prefix$program_suffix$program_transform_name" = \
1598 program_prefix=${target_alias}-
1600 ac_cpp='$CPP $CPPFLAGS'
1601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1604 if test -n "$ac_tool_prefix"; then
1605 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1606 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1607 echo "$as_me:$LINENO: checking for $ac_word" >&5
1608 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1609 if test "${ac_cv_prog_CC+set}" = set; then
1610 echo $ECHO_N "(cached) $ECHO_C" >&6
1612 if test -n "$CC"; then
1613 ac_cv_prog_CC="$CC" # Let the user override the test.
1615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1619 test -z "$as_dir" && as_dir=.
1620 for ac_exec_ext in '' $ac_executable_extensions; do
1621 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1622 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1623 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1632 if test -n "$CC"; then
1633 echo "$as_me:$LINENO: result: $CC" >&5
1634 echo "${ECHO_T}$CC" >&6
1636 echo "$as_me:$LINENO: result: no" >&5
1637 echo "${ECHO_T}no" >&6
1641 if test -z "$ac_cv_prog_CC"; then
1643 # Extract the first word of "gcc", so it can be a program name with args.
1644 set dummy gcc; ac_word=$2
1645 echo "$as_me:$LINENO: checking for $ac_word" >&5
1646 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1647 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1648 echo $ECHO_N "(cached) $ECHO_C" >&6
1650 if test -n "$ac_ct_CC"; then
1651 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1657 test -z "$as_dir" && as_dir=.
1658 for ac_exec_ext in '' $ac_executable_extensions; do
1659 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1660 ac_cv_prog_ac_ct_CC="gcc"
1661 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1669 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1670 if test -n "$ac_ct_CC"; then
1671 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1672 echo "${ECHO_T}$ac_ct_CC" >&6
1674 echo "$as_me:$LINENO: result: no" >&5
1675 echo "${ECHO_T}no" >&6
1683 if test -z "$CC"; then
1684 if test -n "$ac_tool_prefix"; then
1685 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1686 set dummy ${ac_tool_prefix}cc; ac_word=$2
1687 echo "$as_me:$LINENO: checking for $ac_word" >&5
1688 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1689 if test "${ac_cv_prog_CC+set}" = set; then
1690 echo $ECHO_N "(cached) $ECHO_C" >&6
1692 if test -n "$CC"; then
1693 ac_cv_prog_CC="$CC" # Let the user override the test.
1695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1699 test -z "$as_dir" && as_dir=.
1700 for ac_exec_ext in '' $ac_executable_extensions; do
1701 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1702 ac_cv_prog_CC="${ac_tool_prefix}cc"
1703 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1712 if test -n "$CC"; then
1713 echo "$as_me:$LINENO: result: $CC" >&5
1714 echo "${ECHO_T}$CC" >&6
1716 echo "$as_me:$LINENO: result: no" >&5
1717 echo "${ECHO_T}no" >&6
1721 if test -z "$ac_cv_prog_CC"; then
1723 # Extract the first word of "cc", so it can be a program name with args.
1724 set dummy cc; ac_word=$2
1725 echo "$as_me:$LINENO: checking for $ac_word" >&5
1726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1727 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1728 echo $ECHO_N "(cached) $ECHO_C" >&6
1730 if test -n "$ac_ct_CC"; then
1731 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1737 test -z "$as_dir" && as_dir=.
1738 for ac_exec_ext in '' $ac_executable_extensions; do
1739 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1740 ac_cv_prog_ac_ct_CC="cc"
1741 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1749 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1750 if test -n "$ac_ct_CC"; then
1751 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1752 echo "${ECHO_T}$ac_ct_CC" >&6
1754 echo "$as_me:$LINENO: result: no" >&5
1755 echo "${ECHO_T}no" >&6
1764 if test -z "$CC"; then
1765 # Extract the first word of "cc", so it can be a program name with args.
1766 set dummy cc; ac_word=$2
1767 echo "$as_me:$LINENO: checking for $ac_word" >&5
1768 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1769 if test "${ac_cv_prog_CC+set}" = set; then
1770 echo $ECHO_N "(cached) $ECHO_C" >&6
1772 if test -n "$CC"; then
1773 ac_cv_prog_CC="$CC" # Let the user override the test.
1776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1780 test -z "$as_dir" && as_dir=.
1781 for ac_exec_ext in '' $ac_executable_extensions; do
1782 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1783 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1784 ac_prog_rejected=yes
1788 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1794 if test $ac_prog_rejected = yes; then
1795 # We found a bogon in the path, so make sure we never use it.
1796 set dummy $ac_cv_prog_CC
1798 if test $# != 0; then
1799 # We chose a different compiler from the bogus one.
1800 # However, it has the same basename, so the bogon will be chosen
1801 # first if we set CC to just the basename; use the full file name.
1803 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1809 if test -n "$CC"; then
1810 echo "$as_me:$LINENO: result: $CC" >&5
1811 echo "${ECHO_T}$CC" >&6
1813 echo "$as_me:$LINENO: result: no" >&5
1814 echo "${ECHO_T}no" >&6
1818 if test -z "$CC"; then
1819 if test -n "$ac_tool_prefix"; then
1822 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1823 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1824 echo "$as_me:$LINENO: checking for $ac_word" >&5
1825 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1826 if test "${ac_cv_prog_CC+set}" = set; then
1827 echo $ECHO_N "(cached) $ECHO_C" >&6
1829 if test -n "$CC"; then
1830 ac_cv_prog_CC="$CC" # Let the user override the test.
1832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1836 test -z "$as_dir" && as_dir=.
1837 for ac_exec_ext in '' $ac_executable_extensions; do
1838 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1839 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1840 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1849 if test -n "$CC"; then
1850 echo "$as_me:$LINENO: result: $CC" >&5
1851 echo "${ECHO_T}$CC" >&6
1853 echo "$as_me:$LINENO: result: no" >&5
1854 echo "${ECHO_T}no" >&6
1857 test -n "$CC" && break
1860 if test -z "$CC"; then
1864 # Extract the first word of "$ac_prog", so it can be a program name with args.
1865 set dummy $ac_prog; ac_word=$2
1866 echo "$as_me:$LINENO: checking for $ac_word" >&5
1867 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1868 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1869 echo $ECHO_N "(cached) $ECHO_C" >&6
1871 if test -n "$ac_ct_CC"; then
1872 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1878 test -z "$as_dir" && as_dir=.
1879 for ac_exec_ext in '' $ac_executable_extensions; do
1880 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1881 ac_cv_prog_ac_ct_CC="$ac_prog"
1882 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1890 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1891 if test -n "$ac_ct_CC"; then
1892 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1893 echo "${ECHO_T}$ac_ct_CC" >&6
1895 echo "$as_me:$LINENO: result: no" >&5
1896 echo "${ECHO_T}no" >&6
1899 test -n "$ac_ct_CC" && break
1908 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1909 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1910 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1911 See \`config.log' for more details." >&5
1912 echo "$as_me: error: no acceptable C compiler found in \$PATH
1913 See \`config.log' for more details." >&2;}
1914 { (exit 1); exit 1; }; }; }
1916 # Provide some information about the compiler.
1917 echo "$as_me:$LINENO:" \
1918 "checking for C compiler version" >&5
1919 ac_compiler=`set X $ac_compile; echo $2`
1920 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1921 (eval $ac_compiler --version </dev/null >&5) 2>&5
1923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1924 (exit $ac_status); }
1925 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1926 (eval $ac_compiler -v </dev/null >&5) 2>&5
1928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1929 (exit $ac_status); }
1930 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1931 (eval $ac_compiler -V </dev/null >&5) 2>&5
1933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1934 (exit $ac_status); }
1936 cat >conftest.$ac_ext <<_ACEOF
1939 cat confdefs.h >>conftest.$ac_ext
1940 cat >>conftest.$ac_ext <<_ACEOF
1941 /* end confdefs.h. */
1951 ac_clean_files_save=$ac_clean_files
1952 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1953 # Try to create an executable without -o first, disregard a.out.
1954 # It will help us diagnose broken compilers, and finding out an intuition
1956 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1957 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1958 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1959 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1960 (eval $ac_link_default) 2>&5
1962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1963 (exit $ac_status); }; then
1964 # Find the output, starting from the most likely. This scheme is
1965 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1968 # Be careful to initialize this variable, since it used to be cached.
1969 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1971 # b.out is created by i960 compilers.
1972 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1974 test -f "$ac_file" || continue
1976 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1979 # This is the source file.
1982 # We found the default executable, but exeext='' is most
1986 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1987 # FIXME: I believe we export ac_cv_exeext for Libtool,
1988 # but it would be cool to find out if it's true. Does anybody
1989 # maintain Libtool? --akim.
1997 echo "$as_me: failed program was:" >&5
1998 sed 's/^/| /' conftest.$ac_ext >&5
2000 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2001 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2002 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2003 See \`config.log' for more details." >&5
2004 echo "$as_me: error: C compiler cannot create executables
2005 See \`config.log' for more details." >&2;}
2006 { (exit 77); exit 77; }; }; }
2009 ac_exeext=$ac_cv_exeext
2010 echo "$as_me:$LINENO: result: $ac_file" >&5
2011 echo "${ECHO_T}$ac_file" >&6
2013 # Check the compiler produces executables we can run. If not, either
2014 # the compiler is broken, or we cross compile.
2015 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2016 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2017 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2018 # If not cross compiling, check that we can run a simple program.
2019 if test "$cross_compiling" != yes; then
2020 if { ac_try='./$ac_file'
2021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2025 (exit $ac_status); }; }; then
2028 if test "$cross_compiling" = maybe; then
2031 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2032 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2033 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2034 If you meant to cross compile, use \`--host'.
2035 See \`config.log' for more details." >&5
2036 echo "$as_me: error: cannot run C compiled programs.
2037 If you meant to cross compile, use \`--host'.
2038 See \`config.log' for more details." >&2;}
2039 { (exit 1); exit 1; }; }; }
2043 echo "$as_me:$LINENO: result: yes" >&5
2044 echo "${ECHO_T}yes" >&6
2046 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2047 ac_clean_files=$ac_clean_files_save
2048 # Check the compiler produces executables we can run. If not, either
2049 # the compiler is broken, or we cross compile.
2050 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2051 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2052 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2053 echo "${ECHO_T}$cross_compiling" >&6
2055 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2056 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2058 (eval $ac_link) 2>&5
2060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2061 (exit $ac_status); }; then
2062 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2063 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2064 # work properly (i.e., refer to `conftest.exe'), while it won't with
2066 for ac_file in conftest.exe conftest conftest.*; do
2067 test -f "$ac_file" || continue
2069 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2070 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2077 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2078 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2079 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2080 See \`config.log' for more details." >&5
2081 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2082 See \`config.log' for more details." >&2;}
2083 { (exit 1); exit 1; }; }; }
2086 rm -f conftest$ac_cv_exeext
2087 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2088 echo "${ECHO_T}$ac_cv_exeext" >&6
2090 rm -f conftest.$ac_ext
2091 EXEEXT=$ac_cv_exeext
2093 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2094 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2095 if test "${ac_cv_objext+set}" = set; then
2096 echo $ECHO_N "(cached) $ECHO_C" >&6
2098 cat >conftest.$ac_ext <<_ACEOF
2101 cat confdefs.h >>conftest.$ac_ext
2102 cat >>conftest.$ac_ext <<_ACEOF
2103 /* end confdefs.h. */
2113 rm -f conftest.o conftest.obj
2114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2115 (eval $ac_compile) 2>&5
2117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2118 (exit $ac_status); }; then
2119 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2121 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2122 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2127 echo "$as_me: failed program was:" >&5
2128 sed 's/^/| /' conftest.$ac_ext >&5
2130 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2131 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2132 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2133 See \`config.log' for more details." >&5
2134 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2135 See \`config.log' for more details." >&2;}
2136 { (exit 1); exit 1; }; }; }
2139 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2141 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2142 echo "${ECHO_T}$ac_cv_objext" >&6
2143 OBJEXT=$ac_cv_objext
2145 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2146 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2147 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2148 echo $ECHO_N "(cached) $ECHO_C" >&6
2150 cat >conftest.$ac_ext <<_ACEOF
2153 cat confdefs.h >>conftest.$ac_ext
2154 cat >>conftest.$ac_ext <<_ACEOF
2155 /* end confdefs.h. */
2168 rm -f conftest.$ac_objext
2169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2170 (eval $ac_compile) 2>conftest.er1
2172 grep -v '^ *+' conftest.er1 >conftest.err
2174 cat conftest.err >&5
2175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2176 (exit $ac_status); } &&
2177 { ac_try='test -z "$ac_c_werror_flag"
2178 || test ! -s conftest.err'
2179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2183 (exit $ac_status); }; } &&
2184 { ac_try='test -s conftest.$ac_objext'
2185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2189 (exit $ac_status); }; }; then
2192 echo "$as_me: failed program was:" >&5
2193 sed 's/^/| /' conftest.$ac_ext >&5
2197 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2198 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2201 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2202 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2203 GCC=`test $ac_compiler_gnu = yes && echo yes`
2204 ac_test_CFLAGS=${CFLAGS+set}
2205 ac_save_CFLAGS=$CFLAGS
2207 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2208 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2209 if test "${ac_cv_prog_cc_g+set}" = set; then
2210 echo $ECHO_N "(cached) $ECHO_C" >&6
2212 cat >conftest.$ac_ext <<_ACEOF
2215 cat confdefs.h >>conftest.$ac_ext
2216 cat >>conftest.$ac_ext <<_ACEOF
2217 /* end confdefs.h. */
2227 rm -f conftest.$ac_objext
2228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2229 (eval $ac_compile) 2>conftest.er1
2231 grep -v '^ *+' conftest.er1 >conftest.err
2233 cat conftest.err >&5
2234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2235 (exit $ac_status); } &&
2236 { ac_try='test -z "$ac_c_werror_flag"
2237 || test ! -s conftest.err'
2238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2242 (exit $ac_status); }; } &&
2243 { ac_try='test -s conftest.$ac_objext'
2244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2248 (exit $ac_status); }; }; then
2251 echo "$as_me: failed program was:" >&5
2252 sed 's/^/| /' conftest.$ac_ext >&5
2256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2258 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2259 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2260 if test "$ac_test_CFLAGS" = set; then
2261 CFLAGS=$ac_save_CFLAGS
2262 elif test $ac_cv_prog_cc_g = yes; then
2263 if test "$GCC" = yes; then
2269 if test "$GCC" = yes; then
2275 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2276 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2277 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2278 echo $ECHO_N "(cached) $ECHO_C" >&6
2280 ac_cv_prog_cc_stdc=no
2282 cat >conftest.$ac_ext <<_ACEOF
2285 cat confdefs.h >>conftest.$ac_ext
2286 cat >>conftest.$ac_ext <<_ACEOF
2287 /* end confdefs.h. */
2290 #include <sys/types.h>
2291 #include <sys/stat.h>
2292 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2293 struct buf { int x; };
2294 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2295 static char *e (p, i)
2301 static char *f (char * (*g) (char **, int), char **p, ...)
2306 s = g (p, va_arg (v,int));
2311 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2312 function prototypes and stuff, but not '\xHH' hex character constants.
2313 These don't provoke an error unfortunately, instead are silently treated
2314 as 'x'. The following induces an error, until -std1 is added to get
2315 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2316 array size at least. It's necessary to write '\x00'==0 to get something
2317 that's true only with -std1. */
2318 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2320 int test (int i, double x);
2321 struct s1 {int (*f) (int a);};
2322 struct s2 {int (*f) (double a);};
2323 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2329 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2334 # Don't try gcc -ansi; that turns off useful extensions and
2335 # breaks some systems' header files.
2336 # AIX -qlanglvl=ansi
2337 # Ultrix and OSF/1 -std1
2338 # HP-UX 10.20 and later -Ae
2339 # HP-UX older versions -Aa -D_HPUX_SOURCE
2340 # SVR4 -Xc -D__EXTENSIONS__
2341 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2343 CC="$ac_save_CC $ac_arg"
2344 rm -f conftest.$ac_objext
2345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2346 (eval $ac_compile) 2>conftest.er1
2348 grep -v '^ *+' conftest.er1 >conftest.err
2350 cat conftest.err >&5
2351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2352 (exit $ac_status); } &&
2353 { ac_try='test -z "$ac_c_werror_flag"
2354 || test ! -s conftest.err'
2355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2359 (exit $ac_status); }; } &&
2360 { ac_try='test -s conftest.$ac_objext'
2361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2365 (exit $ac_status); }; }; then
2366 ac_cv_prog_cc_stdc=$ac_arg
2369 echo "$as_me: failed program was:" >&5
2370 sed 's/^/| /' conftest.$ac_ext >&5
2373 rm -f conftest.err conftest.$ac_objext
2375 rm -f conftest.$ac_ext conftest.$ac_objext
2380 case "x$ac_cv_prog_cc_stdc" in
2382 echo "$as_me:$LINENO: result: none needed" >&5
2383 echo "${ECHO_T}none needed" >&6 ;;
2385 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2386 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2387 CC="$CC $ac_cv_prog_cc_stdc" ;;
2390 # Some people use a C++ compiler to compile C. Since we use `exit',
2391 # in C++ we need to declare it. In case someone uses the same compiler
2392 # for both compiling C and C++ we need to have the C++ compiler decide
2393 # the declaration of exit, since it's the most demanding environment.
2394 cat >conftest.$ac_ext <<_ACEOF
2399 rm -f conftest.$ac_objext
2400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2401 (eval $ac_compile) 2>conftest.er1
2403 grep -v '^ *+' conftest.er1 >conftest.err
2405 cat conftest.err >&5
2406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2407 (exit $ac_status); } &&
2408 { ac_try='test -z "$ac_c_werror_flag"
2409 || test ! -s conftest.err'
2410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2414 (exit $ac_status); }; } &&
2415 { ac_try='test -s conftest.$ac_objext'
2416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2420 (exit $ac_status); }; }; then
2421 for ac_declaration in \
2423 'extern "C" void std::exit (int) throw (); using std::exit;' \
2424 'extern "C" void std::exit (int); using std::exit;' \
2425 'extern "C" void exit (int) throw ();' \
2426 'extern "C" void exit (int);' \
2429 cat >conftest.$ac_ext <<_ACEOF
2432 cat confdefs.h >>conftest.$ac_ext
2433 cat >>conftest.$ac_ext <<_ACEOF
2434 /* end confdefs.h. */
2445 rm -f conftest.$ac_objext
2446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2447 (eval $ac_compile) 2>conftest.er1
2449 grep -v '^ *+' conftest.er1 >conftest.err
2451 cat conftest.err >&5
2452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2453 (exit $ac_status); } &&
2454 { ac_try='test -z "$ac_c_werror_flag"
2455 || test ! -s conftest.err'
2456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2460 (exit $ac_status); }; } &&
2461 { ac_try='test -s conftest.$ac_objext'
2462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2466 (exit $ac_status); }; }; then
2469 echo "$as_me: failed program was:" >&5
2470 sed 's/^/| /' conftest.$ac_ext >&5
2474 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2475 cat >conftest.$ac_ext <<_ACEOF
2478 cat confdefs.h >>conftest.$ac_ext
2479 cat >>conftest.$ac_ext <<_ACEOF
2480 /* end confdefs.h. */
2490 rm -f conftest.$ac_objext
2491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2492 (eval $ac_compile) 2>conftest.er1
2494 grep -v '^ *+' conftest.er1 >conftest.err
2496 cat conftest.err >&5
2497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2498 (exit $ac_status); } &&
2499 { ac_try='test -z "$ac_c_werror_flag"
2500 || test ! -s conftest.err'
2501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2505 (exit $ac_status); }; } &&
2506 { ac_try='test -s conftest.$ac_objext'
2507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2511 (exit $ac_status); }; }; then
2514 echo "$as_me: failed program was:" >&5
2515 sed 's/^/| /' conftest.$ac_ext >&5
2518 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2521 if test -n "$ac_declaration"; then
2522 echo '#ifdef __cplusplus' >>confdefs.h
2523 echo $ac_declaration >>confdefs.h
2524 echo '#endif' >>confdefs.h
2528 echo "$as_me: failed program was:" >&5
2529 sed 's/^/| /' conftest.$ac_ext >&5
2532 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2534 ac_cpp='$CPP $CPPFLAGS'
2535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2540 echo "$as_me:$LINENO: checking for library containing strerror" >&5
2541 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
2542 if test "${ac_cv_search_strerror+set}" = set; then
2543 echo $ECHO_N "(cached) $ECHO_C" >&6
2545 ac_func_search_save_LIBS=$LIBS
2546 ac_cv_search_strerror=no
2547 cat >conftest.$ac_ext <<_ACEOF
2550 cat confdefs.h >>conftest.$ac_ext
2551 cat >>conftest.$ac_ext <<_ACEOF
2552 /* end confdefs.h. */
2554 /* Override any gcc2 internal prototype to avoid an error. */
2558 /* We use char because int might match the return type of a gcc2
2559 builtin and then its argument prototype would still apply. */
2569 rm -f conftest.$ac_objext conftest$ac_exeext
2570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2571 (eval $ac_link) 2>conftest.er1
2573 grep -v '^ *+' conftest.er1 >conftest.err
2575 cat conftest.err >&5
2576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2577 (exit $ac_status); } &&
2578 { ac_try='test -z "$ac_c_werror_flag"
2579 || test ! -s conftest.err'
2580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2584 (exit $ac_status); }; } &&
2585 { ac_try='test -s conftest$ac_exeext'
2586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2590 (exit $ac_status); }; }; then
2591 ac_cv_search_strerror="none required"
2593 echo "$as_me: failed program was:" >&5
2594 sed 's/^/| /' conftest.$ac_ext >&5
2597 rm -f conftest.err conftest.$ac_objext \
2598 conftest$ac_exeext conftest.$ac_ext
2599 if test "$ac_cv_search_strerror" = no; then
2600 for ac_lib in cposix; do
2601 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
2602 cat >conftest.$ac_ext <<_ACEOF
2605 cat confdefs.h >>conftest.$ac_ext
2606 cat >>conftest.$ac_ext <<_ACEOF
2607 /* end confdefs.h. */
2609 /* Override any gcc2 internal prototype to avoid an error. */
2613 /* We use char because int might match the return type of a gcc2
2614 builtin and then its argument prototype would still apply. */
2624 rm -f conftest.$ac_objext conftest$ac_exeext
2625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2626 (eval $ac_link) 2>conftest.er1
2628 grep -v '^ *+' conftest.er1 >conftest.err
2630 cat conftest.err >&5
2631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2632 (exit $ac_status); } &&
2633 { ac_try='test -z "$ac_c_werror_flag"
2634 || test ! -s conftest.err'
2635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2639 (exit $ac_status); }; } &&
2640 { ac_try='test -s conftest$ac_exeext'
2641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2645 (exit $ac_status); }; }; then
2646 ac_cv_search_strerror="-l$ac_lib"
2649 echo "$as_me: failed program was:" >&5
2650 sed 's/^/| /' conftest.$ac_ext >&5
2653 rm -f conftest.err conftest.$ac_objext \
2654 conftest$ac_exeext conftest.$ac_ext
2657 LIBS=$ac_func_search_save_LIBS
2659 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2660 echo "${ECHO_T}$ac_cv_search_strerror" >&6
2661 if test "$ac_cv_search_strerror" != no; then
2662 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
2667 # We currently only use the version number for the name of any shared
2668 # library. For user convenience, we always use the same version
2669 # number that BFD is using.
2670 BFD_VERSION=`sed -n -e 's/^.._INIT_AUTOMAKE.*,[ ]*\([^ ]*\)[ ]*).*/\1/p' < ${srcdir}/../bfd/configure.in`
2672 am__api_version="1.9"
2673 # Find a good install program. We prefer a C program (faster),
2674 # so one script is as good as another. But avoid the broken or
2675 # incompatible versions:
2676 # SysV /etc/install, /usr/sbin/install
2677 # SunOS /usr/etc/install
2678 # IRIX /sbin/install
2680 # AmigaOS /C/install, which installs bootblocks on floppy discs
2681 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2682 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2683 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2684 # OS/2's system install, which has a completely different semantic
2685 # ./install, which can be erroneously created by make from ./install.sh.
2686 # Reject install programs that cannot install multiple files.
2687 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2688 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2689 if test -z "$INSTALL"; then
2690 if test "${ac_cv_path_install+set}" = set; then
2691 echo $ECHO_N "(cached) $ECHO_C" >&6
2693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2697 test -z "$as_dir" && as_dir=.
2698 # Account for people who put trailing slashes in PATH elements.
2700 ./ | .// | /cC/* | \
2701 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2702 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2705 # OSF1 and SCO ODT 3.0 have their own names for install.
2706 # Don't use installbsd from OSF since it installs stuff as root
2708 for ac_prog in ginstall scoinst install; do
2709 for ac_exec_ext in '' $ac_executable_extensions; do
2710 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2711 if test $ac_prog = install &&
2712 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2713 # AIX install. It has an incompatible calling convention.
2715 elif test $ac_prog = install &&
2716 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2717 # program-specific install script used by HP pwplus--don't use.
2720 rm -rf conftest.one conftest.two conftest.dir
2721 echo one > conftest.one
2722 echo two > conftest.two
2724 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2725 test -s conftest.one && test -s conftest.two &&
2726 test -s conftest.dir/conftest.one &&
2727 test -s conftest.dir/conftest.two
2729 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2740 rm -rf conftest.one conftest.two conftest.dir
2743 if test "${ac_cv_path_install+set}" = set; then
2744 INSTALL=$ac_cv_path_install
2746 # As a last resort, use the slow shell script. Don't cache a
2747 # value for INSTALL within a source directory, because that will
2748 # break other packages using the cache if that directory is
2749 # removed, or if the value is a relative name.
2750 INSTALL=$ac_install_sh
2753 echo "$as_me:$LINENO: result: $INSTALL" >&5
2754 echo "${ECHO_T}$INSTALL" >&6
2756 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2757 # It thinks the first close brace ends the variable substitution.
2758 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2760 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2762 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2764 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2765 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
2768 echo timestamp > conftest.file
2769 # Do `set' in a subshell so we don't clobber the current shell's
2770 # arguments. Must try -L first in case configure is actually a
2771 # symlink; some systems play weird games with the mod time of symlinks
2772 # (eg FreeBSD returns the mod time of the symlink's containing
2775 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2776 if test "$*" = "X"; then
2778 set X `ls -t $srcdir/configure conftest.file`
2781 if test "$*" != "X $srcdir/configure conftest.file" \
2782 && test "$*" != "X conftest.file $srcdir/configure"; then
2784 # If neither matched, then we have a broken ls. This can happen
2785 # if, for instance, CONFIG_SHELL is bash and it inherits a
2786 # broken ls alias from the environment. This has actually
2787 # happened. Such a system could not be considered "sane".
2788 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2789 alias in your environment" >&5
2790 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2791 alias in your environment" >&2;}
2792 { (exit 1); exit 1; }; }
2795 test "$2" = conftest.file
2801 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2802 Check your system clock" >&5
2803 echo "$as_me: error: newly created file is older than distributed files!
2804 Check your system clock" >&2;}
2805 { (exit 1); exit 1; }; }
2807 echo "$as_me:$LINENO: result: yes" >&5
2808 echo "${ECHO_T}yes" >&6
2809 test "$program_prefix" != NONE &&
2810 program_transform_name="s,^,$program_prefix,;$program_transform_name"
2811 # Use a double $ so make ignores it.
2812 test "$program_suffix" != NONE &&
2813 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
2814 # Double any \ or $. echo might interpret backslashes.
2815 # By default was `s,x,x', remove it if useless.
2816 cat <<\_ACEOF >conftest.sed
2817 s/[\\$]/&&/g;s/;s,x,x,$//
2819 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2822 # expand $ac_aux_dir to an absolute path
2823 am_aux_dir=`cd $ac_aux_dir && pwd`
2825 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2826 # Use eval to expand $SHELL
2827 if eval "$MISSING --run true"; then
2828 am_missing_run="$MISSING --run "
2831 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2832 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2835 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2836 # We used to keeping the `.' as first argument, in order to
2837 # allow $(mkdir_p) to be used without argument. As in
2838 # $(mkdir_p) $(somedir)
2839 # where $(somedir) is conditionally defined. However this is wrong
2841 # 1. if the package is installed by a user who cannot write `.'
2842 # make install will fail,
2843 # 2. the above comment should most certainly read
2844 # $(mkdir_p) $(DESTDIR)$(somedir)
2845 # so it does not work when $(somedir) is undefined and
2846 # $(DESTDIR) is not.
2847 # To support the latter case, we have to write
2848 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2849 # so the `.' trick is pointless.
2850 mkdir_p='mkdir -p --'
2852 # On NextStep and OpenStep, the `mkdir' command does not
2853 # recognize any option. It will interpret all options as
2854 # directories to create, and then abort because `.' already
2856 for d in ./-p ./--version;
2858 test -d $d && rmdir $d
2860 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2861 if test -f "$ac_aux_dir/mkinstalldirs"; then
2862 mkdir_p='$(mkinstalldirs)'
2864 mkdir_p='$(install_sh) -d'
2868 for ac_prog in gawk mawk nawk awk
2870 # Extract the first word of "$ac_prog", so it can be a program name with args.
2871 set dummy $ac_prog; ac_word=$2
2872 echo "$as_me:$LINENO: checking for $ac_word" >&5
2873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2874 if test "${ac_cv_prog_AWK+set}" = set; then
2875 echo $ECHO_N "(cached) $ECHO_C" >&6
2877 if test -n "$AWK"; then
2878 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2884 test -z "$as_dir" && as_dir=.
2885 for ac_exec_ext in '' $ac_executable_extensions; do
2886 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2887 ac_cv_prog_AWK="$ac_prog"
2888 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2897 if test -n "$AWK"; then
2898 echo "$as_me:$LINENO: result: $AWK" >&5
2899 echo "${ECHO_T}$AWK" >&6
2901 echo "$as_me:$LINENO: result: no" >&5
2902 echo "${ECHO_T}no" >&6
2905 test -n "$AWK" && break
2908 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2909 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2910 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
2911 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2912 echo $ECHO_N "(cached) $ECHO_C" >&6
2914 cat >conftest.make <<\_ACEOF
2916 @echo 'ac_maketemp="$(MAKE)"'
2918 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2919 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2920 if test -n "$ac_maketemp"; then
2921 eval ac_cv_prog_make_${ac_make}_set=yes
2923 eval ac_cv_prog_make_${ac_make}_set=no
2927 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2928 echo "$as_me:$LINENO: result: yes" >&5
2929 echo "${ECHO_T}yes" >&6
2932 echo "$as_me:$LINENO: result: no" >&5
2933 echo "${ECHO_T}no" >&6
2934 SET_MAKE="MAKE=${MAKE-make}"
2937 rm -rf .tst 2>/dev/null
2938 mkdir .tst 2>/dev/null
2939 if test -d .tst; then
2944 rmdir .tst 2>/dev/null
2946 DEPDIR="${am__leading_dot}deps"
2948 ac_config_commands="$ac_config_commands depfiles"
2951 am_make=${MAKE-make}
2952 cat > confinc << 'END'
2957 # If we don't find an include directive, just comment out the code.
2958 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2959 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2963 # First try GNU make style include.
2964 echo "include confinc" > confmf
2965 # We grep out `Entering directory' and `Leaving directory'
2966 # messages which can occur if `w' ends up in MAKEFLAGS.
2967 # In particular we don't look at `^make:' because GNU make might
2968 # be invoked under some other name (usually "gmake"), in which
2969 # case it prints its new name instead of `make'.
2970 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2975 # Now try BSD make style include.
2976 if test "$am__include" = "#"; then
2977 echo '.include "confinc"' > confmf
2978 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2979 am__include=.include
2986 echo "$as_me:$LINENO: result: $_am_result" >&5
2987 echo "${ECHO_T}$_am_result" >&6
2988 rm -f confinc confmf
2990 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2991 if test "${enable_dependency_tracking+set}" = set; then
2992 enableval="$enable_dependency_tracking"
2995 if test "x$enable_dependency_tracking" != xno; then
2996 am_depcomp="$ac_aux_dir/depcomp"
3001 if test "x$enable_dependency_tracking" != xno; then
3011 # test to see if srcdir already configured
3012 if test "`cd $srcdir && pwd`" != "`pwd`" &&
3013 test -f $srcdir/config.status; then
3014 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
3015 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
3016 { (exit 1); exit 1; }; }
3019 # test whether we have cygpath
3020 if test -z "$CYGPATH_W"; then
3021 if (cygpath --version) >/dev/null 2>/dev/null; then
3022 CYGPATH_W='cygpath -w'
3029 # Define the identity of the package.
3031 VERSION=${BFD_VERSION}
3034 cat >>confdefs.h <<_ACEOF
3035 #define PACKAGE "$PACKAGE"
3039 cat >>confdefs.h <<_ACEOF
3040 #define VERSION "$VERSION"
3043 # Some tools Automake needs.
3045 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3048 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3051 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3054 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3057 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3059 install_sh=${install_sh-"$am_aux_dir/install-sh"}
3061 # Installed binaries are usually stripped using `strip' when the user
3062 # run `make install-strip'. However `strip' might not be the right
3063 # tool to use in cross-compilation environments, therefore Automake
3064 # will honor the `STRIP' environment variable to overrule this program.
3065 if test "$cross_compiling" != no; then
3066 if test -n "$ac_tool_prefix"; then
3067 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3068 set dummy ${ac_tool_prefix}strip; ac_word=$2
3069 echo "$as_me:$LINENO: checking for $ac_word" >&5
3070 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3071 if test "${ac_cv_prog_STRIP+set}" = set; then
3072 echo $ECHO_N "(cached) $ECHO_C" >&6
3074 if test -n "$STRIP"; then
3075 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3081 test -z "$as_dir" && as_dir=.
3082 for ac_exec_ext in '' $ac_executable_extensions; do
3083 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3084 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3085 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3093 STRIP=$ac_cv_prog_STRIP
3094 if test -n "$STRIP"; then
3095 echo "$as_me:$LINENO: result: $STRIP" >&5
3096 echo "${ECHO_T}$STRIP" >&6
3098 echo "$as_me:$LINENO: result: no" >&5
3099 echo "${ECHO_T}no" >&6
3103 if test -z "$ac_cv_prog_STRIP"; then
3105 # Extract the first word of "strip", so it can be a program name with args.
3106 set dummy strip; ac_word=$2
3107 echo "$as_me:$LINENO: checking for $ac_word" >&5
3108 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3109 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3110 echo $ECHO_N "(cached) $ECHO_C" >&6
3112 if test -n "$ac_ct_STRIP"; then
3113 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3119 test -z "$as_dir" && as_dir=.
3120 for ac_exec_ext in '' $ac_executable_extensions; do
3121 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3122 ac_cv_prog_ac_ct_STRIP="strip"
3123 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3129 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
3132 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3133 if test -n "$ac_ct_STRIP"; then
3134 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3135 echo "${ECHO_T}$ac_ct_STRIP" >&6
3137 echo "$as_me:$LINENO: result: no" >&5
3138 echo "${ECHO_T}no" >&6
3143 STRIP="$ac_cv_prog_STRIP"
3147 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
3149 # We need awk for the "check" target. The system "awk" is bad on
3151 # Always define AMTAR for backward compatibility.
3153 AMTAR=${AMTAR-"${am_missing_run}tar"}
3155 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3160 depcc="$CC" am_compiler_list=
3162 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3163 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3164 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3165 echo $ECHO_N "(cached) $ECHO_C" >&6
3167 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3168 # We make a subdir and do the tests there. Otherwise we can end up
3169 # making bogus files that we don't know about and never remove. For
3170 # instance it was reported that on HP-UX the gcc test will end up
3171 # making a dummy file named `D' -- because `-MD' means `put the output
3174 # Copy depcomp to subdir because otherwise we won't find it if we're
3175 # using a relative directory.
3176 cp "$am_depcomp" conftest.dir
3178 # We will build objects and dependencies in a subdirectory because
3179 # it helps to detect inapplicable dependency modes. For instance
3180 # both Tru64's cc and ICC support -MD to output dependencies as a
3181 # side effect of compilation, but ICC will put the dependencies in
3182 # the current directory while Tru64 will put them in the object
3186 am_cv_CC_dependencies_compiler_type=none
3187 if test "$am_compiler_list" = ""; then
3188 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3190 for depmode in $am_compiler_list; do
3191 # Setup a source with many dependencies, because some compilers
3192 # like to wrap large dependency lists on column 80 (with \), and
3193 # we should not choose a depcomp mode which is confused by this.
3195 # We need to recreate these files for each test, as the compiler may
3196 # overwrite some of them when testing with obscure command lines.
3197 # This happens at least with the AIX C compiler.
3199 for i in 1 2 3 4 5 6; do
3200 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3201 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3202 # Solaris 8's {/usr,}/bin/sh.
3203 touch sub/conftst$i.h
3205 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3209 # after this tag, mechanisms are not by side-effect, so they'll
3210 # only be used when explicitly requested
3211 if test "x$enable_dependency_tracking" = xyes; then
3219 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3220 # mode. It turns out that the SunPro C++ compiler does not properly
3221 # handle `-M -o', and we need to detect this.
3222 if depmode=$depmode \
3223 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3224 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3225 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3226 >/dev/null 2>conftest.err &&
3227 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3228 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3229 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3230 # icc doesn't choke on unknown options, it will just issue warnings
3231 # or remarks (even with -Werror). So we grep stderr for any message
3232 # that says an option was ignored or not supported.
3233 # When given -MP, icc 7.0 and 7.1 complain thusly:
3234 # icc: Command line warning: ignoring option '-M'; no argument required
3235 # The diagnosis changed in icc 8.0:
3236 # icc: Command line remark: option '-MP' not supported
3237 if (grep 'ignoring option' conftest.err ||
3238 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3239 am_cv_CC_dependencies_compiler_type=$depmode
3248 am_cv_CC_dependencies_compiler_type=none
3252 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3253 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3254 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3259 test "x$enable_dependency_tracking" != xno \
3260 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3262 am__fastdepCC_FALSE='#'
3264 am__fastdepCC_TRUE='#'
3265 am__fastdepCC_FALSE=
3272 ac_cpp='$CPP $CPPFLAGS'
3273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3276 if test -n "$ac_tool_prefix"; then
3277 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3278 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3279 echo "$as_me:$LINENO: checking for $ac_word" >&5
3280 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3281 if test "${ac_cv_prog_CC+set}" = set; then
3282 echo $ECHO_N "(cached) $ECHO_C" >&6
3284 if test -n "$CC"; then
3285 ac_cv_prog_CC="$CC" # Let the user override the test.
3287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3291 test -z "$as_dir" && as_dir=.
3292 for ac_exec_ext in '' $ac_executable_extensions; do
3293 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3294 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3295 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3304 if test -n "$CC"; then
3305 echo "$as_me:$LINENO: result: $CC" >&5
3306 echo "${ECHO_T}$CC" >&6
3308 echo "$as_me:$LINENO: result: no" >&5
3309 echo "${ECHO_T}no" >&6
3313 if test -z "$ac_cv_prog_CC"; then
3315 # Extract the first word of "gcc", so it can be a program name with args.
3316 set dummy gcc; ac_word=$2
3317 echo "$as_me:$LINENO: checking for $ac_word" >&5
3318 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3319 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3320 echo $ECHO_N "(cached) $ECHO_C" >&6
3322 if test -n "$ac_ct_CC"; then
3323 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3329 test -z "$as_dir" && as_dir=.
3330 for ac_exec_ext in '' $ac_executable_extensions; do
3331 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3332 ac_cv_prog_ac_ct_CC="gcc"
3333 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3341 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3342 if test -n "$ac_ct_CC"; then
3343 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3344 echo "${ECHO_T}$ac_ct_CC" >&6
3346 echo "$as_me:$LINENO: result: no" >&5
3347 echo "${ECHO_T}no" >&6
3355 if test -z "$CC"; then
3356 if test -n "$ac_tool_prefix"; then
3357 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3358 set dummy ${ac_tool_prefix}cc; ac_word=$2
3359 echo "$as_me:$LINENO: checking for $ac_word" >&5
3360 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3361 if test "${ac_cv_prog_CC+set}" = set; then
3362 echo $ECHO_N "(cached) $ECHO_C" >&6
3364 if test -n "$CC"; then
3365 ac_cv_prog_CC="$CC" # Let the user override the test.
3367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3371 test -z "$as_dir" && as_dir=.
3372 for ac_exec_ext in '' $ac_executable_extensions; do
3373 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3374 ac_cv_prog_CC="${ac_tool_prefix}cc"
3375 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3384 if test -n "$CC"; then
3385 echo "$as_me:$LINENO: result: $CC" >&5
3386 echo "${ECHO_T}$CC" >&6
3388 echo "$as_me:$LINENO: result: no" >&5
3389 echo "${ECHO_T}no" >&6
3393 if test -z "$ac_cv_prog_CC"; then
3395 # Extract the first word of "cc", so it can be a program name with args.
3396 set dummy cc; ac_word=$2
3397 echo "$as_me:$LINENO: checking for $ac_word" >&5
3398 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3399 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3400 echo $ECHO_N "(cached) $ECHO_C" >&6
3402 if test -n "$ac_ct_CC"; then
3403 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3409 test -z "$as_dir" && as_dir=.
3410 for ac_exec_ext in '' $ac_executable_extensions; do
3411 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3412 ac_cv_prog_ac_ct_CC="cc"
3413 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3421 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3422 if test -n "$ac_ct_CC"; then
3423 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3424 echo "${ECHO_T}$ac_ct_CC" >&6
3426 echo "$as_me:$LINENO: result: no" >&5
3427 echo "${ECHO_T}no" >&6
3436 if test -z "$CC"; then
3437 # Extract the first word of "cc", so it can be a program name with args.
3438 set dummy cc; ac_word=$2
3439 echo "$as_me:$LINENO: checking for $ac_word" >&5
3440 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3441 if test "${ac_cv_prog_CC+set}" = set; then
3442 echo $ECHO_N "(cached) $ECHO_C" >&6
3444 if test -n "$CC"; then
3445 ac_cv_prog_CC="$CC" # Let the user override the test.
3448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3452 test -z "$as_dir" && as_dir=.
3453 for ac_exec_ext in '' $ac_executable_extensions; do
3454 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3455 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3456 ac_prog_rejected=yes
3460 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3466 if test $ac_prog_rejected = yes; then
3467 # We found a bogon in the path, so make sure we never use it.
3468 set dummy $ac_cv_prog_CC
3470 if test $# != 0; then
3471 # We chose a different compiler from the bogus one.
3472 # However, it has the same basename, so the bogon will be chosen
3473 # first if we set CC to just the basename; use the full file name.
3475 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3481 if test -n "$CC"; then
3482 echo "$as_me:$LINENO: result: $CC" >&5
3483 echo "${ECHO_T}$CC" >&6
3485 echo "$as_me:$LINENO: result: no" >&5
3486 echo "${ECHO_T}no" >&6
3490 if test -z "$CC"; then
3491 if test -n "$ac_tool_prefix"; then
3494 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3495 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3496 echo "$as_me:$LINENO: checking for $ac_word" >&5
3497 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3498 if test "${ac_cv_prog_CC+set}" = set; then
3499 echo $ECHO_N "(cached) $ECHO_C" >&6
3501 if test -n "$CC"; then
3502 ac_cv_prog_CC="$CC" # Let the user override the test.
3504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3508 test -z "$as_dir" && as_dir=.
3509 for ac_exec_ext in '' $ac_executable_extensions; do
3510 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3511 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3512 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3521 if test -n "$CC"; then
3522 echo "$as_me:$LINENO: result: $CC" >&5
3523 echo "${ECHO_T}$CC" >&6
3525 echo "$as_me:$LINENO: result: no" >&5
3526 echo "${ECHO_T}no" >&6
3529 test -n "$CC" && break
3532 if test -z "$CC"; then
3536 # Extract the first word of "$ac_prog", so it can be a program name with args.
3537 set dummy $ac_prog; ac_word=$2
3538 echo "$as_me:$LINENO: checking for $ac_word" >&5
3539 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3540 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3541 echo $ECHO_N "(cached) $ECHO_C" >&6
3543 if test -n "$ac_ct_CC"; then
3544 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3550 test -z "$as_dir" && as_dir=.
3551 for ac_exec_ext in '' $ac_executable_extensions; do
3552 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3553 ac_cv_prog_ac_ct_CC="$ac_prog"
3554 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3562 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3563 if test -n "$ac_ct_CC"; then
3564 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3565 echo "${ECHO_T}$ac_ct_CC" >&6
3567 echo "$as_me:$LINENO: result: no" >&5
3568 echo "${ECHO_T}no" >&6
3571 test -n "$ac_ct_CC" && break
3580 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3581 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3582 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3583 See \`config.log' for more details." >&5
3584 echo "$as_me: error: no acceptable C compiler found in \$PATH
3585 See \`config.log' for more details." >&2;}
3586 { (exit 1); exit 1; }; }; }
3588 # Provide some information about the compiler.
3589 echo "$as_me:$LINENO:" \
3590 "checking for C compiler version" >&5
3591 ac_compiler=`set X $ac_compile; echo $2`
3592 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3593 (eval $ac_compiler --version </dev/null >&5) 2>&5
3595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3596 (exit $ac_status); }
3597 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3598 (eval $ac_compiler -v </dev/null >&5) 2>&5
3600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3601 (exit $ac_status); }
3602 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3603 (eval $ac_compiler -V </dev/null >&5) 2>&5
3605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3606 (exit $ac_status); }
3608 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3609 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3610 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3611 echo $ECHO_N "(cached) $ECHO_C" >&6
3613 cat >conftest.$ac_ext <<_ACEOF
3616 cat confdefs.h >>conftest.$ac_ext
3617 cat >>conftest.$ac_ext <<_ACEOF
3618 /* end confdefs.h. */
3631 rm -f conftest.$ac_objext
3632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3633 (eval $ac_compile) 2>conftest.er1
3635 grep -v '^ *+' conftest.er1 >conftest.err
3637 cat conftest.err >&5
3638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3639 (exit $ac_status); } &&
3640 { ac_try='test -z "$ac_c_werror_flag"
3641 || test ! -s conftest.err'
3642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3646 (exit $ac_status); }; } &&
3647 { ac_try='test -s conftest.$ac_objext'
3648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3652 (exit $ac_status); }; }; then
3655 echo "$as_me: failed program was:" >&5
3656 sed 's/^/| /' conftest.$ac_ext >&5
3660 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3661 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3664 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3665 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3666 GCC=`test $ac_compiler_gnu = yes && echo yes`
3667 ac_test_CFLAGS=${CFLAGS+set}
3668 ac_save_CFLAGS=$CFLAGS
3670 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3671 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3672 if test "${ac_cv_prog_cc_g+set}" = set; then
3673 echo $ECHO_N "(cached) $ECHO_C" >&6
3675 cat >conftest.$ac_ext <<_ACEOF
3678 cat confdefs.h >>conftest.$ac_ext
3679 cat >>conftest.$ac_ext <<_ACEOF
3680 /* end confdefs.h. */
3690 rm -f conftest.$ac_objext
3691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3692 (eval $ac_compile) 2>conftest.er1
3694 grep -v '^ *+' conftest.er1 >conftest.err
3696 cat conftest.err >&5
3697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3698 (exit $ac_status); } &&
3699 { ac_try='test -z "$ac_c_werror_flag"
3700 || test ! -s conftest.err'
3701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3705 (exit $ac_status); }; } &&
3706 { ac_try='test -s conftest.$ac_objext'
3707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3711 (exit $ac_status); }; }; then
3714 echo "$as_me: failed program was:" >&5
3715 sed 's/^/| /' conftest.$ac_ext >&5
3719 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3721 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3722 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3723 if test "$ac_test_CFLAGS" = set; then
3724 CFLAGS=$ac_save_CFLAGS
3725 elif test $ac_cv_prog_cc_g = yes; then
3726 if test "$GCC" = yes; then
3732 if test "$GCC" = yes; then
3738 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3739 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3740 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3741 echo $ECHO_N "(cached) $ECHO_C" >&6
3743 ac_cv_prog_cc_stdc=no
3745 cat >conftest.$ac_ext <<_ACEOF
3748 cat confdefs.h >>conftest.$ac_ext
3749 cat >>conftest.$ac_ext <<_ACEOF
3750 /* end confdefs.h. */
3753 #include <sys/types.h>
3754 #include <sys/stat.h>
3755 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3756 struct buf { int x; };
3757 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3758 static char *e (p, i)
3764 static char *f (char * (*g) (char **, int), char **p, ...)
3769 s = g (p, va_arg (v,int));
3774 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3775 function prototypes and stuff, but not '\xHH' hex character constants.
3776 These don't provoke an error unfortunately, instead are silently treated
3777 as 'x'. The following induces an error, until -std1 is added to get
3778 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3779 array size at least. It's necessary to write '\x00'==0 to get something
3780 that's true only with -std1. */
3781 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3783 int test (int i, double x);
3784 struct s1 {int (*f) (int a);};
3785 struct s2 {int (*f) (double a);};
3786 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3792 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3797 # Don't try gcc -ansi; that turns off useful extensions and
3798 # breaks some systems' header files.
3799 # AIX -qlanglvl=ansi
3800 # Ultrix and OSF/1 -std1
3801 # HP-UX 10.20 and later -Ae
3802 # HP-UX older versions -Aa -D_HPUX_SOURCE
3803 # SVR4 -Xc -D__EXTENSIONS__
3804 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3806 CC="$ac_save_CC $ac_arg"
3807 rm -f conftest.$ac_objext
3808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3809 (eval $ac_compile) 2>conftest.er1
3811 grep -v '^ *+' conftest.er1 >conftest.err
3813 cat conftest.err >&5
3814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3815 (exit $ac_status); } &&
3816 { ac_try='test -z "$ac_c_werror_flag"
3817 || test ! -s conftest.err'
3818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3822 (exit $ac_status); }; } &&
3823 { ac_try='test -s conftest.$ac_objext'
3824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3828 (exit $ac_status); }; }; then
3829 ac_cv_prog_cc_stdc=$ac_arg
3832 echo "$as_me: failed program was:" >&5
3833 sed 's/^/| /' conftest.$ac_ext >&5
3836 rm -f conftest.err conftest.$ac_objext
3838 rm -f conftest.$ac_ext conftest.$ac_objext
3843 case "x$ac_cv_prog_cc_stdc" in
3845 echo "$as_me:$LINENO: result: none needed" >&5
3846 echo "${ECHO_T}none needed" >&6 ;;
3848 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3849 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3850 CC="$CC $ac_cv_prog_cc_stdc" ;;
3853 # Some people use a C++ compiler to compile C. Since we use `exit',
3854 # in C++ we need to declare it. In case someone uses the same compiler
3855 # for both compiling C and C++ we need to have the C++ compiler decide
3856 # the declaration of exit, since it's the most demanding environment.
3857 cat >conftest.$ac_ext <<_ACEOF
3862 rm -f conftest.$ac_objext
3863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3864 (eval $ac_compile) 2>conftest.er1
3866 grep -v '^ *+' conftest.er1 >conftest.err
3868 cat conftest.err >&5
3869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3870 (exit $ac_status); } &&
3871 { ac_try='test -z "$ac_c_werror_flag"
3872 || test ! -s conftest.err'
3873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3877 (exit $ac_status); }; } &&
3878 { ac_try='test -s conftest.$ac_objext'
3879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3883 (exit $ac_status); }; }; then
3884 for ac_declaration in \
3886 'extern "C" void std::exit (int) throw (); using std::exit;' \
3887 'extern "C" void std::exit (int); using std::exit;' \
3888 'extern "C" void exit (int) throw ();' \
3889 'extern "C" void exit (int);' \
3892 cat >conftest.$ac_ext <<_ACEOF
3895 cat confdefs.h >>conftest.$ac_ext
3896 cat >>conftest.$ac_ext <<_ACEOF
3897 /* end confdefs.h. */
3908 rm -f conftest.$ac_objext
3909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3910 (eval $ac_compile) 2>conftest.er1
3912 grep -v '^ *+' conftest.er1 >conftest.err
3914 cat conftest.err >&5
3915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3916 (exit $ac_status); } &&
3917 { ac_try='test -z "$ac_c_werror_flag"
3918 || test ! -s conftest.err'
3919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3923 (exit $ac_status); }; } &&
3924 { ac_try='test -s conftest.$ac_objext'
3925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3929 (exit $ac_status); }; }; then
3932 echo "$as_me: failed program was:" >&5
3933 sed 's/^/| /' conftest.$ac_ext >&5
3937 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3938 cat >conftest.$ac_ext <<_ACEOF
3941 cat confdefs.h >>conftest.$ac_ext
3942 cat >>conftest.$ac_ext <<_ACEOF
3943 /* end confdefs.h. */
3953 rm -f conftest.$ac_objext
3954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3955 (eval $ac_compile) 2>conftest.er1
3957 grep -v '^ *+' conftest.er1 >conftest.err
3959 cat conftest.err >&5
3960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3961 (exit $ac_status); } &&
3962 { ac_try='test -z "$ac_c_werror_flag"
3963 || test ! -s conftest.err'
3964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3968 (exit $ac_status); }; } &&
3969 { ac_try='test -s conftest.$ac_objext'
3970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3974 (exit $ac_status); }; }; then
3977 echo "$as_me: failed program was:" >&5
3978 sed 's/^/| /' conftest.$ac_ext >&5
3981 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3984 if test -n "$ac_declaration"; then
3985 echo '#ifdef __cplusplus' >>confdefs.h
3986 echo $ac_declaration >>confdefs.h
3987 echo '#endif' >>confdefs.h
3991 echo "$as_me: failed program was:" >&5
3992 sed 's/^/| /' conftest.$ac_ext >&5
3995 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3997 ac_cpp='$CPP $CPPFLAGS'
3998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4003 cat >>confdefs.h <<\_ACEOF
4004 #define _GNU_SOURCE 1
4009 ac_cpp='$CPP $CPPFLAGS'
4010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4013 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4014 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4015 # On Suns, sometimes $CPP names a directory.
4016 if test -n "$CPP" && test -d "$CPP"; then
4019 if test -z "$CPP"; then
4020 if test "${ac_cv_prog_CPP+set}" = set; then
4021 echo $ECHO_N "(cached) $ECHO_C" >&6
4023 # Double quotes because CPP needs to be expanded
4024 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4027 for ac_c_preproc_warn_flag in '' yes
4029 # Use a header file that comes with gcc, so configuring glibc
4030 # with a fresh cross-compiler works.
4031 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4032 # <limits.h> exists even on freestanding compilers.
4033 # On the NeXT, cc -E runs the code through the compiler's parser,
4034 # not just through cpp. "Syntax error" is here to catch this case.
4035 cat >conftest.$ac_ext <<_ACEOF
4038 cat confdefs.h >>conftest.$ac_ext
4039 cat >>conftest.$ac_ext <<_ACEOF
4040 /* end confdefs.h. */
4042 # include <limits.h>
4044 # include <assert.h>
4048 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4049 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4051 grep -v '^ *+' conftest.er1 >conftest.err
4053 cat conftest.err >&5
4054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4055 (exit $ac_status); } >/dev/null; then
4056 if test -s conftest.err; then
4057 ac_cpp_err=$ac_c_preproc_warn_flag
4058 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4065 if test -z "$ac_cpp_err"; then
4068 echo "$as_me: failed program was:" >&5
4069 sed 's/^/| /' conftest.$ac_ext >&5
4071 # Broken: fails on valid input.
4074 rm -f conftest.err conftest.$ac_ext
4076 # OK, works on sane cases. Now check whether non-existent headers
4077 # can be detected and how.
4078 cat >conftest.$ac_ext <<_ACEOF
4081 cat confdefs.h >>conftest.$ac_ext
4082 cat >>conftest.$ac_ext <<_ACEOF
4083 /* end confdefs.h. */
4084 #include <ac_nonexistent.h>
4086 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4087 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4089 grep -v '^ *+' conftest.er1 >conftest.err
4091 cat conftest.err >&5
4092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4093 (exit $ac_status); } >/dev/null; then
4094 if test -s conftest.err; then
4095 ac_cpp_err=$ac_c_preproc_warn_flag
4096 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4103 if test -z "$ac_cpp_err"; then
4104 # Broken: success on invalid input.
4107 echo "$as_me: failed program was:" >&5
4108 sed 's/^/| /' conftest.$ac_ext >&5
4110 # Passes both tests.
4114 rm -f conftest.err conftest.$ac_ext
4117 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4118 rm -f conftest.err conftest.$ac_ext
4119 if $ac_preproc_ok; then
4131 echo "$as_me:$LINENO: result: $CPP" >&5
4132 echo "${ECHO_T}$CPP" >&6
4134 for ac_c_preproc_warn_flag in '' yes
4136 # Use a header file that comes with gcc, so configuring glibc
4137 # with a fresh cross-compiler works.
4138 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4139 # <limits.h> exists even on freestanding compilers.
4140 # On the NeXT, cc -E runs the code through the compiler's parser,
4141 # not just through cpp. "Syntax error" is here to catch this case.
4142 cat >conftest.$ac_ext <<_ACEOF
4145 cat confdefs.h >>conftest.$ac_ext
4146 cat >>conftest.$ac_ext <<_ACEOF
4147 /* end confdefs.h. */
4149 # include <limits.h>
4151 # include <assert.h>
4155 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4156 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4158 grep -v '^ *+' conftest.er1 >conftest.err
4160 cat conftest.err >&5
4161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4162 (exit $ac_status); } >/dev/null; then
4163 if test -s conftest.err; then
4164 ac_cpp_err=$ac_c_preproc_warn_flag
4165 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4172 if test -z "$ac_cpp_err"; then
4175 echo "$as_me: failed program was:" >&5
4176 sed 's/^/| /' conftest.$ac_ext >&5
4178 # Broken: fails on valid input.
4181 rm -f conftest.err conftest.$ac_ext
4183 # OK, works on sane cases. Now check whether non-existent headers
4184 # can be detected and how.
4185 cat >conftest.$ac_ext <<_ACEOF
4188 cat confdefs.h >>conftest.$ac_ext
4189 cat >>conftest.$ac_ext <<_ACEOF
4190 /* end confdefs.h. */
4191 #include <ac_nonexistent.h>
4193 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4194 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4196 grep -v '^ *+' conftest.er1 >conftest.err
4198 cat conftest.err >&5
4199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4200 (exit $ac_status); } >/dev/null; then
4201 if test -s conftest.err; then
4202 ac_cpp_err=$ac_c_preproc_warn_flag
4203 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4210 if test -z "$ac_cpp_err"; then
4211 # Broken: success on invalid input.
4214 echo "$as_me: failed program was:" >&5
4215 sed 's/^/| /' conftest.$ac_ext >&5
4217 # Passes both tests.
4221 rm -f conftest.err conftest.$ac_ext
4224 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4225 rm -f conftest.err conftest.$ac_ext
4226 if $ac_preproc_ok; then
4229 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4230 echo "$as_me: error: in \`$ac_pwd':" >&2;}
4231 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4232 See \`config.log' for more details." >&5
4233 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4234 See \`config.log' for more details." >&2;}
4235 { (exit 1); exit 1; }; }; }
4239 ac_cpp='$CPP $CPPFLAGS'
4240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4245 echo "$as_me:$LINENO: checking for egrep" >&5
4246 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4247 if test "${ac_cv_prog_egrep+set}" = set; then
4248 echo $ECHO_N "(cached) $ECHO_C" >&6
4250 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
4251 then ac_cv_prog_egrep='grep -E'
4252 else ac_cv_prog_egrep='egrep'
4255 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4256 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4257 EGREP=$ac_cv_prog_egrep
4260 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4261 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4262 if test "${ac_cv_header_stdc+set}" = set; then
4263 echo $ECHO_N "(cached) $ECHO_C" >&6
4265 cat >conftest.$ac_ext <<_ACEOF
4268 cat confdefs.h >>conftest.$ac_ext
4269 cat >>conftest.$ac_ext <<_ACEOF
4270 /* end confdefs.h. */
4284 rm -f conftest.$ac_objext
4285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4286 (eval $ac_compile) 2>conftest.er1
4288 grep -v '^ *+' conftest.er1 >conftest.err
4290 cat conftest.err >&5
4291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4292 (exit $ac_status); } &&
4293 { ac_try='test -z "$ac_c_werror_flag"
4294 || test ! -s conftest.err'
4295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4299 (exit $ac_status); }; } &&
4300 { ac_try='test -s conftest.$ac_objext'
4301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4305 (exit $ac_status); }; }; then
4306 ac_cv_header_stdc=yes
4308 echo "$as_me: failed program was:" >&5
4309 sed 's/^/| /' conftest.$ac_ext >&5
4311 ac_cv_header_stdc=no
4313 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4315 if test $ac_cv_header_stdc = yes; then
4316 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4317 cat >conftest.$ac_ext <<_ACEOF
4320 cat confdefs.h >>conftest.$ac_ext
4321 cat >>conftest.$ac_ext <<_ACEOF
4322 /* end confdefs.h. */
4326 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4327 $EGREP "memchr" >/dev/null 2>&1; then
4330 ac_cv_header_stdc=no
4336 if test $ac_cv_header_stdc = yes; then
4337 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4338 cat >conftest.$ac_ext <<_ACEOF
4341 cat confdefs.h >>conftest.$ac_ext
4342 cat >>conftest.$ac_ext <<_ACEOF
4343 /* end confdefs.h. */
4347 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4348 $EGREP "free" >/dev/null 2>&1; then
4351 ac_cv_header_stdc=no
4357 if test $ac_cv_header_stdc = yes; then
4358 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4359 if test "$cross_compiling" = yes; then
4362 cat >conftest.$ac_ext <<_ACEOF
4365 cat confdefs.h >>conftest.$ac_ext
4366 cat >>conftest.$ac_ext <<_ACEOF
4367 /* end confdefs.h. */
4369 #if ((' ' & 0x0FF) == 0x020)
4370 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4371 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4373 # define ISLOWER(c) \
4374 (('a' <= (c) && (c) <= 'i') \
4375 || ('j' <= (c) && (c) <= 'r') \
4376 || ('s' <= (c) && (c) <= 'z'))
4377 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4380 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4385 for (i = 0; i < 256; i++)
4386 if (XOR (islower (i), ISLOWER (i))
4387 || toupper (i) != TOUPPER (i))
4392 rm -f conftest$ac_exeext
4393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4394 (eval $ac_link) 2>&5
4396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4397 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4402 (exit $ac_status); }; }; then
4405 echo "$as_me: program exited with status $ac_status" >&5
4406 echo "$as_me: failed program was:" >&5
4407 sed 's/^/| /' conftest.$ac_ext >&5
4410 ac_cv_header_stdc=no
4412 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4416 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4417 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4418 if test $ac_cv_header_stdc = yes; then
4420 cat >>confdefs.h <<\_ACEOF
4421 #define STDC_HEADERS 1
4426 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4436 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4437 inttypes.h stdint.h unistd.h
4439 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4440 echo "$as_me:$LINENO: checking for $ac_header" >&5
4441 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4442 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4443 echo $ECHO_N "(cached) $ECHO_C" >&6
4445 cat >conftest.$ac_ext <<_ACEOF
4448 cat confdefs.h >>conftest.$ac_ext
4449 cat >>conftest.$ac_ext <<_ACEOF
4450 /* end confdefs.h. */
4451 $ac_includes_default
4453 #include <$ac_header>
4455 rm -f conftest.$ac_objext
4456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4457 (eval $ac_compile) 2>conftest.er1
4459 grep -v '^ *+' conftest.er1 >conftest.err
4461 cat conftest.err >&5
4462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4463 (exit $ac_status); } &&
4464 { ac_try='test -z "$ac_c_werror_flag"
4465 || test ! -s conftest.err'
4466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4470 (exit $ac_status); }; } &&
4471 { ac_try='test -s conftest.$ac_objext'
4472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4476 (exit $ac_status); }; }; then
4477 eval "$as_ac_Header=yes"
4479 echo "$as_me: failed program was:" >&5
4480 sed 's/^/| /' conftest.$ac_ext >&5
4482 eval "$as_ac_Header=no"
4484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4486 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4487 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4488 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4489 cat >>confdefs.h <<_ACEOF
4490 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4499 if test "${ac_cv_header_minix_config_h+set}" = set; then
4500 echo "$as_me:$LINENO: checking for minix/config.h" >&5
4501 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
4502 if test "${ac_cv_header_minix_config_h+set}" = set; then
4503 echo $ECHO_N "(cached) $ECHO_C" >&6
4505 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4506 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
4508 # Is the header compilable?
4509 echo "$as_me:$LINENO: checking minix/config.h usability" >&5
4510 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6
4511 cat >conftest.$ac_ext <<_ACEOF
4514 cat confdefs.h >>conftest.$ac_ext
4515 cat >>conftest.$ac_ext <<_ACEOF
4516 /* end confdefs.h. */
4517 $ac_includes_default
4518 #include <minix/config.h>
4520 rm -f conftest.$ac_objext
4521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4522 (eval $ac_compile) 2>conftest.er1
4524 grep -v '^ *+' conftest.er1 >conftest.err
4526 cat conftest.err >&5
4527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4528 (exit $ac_status); } &&
4529 { ac_try='test -z "$ac_c_werror_flag"
4530 || test ! -s conftest.err'
4531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4535 (exit $ac_status); }; } &&
4536 { ac_try='test -s conftest.$ac_objext'
4537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4541 (exit $ac_status); }; }; then
4542 ac_header_compiler=yes
4544 echo "$as_me: failed program was:" >&5
4545 sed 's/^/| /' conftest.$ac_ext >&5
4547 ac_header_compiler=no
4549 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4550 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4551 echo "${ECHO_T}$ac_header_compiler" >&6
4553 # Is the header present?
4554 echo "$as_me:$LINENO: checking minix/config.h presence" >&5
4555 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6
4556 cat >conftest.$ac_ext <<_ACEOF
4559 cat confdefs.h >>conftest.$ac_ext
4560 cat >>conftest.$ac_ext <<_ACEOF
4561 /* end confdefs.h. */
4562 #include <minix/config.h>
4564 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4565 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4567 grep -v '^ *+' conftest.er1 >conftest.err
4569 cat conftest.err >&5
4570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4571 (exit $ac_status); } >/dev/null; then
4572 if test -s conftest.err; then
4573 ac_cpp_err=$ac_c_preproc_warn_flag
4574 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4581 if test -z "$ac_cpp_err"; then
4582 ac_header_preproc=yes
4584 echo "$as_me: failed program was:" >&5
4585 sed 's/^/| /' conftest.$ac_ext >&5
4587 ac_header_preproc=no
4589 rm -f conftest.err conftest.$ac_ext
4590 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4591 echo "${ECHO_T}$ac_header_preproc" >&6
4593 # So? What about this header?
4594 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4596 { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
4597 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4598 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
4599 echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
4600 ac_header_preproc=yes
4603 { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
4604 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
4605 { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
4606 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
4607 { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
4608 echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
4609 { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
4610 echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
4611 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
4612 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
4613 { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
4614 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
4617 ## ------------------------------------------ ##
4618 ## Report this to the AC_PACKAGE_NAME lists. ##
4619 ## ------------------------------------------ ##
4622 sed "s/^/$as_me: WARNING: /" >&2
4625 echo "$as_me:$LINENO: checking for minix/config.h" >&5
4626 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
4627 if test "${ac_cv_header_minix_config_h+set}" = set; then
4628 echo $ECHO_N "(cached) $ECHO_C" >&6
4630 ac_cv_header_minix_config_h=$ac_header_preproc
4632 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4633 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
4636 if test $ac_cv_header_minix_config_h = yes; then
4643 if test "$MINIX" = yes; then
4645 cat >>confdefs.h <<\_ACEOF
4646 #define _POSIX_SOURCE 1
4650 cat >>confdefs.h <<\_ACEOF
4651 #define _POSIX_1_SOURCE 2
4655 cat >>confdefs.h <<\_ACEOF
4663 echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
4664 echo $ECHO_N "checking whether it is safe to define __EXTENSIONS__... $ECHO_C" >&6
4665 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
4666 echo $ECHO_N "(cached) $ECHO_C" >&6
4668 cat >conftest.$ac_ext <<_ACEOF
4671 cat confdefs.h >>conftest.$ac_ext
4672 cat >>conftest.$ac_ext <<_ACEOF
4673 /* end confdefs.h. */
4675 # define __EXTENSIONS__ 1
4676 $ac_includes_default
4685 rm -f conftest.$ac_objext
4686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4687 (eval $ac_compile) 2>conftest.er1
4689 grep -v '^ *+' conftest.er1 >conftest.err
4691 cat conftest.err >&5
4692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4693 (exit $ac_status); } &&
4694 { ac_try='test -z "$ac_c_werror_flag"
4695 || test ! -s conftest.err'
4696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4700 (exit $ac_status); }; } &&
4701 { ac_try='test -s conftest.$ac_objext'
4702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4706 (exit $ac_status); }; }; then
4707 ac_cv_safe_to_define___extensions__=yes
4709 echo "$as_me: failed program was:" >&5
4710 sed 's/^/| /' conftest.$ac_ext >&5
4712 ac_cv_safe_to_define___extensions__=no
4714 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4716 echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
4717 echo "${ECHO_T}$ac_cv_safe_to_define___extensions__" >&6
4718 test $ac_cv_safe_to_define___extensions__ = yes &&
4719 cat >>confdefs.h <<\_ACEOF
4720 #define __EXTENSIONS__ 1
4723 cat >>confdefs.h <<\_ACEOF
4724 #define _ALL_SOURCE 1
4727 cat >>confdefs.h <<\_ACEOF
4728 #define _GNU_SOURCE 1
4731 cat >>confdefs.h <<\_ACEOF
4732 #define _POSIX_PTHREAD_SEMANTICS 1
4735 cat >>confdefs.h <<\_ACEOF
4736 #define _TANDEM_SOURCE 1
4741 if test -n "$ac_tool_prefix"; then
4742 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4743 set dummy ${ac_tool_prefix}ar; ac_word=$2
4744 echo "$as_me:$LINENO: checking for $ac_word" >&5
4745 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4746 if test "${ac_cv_prog_AR+set}" = set; then
4747 echo $ECHO_N "(cached) $ECHO_C" >&6
4749 if test -n "$AR"; then
4750 ac_cv_prog_AR="$AR" # Let the user override the test.
4752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4756 test -z "$as_dir" && as_dir=.
4757 for ac_exec_ext in '' $ac_executable_extensions; do
4758 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4759 ac_cv_prog_AR="${ac_tool_prefix}ar"
4760 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4769 if test -n "$AR"; then
4770 echo "$as_me:$LINENO: result: $AR" >&5
4771 echo "${ECHO_T}$AR" >&6
4773 echo "$as_me:$LINENO: result: no" >&5
4774 echo "${ECHO_T}no" >&6
4778 if test -z "$ac_cv_prog_AR"; then
4780 # Extract the first word of "ar", so it can be a program name with args.
4781 set dummy ar; ac_word=$2
4782 echo "$as_me:$LINENO: checking for $ac_word" >&5
4783 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4784 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4785 echo $ECHO_N "(cached) $ECHO_C" >&6
4787 if test -n "$ac_ct_AR"; then
4788 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4794 test -z "$as_dir" && as_dir=.
4795 for ac_exec_ext in '' $ac_executable_extensions; do
4796 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4797 ac_cv_prog_ac_ct_AR="ar"
4798 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4806 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4807 if test -n "$ac_ct_AR"; then
4808 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4809 echo "${ECHO_T}$ac_ct_AR" >&6
4811 echo "$as_me:$LINENO: result: no" >&5
4812 echo "${ECHO_T}no" >&6
4820 if test -n "$ac_tool_prefix"; then
4821 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4822 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4823 echo "$as_me:$LINENO: checking for $ac_word" >&5
4824 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4825 if test "${ac_cv_prog_RANLIB+set}" = set; then
4826 echo $ECHO_N "(cached) $ECHO_C" >&6
4828 if test -n "$RANLIB"; then
4829 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4835 test -z "$as_dir" && as_dir=.
4836 for ac_exec_ext in '' $ac_executable_extensions; do
4837 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4838 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4839 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4847 RANLIB=$ac_cv_prog_RANLIB
4848 if test -n "$RANLIB"; then
4849 echo "$as_me:$LINENO: result: $RANLIB" >&5
4850 echo "${ECHO_T}$RANLIB" >&6
4852 echo "$as_me:$LINENO: result: no" >&5
4853 echo "${ECHO_T}no" >&6
4857 if test -z "$ac_cv_prog_RANLIB"; then
4858 ac_ct_RANLIB=$RANLIB
4859 # Extract the first word of "ranlib", so it can be a program name with args.
4860 set dummy ranlib; ac_word=$2
4861 echo "$as_me:$LINENO: checking for $ac_word" >&5
4862 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4863 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4864 echo $ECHO_N "(cached) $ECHO_C" >&6
4866 if test -n "$ac_ct_RANLIB"; then
4867 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4873 test -z "$as_dir" && as_dir=.
4874 for ac_exec_ext in '' $ac_executable_extensions; do
4875 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4876 ac_cv_prog_ac_ct_RANLIB="ranlib"
4877 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4883 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4886 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4887 if test -n "$ac_ct_RANLIB"; then
4888 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4889 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4891 echo "$as_me:$LINENO: result: no" >&5
4892 echo "${ECHO_T}no" >&6
4895 RANLIB=$ac_ct_RANLIB
4897 RANLIB="$ac_cv_prog_RANLIB"
4901 # Check whether --enable-shared or --disable-shared was given.
4902 if test "${enable_shared+set}" = set; then
4903 enableval="$enable_shared"
4904 p=${PACKAGE-default}
4906 yes) enable_shared=yes ;;
4907 no) enable_shared=no ;;
4910 # Look at the argument we got. We use all the common list separators.
4911 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4912 for pkg in $enableval; do
4914 if test "X$pkg" = "X$p"; then
4935 { echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4936 echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4941 macro_version='2.2.6'
4942 macro_revision='1.3012'
4956 ltmain="$ac_aux_dir/ltmain.sh"
4958 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4959 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
4960 if test "${lt_cv_path_SED+set}" = set; then
4961 echo $ECHO_N "(cached) $ECHO_C" >&6
4963 # Loop through the user's path and test for sed and gsed.
4964 # Then use that list of sed's as ones to test for truncation.
4965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4969 test -z "$as_dir" && as_dir=.
4970 for lt_ac_prog in sed gsed; do
4971 for ac_exec_ext in '' $ac_executable_extensions; do
4972 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4973 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4981 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4982 # along with /bin/sed that truncates output.
4983 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4984 test ! -f $lt_ac_sed && continue
4985 cat /dev/null > conftest.in
4987 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
4988 # Check for GNU sed and select it if it is found.
4989 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
4990 lt_cv_path_SED=$lt_ac_sed
4994 cat conftest.in conftest.in >conftest.tmp
4995 mv conftest.tmp conftest.in
4996 cp conftest.in conftest.nl
4998 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
4999 cmp -s conftest.out conftest.nl || break
5000 # 10000 chars as input seems more than enough
5001 test $lt_ac_count -gt 10 && break
5002 lt_ac_count=`expr $lt_ac_count + 1`
5003 if test $lt_ac_count -gt $lt_ac_max; then
5004 lt_ac_max=$lt_ac_count
5005 lt_cv_path_SED=$lt_ac_sed
5014 echo "$as_me:$LINENO: result: $SED" >&5
5015 echo "${ECHO_T}$SED" >&6
5017 test -z "$SED" && SED=sed
5018 Xsed="$SED -e 1s/^X//"
5030 echo "$as_me:$LINENO: checking for fgrep" >&5
5031 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
5032 if test "${ac_cv_prog_fgrep+set}" = set; then
5033 echo $ECHO_N "(cached) $ECHO_C" >&6
5035 if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1
5036 then ac_cv_prog_fgrep='grep -F'
5037 else ac_cv_prog_fgrep='fgrep'
5040 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
5041 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
5042 FGREP=$ac_cv_prog_fgrep
5045 test -z "$GREP" && GREP=grep
5065 # Check whether --with-gnu-ld or --without-gnu-ld was given.
5066 if test "${with_gnu_ld+set}" = set; then
5067 withval="$with_gnu_ld"
5068 test "$withval" = no || with_gnu_ld=yes
5073 if test "$GCC" = yes; then
5074 # Check if gcc -print-prog-name=ld gives a path.
5075 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
5076 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
5079 # gcc leaves a trailing carriage return which upsets mingw
5080 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5082 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5085 # Accept absolute paths.
5087 re_direlt='/[^/][^/]*/\.\./'
5088 # Canonicalize the pathname of ld
5089 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5090 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5091 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5093 test -z "$LD" && LD="$ac_prog"
5096 # If it fails, then pretend we aren't using GCC.
5100 # If it is relative, then search for the first ld in PATH.
5104 elif test "$with_gnu_ld" = yes; then
5105 echo "$as_me:$LINENO: checking for GNU ld" >&5
5106 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
5108 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5109 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
5111 if test "${lt_cv_path_LD+set}" = set; then
5112 echo $ECHO_N "(cached) $ECHO_C" >&6
5114 if test -z "$LD"; then
5115 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5116 for ac_dir in $PATH; do
5118 test -z "$ac_dir" && ac_dir=.
5119 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5120 lt_cv_path_LD="$ac_dir/$ac_prog"
5121 # Check to see if the program is GNU ld. I'd rather use --version,
5122 # but apparently some variants of GNU ld only accept -v.
5123 # Break only if it was the GNU/non-GNU ld that we prefer.
5124 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5125 *GNU* | *'with BFD'*)
5126 test "$with_gnu_ld" != no && break
5129 test "$with_gnu_ld" != yes && break
5136 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5141 if test -n "$LD"; then
5142 echo "$as_me:$LINENO: result: $LD" >&5
5143 echo "${ECHO_T}$LD" >&6
5145 echo "$as_me:$LINENO: result: no" >&5
5146 echo "${ECHO_T}no" >&6
5148 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5149 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5150 { (exit 1); exit 1; }; }
5151 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5152 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
5153 if test "${lt_cv_prog_gnu_ld+set}" = set; then
5154 echo $ECHO_N "(cached) $ECHO_C" >&6
5156 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5157 case `$LD -v 2>&1 </dev/null` in
5158 *GNU* | *'with BFD'*)
5159 lt_cv_prog_gnu_ld=yes
5162 lt_cv_prog_gnu_ld=no
5166 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5167 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
5168 with_gnu_ld=$lt_cv_prog_gnu_ld
5178 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
5179 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
5180 if test "${lt_cv_path_NM+set}" = set; then
5181 echo $ECHO_N "(cached) $ECHO_C" >&6
5183 if test -n "$NM"; then
5184 # Let the user override the test.
5187 lt_nm_to_check="${ac_tool_prefix}nm"
5188 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5189 lt_nm_to_check="$lt_nm_to_check nm"
5191 for lt_tmp_nm in $lt_nm_to_check; do
5192 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5193 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5195 test -z "$ac_dir" && ac_dir=.
5196 tmp_nm="$ac_dir/$lt_tmp_nm"
5197 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5198 # Check to see if the nm accepts a BSD-compat flag.
5199 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5200 # nm: unknown option "B" ignored
5201 # Tru64's nm complains that /dev/null is an invalid object file
5202 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5203 */dev/null* | *'Invalid file or object type'*)
5204 lt_cv_path_NM="$tmp_nm -B"
5208 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5210 lt_cv_path_NM="$tmp_nm -p"
5214 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5215 continue # so that we can try to find one that supports BSD flags
5224 : ${lt_cv_path_NM=no}
5227 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5228 echo "${ECHO_T}$lt_cv_path_NM" >&6
5229 if test "$lt_cv_path_NM" != "no"; then
5232 # Didn't find any BSD compatible name lister, look for dumpbin.
5233 if test -n "$ac_tool_prefix"; then
5234 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5236 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5237 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5238 echo "$as_me:$LINENO: checking for $ac_word" >&5
5239 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5240 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
5241 echo $ECHO_N "(cached) $ECHO_C" >&6
5243 if test -n "$DUMPBIN"; then
5244 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5250 test -z "$as_dir" && as_dir=.
5251 for ac_exec_ext in '' $ac_executable_extensions; do
5252 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5253 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5254 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5262 DUMPBIN=$ac_cv_prog_DUMPBIN
5263 if test -n "$DUMPBIN"; then
5264 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
5265 echo "${ECHO_T}$DUMPBIN" >&6
5267 echo "$as_me:$LINENO: result: no" >&5
5268 echo "${ECHO_T}no" >&6
5271 test -n "$DUMPBIN" && break
5274 if test -z "$DUMPBIN"; then
5275 ac_ct_DUMPBIN=$DUMPBIN
5276 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5278 # Extract the first word of "$ac_prog", so it can be a program name with args.
5279 set dummy $ac_prog; ac_word=$2
5280 echo "$as_me:$LINENO: checking for $ac_word" >&5
5281 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5282 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
5283 echo $ECHO_N "(cached) $ECHO_C" >&6
5285 if test -n "$ac_ct_DUMPBIN"; then
5286 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5292 test -z "$as_dir" && as_dir=.
5293 for ac_exec_ext in '' $ac_executable_extensions; do
5294 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5295 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5296 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5304 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5305 if test -n "$ac_ct_DUMPBIN"; then
5306 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
5307 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
5309 echo "$as_me:$LINENO: result: no" >&5
5310 echo "${ECHO_T}no" >&6
5313 test -n "$ac_ct_DUMPBIN" && break
5315 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN=":"
5317 DUMPBIN=$ac_ct_DUMPBIN
5321 if test "$DUMPBIN" != ":"; then
5325 test -z "$NM" && NM=nm
5332 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
5333 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
5334 if test "${lt_cv_nm_interface+set}" = set; then
5335 echo $ECHO_N "(cached) $ECHO_C" >&6
5337 lt_cv_nm_interface="BSD nm"
5338 echo "int some_variable = 0;" > conftest.$ac_ext
5339 (eval echo "\"\$as_me:5339: $ac_compile\"" >&5)
5340 (eval "$ac_compile" 2>conftest.err)
5341 cat conftest.err >&5
5342 (eval echo "\"\$as_me:5342: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5343 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5344 cat conftest.err >&5
5345 (eval echo "\"\$as_me:5345: output\"" >&5)
5346 cat conftest.out >&5
5347 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5348 lt_cv_nm_interface="MS dumpbin"
5352 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
5353 echo "${ECHO_T}$lt_cv_nm_interface" >&6
5355 echo "$as_me:$LINENO: checking whether ln -s works" >&5
5356 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
5358 if test "$LN_S" = "ln -s"; then
5359 echo "$as_me:$LINENO: result: yes" >&5
5360 echo "${ECHO_T}yes" >&6
5362 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5363 echo "${ECHO_T}no, using $LN_S" >&6
5366 # find the maximum length of command line arguments
5367 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5368 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5369 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5370 echo $ECHO_N "(cached) $ECHO_C" >&6
5377 # On DJGPP, this test can blow up pretty badly due to problems in libc
5378 # (any single argument exceeding 2000 bytes causes a buffer overrun
5379 # during glob expansion). Even if it were fixed, the result of this
5380 # check would be larger than it should be.
5381 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5385 # Under GNU Hurd, this test is not required because there is
5386 # no limit to the length of command line arguments.
5387 # Libtool will interpret -1 as no limit whatsoever
5388 lt_cv_sys_max_cmd_len=-1;
5391 cygwin* | mingw* | cegcc*)
5392 # On Win9x/ME, this test blows up -- it succeeds, but takes
5393 # about 5 minutes as the teststring grows exponentially.
5394 # Worse, since 9x/ME are not pre-emptively multitasking,
5395 # you end up with a "frozen" computer, even though with patience
5396 # the test eventually succeeds (with a max line length of 256k).
5397 # Instead, let's just punt: use the minimum linelength reported by
5398 # all of the supported platforms: 8192 (on NT/2K/XP).
5399 lt_cv_sys_max_cmd_len=8192;
5403 # On AmigaOS with pdksh, this test takes hours, literally.
5404 # So we just punt and use a minimum line length of 8192.
5405 lt_cv_sys_max_cmd_len=8192;
5408 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5409 # This has been around since 386BSD, at least. Likely further.
5410 if test -x /sbin/sysctl; then
5411 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5412 elif test -x /usr/sbin/sysctl; then
5413 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5415 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5417 # And add a safety zone
5418 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5419 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5423 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5424 lt_cv_sys_max_cmd_len=196608
5428 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5429 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5430 # nice to cause kernel panics so lets avoid the loop below.
5431 # First set a reasonable default.
5432 lt_cv_sys_max_cmd_len=16384
5434 if test -x /sbin/sysconfig; then
5435 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5436 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5441 lt_cv_sys_max_cmd_len=102400
5443 sysv5* | sco5v6* | sysv4.2uw2*)
5444 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5445 if test -n "$kargmax"; then
5446 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5448 lt_cv_sys_max_cmd_len=32768
5452 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5453 if test -n "$lt_cv_sys_max_cmd_len"; then
5454 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5455 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5457 # Make teststring a little bigger before we do anything with it.
5458 # a 1K string should be a reasonable start.
5459 for i in 1 2 3 4 5 6 7 8 ; do
5460 teststring=$teststring$teststring
5462 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5463 # If test is not a shell built-in, we'll probably end up computing a
5464 # maximum length that is only half of the actual maximum length, but
5466 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5467 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5468 test $i != 17 # 1/2 MB should be enough
5471 teststring=$teststring$teststring
5473 # Only check the string length outside the loop.
5474 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5476 # Add a significant safety factor because C++ compilers can tack on
5477 # massive amounts of additional arguments before passing them to the
5478 # linker. It appears as though 1/2 is a usable value.
5479 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5486 if test -n $lt_cv_sys_max_cmd_len ; then
5487 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5488 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5490 echo "$as_me:$LINENO: result: none" >&5
5491 echo "${ECHO_T}none" >&6
5493 max_cmd_len=$lt_cv_sys_max_cmd_len
5504 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
5505 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
5506 # Try some XSI features
5509 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5511 && eval 'test $(( 1 + 1 )) -eq 2 \
5512 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5514 echo "$as_me:$LINENO: result: $xsi_shell" >&5
5515 echo "${ECHO_T}$xsi_shell" >&6
5518 echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
5519 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6
5521 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5523 && lt_shell_append=yes
5524 echo "$as_me:$LINENO: result: $lt_shell_append" >&5
5525 echo "${ECHO_T}$lt_shell_append" >&6
5528 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5538 # test EBCDIC or ASCII
5539 case `echo X|tr X '\101'` in
5540 A) # ASCII based system
5541 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5542 lt_SP2NL='tr \040 \012'
5543 lt_NL2SP='tr \015\012 \040\040'
5545 *) # EBCDIC based system
5546 lt_SP2NL='tr \100 \n'
5547 lt_NL2SP='tr \r\n \100\100'
5559 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
5560 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
5561 if test "${lt_cv_ld_reload_flag+set}" = set; then
5562 echo $ECHO_N "(cached) $ECHO_C" >&6
5564 lt_cv_ld_reload_flag='-r'
5566 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
5567 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
5568 reload_flag=$lt_cv_ld_reload_flag
5569 case $reload_flag in
5571 *) reload_flag=" $reload_flag" ;;
5573 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5576 if test "$GCC" = yes; then
5577 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5579 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5592 if test -n "$ac_tool_prefix"; then
5593 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5594 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5595 echo "$as_me:$LINENO: checking for $ac_word" >&5
5596 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5597 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
5598 echo $ECHO_N "(cached) $ECHO_C" >&6
5600 if test -n "$OBJDUMP"; then
5601 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5607 test -z "$as_dir" && as_dir=.
5608 for ac_exec_ext in '' $ac_executable_extensions; do
5609 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5610 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5611 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5619 OBJDUMP=$ac_cv_prog_OBJDUMP
5620 if test -n "$OBJDUMP"; then
5621 echo "$as_me:$LINENO: result: $OBJDUMP" >&5
5622 echo "${ECHO_T}$OBJDUMP" >&6
5624 echo "$as_me:$LINENO: result: no" >&5
5625 echo "${ECHO_T}no" >&6
5629 if test -z "$ac_cv_prog_OBJDUMP"; then
5630 ac_ct_OBJDUMP=$OBJDUMP
5631 # Extract the first word of "objdump", so it can be a program name with args.
5632 set dummy objdump; ac_word=$2
5633 echo "$as_me:$LINENO: checking for $ac_word" >&5
5634 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5635 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
5636 echo $ECHO_N "(cached) $ECHO_C" >&6
5638 if test -n "$ac_ct_OBJDUMP"; then
5639 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5645 test -z "$as_dir" && as_dir=.
5646 for ac_exec_ext in '' $ac_executable_extensions; do
5647 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5648 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5649 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5655 test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false"
5658 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5659 if test -n "$ac_ct_OBJDUMP"; then
5660 echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
5661 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
5663 echo "$as_me:$LINENO: result: no" >&5
5664 echo "${ECHO_T}no" >&6
5667 OBJDUMP=$ac_ct_OBJDUMP
5669 OBJDUMP="$ac_cv_prog_OBJDUMP"
5672 test -z "$OBJDUMP" && OBJDUMP=objdump
5682 echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
5683 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6
5684 if test "${lt_cv_deplibs_check_method+set}" = set; then
5685 echo $ECHO_N "(cached) $ECHO_C" >&6
5687 lt_cv_file_magic_cmd='$MAGIC_CMD'
5688 lt_cv_file_magic_test_file=
5689 lt_cv_deplibs_check_method='unknown'
5690 # Need to set the preceding variable on all platforms that support
5691 # interlibrary dependencies.
5692 # 'none' -- dependencies not supported.
5693 # `unknown' -- same as none, but documents that we really don't know.
5694 # 'pass_all' -- all dependencies passed with no checks.
5695 # 'test_compile' -- check by making test program.
5696 # 'file_magic [[regex]]' -- check by looking for files in library path
5697 # which responds to the $file_magic_cmd with a given extended regex.
5698 # If you have `file' or equivalent on your system and you're not sure
5699 # whether `pass_all' will *always* work, you probably want this one.
5703 lt_cv_deplibs_check_method=pass_all
5707 lt_cv_deplibs_check_method=pass_all
5711 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5712 lt_cv_file_magic_cmd='/usr/bin/file -L'
5713 lt_cv_file_magic_test_file=/shlib/libc.so
5717 # func_win32_libid is a shell function defined in ltmain.sh
5718 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5719 lt_cv_file_magic_cmd='func_win32_libid'
5723 # Base MSYS/MinGW do not provide the 'file' command needed by
5724 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5725 # unless we find 'file', for example because we are cross-compiling.
5726 if ( file / ) >/dev/null 2>&1; then
5727 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5728 lt_cv_file_magic_cmd='func_win32_libid'
5730 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5731 lt_cv_file_magic_cmd='$OBJDUMP -f'
5736 # use the weaker test based on 'objdump'. See mingw*.
5737 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5738 lt_cv_file_magic_cmd='$OBJDUMP -f'
5741 darwin* | rhapsody*)
5742 lt_cv_deplibs_check_method=pass_all
5745 freebsd* | dragonfly*)
5746 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5749 # Not sure whether the presence of OpenBSD here was a mistake.
5750 # Let's accept both of them until this is cleared up.
5751 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5752 lt_cv_file_magic_cmd=/usr/bin/file
5753 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5757 lt_cv_deplibs_check_method=pass_all
5762 lt_cv_deplibs_check_method=pass_all
5765 hpux10.20* | hpux11*)
5766 lt_cv_file_magic_cmd=/usr/bin/file
5769 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5770 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5773 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]'
5774 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5777 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5778 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5784 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5785 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5788 irix5* | irix6* | nonstopux*)
5790 *-32|*"-32 ") libmagic=32-bit;;
5791 *-n32|*"-n32 ") libmagic=N32;;
5792 *-64|*"-64 ") libmagic=64-bit;;
5793 *) libmagic=never-match;;
5795 lt_cv_deplibs_check_method=pass_all
5798 # This must be Linux ELF.
5799 linux* | k*bsd*-gnu)
5800 lt_cv_deplibs_check_method=pass_all
5804 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5805 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5807 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5812 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5813 lt_cv_file_magic_cmd=/usr/bin/file
5814 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5818 lt_cv_deplibs_check_method=pass_all
5822 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5823 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5825 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5829 osf3* | osf4* | osf5*)
5830 lt_cv_deplibs_check_method=pass_all
5834 lt_cv_deplibs_check_method=pass_all
5838 lt_cv_deplibs_check_method=pass_all
5841 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5842 lt_cv_deplibs_check_method=pass_all
5846 case $host_vendor in
5848 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]'
5849 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5852 lt_cv_deplibs_check_method=pass_all
5855 lt_cv_file_magic_cmd='/bin/file'
5856 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5859 lt_cv_file_magic_cmd='/bin/file'
5860 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5861 lt_cv_file_magic_test_file=/lib/libc.so
5864 lt_cv_deplibs_check_method=pass_all
5867 lt_cv_deplibs_check_method=pass_all
5873 lt_cv_deplibs_check_method=pass_all
5878 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5879 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5880 file_magic_cmd=$lt_cv_file_magic_cmd
5881 deplibs_check_method=$lt_cv_deplibs_check_method
5882 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5895 if test -n "$ac_tool_prefix"; then
5896 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5897 set dummy ${ac_tool_prefix}ar; ac_word=$2
5898 echo "$as_me:$LINENO: checking for $ac_word" >&5
5899 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5900 if test "${ac_cv_prog_AR+set}" = set; then
5901 echo $ECHO_N "(cached) $ECHO_C" >&6
5903 if test -n "$AR"; then
5904 ac_cv_prog_AR="$AR" # Let the user override the test.
5906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5910 test -z "$as_dir" && as_dir=.
5911 for ac_exec_ext in '' $ac_executable_extensions; do
5912 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5913 ac_cv_prog_AR="${ac_tool_prefix}ar"
5914 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5923 if test -n "$AR"; then
5924 echo "$as_me:$LINENO: result: $AR" >&5
5925 echo "${ECHO_T}$AR" >&6
5927 echo "$as_me:$LINENO: result: no" >&5
5928 echo "${ECHO_T}no" >&6
5932 if test -z "$ac_cv_prog_AR"; then
5934 # Extract the first word of "ar", so it can be a program name with args.
5935 set dummy ar; ac_word=$2
5936 echo "$as_me:$LINENO: checking for $ac_word" >&5
5937 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5938 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5939 echo $ECHO_N "(cached) $ECHO_C" >&6
5941 if test -n "$ac_ct_AR"; then
5942 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5948 test -z "$as_dir" && as_dir=.
5949 for ac_exec_ext in '' $ac_executable_extensions; do
5950 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5951 ac_cv_prog_ac_ct_AR="ar"
5952 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5958 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5961 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5962 if test -n "$ac_ct_AR"; then
5963 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5964 echo "${ECHO_T}$ac_ct_AR" >&6
5966 echo "$as_me:$LINENO: result: no" >&5
5967 echo "${ECHO_T}no" >&6
5975 test -z "$AR" && AR=ar
5976 test -z "$AR_FLAGS" && AR_FLAGS=cru
5988 if test -n "$ac_tool_prefix"; then
5989 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5990 set dummy ${ac_tool_prefix}strip; ac_word=$2
5991 echo "$as_me:$LINENO: checking for $ac_word" >&5
5992 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5993 if test "${ac_cv_prog_STRIP+set}" = set; then
5994 echo $ECHO_N "(cached) $ECHO_C" >&6
5996 if test -n "$STRIP"; then
5997 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6003 test -z "$as_dir" && as_dir=.
6004 for ac_exec_ext in '' $ac_executable_extensions; do
6005 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6006 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6007 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6015 STRIP=$ac_cv_prog_STRIP
6016 if test -n "$STRIP"; then
6017 echo "$as_me:$LINENO: result: $STRIP" >&5
6018 echo "${ECHO_T}$STRIP" >&6
6020 echo "$as_me:$LINENO: result: no" >&5
6021 echo "${ECHO_T}no" >&6
6025 if test -z "$ac_cv_prog_STRIP"; then
6027 # Extract the first word of "strip", so it can be a program name with args.
6028 set dummy strip; ac_word=$2
6029 echo "$as_me:$LINENO: checking for $ac_word" >&5
6030 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6031 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6032 echo $ECHO_N "(cached) $ECHO_C" >&6
6034 if test -n "$ac_ct_STRIP"; then
6035 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6041 test -z "$as_dir" && as_dir=.
6042 for ac_exec_ext in '' $ac_executable_extensions; do
6043 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6044 ac_cv_prog_ac_ct_STRIP="strip"
6045 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6051 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
6054 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6055 if test -n "$ac_ct_STRIP"; then
6056 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6057 echo "${ECHO_T}$ac_ct_STRIP" >&6
6059 echo "$as_me:$LINENO: result: no" >&5
6060 echo "${ECHO_T}no" >&6
6065 STRIP="$ac_cv_prog_STRIP"
6068 test -z "$STRIP" && STRIP=:
6075 if test -n "$ac_tool_prefix"; then
6076 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6077 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6078 echo "$as_me:$LINENO: checking for $ac_word" >&5
6079 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6080 if test "${ac_cv_prog_RANLIB+set}" = set; then
6081 echo $ECHO_N "(cached) $ECHO_C" >&6
6083 if test -n "$RANLIB"; then
6084 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6090 test -z "$as_dir" && as_dir=.
6091 for ac_exec_ext in '' $ac_executable_extensions; do
6092 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6093 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6094 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6102 RANLIB=$ac_cv_prog_RANLIB
6103 if test -n "$RANLIB"; then
6104 echo "$as_me:$LINENO: result: $RANLIB" >&5
6105 echo "${ECHO_T}$RANLIB" >&6
6107 echo "$as_me:$LINENO: result: no" >&5
6108 echo "${ECHO_T}no" >&6
6112 if test -z "$ac_cv_prog_RANLIB"; then
6113 ac_ct_RANLIB=$RANLIB
6114 # Extract the first word of "ranlib", so it can be a program name with args.
6115 set dummy ranlib; ac_word=$2
6116 echo "$as_me:$LINENO: checking for $ac_word" >&5
6117 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6118 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6119 echo $ECHO_N "(cached) $ECHO_C" >&6
6121 if test -n "$ac_ct_RANLIB"; then
6122 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6128 test -z "$as_dir" && as_dir=.
6129 for ac_exec_ext in '' $ac_executable_extensions; do
6130 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6131 ac_cv_prog_ac_ct_RANLIB="ranlib"
6132 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6138 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
6141 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6142 if test -n "$ac_ct_RANLIB"; then
6143 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6144 echo "${ECHO_T}$ac_ct_RANLIB" >&6
6146 echo "$as_me:$LINENO: result: no" >&5
6147 echo "${ECHO_T}no" >&6
6150 RANLIB=$ac_ct_RANLIB
6152 RANLIB="$ac_cv_prog_RANLIB"
6155 test -z "$RANLIB" && RANLIB=:
6162 # Determine commands to create old-style static archives.
6163 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6164 old_postinstall_cmds='chmod 644 $oldlib'
6165 old_postuninstall_cmds=
6167 if test -n "$RANLIB"; then
6170 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6173 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6176 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6212 # If no C compiler was specified, use CC.
6215 # If no C compiler flags were specified, use CFLAGS.
6216 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6218 # Allow CC to be a program name with arguments.
6222 # Check for command to grab the raw symbol name followed by C symbol from nm.
6223 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6224 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
6225 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6226 echo $ECHO_N "(cached) $ECHO_C" >&6
6229 # These are sane defaults that work on at least a few old systems.
6230 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6232 # Character class describing NM global symbol codes.
6233 symcode='[BCDEGRST]'
6235 # Regexp to match symbols that can be accessed directly from C.
6236 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6238 # Define system-specific variables.
6243 cygwin* | mingw* | pw32* | cegcc*)
6244 symcode='[ABCDGISTW]'
6247 if test "$host_cpu" = ia64; then
6248 symcode='[ABCDEGRST]'
6252 symcode='[BCDEGRST]'
6255 symcode='[BCDEGQRST]'
6266 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6274 # If we're using GNU nm, then use its standard symbol codes.
6275 case `$NM -V 2>&1` in
6276 *GNU* | *'with BFD'*)
6277 symcode='[ABCDGIRSTW]' ;;
6280 # Transform an extracted symbol line into a proper C declaration.
6281 # Some systems (esp. on ia64) link data and code symbols differently,
6282 # so use this general approach.
6283 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6285 # Transform an extracted symbol line into symbol name and symbol address
6286 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6287 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
6289 # Handle CRLF in mingw tool chain
6293 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6297 # Try without a prefix underscore, then with it.
6298 for ac_symprfx in "" "_"; do
6300 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6301 symxfrm="\\1 $ac_symprfx\\2 \\2"
6303 # Write the raw and C identifiers.
6304 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6305 # Fake it for dumpbin and say T for any non-static function
6306 # and D for any global variable.
6307 # Also find C++ and __fastcall symbols from MSVC++,
6308 # which start with @ or ?.
6309 lt_cv_sys_global_symbol_pipe="$AWK '"\
6310 " {last_section=section; section=\$ 3};"\
6311 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6312 " \$ 0!~/External *\|/{next};"\
6313 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6314 " {if(hide[section]) next};"\
6315 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6316 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6317 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6318 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6319 " ' prfx=^$ac_symprfx"
6321 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6324 # Check to see that the pipe works correctly.
6328 cat > conftest.$ac_ext <<_LT_EOF
6333 void nm_test_func(void);
6334 void nm_test_func(void){}
6338 int main(){nm_test_var='a';nm_test_func();return(0);}
6341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6342 (eval $ac_compile) 2>&5
6344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6345 (exit $ac_status); }; then
6346 # Now try to grab the symbols.
6348 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6349 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6352 (exit $ac_status); } && test -s "$nlist"; then
6353 # Try sorting and uniquifying the output.
6354 if sort "$nlist" | uniq > "$nlist"T; then
6355 mv -f "$nlist"T "$nlist"
6360 # Make sure that we snagged all the symbols we need.
6361 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6362 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6363 cat <<_LT_EOF > conftest.$ac_ext
6369 # Now generate the symbol file.
6370 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6372 cat <<_LT_EOF >> conftest.$ac_ext
6374 /* The mapping between symbol names and symbols. */
6379 lt__PROGRAM__LTX_preloaded_symbols[] =
6381 { "@PROGRAM@", (void *) 0 },
6383 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6384 cat <<\_LT_EOF >> conftest.$ac_ext
6388 /* This works around a problem in FreeBSD linker */
6389 #ifdef FREEBSD_WORKAROUND
6390 static const void *lt_preloaded_setup() {
6391 return lt__PROGRAM__LTX_preloaded_symbols;
6399 # Now try linking the two files.
6400 mv conftest.$ac_objext conftstm.$ac_objext
6401 lt_save_LIBS="$LIBS"
6402 lt_save_CFLAGS="$CFLAGS"
6403 LIBS="conftstm.$ac_objext"
6404 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6406 (eval $ac_link) 2>&5
6408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6409 (exit $ac_status); } && test -s conftest${ac_exeext}; then
6412 LIBS="$lt_save_LIBS"
6413 CFLAGS="$lt_save_CFLAGS"
6415 echo "cannot find nm_test_func in $nlist" >&5
6418 echo "cannot find nm_test_var in $nlist" >&5
6421 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6424 echo "$progname: failed program was:" >&5
6425 cat conftest.$ac_ext >&5
6427 rm -rf conftest* conftst*
6429 # Do not use the global_symbol_pipe unless it works.
6430 if test "$pipe_works" = yes; then
6433 lt_cv_sys_global_symbol_pipe=
6439 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6440 lt_cv_sys_global_symbol_to_cdecl=
6442 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6443 echo "$as_me:$LINENO: result: failed" >&5
6444 echo "${ECHO_T}failed" >&6
6446 echo "$as_me:$LINENO: result: ok" >&5
6447 echo "${ECHO_T}ok" >&6
6471 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6472 if test "${enable_libtool_lock+set}" = set; then
6473 enableval="$enable_libtool_lock"
6476 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6478 # Some flags need to be propagated to the compiler or linker for good
6482 # Find out which ABI we are using.
6483 echo 'int i;' > conftest.$ac_ext
6484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6485 (eval $ac_compile) 2>&5
6487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6488 (exit $ac_status); }; then
6489 case `/usr/bin/file conftest.$ac_objext` in
6501 # Find out which ABI we are using.
6502 echo '#line 6502 "configure"' > conftest.$ac_ext
6503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6504 (eval $ac_compile) 2>&5
6506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6507 (exit $ac_status); }; then
6508 if test "$lt_cv_prog_gnu_ld" = yes; then
6509 case `/usr/bin/file conftest.$ac_objext` in
6511 LD="${LD-ld} -melf32bsmip"
6514 LD="${LD-ld} -melf32bmipn32"
6517 LD="${LD-ld} -melf64bmip"
6521 case `/usr/bin/file conftest.$ac_objext` in
6537 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6538 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6539 # Find out which ABI we are using.
6540 echo 'int i;' > conftest.$ac_ext
6541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6542 (eval $ac_compile) 2>&5
6544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6545 (exit $ac_status); }; then
6546 case `/usr/bin/file conftest.o` in
6549 x86_64-*kfreebsd*-gnu)
6550 LD="${LD-ld} -m elf_i386_fbsd"
6553 LD="${LD-ld} -m elf_i386"
6555 ppc64-*linux*|powerpc64-*linux*)
6556 LD="${LD-ld} -m elf32ppclinux"
6559 LD="${LD-ld} -m elf_s390"
6562 LD="${LD-ld} -m elf32_sparc"
6568 x86_64-*kfreebsd*-gnu)
6569 LD="${LD-ld} -m elf_x86_64_fbsd"
6572 LD="${LD-ld} -m elf_x86_64"
6574 ppc*-*linux*|powerpc*-*linux*)
6575 LD="${LD-ld} -m elf64ppc"
6577 s390*-*linux*|s390*-*tpf*)
6578 LD="${LD-ld} -m elf64_s390"
6581 LD="${LD-ld} -m elf64_sparc"
6591 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6592 SAVE_CFLAGS="$CFLAGS"
6593 CFLAGS="$CFLAGS -belf"
6594 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
6595 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
6596 if test "${lt_cv_cc_needs_belf+set}" = set; then
6597 echo $ECHO_N "(cached) $ECHO_C" >&6
6600 ac_cpp='$CPP $CPPFLAGS'
6601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6605 cat >conftest.$ac_ext <<_ACEOF
6608 cat confdefs.h >>conftest.$ac_ext
6609 cat >>conftest.$ac_ext <<_ACEOF
6610 /* end confdefs.h. */
6620 rm -f conftest.$ac_objext conftest$ac_exeext
6621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6622 (eval $ac_link) 2>conftest.er1
6624 grep -v '^ *+' conftest.er1 >conftest.err
6626 cat conftest.err >&5
6627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6628 (exit $ac_status); } &&
6629 { ac_try='test -z "$ac_c_werror_flag"
6630 || test ! -s conftest.err'
6631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6635 (exit $ac_status); }; } &&
6636 { ac_try='test -s conftest$ac_exeext'
6637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6641 (exit $ac_status); }; }; then
6642 lt_cv_cc_needs_belf=yes
6644 echo "$as_me: failed program was:" >&5
6645 sed 's/^/| /' conftest.$ac_ext >&5
6647 lt_cv_cc_needs_belf=no
6649 rm -f conftest.err conftest.$ac_objext \
6650 conftest$ac_exeext conftest.$ac_ext
6652 ac_cpp='$CPP $CPPFLAGS'
6653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6658 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
6659 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
6660 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6661 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6662 CFLAGS="$SAVE_CFLAGS"
6666 # Find out which ABI we are using.
6667 echo 'int i;' > conftest.$ac_ext
6668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6669 (eval $ac_compile) 2>&5
6671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6672 (exit $ac_status); }; then
6673 case `/usr/bin/file conftest.o` in
6675 case $lt_cv_prog_gnu_ld in
6676 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6678 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6690 need_locks="$enable_libtool_lock"
6694 rhapsody* | darwin*)
6695 if test -n "$ac_tool_prefix"; then
6696 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6697 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6698 echo "$as_me:$LINENO: checking for $ac_word" >&5
6699 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6700 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
6701 echo $ECHO_N "(cached) $ECHO_C" >&6
6703 if test -n "$DSYMUTIL"; then
6704 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6710 test -z "$as_dir" && as_dir=.
6711 for ac_exec_ext in '' $ac_executable_extensions; do
6712 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6713 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6714 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6722 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6723 if test -n "$DSYMUTIL"; then
6724 echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
6725 echo "${ECHO_T}$DSYMUTIL" >&6
6727 echo "$as_me:$LINENO: result: no" >&5
6728 echo "${ECHO_T}no" >&6
6732 if test -z "$ac_cv_prog_DSYMUTIL"; then
6733 ac_ct_DSYMUTIL=$DSYMUTIL
6734 # Extract the first word of "dsymutil", so it can be a program name with args.
6735 set dummy dsymutil; ac_word=$2
6736 echo "$as_me:$LINENO: checking for $ac_word" >&5
6737 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6738 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
6739 echo $ECHO_N "(cached) $ECHO_C" >&6
6741 if test -n "$ac_ct_DSYMUTIL"; then
6742 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6748 test -z "$as_dir" && as_dir=.
6749 for ac_exec_ext in '' $ac_executable_extensions; do
6750 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6751 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6752 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6758 test -z "$ac_cv_prog_ac_ct_DSYMUTIL" && ac_cv_prog_ac_ct_DSYMUTIL=":"
6761 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6762 if test -n "$ac_ct_DSYMUTIL"; then
6763 echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
6764 echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6
6766 echo "$as_me:$LINENO: result: no" >&5
6767 echo "${ECHO_T}no" >&6
6770 DSYMUTIL=$ac_ct_DSYMUTIL
6772 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6775 if test -n "$ac_tool_prefix"; then
6776 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6777 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6778 echo "$as_me:$LINENO: checking for $ac_word" >&5
6779 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6780 if test "${ac_cv_prog_NMEDIT+set}" = set; then
6781 echo $ECHO_N "(cached) $ECHO_C" >&6
6783 if test -n "$NMEDIT"; then
6784 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6790 test -z "$as_dir" && as_dir=.
6791 for ac_exec_ext in '' $ac_executable_extensions; do
6792 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6793 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6794 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6802 NMEDIT=$ac_cv_prog_NMEDIT
6803 if test -n "$NMEDIT"; then
6804 echo "$as_me:$LINENO: result: $NMEDIT" >&5
6805 echo "${ECHO_T}$NMEDIT" >&6
6807 echo "$as_me:$LINENO: result: no" >&5
6808 echo "${ECHO_T}no" >&6
6812 if test -z "$ac_cv_prog_NMEDIT"; then
6813 ac_ct_NMEDIT=$NMEDIT
6814 # Extract the first word of "nmedit", so it can be a program name with args.
6815 set dummy nmedit; ac_word=$2
6816 echo "$as_me:$LINENO: checking for $ac_word" >&5
6817 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6818 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
6819 echo $ECHO_N "(cached) $ECHO_C" >&6
6821 if test -n "$ac_ct_NMEDIT"; then
6822 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6828 test -z "$as_dir" && as_dir=.
6829 for ac_exec_ext in '' $ac_executable_extensions; do
6830 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6831 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6832 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6838 test -z "$ac_cv_prog_ac_ct_NMEDIT" && ac_cv_prog_ac_ct_NMEDIT=":"
6841 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6842 if test -n "$ac_ct_NMEDIT"; then
6843 echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
6844 echo "${ECHO_T}$ac_ct_NMEDIT" >&6
6846 echo "$as_me:$LINENO: result: no" >&5
6847 echo "${ECHO_T}no" >&6
6850 NMEDIT=$ac_ct_NMEDIT
6852 NMEDIT="$ac_cv_prog_NMEDIT"
6855 if test -n "$ac_tool_prefix"; then
6856 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6857 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6858 echo "$as_me:$LINENO: checking for $ac_word" >&5
6859 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6860 if test "${ac_cv_prog_LIPO+set}" = set; then
6861 echo $ECHO_N "(cached) $ECHO_C" >&6
6863 if test -n "$LIPO"; then
6864 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6870 test -z "$as_dir" && as_dir=.
6871 for ac_exec_ext in '' $ac_executable_extensions; do
6872 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6873 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6874 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6882 LIPO=$ac_cv_prog_LIPO
6883 if test -n "$LIPO"; then
6884 echo "$as_me:$LINENO: result: $LIPO" >&5
6885 echo "${ECHO_T}$LIPO" >&6
6887 echo "$as_me:$LINENO: result: no" >&5
6888 echo "${ECHO_T}no" >&6
6892 if test -z "$ac_cv_prog_LIPO"; then
6894 # Extract the first word of "lipo", so it can be a program name with args.
6895 set dummy lipo; ac_word=$2
6896 echo "$as_me:$LINENO: checking for $ac_word" >&5
6897 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6898 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
6899 echo $ECHO_N "(cached) $ECHO_C" >&6
6901 if test -n "$ac_ct_LIPO"; then
6902 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6908 test -z "$as_dir" && as_dir=.
6909 for ac_exec_ext in '' $ac_executable_extensions; do
6910 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6911 ac_cv_prog_ac_ct_LIPO="lipo"
6912 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6918 test -z "$ac_cv_prog_ac_ct_LIPO" && ac_cv_prog_ac_ct_LIPO=":"
6921 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6922 if test -n "$ac_ct_LIPO"; then
6923 echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
6924 echo "${ECHO_T}$ac_ct_LIPO" >&6
6926 echo "$as_me:$LINENO: result: no" >&5
6927 echo "${ECHO_T}no" >&6
6932 LIPO="$ac_cv_prog_LIPO"
6935 if test -n "$ac_tool_prefix"; then
6936 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6937 set dummy ${ac_tool_prefix}otool; ac_word=$2
6938 echo "$as_me:$LINENO: checking for $ac_word" >&5
6939 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6940 if test "${ac_cv_prog_OTOOL+set}" = set; then
6941 echo $ECHO_N "(cached) $ECHO_C" >&6
6943 if test -n "$OTOOL"; then
6944 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6950 test -z "$as_dir" && as_dir=.
6951 for ac_exec_ext in '' $ac_executable_extensions; do
6952 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6953 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6954 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6962 OTOOL=$ac_cv_prog_OTOOL
6963 if test -n "$OTOOL"; then
6964 echo "$as_me:$LINENO: result: $OTOOL" >&5
6965 echo "${ECHO_T}$OTOOL" >&6
6967 echo "$as_me:$LINENO: result: no" >&5
6968 echo "${ECHO_T}no" >&6
6972 if test -z "$ac_cv_prog_OTOOL"; then
6974 # Extract the first word of "otool", so it can be a program name with args.
6975 set dummy otool; ac_word=$2
6976 echo "$as_me:$LINENO: checking for $ac_word" >&5
6977 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6978 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
6979 echo $ECHO_N "(cached) $ECHO_C" >&6
6981 if test -n "$ac_ct_OTOOL"; then
6982 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6988 test -z "$as_dir" && as_dir=.
6989 for ac_exec_ext in '' $ac_executable_extensions; do
6990 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6991 ac_cv_prog_ac_ct_OTOOL="otool"
6992 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6998 test -z "$ac_cv_prog_ac_ct_OTOOL" && ac_cv_prog_ac_ct_OTOOL=":"
7001 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7002 if test -n "$ac_ct_OTOOL"; then
7003 echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
7004 echo "${ECHO_T}$ac_ct_OTOOL" >&6
7006 echo "$as_me:$LINENO: result: no" >&5
7007 echo "${ECHO_T}no" >&6
7012 OTOOL="$ac_cv_prog_OTOOL"
7015 if test -n "$ac_tool_prefix"; then
7016 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7017 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7018 echo "$as_me:$LINENO: checking for $ac_word" >&5
7019 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7020 if test "${ac_cv_prog_OTOOL64+set}" = set; then
7021 echo $ECHO_N "(cached) $ECHO_C" >&6
7023 if test -n "$OTOOL64"; then
7024 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7030 test -z "$as_dir" && as_dir=.
7031 for ac_exec_ext in '' $ac_executable_extensions; do
7032 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7033 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7034 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7042 OTOOL64=$ac_cv_prog_OTOOL64
7043 if test -n "$OTOOL64"; then
7044 echo "$as_me:$LINENO: result: $OTOOL64" >&5
7045 echo "${ECHO_T}$OTOOL64" >&6
7047 echo "$as_me:$LINENO: result: no" >&5
7048 echo "${ECHO_T}no" >&6
7052 if test -z "$ac_cv_prog_OTOOL64"; then
7053 ac_ct_OTOOL64=$OTOOL64
7054 # Extract the first word of "otool64", so it can be a program name with args.
7055 set dummy otool64; ac_word=$2
7056 echo "$as_me:$LINENO: checking for $ac_word" >&5
7057 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7058 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
7059 echo $ECHO_N "(cached) $ECHO_C" >&6
7061 if test -n "$ac_ct_OTOOL64"; then
7062 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7068 test -z "$as_dir" && as_dir=.
7069 for ac_exec_ext in '' $ac_executable_extensions; do
7070 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7071 ac_cv_prog_ac_ct_OTOOL64="otool64"
7072 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7078 test -z "$ac_cv_prog_ac_ct_OTOOL64" && ac_cv_prog_ac_ct_OTOOL64=":"
7081 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7082 if test -n "$ac_ct_OTOOL64"; then
7083 echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
7084 echo "${ECHO_T}$ac_ct_OTOOL64" >&6
7086 echo "$as_me:$LINENO: result: no" >&5
7087 echo "${ECHO_T}no" >&6
7090 OTOOL64=$ac_ct_OTOOL64
7092 OTOOL64="$ac_cv_prog_OTOOL64"
7121 echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
7122 echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6
7123 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7124 echo $ECHO_N "(cached) $ECHO_C" >&6
7126 lt_cv_apple_cc_single_mod=no
7127 if test -z "${LT_MULTI_MODULE}"; then
7128 # By default we will add the -single_module flag. You can override
7129 # by either setting the environment variable LT_MULTI_MODULE
7130 # non-empty at configure time, or by adding -multi_module to the
7132 rm -rf libconftest.dylib*
7133 echo "int foo(void){return 1;}" > conftest.c
7134 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7135 -dynamiclib -Wl,-single_module conftest.c" >&5
7136 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7137 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7139 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7140 lt_cv_apple_cc_single_mod=yes
7142 cat conftest.err >&5
7144 rm -rf libconftest.dylib*
7148 echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
7149 echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6
7150 echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
7151 echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6
7152 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
7153 echo $ECHO_N "(cached) $ECHO_C" >&6
7155 lt_cv_ld_exported_symbols_list=no
7156 save_LDFLAGS=$LDFLAGS
7157 echo "_main" > conftest.sym
7158 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7159 cat >conftest.$ac_ext <<_ACEOF
7162 cat confdefs.h >>conftest.$ac_ext
7163 cat >>conftest.$ac_ext <<_ACEOF
7164 /* end confdefs.h. */
7174 rm -f conftest.$ac_objext conftest$ac_exeext
7175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7176 (eval $ac_link) 2>conftest.er1
7178 grep -v '^ *+' conftest.er1 >conftest.err
7180 cat conftest.err >&5
7181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7182 (exit $ac_status); } &&
7183 { ac_try='test -z "$ac_c_werror_flag"
7184 || test ! -s conftest.err'
7185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7189 (exit $ac_status); }; } &&
7190 { ac_try='test -s conftest$ac_exeext'
7191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7195 (exit $ac_status); }; }; then
7196 lt_cv_ld_exported_symbols_list=yes
7198 echo "$as_me: failed program was:" >&5
7199 sed 's/^/| /' conftest.$ac_ext >&5
7201 lt_cv_ld_exported_symbols_list=no
7203 rm -f conftest.err conftest.$ac_objext \
7204 conftest$ac_exeext conftest.$ac_ext
7205 LDFLAGS="$save_LDFLAGS"
7208 echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
7209 echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6
7211 rhapsody* | darwin1.[012])
7212 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7214 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7215 darwin*) # darwin 5.x on
7216 # if running on 10.5 or later, the deployment target defaults
7217 # to the OS version, if on x86, and 10.4, the deployment
7218 # target defaults to 10.4. Don't you love it?
7219 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7220 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7221 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7223 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7225 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7229 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7230 _lt_dar_single_mod='$single_module'
7232 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7233 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7235 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7237 if test "$DSYMUTIL" != ":"; then
7238 _lt_dsymutil='~$DSYMUTIL $lib || :'
7246 for ac_header in dlfcn.h
7248 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7249 echo "$as_me:$LINENO: checking for $ac_header" >&5
7250 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7251 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7252 echo $ECHO_N "(cached) $ECHO_C" >&6
7254 cat >conftest.$ac_ext <<_ACEOF
7257 cat confdefs.h >>conftest.$ac_ext
7258 cat >>conftest.$ac_ext <<_ACEOF
7259 /* end confdefs.h. */
7260 $ac_includes_default
7262 #include <$ac_header>
7264 rm -f conftest.$ac_objext
7265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7266 (eval $ac_compile) 2>conftest.er1
7268 grep -v '^ *+' conftest.er1 >conftest.err
7270 cat conftest.err >&5
7271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7272 (exit $ac_status); } &&
7273 { ac_try='test -z "$ac_c_werror_flag"
7274 || test ! -s conftest.err'
7275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7279 (exit $ac_status); }; } &&
7280 { ac_try='test -s conftest.$ac_objext'
7281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7285 (exit $ac_status); }; }; then
7286 eval "$as_ac_Header=yes"
7288 echo "$as_me: failed program was:" >&5
7289 sed 's/^/| /' conftest.$ac_ext >&5
7291 eval "$as_ac_Header=no"
7293 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7295 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7296 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7297 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7298 cat >>confdefs.h <<_ACEOF
7299 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7319 # Check whether --enable-static or --disable-static was given.
7320 if test "${enable_static+set}" = set; then
7321 enableval="$enable_static"
7322 p=${PACKAGE-default}
7324 yes) enable_static=yes ;;
7325 no) enable_static=no ;;
7328 # Look at the argument we got. We use all the common list separators.
7329 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7330 for pkg in $enableval; do
7332 if test "X$pkg" = "X$p"; then
7351 # Check whether --with-pic or --without-pic was given.
7352 if test "${with_pic+set}" = set; then
7359 test -z "$pic_mode" && pic_mode=default
7367 # Check whether --enable-fast-install or --disable-fast-install was given.
7368 if test "${enable_fast_install+set}" = set; then
7369 enableval="$enable_fast_install"
7370 p=${PACKAGE-default}
7372 yes) enable_fast_install=yes ;;
7373 no) enable_fast_install=no ;;
7375 enable_fast_install=no
7376 # Look at the argument we got. We use all the common list separators.
7377 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7378 for pkg in $enableval; do
7380 if test "X$pkg" = "X$p"; then
7381 enable_fast_install=yes
7388 enable_fast_install=yes
7400 # This can be used to rebuild libtool when needed
7401 LIBTOOL_DEPS="$ltmain"
7403 # Always use our own libtool.
7404 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7430 test -z "$LN_S" && LN_S="ln -s"
7445 if test -n "${ZSH_VERSION+set}" ; then
7446 setopt NO_GLOB_SUBST
7449 echo "$as_me:$LINENO: checking for objdir" >&5
7450 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
7451 if test "${lt_cv_objdir+set}" = set; then
7452 echo $ECHO_N "(cached) $ECHO_C" >&6
7454 rm -f .libs 2>/dev/null
7455 mkdir .libs 2>/dev/null
7456 if test -d .libs; then
7459 # MS-DOS does not allow filenames that begin with a dot.
7462 rmdir .libs 2>/dev/null
7464 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7465 echo "${ECHO_T}$lt_cv_objdir" >&6
7466 objdir=$lt_cv_objdir
7472 cat >>confdefs.h <<_ACEOF
7473 #define LT_OBJDIR "$lt_cv_objdir/"
7494 # AIX sometimes has problems with the GCC collect2 program. For some
7495 # reason, if we set the COLLECT_NAMES environment variable, the problems
7496 # vanish in a puff of smoke.
7497 if test "X${COLLECT_NAMES+set}" != Xset; then
7499 export COLLECT_NAMES
7504 # Sed substitution that helps us do robust quoting. It backslashifies
7505 # metacharacters that are still active within double-quoted strings.
7506 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7508 # Same as above, but do not quote variable references.
7509 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7511 # Sed substitution to delay expansion of an escaped shell variable in a
7512 # double_quote_subst'ed string.
7513 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7515 # Sed substitution to delay expansion of an escaped single quote.
7516 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7518 # Sed substitution to avoid accidental globbing in evaled expressions
7519 no_glob_subst='s/\*/\\\*/g'
7523 can_build_shared=yes
7525 # All known linkers require a `.a' archive for static linking (except MSVC,
7526 # which needs '.lib').
7529 with_gnu_ld="$lt_cv_prog_gnu_ld"
7532 old_CFLAGS="$CFLAGS"
7534 # Set sane defaults for various variables
7535 test -z "$CC" && CC=cc
7536 test -z "$LTCC" && LTCC=$CC
7537 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7538 test -z "$LD" && LD=ld
7539 test -z "$ac_objext" && ac_objext=o
7541 for cc_temp in $compiler""; do
7543 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7544 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7549 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7552 # Only perform the check for file, if the check method requires it
7553 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7554 case $deplibs_check_method in
7556 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7557 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7558 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
7559 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7560 echo $ECHO_N "(cached) $ECHO_C" >&6
7564 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7567 lt_save_MAGIC_CMD="$MAGIC_CMD"
7568 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7569 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7570 for ac_dir in $ac_dummy; do
7572 test -z "$ac_dir" && ac_dir=.
7573 if test -f $ac_dir/${ac_tool_prefix}file; then
7574 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7575 if test -n "$file_magic_test_file"; then
7576 case $deplibs_check_method in
7578 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7579 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7580 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7581 $EGREP "$file_magic_regex" > /dev/null; then
7586 *** Warning: the command libtool uses to detect shared libraries,
7587 *** $file_magic_cmd, produces output that libtool cannot recognize.
7588 *** The result is that libtool may fail to recognize shared libraries
7589 *** as such. This will affect the creation of libtool libraries that
7590 *** depend on shared libraries, but programs linked with such libtool
7591 *** libraries will work regardless of this problem. Nevertheless, you
7592 *** may want to report the problem to your system manager and/or to
7593 *** bug-libtool@gnu.org
7603 MAGIC_CMD="$lt_save_MAGIC_CMD"
7608 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7609 if test -n "$MAGIC_CMD"; then
7610 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7611 echo "${ECHO_T}$MAGIC_CMD" >&6
7613 echo "$as_me:$LINENO: result: no" >&5
7614 echo "${ECHO_T}no" >&6
7621 if test -z "$lt_cv_path_MAGIC_CMD"; then
7622 if test -n "$ac_tool_prefix"; then
7623 echo "$as_me:$LINENO: checking for file" >&5
7624 echo $ECHO_N "checking for file... $ECHO_C" >&6
7625 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7626 echo $ECHO_N "(cached) $ECHO_C" >&6
7630 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7633 lt_save_MAGIC_CMD="$MAGIC_CMD"
7634 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7635 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7636 for ac_dir in $ac_dummy; do
7638 test -z "$ac_dir" && ac_dir=.
7639 if test -f $ac_dir/file; then
7640 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7641 if test -n "$file_magic_test_file"; then
7642 case $deplibs_check_method in
7644 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7645 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7646 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7647 $EGREP "$file_magic_regex" > /dev/null; then
7652 *** Warning: the command libtool uses to detect shared libraries,
7653 *** $file_magic_cmd, produces output that libtool cannot recognize.
7654 *** The result is that libtool may fail to recognize shared libraries
7655 *** as such. This will affect the creation of libtool libraries that
7656 *** depend on shared libraries, but programs linked with such libtool
7657 *** libraries will work regardless of this problem. Nevertheless, you
7658 *** may want to report the problem to your system manager and/or to
7659 *** bug-libtool@gnu.org
7669 MAGIC_CMD="$lt_save_MAGIC_CMD"
7674 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7675 if test -n "$MAGIC_CMD"; then
7676 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7677 echo "${ECHO_T}$MAGIC_CMD" >&6
7679 echo "$as_me:$LINENO: result: no" >&5
7680 echo "${ECHO_T}no" >&6
7693 # Use C for the default configuration in the libtool script
7697 ac_cpp='$CPP $CPPFLAGS'
7698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7703 # Source file extension for C test sources.
7706 # Object file extension for compiled C test sources.
7710 # Code to be used in simple compile tests
7711 lt_simple_compile_test_code="int some_variable = 0;"
7713 # Code to be used in simple link tests
7714 lt_simple_link_test_code='int main(){return(0);}'
7722 # If no C compiler was specified, use CC.
7725 # If no C compiler flags were specified, use CFLAGS.
7726 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7728 # Allow CC to be a program name with arguments.
7731 # Save the default compiler, since it gets overwritten when the other
7732 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7733 compiler_DEFAULT=$CC
7735 # save warnings/boilerplate of simple test code
7736 ac_outfile=conftest.$ac_objext
7737 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7738 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7739 _lt_compiler_boilerplate=`cat conftest.err`
7742 ac_outfile=conftest.$ac_objext
7743 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7744 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7745 _lt_linker_boilerplate=`cat conftest.err`
7750 ## There is no encapsulation within the following macros, do not change
7751 ## the running order or otherwise move them around unless you know exactly
7752 ## what you are doing...
7753 if test -n "$compiler"; then
7755 lt_prog_compiler_no_builtin_flag=
7757 if test "$GCC" = yes; then
7758 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7760 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7761 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
7762 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7763 echo $ECHO_N "(cached) $ECHO_C" >&6
7765 lt_cv_prog_compiler_rtti_exceptions=no
7766 ac_outfile=conftest.$ac_objext
7767 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7768 lt_compiler_flag="-fno-rtti -fno-exceptions"
7769 # Insert the option either (1) after the last *FLAGS variable, or
7770 # (2) before a word containing "conftest.", or (3) at the end.
7771 # Note that $ac_compile itself does not contain backslashes and begins
7772 # with a dollar sign (not a hyphen), so the echo should work correctly.
7773 # The option is referenced via a variable to avoid confusing sed.
7774 lt_compile=`echo "$ac_compile" | $SED \
7775 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7776 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7777 -e 's:$: $lt_compiler_flag:'`
7778 (eval echo "\"\$as_me:7778: $lt_compile\"" >&5)
7779 (eval "$lt_compile" 2>conftest.err)
7781 cat conftest.err >&5
7782 echo "$as_me:7782: \$? = $ac_status" >&5
7783 if (exit $ac_status) && test -s "$ac_outfile"; then
7784 # The compiler can only warn and ignore the option if not recognized
7785 # So say no if there are warnings other than the usual output.
7786 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7787 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7788 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7789 lt_cv_prog_compiler_rtti_exceptions=yes
7795 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7796 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
7798 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7799 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7811 lt_prog_compiler_wl=
7812 lt_prog_compiler_pic=
7813 lt_prog_compiler_static=
7815 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7816 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
7818 if test "$GCC" = yes; then
7819 lt_prog_compiler_wl='-Wl,'
7820 lt_prog_compiler_static='-static'
7824 # All AIX code is PIC.
7825 if test "$host_cpu" = ia64; then
7826 # AIX 5 now supports IA64 processor
7827 lt_prog_compiler_static='-Bstatic'
7834 # see comment about AmigaOS4 .so support
7835 lt_prog_compiler_pic='-fPIC'
7838 # FIXME: we need at least 68020 code to build shared libraries, but
7839 # adding the `-m68020' flag to GCC prevents building anything better,
7841 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7846 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7847 # PIC is the default for these OSes.
7850 mingw* | cygwin* | pw32* | os2* | cegcc*)
7851 # This hack is so that the source file can tell whether it is being
7852 # built for inclusion in a dll (and should export symbols for example).
7853 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7854 # (--disable-auto-import) libraries
7855 lt_prog_compiler_pic='-DDLL_EXPORT'
7858 darwin* | rhapsody*)
7859 # PIC is the default on this platform
7860 # Common symbols not allowed in MH_DYLIB files
7861 lt_prog_compiler_pic='-fno-common'
7865 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7866 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7867 # sets the default TLS model and affects inlining.
7873 lt_prog_compiler_pic='-fPIC'
7879 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7880 # Instead, we relocate shared libraries at runtime.
7884 # Just because we use GCC doesn't mean we suddenly get shared libraries
7885 # on systems that don't support them.
7886 lt_prog_compiler_can_build_shared=no
7891 # QNX uses GNU C++, but need to define -shared option too, otherwise
7893 lt_prog_compiler_pic='-fPIC -shared'
7897 if test -d /usr/nec; then
7898 lt_prog_compiler_pic=-Kconform_pic
7903 lt_prog_compiler_pic='-fPIC'
7907 # PORTME Check for flag to pass linker flags through the system compiler.
7910 lt_prog_compiler_wl='-Wl,'
7911 if test "$host_cpu" = ia64; then
7912 # AIX 5 now supports IA64 processor
7913 lt_prog_compiler_static='-Bstatic'
7915 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7919 mingw* | cygwin* | pw32* | os2* | cegcc*)
7920 # This hack is so that the source file can tell whether it is being
7921 # built for inclusion in a dll (and should export symbols for example).
7922 lt_prog_compiler_pic='-DDLL_EXPORT'
7925 hpux9* | hpux10* | hpux11*)
7926 lt_prog_compiler_wl='-Wl,'
7927 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7934 lt_prog_compiler_pic='+Z'
7937 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7938 lt_prog_compiler_static='${wl}-a ${wl}archive'
7941 irix5* | irix6* | nonstopux*)
7942 lt_prog_compiler_wl='-Wl,'
7943 # PIC (with -KPIC) is the default.
7944 lt_prog_compiler_static='-non_shared'
7947 linux* | k*bsd*-gnu)
7948 case $cc_basename in
7949 # old Intel for x86_64 which still supported -KPIC.
7951 lt_prog_compiler_wl='-Wl,'
7952 lt_prog_compiler_pic='-KPIC'
7953 lt_prog_compiler_static='-static'
7955 # icc used to be incompatible with GCC.
7956 # ICC 10 doesn't accept -KPIC any more.
7958 lt_prog_compiler_wl='-Wl,'
7959 lt_prog_compiler_pic='-fPIC'
7960 lt_prog_compiler_static='-static'
7962 # Lahey Fortran 8.1.
7964 lt_prog_compiler_wl='-Wl,'
7965 lt_prog_compiler_pic='--shared'
7966 lt_prog_compiler_static='--static'
7968 pgcc* | pgf77* | pgf90* | pgf95*)
7969 # Portland Group compilers (*not* the Pentium gcc compiler,
7970 # which looks to be a dead project)
7971 lt_prog_compiler_wl='-Wl,'
7972 lt_prog_compiler_pic='-fpic'
7973 lt_prog_compiler_static='-Bstatic'
7976 lt_prog_compiler_wl='-Wl,'
7977 # All Alpha code is PIC.
7978 lt_prog_compiler_static='-non_shared'
7981 # IBM XL C 8.0/Fortran 10.1 on PPC
7982 lt_prog_compiler_wl='-Wl,'
7983 lt_prog_compiler_pic='-qpic'
7984 lt_prog_compiler_static='-qstaticlink'
7987 case `$CC -V 2>&1 | sed 5q` in
7990 lt_prog_compiler_pic='-KPIC'
7991 lt_prog_compiler_static='-Bstatic'
7992 lt_prog_compiler_wl='-Wl,'
7995 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7996 lt_prog_compiler_pic='-KPIC'
7997 lt_prog_compiler_static='-Bstatic'
7998 lt_prog_compiler_wl=''
8006 lt_prog_compiler_pic='-KPIC'
8007 lt_prog_compiler_static='-Bstatic'
8011 # QNX uses GNU C++, but need to define -shared option too, otherwise
8013 lt_prog_compiler_pic='-fPIC -shared'
8016 osf3* | osf4* | osf5*)
8017 lt_prog_compiler_wl='-Wl,'
8018 # All OSF/1 code is PIC.
8019 lt_prog_compiler_static='-non_shared'
8023 lt_prog_compiler_static='-non_shared'
8027 lt_prog_compiler_pic='-KPIC'
8028 lt_prog_compiler_static='-Bstatic'
8029 case $cc_basename in
8031 lt_prog_compiler_wl='-Qoption ld ';;
8033 lt_prog_compiler_wl='-Wl,';;
8038 lt_prog_compiler_wl='-Qoption ld '
8039 lt_prog_compiler_pic='-PIC'
8040 lt_prog_compiler_static='-Bstatic'
8043 sysv4 | sysv4.2uw2* | sysv4.3*)
8044 lt_prog_compiler_wl='-Wl,'
8045 lt_prog_compiler_pic='-KPIC'
8046 lt_prog_compiler_static='-Bstatic'
8050 if test -d /usr/nec ;then
8051 lt_prog_compiler_pic='-Kconform_pic'
8052 lt_prog_compiler_static='-Bstatic'
8056 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8057 lt_prog_compiler_wl='-Wl,'
8058 lt_prog_compiler_pic='-KPIC'
8059 lt_prog_compiler_static='-Bstatic'
8063 lt_prog_compiler_wl='-Wl,'
8064 lt_prog_compiler_can_build_shared=no
8068 lt_prog_compiler_pic='-pic'
8069 lt_prog_compiler_static='-Bstatic'
8073 lt_prog_compiler_can_build_shared=no
8079 # For platforms which do not support PIC, -DPIC is meaningless:
8081 lt_prog_compiler_pic=
8084 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8087 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8088 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
8096 # Check to make sure the PIC flag actually works.
8098 if test -n "$lt_prog_compiler_pic"; then
8099 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8100 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
8101 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
8102 echo $ECHO_N "(cached) $ECHO_C" >&6
8104 lt_cv_prog_compiler_pic_works=no
8105 ac_outfile=conftest.$ac_objext
8106 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8107 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8108 # Insert the option either (1) after the last *FLAGS variable, or
8109 # (2) before a word containing "conftest.", or (3) at the end.
8110 # Note that $ac_compile itself does not contain backslashes and begins
8111 # with a dollar sign (not a hyphen), so the echo should work correctly.
8112 # The option is referenced via a variable to avoid confusing sed.
8113 lt_compile=`echo "$ac_compile" | $SED \
8114 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8115 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8116 -e 's:$: $lt_compiler_flag:'`
8117 (eval echo "\"\$as_me:8117: $lt_compile\"" >&5)
8118 (eval "$lt_compile" 2>conftest.err)
8120 cat conftest.err >&5
8121 echo "$as_me:8121: \$? = $ac_status" >&5
8122 if (exit $ac_status) && test -s "$ac_outfile"; then
8123 # The compiler can only warn and ignore the option if not recognized
8124 # So say no if there are warnings other than the usual output.
8125 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8126 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8127 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8128 lt_cv_prog_compiler_pic_works=yes
8134 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
8135 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6
8137 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8138 case $lt_prog_compiler_pic in
8140 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8143 lt_prog_compiler_pic=
8144 lt_prog_compiler_can_build_shared=no
8155 # Check to make sure the static flag actually works.
8157 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8158 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8159 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
8160 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
8161 echo $ECHO_N "(cached) $ECHO_C" >&6
8163 lt_cv_prog_compiler_static_works=no
8164 save_LDFLAGS="$LDFLAGS"
8165 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8166 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8167 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8168 # The linker can only warn and ignore the option if not recognized
8169 # So say no if there are warnings
8170 if test -s conftest.err; then
8171 # Append any errors to the config.log.
8172 cat conftest.err 1>&5
8173 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8174 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8175 if diff conftest.exp conftest.er2 >/dev/null; then
8176 lt_cv_prog_compiler_static_works=yes
8179 lt_cv_prog_compiler_static_works=yes
8183 LDFLAGS="$save_LDFLAGS"
8186 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
8187 echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6
8189 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8192 lt_prog_compiler_static=
8201 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8202 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
8203 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8204 echo $ECHO_N "(cached) $ECHO_C" >&6
8206 lt_cv_prog_compiler_c_o=no
8207 $RM -r conftest 2>/dev/null
8211 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8213 lt_compiler_flag="-o out/conftest2.$ac_objext"
8214 # Insert the option either (1) after the last *FLAGS variable, or
8215 # (2) before a word containing "conftest.", or (3) at the end.
8216 # Note that $ac_compile itself does not contain backslashes and begins
8217 # with a dollar sign (not a hyphen), so the echo should work correctly.
8218 lt_compile=`echo "$ac_compile" | $SED \
8219 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8220 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8221 -e 's:$: $lt_compiler_flag:'`
8222 (eval echo "\"\$as_me:8222: $lt_compile\"" >&5)
8223 (eval "$lt_compile" 2>out/conftest.err)
8225 cat out/conftest.err >&5
8226 echo "$as_me:8226: \$? = $ac_status" >&5
8227 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8229 # The compiler can only warn and ignore the option if not recognized
8230 # So say no if there are warnings
8231 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8232 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8233 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8234 lt_cv_prog_compiler_c_o=yes
8239 # SGI C++ compiler will create directory out/ii_files/ for
8240 # template instantiation
8241 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8242 $RM out/* && rmdir out
8248 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8249 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
8256 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8257 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
8258 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8259 echo $ECHO_N "(cached) $ECHO_C" >&6
8261 lt_cv_prog_compiler_c_o=no
8262 $RM -r conftest 2>/dev/null
8266 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8268 lt_compiler_flag="-o out/conftest2.$ac_objext"
8269 # Insert the option either (1) after the last *FLAGS variable, or
8270 # (2) before a word containing "conftest.", or (3) at the end.
8271 # Note that $ac_compile itself does not contain backslashes and begins
8272 # with a dollar sign (not a hyphen), so the echo should work correctly.
8273 lt_compile=`echo "$ac_compile" | $SED \
8274 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8275 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8276 -e 's:$: $lt_compiler_flag:'`
8277 (eval echo "\"\$as_me:8277: $lt_compile\"" >&5)
8278 (eval "$lt_compile" 2>out/conftest.err)
8280 cat out/conftest.err >&5
8281 echo "$as_me:8281: \$? = $ac_status" >&5
8282 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8284 # The compiler can only warn and ignore the option if not recognized
8285 # So say no if there are warnings
8286 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8287 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8288 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8289 lt_cv_prog_compiler_c_o=yes
8294 # SGI C++ compiler will create directory out/ii_files/ for
8295 # template instantiation
8296 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8297 $RM out/* && rmdir out
8303 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8304 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
8309 hard_links="nottested"
8310 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8311 # do not overwrite the value of need_locks provided by the user
8312 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8313 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
8316 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8318 ln conftest.a conftest.b 2>&5 || hard_links=no
8319 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8320 echo "$as_me:$LINENO: result: $hard_links" >&5
8321 echo "${ECHO_T}$hard_links" >&6
8322 if test "$hard_links" = no; then
8323 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8324 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8336 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8337 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
8340 allow_undefined_flag=
8341 always_export_symbols=no
8343 archive_expsym_cmds=
8344 compiler_needs_object=no
8345 enable_shared_with_static_runtimes=no
8346 export_dynamic_flag_spec=
8347 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8348 hardcode_automatic=no
8350 hardcode_direct_absolute=no
8351 hardcode_libdir_flag_spec=
8352 hardcode_libdir_flag_spec_ld=
8353 hardcode_libdir_separator=
8355 hardcode_shlibpath_var=unsupported
8357 link_all_deplibs=unknown
8360 old_archive_from_new_cmds=
8361 old_archive_from_expsyms_cmds=
8362 thread_safe_flag_spec=
8363 whole_archive_flag_spec=
8364 # include_expsyms should be a list of space-separated symbols to be *always*
8365 # included in the symbol list
8367 # exclude_expsyms can be an extended regexp of symbols to exclude
8368 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8369 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8370 # as well as any symbol that contains `d'.
8371 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8372 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8373 # platforms (ab)use it in PIC code, but their linkers get confused if
8374 # the symbol is explicitly referenced. Since portable code cannot
8375 # rely on this symbol name, it's probably fine to never include it in
8376 # preloaded symbol tables.
8377 # Exclude shared library initialization/finalization symbols.
8378 extract_expsyms_cmds=
8381 cygwin* | mingw* | pw32* | cegcc*)
8382 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8383 # When not using gcc, we currently assume that we are using
8384 # Microsoft Visual C++.
8385 if test "$GCC" != yes; then
8390 # we just hope/assume this is gcc and not c89 (= MSVC++)
8399 if test "$with_gnu_ld" = yes; then
8400 # If archive_cmds runs LD, not CC, wlarc should be empty
8403 # Set some defaults for GNU ld with shared library support. These
8404 # are reset later if shared libraries are not supported. Putting them
8405 # here allows them to be overridden if necessary.
8406 runpath_var=LD_RUN_PATH
8407 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8408 export_dynamic_flag_spec='${wl}--export-dynamic'
8409 # ancient GNU ld didn't support --whole-archive et. al.
8410 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8411 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8413 whole_archive_flag_spec=
8415 supports_anon_versioning=no
8416 case `$LD -v 2>&1` in
8417 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8418 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8419 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8420 *\ 2.11.*) ;; # other 2.11 versions
8421 *) supports_anon_versioning=yes ;;
8424 # See if GNU ld supports shared libraries.
8427 # On AIX/PPC, the GNU linker is very broken
8428 if test "$host_cpu" != ia64; then
8432 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8433 *** to be unable to reliably create shared libraries on AIX.
8434 *** Therefore, libtool is disabling shared libraries support. If you
8435 *** really care for shared libraries, you may want to modify your PATH
8436 *** so that a non-GNU linker is found, and then restart.
8445 # see comment about AmigaOS4 .so support
8446 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8447 archive_expsym_cmds=''
8450 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)'
8451 hardcode_libdir_flag_spec='-L$libdir'
8452 hardcode_minus_L=yes
8458 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8459 allow_undefined_flag=unsupported
8460 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8461 # support --undefined. This deserves some investigation. FIXME
8462 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8468 cygwin* | mingw* | pw32* | cegcc*)
8469 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8470 # as there is no search path for DLLs.
8471 hardcode_libdir_flag_spec='-L$libdir'
8472 allow_undefined_flag=unsupported
8473 always_export_symbols=no
8474 enable_shared_with_static_runtimes=yes
8475 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8477 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8478 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8479 # If the export-symbols file already is a .def file (1st line
8480 # is EXPORTS), use it as is; otherwise, prepend...
8481 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8482 cp $export_symbols $output_objdir/$soname.def;
8484 echo EXPORTS > $output_objdir/$soname.def;
8485 cat $export_symbols >> $output_objdir/$soname.def;
8487 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8495 hardcode_shlibpath_var=no
8496 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8497 export_dynamic_flag_spec='${wl}-E'
8498 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8499 # Instead, shared libraries are loaded at an image base (0x10000000 by
8500 # default) and relocated if they conflict, which is a slow very memory
8501 # consuming and fragmenting process. To avoid this, we pick a random,
8502 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8503 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8504 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8505 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'
8508 gnu* | linux* | tpf* | k*bsd*-gnu)
8510 if test "$host_os" = linux-dietlibc; then
8511 case $cc_basename in
8512 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8515 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8516 && test "$tmp_diet" = no
8519 tmp_sharedflag='-shared'
8520 case $cc_basename,$host_cpu in
8521 pgcc*) # Portland Group C compiler
8522 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'
8523 tmp_addflag=' $pic_flag'
8525 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
8526 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'
8527 tmp_addflag=' $pic_flag -Mnomain' ;;
8528 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8529 tmp_addflag=' -i_dynamic' ;;
8530 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8531 tmp_addflag=' -i_dynamic -nofor_main' ;;
8532 ifc* | ifort*) # Intel Fortran compiler
8533 tmp_addflag=' -nofor_main' ;;
8534 lf95*) # Lahey Fortran 8.1
8535 whole_archive_flag_spec=
8536 tmp_sharedflag='--shared' ;;
8537 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8538 tmp_sharedflag='-qmkshrobj'
8541 case `$CC -V 2>&1 | sed 5q` in
8542 *Sun\ C*) # Sun C 5.9
8543 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'
8544 compiler_needs_object=yes
8545 tmp_sharedflag='-G' ;;
8546 *Sun\ F*) # Sun Fortran 8.3
8547 tmp_sharedflag='-G' ;;
8549 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8551 if test "x$supports_anon_versioning" = xyes; then
8552 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8553 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8554 echo "local: *; };" >> $output_objdir/$libname.ver~
8555 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8558 case $cc_basename in
8560 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8561 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8562 hardcode_libdir_flag_spec=
8563 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8564 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8565 if test "x$supports_anon_versioning" = xyes; then
8566 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8567 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8568 echo "local: *; };" >> $output_objdir/$libname.ver~
8569 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8579 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8580 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8583 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8584 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8589 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8593 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8594 *** create shared libraries on Solaris systems. Therefore, libtool
8595 *** is disabling shared libraries support. We urge you to upgrade GNU
8596 *** binutils to release 2.9.1 or newer. Another option is to modify
8597 *** your PATH or compiler configuration so that the native linker is
8598 *** used, and then restart.
8601 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8602 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8603 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8609 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8610 case `$LD -v 2>&1` in
8611 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8615 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8616 *** reliably create shared libraries on SCO systems. Therefore, libtool
8617 *** is disabling shared libraries support. We urge you to upgrade GNU
8618 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8619 *** your PATH or compiler configuration so that the native linker is
8620 *** used, and then restart.
8625 # For security reasons, it is highly recommended that you always
8626 # use absolute paths for naming shared libraries, and exclude the
8627 # DT_RUNPATH tag from executables and libraries. But doing so
8628 # requires that you compile everything twice, which is a pain.
8629 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8630 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8631 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8632 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8641 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8644 hardcode_shlibpath_var=no
8648 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8649 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8650 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8657 if test "$ld_shlibs" = no; then
8659 hardcode_libdir_flag_spec=
8660 export_dynamic_flag_spec=
8661 whole_archive_flag_spec=
8664 # PORTME fill in a description of your system's linker (not GNU ld)
8667 allow_undefined_flag=unsupported
8668 always_export_symbols=yes
8669 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'
8670 # Note: this linker hardcodes the directories in LIBPATH if there
8671 # are no directories specified by -L.
8672 hardcode_minus_L=yes
8673 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8674 # Neither direct hardcoding nor static linking is supported with a
8676 hardcode_direct=unsupported
8681 if test "$host_cpu" = ia64; then
8682 # On IA64, the linker does run time linking by default, so we don't
8683 # have to do anything special.
8684 aix_use_runtimelinking=no
8685 exp_sym_flag='-Bexport'
8688 # If we're using GNU nm, then we don't want the "-C" option.
8689 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8690 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8691 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'
8693 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'
8695 aix_use_runtimelinking=no
8697 # Test if we are trying to use run time linking or normal
8698 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8699 # need to do runtime linking.
8700 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8701 for ld_flag in $LDFLAGS; do
8702 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8703 aix_use_runtimelinking=yes
8710 exp_sym_flag='-bexport'
8711 no_entry_flag='-bnoentry'
8714 # When large executables or shared objects are built, AIX ld can
8715 # have problems creating the table of contents. If linking a library
8716 # or program results in "error TOC overflow" add -mminimal-toc to
8717 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8718 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8722 hardcode_direct_absolute=yes
8723 hardcode_libdir_separator=':'
8724 link_all_deplibs=yes
8725 file_list_spec='${wl}-f,'
8727 if test "$GCC" = yes; then
8728 case $host_os in aix4.[012]|aix4.[012].*)
8729 # We only want to do this on AIX 4.2 and lower, the check
8730 # below for broken collect2 doesn't work under 4.3+
8731 collect2name=`${CC} -print-prog-name=collect2`
8732 if test -f "$collect2name" &&
8733 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8735 # We have reworked collect2
8738 # We have old collect2
8739 hardcode_direct=unsupported
8740 # It fails to find uninstalled libraries when the uninstalled
8741 # path is not listed in the libpath. Setting hardcode_minus_L
8742 # to unsupported forces relinking
8743 hardcode_minus_L=yes
8744 hardcode_libdir_flag_spec='-L$libdir'
8745 hardcode_libdir_separator=
8749 shared_flag='-shared'
8750 if test "$aix_use_runtimelinking" = yes; then
8751 shared_flag="$shared_flag "'${wl}-G'
8755 if test "$host_cpu" = ia64; then
8756 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8757 # chokes on -Wl,-G. The following line is correct:
8760 if test "$aix_use_runtimelinking" = yes; then
8761 shared_flag='${wl}-G'
8763 shared_flag='${wl}-bM:SRE'
8768 export_dynamic_flag_spec='${wl}-bexpall'
8769 # It seems that -bexpall does not export symbols beginning with
8770 # underscore (_), so it is better to generate a list of symbols to export.
8771 always_export_symbols=yes
8772 if test "$aix_use_runtimelinking" = yes; then
8773 # Warning - without using the other runtime loading flags (-brtl),
8774 # -berok will link without error, but may produce a broken library.
8775 allow_undefined_flag='-berok'
8776 # Determine the default libpath from the value encoded in an
8778 cat >conftest.$ac_ext <<_ACEOF
8781 cat confdefs.h >>conftest.$ac_ext
8782 cat >>conftest.$ac_ext <<_ACEOF
8783 /* end confdefs.h. */
8793 rm -f conftest.$ac_objext conftest$ac_exeext
8794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8795 (eval $ac_link) 2>conftest.er1
8797 grep -v '^ *+' conftest.er1 >conftest.err
8799 cat conftest.err >&5
8800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8801 (exit $ac_status); } &&
8802 { ac_try='test -z "$ac_c_werror_flag"
8803 || test ! -s conftest.err'
8804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8808 (exit $ac_status); }; } &&
8809 { ac_try='test -s conftest$ac_exeext'
8810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8814 (exit $ac_status); }; }; then
8816 lt_aix_libpath_sed='
8817 /Import File Strings/,/^$/ {
8823 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8824 # Check for a 64-bit object if we didn't find anything.
8825 if test -z "$aix_libpath"; then
8826 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8829 echo "$as_me: failed program was:" >&5
8830 sed 's/^/| /' conftest.$ac_ext >&5
8833 rm -f conftest.err conftest.$ac_objext \
8834 conftest$ac_exeext conftest.$ac_ext
8835 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8837 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8838 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"
8840 if test "$host_cpu" = ia64; then
8841 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8842 allow_undefined_flag="-z nodefs"
8843 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"
8845 # Determine the default libpath from the value encoded in an
8847 cat >conftest.$ac_ext <<_ACEOF
8850 cat confdefs.h >>conftest.$ac_ext
8851 cat >>conftest.$ac_ext <<_ACEOF
8852 /* end confdefs.h. */
8862 rm -f conftest.$ac_objext conftest$ac_exeext
8863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8864 (eval $ac_link) 2>conftest.er1
8866 grep -v '^ *+' conftest.er1 >conftest.err
8868 cat conftest.err >&5
8869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8870 (exit $ac_status); } &&
8871 { ac_try='test -z "$ac_c_werror_flag"
8872 || test ! -s conftest.err'
8873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8877 (exit $ac_status); }; } &&
8878 { ac_try='test -s conftest$ac_exeext'
8879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8883 (exit $ac_status); }; }; then
8885 lt_aix_libpath_sed='
8886 /Import File Strings/,/^$/ {
8892 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8893 # Check for a 64-bit object if we didn't find anything.
8894 if test -z "$aix_libpath"; then
8895 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8898 echo "$as_me: failed program was:" >&5
8899 sed 's/^/| /' conftest.$ac_ext >&5
8902 rm -f conftest.err conftest.$ac_objext \
8903 conftest$ac_exeext conftest.$ac_ext
8904 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8906 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8907 # Warning - without using the other run time loading flags,
8908 # -berok will link without error, but may produce a broken library.
8909 no_undefined_flag=' ${wl}-bernotok'
8910 allow_undefined_flag=' ${wl}-berok'
8911 # Exported symbols can be pulled into shared objects from archives
8912 whole_archive_flag_spec='$convenience'
8913 archive_cmds_need_lc=yes
8914 # This is similar to how AIX traditionally builds its shared libraries.
8915 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'
8923 # see comment about AmigaOS4 .so support
8924 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8925 archive_expsym_cmds=''
8928 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)'
8929 hardcode_libdir_flag_spec='-L$libdir'
8930 hardcode_minus_L=yes
8936 export_dynamic_flag_spec=-rdynamic
8939 cygwin* | mingw* | pw32* | cegcc*)
8940 # When not using gcc, we currently assume that we are using
8941 # Microsoft Visual C++.
8942 # hardcode_libdir_flag_spec is actually meaningless, as there is
8943 # no search path for DLLs.
8944 hardcode_libdir_flag_spec=' '
8945 allow_undefined_flag=unsupported
8946 # Tell ltmain to make .lib files, not .a files.
8948 # Tell ltmain to make .dll files, not .so files.
8950 # FIXME: Setting linknames here is a bad hack.
8951 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8952 # The linker will automatically build a .lib file if we build a DLL.
8953 old_archive_from_new_cmds='true'
8954 # FIXME: Should let the user specify the lib program.
8955 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8956 fix_srcfile_path='`cygpath -w "$srcfile"`'
8957 enable_shared_with_static_runtimes=yes
8960 darwin* | rhapsody*)
8963 archive_cmds_need_lc=no
8965 hardcode_automatic=yes
8966 hardcode_shlibpath_var=unsupported
8967 whole_archive_flag_spec=''
8968 link_all_deplibs=yes
8969 allow_undefined_flag="$_lt_dar_allow_undefined"
8970 case $cc_basename in
8971 ifort*) _lt_dar_can_shared=yes ;;
8972 *) _lt_dar_can_shared=$GCC ;;
8974 if test "$_lt_dar_can_shared" = "yes"; then
8975 output_verbose_link_cmd=echo
8976 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8977 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8978 archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
8979 module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
8988 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8989 hardcode_libdir_flag_spec='-L$libdir'
8990 hardcode_shlibpath_var=no
8997 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8998 # support. Future versions do this automatically, but an explicit c++rt0.o
8999 # does not break anything, and helps significantly (at the cost of a little
9002 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9003 hardcode_libdir_flag_spec='-R$libdir'
9005 hardcode_shlibpath_var=no
9008 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9010 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9012 hardcode_minus_L=yes
9013 hardcode_shlibpath_var=no
9016 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9017 freebsd* | dragonfly*)
9018 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9019 hardcode_libdir_flag_spec='-R$libdir'
9021 hardcode_shlibpath_var=no
9025 if test "$GCC" = yes; then
9026 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'
9028 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'
9030 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9031 hardcode_libdir_separator=:
9034 # hardcode_minus_L: Not really in the search PATH,
9035 # but as the default location of the library.
9036 hardcode_minus_L=yes
9037 export_dynamic_flag_spec='${wl}-E'
9041 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9042 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9044 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9046 if test "$with_gnu_ld" = no; then
9047 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9048 hardcode_libdir_flag_spec_ld='+b $libdir'
9049 hardcode_libdir_separator=:
9051 hardcode_direct_absolute=yes
9052 export_dynamic_flag_spec='${wl}-E'
9053 # hardcode_minus_L: Not really in the search PATH,
9054 # but as the default location of the library.
9055 hardcode_minus_L=yes
9060 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9063 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9066 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9069 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9075 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9078 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9081 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9085 if test "$with_gnu_ld" = no; then
9086 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9087 hardcode_libdir_separator=:
9092 hardcode_shlibpath_var=no
9096 hardcode_direct_absolute=yes
9097 export_dynamic_flag_spec='${wl}-E'
9099 # hardcode_minus_L: Not really in the search PATH,
9100 # but as the default location of the library.
9101 hardcode_minus_L=yes
9107 irix5* | irix6* | nonstopux*)
9108 if test "$GCC" = yes; then
9109 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'
9110 # Try to use the -exported_symbol ld option, if it does not
9111 # work, assume that -exports_file does not work either and
9112 # implicitly export all symbols.
9113 save_LDFLAGS="$LDFLAGS"
9114 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9115 cat >conftest.$ac_ext <<_ACEOF
9118 rm -f conftest.$ac_objext conftest$ac_exeext
9119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9120 (eval $ac_link) 2>conftest.er1
9122 grep -v '^ *+' conftest.er1 >conftest.err
9124 cat conftest.err >&5
9125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9126 (exit $ac_status); } &&
9127 { ac_try='test -z "$ac_c_werror_flag"
9128 || test ! -s conftest.err'
9129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9133 (exit $ac_status); }; } &&
9134 { ac_try='test -s conftest$ac_exeext'
9135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9139 (exit $ac_status); }; }; then
9140 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'
9143 echo "$as_me: failed program was:" >&5
9144 sed 's/^/| /' conftest.$ac_ext >&5
9147 rm -f conftest.err conftest.$ac_objext \
9148 conftest$ac_exeext conftest.$ac_ext
9149 LDFLAGS="$save_LDFLAGS"
9151 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'
9152 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'
9154 archive_cmds_need_lc='no'
9155 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9156 hardcode_libdir_separator=:
9158 link_all_deplibs=yes
9162 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9163 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9165 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9167 hardcode_libdir_flag_spec='-R$libdir'
9169 hardcode_shlibpath_var=no
9173 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9175 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9176 hardcode_libdir_separator=:
9177 hardcode_shlibpath_var=no
9184 if test -f /usr/libexec/ld.so; then
9186 hardcode_shlibpath_var=no
9187 hardcode_direct_absolute=yes
9188 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9189 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9190 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9191 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9192 export_dynamic_flag_spec='${wl}-E'
9195 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9196 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9197 hardcode_libdir_flag_spec='-R$libdir'
9200 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9201 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9211 hardcode_libdir_flag_spec='-L$libdir'
9212 hardcode_minus_L=yes
9213 allow_undefined_flag=unsupported
9214 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'
9215 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9219 if test "$GCC" = yes; then
9220 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9221 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'
9223 allow_undefined_flag=' -expect_unresolved \*'
9224 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'
9226 archive_cmds_need_lc='no'
9227 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9228 hardcode_libdir_separator=:
9231 osf4* | osf5*) # as osf3* with the addition of -msym flag
9232 if test "$GCC" = yes; then
9233 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9234 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'
9235 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9237 allow_undefined_flag=' -expect_unresolved \*'
9238 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'
9239 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~
9240 $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'
9242 # Both c and cxx compiler support -rpath directly
9243 hardcode_libdir_flag_spec='-rpath $libdir'
9245 archive_cmds_need_lc='no'
9246 hardcode_libdir_separator=:
9250 no_undefined_flag=' -z defs'
9251 if test "$GCC" = yes; then
9253 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9254 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9255 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9257 case `$CC -V 2>&1` in
9260 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9261 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9262 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9266 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9267 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9268 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9272 hardcode_libdir_flag_spec='-R$libdir'
9273 hardcode_shlibpath_var=no
9275 solaris2.[0-5] | solaris2.[0-5].*) ;;
9277 # The compiler driver will combine and reorder linker options,
9278 # but understands `-z linker_flag'. GCC discards it without `$wl',
9279 # but is careful enough not to reorder.
9280 # Supported since Solaris 2.6 (maybe 2.5.1?)
9281 if test "$GCC" = yes; then
9282 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9284 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9288 link_all_deplibs=yes
9292 if test "x$host_vendor" = xsequent; then
9293 # Use $CC to link under sequent, because it throws in some extra .o
9294 # files that make .init and .fini sections work.
9295 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9297 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9299 hardcode_libdir_flag_spec='-L$libdir'
9301 hardcode_minus_L=yes
9302 hardcode_shlibpath_var=no
9306 case $host_vendor in
9308 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9309 hardcode_direct=yes # is this really true???
9312 ## LD is ld it makes a PLAMLIB
9313 ## CC just makes a GrossModule.
9314 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9315 reload_cmds='$CC -r -o $output$reload_objs'
9319 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9320 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9323 runpath_var='LD_RUN_PATH'
9324 hardcode_shlibpath_var=no
9328 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9329 hardcode_shlibpath_var=no
9330 export_dynamic_flag_spec='-Bexport'
9334 if test -d /usr/nec; then
9335 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9336 hardcode_shlibpath_var=no
9337 runpath_var=LD_RUN_PATH
9338 hardcode_runpath_var=yes
9343 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9344 no_undefined_flag='${wl}-z,text'
9345 archive_cmds_need_lc=no
9346 hardcode_shlibpath_var=no
9347 runpath_var='LD_RUN_PATH'
9349 if test "$GCC" = yes; then
9350 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9351 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9353 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9354 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9358 sysv5* | sco3.2v5* | sco5v6*)
9359 # Note: We can NOT use -z defs as we might desire, because we do not
9360 # link with -lc, and that would cause any symbols used from libc to
9361 # always be unresolved, which means just about no library would
9362 # ever link correctly. If we're not using GNU ld we use -z text
9363 # though, which does catch some bad symbols but isn't as heavy-handed
9365 no_undefined_flag='${wl}-z,text'
9366 allow_undefined_flag='${wl}-z,nodefs'
9367 archive_cmds_need_lc=no
9368 hardcode_shlibpath_var=no
9369 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9370 hardcode_libdir_separator=':'
9371 link_all_deplibs=yes
9372 export_dynamic_flag_spec='${wl}-Bexport'
9373 runpath_var='LD_RUN_PATH'
9375 if test "$GCC" = yes; then
9376 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9377 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9379 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9380 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9385 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9386 hardcode_libdir_flag_spec='-L$libdir'
9387 hardcode_shlibpath_var=no
9395 if test x$host_vendor = xsni; then
9397 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9398 export_dynamic_flag_spec='${wl}-Blargedynsym'
9404 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9405 echo "${ECHO_T}$ld_shlibs" >&6
9406 test "$ld_shlibs" = no && can_build_shared=no
9408 with_gnu_ld=$with_gnu_ld
9425 # Do we need to explicitly link libc?
9427 case "x$archive_cmds_need_lc" in
9429 # Assume -lc should be added
9430 archive_cmds_need_lc=yes
9432 if test "$enable_shared" = yes && test "$GCC" = yes; then
9433 case $archive_cmds in
9435 # FIXME: we may have to deal with multi-command sequences.
9438 # Test whether the compiler implicitly links with -lc since on some
9439 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9440 # to ld, don't add -lc before -lgcc.
9441 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9442 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
9444 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9447 (eval $ac_compile) 2>&5
9449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9450 (exit $ac_status); } 2>conftest.err; then
9453 libobjs=conftest.$ac_objext
9455 wl=$lt_prog_compiler_wl
9456 pic_flag=$lt_prog_compiler_pic
9462 lt_save_allow_undefined_flag=$allow_undefined_flag
9463 allow_undefined_flag=
9464 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
9465 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9468 (exit $ac_status); }
9470 archive_cmds_need_lc=no
9472 archive_cmds_need_lc=yes
9474 allow_undefined_flag=$lt_save_allow_undefined_flag
9476 cat conftest.err 1>&5
9479 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9480 echo "${ECHO_T}$archive_cmds_need_lc" >&6
9643 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9644 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
9646 if test "$GCC" = yes; then
9648 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9649 *) lt_awk_arg="/^libraries:/" ;;
9651 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9652 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9653 # if the path contains ";" then we assume it to be the separator
9654 # otherwise default to the standard path separator (i.e. ":") - it is
9655 # assumed that no part of a normal pathname contains ";" but that should
9656 # okay in the real world where ";" in dirpaths is itself problematic.
9657 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9659 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9661 # Ok, now we have the path, separated by spaces, we can step through it
9662 # and add multilib dir if necessary.
9663 lt_tmp_lt_search_path_spec=
9664 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9665 for lt_sys_path in $lt_search_path_spec; do
9666 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9667 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9669 test -d "$lt_sys_path" && \
9670 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9673 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9674 BEGIN {RS=" "; FS="/|\n";} {
9677 for (lt_i = NF; lt_i > 0; lt_i--) {
9678 if ($lt_i != "" && $lt_i != ".") {
9679 if ($lt_i == "..") {
9682 if (lt_count == 0) {
9683 lt_foo="/" $lt_i lt_foo;
9690 if (lt_foo != "") { lt_freq[lt_foo]++; }
9691 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9693 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9695 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9698 libname_spec='lib$name'
9706 shlibpath_overrides_runpath=unknown
9708 dynamic_linker="$host_os ld.so"
9709 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9710 need_lib_prefix=unknown
9711 hardcode_into_libs=no
9713 # when you set need_version to no, make sure it does not cause -set_version
9714 # flags to be left without arguments
9715 need_version=unknown
9720 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9721 shlibpath_var=LIBPATH
9723 # AIX 3 has no versioning support, so we append a major version to the name.
9724 soname_spec='${libname}${release}${shared_ext}$major'
9731 hardcode_into_libs=yes
9732 if test "$host_cpu" = ia64; then
9733 # AIX 5 supports IA64
9734 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9735 shlibpath_var=LD_LIBRARY_PATH
9737 # With GCC up to 2.95.x, collect2 would create an import file
9738 # for dependence libraries. The import file would start with
9739 # the line `#! .'. This would cause the generated library to
9740 # depend on `.', always an invalid library. This was fixed in
9741 # development snapshots of GCC prior to 3.0.
9743 aix4 | aix4.[01] | aix4.[01].*)
9744 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9746 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9753 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9754 # soname into executable. Probably we can add versioning support to
9755 # collect2, so additional links can be useful in future.
9756 if test "$aix_use_runtimelinking" = yes; then
9757 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9758 # instead of lib<name>.a to let people know that these are not
9759 # typical AIX shared libraries.
9760 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9762 # We preserve .a as extension for shared libraries through AIX4.2
9763 # and later when we are not doing run time linking.
9764 library_names_spec='${libname}${release}.a $libname.a'
9765 soname_spec='${libname}${release}${shared_ext}$major'
9767 shlibpath_var=LIBPATH
9774 # Since July 2007 AmigaOS4 officially supports .so libraries.
9775 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9776 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9779 library_names_spec='$libname.ixlibrary $libname.a'
9780 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9781 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'
9787 library_names_spec='${libname}${shared_ext}'
9788 dynamic_linker="$host_os ld.so"
9789 shlibpath_var=LIBRARY_PATH
9795 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9796 soname_spec='${libname}${release}${shared_ext}$major'
9797 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9798 shlibpath_var=LD_LIBRARY_PATH
9799 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9800 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9801 # the default ld.so.conf also contains /usr/contrib/lib and
9802 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9803 # libtool to hard-code these into programs
9806 cygwin* | mingw* | pw32* | cegcc*)
9807 version_type=windows
9812 case $GCC,$host_os in
9813 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9814 library_names_spec='$libname.dll.a'
9815 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9816 postinstall_cmds='base_file=`basename \${file}`~
9817 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9818 dldir=$destdir/`dirname \$dlpath`~
9819 test -d \$dldir || mkdir -p \$dldir~
9820 $install_prog $dir/$dlname \$dldir/$dlname~
9821 chmod a+x \$dldir/$dlname~
9822 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9823 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9825 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9826 dlpath=$dir/\$dldll~
9828 shlibpath_overrides_runpath=yes
9832 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9833 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9834 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9837 # MinGW DLLs use traditional 'lib' prefix
9838 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9839 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9840 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9841 # It is most probably a Windows format PATH printed by
9842 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9843 # path with ; separators, and with drive letters. We can handle the
9844 # drive letters (cygwin fileutils understands them), so leave them,
9845 # especially as we might pass files found there to a mingw objdump,
9846 # which wouldn't understand a cygwinified path. Ahh.
9847 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9849 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9853 # pw32 DLLs use 'pw' prefix rather than 'lib'
9854 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9860 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9863 dynamic_linker='Win32 ld.exe'
9864 # FIXME: first we should search . and the directory the executable is in
9868 darwin* | rhapsody*)
9869 dynamic_linker="$host_os dyld"
9873 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9874 soname_spec='${libname}${release}${major}$shared_ext'
9875 shlibpath_overrides_runpath=yes
9876 shlibpath_var=DYLD_LIBRARY_PATH
9877 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9879 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9880 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9887 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9888 soname_spec='${libname}${release}${shared_ext}$major'
9889 shlibpath_var=LD_LIBRARY_PATH
9896 freebsd* | dragonfly*)
9897 # DragonFly does not have aout. When/if they implement a new
9898 # versioning mechanism, adjust this.
9899 if test -x /usr/bin/objformat; then
9900 objformat=`/usr/bin/objformat`
9903 freebsd[123]*) objformat=aout ;;
9907 version_type=freebsd-$objformat
9908 case $version_type in
9910 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9915 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9919 shlibpath_var=LD_LIBRARY_PATH
9922 shlibpath_overrides_runpath=yes
9924 freebsd3.[01]* | freebsdelf3.[01]*)
9925 shlibpath_overrides_runpath=yes
9926 hardcode_into_libs=yes
9928 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9929 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9930 shlibpath_overrides_runpath=no
9931 hardcode_into_libs=yes
9933 *) # from 4.6 on, and DragonFly
9934 shlibpath_overrides_runpath=yes
9935 hardcode_into_libs=yes
9944 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9945 soname_spec='${libname}${release}${shared_ext}$major'
9946 shlibpath_var=LD_LIBRARY_PATH
9947 hardcode_into_libs=yes
9950 hpux9* | hpux10* | hpux11*)
9951 # Give a soname corresponding to the major version so that dld.sl refuses to
9952 # link against other versions.
9959 hardcode_into_libs=yes
9960 dynamic_linker="$host_os dld.so"
9961 shlibpath_var=LD_LIBRARY_PATH
9962 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9963 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9964 soname_spec='${libname}${release}${shared_ext}$major'
9965 if test "X$HPUX_IA64_MODE" = X32; then
9966 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9968 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9970 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9974 hardcode_into_libs=yes
9975 dynamic_linker="$host_os dld.sl"
9976 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9977 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9978 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9979 soname_spec='${libname}${release}${shared_ext}$major'
9980 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9981 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9985 dynamic_linker="$host_os dld.sl"
9986 shlibpath_var=SHLIB_PATH
9987 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9988 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9989 soname_spec='${libname}${release}${shared_ext}$major'
9992 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9993 postinstall_cmds='chmod 555 $lib'
10000 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10001 soname_spec='${libname}${release}${shared_ext}$major'
10002 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10003 shlibpath_var=LD_LIBRARY_PATH
10004 shlibpath_overrides_runpath=no
10005 hardcode_into_libs=yes
10008 irix5* | irix6* | nonstopux*)
10010 nonstopux*) version_type=nonstopux ;;
10012 if test "$lt_cv_prog_gnu_ld" = yes; then
10020 soname_spec='${libname}${release}${shared_ext}$major'
10021 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10023 irix5* | nonstopux*)
10024 libsuff= shlibsuff=
10027 case $LD in # libtool.m4 will add one of these switches to LD
10028 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10029 libsuff= shlibsuff= libmagic=32-bit;;
10030 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10031 libsuff=32 shlibsuff=N32 libmagic=N32;;
10032 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10033 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10034 *) libsuff= shlibsuff= libmagic=never-match;;
10038 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10039 shlibpath_overrides_runpath=no
10040 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10041 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10042 hardcode_into_libs=yes
10045 # No shared lib support for Linux oldld, aout, or coff.
10046 linux*oldld* | linux*aout* | linux*coff*)
10050 # This must be Linux ELF.
10051 linux* | k*bsd*-gnu)
10055 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10056 soname_spec='${libname}${release}${shared_ext}$major'
10057 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10058 shlibpath_var=LD_LIBRARY_PATH
10059 shlibpath_overrides_runpath=no
10060 # Some binutils ld are patched to set DT_RUNPATH
10061 save_LDFLAGS=$LDFLAGS
10062 save_libdir=$libdir
10063 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10064 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10065 cat >conftest.$ac_ext <<_ACEOF
10068 cat confdefs.h >>conftest.$ac_ext
10069 cat >>conftest.$ac_ext <<_ACEOF
10070 /* end confdefs.h. */
10080 rm -f conftest.$ac_objext conftest$ac_exeext
10081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10082 (eval $ac_link) 2>conftest.er1
10084 grep -v '^ *+' conftest.er1 >conftest.err
10086 cat conftest.err >&5
10087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10088 (exit $ac_status); } &&
10089 { ac_try='test -z "$ac_c_werror_flag"
10090 || test ! -s conftest.err'
10091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10092 (eval $ac_try) 2>&5
10094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10095 (exit $ac_status); }; } &&
10096 { ac_try='test -s conftest$ac_exeext'
10097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10098 (eval $ac_try) 2>&5
10100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10101 (exit $ac_status); }; }; then
10102 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
10103 shlibpath_overrides_runpath=yes
10107 echo "$as_me: failed program was:" >&5
10108 sed 's/^/| /' conftest.$ac_ext >&5
10111 rm -f conftest.err conftest.$ac_objext \
10112 conftest$ac_exeext conftest.$ac_ext
10113 LDFLAGS=$save_LDFLAGS
10114 libdir=$save_libdir
10116 # This implies no fast_install, which is unacceptable.
10117 # Some rework will be needed to allow for fast_install
10118 # before this can be enabled.
10119 hardcode_into_libs=yes
10121 # Append ld.so.conf contents to the search path
10122 if test -f /etc/ld.so.conf; then
10123 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
10124 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10127 # We used to test for /lib/ld.so.1 and disable shared libraries on
10128 # powerpc, because MkLinux only supported shared libraries with the
10129 # GNU dynamic linker. Since this was broken with cross compilers,
10130 # most powerpc-linux boxes support dynamic linking these days and
10131 # people can always --disable-shared, the test was removed, and we
10132 # assume the GNU/Linux dynamic linker is in use.
10133 dynamic_linker='GNU/Linux ld.so'
10140 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10141 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10142 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10143 dynamic_linker='NetBSD (a.out) ld.so'
10145 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10146 soname_spec='${libname}${release}${shared_ext}$major'
10147 dynamic_linker='NetBSD ld.elf_so'
10149 shlibpath_var=LD_LIBRARY_PATH
10150 shlibpath_overrides_runpath=yes
10151 hardcode_into_libs=yes
10156 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10157 shlibpath_var=LD_LIBRARY_PATH
10158 shlibpath_overrides_runpath=yes
10165 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10166 soname_spec='${libname}${release}${shared_ext}$major'
10167 shlibpath_var=LD_LIBRARY_PATH
10168 shlibpath_overrides_runpath=no
10169 hardcode_into_libs=yes
10170 dynamic_linker='ldqnx.so'
10175 sys_lib_dlsearch_path_spec="/usr/lib"
10177 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10179 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10180 *) need_version=no ;;
10182 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10183 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10184 shlibpath_var=LD_LIBRARY_PATH
10185 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10187 openbsd2.[89] | openbsd2.[89].*)
10188 shlibpath_overrides_runpath=no
10191 shlibpath_overrides_runpath=yes
10195 shlibpath_overrides_runpath=yes
10200 libname_spec='$name'
10203 library_names_spec='$libname${shared_ext} $libname.a'
10204 dynamic_linker='OS/2 ld.exe'
10205 shlibpath_var=LIBPATH
10208 osf3* | osf4* | osf5*)
10212 soname_spec='${libname}${release}${shared_ext}$major'
10213 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10214 shlibpath_var=LD_LIBRARY_PATH
10215 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10216 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10227 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10228 soname_spec='${libname}${release}${shared_ext}$major'
10229 shlibpath_var=LD_LIBRARY_PATH
10230 shlibpath_overrides_runpath=yes
10231 hardcode_into_libs=yes
10232 # ldd complains unless libraries are executable
10233 postinstall_cmds='chmod +x $lib'
10238 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10239 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10240 shlibpath_var=LD_LIBRARY_PATH
10241 shlibpath_overrides_runpath=yes
10242 if test "$with_gnu_ld" = yes; then
10250 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10251 soname_spec='${libname}${release}${shared_ext}$major'
10252 shlibpath_var=LD_LIBRARY_PATH
10253 case $host_vendor in
10255 shlibpath_overrides_runpath=no
10257 runpath_var=LD_RUN_PATH
10265 shlibpath_overrides_runpath=no
10266 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10272 if test -d /usr/nec ;then
10274 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10275 soname_spec='$libname${shared_ext}.$major'
10276 shlibpath_var=LD_LIBRARY_PATH
10280 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10281 version_type=freebsd-elf
10284 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10285 soname_spec='${libname}${release}${shared_ext}$major'
10286 shlibpath_var=LD_LIBRARY_PATH
10287 shlibpath_overrides_runpath=yes
10288 hardcode_into_libs=yes
10289 if test "$with_gnu_ld" = yes; then
10290 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10292 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10295 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10299 sys_lib_dlsearch_path_spec='/usr/lib'
10303 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10307 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10308 shlibpath_var=LD_LIBRARY_PATH
10309 shlibpath_overrides_runpath=no
10310 hardcode_into_libs=yes
10315 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10316 soname_spec='${libname}${release}${shared_ext}$major'
10317 shlibpath_var=LD_LIBRARY_PATH
10324 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10325 echo "${ECHO_T}$dynamic_linker" >&6
10326 test "$dynamic_linker" = no && can_build_shared=no
10328 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10329 if test "$GCC" = yes; then
10330 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10333 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10334 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10336 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10337 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10426 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10427 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
10429 if test -n "$hardcode_libdir_flag_spec" ||
10430 test -n "$runpath_var" ||
10431 test "X$hardcode_automatic" = "Xyes" ; then
10433 # We can hardcode non-existent directories.
10434 if test "$hardcode_direct" != no &&
10435 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10436 # have to relink, otherwise we might link with an installed library
10437 # when we should be linking with a yet-to-be-installed one
10438 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10439 test "$hardcode_minus_L" != no; then
10440 # Linking always hardcodes the temporary library directory.
10441 hardcode_action=relink
10443 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10444 hardcode_action=immediate
10447 # We cannot hardcode anything, or else we can only hardcode existing
10449 hardcode_action=unsupported
10451 echo "$as_me:$LINENO: result: $hardcode_action" >&5
10452 echo "${ECHO_T}$hardcode_action" >&6
10454 if test "$hardcode_action" = relink ||
10455 test "$inherit_rpath" = yes; then
10456 # Fast installation is not supported
10457 enable_fast_install=no
10458 elif test "$shlibpath_overrides_runpath" = yes ||
10459 test "$enable_shared" = no; then
10460 # Fast installation is not necessary
10461 enable_fast_install=needless
10469 if test "x$enable_dlopen" != xyes; then
10470 enable_dlopen=unknown
10471 enable_dlopen_self=unknown
10472 enable_dlopen_self_static=unknown
10479 lt_cv_dlopen="load_add_on"
10481 lt_cv_dlopen_self=yes
10484 mingw* | pw32* | cegcc*)
10485 lt_cv_dlopen="LoadLibrary"
10490 lt_cv_dlopen="dlopen"
10495 # if libdl is installed we need to link against it
10496 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10497 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10498 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10499 echo $ECHO_N "(cached) $ECHO_C" >&6
10501 ac_check_lib_save_LIBS=$LIBS
10503 cat >conftest.$ac_ext <<_ACEOF
10506 cat confdefs.h >>conftest.$ac_ext
10507 cat >>conftest.$ac_ext <<_ACEOF
10508 /* end confdefs.h. */
10510 /* Override any gcc2 internal prototype to avoid an error. */
10514 /* We use char because int might match the return type of a gcc2
10515 builtin and then its argument prototype would still apply. */
10525 rm -f conftest.$ac_objext conftest$ac_exeext
10526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10527 (eval $ac_link) 2>conftest.er1
10529 grep -v '^ *+' conftest.er1 >conftest.err
10531 cat conftest.err >&5
10532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10533 (exit $ac_status); } &&
10534 { ac_try='test -z "$ac_c_werror_flag"
10535 || test ! -s conftest.err'
10536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10537 (eval $ac_try) 2>&5
10539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10540 (exit $ac_status); }; } &&
10541 { ac_try='test -s conftest$ac_exeext'
10542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10543 (eval $ac_try) 2>&5
10545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10546 (exit $ac_status); }; }; then
10547 ac_cv_lib_dl_dlopen=yes
10549 echo "$as_me: failed program was:" >&5
10550 sed 's/^/| /' conftest.$ac_ext >&5
10552 ac_cv_lib_dl_dlopen=no
10554 rm -f conftest.err conftest.$ac_objext \
10555 conftest$ac_exeext conftest.$ac_ext
10556 LIBS=$ac_check_lib_save_LIBS
10558 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10559 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10560 if test $ac_cv_lib_dl_dlopen = yes; then
10561 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10564 lt_cv_dlopen="dyld"
10566 lt_cv_dlopen_self=yes
10573 echo "$as_me:$LINENO: checking for shl_load" >&5
10574 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
10575 if test "${ac_cv_func_shl_load+set}" = set; then
10576 echo $ECHO_N "(cached) $ECHO_C" >&6
10578 cat >conftest.$ac_ext <<_ACEOF
10581 cat confdefs.h >>conftest.$ac_ext
10582 cat >>conftest.$ac_ext <<_ACEOF
10583 /* end confdefs.h. */
10584 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10585 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10586 #define shl_load innocuous_shl_load
10588 /* System header to define __stub macros and hopefully few prototypes,
10589 which can conflict with char shl_load (); below.
10590 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10591 <limits.h> exists even on freestanding compilers. */
10594 # include <limits.h>
10596 # include <assert.h>
10601 /* Override any gcc2 internal prototype to avoid an error. */
10606 /* We use char because int might match the return type of a gcc2
10607 builtin and then its argument prototype would still apply. */
10609 /* The GNU C library defines this for functions which it implements
10610 to always fail with ENOSYS. Some functions are actually named
10611 something starting with __ and the normal name is an alias. */
10612 #if defined (__stub_shl_load) || defined (__stub___shl_load)
10615 char (*f) () = shl_load;
10624 return f != shl_load;
10629 rm -f conftest.$ac_objext conftest$ac_exeext
10630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10631 (eval $ac_link) 2>conftest.er1
10633 grep -v '^ *+' conftest.er1 >conftest.err
10635 cat conftest.err >&5
10636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10637 (exit $ac_status); } &&
10638 { ac_try='test -z "$ac_c_werror_flag"
10639 || test ! -s conftest.err'
10640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10641 (eval $ac_try) 2>&5
10643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10644 (exit $ac_status); }; } &&
10645 { ac_try='test -s conftest$ac_exeext'
10646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10647 (eval $ac_try) 2>&5
10649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10650 (exit $ac_status); }; }; then
10651 ac_cv_func_shl_load=yes
10653 echo "$as_me: failed program was:" >&5
10654 sed 's/^/| /' conftest.$ac_ext >&5
10656 ac_cv_func_shl_load=no
10658 rm -f conftest.err conftest.$ac_objext \
10659 conftest$ac_exeext conftest.$ac_ext
10661 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10662 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
10663 if test $ac_cv_func_shl_load = yes; then
10664 lt_cv_dlopen="shl_load"
10666 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10667 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
10668 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10669 echo $ECHO_N "(cached) $ECHO_C" >&6
10671 ac_check_lib_save_LIBS=$LIBS
10673 cat >conftest.$ac_ext <<_ACEOF
10676 cat confdefs.h >>conftest.$ac_ext
10677 cat >>conftest.$ac_ext <<_ACEOF
10678 /* end confdefs.h. */
10680 /* Override any gcc2 internal prototype to avoid an error. */
10684 /* We use char because int might match the return type of a gcc2
10685 builtin and then its argument prototype would still apply. */
10695 rm -f conftest.$ac_objext conftest$ac_exeext
10696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10697 (eval $ac_link) 2>conftest.er1
10699 grep -v '^ *+' conftest.er1 >conftest.err
10701 cat conftest.err >&5
10702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10703 (exit $ac_status); } &&
10704 { ac_try='test -z "$ac_c_werror_flag"
10705 || test ! -s conftest.err'
10706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10707 (eval $ac_try) 2>&5
10709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10710 (exit $ac_status); }; } &&
10711 { ac_try='test -s conftest$ac_exeext'
10712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10713 (eval $ac_try) 2>&5
10715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10716 (exit $ac_status); }; }; then
10717 ac_cv_lib_dld_shl_load=yes
10719 echo "$as_me: failed program was:" >&5
10720 sed 's/^/| /' conftest.$ac_ext >&5
10722 ac_cv_lib_dld_shl_load=no
10724 rm -f conftest.err conftest.$ac_objext \
10725 conftest$ac_exeext conftest.$ac_ext
10726 LIBS=$ac_check_lib_save_LIBS
10728 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10729 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
10730 if test $ac_cv_lib_dld_shl_load = yes; then
10731 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10733 echo "$as_me:$LINENO: checking for dlopen" >&5
10734 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
10735 if test "${ac_cv_func_dlopen+set}" = set; then
10736 echo $ECHO_N "(cached) $ECHO_C" >&6
10738 cat >conftest.$ac_ext <<_ACEOF
10741 cat confdefs.h >>conftest.$ac_ext
10742 cat >>conftest.$ac_ext <<_ACEOF
10743 /* end confdefs.h. */
10744 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10745 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10746 #define dlopen innocuous_dlopen
10748 /* System header to define __stub macros and hopefully few prototypes,
10749 which can conflict with char dlopen (); below.
10750 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10751 <limits.h> exists even on freestanding compilers. */
10754 # include <limits.h>
10756 # include <assert.h>
10761 /* Override any gcc2 internal prototype to avoid an error. */
10766 /* We use char because int might match the return type of a gcc2
10767 builtin and then its argument prototype would still apply. */
10769 /* The GNU C library defines this for functions which it implements
10770 to always fail with ENOSYS. Some functions are actually named
10771 something starting with __ and the normal name is an alias. */
10772 #if defined (__stub_dlopen) || defined (__stub___dlopen)
10775 char (*f) () = dlopen;
10784 return f != dlopen;
10789 rm -f conftest.$ac_objext conftest$ac_exeext
10790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10791 (eval $ac_link) 2>conftest.er1
10793 grep -v '^ *+' conftest.er1 >conftest.err
10795 cat conftest.err >&5
10796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10797 (exit $ac_status); } &&
10798 { ac_try='test -z "$ac_c_werror_flag"
10799 || test ! -s conftest.err'
10800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10801 (eval $ac_try) 2>&5
10803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10804 (exit $ac_status); }; } &&
10805 { ac_try='test -s conftest$ac_exeext'
10806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10807 (eval $ac_try) 2>&5
10809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10810 (exit $ac_status); }; }; then
10811 ac_cv_func_dlopen=yes
10813 echo "$as_me: failed program was:" >&5
10814 sed 's/^/| /' conftest.$ac_ext >&5
10816 ac_cv_func_dlopen=no
10818 rm -f conftest.err conftest.$ac_objext \
10819 conftest$ac_exeext conftest.$ac_ext
10821 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10822 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
10823 if test $ac_cv_func_dlopen = yes; then
10824 lt_cv_dlopen="dlopen"
10826 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10827 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10828 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10829 echo $ECHO_N "(cached) $ECHO_C" >&6
10831 ac_check_lib_save_LIBS=$LIBS
10833 cat >conftest.$ac_ext <<_ACEOF
10836 cat confdefs.h >>conftest.$ac_ext
10837 cat >>conftest.$ac_ext <<_ACEOF
10838 /* end confdefs.h. */
10840 /* Override any gcc2 internal prototype to avoid an error. */
10844 /* We use char because int might match the return type of a gcc2
10845 builtin and then its argument prototype would still apply. */
10855 rm -f conftest.$ac_objext conftest$ac_exeext
10856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10857 (eval $ac_link) 2>conftest.er1
10859 grep -v '^ *+' conftest.er1 >conftest.err
10861 cat conftest.err >&5
10862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10863 (exit $ac_status); } &&
10864 { ac_try='test -z "$ac_c_werror_flag"
10865 || test ! -s conftest.err'
10866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10867 (eval $ac_try) 2>&5
10869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10870 (exit $ac_status); }; } &&
10871 { ac_try='test -s conftest$ac_exeext'
10872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10873 (eval $ac_try) 2>&5
10875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10876 (exit $ac_status); }; }; then
10877 ac_cv_lib_dl_dlopen=yes
10879 echo "$as_me: failed program was:" >&5
10880 sed 's/^/| /' conftest.$ac_ext >&5
10882 ac_cv_lib_dl_dlopen=no
10884 rm -f conftest.err conftest.$ac_objext \
10885 conftest$ac_exeext conftest.$ac_ext
10886 LIBS=$ac_check_lib_save_LIBS
10888 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10889 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10890 if test $ac_cv_lib_dl_dlopen = yes; then
10891 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10893 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10894 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
10895 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10896 echo $ECHO_N "(cached) $ECHO_C" >&6
10898 ac_check_lib_save_LIBS=$LIBS
10899 LIBS="-lsvld $LIBS"
10900 cat >conftest.$ac_ext <<_ACEOF
10903 cat confdefs.h >>conftest.$ac_ext
10904 cat >>conftest.$ac_ext <<_ACEOF
10905 /* end confdefs.h. */
10907 /* Override any gcc2 internal prototype to avoid an error. */
10911 /* We use char because int might match the return type of a gcc2
10912 builtin and then its argument prototype would still apply. */
10922 rm -f conftest.$ac_objext conftest$ac_exeext
10923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10924 (eval $ac_link) 2>conftest.er1
10926 grep -v '^ *+' conftest.er1 >conftest.err
10928 cat conftest.err >&5
10929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10930 (exit $ac_status); } &&
10931 { ac_try='test -z "$ac_c_werror_flag"
10932 || test ! -s conftest.err'
10933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10934 (eval $ac_try) 2>&5
10936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10937 (exit $ac_status); }; } &&
10938 { ac_try='test -s conftest$ac_exeext'
10939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10940 (eval $ac_try) 2>&5
10942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10943 (exit $ac_status); }; }; then
10944 ac_cv_lib_svld_dlopen=yes
10946 echo "$as_me: failed program was:" >&5
10947 sed 's/^/| /' conftest.$ac_ext >&5
10949 ac_cv_lib_svld_dlopen=no
10951 rm -f conftest.err conftest.$ac_objext \
10952 conftest$ac_exeext conftest.$ac_ext
10953 LIBS=$ac_check_lib_save_LIBS
10955 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10956 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
10957 if test $ac_cv_lib_svld_dlopen = yes; then
10958 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10960 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10961 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
10962 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10963 echo $ECHO_N "(cached) $ECHO_C" >&6
10965 ac_check_lib_save_LIBS=$LIBS
10967 cat >conftest.$ac_ext <<_ACEOF
10970 cat confdefs.h >>conftest.$ac_ext
10971 cat >>conftest.$ac_ext <<_ACEOF
10972 /* end confdefs.h. */
10974 /* Override any gcc2 internal prototype to avoid an error. */
10978 /* We use char because int might match the return type of a gcc2
10979 builtin and then its argument prototype would still apply. */
10989 rm -f conftest.$ac_objext conftest$ac_exeext
10990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10991 (eval $ac_link) 2>conftest.er1
10993 grep -v '^ *+' conftest.er1 >conftest.err
10995 cat conftest.err >&5
10996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10997 (exit $ac_status); } &&
10998 { ac_try='test -z "$ac_c_werror_flag"
10999 || test ! -s conftest.err'
11000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11001 (eval $ac_try) 2>&5
11003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11004 (exit $ac_status); }; } &&
11005 { ac_try='test -s conftest$ac_exeext'
11006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11007 (eval $ac_try) 2>&5
11009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11010 (exit $ac_status); }; }; then
11011 ac_cv_lib_dld_dld_link=yes
11013 echo "$as_me: failed program was:" >&5
11014 sed 's/^/| /' conftest.$ac_ext >&5
11016 ac_cv_lib_dld_dld_link=no
11018 rm -f conftest.err conftest.$ac_objext \
11019 conftest$ac_exeext conftest.$ac_ext
11020 LIBS=$ac_check_lib_save_LIBS
11022 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11023 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
11024 if test $ac_cv_lib_dld_dld_link = yes; then
11025 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11046 if test "x$lt_cv_dlopen" != xno; then
11052 case $lt_cv_dlopen in
11054 save_CPPFLAGS="$CPPFLAGS"
11055 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11057 save_LDFLAGS="$LDFLAGS"
11058 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11061 LIBS="$lt_cv_dlopen_libs $LIBS"
11063 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11064 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
11065 if test "${lt_cv_dlopen_self+set}" = set; then
11066 echo $ECHO_N "(cached) $ECHO_C" >&6
11068 if test "$cross_compiling" = yes; then :
11069 lt_cv_dlopen_self=cross
11071 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11072 lt_status=$lt_dlunknown
11073 cat > conftest.$ac_ext <<_LT_EOF
11074 #line 11074 "configure"
11075 #include "confdefs.h"
11084 # define LT_DLGLOBAL RTLD_GLOBAL
11087 # define LT_DLGLOBAL DL_GLOBAL
11089 # define LT_DLGLOBAL 0
11093 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11094 find out it does not work in some platform. */
11095 #ifndef LT_DLLAZY_OR_NOW
11097 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11100 # define LT_DLLAZY_OR_NOW DL_LAZY
11103 # define LT_DLLAZY_OR_NOW RTLD_NOW
11106 # define LT_DLLAZY_OR_NOW DL_NOW
11108 # define LT_DLLAZY_OR_NOW 0
11115 void fnord() { int i=42;}
11118 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11119 int status = $lt_dlunknown;
11123 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11124 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11125 /* dlclose (self); */
11133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11134 (eval $ac_link) 2>&5
11136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11137 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11138 (./conftest; exit; ) >&5 2>/dev/null
11140 case x$lt_status in
11141 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11142 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11143 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11146 # compilation failed
11147 lt_cv_dlopen_self=no
11154 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11155 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
11157 if test "x$lt_cv_dlopen_self" = xyes; then
11158 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11159 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11160 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
11161 if test "${lt_cv_dlopen_self_static+set}" = set; then
11162 echo $ECHO_N "(cached) $ECHO_C" >&6
11164 if test "$cross_compiling" = yes; then :
11165 lt_cv_dlopen_self_static=cross
11167 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11168 lt_status=$lt_dlunknown
11169 cat > conftest.$ac_ext <<_LT_EOF
11170 #line 11170 "configure"
11171 #include "confdefs.h"
11180 # define LT_DLGLOBAL RTLD_GLOBAL
11183 # define LT_DLGLOBAL DL_GLOBAL
11185 # define LT_DLGLOBAL 0
11189 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11190 find out it does not work in some platform. */
11191 #ifndef LT_DLLAZY_OR_NOW
11193 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11196 # define LT_DLLAZY_OR_NOW DL_LAZY
11199 # define LT_DLLAZY_OR_NOW RTLD_NOW
11202 # define LT_DLLAZY_OR_NOW DL_NOW
11204 # define LT_DLLAZY_OR_NOW 0
11211 void fnord() { int i=42;}
11214 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11215 int status = $lt_dlunknown;
11219 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11220 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11221 /* dlclose (self); */
11229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11230 (eval $ac_link) 2>&5
11232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11233 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11234 (./conftest; exit; ) >&5 2>/dev/null
11236 case x$lt_status in
11237 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11238 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11239 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11242 # compilation failed
11243 lt_cv_dlopen_self_static=no
11250 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11251 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
11254 CPPFLAGS="$save_CPPFLAGS"
11255 LDFLAGS="$save_LDFLAGS"
11260 case $lt_cv_dlopen_self in
11261 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11262 *) enable_dlopen_self=unknown ;;
11265 case $lt_cv_dlopen_self_static in
11266 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11267 *) enable_dlopen_self_static=unknown ;;
11289 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11290 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
11291 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11292 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11293 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11294 echo "$as_me:$LINENO: result: yes" >&5
11295 echo "${ECHO_T}yes" >&6
11297 # FIXME - insert some real tests, host_os isn't really good enough
11300 if test -n "$STRIP" ; then
11301 striplib="$STRIP -x"
11302 old_striplib="$STRIP -S"
11303 echo "$as_me:$LINENO: result: yes" >&5
11304 echo "${ECHO_T}yes" >&6
11306 echo "$as_me:$LINENO: result: no" >&5
11307 echo "${ECHO_T}no" >&6
11311 echo "$as_me:$LINENO: result: no" >&5
11312 echo "${ECHO_T}no" >&6
11328 # Report which library types will actually be built
11329 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11330 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
11331 echo "$as_me:$LINENO: result: $can_build_shared" >&5
11332 echo "${ECHO_T}$can_build_shared" >&6
11334 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11335 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
11336 test "$can_build_shared" = "no" && enable_shared=no
11338 # On AIX, shared libraries and static libraries use the same namespace, and
11339 # are all built from PIC.
11342 test "$enable_shared" = yes && enable_static=no
11343 if test -n "$RANLIB"; then
11344 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11345 postinstall_cmds='$RANLIB $lib'
11350 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11351 test "$enable_shared" = yes && enable_static=no
11355 echo "$as_me:$LINENO: result: $enable_shared" >&5
11356 echo "${ECHO_T}$enable_shared" >&6
11358 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11359 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
11360 # Make sure either enable_shared or enable_static is yes.
11361 test "$enable_shared" = yes || enable_static=yes
11362 echo "$as_me:$LINENO: result: $enable_static" >&5
11363 echo "${ECHO_T}$enable_static" >&6
11370 ac_cpp='$CPP $CPPFLAGS'
11371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11389 ac_config_commands="$ac_config_commands libtool"
11394 # Only expand once:
11398 # Check whether --enable-targets or --disable-targets was given.
11399 if test "${enable_targets+set}" = set; then
11400 enableval="$enable_targets"
11401 case "${enableval}" in
11402 yes | "") { { echo "$as_me:$LINENO: error: enable-targets option must specify target names or 'all'" >&5
11403 echo "$as_me: error: enable-targets option must specify target names or 'all'" >&2;}
11404 { (exit 1); exit 1; }; }
11406 no) enable_targets= ;;
11407 *) enable_targets=$enableval ;;
11409 fi; # Check whether --enable-commonbfdlib or --disable-commonbfdlib was given.
11410 if test "${enable_commonbfdlib+set}" = set; then
11411 enableval="$enable_commonbfdlib"
11412 case "${enableval}" in
11413 yes) commonbfdlib=true ;;
11414 no) commonbfdlib=false ;;
11415 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for opcodes commonbfdlib option" >&5
11416 echo "$as_me: error: bad value ${enableval} for opcodes commonbfdlib option" >&2;}
11417 { (exit 1); exit 1; }; } ;;
11421 GCC_WARN_CFLAGS="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
11423 # Check whether --enable-werror or --disable-werror was given.
11424 if test "${enable_werror+set}" = set; then
11425 enableval="$enable_werror"
11426 case "${enableval}" in
11427 yes | y) ERROR_ON_WARNING="yes" ;;
11428 no | n) ERROR_ON_WARNING="no" ;;
11429 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
11430 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
11431 { (exit 1); exit 1; }; } ;;
11435 # Enable -Wno-format by default when using gcc on mingw
11438 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
11439 GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wno-format"
11445 # Enable -Werror by default when using gcc
11446 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
11447 ERROR_ON_WARNING=yes
11451 if test "${ERROR_ON_WARNING}" = yes ; then
11452 GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Werror"
11453 NO_WERROR="-Wno-error"
11456 if test "${GCC}" = yes ; then
11457 WARN_CFLAGS="${GCC_WARN_CFLAGS}"
11460 # Check whether --enable-build-warnings or --disable-build-warnings was given.
11461 if test "${enable_build_warnings+set}" = set; then
11462 enableval="$enable_build_warnings"
11463 case "${enableval}" in
11464 yes) WARN_CFLAGS="${GCC_WARN_CFLAGS}";;
11465 no) if test "${GCC}" = yes ; then
11468 ,*) t=`echo "${enableval}" | sed -e "s/,/ /g"`
11469 WARN_CFLAGS="${GCC_WARN_CFLAGS} ${t}";;
11470 *,) t=`echo "${enableval}" | sed -e "s/,/ /g"`
11471 WARN_CFLAGS="${t} ${GCC_WARN_CFLAGS}";;
11472 *) WARN_CFLAGS=`echo "${enableval}" | sed -e "s/,/ /g"`;;
11476 if test x"$silent" != x"yes" && test x"$WARN_CFLAGS" != x""; then
11477 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
11484 ac_config_headers="$ac_config_headers config.h:config.in"
11487 if test -z "$target" ; then
11488 { { echo "$as_me:$LINENO: error: Unrecognized target system type; please check config.sub." >&5
11489 echo "$as_me: error: Unrecognized target system type; please check config.sub." >&2;}
11490 { (exit 1); exit 1; }; }
11493 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
11494 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
11495 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
11496 if test "${enable_maintainer_mode+set}" = set; then
11497 enableval="$enable_maintainer_mode"
11498 USE_MAINTAINER_MODE=$enableval
11500 USE_MAINTAINER_MODE=no
11502 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
11503 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
11506 if test $USE_MAINTAINER_MODE = yes; then
11507 MAINTAINER_MODE_TRUE=
11508 MAINTAINER_MODE_FALSE='#'
11510 MAINTAINER_MODE_TRUE='#'
11511 MAINTAINER_MODE_FALSE=
11514 MAINT=$MAINTAINER_MODE_TRUE
11517 case ${build_alias} in
11518 "") build_noncanonical=${build} ;;
11519 *) build_noncanonical=${build_alias} ;;
11522 case ${host_alias} in
11523 "") host_noncanonical=${build_noncanonical} ;;
11524 *) host_noncanonical=${host_alias} ;;
11527 case ${target_alias} in
11528 "") target_noncanonical=${host_noncanonical} ;;
11529 *) target_noncanonical=${target_alias} ;;
11532 echo "$as_me:$LINENO: checking whether to install libbfd" >&5
11533 echo $ECHO_N "checking whether to install libbfd... $ECHO_C" >&6
11534 # Check whether --enable-install-libbfd or --disable-install-libbfd was given.
11535 if test "${enable_install_libbfd+set}" = set; then
11536 enableval="$enable_install_libbfd"
11537 install_libbfd_p=$enableval
11539 if test "${host}" = "${target}" || test "$enable_shared" = "yes"; then
11540 install_libbfd_p=yes
11542 install_libbfd_p=no
11545 echo "$as_me:$LINENO: result: $install_libbfd_p" >&5
11546 echo "${ECHO_T}$install_libbfd_p" >&6
11549 if test $install_libbfd_p = yes; then
11550 INSTALL_LIBBFD_TRUE=
11551 INSTALL_LIBBFD_FALSE='#'
11553 INSTALL_LIBBFD_TRUE='#'
11554 INSTALL_LIBBFD_FALSE=
11557 # Need _noncanonical variables for this.
11562 # libbfd.a is a host library containing target dependent code
11563 bfdlibdir='$(libdir)'
11564 bfdincludedir='$(includedir)'
11565 if test "${host}" != "${target}"; then
11566 bfdlibdir='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/lib'
11567 bfdincludedir='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/include'
11575 # host-specific stuff:
11577 ALL_LINGUAS="fr sv tr es da de id pt_BR ro nl fi vi ga zh_CN"
11578 # If we haven't got the data from the intl directory,
11579 # assume NLS is disabled.
11588 if test -f ../intl/config.intl; then
11589 . ../intl/config.intl
11591 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
11592 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
11593 if test x"$USE_NLS" != xyes; then
11594 echo "$as_me:$LINENO: result: no" >&5
11595 echo "${ECHO_T}no" >&6
11597 echo "$as_me:$LINENO: result: yes" >&5
11598 echo "${ECHO_T}yes" >&6
11600 cat >>confdefs.h <<\_ACEOF
11601 #define ENABLE_NLS 1
11605 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
11606 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
11607 # Look for .po and .gmo files in the source directory.
11610 for cat in $srcdir/po/*.gmo $srcdir/po/*.po; do
11611 # If there aren't any .gmo files the shell will give us the
11612 # literal string "../path/to/srcdir/po/*.gmo" which has to be
11614 case "$cat" in *\**)
11617 # The quadruple backslash is collapsed to a double backslash
11618 # by the backticks, then collapsed again by the double quotes,
11619 # leaving us with one backslash in the sed expression (right
11620 # before the dot that mustn't act as a wildcard).
11621 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
11622 lang=`echo $cat | sed -e "s!\\\\.gmo!!"`
11623 # The user is allowed to set LINGUAS to a list of languages to
11624 # install catalogs for. If it's empty that means "all of them."
11625 if test "x$LINGUAS" = x; then
11626 CATALOGS="$CATALOGS $cat"
11627 XLINGUAS="$XLINGUAS $lang"
11629 case "$LINGUAS" in *$lang*)
11630 CATALOGS="$CATALOGS $cat"
11631 XLINGUAS="$XLINGUAS $lang"
11636 LINGUAS="$XLINGUAS"
11637 echo "$as_me:$LINENO: result: $LINGUAS" >&5
11638 echo "${ECHO_T}$LINGUAS" >&6
11652 if test -n "$ac_aux_dir"; then
11653 case "$ac_aux_dir" in
11654 /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
11655 *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
11658 if test -z "$MKINSTALLDIRS"; then
11659 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
11664 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
11665 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
11666 # Check whether --enable-nls or --disable-nls was given.
11667 if test "${enable_nls+set}" = set; then
11668 enableval="$enable_nls"
11673 echo "$as_me:$LINENO: result: $USE_NLS" >&5
11674 echo "${ECHO_T}$USE_NLS" >&6
11681 # Prepare PATH_SEPARATOR.
11682 # The user is always right.
11683 if test "${PATH_SEPARATOR+set}" != set; then
11684 echo "#! /bin/sh" >conf$$.sh
11685 echo "exit 0" >>conf$$.sh
11687 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11695 # Find out how to test for executable files. Don't use a zero-byte file,
11696 # as systems may use methods other than mode bits to determine executability.
11697 cat >conf$$.file <<_ASEOF
11701 chmod +x conf$$.file
11702 if test -x conf$$.file >/dev/null 2>&1; then
11703 ac_executable_p="test -x"
11705 ac_executable_p="test -f"
11709 # Extract the first word of "msgfmt", so it can be a program name with args.
11710 set dummy msgfmt; ac_word=$2
11711 echo "$as_me:$LINENO: checking for $ac_word" >&5
11712 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11713 if test "${ac_cv_path_MSGFMT+set}" = set; then
11714 echo $ECHO_N "(cached) $ECHO_C" >&6
11718 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
11721 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
11722 for ac_dir in $PATH; do
11724 test -z "$ac_dir" && ac_dir=.
11725 for ac_exec_ext in '' $ac_executable_extensions; do
11726 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11727 if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
11728 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
11729 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
11736 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
11740 MSGFMT="$ac_cv_path_MSGFMT"
11741 if test "$MSGFMT" != ":"; then
11742 echo "$as_me:$LINENO: result: $MSGFMT" >&5
11743 echo "${ECHO_T}$MSGFMT" >&6
11745 echo "$as_me:$LINENO: result: no" >&5
11746 echo "${ECHO_T}no" >&6
11749 # Extract the first word of "gmsgfmt", so it can be a program name with args.
11750 set dummy gmsgfmt; ac_word=$2
11751 echo "$as_me:$LINENO: checking for $ac_word" >&5
11752 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11753 if test "${ac_cv_path_GMSGFMT+set}" = set; then
11754 echo $ECHO_N "(cached) $ECHO_C" >&6
11758 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
11761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11762 for as_dir in $PATH
11765 test -z "$as_dir" && as_dir=.
11766 for ac_exec_ext in '' $ac_executable_extensions; do
11767 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11768 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
11769 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11775 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
11779 GMSGFMT=$ac_cv_path_GMSGFMT
11781 if test -n "$GMSGFMT"; then
11782 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
11783 echo "${ECHO_T}$GMSGFMT" >&6
11785 echo "$as_me:$LINENO: result: no" >&5
11786 echo "${ECHO_T}no" >&6
11791 # Prepare PATH_SEPARATOR.
11792 # The user is always right.
11793 if test "${PATH_SEPARATOR+set}" != set; then
11794 echo "#! /bin/sh" >conf$$.sh
11795 echo "exit 0" >>conf$$.sh
11797 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11805 # Find out how to test for executable files. Don't use a zero-byte file,
11806 # as systems may use methods other than mode bits to determine executability.
11807 cat >conf$$.file <<_ASEOF
11811 chmod +x conf$$.file
11812 if test -x conf$$.file >/dev/null 2>&1; then
11813 ac_executable_p="test -x"
11815 ac_executable_p="test -f"
11819 # Extract the first word of "xgettext", so it can be a program name with args.
11820 set dummy xgettext; ac_word=$2
11821 echo "$as_me:$LINENO: checking for $ac_word" >&5
11822 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11823 if test "${ac_cv_path_XGETTEXT+set}" = set; then
11824 echo $ECHO_N "(cached) $ECHO_C" >&6
11826 case "$XGETTEXT" in
11828 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
11831 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
11832 for ac_dir in $PATH; do
11834 test -z "$ac_dir" && ac_dir=.
11835 for ac_exec_ext in '' $ac_executable_extensions; do
11836 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11837 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
11838 (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
11839 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
11846 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
11850 XGETTEXT="$ac_cv_path_XGETTEXT"
11851 if test "$XGETTEXT" != ":"; then
11852 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
11853 echo "${ECHO_T}$XGETTEXT" >&6
11855 echo "$as_me:$LINENO: result: no" >&5
11856 echo "${ECHO_T}no" >&6
11862 # Prepare PATH_SEPARATOR.
11863 # The user is always right.
11864 if test "${PATH_SEPARATOR+set}" != set; then
11865 echo "#! /bin/sh" >conf$$.sh
11866 echo "exit 0" >>conf$$.sh
11868 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11876 # Find out how to test for executable files. Don't use a zero-byte file,
11877 # as systems may use methods other than mode bits to determine executability.
11878 cat >conf$$.file <<_ASEOF
11882 chmod +x conf$$.file
11883 if test -x conf$$.file >/dev/null 2>&1; then
11884 ac_executable_p="test -x"
11886 ac_executable_p="test -f"
11890 # Extract the first word of "msgmerge", so it can be a program name with args.
11891 set dummy msgmerge; ac_word=$2
11892 echo "$as_me:$LINENO: checking for $ac_word" >&5
11893 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11894 if test "${ac_cv_path_MSGMERGE+set}" = set; then
11895 echo $ECHO_N "(cached) $ECHO_C" >&6
11897 case "$MSGMERGE" in
11899 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
11902 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
11903 for ac_dir in $PATH; do
11905 test -z "$ac_dir" && ac_dir=.
11906 for ac_exec_ext in '' $ac_executable_extensions; do
11907 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11908 if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
11909 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
11916 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
11920 MSGMERGE="$ac_cv_path_MSGMERGE"
11921 if test "$MSGMERGE" != ":"; then
11922 echo "$as_me:$LINENO: result: $MSGMERGE" >&5
11923 echo "${ECHO_T}$MSGMERGE" >&6
11925 echo "$as_me:$LINENO: result: no" >&5
11926 echo "${ECHO_T}no" >&6
11930 if test "$GMSGFMT" != ":"; then
11931 if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
11932 (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
11935 GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
11936 echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
11937 echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
11942 if test "$XGETTEXT" != ":"; then
11943 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
11944 (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
11947 echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
11948 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
11954 ac_config_commands="$ac_config_commands default-1"
11958 . ${srcdir}/../bfd/configure.host
11960 # Put a plausible default for CC_FOR_BUILD in Makefile.
11961 if test -z "$CC_FOR_BUILD"; then
11962 if test "x$cross_compiling" = "xno"; then
11963 CC_FOR_BUILD='$(CC)'
11969 # Also set EXEEXT_FOR_BUILD.
11970 if test "x$cross_compiling" = "xno"; then
11971 EXEEXT_FOR_BUILD='$(EXEEXT)'
11973 echo "$as_me:$LINENO: checking for build system executable suffix" >&5
11974 echo $ECHO_N "checking for build system executable suffix... $ECHO_C" >&6
11975 if test "${bfd_cv_build_exeext+set}" = set; then
11976 echo $ECHO_N "(cached) $ECHO_C" >&6
11979 echo 'int main () { return 0; }' > conftest.c
11980 bfd_cv_build_exeext=
11981 ${CC_FOR_BUILD} -o conftest conftest.c 1>&5 2>&5
11982 for file in conftest.*; do
11984 *.c | *.o | *.obj | *.ilk | *.pdb) ;;
11985 *) bfd_cv_build_exeext=`echo $file | sed -e s/conftest//` ;;
11989 test x"${bfd_cv_build_exeext}" = x && bfd_cv_build_exeext=no
11991 echo "$as_me:$LINENO: result: $bfd_cv_build_exeext" >&5
11992 echo "${ECHO_T}$bfd_cv_build_exeext" >&6
11993 EXEEXT_FOR_BUILD=""
11994 test x"${bfd_cv_build_exeext}" != xno && EXEEXT_FOR_BUILD=${bfd_cv_build_exeext}
11999 # Find a good install program. We prefer a C program (faster),
12000 # so one script is as good as another. But avoid the broken or
12001 # incompatible versions:
12002 # SysV /etc/install, /usr/sbin/install
12003 # SunOS /usr/etc/install
12004 # IRIX /sbin/install
12006 # AmigaOS /C/install, which installs bootblocks on floppy discs
12007 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
12008 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
12009 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
12010 # OS/2's system install, which has a completely different semantic
12011 # ./install, which can be erroneously created by make from ./install.sh.
12012 # Reject install programs that cannot install multiple files.
12013 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
12014 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
12015 if test -z "$INSTALL"; then
12016 if test "${ac_cv_path_install+set}" = set; then
12017 echo $ECHO_N "(cached) $ECHO_C" >&6
12019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12020 for as_dir in $PATH
12023 test -z "$as_dir" && as_dir=.
12024 # Account for people who put trailing slashes in PATH elements.
12026 ./ | .// | /cC/* | \
12027 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
12028 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
12031 # OSF1 and SCO ODT 3.0 have their own names for install.
12032 # Don't use installbsd from OSF since it installs stuff as root
12034 for ac_prog in ginstall scoinst install; do
12035 for ac_exec_ext in '' $ac_executable_extensions; do
12036 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
12037 if test $ac_prog = install &&
12038 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
12039 # AIX install. It has an incompatible calling convention.
12041 elif test $ac_prog = install &&
12042 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
12043 # program-specific install script used by HP pwplus--don't use.
12046 rm -rf conftest.one conftest.two conftest.dir
12047 echo one > conftest.one
12048 echo two > conftest.two
12050 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
12051 test -s conftest.one && test -s conftest.two &&
12052 test -s conftest.dir/conftest.one &&
12053 test -s conftest.dir/conftest.two
12055 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
12066 rm -rf conftest.one conftest.two conftest.dir
12069 if test "${ac_cv_path_install+set}" = set; then
12070 INSTALL=$ac_cv_path_install
12072 # As a last resort, use the slow shell script. Don't cache a
12073 # value for INSTALL within a source directory, because that will
12074 # break other packages using the cache if that directory is
12075 # removed, or if the value is a relative name.
12076 INSTALL=$ac_install_sh
12079 echo "$as_me:$LINENO: result: $INSTALL" >&5
12080 echo "${ECHO_T}$INSTALL" >&6
12082 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
12083 # It thinks the first close brace ends the variable substitution.
12084 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
12086 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
12088 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
12095 for ac_header in string.h strings.h stdlib.h limits.h
12097 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12098 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12099 echo "$as_me:$LINENO: checking for $ac_header" >&5
12100 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12101 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12102 echo $ECHO_N "(cached) $ECHO_C" >&6
12104 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12105 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12107 # Is the header compilable?
12108 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12109 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12110 cat >conftest.$ac_ext <<_ACEOF
12113 cat confdefs.h >>conftest.$ac_ext
12114 cat >>conftest.$ac_ext <<_ACEOF
12115 /* end confdefs.h. */
12116 $ac_includes_default
12117 #include <$ac_header>
12119 rm -f conftest.$ac_objext
12120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12121 (eval $ac_compile) 2>conftest.er1
12123 grep -v '^ *+' conftest.er1 >conftest.err
12125 cat conftest.err >&5
12126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12127 (exit $ac_status); } &&
12128 { ac_try='test -z "$ac_c_werror_flag"
12129 || test ! -s conftest.err'
12130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12131 (eval $ac_try) 2>&5
12133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12134 (exit $ac_status); }; } &&
12135 { ac_try='test -s conftest.$ac_objext'
12136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12137 (eval $ac_try) 2>&5
12139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12140 (exit $ac_status); }; }; then
12141 ac_header_compiler=yes
12143 echo "$as_me: failed program was:" >&5
12144 sed 's/^/| /' conftest.$ac_ext >&5
12146 ac_header_compiler=no
12148 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12149 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12150 echo "${ECHO_T}$ac_header_compiler" >&6
12152 # Is the header present?
12153 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12154 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12155 cat >conftest.$ac_ext <<_ACEOF
12158 cat confdefs.h >>conftest.$ac_ext
12159 cat >>conftest.$ac_ext <<_ACEOF
12160 /* end confdefs.h. */
12161 #include <$ac_header>
12163 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12164 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12166 grep -v '^ *+' conftest.er1 >conftest.err
12168 cat conftest.err >&5
12169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12170 (exit $ac_status); } >/dev/null; then
12171 if test -s conftest.err; then
12172 ac_cpp_err=$ac_c_preproc_warn_flag
12173 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12180 if test -z "$ac_cpp_err"; then
12181 ac_header_preproc=yes
12183 echo "$as_me: failed program was:" >&5
12184 sed 's/^/| /' conftest.$ac_ext >&5
12186 ac_header_preproc=no
12188 rm -f conftest.err conftest.$ac_ext
12189 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12190 echo "${ECHO_T}$ac_header_preproc" >&6
12192 # So? What about this header?
12193 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12195 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12196 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12197 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12198 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12199 ac_header_preproc=yes
12202 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12203 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12204 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12205 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12206 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12207 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12208 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12209 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12210 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12211 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12212 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12213 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12216 ## ------------------------------------------ ##
12217 ## Report this to the AC_PACKAGE_NAME lists. ##
12218 ## ------------------------------------------ ##
12221 sed "s/^/$as_me: WARNING: /" >&2
12224 echo "$as_me:$LINENO: checking for $ac_header" >&5
12225 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12226 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12227 echo $ECHO_N "(cached) $ECHO_C" >&6
12229 eval "$as_ac_Header=\$ac_header_preproc"
12231 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12232 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12235 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12236 cat >>confdefs.h <<_ACEOF
12237 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12245 echo "$as_me:$LINENO: checking whether basename is declared" >&5
12246 echo $ECHO_N "checking whether basename is declared... $ECHO_C" >&6
12247 if test "${ac_cv_have_decl_basename+set}" = set; then
12248 echo $ECHO_N "(cached) $ECHO_C" >&6
12250 cat >conftest.$ac_ext <<_ACEOF
12253 cat confdefs.h >>conftest.$ac_ext
12254 cat >>conftest.$ac_ext <<_ACEOF
12255 /* end confdefs.h. */
12256 $ac_includes_default
12261 char *p = (char *) basename;
12268 rm -f conftest.$ac_objext
12269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12270 (eval $ac_compile) 2>conftest.er1
12272 grep -v '^ *+' conftest.er1 >conftest.err
12274 cat conftest.err >&5
12275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12276 (exit $ac_status); } &&
12277 { ac_try='test -z "$ac_c_werror_flag"
12278 || test ! -s conftest.err'
12279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12280 (eval $ac_try) 2>&5
12282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12283 (exit $ac_status); }; } &&
12284 { ac_try='test -s conftest.$ac_objext'
12285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12286 (eval $ac_try) 2>&5
12288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12289 (exit $ac_status); }; }; then
12290 ac_cv_have_decl_basename=yes
12292 echo "$as_me: failed program was:" >&5
12293 sed 's/^/| /' conftest.$ac_ext >&5
12295 ac_cv_have_decl_basename=no
12297 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12299 echo "$as_me:$LINENO: result: $ac_cv_have_decl_basename" >&5
12300 echo "${ECHO_T}$ac_cv_have_decl_basename" >&6
12301 if test $ac_cv_have_decl_basename = yes; then
12303 cat >>confdefs.h <<_ACEOF
12304 #define HAVE_DECL_BASENAME 1
12309 cat >>confdefs.h <<_ACEOF
12310 #define HAVE_DECL_BASENAME 0
12315 echo "$as_me:$LINENO: checking whether stpcpy is declared" >&5
12316 echo $ECHO_N "checking whether stpcpy is declared... $ECHO_C" >&6
12317 if test "${ac_cv_have_decl_stpcpy+set}" = set; then
12318 echo $ECHO_N "(cached) $ECHO_C" >&6
12320 cat >conftest.$ac_ext <<_ACEOF
12323 cat confdefs.h >>conftest.$ac_ext
12324 cat >>conftest.$ac_ext <<_ACEOF
12325 /* end confdefs.h. */
12326 $ac_includes_default
12331 char *p = (char *) stpcpy;
12338 rm -f conftest.$ac_objext
12339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12340 (eval $ac_compile) 2>conftest.er1
12342 grep -v '^ *+' conftest.er1 >conftest.err
12344 cat conftest.err >&5
12345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12346 (exit $ac_status); } &&
12347 { ac_try='test -z "$ac_c_werror_flag"
12348 || test ! -s conftest.err'
12349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12350 (eval $ac_try) 2>&5
12352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12353 (exit $ac_status); }; } &&
12354 { ac_try='test -s conftest.$ac_objext'
12355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12356 (eval $ac_try) 2>&5
12358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12359 (exit $ac_status); }; }; then
12360 ac_cv_have_decl_stpcpy=yes
12362 echo "$as_me: failed program was:" >&5
12363 sed 's/^/| /' conftest.$ac_ext >&5
12365 ac_cv_have_decl_stpcpy=no
12367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12369 echo "$as_me:$LINENO: result: $ac_cv_have_decl_stpcpy" >&5
12370 echo "${ECHO_T}$ac_cv_have_decl_stpcpy" >&6
12371 if test $ac_cv_have_decl_stpcpy = yes; then
12373 cat >>confdefs.h <<_ACEOF
12374 #define HAVE_DECL_STPCPY 1
12379 cat >>confdefs.h <<_ACEOF
12380 #define HAVE_DECL_STPCPY 0
12389 cgendir='$(srcdir)/../cgen'
12391 # Check whether --enable-cgen-maint or --disable-cgen-maint was given.
12392 if test "${enable_cgen_maint+set}" = set; then
12393 enableval="$enable_cgen_maint"
12394 case "${enableval}" in
12395 yes) cgen_maint=yes ;;
12396 no) cgen_maint=no ;;
12398 # argument is cgen install directory (not implemented yet).
12399 # Having a `share' directory might be more appropriate for the .scm,
12400 # .cpu, etc. files.
12402 cgendir=${cgen_maint}/lib/cgen
12407 if test x${cgen_maint} = xyes; then
12409 CGEN_MAINT_FALSE='#'
12411 CGEN_MAINT_TRUE='#'
12419 # Horrible hacks to build DLLs on Windows and a shared library elsewhere.
12422 SHARED_DEPENDENCIES=
12423 if test "$enable_shared" = "yes"; then
12426 SHARED_LDFLAGS="-no-undefined"
12427 SHARED_LIBADD="-L`pwd`/../bfd -lbfd -L`pwd`/../libiberty -liberty -L`pwd`/../intl -lintl -lcygwin"
12430 SHARED_LIBADD="-Wl,`pwd`/../bfd/.libs/libbfd.dylib"
12431 SHARED_DEPENDENCIES="../bfd/libbfd.la"
12434 case "$host_vendor" in
12436 SHARED_LIBADD="-Wl,`pwd`/../bfd/.libs/libbfd.sl"
12439 SHARED_LIBADD="-Wl,`pwd`/../bfd/.libs/libbfd.so -Wl,`pwd`/../libiberty/libiberty.a"
12442 SHARED_DEPENDENCIES="../bfd/libbfd.la ../libiberty/libiberty.a"
12450 # target-specific stuff:
12452 # Canonicalize the secondary target names.
12453 if test -n "$enable_targets" ; then
12454 for targ in `echo $enable_targets | sed 's/,/ /g'`
12456 result=`$ac_config_sub $targ 2>/dev/null`
12457 if test -n "$result" ; then
12458 canon_targets="$canon_targets $result"
12460 # Allow targets that config.sub doesn't recognize, like "all".
12461 canon_targets="$canon_targets $targ"
12468 for targ in $target $canon_targets
12470 if test "x$targ" = "xall" ; then
12473 . $srcdir/../bfd/config.bfd
12474 selarchs="$selarchs $targ_archs"
12478 # Utility var, documents generic cgen support files.
12480 cgen_files="cgen-opc.lo cgen-asm.lo cgen-dis.lo cgen-bitset.lo"
12482 # We don't do any links based on the target system, just makefile config.
12484 if test x${all_targets} = xfalse ; then
12486 # Target architecture .o files.
12489 for arch in $selarchs
12491 ad=`echo $arch | sed -e s/bfd_//g -e s/_arch//g`
12492 archdefs="$archdefs -DARCH_$ad"
12494 bfd_alpha_arch) ta="$ta alpha-dis.lo alpha-opc.lo" ;;
12495 bfd_arc_arch) ta="$ta arc-dis.lo arc-opc.lo arc-ext.lo" ;;
12496 bfd_arm_arch) ta="$ta arm-dis.lo" ;;
12497 bfd_avr_arch) ta="$ta avr-dis.lo" ;;
12498 bfd_bfin_arch) ta="$ta bfin-dis.lo" ;;
12499 bfd_cr16_arch) ta="$ta cr16-dis.lo cr16-opc.lo" ;;
12500 bfd_cris_arch) ta="$ta cris-dis.lo cris-opc.lo cgen-bitset.lo" ;;
12501 bfd_crx_arch) ta="$ta crx-dis.lo crx-opc.lo" ;;
12502 bfd_d10v_arch) ta="$ta d10v-dis.lo d10v-opc.lo" ;;
12503 bfd_d30v_arch) ta="$ta d30v-dis.lo d30v-opc.lo" ;;
12504 bfd_dlx_arch) ta="$ta dlx-dis.lo" ;;
12505 bfd_fr30_arch) ta="$ta fr30-asm.lo fr30-desc.lo fr30-dis.lo fr30-ibld.lo fr30-opc.lo" using_cgen=yes ;;
12506 bfd_frv_arch) ta="$ta frv-asm.lo frv-desc.lo frv-dis.lo frv-ibld.lo frv-opc.lo" using_cgen=yes ;;
12507 bfd_h8300_arch) ta="$ta h8300-dis.lo" ;;
12508 bfd_h8500_arch) ta="$ta h8500-dis.lo" ;;
12509 bfd_hppa_arch) ta="$ta hppa-dis.lo" ;;
12510 bfd_i370_arch) ta="$ta i370-dis.lo i370-opc.lo" ;;
12511 bfd_i386_arch) ta="$ta i386-dis.lo i386-opc.lo" ;;
12512 bfd_i860_arch) ta="$ta i860-dis.lo" ;;
12513 bfd_i960_arch) ta="$ta i960-dis.lo" ;;
12514 bfd_ia64_arch) ta="$ta ia64-dis.lo ia64-opc.lo" ;;
12515 bfd_ip2k_arch) ta="$ta ip2k-asm.lo ip2k-desc.lo ip2k-dis.lo ip2k-ibld.lo ip2k-opc.lo" using_cgen=yes ;;
12516 bfd_iq2000_arch) ta="$ta iq2000-asm.lo iq2000-desc.lo iq2000-dis.lo iq2000-ibld.lo iq2000-opc.lo" using_cgen=yes ;;
12517 bfd_m32c_arch) ta="$ta m32c-asm.lo m32c-desc.lo m32c-dis.lo m32c-ibld.lo m32c-opc.lo" using_cgen=yes ;;
12518 bfd_m32r_arch) ta="$ta m32r-asm.lo m32r-desc.lo m32r-dis.lo m32r-ibld.lo m32r-opc.lo m32r-opinst.lo" using_cgen=yes ;;
12519 bfd_m68hc11_arch) ta="$ta m68hc11-dis.lo m68hc11-opc.lo" ;;
12520 bfd_m68hc12_arch) ta="$ta m68hc11-dis.lo m68hc11-opc.lo" ;;
12521 bfd_m68k_arch) ta="$ta m68k-dis.lo m68k-opc.lo" ;;
12522 bfd_m88k_arch) ta="$ta m88k-dis.lo" ;;
12523 bfd_maxq_arch) ta="$ta maxq-dis.lo" ;;
12524 bfd_mcore_arch) ta="$ta mcore-dis.lo" ;;
12525 bfd_mep_arch) ta="$ta mep-asm.lo mep-desc.lo mep-dis.lo mep-ibld.lo mep-opc.lo" using_cgen=yes ;;
12526 bfd_mips_arch) ta="$ta mips-dis.lo mips-opc.lo mips16-opc.lo" ;;
12527 bfd_mmix_arch) ta="$ta mmix-dis.lo mmix-opc.lo" ;;
12528 bfd_mn10200_arch) ta="$ta m10200-dis.lo m10200-opc.lo" ;;
12529 bfd_mn10300_arch) ta="$ta m10300-dis.lo m10300-opc.lo" ;;
12530 bfd_mt_arch) ta="$ta mt-asm.lo mt-desc.lo mt-dis.lo mt-ibld.lo mt-opc.lo" using_cgen=yes ;;
12531 bfd_msp430_arch) ta="$ta msp430-dis.lo" ;;
12532 bfd_ns32k_arch) ta="$ta ns32k-dis.lo" ;;
12533 bfd_openrisc_arch) ta="$ta openrisc-asm.lo openrisc-desc.lo openrisc-dis.lo openrisc-ibld.lo openrisc-opc.lo" using_cgen=yes ;;
12534 bfd_or32_arch) ta="$ta or32-dis.lo or32-opc.lo" using_cgen=yes ;;
12535 bfd_pdp11_arch) ta="$ta pdp11-dis.lo pdp11-opc.lo" ;;
12536 bfd_pj_arch) ta="$ta pj-dis.lo pj-opc.lo" ;;
12537 bfd_powerpc_arch) ta="$ta ppc-dis.lo ppc-opc.lo" ;;
12538 bfd_powerpc_64_arch) ta="$ta ppc-dis.lo ppc-opc.lo" ;;
12539 bfd_pyramid_arch) ;;
12541 bfd_rs6000_arch) ta="$ta ppc-dis.lo ppc-opc.lo" ;;
12542 bfd_s390_arch) ta="$ta s390-dis.lo s390-opc.lo" ;;
12543 bfd_score_arch) ta="$ta score-dis.lo" ;;
12545 # We can't decide what we want just from the CPU family.
12546 # We want SH5 support unless a specific version of sh is
12547 # specified, as in sh3-elf, sh3b-linux-gnu, etc.
12548 # Include it just for ELF targets, since the SH5 bfd:s are ELF only.
12549 for t in $target $canon_targets; do
12551 all | sh5*-* | sh64*-* | sh-*-*elf* | shl*-*-*elf* | \
12552 sh-*-linux* | shl-*-linux*)
12553 ta="$ta sh64-dis.lo sh64-opc.lo"
12554 archdefs="$archdefs -DINCLUDE_SHMEDIA"
12558 ta="$ta sh-dis.lo cgen-bitset.lo" ;;
12559 bfd_sparc_arch) ta="$ta sparc-dis.lo sparc-opc.lo" ;;
12560 bfd_spu_arch) ta="$ta spu-dis.lo spu-opc.lo" ;;
12562 bfd_tic30_arch) ta="$ta tic30-dis.lo" ;;
12563 bfd_tic4x_arch) ta="$ta tic4x-dis.lo" ;;
12564 bfd_tic54x_arch) ta="$ta tic54x-dis.lo tic54x-opc.lo" ;;
12565 bfd_tic80_arch) ta="$ta tic80-dis.lo tic80-opc.lo" ;;
12566 bfd_v850_arch) ta="$ta v850-opc.lo v850-dis.lo" ;;
12567 bfd_v850e_arch) ta="$ta v850-opc.lo v850-dis.lo" ;;
12568 bfd_v850ea_arch) ta="$ta v850-opc.lo v850-dis.lo" ;;
12569 bfd_vax_arch) ta="$ta vax-dis.lo" ;;
12570 bfd_w65_arch) ta="$ta w65-dis.lo" ;;
12572 bfd_xc16x_arch) ta="$ta xc16x-asm.lo xc16x-desc.lo xc16x-dis.lo xc16x-ibld.lo xc16x-opc.lo" using_cgen=yes ;;
12573 bfd_xstormy16_arch) ta="$ta xstormy16-asm.lo xstormy16-desc.lo xstormy16-dis.lo xstormy16-ibld.lo xstormy16-opc.lo" using_cgen=yes ;;
12574 bfd_xtensa_arch) ta="$ta xtensa-dis.lo" ;;
12575 bfd_z80_arch) ta="$ta z80-dis.lo" ;;
12576 bfd_z8k_arch) ta="$ta z8k-dis.lo" ;;
12579 *) { { echo "$as_me:$LINENO: error: *** unknown target architecture $arch" >&5
12580 echo "$as_me: error: *** unknown target architecture $arch" >&2;}
12581 { (exit 1); exit 1; }; } ;;
12585 if test $using_cgen = yes ; then
12586 ta="$ta $cgen_files"
12589 # Weed out duplicate .o files.
12599 # And duplicate -D flags.
12601 for i in $archdefs ; do
12611 else # all_targets is true
12612 archdefs=-DARCH_all
12613 BFD_MACHINES='$(ALL_MACHINES)'
12619 ac_config_files="$ac_config_files Makefile po/Makefile.in:po/Make-in"
12621 cat >confcache <<\_ACEOF
12622 # This file is a shell script that caches the results of configure
12623 # tests run on this system so they can be shared between configure
12624 # scripts and configure runs, see configure's option --config-cache.
12625 # It is not useful on other systems. If it contains results you don't
12626 # want to keep, you may remove or edit it.
12628 # config.status only pays attention to the cache file if you give it
12629 # the --recheck option to rerun configure.
12631 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12632 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12633 # following values.
12637 # The following way of writing the cache mishandles newlines in values,
12638 # but we know of no workaround that is simple, portable, and efficient.
12639 # So, don't put newlines in cache variables' values.
12640 # Ultrix sh set writes to stderr and can't be redirected directly,
12641 # and sets the high bit in the cache file unless we assign to the vars.
12644 case `(ac_space=' '; set | grep ac_space) 2>&1` in
12646 # `set' does not quote correctly, so add quotes (double-quote
12647 # substitution turns \\\\ into \\, and sed turns \\ into \).
12650 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12653 # `set' quotes correctly as required by POSIX, so do not add quotes.
12655 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
12662 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12664 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12666 if diff $cache_file confcache >/dev/null 2>&1; then :; else
12667 if test -w $cache_file; then
12668 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
12669 cat confcache >$cache_file
12671 echo "not updating unwritable cache $cache_file"
12676 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12677 # Let make expand exec_prefix.
12678 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12680 # VPATH may cause trouble with some makes, so we remove $(srcdir),
12681 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
12682 # trailing colons and then remove the whole line if VPATH becomes empty
12683 # (actually we leave an empty line to preserve line numbers).
12684 if test "x$srcdir" = x.; then
12685 ac_vpsub='/^[ ]*VPATH[ ]*=/{
12686 s/:*\$(srcdir):*/:/;
12687 s/:*\${srcdir}:*/:/;
12689 s/^\([^=]*=[ ]*\):*/\1/;
12695 DEFS=-DHAVE_CONFIG_H
12699 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12700 # 1. Remove the extension, and $U if already installed.
12701 ac_i=`echo "$ac_i" |
12702 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
12704 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
12705 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
12707 LIBOBJS=$ac_libobjs
12709 LTLIBOBJS=$ac_ltlibobjs
12712 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12713 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
12714 Usually this means the macro was only invoked conditionally." >&5
12715 echo "$as_me: error: conditional \"AMDEP\" was never defined.
12716 Usually this means the macro was only invoked conditionally." >&2;}
12717 { (exit 1); exit 1; }; }
12719 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12720 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
12721 Usually this means the macro was only invoked conditionally." >&5
12722 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
12723 Usually this means the macro was only invoked conditionally." >&2;}
12724 { (exit 1); exit 1; }; }
12726 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
12727 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
12728 Usually this means the macro was only invoked conditionally." >&5
12729 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
12730 Usually this means the macro was only invoked conditionally." >&2;}
12731 { (exit 1); exit 1; }; }
12733 if test -z "${INSTALL_LIBBFD_TRUE}" && test -z "${INSTALL_LIBBFD_FALSE}"; then
12734 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_LIBBFD\" was never defined.
12735 Usually this means the macro was only invoked conditionally." >&5
12736 echo "$as_me: error: conditional \"INSTALL_LIBBFD\" was never defined.
12737 Usually this means the macro was only invoked conditionally." >&2;}
12738 { (exit 1); exit 1; }; }
12740 if test -z "${CGEN_MAINT_TRUE}" && test -z "${CGEN_MAINT_FALSE}"; then
12741 { { echo "$as_me:$LINENO: error: conditional \"CGEN_MAINT\" was never defined.
12742 Usually this means the macro was only invoked conditionally." >&5
12743 echo "$as_me: error: conditional \"CGEN_MAINT\" was never defined.
12744 Usually this means the macro was only invoked conditionally." >&2;}
12745 { (exit 1); exit 1; }; }
12748 : ${CONFIG_STATUS=./config.status}
12749 ac_clean_files_save=$ac_clean_files
12750 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12751 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
12752 echo "$as_me: creating $CONFIG_STATUS" >&6;}
12753 cat >$CONFIG_STATUS <<_ACEOF
12755 # Generated by $as_me.
12756 # Run this file to recreate the current configuration.
12757 # Compiler output produced by configure, useful for debugging
12758 # configure, is in config.log if it exists.
12761 ac_cs_recheck=false
12763 SHELL=\${CONFIG_SHELL-$SHELL}
12766 cat >>$CONFIG_STATUS <<\_ACEOF
12767 ## --------------------- ##
12768 ## M4sh Initialization. ##
12769 ## --------------------- ##
12771 # Be Bourne compatible
12772 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
12775 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
12776 # is contrary to our usage. Disable this feature.
12777 alias -g '${1+"$@"}'='"$@"'
12778 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
12781 DUALCASE=1; export DUALCASE # for MKS sh
12783 # Support unset when possible.
12784 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
12791 # Work around bugs in pre-3.0 UWIN ksh.
12792 $as_unset ENV MAIL MAILPATH
12799 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
12800 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
12801 LC_TELEPHONE LC_TIME
12803 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
12804 eval $as_var=C; export $as_var
12810 # Required to use basename.
12811 if expr a : '\(a\)' >/dev/null 2>&1; then
12817 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
12818 as_basename=basename
12824 # Name of the executable.
12825 as_me=`$as_basename "$0" ||
12826 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12827 X"$0" : 'X\(//\)$' \| \
12828 X"$0" : 'X\(/\)$' \| \
12829 . : '\(.\)' 2>/dev/null ||
12831 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
12832 /^X\/\(\/\/\)$/{ s//\1/; q; }
12833 /^X\/\(\/\).*/{ s//\1/; q; }
12837 # PATH needs CR, and LINENO needs CR and PATH.
12838 # Avoid depending upon Character Ranges.
12839 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12840 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12841 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12842 as_cr_digits='0123456789'
12843 as_cr_alnum=$as_cr_Letters$as_cr_digits
12845 # The user is always right.
12846 if test "${PATH_SEPARATOR+set}" != set; then
12847 echo "#! /bin/sh" >conf$$.sh
12848 echo "exit 0" >>conf$$.sh
12850 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12859 as_lineno_1=$LINENO
12860 as_lineno_2=$LINENO
12861 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
12862 test "x$as_lineno_1" != "x$as_lineno_2" &&
12863 test "x$as_lineno_3" = "x$as_lineno_2" || {
12864 # Find who we are. Look in the path if we contain no path at all
12867 *[\\/]* ) as_myself=$0 ;;
12868 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12869 for as_dir in $PATH
12872 test -z "$as_dir" && as_dir=.
12873 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12878 # We did not find ourselves, most probably we were run as `sh COMMAND'
12879 # in which case we are not to be found in the path.
12880 if test "x$as_myself" = x; then
12883 if test ! -f "$as_myself"; then
12884 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
12885 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
12886 { (exit 1); exit 1; }; }
12888 case $CONFIG_SHELL in
12890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12891 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
12894 test -z "$as_dir" && as_dir=.
12895 for as_base in sh bash ksh sh5; do
12898 if ("$as_dir/$as_base" -c '
12899 as_lineno_1=$LINENO
12900 as_lineno_2=$LINENO
12901 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
12902 test "x$as_lineno_1" != "x$as_lineno_2" &&
12903 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
12904 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
12905 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
12906 CONFIG_SHELL=$as_dir/$as_base
12907 export CONFIG_SHELL
12908 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
12916 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
12917 # uniformly replaced by the line number. The first 'sed' inserts a
12918 # line-number line before each line; the second 'sed' does the real
12919 # work. The second script uses 'N' to pair each line-number line
12920 # with the numbered line, and appends trailing '-' during
12921 # substitution so that $LINENO is not a special case at line end.
12922 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
12923 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
12924 sed '=' <$as_myself |
12929 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
12932 s,^['$as_cr_digits']*\n,,
12933 ' >$as_me.lineno &&
12934 chmod +x $as_me.lineno ||
12935 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
12936 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
12937 { (exit 1); exit 1; }; }
12939 # Don't try to exec as it changes $[0], causing all sort of problems
12940 # (the dirname of $[0] is not the place where we might find the
12941 # original and so on. Autoconf is especially sensible to this).
12943 # Exit status is that of the last command.
12948 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
12949 *c*,-n*) ECHO_N= ECHO_C='
12951 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
12952 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
12955 if expr a : '\(a\)' >/dev/null 2>&1; then
12961 rm -f conf$$ conf$$.exe conf$$.file
12963 if ln -s conf$$.file conf$$ 2>/dev/null; then
12964 # We could just check for DJGPP; but this test a) works b) is more generic
12965 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
12966 if test -f conf$$.exe; then
12967 # Don't use ln at all; we don't have any links
12972 elif ln conf$$.file conf$$ 2>/dev/null; then
12977 rm -f conf$$ conf$$.exe conf$$.file
12979 if mkdir -p . 2>/dev/null; then
12982 test -d ./-p && rmdir ./-p
12986 as_executable_p="test -f"
12988 # Sed expression to map a string onto a valid CPP name.
12989 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12991 # Sed expression to map a string onto a valid variable name.
12992 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12996 # We need space, tab and new line, in precisely that order.
13006 # Open the log real soon, to keep \$[0] and so on meaningful, and to
13007 # report actual input values of CONFIG_FILES etc. instead of their
13008 # values after options handling. Logging --version etc. is OK.
13012 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13013 ## Running $as_me. ##
13018 This file was extended by $as_me, which was
13019 generated by GNU Autoconf 2.59. Invocation command line was
13021 CONFIG_FILES = $CONFIG_FILES
13022 CONFIG_HEADERS = $CONFIG_HEADERS
13023 CONFIG_LINKS = $CONFIG_LINKS
13024 CONFIG_COMMANDS = $CONFIG_COMMANDS
13028 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
13032 # Files that config.status was made for.
13033 if test -n "$ac_config_files"; then
13034 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
13037 if test -n "$ac_config_headers"; then
13038 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
13041 if test -n "$ac_config_links"; then
13042 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
13045 if test -n "$ac_config_commands"; then
13046 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
13049 cat >>$CONFIG_STATUS <<\_ACEOF
13052 \`$as_me' instantiates files from templates according to the
13053 current configuration.
13055 Usage: $0 [OPTIONS] [FILE]...
13057 -h, --help print this help, then exit
13058 -V, --version print version number, then exit
13059 -q, --quiet do not print progress messages
13060 -d, --debug don't remove temporary files
13061 --recheck update $as_me by reconfiguring in the same conditions
13062 --file=FILE[:TEMPLATE]
13063 instantiate the configuration file FILE
13064 --header=FILE[:TEMPLATE]
13065 instantiate the configuration header FILE
13067 Configuration files:
13070 Configuration headers:
13073 Configuration commands:
13076 Report bugs to <bug-autoconf@gnu.org>."
13079 cat >>$CONFIG_STATUS <<_ACEOF
13082 configured by $0, generated by GNU Autoconf 2.59,
13083 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
13085 Copyright (C) 2003 Free Software Foundation, Inc.
13086 This config.status script is free software; the Free Software Foundation
13087 gives unlimited permission to copy, distribute and modify it."
13092 cat >>$CONFIG_STATUS <<\_ACEOF
13093 # If no file are specified by the user, then we need to provide default
13094 # value. By we need to know if files were specified by the user.
13100 ac_option=`expr "x$1" : 'x\([^=]*\)='`
13101 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
13109 *) # This is not an option, so the user has probably given explicit
13112 ac_need_defaults=false;;
13116 # Handling of the options.
13118 cat >>$CONFIG_STATUS <<\_ACEOF
13119 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13121 --version | --vers* | -V )
13122 echo "$ac_cs_version"; exit 0 ;;
13124 # Conflict between --help and --header
13125 { { echo "$as_me:$LINENO: error: ambiguous option: $1
13126 Try \`$0 --help' for more information." >&5
13127 echo "$as_me: error: ambiguous option: $1
13128 Try \`$0 --help' for more information." >&2;}
13129 { (exit 1); exit 1; }; };;
13130 --help | --hel | -h )
13131 echo "$ac_cs_usage"; exit 0 ;;
13132 --debug | --d* | -d )
13134 --file | --fil | --fi | --f )
13136 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
13137 ac_need_defaults=false;;
13138 --header | --heade | --head | --hea )
13140 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
13141 ac_need_defaults=false;;
13142 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13143 | -silent | --silent | --silen | --sile | --sil | --si | --s)
13146 # This is an error.
13147 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
13148 Try \`$0 --help' for more information." >&5
13149 echo "$as_me: error: unrecognized option: $1
13150 Try \`$0 --help' for more information." >&2;}
13151 { (exit 1); exit 1; }; } ;;
13153 *) ac_config_targets="$ac_config_targets $1" ;;
13159 ac_configure_extra_args=
13161 if $ac_cs_silent; then
13163 ac_configure_extra_args="$ac_configure_extra_args --silent"
13167 cat >>$CONFIG_STATUS <<_ACEOF
13168 if \$ac_cs_recheck; then
13169 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
13170 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13175 cat >>$CONFIG_STATUS <<_ACEOF
13177 # INIT-COMMANDS section.
13180 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13183 # The HP-UX ksh and POSIX shell print the target directory to stdout
13184 # if CDPATH is set.
13185 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13187 sed_quote_subst='$sed_quote_subst'
13188 double_quote_subst='$double_quote_subst'
13189 delay_variable_subst='$delay_variable_subst'
13190 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
13191 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
13192 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
13193 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
13194 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
13195 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
13196 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
13197 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
13198 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
13199 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
13200 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
13201 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
13202 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
13203 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
13204 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
13205 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
13206 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
13207 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
13208 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
13209 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
13210 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
13211 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
13212 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
13213 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
13214 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
13215 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
13216 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
13217 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13218 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
13219 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
13220 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
13221 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
13222 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13223 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
13224 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
13225 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13226 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13227 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13228 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
13229 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13230 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
13231 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
13232 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
13233 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
13234 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"`'
13235 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13236 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
13237 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
13238 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
13239 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
13240 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
13241 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
13242 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
13243 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
13244 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
13245 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
13246 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
13247 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
13248 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
13249 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
13250 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
13251 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
13252 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13253 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13254 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
13255 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
13256 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13257 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13258 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
13259 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13260 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13261 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13262 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13263 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13264 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13265 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
13266 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13267 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13268 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13269 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
13270 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
13271 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
13272 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
13273 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
13274 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13275 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
13276 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
13277 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
13278 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
13279 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
13280 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13281 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13282 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13283 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13284 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
13285 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
13286 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13287 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
13288 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
13289 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13290 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13291 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
13292 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13293 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
13294 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13295 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13296 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13297 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13298 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
13299 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
13300 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13301 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13302 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
13303 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
13304 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
13305 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
13306 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
13307 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
13310 LTCFLAGS='$LTCFLAGS'
13311 compiler='$compiler_DEFAULT'
13313 # Quote evaled strings.
13325 deplibs_check_method \
13334 lt_cv_sys_global_symbol_pipe \
13335 lt_cv_sys_global_symbol_to_cdecl \
13336 lt_cv_sys_global_symbol_to_c_name_address \
13337 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13340 lt_prog_compiler_no_builtin_flag \
13341 lt_prog_compiler_wl \
13342 lt_prog_compiler_pic \
13343 lt_prog_compiler_static \
13344 lt_cv_prog_compiler_c_o \
13352 export_dynamic_flag_spec \
13353 whole_archive_flag_spec \
13354 compiler_needs_object \
13356 allow_undefined_flag \
13357 no_undefined_flag \
13358 hardcode_libdir_flag_spec \
13359 hardcode_libdir_flag_spec_ld \
13360 hardcode_libdir_separator \
13365 variables_saved_for_relink \
13367 library_names_spec \
13372 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13373 *[\\\\\\\`\\"\\\$]*)
13374 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13377 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13382 # Double-quote double-evaled strings.
13383 for var in reload_cmds \
13384 old_postinstall_cmds \
13385 old_postuninstall_cmds \
13387 extract_expsyms_cmds \
13388 old_archive_from_new_cmds \
13389 old_archive_from_expsyms_cmds \
13391 archive_expsym_cmds \
13393 module_expsym_cmds \
13394 export_symbols_cmds \
13397 postuninstall_cmds \
13399 sys_lib_search_path_spec \
13400 sys_lib_dlsearch_path_spec; do
13401 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13402 *[\\\\\\\`\\"\\\$]*)
13403 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13406 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13411 # Fix-up fallback echo if it was mangled by the above quoting rules.
13413 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
13417 ac_aux_dir='$ac_aux_dir'
13418 xsi_shell='$xsi_shell'
13419 lt_shell_append='$lt_shell_append'
13421 # See if we are running on zsh, and set the options which allow our
13422 # commands through without removal of \ escapes INIT.
13423 if test -n "\${ZSH_VERSION+set}" ; then
13424 setopt NO_GLOB_SUBST
13430 TIMESTAMP='$TIMESTAMP'
13436 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
13437 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
13439 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
13440 # Capture the value of LINGUAS because we need it to compute CATALOGS.
13441 LINGUAS="${LINGUAS-%UNSET%}"
13448 cat >>$CONFIG_STATUS <<\_ACEOF
13449 for ac_config_target in $ac_config_targets
13451 case "$ac_config_target" in
13452 # Handling of arguments.
13453 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13454 "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
13455 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13456 "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13457 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
13458 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
13459 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13460 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13461 { (exit 1); exit 1; }; };;
13465 # If the user did not use the arguments to specify the items to instantiate,
13466 # then the envvar interface is used. Set only those that are not.
13467 # We use the long form for the default assignment because of an extremely
13468 # bizarre bug on SunOS 4.1.3.
13469 if $ac_need_defaults; then
13470 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13471 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13472 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13475 # Have a temporary directory for convenience. Make it in the build tree
13476 # simply because there is no reason to put it here, and in addition,
13477 # creating and moving files from /tmp can sometimes cause problems.
13478 # Create a temporary directory, and hook for its removal unless debugging.
13481 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
13482 trap '{ (exit 1); exit 1; }' 1 2 13 15
13485 # Create a (secure) tmp directory for tmp files.
13488 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
13489 test -n "$tmp" && test -d "$tmp"
13492 tmp=./confstat$$-$RANDOM
13493 (umask 077 && mkdir $tmp)
13496 echo "$me: cannot create a temporary directory in ." >&2
13497 { (exit 1); exit 1; }
13502 cat >>$CONFIG_STATUS <<_ACEOF
13505 # CONFIG_FILES section.
13508 # No need to generate the scripts if there are no CONFIG_FILES.
13509 # This happens for instance when ./config.status config.h
13510 if test -n "\$CONFIG_FILES"; then
13511 # Protect against being on the right side of a sed subst in config.status.
13512 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
13513 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
13514 s,@SHELL@,$SHELL,;t t
13515 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
13516 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
13517 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
13518 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
13519 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
13520 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
13521 s,@exec_prefix@,$exec_prefix,;t t
13522 s,@prefix@,$prefix,;t t
13523 s,@program_transform_name@,$program_transform_name,;t t
13524 s,@bindir@,$bindir,;t t
13525 s,@sbindir@,$sbindir,;t t
13526 s,@libexecdir@,$libexecdir,;t t
13527 s,@datadir@,$datadir,;t t
13528 s,@sysconfdir@,$sysconfdir,;t t
13529 s,@sharedstatedir@,$sharedstatedir,;t t
13530 s,@localstatedir@,$localstatedir,;t t
13531 s,@libdir@,$libdir,;t t
13532 s,@includedir@,$includedir,;t t
13533 s,@oldincludedir@,$oldincludedir,;t t
13534 s,@infodir@,$infodir,;t t
13535 s,@mandir@,$mandir,;t t
13536 s,@build_alias@,$build_alias,;t t
13537 s,@host_alias@,$host_alias,;t t
13538 s,@target_alias@,$target_alias,;t t
13539 s,@DEFS@,$DEFS,;t t
13540 s,@ECHO_C@,$ECHO_C,;t t
13541 s,@ECHO_N@,$ECHO_N,;t t
13542 s,@ECHO_T@,$ECHO_T,;t t
13543 s,@LIBS@,$LIBS,;t t
13544 s,@build@,$build,;t t
13545 s,@build_cpu@,$build_cpu,;t t
13546 s,@build_vendor@,$build_vendor,;t t
13547 s,@build_os@,$build_os,;t t
13548 s,@host@,$host,;t t
13549 s,@host_cpu@,$host_cpu,;t t
13550 s,@host_vendor@,$host_vendor,;t t
13551 s,@host_os@,$host_os,;t t
13552 s,@target@,$target,;t t
13553 s,@target_cpu@,$target_cpu,;t t
13554 s,@target_vendor@,$target_vendor,;t t
13555 s,@target_os@,$target_os,;t t
13557 s,@CFLAGS@,$CFLAGS,;t t
13558 s,@LDFLAGS@,$LDFLAGS,;t t
13559 s,@CPPFLAGS@,$CPPFLAGS,;t t
13560 s,@ac_ct_CC@,$ac_ct_CC,;t t
13561 s,@EXEEXT@,$EXEEXT,;t t
13562 s,@OBJEXT@,$OBJEXT,;t t
13563 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
13564 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
13565 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
13566 s,@CYGPATH_W@,$CYGPATH_W,;t t
13567 s,@PACKAGE@,$PACKAGE,;t t
13568 s,@VERSION@,$VERSION,;t t
13569 s,@ACLOCAL@,$ACLOCAL,;t t
13570 s,@AUTOCONF@,$AUTOCONF,;t t
13571 s,@AUTOMAKE@,$AUTOMAKE,;t t
13572 s,@AUTOHEADER@,$AUTOHEADER,;t t
13573 s,@MAKEINFO@,$MAKEINFO,;t t
13574 s,@install_sh@,$install_sh,;t t
13575 s,@STRIP@,$STRIP,;t t
13576 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
13577 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
13578 s,@mkdir_p@,$mkdir_p,;t t
13580 s,@SET_MAKE@,$SET_MAKE,;t t
13581 s,@am__leading_dot@,$am__leading_dot,;t t
13582 s,@AMTAR@,$AMTAR,;t t
13583 s,@am__tar@,$am__tar,;t t
13584 s,@am__untar@,$am__untar,;t t
13585 s,@DEPDIR@,$DEPDIR,;t t
13586 s,@am__include@,$am__include,;t t
13587 s,@am__quote@,$am__quote,;t t
13588 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
13589 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
13590 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
13591 s,@CCDEPMODE@,$CCDEPMODE,;t t
13592 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
13593 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
13595 s,@EGREP@,$EGREP,;t t
13597 s,@ac_ct_AR@,$ac_ct_AR,;t t
13598 s,@RANLIB@,$RANLIB,;t t
13599 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
13600 s,@LIBTOOL@,$LIBTOOL,;t t
13602 s,@FGREP@,$FGREP,;t t
13603 s,@GREP@,$GREP,;t t
13605 s,@DUMPBIN@,$DUMPBIN,;t t
13606 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
13608 s,@LN_S@,$LN_S,;t t
13609 s,@OBJDUMP@,$OBJDUMP,;t t
13610 s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t
13611 s,@lt_ECHO@,$lt_ECHO,;t t
13612 s,@DSYMUTIL@,$DSYMUTIL,;t t
13613 s,@ac_ct_DSYMUTIL@,$ac_ct_DSYMUTIL,;t t
13614 s,@NMEDIT@,$NMEDIT,;t t
13615 s,@ac_ct_NMEDIT@,$ac_ct_NMEDIT,;t t
13616 s,@LIPO@,$LIPO,;t t
13617 s,@ac_ct_LIPO@,$ac_ct_LIPO,;t t
13618 s,@OTOOL@,$OTOOL,;t t
13619 s,@ac_ct_OTOOL@,$ac_ct_OTOOL,;t t
13620 s,@OTOOL64@,$OTOOL64,;t t
13621 s,@ac_ct_OTOOL64@,$ac_ct_OTOOL64,;t t
13622 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
13623 s,@NO_WERROR@,$NO_WERROR,;t t
13624 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
13625 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
13626 s,@MAINT@,$MAINT,;t t
13627 s,@INSTALL_LIBBFD_TRUE@,$INSTALL_LIBBFD_TRUE,;t t
13628 s,@INSTALL_LIBBFD_FALSE@,$INSTALL_LIBBFD_FALSE,;t t
13629 s,@host_noncanonical@,$host_noncanonical,;t t
13630 s,@target_noncanonical@,$target_noncanonical,;t t
13631 s,@bfdlibdir@,$bfdlibdir,;t t
13632 s,@bfdincludedir@,$bfdincludedir,;t t
13633 s,@USE_NLS@,$USE_NLS,;t t
13634 s,@LIBINTL@,$LIBINTL,;t t
13635 s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
13636 s,@INCINTL@,$INCINTL,;t t
13637 s,@XGETTEXT@,$XGETTEXT,;t t
13638 s,@GMSGFMT@,$GMSGFMT,;t t
13639 s,@POSUB@,$POSUB,;t t
13640 s,@CATALOGS@,$CATALOGS,;t t
13641 s,@DATADIRNAME@,$DATADIRNAME,;t t
13642 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
13643 s,@GENCAT@,$GENCAT,;t t
13644 s,@CATOBJEXT@,$CATOBJEXT,;t t
13645 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
13646 s,@MSGFMT@,$MSGFMT,;t t
13647 s,@MSGMERGE@,$MSGMERGE,;t t
13648 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
13649 s,@EXEEXT_FOR_BUILD@,$EXEEXT_FOR_BUILD,;t t
13650 s,@HDEFINES@,$HDEFINES,;t t
13651 s,@CGEN_MAINT_TRUE@,$CGEN_MAINT_TRUE,;t t
13652 s,@CGEN_MAINT_FALSE@,$CGEN_MAINT_FALSE,;t t
13653 s,@cgendir@,$cgendir,;t t
13654 s,@SHARED_LDFLAGS@,$SHARED_LDFLAGS,;t t
13655 s,@SHARED_LIBADD@,$SHARED_LIBADD,;t t
13656 s,@SHARED_DEPENDENCIES@,$SHARED_DEPENDENCIES,;t t
13657 s,@archdefs@,$archdefs,;t t
13658 s,@BFD_MACHINES@,$BFD_MACHINES,;t t
13659 s,@LIBOBJS@,$LIBOBJS,;t t
13660 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
13665 cat >>$CONFIG_STATUS <<\_ACEOF
13666 # Split the substitutions into bite-sized pieces for seds with
13667 # small command number limits, like on Digital OSF/1 and HP-UX.
13668 ac_max_sed_lines=48
13669 ac_sed_frag=1 # Number of current file.
13670 ac_beg=1 # First line for current file.
13671 ac_end=$ac_max_sed_lines # Line after last line for current file.
13674 while $ac_more_lines; do
13675 if test $ac_beg -gt 1; then
13676 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
13678 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
13680 if test ! -s $tmp/subs.frag; then
13681 ac_more_lines=false
13683 # The purpose of the label and of the branching condition is to
13684 # speed up the sed processing (if there are no `@' at all, there
13685 # is no need to browse any of the substitutions).
13686 # These are the two extra sed commands mentioned above.
13688 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
13689 if test -z "$ac_sed_cmds"; then
13690 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
13692 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
13694 ac_sed_frag=`expr $ac_sed_frag + 1`
13696 ac_end=`expr $ac_end + $ac_max_sed_lines`
13699 if test -z "$ac_sed_cmds"; then
13702 fi # test -n "$CONFIG_FILES"
13705 cat >>$CONFIG_STATUS <<\_ACEOF
13706 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
13707 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13709 - | *:- | *:-:* ) # input from stdin
13711 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
13712 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
13713 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
13714 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
13715 * ) ac_file_in=$ac_file.in ;;
13718 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
13719 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
13720 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13721 X"$ac_file" : 'X\(//\)[^/]' \| \
13722 X"$ac_file" : 'X\(//\)$' \| \
13723 X"$ac_file" : 'X\(/\)' \| \
13724 . : '\(.\)' 2>/dev/null ||
13726 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13727 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13728 /^X\(\/\/\)$/{ s//\1/; q; }
13729 /^X\(\/\).*/{ s//\1/; q; }
13731 { if $as_mkdir_p; then
13736 while test ! -d "$as_dir"; do
13737 as_dirs="$as_dir $as_dirs"
13738 as_dir=`(dirname "$as_dir") 2>/dev/null ||
13739 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13740 X"$as_dir" : 'X\(//\)[^/]' \| \
13741 X"$as_dir" : 'X\(//\)$' \| \
13742 X"$as_dir" : 'X\(/\)' \| \
13743 . : '\(.\)' 2>/dev/null ||
13745 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13746 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13747 /^X\(\/\/\)$/{ s//\1/; q; }
13748 /^X\(\/\).*/{ s//\1/; q; }
13751 test ! -n "$as_dirs" || mkdir $as_dirs
13752 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13753 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13754 { (exit 1); exit 1; }; }; }
13758 if test "$ac_dir" != .; then
13759 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13760 # A "../" for each directory in $ac_dir_suffix.
13761 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
13763 ac_dir_suffix= ac_top_builddir=
13767 .) # No --srcdir option. We are building in place.
13769 if test -z "$ac_top_builddir"; then
13772 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
13774 [\\/]* | ?:[\\/]* ) # Absolute path.
13775 ac_srcdir=$srcdir$ac_dir_suffix;
13776 ac_top_srcdir=$srcdir ;;
13777 *) # Relative path.
13778 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
13779 ac_top_srcdir=$ac_top_builddir$srcdir ;;
13782 # Do not use `cd foo && pwd` to compute absolute paths, because
13783 # the directories may not exist.
13785 .) ac_abs_builddir="$ac_dir";;
13788 .) ac_abs_builddir=`pwd`;;
13789 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
13790 *) ac_abs_builddir=`pwd`/"$ac_dir";;
13793 case $ac_abs_builddir in
13794 .) ac_abs_top_builddir=${ac_top_builddir}.;;
13796 case ${ac_top_builddir}. in
13797 .) ac_abs_top_builddir=$ac_abs_builddir;;
13798 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
13799 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
13802 case $ac_abs_builddir in
13803 .) ac_abs_srcdir=$ac_srcdir;;
13806 .) ac_abs_srcdir=$ac_abs_builddir;;
13807 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
13808 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
13811 case $ac_abs_builddir in
13812 .) ac_abs_top_srcdir=$ac_top_srcdir;;
13814 case $ac_top_srcdir in
13815 .) ac_abs_top_srcdir=$ac_abs_builddir;;
13816 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
13817 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
13823 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13824 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
13827 if test x"$ac_file" != x-; then
13828 { echo "$as_me:$LINENO: creating $ac_file" >&5
13829 echo "$as_me: creating $ac_file" >&6;}
13832 # Let's still pretend it is `configure' which instantiates (i.e., don't
13833 # use $as_me), people would be surprised to read:
13834 # /* config.h. Generated by config.status. */
13835 if test x"$ac_file" = x-; then
13838 configure_input="$ac_file. "
13840 configure_input=$configure_input"Generated from `echo $ac_file_in |
13841 sed 's,.*/,,'` by configure."
13843 # First look for the input files in the build tree, otherwise in the
13845 ac_file_inputs=`IFS=:
13846 for f in $ac_file_in; do
13848 -) echo $tmp/stdin ;;
13850 # Absolute (can't be DOS-style, as IFS=:)
13851 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13852 echo "$as_me: error: cannot find input file: $f" >&2;}
13853 { (exit 1); exit 1; }; }
13856 if test -f "$f"; then
13859 elif test -f "$srcdir/$f"; then
13864 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13865 echo "$as_me: error: cannot find input file: $f" >&2;}
13866 { (exit 1); exit 1; }; }
13869 done` || { (exit 1); exit 1; }
13871 cat >>$CONFIG_STATUS <<_ACEOF
13875 cat >>$CONFIG_STATUS <<\_ACEOF
13877 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13878 s,@configure_input@,$configure_input,;t t
13879 s,@srcdir@,$ac_srcdir,;t t
13880 s,@abs_srcdir@,$ac_abs_srcdir,;t t
13881 s,@top_srcdir@,$ac_top_srcdir,;t t
13882 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
13883 s,@builddir@,$ac_builddir,;t t
13884 s,@abs_builddir@,$ac_abs_builddir,;t t
13885 s,@top_builddir@,$ac_top_builddir,;t t
13886 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
13887 s,@INSTALL@,$ac_INSTALL,;t t
13888 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
13890 if test x"$ac_file" != x-; then
13891 mv $tmp/out $ac_file
13899 cat >>$CONFIG_STATUS <<\_ACEOF
13902 # CONFIG_HEADER section.
13905 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
13906 # NAME is the cpp macro being defined and VALUE is the value it is being given.
13908 # ac_d sets the value in "#define NAME VALUE" lines.
13909 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
13910 ac_dB='[ ].*$,\1#\2'
13913 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
13914 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
13915 ac_uB='$,\1#\2define\3'
13919 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
13920 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13922 - | *:- | *:-:* ) # input from stdin
13924 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
13925 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
13926 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
13927 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
13928 * ) ac_file_in=$ac_file.in ;;
13931 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
13932 echo "$as_me: creating $ac_file" >&6;}
13934 # First look for the input files in the build tree, otherwise in the
13936 ac_file_inputs=`IFS=:
13937 for f in $ac_file_in; do
13939 -) echo $tmp/stdin ;;
13941 # Absolute (can't be DOS-style, as IFS=:)
13942 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13943 echo "$as_me: error: cannot find input file: $f" >&2;}
13944 { (exit 1); exit 1; }; }
13945 # Do quote $f, to prevent DOS paths from being IFS'd.
13948 if test -f "$f"; then
13951 elif test -f "$srcdir/$f"; then
13956 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13957 echo "$as_me: error: cannot find input file: $f" >&2;}
13958 { (exit 1); exit 1; }; }
13961 done` || { (exit 1); exit 1; }
13962 # Remove the trailing spaces.
13963 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
13967 # Transform confdefs.h into two sed scripts, `conftest.defines' and
13968 # `conftest.undefs', that substitutes the proper values into
13969 # config.h.in to produce config.h. The first handles `#define'
13970 # templates, and the second `#undef' templates.
13971 # And first: Protect against being on the right side of a sed subst in
13972 # config.status. Protect against being in an unquoted here document
13973 # in config.status.
13974 rm -f conftest.defines conftest.undefs
13975 # Using a here document instead of a string reduces the quoting nightmare.
13976 # Putting comments in sed scripts is not portable.
13978 # `end' is used to avoid that the second main sed command (meant for
13979 # 0-ary CPP macros) applies to n-ary macro definitions.
13980 # See the Autoconf documentation for `clear'.
13981 cat >confdef2sed.sed <<\_ACEOF
13986 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
13988 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
13991 # If some macros were called several times there might be several times
13992 # the same #defines, which is useless. Nevertheless, we may not want to
13993 # sort them, since we want the *last* AC-DEFINE to be honored.
13994 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
13995 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
13996 rm -f confdef2sed.sed
13998 # This sed command replaces #undef with comments. This is necessary, for
13999 # example, in the case of _POSIX_SOURCE, which is predefined and required
14000 # on some systems where configure will not decide to define it.
14001 cat >>conftest.undefs <<\_ACEOF
14002 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
14005 # Break up conftest.defines because some shells have a limit on the size
14006 # of here documents, and old seds have small limits too (100 cmds).
14007 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
14008 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
14009 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
14010 echo ' :' >>$CONFIG_STATUS
14011 rm -f conftest.tail
14012 while grep . conftest.defines >/dev/null
14014 # Write a limited-size here document to $tmp/defines.sed.
14015 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
14016 # Speed up: don't consider the non `#define' lines.
14017 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
14018 # Work around the forget-to-reset-the-flag bug.
14019 echo 't clr' >>$CONFIG_STATUS
14020 echo ': clr' >>$CONFIG_STATUS
14021 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
14023 sed -f $tmp/defines.sed $tmp/in >$tmp/out
14025 mv $tmp/out $tmp/in
14027 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
14028 rm -f conftest.defines
14029 mv conftest.tail conftest.defines
14031 rm -f conftest.defines
14032 echo ' fi # grep' >>$CONFIG_STATUS
14033 echo >>$CONFIG_STATUS
14035 # Break up conftest.undefs because some shells have a limit on the size
14036 # of here documents, and old seds have small limits too (100 cmds).
14037 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
14038 rm -f conftest.tail
14039 while grep . conftest.undefs >/dev/null
14041 # Write a limited-size here document to $tmp/undefs.sed.
14042 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
14043 # Speed up: don't consider the non `#undef'
14044 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
14045 # Work around the forget-to-reset-the-flag bug.
14046 echo 't clr' >>$CONFIG_STATUS
14047 echo ': clr' >>$CONFIG_STATUS
14048 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
14050 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
14052 mv $tmp/out $tmp/in
14054 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
14055 rm -f conftest.undefs
14056 mv conftest.tail conftest.undefs
14058 rm -f conftest.undefs
14060 cat >>$CONFIG_STATUS <<\_ACEOF
14061 # Let's still pretend it is `configure' which instantiates (i.e., don't
14062 # use $as_me), people would be surprised to read:
14063 # /* config.h. Generated by config.status. */
14064 if test x"$ac_file" = x-; then
14065 echo "/* Generated by configure. */" >$tmp/config.h
14067 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
14069 cat $tmp/in >>$tmp/config.h
14071 if test x"$ac_file" != x-; then
14072 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
14073 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
14074 echo "$as_me: $ac_file is unchanged" >&6;}
14076 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
14077 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14078 X"$ac_file" : 'X\(//\)[^/]' \| \
14079 X"$ac_file" : 'X\(//\)$' \| \
14080 X"$ac_file" : 'X\(/\)' \| \
14081 . : '\(.\)' 2>/dev/null ||
14083 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14084 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14085 /^X\(\/\/\)$/{ s//\1/; q; }
14086 /^X\(\/\).*/{ s//\1/; q; }
14088 { if $as_mkdir_p; then
14093 while test ! -d "$as_dir"; do
14094 as_dirs="$as_dir $as_dirs"
14095 as_dir=`(dirname "$as_dir") 2>/dev/null ||
14096 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14097 X"$as_dir" : 'X\(//\)[^/]' \| \
14098 X"$as_dir" : 'X\(//\)$' \| \
14099 X"$as_dir" : 'X\(/\)' \| \
14100 . : '\(.\)' 2>/dev/null ||
14102 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14103 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14104 /^X\(\/\/\)$/{ s//\1/; q; }
14105 /^X\(\/\).*/{ s//\1/; q; }
14108 test ! -n "$as_dirs" || mkdir $as_dirs
14109 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
14110 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
14111 { (exit 1); exit 1; }; }; }
14114 mv $tmp/config.h $ac_file
14118 rm -f $tmp/config.h
14120 # Compute $ac_file's index in $config_headers.
14122 for _am_header in $config_headers :; do
14123 case $_am_header in
14124 $ac_file | $ac_file:* )
14127 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14130 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
14131 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14132 X$ac_file : 'X\(//\)[^/]' \| \
14133 X$ac_file : 'X\(//\)$' \| \
14134 X$ac_file : 'X\(/\)' \| \
14135 . : '\(.\)' 2>/dev/null ||
14137 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14138 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14139 /^X\(\/\/\)$/{ s//\1/; q; }
14140 /^X\(\/\).*/{ s//\1/; q; }
14141 s/.*/./; q'`/stamp-h$_am_stamp_count
14144 cat >>$CONFIG_STATUS <<\_ACEOF
14147 # CONFIG_COMMANDS section.
14149 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
14150 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
14151 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
14152 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
14153 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14154 X"$ac_dest" : 'X\(//\)[^/]' \| \
14155 X"$ac_dest" : 'X\(//\)$' \| \
14156 X"$ac_dest" : 'X\(/\)' \| \
14157 . : '\(.\)' 2>/dev/null ||
14159 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14160 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14161 /^X\(\/\/\)$/{ s//\1/; q; }
14162 /^X\(\/\).*/{ s//\1/; q; }
14164 { if $as_mkdir_p; then
14169 while test ! -d "$as_dir"; do
14170 as_dirs="$as_dir $as_dirs"
14171 as_dir=`(dirname "$as_dir") 2>/dev/null ||
14172 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14173 X"$as_dir" : 'X\(//\)[^/]' \| \
14174 X"$as_dir" : 'X\(//\)$' \| \
14175 X"$as_dir" : 'X\(/\)' \| \
14176 . : '\(.\)' 2>/dev/null ||
14178 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14179 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14180 /^X\(\/\/\)$/{ s//\1/; q; }
14181 /^X\(\/\).*/{ s//\1/; q; }
14184 test ! -n "$as_dirs" || mkdir $as_dirs
14185 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
14186 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
14187 { (exit 1); exit 1; }; }; }
14191 if test "$ac_dir" != .; then
14192 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
14193 # A "../" for each directory in $ac_dir_suffix.
14194 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
14196 ac_dir_suffix= ac_top_builddir=
14200 .) # No --srcdir option. We are building in place.
14202 if test -z "$ac_top_builddir"; then
14205 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
14207 [\\/]* | ?:[\\/]* ) # Absolute path.
14208 ac_srcdir=$srcdir$ac_dir_suffix;
14209 ac_top_srcdir=$srcdir ;;
14210 *) # Relative path.
14211 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
14212 ac_top_srcdir=$ac_top_builddir$srcdir ;;
14215 # Do not use `cd foo && pwd` to compute absolute paths, because
14216 # the directories may not exist.
14218 .) ac_abs_builddir="$ac_dir";;
14221 .) ac_abs_builddir=`pwd`;;
14222 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
14223 *) ac_abs_builddir=`pwd`/"$ac_dir";;
14226 case $ac_abs_builddir in
14227 .) ac_abs_top_builddir=${ac_top_builddir}.;;
14229 case ${ac_top_builddir}. in
14230 .) ac_abs_top_builddir=$ac_abs_builddir;;
14231 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
14232 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
14235 case $ac_abs_builddir in
14236 .) ac_abs_srcdir=$ac_srcdir;;
14239 .) ac_abs_srcdir=$ac_abs_builddir;;
14240 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
14241 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
14244 case $ac_abs_builddir in
14245 .) ac_abs_top_srcdir=$ac_top_srcdir;;
14247 case $ac_top_srcdir in
14248 .) ac_abs_top_srcdir=$ac_abs_builddir;;
14249 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
14250 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
14255 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
14256 echo "$as_me: executing $ac_dest commands" >&6;}
14258 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
14259 # Strip MF so we end up with the name of the file.
14260 mf=`echo "$mf" | sed -e 's/:.*$//'`
14261 # Check whether this is an Automake generated Makefile or not.
14262 # We used to match only the files named `Makefile.in', but
14263 # some people rename them; so instead we look at the file content.
14264 # Grep'ing the first line is not enough: some people post-process
14265 # each Makefile.in and add a new line on top of each file to say so.
14266 # So let's grep whole file.
14267 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
14268 dirpart=`(dirname "$mf") 2>/dev/null ||
14269 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14270 X"$mf" : 'X\(//\)[^/]' \| \
14271 X"$mf" : 'X\(//\)$' \| \
14272 X"$mf" : 'X\(/\)' \| \
14273 . : '\(.\)' 2>/dev/null ||
14275 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14276 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14277 /^X\(\/\/\)$/{ s//\1/; q; }
14278 /^X\(\/\).*/{ s//\1/; q; }
14283 # Extract the definition of DEPDIR, am__include, and am__quote
14284 # from the Makefile without running `make'.
14285 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14286 test -z "$DEPDIR" && continue
14287 am__include=`sed -n 's/^am__include = //p' < "$mf"`
14288 test -z "am__include" && continue
14289 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14290 # When using ansi2knr, U may be empty or an underscore; expand it
14291 U=`sed -n 's/^U = //p' < "$mf"`
14292 # Find all dependency output files, they are included files with
14293 # $(DEPDIR) in their names. We invoke sed twice because it is the
14294 # simplest approach to changing $(DEPDIR) to its actual value in the
14296 for file in `sed -n "
14297 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14298 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14299 # Make sure the directory exists.
14300 test -f "$dirpart/$file" && continue
14301 fdir=`(dirname "$file") 2>/dev/null ||
14302 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14303 X"$file" : 'X\(//\)[^/]' \| \
14304 X"$file" : 'X\(//\)$' \| \
14305 X"$file" : 'X\(/\)' \| \
14306 . : '\(.\)' 2>/dev/null ||
14308 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14309 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14310 /^X\(\/\/\)$/{ s//\1/; q; }
14311 /^X\(\/\).*/{ s//\1/; q; }
14313 { if $as_mkdir_p; then
14314 mkdir -p $dirpart/$fdir
14316 as_dir=$dirpart/$fdir
14318 while test ! -d "$as_dir"; do
14319 as_dirs="$as_dir $as_dirs"
14320 as_dir=`(dirname "$as_dir") 2>/dev/null ||
14321 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14322 X"$as_dir" : 'X\(//\)[^/]' \| \
14323 X"$as_dir" : 'X\(//\)$' \| \
14324 X"$as_dir" : 'X\(/\)' \| \
14325 . : '\(.\)' 2>/dev/null ||
14327 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14328 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14329 /^X\(\/\/\)$/{ s//\1/; q; }
14330 /^X\(\/\).*/{ s//\1/; q; }
14333 test ! -n "$as_dirs" || mkdir $as_dirs
14334 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
14335 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
14336 { (exit 1); exit 1; }; }; }
14338 # echo "creating $dirpart/$file"
14339 echo '# dummy' > "$dirpart/$file"
14345 # See if we are running on zsh, and set the options which allow our
14346 # commands through without removal of \ escapes.
14347 if test -n "${ZSH_VERSION+set}" ; then
14348 setopt NO_GLOB_SUBST
14351 cfgfile="${ofile}T"
14352 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14355 cat <<_LT_EOF >> "$cfgfile"
14358 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14359 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14360 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14361 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14363 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14364 # 2006, 2007, 2008 Free Software Foundation, Inc.
14365 # Written by Gordon Matzigkeit, 1996
14367 # This file is part of GNU Libtool.
14369 # GNU Libtool is free software; you can redistribute it and/or
14370 # modify it under the terms of the GNU General Public License as
14371 # published by the Free Software Foundation; either version 2 of
14372 # the License, or (at your option) any later version.
14374 # As a special exception to the GNU General Public License,
14375 # if you distribute this file as part of a program or library that
14376 # is built using GNU Libtool, you may include this file under the
14377 # same distribution terms that you use for the rest of that program.
14379 # GNU Libtool is distributed in the hope that it will be useful,
14380 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14381 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14382 # GNU General Public License for more details.
14384 # You should have received a copy of the GNU General Public License
14385 # along with GNU Libtool; see the file COPYING. If not, a copy
14386 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14387 # obtained by writing to the Free Software Foundation, Inc.,
14388 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14391 # The names of the tagged configurations supported by this script.
14394 # ### BEGIN LIBTOOL CONFIG
14396 # Whether or not to build shared libraries.
14397 build_libtool_libs=$enable_shared
14399 # Which release of libtool.m4 was used?
14400 macro_version=$macro_version
14401 macro_revision=$macro_revision
14403 # Whether or not to build static libraries.
14404 build_old_libs=$enable_static
14406 # What type of objects to build.
14409 # Whether or not to optimize for fast installation.
14410 fast_install=$enable_fast_install
14413 host_alias=$host_alias
14417 # The build system.
14418 build_alias=$build_alias
14422 # A sed program that does not truncate output.
14425 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14426 Xsed="\$SED -e 1s/^X//"
14428 # A grep program that handles long lines.
14434 # A literal string matcher.
14437 # A BSD- or MS-compatible name lister.
14440 # Whether we need soft or hard links.
14443 # What is the maximum length of a command?
14444 max_cmd_len=$max_cmd_len
14446 # Object file suffix (normally "o").
14449 # Executable file suffix (normally "").
14452 # whether the shell understands "unset".
14455 # turn spaces into newlines.
14458 # turn newlines into spaces.
14461 # How to create reloadable object files.
14462 reload_flag=$lt_reload_flag
14463 reload_cmds=$lt_reload_cmds
14465 # An object symbol dumper.
14466 OBJDUMP=$lt_OBJDUMP
14468 # Method to check whether dependent libraries are shared objects.
14469 deplibs_check_method=$lt_deplibs_check_method
14471 # Command to use when deplibs_check_method == "file_magic".
14472 file_magic_cmd=$lt_file_magic_cmd
14476 AR_FLAGS=$lt_AR_FLAGS
14478 # A symbol stripping program.
14481 # Commands used to install an old-style archive.
14483 old_postinstall_cmds=$lt_old_postinstall_cmds
14484 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14489 # LTCC compiler flags.
14490 LTCFLAGS=$lt_CFLAGS
14492 # Take the output of nm and produce a listing of raw symbols and C names.
14493 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14495 # Transform the output of nm in a proper C declaration.
14496 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14498 # Transform the output of nm in a C name address pair.
14499 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14501 # Transform the output of nm in a C name address pair when lib prefix is needed.
14502 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14504 # The name of the directory that contains temporary libtool files.
14507 # Shell to use when invoking shell scripts.
14510 # An echo program that does not interpret backslashes.
14513 # Used to examine libraries when file_magic_cmd begins with "file".
14514 MAGIC_CMD=$MAGIC_CMD
14516 # Must we lock files when doing compilation?
14517 need_locks=$lt_need_locks
14519 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14520 DSYMUTIL=$lt_DSYMUTIL
14522 # Tool to change global to local symbols on Mac OS X.
14525 # Tool to manipulate fat objects and archives on Mac OS X.
14528 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14531 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14532 OTOOL64=$lt_OTOOL64
14534 # Old archive suffix (normally "a").
14537 # Shared library suffix (normally ".so").
14538 shrext_cmds=$lt_shrext_cmds
14540 # The commands to extract the exported symbol list from a shared archive.
14541 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14543 # Variables whose values should be saved in libtool wrapper scripts and
14544 # restored at link time.
14545 variables_saved_for_relink=$lt_variables_saved_for_relink
14547 # Do we need the "lib" prefix for modules?
14548 need_lib_prefix=$need_lib_prefix
14550 # Do we need a version for libraries?
14551 need_version=$need_version
14553 # Library versioning type.
14554 version_type=$version_type
14556 # Shared library runtime path variable.
14557 runpath_var=$runpath_var
14559 # Shared library path variable.
14560 shlibpath_var=$shlibpath_var
14562 # Is shlibpath searched before the hard-coded library search path?
14563 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14565 # Format of library name prefix.
14566 libname_spec=$lt_libname_spec
14568 # List of archive names. First name is the real one, the rest are links.
14569 # The last name is the one that the linker finds with -lNAME
14570 library_names_spec=$lt_library_names_spec
14572 # The coded name of the library, if different from the real name.
14573 soname_spec=$lt_soname_spec
14575 # Command to use after installation of a shared archive.
14576 postinstall_cmds=$lt_postinstall_cmds
14578 # Command to use after uninstallation of a shared archive.
14579 postuninstall_cmds=$lt_postuninstall_cmds
14581 # Commands used to finish a libtool library installation in a directory.
14582 finish_cmds=$lt_finish_cmds
14584 # As "finish_cmds", except a single script fragment to be evaled but
14586 finish_eval=$lt_finish_eval
14588 # Whether we should hardcode library paths into libraries.
14589 hardcode_into_libs=$hardcode_into_libs
14591 # Compile-time system search path for libraries.
14592 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14594 # Run-time system search path for libraries.
14595 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14597 # Whether dlopen is supported.
14598 dlopen_support=$enable_dlopen
14600 # Whether dlopen of programs is supported.
14601 dlopen_self=$enable_dlopen_self
14603 # Whether dlopen of statically linked programs is supported.
14604 dlopen_self_static=$enable_dlopen_self_static
14606 # Commands to strip libraries.
14607 old_striplib=$lt_old_striplib
14608 striplib=$lt_striplib
14611 # The linker used to build libraries.
14614 # Commands used to build an old-style archive.
14615 old_archive_cmds=$lt_old_archive_cmds
14617 # A language specific compiler.
14620 # Is the compiler the GNU compiler?
14623 # Compiler flag to turn off builtin functions.
14624 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14626 # How to pass a linker flag through the compiler.
14627 wl=$lt_lt_prog_compiler_wl
14629 # Additional compiler flags for building library objects.
14630 pic_flag=$lt_lt_prog_compiler_pic
14632 # Compiler flag to prevent dynamic linking.
14633 link_static_flag=$lt_lt_prog_compiler_static
14635 # Does compiler simultaneously support -c and -o options?
14636 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14638 # Whether or not to add -lc for building shared libraries.
14639 build_libtool_need_lc=$archive_cmds_need_lc
14641 # Whether or not to disallow shared libs when runtime libs are static.
14642 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14644 # Compiler flag to allow reflexive dlopens.
14645 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14647 # Compiler flag to generate shared objects directly from archives.
14648 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14650 # Whether the compiler copes with passing no objects directly.
14651 compiler_needs_object=$lt_compiler_needs_object
14653 # Create an old-style archive from a shared archive.
14654 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14656 # Create a temporary old-style archive to link instead of a shared archive.
14657 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14659 # Commands used to build a shared archive.
14660 archive_cmds=$lt_archive_cmds
14661 archive_expsym_cmds=$lt_archive_expsym_cmds
14663 # Commands used to build a loadable module if different from building
14664 # a shared archive.
14665 module_cmds=$lt_module_cmds
14666 module_expsym_cmds=$lt_module_expsym_cmds
14668 # Whether we are building with GNU ld or not.
14669 with_gnu_ld=$lt_with_gnu_ld
14671 # Flag that allows shared libraries with undefined symbols to be built.
14672 allow_undefined_flag=$lt_allow_undefined_flag
14674 # Flag that enforces no undefined symbols.
14675 no_undefined_flag=$lt_no_undefined_flag
14677 # Flag to hardcode \$libdir into a binary during linking.
14678 # This must work even if \$libdir does not exist
14679 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14681 # If ld is used when linking, flag to hardcode \$libdir into a binary
14682 # during linking. This must work even if \$libdir does not exist.
14683 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14685 # Whether we need a single "-rpath" flag with a separated argument.
14686 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14688 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14689 # DIR into the resulting binary.
14690 hardcode_direct=$hardcode_direct
14692 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14693 # DIR into the resulting binary and the resulting library dependency is
14694 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14695 # library is relocated.
14696 hardcode_direct_absolute=$hardcode_direct_absolute
14698 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14699 # into the resulting binary.
14700 hardcode_minus_L=$hardcode_minus_L
14702 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14703 # into the resulting binary.
14704 hardcode_shlibpath_var=$hardcode_shlibpath_var
14706 # Set to "yes" if building a shared library automatically hardcodes DIR
14707 # into the library and all subsequent libraries and executables linked
14709 hardcode_automatic=$hardcode_automatic
14711 # Set to yes if linker adds runtime paths of dependent libraries
14712 # to runtime path list.
14713 inherit_rpath=$inherit_rpath
14715 # Whether libtool must link a program against all its dependency libraries.
14716 link_all_deplibs=$link_all_deplibs
14718 # Fix the shell variable \$srcfile for the compiler.
14719 fix_srcfile_path=$lt_fix_srcfile_path
14721 # Set to "yes" if exported symbols are required.
14722 always_export_symbols=$always_export_symbols
14724 # The commands to list exported symbols.
14725 export_symbols_cmds=$lt_export_symbols_cmds
14727 # Symbols that should not be listed in the preloaded symbols.
14728 exclude_expsyms=$lt_exclude_expsyms
14730 # Symbols that must always be exported.
14731 include_expsyms=$lt_include_expsyms
14733 # Commands necessary for linking programs (against libraries) with templates.
14734 prelink_cmds=$lt_prelink_cmds
14736 # Specify filename containing input files.
14737 file_list_spec=$lt_file_list_spec
14739 # How to hardcode a shared library path into an executable.
14740 hardcode_action=$hardcode_action
14742 # ### END LIBTOOL CONFIG
14748 cat <<\_LT_EOF >> "$cfgfile"
14749 # AIX sometimes has problems with the GCC collect2 program. For some
14750 # reason, if we set the COLLECT_NAMES environment variable, the problems
14751 # vanish in a puff of smoke.
14752 if test "X${COLLECT_NAMES+set}" != Xset; then
14754 export COLLECT_NAMES
14761 ltmain="$ac_aux_dir/ltmain.sh"
14764 # We use sed instead of cat because bash on DJGPP gets confused if
14765 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14766 # text mode, it properly converts lines to CR/LF. This bash problem
14767 # is reportedly fixed, but why not run on old versions too?
14768 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
14769 || (rm -f "$cfgfile"; exit 1)
14773 cat << \_LT_EOF >> "$cfgfile"
14775 # func_dirname file append nondir_replacement
14776 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
14777 # otherwise set result to NONDIR_REPLACEMENT.
14781 */*) func_dirname_result="${1%/*}${2}" ;;
14782 * ) func_dirname_result="${3}" ;;
14786 # func_basename file
14789 func_basename_result="${1##*/}"
14792 # func_dirname_and_basename file append nondir_replacement
14793 # perform func_basename and func_dirname in a single function
14795 # dirname: Compute the dirname of FILE. If nonempty,
14796 # add APPEND to the result, otherwise set result
14797 # to NONDIR_REPLACEMENT.
14798 # value returned in "$func_dirname_result"
14799 # basename: Compute filename of FILE.
14800 # value retuned in "$func_basename_result"
14801 # Implementation must be kept synchronized with func_dirname
14802 # and func_basename. For efficiency, we do not delegate to
14803 # those functions but instead duplicate the functionality here.
14804 func_dirname_and_basename ()
14807 */*) func_dirname_result="${1%/*}${2}" ;;
14808 * ) func_dirname_result="${3}" ;;
14810 func_basename_result="${1##*/}"
14813 # func_stripname prefix suffix name
14814 # strip PREFIX and SUFFIX off of NAME.
14815 # PREFIX and SUFFIX must not contain globbing or regex special
14816 # characters, hashes, percent signs, but SUFFIX may contain a leading
14817 # dot (in which case that matches only a dot).
14820 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
14821 # positional parameters, so assign one to ordinary parameter first.
14822 func_stripname_result=${3}
14823 func_stripname_result=${func_stripname_result#"${1}"}
14824 func_stripname_result=${func_stripname_result%"${2}"}
14830 func_opt_split_opt=${1%%=*}
14831 func_opt_split_arg=${1#*=}
14838 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
14839 *) func_lo2o_result=${1} ;;
14843 # func_xform libobj-or-source
14846 func_xform_result=${1%.*}.lo
14849 # func_arith arithmetic-term...
14852 func_arith_result=$(( $* ))
14856 # STRING may not start with a hyphen.
14859 func_len_result=${#1}
14864 *) # Bourne compatible functions.
14865 cat << \_LT_EOF >> "$cfgfile"
14867 # func_dirname file append nondir_replacement
14868 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
14869 # otherwise set result to NONDIR_REPLACEMENT.
14872 # Extract subdirectory from the argument.
14873 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
14874 if test "X$func_dirname_result" = "X${1}"; then
14875 func_dirname_result="${3}"
14877 func_dirname_result="$func_dirname_result${2}"
14881 # func_basename file
14884 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
14888 # func_stripname prefix suffix name
14889 # strip PREFIX and SUFFIX off of NAME.
14890 # PREFIX and SUFFIX must not contain globbing or regex special
14891 # characters, hashes, percent signs, but SUFFIX may contain a leading
14892 # dot (in which case that matches only a dot).
14893 # func_strip_suffix prefix name
14897 .*) func_stripname_result=`$ECHO "X${3}" \
14898 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
14899 *) func_stripname_result=`$ECHO "X${3}" \
14900 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
14905 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
14906 my_sed_long_arg='1s/^-[^=]*=//'
14911 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
14912 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
14918 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
14921 # func_xform libobj-or-source
14924 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
14927 # func_arith arithmetic-term...
14930 func_arith_result=`expr "$@"`
14934 # STRING may not start with a hyphen.
14937 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
14943 case $lt_shell_append in
14945 cat << \_LT_EOF >> "$cfgfile"
14947 # func_append var value
14948 # Append VALUE to the end of shell variable VAR.
14956 cat << \_LT_EOF >> "$cfgfile"
14958 # func_append var value
14959 # Append VALUE to the end of shell variable VAR.
14970 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
14971 || (rm -f "$cfgfile"; exit 1)
14973 mv -f "$cfgfile" "$ofile" ||
14974 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14979 for ac_file in $CONFIG_FILES; do
14980 # Support "outfile[:infile[:infile...]]"
14982 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
14984 # PO directories have a Makefile.in generated from Makefile.in.in.
14985 case "$ac_file" in */Makefile.in)
14986 # Adjust a relative srcdir.
14987 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
14988 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
14989 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
14990 # In autoconf-2.13 it is called $ac_given_srcdir.
14991 # In autoconf-2.50 it is called $srcdir.
14992 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
14993 case "$ac_given_srcdir" in
14994 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
14995 /*) top_srcdir="$ac_given_srcdir" ;;
14996 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
14998 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
14999 rm -f "$ac_dir/POTFILES"
15000 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
15001 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
15002 POMAKEFILEDEPS="POTFILES.in"
15003 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
15004 # on $ac_dir but don't depend on user-specified configuration
15006 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
15007 # The LINGUAS file contains the set of available languages.
15008 if test -n "$OBSOLETE_ALL_LINGUAS"; then
15009 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
15011 ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
15012 # Hide the ALL_LINGUAS assigment from automake.
15013 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
15014 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
15016 # The set of available languages was given in configure.in.
15017 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
15019 case "$ac_given_srcdir" in
15021 *) srcdirpre='$(srcdir)/' ;;
15027 for lang in $ALL_LINGUAS; do
15028 POFILES="$POFILES $srcdirpre$lang.po"
15029 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
15030 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
15031 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
15033 # CATALOGS depends on both $ac_dir and the user's LINGUAS
15034 # environment variable.
15036 if test -n "$ALL_LINGUAS"; then
15037 for presentlang in $ALL_LINGUAS; do
15039 if test "%UNSET%" != "$LINGUAS"; then
15040 desiredlanguages="$LINGUAS"
15042 desiredlanguages="$ALL_LINGUAS"
15044 for desiredlang in $desiredlanguages; do
15045 # Use the presentlang catalog if desiredlang is
15046 # a. equal to presentlang, or
15047 # b. a variant of presentlang (because in this case,
15048 # presentlang can be used as a fallback for messages
15049 # which are not translated in the desiredlang catalog).
15050 case "$desiredlang" in
15051 "$presentlang"*) useit=yes;;
15054 if test $useit = yes; then
15055 INST_LINGUAS="$INST_LINGUAS $presentlang"
15060 if test -n "$INST_LINGUAS"; then
15061 for lang in $INST_LINGUAS; do
15062 CATALOGS="$CATALOGS $lang.gmo"
15065 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
15066 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"
15067 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
15068 if test -f "$f"; then
15070 *.orig | *.bak | *~) ;;
15071 *) cat "$f" >> "$ac_dir/Makefile" ;;
15083 cat >>$CONFIG_STATUS <<\_ACEOF
15085 { (exit 0); exit 0; }
15087 chmod +x $CONFIG_STATUS
15088 ac_clean_files=$ac_clean_files_save
15091 # configure is writing to config.log, and then calls config.status.
15092 # config.status does its own redirection, appending to config.log.
15093 # Unfortunately, on DOS this fails, as config.log is still kept open
15094 # by configure, so config.status won't be able to write to it; its
15095 # output is simply discarded. So we exec the FD to /dev/null,
15096 # effectively closing config.log, so it can be properly (re)opened and
15097 # appended to by config.status. When coming back to configure, we
15098 # need to make the FD available again.
15099 if test "$no_create" != yes; then
15101 ac_config_status_args=
15102 test "$silent" = yes &&
15103 ac_config_status_args="$ac_config_status_args --quiet"
15105 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15107 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15108 # would make configure fail if this is the last instruction.
15109 $ac_cs_success || { (exit 1); exit 1; }