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 AR ac_ct_AR RANLIB ac_ct_RANLIB LIBTOOL SED EGREP FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM LN_S lt_ECHO CPP 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 WIN32LDFLAGS WIN32LIBADD archdefs BFD_MACHINES LIBOBJS LTLIBOBJS'
464 # Initialize some variables set by options.
466 ac_init_version=false
467 # The variables have the same names as the options, with
468 # dashes changed to underlines.
476 program_transform_name=s,x,x,
484 # Installation directory options.
485 # These are left unexpanded so users can "make install exec_prefix=/foo"
486 # and all the variables that are supposed to be based on exec_prefix
487 # by default will actually change.
488 # Use braces instead of parens because sh, perl, etc. also accept them.
489 bindir='${exec_prefix}/bin'
490 sbindir='${exec_prefix}/sbin'
491 libexecdir='${exec_prefix}/libexec'
492 datadir='${prefix}/share'
493 sysconfdir='${prefix}/etc'
494 sharedstatedir='${prefix}/com'
495 localstatedir='${prefix}/var'
496 libdir='${exec_prefix}/lib'
497 includedir='${prefix}/include'
498 oldincludedir='/usr/include'
499 infodir='${prefix}/info'
500 mandir='${prefix}/man'
505 # If the previous option needs an argument, assign it.
506 if test -n "$ac_prev"; then
507 eval "$ac_prev=\$ac_option"
512 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
514 # Accept the important Cygnus configure options, so we can diagnose typos.
518 -bindir | --bindir | --bindi | --bind | --bin | --bi)
520 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
523 -build | --build | --buil | --bui | --bu)
524 ac_prev=build_alias ;;
525 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
526 build_alias=$ac_optarg ;;
528 -cache-file | --cache-file | --cache-fil | --cache-fi \
529 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
530 ac_prev=cache_file ;;
531 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
532 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
533 cache_file=$ac_optarg ;;
536 cache_file=config.cache ;;
538 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
540 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
542 datadir=$ac_optarg ;;
544 -disable-* | --disable-*)
545 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
546 # Reject names that are not valid shell variable names.
547 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
548 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
549 { (exit 1); exit 1; }; }
550 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
551 eval "enable_$ac_feature=no" ;;
553 -enable-* | --enable-*)
554 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
555 # Reject names that are not valid shell variable names.
556 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
557 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
558 { (exit 1); exit 1; }; }
559 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
561 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
564 eval "enable_$ac_feature='$ac_optarg'" ;;
566 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
567 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
568 | --exec | --exe | --ex)
569 ac_prev=exec_prefix ;;
570 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
571 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
572 | --exec=* | --exe=* | --ex=*)
573 exec_prefix=$ac_optarg ;;
575 -gas | --gas | --ga | --g)
576 # Obsolete; use --with-gas.
579 -help | --help | --hel | --he | -h)
581 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
582 ac_init_help=recursive ;;
583 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
584 ac_init_help=short ;;
586 -host | --host | --hos | --ho)
587 ac_prev=host_alias ;;
588 -host=* | --host=* | --hos=* | --ho=*)
589 host_alias=$ac_optarg ;;
591 -includedir | --includedir | --includedi | --included | --include \
592 | --includ | --inclu | --incl | --inc)
593 ac_prev=includedir ;;
594 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
595 | --includ=* | --inclu=* | --incl=* | --inc=*)
596 includedir=$ac_optarg ;;
598 -infodir | --infodir | --infodi | --infod | --info | --inf)
600 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
601 infodir=$ac_optarg ;;
603 -libdir | --libdir | --libdi | --libd)
605 -libdir=* | --libdir=* | --libdi=* | --libd=*)
608 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
609 | --libexe | --libex | --libe)
610 ac_prev=libexecdir ;;
611 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
612 | --libexe=* | --libex=* | --libe=*)
613 libexecdir=$ac_optarg ;;
615 -localstatedir | --localstatedir | --localstatedi | --localstated \
616 | --localstate | --localstat | --localsta | --localst \
617 | --locals | --local | --loca | --loc | --lo)
618 ac_prev=localstatedir ;;
619 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
620 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
621 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
622 localstatedir=$ac_optarg ;;
624 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
626 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
630 # Obsolete; use --without-fp.
633 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
634 | --no-cr | --no-c | -n)
637 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
638 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
641 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
642 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
643 | --oldin | --oldi | --old | --ol | --o)
644 ac_prev=oldincludedir ;;
645 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
646 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
647 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
648 oldincludedir=$ac_optarg ;;
650 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
652 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
655 -program-prefix | --program-prefix | --program-prefi | --program-pref \
656 | --program-pre | --program-pr | --program-p)
657 ac_prev=program_prefix ;;
658 -program-prefix=* | --program-prefix=* | --program-prefi=* \
659 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
660 program_prefix=$ac_optarg ;;
662 -program-suffix | --program-suffix | --program-suffi | --program-suff \
663 | --program-suf | --program-su | --program-s)
664 ac_prev=program_suffix ;;
665 -program-suffix=* | --program-suffix=* | --program-suffi=* \
666 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
667 program_suffix=$ac_optarg ;;
669 -program-transform-name | --program-transform-name \
670 | --program-transform-nam | --program-transform-na \
671 | --program-transform-n | --program-transform- \
672 | --program-transform | --program-transfor \
673 | --program-transfo | --program-transf \
674 | --program-trans | --program-tran \
675 | --progr-tra | --program-tr | --program-t)
676 ac_prev=program_transform_name ;;
677 -program-transform-name=* | --program-transform-name=* \
678 | --program-transform-nam=* | --program-transform-na=* \
679 | --program-transform-n=* | --program-transform-=* \
680 | --program-transform=* | --program-transfor=* \
681 | --program-transfo=* | --program-transf=* \
682 | --program-trans=* | --program-tran=* \
683 | --progr-tra=* | --program-tr=* | --program-t=*)
684 program_transform_name=$ac_optarg ;;
686 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
687 | -silent | --silent | --silen | --sile | --sil)
690 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
692 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
694 sbindir=$ac_optarg ;;
696 -sharedstatedir | --sharedstatedir | --sharedstatedi \
697 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
698 | --sharedst | --shareds | --shared | --share | --shar \
700 ac_prev=sharedstatedir ;;
701 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
702 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
703 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
705 sharedstatedir=$ac_optarg ;;
707 -site | --site | --sit)
709 -site=* | --site=* | --sit=*)
712 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
714 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
717 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
718 | --syscon | --sysco | --sysc | --sys | --sy)
719 ac_prev=sysconfdir ;;
720 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
721 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
722 sysconfdir=$ac_optarg ;;
724 -target | --target | --targe | --targ | --tar | --ta | --t)
725 ac_prev=target_alias ;;
726 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
727 target_alias=$ac_optarg ;;
729 -v | -verbose | --verbose | --verbos | --verbo | --verb)
732 -version | --version | --versio | --versi | --vers | -V)
736 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
737 # Reject names that are not valid shell variable names.
738 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
739 { echo "$as_me: error: invalid package name: $ac_package" >&2
740 { (exit 1); exit 1; }; }
741 ac_package=`echo $ac_package| sed 's/-/_/g'`
743 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
746 eval "with_$ac_package='$ac_optarg'" ;;
748 -without-* | --without-*)
749 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
750 # Reject names that are not valid shell variable names.
751 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
752 { echo "$as_me: error: invalid package name: $ac_package" >&2
753 { (exit 1); exit 1; }; }
754 ac_package=`echo $ac_package | sed 's/-/_/g'`
755 eval "with_$ac_package=no" ;;
758 # Obsolete; use --with-x.
761 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
762 | --x-incl | --x-inc | --x-in | --x-i)
763 ac_prev=x_includes ;;
764 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
765 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
766 x_includes=$ac_optarg ;;
768 -x-libraries | --x-libraries | --x-librarie | --x-librari \
769 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
770 ac_prev=x_libraries ;;
771 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
772 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
773 x_libraries=$ac_optarg ;;
775 -*) { echo "$as_me: error: unrecognized option: $ac_option
776 Try \`$0 --help' for more information." >&2
777 { (exit 1); exit 1; }; }
781 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
782 # Reject names that are not valid shell variable names.
783 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
784 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
785 { (exit 1); exit 1; }; }
786 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
787 eval "$ac_envvar='$ac_optarg'"
791 # FIXME: should be removed in autoconf 3.0.
792 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
793 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
794 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
795 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
801 if test -n "$ac_prev"; then
802 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
803 { echo "$as_me: error: missing argument to $ac_option" >&2
804 { (exit 1); exit 1; }; }
807 # Be sure to have absolute paths.
808 for ac_var in exec_prefix prefix
810 eval ac_val=$`echo $ac_var`
812 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
813 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
814 { (exit 1); exit 1; }; };;
818 # Be sure to have absolute paths.
819 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
820 localstatedir libdir includedir oldincludedir infodir mandir
822 eval ac_val=$`echo $ac_var`
824 [\\/$]* | ?:[\\/]* ) ;;
825 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
826 { (exit 1); exit 1; }; };;
830 # There might be people who depend on the old broken behavior: `$host'
831 # used to hold the argument of --host etc.
832 # FIXME: To remove some day.
837 # FIXME: To remove some day.
838 if test "x$host_alias" != x; then
839 if test "x$build_alias" = x; then
840 cross_compiling=maybe
841 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
842 If a cross compiler is detected then cross compile mode will be used." >&2
843 elif test "x$build_alias" != "x$host_alias"; then
849 test -n "$host_alias" && ac_tool_prefix=$host_alias-
851 test "$silent" = yes && exec 6>/dev/null
854 # Find the source files, if location was not specified.
855 if test -z "$srcdir"; then
856 ac_srcdir_defaulted=yes
857 # Try the directory containing this script, then its parent.
858 ac_confdir=`(dirname "$0") 2>/dev/null ||
859 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
860 X"$0" : 'X\(//\)[^/]' \| \
861 X"$0" : 'X\(//\)$' \| \
862 X"$0" : 'X\(/\)' \| \
863 . : '\(.\)' 2>/dev/null ||
865 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
866 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
867 /^X\(\/\/\)$/{ s//\1/; q; }
868 /^X\(\/\).*/{ s//\1/; q; }
871 if test ! -r $srcdir/$ac_unique_file; then
875 ac_srcdir_defaulted=no
877 if test ! -r $srcdir/$ac_unique_file; then
878 if test "$ac_srcdir_defaulted" = yes; then
879 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
880 { (exit 1); exit 1; }; }
882 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
883 { (exit 1); exit 1; }; }
886 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
887 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
888 { (exit 1); exit 1; }; }
889 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
890 ac_env_build_alias_set=${build_alias+set}
891 ac_env_build_alias_value=$build_alias
892 ac_cv_env_build_alias_set=${build_alias+set}
893 ac_cv_env_build_alias_value=$build_alias
894 ac_env_host_alias_set=${host_alias+set}
895 ac_env_host_alias_value=$host_alias
896 ac_cv_env_host_alias_set=${host_alias+set}
897 ac_cv_env_host_alias_value=$host_alias
898 ac_env_target_alias_set=${target_alias+set}
899 ac_env_target_alias_value=$target_alias
900 ac_cv_env_target_alias_set=${target_alias+set}
901 ac_cv_env_target_alias_value=$target_alias
902 ac_env_CC_set=${CC+set}
904 ac_cv_env_CC_set=${CC+set}
905 ac_cv_env_CC_value=$CC
906 ac_env_CFLAGS_set=${CFLAGS+set}
907 ac_env_CFLAGS_value=$CFLAGS
908 ac_cv_env_CFLAGS_set=${CFLAGS+set}
909 ac_cv_env_CFLAGS_value=$CFLAGS
910 ac_env_LDFLAGS_set=${LDFLAGS+set}
911 ac_env_LDFLAGS_value=$LDFLAGS
912 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
913 ac_cv_env_LDFLAGS_value=$LDFLAGS
914 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
915 ac_env_CPPFLAGS_value=$CPPFLAGS
916 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
917 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
918 ac_env_CPP_set=${CPP+set}
919 ac_env_CPP_value=$CPP
920 ac_cv_env_CPP_set=${CPP+set}
921 ac_cv_env_CPP_value=$CPP
924 # Report the --help message.
926 if test "$ac_init_help" = "long"; then
927 # Omit some internal or obsolete options to make the list less imposing.
928 # This message is too long to be a string in the A/UX 3.1 sh.
930 \`configure' configures this package to adapt to many kinds of systems.
932 Usage: $0 [OPTION]... [VAR=VALUE]...
934 To assign environment variables (e.g., CC, CFLAGS...), specify them as
935 VAR=VALUE. See below for descriptions of some of the useful variables.
937 Defaults for the options are specified in brackets.
940 -h, --help display this help and exit
941 --help=short display options specific to this package
942 --help=recursive display the short help of all the included packages
943 -V, --version display version information and exit
944 -q, --quiet, --silent do not print \`checking...' messages
945 --cache-file=FILE cache test results in FILE [disabled]
946 -C, --config-cache alias for \`--cache-file=config.cache'
947 -n, --no-create do not create output files
948 --srcdir=DIR find the sources in DIR [configure dir or \`..']
953 Installation directories:
954 --prefix=PREFIX install architecture-independent files in PREFIX
956 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
959 By default, \`make install' will install all the files in
960 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
961 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
962 for instance \`--prefix=\$HOME'.
964 For better control, use the options below.
966 Fine tuning of the installation directories:
967 --bindir=DIR user executables [EPREFIX/bin]
968 --sbindir=DIR system admin executables [EPREFIX/sbin]
969 --libexecdir=DIR program executables [EPREFIX/libexec]
970 --datadir=DIR read-only architecture-independent data [PREFIX/share]
971 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
972 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
973 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
974 --libdir=DIR object code libraries [EPREFIX/lib]
975 --includedir=DIR C header files [PREFIX/include]
976 --oldincludedir=DIR C header files for non-gcc [/usr/include]
977 --infodir=DIR info documentation [PREFIX/info]
978 --mandir=DIR man documentation [PREFIX/man]
984 --program-prefix=PREFIX prepend PREFIX to installed program names
985 --program-suffix=SUFFIX append SUFFIX to installed program names
986 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
989 --build=BUILD configure for building on BUILD [guessed]
990 --host=HOST cross-compile to build programs to run on HOST [BUILD]
991 --target=TARGET configure for building compilers for TARGET [HOST]
995 if test -n "$ac_init_help"; then
1000 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1001 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1002 --disable-dependency-tracking speeds up one-time build
1003 --enable-dependency-tracking do not reject slow dependency extractors
1004 --enable-shared[=PKGS]
1005 build shared libraries [default=no]
1006 --enable-static[=PKGS]
1007 build static libraries [default=yes]
1008 --enable-fast-install[=PKGS]
1009 optimize for fast installation [default=yes]
1010 --disable-libtool-lock avoid locking (might break parallel builds)
1011 --enable-targets alternative target configurations
1012 --enable-commonbfdlib build shared BFD/opcodes/libiberty library
1013 --enable-werror treat compile warnings as errors
1014 --enable-build-warnings enable build-time compiler warnings
1015 --enable-maintainer-mode enable make rules and dependencies not useful
1016 (and sometimes confusing) to the casual installer
1017 --enable-install-libbfd controls installation of libbfd and related headers
1018 --disable-nls do not use Native Language Support
1019 --enable-cgen-maint=dir build cgen generated files
1022 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1023 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1024 --with-pic try to use only PIC/non-PIC objects [default=use
1026 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1028 Some influential environment variables:
1029 CC C compiler command
1030 CFLAGS C compiler flags
1031 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1032 nonstandard directory <lib dir>
1033 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1034 headers in a nonstandard directory <include dir>
1037 Use these variables to override the choices made by `configure' or to help
1038 it to find libraries and programs with nonstandard names/locations.
1043 if test "$ac_init_help" = "recursive"; then
1044 # If there are subdirs, report their specific --help.
1046 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1047 test -d $ac_dir || continue
1050 if test "$ac_dir" != .; then
1051 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1052 # A "../" for each directory in $ac_dir_suffix.
1053 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1055 ac_dir_suffix= ac_top_builddir=
1059 .) # No --srcdir option. We are building in place.
1061 if test -z "$ac_top_builddir"; then
1064 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1066 [\\/]* | ?:[\\/]* ) # Absolute path.
1067 ac_srcdir=$srcdir$ac_dir_suffix;
1068 ac_top_srcdir=$srcdir ;;
1070 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1071 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1074 # Do not use `cd foo && pwd` to compute absolute paths, because
1075 # the directories may not exist.
1077 .) ac_abs_builddir="$ac_dir";;
1080 .) ac_abs_builddir=`pwd`;;
1081 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1082 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1085 case $ac_abs_builddir in
1086 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1088 case ${ac_top_builddir}. in
1089 .) ac_abs_top_builddir=$ac_abs_builddir;;
1090 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1091 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1094 case $ac_abs_builddir in
1095 .) ac_abs_srcdir=$ac_srcdir;;
1098 .) ac_abs_srcdir=$ac_abs_builddir;;
1099 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1100 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1103 case $ac_abs_builddir in
1104 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1106 case $ac_top_srcdir in
1107 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1108 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1109 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1114 # Check for guested configure; otherwise get Cygnus style configure.
1115 if test -f $ac_srcdir/configure.gnu; then
1117 $SHELL $ac_srcdir/configure.gnu --help=recursive
1118 elif test -f $ac_srcdir/configure; then
1120 $SHELL $ac_srcdir/configure --help=recursive
1121 elif test -f $ac_srcdir/configure.ac ||
1122 test -f $ac_srcdir/configure.in; then
1124 $ac_configure --help
1126 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1132 test -n "$ac_init_help" && exit 0
1133 if $ac_init_version; then
1136 Copyright (C) 2003 Free Software Foundation, Inc.
1137 This configure script is free software; the Free Software Foundation
1138 gives unlimited permission to copy, distribute and modify it.
1144 This file contains any messages produced by compilers while
1145 running configure, to aid debugging if configure makes a mistake.
1147 It was created by $as_me, which was
1148 generated by GNU Autoconf 2.59. Invocation command line was
1159 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1160 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1161 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1162 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1163 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1165 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1166 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1168 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1169 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1170 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1171 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1172 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1173 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1174 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1182 test -z "$as_dir" && as_dir=.
1183 echo "PATH: $as_dir"
1198 # Keep a trace of the command line.
1199 # Strip out --no-create and --no-recursion so they do not pile up.
1200 # Strip out --silent because we don't want to record it for future runs.
1201 # Also quote any args containing shell meta-characters.
1202 # Make two passes to allow for proper duplicate-argument suppression.
1207 ac_must_keep_next=false
1213 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1214 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1215 | -silent | --silent | --silen | --sile | --sil)
1217 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1218 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1221 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1223 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1224 if test $ac_must_keep_next = true; then
1225 ac_must_keep_next=false # Got value, back to normal.
1228 *=* | --config-cache | -C | -disable-* | --disable-* \
1229 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1230 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1231 | -with-* | --with-* | -without-* | --without-* | --x)
1232 case "$ac_configure_args0 " in
1233 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1236 -* ) ac_must_keep_next=true ;;
1239 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1240 # Get rid of the leading space.
1246 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1247 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1249 # When interrupted or exit'd, cleanup temporary files, and complete
1250 # config.log. We remove comments because anyway the quotes in there
1251 # would cause problems or look ugly.
1252 # WARNING: Be sure not to use single quotes in there, as some shells,
1253 # such as our DU 5.0 friend, will then `close' the trap.
1254 trap 'exit_status=$?
1255 # Save into config.log some information that might help in debugging.
1260 ## ---------------- ##
1261 ## Cache variables. ##
1262 ## ---------------- ##
1265 # The following way of writing the cache mishandles newlines in values,
1268 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1271 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1272 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1276 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1283 ## ----------------- ##
1284 ## Output variables. ##
1285 ## ----------------- ##
1288 for ac_var in $ac_subst_vars
1290 eval ac_val=$`echo $ac_var`
1291 echo "$ac_var='"'"'$ac_val'"'"'"
1295 if test -n "$ac_subst_files"; then
1302 for ac_var in $ac_subst_files
1304 eval ac_val=$`echo $ac_var`
1305 echo "$ac_var='"'"'$ac_val'"'"'"
1310 if test -s confdefs.h; then
1317 sed "/^$/d" confdefs.h | sort
1320 test "$ac_signal" != 0 &&
1321 echo "$as_me: caught signal $ac_signal"
1322 echo "$as_me: exit $exit_status"
1324 rm -f core *.core &&
1325 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1328 for ac_signal in 1 2 13 15; do
1329 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1333 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1334 rm -rf conftest* confdefs.h
1335 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1338 # Predefined preprocessor variables.
1340 cat >>confdefs.h <<_ACEOF
1341 #define PACKAGE_NAME "$PACKAGE_NAME"
1345 cat >>confdefs.h <<_ACEOF
1346 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1350 cat >>confdefs.h <<_ACEOF
1351 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1355 cat >>confdefs.h <<_ACEOF
1356 #define PACKAGE_STRING "$PACKAGE_STRING"
1360 cat >>confdefs.h <<_ACEOF
1361 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1365 # Let the site file select an alternate cache file if it wants to.
1366 # Prefer explicitly selected file to automatically selected ones.
1367 if test -z "$CONFIG_SITE"; then
1368 if test "x$prefix" != xNONE; then
1369 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1371 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1374 for ac_site_file in $CONFIG_SITE; do
1375 if test -r "$ac_site_file"; then
1376 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1377 echo "$as_me: loading site script $ac_site_file" >&6;}
1378 sed 's/^/| /' "$ac_site_file" >&5
1383 if test -r "$cache_file"; then
1384 # Some versions of bash will fail to source /dev/null (special
1385 # files actually), so we avoid doing that.
1386 if test -f "$cache_file"; then
1387 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1388 echo "$as_me: loading cache $cache_file" >&6;}
1390 [\\/]* | ?:[\\/]* ) . $cache_file;;
1391 *) . ./$cache_file;;
1395 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1396 echo "$as_me: creating cache $cache_file" >&6;}
1400 # Check that the precious variables saved in the cache have kept the same
1402 ac_cache_corrupted=false
1403 for ac_var in `(set) 2>&1 |
1404 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1405 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1406 eval ac_new_set=\$ac_env_${ac_var}_set
1407 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1408 eval ac_new_val="\$ac_env_${ac_var}_value"
1409 case $ac_old_set,$ac_new_set in
1411 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1412 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1413 ac_cache_corrupted=: ;;
1415 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1416 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1417 ac_cache_corrupted=: ;;
1420 if test "x$ac_old_val" != "x$ac_new_val"; then
1421 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1422 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1423 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1424 echo "$as_me: former value: $ac_old_val" >&2;}
1425 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1426 echo "$as_me: current value: $ac_new_val" >&2;}
1427 ac_cache_corrupted=:
1430 # Pass precious variables to config.status.
1431 if test "$ac_new_set" = set; then
1433 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1434 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1435 *) ac_arg=$ac_var=$ac_new_val ;;
1437 case " $ac_configure_args " in
1438 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1439 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1443 if $ac_cache_corrupted; then
1444 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1445 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1446 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1447 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1448 { (exit 1); exit 1; }; }
1452 ac_cpp='$CPP $CPPFLAGS'
1453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1478 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1479 if test -f $ac_dir/install-sh; then
1481 ac_install_sh="$ac_aux_dir/install-sh -c"
1483 elif test -f $ac_dir/install.sh; then
1485 ac_install_sh="$ac_aux_dir/install.sh -c"
1487 elif test -f $ac_dir/shtool; then
1489 ac_install_sh="$ac_aux_dir/shtool install -c"
1493 if test -z "$ac_aux_dir"; then
1494 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1495 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1496 { (exit 1); exit 1; }; }
1498 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1499 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1500 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1502 # Make sure we can run config.sub.
1503 $ac_config_sub sun4 >/dev/null 2>&1 ||
1504 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1505 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1506 { (exit 1); exit 1; }; }
1508 echo "$as_me:$LINENO: checking build system type" >&5
1509 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1510 if test "${ac_cv_build+set}" = set; then
1511 echo $ECHO_N "(cached) $ECHO_C" >&6
1513 ac_cv_build_alias=$build_alias
1514 test -z "$ac_cv_build_alias" &&
1515 ac_cv_build_alias=`$ac_config_guess`
1516 test -z "$ac_cv_build_alias" &&
1517 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1518 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1519 { (exit 1); exit 1; }; }
1520 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1521 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1522 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1523 { (exit 1); exit 1; }; }
1526 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1527 echo "${ECHO_T}$ac_cv_build" >&6
1529 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1530 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1531 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1534 echo "$as_me:$LINENO: checking host system type" >&5
1535 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1536 if test "${ac_cv_host+set}" = set; then
1537 echo $ECHO_N "(cached) $ECHO_C" >&6
1539 ac_cv_host_alias=$host_alias
1540 test -z "$ac_cv_host_alias" &&
1541 ac_cv_host_alias=$ac_cv_build_alias
1542 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1543 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1544 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1545 { (exit 1); exit 1; }; }
1548 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1549 echo "${ECHO_T}$ac_cv_host" >&6
1551 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1552 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1553 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1556 echo "$as_me:$LINENO: checking target system type" >&5
1557 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1558 if test "${ac_cv_target+set}" = set; then
1559 echo $ECHO_N "(cached) $ECHO_C" >&6
1561 ac_cv_target_alias=$target_alias
1562 test "x$ac_cv_target_alias" = "x" &&
1563 ac_cv_target_alias=$ac_cv_host_alias
1564 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1565 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1566 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1567 { (exit 1); exit 1; }; }
1570 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1571 echo "${ECHO_T}$ac_cv_target" >&6
1572 target=$ac_cv_target
1573 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1574 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1575 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1578 # The aliases save the names the user supplied, while $host etc.
1579 # will get canonicalized.
1580 test -n "$target_alias" &&
1581 test "$program_prefix$program_suffix$program_transform_name" = \
1583 program_prefix=${target_alias}-
1585 ac_cpp='$CPP $CPPFLAGS'
1586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1589 if test -n "$ac_tool_prefix"; then
1590 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1591 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1592 echo "$as_me:$LINENO: checking for $ac_word" >&5
1593 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1594 if test "${ac_cv_prog_CC+set}" = set; then
1595 echo $ECHO_N "(cached) $ECHO_C" >&6
1597 if test -n "$CC"; then
1598 ac_cv_prog_CC="$CC" # Let the user override the test.
1600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1604 test -z "$as_dir" && as_dir=.
1605 for ac_exec_ext in '' $ac_executable_extensions; do
1606 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1607 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1608 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1617 if test -n "$CC"; then
1618 echo "$as_me:$LINENO: result: $CC" >&5
1619 echo "${ECHO_T}$CC" >&6
1621 echo "$as_me:$LINENO: result: no" >&5
1622 echo "${ECHO_T}no" >&6
1626 if test -z "$ac_cv_prog_CC"; then
1628 # Extract the first word of "gcc", so it can be a program name with args.
1629 set dummy gcc; ac_word=$2
1630 echo "$as_me:$LINENO: checking for $ac_word" >&5
1631 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1632 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1633 echo $ECHO_N "(cached) $ECHO_C" >&6
1635 if test -n "$ac_ct_CC"; then
1636 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1642 test -z "$as_dir" && as_dir=.
1643 for ac_exec_ext in '' $ac_executable_extensions; do
1644 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1645 ac_cv_prog_ac_ct_CC="gcc"
1646 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1654 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1655 if test -n "$ac_ct_CC"; then
1656 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1657 echo "${ECHO_T}$ac_ct_CC" >&6
1659 echo "$as_me:$LINENO: result: no" >&5
1660 echo "${ECHO_T}no" >&6
1668 if test -z "$CC"; then
1669 if test -n "$ac_tool_prefix"; then
1670 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1671 set dummy ${ac_tool_prefix}cc; ac_word=$2
1672 echo "$as_me:$LINENO: checking for $ac_word" >&5
1673 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1674 if test "${ac_cv_prog_CC+set}" = set; then
1675 echo $ECHO_N "(cached) $ECHO_C" >&6
1677 if test -n "$CC"; then
1678 ac_cv_prog_CC="$CC" # Let the user override the test.
1680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1684 test -z "$as_dir" && as_dir=.
1685 for ac_exec_ext in '' $ac_executable_extensions; do
1686 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1687 ac_cv_prog_CC="${ac_tool_prefix}cc"
1688 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1697 if test -n "$CC"; then
1698 echo "$as_me:$LINENO: result: $CC" >&5
1699 echo "${ECHO_T}$CC" >&6
1701 echo "$as_me:$LINENO: result: no" >&5
1702 echo "${ECHO_T}no" >&6
1706 if test -z "$ac_cv_prog_CC"; then
1708 # Extract the first word of "cc", so it can be a program name with args.
1709 set dummy cc; ac_word=$2
1710 echo "$as_me:$LINENO: checking for $ac_word" >&5
1711 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1712 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1713 echo $ECHO_N "(cached) $ECHO_C" >&6
1715 if test -n "$ac_ct_CC"; then
1716 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1722 test -z "$as_dir" && as_dir=.
1723 for ac_exec_ext in '' $ac_executable_extensions; do
1724 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1725 ac_cv_prog_ac_ct_CC="cc"
1726 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1734 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1735 if test -n "$ac_ct_CC"; then
1736 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1737 echo "${ECHO_T}$ac_ct_CC" >&6
1739 echo "$as_me:$LINENO: result: no" >&5
1740 echo "${ECHO_T}no" >&6
1749 if test -z "$CC"; then
1750 # Extract the first word of "cc", so it can be a program name with args.
1751 set dummy cc; ac_word=$2
1752 echo "$as_me:$LINENO: checking for $ac_word" >&5
1753 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1754 if test "${ac_cv_prog_CC+set}" = set; then
1755 echo $ECHO_N "(cached) $ECHO_C" >&6
1757 if test -n "$CC"; then
1758 ac_cv_prog_CC="$CC" # Let the user override the test.
1761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1765 test -z "$as_dir" && as_dir=.
1766 for ac_exec_ext in '' $ac_executable_extensions; do
1767 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1768 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1769 ac_prog_rejected=yes
1773 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1779 if test $ac_prog_rejected = yes; then
1780 # We found a bogon in the path, so make sure we never use it.
1781 set dummy $ac_cv_prog_CC
1783 if test $# != 0; then
1784 # We chose a different compiler from the bogus one.
1785 # However, it has the same basename, so the bogon will be chosen
1786 # first if we set CC to just the basename; use the full file name.
1788 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1794 if test -n "$CC"; then
1795 echo "$as_me:$LINENO: result: $CC" >&5
1796 echo "${ECHO_T}$CC" >&6
1798 echo "$as_me:$LINENO: result: no" >&5
1799 echo "${ECHO_T}no" >&6
1803 if test -z "$CC"; then
1804 if test -n "$ac_tool_prefix"; then
1807 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1808 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1809 echo "$as_me:$LINENO: checking for $ac_word" >&5
1810 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1811 if test "${ac_cv_prog_CC+set}" = set; then
1812 echo $ECHO_N "(cached) $ECHO_C" >&6
1814 if test -n "$CC"; then
1815 ac_cv_prog_CC="$CC" # Let the user override the test.
1817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1821 test -z "$as_dir" && as_dir=.
1822 for ac_exec_ext in '' $ac_executable_extensions; do
1823 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1824 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1825 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1834 if test -n "$CC"; then
1835 echo "$as_me:$LINENO: result: $CC" >&5
1836 echo "${ECHO_T}$CC" >&6
1838 echo "$as_me:$LINENO: result: no" >&5
1839 echo "${ECHO_T}no" >&6
1842 test -n "$CC" && break
1845 if test -z "$CC"; then
1849 # Extract the first word of "$ac_prog", so it can be a program name with args.
1850 set dummy $ac_prog; ac_word=$2
1851 echo "$as_me:$LINENO: checking for $ac_word" >&5
1852 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1853 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1854 echo $ECHO_N "(cached) $ECHO_C" >&6
1856 if test -n "$ac_ct_CC"; then
1857 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1863 test -z "$as_dir" && as_dir=.
1864 for ac_exec_ext in '' $ac_executable_extensions; do
1865 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1866 ac_cv_prog_ac_ct_CC="$ac_prog"
1867 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1875 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1876 if test -n "$ac_ct_CC"; then
1877 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1878 echo "${ECHO_T}$ac_ct_CC" >&6
1880 echo "$as_me:$LINENO: result: no" >&5
1881 echo "${ECHO_T}no" >&6
1884 test -n "$ac_ct_CC" && break
1893 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1894 See \`config.log' for more details." >&5
1895 echo "$as_me: error: no acceptable C compiler found in \$PATH
1896 See \`config.log' for more details." >&2;}
1897 { (exit 1); exit 1; }; }
1899 # Provide some information about the compiler.
1900 echo "$as_me:$LINENO:" \
1901 "checking for C compiler version" >&5
1902 ac_compiler=`set X $ac_compile; echo $2`
1903 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1904 (eval $ac_compiler --version </dev/null >&5) 2>&5
1906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1907 (exit $ac_status); }
1908 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1909 (eval $ac_compiler -v </dev/null >&5) 2>&5
1911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1912 (exit $ac_status); }
1913 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1914 (eval $ac_compiler -V </dev/null >&5) 2>&5
1916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1917 (exit $ac_status); }
1919 cat >conftest.$ac_ext <<_ACEOF
1922 cat confdefs.h >>conftest.$ac_ext
1923 cat >>conftest.$ac_ext <<_ACEOF
1924 /* end confdefs.h. */
1934 ac_clean_files_save=$ac_clean_files
1935 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1936 # Try to create an executable without -o first, disregard a.out.
1937 # It will help us diagnose broken compilers, and finding out an intuition
1939 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1940 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1941 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1942 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1943 (eval $ac_link_default) 2>&5
1945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1946 (exit $ac_status); }; then
1947 # Find the output, starting from the most likely. This scheme is
1948 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1951 # Be careful to initialize this variable, since it used to be cached.
1952 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1954 # b.out is created by i960 compilers.
1955 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1957 test -f "$ac_file" || continue
1959 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1962 # This is the source file.
1965 # We found the default executable, but exeext='' is most
1969 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1970 # FIXME: I believe we export ac_cv_exeext for Libtool,
1971 # but it would be cool to find out if it's true. Does anybody
1972 # maintain Libtool? --akim.
1980 echo "$as_me: failed program was:" >&5
1981 sed 's/^/| /' conftest.$ac_ext >&5
1983 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1984 See \`config.log' for more details." >&5
1985 echo "$as_me: error: C compiler cannot create executables
1986 See \`config.log' for more details." >&2;}
1987 { (exit 77); exit 77; }; }
1990 ac_exeext=$ac_cv_exeext
1991 echo "$as_me:$LINENO: result: $ac_file" >&5
1992 echo "${ECHO_T}$ac_file" >&6
1994 # Check the compiler produces executables we can run. If not, either
1995 # the compiler is broken, or we cross compile.
1996 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1997 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1998 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1999 # If not cross compiling, check that we can run a simple program.
2000 if test "$cross_compiling" != yes; then
2001 if { ac_try='./$ac_file'
2002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2006 (exit $ac_status); }; }; then
2009 if test "$cross_compiling" = maybe; then
2012 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2013 If you meant to cross compile, use \`--host'.
2014 See \`config.log' for more details." >&5
2015 echo "$as_me: error: cannot run C compiled programs.
2016 If you meant to cross compile, use \`--host'.
2017 See \`config.log' for more details." >&2;}
2018 { (exit 1); exit 1; }; }
2022 echo "$as_me:$LINENO: result: yes" >&5
2023 echo "${ECHO_T}yes" >&6
2025 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2026 ac_clean_files=$ac_clean_files_save
2027 # Check the compiler produces executables we can run. If not, either
2028 # the compiler is broken, or we cross compile.
2029 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2030 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2031 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2032 echo "${ECHO_T}$cross_compiling" >&6
2034 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2035 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2037 (eval $ac_link) 2>&5
2039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2040 (exit $ac_status); }; then
2041 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2042 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2043 # work properly (i.e., refer to `conftest.exe'), while it won't with
2045 for ac_file in conftest.exe conftest conftest.*; do
2046 test -f "$ac_file" || continue
2048 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2049 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2056 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2057 See \`config.log' for more details." >&5
2058 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2059 See \`config.log' for more details." >&2;}
2060 { (exit 1); exit 1; }; }
2063 rm -f conftest$ac_cv_exeext
2064 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2065 echo "${ECHO_T}$ac_cv_exeext" >&6
2067 rm -f conftest.$ac_ext
2068 EXEEXT=$ac_cv_exeext
2070 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2071 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2072 if test "${ac_cv_objext+set}" = set; then
2073 echo $ECHO_N "(cached) $ECHO_C" >&6
2075 cat >conftest.$ac_ext <<_ACEOF
2078 cat confdefs.h >>conftest.$ac_ext
2079 cat >>conftest.$ac_ext <<_ACEOF
2080 /* end confdefs.h. */
2090 rm -f conftest.o conftest.obj
2091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2092 (eval $ac_compile) 2>&5
2094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2095 (exit $ac_status); }; then
2096 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2098 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2099 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2104 echo "$as_me: failed program was:" >&5
2105 sed 's/^/| /' conftest.$ac_ext >&5
2107 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2108 See \`config.log' for more details." >&5
2109 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2110 See \`config.log' for more details." >&2;}
2111 { (exit 1); exit 1; }; }
2114 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2116 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2117 echo "${ECHO_T}$ac_cv_objext" >&6
2118 OBJEXT=$ac_cv_objext
2120 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2121 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2122 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2123 echo $ECHO_N "(cached) $ECHO_C" >&6
2125 cat >conftest.$ac_ext <<_ACEOF
2128 cat confdefs.h >>conftest.$ac_ext
2129 cat >>conftest.$ac_ext <<_ACEOF
2130 /* end confdefs.h. */
2143 rm -f conftest.$ac_objext
2144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2145 (eval $ac_compile) 2>conftest.er1
2147 grep -v '^ *+' conftest.er1 >conftest.err
2149 cat conftest.err >&5
2150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2151 (exit $ac_status); } &&
2152 { ac_try='test -z "$ac_c_werror_flag"
2153 || test ! -s conftest.err'
2154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2158 (exit $ac_status); }; } &&
2159 { ac_try='test -s conftest.$ac_objext'
2160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2164 (exit $ac_status); }; }; then
2167 echo "$as_me: failed program was:" >&5
2168 sed 's/^/| /' conftest.$ac_ext >&5
2172 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2173 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2176 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2177 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2178 GCC=`test $ac_compiler_gnu = yes && echo yes`
2179 ac_test_CFLAGS=${CFLAGS+set}
2180 ac_save_CFLAGS=$CFLAGS
2182 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2183 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2184 if test "${ac_cv_prog_cc_g+set}" = set; then
2185 echo $ECHO_N "(cached) $ECHO_C" >&6
2187 cat >conftest.$ac_ext <<_ACEOF
2190 cat confdefs.h >>conftest.$ac_ext
2191 cat >>conftest.$ac_ext <<_ACEOF
2192 /* end confdefs.h. */
2202 rm -f conftest.$ac_objext
2203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2204 (eval $ac_compile) 2>conftest.er1
2206 grep -v '^ *+' conftest.er1 >conftest.err
2208 cat conftest.err >&5
2209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2210 (exit $ac_status); } &&
2211 { ac_try='test -z "$ac_c_werror_flag"
2212 || test ! -s conftest.err'
2213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2217 (exit $ac_status); }; } &&
2218 { ac_try='test -s conftest.$ac_objext'
2219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2223 (exit $ac_status); }; }; then
2226 echo "$as_me: failed program was:" >&5
2227 sed 's/^/| /' conftest.$ac_ext >&5
2231 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2233 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2234 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2235 if test "$ac_test_CFLAGS" = set; then
2236 CFLAGS=$ac_save_CFLAGS
2237 elif test $ac_cv_prog_cc_g = yes; then
2238 if test "$GCC" = yes; then
2244 if test "$GCC" = yes; then
2250 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2251 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2252 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2253 echo $ECHO_N "(cached) $ECHO_C" >&6
2255 ac_cv_prog_cc_stdc=no
2257 cat >conftest.$ac_ext <<_ACEOF
2260 cat confdefs.h >>conftest.$ac_ext
2261 cat >>conftest.$ac_ext <<_ACEOF
2262 /* end confdefs.h. */
2265 #include <sys/types.h>
2266 #include <sys/stat.h>
2267 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2268 struct buf { int x; };
2269 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2270 static char *e (p, i)
2276 static char *f (char * (*g) (char **, int), char **p, ...)
2281 s = g (p, va_arg (v,int));
2286 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2287 function prototypes and stuff, but not '\xHH' hex character constants.
2288 These don't provoke an error unfortunately, instead are silently treated
2289 as 'x'. The following induces an error, until -std1 is added to get
2290 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2291 array size at least. It's necessary to write '\x00'==0 to get something
2292 that's true only with -std1. */
2293 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2295 int test (int i, double x);
2296 struct s1 {int (*f) (int a);};
2297 struct s2 {int (*f) (double a);};
2298 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2304 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2309 # Don't try gcc -ansi; that turns off useful extensions and
2310 # breaks some systems' header files.
2311 # AIX -qlanglvl=ansi
2312 # Ultrix and OSF/1 -std1
2313 # HP-UX 10.20 and later -Ae
2314 # HP-UX older versions -Aa -D_HPUX_SOURCE
2315 # SVR4 -Xc -D__EXTENSIONS__
2316 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2318 CC="$ac_save_CC $ac_arg"
2319 rm -f conftest.$ac_objext
2320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2321 (eval $ac_compile) 2>conftest.er1
2323 grep -v '^ *+' conftest.er1 >conftest.err
2325 cat conftest.err >&5
2326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2327 (exit $ac_status); } &&
2328 { ac_try='test -z "$ac_c_werror_flag"
2329 || test ! -s conftest.err'
2330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2334 (exit $ac_status); }; } &&
2335 { ac_try='test -s conftest.$ac_objext'
2336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2340 (exit $ac_status); }; }; then
2341 ac_cv_prog_cc_stdc=$ac_arg
2344 echo "$as_me: failed program was:" >&5
2345 sed 's/^/| /' conftest.$ac_ext >&5
2348 rm -f conftest.err conftest.$ac_objext
2350 rm -f conftest.$ac_ext conftest.$ac_objext
2355 case "x$ac_cv_prog_cc_stdc" in
2357 echo "$as_me:$LINENO: result: none needed" >&5
2358 echo "${ECHO_T}none needed" >&6 ;;
2360 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2361 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2362 CC="$CC $ac_cv_prog_cc_stdc" ;;
2365 # Some people use a C++ compiler to compile C. Since we use `exit',
2366 # in C++ we need to declare it. In case someone uses the same compiler
2367 # for both compiling C and C++ we need to have the C++ compiler decide
2368 # the declaration of exit, since it's the most demanding environment.
2369 cat >conftest.$ac_ext <<_ACEOF
2374 rm -f conftest.$ac_objext
2375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2376 (eval $ac_compile) 2>conftest.er1
2378 grep -v '^ *+' conftest.er1 >conftest.err
2380 cat conftest.err >&5
2381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2382 (exit $ac_status); } &&
2383 { ac_try='test -z "$ac_c_werror_flag"
2384 || test ! -s conftest.err'
2385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2389 (exit $ac_status); }; } &&
2390 { ac_try='test -s conftest.$ac_objext'
2391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2395 (exit $ac_status); }; }; then
2396 for ac_declaration in \
2398 'extern "C" void std::exit (int) throw (); using std::exit;' \
2399 'extern "C" void std::exit (int); using std::exit;' \
2400 'extern "C" void exit (int) throw ();' \
2401 'extern "C" void exit (int);' \
2404 cat >conftest.$ac_ext <<_ACEOF
2407 cat confdefs.h >>conftest.$ac_ext
2408 cat >>conftest.$ac_ext <<_ACEOF
2409 /* end confdefs.h. */
2420 rm -f conftest.$ac_objext
2421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2422 (eval $ac_compile) 2>conftest.er1
2424 grep -v '^ *+' conftest.er1 >conftest.err
2426 cat conftest.err >&5
2427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2428 (exit $ac_status); } &&
2429 { ac_try='test -z "$ac_c_werror_flag"
2430 || test ! -s conftest.err'
2431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2435 (exit $ac_status); }; } &&
2436 { ac_try='test -s conftest.$ac_objext'
2437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2441 (exit $ac_status); }; }; then
2444 echo "$as_me: failed program was:" >&5
2445 sed 's/^/| /' conftest.$ac_ext >&5
2449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2450 cat >conftest.$ac_ext <<_ACEOF
2453 cat confdefs.h >>conftest.$ac_ext
2454 cat >>conftest.$ac_ext <<_ACEOF
2455 /* end confdefs.h. */
2465 rm -f conftest.$ac_objext
2466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2467 (eval $ac_compile) 2>conftest.er1
2469 grep -v '^ *+' conftest.er1 >conftest.err
2471 cat conftest.err >&5
2472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2473 (exit $ac_status); } &&
2474 { ac_try='test -z "$ac_c_werror_flag"
2475 || test ! -s conftest.err'
2476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2480 (exit $ac_status); }; } &&
2481 { ac_try='test -s conftest.$ac_objext'
2482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2486 (exit $ac_status); }; }; then
2489 echo "$as_me: failed program was:" >&5
2490 sed 's/^/| /' conftest.$ac_ext >&5
2493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2496 if test -n "$ac_declaration"; then
2497 echo '#ifdef __cplusplus' >>confdefs.h
2498 echo $ac_declaration >>confdefs.h
2499 echo '#endif' >>confdefs.h
2503 echo "$as_me: failed program was:" >&5
2504 sed 's/^/| /' conftest.$ac_ext >&5
2507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2509 ac_cpp='$CPP $CPPFLAGS'
2510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2515 echo "$as_me:$LINENO: checking for library containing strerror" >&5
2516 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
2517 if test "${ac_cv_search_strerror+set}" = set; then
2518 echo $ECHO_N "(cached) $ECHO_C" >&6
2520 ac_func_search_save_LIBS=$LIBS
2521 ac_cv_search_strerror=no
2522 cat >conftest.$ac_ext <<_ACEOF
2525 cat confdefs.h >>conftest.$ac_ext
2526 cat >>conftest.$ac_ext <<_ACEOF
2527 /* end confdefs.h. */
2529 /* Override any gcc2 internal prototype to avoid an error. */
2533 /* We use char because int might match the return type of a gcc2
2534 builtin and then its argument prototype would still apply. */
2544 rm -f conftest.$ac_objext conftest$ac_exeext
2545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2546 (eval $ac_link) 2>conftest.er1
2548 grep -v '^ *+' conftest.er1 >conftest.err
2550 cat conftest.err >&5
2551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2552 (exit $ac_status); } &&
2553 { ac_try='test -z "$ac_c_werror_flag"
2554 || test ! -s conftest.err'
2555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2559 (exit $ac_status); }; } &&
2560 { ac_try='test -s conftest$ac_exeext'
2561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2565 (exit $ac_status); }; }; then
2566 ac_cv_search_strerror="none required"
2568 echo "$as_me: failed program was:" >&5
2569 sed 's/^/| /' conftest.$ac_ext >&5
2572 rm -f conftest.err conftest.$ac_objext \
2573 conftest$ac_exeext conftest.$ac_ext
2574 if test "$ac_cv_search_strerror" = no; then
2575 for ac_lib in cposix; do
2576 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
2577 cat >conftest.$ac_ext <<_ACEOF
2580 cat confdefs.h >>conftest.$ac_ext
2581 cat >>conftest.$ac_ext <<_ACEOF
2582 /* end confdefs.h. */
2584 /* Override any gcc2 internal prototype to avoid an error. */
2588 /* We use char because int might match the return type of a gcc2
2589 builtin and then its argument prototype would still apply. */
2599 rm -f conftest.$ac_objext conftest$ac_exeext
2600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2601 (eval $ac_link) 2>conftest.er1
2603 grep -v '^ *+' conftest.er1 >conftest.err
2605 cat conftest.err >&5
2606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2607 (exit $ac_status); } &&
2608 { ac_try='test -z "$ac_c_werror_flag"
2609 || test ! -s conftest.err'
2610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2614 (exit $ac_status); }; } &&
2615 { ac_try='test -s conftest$ac_exeext'
2616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2620 (exit $ac_status); }; }; then
2621 ac_cv_search_strerror="-l$ac_lib"
2624 echo "$as_me: failed program was:" >&5
2625 sed 's/^/| /' conftest.$ac_ext >&5
2628 rm -f conftest.err conftest.$ac_objext \
2629 conftest$ac_exeext conftest.$ac_ext
2632 LIBS=$ac_func_search_save_LIBS
2634 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2635 echo "${ECHO_T}$ac_cv_search_strerror" >&6
2636 if test "$ac_cv_search_strerror" != no; then
2637 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
2642 # We currently only use the version number for the name of any shared
2643 # library. For user convenience, we always use the same version
2644 # number that BFD is using.
2645 BFD_VERSION=`sed -n -e 's/^.._INIT_AUTOMAKE.*,[ ]*\([^ ]*\)[ ]*).*/\1/p' < ${srcdir}/../bfd/configure.in`
2647 am__api_version="1.9"
2648 # Find a good install program. We prefer a C program (faster),
2649 # so one script is as good as another. But avoid the broken or
2650 # incompatible versions:
2651 # SysV /etc/install, /usr/sbin/install
2652 # SunOS /usr/etc/install
2653 # IRIX /sbin/install
2655 # AmigaOS /C/install, which installs bootblocks on floppy discs
2656 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2657 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2658 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2659 # OS/2's system install, which has a completely different semantic
2660 # ./install, which can be erroneously created by make from ./install.sh.
2661 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2662 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2663 if test -z "$INSTALL"; then
2664 if test "${ac_cv_path_install+set}" = set; then
2665 echo $ECHO_N "(cached) $ECHO_C" >&6
2667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2671 test -z "$as_dir" && as_dir=.
2672 # Account for people who put trailing slashes in PATH elements.
2674 ./ | .// | /cC/* | \
2675 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2676 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2679 # OSF1 and SCO ODT 3.0 have their own names for install.
2680 # Don't use installbsd from OSF since it installs stuff as root
2682 for ac_prog in ginstall scoinst install; do
2683 for ac_exec_ext in '' $ac_executable_extensions; do
2684 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2685 if test $ac_prog = install &&
2686 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2687 # AIX install. It has an incompatible calling convention.
2689 elif test $ac_prog = install &&
2690 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2691 # program-specific install script used by HP pwplus--don't use.
2694 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2706 if test "${ac_cv_path_install+set}" = set; then
2707 INSTALL=$ac_cv_path_install
2709 # As a last resort, use the slow shell script. We don't cache a
2710 # path for INSTALL within a source directory, because that will
2711 # break other packages using the cache if that directory is
2712 # removed, or if the path is relative.
2713 INSTALL=$ac_install_sh
2716 echo "$as_me:$LINENO: result: $INSTALL" >&5
2717 echo "${ECHO_T}$INSTALL" >&6
2719 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2720 # It thinks the first close brace ends the variable substitution.
2721 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2723 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2725 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2727 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2728 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
2731 echo timestamp > conftest.file
2732 # Do `set' in a subshell so we don't clobber the current shell's
2733 # arguments. Must try -L first in case configure is actually a
2734 # symlink; some systems play weird games with the mod time of symlinks
2735 # (eg FreeBSD returns the mod time of the symlink's containing
2738 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2739 if test "$*" = "X"; then
2741 set X `ls -t $srcdir/configure conftest.file`
2744 if test "$*" != "X $srcdir/configure conftest.file" \
2745 && test "$*" != "X conftest.file $srcdir/configure"; then
2747 # If neither matched, then we have a broken ls. This can happen
2748 # if, for instance, CONFIG_SHELL is bash and it inherits a
2749 # broken ls alias from the environment. This has actually
2750 # happened. Such a system could not be considered "sane".
2751 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2752 alias in your environment" >&5
2753 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2754 alias in your environment" >&2;}
2755 { (exit 1); exit 1; }; }
2758 test "$2" = conftest.file
2764 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2765 Check your system clock" >&5
2766 echo "$as_me: error: newly created file is older than distributed files!
2767 Check your system clock" >&2;}
2768 { (exit 1); exit 1; }; }
2770 echo "$as_me:$LINENO: result: yes" >&5
2771 echo "${ECHO_T}yes" >&6
2772 test "$program_prefix" != NONE &&
2773 program_transform_name="s,^,$program_prefix,;$program_transform_name"
2774 # Use a double $ so make ignores it.
2775 test "$program_suffix" != NONE &&
2776 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
2777 # Double any \ or $. echo might interpret backslashes.
2778 # By default was `s,x,x', remove it if useless.
2779 cat <<\_ACEOF >conftest.sed
2780 s/[\\$]/&&/g;s/;s,x,x,$//
2782 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2785 # expand $ac_aux_dir to an absolute path
2786 am_aux_dir=`cd $ac_aux_dir && pwd`
2788 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2789 # Use eval to expand $SHELL
2790 if eval "$MISSING --run true"; then
2791 am_missing_run="$MISSING --run "
2794 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2795 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2798 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2799 # We used to keeping the `.' as first argument, in order to
2800 # allow $(mkdir_p) to be used without argument. As in
2801 # $(mkdir_p) $(somedir)
2802 # where $(somedir) is conditionally defined. However this is wrong
2804 # 1. if the package is installed by a user who cannot write `.'
2805 # make install will fail,
2806 # 2. the above comment should most certainly read
2807 # $(mkdir_p) $(DESTDIR)$(somedir)
2808 # so it does not work when $(somedir) is undefined and
2809 # $(DESTDIR) is not.
2810 # To support the latter case, we have to write
2811 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2812 # so the `.' trick is pointless.
2813 mkdir_p='mkdir -p --'
2815 # On NextStep and OpenStep, the `mkdir' command does not
2816 # recognize any option. It will interpret all options as
2817 # directories to create, and then abort because `.' already
2819 for d in ./-p ./--version;
2821 test -d $d && rmdir $d
2823 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2824 if test -f "$ac_aux_dir/mkinstalldirs"; then
2825 mkdir_p='$(mkinstalldirs)'
2827 mkdir_p='$(install_sh) -d'
2831 for ac_prog in gawk mawk nawk awk
2833 # Extract the first word of "$ac_prog", so it can be a program name with args.
2834 set dummy $ac_prog; ac_word=$2
2835 echo "$as_me:$LINENO: checking for $ac_word" >&5
2836 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2837 if test "${ac_cv_prog_AWK+set}" = set; then
2838 echo $ECHO_N "(cached) $ECHO_C" >&6
2840 if test -n "$AWK"; then
2841 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2847 test -z "$as_dir" && as_dir=.
2848 for ac_exec_ext in '' $ac_executable_extensions; do
2849 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2850 ac_cv_prog_AWK="$ac_prog"
2851 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2860 if test -n "$AWK"; then
2861 echo "$as_me:$LINENO: result: $AWK" >&5
2862 echo "${ECHO_T}$AWK" >&6
2864 echo "$as_me:$LINENO: result: no" >&5
2865 echo "${ECHO_T}no" >&6
2868 test -n "$AWK" && break
2871 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2872 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2873 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
2874 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2875 echo $ECHO_N "(cached) $ECHO_C" >&6
2877 cat >conftest.make <<\_ACEOF
2879 @echo 'ac_maketemp="$(MAKE)"'
2881 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2882 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2883 if test -n "$ac_maketemp"; then
2884 eval ac_cv_prog_make_${ac_make}_set=yes
2886 eval ac_cv_prog_make_${ac_make}_set=no
2890 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2891 echo "$as_me:$LINENO: result: yes" >&5
2892 echo "${ECHO_T}yes" >&6
2895 echo "$as_me:$LINENO: result: no" >&5
2896 echo "${ECHO_T}no" >&6
2897 SET_MAKE="MAKE=${MAKE-make}"
2900 rm -rf .tst 2>/dev/null
2901 mkdir .tst 2>/dev/null
2902 if test -d .tst; then
2907 rmdir .tst 2>/dev/null
2909 DEPDIR="${am__leading_dot}deps"
2911 ac_config_commands="$ac_config_commands depfiles"
2914 am_make=${MAKE-make}
2915 cat > confinc << 'END'
2920 # If we don't find an include directive, just comment out the code.
2921 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2922 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2926 # First try GNU make style include.
2927 echo "include confinc" > confmf
2928 # We grep out `Entering directory' and `Leaving directory'
2929 # messages which can occur if `w' ends up in MAKEFLAGS.
2930 # In particular we don't look at `^make:' because GNU make might
2931 # be invoked under some other name (usually "gmake"), in which
2932 # case it prints its new name instead of `make'.
2933 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2938 # Now try BSD make style include.
2939 if test "$am__include" = "#"; then
2940 echo '.include "confinc"' > confmf
2941 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2942 am__include=.include
2949 echo "$as_me:$LINENO: result: $_am_result" >&5
2950 echo "${ECHO_T}$_am_result" >&6
2951 rm -f confinc confmf
2953 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2954 if test "${enable_dependency_tracking+set}" = set; then
2955 enableval="$enable_dependency_tracking"
2958 if test "x$enable_dependency_tracking" != xno; then
2959 am_depcomp="$ac_aux_dir/depcomp"
2964 if test "x$enable_dependency_tracking" != xno; then
2974 # test to see if srcdir already configured
2975 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2976 test -f $srcdir/config.status; then
2977 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2978 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2979 { (exit 1); exit 1; }; }
2982 # test whether we have cygpath
2983 if test -z "$CYGPATH_W"; then
2984 if (cygpath --version) >/dev/null 2>/dev/null; then
2985 CYGPATH_W='cygpath -w'
2992 # Define the identity of the package.
2994 VERSION=${BFD_VERSION}
2997 cat >>confdefs.h <<_ACEOF
2998 #define PACKAGE "$PACKAGE"
3002 cat >>confdefs.h <<_ACEOF
3003 #define VERSION "$VERSION"
3006 # Some tools Automake needs.
3008 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3011 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3014 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3017 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3020 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3022 install_sh=${install_sh-"$am_aux_dir/install-sh"}
3024 # Installed binaries are usually stripped using `strip' when the user
3025 # run `make install-strip'. However `strip' might not be the right
3026 # tool to use in cross-compilation environments, therefore Automake
3027 # will honor the `STRIP' environment variable to overrule this program.
3028 if test "$cross_compiling" != no; then
3029 if test -n "$ac_tool_prefix"; then
3030 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3031 set dummy ${ac_tool_prefix}strip; ac_word=$2
3032 echo "$as_me:$LINENO: checking for $ac_word" >&5
3033 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3034 if test "${ac_cv_prog_STRIP+set}" = set; then
3035 echo $ECHO_N "(cached) $ECHO_C" >&6
3037 if test -n "$STRIP"; then
3038 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3044 test -z "$as_dir" && as_dir=.
3045 for ac_exec_ext in '' $ac_executable_extensions; do
3046 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3047 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3048 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3056 STRIP=$ac_cv_prog_STRIP
3057 if test -n "$STRIP"; then
3058 echo "$as_me:$LINENO: result: $STRIP" >&5
3059 echo "${ECHO_T}$STRIP" >&6
3061 echo "$as_me:$LINENO: result: no" >&5
3062 echo "${ECHO_T}no" >&6
3066 if test -z "$ac_cv_prog_STRIP"; then
3068 # Extract the first word of "strip", so it can be a program name with args.
3069 set dummy strip; ac_word=$2
3070 echo "$as_me:$LINENO: checking for $ac_word" >&5
3071 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3072 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3073 echo $ECHO_N "(cached) $ECHO_C" >&6
3075 if test -n "$ac_ct_STRIP"; then
3076 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3082 test -z "$as_dir" && as_dir=.
3083 for ac_exec_ext in '' $ac_executable_extensions; do
3084 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3085 ac_cv_prog_ac_ct_STRIP="strip"
3086 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3092 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
3095 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3096 if test -n "$ac_ct_STRIP"; then
3097 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3098 echo "${ECHO_T}$ac_ct_STRIP" >&6
3100 echo "$as_me:$LINENO: result: no" >&5
3101 echo "${ECHO_T}no" >&6
3106 STRIP="$ac_cv_prog_STRIP"
3110 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
3112 # We need awk for the "check" target. The system "awk" is bad on
3114 # Always define AMTAR for backward compatibility.
3116 AMTAR=${AMTAR-"${am_missing_run}tar"}
3118 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3123 depcc="$CC" am_compiler_list=
3125 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3126 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3127 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3128 echo $ECHO_N "(cached) $ECHO_C" >&6
3130 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3131 # We make a subdir and do the tests there. Otherwise we can end up
3132 # making bogus files that we don't know about and never remove. For
3133 # instance it was reported that on HP-UX the gcc test will end up
3134 # making a dummy file named `D' -- because `-MD' means `put the output
3137 # Copy depcomp to subdir because otherwise we won't find it if we're
3138 # using a relative directory.
3139 cp "$am_depcomp" conftest.dir
3141 # We will build objects and dependencies in a subdirectory because
3142 # it helps to detect inapplicable dependency modes. For instance
3143 # both Tru64's cc and ICC support -MD to output dependencies as a
3144 # side effect of compilation, but ICC will put the dependencies in
3145 # the current directory while Tru64 will put them in the object
3149 am_cv_CC_dependencies_compiler_type=none
3150 if test "$am_compiler_list" = ""; then
3151 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3153 for depmode in $am_compiler_list; do
3154 # Setup a source with many dependencies, because some compilers
3155 # like to wrap large dependency lists on column 80 (with \), and
3156 # we should not choose a depcomp mode which is confused by this.
3158 # We need to recreate these files for each test, as the compiler may
3159 # overwrite some of them when testing with obscure command lines.
3160 # This happens at least with the AIX C compiler.
3162 for i in 1 2 3 4 5 6; do
3163 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3164 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3165 # Solaris 8's {/usr,}/bin/sh.
3166 touch sub/conftst$i.h
3168 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3172 # after this tag, mechanisms are not by side-effect, so they'll
3173 # only be used when explicitly requested
3174 if test "x$enable_dependency_tracking" = xyes; then
3182 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3183 # mode. It turns out that the SunPro C++ compiler does not properly
3184 # handle `-M -o', and we need to detect this.
3185 if depmode=$depmode \
3186 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3187 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3188 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3189 >/dev/null 2>conftest.err &&
3190 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3191 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3192 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3193 # icc doesn't choke on unknown options, it will just issue warnings
3194 # or remarks (even with -Werror). So we grep stderr for any message
3195 # that says an option was ignored or not supported.
3196 # When given -MP, icc 7.0 and 7.1 complain thusly:
3197 # icc: Command line warning: ignoring option '-M'; no argument required
3198 # The diagnosis changed in icc 8.0:
3199 # icc: Command line remark: option '-MP' not supported
3200 if (grep 'ignoring option' conftest.err ||
3201 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3202 am_cv_CC_dependencies_compiler_type=$depmode
3211 am_cv_CC_dependencies_compiler_type=none
3215 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3216 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3217 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3222 test "x$enable_dependency_tracking" != xno \
3223 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3225 am__fastdepCC_FALSE='#'
3227 am__fastdepCC_TRUE='#'
3228 am__fastdepCC_FALSE=
3234 if test -n "$ac_tool_prefix"; then
3235 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3236 set dummy ${ac_tool_prefix}ar; ac_word=$2
3237 echo "$as_me:$LINENO: checking for $ac_word" >&5
3238 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3239 if test "${ac_cv_prog_AR+set}" = set; then
3240 echo $ECHO_N "(cached) $ECHO_C" >&6
3242 if test -n "$AR"; then
3243 ac_cv_prog_AR="$AR" # Let the user override the test.
3245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3249 test -z "$as_dir" && as_dir=.
3250 for ac_exec_ext in '' $ac_executable_extensions; do
3251 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3252 ac_cv_prog_AR="${ac_tool_prefix}ar"
3253 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3262 if test -n "$AR"; then
3263 echo "$as_me:$LINENO: result: $AR" >&5
3264 echo "${ECHO_T}$AR" >&6
3266 echo "$as_me:$LINENO: result: no" >&5
3267 echo "${ECHO_T}no" >&6
3271 if test -z "$ac_cv_prog_AR"; then
3273 # Extract the first word of "ar", so it can be a program name with args.
3274 set dummy ar; ac_word=$2
3275 echo "$as_me:$LINENO: checking for $ac_word" >&5
3276 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3277 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3278 echo $ECHO_N "(cached) $ECHO_C" >&6
3280 if test -n "$ac_ct_AR"; then
3281 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3287 test -z "$as_dir" && as_dir=.
3288 for ac_exec_ext in '' $ac_executable_extensions; do
3289 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3290 ac_cv_prog_ac_ct_AR="ar"
3291 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3299 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3300 if test -n "$ac_ct_AR"; then
3301 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3302 echo "${ECHO_T}$ac_ct_AR" >&6
3304 echo "$as_me:$LINENO: result: no" >&5
3305 echo "${ECHO_T}no" >&6
3313 if test -n "$ac_tool_prefix"; then
3314 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3315 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3316 echo "$as_me:$LINENO: checking for $ac_word" >&5
3317 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3318 if test "${ac_cv_prog_RANLIB+set}" = set; then
3319 echo $ECHO_N "(cached) $ECHO_C" >&6
3321 if test -n "$RANLIB"; then
3322 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3328 test -z "$as_dir" && as_dir=.
3329 for ac_exec_ext in '' $ac_executable_extensions; do
3330 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3331 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3332 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3340 RANLIB=$ac_cv_prog_RANLIB
3341 if test -n "$RANLIB"; then
3342 echo "$as_me:$LINENO: result: $RANLIB" >&5
3343 echo "${ECHO_T}$RANLIB" >&6
3345 echo "$as_me:$LINENO: result: no" >&5
3346 echo "${ECHO_T}no" >&6
3350 if test -z "$ac_cv_prog_RANLIB"; then
3351 ac_ct_RANLIB=$RANLIB
3352 # Extract the first word of "ranlib", so it can be a program name with args.
3353 set dummy ranlib; ac_word=$2
3354 echo "$as_me:$LINENO: checking for $ac_word" >&5
3355 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3356 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3357 echo $ECHO_N "(cached) $ECHO_C" >&6
3359 if test -n "$ac_ct_RANLIB"; then
3360 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3366 test -z "$as_dir" && as_dir=.
3367 for ac_exec_ext in '' $ac_executable_extensions; do
3368 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3369 ac_cv_prog_ac_ct_RANLIB="ranlib"
3370 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3376 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3379 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3380 if test -n "$ac_ct_RANLIB"; then
3381 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3382 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3384 echo "$as_me:$LINENO: result: no" >&5
3385 echo "${ECHO_T}no" >&6
3388 RANLIB=$ac_ct_RANLIB
3390 RANLIB="$ac_cv_prog_RANLIB"
3394 # Check whether --enable-shared or --disable-shared was given.
3395 if test "${enable_shared+set}" = set; then
3396 enableval="$enable_shared"
3397 p=${PACKAGE-default}
3399 yes) enable_shared=yes ;;
3400 no) enable_shared=no ;;
3403 # Look at the argument we got. We use all the common list separators.
3404 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3405 for pkg in $enableval; do
3407 if test "X$pkg" = "X$p"; then
3428 macro_version='2.1a'
3429 macro_revision='1.2435'
3442 ltmain="$ac_aux_dir/ltmain.sh"
3453 # Check whether --enable-static or --disable-static was given.
3454 if test "${enable_static+set}" = set; then
3455 enableval="$enable_static"
3456 p=${PACKAGE-default}
3458 yes) enable_static=yes ;;
3459 no) enable_static=no ;;
3462 # Look at the argument we got. We use all the common list separators.
3463 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3464 for pkg in $enableval; do
3466 if test "X$pkg" = "X$p"; then
3485 # Check whether --with-pic or --without-pic was given.
3486 if test "${with_pic+set}" = set; then
3493 test -z "$pic_mode" && pic_mode=default
3501 # Check whether --enable-fast-install or --disable-fast-install was given.
3502 if test "${enable_fast_install+set}" = set; then
3503 enableval="$enable_fast_install"
3504 p=${PACKAGE-default}
3506 yes) enable_fast_install=yes ;;
3507 no) enable_fast_install=no ;;
3509 enable_fast_install=no
3510 # Look at the argument we got. We use all the common list separators.
3511 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3512 for pkg in $enableval; do
3514 if test "X$pkg" = "X$p"; then
3515 enable_fast_install=yes
3522 enable_fast_install=yes
3532 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3533 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3534 if test "${lt_cv_path_SED+set}" = set; then
3535 echo $ECHO_N "(cached) $ECHO_C" >&6
3537 # Loop through the user's path and test for sed and gsed.
3538 # Then use that list of sed's as ones to test for truncation.
3539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3543 test -z "$as_dir" && as_dir=.
3544 for lt_ac_prog in sed gsed; do
3545 for ac_exec_ext in '' $ac_executable_extensions; do
3546 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3547 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3555 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3556 # along with /bin/sed that truncates output.
3557 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3558 test ! -f $lt_ac_sed && continue
3559 cat /dev/null > conftest.in
3561 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3562 # Check for GNU sed and select it if it is found.
3563 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
3564 lt_cv_path_SED=$lt_ac_sed
3568 cat conftest.in conftest.in >conftest.tmp
3569 mv conftest.tmp conftest.in
3570 cp conftest.in conftest.nl
3572 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
3573 cmp -s conftest.out conftest.nl || break
3574 # 10000 chars as input seems more than enough
3575 test $lt_ac_count -gt 10 && break
3576 lt_ac_count=`expr $lt_ac_count + 1`
3577 if test $lt_ac_count -gt $lt_ac_max; then
3578 lt_ac_max=$lt_ac_count
3579 lt_cv_path_SED=$lt_ac_sed
3588 echo "$as_me:$LINENO: result: $SED" >&5
3589 echo "${ECHO_T}$SED" >&6
3591 test -z "$SED" && SED=sed
3592 Xsed="$SED -e 1s/^X//"
3604 echo "$as_me:$LINENO: checking for egrep" >&5
3605 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3606 if test "${ac_cv_prog_egrep+set}" = set; then
3607 echo $ECHO_N "(cached) $ECHO_C" >&6
3609 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3610 then ac_cv_prog_egrep='grep -E'
3611 else ac_cv_prog_egrep='egrep'
3614 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3615 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3616 EGREP=$ac_cv_prog_egrep
3619 echo "$as_me:$LINENO: checking for fgrep" >&5
3620 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
3621 if test "${ac_cv_prog_fgrep+set}" = set; then
3622 echo $ECHO_N "(cached) $ECHO_C" >&6
3624 if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1
3625 then ac_cv_prog_fgrep='grep -F'
3626 else ac_cv_prog_fgrep='fgrep'
3629 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
3630 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
3631 FGREP=$ac_cv_prog_fgrep
3634 test -z "$GREP" && GREP=grep
3654 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3655 if test "${with_gnu_ld+set}" = set; then
3656 withval="$with_gnu_ld"
3657 test "$withval" = no || with_gnu_ld=yes
3662 if test "$GCC" = yes; then
3663 # Check if gcc -print-prog-name=ld gives a path.
3664 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3665 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
3668 # gcc leaves a trailing carriage return which upsets mingw
3669 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3671 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3674 # Accept absolute paths.
3676 re_direlt='/[^/][^/]*/\.\./'
3677 # Canonicalize the pathname of ld
3678 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
3679 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
3680 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
3682 test -z "$LD" && LD="$ac_prog"
3685 # If it fails, then pretend we aren't using GCC.
3689 # If it is relative, then search for the first ld in PATH.
3693 elif test "$with_gnu_ld" = yes; then
3694 echo "$as_me:$LINENO: checking for GNU ld" >&5
3695 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3697 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3698 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3700 if test "${lt_cv_path_LD+set}" = set; then
3701 echo $ECHO_N "(cached) $ECHO_C" >&6
3703 if test -z "$LD"; then
3704 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3705 for ac_dir in $PATH; do
3707 test -z "$ac_dir" && ac_dir=.
3708 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3709 lt_cv_path_LD="$ac_dir/$ac_prog"
3710 # Check to see if the program is GNU ld. I'd rather use --version,
3711 # but apparently some variants of GNU ld only accept -v.
3712 # Break only if it was the GNU/non-GNU ld that we prefer.
3713 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3714 *GNU* | *'with BFD'*)
3715 test "$with_gnu_ld" != no && break
3718 test "$with_gnu_ld" != yes && break
3725 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3730 if test -n "$LD"; then
3731 echo "$as_me:$LINENO: result: $LD" >&5
3732 echo "${ECHO_T}$LD" >&6
3734 echo "$as_me:$LINENO: result: no" >&5
3735 echo "${ECHO_T}no" >&6
3737 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3738 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3739 { (exit 1); exit 1; }; }
3740 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3741 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3742 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3743 echo $ECHO_N "(cached) $ECHO_C" >&6
3745 # I'd rather use --version here, but apparently some GNU lds only accept -v.
3746 case `$LD -v 2>&1 </dev/null` in
3747 *GNU* | *'with BFD'*)
3748 lt_cv_prog_gnu_ld=yes
3751 lt_cv_prog_gnu_ld=no
3755 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3756 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3757 with_gnu_ld=$lt_cv_prog_gnu_ld
3768 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
3769 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
3770 if test "${lt_cv_path_NM+set}" = set; then
3771 echo $ECHO_N "(cached) $ECHO_C" >&6
3773 if test -n "$NM"; then
3774 # Let the user override the test.
3777 lt_nm_to_check="${ac_tool_prefix}nm"
3778 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3779 lt_nm_to_check="$lt_nm_to_check nm"
3781 for lt_tmp_nm in $lt_nm_to_check; do
3782 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3783 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
3785 test -z "$ac_dir" && ac_dir=.
3786 tmp_nm="$ac_dir/$lt_tmp_nm"
3787 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
3788 # Check to see if the nm accepts a BSD-compat flag.
3789 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3790 # nm: unknown option "B" ignored
3791 # Tru64's nm complains that /dev/null is an invalid object file
3792 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3793 */dev/null* | *'Invalid file or object type'*)
3794 lt_cv_path_NM="$tmp_nm -B"
3798 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3800 lt_cv_path_NM="$tmp_nm -p"
3804 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3805 continue # so that we can try to find one that supports BSD flags
3814 : ${lt_cv_path_NM=no}
3817 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
3818 echo "${ECHO_T}$lt_cv_path_NM" >&6
3819 if test "$lt_cv_path_NM" != "no"; then
3822 # Didn't find any BSD compatible name lister, look for dumpbin.
3823 if test -n "$ac_tool_prefix"; then
3824 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
3826 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3827 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3828 echo "$as_me:$LINENO: checking for $ac_word" >&5
3829 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3830 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
3831 echo $ECHO_N "(cached) $ECHO_C" >&6
3833 if test -n "$DUMPBIN"; then
3834 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
3836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3840 test -z "$as_dir" && as_dir=.
3841 for ac_exec_ext in '' $ac_executable_extensions; do
3842 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3843 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
3844 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3852 DUMPBIN=$ac_cv_prog_DUMPBIN
3853 if test -n "$DUMPBIN"; then
3854 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
3855 echo "${ECHO_T}$DUMPBIN" >&6
3857 echo "$as_me:$LINENO: result: no" >&5
3858 echo "${ECHO_T}no" >&6
3861 test -n "$DUMPBIN" && break
3864 if test -z "$DUMPBIN"; then
3865 ac_ct_DUMPBIN=$DUMPBIN
3866 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
3868 # Extract the first word of "$ac_prog", so it can be a program name with args.
3869 set dummy $ac_prog; ac_word=$2
3870 echo "$as_me:$LINENO: checking for $ac_word" >&5
3871 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3872 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
3873 echo $ECHO_N "(cached) $ECHO_C" >&6
3875 if test -n "$ac_ct_DUMPBIN"; then
3876 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
3878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3882 test -z "$as_dir" && as_dir=.
3883 for ac_exec_ext in '' $ac_executable_extensions; do
3884 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3885 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
3886 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3894 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
3895 if test -n "$ac_ct_DUMPBIN"; then
3896 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
3897 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
3899 echo "$as_me:$LINENO: result: no" >&5
3900 echo "${ECHO_T}no" >&6
3903 test -n "$ac_ct_DUMPBIN" && break
3905 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN=":"
3907 DUMPBIN=$ac_ct_DUMPBIN
3911 if test "$DUMPBIN" != ":"; then
3915 test -z "$NM" && NM=nm
3922 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
3923 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
3924 if test "${lt_cv_nm_interface+set}" = set; then
3925 echo $ECHO_N "(cached) $ECHO_C" >&6
3927 lt_cv_nm_interface="BSD nm"
3928 echo "int some_variable = 0;" > conftest.$ac_ext
3929 (eval echo "\"\$as_me:3929: $ac_compile\"" >&5)
3930 (eval "$ac_compile" 2>conftest.err)
3931 cat conftest.err >&5
3932 (eval echo "\"\$as_me:3932: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
3933 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
3934 cat conftest.err >&5
3935 (eval echo "\"\$as_me:3935: output\"" >&5)
3936 cat conftest.out >&5
3937 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
3938 lt_cv_nm_interface="MS dumpbin"
3942 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
3943 echo "${ECHO_T}$lt_cv_nm_interface" >&6
3945 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3946 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3948 if test "$LN_S" = "ln -s"; then
3949 echo "$as_me:$LINENO: result: yes" >&5
3950 echo "${ECHO_T}yes" >&6
3952 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3953 echo "${ECHO_T}no, using $LN_S" >&6
3956 # find the maximum length of command line arguments
3957 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
3958 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
3959 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
3960 echo $ECHO_N "(cached) $ECHO_C" >&6
3967 # On DJGPP, this test can blow up pretty badly due to problems in libc
3968 # (any single argument exceeding 2000 bytes causes a buffer overrun
3969 # during glob expansion). Even if it were fixed, the result of this
3970 # check would be larger than it should be.
3971 lt_cv_sys_max_cmd_len=12288; # 12K is about right
3975 # Under GNU Hurd, this test is not required because there is
3976 # no limit to the length of command line arguments.
3977 # Libtool will interpret -1 as no limit whatsoever
3978 lt_cv_sys_max_cmd_len=-1;
3982 # On Win9x/ME, this test blows up -- it succeeds, but takes
3983 # about 5 minutes as the teststring grows exponentially.
3984 # Worse, since 9x/ME are not pre-emptively multitasking,
3985 # you end up with a "frozen" computer, even though with patience
3986 # the test eventually succeeds (with a max line length of 256k).
3987 # Instead, let's just punt: use the minimum linelength reported by
3988 # all of the supported platforms: 8192 (on NT/2K/XP).
3989 lt_cv_sys_max_cmd_len=8192;
3993 # On AmigaOS with pdksh, this test takes hours, literally.
3994 # So we just punt and use a minimum line length of 8192.
3995 lt_cv_sys_max_cmd_len=8192;
3998 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
3999 # This has been around since 386BSD, at least. Likely further.
4000 if test -x /sbin/sysctl; then
4001 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4002 elif test -x /usr/sbin/sysctl; then
4003 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4005 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4007 # And add a safety zone
4008 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4009 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4013 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4014 lt_cv_sys_max_cmd_len=196608
4018 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4019 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4020 # nice to cause kernel panics so lets avoid the loop below.
4021 # First set a reasonable default.
4022 lt_cv_sys_max_cmd_len=16384
4024 if test -x /sbin/sysconfig; then
4025 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4026 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4031 lt_cv_sys_max_cmd_len=102400
4033 sysv5* | sco5v6* | sysv4.2uw2*)
4034 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4035 if test -n "$kargmax"; then
4036 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4038 lt_cv_sys_max_cmd_len=32768
4042 lt_cv_sys_max_cmd_len=`getconf ARG_MAX 2> /dev/null`
4043 if test -n $lt_cv_sys_max_cmd_len; then
4044 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4045 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4047 # Make teststring a little bigger before we do anything with it.
4048 # a 1K string should be a reasonable start.
4049 for i in 1 2 3 4 5 6 7 8 ; do
4050 teststring=$teststring$teststring
4052 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4053 # If test is not a shell built-in, we'll probably end up computing a
4054 # maximum length that is only half of the actual maximum length, but
4056 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4057 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4058 test $i != 17 # 1/2 MB should be enough
4061 teststring=$teststring$teststring
4063 # Only check the string length outside the loop.
4064 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4066 # Add a significant safety factor because C++ compilers can tack on
4067 # massive amounts of additional arguments before passing them to the
4068 # linker. It appears as though 1/2 is a usable value.
4069 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4076 if test -n $lt_cv_sys_max_cmd_len ; then
4077 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4078 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4080 echo "$as_me:$LINENO: result: none" >&5
4081 echo "${ECHO_T}none" >&6
4083 max_cmd_len=$lt_cv_sys_max_cmd_len
4095 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4096 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
4097 # Try some XSI features
4100 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4101 = c,a/b,, ) >/dev/null 2>&1 \
4103 echo "$as_me:$LINENO: result: $xsi_shell" >&5
4104 echo "${ECHO_T}$xsi_shell" >&6
4107 echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
4108 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6
4110 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4112 && lt_shell_append=yes
4113 echo "$as_me:$LINENO: result: $lt_shell_append" >&5
4114 echo "${ECHO_T}$lt_shell_append" >&6
4117 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4127 # test EBCDIC or ASCII
4128 case `echo X|tr X '\101'` in
4129 A) # ASCII based system
4130 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4131 lt_SP2NL='tr \040 \012'
4132 lt_NL2SP='tr \015\012 \040\040'
4134 *) # EBCDIC based system
4135 lt_SP2NL='tr \100 \n'
4136 lt_NL2SP='tr \r\n \100\100'
4148 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4149 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4150 if test "${lt_cv_ld_reload_flag+set}" = set; then
4151 echo $ECHO_N "(cached) $ECHO_C" >&6
4153 lt_cv_ld_reload_flag='-r'
4155 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4156 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4157 reload_flag=$lt_cv_ld_reload_flag
4158 case $reload_flag in
4160 *) reload_flag=" $reload_flag" ;;
4162 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4165 if test "$GCC" = yes; then
4166 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4168 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4182 echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4183 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6
4184 if test "${lt_cv_deplibs_check_method+set}" = set; then
4185 echo $ECHO_N "(cached) $ECHO_C" >&6
4187 lt_cv_file_magic_cmd='$MAGIC_CMD'
4188 lt_cv_file_magic_test_file=
4189 lt_cv_deplibs_check_method='unknown'
4190 # Need to set the preceding variable on all platforms that support
4191 # interlibrary dependencies.
4192 # 'none' -- dependencies not supported.
4193 # `unknown' -- same as none, but documents that we really don't know.
4194 # 'pass_all' -- all dependencies passed with no checks.
4195 # 'test_compile' -- check by making test program.
4196 # 'file_magic [[regex]]' -- check by looking for files in library path
4197 # which responds to the $file_magic_cmd with a given extended regex.
4198 # If you have `file' or equivalent on your system and you're not sure
4199 # whether `pass_all' will *always* work, you probably want this one.
4203 lt_cv_deplibs_check_method=pass_all
4207 lt_cv_deplibs_check_method=pass_all
4211 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4212 lt_cv_file_magic_cmd='/usr/bin/file -L'
4213 lt_cv_file_magic_test_file=/shlib/libc.so
4217 # func_win32_libid is a shell function defined in ltmain.sh
4218 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4219 lt_cv_file_magic_cmd='func_win32_libid'
4223 # Base MSYS/MinGW do not provide the 'file' command needed by
4224 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4225 # unless we find 'file', for example because we are cross-compiling.
4226 if ( file / ) >/dev/null 2>&1; then
4227 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4228 lt_cv_file_magic_cmd='func_win32_libid'
4230 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4231 lt_cv_file_magic_cmd='$OBJDUMP -f'
4235 darwin* | rhapsody*)
4236 lt_cv_deplibs_check_method=pass_all
4239 freebsd* | dragonfly*)
4240 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4243 # Not sure whether the presence of OpenBSD here was a mistake.
4244 # Let's accept both of them until this is cleared up.
4245 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4246 lt_cv_file_magic_cmd=/usr/bin/file
4247 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4251 lt_cv_deplibs_check_method=pass_all
4256 lt_cv_deplibs_check_method=pass_all
4259 hpux10.20* | hpux11*)
4260 lt_cv_file_magic_cmd=/usr/bin/file
4263 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4264 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4267 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]'
4268 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4271 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4272 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4278 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4279 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4282 irix5* | irix6* | nonstopux*)
4284 *-32|*"-32 ") libmagic=32-bit;;
4285 *-n32|*"-n32 ") libmagic=N32;;
4286 *-64|*"-64 ") libmagic=64-bit;;
4287 *) libmagic=never-match;;
4289 lt_cv_deplibs_check_method=pass_all
4292 # This must be Linux ELF.
4293 linux* | k*bsd*-gnu)
4294 lt_cv_deplibs_check_method=pass_all
4298 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4299 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4301 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4306 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4307 lt_cv_file_magic_cmd=/usr/bin/file
4308 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4312 lt_cv_deplibs_check_method=pass_all
4316 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4317 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4319 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4323 osf3* | osf4* | osf5*)
4324 lt_cv_deplibs_check_method=pass_all
4328 lt_cv_deplibs_check_method=pass_all
4332 lt_cv_deplibs_check_method=pass_all
4335 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4336 lt_cv_deplibs_check_method=pass_all
4340 case $host_vendor in
4342 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]'
4343 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4346 lt_cv_deplibs_check_method=pass_all
4349 lt_cv_file_magic_cmd='/bin/file'
4350 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4353 lt_cv_file_magic_cmd='/bin/file'
4354 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4355 lt_cv_file_magic_test_file=/lib/libc.so
4358 lt_cv_deplibs_check_method=pass_all
4361 lt_cv_deplibs_check_method=pass_all
4367 lt_cv_deplibs_check_method=pass_all
4372 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4373 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4374 file_magic_cmd=$lt_cv_file_magic_cmd
4375 deplibs_check_method=$lt_cv_deplibs_check_method
4376 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4389 if test -n "$ac_tool_prefix"; then
4390 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4391 set dummy ${ac_tool_prefix}ar; ac_word=$2
4392 echo "$as_me:$LINENO: checking for $ac_word" >&5
4393 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4394 if test "${ac_cv_prog_AR+set}" = set; then
4395 echo $ECHO_N "(cached) $ECHO_C" >&6
4397 if test -n "$AR"; then
4398 ac_cv_prog_AR="$AR" # Let the user override the test.
4400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4404 test -z "$as_dir" && as_dir=.
4405 for ac_exec_ext in '' $ac_executable_extensions; do
4406 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4407 ac_cv_prog_AR="${ac_tool_prefix}ar"
4408 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4417 if test -n "$AR"; then
4418 echo "$as_me:$LINENO: result: $AR" >&5
4419 echo "${ECHO_T}$AR" >&6
4421 echo "$as_me:$LINENO: result: no" >&5
4422 echo "${ECHO_T}no" >&6
4426 if test -z "$ac_cv_prog_AR"; then
4428 # Extract the first word of "ar", so it can be a program name with args.
4429 set dummy ar; ac_word=$2
4430 echo "$as_me:$LINENO: checking for $ac_word" >&5
4431 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4432 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4433 echo $ECHO_N "(cached) $ECHO_C" >&6
4435 if test -n "$ac_ct_AR"; then
4436 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4442 test -z "$as_dir" && as_dir=.
4443 for ac_exec_ext in '' $ac_executable_extensions; do
4444 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4445 ac_cv_prog_ac_ct_AR="ar"
4446 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4452 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
4455 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4456 if test -n "$ac_ct_AR"; then
4457 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4458 echo "${ECHO_T}$ac_ct_AR" >&6
4460 echo "$as_me:$LINENO: result: no" >&5
4461 echo "${ECHO_T}no" >&6
4469 test -z "$AR" && AR=ar
4470 test -z "$AR_FLAGS" && AR_FLAGS=cru
4482 if test -n "$ac_tool_prefix"; then
4483 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4484 set dummy ${ac_tool_prefix}strip; ac_word=$2
4485 echo "$as_me:$LINENO: checking for $ac_word" >&5
4486 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4487 if test "${ac_cv_prog_STRIP+set}" = set; then
4488 echo $ECHO_N "(cached) $ECHO_C" >&6
4490 if test -n "$STRIP"; then
4491 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4497 test -z "$as_dir" && as_dir=.
4498 for ac_exec_ext in '' $ac_executable_extensions; do
4499 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4500 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4501 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4509 STRIP=$ac_cv_prog_STRIP
4510 if test -n "$STRIP"; then
4511 echo "$as_me:$LINENO: result: $STRIP" >&5
4512 echo "${ECHO_T}$STRIP" >&6
4514 echo "$as_me:$LINENO: result: no" >&5
4515 echo "${ECHO_T}no" >&6
4519 if test -z "$ac_cv_prog_STRIP"; then
4521 # Extract the first word of "strip", so it can be a program name with args.
4522 set dummy strip; ac_word=$2
4523 echo "$as_me:$LINENO: checking for $ac_word" >&5
4524 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4525 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4526 echo $ECHO_N "(cached) $ECHO_C" >&6
4528 if test -n "$ac_ct_STRIP"; then
4529 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4535 test -z "$as_dir" && as_dir=.
4536 for ac_exec_ext in '' $ac_executable_extensions; do
4537 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4538 ac_cv_prog_ac_ct_STRIP="strip"
4539 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4545 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4548 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4549 if test -n "$ac_ct_STRIP"; then
4550 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4551 echo "${ECHO_T}$ac_ct_STRIP" >&6
4553 echo "$as_me:$LINENO: result: no" >&5
4554 echo "${ECHO_T}no" >&6
4559 STRIP="$ac_cv_prog_STRIP"
4562 test -z "$STRIP" && STRIP=:
4569 if test -n "$ac_tool_prefix"; then
4570 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4571 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4572 echo "$as_me:$LINENO: checking for $ac_word" >&5
4573 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4574 if test "${ac_cv_prog_RANLIB+set}" = set; then
4575 echo $ECHO_N "(cached) $ECHO_C" >&6
4577 if test -n "$RANLIB"; then
4578 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4584 test -z "$as_dir" && as_dir=.
4585 for ac_exec_ext in '' $ac_executable_extensions; do
4586 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4587 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4588 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4596 RANLIB=$ac_cv_prog_RANLIB
4597 if test -n "$RANLIB"; then
4598 echo "$as_me:$LINENO: result: $RANLIB" >&5
4599 echo "${ECHO_T}$RANLIB" >&6
4601 echo "$as_me:$LINENO: result: no" >&5
4602 echo "${ECHO_T}no" >&6
4606 if test -z "$ac_cv_prog_RANLIB"; then
4607 ac_ct_RANLIB=$RANLIB
4608 # Extract the first word of "ranlib", so it can be a program name with args.
4609 set dummy ranlib; ac_word=$2
4610 echo "$as_me:$LINENO: checking for $ac_word" >&5
4611 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4612 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4613 echo $ECHO_N "(cached) $ECHO_C" >&6
4615 if test -n "$ac_ct_RANLIB"; then
4616 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4622 test -z "$as_dir" && as_dir=.
4623 for ac_exec_ext in '' $ac_executable_extensions; do
4624 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4625 ac_cv_prog_ac_ct_RANLIB="ranlib"
4626 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4632 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4635 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4636 if test -n "$ac_ct_RANLIB"; then
4637 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4638 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4640 echo "$as_me:$LINENO: result: no" >&5
4641 echo "${ECHO_T}no" >&6
4644 RANLIB=$ac_ct_RANLIB
4646 RANLIB="$ac_cv_prog_RANLIB"
4649 test -z "$RANLIB" && RANLIB=:
4656 # Determine commands to create old-style static archives.
4657 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
4658 old_postinstall_cmds='chmod 644 $oldlib'
4659 old_postuninstall_cmds=
4661 if test -n "$RANLIB"; then
4664 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
4667 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
4670 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
4706 # If no C compiler was specified, use CC.
4709 # If no C compiler flags were specified, use CFLAGS.
4710 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
4712 # Allow CC to be a program name with arguments.
4716 # Check for command to grab the raw symbol name followed by C symbol from nm.
4717 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
4718 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
4719 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
4720 echo $ECHO_N "(cached) $ECHO_C" >&6
4723 # These are sane defaults that work on at least a few old systems.
4724 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
4726 # Character class describing NM global symbol codes.
4727 symcode='[BCDEGRST]'
4729 # Regexp to match symbols that can be accessed directly from C.
4730 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
4732 # Define system-specific variables.
4737 cygwin* | mingw* | pw32*)
4738 symcode='[ABCDGISTW]'
4741 if test "$host_cpu" = ia64; then
4742 symcode='[ABCDEGRST]'
4746 symcode='[BCDEGRST]'
4749 symcode='[BCDEGQRST]'
4760 sysv5* | sco5v6* | unixware* | OpenUNIX*)
4768 # If we're using GNU nm, then use its standard symbol codes.
4769 case `$NM -V 2>&1` in
4770 *GNU* | *'with BFD'*)
4771 symcode='[ABCDGIRSTW]' ;;
4774 # Transform an extracted symbol line into a proper C declaration.
4775 # Some systems (esp. on ia64) link data and code symbols differently,
4776 # so use this general approach.
4777 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
4779 # Transform an extracted symbol line into symbol name and symbol address
4780 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
4782 # Handle CRLF in mingw tool chain
4786 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
4790 # Try without a prefix underscore, then with it.
4791 for ac_symprfx in "" "_"; do
4793 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
4794 symxfrm="\\1 $ac_symprfx\\2 \\2"
4796 # Write the raw and C identifiers.
4797 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
4798 # Fake it for dumpbin and say T for any non-static function
4799 # and D for any global variable.
4800 # Also find C++ and __fastcall symbols from MSVC++,
4801 # which start with @ or ?.
4802 lt_cv_sys_global_symbol_pipe="$AWK '"\
4803 " {last_section=section; section=\$ 3};"\
4804 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
4805 " \$ 0!~/External *\|/{next};"\
4806 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
4807 " {if(hide[section]) next};"\
4808 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
4809 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
4810 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
4811 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
4812 " ' prfx=^$ac_symprfx"
4814 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
4817 # Check to see that the pipe works correctly.
4821 cat > conftest.$ac_ext <<_LT_EOF
4826 void nm_test_func(void);
4827 void nm_test_func(void){}
4831 int main(){nm_test_var='a';nm_test_func();return(0);}
4834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4835 (eval $ac_compile) 2>&5
4837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4838 (exit $ac_status); }; then
4839 # Now try to grab the symbols.
4841 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
4842 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
4844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4845 (exit $ac_status); } && test -s "$nlist"; then
4846 # Try sorting and uniquifying the output.
4847 if sort "$nlist" | uniq > "$nlist"T; then
4848 mv -f "$nlist"T "$nlist"
4853 # Make sure that we snagged all the symbols we need.
4854 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
4855 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
4856 cat <<_LT_EOF > conftest.$ac_ext
4862 # Now generate the symbol file.
4863 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
4865 cat <<_LT_EOF >> conftest.$ac_ext
4867 /* The mapping between symbol names and symbols. */
4872 lt__PROGRAM__LTX_preloaded_symbols[] =
4874 { "@PROGRAM@", (void *) 0 },
4876 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
4877 cat <<\_LT_EOF >> conftest.$ac_ext
4881 /* This works around a problem in FreeBSD linker */
4882 #ifdef FREEBSD_WORKAROUND
4883 static const void *lt_preloaded_setup() {
4884 return lt__PROGRAM__LTX_preloaded_symbols;
4892 # Now try linking the two files.
4893 mv conftest.$ac_objext conftstm.$ac_objext
4894 lt_save_LIBS="$LIBS"
4895 lt_save_CFLAGS="$CFLAGS"
4896 LIBS="conftstm.$ac_objext"
4897 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
4898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4899 (eval $ac_link) 2>&5
4901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4902 (exit $ac_status); } && test -s conftest${ac_exeext}; then
4905 LIBS="$lt_save_LIBS"
4906 CFLAGS="$lt_save_CFLAGS"
4908 echo "cannot find nm_test_func in $nlist" >&5
4911 echo "cannot find nm_test_var in $nlist" >&5
4914 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
4917 echo "$progname: failed program was:" >&5
4918 cat conftest.$ac_ext >&5
4920 rm -f conftest* conftst*
4922 # Do not use the global_symbol_pipe unless it works.
4923 if test "$pipe_works" = yes; then
4926 lt_cv_sys_global_symbol_pipe=
4932 if test -z "$lt_cv_sys_global_symbol_pipe"; then
4933 lt_cv_sys_global_symbol_to_cdecl=
4935 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
4936 echo "$as_me:$LINENO: result: failed" >&5
4937 echo "${ECHO_T}failed" >&6
4939 echo "$as_me:$LINENO: result: ok" >&5
4940 echo "${ECHO_T}ok" >&6
4959 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4960 if test "${enable_libtool_lock+set}" = set; then
4961 enableval="$enable_libtool_lock"
4964 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4966 # Some flags need to be propagated to the compiler or linker for good
4970 # Find out which ABI we are using.
4971 echo 'int i;' > conftest.$ac_ext
4972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4973 (eval $ac_compile) 2>&5
4975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4976 (exit $ac_status); }; then
4977 case `/usr/bin/file conftest.$ac_objext` in
4989 # Find out which ABI we are using.
4990 echo '#line 4990 "configure"' > conftest.$ac_ext
4991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4992 (eval $ac_compile) 2>&5
4994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4995 (exit $ac_status); }; then
4996 if test "$lt_cv_prog_gnu_ld" = yes; then
4997 case `/usr/bin/file conftest.$ac_objext` in
4999 LD="${LD-ld} -melf32bsmip"
5002 LD="${LD-ld} -melf32bmipn32"
5005 LD="${LD-ld} -melf64bmip"
5009 case `/usr/bin/file conftest.$ac_objext` in
5025 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5026 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5027 # Find out which ABI we are using.
5028 echo 'int i;' > conftest.$ac_ext
5029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5030 (eval $ac_compile) 2>&5
5032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5033 (exit $ac_status); }; then
5034 case `/usr/bin/file conftest.o` in
5037 x86_64-*kfreebsd*-gnu)
5038 LD="${LD-ld} -m elf_i386_fbsd"
5041 LD="${LD-ld} -m elf_i386"
5043 ppc64-*linux*|powerpc64-*linux*)
5044 LD="${LD-ld} -m elf32ppclinux"
5047 LD="${LD-ld} -m elf_s390"
5050 LD="${LD-ld} -m elf32_sparc"
5056 x86_64-*kfreebsd*-gnu)
5057 LD="${LD-ld} -m elf_x86_64_fbsd"
5060 LD="${LD-ld} -m elf_x86_64"
5062 ppc*-*linux*|powerpc*-*linux*)
5063 LD="${LD-ld} -m elf64ppc"
5065 s390*-*linux*|s390*-*tpf*)
5066 LD="${LD-ld} -m elf64_s390"
5069 LD="${LD-ld} -m elf64_sparc"
5079 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5080 SAVE_CFLAGS="$CFLAGS"
5081 CFLAGS="$CFLAGS -belf"
5082 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5083 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5084 if test "${lt_cv_cc_needs_belf+set}" = set; then
5085 echo $ECHO_N "(cached) $ECHO_C" >&6
5088 ac_cpp='$CPP $CPPFLAGS'
5089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5093 cat >conftest.$ac_ext <<_ACEOF
5096 cat confdefs.h >>conftest.$ac_ext
5097 cat >>conftest.$ac_ext <<_ACEOF
5098 /* end confdefs.h. */
5108 rm -f conftest.$ac_objext conftest$ac_exeext
5109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5110 (eval $ac_link) 2>conftest.er1
5112 grep -v '^ *+' conftest.er1 >conftest.err
5114 cat conftest.err >&5
5115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5116 (exit $ac_status); } &&
5117 { ac_try='test -z "$ac_c_werror_flag"
5118 || test ! -s conftest.err'
5119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5123 (exit $ac_status); }; } &&
5124 { ac_try='test -s conftest$ac_exeext'
5125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5129 (exit $ac_status); }; }; then
5130 lt_cv_cc_needs_belf=yes
5132 echo "$as_me: failed program was:" >&5
5133 sed 's/^/| /' conftest.$ac_ext >&5
5135 lt_cv_cc_needs_belf=no
5137 rm -f conftest.err conftest.$ac_objext \
5138 conftest$ac_exeext conftest.$ac_ext
5140 ac_cpp='$CPP $CPPFLAGS'
5141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5146 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5147 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5148 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5149 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5150 CFLAGS="$SAVE_CFLAGS"
5154 # Find out which ABI we are using.
5155 echo 'int i;' > conftest.$ac_ext
5156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5157 (eval $ac_compile) 2>&5
5159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5160 (exit $ac_status); }; then
5161 case `/usr/bin/file conftest.o` in
5163 case $lt_cv_prog_gnu_ld in
5164 yes*) LD="${LD-ld} -m elf64_sparc" ;;
5165 *) LD="${LD-ld} -64" ;;
5174 need_locks="$enable_libtool_lock"
5177 ac_cpp='$CPP $CPPFLAGS'
5178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5181 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5182 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5183 # On Suns, sometimes $CPP names a directory.
5184 if test -n "$CPP" && test -d "$CPP"; then
5187 if test -z "$CPP"; then
5188 if test "${ac_cv_prog_CPP+set}" = set; then
5189 echo $ECHO_N "(cached) $ECHO_C" >&6
5191 # Double quotes because CPP needs to be expanded
5192 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5195 for ac_c_preproc_warn_flag in '' yes
5197 # Use a header file that comes with gcc, so configuring glibc
5198 # with a fresh cross-compiler works.
5199 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5200 # <limits.h> exists even on freestanding compilers.
5201 # On the NeXT, cc -E runs the code through the compiler's parser,
5202 # not just through cpp. "Syntax error" is here to catch this case.
5203 cat >conftest.$ac_ext <<_ACEOF
5206 cat confdefs.h >>conftest.$ac_ext
5207 cat >>conftest.$ac_ext <<_ACEOF
5208 /* end confdefs.h. */
5210 # include <limits.h>
5212 # include <assert.h>
5216 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5217 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5219 grep -v '^ *+' conftest.er1 >conftest.err
5221 cat conftest.err >&5
5222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5223 (exit $ac_status); } >/dev/null; then
5224 if test -s conftest.err; then
5225 ac_cpp_err=$ac_c_preproc_warn_flag
5226 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5233 if test -z "$ac_cpp_err"; then
5236 echo "$as_me: failed program was:" >&5
5237 sed 's/^/| /' conftest.$ac_ext >&5
5239 # Broken: fails on valid input.
5242 rm -f conftest.err conftest.$ac_ext
5244 # OK, works on sane cases. Now check whether non-existent headers
5245 # can be detected and how.
5246 cat >conftest.$ac_ext <<_ACEOF
5249 cat confdefs.h >>conftest.$ac_ext
5250 cat >>conftest.$ac_ext <<_ACEOF
5251 /* end confdefs.h. */
5252 #include <ac_nonexistent.h>
5254 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5255 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5257 grep -v '^ *+' conftest.er1 >conftest.err
5259 cat conftest.err >&5
5260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5261 (exit $ac_status); } >/dev/null; then
5262 if test -s conftest.err; then
5263 ac_cpp_err=$ac_c_preproc_warn_flag
5264 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5271 if test -z "$ac_cpp_err"; then
5272 # Broken: success on invalid input.
5275 echo "$as_me: failed program was:" >&5
5276 sed 's/^/| /' conftest.$ac_ext >&5
5278 # Passes both tests.
5282 rm -f conftest.err conftest.$ac_ext
5285 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5286 rm -f conftest.err conftest.$ac_ext
5287 if $ac_preproc_ok; then
5299 echo "$as_me:$LINENO: result: $CPP" >&5
5300 echo "${ECHO_T}$CPP" >&6
5302 for ac_c_preproc_warn_flag in '' yes
5304 # Use a header file that comes with gcc, so configuring glibc
5305 # with a fresh cross-compiler works.
5306 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5307 # <limits.h> exists even on freestanding compilers.
5308 # On the NeXT, cc -E runs the code through the compiler's parser,
5309 # not just through cpp. "Syntax error" is here to catch this case.
5310 cat >conftest.$ac_ext <<_ACEOF
5313 cat confdefs.h >>conftest.$ac_ext
5314 cat >>conftest.$ac_ext <<_ACEOF
5315 /* end confdefs.h. */
5317 # include <limits.h>
5319 # include <assert.h>
5323 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5324 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5326 grep -v '^ *+' conftest.er1 >conftest.err
5328 cat conftest.err >&5
5329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5330 (exit $ac_status); } >/dev/null; then
5331 if test -s conftest.err; then
5332 ac_cpp_err=$ac_c_preproc_warn_flag
5333 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5340 if test -z "$ac_cpp_err"; then
5343 echo "$as_me: failed program was:" >&5
5344 sed 's/^/| /' conftest.$ac_ext >&5
5346 # Broken: fails on valid input.
5349 rm -f conftest.err conftest.$ac_ext
5351 # OK, works on sane cases. Now check whether non-existent headers
5352 # can be detected and how.
5353 cat >conftest.$ac_ext <<_ACEOF
5356 cat confdefs.h >>conftest.$ac_ext
5357 cat >>conftest.$ac_ext <<_ACEOF
5358 /* end confdefs.h. */
5359 #include <ac_nonexistent.h>
5361 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5362 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5364 grep -v '^ *+' conftest.er1 >conftest.err
5366 cat conftest.err >&5
5367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5368 (exit $ac_status); } >/dev/null; then
5369 if test -s conftest.err; then
5370 ac_cpp_err=$ac_c_preproc_warn_flag
5371 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5378 if test -z "$ac_cpp_err"; then
5379 # Broken: success on invalid input.
5382 echo "$as_me: failed program was:" >&5
5383 sed 's/^/| /' conftest.$ac_ext >&5
5385 # Passes both tests.
5389 rm -f conftest.err conftest.$ac_ext
5392 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5393 rm -f conftest.err conftest.$ac_ext
5394 if $ac_preproc_ok; then
5397 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5398 See \`config.log' for more details." >&5
5399 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5400 See \`config.log' for more details." >&2;}
5401 { (exit 1); exit 1; }; }
5405 ac_cpp='$CPP $CPPFLAGS'
5406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5411 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5412 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5413 if test "${ac_cv_header_stdc+set}" = set; then
5414 echo $ECHO_N "(cached) $ECHO_C" >&6
5416 cat >conftest.$ac_ext <<_ACEOF
5419 cat confdefs.h >>conftest.$ac_ext
5420 cat >>conftest.$ac_ext <<_ACEOF
5421 /* end confdefs.h. */
5435 rm -f conftest.$ac_objext
5436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5437 (eval $ac_compile) 2>conftest.er1
5439 grep -v '^ *+' conftest.er1 >conftest.err
5441 cat conftest.err >&5
5442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5443 (exit $ac_status); } &&
5444 { ac_try='test -z "$ac_c_werror_flag"
5445 || test ! -s conftest.err'
5446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5450 (exit $ac_status); }; } &&
5451 { ac_try='test -s conftest.$ac_objext'
5452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5456 (exit $ac_status); }; }; then
5457 ac_cv_header_stdc=yes
5459 echo "$as_me: failed program was:" >&5
5460 sed 's/^/| /' conftest.$ac_ext >&5
5462 ac_cv_header_stdc=no
5464 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5466 if test $ac_cv_header_stdc = yes; then
5467 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5468 cat >conftest.$ac_ext <<_ACEOF
5471 cat confdefs.h >>conftest.$ac_ext
5472 cat >>conftest.$ac_ext <<_ACEOF
5473 /* end confdefs.h. */
5477 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5478 $EGREP "memchr" >/dev/null 2>&1; then
5481 ac_cv_header_stdc=no
5487 if test $ac_cv_header_stdc = yes; then
5488 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5489 cat >conftest.$ac_ext <<_ACEOF
5492 cat confdefs.h >>conftest.$ac_ext
5493 cat >>conftest.$ac_ext <<_ACEOF
5494 /* end confdefs.h. */
5498 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5499 $EGREP "free" >/dev/null 2>&1; then
5502 ac_cv_header_stdc=no
5508 if test $ac_cv_header_stdc = yes; then
5509 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5510 if test "$cross_compiling" = yes; then
5513 cat >conftest.$ac_ext <<_ACEOF
5516 cat confdefs.h >>conftest.$ac_ext
5517 cat >>conftest.$ac_ext <<_ACEOF
5518 /* end confdefs.h. */
5520 #if ((' ' & 0x0FF) == 0x020)
5521 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5522 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5524 # define ISLOWER(c) \
5525 (('a' <= (c) && (c) <= 'i') \
5526 || ('j' <= (c) && (c) <= 'r') \
5527 || ('s' <= (c) && (c) <= 'z'))
5528 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5531 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5536 for (i = 0; i < 256; i++)
5537 if (XOR (islower (i), ISLOWER (i))
5538 || toupper (i) != TOUPPER (i))
5543 rm -f conftest$ac_exeext
5544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5545 (eval $ac_link) 2>&5
5547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5548 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5553 (exit $ac_status); }; }; then
5556 echo "$as_me: program exited with status $ac_status" >&5
5557 echo "$as_me: failed program was:" >&5
5558 sed 's/^/| /' conftest.$ac_ext >&5
5561 ac_cv_header_stdc=no
5563 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5567 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5568 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5569 if test $ac_cv_header_stdc = yes; then
5571 cat >>confdefs.h <<\_ACEOF
5572 #define STDC_HEADERS 1
5577 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5587 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5588 inttypes.h stdint.h unistd.h
5590 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5591 echo "$as_me:$LINENO: checking for $ac_header" >&5
5592 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5593 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5594 echo $ECHO_N "(cached) $ECHO_C" >&6
5596 cat >conftest.$ac_ext <<_ACEOF
5599 cat confdefs.h >>conftest.$ac_ext
5600 cat >>conftest.$ac_ext <<_ACEOF
5601 /* end confdefs.h. */
5602 $ac_includes_default
5604 #include <$ac_header>
5606 rm -f conftest.$ac_objext
5607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5608 (eval $ac_compile) 2>conftest.er1
5610 grep -v '^ *+' conftest.er1 >conftest.err
5612 cat conftest.err >&5
5613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5614 (exit $ac_status); } &&
5615 { ac_try='test -z "$ac_c_werror_flag"
5616 || test ! -s conftest.err'
5617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5621 (exit $ac_status); }; } &&
5622 { ac_try='test -s conftest.$ac_objext'
5623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5627 (exit $ac_status); }; }; then
5628 eval "$as_ac_Header=yes"
5630 echo "$as_me: failed program was:" >&5
5631 sed 's/^/| /' conftest.$ac_ext >&5
5633 eval "$as_ac_Header=no"
5635 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5637 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5638 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5639 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5640 cat >>confdefs.h <<_ACEOF
5641 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5650 for ac_header in dlfcn.h
5652 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5653 echo "$as_me:$LINENO: checking for $ac_header" >&5
5654 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5655 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5656 echo $ECHO_N "(cached) $ECHO_C" >&6
5658 cat >conftest.$ac_ext <<_ACEOF
5661 cat confdefs.h >>conftest.$ac_ext
5662 cat >>conftest.$ac_ext <<_ACEOF
5663 /* end confdefs.h. */
5664 $ac_includes_default
5666 #include <$ac_header>
5668 rm -f conftest.$ac_objext
5669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5670 (eval $ac_compile) 2>conftest.er1
5672 grep -v '^ *+' conftest.er1 >conftest.err
5674 cat conftest.err >&5
5675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5676 (exit $ac_status); } &&
5677 { ac_try='test -z "$ac_c_werror_flag"
5678 || test ! -s conftest.err'
5679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5683 (exit $ac_status); }; } &&
5684 { ac_try='test -s conftest.$ac_objext'
5685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5689 (exit $ac_status); }; }; then
5690 eval "$as_ac_Header=yes"
5692 echo "$as_me: failed program was:" >&5
5693 sed 's/^/| /' conftest.$ac_ext >&5
5695 eval "$as_ac_Header=no"
5697 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5699 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5700 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5701 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5702 cat >>confdefs.h <<_ACEOF
5703 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5712 # This can be used to rebuild libtool when needed
5713 LIBTOOL_DEPS="$ltmain"
5715 # Always use our own libtool.
5716 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
5742 test -z "$LN_S" && LN_S="ln -s"
5757 if test -n "${ZSH_VERSION+set}" ; then
5758 setopt NO_GLOB_SUBST
5761 echo "$as_me:$LINENO: checking for objdir" >&5
5762 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
5763 if test "${lt_cv_objdir+set}" = set; then
5764 echo $ECHO_N "(cached) $ECHO_C" >&6
5766 rm -f .libs 2>/dev/null
5767 mkdir .libs 2>/dev/null
5768 if test -d .libs; then
5771 # MS-DOS does not allow filenames that begin with a dot.
5774 rmdir .libs 2>/dev/null
5776 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5777 echo "${ECHO_T}$lt_cv_objdir" >&6
5778 objdir=$lt_cv_objdir
5784 cat >>confdefs.h <<_ACEOF
5785 #define LT_OBJDIR "$lt_cv_objdir/"
5806 # AIX sometimes has problems with the GCC collect2 program. For some
5807 # reason, if we set the COLLECT_NAMES environment variable, the problems
5808 # vanish in a puff of smoke.
5809 if test "X${COLLECT_NAMES+set}" != Xset; then
5811 export COLLECT_NAMES
5816 # Sed substitution that helps us do robust quoting. It backslashifies
5817 # metacharacters that are still active within double-quoted strings.
5818 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5820 # Same as above, but do not quote variable references.
5821 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5823 # Sed substitution to delay expansion of an escaped shell variable in a
5824 # double_quote_subst'ed string.
5825 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5827 # Sed substitution to delay expansion of an escaped single quote.
5828 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5830 # Sed substitution to avoid accidental globbing in evaled expressions
5831 no_glob_subst='s/\*/\\\*/g'
5835 can_build_shared=yes
5837 # All known linkers require a `.a' archive for static linking (except MSVC,
5838 # which needs '.lib').
5841 with_gnu_ld="$lt_cv_prog_gnu_ld"
5844 old_CFLAGS="$CFLAGS"
5846 # Set sane defaults for various variables
5847 test -z "$CC" && CC=cc
5848 test -z "$LTCC" && LTCC=$CC
5849 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
5850 test -z "$LD" && LD=ld
5851 test -z "$ac_objext" && ac_objext=o
5853 for cc_temp in $compiler""; do
5855 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
5856 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
5861 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
5864 # Only perform the check for file, if the check method requires it
5865 test -z "$MAGIC_CMD" && MAGIC_CMD=file
5866 case $deplibs_check_method in
5868 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
5869 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
5870 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
5871 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5872 echo $ECHO_N "(cached) $ECHO_C" >&6
5876 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
5879 lt_save_MAGIC_CMD="$MAGIC_CMD"
5880 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5881 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
5882 for ac_dir in $ac_dummy; do
5884 test -z "$ac_dir" && ac_dir=.
5885 if test -f $ac_dir/${ac_tool_prefix}file; then
5886 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
5887 if test -n "$file_magic_test_file"; then
5888 case $deplibs_check_method in
5890 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
5891 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5892 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
5893 $EGREP "$file_magic_regex" > /dev/null; then
5898 *** Warning: the command libtool uses to detect shared libraries,
5899 *** $file_magic_cmd, produces output that libtool cannot recognize.
5900 *** The result is that libtool may fail to recognize shared libraries
5901 *** as such. This will affect the creation of libtool libraries that
5902 *** depend on shared libraries, but programs linked with such libtool
5903 *** libraries will work regardless of this problem. Nevertheless, you
5904 *** may want to report the problem to your system manager and/or to
5905 *** bug-libtool@gnu.org
5915 MAGIC_CMD="$lt_save_MAGIC_CMD"
5920 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5921 if test -n "$MAGIC_CMD"; then
5922 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5923 echo "${ECHO_T}$MAGIC_CMD" >&6
5925 echo "$as_me:$LINENO: result: no" >&5
5926 echo "${ECHO_T}no" >&6
5933 if test -z "$lt_cv_path_MAGIC_CMD"; then
5934 if test -n "$ac_tool_prefix"; then
5935 echo "$as_me:$LINENO: checking for file" >&5
5936 echo $ECHO_N "checking for file... $ECHO_C" >&6
5937 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5938 echo $ECHO_N "(cached) $ECHO_C" >&6
5942 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
5945 lt_save_MAGIC_CMD="$MAGIC_CMD"
5946 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5947 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
5948 for ac_dir in $ac_dummy; do
5950 test -z "$ac_dir" && ac_dir=.
5951 if test -f $ac_dir/file; then
5952 lt_cv_path_MAGIC_CMD="$ac_dir/file"
5953 if test -n "$file_magic_test_file"; then
5954 case $deplibs_check_method in
5956 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
5957 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5958 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
5959 $EGREP "$file_magic_regex" > /dev/null; then
5964 *** Warning: the command libtool uses to detect shared libraries,
5965 *** $file_magic_cmd, produces output that libtool cannot recognize.
5966 *** The result is that libtool may fail to recognize shared libraries
5967 *** as such. This will affect the creation of libtool libraries that
5968 *** depend on shared libraries, but programs linked with such libtool
5969 *** libraries will work regardless of this problem. Nevertheless, you
5970 *** may want to report the problem to your system manager and/or to
5971 *** bug-libtool@gnu.org
5981 MAGIC_CMD="$lt_save_MAGIC_CMD"
5986 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5987 if test -n "$MAGIC_CMD"; then
5988 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5989 echo "${ECHO_T}$MAGIC_CMD" >&6
5991 echo "$as_me:$LINENO: result: no" >&5
5992 echo "${ECHO_T}no" >&6
6005 # Use C for the default configuration in the libtool script
6009 ac_cpp='$CPP $CPPFLAGS'
6010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6015 # Source file extension for C test sources.
6018 # Object file extension for compiled C test sources.
6022 # Code to be used in simple compile tests
6023 lt_simple_compile_test_code="int some_variable = 0;"
6025 # Code to be used in simple link tests
6026 lt_simple_link_test_code='int main(){return(0);}'
6034 # If no C compiler was specified, use CC.
6037 # If no C compiler flags were specified, use CFLAGS.
6038 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6040 # Allow CC to be a program name with arguments.
6043 # Save the default compiler, since it gets overwritten when the other
6044 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
6045 compiler_DEFAULT=$CC
6047 # save warnings/boilerplate of simple test code
6048 ac_outfile=conftest.$ac_objext
6049 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
6050 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
6051 _lt_compiler_boilerplate=`cat conftest.err`
6054 ac_outfile=conftest.$ac_objext
6055 echo "$lt_simple_link_test_code" >conftest.$ac_ext
6056 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
6057 _lt_linker_boilerplate=`cat conftest.err`
6062 ## There is no encapsulation within the following macros, do not change
6063 ## the running order or otherwise move them around unless you know exactly
6064 ## what you are doing...
6065 if test -n "$compiler"; then
6067 lt_prog_compiler_no_builtin_flag=
6069 if test "$GCC" = yes; then
6070 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6072 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6073 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6074 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6075 echo $ECHO_N "(cached) $ECHO_C" >&6
6077 lt_cv_prog_compiler_rtti_exceptions=no
6078 ac_outfile=conftest.$ac_objext
6079 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6080 lt_compiler_flag="-fno-rtti -fno-exceptions"
6081 # Insert the option either (1) after the last *FLAGS variable, or
6082 # (2) before a word containing "conftest.", or (3) at the end.
6083 # Note that $ac_compile itself does not contain backslashes and begins
6084 # with a dollar sign (not a hyphen), so the echo should work correctly.
6085 # The option is referenced via a variable to avoid confusing sed.
6086 lt_compile=`echo "$ac_compile" | $SED \
6087 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6088 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6089 -e 's:$: $lt_compiler_flag:'`
6090 (eval echo "\"\$as_me:6090: $lt_compile\"" >&5)
6091 (eval "$lt_compile" 2>conftest.err)
6093 cat conftest.err >&5
6094 echo "$as_me:6094: \$? = $ac_status" >&5
6095 if (exit $ac_status) && test -s "$ac_outfile"; then
6096 # The compiler can only warn and ignore the option if not recognized
6097 # So say no if there are warnings other than the usual output.
6098 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
6099 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
6100 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
6101 lt_cv_prog_compiler_rtti_exceptions=yes
6107 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6108 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6110 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6111 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6123 lt_prog_compiler_wl=
6124 lt_prog_compiler_pic=
6125 lt_prog_compiler_static=
6127 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6128 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6130 if test "$GCC" = yes; then
6131 lt_prog_compiler_wl='-Wl,'
6132 lt_prog_compiler_static='-static'
6136 # All AIX code is PIC.
6137 if test "$host_cpu" = ia64; then
6138 # AIX 5 now supports IA64 processor
6139 lt_prog_compiler_static='-Bstatic'
6144 if test "$host_cpu" = m68k; then
6145 # FIXME: we need at least 68020 code to build shared libraries, but
6146 # adding the `-m68020' flag to GCC prevents building anything better,
6148 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
6152 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6153 # PIC is the default for these OSes.
6156 mingw* | cygwin* | pw32* | os2*)
6157 # This hack is so that the source file can tell whether it is being
6158 # built for inclusion in a dll (and should export symbols for example).
6159 # Although the cygwin gcc ignores -fPIC, still need this for old-style
6160 # (--disable-auto-import) libraries
6161 lt_prog_compiler_pic='-DDLL_EXPORT'
6164 darwin* | rhapsody*)
6165 # PIC is the default on this platform
6166 # Common symbols not allowed in MH_DYLIB files
6167 lt_prog_compiler_pic='-fno-common'
6171 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6178 lt_prog_compiler_pic='-fPIC'
6184 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6185 # Instead, we relocate shared libraries at runtime.
6189 # Just because we use GCC doesn't mean we suddenly get shared libraries
6190 # on systems that don't support them.
6191 lt_prog_compiler_can_build_shared=no
6196 # QNX uses GNU C++, but need to define -shared option too, otherwise
6198 lt_prog_compiler_pic='-fPIC -shared'
6202 if test -d /usr/nec; then
6203 lt_prog_compiler_pic=-Kconform_pic
6208 lt_prog_compiler_pic='-fPIC'
6212 # PORTME Check for flag to pass linker flags through the system compiler.
6215 lt_prog_compiler_wl='-Wl,'
6216 if test "$host_cpu" = ia64; then
6217 # AIX 5 now supports IA64 processor
6218 lt_prog_compiler_static='-Bstatic'
6220 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
6224 # PIC is the default on this platform
6225 # Common symbols not allowed in MH_DYLIB files
6226 case $cc_basename in
6228 lt_prog_compiler_pic='-qnocommon'
6229 lt_prog_compiler_wl='-Wl,'
6234 mingw* | cygwin* | pw32* | os2*)
6235 # This hack is so that the source file can tell whether it is being
6236 # built for inclusion in a dll (and should export symbols for example).
6237 lt_prog_compiler_pic='-DDLL_EXPORT'
6240 hpux9* | hpux10* | hpux11*)
6241 lt_prog_compiler_wl='-Wl,'
6242 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6249 lt_prog_compiler_pic='+Z'
6252 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6253 lt_prog_compiler_static='${wl}-a ${wl}archive'
6256 irix5* | irix6* | nonstopux*)
6257 lt_prog_compiler_wl='-Wl,'
6258 # PIC (with -KPIC) is the default.
6259 lt_prog_compiler_static='-non_shared'
6262 linux* | k*bsd*-gnu)
6263 case $cc_basename in
6265 lt_prog_compiler_wl='-Wl,'
6266 lt_prog_compiler_pic='-KPIC'
6267 lt_prog_compiler_static='-static'
6269 pgcc* | pgf77* | pgf90* | pgf95*)
6270 # Portland Group compilers (*not* the Pentium gcc compiler,
6271 # which looks to be a dead project)
6272 lt_prog_compiler_wl='-Wl,'
6273 lt_prog_compiler_pic='-fpic'
6274 lt_prog_compiler_static='-Bstatic'
6277 lt_prog_compiler_wl='-Wl,'
6278 # All Alpha code is PIC.
6279 lt_prog_compiler_static='-non_shared'
6282 case `$CC -V 2>&1 | sed 5q` in
6285 lt_prog_compiler_pic='-KPIC'
6286 lt_prog_compiler_static='-Bstatic'
6287 lt_prog_compiler_wl='-Wl,'
6290 # Sun Fortran 8.3 passes all unrecognized flags to the linker
6291 lt_prog_compiler_pic='-KPIC'
6292 lt_prog_compiler_static='-Bstatic'
6293 lt_prog_compiler_wl=''
6301 lt_prog_compiler_pic='-KPIC'
6302 lt_prog_compiler_static='-Bstatic'
6306 # QNX uses GNU C++, but need to define -shared option too, otherwise
6308 lt_prog_compiler_pic='-fPIC -shared'
6311 osf3* | osf4* | osf5*)
6312 lt_prog_compiler_wl='-Wl,'
6313 # All OSF/1 code is PIC.
6314 lt_prog_compiler_static='-non_shared'
6318 lt_prog_compiler_static='-non_shared'
6322 lt_prog_compiler_pic='-KPIC'
6323 lt_prog_compiler_static='-Bstatic'
6324 case $cc_basename in
6326 lt_prog_compiler_wl='-Qoption ld ';;
6328 lt_prog_compiler_wl='-Wl,';;
6333 lt_prog_compiler_wl='-Qoption ld '
6334 lt_prog_compiler_pic='-PIC'
6335 lt_prog_compiler_static='-Bstatic'
6338 sysv4 | sysv4.2uw2* | sysv4.3*)
6339 lt_prog_compiler_wl='-Wl,'
6340 lt_prog_compiler_pic='-KPIC'
6341 lt_prog_compiler_static='-Bstatic'
6345 if test -d /usr/nec ;then
6346 lt_prog_compiler_pic='-Kconform_pic'
6347 lt_prog_compiler_static='-Bstatic'
6351 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
6352 lt_prog_compiler_wl='-Wl,'
6353 lt_prog_compiler_pic='-KPIC'
6354 lt_prog_compiler_static='-Bstatic'
6358 lt_prog_compiler_wl='-Wl,'
6359 lt_prog_compiler_can_build_shared=no
6363 lt_prog_compiler_pic='-pic'
6364 lt_prog_compiler_static='-Bstatic'
6368 lt_prog_compiler_can_build_shared=no
6374 # For platforms which do not support PIC, -DPIC is meaningless:
6376 lt_prog_compiler_pic=
6379 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
6382 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6383 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6391 # Check to make sure the PIC flag actually works.
6393 if test -n "$lt_prog_compiler_pic"; then
6394 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6395 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6396 if test "${lt_prog_compiler_pic_works+set}" = set; then
6397 echo $ECHO_N "(cached) $ECHO_C" >&6
6399 lt_prog_compiler_pic_works=no
6400 ac_outfile=conftest.$ac_objext
6401 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6402 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
6403 # Insert the option either (1) after the last *FLAGS variable, or
6404 # (2) before a word containing "conftest.", or (3) at the end.
6405 # Note that $ac_compile itself does not contain backslashes and begins
6406 # with a dollar sign (not a hyphen), so the echo should work correctly.
6407 # The option is referenced via a variable to avoid confusing sed.
6408 lt_compile=`echo "$ac_compile" | $SED \
6409 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6410 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6411 -e 's:$: $lt_compiler_flag:'`
6412 (eval echo "\"\$as_me:6412: $lt_compile\"" >&5)
6413 (eval "$lt_compile" 2>conftest.err)
6415 cat conftest.err >&5
6416 echo "$as_me:6416: \$? = $ac_status" >&5
6417 if (exit $ac_status) && test -s "$ac_outfile"; then
6418 # The compiler can only warn and ignore the option if not recognized
6419 # So say no if there are warnings other than the usual output.
6420 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
6421 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
6422 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
6423 lt_prog_compiler_pic_works=yes
6429 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6430 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
6432 if test x"$lt_prog_compiler_pic_works" = xyes; then
6433 case $lt_prog_compiler_pic in
6435 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
6438 lt_prog_compiler_pic=
6439 lt_prog_compiler_can_build_shared=no
6450 # Check to make sure the static flag actually works.
6452 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
6453 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
6454 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
6455 if test "${lt_prog_compiler_static_works+set}" = set; then
6456 echo $ECHO_N "(cached) $ECHO_C" >&6
6458 lt_prog_compiler_static_works=no
6459 save_LDFLAGS="$LDFLAGS"
6460 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
6461 echo "$lt_simple_link_test_code" > conftest.$ac_ext
6462 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
6463 # The linker can only warn and ignore the option if not recognized
6464 # So say no if there are warnings
6465 if test -s conftest.err; then
6466 # Append any errors to the config.log.
6467 cat conftest.err 1>&5
6468 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
6469 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
6470 if diff conftest.exp conftest.er2 >/dev/null; then
6471 lt_prog_compiler_static_works=yes
6474 lt_prog_compiler_static_works=yes
6478 LDFLAGS="$save_LDFLAGS"
6481 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6482 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6484 if test x"$lt_prog_compiler_static_works" = xyes; then
6487 lt_prog_compiler_static=
6496 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6497 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6498 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6499 echo $ECHO_N "(cached) $ECHO_C" >&6
6501 lt_cv_prog_compiler_c_o=no
6502 $RM -r conftest 2>/dev/null
6506 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6508 lt_compiler_flag="-o out/conftest2.$ac_objext"
6509 # Insert the option either (1) after the last *FLAGS variable, or
6510 # (2) before a word containing "conftest.", or (3) at the end.
6511 # Note that $ac_compile itself does not contain backslashes and begins
6512 # with a dollar sign (not a hyphen), so the echo should work correctly.
6513 lt_compile=`echo "$ac_compile" | $SED \
6514 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6515 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6516 -e 's:$: $lt_compiler_flag:'`
6517 (eval echo "\"\$as_me:6517: $lt_compile\"" >&5)
6518 (eval "$lt_compile" 2>out/conftest.err)
6520 cat out/conftest.err >&5
6521 echo "$as_me:6521: \$? = $ac_status" >&5
6522 if (exit $ac_status) && test -s out/conftest2.$ac_objext
6524 # The compiler can only warn and ignore the option if not recognized
6525 # So say no if there are warnings
6526 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
6527 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
6528 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
6529 lt_cv_prog_compiler_c_o=yes
6534 # SGI C++ compiler will create directory out/ii_files/ for
6535 # template instantiation
6536 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
6537 $RM out/* && rmdir out
6543 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6544 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6551 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6552 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6553 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6554 echo $ECHO_N "(cached) $ECHO_C" >&6
6556 lt_cv_prog_compiler_c_o=no
6557 $RM -r conftest 2>/dev/null
6561 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6563 lt_compiler_flag="-o out/conftest2.$ac_objext"
6564 # Insert the option either (1) after the last *FLAGS variable, or
6565 # (2) before a word containing "conftest.", or (3) at the end.
6566 # Note that $ac_compile itself does not contain backslashes and begins
6567 # with a dollar sign (not a hyphen), so the echo should work correctly.
6568 lt_compile=`echo "$ac_compile" | $SED \
6569 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6570 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6571 -e 's:$: $lt_compiler_flag:'`
6572 (eval echo "\"\$as_me:6572: $lt_compile\"" >&5)
6573 (eval "$lt_compile" 2>out/conftest.err)
6575 cat out/conftest.err >&5
6576 echo "$as_me:6576: \$? = $ac_status" >&5
6577 if (exit $ac_status) && test -s out/conftest2.$ac_objext
6579 # The compiler can only warn and ignore the option if not recognized
6580 # So say no if there are warnings
6581 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
6582 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
6583 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
6584 lt_cv_prog_compiler_c_o=yes
6589 # SGI C++ compiler will create directory out/ii_files/ for
6590 # template instantiation
6591 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
6592 $RM out/* && rmdir out
6598 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6599 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6604 hard_links="nottested"
6605 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
6606 # do not overwrite the value of need_locks provided by the user
6607 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6608 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
6611 ln conftest.a conftest.b 2>/dev/null && hard_links=no
6613 ln conftest.a conftest.b 2>&5 || hard_links=no
6614 ln conftest.a conftest.b 2>/dev/null && hard_links=no
6615 echo "$as_me:$LINENO: result: $hard_links" >&5
6616 echo "${ECHO_T}$hard_links" >&6
6617 if test "$hard_links" = no; then
6618 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6619 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6631 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6632 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
6635 allow_undefined_flag=
6636 always_export_symbols=no
6638 archive_expsym_cmds=
6639 compiler_needs_object=no
6640 enable_shared_with_static_runtimes=no
6641 export_dynamic_flag_spec=
6642 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6643 hardcode_automatic=no
6645 hardcode_direct_absolute=no
6646 hardcode_libdir_flag_spec=
6647 hardcode_libdir_flag_spec_ld=
6648 hardcode_libdir_separator=
6650 hardcode_shlibpath_var=unsupported
6652 link_all_deplibs=unknown
6655 old_archive_from_new_cmds=
6656 old_archive_from_expsyms_cmds=
6657 thread_safe_flag_spec=
6658 whole_archive_flag_spec=
6659 # include_expsyms should be a list of space-separated symbols to be *always*
6660 # included in the symbol list
6662 # exclude_expsyms can be an extended regexp of symbols to exclude
6663 # it will be wrapped by ` (' and `)$', so one must not match beginning or
6664 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6665 # as well as any symbol that contains `d'.
6666 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
6667 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6668 # platforms (ab)use it in PIC code, but their linkers get confused if
6669 # the symbol is explicitly referenced. Since portable code cannot
6670 # rely on this symbol name, it's probably fine to never include it in
6671 # preloaded symbol tables.
6672 extract_expsyms_cmds=
6675 cygwin* | mingw* | pw32*)
6676 # FIXME: the MSVC++ port hasn't been tested in a loooong time
6677 # When not using gcc, we currently assume that we are using
6678 # Microsoft Visual C++.
6679 if test "$GCC" != yes; then
6684 # we just hope/assume this is gcc and not c89 (= MSVC++)
6693 if test "$with_gnu_ld" = yes; then
6694 # If archive_cmds runs LD, not CC, wlarc should be empty
6697 # Set some defaults for GNU ld with shared library support. These
6698 # are reset later if shared libraries are not supported. Putting them
6699 # here allows them to be overridden if necessary.
6700 runpath_var=LD_RUN_PATH
6701 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
6702 export_dynamic_flag_spec='${wl}--export-dynamic'
6703 # ancient GNU ld didn't support --whole-archive et. al.
6704 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
6705 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6707 whole_archive_flag_spec=
6709 supports_anon_versioning=no
6710 case `$LD -v 2>&1` in
6711 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
6712 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
6713 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
6714 *\ 2.11.*) ;; # other 2.11 versions
6715 *) supports_anon_versioning=yes ;;
6718 # See if GNU ld supports shared libraries.
6720 aix3* | aix4* | aix5*)
6721 # On AIX/PPC, the GNU linker is very broken
6722 if test "$host_cpu" != ia64; then
6726 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
6727 *** to be unable to reliably create shared libraries on AIX.
6728 *** Therefore, libtool is disabling shared libraries support. If you
6729 *** really care for shared libraries, you may want to modify your PATH
6730 *** so that a non-GNU linker is found, and then restart.
6737 if test "$host_cpu" = m68k; then
6738 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)'
6739 hardcode_libdir_flag_spec='-L$libdir'
6740 hardcode_minus_L=yes
6743 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
6744 # that the semantics of dynamic libraries on AmigaOS, at least up
6745 # to version 4, is to share data among multiple programs linked
6746 # with the same dynamic library. Since this doesn't match the
6747 # behavior of shared libraries on other platforms, we can't use
6753 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
6754 allow_undefined_flag=unsupported
6755 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
6756 # support --undefined. This deserves some investigation. FIXME
6757 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6763 cygwin* | mingw* | pw32*)
6764 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
6765 # as there is no search path for DLLs.
6766 hardcode_libdir_flag_spec='-L$libdir'
6767 allow_undefined_flag=unsupported
6768 always_export_symbols=no
6769 enable_shared_with_static_runtimes=yes
6770 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
6772 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
6773 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
6774 # If the export-symbols file already is a .def file (1st line
6775 # is EXPORTS), use it as is; otherwise, prepend...
6776 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
6777 cp $export_symbols $output_objdir/$soname.def;
6779 echo EXPORTS > $output_objdir/$soname.def;
6780 cat $export_symbols >> $output_objdir/$soname.def;
6782 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
6790 hardcode_shlibpath_var=no
6791 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
6792 export_dynamic_flag_spec='${wl}-E'
6793 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
6794 # Instead, shared libraries are loaded at an image base (0x10000000 by
6795 # default) and relocated if they conflict, which is a slow very memory
6796 # consuming and fragmenting process. To avoid this, we pick a random,
6797 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
6798 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
6799 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
6800 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'
6803 gnu* | linux* | tpf* | k*bsd*-gnu)
6805 if test "$host_os" = linux-dietlibc; then
6806 case $cc_basename in
6807 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
6810 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
6811 && test "$tmp_diet" = no
6814 case $cc_basename,$host_cpu in
6815 pgcc*) # Portland Group C compiler
6816 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'
6817 tmp_addflag=' $pic_flag'
6819 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
6820 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'
6821 tmp_addflag=' $pic_flag -Mnomain' ;;
6822 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
6823 tmp_addflag=' -i_dynamic' ;;
6824 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
6825 tmp_addflag=' -i_dynamic -nofor_main' ;;
6826 ifc* | ifort*) # Intel Fortran compiler
6827 tmp_addflag=' -nofor_main' ;;
6829 case `$CC -V 2>&1 | sed 5q` in
6830 *Sun\ C*) # Sun C 5.9
6831 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'
6832 compiler_needs_object=yes
6833 tmp_sharedflag='-G' ;;
6834 *Sun\ F*) # Sun Fortran 8.3
6835 tmp_sharedflag='-G' ;;
6837 tmp_sharedflag='-shared' ;;
6839 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6841 if test "x$supports_anon_versioning" = xyes; then
6842 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
6843 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
6844 echo "local: *; };" >> $output_objdir/$libname.ver~
6845 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
6853 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
6854 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
6857 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6858 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6863 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
6867 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
6868 *** create shared libraries on Solaris systems. Therefore, libtool
6869 *** is disabling shared libraries support. We urge you to upgrade GNU
6870 *** binutils to release 2.9.1 or newer. Another option is to modify
6871 *** your PATH or compiler configuration so that the native linker is
6872 *** used, and then restart.
6875 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
6876 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6877 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6883 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
6884 case `$LD -v 2>&1` in
6885 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
6889 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
6890 *** reliably create shared libraries on SCO systems. Therefore, libtool
6891 *** is disabling shared libraries support. We urge you to upgrade GNU
6892 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
6893 *** your PATH or compiler configuration so that the native linker is
6894 *** used, and then restart.
6899 # For security reasons, it is highly recommended that you always
6900 # use absolute paths for naming shared libraries, and exclude the
6901 # DT_RUNPATH tag from executables and libraries. But doing so
6902 # requires that you compile everything twice, which is a pain.
6903 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
6904 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
6905 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6906 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6915 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6918 hardcode_shlibpath_var=no
6922 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
6923 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6924 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6931 if test "$ld_shlibs" = no; then
6933 hardcode_libdir_flag_spec=
6934 export_dynamic_flag_spec=
6935 whole_archive_flag_spec=
6938 # PORTME fill in a description of your system's linker (not GNU ld)
6941 allow_undefined_flag=unsupported
6942 always_export_symbols=yes
6943 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'
6944 # Note: this linker hardcodes the directories in LIBPATH if there
6945 # are no directories specified by -L.
6946 hardcode_minus_L=yes
6947 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
6948 # Neither direct hardcoding nor static linking is supported with a
6950 hardcode_direct=unsupported
6955 if test "$host_cpu" = ia64; then
6956 # On IA64, the linker does run time linking by default, so we don't
6957 # have to do anything special.
6958 aix_use_runtimelinking=no
6959 exp_sym_flag='-Bexport'
6962 # If we're using GNU nm, then we don't want the "-C" option.
6963 # -C means demangle to AIX nm, but means don't demangle with GNU nm
6964 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
6965 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'
6967 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'
6969 aix_use_runtimelinking=no
6971 # Test if we are trying to use run time linking or normal
6972 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
6973 # need to do runtime linking.
6974 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
6975 for ld_flag in $LDFLAGS; do
6976 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
6977 aix_use_runtimelinking=yes
6984 exp_sym_flag='-bexport'
6985 no_entry_flag='-bnoentry'
6988 # When large executables or shared objects are built, AIX ld can
6989 # have problems creating the table of contents. If linking a library
6990 # or program results in "error TOC overflow" add -mminimal-toc to
6991 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
6992 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
6996 hardcode_direct_absolute=yes
6997 hardcode_libdir_separator=':'
6998 link_all_deplibs=yes
6999 file_list_spec='${wl}-f,'
7001 if test "$GCC" = yes; then
7002 case $host_os in aix4.[012]|aix4.[012].*)
7003 # We only want to do this on AIX 4.2 and lower, the check
7004 # below for broken collect2 doesn't work under 4.3+
7005 collect2name=`${CC} -print-prog-name=collect2`
7006 if test -f "$collect2name" &&
7007 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
7009 # We have reworked collect2
7012 # We have old collect2
7013 hardcode_direct=unsupported
7014 # It fails to find uninstalled libraries when the uninstalled
7015 # path is not listed in the libpath. Setting hardcode_minus_L
7016 # to unsupported forces relinking
7017 hardcode_minus_L=yes
7018 hardcode_libdir_flag_spec='-L$libdir'
7019 hardcode_libdir_separator=
7023 shared_flag='-shared'
7024 if test "$aix_use_runtimelinking" = yes; then
7025 shared_flag="$shared_flag "'${wl}-G'
7029 if test "$host_cpu" = ia64; then
7030 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7031 # chokes on -Wl,-G. The following line is correct:
7034 if test "$aix_use_runtimelinking" = yes; then
7035 shared_flag='${wl}-G'
7037 shared_flag='${wl}-bM:SRE'
7042 # It seems that -bexpall does not export symbols beginning with
7043 # underscore (_), so it is better to generate a list of symbols to export.
7044 always_export_symbols=yes
7045 if test "$aix_use_runtimelinking" = yes; then
7046 # Warning - without using the other runtime loading flags (-brtl),
7047 # -berok will link without error, but may produce a broken library.
7048 allow_undefined_flag='-berok'
7049 # Determine the default libpath from the value encoded in an
7051 cat >conftest.$ac_ext <<_ACEOF
7054 cat confdefs.h >>conftest.$ac_ext
7055 cat >>conftest.$ac_ext <<_ACEOF
7056 /* end confdefs.h. */
7066 rm -f conftest.$ac_objext conftest$ac_exeext
7067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7068 (eval $ac_link) 2>conftest.er1
7070 grep -v '^ *+' conftest.er1 >conftest.err
7072 cat conftest.err >&5
7073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7074 (exit $ac_status); } &&
7075 { ac_try='test -z "$ac_c_werror_flag"
7076 || test ! -s conftest.err'
7077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7081 (exit $ac_status); }; } &&
7082 { ac_try='test -s conftest$ac_exeext'
7083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7087 (exit $ac_status); }; }; then
7089 lt_aix_libpath_sed='
7090 /Import File Strings/,/^$/ {
7096 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7097 # Check for a 64-bit object if we didn't find anything.
7098 if test -z "$aix_libpath"; then
7099 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7102 echo "$as_me: failed program was:" >&5
7103 sed 's/^/| /' conftest.$ac_ext >&5
7106 rm -f conftest.err conftest.$ac_objext \
7107 conftest$ac_exeext conftest.$ac_ext
7108 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7110 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7111 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"
7113 if test "$host_cpu" = ia64; then
7114 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
7115 allow_undefined_flag="-z nodefs"
7116 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"
7118 # Determine the default libpath from the value encoded in an
7120 cat >conftest.$ac_ext <<_ACEOF
7123 cat confdefs.h >>conftest.$ac_ext
7124 cat >>conftest.$ac_ext <<_ACEOF
7125 /* end confdefs.h. */
7135 rm -f conftest.$ac_objext conftest$ac_exeext
7136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7137 (eval $ac_link) 2>conftest.er1
7139 grep -v '^ *+' conftest.er1 >conftest.err
7141 cat conftest.err >&5
7142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7143 (exit $ac_status); } &&
7144 { ac_try='test -z "$ac_c_werror_flag"
7145 || test ! -s conftest.err'
7146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7150 (exit $ac_status); }; } &&
7151 { ac_try='test -s conftest$ac_exeext'
7152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7156 (exit $ac_status); }; }; then
7158 lt_aix_libpath_sed='
7159 /Import File Strings/,/^$/ {
7165 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7166 # Check for a 64-bit object if we didn't find anything.
7167 if test -z "$aix_libpath"; then
7168 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7171 echo "$as_me: failed program was:" >&5
7172 sed 's/^/| /' conftest.$ac_ext >&5
7175 rm -f conftest.err conftest.$ac_objext \
7176 conftest$ac_exeext conftest.$ac_ext
7177 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7179 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7180 # Warning - without using the other run time loading flags,
7181 # -berok will link without error, but may produce a broken library.
7182 no_undefined_flag=' ${wl}-bernotok'
7183 allow_undefined_flag=' ${wl}-berok'
7184 # Exported symbols can be pulled into shared objects from archives
7185 whole_archive_flag_spec='$convenience'
7186 archive_cmds_need_lc=yes
7187 # This is similar to how AIX traditionally builds its shared libraries.
7188 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'
7194 if test "$host_cpu" = m68k; then
7195 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)'
7196 hardcode_libdir_flag_spec='-L$libdir'
7197 hardcode_minus_L=yes
7199 # see comment about different semantics on the GNU ld section
7204 export_dynamic_flag_spec=-rdynamic
7207 cygwin* | mingw* | pw32*)
7208 # When not using gcc, we currently assume that we are using
7209 # Microsoft Visual C++.
7210 # hardcode_libdir_flag_spec is actually meaningless, as there is
7211 # no search path for DLLs.
7212 hardcode_libdir_flag_spec=' '
7213 allow_undefined_flag=unsupported
7214 # Tell ltmain to make .lib files, not .a files.
7216 # Tell ltmain to make .dll files, not .so files.
7218 # FIXME: Setting linknames here is a bad hack.
7219 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
7220 # The linker will automatically build a .lib file if we build a DLL.
7221 old_archive_from_new_cmds='true'
7222 # FIXME: Should let the user specify the lib program.
7223 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
7224 fix_srcfile_path='`cygpath -w "$srcfile"`'
7225 enable_shared_with_static_runtimes=yes
7228 darwin* | rhapsody*)
7230 rhapsody* | darwin1.[012])
7231 allow_undefined_flag='${wl}-undefined ${wl}suppress'
7234 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
7236 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7239 allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
7244 archive_cmds_need_lc=no
7246 hardcode_automatic=yes
7247 hardcode_shlibpath_var=unsupported
7248 whole_archive_flag_spec=''
7249 link_all_deplibs=yes
7250 if test "$GCC" = yes ; then
7251 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7252 echo $ECHO_N "(cached) $ECHO_C" >&6
7254 lt_cv_apple_cc_single_mod=no
7255 if test -z "${LT_MULTI_MODULE}"; then
7256 # By default we will add the -single_module flag. You can override
7257 # by either setting the environment variable LT_MULTI_MODULE
7258 # non-empty at configure time, or by adding -multi-module to the
7260 echo "int foo(void){return 1;}" > conftest.c
7261 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7262 -dynamiclib ${wl}-single_module conftest.c
7263 if test -f libconftest.dylib; then
7264 lt_cv_apple_cc_single_mod=yes
7265 rm libconftest.dylib
7271 output_verbose_link_cmd=echo
7272 if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
7273 archive_cmds='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7274 archive_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $single_module -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7276 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7277 archive_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7279 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7280 module_expsym_cmds='sed -e "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7282 case $cc_basename in
7284 output_verbose_link_cmd=echo
7285 archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
7286 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7287 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7288 archive_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7289 module_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7299 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7300 hardcode_libdir_flag_spec='-L$libdir'
7301 hardcode_shlibpath_var=no
7308 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7309 # support. Future versions do this automatically, but an explicit c++rt0.o
7310 # does not break anything, and helps significantly (at the cost of a little
7313 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7314 hardcode_libdir_flag_spec='-R$libdir'
7316 hardcode_shlibpath_var=no
7319 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7321 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7323 hardcode_minus_L=yes
7324 hardcode_shlibpath_var=no
7327 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7328 freebsd* | dragonfly*)
7329 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7330 hardcode_libdir_flag_spec='-R$libdir'
7332 hardcode_shlibpath_var=no
7336 if test "$GCC" = yes; then
7337 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'
7339 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'
7341 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7342 hardcode_libdir_separator=:
7345 # hardcode_minus_L: Not really in the search PATH,
7346 # but as the default location of the library.
7347 hardcode_minus_L=yes
7348 export_dynamic_flag_spec='${wl}-E'
7352 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7353 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7355 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7357 if test "$with_gnu_ld" = no; then
7358 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7359 hardcode_libdir_flag_spec_ld='+b $libdir'
7360 hardcode_libdir_separator=:
7362 hardcode_direct_absolute=yes
7363 export_dynamic_flag_spec='${wl}-E'
7364 # hardcode_minus_L: Not really in the search PATH,
7365 # but as the default location of the library.
7366 hardcode_minus_L=yes
7371 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7374 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7377 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7380 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7386 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7389 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7392 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7396 if test "$with_gnu_ld" = no; then
7397 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7398 hardcode_libdir_separator=:
7403 hardcode_shlibpath_var=no
7407 hardcode_direct_absolute=yes
7408 export_dynamic_flag_spec='${wl}-E'
7410 # hardcode_minus_L: Not really in the search PATH,
7411 # but as the default location of the library.
7412 hardcode_minus_L=yes
7418 irix5* | irix6* | nonstopux*)
7419 if test "$GCC" = yes; then
7420 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'
7421 # Try to use the -exported_symbol ld option, if it does not
7422 # work, assume that -exports_file does not work either and
7423 # implicitly export all symbols.
7424 save_LDFLAGS="$LDFLAGS"
7425 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
7426 cat >conftest.$ac_ext <<_ACEOF
7429 rm -f conftest.$ac_objext conftest$ac_exeext
7430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7431 (eval $ac_link) 2>conftest.er1
7433 grep -v '^ *+' conftest.er1 >conftest.err
7435 cat conftest.err >&5
7436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7437 (exit $ac_status); } &&
7438 { ac_try='test -z "$ac_c_werror_flag"
7439 || test ! -s conftest.err'
7440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7444 (exit $ac_status); }; } &&
7445 { ac_try='test -s conftest$ac_exeext'
7446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7450 (exit $ac_status); }; }; then
7451 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'
7454 echo "$as_me: failed program was:" >&5
7455 sed 's/^/| /' conftest.$ac_ext >&5
7458 rm -f conftest.err conftest.$ac_objext \
7459 conftest$ac_exeext conftest.$ac_ext
7460 LDFLAGS="$save_LDFLAGS"
7462 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'
7463 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'
7465 archive_cmds_need_lc='no'
7466 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7467 hardcode_libdir_separator=:
7469 link_all_deplibs=yes
7473 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
7474 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7476 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7478 hardcode_libdir_flag_spec='-R$libdir'
7480 hardcode_shlibpath_var=no
7484 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7486 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7487 hardcode_libdir_separator=:
7488 hardcode_shlibpath_var=no
7496 hardcode_shlibpath_var=no
7497 hardcode_direct_absolute=yes
7498 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7499 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7500 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
7501 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7502 export_dynamic_flag_spec='${wl}-E'
7505 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
7506 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7507 hardcode_libdir_flag_spec='-R$libdir'
7510 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7511 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7518 hardcode_libdir_flag_spec='-L$libdir'
7519 hardcode_minus_L=yes
7520 allow_undefined_flag=unsupported
7521 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'
7522 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7526 if test "$GCC" = yes; then
7527 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7528 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'
7530 allow_undefined_flag=' -expect_unresolved \*'
7531 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'
7533 archive_cmds_need_lc='no'
7534 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7535 hardcode_libdir_separator=:
7538 osf4* | osf5*) # as osf3* with the addition of -msym flag
7539 if test "$GCC" = yes; then
7540 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7541 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'
7542 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7544 allow_undefined_flag=' -expect_unresolved \*'
7545 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'
7546 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~
7547 $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'
7549 # Both c and cxx compiler support -rpath directly
7550 hardcode_libdir_flag_spec='-rpath $libdir'
7552 archive_cmds_need_lc='no'
7553 hardcode_libdir_separator=:
7557 no_undefined_flag=' -z defs'
7558 if test "$GCC" = yes; then
7560 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7561 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
7562 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
7564 case `$CC -V 2>&1` in
7567 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7568 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
7569 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
7573 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
7574 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
7575 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
7579 hardcode_libdir_flag_spec='-R$libdir'
7580 hardcode_shlibpath_var=no
7582 solaris2.[0-5] | solaris2.[0-5].*) ;;
7584 # The compiler driver will combine and reorder linker options,
7585 # but understands `-z linker_flag'. GCC discards it without `$wl',
7586 # but is careful enough not to reorder.
7587 # Supported since Solaris 2.6 (maybe 2.5.1?)
7588 if test "$GCC" = yes; then
7589 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
7591 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
7595 link_all_deplibs=yes
7599 if test "x$host_vendor" = xsequent; then
7600 # Use $CC to link under sequent, because it throws in some extra .o
7601 # files that make .init and .fini sections work.
7602 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
7604 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7606 hardcode_libdir_flag_spec='-L$libdir'
7608 hardcode_minus_L=yes
7609 hardcode_shlibpath_var=no
7613 case $host_vendor in
7615 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7616 hardcode_direct=yes # is this really true???
7619 ## LD is ld it makes a PLAMLIB
7620 ## CC just makes a GrossModule.
7621 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7622 reload_cmds='$CC -r -o $output$reload_objs'
7626 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7627 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
7630 runpath_var='LD_RUN_PATH'
7631 hardcode_shlibpath_var=no
7635 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7636 hardcode_shlibpath_var=no
7637 export_dynamic_flag_spec='-Bexport'
7641 if test -d /usr/nec; then
7642 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7643 hardcode_shlibpath_var=no
7644 runpath_var=LD_RUN_PATH
7645 hardcode_runpath_var=yes
7650 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
7651 no_undefined_flag='${wl}-z,text'
7652 archive_cmds_need_lc=no
7653 hardcode_shlibpath_var=no
7654 runpath_var='LD_RUN_PATH'
7656 if test "$GCC" = yes; then
7657 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7658 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7660 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7661 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7665 sysv5* | sco3.2v5* | sco5v6*)
7666 # Note: We can NOT use -z defs as we might desire, because we do not
7667 # link with -lc, and that would cause any symbols used from libc to
7668 # always be unresolved, which means just about no library would
7669 # ever link correctly. If we're not using GNU ld we use -z text
7670 # though, which does catch some bad symbols but isn't as heavy-handed
7672 no_undefined_flag='${wl}-z,text'
7673 allow_undefined_flag='${wl}-z,nodefs'
7674 archive_cmds_need_lc=no
7675 hardcode_shlibpath_var=no
7676 hardcode_libdir_flag_spec='${wl}-R,$libdir'
7677 hardcode_libdir_separator=':'
7678 link_all_deplibs=yes
7679 export_dynamic_flag_spec='${wl}-Bexport'
7680 runpath_var='LD_RUN_PATH'
7682 if test "$GCC" = yes; then
7683 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7684 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7686 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7687 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7692 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7693 hardcode_libdir_flag_spec='-L$libdir'
7694 hardcode_shlibpath_var=no
7702 if test x$host_vendor = xsni; then
7704 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
7705 export_dynamic_flag_spec='${wl}-Blargedynsym'
7711 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7712 echo "${ECHO_T}$ld_shlibs" >&6
7713 test "$ld_shlibs" = no && can_build_shared=no
7715 with_gnu_ld=$with_gnu_ld
7732 # Do we need to explicitly link libc?
7734 case "x$archive_cmds_need_lc" in
7736 # Assume -lc should be added
7737 archive_cmds_need_lc=yes
7739 if test "$enable_shared" = yes && test "$GCC" = yes; then
7740 case $archive_cmds in
7742 # FIXME: we may have to deal with multi-command sequences.
7745 # Test whether the compiler implicitly links with -lc since on some
7746 # systems, -lgcc has to come before -lc. If gcc already passes -lc
7747 # to ld, don't add -lc before -lgcc.
7748 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7749 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
7751 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7754 (eval $ac_compile) 2>&5
7756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7757 (exit $ac_status); } 2>conftest.err; then
7760 libobjs=conftest.$ac_objext
7762 wl=$lt_prog_compiler_wl
7763 pic_flag=$lt_prog_compiler_pic
7769 lt_save_allow_undefined_flag=$allow_undefined_flag
7770 allow_undefined_flag=
7771 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
7772 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
7774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7775 (exit $ac_status); }
7777 archive_cmds_need_lc=no
7779 archive_cmds_need_lc=yes
7781 allow_undefined_flag=$lt_save_allow_undefined_flag
7783 cat conftest.err 1>&5
7786 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7787 echo "${ECHO_T}$archive_cmds_need_lc" >&6
7950 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7951 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
7953 if test "$withGCC" = yes; then
7955 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
7956 *) lt_awk_arg="/^libraries:/" ;;
7958 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7959 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
7960 # if the path contains ";" then we assume it to be the separator
7961 # otherwise default to the standard path separator (i.e. ":") - it is
7962 # assumed that no part of a normal pathname contains ";" but that should
7963 # okay in the real world where ";" in dirpaths is itself problematic.
7964 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
7966 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7968 # Ok, now we have the path, separated by spaces, we can step through it
7969 # and add multilib dir if necessary.
7970 lt_tmp_lt_search_path_spec=
7971 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
7972 for lt_sys_path in $lt_search_path_spec; do
7973 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
7974 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
7976 test -d "$lt_sys_path" && \
7977 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
7980 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
7981 BEGIN {RS=" "; FS="/|\n";} {
7984 for (lt_i = NF; lt_i > 0; lt_i--) {
7985 if ($lt_i != "" && $lt_i != ".") {
7986 if ($lt_i == "..") {
7989 if (lt_count == 0) {
7990 lt_foo="/" $lt_i lt_foo;
7997 if (lt_foo != "") { lt_freq[lt_foo]++; }
7998 if (lt_freq[lt_foo] == 1) { print lt_foo; }
8000 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
8002 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
8005 libname_spec='lib$name'
8013 shlibpath_overrides_runpath=unknown
8015 dynamic_linker="$host_os ld.so"
8016 sys_lib_dlsearch_path_spec="/lib /usr/lib"
8017 need_lib_prefix=unknown
8018 hardcode_into_libs=no
8020 # when you set need_version to no, make sure it does not cause -set_version
8021 # flags to be left without arguments
8022 need_version=unknown
8027 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
8028 shlibpath_var=LIBPATH
8030 # AIX 3 has no versioning support, so we append a major version to the name.
8031 soname_spec='${libname}${release}${shared_ext}$major'
8038 hardcode_into_libs=yes
8039 if test "$host_cpu" = ia64; then
8040 # AIX 5 supports IA64
8041 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8042 shlibpath_var=LD_LIBRARY_PATH
8044 # With GCC up to 2.95.x, collect2 would create an import file
8045 # for dependence libraries. The import file would start with
8046 # the line `#! .'. This would cause the generated library to
8047 # depend on `.', always an invalid library. This was fixed in
8048 # development snapshots of GCC prior to 3.0.
8050 aix4 | aix4.[01] | aix4.[01].*)
8051 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8053 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
8060 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8061 # soname into executable. Probably we can add versioning support to
8062 # collect2, so additional links can be useful in future.
8063 if test "$aix_use_runtimelinking" = yes; then
8064 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8065 # instead of lib<name>.a to let people know that these are not
8066 # typical AIX shared libraries.
8067 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8069 # We preserve .a as extension for shared libraries through AIX4.2
8070 # and later when we are not doing run time linking.
8071 library_names_spec='${libname}${release}.a $libname.a'
8072 soname_spec='${libname}${release}${shared_ext}$major'
8074 shlibpath_var=LIBPATH
8079 if test "$host_cpu" = m68k; then
8080 library_names_spec='$libname.ixlibrary $libname.a'
8081 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8082 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'
8089 library_names_spec='${libname}${shared_ext}'
8090 dynamic_linker="$host_os ld.so"
8091 shlibpath_var=LIBRARY_PATH
8097 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8098 soname_spec='${libname}${release}${shared_ext}$major'
8099 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
8100 shlibpath_var=LD_LIBRARY_PATH
8101 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8102 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
8103 # the default ld.so.conf also contains /usr/contrib/lib and
8104 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8105 # libtool to hard-code these into programs
8108 cygwin* | mingw* | pw32*)
8109 version_type=windows
8114 case $withGCC,$host_os in
8115 yes,cygwin* | yes,mingw* | yes,pw32*)
8116 library_names_spec='$libname.dll.a'
8117 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8118 postinstall_cmds='base_file=`basename \${file}`~
8119 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
8120 dldir=$destdir/`dirname \$dlpath`~
8121 test -d \$dldir || mkdir -p \$dldir~
8122 $install_prog $dir/$dlname \$dldir/$dlname~
8123 chmod a+x \$dldir/$dlname~
8124 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
8125 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
8127 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8128 dlpath=$dir/\$dldll~
8130 shlibpath_overrides_runpath=yes
8134 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8135 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8136 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
8139 # MinGW DLLs use traditional 'lib' prefix
8140 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8141 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8142 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
8143 # It is most probably a Windows format PATH printed by
8144 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8145 # path with ; separators, and with drive letters. We can handle the
8146 # drive letters (cygwin fileutils understands them), so leave them,
8147 # especially as we might pass files found there to a mingw objdump,
8148 # which wouldn't understand a cygwinified path. Ahh.
8149 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8151 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8155 # pw32 DLLs use 'pw' prefix rather than 'lib'
8156 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8162 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8165 dynamic_linker='Win32 ld.exe'
8166 # FIXME: first we should search . and the directory the executable is in
8170 darwin* | rhapsody*)
8171 dynamic_linker="$host_os dyld"
8175 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8176 soname_spec='${libname}${release}${major}$shared_ext'
8177 shlibpath_overrides_runpath=yes
8178 shlibpath_var=DYLD_LIBRARY_PATH
8179 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
8181 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
8182 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
8189 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8190 soname_spec='${libname}${release}${shared_ext}$major'
8191 shlibpath_var=LD_LIBRARY_PATH
8198 freebsd* | dragonfly*)
8199 # DragonFly does not have aout. When/if they implement a new
8200 # versioning mechanism, adjust this.
8201 if test -x /usr/bin/objformat; then
8202 objformat=`/usr/bin/objformat`
8205 freebsd[123]*) objformat=aout ;;
8209 version_type=freebsd-$objformat
8210 case $version_type in
8212 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8217 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8221 shlibpath_var=LD_LIBRARY_PATH
8224 shlibpath_overrides_runpath=yes
8226 freebsd3.[01]* | freebsdelf3.[01]*)
8227 shlibpath_overrides_runpath=yes
8228 hardcode_into_libs=yes
8230 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
8231 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
8232 shlibpath_overrides_runpath=no
8233 hardcode_into_libs=yes
8235 *) # from 4.6 on, and DragonFly
8236 shlibpath_overrides_runpath=yes
8237 hardcode_into_libs=yes
8246 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8247 soname_spec='${libname}${release}${shared_ext}$major'
8248 shlibpath_var=LD_LIBRARY_PATH
8249 hardcode_into_libs=yes
8252 hpux9* | hpux10* | hpux11*)
8253 # Give a soname corresponding to the major version so that dld.sl refuses to
8254 # link against other versions.
8261 hardcode_into_libs=yes
8262 dynamic_linker="$host_os dld.so"
8263 shlibpath_var=LD_LIBRARY_PATH
8264 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
8265 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8266 soname_spec='${libname}${release}${shared_ext}$major'
8267 if test "X$HPUX_IA64_MODE" = X32; then
8268 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8270 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
8272 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
8276 hardcode_into_libs=yes
8277 dynamic_linker="$host_os dld.sl"
8278 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
8279 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
8280 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8281 soname_spec='${libname}${release}${shared_ext}$major'
8282 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8283 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
8287 dynamic_linker="$host_os dld.sl"
8288 shlibpath_var=SHLIB_PATH
8289 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
8290 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8291 soname_spec='${libname}${release}${shared_ext}$major'
8294 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8295 postinstall_cmds='chmod 555 $lib'
8302 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8303 soname_spec='${libname}${release}${shared_ext}$major'
8304 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
8305 shlibpath_var=LD_LIBRARY_PATH
8306 shlibpath_overrides_runpath=no
8307 hardcode_into_libs=yes
8310 irix5* | irix6* | nonstopux*)
8312 nonstopux*) version_type=nonstopux ;;
8314 if test "$lt_cv_prog_gnu_ld" = yes; then
8322 soname_spec='${libname}${release}${shared_ext}$major'
8323 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8325 irix5* | nonstopux*)
8329 case $LD in # libtool.m4 will add one of these switches to LD
8330 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
8331 libsuff= shlibsuff= libmagic=32-bit;;
8332 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
8333 libsuff=32 shlibsuff=N32 libmagic=N32;;
8334 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
8335 libsuff=64 shlibsuff=64 libmagic=64-bit;;
8336 *) libsuff= shlibsuff= libmagic=never-match;;
8340 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
8341 shlibpath_overrides_runpath=no
8342 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8343 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
8344 hardcode_into_libs=yes
8347 # No shared lib support for Linux oldld, aout, or coff.
8348 linux*oldld* | linux*aout* | linux*coff*)
8352 # This must be Linux ELF.
8353 linux* | k*bsd*-gnu)
8357 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8358 soname_spec='${libname}${release}${shared_ext}$major'
8359 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8360 shlibpath_var=LD_LIBRARY_PATH
8361 shlibpath_overrides_runpath=no
8362 # Some binutils ld are patched to set DT_RUNPATH
8363 save_LDFLAGS=$LDFLAGS
8365 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
8366 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
8367 cat >conftest.$ac_ext <<_ACEOF
8370 cat confdefs.h >>conftest.$ac_ext
8371 cat >>conftest.$ac_ext <<_ACEOF
8372 /* end confdefs.h. */
8382 rm -f conftest.$ac_objext conftest$ac_exeext
8383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8384 (eval $ac_link) 2>conftest.er1
8386 grep -v '^ *+' conftest.er1 >conftest.err
8388 cat conftest.err >&5
8389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8390 (exit $ac_status); } &&
8391 { ac_try='test -z "$ac_c_werror_flag"
8392 || test ! -s conftest.err'
8393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8397 (exit $ac_status); }; } &&
8398 { ac_try='test -s conftest$ac_exeext'
8399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8403 (exit $ac_status); }; }; then
8404 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
8405 shlibpath_overrides_runpath=yes
8409 echo "$as_me: failed program was:" >&5
8410 sed 's/^/| /' conftest.$ac_ext >&5
8413 rm -f conftest.err conftest.$ac_objext \
8414 conftest$ac_exeext conftest.$ac_ext
8415 LDFLAGS=$save_LDFLAGS
8418 # This implies no fast_install, which is unacceptable.
8419 # Some rework will be needed to allow for fast_install
8420 # before this can be enabled.
8421 hardcode_into_libs=yes
8423 # Append ld.so.conf contents to the search path
8424 if test -f /etc/ld.so.conf; then
8425 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
8426 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
8429 # We used to test for /lib/ld.so.1 and disable shared libraries on
8430 # powerpc, because MkLinux only supported shared libraries with the
8431 # GNU dynamic linker. Since this was broken with cross compilers,
8432 # most powerpc-linux boxes support dynamic linking these days and
8433 # people can always --disable-shared, the test was removed, and we
8434 # assume the GNU/Linux dynamic linker is in use.
8435 dynamic_linker='GNU/Linux ld.so'
8442 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8443 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8444 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8445 dynamic_linker='NetBSD (a.out) ld.so'
8447 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8448 soname_spec='${libname}${release}${shared_ext}$major'
8449 dynamic_linker='NetBSD ld.elf_so'
8451 shlibpath_var=LD_LIBRARY_PATH
8452 shlibpath_overrides_runpath=yes
8453 hardcode_into_libs=yes
8458 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8459 shlibpath_var=LD_LIBRARY_PATH
8460 shlibpath_overrides_runpath=yes
8467 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8468 soname_spec='${libname}${release}${shared_ext}$major'
8469 shlibpath_var=LD_LIBRARY_PATH
8470 shlibpath_overrides_runpath=no
8471 hardcode_into_libs=yes
8472 dynamic_linker='ldqnx.so'
8477 sys_lib_dlsearch_path_spec="/usr/lib"
8479 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
8481 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
8482 *) need_version=no ;;
8484 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8485 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8486 shlibpath_var=LD_LIBRARY_PATH
8487 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8489 openbsd2.[89] | openbsd2.[89].*)
8490 shlibpath_overrides_runpath=no
8493 shlibpath_overrides_runpath=yes
8497 shlibpath_overrides_runpath=yes
8502 libname_spec='$name'
8505 library_names_spec='$libname${shared_ext} $libname.a'
8506 dynamic_linker='OS/2 ld.exe'
8507 shlibpath_var=LIBPATH
8510 osf3* | osf4* | osf5*)
8514 soname_spec='${libname}${release}${shared_ext}$major'
8515 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8516 shlibpath_var=LD_LIBRARY_PATH
8517 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
8518 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
8529 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8530 soname_spec='${libname}${release}${shared_ext}$major'
8531 shlibpath_var=LD_LIBRARY_PATH
8532 shlibpath_overrides_runpath=yes
8533 hardcode_into_libs=yes
8534 # ldd complains unless libraries are executable
8535 postinstall_cmds='chmod +x $lib'
8540 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8541 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
8542 shlibpath_var=LD_LIBRARY_PATH
8543 shlibpath_overrides_runpath=yes
8544 if test "$with_gnu_ld" = yes; then
8552 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8553 soname_spec='${libname}${release}${shared_ext}$major'
8554 shlibpath_var=LD_LIBRARY_PATH
8555 case $host_vendor in
8557 shlibpath_overrides_runpath=no
8559 runpath_var=LD_RUN_PATH
8567 shlibpath_overrides_runpath=no
8568 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
8574 if test -d /usr/nec ;then
8576 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
8577 soname_spec='$libname${shared_ext}.$major'
8578 shlibpath_var=LD_LIBRARY_PATH
8582 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
8583 version_type=freebsd-elf
8586 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8587 soname_spec='${libname}${release}${shared_ext}$major'
8588 shlibpath_var=LD_LIBRARY_PATH
8589 shlibpath_overrides_runpath=yes
8590 hardcode_into_libs=yes
8591 if test "$with_gnu_ld" = yes; then
8592 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
8594 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
8597 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
8601 sys_lib_dlsearch_path_spec='/usr/lib'
8605 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
8609 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8610 shlibpath_var=LD_LIBRARY_PATH
8611 shlibpath_overrides_runpath=no
8612 hardcode_into_libs=yes
8617 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8618 soname_spec='${libname}${release}${shared_ext}$major'
8619 shlibpath_var=LD_LIBRARY_PATH
8626 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8627 echo "${ECHO_T}$dynamic_linker" >&6
8628 test "$dynamic_linker" = no && can_build_shared=no
8630 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
8631 if test "$GCC" = yes; then
8632 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
8721 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
8722 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
8724 if test -n "$hardcode_libdir_flag_spec" ||
8725 test -n "$runpath_var" ||
8726 test "X$hardcode_automatic" = "Xyes" ; then
8728 # We can hardcode non-existent directories.
8729 if test "$hardcode_direct" != no &&
8730 # If the only mechanism to avoid hardcoding is shlibpath_var, we
8731 # have to relink, otherwise we might link with an installed library
8732 # when we should be linking with a yet-to-be-installed one
8733 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
8734 test "$hardcode_minus_L" != no; then
8735 # Linking always hardcodes the temporary library directory.
8736 hardcode_action=relink
8738 # We can link without hardcoding, and we can hardcode nonexisting dirs.
8739 hardcode_action=immediate
8742 # We cannot hardcode anything, or else we can only hardcode existing
8744 hardcode_action=unsupported
8746 echo "$as_me:$LINENO: result: $hardcode_action" >&5
8747 echo "${ECHO_T}$hardcode_action" >&6
8749 if test "$hardcode_action" = relink ||
8750 test "$inherit_rpath" = yes; then
8751 # Fast installation is not supported
8752 enable_fast_install=no
8753 elif test "$shlibpath_overrides_runpath" = yes ||
8754 test "$enable_shared" = no; then
8755 # Fast installation is not necessary
8756 enable_fast_install=needless
8764 if test "x$enable_dlopen" != xyes; then
8765 enable_dlopen=unknown
8766 enable_dlopen_self=unknown
8767 enable_dlopen_self_static=unknown
8774 lt_cv_dlopen="load_add_on"
8776 lt_cv_dlopen_self=yes
8780 lt_cv_dlopen="LoadLibrary"
8785 lt_cv_dlopen="dlopen"
8790 # if libdl is installed we need to link against it
8791 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8792 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8793 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8794 echo $ECHO_N "(cached) $ECHO_C" >&6
8796 ac_check_lib_save_LIBS=$LIBS
8798 cat >conftest.$ac_ext <<_ACEOF
8801 cat confdefs.h >>conftest.$ac_ext
8802 cat >>conftest.$ac_ext <<_ACEOF
8803 /* end confdefs.h. */
8805 /* Override any gcc2 internal prototype to avoid an error. */
8809 /* We use char because int might match the return type of a gcc2
8810 builtin and then its argument prototype would still apply. */
8820 rm -f conftest.$ac_objext conftest$ac_exeext
8821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8822 (eval $ac_link) 2>conftest.er1
8824 grep -v '^ *+' conftest.er1 >conftest.err
8826 cat conftest.err >&5
8827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8828 (exit $ac_status); } &&
8829 { ac_try='test -z "$ac_c_werror_flag"
8830 || test ! -s conftest.err'
8831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8835 (exit $ac_status); }; } &&
8836 { ac_try='test -s conftest$ac_exeext'
8837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8841 (exit $ac_status); }; }; then
8842 ac_cv_lib_dl_dlopen=yes
8844 echo "$as_me: failed program was:" >&5
8845 sed 's/^/| /' conftest.$ac_ext >&5
8847 ac_cv_lib_dl_dlopen=no
8849 rm -f conftest.err conftest.$ac_objext \
8850 conftest$ac_exeext conftest.$ac_ext
8851 LIBS=$ac_check_lib_save_LIBS
8853 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8854 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8855 if test $ac_cv_lib_dl_dlopen = yes; then
8856 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8861 lt_cv_dlopen_self=yes
8868 echo "$as_me:$LINENO: checking for shl_load" >&5
8869 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
8870 if test "${ac_cv_func_shl_load+set}" = set; then
8871 echo $ECHO_N "(cached) $ECHO_C" >&6
8873 cat >conftest.$ac_ext <<_ACEOF
8876 cat confdefs.h >>conftest.$ac_ext
8877 cat >>conftest.$ac_ext <<_ACEOF
8878 /* end confdefs.h. */
8879 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
8880 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8881 #define shl_load innocuous_shl_load
8883 /* System header to define __stub macros and hopefully few prototypes,
8884 which can conflict with char shl_load (); below.
8885 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8886 <limits.h> exists even on freestanding compilers. */
8889 # include <limits.h>
8891 # include <assert.h>
8896 /* Override any gcc2 internal prototype to avoid an error. */
8901 /* We use char because int might match the return type of a gcc2
8902 builtin and then its argument prototype would still apply. */
8904 /* The GNU C library defines this for functions which it implements
8905 to always fail with ENOSYS. Some functions are actually named
8906 something starting with __ and the normal name is an alias. */
8907 #if defined (__stub_shl_load) || defined (__stub___shl_load)
8910 char (*f) () = shl_load;
8919 return f != shl_load;
8924 rm -f conftest.$ac_objext conftest$ac_exeext
8925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8926 (eval $ac_link) 2>conftest.er1
8928 grep -v '^ *+' conftest.er1 >conftest.err
8930 cat conftest.err >&5
8931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8932 (exit $ac_status); } &&
8933 { ac_try='test -z "$ac_c_werror_flag"
8934 || test ! -s conftest.err'
8935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8939 (exit $ac_status); }; } &&
8940 { ac_try='test -s conftest$ac_exeext'
8941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8945 (exit $ac_status); }; }; then
8946 ac_cv_func_shl_load=yes
8948 echo "$as_me: failed program was:" >&5
8949 sed 's/^/| /' conftest.$ac_ext >&5
8951 ac_cv_func_shl_load=no
8953 rm -f conftest.err conftest.$ac_objext \
8954 conftest$ac_exeext conftest.$ac_ext
8956 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8957 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
8958 if test $ac_cv_func_shl_load = yes; then
8959 lt_cv_dlopen="shl_load"
8961 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8962 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
8963 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8964 echo $ECHO_N "(cached) $ECHO_C" >&6
8966 ac_check_lib_save_LIBS=$LIBS
8968 cat >conftest.$ac_ext <<_ACEOF
8971 cat confdefs.h >>conftest.$ac_ext
8972 cat >>conftest.$ac_ext <<_ACEOF
8973 /* end confdefs.h. */
8975 /* Override any gcc2 internal prototype to avoid an error. */
8979 /* We use char because int might match the return type of a gcc2
8980 builtin and then its argument prototype would still apply. */
8990 rm -f conftest.$ac_objext conftest$ac_exeext
8991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8992 (eval $ac_link) 2>conftest.er1
8994 grep -v '^ *+' conftest.er1 >conftest.err
8996 cat conftest.err >&5
8997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8998 (exit $ac_status); } &&
8999 { ac_try='test -z "$ac_c_werror_flag"
9000 || test ! -s conftest.err'
9001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9005 (exit $ac_status); }; } &&
9006 { ac_try='test -s conftest$ac_exeext'
9007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9011 (exit $ac_status); }; }; then
9012 ac_cv_lib_dld_shl_load=yes
9014 echo "$as_me: failed program was:" >&5
9015 sed 's/^/| /' conftest.$ac_ext >&5
9017 ac_cv_lib_dld_shl_load=no
9019 rm -f conftest.err conftest.$ac_objext \
9020 conftest$ac_exeext conftest.$ac_ext
9021 LIBS=$ac_check_lib_save_LIBS
9023 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9024 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
9025 if test $ac_cv_lib_dld_shl_load = yes; then
9026 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
9028 echo "$as_me:$LINENO: checking for dlopen" >&5
9029 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
9030 if test "${ac_cv_func_dlopen+set}" = set; then
9031 echo $ECHO_N "(cached) $ECHO_C" >&6
9033 cat >conftest.$ac_ext <<_ACEOF
9036 cat confdefs.h >>conftest.$ac_ext
9037 cat >>conftest.$ac_ext <<_ACEOF
9038 /* end confdefs.h. */
9039 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9040 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9041 #define dlopen innocuous_dlopen
9043 /* System header to define __stub macros and hopefully few prototypes,
9044 which can conflict with char dlopen (); below.
9045 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9046 <limits.h> exists even on freestanding compilers. */
9049 # include <limits.h>
9051 # include <assert.h>
9056 /* Override any gcc2 internal prototype to avoid an error. */
9061 /* We use char because int might match the return type of a gcc2
9062 builtin and then its argument prototype would still apply. */
9064 /* The GNU C library defines this for functions which it implements
9065 to always fail with ENOSYS. Some functions are actually named
9066 something starting with __ and the normal name is an alias. */
9067 #if defined (__stub_dlopen) || defined (__stub___dlopen)
9070 char (*f) () = dlopen;
9084 rm -f conftest.$ac_objext conftest$ac_exeext
9085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9086 (eval $ac_link) 2>conftest.er1
9088 grep -v '^ *+' conftest.er1 >conftest.err
9090 cat conftest.err >&5
9091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9092 (exit $ac_status); } &&
9093 { ac_try='test -z "$ac_c_werror_flag"
9094 || test ! -s conftest.err'
9095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9099 (exit $ac_status); }; } &&
9100 { ac_try='test -s conftest$ac_exeext'
9101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9105 (exit $ac_status); }; }; then
9106 ac_cv_func_dlopen=yes
9108 echo "$as_me: failed program was:" >&5
9109 sed 's/^/| /' conftest.$ac_ext >&5
9111 ac_cv_func_dlopen=no
9113 rm -f conftest.err conftest.$ac_objext \
9114 conftest$ac_exeext conftest.$ac_ext
9116 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9117 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
9118 if test $ac_cv_func_dlopen = yes; then
9119 lt_cv_dlopen="dlopen"
9121 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9122 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9123 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9124 echo $ECHO_N "(cached) $ECHO_C" >&6
9126 ac_check_lib_save_LIBS=$LIBS
9128 cat >conftest.$ac_ext <<_ACEOF
9131 cat confdefs.h >>conftest.$ac_ext
9132 cat >>conftest.$ac_ext <<_ACEOF
9133 /* end confdefs.h. */
9135 /* Override any gcc2 internal prototype to avoid an error. */
9139 /* We use char because int might match the return type of a gcc2
9140 builtin and then its argument prototype would still apply. */
9150 rm -f conftest.$ac_objext conftest$ac_exeext
9151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9152 (eval $ac_link) 2>conftest.er1
9154 grep -v '^ *+' conftest.er1 >conftest.err
9156 cat conftest.err >&5
9157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9158 (exit $ac_status); } &&
9159 { ac_try='test -z "$ac_c_werror_flag"
9160 || test ! -s conftest.err'
9161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9165 (exit $ac_status); }; } &&
9166 { ac_try='test -s conftest$ac_exeext'
9167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9171 (exit $ac_status); }; }; then
9172 ac_cv_lib_dl_dlopen=yes
9174 echo "$as_me: failed program was:" >&5
9175 sed 's/^/| /' conftest.$ac_ext >&5
9177 ac_cv_lib_dl_dlopen=no
9179 rm -f conftest.err conftest.$ac_objext \
9180 conftest$ac_exeext conftest.$ac_ext
9181 LIBS=$ac_check_lib_save_LIBS
9183 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9184 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9185 if test $ac_cv_lib_dl_dlopen = yes; then
9186 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9188 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9189 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
9190 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9191 echo $ECHO_N "(cached) $ECHO_C" >&6
9193 ac_check_lib_save_LIBS=$LIBS
9195 cat >conftest.$ac_ext <<_ACEOF
9198 cat confdefs.h >>conftest.$ac_ext
9199 cat >>conftest.$ac_ext <<_ACEOF
9200 /* end confdefs.h. */
9202 /* Override any gcc2 internal prototype to avoid an error. */
9206 /* We use char because int might match the return type of a gcc2
9207 builtin and then its argument prototype would still apply. */
9217 rm -f conftest.$ac_objext conftest$ac_exeext
9218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9219 (eval $ac_link) 2>conftest.er1
9221 grep -v '^ *+' conftest.er1 >conftest.err
9223 cat conftest.err >&5
9224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9225 (exit $ac_status); } &&
9226 { ac_try='test -z "$ac_c_werror_flag"
9227 || test ! -s conftest.err'
9228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9232 (exit $ac_status); }; } &&
9233 { ac_try='test -s conftest$ac_exeext'
9234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9238 (exit $ac_status); }; }; then
9239 ac_cv_lib_svld_dlopen=yes
9241 echo "$as_me: failed program was:" >&5
9242 sed 's/^/| /' conftest.$ac_ext >&5
9244 ac_cv_lib_svld_dlopen=no
9246 rm -f conftest.err conftest.$ac_objext \
9247 conftest$ac_exeext conftest.$ac_ext
9248 LIBS=$ac_check_lib_save_LIBS
9250 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9251 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
9252 if test $ac_cv_lib_svld_dlopen = yes; then
9253 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
9255 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9256 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
9257 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9258 echo $ECHO_N "(cached) $ECHO_C" >&6
9260 ac_check_lib_save_LIBS=$LIBS
9262 cat >conftest.$ac_ext <<_ACEOF
9265 cat confdefs.h >>conftest.$ac_ext
9266 cat >>conftest.$ac_ext <<_ACEOF
9267 /* end confdefs.h. */
9269 /* Override any gcc2 internal prototype to avoid an error. */
9273 /* We use char because int might match the return type of a gcc2
9274 builtin and then its argument prototype would still apply. */
9284 rm -f conftest.$ac_objext conftest$ac_exeext
9285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9286 (eval $ac_link) 2>conftest.er1
9288 grep -v '^ *+' conftest.er1 >conftest.err
9290 cat conftest.err >&5
9291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9292 (exit $ac_status); } &&
9293 { ac_try='test -z "$ac_c_werror_flag"
9294 || test ! -s conftest.err'
9295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9299 (exit $ac_status); }; } &&
9300 { ac_try='test -s conftest$ac_exeext'
9301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9305 (exit $ac_status); }; }; then
9306 ac_cv_lib_dld_dld_link=yes
9308 echo "$as_me: failed program was:" >&5
9309 sed 's/^/| /' conftest.$ac_ext >&5
9311 ac_cv_lib_dld_dld_link=no
9313 rm -f conftest.err conftest.$ac_objext \
9314 conftest$ac_exeext conftest.$ac_ext
9315 LIBS=$ac_check_lib_save_LIBS
9317 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9318 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
9319 if test $ac_cv_lib_dld_dld_link = yes; then
9320 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
9341 if test "x$lt_cv_dlopen" != xno; then
9347 case $lt_cv_dlopen in
9349 save_CPPFLAGS="$CPPFLAGS"
9350 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
9352 save_LDFLAGS="$LDFLAGS"
9353 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
9356 LIBS="$lt_cv_dlopen_libs $LIBS"
9358 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9359 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
9360 if test "${lt_cv_dlopen_self+set}" = set; then
9361 echo $ECHO_N "(cached) $ECHO_C" >&6
9363 if test "$cross_compiling" = yes; then :
9364 lt_cv_dlopen_self=cross
9366 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9367 lt_status=$lt_dlunknown
9368 cat > conftest.$ac_ext <<_LT_EOF
9369 #line 9369 "configure"
9370 #include "confdefs.h"
9379 # define LT_DLGLOBAL RTLD_GLOBAL
9382 # define LT_DLGLOBAL DL_GLOBAL
9384 # define LT_DLGLOBAL 0
9388 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9389 find out it does not work in some platform. */
9390 #ifndef LT_DLLAZY_OR_NOW
9392 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9395 # define LT_DLLAZY_OR_NOW DL_LAZY
9398 # define LT_DLLAZY_OR_NOW RTLD_NOW
9401 # define LT_DLLAZY_OR_NOW DL_NOW
9403 # define LT_DLLAZY_OR_NOW 0
9411 extern "C" void exit (int);
9414 void fnord() { int i=42;}
9417 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9418 int status = $lt_dlunknown;
9422 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9423 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9424 /* dlclose (self); */
9432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9433 (eval $ac_link) 2>&5
9435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9436 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9437 (./conftest; exit; ) >&5 2>/dev/null
9440 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
9441 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
9442 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
9445 # compilation failed
9446 lt_cv_dlopen_self=no
9453 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9454 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
9456 if test "x$lt_cv_dlopen_self" = xyes; then
9457 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
9458 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9459 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
9460 if test "${lt_cv_dlopen_self_static+set}" = set; then
9461 echo $ECHO_N "(cached) $ECHO_C" >&6
9463 if test "$cross_compiling" = yes; then :
9464 lt_cv_dlopen_self_static=cross
9466 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9467 lt_status=$lt_dlunknown
9468 cat > conftest.$ac_ext <<_LT_EOF
9469 #line 9469 "configure"
9470 #include "confdefs.h"
9479 # define LT_DLGLOBAL RTLD_GLOBAL
9482 # define LT_DLGLOBAL DL_GLOBAL
9484 # define LT_DLGLOBAL 0
9488 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9489 find out it does not work in some platform. */
9490 #ifndef LT_DLLAZY_OR_NOW
9492 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9495 # define LT_DLLAZY_OR_NOW DL_LAZY
9498 # define LT_DLLAZY_OR_NOW RTLD_NOW
9501 # define LT_DLLAZY_OR_NOW DL_NOW
9503 # define LT_DLLAZY_OR_NOW 0
9511 extern "C" void exit (int);
9514 void fnord() { int i=42;}
9517 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9518 int status = $lt_dlunknown;
9522 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9523 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9524 /* dlclose (self); */
9532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9533 (eval $ac_link) 2>&5
9535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9536 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9537 (./conftest; exit; ) >&5 2>/dev/null
9540 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
9541 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
9542 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
9545 # compilation failed
9546 lt_cv_dlopen_self_static=no
9553 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
9554 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
9557 CPPFLAGS="$save_CPPFLAGS"
9558 LDFLAGS="$save_LDFLAGS"
9563 case $lt_cv_dlopen_self in
9564 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
9565 *) enable_dlopen_self=unknown ;;
9568 case $lt_cv_dlopen_self_static in
9569 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
9570 *) enable_dlopen_self_static=unknown ;;
9592 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9593 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
9594 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
9595 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
9596 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
9597 echo "$as_me:$LINENO: result: yes" >&5
9598 echo "${ECHO_T}yes" >&6
9600 # FIXME - insert some real tests, host_os isn't really good enough
9603 if test -n "$STRIP" ; then
9604 striplib="$STRIP -x"
9605 old_striplib="$STRIP -S"
9606 echo "$as_me:$LINENO: result: yes" >&5
9607 echo "${ECHO_T}yes" >&6
9609 echo "$as_me:$LINENO: result: no" >&5
9610 echo "${ECHO_T}no" >&6
9614 echo "$as_me:$LINENO: result: no" >&5
9615 echo "${ECHO_T}no" >&6
9631 # Report which library types will actually be built
9632 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9633 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
9634 echo "$as_me:$LINENO: result: $can_build_shared" >&5
9635 echo "${ECHO_T}$can_build_shared" >&6
9637 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
9638 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
9639 test "$can_build_shared" = "no" && enable_shared=no
9641 # On AIX, shared libraries and static libraries use the same namespace, and
9642 # are all built from PIC.
9645 test "$enable_shared" = yes && enable_static=no
9646 if test -n "$RANLIB"; then
9647 archive_cmds="$archive_cmds~\$RANLIB \$lib"
9648 postinstall_cmds='$RANLIB $lib'
9653 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
9654 test "$enable_shared" = yes && enable_static=no
9658 echo "$as_me:$LINENO: result: $enable_shared" >&5
9659 echo "${ECHO_T}$enable_shared" >&6
9661 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
9662 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
9663 # Make sure either enable_shared or enable_static is yes.
9664 test "$enable_shared" = yes || enable_static=yes
9665 echo "$as_me:$LINENO: result: $enable_static" >&5
9666 echo "${ECHO_T}$enable_static" >&6
9673 ac_cpp='$CPP $CPPFLAGS'
9674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9692 ac_config_commands="$ac_config_commands libtool"
9701 # Check whether --enable-targets or --disable-targets was given.
9702 if test "${enable_targets+set}" = set; then
9703 enableval="$enable_targets"
9704 case "${enableval}" in
9705 yes | "") { { echo "$as_me:$LINENO: error: enable-targets option must specify target names or 'all'" >&5
9706 echo "$as_me: error: enable-targets option must specify target names or 'all'" >&2;}
9707 { (exit 1); exit 1; }; }
9709 no) enable_targets= ;;
9710 *) enable_targets=$enableval ;;
9712 fi; # Check whether --enable-commonbfdlib or --disable-commonbfdlib was given.
9713 if test "${enable_commonbfdlib+set}" = set; then
9714 enableval="$enable_commonbfdlib"
9715 case "${enableval}" in
9716 yes) commonbfdlib=true ;;
9717 no) commonbfdlib=false ;;
9718 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for opcodes commonbfdlib option" >&5
9719 echo "$as_me: error: bad value ${enableval} for opcodes commonbfdlib option" >&2;}
9720 { (exit 1); exit 1; }; } ;;
9724 GCC_WARN_CFLAGS="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
9726 # Check whether --enable-werror or --disable-werror was given.
9727 if test "${enable_werror+set}" = set; then
9728 enableval="$enable_werror"
9729 case "${enableval}" in
9730 yes | y) ERROR_ON_WARNING="yes" ;;
9731 no | n) ERROR_ON_WARNING="no" ;;
9732 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
9733 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
9734 { (exit 1); exit 1; }; } ;;
9738 # Enable -Werror by default when using gcc
9739 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
9740 ERROR_ON_WARNING=yes
9744 if test "${ERROR_ON_WARNING}" = yes ; then
9745 GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Werror"
9746 NO_WERROR="-Wno-error"
9749 if test "${GCC}" = yes ; then
9750 WARN_CFLAGS="${GCC_WARN_CFLAGS}"
9753 # Check whether --enable-build-warnings or --disable-build-warnings was given.
9754 if test "${enable_build_warnings+set}" = set; then
9755 enableval="$enable_build_warnings"
9756 case "${enableval}" in
9757 yes) WARN_CFLAGS="${GCC_WARN_CFLAGS}";;
9758 no) if test "${GCC}" = yes ; then
9761 ,*) t=`echo "${enableval}" | sed -e "s/,/ /g"`
9762 WARN_CFLAGS="${GCC_WARN_CFLAGS} ${t}";;
9763 *,) t=`echo "${enableval}" | sed -e "s/,/ /g"`
9764 WARN_CFLAGS="${t} ${GCC_WARN_CFLAGS}";;
9765 *) WARN_CFLAGS=`echo "${enableval}" | sed -e "s/,/ /g"`;;
9769 if test x"$silent" != x"yes" && test x"$WARN_CFLAGS" != x""; then
9770 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
9777 ac_config_headers="$ac_config_headers config.h:config.in"
9780 if test -z "$target" ; then
9781 { { echo "$as_me:$LINENO: error: Unrecognized target system type; please check config.sub." >&5
9782 echo "$as_me: error: Unrecognized target system type; please check config.sub." >&2;}
9783 { (exit 1); exit 1; }; }
9786 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
9787 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
9788 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
9789 if test "${enable_maintainer_mode+set}" = set; then
9790 enableval="$enable_maintainer_mode"
9791 USE_MAINTAINER_MODE=$enableval
9793 USE_MAINTAINER_MODE=no
9795 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
9796 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
9799 if test $USE_MAINTAINER_MODE = yes; then
9800 MAINTAINER_MODE_TRUE=
9801 MAINTAINER_MODE_FALSE='#'
9803 MAINTAINER_MODE_TRUE='#'
9804 MAINTAINER_MODE_FALSE=
9807 MAINT=$MAINTAINER_MODE_TRUE
9810 case ${build_alias} in
9811 "") build_noncanonical=${build} ;;
9812 *) build_noncanonical=${build_alias} ;;
9815 case ${host_alias} in
9816 "") host_noncanonical=${build_noncanonical} ;;
9817 *) host_noncanonical=${host_alias} ;;
9820 case ${target_alias} in
9821 "") target_noncanonical=${host_noncanonical} ;;
9822 *) target_noncanonical=${target_alias} ;;
9825 echo "$as_me:$LINENO: checking whether to install libbfd" >&5
9826 echo $ECHO_N "checking whether to install libbfd... $ECHO_C" >&6
9827 # Check whether --enable-install-libbfd or --disable-install-libbfd was given.
9828 if test "${enable_install_libbfd+set}" = set; then
9829 enableval="$enable_install_libbfd"
9830 install_libbfd_p=$enableval
9832 if test "${host}" = "${target}" || test "$enable_shared" = "yes"; then
9833 install_libbfd_p=yes
9838 echo "$as_me:$LINENO: result: $install_libbfd_p" >&5
9839 echo "${ECHO_T}$install_libbfd_p" >&6
9842 if test $install_libbfd_p = yes; then
9843 INSTALL_LIBBFD_TRUE=
9844 INSTALL_LIBBFD_FALSE='#'
9846 INSTALL_LIBBFD_TRUE='#'
9847 INSTALL_LIBBFD_FALSE=
9850 # Need _noncanonical variables for this.
9855 # libbfd.a is a host library containing target dependent code
9856 bfdlibdir='$(libdir)'
9857 bfdincludedir='$(includedir)'
9858 if test "${host}" != "${target}"; then
9859 bfdlibdir='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/lib'
9860 bfdincludedir='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/include'
9868 # host-specific stuff:
9871 ac_cpp='$CPP $CPPFLAGS'
9872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9875 if test -n "$ac_tool_prefix"; then
9876 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
9877 set dummy ${ac_tool_prefix}gcc; ac_word=$2
9878 echo "$as_me:$LINENO: checking for $ac_word" >&5
9879 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9880 if test "${ac_cv_prog_CC+set}" = set; then
9881 echo $ECHO_N "(cached) $ECHO_C" >&6
9883 if test -n "$CC"; then
9884 ac_cv_prog_CC="$CC" # Let the user override the test.
9886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9890 test -z "$as_dir" && as_dir=.
9891 for ac_exec_ext in '' $ac_executable_extensions; do
9892 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9893 ac_cv_prog_CC="${ac_tool_prefix}gcc"
9894 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9903 if test -n "$CC"; then
9904 echo "$as_me:$LINENO: result: $CC" >&5
9905 echo "${ECHO_T}$CC" >&6
9907 echo "$as_me:$LINENO: result: no" >&5
9908 echo "${ECHO_T}no" >&6
9912 if test -z "$ac_cv_prog_CC"; then
9914 # Extract the first word of "gcc", so it can be a program name with args.
9915 set dummy gcc; ac_word=$2
9916 echo "$as_me:$LINENO: checking for $ac_word" >&5
9917 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9918 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9919 echo $ECHO_N "(cached) $ECHO_C" >&6
9921 if test -n "$ac_ct_CC"; then
9922 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9928 test -z "$as_dir" && as_dir=.
9929 for ac_exec_ext in '' $ac_executable_extensions; do
9930 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9931 ac_cv_prog_ac_ct_CC="gcc"
9932 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9940 ac_ct_CC=$ac_cv_prog_ac_ct_CC
9941 if test -n "$ac_ct_CC"; then
9942 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9943 echo "${ECHO_T}$ac_ct_CC" >&6
9945 echo "$as_me:$LINENO: result: no" >&5
9946 echo "${ECHO_T}no" >&6
9954 if test -z "$CC"; then
9955 if test -n "$ac_tool_prefix"; then
9956 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
9957 set dummy ${ac_tool_prefix}cc; ac_word=$2
9958 echo "$as_me:$LINENO: checking for $ac_word" >&5
9959 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9960 if test "${ac_cv_prog_CC+set}" = set; then
9961 echo $ECHO_N "(cached) $ECHO_C" >&6
9963 if test -n "$CC"; then
9964 ac_cv_prog_CC="$CC" # Let the user override the test.
9966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9970 test -z "$as_dir" && as_dir=.
9971 for ac_exec_ext in '' $ac_executable_extensions; do
9972 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9973 ac_cv_prog_CC="${ac_tool_prefix}cc"
9974 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9983 if test -n "$CC"; then
9984 echo "$as_me:$LINENO: result: $CC" >&5
9985 echo "${ECHO_T}$CC" >&6
9987 echo "$as_me:$LINENO: result: no" >&5
9988 echo "${ECHO_T}no" >&6
9992 if test -z "$ac_cv_prog_CC"; then
9994 # Extract the first word of "cc", so it can be a program name with args.
9995 set dummy cc; ac_word=$2
9996 echo "$as_me:$LINENO: checking for $ac_word" >&5
9997 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9998 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9999 echo $ECHO_N "(cached) $ECHO_C" >&6
10001 if test -n "$ac_ct_CC"; then
10002 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10005 for as_dir in $PATH
10008 test -z "$as_dir" && as_dir=.
10009 for ac_exec_ext in '' $ac_executable_extensions; do
10010 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10011 ac_cv_prog_ac_ct_CC="cc"
10012 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10020 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10021 if test -n "$ac_ct_CC"; then
10022 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10023 echo "${ECHO_T}$ac_ct_CC" >&6
10025 echo "$as_me:$LINENO: result: no" >&5
10026 echo "${ECHO_T}no" >&6
10031 CC="$ac_cv_prog_CC"
10035 if test -z "$CC"; then
10036 # Extract the first word of "cc", so it can be a program name with args.
10037 set dummy cc; ac_word=$2
10038 echo "$as_me:$LINENO: checking for $ac_word" >&5
10039 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10040 if test "${ac_cv_prog_CC+set}" = set; then
10041 echo $ECHO_N "(cached) $ECHO_C" >&6
10043 if test -n "$CC"; then
10044 ac_cv_prog_CC="$CC" # Let the user override the test.
10046 ac_prog_rejected=no
10047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10048 for as_dir in $PATH
10051 test -z "$as_dir" && as_dir=.
10052 for ac_exec_ext in '' $ac_executable_extensions; do
10053 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10054 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10055 ac_prog_rejected=yes
10059 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10065 if test $ac_prog_rejected = yes; then
10066 # We found a bogon in the path, so make sure we never use it.
10067 set dummy $ac_cv_prog_CC
10069 if test $# != 0; then
10070 # We chose a different compiler from the bogus one.
10071 # However, it has the same basename, so the bogon will be chosen
10072 # first if we set CC to just the basename; use the full file name.
10074 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
10080 if test -n "$CC"; then
10081 echo "$as_me:$LINENO: result: $CC" >&5
10082 echo "${ECHO_T}$CC" >&6
10084 echo "$as_me:$LINENO: result: no" >&5
10085 echo "${ECHO_T}no" >&6
10089 if test -z "$CC"; then
10090 if test -n "$ac_tool_prefix"; then
10093 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10094 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10095 echo "$as_me:$LINENO: checking for $ac_word" >&5
10096 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10097 if test "${ac_cv_prog_CC+set}" = set; then
10098 echo $ECHO_N "(cached) $ECHO_C" >&6
10100 if test -n "$CC"; then
10101 ac_cv_prog_CC="$CC" # Let the user override the test.
10103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10104 for as_dir in $PATH
10107 test -z "$as_dir" && as_dir=.
10108 for ac_exec_ext in '' $ac_executable_extensions; do
10109 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10110 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
10111 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10120 if test -n "$CC"; then
10121 echo "$as_me:$LINENO: result: $CC" >&5
10122 echo "${ECHO_T}$CC" >&6
10124 echo "$as_me:$LINENO: result: no" >&5
10125 echo "${ECHO_T}no" >&6
10128 test -n "$CC" && break
10131 if test -z "$CC"; then
10135 # Extract the first word of "$ac_prog", so it can be a program name with args.
10136 set dummy $ac_prog; ac_word=$2
10137 echo "$as_me:$LINENO: checking for $ac_word" >&5
10138 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10139 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10140 echo $ECHO_N "(cached) $ECHO_C" >&6
10142 if test -n "$ac_ct_CC"; then
10143 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10146 for as_dir in $PATH
10149 test -z "$as_dir" && as_dir=.
10150 for ac_exec_ext in '' $ac_executable_extensions; do
10151 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10152 ac_cv_prog_ac_ct_CC="$ac_prog"
10153 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10161 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10162 if test -n "$ac_ct_CC"; then
10163 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10164 echo "${ECHO_T}$ac_ct_CC" >&6
10166 echo "$as_me:$LINENO: result: no" >&5
10167 echo "${ECHO_T}no" >&6
10170 test -n "$ac_ct_CC" && break
10179 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10180 See \`config.log' for more details." >&5
10181 echo "$as_me: error: no acceptable C compiler found in \$PATH
10182 See \`config.log' for more details." >&2;}
10183 { (exit 1); exit 1; }; }
10185 # Provide some information about the compiler.
10186 echo "$as_me:$LINENO:" \
10187 "checking for C compiler version" >&5
10188 ac_compiler=`set X $ac_compile; echo $2`
10189 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10190 (eval $ac_compiler --version </dev/null >&5) 2>&5
10192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10193 (exit $ac_status); }
10194 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10195 (eval $ac_compiler -v </dev/null >&5) 2>&5
10197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10198 (exit $ac_status); }
10199 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10200 (eval $ac_compiler -V </dev/null >&5) 2>&5
10202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10203 (exit $ac_status); }
10205 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10206 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10207 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10208 echo $ECHO_N "(cached) $ECHO_C" >&6
10210 cat >conftest.$ac_ext <<_ACEOF
10213 cat confdefs.h >>conftest.$ac_ext
10214 cat >>conftest.$ac_ext <<_ACEOF
10215 /* end confdefs.h. */
10228 rm -f conftest.$ac_objext
10229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10230 (eval $ac_compile) 2>conftest.er1
10232 grep -v '^ *+' conftest.er1 >conftest.err
10234 cat conftest.err >&5
10235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10236 (exit $ac_status); } &&
10237 { ac_try='test -z "$ac_c_werror_flag"
10238 || test ! -s conftest.err'
10239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10240 (eval $ac_try) 2>&5
10242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10243 (exit $ac_status); }; } &&
10244 { ac_try='test -s conftest.$ac_objext'
10245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10246 (eval $ac_try) 2>&5
10248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10249 (exit $ac_status); }; }; then
10250 ac_compiler_gnu=yes
10252 echo "$as_me: failed program was:" >&5
10253 sed 's/^/| /' conftest.$ac_ext >&5
10257 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10258 ac_cv_c_compiler_gnu=$ac_compiler_gnu
10261 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10262 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10263 GCC=`test $ac_compiler_gnu = yes && echo yes`
10264 ac_test_CFLAGS=${CFLAGS+set}
10265 ac_save_CFLAGS=$CFLAGS
10267 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10268 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10269 if test "${ac_cv_prog_cc_g+set}" = set; then
10270 echo $ECHO_N "(cached) $ECHO_C" >&6
10272 cat >conftest.$ac_ext <<_ACEOF
10275 cat confdefs.h >>conftest.$ac_ext
10276 cat >>conftest.$ac_ext <<_ACEOF
10277 /* end confdefs.h. */
10287 rm -f conftest.$ac_objext
10288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10289 (eval $ac_compile) 2>conftest.er1
10291 grep -v '^ *+' conftest.er1 >conftest.err
10293 cat conftest.err >&5
10294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10295 (exit $ac_status); } &&
10296 { ac_try='test -z "$ac_c_werror_flag"
10297 || test ! -s conftest.err'
10298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10299 (eval $ac_try) 2>&5
10301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10302 (exit $ac_status); }; } &&
10303 { ac_try='test -s conftest.$ac_objext'
10304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10305 (eval $ac_try) 2>&5
10307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10308 (exit $ac_status); }; }; then
10309 ac_cv_prog_cc_g=yes
10311 echo "$as_me: failed program was:" >&5
10312 sed 's/^/| /' conftest.$ac_ext >&5
10316 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10318 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10319 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10320 if test "$ac_test_CFLAGS" = set; then
10321 CFLAGS=$ac_save_CFLAGS
10322 elif test $ac_cv_prog_cc_g = yes; then
10323 if test "$GCC" = yes; then
10329 if test "$GCC" = yes; then
10335 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10336 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10337 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10338 echo $ECHO_N "(cached) $ECHO_C" >&6
10340 ac_cv_prog_cc_stdc=no
10342 cat >conftest.$ac_ext <<_ACEOF
10345 cat confdefs.h >>conftest.$ac_ext
10346 cat >>conftest.$ac_ext <<_ACEOF
10347 /* end confdefs.h. */
10348 #include <stdarg.h>
10350 #include <sys/types.h>
10351 #include <sys/stat.h>
10352 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10353 struct buf { int x; };
10354 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10355 static char *e (p, i)
10361 static char *f (char * (*g) (char **, int), char **p, ...)
10366 s = g (p, va_arg (v,int));
10371 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
10372 function prototypes and stuff, but not '\xHH' hex character constants.
10373 These don't provoke an error unfortunately, instead are silently treated
10374 as 'x'. The following induces an error, until -std1 is added to get
10375 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
10376 array size at least. It's necessary to write '\x00'==0 to get something
10377 that's true only with -std1. */
10378 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
10380 int test (int i, double x);
10381 struct s1 {int (*f) (int a);};
10382 struct s2 {int (*f) (double a);};
10383 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10389 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10394 # Don't try gcc -ansi; that turns off useful extensions and
10395 # breaks some systems' header files.
10396 # AIX -qlanglvl=ansi
10397 # Ultrix and OSF/1 -std1
10398 # HP-UX 10.20 and later -Ae
10399 # HP-UX older versions -Aa -D_HPUX_SOURCE
10400 # SVR4 -Xc -D__EXTENSIONS__
10401 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10403 CC="$ac_save_CC $ac_arg"
10404 rm -f conftest.$ac_objext
10405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10406 (eval $ac_compile) 2>conftest.er1
10408 grep -v '^ *+' conftest.er1 >conftest.err
10410 cat conftest.err >&5
10411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10412 (exit $ac_status); } &&
10413 { ac_try='test -z "$ac_c_werror_flag"
10414 || test ! -s conftest.err'
10415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10416 (eval $ac_try) 2>&5
10418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10419 (exit $ac_status); }; } &&
10420 { ac_try='test -s conftest.$ac_objext'
10421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10422 (eval $ac_try) 2>&5
10424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10425 (exit $ac_status); }; }; then
10426 ac_cv_prog_cc_stdc=$ac_arg
10429 echo "$as_me: failed program was:" >&5
10430 sed 's/^/| /' conftest.$ac_ext >&5
10433 rm -f conftest.err conftest.$ac_objext
10435 rm -f conftest.$ac_ext conftest.$ac_objext
10440 case "x$ac_cv_prog_cc_stdc" in
10442 echo "$as_me:$LINENO: result: none needed" >&5
10443 echo "${ECHO_T}none needed" >&6 ;;
10445 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10446 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10447 CC="$CC $ac_cv_prog_cc_stdc" ;;
10450 # Some people use a C++ compiler to compile C. Since we use `exit',
10451 # in C++ we need to declare it. In case someone uses the same compiler
10452 # for both compiling C and C++ we need to have the C++ compiler decide
10453 # the declaration of exit, since it's the most demanding environment.
10454 cat >conftest.$ac_ext <<_ACEOF
10455 #ifndef __cplusplus
10459 rm -f conftest.$ac_objext
10460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10461 (eval $ac_compile) 2>conftest.er1
10463 grep -v '^ *+' conftest.er1 >conftest.err
10465 cat conftest.err >&5
10466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10467 (exit $ac_status); } &&
10468 { ac_try='test -z "$ac_c_werror_flag"
10469 || test ! -s conftest.err'
10470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10471 (eval $ac_try) 2>&5
10473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10474 (exit $ac_status); }; } &&
10475 { ac_try='test -s conftest.$ac_objext'
10476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10477 (eval $ac_try) 2>&5
10479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10480 (exit $ac_status); }; }; then
10481 for ac_declaration in \
10483 'extern "C" void std::exit (int) throw (); using std::exit;' \
10484 'extern "C" void std::exit (int); using std::exit;' \
10485 'extern "C" void exit (int) throw ();' \
10486 'extern "C" void exit (int);' \
10489 cat >conftest.$ac_ext <<_ACEOF
10492 cat confdefs.h >>conftest.$ac_ext
10493 cat >>conftest.$ac_ext <<_ACEOF
10494 /* end confdefs.h. */
10496 #include <stdlib.h>
10505 rm -f conftest.$ac_objext
10506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10507 (eval $ac_compile) 2>conftest.er1
10509 grep -v '^ *+' conftest.er1 >conftest.err
10511 cat conftest.err >&5
10512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10513 (exit $ac_status); } &&
10514 { ac_try='test -z "$ac_c_werror_flag"
10515 || test ! -s conftest.err'
10516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10517 (eval $ac_try) 2>&5
10519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10520 (exit $ac_status); }; } &&
10521 { ac_try='test -s conftest.$ac_objext'
10522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10523 (eval $ac_try) 2>&5
10525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10526 (exit $ac_status); }; }; then
10529 echo "$as_me: failed program was:" >&5
10530 sed 's/^/| /' conftest.$ac_ext >&5
10534 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10535 cat >conftest.$ac_ext <<_ACEOF
10538 cat confdefs.h >>conftest.$ac_ext
10539 cat >>conftest.$ac_ext <<_ACEOF
10540 /* end confdefs.h. */
10550 rm -f conftest.$ac_objext
10551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10552 (eval $ac_compile) 2>conftest.er1
10554 grep -v '^ *+' conftest.er1 >conftest.err
10556 cat conftest.err >&5
10557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10558 (exit $ac_status); } &&
10559 { ac_try='test -z "$ac_c_werror_flag"
10560 || test ! -s conftest.err'
10561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10562 (eval $ac_try) 2>&5
10564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10565 (exit $ac_status); }; } &&
10566 { ac_try='test -s conftest.$ac_objext'
10567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10568 (eval $ac_try) 2>&5
10570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10571 (exit $ac_status); }; }; then
10574 echo "$as_me: failed program was:" >&5
10575 sed 's/^/| /' conftest.$ac_ext >&5
10578 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10581 if test -n "$ac_declaration"; then
10582 echo '#ifdef __cplusplus' >>confdefs.h
10583 echo $ac_declaration >>confdefs.h
10584 echo '#endif' >>confdefs.h
10588 echo "$as_me: failed program was:" >&5
10589 sed 's/^/| /' conftest.$ac_ext >&5
10592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10594 ac_cpp='$CPP $CPPFLAGS'
10595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10600 ALL_LINGUAS="fr sv tr es da de id pt_BR ro nl fi vi ga zh_CN"
10601 # If we haven't got the data from the intl directory,
10602 # assume NLS is disabled.
10611 if test -f ../intl/config.intl; then
10612 . ../intl/config.intl
10614 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
10615 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
10616 if test x"$USE_NLS" != xyes; then
10617 echo "$as_me:$LINENO: result: no" >&5
10618 echo "${ECHO_T}no" >&6
10620 echo "$as_me:$LINENO: result: yes" >&5
10621 echo "${ECHO_T}yes" >&6
10623 cat >>confdefs.h <<\_ACEOF
10624 #define ENABLE_NLS 1
10628 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
10629 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
10630 # Look for .po and .gmo files in the source directory.
10633 for cat in $srcdir/po/*.gmo $srcdir/po/*.po; do
10634 # If there aren't any .gmo files the shell will give us the
10635 # literal string "../path/to/srcdir/po/*.gmo" which has to be
10637 case "$cat" in *\**)
10640 # The quadruple backslash is collapsed to a double backslash
10641 # by the backticks, then collapsed again by the double quotes,
10642 # leaving us with one backslash in the sed expression (right
10643 # before the dot that mustn't act as a wildcard).
10644 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
10645 lang=`echo $cat | sed -e "s!\\\\.gmo!!"`
10646 # The user is allowed to set LINGUAS to a list of languages to
10647 # install catalogs for. If it's empty that means "all of them."
10648 if test "x$LINGUAS" = x; then
10649 CATALOGS="$CATALOGS $cat"
10650 XLINGUAS="$XLINGUAS $lang"
10652 case "$LINGUAS" in *$lang*)
10653 CATALOGS="$CATALOGS $cat"
10654 XLINGUAS="$XLINGUAS $lang"
10659 LINGUAS="$XLINGUAS"
10660 echo "$as_me:$LINENO: result: $LINGUAS" >&5
10661 echo "${ECHO_T}$LINGUAS" >&6
10675 if test -n "$ac_aux_dir"; then
10676 case "$ac_aux_dir" in
10677 /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
10678 *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
10681 if test -z "$MKINSTALLDIRS"; then
10682 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
10687 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
10688 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
10689 # Check whether --enable-nls or --disable-nls was given.
10690 if test "${enable_nls+set}" = set; then
10691 enableval="$enable_nls"
10696 echo "$as_me:$LINENO: result: $USE_NLS" >&5
10697 echo "${ECHO_T}$USE_NLS" >&6
10704 # Prepare PATH_SEPARATOR.
10705 # The user is always right.
10706 if test "${PATH_SEPARATOR+set}" != set; then
10707 echo "#! /bin/sh" >conf$$.sh
10708 echo "exit 0" >>conf$$.sh
10710 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
10718 # Find out how to test for executable files. Don't use a zero-byte file,
10719 # as systems may use methods other than mode bits to determine executability.
10720 cat >conf$$.file <<_ASEOF
10724 chmod +x conf$$.file
10725 if test -x conf$$.file >/dev/null 2>&1; then
10726 ac_executable_p="test -x"
10728 ac_executable_p="test -f"
10732 # Extract the first word of "msgfmt", so it can be a program name with args.
10733 set dummy msgfmt; ac_word=$2
10734 echo "$as_me:$LINENO: checking for $ac_word" >&5
10735 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10736 if test "${ac_cv_path_MSGFMT+set}" = set; then
10737 echo $ECHO_N "(cached) $ECHO_C" >&6
10741 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
10744 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
10745 for ac_dir in $PATH; do
10747 test -z "$ac_dir" && ac_dir=.
10748 for ac_exec_ext in '' $ac_executable_extensions; do
10749 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
10750 if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
10751 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
10752 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
10759 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
10763 MSGFMT="$ac_cv_path_MSGFMT"
10764 if test "$MSGFMT" != ":"; then
10765 echo "$as_me:$LINENO: result: $MSGFMT" >&5
10766 echo "${ECHO_T}$MSGFMT" >&6
10768 echo "$as_me:$LINENO: result: no" >&5
10769 echo "${ECHO_T}no" >&6
10772 # Extract the first word of "gmsgfmt", so it can be a program name with args.
10773 set dummy gmsgfmt; ac_word=$2
10774 echo "$as_me:$LINENO: checking for $ac_word" >&5
10775 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10776 if test "${ac_cv_path_GMSGFMT+set}" = set; then
10777 echo $ECHO_N "(cached) $ECHO_C" >&6
10781 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
10784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10785 for as_dir in $PATH
10788 test -z "$as_dir" && as_dir=.
10789 for ac_exec_ext in '' $ac_executable_extensions; do
10790 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10791 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
10792 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10798 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
10802 GMSGFMT=$ac_cv_path_GMSGFMT
10804 if test -n "$GMSGFMT"; then
10805 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
10806 echo "${ECHO_T}$GMSGFMT" >&6
10808 echo "$as_me:$LINENO: result: no" >&5
10809 echo "${ECHO_T}no" >&6
10814 # Prepare PATH_SEPARATOR.
10815 # The user is always right.
10816 if test "${PATH_SEPARATOR+set}" != set; then
10817 echo "#! /bin/sh" >conf$$.sh
10818 echo "exit 0" >>conf$$.sh
10820 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
10828 # Find out how to test for executable files. Don't use a zero-byte file,
10829 # as systems may use methods other than mode bits to determine executability.
10830 cat >conf$$.file <<_ASEOF
10834 chmod +x conf$$.file
10835 if test -x conf$$.file >/dev/null 2>&1; then
10836 ac_executable_p="test -x"
10838 ac_executable_p="test -f"
10842 # Extract the first word of "xgettext", so it can be a program name with args.
10843 set dummy xgettext; ac_word=$2
10844 echo "$as_me:$LINENO: checking for $ac_word" >&5
10845 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10846 if test "${ac_cv_path_XGETTEXT+set}" = set; then
10847 echo $ECHO_N "(cached) $ECHO_C" >&6
10849 case "$XGETTEXT" in
10851 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
10854 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
10855 for ac_dir in $PATH; do
10857 test -z "$ac_dir" && ac_dir=.
10858 for ac_exec_ext in '' $ac_executable_extensions; do
10859 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
10860 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
10861 (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
10862 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
10869 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
10873 XGETTEXT="$ac_cv_path_XGETTEXT"
10874 if test "$XGETTEXT" != ":"; then
10875 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
10876 echo "${ECHO_T}$XGETTEXT" >&6
10878 echo "$as_me:$LINENO: result: no" >&5
10879 echo "${ECHO_T}no" >&6
10885 # Prepare PATH_SEPARATOR.
10886 # The user is always right.
10887 if test "${PATH_SEPARATOR+set}" != set; then
10888 echo "#! /bin/sh" >conf$$.sh
10889 echo "exit 0" >>conf$$.sh
10891 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
10899 # Find out how to test for executable files. Don't use a zero-byte file,
10900 # as systems may use methods other than mode bits to determine executability.
10901 cat >conf$$.file <<_ASEOF
10905 chmod +x conf$$.file
10906 if test -x conf$$.file >/dev/null 2>&1; then
10907 ac_executable_p="test -x"
10909 ac_executable_p="test -f"
10913 # Extract the first word of "msgmerge", so it can be a program name with args.
10914 set dummy msgmerge; ac_word=$2
10915 echo "$as_me:$LINENO: checking for $ac_word" >&5
10916 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10917 if test "${ac_cv_path_MSGMERGE+set}" = set; then
10918 echo $ECHO_N "(cached) $ECHO_C" >&6
10920 case "$MSGMERGE" in
10922 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
10925 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
10926 for ac_dir in $PATH; do
10928 test -z "$ac_dir" && ac_dir=.
10929 for ac_exec_ext in '' $ac_executable_extensions; do
10930 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
10931 if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
10932 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
10939 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
10943 MSGMERGE="$ac_cv_path_MSGMERGE"
10944 if test "$MSGMERGE" != ":"; then
10945 echo "$as_me:$LINENO: result: $MSGMERGE" >&5
10946 echo "${ECHO_T}$MSGMERGE" >&6
10948 echo "$as_me:$LINENO: result: no" >&5
10949 echo "${ECHO_T}no" >&6
10953 if test "$GMSGFMT" != ":"; then
10954 if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
10955 (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
10958 GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
10959 echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
10960 echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
10965 if test "$XGETTEXT" != ":"; then
10966 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
10967 (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
10970 echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
10971 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
10977 ac_config_commands="$ac_config_commands default-1"
10981 . ${srcdir}/../bfd/configure.host
10983 # Put a plausible default for CC_FOR_BUILD in Makefile.
10984 if test -z "$CC_FOR_BUILD"; then
10985 if test "x$cross_compiling" = "xno"; then
10986 CC_FOR_BUILD='$(CC)'
10992 # Also set EXEEXT_FOR_BUILD.
10993 if test "x$cross_compiling" = "xno"; then
10994 EXEEXT_FOR_BUILD='$(EXEEXT)'
10996 echo "$as_me:$LINENO: checking for build system executable suffix" >&5
10997 echo $ECHO_N "checking for build system executable suffix... $ECHO_C" >&6
10998 if test "${bfd_cv_build_exeext+set}" = set; then
10999 echo $ECHO_N "(cached) $ECHO_C" >&6
11002 echo 'int main () { return 0; }' > conftest.c
11003 bfd_cv_build_exeext=
11004 ${CC_FOR_BUILD} -o conftest conftest.c 1>&5 2>&5
11005 for file in conftest.*; do
11007 *.c | *.o | *.obj | *.ilk | *.pdb) ;;
11008 *) bfd_cv_build_exeext=`echo $file | sed -e s/conftest//` ;;
11012 test x"${bfd_cv_build_exeext}" = x && bfd_cv_build_exeext=no
11014 echo "$as_me:$LINENO: result: $bfd_cv_build_exeext" >&5
11015 echo "${ECHO_T}$bfd_cv_build_exeext" >&6
11016 EXEEXT_FOR_BUILD=""
11017 test x"${bfd_cv_build_exeext}" != xno && EXEEXT_FOR_BUILD=${bfd_cv_build_exeext}
11022 # Find a good install program. We prefer a C program (faster),
11023 # so one script is as good as another. But avoid the broken or
11024 # incompatible versions:
11025 # SysV /etc/install, /usr/sbin/install
11026 # SunOS /usr/etc/install
11027 # IRIX /sbin/install
11029 # AmigaOS /C/install, which installs bootblocks on floppy discs
11030 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11031 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11032 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11033 # OS/2's system install, which has a completely different semantic
11034 # ./install, which can be erroneously created by make from ./install.sh.
11035 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11036 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11037 if test -z "$INSTALL"; then
11038 if test "${ac_cv_path_install+set}" = set; then
11039 echo $ECHO_N "(cached) $ECHO_C" >&6
11041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11042 for as_dir in $PATH
11045 test -z "$as_dir" && as_dir=.
11046 # Account for people who put trailing slashes in PATH elements.
11048 ./ | .// | /cC/* | \
11049 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
11050 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
11053 # OSF1 and SCO ODT 3.0 have their own names for install.
11054 # Don't use installbsd from OSF since it installs stuff as root
11056 for ac_prog in ginstall scoinst install; do
11057 for ac_exec_ext in '' $ac_executable_extensions; do
11058 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11059 if test $ac_prog = install &&
11060 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11061 # AIX install. It has an incompatible calling convention.
11063 elif test $ac_prog = install &&
11064 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11065 # program-specific install script used by HP pwplus--don't use.
11068 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
11080 if test "${ac_cv_path_install+set}" = set; then
11081 INSTALL=$ac_cv_path_install
11083 # As a last resort, use the slow shell script. We don't cache a
11084 # path for INSTALL within a source directory, because that will
11085 # break other packages using the cache if that directory is
11086 # removed, or if the path is relative.
11087 INSTALL=$ac_install_sh
11090 echo "$as_me:$LINENO: result: $INSTALL" >&5
11091 echo "${ECHO_T}$INSTALL" >&6
11093 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11094 # It thinks the first close brace ends the variable substitution.
11095 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
11097 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
11099 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
11105 for ac_header in string.h strings.h stdlib.h
11107 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11108 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11109 echo "$as_me:$LINENO: checking for $ac_header" >&5
11110 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11111 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11112 echo $ECHO_N "(cached) $ECHO_C" >&6
11114 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11115 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11117 # Is the header compilable?
11118 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11119 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11120 cat >conftest.$ac_ext <<_ACEOF
11123 cat confdefs.h >>conftest.$ac_ext
11124 cat >>conftest.$ac_ext <<_ACEOF
11125 /* end confdefs.h. */
11126 $ac_includes_default
11127 #include <$ac_header>
11129 rm -f conftest.$ac_objext
11130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11131 (eval $ac_compile) 2>conftest.er1
11133 grep -v '^ *+' conftest.er1 >conftest.err
11135 cat conftest.err >&5
11136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11137 (exit $ac_status); } &&
11138 { ac_try='test -z "$ac_c_werror_flag"
11139 || test ! -s conftest.err'
11140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11141 (eval $ac_try) 2>&5
11143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11144 (exit $ac_status); }; } &&
11145 { ac_try='test -s conftest.$ac_objext'
11146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11147 (eval $ac_try) 2>&5
11149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11150 (exit $ac_status); }; }; then
11151 ac_header_compiler=yes
11153 echo "$as_me: failed program was:" >&5
11154 sed 's/^/| /' conftest.$ac_ext >&5
11156 ac_header_compiler=no
11158 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11159 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11160 echo "${ECHO_T}$ac_header_compiler" >&6
11162 # Is the header present?
11163 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11164 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11165 cat >conftest.$ac_ext <<_ACEOF
11168 cat confdefs.h >>conftest.$ac_ext
11169 cat >>conftest.$ac_ext <<_ACEOF
11170 /* end confdefs.h. */
11171 #include <$ac_header>
11173 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11174 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11176 grep -v '^ *+' conftest.er1 >conftest.err
11178 cat conftest.err >&5
11179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11180 (exit $ac_status); } >/dev/null; then
11181 if test -s conftest.err; then
11182 ac_cpp_err=$ac_c_preproc_warn_flag
11183 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11190 if test -z "$ac_cpp_err"; then
11191 ac_header_preproc=yes
11193 echo "$as_me: failed program was:" >&5
11194 sed 's/^/| /' conftest.$ac_ext >&5
11196 ac_header_preproc=no
11198 rm -f conftest.err conftest.$ac_ext
11199 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11200 echo "${ECHO_T}$ac_header_preproc" >&6
11202 # So? What about this header?
11203 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11205 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11206 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11207 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11208 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11209 ac_header_preproc=yes
11212 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11213 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11214 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11215 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11216 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11217 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11218 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11219 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11220 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11221 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11222 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11223 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11226 ## ------------------------------------------ ##
11227 ## Report this to the AC_PACKAGE_NAME lists. ##
11228 ## ------------------------------------------ ##
11231 sed "s/^/$as_me: WARNING: /" >&2
11234 echo "$as_me:$LINENO: checking for $ac_header" >&5
11235 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11236 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11237 echo $ECHO_N "(cached) $ECHO_C" >&6
11239 eval "$as_ac_Header=\$ac_header_preproc"
11241 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11242 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11245 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11246 cat >>confdefs.h <<_ACEOF
11247 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11255 echo "$as_me:$LINENO: checking whether basename is declared" >&5
11256 echo $ECHO_N "checking whether basename is declared... $ECHO_C" >&6
11257 if test "${ac_cv_have_decl_basename+set}" = set; then
11258 echo $ECHO_N "(cached) $ECHO_C" >&6
11260 cat >conftest.$ac_ext <<_ACEOF
11263 cat confdefs.h >>conftest.$ac_ext
11264 cat >>conftest.$ac_ext <<_ACEOF
11265 /* end confdefs.h. */
11266 $ac_includes_default
11271 char *p = (char *) basename;
11278 rm -f conftest.$ac_objext
11279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11280 (eval $ac_compile) 2>conftest.er1
11282 grep -v '^ *+' conftest.er1 >conftest.err
11284 cat conftest.err >&5
11285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11286 (exit $ac_status); } &&
11287 { ac_try='test -z "$ac_c_werror_flag"
11288 || test ! -s conftest.err'
11289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11290 (eval $ac_try) 2>&5
11292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11293 (exit $ac_status); }; } &&
11294 { ac_try='test -s conftest.$ac_objext'
11295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11296 (eval $ac_try) 2>&5
11298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11299 (exit $ac_status); }; }; then
11300 ac_cv_have_decl_basename=yes
11302 echo "$as_me: failed program was:" >&5
11303 sed 's/^/| /' conftest.$ac_ext >&5
11305 ac_cv_have_decl_basename=no
11307 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11309 echo "$as_me:$LINENO: result: $ac_cv_have_decl_basename" >&5
11310 echo "${ECHO_T}$ac_cv_have_decl_basename" >&6
11311 if test $ac_cv_have_decl_basename = yes; then
11313 cat >>confdefs.h <<_ACEOF
11314 #define HAVE_DECL_BASENAME 1
11319 cat >>confdefs.h <<_ACEOF
11320 #define HAVE_DECL_BASENAME 0
11329 cgendir='$(srcdir)/../cgen'
11331 # Check whether --enable-cgen-maint or --disable-cgen-maint was given.
11332 if test "${enable_cgen_maint+set}" = set; then
11333 enableval="$enable_cgen_maint"
11334 case "${enableval}" in
11335 yes) cgen_maint=yes ;;
11336 no) cgen_maint=no ;;
11338 # argument is cgen install directory (not implemented yet).
11339 # Having a `share' directory might be more appropriate for the .scm,
11340 # .cpu, etc. files.
11342 cgendir=${cgen_maint}/lib/cgen
11347 if test x${cgen_maint} = xyes; then
11349 CGEN_MAINT_FALSE='#'
11351 CGEN_MAINT_TRUE='#'
11359 # Horrible hacks to build DLLs on Windows.
11364 if test "$enable_shared" = "yes"; then
11365 WIN32LDFLAGS="-no-undefined"
11366 WIN32LIBADD="-L`pwd`/../bfd -lbfd -L`pwd`/../libiberty -liberty -L`pwd`/../intl -lintl -lcygwin"
11373 # target-specific stuff:
11375 # Canonicalize the secondary target names.
11376 if test -n "$enable_targets" ; then
11377 for targ in `echo $enable_targets | sed 's/,/ /g'`
11379 result=`$ac_config_sub $targ 2>/dev/null`
11380 if test -n "$result" ; then
11381 canon_targets="$canon_targets $result"
11383 # Allow targets that config.sub doesn't recognize, like "all".
11384 canon_targets="$canon_targets $targ"
11391 for targ in $target $canon_targets
11393 if test "x$targ" = "xall" ; then
11396 . $srcdir/../bfd/config.bfd
11397 selarchs="$selarchs $targ_archs"
11401 # Utility var, documents generic cgen support files.
11403 cgen_files="cgen-opc.lo cgen-asm.lo cgen-dis.lo cgen-bitset.lo"
11405 # We don't do any links based on the target system, just makefile config.
11407 if test x${all_targets} = xfalse ; then
11409 # Target architecture .o files.
11412 for arch in $selarchs
11414 ad=`echo $arch | sed -e s/bfd_//g -e s/_arch//g`
11415 archdefs="$archdefs -DARCH_$ad"
11417 bfd_alpha_arch) ta="$ta alpha-dis.lo alpha-opc.lo" ;;
11418 bfd_arc_arch) ta="$ta arc-dis.lo arc-opc.lo arc-ext.lo" ;;
11419 bfd_arm_arch) ta="$ta arm-dis.lo" ;;
11420 bfd_avr_arch) ta="$ta avr-dis.lo" ;;
11421 bfd_bfin_arch) ta="$ta bfin-dis.lo" ;;
11422 bfd_cris_arch) ta="$ta cris-dis.lo cris-opc.lo cgen-bitset.lo" ;;
11423 bfd_crx_arch) ta="$ta crx-dis.lo crx-opc.lo" ;;
11424 bfd_d10v_arch) ta="$ta d10v-dis.lo d10v-opc.lo" ;;
11425 bfd_d30v_arch) ta="$ta d30v-dis.lo d30v-opc.lo" ;;
11426 bfd_dlx_arch) ta="$ta dlx-dis.lo" ;;
11427 bfd_fr30_arch) ta="$ta fr30-asm.lo fr30-desc.lo fr30-dis.lo fr30-ibld.lo fr30-opc.lo" using_cgen=yes ;;
11428 bfd_frv_arch) ta="$ta frv-asm.lo frv-desc.lo frv-dis.lo frv-ibld.lo frv-opc.lo" using_cgen=yes ;;
11429 bfd_h8300_arch) ta="$ta h8300-dis.lo" ;;
11430 bfd_h8500_arch) ta="$ta h8500-dis.lo" ;;
11431 bfd_hppa_arch) ta="$ta hppa-dis.lo" ;;
11432 bfd_i370_arch) ta="$ta i370-dis.lo i370-opc.lo" ;;
11433 bfd_i386_arch) ta="$ta i386-dis.lo i386-opc.lo" ;;
11434 bfd_i860_arch) ta="$ta i860-dis.lo" ;;
11435 bfd_i960_arch) ta="$ta i960-dis.lo" ;;
11436 bfd_ia64_arch) ta="$ta ia64-dis.lo ia64-opc.lo" ;;
11437 bfd_ip2k_arch) ta="$ta ip2k-asm.lo ip2k-desc.lo ip2k-dis.lo ip2k-ibld.lo ip2k-opc.lo" using_cgen=yes ;;
11438 bfd_iq2000_arch) ta="$ta iq2000-asm.lo iq2000-desc.lo iq2000-dis.lo iq2000-ibld.lo iq2000-opc.lo" using_cgen=yes ;;
11439 bfd_m32c_arch) ta="$ta m32c-asm.lo m32c-desc.lo m32c-dis.lo m32c-ibld.lo m32c-opc.lo" using_cgen=yes ;;
11440 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 ;;
11441 bfd_m68hc11_arch) ta="$ta m68hc11-dis.lo m68hc11-opc.lo" ;;
11442 bfd_m68hc12_arch) ta="$ta m68hc11-dis.lo m68hc11-opc.lo" ;;
11443 bfd_m68k_arch) ta="$ta m68k-dis.lo m68k-opc.lo" ;;
11444 bfd_m88k_arch) ta="$ta m88k-dis.lo" ;;
11445 bfd_maxq_arch) ta="$ta maxq-dis.lo" ;;
11446 bfd_mcore_arch) ta="$ta mcore-dis.lo" ;;
11447 bfd_mep_arch) ta="$ta mep-asm.lo mep-desc.lo mep-dis.lo mep-ibld.lo mep-opc.lo" using_cgen=yes ;;
11448 bfd_mips_arch) ta="$ta mips-dis.lo mips-opc.lo mips16-opc.lo" ;;
11449 bfd_mmix_arch) ta="$ta mmix-dis.lo mmix-opc.lo" ;;
11450 bfd_mn10200_arch) ta="$ta m10200-dis.lo m10200-opc.lo" ;;
11451 bfd_mn10300_arch) ta="$ta m10300-dis.lo m10300-opc.lo" ;;
11452 bfd_mt_arch) ta="$ta mt-asm.lo mt-desc.lo mt-dis.lo mt-ibld.lo mt-opc.lo" using_cgen=yes ;;
11453 bfd_msp430_arch) ta="$ta msp430-dis.lo" ;;
11454 bfd_ns32k_arch) ta="$ta ns32k-dis.lo" ;;
11455 bfd_openrisc_arch) ta="$ta openrisc-asm.lo openrisc-desc.lo openrisc-dis.lo openrisc-ibld.lo openrisc-opc.lo" using_cgen=yes ;;
11456 bfd_or32_arch) ta="$ta or32-dis.lo or32-opc.lo" using_cgen=yes ;;
11457 bfd_pdp11_arch) ta="$ta pdp11-dis.lo pdp11-opc.lo" ;;
11458 bfd_pj_arch) ta="$ta pj-dis.lo pj-opc.lo" ;;
11459 bfd_powerpc_arch) ta="$ta ppc-dis.lo ppc-opc.lo" ;;
11460 bfd_powerpc_64_arch) ta="$ta ppc-dis.lo ppc-opc.lo" ;;
11461 bfd_pyramid_arch) ;;
11463 bfd_rs6000_arch) ta="$ta ppc-dis.lo ppc-opc.lo" ;;
11464 bfd_s390_arch) ta="$ta s390-dis.lo s390-opc.lo" ;;
11465 bfd_score_arch) ta="$ta score-dis.lo" ;;
11467 # We can't decide what we want just from the CPU family.
11468 # We want SH5 support unless a specific version of sh is
11469 # specified, as in sh3-elf, sh3b-linux-gnu, etc.
11470 # Include it just for ELF targets, since the SH5 bfd:s are ELF only.
11471 for t in $target $canon_targets; do
11473 all | sh5*-* | sh64*-* | sh-*-*elf* | shl*-*-*elf* | \
11474 sh-*-linux* | shl-*-linux*)
11475 ta="$ta sh64-dis.lo sh64-opc.lo"
11476 archdefs="$archdefs -DINCLUDE_SHMEDIA"
11480 ta="$ta sh-dis.lo cgen-bitset.lo" ;;
11481 bfd_sparc_arch) ta="$ta sparc-dis.lo sparc-opc.lo" ;;
11482 bfd_spu_arch) ta="$ta spu-dis.lo spu-opc.lo" ;;
11484 bfd_tic30_arch) ta="$ta tic30-dis.lo" ;;
11485 bfd_tic4x_arch) ta="$ta tic4x-dis.lo" ;;
11486 bfd_tic54x_arch) ta="$ta tic54x-dis.lo tic54x-opc.lo" ;;
11487 bfd_tic80_arch) ta="$ta tic80-dis.lo tic80-opc.lo" ;;
11488 bfd_v850_arch) ta="$ta v850-opc.lo v850-dis.lo" ;;
11489 bfd_v850e_arch) ta="$ta v850-opc.lo v850-dis.lo" ;;
11490 bfd_v850ea_arch) ta="$ta v850-opc.lo v850-dis.lo" ;;
11491 bfd_vax_arch) ta="$ta vax-dis.lo" ;;
11492 bfd_w65_arch) ta="$ta w65-dis.lo" ;;
11494 bfd_xc16x_arch) ta="$ta xc16x-asm.lo xc16x-desc.lo xc16x-dis.lo xc16x-ibld.lo xc16x-opc.lo" using_cgen=yes ;;
11495 bfd_xstormy16_arch) ta="$ta xstormy16-asm.lo xstormy16-desc.lo xstormy16-dis.lo xstormy16-ibld.lo xstormy16-opc.lo" using_cgen=yes ;;
11496 bfd_xtensa_arch) ta="$ta xtensa-dis.lo" ;;
11497 bfd_z80_arch) ta="$ta z80-dis.lo" ;;
11498 bfd_z8k_arch) ta="$ta z8k-dis.lo" ;;
11501 *) { { echo "$as_me:$LINENO: error: *** unknown target architecture $arch" >&5
11502 echo "$as_me: error: *** unknown target architecture $arch" >&2;}
11503 { (exit 1); exit 1; }; } ;;
11507 if test $using_cgen = yes ; then
11508 ta="$ta $cgen_files"
11511 # Weed out duplicate .o files.
11521 # And duplicate -D flags.
11523 for i in $archdefs ; do
11533 else # all_targets is true
11534 archdefs=-DARCH_all
11535 BFD_MACHINES='$(ALL_MACHINES)'
11541 ac_config_files="$ac_config_files Makefile po/Makefile.in:po/Make-in"
11543 cat >confcache <<\_ACEOF
11544 # This file is a shell script that caches the results of configure
11545 # tests run on this system so they can be shared between configure
11546 # scripts and configure runs, see configure's option --config-cache.
11547 # It is not useful on other systems. If it contains results you don't
11548 # want to keep, you may remove or edit it.
11550 # config.status only pays attention to the cache file if you give it
11551 # the --recheck option to rerun configure.
11553 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11554 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11555 # following values.
11559 # The following way of writing the cache mishandles newlines in values,
11560 # but we know of no workaround that is simple, portable, and efficient.
11561 # So, don't put newlines in cache variables' values.
11562 # Ultrix sh set writes to stderr and can't be redirected directly,
11563 # and sets the high bit in the cache file unless we assign to the vars.
11566 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11568 # `set' does not quote correctly, so add quotes (double-quote
11569 # substitution turns \\\\ into \\, and sed turns \\ into \).
11572 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11575 # `set' quotes correctly as required by POSIX, so do not add quotes.
11577 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11584 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11586 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11588 if diff $cache_file confcache >/dev/null 2>&1; then :; else
11589 if test -w $cache_file; then
11590 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11591 cat confcache >$cache_file
11593 echo "not updating unwritable cache $cache_file"
11598 test "x$prefix" = xNONE && prefix=$ac_default_prefix
11599 # Let make expand exec_prefix.
11600 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
11602 # VPATH may cause trouble with some makes, so we remove $(srcdir),
11603 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
11604 # trailing colons and then remove the whole line if VPATH becomes empty
11605 # (actually we leave an empty line to preserve line numbers).
11606 if test "x$srcdir" = x.; then
11607 ac_vpsub='/^[ ]*VPATH[ ]*=/{
11608 s/:*\$(srcdir):*/:/;
11609 s/:*\${srcdir}:*/:/;
11611 s/^\([^=]*=[ ]*\):*/\1/;
11617 DEFS=-DHAVE_CONFIG_H
11621 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
11622 # 1. Remove the extension, and $U if already installed.
11623 ac_i=`echo "$ac_i" |
11624 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
11626 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
11627 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
11629 LIBOBJS=$ac_libobjs
11631 LTLIBOBJS=$ac_ltlibobjs
11634 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
11635 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
11636 Usually this means the macro was only invoked conditionally." >&5
11637 echo "$as_me: error: conditional \"AMDEP\" was never defined.
11638 Usually this means the macro was only invoked conditionally." >&2;}
11639 { (exit 1); exit 1; }; }
11641 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11642 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
11643 Usually this means the macro was only invoked conditionally." >&5
11644 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
11645 Usually this means the macro was only invoked conditionally." >&2;}
11646 { (exit 1); exit 1; }; }
11648 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
11649 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
11650 Usually this means the macro was only invoked conditionally." >&5
11651 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
11652 Usually this means the macro was only invoked conditionally." >&2;}
11653 { (exit 1); exit 1; }; }
11655 if test -z "${INSTALL_LIBBFD_TRUE}" && test -z "${INSTALL_LIBBFD_FALSE}"; then
11656 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_LIBBFD\" was never defined.
11657 Usually this means the macro was only invoked conditionally." >&5
11658 echo "$as_me: error: conditional \"INSTALL_LIBBFD\" was never defined.
11659 Usually this means the macro was only invoked conditionally." >&2;}
11660 { (exit 1); exit 1; }; }
11662 if test -z "${CGEN_MAINT_TRUE}" && test -z "${CGEN_MAINT_FALSE}"; then
11663 { { echo "$as_me:$LINENO: error: conditional \"CGEN_MAINT\" was never defined.
11664 Usually this means the macro was only invoked conditionally." >&5
11665 echo "$as_me: error: conditional \"CGEN_MAINT\" was never defined.
11666 Usually this means the macro was only invoked conditionally." >&2;}
11667 { (exit 1); exit 1; }; }
11670 : ${CONFIG_STATUS=./config.status}
11671 ac_clean_files_save=$ac_clean_files
11672 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
11673 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
11674 echo "$as_me: creating $CONFIG_STATUS" >&6;}
11675 cat >$CONFIG_STATUS <<_ACEOF
11677 # Generated by $as_me.
11678 # Run this file to recreate the current configuration.
11679 # Compiler output produced by configure, useful for debugging
11680 # configure, is in config.log if it exists.
11683 ac_cs_recheck=false
11685 SHELL=\${CONFIG_SHELL-$SHELL}
11688 cat >>$CONFIG_STATUS <<\_ACEOF
11689 ## --------------------- ##
11690 ## M4sh Initialization. ##
11691 ## --------------------- ##
11693 # Be Bourne compatible
11694 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
11697 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
11698 # is contrary to our usage. Disable this feature.
11699 alias -g '${1+"$@"}'='"$@"'
11700 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
11703 DUALCASE=1; export DUALCASE # for MKS sh
11705 # Support unset when possible.
11706 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
11713 # Work around bugs in pre-3.0 UWIN ksh.
11714 $as_unset ENV MAIL MAILPATH
11721 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
11722 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
11723 LC_TELEPHONE LC_TIME
11725 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
11726 eval $as_var=C; export $as_var
11732 # Required to use basename.
11733 if expr a : '\(a\)' >/dev/null 2>&1; then
11739 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
11740 as_basename=basename
11746 # Name of the executable.
11747 as_me=`$as_basename "$0" ||
11748 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11749 X"$0" : 'X\(//\)$' \| \
11750 X"$0" : 'X\(/\)$' \| \
11751 . : '\(.\)' 2>/dev/null ||
11753 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
11754 /^X\/\(\/\/\)$/{ s//\1/; q; }
11755 /^X\/\(\/\).*/{ s//\1/; q; }
11759 # PATH needs CR, and LINENO needs CR and PATH.
11760 # Avoid depending upon Character Ranges.
11761 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
11762 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11763 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
11764 as_cr_digits='0123456789'
11765 as_cr_alnum=$as_cr_Letters$as_cr_digits
11767 # The user is always right.
11768 if test "${PATH_SEPARATOR+set}" != set; then
11769 echo "#! /bin/sh" >conf$$.sh
11770 echo "exit 0" >>conf$$.sh
11772 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11781 as_lineno_1=$LINENO
11782 as_lineno_2=$LINENO
11783 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
11784 test "x$as_lineno_1" != "x$as_lineno_2" &&
11785 test "x$as_lineno_3" = "x$as_lineno_2" || {
11786 # Find who we are. Look in the path if we contain no path at all
11789 *[\\/]* ) as_myself=$0 ;;
11790 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11791 for as_dir in $PATH
11794 test -z "$as_dir" && as_dir=.
11795 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11800 # We did not find ourselves, most probably we were run as `sh COMMAND'
11801 # in which case we are not to be found in the path.
11802 if test "x$as_myself" = x; then
11805 if test ! -f "$as_myself"; then
11806 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
11807 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
11808 { (exit 1); exit 1; }; }
11810 case $CONFIG_SHELL in
11812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11813 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
11816 test -z "$as_dir" && as_dir=.
11817 for as_base in sh bash ksh sh5; do
11820 if ("$as_dir/$as_base" -c '
11821 as_lineno_1=$LINENO
11822 as_lineno_2=$LINENO
11823 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
11824 test "x$as_lineno_1" != "x$as_lineno_2" &&
11825 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
11826 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
11827 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
11828 CONFIG_SHELL=$as_dir/$as_base
11829 export CONFIG_SHELL
11830 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
11838 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
11839 # uniformly replaced by the line number. The first 'sed' inserts a
11840 # line-number line before each line; the second 'sed' does the real
11841 # work. The second script uses 'N' to pair each line-number line
11842 # with the numbered line, and appends trailing '-' during
11843 # substitution so that $LINENO is not a special case at line end.
11844 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
11845 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
11846 sed '=' <$as_myself |
11851 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
11854 s,^['$as_cr_digits']*\n,,
11855 ' >$as_me.lineno &&
11856 chmod +x $as_me.lineno ||
11857 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
11858 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
11859 { (exit 1); exit 1; }; }
11861 # Don't try to exec as it changes $[0], causing all sort of problems
11862 # (the dirname of $[0] is not the place where we might find the
11863 # original and so on. Autoconf is especially sensible to this).
11865 # Exit status is that of the last command.
11870 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
11871 *c*,-n*) ECHO_N= ECHO_C='
11873 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
11874 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
11877 if expr a : '\(a\)' >/dev/null 2>&1; then
11883 rm -f conf$$ conf$$.exe conf$$.file
11885 if ln -s conf$$.file conf$$ 2>/dev/null; then
11886 # We could just check for DJGPP; but this test a) works b) is more generic
11887 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
11888 if test -f conf$$.exe; then
11889 # Don't use ln at all; we don't have any links
11894 elif ln conf$$.file conf$$ 2>/dev/null; then
11899 rm -f conf$$ conf$$.exe conf$$.file
11901 if mkdir -p . 2>/dev/null; then
11904 test -d ./-p && rmdir ./-p
11908 as_executable_p="test -f"
11910 # Sed expression to map a string onto a valid CPP name.
11911 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11913 # Sed expression to map a string onto a valid variable name.
11914 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11918 # We need space, tab and new line, in precisely that order.
11928 # Open the log real soon, to keep \$[0] and so on meaningful, and to
11929 # report actual input values of CONFIG_FILES etc. instead of their
11930 # values after options handling. Logging --version etc. is OK.
11934 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11935 ## Running $as_me. ##
11940 This file was extended by $as_me, which was
11941 generated by GNU Autoconf 2.59. Invocation command line was
11943 CONFIG_FILES = $CONFIG_FILES
11944 CONFIG_HEADERS = $CONFIG_HEADERS
11945 CONFIG_LINKS = $CONFIG_LINKS
11946 CONFIG_COMMANDS = $CONFIG_COMMANDS
11950 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
11954 # Files that config.status was made for.
11955 if test -n "$ac_config_files"; then
11956 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
11959 if test -n "$ac_config_headers"; then
11960 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
11963 if test -n "$ac_config_links"; then
11964 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
11967 if test -n "$ac_config_commands"; then
11968 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
11971 cat >>$CONFIG_STATUS <<\_ACEOF
11974 \`$as_me' instantiates files from templates according to the
11975 current configuration.
11977 Usage: $0 [OPTIONS] [FILE]...
11979 -h, --help print this help, then exit
11980 -V, --version print version number, then exit
11981 -q, --quiet do not print progress messages
11982 -d, --debug don't remove temporary files
11983 --recheck update $as_me by reconfiguring in the same conditions
11984 --file=FILE[:TEMPLATE]
11985 instantiate the configuration file FILE
11986 --header=FILE[:TEMPLATE]
11987 instantiate the configuration header FILE
11989 Configuration files:
11992 Configuration headers:
11995 Configuration commands:
11998 Report bugs to <bug-autoconf@gnu.org>."
12001 cat >>$CONFIG_STATUS <<_ACEOF
12004 configured by $0, generated by GNU Autoconf 2.59,
12005 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
12007 Copyright (C) 2003 Free Software Foundation, Inc.
12008 This config.status script is free software; the Free Software Foundation
12009 gives unlimited permission to copy, distribute and modify it."
12014 cat >>$CONFIG_STATUS <<\_ACEOF
12015 # If no file are specified by the user, then we need to provide default
12016 # value. By we need to know if files were specified by the user.
12022 ac_option=`expr "x$1" : 'x\([^=]*\)='`
12023 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
12031 *) # This is not an option, so the user has probably given explicit
12034 ac_need_defaults=false;;
12038 # Handling of the options.
12040 cat >>$CONFIG_STATUS <<\_ACEOF
12041 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12043 --version | --vers* | -V )
12044 echo "$ac_cs_version"; exit 0 ;;
12046 # Conflict between --help and --header
12047 { { echo "$as_me:$LINENO: error: ambiguous option: $1
12048 Try \`$0 --help' for more information." >&5
12049 echo "$as_me: error: ambiguous option: $1
12050 Try \`$0 --help' for more information." >&2;}
12051 { (exit 1); exit 1; }; };;
12052 --help | --hel | -h )
12053 echo "$ac_cs_usage"; exit 0 ;;
12054 --debug | --d* | -d )
12056 --file | --fil | --fi | --f )
12058 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
12059 ac_need_defaults=false;;
12060 --header | --heade | --head | --hea )
12062 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
12063 ac_need_defaults=false;;
12064 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
12065 | -silent | --silent | --silen | --sile | --sil | --si | --s)
12068 # This is an error.
12069 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
12070 Try \`$0 --help' for more information." >&5
12071 echo "$as_me: error: unrecognized option: $1
12072 Try \`$0 --help' for more information." >&2;}
12073 { (exit 1); exit 1; }; } ;;
12075 *) ac_config_targets="$ac_config_targets $1" ;;
12081 ac_configure_extra_args=
12083 if $ac_cs_silent; then
12085 ac_configure_extra_args="$ac_configure_extra_args --silent"
12089 cat >>$CONFIG_STATUS <<_ACEOF
12090 if \$ac_cs_recheck; then
12091 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
12092 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12097 cat >>$CONFIG_STATUS <<_ACEOF
12099 # INIT-COMMANDS section.
12102 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12105 # The HP-UX ksh and POSIX shell print the target directory to stdout
12106 # if CDPATH is set.
12107 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12109 sed_quote_subst='$sed_quote_subst'
12110 double_quote_subst='$double_quote_subst'
12111 delay_variable_subst='$delay_variable_subst'
12112 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
12113 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
12114 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
12115 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
12116 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
12117 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
12118 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
12119 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
12120 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
12121 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
12122 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
12123 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
12124 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
12125 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
12126 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
12127 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
12128 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
12129 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
12130 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
12131 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
12132 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
12133 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
12134 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
12135 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
12136 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
12137 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
12138 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
12139 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12140 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
12141 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
12142 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
12143 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
12144 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
12145 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
12146 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12147 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12148 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12149 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
12150 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
12151 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
12152 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
12153 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
12154 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
12155 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"`'
12156 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
12157 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
12158 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
12159 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
12160 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
12161 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
12162 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
12163 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
12164 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
12165 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
12166 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
12167 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12168 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12169 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
12170 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
12171 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12172 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12173 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
12174 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12175 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12176 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12177 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12178 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12179 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12180 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
12181 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
12182 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
12183 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12184 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
12185 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
12186 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
12187 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
12188 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
12189 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12190 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
12191 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
12192 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
12193 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
12194 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
12195 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12196 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
12197 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
12198 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12199 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
12200 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
12201 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
12202 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
12203 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
12204 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12205 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12206 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
12207 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
12208 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
12209 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
12210 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12211 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12212 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12213 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
12214 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
12215 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
12216 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
12217 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
12218 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
12219 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
12220 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
12221 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
12222 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
12225 LTCFLAGS='$LTCFLAGS'
12226 compiler='$compiler_DEFAULT'
12228 # Quote evaled strings.
12239 deplibs_check_method \
12248 lt_cv_sys_global_symbol_pipe \
12249 lt_cv_sys_global_symbol_to_cdecl \
12250 lt_cv_sys_global_symbol_to_c_name_address \
12253 lt_prog_compiler_no_builtin_flag \
12254 lt_prog_compiler_wl \
12255 lt_prog_compiler_pic \
12256 lt_prog_compiler_static \
12257 lt_cv_prog_compiler_c_o \
12260 export_dynamic_flag_spec \
12261 whole_archive_flag_spec \
12262 compiler_needs_object \
12264 allow_undefined_flag \
12265 no_undefined_flag \
12266 hardcode_libdir_flag_spec \
12267 hardcode_libdir_flag_spec_ld \
12268 hardcode_libdir_separator \
12273 variables_saved_for_relink \
12275 library_names_spec \
12280 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
12281 *[\\\\\\\`\\"\\\$]*)
12282 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
12285 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12290 # Double-quote double-evaled strings.
12291 for var in reload_cmds \
12292 old_postinstall_cmds \
12293 old_postuninstall_cmds \
12295 extract_expsyms_cmds \
12296 old_archive_from_new_cmds \
12297 old_archive_from_expsyms_cmds \
12299 archive_expsym_cmds \
12301 module_expsym_cmds \
12302 export_symbols_cmds \
12305 postuninstall_cmds \
12307 sys_lib_search_path_spec \
12308 sys_lib_dlsearch_path_spec; do
12309 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
12310 *[\\\\\\\`\\"\\\$]*)
12311 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
12314 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12319 # Fix-up fallback echo if it was mangled by the above quoting rules.
12321 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
12325 ac_aux_dir='$ac_aux_dir'
12326 xsi_shell='$xsi_shell'
12327 lt_shell_append='$lt_shell_append'
12329 # See if we are running on zsh, and set the options which allow our
12330 # commands through without removal of \ escapes INIT.
12331 if test -n "\${ZSH_VERSION+set}" ; then
12332 setopt NO_GLOB_SUBST
12338 TIMESTAMP='$TIMESTAMP'
12344 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
12345 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
12347 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
12348 # Capture the value of LINGUAS because we need it to compute CATALOGS.
12349 LINGUAS="${LINGUAS-%UNSET%}"
12356 cat >>$CONFIG_STATUS <<\_ACEOF
12357 for ac_config_target in $ac_config_targets
12359 case "$ac_config_target" in
12360 # Handling of arguments.
12361 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
12362 "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
12363 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
12364 "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
12365 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
12366 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
12367 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
12368 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12369 { (exit 1); exit 1; }; };;
12373 # If the user did not use the arguments to specify the items to instantiate,
12374 # then the envvar interface is used. Set only those that are not.
12375 # We use the long form for the default assignment because of an extremely
12376 # bizarre bug on SunOS 4.1.3.
12377 if $ac_need_defaults; then
12378 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
12379 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
12380 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
12383 # Have a temporary directory for convenience. Make it in the build tree
12384 # simply because there is no reason to put it here, and in addition,
12385 # creating and moving files from /tmp can sometimes cause problems.
12386 # Create a temporary directory, and hook for its removal unless debugging.
12389 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
12390 trap '{ (exit 1); exit 1; }' 1 2 13 15
12393 # Create a (secure) tmp directory for tmp files.
12396 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
12397 test -n "$tmp" && test -d "$tmp"
12400 tmp=./confstat$$-$RANDOM
12401 (umask 077 && mkdir $tmp)
12404 echo "$me: cannot create a temporary directory in ." >&2
12405 { (exit 1); exit 1; }
12410 cat >>$CONFIG_STATUS <<_ACEOF
12413 # CONFIG_FILES section.
12416 # No need to generate the scripts if there are no CONFIG_FILES.
12417 # This happens for instance when ./config.status config.h
12418 if test -n "\$CONFIG_FILES"; then
12419 # Protect against being on the right side of a sed subst in config.status.
12420 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
12421 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
12422 s,@SHELL@,$SHELL,;t t
12423 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
12424 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
12425 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
12426 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
12427 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
12428 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
12429 s,@exec_prefix@,$exec_prefix,;t t
12430 s,@prefix@,$prefix,;t t
12431 s,@program_transform_name@,$program_transform_name,;t t
12432 s,@bindir@,$bindir,;t t
12433 s,@sbindir@,$sbindir,;t t
12434 s,@libexecdir@,$libexecdir,;t t
12435 s,@datadir@,$datadir,;t t
12436 s,@sysconfdir@,$sysconfdir,;t t
12437 s,@sharedstatedir@,$sharedstatedir,;t t
12438 s,@localstatedir@,$localstatedir,;t t
12439 s,@libdir@,$libdir,;t t
12440 s,@includedir@,$includedir,;t t
12441 s,@oldincludedir@,$oldincludedir,;t t
12442 s,@infodir@,$infodir,;t t
12443 s,@mandir@,$mandir,;t t
12444 s,@build_alias@,$build_alias,;t t
12445 s,@host_alias@,$host_alias,;t t
12446 s,@target_alias@,$target_alias,;t t
12447 s,@DEFS@,$DEFS,;t t
12448 s,@ECHO_C@,$ECHO_C,;t t
12449 s,@ECHO_N@,$ECHO_N,;t t
12450 s,@ECHO_T@,$ECHO_T,;t t
12451 s,@LIBS@,$LIBS,;t t
12452 s,@build@,$build,;t t
12453 s,@build_cpu@,$build_cpu,;t t
12454 s,@build_vendor@,$build_vendor,;t t
12455 s,@build_os@,$build_os,;t t
12456 s,@host@,$host,;t t
12457 s,@host_cpu@,$host_cpu,;t t
12458 s,@host_vendor@,$host_vendor,;t t
12459 s,@host_os@,$host_os,;t t
12460 s,@target@,$target,;t t
12461 s,@target_cpu@,$target_cpu,;t t
12462 s,@target_vendor@,$target_vendor,;t t
12463 s,@target_os@,$target_os,;t t
12465 s,@CFLAGS@,$CFLAGS,;t t
12466 s,@LDFLAGS@,$LDFLAGS,;t t
12467 s,@CPPFLAGS@,$CPPFLAGS,;t t
12468 s,@ac_ct_CC@,$ac_ct_CC,;t t
12469 s,@EXEEXT@,$EXEEXT,;t t
12470 s,@OBJEXT@,$OBJEXT,;t t
12471 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
12472 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
12473 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
12474 s,@CYGPATH_W@,$CYGPATH_W,;t t
12475 s,@PACKAGE@,$PACKAGE,;t t
12476 s,@VERSION@,$VERSION,;t t
12477 s,@ACLOCAL@,$ACLOCAL,;t t
12478 s,@AUTOCONF@,$AUTOCONF,;t t
12479 s,@AUTOMAKE@,$AUTOMAKE,;t t
12480 s,@AUTOHEADER@,$AUTOHEADER,;t t
12481 s,@MAKEINFO@,$MAKEINFO,;t t
12482 s,@install_sh@,$install_sh,;t t
12483 s,@STRIP@,$STRIP,;t t
12484 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
12485 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
12486 s,@mkdir_p@,$mkdir_p,;t t
12488 s,@SET_MAKE@,$SET_MAKE,;t t
12489 s,@am__leading_dot@,$am__leading_dot,;t t
12490 s,@AMTAR@,$AMTAR,;t t
12491 s,@am__tar@,$am__tar,;t t
12492 s,@am__untar@,$am__untar,;t t
12493 s,@DEPDIR@,$DEPDIR,;t t
12494 s,@am__include@,$am__include,;t t
12495 s,@am__quote@,$am__quote,;t t
12496 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
12497 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
12498 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
12499 s,@CCDEPMODE@,$CCDEPMODE,;t t
12500 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
12501 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
12503 s,@ac_ct_AR@,$ac_ct_AR,;t t
12504 s,@RANLIB@,$RANLIB,;t t
12505 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
12506 s,@LIBTOOL@,$LIBTOOL,;t t
12508 s,@EGREP@,$EGREP,;t t
12509 s,@FGREP@,$FGREP,;t t
12510 s,@GREP@,$GREP,;t t
12512 s,@DUMPBIN@,$DUMPBIN,;t t
12513 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
12515 s,@LN_S@,$LN_S,;t t
12516 s,@lt_ECHO@,$lt_ECHO,;t t
12518 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
12519 s,@NO_WERROR@,$NO_WERROR,;t t
12520 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
12521 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
12522 s,@MAINT@,$MAINT,;t t
12523 s,@INSTALL_LIBBFD_TRUE@,$INSTALL_LIBBFD_TRUE,;t t
12524 s,@INSTALL_LIBBFD_FALSE@,$INSTALL_LIBBFD_FALSE,;t t
12525 s,@host_noncanonical@,$host_noncanonical,;t t
12526 s,@target_noncanonical@,$target_noncanonical,;t t
12527 s,@bfdlibdir@,$bfdlibdir,;t t
12528 s,@bfdincludedir@,$bfdincludedir,;t t
12529 s,@USE_NLS@,$USE_NLS,;t t
12530 s,@LIBINTL@,$LIBINTL,;t t
12531 s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
12532 s,@INCINTL@,$INCINTL,;t t
12533 s,@XGETTEXT@,$XGETTEXT,;t t
12534 s,@GMSGFMT@,$GMSGFMT,;t t
12535 s,@POSUB@,$POSUB,;t t
12536 s,@CATALOGS@,$CATALOGS,;t t
12537 s,@DATADIRNAME@,$DATADIRNAME,;t t
12538 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
12539 s,@GENCAT@,$GENCAT,;t t
12540 s,@CATOBJEXT@,$CATOBJEXT,;t t
12541 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
12542 s,@MSGFMT@,$MSGFMT,;t t
12543 s,@MSGMERGE@,$MSGMERGE,;t t
12544 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
12545 s,@EXEEXT_FOR_BUILD@,$EXEEXT_FOR_BUILD,;t t
12546 s,@HDEFINES@,$HDEFINES,;t t
12547 s,@CGEN_MAINT_TRUE@,$CGEN_MAINT_TRUE,;t t
12548 s,@CGEN_MAINT_FALSE@,$CGEN_MAINT_FALSE,;t t
12549 s,@cgendir@,$cgendir,;t t
12550 s,@WIN32LDFLAGS@,$WIN32LDFLAGS,;t t
12551 s,@WIN32LIBADD@,$WIN32LIBADD,;t t
12552 s,@archdefs@,$archdefs,;t t
12553 s,@BFD_MACHINES@,$BFD_MACHINES,;t t
12554 s,@LIBOBJS@,$LIBOBJS,;t t
12555 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
12560 cat >>$CONFIG_STATUS <<\_ACEOF
12561 # Split the substitutions into bite-sized pieces for seds with
12562 # small command number limits, like on Digital OSF/1 and HP-UX.
12563 ac_max_sed_lines=48
12564 ac_sed_frag=1 # Number of current file.
12565 ac_beg=1 # First line for current file.
12566 ac_end=$ac_max_sed_lines # Line after last line for current file.
12569 while $ac_more_lines; do
12570 if test $ac_beg -gt 1; then
12571 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
12573 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
12575 if test ! -s $tmp/subs.frag; then
12576 ac_more_lines=false
12578 # The purpose of the label and of the branching condition is to
12579 # speed up the sed processing (if there are no `@' at all, there
12580 # is no need to browse any of the substitutions).
12581 # These are the two extra sed commands mentioned above.
12583 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
12584 if test -z "$ac_sed_cmds"; then
12585 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
12587 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
12589 ac_sed_frag=`expr $ac_sed_frag + 1`
12591 ac_end=`expr $ac_end + $ac_max_sed_lines`
12594 if test -z "$ac_sed_cmds"; then
12597 fi # test -n "$CONFIG_FILES"
12600 cat >>$CONFIG_STATUS <<\_ACEOF
12601 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
12602 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12604 - | *:- | *:-:* ) # input from stdin
12606 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
12607 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
12608 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
12609 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
12610 * ) ac_file_in=$ac_file.in ;;
12613 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
12614 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
12615 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12616 X"$ac_file" : 'X\(//\)[^/]' \| \
12617 X"$ac_file" : 'X\(//\)$' \| \
12618 X"$ac_file" : 'X\(/\)' \| \
12619 . : '\(.\)' 2>/dev/null ||
12621 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12622 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12623 /^X\(\/\/\)$/{ s//\1/; q; }
12624 /^X\(\/\).*/{ s//\1/; q; }
12626 { if $as_mkdir_p; then
12631 while test ! -d "$as_dir"; do
12632 as_dirs="$as_dir $as_dirs"
12633 as_dir=`(dirname "$as_dir") 2>/dev/null ||
12634 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12635 X"$as_dir" : 'X\(//\)[^/]' \| \
12636 X"$as_dir" : 'X\(//\)$' \| \
12637 X"$as_dir" : 'X\(/\)' \| \
12638 . : '\(.\)' 2>/dev/null ||
12640 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12641 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12642 /^X\(\/\/\)$/{ s//\1/; q; }
12643 /^X\(\/\).*/{ s//\1/; q; }
12646 test ! -n "$as_dirs" || mkdir $as_dirs
12647 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12648 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12649 { (exit 1); exit 1; }; }; }
12653 if test "$ac_dir" != .; then
12654 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12655 # A "../" for each directory in $ac_dir_suffix.
12656 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
12658 ac_dir_suffix= ac_top_builddir=
12662 .) # No --srcdir option. We are building in place.
12664 if test -z "$ac_top_builddir"; then
12667 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
12669 [\\/]* | ?:[\\/]* ) # Absolute path.
12670 ac_srcdir=$srcdir$ac_dir_suffix;
12671 ac_top_srcdir=$srcdir ;;
12672 *) # Relative path.
12673 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
12674 ac_top_srcdir=$ac_top_builddir$srcdir ;;
12677 # Do not use `cd foo && pwd` to compute absolute paths, because
12678 # the directories may not exist.
12680 .) ac_abs_builddir="$ac_dir";;
12683 .) ac_abs_builddir=`pwd`;;
12684 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
12685 *) ac_abs_builddir=`pwd`/"$ac_dir";;
12688 case $ac_abs_builddir in
12689 .) ac_abs_top_builddir=${ac_top_builddir}.;;
12691 case ${ac_top_builddir}. in
12692 .) ac_abs_top_builddir=$ac_abs_builddir;;
12693 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
12694 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
12697 case $ac_abs_builddir in
12698 .) ac_abs_srcdir=$ac_srcdir;;
12701 .) ac_abs_srcdir=$ac_abs_builddir;;
12702 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
12703 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
12706 case $ac_abs_builddir in
12707 .) ac_abs_top_srcdir=$ac_top_srcdir;;
12709 case $ac_top_srcdir in
12710 .) ac_abs_top_srcdir=$ac_abs_builddir;;
12711 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
12712 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
12718 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
12719 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
12722 if test x"$ac_file" != x-; then
12723 { echo "$as_me:$LINENO: creating $ac_file" >&5
12724 echo "$as_me: creating $ac_file" >&6;}
12727 # Let's still pretend it is `configure' which instantiates (i.e., don't
12728 # use $as_me), people would be surprised to read:
12729 # /* config.h. Generated by config.status. */
12730 if test x"$ac_file" = x-; then
12733 configure_input="$ac_file. "
12735 configure_input=$configure_input"Generated from `echo $ac_file_in |
12736 sed 's,.*/,,'` by configure."
12738 # First look for the input files in the build tree, otherwise in the
12740 ac_file_inputs=`IFS=:
12741 for f in $ac_file_in; do
12743 -) echo $tmp/stdin ;;
12745 # Absolute (can't be DOS-style, as IFS=:)
12746 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12747 echo "$as_me: error: cannot find input file: $f" >&2;}
12748 { (exit 1); exit 1; }; }
12751 if test -f "$f"; then
12754 elif test -f "$srcdir/$f"; then
12759 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12760 echo "$as_me: error: cannot find input file: $f" >&2;}
12761 { (exit 1); exit 1; }; }
12764 done` || { (exit 1); exit 1; }
12766 cat >>$CONFIG_STATUS <<_ACEOF
12770 cat >>$CONFIG_STATUS <<\_ACEOF
12772 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
12773 s,@configure_input@,$configure_input,;t t
12774 s,@srcdir@,$ac_srcdir,;t t
12775 s,@abs_srcdir@,$ac_abs_srcdir,;t t
12776 s,@top_srcdir@,$ac_top_srcdir,;t t
12777 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
12778 s,@builddir@,$ac_builddir,;t t
12779 s,@abs_builddir@,$ac_abs_builddir,;t t
12780 s,@top_builddir@,$ac_top_builddir,;t t
12781 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
12782 s,@INSTALL@,$ac_INSTALL,;t t
12783 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
12785 if test x"$ac_file" != x-; then
12786 mv $tmp/out $ac_file
12794 cat >>$CONFIG_STATUS <<\_ACEOF
12797 # CONFIG_HEADER section.
12800 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
12801 # NAME is the cpp macro being defined and VALUE is the value it is being given.
12803 # ac_d sets the value in "#define NAME VALUE" lines.
12804 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
12805 ac_dB='[ ].*$,\1#\2'
12808 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
12809 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
12810 ac_uB='$,\1#\2define\3'
12814 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
12815 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12817 - | *:- | *:-:* ) # input from stdin
12819 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
12820 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
12821 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
12822 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
12823 * ) ac_file_in=$ac_file.in ;;
12826 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
12827 echo "$as_me: creating $ac_file" >&6;}
12829 # First look for the input files in the build tree, otherwise in the
12831 ac_file_inputs=`IFS=:
12832 for f in $ac_file_in; do
12834 -) echo $tmp/stdin ;;
12836 # Absolute (can't be DOS-style, as IFS=:)
12837 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12838 echo "$as_me: error: cannot find input file: $f" >&2;}
12839 { (exit 1); exit 1; }; }
12840 # Do quote $f, to prevent DOS paths from being IFS'd.
12843 if test -f "$f"; then
12846 elif test -f "$srcdir/$f"; then
12851 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12852 echo "$as_me: error: cannot find input file: $f" >&2;}
12853 { (exit 1); exit 1; }; }
12856 done` || { (exit 1); exit 1; }
12857 # Remove the trailing spaces.
12858 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
12862 # Transform confdefs.h into two sed scripts, `conftest.defines' and
12863 # `conftest.undefs', that substitutes the proper values into
12864 # config.h.in to produce config.h. The first handles `#define'
12865 # templates, and the second `#undef' templates.
12866 # And first: Protect against being on the right side of a sed subst in
12867 # config.status. Protect against being in an unquoted here document
12868 # in config.status.
12869 rm -f conftest.defines conftest.undefs
12870 # Using a here document instead of a string reduces the quoting nightmare.
12871 # Putting comments in sed scripts is not portable.
12873 # `end' is used to avoid that the second main sed command (meant for
12874 # 0-ary CPP macros) applies to n-ary macro definitions.
12875 # See the Autoconf documentation for `clear'.
12876 cat >confdef2sed.sed <<\_ACEOF
12881 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
12883 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
12886 # If some macros were called several times there might be several times
12887 # the same #defines, which is useless. Nevertheless, we may not want to
12888 # sort them, since we want the *last* AC-DEFINE to be honored.
12889 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
12890 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
12891 rm -f confdef2sed.sed
12893 # This sed command replaces #undef with comments. This is necessary, for
12894 # example, in the case of _POSIX_SOURCE, which is predefined and required
12895 # on some systems where configure will not decide to define it.
12896 cat >>conftest.undefs <<\_ACEOF
12897 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
12900 # Break up conftest.defines because some shells have a limit on the size
12901 # of here documents, and old seds have small limits too (100 cmds).
12902 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
12903 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
12904 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
12905 echo ' :' >>$CONFIG_STATUS
12906 rm -f conftest.tail
12907 while grep . conftest.defines >/dev/null
12909 # Write a limited-size here document to $tmp/defines.sed.
12910 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
12911 # Speed up: don't consider the non `#define' lines.
12912 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
12913 # Work around the forget-to-reset-the-flag bug.
12914 echo 't clr' >>$CONFIG_STATUS
12915 echo ': clr' >>$CONFIG_STATUS
12916 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
12918 sed -f $tmp/defines.sed $tmp/in >$tmp/out
12920 mv $tmp/out $tmp/in
12922 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
12923 rm -f conftest.defines
12924 mv conftest.tail conftest.defines
12926 rm -f conftest.defines
12927 echo ' fi # grep' >>$CONFIG_STATUS
12928 echo >>$CONFIG_STATUS
12930 # Break up conftest.undefs because some shells have a limit on the size
12931 # of here documents, and old seds have small limits too (100 cmds).
12932 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
12933 rm -f conftest.tail
12934 while grep . conftest.undefs >/dev/null
12936 # Write a limited-size here document to $tmp/undefs.sed.
12937 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
12938 # Speed up: don't consider the non `#undef'
12939 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
12940 # Work around the forget-to-reset-the-flag bug.
12941 echo 't clr' >>$CONFIG_STATUS
12942 echo ': clr' >>$CONFIG_STATUS
12943 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
12945 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
12947 mv $tmp/out $tmp/in
12949 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
12950 rm -f conftest.undefs
12951 mv conftest.tail conftest.undefs
12953 rm -f conftest.undefs
12955 cat >>$CONFIG_STATUS <<\_ACEOF
12956 # Let's still pretend it is `configure' which instantiates (i.e., don't
12957 # use $as_me), people would be surprised to read:
12958 # /* config.h. Generated by config.status. */
12959 if test x"$ac_file" = x-; then
12960 echo "/* Generated by configure. */" >$tmp/config.h
12962 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
12964 cat $tmp/in >>$tmp/config.h
12966 if test x"$ac_file" != x-; then
12967 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
12968 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
12969 echo "$as_me: $ac_file is unchanged" >&6;}
12971 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
12972 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12973 X"$ac_file" : 'X\(//\)[^/]' \| \
12974 X"$ac_file" : 'X\(//\)$' \| \
12975 X"$ac_file" : 'X\(/\)' \| \
12976 . : '\(.\)' 2>/dev/null ||
12978 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12979 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12980 /^X\(\/\/\)$/{ s//\1/; q; }
12981 /^X\(\/\).*/{ s//\1/; q; }
12983 { if $as_mkdir_p; then
12988 while test ! -d "$as_dir"; do
12989 as_dirs="$as_dir $as_dirs"
12990 as_dir=`(dirname "$as_dir") 2>/dev/null ||
12991 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12992 X"$as_dir" : 'X\(//\)[^/]' \| \
12993 X"$as_dir" : 'X\(//\)$' \| \
12994 X"$as_dir" : 'X\(/\)' \| \
12995 . : '\(.\)' 2>/dev/null ||
12997 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12998 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12999 /^X\(\/\/\)$/{ s//\1/; q; }
13000 /^X\(\/\).*/{ s//\1/; q; }
13003 test ! -n "$as_dirs" || mkdir $as_dirs
13004 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13005 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13006 { (exit 1); exit 1; }; }; }
13009 mv $tmp/config.h $ac_file
13013 rm -f $tmp/config.h
13015 # Compute $ac_file's index in $config_headers.
13017 for _am_header in $config_headers :; do
13018 case $_am_header in
13019 $ac_file | $ac_file:* )
13022 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
13025 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
13026 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13027 X$ac_file : 'X\(//\)[^/]' \| \
13028 X$ac_file : 'X\(//\)$' \| \
13029 X$ac_file : 'X\(/\)' \| \
13030 . : '\(.\)' 2>/dev/null ||
13032 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13033 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13034 /^X\(\/\/\)$/{ s//\1/; q; }
13035 /^X\(\/\).*/{ s//\1/; q; }
13036 s/.*/./; q'`/stamp-h$_am_stamp_count
13039 cat >>$CONFIG_STATUS <<\_ACEOF
13042 # CONFIG_COMMANDS section.
13044 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
13045 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
13046 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
13047 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
13048 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13049 X"$ac_dest" : 'X\(//\)[^/]' \| \
13050 X"$ac_dest" : 'X\(//\)$' \| \
13051 X"$ac_dest" : 'X\(/\)' \| \
13052 . : '\(.\)' 2>/dev/null ||
13054 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13055 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13056 /^X\(\/\/\)$/{ s//\1/; q; }
13057 /^X\(\/\).*/{ s//\1/; q; }
13059 { if $as_mkdir_p; then
13064 while test ! -d "$as_dir"; do
13065 as_dirs="$as_dir $as_dirs"
13066 as_dir=`(dirname "$as_dir") 2>/dev/null ||
13067 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13068 X"$as_dir" : 'X\(//\)[^/]' \| \
13069 X"$as_dir" : 'X\(//\)$' \| \
13070 X"$as_dir" : 'X\(/\)' \| \
13071 . : '\(.\)' 2>/dev/null ||
13073 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13074 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13075 /^X\(\/\/\)$/{ s//\1/; q; }
13076 /^X\(\/\).*/{ s//\1/; q; }
13079 test ! -n "$as_dirs" || mkdir $as_dirs
13080 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13081 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13082 { (exit 1); exit 1; }; }; }
13086 if test "$ac_dir" != .; then
13087 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13088 # A "../" for each directory in $ac_dir_suffix.
13089 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
13091 ac_dir_suffix= ac_top_builddir=
13095 .) # No --srcdir option. We are building in place.
13097 if test -z "$ac_top_builddir"; then
13100 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
13102 [\\/]* | ?:[\\/]* ) # Absolute path.
13103 ac_srcdir=$srcdir$ac_dir_suffix;
13104 ac_top_srcdir=$srcdir ;;
13105 *) # Relative path.
13106 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
13107 ac_top_srcdir=$ac_top_builddir$srcdir ;;
13110 # Do not use `cd foo && pwd` to compute absolute paths, because
13111 # the directories may not exist.
13113 .) ac_abs_builddir="$ac_dir";;
13116 .) ac_abs_builddir=`pwd`;;
13117 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
13118 *) ac_abs_builddir=`pwd`/"$ac_dir";;
13121 case $ac_abs_builddir in
13122 .) ac_abs_top_builddir=${ac_top_builddir}.;;
13124 case ${ac_top_builddir}. in
13125 .) ac_abs_top_builddir=$ac_abs_builddir;;
13126 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
13127 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
13130 case $ac_abs_builddir in
13131 .) ac_abs_srcdir=$ac_srcdir;;
13134 .) ac_abs_srcdir=$ac_abs_builddir;;
13135 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
13136 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
13139 case $ac_abs_builddir in
13140 .) ac_abs_top_srcdir=$ac_top_srcdir;;
13142 case $ac_top_srcdir in
13143 .) ac_abs_top_srcdir=$ac_abs_builddir;;
13144 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
13145 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
13150 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
13151 echo "$as_me: executing $ac_dest commands" >&6;}
13153 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
13154 # Strip MF so we end up with the name of the file.
13155 mf=`echo "$mf" | sed -e 's/:.*$//'`
13156 # Check whether this is an Automake generated Makefile or not.
13157 # We used to match only the files named `Makefile.in', but
13158 # some people rename them; so instead we look at the file content.
13159 # Grep'ing the first line is not enough: some people post-process
13160 # each Makefile.in and add a new line on top of each file to say so.
13161 # So let's grep whole file.
13162 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
13163 dirpart=`(dirname "$mf") 2>/dev/null ||
13164 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13165 X"$mf" : 'X\(//\)[^/]' \| \
13166 X"$mf" : 'X\(//\)$' \| \
13167 X"$mf" : 'X\(/\)' \| \
13168 . : '\(.\)' 2>/dev/null ||
13170 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13171 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13172 /^X\(\/\/\)$/{ s//\1/; q; }
13173 /^X\(\/\).*/{ s//\1/; q; }
13178 # Extract the definition of DEPDIR, am__include, and am__quote
13179 # from the Makefile without running `make'.
13180 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
13181 test -z "$DEPDIR" && continue
13182 am__include=`sed -n 's/^am__include = //p' < "$mf"`
13183 test -z "am__include" && continue
13184 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
13185 # When using ansi2knr, U may be empty or an underscore; expand it
13186 U=`sed -n 's/^U = //p' < "$mf"`
13187 # Find all dependency output files, they are included files with
13188 # $(DEPDIR) in their names. We invoke sed twice because it is the
13189 # simplest approach to changing $(DEPDIR) to its actual value in the
13191 for file in `sed -n "
13192 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13193 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
13194 # Make sure the directory exists.
13195 test -f "$dirpart/$file" && continue
13196 fdir=`(dirname "$file") 2>/dev/null ||
13197 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13198 X"$file" : 'X\(//\)[^/]' \| \
13199 X"$file" : 'X\(//\)$' \| \
13200 X"$file" : 'X\(/\)' \| \
13201 . : '\(.\)' 2>/dev/null ||
13203 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13204 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13205 /^X\(\/\/\)$/{ s//\1/; q; }
13206 /^X\(\/\).*/{ s//\1/; q; }
13208 { if $as_mkdir_p; then
13209 mkdir -p $dirpart/$fdir
13211 as_dir=$dirpart/$fdir
13213 while test ! -d "$as_dir"; do
13214 as_dirs="$as_dir $as_dirs"
13215 as_dir=`(dirname "$as_dir") 2>/dev/null ||
13216 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13217 X"$as_dir" : 'X\(//\)[^/]' \| \
13218 X"$as_dir" : 'X\(//\)$' \| \
13219 X"$as_dir" : 'X\(/\)' \| \
13220 . : '\(.\)' 2>/dev/null ||
13222 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13223 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13224 /^X\(\/\/\)$/{ s//\1/; q; }
13225 /^X\(\/\).*/{ s//\1/; q; }
13228 test ! -n "$as_dirs" || mkdir $as_dirs
13229 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
13230 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
13231 { (exit 1); exit 1; }; }; }
13233 # echo "creating $dirpart/$file"
13234 echo '# dummy' > "$dirpart/$file"
13240 # See if we are running on zsh, and set the options which allow our
13241 # commands through without removal of \ escapes.
13242 if test -n "${ZSH_VERSION+set}" ; then
13243 setopt NO_GLOB_SUBST
13246 cfgfile="${ofile}T"
13247 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
13250 cat <<_LT_EOF >> "$cfgfile"
13253 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
13254 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
13255 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13256 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
13258 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13259 # 2006, 2007 Free Software Foundation, Inc.
13261 # This file is part of GNU Libtool:
13262 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
13264 # This program is free software; you can redistribute it and/or modify
13265 # it under the terms of the GNU General Public License as published by
13266 # the Free Software Foundation; either version 2 of the License, or
13267 # (at your option) any later version.
13269 # This program is distributed in the hope that it will be useful, but
13270 # WITHOUT ANY WARRANTY; without even the implied warranty of
13271 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13272 # General Public License for more details.
13274 # You should have received a copy of the GNU General Public License
13275 # along with this program; if not, a copy can be downloaded from
13276 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
13277 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
13278 # MA 02110-1301, USA.
13280 # As a special exception to the GNU General Public License, if you
13281 # distribute this file as part of a program that contains a
13282 # configuration script generated by Autoconf, you may include it under
13283 # the same distribution terms that you use for the rest of that program.
13286 # The names of the tagged configurations supported by this script.
13289 # ### BEGIN LIBTOOL CONFIG
13291 # Whether or not to build shared libraries.
13292 build_libtool_libs=$enable_shared
13294 # Which release of libtool.m4 was used?
13295 macro_version=$macro_version
13296 macro_revision=$macro_revision
13298 # Whether or not to build static libraries.
13299 build_old_libs=$enable_static
13301 # What type of objects to build.
13304 # Whether or not to optimize for fast installation.
13305 fast_install=$enable_fast_install
13308 host_alias=$host_alias
13312 # The build system.
13313 build_alias=$build_alias
13317 # A sed program that does not truncate output.
13320 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
13321 Xsed="\$SED -e 1s/^X//"
13323 # A grep program that handles long lines.
13329 # A literal string matcher.
13332 # A BSD- or MS-compatible name lister.
13335 # Whether we need soft or hard links.
13338 # What is the maximum length of a command?
13339 max_cmd_len=$max_cmd_len
13341 # Object file suffix (normally "o").
13344 # Executable file suffix (normally "").
13347 # whether the shell understands "unset".
13350 # turn spaces into newlines.
13353 # turn newlines into spaces.
13356 # How to create reloadable object files.
13357 reload_flag=$lt_reload_flag
13358 reload_cmds=$lt_reload_cmds
13360 # Method to check whether dependent libraries are shared objects.
13361 deplibs_check_method=$lt_deplibs_check_method
13363 # Command to use when deplibs_check_method == "file_magic".
13364 file_magic_cmd=$lt_file_magic_cmd
13368 AR_FLAGS=$lt_AR_FLAGS
13370 # A symbol stripping program.
13373 # Commands used to install an old-style archive.
13375 old_postinstall_cmds=$lt_old_postinstall_cmds
13376 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13381 # LTCC compiler flags.
13382 LTCFLAGS=$lt_CFLAGS
13384 # Take the output of nm and produce a listing of raw symbols and C names.
13385 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13387 # Transform the output of nm in a proper C declaration.
13388 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13390 # Transform the output of nm in a C name address pair.
13391 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13393 # The name of the directory that contains temporary libtool files.
13396 # Shell to use when invoking shell scripts.
13399 # An echo program that does not interpret backslashes.
13402 # Used to examine libraries when file_magic_cmd begins with "file".
13403 MAGIC_CMD=$MAGIC_CMD
13405 # Must we lock files when doing compilation?
13406 need_locks=$lt_need_locks
13408 # Old archive suffix (normally "a").
13411 # Shared library suffix (normally ".so").
13412 shrext_cmds=$lt_shrext_cmds
13414 # The commands to extract the exported symbol list from a shared archive.
13415 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13417 # Variables whose values should be saved in libtool wrapper scripts and
13418 # restored at link time.
13419 variables_saved_for_relink=$lt_variables_saved_for_relink
13421 # Do we need the "lib" prefix for modules?
13422 need_lib_prefix=$need_lib_prefix
13424 # Do we need a version for libraries?
13425 need_version=$need_version
13427 # Library versioning type.
13428 version_type=$version_type
13430 # Shared library runtime path variable.
13431 runpath_var=$runpath_var
13433 # Shared library path variable.
13434 shlibpath_var=$shlibpath_var
13436 # Is shlibpath searched before the hard-coded library search path?
13437 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13439 # Format of library name prefix.
13440 libname_spec=$lt_libname_spec
13442 # List of archive names. First name is the real one, the rest are links.
13443 # The last name is the one that the linker finds with -lNAME
13444 library_names_spec=$lt_library_names_spec
13446 # The coded name of the library, if different from the real name.
13447 soname_spec=$lt_soname_spec
13449 # Command to use after installation of a shared archive.
13450 postinstall_cmds=$lt_postinstall_cmds
13452 # Command to use after uninstallation of a shared archive.
13453 postuninstall_cmds=$lt_postuninstall_cmds
13455 # Commands used to finish a libtool library installation in a directory.
13456 finish_cmds=$lt_finish_cmds
13458 # As "finish_cmds", except a single script fragment to be evaled but
13460 finish_eval=$lt_finish_eval
13462 # Whether we should hardcode library paths into libraries.
13463 hardcode_into_libs=$hardcode_into_libs
13465 # Compile-time system search path for libraries.
13466 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13468 # Run-time system search path for libraries.
13469 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13471 # Whether dlopen is supported.
13472 dlopen_support=$enable_dlopen
13474 # Whether dlopen of programs is supported.
13475 dlopen_self=$enable_dlopen_self
13477 # Whether dlopen of statically linked programs is supported.
13478 dlopen_self_static=$enable_dlopen_self_static
13480 # Commands to strip libraries.
13481 old_striplib=$lt_old_striplib
13482 striplib=$lt_striplib
13485 # The linker used to build libraries.
13488 # Commands used to build an old-style archive.
13489 old_archive_cmds=$lt_old_archive_cmds
13491 # A language specific compiler.
13494 # Is the compiler the GNU compiler?
13497 # Compiler flag to turn off builtin functions.
13498 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13500 # How to pass a linker flag through the compiler.
13501 wl=$lt_lt_prog_compiler_wl
13503 # Additional compiler flags for building library objects.
13504 pic_flag=$lt_lt_prog_compiler_pic
13506 # Compiler flag to prevent dynamic linking.
13507 link_static_flag=$lt_lt_prog_compiler_static
13509 # Does compiler simultaneously support -c and -o options?
13510 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
13512 # Whether or not to add -lc for building shared libraries.
13513 build_libtool_need_lc=$archive_cmds_need_lc
13515 # Whether or not to disallow shared libs when runtime libs are static.
13516 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
13518 # Compiler flag to allow reflexive dlopens.
13519 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
13521 # Compiler flag to generate shared objects directly from archives.
13522 whole_archive_flag_spec=$lt_whole_archive_flag_spec
13524 # Whether the compiler copes with passing no objects directly.
13525 compiler_needs_object=$lt_compiler_needs_object
13527 # Create an old-style archive from a shared archive.
13528 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
13530 # Create a temporary old-style archive to link instead of a shared archive.
13531 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
13533 # Commands used to build a shared archive.
13534 archive_cmds=$lt_archive_cmds
13535 archive_expsym_cmds=$lt_archive_expsym_cmds
13537 # Commands used to build a loadable module if different from building
13538 # a shared archive.
13539 module_cmds=$lt_module_cmds
13540 module_expsym_cmds=$lt_module_expsym_cmds
13542 # Whether we are building with GNU ld or not.
13543 with_gnu_ld=$lt_with_gnu_ld
13545 # Flag that allows shared libraries with undefined symbols to be built.
13546 allow_undefined_flag=$lt_allow_undefined_flag
13548 # Flag that enforces no undefined symbols.
13549 no_undefined_flag=$lt_no_undefined_flag
13551 # Flag to hardcode \$libdir into a binary during linking.
13552 # This must work even if \$libdir does not exist
13553 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13555 # If ld is used when linking, flag to hardcode \$libdir into a binary
13556 # during linking. This must work even if \$libdir does not exist.
13557 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
13559 # Whether we need a single "-rpath" flag with a separated argument.
13560 hardcode_libdir_separator=$lt_hardcode_libdir_separator
13562 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13563 # DIR into the resulting binary.
13564 hardcode_direct=$hardcode_direct
13566 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13567 # DIR into the resulting binary and the resulting library dependency is
13568 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
13569 # library is relocated.
13570 hardcode_direct_absolute=$hardcode_direct_absolute
13572 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
13573 # into the resulting binary.
13574 hardcode_minus_L=$hardcode_minus_L
13576 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
13577 # into the resulting binary.
13578 hardcode_shlibpath_var=$hardcode_shlibpath_var
13580 # Set to "yes" if building a shared library automatically hardcodes DIR
13581 # into the library and all subsequent libraries and executables linked
13583 hardcode_automatic=$hardcode_automatic
13585 # Set to yes if linker adds runtime paths of dependent libraries
13586 # to runtime path list.
13587 inherit_rpath=$inherit_rpath
13589 # Whether libtool must link a program against all its dependency libraries.
13590 link_all_deplibs=$link_all_deplibs
13592 # Fix the shell variable \$srcfile for the compiler.
13593 fix_srcfile_path=$lt_fix_srcfile_path
13595 # Set to "yes" if exported symbols are required.
13596 always_export_symbols=$always_export_symbols
13598 # The commands to list exported symbols.
13599 export_symbols_cmds=$lt_export_symbols_cmds
13601 # Symbols that should not be listed in the preloaded symbols.
13602 exclude_expsyms=$lt_exclude_expsyms
13604 # Symbols that must always be exported.
13605 include_expsyms=$lt_include_expsyms
13607 # Commands necessary for linking programs (against libraries) with templates.
13608 prelink_cmds=$lt_prelink_cmds
13610 # Specify filename containing input files.
13611 file_list_spec=$lt_file_list_spec
13613 # How to hardcode a shared library path into an executable.
13614 hardcode_action=$hardcode_action
13616 # ### END LIBTOOL CONFIG
13622 cat <<\_LT_EOF >> "$cfgfile"
13623 # AIX sometimes has problems with the GCC collect2 program. For some
13624 # reason, if we set the COLLECT_NAMES environment variable, the problems
13625 # vanish in a puff of smoke.
13626 if test "X${COLLECT_NAMES+set}" != Xset; then
13628 export COLLECT_NAMES
13635 ltmain="$ac_aux_dir/ltmain.sh"
13638 # We use sed instead of cat because bash on DJGPP gets confused if
13639 # if finds mixed CR/LF and LF-only lines. Since sed operates in
13640 # text mode, it properly converts lines to CR/LF. This bash problem
13641 # is reportedly fixed, but why not run on old versions too?
13642 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
13643 || (rm -f "$cfgfile"; exit 1)
13647 cat << \_LT_EOF >> "$cfgfile"
13648 # func_dirname file append nondir_replacement
13649 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
13650 # otherwise set result to NONDIR_REPLACEMENT.
13654 */*) func_dirname_result="${1%/*}${2}" ;;
13655 * ) func_dirname_result="${3}" ;;
13659 # func_basename file
13662 func_basename_result="${1##*/}"
13665 # func_stripname prefix suffix name
13666 # strip PREFIX and SUFFIX off of NAME.
13667 # PREFIX and SUFFIX must not contain globbing or regex special
13668 # characters, hashes, percent signs, but SUFFIX may contain a leading
13669 # dot (in which case that matches only a dot).
13672 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
13673 # positional parameters, so assign one to ordinary parameter first.
13674 func_stripname_result=${3}
13675 func_stripname_result=${func_stripname_result#"${1}"}
13676 func_stripname_result=${func_stripname_result%"${2}"}
13682 func_opt_split_opt=${1%%=*}
13683 func_opt_split_arg=${1#*=}
13690 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
13691 *) func_lo2o_result=${1} ;;
13696 *) # Bourne compatible functions.
13697 cat << \_LT_EOF >> "$cfgfile"
13698 # func_dirname file append nondir_replacement
13699 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
13700 # otherwise set result to NONDIR_REPLACEMENT.
13703 # Extract subdirectory from the argument.
13704 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
13705 if test "X$func_dirname_result" = "X${1}"; then
13706 func_dirname_result="${3}"
13708 func_dirname_result="$func_dirname_result${2}"
13712 # func_basename file
13715 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
13718 # func_stripname prefix suffix name
13719 # strip PREFIX and SUFFIX off of NAME.
13720 # PREFIX and SUFFIX must not contain globbing or regex special
13721 # characters, hashes, percent signs, but SUFFIX may contain a leading
13722 # dot (in which case that matches only a dot).
13723 # func_strip_suffix prefix name
13727 .*) func_stripname_result=`$ECHO "X${3}" \
13728 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
13729 *) func_stripname_result=`$ECHO "X${3}" \
13730 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
13735 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
13736 my_sed_long_arg='1s/^-[^=]*=//'
13741 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
13742 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
13748 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
13753 case $lt_shell_append in
13755 cat << \_LT_EOF >> "$cfgfile"
13757 # func_append var value
13758 # Append VALUE to the end of shell variable VAR.
13766 cat << \_LT_EOF >> "$cfgfile"
13768 # func_append var value
13769 # Append VALUE to the end of shell variable VAR.
13779 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
13780 || (rm -f "$cfgfile"; exit 1)
13782 mv -f "$cfgfile" "$ofile" ||
13783 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
13788 for ac_file in $CONFIG_FILES; do
13789 # Support "outfile[:infile[:infile...]]"
13791 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
13793 # PO directories have a Makefile.in generated from Makefile.in.in.
13794 case "$ac_file" in */Makefile.in)
13795 # Adjust a relative srcdir.
13796 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
13797 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
13798 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
13799 # In autoconf-2.13 it is called $ac_given_srcdir.
13800 # In autoconf-2.50 it is called $srcdir.
13801 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
13802 case "$ac_given_srcdir" in
13803 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
13804 /*) top_srcdir="$ac_given_srcdir" ;;
13805 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
13807 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
13808 rm -f "$ac_dir/POTFILES"
13809 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
13810 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
13811 POMAKEFILEDEPS="POTFILES.in"
13812 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
13813 # on $ac_dir but don't depend on user-specified configuration
13815 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
13816 # The LINGUAS file contains the set of available languages.
13817 if test -n "$OBSOLETE_ALL_LINGUAS"; then
13818 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
13820 ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
13821 # Hide the ALL_LINGUAS assigment from automake.
13822 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
13823 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
13825 # The set of available languages was given in configure.in.
13826 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
13828 case "$ac_given_srcdir" in
13830 *) srcdirpre='$(srcdir)/' ;;
13836 for lang in $ALL_LINGUAS; do
13837 POFILES="$POFILES $srcdirpre$lang.po"
13838 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
13839 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
13840 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
13842 # CATALOGS depends on both $ac_dir and the user's LINGUAS
13843 # environment variable.
13845 if test -n "$ALL_LINGUAS"; then
13846 for presentlang in $ALL_LINGUAS; do
13848 if test "%UNSET%" != "$LINGUAS"; then
13849 desiredlanguages="$LINGUAS"
13851 desiredlanguages="$ALL_LINGUAS"
13853 for desiredlang in $desiredlanguages; do
13854 # Use the presentlang catalog if desiredlang is
13855 # a. equal to presentlang, or
13856 # b. a variant of presentlang (because in this case,
13857 # presentlang can be used as a fallback for messages
13858 # which are not translated in the desiredlang catalog).
13859 case "$desiredlang" in
13860 "$presentlang"*) useit=yes;;
13863 if test $useit = yes; then
13864 INST_LINGUAS="$INST_LINGUAS $presentlang"
13869 if test -n "$INST_LINGUAS"; then
13870 for lang in $INST_LINGUAS; do
13871 CATALOGS="$CATALOGS $lang.gmo"
13874 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
13875 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"
13876 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
13877 if test -f "$f"; then
13879 *.orig | *.bak | *~) ;;
13880 *) cat "$f" >> "$ac_dir/Makefile" ;;
13892 cat >>$CONFIG_STATUS <<\_ACEOF
13894 { (exit 0); exit 0; }
13896 chmod +x $CONFIG_STATUS
13897 ac_clean_files=$ac_clean_files_save
13900 # configure is writing to config.log, and then calls config.status.
13901 # config.status does its own redirection, appending to config.log.
13902 # Unfortunately, on DOS this fails, as config.log is still kept open
13903 # by configure, so config.status won't be able to write to it; its
13904 # output is simply discarded. So we exec the FD to /dev/null,
13905 # effectively closing config.log, so it can be properly (re)opened and
13906 # appended to by config.status. When coming back to configure, we
13907 # need to make the FD available again.
13908 if test "$no_create" != yes; then
13910 ac_config_status_args=
13911 test "$silent" = yes &&
13912 ac_config_status_args="$ac_config_status_args --quiet"
13914 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
13916 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13917 # would make configure fail if this is the last instruction.
13918 $ac_cs_success || { (exit 1); exit 1; }