2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for newlib 1.15.0.
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.
417 PACKAGE_NAME='newlib'
418 PACKAGE_TARNAME='newlib'
419 PACKAGE_VERSION='1.15.0'
420 PACKAGE_STRING='newlib 1.15.0'
423 ac_unique_file="i386"
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_subdirs_all="$ac_subdirs_all i386"
462 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 MAY_SUPPLY_SYSCALLS_TRUE MAY_SUPPLY_SYSCALLS_FALSE newlib_basedir build build_cpu build_vendor build_os host host_cpu host_vendor host_os 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 CC DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB READELF ac_ct_READELF MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CCAS CCASFLAGS NEWLIB_CFLAGS LDFLAGS ELIX_LEVEL_0_TRUE ELIX_LEVEL_0_FALSE ELIX_LEVEL_1_TRUE ELIX_LEVEL_1_FALSE ELIX_LEVEL_2_TRUE ELIX_LEVEL_2_FALSE ELIX_LEVEL_3_TRUE ELIX_LEVEL_3_FALSE ELIX_LEVEL_4_TRUE ELIX_LEVEL_4_FALSE USE_LIBTOOL_TRUE USE_LIBTOOL_FALSE OBJEXT oext aext lpfx libm_machine_dir machine_dir sys_dir SED DLLTOOL ac_ct_DLLTOOL OBJDUMP ac_ct_OBJDUMP LIBTOOL CFLAGS CPPFLAGS ac_ct_CC EXEEXT EGREP FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM LN_S lt_ECHO CPP subdirs HAVE_MACHINE_DIR_TRUE HAVE_MACHINE_DIR_FALSE LIBOBJS LTLIBOBJS'
465 # Initialize some variables set by options.
467 ac_init_version=false
468 # The variables have the same names as the options, with
469 # dashes changed to underlines.
477 program_transform_name=s,x,x,
485 # Installation directory options.
486 # These are left unexpanded so users can "make install exec_prefix=/foo"
487 # and all the variables that are supposed to be based on exec_prefix
488 # by default will actually change.
489 # Use braces instead of parens because sh, perl, etc. also accept them.
490 bindir='${exec_prefix}/bin'
491 sbindir='${exec_prefix}/sbin'
492 libexecdir='${exec_prefix}/libexec'
493 datadir='${prefix}/share'
494 sysconfdir='${prefix}/etc'
495 sharedstatedir='${prefix}/com'
496 localstatedir='${prefix}/var'
497 libdir='${exec_prefix}/lib'
498 includedir='${prefix}/include'
499 oldincludedir='/usr/include'
500 infodir='${prefix}/info'
501 mandir='${prefix}/man'
506 # If the previous option needs an argument, assign it.
507 if test -n "$ac_prev"; then
508 eval "$ac_prev=\$ac_option"
513 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
515 # Accept the important Cygnus configure options, so we can diagnose typos.
519 -bindir | --bindir | --bindi | --bind | --bin | --bi)
521 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
524 -build | --build | --buil | --bui | --bu)
525 ac_prev=build_alias ;;
526 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
527 build_alias=$ac_optarg ;;
529 -cache-file | --cache-file | --cache-fil | --cache-fi \
530 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
531 ac_prev=cache_file ;;
532 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
533 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
534 cache_file=$ac_optarg ;;
537 cache_file=config.cache ;;
539 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
541 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
543 datadir=$ac_optarg ;;
545 -disable-* | --disable-*)
546 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
547 # Reject names that are not valid shell variable names.
548 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
549 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
550 { (exit 1); exit 1; }; }
551 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
552 eval "enable_$ac_feature=no" ;;
554 -enable-* | --enable-*)
555 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
556 # Reject names that are not valid shell variable names.
557 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
558 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
559 { (exit 1); exit 1; }; }
560 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
562 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
565 eval "enable_$ac_feature='$ac_optarg'" ;;
567 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
568 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
569 | --exec | --exe | --ex)
570 ac_prev=exec_prefix ;;
571 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
572 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
573 | --exec=* | --exe=* | --ex=*)
574 exec_prefix=$ac_optarg ;;
576 -gas | --gas | --ga | --g)
577 # Obsolete; use --with-gas.
580 -help | --help | --hel | --he | -h)
582 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
583 ac_init_help=recursive ;;
584 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
585 ac_init_help=short ;;
587 -host | --host | --hos | --ho)
588 ac_prev=host_alias ;;
589 -host=* | --host=* | --hos=* | --ho=*)
590 host_alias=$ac_optarg ;;
592 -includedir | --includedir | --includedi | --included | --include \
593 | --includ | --inclu | --incl | --inc)
594 ac_prev=includedir ;;
595 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
596 | --includ=* | --inclu=* | --incl=* | --inc=*)
597 includedir=$ac_optarg ;;
599 -infodir | --infodir | --infodi | --infod | --info | --inf)
601 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
602 infodir=$ac_optarg ;;
604 -libdir | --libdir | --libdi | --libd)
606 -libdir=* | --libdir=* | --libdi=* | --libd=*)
609 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
610 | --libexe | --libex | --libe)
611 ac_prev=libexecdir ;;
612 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
613 | --libexe=* | --libex=* | --libe=*)
614 libexecdir=$ac_optarg ;;
616 -localstatedir | --localstatedir | --localstatedi | --localstated \
617 | --localstate | --localstat | --localsta | --localst \
618 | --locals | --local | --loca | --loc | --lo)
619 ac_prev=localstatedir ;;
620 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
621 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
622 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
623 localstatedir=$ac_optarg ;;
625 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
627 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
631 # Obsolete; use --without-fp.
634 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
635 | --no-cr | --no-c | -n)
638 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
639 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
642 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
643 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
644 | --oldin | --oldi | --old | --ol | --o)
645 ac_prev=oldincludedir ;;
646 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
647 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
648 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
649 oldincludedir=$ac_optarg ;;
651 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
653 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
656 -program-prefix | --program-prefix | --program-prefi | --program-pref \
657 | --program-pre | --program-pr | --program-p)
658 ac_prev=program_prefix ;;
659 -program-prefix=* | --program-prefix=* | --program-prefi=* \
660 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
661 program_prefix=$ac_optarg ;;
663 -program-suffix | --program-suffix | --program-suffi | --program-suff \
664 | --program-suf | --program-su | --program-s)
665 ac_prev=program_suffix ;;
666 -program-suffix=* | --program-suffix=* | --program-suffi=* \
667 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
668 program_suffix=$ac_optarg ;;
670 -program-transform-name | --program-transform-name \
671 | --program-transform-nam | --program-transform-na \
672 | --program-transform-n | --program-transform- \
673 | --program-transform | --program-transfor \
674 | --program-transfo | --program-transf \
675 | --program-trans | --program-tran \
676 | --progr-tra | --program-tr | --program-t)
677 ac_prev=program_transform_name ;;
678 -program-transform-name=* | --program-transform-name=* \
679 | --program-transform-nam=* | --program-transform-na=* \
680 | --program-transform-n=* | --program-transform-=* \
681 | --program-transform=* | --program-transfor=* \
682 | --program-transfo=* | --program-transf=* \
683 | --program-trans=* | --program-tran=* \
684 | --progr-tra=* | --program-tr=* | --program-t=*)
685 program_transform_name=$ac_optarg ;;
687 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
688 | -silent | --silent | --silen | --sile | --sil)
691 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
693 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
695 sbindir=$ac_optarg ;;
697 -sharedstatedir | --sharedstatedir | --sharedstatedi \
698 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
699 | --sharedst | --shareds | --shared | --share | --shar \
701 ac_prev=sharedstatedir ;;
702 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
703 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
704 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
706 sharedstatedir=$ac_optarg ;;
708 -site | --site | --sit)
710 -site=* | --site=* | --sit=*)
713 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
715 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
718 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
719 | --syscon | --sysco | --sysc | --sys | --sy)
720 ac_prev=sysconfdir ;;
721 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
722 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
723 sysconfdir=$ac_optarg ;;
725 -target | --target | --targe | --targ | --tar | --ta | --t)
726 ac_prev=target_alias ;;
727 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
728 target_alias=$ac_optarg ;;
730 -v | -verbose | --verbose | --verbos | --verbo | --verb)
733 -version | --version | --versio | --versi | --vers | -V)
737 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
738 # Reject names that are not valid shell variable names.
739 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
740 { echo "$as_me: error: invalid package name: $ac_package" >&2
741 { (exit 1); exit 1; }; }
742 ac_package=`echo $ac_package| sed 's/-/_/g'`
744 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
747 eval "with_$ac_package='$ac_optarg'" ;;
749 -without-* | --without-*)
750 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
751 # Reject names that are not valid shell variable names.
752 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
753 { echo "$as_me: error: invalid package name: $ac_package" >&2
754 { (exit 1); exit 1; }; }
755 ac_package=`echo $ac_package | sed 's/-/_/g'`
756 eval "with_$ac_package=no" ;;
759 # Obsolete; use --with-x.
762 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
763 | --x-incl | --x-inc | --x-in | --x-i)
764 ac_prev=x_includes ;;
765 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
766 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
767 x_includes=$ac_optarg ;;
769 -x-libraries | --x-libraries | --x-librarie | --x-librari \
770 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
771 ac_prev=x_libraries ;;
772 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
773 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
774 x_libraries=$ac_optarg ;;
776 -*) { echo "$as_me: error: unrecognized option: $ac_option
777 Try \`$0 --help' for more information." >&2
778 { (exit 1); exit 1; }; }
782 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
783 # Reject names that are not valid shell variable names.
784 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
785 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
786 { (exit 1); exit 1; }; }
787 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
788 eval "$ac_envvar='$ac_optarg'"
792 # FIXME: should be removed in autoconf 3.0.
793 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
794 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
795 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
796 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
802 if test -n "$ac_prev"; then
803 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
804 { echo "$as_me: error: missing argument to $ac_option" >&2
805 { (exit 1); exit 1; }; }
808 # Be sure to have absolute paths.
809 for ac_var in exec_prefix prefix
811 eval ac_val=$`echo $ac_var`
813 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
814 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
815 { (exit 1); exit 1; }; };;
819 # Be sure to have absolute paths.
820 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
821 localstatedir libdir includedir oldincludedir infodir mandir
823 eval ac_val=$`echo $ac_var`
825 [\\/$]* | ?:[\\/]* ) ;;
826 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
827 { (exit 1); exit 1; }; };;
831 # There might be people who depend on the old broken behavior: `$host'
832 # used to hold the argument of --host etc.
833 # FIXME: To remove some day.
838 # FIXME: To remove some day.
839 if test "x$host_alias" != x; then
840 if test "x$build_alias" = x; then
841 cross_compiling=maybe
842 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
843 If a cross compiler is detected then cross compile mode will be used." >&2
844 elif test "x$build_alias" != "x$host_alias"; then
850 test -n "$host_alias" && ac_tool_prefix=$host_alias-
852 test "$silent" = yes && exec 6>/dev/null
855 # Find the source files, if location was not specified.
856 if test -z "$srcdir"; then
857 ac_srcdir_defaulted=yes
858 # Try the directory containing this script, then its parent.
859 ac_confdir=`(dirname "$0") 2>/dev/null ||
860 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
861 X"$0" : 'X\(//\)[^/]' \| \
862 X"$0" : 'X\(//\)$' \| \
863 X"$0" : 'X\(/\)' \| \
864 . : '\(.\)' 2>/dev/null ||
866 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
867 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
868 /^X\(\/\/\)$/{ s//\1/; q; }
869 /^X\(\/\).*/{ s//\1/; q; }
872 if test ! -r $srcdir/$ac_unique_file; then
876 ac_srcdir_defaulted=no
878 if test ! -r $srcdir/$ac_unique_file; then
879 if test "$ac_srcdir_defaulted" = yes; then
880 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
881 { (exit 1); exit 1; }; }
883 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
884 { (exit 1); exit 1; }; }
887 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
888 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
889 { (exit 1); exit 1; }; }
890 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
891 ac_env_build_alias_set=${build_alias+set}
892 ac_env_build_alias_value=$build_alias
893 ac_cv_env_build_alias_set=${build_alias+set}
894 ac_cv_env_build_alias_value=$build_alias
895 ac_env_host_alias_set=${host_alias+set}
896 ac_env_host_alias_value=$host_alias
897 ac_cv_env_host_alias_set=${host_alias+set}
898 ac_cv_env_host_alias_value=$host_alias
899 ac_env_target_alias_set=${target_alias+set}
900 ac_env_target_alias_value=$target_alias
901 ac_cv_env_target_alias_set=${target_alias+set}
902 ac_cv_env_target_alias_value=$target_alias
903 ac_env_CCAS_set=${CCAS+set}
904 ac_env_CCAS_value=$CCAS
905 ac_cv_env_CCAS_set=${CCAS+set}
906 ac_cv_env_CCAS_value=$CCAS
907 ac_env_CCASFLAGS_set=${CCASFLAGS+set}
908 ac_env_CCASFLAGS_value=$CCASFLAGS
909 ac_cv_env_CCASFLAGS_set=${CCASFLAGS+set}
910 ac_cv_env_CCASFLAGS_value=$CCASFLAGS
911 ac_env_CC_set=${CC+set}
913 ac_cv_env_CC_set=${CC+set}
914 ac_cv_env_CC_value=$CC
915 ac_env_CFLAGS_set=${CFLAGS+set}
916 ac_env_CFLAGS_value=$CFLAGS
917 ac_cv_env_CFLAGS_set=${CFLAGS+set}
918 ac_cv_env_CFLAGS_value=$CFLAGS
919 ac_env_LDFLAGS_set=${LDFLAGS+set}
920 ac_env_LDFLAGS_value=$LDFLAGS
921 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
922 ac_cv_env_LDFLAGS_value=$LDFLAGS
923 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
924 ac_env_CPPFLAGS_value=$CPPFLAGS
925 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
926 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
927 ac_env_CPP_set=${CPP+set}
928 ac_env_CPP_value=$CPP
929 ac_cv_env_CPP_set=${CPP+set}
930 ac_cv_env_CPP_value=$CPP
933 # Report the --help message.
935 if test "$ac_init_help" = "long"; then
936 # Omit some internal or obsolete options to make the list less imposing.
937 # This message is too long to be a string in the A/UX 3.1 sh.
939 \`configure' configures newlib 1.15.0 to adapt to many kinds of systems.
941 Usage: $0 [OPTION]... [VAR=VALUE]...
943 To assign environment variables (e.g., CC, CFLAGS...), specify them as
944 VAR=VALUE. See below for descriptions of some of the useful variables.
946 Defaults for the options are specified in brackets.
949 -h, --help display this help and exit
950 --help=short display options specific to this package
951 --help=recursive display the short help of all the included packages
952 -V, --version display version information and exit
953 -q, --quiet, --silent do not print \`checking...' messages
954 --cache-file=FILE cache test results in FILE [disabled]
955 -C, --config-cache alias for \`--cache-file=config.cache'
956 -n, --no-create do not create output files
957 --srcdir=DIR find the sources in DIR [configure dir or \`..']
962 Installation directories:
963 --prefix=PREFIX install architecture-independent files in PREFIX
965 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
968 By default, \`make install' will install all the files in
969 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
970 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
971 for instance \`--prefix=\$HOME'.
973 For better control, use the options below.
975 Fine tuning of the installation directories:
976 --bindir=DIR user executables [EPREFIX/bin]
977 --sbindir=DIR system admin executables [EPREFIX/sbin]
978 --libexecdir=DIR program executables [EPREFIX/libexec]
979 --datadir=DIR read-only architecture-independent data [PREFIX/share]
980 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
981 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
982 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
983 --libdir=DIR object code libraries [EPREFIX/lib]
984 --includedir=DIR C header files [PREFIX/include]
985 --oldincludedir=DIR C header files for non-gcc [/usr/include]
986 --infodir=DIR info documentation [PREFIX/info]
987 --mandir=DIR man documentation [PREFIX/man]
993 --program-prefix=PREFIX prepend PREFIX to installed program names
994 --program-suffix=SUFFIX append SUFFIX to installed program names
995 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
998 --build=BUILD configure for building on BUILD [guessed]
999 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1003 if test -n "$ac_init_help"; then
1004 case $ac_init_help in
1005 short | recursive ) echo "Configuration of newlib 1.15.0:";;
1010 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1011 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1012 --enable-multilib build many library versions (default)
1013 --enable-target-optspace optimize for space
1014 --enable-malloc-debugging indicate malloc debugging requested
1015 --enable-newlib-multithread enable support for multiple threads
1016 --enable-newlib-iconv enable iconv library support
1017 --enable-newlib-elix-level supply desired elix library level (1-4)
1018 --disable-newlib-io-float disable printf/scanf family float support
1019 --disable-newlib-supplied-syscalls disable newlib from supplying syscalls
1020 --disable-dependency-tracking speeds up one-time build
1021 --enable-dependency-tracking do not reject slow dependency extractors
1022 --enable-maintainer-mode enable make rules and dependencies not useful
1023 (and sometimes confusing) to the casual installer
1024 --enable-shared[=PKGS]
1025 build shared libraries [default=yes]
1026 --enable-static[=PKGS]
1027 build static libraries [default=yes]
1028 --enable-fast-install[=PKGS]
1029 optimize for fast installation [default=yes]
1030 --disable-libtool-lock avoid locking (might break parallel builds)
1033 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1034 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1035 --with-pic try to use only PIC/non-PIC objects [default=use
1037 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1039 Some influential environment variables:
1040 CCAS assembler compiler command (defaults to CC)
1041 CCASFLAGS assembler compiler flags (defaults to CFLAGS)
1042 CC C compiler command
1043 CFLAGS C compiler flags
1044 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1045 nonstandard directory <lib dir>
1046 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1047 headers in a nonstandard directory <include dir>
1050 Use these variables to override the choices made by `configure' or to help
1051 it to find libraries and programs with nonstandard names/locations.
1056 if test "$ac_init_help" = "recursive"; then
1057 # If there are subdirs, report their specific --help.
1059 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1060 test -d $ac_dir || continue
1063 if test "$ac_dir" != .; then
1064 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1065 # A "../" for each directory in $ac_dir_suffix.
1066 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1068 ac_dir_suffix= ac_top_builddir=
1072 .) # No --srcdir option. We are building in place.
1074 if test -z "$ac_top_builddir"; then
1077 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1079 [\\/]* | ?:[\\/]* ) # Absolute path.
1080 ac_srcdir=$srcdir$ac_dir_suffix;
1081 ac_top_srcdir=$srcdir ;;
1083 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1084 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1087 # Do not use `cd foo && pwd` to compute absolute paths, because
1088 # the directories may not exist.
1090 .) ac_abs_builddir="$ac_dir";;
1093 .) ac_abs_builddir=`pwd`;;
1094 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1095 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1098 case $ac_abs_builddir in
1099 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1101 case ${ac_top_builddir}. in
1102 .) ac_abs_top_builddir=$ac_abs_builddir;;
1103 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1104 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1107 case $ac_abs_builddir in
1108 .) ac_abs_srcdir=$ac_srcdir;;
1111 .) ac_abs_srcdir=$ac_abs_builddir;;
1112 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1113 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1116 case $ac_abs_builddir in
1117 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1119 case $ac_top_srcdir in
1120 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1121 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1122 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1127 # Check for guested configure; otherwise get Cygnus style configure.
1128 if test -f $ac_srcdir/configure.gnu; then
1130 $SHELL $ac_srcdir/configure.gnu --help=recursive
1131 elif test -f $ac_srcdir/configure; then
1133 $SHELL $ac_srcdir/configure --help=recursive
1134 elif test -f $ac_srcdir/configure.ac ||
1135 test -f $ac_srcdir/configure.in; then
1137 $ac_configure --help
1139 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1145 test -n "$ac_init_help" && exit 0
1146 if $ac_init_version; then
1148 newlib configure 1.15.0
1149 generated by GNU Autoconf 2.59
1151 Copyright (C) 2003 Free Software Foundation, Inc.
1152 This configure script is free software; the Free Software Foundation
1153 gives unlimited permission to copy, distribute and modify it.
1159 This file contains any messages produced by compilers while
1160 running configure, to aid debugging if configure makes a mistake.
1162 It was created by newlib $as_me 1.15.0, which was
1163 generated by GNU Autoconf 2.59. Invocation command line was
1174 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1175 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1176 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1177 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1178 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1180 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1181 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1183 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1184 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1185 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1186 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1187 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1188 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1189 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1197 test -z "$as_dir" && as_dir=.
1198 echo "PATH: $as_dir"
1213 # Keep a trace of the command line.
1214 # Strip out --no-create and --no-recursion so they do not pile up.
1215 # Strip out --silent because we don't want to record it for future runs.
1216 # Also quote any args containing shell meta-characters.
1217 # Make two passes to allow for proper duplicate-argument suppression.
1222 ac_must_keep_next=false
1228 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1229 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1230 | -silent | --silent | --silen | --sile | --sil)
1232 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1233 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1236 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1238 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1239 if test $ac_must_keep_next = true; then
1240 ac_must_keep_next=false # Got value, back to normal.
1243 *=* | --config-cache | -C | -disable-* | --disable-* \
1244 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1245 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1246 | -with-* | --with-* | -without-* | --without-* | --x)
1247 case "$ac_configure_args0 " in
1248 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1251 -* ) ac_must_keep_next=true ;;
1254 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1255 # Get rid of the leading space.
1261 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1262 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1264 # When interrupted or exit'd, cleanup temporary files, and complete
1265 # config.log. We remove comments because anyway the quotes in there
1266 # would cause problems or look ugly.
1267 # WARNING: Be sure not to use single quotes in there, as some shells,
1268 # such as our DU 5.0 friend, will then `close' the trap.
1269 trap 'exit_status=$?
1270 # Save into config.log some information that might help in debugging.
1275 ## ---------------- ##
1276 ## Cache variables. ##
1277 ## ---------------- ##
1280 # The following way of writing the cache mishandles newlines in values,
1283 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1286 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1287 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1291 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1298 ## ----------------- ##
1299 ## Output variables. ##
1300 ## ----------------- ##
1303 for ac_var in $ac_subst_vars
1305 eval ac_val=$`echo $ac_var`
1306 echo "$ac_var='"'"'$ac_val'"'"'"
1310 if test -n "$ac_subst_files"; then
1317 for ac_var in $ac_subst_files
1319 eval ac_val=$`echo $ac_var`
1320 echo "$ac_var='"'"'$ac_val'"'"'"
1325 if test -s confdefs.h; then
1332 sed "/^$/d" confdefs.h | sort
1335 test "$ac_signal" != 0 &&
1336 echo "$as_me: caught signal $ac_signal"
1337 echo "$as_me: exit $exit_status"
1339 rm -f core *.core &&
1340 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1343 for ac_signal in 1 2 13 15; do
1344 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1348 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1349 rm -rf conftest* confdefs.h
1350 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1353 # Predefined preprocessor variables.
1355 cat >>confdefs.h <<_ACEOF
1356 #define PACKAGE_NAME "$PACKAGE_NAME"
1360 cat >>confdefs.h <<_ACEOF
1361 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1365 cat >>confdefs.h <<_ACEOF
1366 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1370 cat >>confdefs.h <<_ACEOF
1371 #define PACKAGE_STRING "$PACKAGE_STRING"
1375 cat >>confdefs.h <<_ACEOF
1376 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1380 # Let the site file select an alternate cache file if it wants to.
1381 # Prefer explicitly selected file to automatically selected ones.
1382 if test -z "$CONFIG_SITE"; then
1383 if test "x$prefix" != xNONE; then
1384 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1386 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1389 for ac_site_file in $CONFIG_SITE; do
1390 if test -r "$ac_site_file"; then
1391 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1392 echo "$as_me: loading site script $ac_site_file" >&6;}
1393 sed 's/^/| /' "$ac_site_file" >&5
1398 if test -r "$cache_file"; then
1399 # Some versions of bash will fail to source /dev/null (special
1400 # files actually), so we avoid doing that.
1401 if test -f "$cache_file"; then
1402 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1403 echo "$as_me: loading cache $cache_file" >&6;}
1405 [\\/]* | ?:[\\/]* ) . $cache_file;;
1406 *) . ./$cache_file;;
1410 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1411 echo "$as_me: creating cache $cache_file" >&6;}
1415 # Check that the precious variables saved in the cache have kept the same
1417 ac_cache_corrupted=false
1418 for ac_var in `(set) 2>&1 |
1419 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1420 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1421 eval ac_new_set=\$ac_env_${ac_var}_set
1422 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1423 eval ac_new_val="\$ac_env_${ac_var}_value"
1424 case $ac_old_set,$ac_new_set in
1426 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1427 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1428 ac_cache_corrupted=: ;;
1430 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1431 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1432 ac_cache_corrupted=: ;;
1435 if test "x$ac_old_val" != "x$ac_new_val"; then
1436 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1437 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1438 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1439 echo "$as_me: former value: $ac_old_val" >&2;}
1440 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1441 echo "$as_me: current value: $ac_new_val" >&2;}
1442 ac_cache_corrupted=:
1445 # Pass precious variables to config.status.
1446 if test "$ac_new_set" = set; then
1448 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1449 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1450 *) ac_arg=$ac_var=$ac_new_val ;;
1452 case " $ac_configure_args " in
1453 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1454 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1458 if $ac_cache_corrupted; then
1459 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1460 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1461 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1462 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1463 { (exit 1); exit 1; }; }
1467 ac_cpp='$CPP $CPPFLAGS'
1468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1501 for ac_dir in ../../../../../.. $srcdir/../../../../../..; do
1502 if test -f $ac_dir/install-sh; then
1504 ac_install_sh="$ac_aux_dir/install-sh -c"
1506 elif test -f $ac_dir/install.sh; then
1508 ac_install_sh="$ac_aux_dir/install.sh -c"
1510 elif test -f $ac_dir/shtool; then
1512 ac_install_sh="$ac_aux_dir/shtool install -c"
1516 if test -z "$ac_aux_dir"; then
1517 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ../../../../../.. $srcdir/../../../../../.." >&5
1518 echo "$as_me: error: cannot find install-sh or install.sh in ../../../../../.. $srcdir/../../../../../.." >&2;}
1519 { (exit 1); exit 1; }; }
1521 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1522 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1523 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1527 # Make sure we can run config.sub.
1528 $ac_config_sub sun4 >/dev/null 2>&1 ||
1529 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1530 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1531 { (exit 1); exit 1; }; }
1533 echo "$as_me:$LINENO: checking build system type" >&5
1534 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1535 if test "${ac_cv_build+set}" = set; then
1536 echo $ECHO_N "(cached) $ECHO_C" >&6
1538 ac_cv_build_alias=$build_alias
1539 test -z "$ac_cv_build_alias" &&
1540 ac_cv_build_alias=`$ac_config_guess`
1541 test -z "$ac_cv_build_alias" &&
1542 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1543 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1544 { (exit 1); exit 1; }; }
1545 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1546 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1547 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1548 { (exit 1); exit 1; }; }
1551 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1552 echo "${ECHO_T}$ac_cv_build" >&6
1554 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1555 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1556 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1559 am__api_version="1.9"
1560 # Find a good install program. We prefer a C program (faster),
1561 # so one script is as good as another. But avoid the broken or
1562 # incompatible versions:
1563 # SysV /etc/install, /usr/sbin/install
1564 # SunOS /usr/etc/install
1565 # IRIX /sbin/install
1567 # AmigaOS /C/install, which installs bootblocks on floppy discs
1568 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1569 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1570 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1571 # OS/2's system install, which has a completely different semantic
1572 # ./install, which can be erroneously created by make from ./install.sh.
1573 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1574 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1575 if test -z "$INSTALL"; then
1576 if test "${ac_cv_path_install+set}" = set; then
1577 echo $ECHO_N "(cached) $ECHO_C" >&6
1579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1583 test -z "$as_dir" && as_dir=.
1584 # Account for people who put trailing slashes in PATH elements.
1586 ./ | .// | /cC/* | \
1587 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1588 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1591 # OSF1 and SCO ODT 3.0 have their own names for install.
1592 # Don't use installbsd from OSF since it installs stuff as root
1594 for ac_prog in ginstall scoinst install; do
1595 for ac_exec_ext in '' $ac_executable_extensions; do
1596 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1597 if test $ac_prog = install &&
1598 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1599 # AIX install. It has an incompatible calling convention.
1601 elif test $ac_prog = install &&
1602 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1603 # program-specific install script used by HP pwplus--don't use.
1606 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1618 if test "${ac_cv_path_install+set}" = set; then
1619 INSTALL=$ac_cv_path_install
1621 # As a last resort, use the slow shell script. We don't cache a
1622 # path for INSTALL within a source directory, because that will
1623 # break other packages using the cache if that directory is
1624 # removed, or if the path is relative.
1625 INSTALL=$ac_install_sh
1628 echo "$as_me:$LINENO: result: $INSTALL" >&5
1629 echo "${ECHO_T}$INSTALL" >&6
1631 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1632 # It thinks the first close brace ends the variable substitution.
1633 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1635 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1637 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1639 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1640 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1643 echo timestamp > conftest.file
1644 # Do `set' in a subshell so we don't clobber the current shell's
1645 # arguments. Must try -L first in case configure is actually a
1646 # symlink; some systems play weird games with the mod time of symlinks
1647 # (eg FreeBSD returns the mod time of the symlink's containing
1650 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1651 if test "$*" = "X"; then
1653 set X `ls -t $srcdir/configure conftest.file`
1656 if test "$*" != "X $srcdir/configure conftest.file" \
1657 && test "$*" != "X conftest.file $srcdir/configure"; then
1659 # If neither matched, then we have a broken ls. This can happen
1660 # if, for instance, CONFIG_SHELL is bash and it inherits a
1661 # broken ls alias from the environment. This has actually
1662 # happened. Such a system could not be considered "sane".
1663 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1664 alias in your environment" >&5
1665 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1666 alias in your environment" >&2;}
1667 { (exit 1); exit 1; }; }
1670 test "$2" = conftest.file
1676 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1677 Check your system clock" >&5
1678 echo "$as_me: error: newly created file is older than distributed files!
1679 Check your system clock" >&2;}
1680 { (exit 1); exit 1; }; }
1682 echo "$as_me:$LINENO: result: yes" >&5
1683 echo "${ECHO_T}yes" >&6
1684 test "$program_prefix" != NONE &&
1685 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1686 # Use a double $ so make ignores it.
1687 test "$program_suffix" != NONE &&
1688 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1689 # Double any \ or $. echo might interpret backslashes.
1690 # By default was `s,x,x', remove it if useless.
1691 cat <<\_ACEOF >conftest.sed
1692 s/[\\$]/&&/g;s/;s,x,x,$//
1694 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1697 # expand $ac_aux_dir to an absolute path
1698 am_aux_dir=`cd $ac_aux_dir && pwd`
1700 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1701 # Use eval to expand $SHELL
1702 if eval "$MISSING --run true"; then
1703 am_missing_run="$MISSING --run "
1706 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1707 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1710 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1711 # We used to keeping the `.' as first argument, in order to
1712 # allow $(mkdir_p) to be used without argument. As in
1713 # $(mkdir_p) $(somedir)
1714 # where $(somedir) is conditionally defined. However this is wrong
1716 # 1. if the package is installed by a user who cannot write `.'
1717 # make install will fail,
1718 # 2. the above comment should most certainly read
1719 # $(mkdir_p) $(DESTDIR)$(somedir)
1720 # so it does not work when $(somedir) is undefined and
1721 # $(DESTDIR) is not.
1722 # To support the latter case, we have to write
1723 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1724 # so the `.' trick is pointless.
1725 mkdir_p='mkdir -p --'
1727 # On NextStep and OpenStep, the `mkdir' command does not
1728 # recognize any option. It will interpret all options as
1729 # directories to create, and then abort because `.' already
1731 for d in ./-p ./--version;
1733 test -d $d && rmdir $d
1735 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1736 if test -f "$ac_aux_dir/mkinstalldirs"; then
1737 mkdir_p='$(mkinstalldirs)'
1739 mkdir_p='$(install_sh) -d'
1743 for ac_prog in gawk mawk nawk awk
1745 # Extract the first word of "$ac_prog", so it can be a program name with args.
1746 set dummy $ac_prog; ac_word=$2
1747 echo "$as_me:$LINENO: checking for $ac_word" >&5
1748 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1749 if test "${ac_cv_prog_AWK+set}" = set; then
1750 echo $ECHO_N "(cached) $ECHO_C" >&6
1752 if test -n "$AWK"; then
1753 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1759 test -z "$as_dir" && as_dir=.
1760 for ac_exec_ext in '' $ac_executable_extensions; do
1761 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1762 ac_cv_prog_AWK="$ac_prog"
1763 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1772 if test -n "$AWK"; then
1773 echo "$as_me:$LINENO: result: $AWK" >&5
1774 echo "${ECHO_T}$AWK" >&6
1776 echo "$as_me:$LINENO: result: no" >&5
1777 echo "${ECHO_T}no" >&6
1780 test -n "$AWK" && break
1783 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1784 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1785 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1786 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1787 echo $ECHO_N "(cached) $ECHO_C" >&6
1789 cat >conftest.make <<\_ACEOF
1791 @echo 'ac_maketemp="$(MAKE)"'
1793 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1794 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1795 if test -n "$ac_maketemp"; then
1796 eval ac_cv_prog_make_${ac_make}_set=yes
1798 eval ac_cv_prog_make_${ac_make}_set=no
1802 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1803 echo "$as_me:$LINENO: result: yes" >&5
1804 echo "${ECHO_T}yes" >&6
1807 echo "$as_me:$LINENO: result: no" >&5
1808 echo "${ECHO_T}no" >&6
1809 SET_MAKE="MAKE=${MAKE-make}"
1812 rm -rf .tst 2>/dev/null
1813 mkdir .tst 2>/dev/null
1814 if test -d .tst; then
1819 rmdir .tst 2>/dev/null
1821 DEPDIR="${am__leading_dot}deps"
1823 ac_config_commands="$ac_config_commands depfiles"
1826 am_make=${MAKE-make}
1827 cat > confinc << 'END'
1832 # If we don't find an include directive, just comment out the code.
1833 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
1834 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
1838 # First try GNU make style include.
1839 echo "include confinc" > confmf
1840 # We grep out `Entering directory' and `Leaving directory'
1841 # messages which can occur if `w' ends up in MAKEFLAGS.
1842 # In particular we don't look at `^make:' because GNU make might
1843 # be invoked under some other name (usually "gmake"), in which
1844 # case it prints its new name instead of `make'.
1845 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
1850 # Now try BSD make style include.
1851 if test "$am__include" = "#"; then
1852 echo '.include "confinc"' > confmf
1853 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
1854 am__include=.include
1861 echo "$as_me:$LINENO: result: $_am_result" >&5
1862 echo "${ECHO_T}$_am_result" >&6
1863 rm -f confinc confmf
1865 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1866 if test "${enable_dependency_tracking+set}" = set; then
1867 enableval="$enable_dependency_tracking"
1870 if test "x$enable_dependency_tracking" != xno; then
1871 am_depcomp="$ac_aux_dir/depcomp"
1876 if test "x$enable_dependency_tracking" != xno; then
1887 # Check whether --enable-multilib or --disable-multilib was given.
1888 if test "${enable_multilib+set}" = set; then
1889 enableval="$enable_multilib"
1890 case "${enableval}" in
1891 yes) multilib=yes ;;
1893 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for multilib option" >&5
1894 echo "$as_me: error: bad value ${enableval} for multilib option" >&2;}
1895 { (exit 1); exit 1; }; } ;;
1900 # Check whether --enable-target-optspace or --disable-target-optspace was given.
1901 if test "${enable_target_optspace+set}" = set; then
1902 enableval="$enable_target_optspace"
1903 case "${enableval}" in
1904 yes) target_optspace=yes ;;
1905 no) target_optspace=no ;;
1906 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for target-optspace option" >&5
1907 echo "$as_me: error: bad value ${enableval} for target-optspace option" >&2;}
1908 { (exit 1); exit 1; }; } ;;
1913 # Check whether --enable-malloc-debugging or --disable-malloc-debugging was given.
1914 if test "${enable_malloc_debugging+set}" = set; then
1915 enableval="$enable_malloc_debugging"
1916 case "${enableval}" in
1917 yes) malloc_debugging=yes ;;
1918 no) malloc_debugging=no ;;
1919 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for malloc-debugging option" >&5
1920 echo "$as_me: error: bad value ${enableval} for malloc-debugging option" >&2;}
1921 { (exit 1); exit 1; }; } ;;
1926 # Check whether --enable-newlib-multithread or --disable-newlib-multithread was given.
1927 if test "${enable_newlib_multithread+set}" = set; then
1928 enableval="$enable_newlib_multithread"
1929 case "${enableval}" in
1930 yes) newlib_multithread=yes ;;
1931 no) newlib_multithread=no ;;
1932 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-multithread option" >&5
1933 echo "$as_me: error: bad value ${enableval} for newlib-multithread option" >&2;}
1934 { (exit 1); exit 1; }; } ;;
1937 newlib_multithread=yes
1939 # Check whether --enable-newlib-iconv or --disable-newlib-iconv was given.
1940 if test "${enable_newlib_iconv+set}" = set; then
1941 enableval="$enable_newlib_iconv"
1942 if test "${newlib_iconv+set}" != set; then
1943 case "${enableval}" in
1944 yes) newlib_iconv=yes ;;
1945 no) newlib_iconv=no ;;
1946 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-iconv option" >&5
1947 echo "$as_me: error: bad value ${enableval} for newlib-iconv option" >&2;}
1948 { (exit 1); exit 1; }; } ;;
1952 newlib_iconv=${newlib_iconv}
1954 # Check whether --enable-newlib-elix-level or --disable-newlib-elix-level was given.
1955 if test "${enable_newlib_elix_level+set}" = set; then
1956 enableval="$enable_newlib_elix_level"
1957 case "${enableval}" in
1958 0) newlib_elix_level=0 ;;
1959 1) newlib_elix_level=1 ;;
1960 2) newlib_elix_level=2 ;;
1961 3) newlib_elix_level=3 ;;
1962 4) newlib_elix_level=4 ;;
1963 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-elix-level option" >&5
1964 echo "$as_me: error: bad value ${enableval} for newlib-elix-level option" >&2;}
1965 { (exit 1); exit 1; }; } ;;
1970 # Check whether --enable-newlib-io-float or --disable-newlib-io-float was given.
1971 if test "${enable_newlib_io_float+set}" = set; then
1972 enableval="$enable_newlib_io_float"
1973 case "${enableval}" in
1974 yes) newlib_io_float=yes ;;
1975 no) newlib_io_float=no ;;
1976 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-io-float option" >&5
1977 echo "$as_me: error: bad value ${enableval} for newlib-io-float option" >&2;}
1978 { (exit 1); exit 1; }; } ;;
1983 # Check whether --enable-newlib-supplied-syscalls or --disable-newlib-supplied-syscalls was given.
1984 if test "${enable_newlib_supplied_syscalls+set}" = set; then
1985 enableval="$enable_newlib_supplied_syscalls"
1986 case "${enableval}" in
1987 yes) newlib_may_supply_syscalls=yes ;;
1988 no) newlib_may_supply_syscalls=no ;;
1989 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-supplied-syscalls option" >&5
1990 echo "$as_me: error: bad value ${enableval} for newlib-supplied-syscalls option" >&2;}
1991 { (exit 1); exit 1; }; } ;;
1994 newlib_may_supply_syscalls=yes
1998 if test x${newlib_may_supply_syscalls} = xyes; then
1999 MAY_SUPPLY_SYSCALLS_TRUE=
2000 MAY_SUPPLY_SYSCALLS_FALSE='#'
2002 MAY_SUPPLY_SYSCALLS_TRUE='#'
2003 MAY_SUPPLY_SYSCALLS_FALSE=
2008 test -z "${with_target_subdir}" && with_target_subdir=.
2010 if test "${srcdir}" = "."; then
2011 if test "${with_target_subdir}" != "."; then
2012 newlib_basedir="${srcdir}/${with_multisrctop}../../../../../.."
2014 newlib_basedir="${srcdir}/${with_multisrctop}../../../../.."
2017 newlib_basedir="${srcdir}/../../../../.."
2021 echo "$as_me:$LINENO: checking host system type" >&5
2022 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2023 if test "${ac_cv_host+set}" = set; then
2024 echo $ECHO_N "(cached) $ECHO_C" >&6
2026 ac_cv_host_alias=$host_alias
2027 test -z "$ac_cv_host_alias" &&
2028 ac_cv_host_alias=$ac_cv_build_alias
2029 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
2030 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2031 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2032 { (exit 1); exit 1; }; }
2035 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2036 echo "${ECHO_T}$ac_cv_host" >&6
2038 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2039 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2040 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2044 # test to see if srcdir already configured
2045 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2046 test -f $srcdir/config.status; then
2047 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2048 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2049 { (exit 1); exit 1; }; }
2052 # test whether we have cygpath
2053 if test -z "$CYGPATH_W"; then
2054 if (cygpath --version) >/dev/null 2>/dev/null; then
2055 CYGPATH_W='cygpath -w'
2062 # Define the identity of the package.
2067 # Some tools Automake needs.
2069 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2072 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2075 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2078 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2081 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2083 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2085 # Installed binaries are usually stripped using `strip' when the user
2086 # run `make install-strip'. However `strip' might not be the right
2087 # tool to use in cross-compilation environments, therefore Automake
2088 # will honor the `STRIP' environment variable to overrule this program.
2089 if test "$cross_compiling" != no; then
2090 if test -n "$ac_tool_prefix"; then
2091 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2092 set dummy ${ac_tool_prefix}strip; ac_word=$2
2093 echo "$as_me:$LINENO: checking for $ac_word" >&5
2094 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2095 if test "${ac_cv_prog_STRIP+set}" = set; then
2096 echo $ECHO_N "(cached) $ECHO_C" >&6
2098 if test -n "$STRIP"; then
2099 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2105 test -z "$as_dir" && as_dir=.
2106 for ac_exec_ext in '' $ac_executable_extensions; do
2107 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2108 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2109 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2117 STRIP=$ac_cv_prog_STRIP
2118 if test -n "$STRIP"; then
2119 echo "$as_me:$LINENO: result: $STRIP" >&5
2120 echo "${ECHO_T}$STRIP" >&6
2122 echo "$as_me:$LINENO: result: no" >&5
2123 echo "${ECHO_T}no" >&6
2127 if test -z "$ac_cv_prog_STRIP"; then
2129 # Extract the first word of "strip", so it can be a program name with args.
2130 set dummy strip; ac_word=$2
2131 echo "$as_me:$LINENO: checking for $ac_word" >&5
2132 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2133 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2134 echo $ECHO_N "(cached) $ECHO_C" >&6
2136 if test -n "$ac_ct_STRIP"; then
2137 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2143 test -z "$as_dir" && as_dir=.
2144 for ac_exec_ext in '' $ac_executable_extensions; do
2145 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2146 ac_cv_prog_ac_ct_STRIP="strip"
2147 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2153 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2156 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2157 if test -n "$ac_ct_STRIP"; then
2158 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2159 echo "${ECHO_T}$ac_ct_STRIP" >&6
2161 echo "$as_me:$LINENO: result: no" >&5
2162 echo "${ECHO_T}no" >&6
2167 STRIP="$ac_cv_prog_STRIP"
2171 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2173 # We need awk for the "check" target. The system "awk" is bad on
2175 # Always define AMTAR for backward compatibility.
2177 AMTAR=${AMTAR-"${am_missing_run}tar"}
2179 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2186 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
2187 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
2188 # are probably using a cross compiler, which will not be able to fully
2189 # link an executable. This should really be fixed in autoconf
2198 # Extract the first word of "gcc", so it can be a program name with args.
2199 set dummy gcc; ac_word=$2
2200 echo "$as_me:$LINENO: checking for $ac_word" >&5
2201 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2202 if test "${ac_cv_prog_CC+set}" = set; then
2203 echo $ECHO_N "(cached) $ECHO_C" >&6
2205 if test -n "$CC"; then
2206 ac_cv_prog_CC="$CC" # Let the user override the test.
2208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2212 test -z "$as_dir" && as_dir=.
2213 for ac_exec_ext in '' $ac_executable_extensions; do
2214 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2216 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2225 if test -n "$CC"; then
2226 echo "$as_me:$LINENO: result: $CC" >&5
2227 echo "${ECHO_T}$CC" >&6
2229 echo "$as_me:$LINENO: result: no" >&5
2230 echo "${ECHO_T}no" >&6
2234 depcc="$CC" am_compiler_list=
2236 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2237 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2238 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2239 echo $ECHO_N "(cached) $ECHO_C" >&6
2241 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2242 # We make a subdir and do the tests there. Otherwise we can end up
2243 # making bogus files that we don't know about and never remove. For
2244 # instance it was reported that on HP-UX the gcc test will end up
2245 # making a dummy file named `D' -- because `-MD' means `put the output
2248 # Copy depcomp to subdir because otherwise we won't find it if we're
2249 # using a relative directory.
2250 cp "$am_depcomp" conftest.dir
2252 # We will build objects and dependencies in a subdirectory because
2253 # it helps to detect inapplicable dependency modes. For instance
2254 # both Tru64's cc and ICC support -MD to output dependencies as a
2255 # side effect of compilation, but ICC will put the dependencies in
2256 # the current directory while Tru64 will put them in the object
2260 am_cv_CC_dependencies_compiler_type=none
2261 if test "$am_compiler_list" = ""; then
2262 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2264 for depmode in $am_compiler_list; do
2265 # Setup a source with many dependencies, because some compilers
2266 # like to wrap large dependency lists on column 80 (with \), and
2267 # we should not choose a depcomp mode which is confused by this.
2269 # We need to recreate these files for each test, as the compiler may
2270 # overwrite some of them when testing with obscure command lines.
2271 # This happens at least with the AIX C compiler.
2273 for i in 1 2 3 4 5 6; do
2274 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2275 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2276 # Solaris 8's {/usr,}/bin/sh.
2277 touch sub/conftst$i.h
2279 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2283 # after this tag, mechanisms are not by side-effect, so they'll
2284 # only be used when explicitly requested
2285 if test "x$enable_dependency_tracking" = xyes; then
2293 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2294 # mode. It turns out that the SunPro C++ compiler does not properly
2295 # handle `-M -o', and we need to detect this.
2296 if depmode=$depmode \
2297 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2298 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2299 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2300 >/dev/null 2>conftest.err &&
2301 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2302 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2303 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2304 # icc doesn't choke on unknown options, it will just issue warnings
2305 # or remarks (even with -Werror). So we grep stderr for any message
2306 # that says an option was ignored or not supported.
2307 # When given -MP, icc 7.0 and 7.1 complain thusly:
2308 # icc: Command line warning: ignoring option '-M'; no argument required
2309 # The diagnosis changed in icc 8.0:
2310 # icc: Command line remark: option '-MP' not supported
2311 if (grep 'ignoring option' conftest.err ||
2312 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2313 am_cv_CC_dependencies_compiler_type=$depmode
2322 am_cv_CC_dependencies_compiler_type=none
2326 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2327 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2328 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2333 test "x$enable_dependency_tracking" != xno \
2334 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2336 am__fastdepCC_FALSE='#'
2338 am__fastdepCC_TRUE='#'
2339 am__fastdepCC_FALSE=
2343 if test -z "$CC"; then
2344 # Extract the first word of "cc", so it can be a program name with args.
2345 set dummy cc; ac_word=$2
2346 echo "$as_me:$LINENO: checking for $ac_word" >&5
2347 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2348 if test "${ac_cv_prog_CC+set}" = set; then
2349 echo $ECHO_N "(cached) $ECHO_C" >&6
2351 if test -n "$CC"; then
2352 ac_cv_prog_CC="$CC" # Let the user override the test.
2355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2359 test -z "$as_dir" && as_dir=.
2360 for ac_exec_ext in '' $ac_executable_extensions; do
2361 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2362 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2363 ac_prog_rejected=yes
2367 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2373 if test $ac_prog_rejected = yes; then
2374 # We found a bogon in the path, so make sure we never use it.
2375 set dummy $ac_cv_prog_CC
2377 if test $# != 0; then
2378 # We chose a different compiler from the bogus one.
2379 # However, it has the same basename, so the bogon will be chosen
2380 # first if we set CC to just the basename; use the full file name.
2382 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2388 if test -n "$CC"; then
2389 echo "$as_me:$LINENO: result: $CC" >&5
2390 echo "${ECHO_T}$CC" >&6
2392 echo "$as_me:$LINENO: result: no" >&5
2393 echo "${ECHO_T}no" >&6
2396 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
2397 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
2398 { (exit 1); exit 1; }; }
2401 echo "$as_me:$LINENO: checking whether we are using GNU C" >&5
2402 echo $ECHO_N "checking whether we are using GNU C... $ECHO_C" >&6
2403 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2404 echo $ECHO_N "(cached) $ECHO_C" >&6
2406 cat > conftest.c <<EOF
2411 if { ac_try='${CC-cc} -E conftest.c'
2412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2416 (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
2417 ac_cv_c_compiler_gnu=yes
2419 ac_cv_c_compiler_gnu=no
2422 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2423 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2425 if test $ac_cv_c_compiler_gnu = yes; then
2427 ac_test_CFLAGS="${CFLAGS+set}"
2428 ac_save_CFLAGS="$CFLAGS"
2430 ac_test_CFLAGS=${CFLAGS+set}
2431 ac_save_CFLAGS=$CFLAGS
2433 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2434 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2435 if test "${ac_cv_prog_cc_g+set}" = set; then
2436 echo $ECHO_N "(cached) $ECHO_C" >&6
2438 cat >conftest.$ac_ext <<_ACEOF
2441 cat confdefs.h >>conftest.$ac_ext
2442 cat >>conftest.$ac_ext <<_ACEOF
2443 /* end confdefs.h. */
2453 rm -f conftest.$ac_objext
2454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2455 (eval $ac_compile) 2>conftest.er1
2457 grep -v '^ *+' conftest.er1 >conftest.err
2459 cat conftest.err >&5
2460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2461 (exit $ac_status); } &&
2462 { ac_try='test -z "$ac_c_werror_flag"
2463 || test ! -s conftest.err'
2464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2468 (exit $ac_status); }; } &&
2469 { ac_try='test -s conftest.$ac_objext'
2470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2474 (exit $ac_status); }; }; then
2477 echo "$as_me: failed program was:" >&5
2478 sed 's/^/| /' conftest.$ac_ext >&5
2482 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2484 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2485 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2486 if test "$ac_test_CFLAGS" = set; then
2487 CFLAGS=$ac_save_CFLAGS
2488 elif test $ac_cv_prog_cc_g = yes; then
2489 if test "$GCC" = yes; then
2495 if test "$GCC" = yes; then
2501 if test "$ac_test_CFLAGS" = set; then
2502 CFLAGS="$ac_save_CFLAGS"
2503 elif test $ac_cv_prog_cc_g = yes; then
2510 test "${CFLAGS+set}" = set || CFLAGS="-g"
2514 if test -n "$ac_tool_prefix"; then
2515 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
2516 set dummy ${ac_tool_prefix}as; ac_word=$2
2517 echo "$as_me:$LINENO: checking for $ac_word" >&5
2518 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2519 if test "${ac_cv_prog_AS+set}" = set; then
2520 echo $ECHO_N "(cached) $ECHO_C" >&6
2522 if test -n "$AS"; then
2523 ac_cv_prog_AS="$AS" # Let the user override the test.
2525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2529 test -z "$as_dir" && as_dir=.
2530 for ac_exec_ext in '' $ac_executable_extensions; do
2531 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2532 ac_cv_prog_AS="${ac_tool_prefix}as"
2533 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2542 if test -n "$AS"; then
2543 echo "$as_me:$LINENO: result: $AS" >&5
2544 echo "${ECHO_T}$AS" >&6
2546 echo "$as_me:$LINENO: result: no" >&5
2547 echo "${ECHO_T}no" >&6
2551 if test -z "$ac_cv_prog_AS"; then
2553 # Extract the first word of "as", so it can be a program name with args.
2554 set dummy as; ac_word=$2
2555 echo "$as_me:$LINENO: checking for $ac_word" >&5
2556 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2557 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
2558 echo $ECHO_N "(cached) $ECHO_C" >&6
2560 if test -n "$ac_ct_AS"; then
2561 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
2563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2567 test -z "$as_dir" && as_dir=.
2568 for ac_exec_ext in '' $ac_executable_extensions; do
2569 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2570 ac_cv_prog_ac_ct_AS="as"
2571 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2579 ac_ct_AS=$ac_cv_prog_ac_ct_AS
2580 if test -n "$ac_ct_AS"; then
2581 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
2582 echo "${ECHO_T}$ac_ct_AS" >&6
2584 echo "$as_me:$LINENO: result: no" >&5
2585 echo "${ECHO_T}no" >&6
2593 if test -n "$ac_tool_prefix"; then
2594 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2595 set dummy ${ac_tool_prefix}ar; ac_word=$2
2596 echo "$as_me:$LINENO: checking for $ac_word" >&5
2597 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2598 if test "${ac_cv_prog_AR+set}" = set; then
2599 echo $ECHO_N "(cached) $ECHO_C" >&6
2601 if test -n "$AR"; then
2602 ac_cv_prog_AR="$AR" # Let the user override the test.
2604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2608 test -z "$as_dir" && as_dir=.
2609 for ac_exec_ext in '' $ac_executable_extensions; do
2610 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2611 ac_cv_prog_AR="${ac_tool_prefix}ar"
2612 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2621 if test -n "$AR"; then
2622 echo "$as_me:$LINENO: result: $AR" >&5
2623 echo "${ECHO_T}$AR" >&6
2625 echo "$as_me:$LINENO: result: no" >&5
2626 echo "${ECHO_T}no" >&6
2630 if test -z "$ac_cv_prog_AR"; then
2632 # Extract the first word of "ar", so it can be a program name with args.
2633 set dummy ar; ac_word=$2
2634 echo "$as_me:$LINENO: checking for $ac_word" >&5
2635 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2636 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
2637 echo $ECHO_N "(cached) $ECHO_C" >&6
2639 if test -n "$ac_ct_AR"; then
2640 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
2642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2646 test -z "$as_dir" && as_dir=.
2647 for ac_exec_ext in '' $ac_executable_extensions; do
2648 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2649 ac_cv_prog_ac_ct_AR="ar"
2650 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2658 ac_ct_AR=$ac_cv_prog_ac_ct_AR
2659 if test -n "$ac_ct_AR"; then
2660 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
2661 echo "${ECHO_T}$ac_ct_AR" >&6
2663 echo "$as_me:$LINENO: result: no" >&5
2664 echo "${ECHO_T}no" >&6
2672 if test -n "$ac_tool_prefix"; then
2673 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2674 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2675 echo "$as_me:$LINENO: checking for $ac_word" >&5
2676 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2677 if test "${ac_cv_prog_RANLIB+set}" = set; then
2678 echo $ECHO_N "(cached) $ECHO_C" >&6
2680 if test -n "$RANLIB"; then
2681 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2687 test -z "$as_dir" && as_dir=.
2688 for ac_exec_ext in '' $ac_executable_extensions; do
2689 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2690 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2691 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2699 RANLIB=$ac_cv_prog_RANLIB
2700 if test -n "$RANLIB"; then
2701 echo "$as_me:$LINENO: result: $RANLIB" >&5
2702 echo "${ECHO_T}$RANLIB" >&6
2704 echo "$as_me:$LINENO: result: no" >&5
2705 echo "${ECHO_T}no" >&6
2709 if test -z "$ac_cv_prog_RANLIB"; then
2710 ac_ct_RANLIB=$RANLIB
2711 # Extract the first word of "ranlib", so it can be a program name with args.
2712 set dummy ranlib; ac_word=$2
2713 echo "$as_me:$LINENO: checking for $ac_word" >&5
2714 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2715 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2716 echo $ECHO_N "(cached) $ECHO_C" >&6
2718 if test -n "$ac_ct_RANLIB"; then
2719 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2725 test -z "$as_dir" && as_dir=.
2726 for ac_exec_ext in '' $ac_executable_extensions; do
2727 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2728 ac_cv_prog_ac_ct_RANLIB="ranlib"
2729 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2735 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
2738 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2739 if test -n "$ac_ct_RANLIB"; then
2740 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2741 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2743 echo "$as_me:$LINENO: result: no" >&5
2744 echo "${ECHO_T}no" >&6
2747 RANLIB=$ac_ct_RANLIB
2749 RANLIB="$ac_cv_prog_RANLIB"
2752 if test -n "$ac_tool_prefix"; then
2753 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
2754 set dummy ${ac_tool_prefix}readelf; ac_word=$2
2755 echo "$as_me:$LINENO: checking for $ac_word" >&5
2756 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2757 if test "${ac_cv_prog_READELF+set}" = set; then
2758 echo $ECHO_N "(cached) $ECHO_C" >&6
2760 if test -n "$READELF"; then
2761 ac_cv_prog_READELF="$READELF" # Let the user override the test.
2763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2767 test -z "$as_dir" && as_dir=.
2768 for ac_exec_ext in '' $ac_executable_extensions; do
2769 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2770 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
2771 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2779 READELF=$ac_cv_prog_READELF
2780 if test -n "$READELF"; then
2781 echo "$as_me:$LINENO: result: $READELF" >&5
2782 echo "${ECHO_T}$READELF" >&6
2784 echo "$as_me:$LINENO: result: no" >&5
2785 echo "${ECHO_T}no" >&6
2789 if test -z "$ac_cv_prog_READELF"; then
2790 ac_ct_READELF=$READELF
2791 # Extract the first word of "readelf", so it can be a program name with args.
2792 set dummy readelf; ac_word=$2
2793 echo "$as_me:$LINENO: checking for $ac_word" >&5
2794 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2795 if test "${ac_cv_prog_ac_ct_READELF+set}" = set; then
2796 echo $ECHO_N "(cached) $ECHO_C" >&6
2798 if test -n "$ac_ct_READELF"; then
2799 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
2801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2805 test -z "$as_dir" && as_dir=.
2806 for ac_exec_ext in '' $ac_executable_extensions; do
2807 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2808 ac_cv_prog_ac_ct_READELF="readelf"
2809 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2815 test -z "$ac_cv_prog_ac_ct_READELF" && ac_cv_prog_ac_ct_READELF=":"
2818 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
2819 if test -n "$ac_ct_READELF"; then
2820 echo "$as_me:$LINENO: result: $ac_ct_READELF" >&5
2821 echo "${ECHO_T}$ac_ct_READELF" >&6
2823 echo "$as_me:$LINENO: result: no" >&5
2824 echo "${ECHO_T}no" >&6
2827 READELF=$ac_ct_READELF
2829 READELF="$ac_cv_prog_READELF"
2833 # Find a good install program. We prefer a C program (faster),
2834 # so one script is as good as another. But avoid the broken or
2835 # incompatible versions:
2836 # SysV /etc/install, /usr/sbin/install
2837 # SunOS /usr/etc/install
2838 # IRIX /sbin/install
2840 # AmigaOS /C/install, which installs bootblocks on floppy discs
2841 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2842 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2843 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2844 # OS/2's system install, which has a completely different semantic
2845 # ./install, which can be erroneously created by make from ./install.sh.
2846 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2847 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2848 if test -z "$INSTALL"; then
2849 if test "${ac_cv_path_install+set}" = set; then
2850 echo $ECHO_N "(cached) $ECHO_C" >&6
2852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2856 test -z "$as_dir" && as_dir=.
2857 # Account for people who put trailing slashes in PATH elements.
2859 ./ | .// | /cC/* | \
2860 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2861 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2864 # OSF1 and SCO ODT 3.0 have their own names for install.
2865 # Don't use installbsd from OSF since it installs stuff as root
2867 for ac_prog in ginstall scoinst install; do
2868 for ac_exec_ext in '' $ac_executable_extensions; do
2869 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2870 if test $ac_prog = install &&
2871 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2872 # AIX install. It has an incompatible calling convention.
2874 elif test $ac_prog = install &&
2875 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2876 # program-specific install script used by HP pwplus--don't use.
2879 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2891 if test "${ac_cv_path_install+set}" = set; then
2892 INSTALL=$ac_cv_path_install
2894 # As a last resort, use the slow shell script. We don't cache a
2895 # path for INSTALL within a source directory, because that will
2896 # break other packages using the cache if that directory is
2897 # removed, or if the path is relative.
2898 INSTALL=$ac_install_sh
2901 echo "$as_me:$LINENO: result: $INSTALL" >&5
2902 echo "${ECHO_T}$INSTALL" >&6
2904 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2905 # It thinks the first close brace ends the variable substitution.
2906 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2908 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2910 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2913 # Hack to ensure that INSTALL won't be set to "../" with autoconf 2.13. */
2914 ac_given_INSTALL=$INSTALL
2916 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2917 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
2918 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
2919 if test "${enable_maintainer_mode+set}" = set; then
2920 enableval="$enable_maintainer_mode"
2921 USE_MAINTAINER_MODE=$enableval
2923 USE_MAINTAINER_MODE=no
2925 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2926 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
2929 if test $USE_MAINTAINER_MODE = yes; then
2930 MAINTAINER_MODE_TRUE=
2931 MAINTAINER_MODE_FALSE='#'
2933 MAINTAINER_MODE_TRUE='#'
2934 MAINTAINER_MODE_FALSE=
2937 MAINT=$MAINTAINER_MODE_TRUE
2940 # By default we simply use the C compiler to build assembly code.
2942 test "${CCAS+set}" = set || CCAS=$CC
2943 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
2948 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
2949 # at least currently, we never actually build a program, so we never
2950 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
2951 # fails, because we are probably configuring with a cross compiler
2952 # which can't create executables. So we include AC_EXEEXT to keep
2953 # automake happy, but we don't execute it, since we don't care about
2960 . ${newlib_basedir}/configure.host
2962 newlib_cflags="${newlib_cflags} -fno-builtin"
2964 NEWLIB_CFLAGS=${newlib_cflags}
2972 if test x${newlib_elix_level} = x0; then
2974 ELIX_LEVEL_0_FALSE='#'
2976 ELIX_LEVEL_0_TRUE='#'
2982 if test x${newlib_elix_level} = x1; then
2984 ELIX_LEVEL_1_FALSE='#'
2986 ELIX_LEVEL_1_TRUE='#'
2992 if test x${newlib_elix_level} = x2; then
2994 ELIX_LEVEL_2_FALSE='#'
2996 ELIX_LEVEL_2_TRUE='#'
3002 if test x${newlib_elix_level} = x3; then
3004 ELIX_LEVEL_3_FALSE='#'
3006 ELIX_LEVEL_3_TRUE='#'
3012 if test x${newlib_elix_level} = x4; then
3014 ELIX_LEVEL_4_FALSE='#'
3016 ELIX_LEVEL_4_TRUE='#'
3023 if test x${use_libtool} = xyes; then
3025 USE_LIBTOOL_FALSE='#'
3027 USE_LIBTOOL_TRUE='#'
3032 # Hard-code OBJEXT. Normally it is set by AC_OBJEXT, but we
3033 # use oext, which is set in configure.host based on the target platform.
3046 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3047 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3048 if test "${lt_cv_path_SED+set}" = set; then
3049 echo $ECHO_N "(cached) $ECHO_C" >&6
3051 # Loop through the user's path and test for sed and gsed.
3052 # Then use that list of sed's as ones to test for truncation.
3053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3057 test -z "$as_dir" && as_dir=.
3058 for lt_ac_prog in sed gsed; do
3059 for ac_exec_ext in '' $ac_executable_extensions; do
3060 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3061 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3069 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3070 # along with /bin/sed that truncates output.
3071 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3072 test ! -f $lt_ac_sed && continue
3073 cat /dev/null > conftest.in
3075 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3076 # Check for GNU sed and select it if it is found.
3077 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
3078 lt_cv_path_SED=$lt_ac_sed
3082 cat conftest.in conftest.in >conftest.tmp
3083 mv conftest.tmp conftest.in
3084 cp conftest.in conftest.nl
3086 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
3087 cmp -s conftest.out conftest.nl || break
3088 # 10000 chars as input seems more than enough
3089 test $lt_ac_count -gt 10 && break
3090 lt_ac_count=`expr $lt_ac_count + 1`
3091 if test $lt_ac_count -gt $lt_ac_max; then
3092 lt_ac_max=$lt_ac_count
3093 lt_cv_path_SED=$lt_ac_sed
3102 echo "$as_me:$LINENO: result: $SED" >&5
3103 echo "${ECHO_T}$SED" >&6
3105 test -z "$SED" && SED=sed
3106 Xsed="$SED -e 1s/^X//"
3118 if test "${use_libtool}" = "yes"; then
3119 enable_win32_dll=yes
3122 *-*-cygwin* | *-*-mingw* | *-*-pw32*)
3123 if test -n "$ac_tool_prefix"; then
3124 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3125 set dummy ${ac_tool_prefix}as; ac_word=$2
3126 echo "$as_me:$LINENO: checking for $ac_word" >&5
3127 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3128 if test "${ac_cv_prog_AS+set}" = set; then
3129 echo $ECHO_N "(cached) $ECHO_C" >&6
3131 if test -n "$AS"; then
3132 ac_cv_prog_AS="$AS" # Let the user override the test.
3134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3138 test -z "$as_dir" && as_dir=.
3139 for ac_exec_ext in '' $ac_executable_extensions; do
3140 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3141 ac_cv_prog_AS="${ac_tool_prefix}as"
3142 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3151 if test -n "$AS"; then
3152 echo "$as_me:$LINENO: result: $AS" >&5
3153 echo "${ECHO_T}$AS" >&6
3155 echo "$as_me:$LINENO: result: no" >&5
3156 echo "${ECHO_T}no" >&6
3160 if test -z "$ac_cv_prog_AS"; then
3162 # Extract the first word of "as", so it can be a program name with args.
3163 set dummy as; ac_word=$2
3164 echo "$as_me:$LINENO: checking for $ac_word" >&5
3165 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3166 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3167 echo $ECHO_N "(cached) $ECHO_C" >&6
3169 if test -n "$ac_ct_AS"; then
3170 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3176 test -z "$as_dir" && as_dir=.
3177 for ac_exec_ext in '' $ac_executable_extensions; do
3178 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3179 ac_cv_prog_ac_ct_AS="as"
3180 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3186 test -z "$ac_cv_prog_ac_ct_AS" && ac_cv_prog_ac_ct_AS="false"
3189 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3190 if test -n "$ac_ct_AS"; then
3191 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3192 echo "${ECHO_T}$ac_ct_AS" >&6
3194 echo "$as_me:$LINENO: result: no" >&5
3195 echo "${ECHO_T}no" >&6
3203 if test -n "$ac_tool_prefix"; then
3204 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
3205 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
3206 echo "$as_me:$LINENO: checking for $ac_word" >&5
3207 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3208 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
3209 echo $ECHO_N "(cached) $ECHO_C" >&6
3211 if test -n "$DLLTOOL"; then
3212 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
3214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3218 test -z "$as_dir" && as_dir=.
3219 for ac_exec_ext in '' $ac_executable_extensions; do
3220 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3221 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
3222 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3230 DLLTOOL=$ac_cv_prog_DLLTOOL
3231 if test -n "$DLLTOOL"; then
3232 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
3233 echo "${ECHO_T}$DLLTOOL" >&6
3235 echo "$as_me:$LINENO: result: no" >&5
3236 echo "${ECHO_T}no" >&6
3240 if test -z "$ac_cv_prog_DLLTOOL"; then
3241 ac_ct_DLLTOOL=$DLLTOOL
3242 # Extract the first word of "dlltool", so it can be a program name with args.
3243 set dummy dlltool; ac_word=$2
3244 echo "$as_me:$LINENO: checking for $ac_word" >&5
3245 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3246 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
3247 echo $ECHO_N "(cached) $ECHO_C" >&6
3249 if test -n "$ac_ct_DLLTOOL"; then
3250 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
3252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3256 test -z "$as_dir" && as_dir=.
3257 for ac_exec_ext in '' $ac_executable_extensions; do
3258 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3259 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
3260 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3266 test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL="false"
3269 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
3270 if test -n "$ac_ct_DLLTOOL"; then
3271 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
3272 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
3274 echo "$as_me:$LINENO: result: no" >&5
3275 echo "${ECHO_T}no" >&6
3278 DLLTOOL=$ac_ct_DLLTOOL
3280 DLLTOOL="$ac_cv_prog_DLLTOOL"
3283 if test -n "$ac_tool_prefix"; then
3284 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
3285 set dummy ${ac_tool_prefix}objdump; ac_word=$2
3286 echo "$as_me:$LINENO: checking for $ac_word" >&5
3287 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3288 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
3289 echo $ECHO_N "(cached) $ECHO_C" >&6
3291 if test -n "$OBJDUMP"; then
3292 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
3294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3298 test -z "$as_dir" && as_dir=.
3299 for ac_exec_ext in '' $ac_executable_extensions; do
3300 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3301 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
3302 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3310 OBJDUMP=$ac_cv_prog_OBJDUMP
3311 if test -n "$OBJDUMP"; then
3312 echo "$as_me:$LINENO: result: $OBJDUMP" >&5
3313 echo "${ECHO_T}$OBJDUMP" >&6
3315 echo "$as_me:$LINENO: result: no" >&5
3316 echo "${ECHO_T}no" >&6
3320 if test -z "$ac_cv_prog_OBJDUMP"; then
3321 ac_ct_OBJDUMP=$OBJDUMP
3322 # Extract the first word of "objdump", so it can be a program name with args.
3323 set dummy objdump; ac_word=$2
3324 echo "$as_me:$LINENO: checking for $ac_word" >&5
3325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3326 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
3327 echo $ECHO_N "(cached) $ECHO_C" >&6
3329 if test -n "$ac_ct_OBJDUMP"; then
3330 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
3332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3336 test -z "$as_dir" && as_dir=.
3337 for ac_exec_ext in '' $ac_executable_extensions; do
3338 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3339 ac_cv_prog_ac_ct_OBJDUMP="objdump"
3340 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3346 test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false"
3349 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
3350 if test -n "$ac_ct_OBJDUMP"; then
3351 echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
3352 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
3354 echo "$as_me:$LINENO: result: no" >&5
3355 echo "${ECHO_T}no" >&6
3358 OBJDUMP=$ac_ct_OBJDUMP
3360 OBJDUMP="$ac_cv_prog_OBJDUMP"
3366 test -z "$AS" && AS=as
3372 test -z "$DLLTOOL" && DLLTOOL=dlltool
3378 test -z "$OBJDUMP" && OBJDUMP=objdump
3388 macro_version='2.1a'
3389 macro_revision='1.2435'
3402 ltmain="$ac_aux_dir/ltmain.sh"
3410 # Check whether --enable-shared or --disable-shared was given.
3411 if test "${enable_shared+set}" = set; then
3412 enableval="$enable_shared"
3413 p=${PACKAGE-default}
3415 yes) enable_shared=yes ;;
3416 no) enable_shared=no ;;
3419 # Look at the argument we got. We use all the common list separators.
3420 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3421 for pkg in $enableval; do
3423 if test "X$pkg" = "X$p"; then
3441 # Check whether --enable-static or --disable-static was given.
3442 if test "${enable_static+set}" = set; then
3443 enableval="$enable_static"
3444 p=${PACKAGE-default}
3446 yes) enable_static=yes ;;
3447 no) enable_static=no ;;
3450 # Look at the argument we got. We use all the common list separators.
3451 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3452 for pkg in $enableval; do
3454 if test "X$pkg" = "X$p"; then
3473 # Check whether --with-pic or --without-pic was given.
3474 if test "${with_pic+set}" = set; then
3481 test -z "$pic_mode" && pic_mode=default
3489 # Check whether --enable-fast-install or --disable-fast-install was given.
3490 if test "${enable_fast_install+set}" = set; then
3491 enableval="$enable_fast_install"
3492 p=${PACKAGE-default}
3494 yes) enable_fast_install=yes ;;
3495 no) enable_fast_install=no ;;
3497 enable_fast_install=no
3498 # Look at the argument we got. We use all the common list separators.
3499 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3500 for pkg in $enableval; do
3502 if test "X$pkg" = "X$p"; then
3503 enable_fast_install=yes
3510 enable_fast_install=yes
3521 ac_cpp='$CPP $CPPFLAGS'
3522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3525 if test -n "$ac_tool_prefix"; then
3526 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3527 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3528 echo "$as_me:$LINENO: checking for $ac_word" >&5
3529 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3530 if test "${ac_cv_prog_CC+set}" = set; then
3531 echo $ECHO_N "(cached) $ECHO_C" >&6
3533 if test -n "$CC"; then
3534 ac_cv_prog_CC="$CC" # Let the user override the test.
3536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3540 test -z "$as_dir" && as_dir=.
3541 for ac_exec_ext in '' $ac_executable_extensions; do
3542 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3543 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3544 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3553 if test -n "$CC"; then
3554 echo "$as_me:$LINENO: result: $CC" >&5
3555 echo "${ECHO_T}$CC" >&6
3557 echo "$as_me:$LINENO: result: no" >&5
3558 echo "${ECHO_T}no" >&6
3562 if test -z "$ac_cv_prog_CC"; then
3564 # Extract the first word of "gcc", so it can be a program name with args.
3565 set dummy gcc; ac_word=$2
3566 echo "$as_me:$LINENO: checking for $ac_word" >&5
3567 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3568 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3569 echo $ECHO_N "(cached) $ECHO_C" >&6
3571 if test -n "$ac_ct_CC"; then
3572 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3578 test -z "$as_dir" && as_dir=.
3579 for ac_exec_ext in '' $ac_executable_extensions; do
3580 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3581 ac_cv_prog_ac_ct_CC="gcc"
3582 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3590 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3591 if test -n "$ac_ct_CC"; then
3592 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3593 echo "${ECHO_T}$ac_ct_CC" >&6
3595 echo "$as_me:$LINENO: result: no" >&5
3596 echo "${ECHO_T}no" >&6
3604 if test -z "$CC"; then
3605 if test -n "$ac_tool_prefix"; then
3606 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3607 set dummy ${ac_tool_prefix}cc; ac_word=$2
3608 echo "$as_me:$LINENO: checking for $ac_word" >&5
3609 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3610 if test "${ac_cv_prog_CC+set}" = set; then
3611 echo $ECHO_N "(cached) $ECHO_C" >&6
3613 if test -n "$CC"; then
3614 ac_cv_prog_CC="$CC" # Let the user override the test.
3616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3620 test -z "$as_dir" && as_dir=.
3621 for ac_exec_ext in '' $ac_executable_extensions; do
3622 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3623 ac_cv_prog_CC="${ac_tool_prefix}cc"
3624 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3633 if test -n "$CC"; then
3634 echo "$as_me:$LINENO: result: $CC" >&5
3635 echo "${ECHO_T}$CC" >&6
3637 echo "$as_me:$LINENO: result: no" >&5
3638 echo "${ECHO_T}no" >&6
3642 if test -z "$ac_cv_prog_CC"; then
3644 # Extract the first word of "cc", so it can be a program name with args.
3645 set dummy cc; ac_word=$2
3646 echo "$as_me:$LINENO: checking for $ac_word" >&5
3647 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3648 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3649 echo $ECHO_N "(cached) $ECHO_C" >&6
3651 if test -n "$ac_ct_CC"; then
3652 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3658 test -z "$as_dir" && as_dir=.
3659 for ac_exec_ext in '' $ac_executable_extensions; do
3660 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3661 ac_cv_prog_ac_ct_CC="cc"
3662 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3670 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3671 if test -n "$ac_ct_CC"; then
3672 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3673 echo "${ECHO_T}$ac_ct_CC" >&6
3675 echo "$as_me:$LINENO: result: no" >&5
3676 echo "${ECHO_T}no" >&6
3685 if test -z "$CC"; then
3686 # Extract the first word of "cc", so it can be a program name with args.
3687 set dummy cc; ac_word=$2
3688 echo "$as_me:$LINENO: checking for $ac_word" >&5
3689 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3690 if test "${ac_cv_prog_CC+set}" = set; then
3691 echo $ECHO_N "(cached) $ECHO_C" >&6
3693 if test -n "$CC"; then
3694 ac_cv_prog_CC="$CC" # Let the user override the test.
3697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3701 test -z "$as_dir" && as_dir=.
3702 for ac_exec_ext in '' $ac_executable_extensions; do
3703 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3704 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3705 ac_prog_rejected=yes
3709 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3715 if test $ac_prog_rejected = yes; then
3716 # We found a bogon in the path, so make sure we never use it.
3717 set dummy $ac_cv_prog_CC
3719 if test $# != 0; then
3720 # We chose a different compiler from the bogus one.
3721 # However, it has the same basename, so the bogon will be chosen
3722 # first if we set CC to just the basename; use the full file name.
3724 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3730 if test -n "$CC"; then
3731 echo "$as_me:$LINENO: result: $CC" >&5
3732 echo "${ECHO_T}$CC" >&6
3734 echo "$as_me:$LINENO: result: no" >&5
3735 echo "${ECHO_T}no" >&6
3739 if test -z "$CC"; then
3740 if test -n "$ac_tool_prefix"; then
3743 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3744 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3745 echo "$as_me:$LINENO: checking for $ac_word" >&5
3746 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3747 if test "${ac_cv_prog_CC+set}" = set; then
3748 echo $ECHO_N "(cached) $ECHO_C" >&6
3750 if test -n "$CC"; then
3751 ac_cv_prog_CC="$CC" # Let the user override the test.
3753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3757 test -z "$as_dir" && as_dir=.
3758 for ac_exec_ext in '' $ac_executable_extensions; do
3759 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3760 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3761 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3770 if test -n "$CC"; then
3771 echo "$as_me:$LINENO: result: $CC" >&5
3772 echo "${ECHO_T}$CC" >&6
3774 echo "$as_me:$LINENO: result: no" >&5
3775 echo "${ECHO_T}no" >&6
3778 test -n "$CC" && break
3781 if test -z "$CC"; then
3785 # Extract the first word of "$ac_prog", so it can be a program name with args.
3786 set dummy $ac_prog; ac_word=$2
3787 echo "$as_me:$LINENO: checking for $ac_word" >&5
3788 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3789 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3790 echo $ECHO_N "(cached) $ECHO_C" >&6
3792 if test -n "$ac_ct_CC"; then
3793 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3799 test -z "$as_dir" && as_dir=.
3800 for ac_exec_ext in '' $ac_executable_extensions; do
3801 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3802 ac_cv_prog_ac_ct_CC="$ac_prog"
3803 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3811 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3812 if test -n "$ac_ct_CC"; then
3813 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3814 echo "${ECHO_T}$ac_ct_CC" >&6
3816 echo "$as_me:$LINENO: result: no" >&5
3817 echo "${ECHO_T}no" >&6
3820 test -n "$ac_ct_CC" && break
3829 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3830 See \`config.log' for more details." >&5
3831 echo "$as_me: error: no acceptable C compiler found in \$PATH
3832 See \`config.log' for more details." >&2;}
3833 { (exit 1); exit 1; }; }
3835 # Provide some information about the compiler.
3836 echo "$as_me:$LINENO:" \
3837 "checking for C compiler version" >&5
3838 ac_compiler=`set X $ac_compile; echo $2`
3839 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3840 (eval $ac_compiler --version </dev/null >&5) 2>&5
3842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3843 (exit $ac_status); }
3844 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3845 (eval $ac_compiler -v </dev/null >&5) 2>&5
3847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3848 (exit $ac_status); }
3849 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3850 (eval $ac_compiler -V </dev/null >&5) 2>&5
3852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3853 (exit $ac_status); }
3855 cat >conftest.$ac_ext <<_ACEOF
3858 cat confdefs.h >>conftest.$ac_ext
3859 cat >>conftest.$ac_ext <<_ACEOF
3860 /* end confdefs.h. */
3870 ac_clean_files_save=$ac_clean_files
3871 ac_clean_files="$ac_clean_files a.out a.exe b.out"
3872 # Try to create an executable without -o first, disregard a.out.
3873 # It will help us diagnose broken compilers, and finding out an intuition
3875 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3876 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
3877 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3878 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
3879 (eval $ac_link_default) 2>&5
3881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3882 (exit $ac_status); }; then
3883 # Find the output, starting from the most likely. This scheme is
3884 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
3887 # Be careful to initialize this variable, since it used to be cached.
3888 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
3890 # b.out is created by i960 compilers.
3891 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
3893 test -f "$ac_file" || continue
3895 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
3898 # This is the source file.
3901 # We found the default executable, but exeext='' is most
3905 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3906 # FIXME: I believe we export ac_cv_exeext for Libtool,
3907 # but it would be cool to find out if it's true. Does anybody
3908 # maintain Libtool? --akim.
3916 echo "$as_me: failed program was:" >&5
3917 sed 's/^/| /' conftest.$ac_ext >&5
3919 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3920 See \`config.log' for more details." >&5
3921 echo "$as_me: error: C compiler cannot create executables
3922 See \`config.log' for more details." >&2;}
3923 { (exit 77); exit 77; }; }
3926 ac_exeext=$ac_cv_exeext
3927 echo "$as_me:$LINENO: result: $ac_file" >&5
3928 echo "${ECHO_T}$ac_file" >&6
3930 # Check the compiler produces executables we can run. If not, either
3931 # the compiler is broken, or we cross compile.
3932 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3933 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
3934 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3935 # If not cross compiling, check that we can run a simple program.
3936 if test "$cross_compiling" != yes; then
3937 if { ac_try='./$ac_file'
3938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3942 (exit $ac_status); }; }; then
3945 if test "$cross_compiling" = maybe; then
3948 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3949 If you meant to cross compile, use \`--host'.
3950 See \`config.log' for more details." >&5
3951 echo "$as_me: error: cannot run C compiled programs.
3952 If you meant to cross compile, use \`--host'.
3953 See \`config.log' for more details." >&2;}
3954 { (exit 1); exit 1; }; }
3958 echo "$as_me:$LINENO: result: yes" >&5
3959 echo "${ECHO_T}yes" >&6
3961 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3962 ac_clean_files=$ac_clean_files_save
3963 # Check the compiler produces executables we can run. If not, either
3964 # the compiler is broken, or we cross compile.
3965 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3966 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
3967 echo "$as_me:$LINENO: result: $cross_compiling" >&5
3968 echo "${ECHO_T}$cross_compiling" >&6
3970 echo "$as_me:$LINENO: checking for suffix of executables" >&5
3971 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
3972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3973 (eval $ac_link) 2>&5
3975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3976 (exit $ac_status); }; then
3977 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3978 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3979 # work properly (i.e., refer to `conftest.exe'), while it won't with
3981 for ac_file in conftest.exe conftest conftest.*; do
3982 test -f "$ac_file" || continue
3984 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
3985 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3992 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3993 See \`config.log' for more details." >&5
3994 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3995 See \`config.log' for more details." >&2;}
3996 { (exit 1); exit 1; }; }
3999 rm -f conftest$ac_cv_exeext
4000 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
4001 echo "${ECHO_T}$ac_cv_exeext" >&6
4003 rm -f conftest.$ac_ext
4004 EXEEXT=$ac_cv_exeext
4006 echo "$as_me:$LINENO: checking for suffix of object files" >&5
4007 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
4008 if test "${ac_cv_objext+set}" = set; then
4009 echo $ECHO_N "(cached) $ECHO_C" >&6
4011 cat >conftest.$ac_ext <<_ACEOF
4014 cat confdefs.h >>conftest.$ac_ext
4015 cat >>conftest.$ac_ext <<_ACEOF
4016 /* end confdefs.h. */
4026 rm -f conftest.o conftest.obj
4027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4028 (eval $ac_compile) 2>&5
4030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4031 (exit $ac_status); }; then
4032 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
4034 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
4035 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4040 echo "$as_me: failed program was:" >&5
4041 sed 's/^/| /' conftest.$ac_ext >&5
4043 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
4044 See \`config.log' for more details." >&5
4045 echo "$as_me: error: cannot compute suffix of object files: cannot compile
4046 See \`config.log' for more details." >&2;}
4047 { (exit 1); exit 1; }; }
4050 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4052 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
4053 echo "${ECHO_T}$ac_cv_objext" >&6
4054 OBJEXT=$ac_cv_objext
4056 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4057 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
4058 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4059 echo $ECHO_N "(cached) $ECHO_C" >&6
4061 cat >conftest.$ac_ext <<_ACEOF
4064 cat confdefs.h >>conftest.$ac_ext
4065 cat >>conftest.$ac_ext <<_ACEOF
4066 /* end confdefs.h. */
4079 rm -f conftest.$ac_objext
4080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4081 (eval $ac_compile) 2>conftest.er1
4083 grep -v '^ *+' conftest.er1 >conftest.err
4085 cat conftest.err >&5
4086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4087 (exit $ac_status); } &&
4088 { ac_try='test -z "$ac_c_werror_flag"
4089 || test ! -s conftest.err'
4090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4094 (exit $ac_status); }; } &&
4095 { ac_try='test -s conftest.$ac_objext'
4096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4100 (exit $ac_status); }; }; then
4103 echo "$as_me: failed program was:" >&5
4104 sed 's/^/| /' conftest.$ac_ext >&5
4108 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4109 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4112 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4113 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
4114 GCC=`test $ac_compiler_gnu = yes && echo yes`
4115 ac_test_CFLAGS=${CFLAGS+set}
4116 ac_save_CFLAGS=$CFLAGS
4118 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4119 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
4120 if test "${ac_cv_prog_cc_g+set}" = set; then
4121 echo $ECHO_N "(cached) $ECHO_C" >&6
4123 cat >conftest.$ac_ext <<_ACEOF
4126 cat confdefs.h >>conftest.$ac_ext
4127 cat >>conftest.$ac_ext <<_ACEOF
4128 /* end confdefs.h. */
4138 rm -f conftest.$ac_objext
4139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4140 (eval $ac_compile) 2>conftest.er1
4142 grep -v '^ *+' conftest.er1 >conftest.err
4144 cat conftest.err >&5
4145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4146 (exit $ac_status); } &&
4147 { ac_try='test -z "$ac_c_werror_flag"
4148 || test ! -s conftest.err'
4149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4153 (exit $ac_status); }; } &&
4154 { ac_try='test -s conftest.$ac_objext'
4155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4159 (exit $ac_status); }; }; then
4162 echo "$as_me: failed program was:" >&5
4163 sed 's/^/| /' conftest.$ac_ext >&5
4167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4169 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4170 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
4171 if test "$ac_test_CFLAGS" = set; then
4172 CFLAGS=$ac_save_CFLAGS
4173 elif test $ac_cv_prog_cc_g = yes; then
4174 if test "$GCC" = yes; then
4180 if test "$GCC" = yes; then
4186 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
4187 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
4188 if test "${ac_cv_prog_cc_stdc+set}" = set; then
4189 echo $ECHO_N "(cached) $ECHO_C" >&6
4191 ac_cv_prog_cc_stdc=no
4193 cat >conftest.$ac_ext <<_ACEOF
4196 cat confdefs.h >>conftest.$ac_ext
4197 cat >>conftest.$ac_ext <<_ACEOF
4198 /* end confdefs.h. */
4201 #include <sys/types.h>
4202 #include <sys/stat.h>
4203 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4204 struct buf { int x; };
4205 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4206 static char *e (p, i)
4212 static char *f (char * (*g) (char **, int), char **p, ...)
4217 s = g (p, va_arg (v,int));
4222 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4223 function prototypes and stuff, but not '\xHH' hex character constants.
4224 These don't provoke an error unfortunately, instead are silently treated
4225 as 'x'. The following induces an error, until -std1 is added to get
4226 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4227 array size at least. It's necessary to write '\x00'==0 to get something
4228 that's true only with -std1. */
4229 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4231 int test (int i, double x);
4232 struct s1 {int (*f) (int a);};
4233 struct s2 {int (*f) (double a);};
4234 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4240 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4245 # Don't try gcc -ansi; that turns off useful extensions and
4246 # breaks some systems' header files.
4247 # AIX -qlanglvl=ansi
4248 # Ultrix and OSF/1 -std1
4249 # HP-UX 10.20 and later -Ae
4250 # HP-UX older versions -Aa -D_HPUX_SOURCE
4251 # SVR4 -Xc -D__EXTENSIONS__
4252 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4254 CC="$ac_save_CC $ac_arg"
4255 rm -f conftest.$ac_objext
4256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4257 (eval $ac_compile) 2>conftest.er1
4259 grep -v '^ *+' conftest.er1 >conftest.err
4261 cat conftest.err >&5
4262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4263 (exit $ac_status); } &&
4264 { ac_try='test -z "$ac_c_werror_flag"
4265 || test ! -s conftest.err'
4266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4270 (exit $ac_status); }; } &&
4271 { ac_try='test -s conftest.$ac_objext'
4272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4276 (exit $ac_status); }; }; then
4277 ac_cv_prog_cc_stdc=$ac_arg
4280 echo "$as_me: failed program was:" >&5
4281 sed 's/^/| /' conftest.$ac_ext >&5
4284 rm -f conftest.err conftest.$ac_objext
4286 rm -f conftest.$ac_ext conftest.$ac_objext
4291 case "x$ac_cv_prog_cc_stdc" in
4293 echo "$as_me:$LINENO: result: none needed" >&5
4294 echo "${ECHO_T}none needed" >&6 ;;
4296 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
4297 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
4298 CC="$CC $ac_cv_prog_cc_stdc" ;;
4301 # Some people use a C++ compiler to compile C. Since we use `exit',
4302 # in C++ we need to declare it. In case someone uses the same compiler
4303 # for both compiling C and C++ we need to have the C++ compiler decide
4304 # the declaration of exit, since it's the most demanding environment.
4305 cat >conftest.$ac_ext <<_ACEOF
4310 rm -f conftest.$ac_objext
4311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4312 (eval $ac_compile) 2>conftest.er1
4314 grep -v '^ *+' conftest.er1 >conftest.err
4316 cat conftest.err >&5
4317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4318 (exit $ac_status); } &&
4319 { ac_try='test -z "$ac_c_werror_flag"
4320 || test ! -s conftest.err'
4321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4325 (exit $ac_status); }; } &&
4326 { ac_try='test -s conftest.$ac_objext'
4327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4331 (exit $ac_status); }; }; then
4332 for ac_declaration in \
4334 'extern "C" void std::exit (int) throw (); using std::exit;' \
4335 'extern "C" void std::exit (int); using std::exit;' \
4336 'extern "C" void exit (int) throw ();' \
4337 'extern "C" void exit (int);' \
4340 cat >conftest.$ac_ext <<_ACEOF
4343 cat confdefs.h >>conftest.$ac_ext
4344 cat >>conftest.$ac_ext <<_ACEOF
4345 /* end confdefs.h. */
4356 rm -f conftest.$ac_objext
4357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4358 (eval $ac_compile) 2>conftest.er1
4360 grep -v '^ *+' conftest.er1 >conftest.err
4362 cat conftest.err >&5
4363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4364 (exit $ac_status); } &&
4365 { ac_try='test -z "$ac_c_werror_flag"
4366 || test ! -s conftest.err'
4367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4371 (exit $ac_status); }; } &&
4372 { ac_try='test -s conftest.$ac_objext'
4373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4377 (exit $ac_status); }; }; then
4380 echo "$as_me: failed program was:" >&5
4381 sed 's/^/| /' conftest.$ac_ext >&5
4385 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4386 cat >conftest.$ac_ext <<_ACEOF
4389 cat confdefs.h >>conftest.$ac_ext
4390 cat >>conftest.$ac_ext <<_ACEOF
4391 /* end confdefs.h. */
4401 rm -f conftest.$ac_objext
4402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4403 (eval $ac_compile) 2>conftest.er1
4405 grep -v '^ *+' conftest.er1 >conftest.err
4407 cat conftest.err >&5
4408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4409 (exit $ac_status); } &&
4410 { ac_try='test -z "$ac_c_werror_flag"
4411 || test ! -s conftest.err'
4412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4416 (exit $ac_status); }; } &&
4417 { ac_try='test -s conftest.$ac_objext'
4418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4422 (exit $ac_status); }; }; then
4425 echo "$as_me: failed program was:" >&5
4426 sed 's/^/| /' conftest.$ac_ext >&5
4429 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4432 if test -n "$ac_declaration"; then
4433 echo '#ifdef __cplusplus' >>confdefs.h
4434 echo $ac_declaration >>confdefs.h
4435 echo '#endif' >>confdefs.h
4439 echo "$as_me: failed program was:" >&5
4440 sed 's/^/| /' conftest.$ac_ext >&5
4443 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4445 ac_cpp='$CPP $CPPFLAGS'
4446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4450 depcc="$CC" am_compiler_list=
4452 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4453 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
4454 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4455 echo $ECHO_N "(cached) $ECHO_C" >&6
4457 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4458 # We make a subdir and do the tests there. Otherwise we can end up
4459 # making bogus files that we don't know about and never remove. For
4460 # instance it was reported that on HP-UX the gcc test will end up
4461 # making a dummy file named `D' -- because `-MD' means `put the output
4464 # Copy depcomp to subdir because otherwise we won't find it if we're
4465 # using a relative directory.
4466 cp "$am_depcomp" conftest.dir
4468 # We will build objects and dependencies in a subdirectory because
4469 # it helps to detect inapplicable dependency modes. For instance
4470 # both Tru64's cc and ICC support -MD to output dependencies as a
4471 # side effect of compilation, but ICC will put the dependencies in
4472 # the current directory while Tru64 will put them in the object
4476 am_cv_CC_dependencies_compiler_type=none
4477 if test "$am_compiler_list" = ""; then
4478 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4480 for depmode in $am_compiler_list; do
4481 # Setup a source with many dependencies, because some compilers
4482 # like to wrap large dependency lists on column 80 (with \), and
4483 # we should not choose a depcomp mode which is confused by this.
4485 # We need to recreate these files for each test, as the compiler may
4486 # overwrite some of them when testing with obscure command lines.
4487 # This happens at least with the AIX C compiler.
4489 for i in 1 2 3 4 5 6; do
4490 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4491 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4492 # Solaris 8's {/usr,}/bin/sh.
4493 touch sub/conftst$i.h
4495 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4499 # after this tag, mechanisms are not by side-effect, so they'll
4500 # only be used when explicitly requested
4501 if test "x$enable_dependency_tracking" = xyes; then
4509 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4510 # mode. It turns out that the SunPro C++ compiler does not properly
4511 # handle `-M -o', and we need to detect this.
4512 if depmode=$depmode \
4513 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4514 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4515 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4516 >/dev/null 2>conftest.err &&
4517 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4518 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4519 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4520 # icc doesn't choke on unknown options, it will just issue warnings
4521 # or remarks (even with -Werror). So we grep stderr for any message
4522 # that says an option was ignored or not supported.
4523 # When given -MP, icc 7.0 and 7.1 complain thusly:
4524 # icc: Command line warning: ignoring option '-M'; no argument required
4525 # The diagnosis changed in icc 8.0:
4526 # icc: Command line remark: option '-MP' not supported
4527 if (grep 'ignoring option' conftest.err ||
4528 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4529 am_cv_CC_dependencies_compiler_type=$depmode
4538 am_cv_CC_dependencies_compiler_type=none
4542 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4543 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
4544 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4549 test "x$enable_dependency_tracking" != xno \
4550 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4552 am__fastdepCC_FALSE='#'
4554 am__fastdepCC_TRUE='#'
4555 am__fastdepCC_FALSE=
4559 echo "$as_me:$LINENO: checking for egrep" >&5
4560 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4561 if test "${ac_cv_prog_egrep+set}" = set; then
4562 echo $ECHO_N "(cached) $ECHO_C" >&6
4564 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
4565 then ac_cv_prog_egrep='grep -E'
4566 else ac_cv_prog_egrep='egrep'
4569 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4570 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4571 EGREP=$ac_cv_prog_egrep
4574 echo "$as_me:$LINENO: checking for fgrep" >&5
4575 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
4576 if test "${ac_cv_prog_fgrep+set}" = set; then
4577 echo $ECHO_N "(cached) $ECHO_C" >&6
4579 if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1
4580 then ac_cv_prog_fgrep='grep -F'
4581 else ac_cv_prog_fgrep='fgrep'
4584 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
4585 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
4586 FGREP=$ac_cv_prog_fgrep
4589 test -z "$GREP" && GREP=grep
4609 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4610 if test "${with_gnu_ld+set}" = set; then
4611 withval="$with_gnu_ld"
4612 test "$withval" = no || with_gnu_ld=yes
4617 if test "$GCC" = yes; then
4618 # Check if gcc -print-prog-name=ld gives a path.
4619 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4620 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4623 # gcc leaves a trailing carriage return which upsets mingw
4624 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4626 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4629 # Accept absolute paths.
4631 re_direlt='/[^/][^/]*/\.\./'
4632 # Canonicalize the pathname of ld
4633 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4634 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4635 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4637 test -z "$LD" && LD="$ac_prog"
4640 # If it fails, then pretend we aren't using GCC.
4644 # If it is relative, then search for the first ld in PATH.
4648 elif test "$with_gnu_ld" = yes; then
4649 echo "$as_me:$LINENO: checking for GNU ld" >&5
4650 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4652 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4653 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4655 if test "${lt_cv_path_LD+set}" = set; then
4656 echo $ECHO_N "(cached) $ECHO_C" >&6
4658 if test -z "$LD"; then
4659 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4660 for ac_dir in $PATH; do
4662 test -z "$ac_dir" && ac_dir=.
4663 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4664 lt_cv_path_LD="$ac_dir/$ac_prog"
4665 # Check to see if the program is GNU ld. I'd rather use --version,
4666 # but apparently some variants of GNU ld only accept -v.
4667 # Break only if it was the GNU/non-GNU ld that we prefer.
4668 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4669 *GNU* | *'with BFD'*)
4670 test "$with_gnu_ld" != no && break
4673 test "$with_gnu_ld" != yes && break
4680 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4685 if test -n "$LD"; then
4686 echo "$as_me:$LINENO: result: $LD" >&5
4687 echo "${ECHO_T}$LD" >&6
4689 echo "$as_me:$LINENO: result: no" >&5
4690 echo "${ECHO_T}no" >&6
4692 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4693 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4694 { (exit 1); exit 1; }; }
4695 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4696 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4697 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4698 echo $ECHO_N "(cached) $ECHO_C" >&6
4700 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4701 case `$LD -v 2>&1 </dev/null` in
4702 *GNU* | *'with BFD'*)
4703 lt_cv_prog_gnu_ld=yes
4706 lt_cv_prog_gnu_ld=no
4710 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4711 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4712 with_gnu_ld=$lt_cv_prog_gnu_ld
4723 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4724 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
4725 if test "${lt_cv_path_NM+set}" = set; then
4726 echo $ECHO_N "(cached) $ECHO_C" >&6
4728 if test -n "$NM"; then
4729 # Let the user override the test.
4732 lt_nm_to_check="${ac_tool_prefix}nm"
4733 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4734 lt_nm_to_check="$lt_nm_to_check nm"
4736 for lt_tmp_nm in $lt_nm_to_check; do
4737 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4738 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4740 test -z "$ac_dir" && ac_dir=.
4741 tmp_nm="$ac_dir/$lt_tmp_nm"
4742 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4743 # Check to see if the nm accepts a BSD-compat flag.
4744 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4745 # nm: unknown option "B" ignored
4746 # Tru64's nm complains that /dev/null is an invalid object file
4747 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4748 */dev/null* | *'Invalid file or object type'*)
4749 lt_cv_path_NM="$tmp_nm -B"
4753 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4755 lt_cv_path_NM="$tmp_nm -p"
4759 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4760 continue # so that we can try to find one that supports BSD flags
4769 : ${lt_cv_path_NM=no}
4772 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4773 echo "${ECHO_T}$lt_cv_path_NM" >&6
4774 if test "$lt_cv_path_NM" != "no"; then
4777 # Didn't find any BSD compatible name lister, look for dumpbin.
4778 if test -n "$ac_tool_prefix"; then
4779 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4781 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4782 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4783 echo "$as_me:$LINENO: checking for $ac_word" >&5
4784 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4785 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4786 echo $ECHO_N "(cached) $ECHO_C" >&6
4788 if test -n "$DUMPBIN"; then
4789 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4795 test -z "$as_dir" && as_dir=.
4796 for ac_exec_ext in '' $ac_executable_extensions; do
4797 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4798 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4799 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4807 DUMPBIN=$ac_cv_prog_DUMPBIN
4808 if test -n "$DUMPBIN"; then
4809 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4810 echo "${ECHO_T}$DUMPBIN" >&6
4812 echo "$as_me:$LINENO: result: no" >&5
4813 echo "${ECHO_T}no" >&6
4816 test -n "$DUMPBIN" && break
4819 if test -z "$DUMPBIN"; then
4820 ac_ct_DUMPBIN=$DUMPBIN
4821 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4823 # Extract the first word of "$ac_prog", so it can be a program name with args.
4824 set dummy $ac_prog; ac_word=$2
4825 echo "$as_me:$LINENO: checking for $ac_word" >&5
4826 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4827 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4828 echo $ECHO_N "(cached) $ECHO_C" >&6
4830 if test -n "$ac_ct_DUMPBIN"; then
4831 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4837 test -z "$as_dir" && as_dir=.
4838 for ac_exec_ext in '' $ac_executable_extensions; do
4839 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4840 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4841 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4849 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4850 if test -n "$ac_ct_DUMPBIN"; then
4851 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4852 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
4854 echo "$as_me:$LINENO: result: no" >&5
4855 echo "${ECHO_T}no" >&6
4858 test -n "$ac_ct_DUMPBIN" && break
4860 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN=":"
4862 DUMPBIN=$ac_ct_DUMPBIN
4866 if test "$DUMPBIN" != ":"; then
4870 test -z "$NM" && NM=nm
4877 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4878 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
4879 if test "${lt_cv_nm_interface+set}" = set; then
4880 echo $ECHO_N "(cached) $ECHO_C" >&6
4882 lt_cv_nm_interface="BSD nm"
4883 echo "int some_variable = 0;" > conftest.$ac_ext
4884 (eval echo "\"\$as_me:4884: $ac_compile\"" >&5)
4885 (eval "$ac_compile" 2>conftest.err)
4886 cat conftest.err >&5
4887 (eval echo "\"\$as_me:4887: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4888 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4889 cat conftest.err >&5
4890 (eval echo "\"\$as_me:4890: output\"" >&5)
4891 cat conftest.out >&5
4892 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4893 lt_cv_nm_interface="MS dumpbin"
4897 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4898 echo "${ECHO_T}$lt_cv_nm_interface" >&6
4900 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4901 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4903 if test "$LN_S" = "ln -s"; then
4904 echo "$as_me:$LINENO: result: yes" >&5
4905 echo "${ECHO_T}yes" >&6
4907 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4908 echo "${ECHO_T}no, using $LN_S" >&6
4911 # find the maximum length of command line arguments
4912 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4913 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4914 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4915 echo $ECHO_N "(cached) $ECHO_C" >&6
4922 # On DJGPP, this test can blow up pretty badly due to problems in libc
4923 # (any single argument exceeding 2000 bytes causes a buffer overrun
4924 # during glob expansion). Even if it were fixed, the result of this
4925 # check would be larger than it should be.
4926 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4930 # Under GNU Hurd, this test is not required because there is
4931 # no limit to the length of command line arguments.
4932 # Libtool will interpret -1 as no limit whatsoever
4933 lt_cv_sys_max_cmd_len=-1;
4937 # On Win9x/ME, this test blows up -- it succeeds, but takes
4938 # about 5 minutes as the teststring grows exponentially.
4939 # Worse, since 9x/ME are not pre-emptively multitasking,
4940 # you end up with a "frozen" computer, even though with patience
4941 # the test eventually succeeds (with a max line length of 256k).
4942 # Instead, let's just punt: use the minimum linelength reported by
4943 # all of the supported platforms: 8192 (on NT/2K/XP).
4944 lt_cv_sys_max_cmd_len=8192;
4948 # On AmigaOS with pdksh, this test takes hours, literally.
4949 # So we just punt and use a minimum line length of 8192.
4950 lt_cv_sys_max_cmd_len=8192;
4953 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4954 # This has been around since 386BSD, at least. Likely further.
4955 if test -x /sbin/sysctl; then
4956 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4957 elif test -x /usr/sbin/sysctl; then
4958 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4960 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4962 # And add a safety zone
4963 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4964 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4968 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4969 lt_cv_sys_max_cmd_len=196608
4973 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4974 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4975 # nice to cause kernel panics so lets avoid the loop below.
4976 # First set a reasonable default.
4977 lt_cv_sys_max_cmd_len=16384
4979 if test -x /sbin/sysconfig; then
4980 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4981 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4986 lt_cv_sys_max_cmd_len=102400
4988 sysv5* | sco5v6* | sysv4.2uw2*)
4989 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4990 if test -n "$kargmax"; then
4991 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4993 lt_cv_sys_max_cmd_len=32768
4997 # Make teststring a little bigger before we do anything with it.
4998 # a 1K string should be a reasonable start.
4999 for i in 1 2 3 4 5 6 7 8 ; do
5000 teststring=$teststring$teststring
5002 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5003 # If test is not a shell built-in, we'll probably end up computing a
5004 # maximum length that is only half of the actual maximum length, but
5006 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5007 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5008 test $i != 17 # 1/2 MB should be enough
5011 teststring=$teststring$teststring
5013 # Only check the string length outside the loop.
5014 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5016 # Add a significant safety factor because C++ compilers can tack on massive
5017 # amounts of additional arguments before passing them to the linker.
5018 # It appears as though 1/2 is a usable value.
5019 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5025 if test -n $lt_cv_sys_max_cmd_len ; then
5026 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5027 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5029 echo "$as_me:$LINENO: result: none" >&5
5030 echo "${ECHO_T}none" >&6
5032 max_cmd_len=$lt_cv_sys_max_cmd_len
5043 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
5044 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
5045 # Try some XSI features
5048 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5049 = c,a/b,, ) >/dev/null 2>&1 \
5051 echo "$as_me:$LINENO: result: $xsi_shell" >&5
5052 echo "${ECHO_T}$xsi_shell" >&6
5055 echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
5056 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6
5058 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5060 && lt_shell_append=yes
5061 echo "$as_me:$LINENO: result: $lt_shell_append" >&5
5062 echo "${ECHO_T}$lt_shell_append" >&6
5065 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5075 # test EBCDIC or ASCII
5076 case `echo X|tr X '\101'` in
5077 A) # ASCII based system
5078 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5079 lt_SP2NL='tr \040 \012'
5080 lt_NL2SP='tr \015\012 \040\040'
5082 *) # EBCDIC based system
5083 lt_SP2NL='tr \100 \n'
5084 lt_NL2SP='tr \r\n \100\100'
5096 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
5097 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
5098 if test "${lt_cv_ld_reload_flag+set}" = set; then
5099 echo $ECHO_N "(cached) $ECHO_C" >&6
5101 lt_cv_ld_reload_flag='-r'
5103 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
5104 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
5105 reload_flag=$lt_cv_ld_reload_flag
5106 case $reload_flag in
5108 *) reload_flag=" $reload_flag" ;;
5110 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5113 if test "$GCC" = yes; then
5114 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5116 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5130 echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
5131 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6
5132 if test "${lt_cv_deplibs_check_method+set}" = set; then
5133 echo $ECHO_N "(cached) $ECHO_C" >&6
5135 lt_cv_file_magic_cmd='$MAGIC_CMD'
5136 lt_cv_file_magic_test_file=
5137 lt_cv_deplibs_check_method='unknown'
5138 # Need to set the preceding variable on all platforms that support
5139 # interlibrary dependencies.
5140 # 'none' -- dependencies not supported.
5141 # `unknown' -- same as none, but documents that we really don't know.
5142 # 'pass_all' -- all dependencies passed with no checks.
5143 # 'test_compile' -- check by making test program.
5144 # 'file_magic [[regex]]' -- check by looking for files in library path
5145 # which responds to the $file_magic_cmd with a given extended regex.
5146 # If you have `file' or equivalent on your system and you're not sure
5147 # whether `pass_all' will *always* work, you probably want this one.
5151 lt_cv_deplibs_check_method=pass_all
5155 lt_cv_deplibs_check_method=pass_all
5159 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5160 lt_cv_file_magic_cmd='/usr/bin/file -L'
5161 lt_cv_file_magic_test_file=/shlib/libc.so
5165 # func_win32_libid is a shell function defined in ltmain.sh
5166 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5167 lt_cv_file_magic_cmd='func_win32_libid'
5171 # Base MSYS/MinGW do not provide the 'file' command needed by
5172 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5173 # unless we find 'file', for example because we are cross-compiling.
5174 if ( file / ) >/dev/null 2>&1; then
5175 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5176 lt_cv_file_magic_cmd='func_win32_libid'
5178 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5179 lt_cv_file_magic_cmd='$OBJDUMP -f'
5183 darwin* | rhapsody*)
5184 lt_cv_deplibs_check_method=pass_all
5187 freebsd* | dragonfly*)
5188 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5191 # Not sure whether the presence of OpenBSD here was a mistake.
5192 # Let's accept both of them until this is cleared up.
5193 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5194 lt_cv_file_magic_cmd=/usr/bin/file
5195 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5199 lt_cv_deplibs_check_method=pass_all
5204 lt_cv_deplibs_check_method=pass_all
5207 hpux10.20* | hpux11*)
5208 lt_cv_file_magic_cmd=/usr/bin/file
5211 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5212 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5215 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]'
5216 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5219 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5220 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5226 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5227 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5230 irix5* | irix6* | nonstopux*)
5232 *-32|*"-32 ") libmagic=32-bit;;
5233 *-n32|*"-n32 ") libmagic=N32;;
5234 *-64|*"-64 ") libmagic=64-bit;;
5235 *) libmagic=never-match;;
5237 lt_cv_deplibs_check_method=pass_all
5240 # This must be Linux ELF.
5241 linux* | k*bsd*-gnu)
5242 lt_cv_deplibs_check_method=pass_all
5246 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5247 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5249 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5254 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5255 lt_cv_file_magic_cmd=/usr/bin/file
5256 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5260 lt_cv_deplibs_check_method=pass_all
5264 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5265 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5267 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5271 osf3* | osf4* | osf5*)
5272 lt_cv_deplibs_check_method=pass_all
5276 lt_cv_deplibs_check_method=pass_all
5280 lt_cv_deplibs_check_method=pass_all
5283 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5284 lt_cv_deplibs_check_method=pass_all
5288 case $host_vendor in
5290 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]'
5291 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5294 lt_cv_deplibs_check_method=pass_all
5297 lt_cv_file_magic_cmd='/bin/file'
5298 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5301 lt_cv_file_magic_cmd='/bin/file'
5302 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5303 lt_cv_file_magic_test_file=/lib/libc.so
5306 lt_cv_deplibs_check_method=pass_all
5309 lt_cv_deplibs_check_method=pass_all
5315 lt_cv_deplibs_check_method=pass_all
5320 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5321 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5322 file_magic_cmd=$lt_cv_file_magic_cmd
5323 deplibs_check_method=$lt_cv_deplibs_check_method
5324 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5337 if test -n "$ac_tool_prefix"; then
5338 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5339 set dummy ${ac_tool_prefix}ar; ac_word=$2
5340 echo "$as_me:$LINENO: checking for $ac_word" >&5
5341 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5342 if test "${ac_cv_prog_AR+set}" = set; then
5343 echo $ECHO_N "(cached) $ECHO_C" >&6
5345 if test -n "$AR"; then
5346 ac_cv_prog_AR="$AR" # Let the user override the test.
5348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5352 test -z "$as_dir" && as_dir=.
5353 for ac_exec_ext in '' $ac_executable_extensions; do
5354 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5355 ac_cv_prog_AR="${ac_tool_prefix}ar"
5356 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5365 if test -n "$AR"; then
5366 echo "$as_me:$LINENO: result: $AR" >&5
5367 echo "${ECHO_T}$AR" >&6
5369 echo "$as_me:$LINENO: result: no" >&5
5370 echo "${ECHO_T}no" >&6
5374 if test -z "$ac_cv_prog_AR"; then
5376 # Extract the first word of "ar", so it can be a program name with args.
5377 set dummy ar; ac_word=$2
5378 echo "$as_me:$LINENO: checking for $ac_word" >&5
5379 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5380 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5381 echo $ECHO_N "(cached) $ECHO_C" >&6
5383 if test -n "$ac_ct_AR"; then
5384 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5390 test -z "$as_dir" && as_dir=.
5391 for ac_exec_ext in '' $ac_executable_extensions; do
5392 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5393 ac_cv_prog_ac_ct_AR="ar"
5394 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5400 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5403 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5404 if test -n "$ac_ct_AR"; then
5405 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5406 echo "${ECHO_T}$ac_ct_AR" >&6
5408 echo "$as_me:$LINENO: result: no" >&5
5409 echo "${ECHO_T}no" >&6
5417 test -z "$AR" && AR=ar
5418 test -z "$AR_FLAGS" && AR_FLAGS=cru
5430 if test -n "$ac_tool_prefix"; then
5431 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5432 set dummy ${ac_tool_prefix}strip; ac_word=$2
5433 echo "$as_me:$LINENO: checking for $ac_word" >&5
5434 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5435 if test "${ac_cv_prog_STRIP+set}" = set; then
5436 echo $ECHO_N "(cached) $ECHO_C" >&6
5438 if test -n "$STRIP"; then
5439 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5445 test -z "$as_dir" && as_dir=.
5446 for ac_exec_ext in '' $ac_executable_extensions; do
5447 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5448 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5449 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5457 STRIP=$ac_cv_prog_STRIP
5458 if test -n "$STRIP"; then
5459 echo "$as_me:$LINENO: result: $STRIP" >&5
5460 echo "${ECHO_T}$STRIP" >&6
5462 echo "$as_me:$LINENO: result: no" >&5
5463 echo "${ECHO_T}no" >&6
5467 if test -z "$ac_cv_prog_STRIP"; then
5469 # Extract the first word of "strip", so it can be a program name with args.
5470 set dummy strip; ac_word=$2
5471 echo "$as_me:$LINENO: checking for $ac_word" >&5
5472 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5473 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5474 echo $ECHO_N "(cached) $ECHO_C" >&6
5476 if test -n "$ac_ct_STRIP"; then
5477 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5483 test -z "$as_dir" && as_dir=.
5484 for ac_exec_ext in '' $ac_executable_extensions; do
5485 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5486 ac_cv_prog_ac_ct_STRIP="strip"
5487 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5493 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5496 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5497 if test -n "$ac_ct_STRIP"; then
5498 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5499 echo "${ECHO_T}$ac_ct_STRIP" >&6
5501 echo "$as_me:$LINENO: result: no" >&5
5502 echo "${ECHO_T}no" >&6
5507 STRIP="$ac_cv_prog_STRIP"
5510 test -z "$STRIP" && STRIP=:
5517 if test -n "$ac_tool_prefix"; then
5518 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5519 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5520 echo "$as_me:$LINENO: checking for $ac_word" >&5
5521 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5522 if test "${ac_cv_prog_RANLIB+set}" = set; then
5523 echo $ECHO_N "(cached) $ECHO_C" >&6
5525 if test -n "$RANLIB"; then
5526 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5532 test -z "$as_dir" && as_dir=.
5533 for ac_exec_ext in '' $ac_executable_extensions; do
5534 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5535 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5536 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5544 RANLIB=$ac_cv_prog_RANLIB
5545 if test -n "$RANLIB"; then
5546 echo "$as_me:$LINENO: result: $RANLIB" >&5
5547 echo "${ECHO_T}$RANLIB" >&6
5549 echo "$as_me:$LINENO: result: no" >&5
5550 echo "${ECHO_T}no" >&6
5554 if test -z "$ac_cv_prog_RANLIB"; then
5555 ac_ct_RANLIB=$RANLIB
5556 # Extract the first word of "ranlib", so it can be a program name with args.
5557 set dummy ranlib; ac_word=$2
5558 echo "$as_me:$LINENO: checking for $ac_word" >&5
5559 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5560 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5561 echo $ECHO_N "(cached) $ECHO_C" >&6
5563 if test -n "$ac_ct_RANLIB"; then
5564 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5570 test -z "$as_dir" && as_dir=.
5571 for ac_exec_ext in '' $ac_executable_extensions; do
5572 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5573 ac_cv_prog_ac_ct_RANLIB="ranlib"
5574 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5580 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5583 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5584 if test -n "$ac_ct_RANLIB"; then
5585 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5586 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5588 echo "$as_me:$LINENO: result: no" >&5
5589 echo "${ECHO_T}no" >&6
5592 RANLIB=$ac_ct_RANLIB
5594 RANLIB="$ac_cv_prog_RANLIB"
5597 test -z "$RANLIB" && RANLIB=:
5604 # Determine commands to create old-style static archives.
5605 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5606 old_postinstall_cmds='chmod 644 $oldlib'
5607 old_postuninstall_cmds=
5609 if test -n "$RANLIB"; then
5612 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5615 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5618 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5654 # If no C compiler was specified, use CC.
5657 # If no C compiler flags were specified, use CFLAGS.
5658 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5660 # Allow CC to be a program name with arguments.
5664 # Check for command to grab the raw symbol name followed by C symbol from nm.
5665 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5666 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5667 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5668 echo $ECHO_N "(cached) $ECHO_C" >&6
5671 # These are sane defaults that work on at least a few old systems.
5672 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5674 # Character class describing NM global symbol codes.
5675 symcode='[BCDEGRST]'
5677 # Regexp to match symbols that can be accessed directly from C.
5678 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5680 # Define system-specific variables.
5685 cygwin* | mingw* | pw32*)
5686 symcode='[ABCDGISTW]'
5689 if test "$host_cpu" = ia64; then
5690 symcode='[ABCDEGRST]'
5694 symcode='[BCDEGRST]'
5697 symcode='[BCDEGQRST]'
5708 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5716 # If we're using GNU nm, then use its standard symbol codes.
5717 case `$NM -V 2>&1` in
5718 *GNU* | *'with BFD'*)
5719 symcode='[ABCDGIRSTW]' ;;
5722 # Transform an extracted symbol line into a proper C declaration.
5723 # Some systems (esp. on ia64) link data and code symbols differently,
5724 # so use this general approach.
5725 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5727 # Transform an extracted symbol line into symbol name and symbol address
5728 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5730 # Handle CRLF in mingw tool chain
5734 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5738 # Try without a prefix underscore, then with it.
5739 for ac_symprfx in "" "_"; do
5741 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5742 symxfrm="\\1 $ac_symprfx\\2 \\2"
5744 # Write the raw and C identifiers.
5745 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5746 # Fake it for dumpbin and say T for any non-static function
5747 # and D for any global variable.
5748 # Also find C++ and __fastcall symbols from MSVC++,
5749 # which start with @ or ?.
5750 lt_cv_sys_global_symbol_pipe="$AWK '"\
5751 " {last_section=section; section=\$ 3};"\
5752 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5753 " \$ 0!~/External *\|/{next};"\
5754 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5755 " {if(hide[section]) next};"\
5756 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5757 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5758 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5759 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5760 " ' prfx=^$ac_symprfx"
5762 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5765 # Check to see that the pipe works correctly.
5769 cat > conftest.$ac_ext <<_LT_EOF
5774 void nm_test_func(void);
5775 void nm_test_func(void){}
5779 int main(){nm_test_var='a';nm_test_func();return(0);}
5782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5783 (eval $ac_compile) 2>&5
5785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5786 (exit $ac_status); }; then
5787 # Now try to grab the symbols.
5789 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5790 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5793 (exit $ac_status); } && test -s "$nlist"; then
5794 # Try sorting and uniquifying the output.
5795 if sort "$nlist" | uniq > "$nlist"T; then
5796 mv -f "$nlist"T "$nlist"
5801 # Make sure that we snagged all the symbols we need.
5802 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5803 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5804 cat <<_LT_EOF > conftest.$ac_ext
5810 # Now generate the symbol file.
5811 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5813 cat <<_LT_EOF >> conftest.$ac_ext
5815 /* The mapping between symbol names and symbols. */
5820 lt__PROGRAM__LTX_preloaded_symbols[] =
5822 { "@PROGRAM@", (void *) 0 },
5824 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5825 cat <<\_LT_EOF >> conftest.$ac_ext
5829 /* This works around a problem in FreeBSD linker */
5830 #ifdef FREEBSD_WORKAROUND
5831 static const void *lt_preloaded_setup() {
5832 return lt__PROGRAM__LTX_preloaded_symbols;
5840 # Now try linking the two files.
5841 mv conftest.$ac_objext conftstm.$ac_objext
5842 lt_save_LIBS="$LIBS"
5843 lt_save_CFLAGS="$CFLAGS"
5844 LIBS="conftstm.$ac_objext"
5845 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5847 (eval $ac_link) 2>&5
5849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5850 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5853 LIBS="$lt_save_LIBS"
5854 CFLAGS="$lt_save_CFLAGS"
5856 echo "cannot find nm_test_func in $nlist" >&5
5859 echo "cannot find nm_test_var in $nlist" >&5
5862 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5865 echo "$progname: failed program was:" >&5
5866 cat conftest.$ac_ext >&5
5868 rm -f conftest* conftst*
5870 # Do not use the global_symbol_pipe unless it works.
5871 if test "$pipe_works" = yes; then
5874 lt_cv_sys_global_symbol_pipe=
5880 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5881 lt_cv_sys_global_symbol_to_cdecl=
5883 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5884 echo "$as_me:$LINENO: result: failed" >&5
5885 echo "${ECHO_T}failed" >&6
5887 echo "$as_me:$LINENO: result: ok" >&5
5888 echo "${ECHO_T}ok" >&6
5908 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5909 if test "${enable_libtool_lock+set}" = set; then
5910 enableval="$enable_libtool_lock"
5913 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5915 # Some flags need to be propagated to the compiler or linker for good
5919 # Find out which ABI we are using.
5920 echo 'int i;' > conftest.$ac_ext
5921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5922 (eval $ac_compile) 2>&5
5924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5925 (exit $ac_status); }; then
5926 case `/usr/bin/file conftest.$ac_objext` in
5938 # Find out which ABI we are using.
5939 echo '#line 5939 "configure"' > conftest.$ac_ext
5940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5941 (eval $ac_compile) 2>&5
5943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5944 (exit $ac_status); }; then
5945 if test "$lt_cv_prog_gnu_ld" = yes; then
5946 case `/usr/bin/file conftest.$ac_objext` in
5948 LD="${LD-ld} -melf32bsmip"
5951 LD="${LD-ld} -melf32bmipn32"
5954 LD="${LD-ld} -melf64bmip"
5958 case `/usr/bin/file conftest.$ac_objext` in
5974 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5975 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5976 # Find out which ABI we are using.
5977 echo 'int i;' > conftest.$ac_ext
5978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5979 (eval $ac_compile) 2>&5
5981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5982 (exit $ac_status); }; then
5983 case `/usr/bin/file conftest.o` in
5986 x86_64-*kfreebsd*-gnu)
5987 LD="${LD-ld} -m elf_i386_fbsd"
5990 LD="${LD-ld} -m elf_i386"
5992 ppc64-*linux*|powerpc64-*linux*)
5993 LD="${LD-ld} -m elf32ppclinux"
5996 LD="${LD-ld} -m elf_s390"
5999 LD="${LD-ld} -m elf32_sparc"
6005 x86_64-*kfreebsd*-gnu)
6006 LD="${LD-ld} -m elf_x86_64_fbsd"
6009 LD="${LD-ld} -m elf_x86_64"
6011 ppc*-*linux*|powerpc*-*linux*)
6012 LD="${LD-ld} -m elf64ppc"
6014 s390*-*linux*|s390*-*tpf*)
6015 LD="${LD-ld} -m elf64_s390"
6018 LD="${LD-ld} -m elf64_sparc"
6028 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6029 SAVE_CFLAGS="$CFLAGS"
6030 CFLAGS="$CFLAGS -belf"
6031 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
6032 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
6033 if test "${lt_cv_cc_needs_belf+set}" = set; then
6034 echo $ECHO_N "(cached) $ECHO_C" >&6
6037 ac_cpp='$CPP $CPPFLAGS'
6038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6042 cat >conftest.$ac_ext <<_ACEOF
6045 cat confdefs.h >>conftest.$ac_ext
6046 cat >>conftest.$ac_ext <<_ACEOF
6047 /* end confdefs.h. */
6057 rm -f conftest.$ac_objext conftest$ac_exeext
6058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6059 (eval $ac_link) 2>conftest.er1
6061 grep -v '^ *+' conftest.er1 >conftest.err
6063 cat conftest.err >&5
6064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6065 (exit $ac_status); } &&
6066 { ac_try='test -z "$ac_c_werror_flag"
6067 || test ! -s conftest.err'
6068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6072 (exit $ac_status); }; } &&
6073 { ac_try='test -s conftest$ac_exeext'
6074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6078 (exit $ac_status); }; }; then
6079 lt_cv_cc_needs_belf=yes
6081 echo "$as_me: failed program was:" >&5
6082 sed 's/^/| /' conftest.$ac_ext >&5
6084 lt_cv_cc_needs_belf=no
6086 rm -f conftest.err conftest.$ac_objext \
6087 conftest$ac_exeext conftest.$ac_ext
6089 ac_cpp='$CPP $CPPFLAGS'
6090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6095 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
6096 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
6097 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6098 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6099 CFLAGS="$SAVE_CFLAGS"
6103 # Find out which ABI we are using.
6104 echo 'int i;' > conftest.$ac_ext
6105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6106 (eval $ac_compile) 2>&5
6108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6109 (exit $ac_status); }; then
6110 case `/usr/bin/file conftest.o` in
6112 case $lt_cv_prog_gnu_ld in
6113 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6114 *) LD="${LD-ld} -64" ;;
6123 need_locks="$enable_libtool_lock"
6126 ac_cpp='$CPP $CPPFLAGS'
6127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6130 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
6131 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
6132 # On Suns, sometimes $CPP names a directory.
6133 if test -n "$CPP" && test -d "$CPP"; then
6136 if test -z "$CPP"; then
6137 if test "${ac_cv_prog_CPP+set}" = set; then
6138 echo $ECHO_N "(cached) $ECHO_C" >&6
6140 # Double quotes because CPP needs to be expanded
6141 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6144 for ac_c_preproc_warn_flag in '' yes
6146 # Use a header file that comes with gcc, so configuring glibc
6147 # with a fresh cross-compiler works.
6148 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6149 # <limits.h> exists even on freestanding compilers.
6150 # On the NeXT, cc -E runs the code through the compiler's parser,
6151 # not just through cpp. "Syntax error" is here to catch this case.
6152 cat >conftest.$ac_ext <<_ACEOF
6155 cat confdefs.h >>conftest.$ac_ext
6156 cat >>conftest.$ac_ext <<_ACEOF
6157 /* end confdefs.h. */
6159 # include <limits.h>
6161 # include <assert.h>
6165 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6166 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6168 grep -v '^ *+' conftest.er1 >conftest.err
6170 cat conftest.err >&5
6171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6172 (exit $ac_status); } >/dev/null; then
6173 if test -s conftest.err; then
6174 ac_cpp_err=$ac_c_preproc_warn_flag
6175 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6182 if test -z "$ac_cpp_err"; then
6185 echo "$as_me: failed program was:" >&5
6186 sed 's/^/| /' conftest.$ac_ext >&5
6188 # Broken: fails on valid input.
6191 rm -f conftest.err conftest.$ac_ext
6193 # OK, works on sane cases. Now check whether non-existent headers
6194 # can be detected and how.
6195 cat >conftest.$ac_ext <<_ACEOF
6198 cat confdefs.h >>conftest.$ac_ext
6199 cat >>conftest.$ac_ext <<_ACEOF
6200 /* end confdefs.h. */
6201 #include <ac_nonexistent.h>
6203 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6204 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6206 grep -v '^ *+' conftest.er1 >conftest.err
6208 cat conftest.err >&5
6209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6210 (exit $ac_status); } >/dev/null; then
6211 if test -s conftest.err; then
6212 ac_cpp_err=$ac_c_preproc_warn_flag
6213 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6220 if test -z "$ac_cpp_err"; then
6221 # Broken: success on invalid input.
6224 echo "$as_me: failed program was:" >&5
6225 sed 's/^/| /' conftest.$ac_ext >&5
6227 # Passes both tests.
6231 rm -f conftest.err conftest.$ac_ext
6234 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6235 rm -f conftest.err conftest.$ac_ext
6236 if $ac_preproc_ok; then
6248 echo "$as_me:$LINENO: result: $CPP" >&5
6249 echo "${ECHO_T}$CPP" >&6
6251 for ac_c_preproc_warn_flag in '' yes
6253 # Use a header file that comes with gcc, so configuring glibc
6254 # with a fresh cross-compiler works.
6255 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6256 # <limits.h> exists even on freestanding compilers.
6257 # On the NeXT, cc -E runs the code through the compiler's parser,
6258 # not just through cpp. "Syntax error" is here to catch this case.
6259 cat >conftest.$ac_ext <<_ACEOF
6262 cat confdefs.h >>conftest.$ac_ext
6263 cat >>conftest.$ac_ext <<_ACEOF
6264 /* end confdefs.h. */
6266 # include <limits.h>
6268 # include <assert.h>
6272 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6273 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6275 grep -v '^ *+' conftest.er1 >conftest.err
6277 cat conftest.err >&5
6278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6279 (exit $ac_status); } >/dev/null; then
6280 if test -s conftest.err; then
6281 ac_cpp_err=$ac_c_preproc_warn_flag
6282 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6289 if test -z "$ac_cpp_err"; then
6292 echo "$as_me: failed program was:" >&5
6293 sed 's/^/| /' conftest.$ac_ext >&5
6295 # Broken: fails on valid input.
6298 rm -f conftest.err conftest.$ac_ext
6300 # OK, works on sane cases. Now check whether non-existent headers
6301 # can be detected and how.
6302 cat >conftest.$ac_ext <<_ACEOF
6305 cat confdefs.h >>conftest.$ac_ext
6306 cat >>conftest.$ac_ext <<_ACEOF
6307 /* end confdefs.h. */
6308 #include <ac_nonexistent.h>
6310 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6311 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6313 grep -v '^ *+' conftest.er1 >conftest.err
6315 cat conftest.err >&5
6316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6317 (exit $ac_status); } >/dev/null; then
6318 if test -s conftest.err; then
6319 ac_cpp_err=$ac_c_preproc_warn_flag
6320 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6327 if test -z "$ac_cpp_err"; then
6328 # Broken: success on invalid input.
6331 echo "$as_me: failed program was:" >&5
6332 sed 's/^/| /' conftest.$ac_ext >&5
6334 # Passes both tests.
6338 rm -f conftest.err conftest.$ac_ext
6341 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6342 rm -f conftest.err conftest.$ac_ext
6343 if $ac_preproc_ok; then
6346 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6347 See \`config.log' for more details." >&5
6348 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6349 See \`config.log' for more details." >&2;}
6350 { (exit 1); exit 1; }; }
6354 ac_cpp='$CPP $CPPFLAGS'
6355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6360 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6361 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6362 if test "${ac_cv_header_stdc+set}" = set; then
6363 echo $ECHO_N "(cached) $ECHO_C" >&6
6365 cat >conftest.$ac_ext <<_ACEOF
6368 cat confdefs.h >>conftest.$ac_ext
6369 cat >>conftest.$ac_ext <<_ACEOF
6370 /* end confdefs.h. */
6384 rm -f conftest.$ac_objext
6385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6386 (eval $ac_compile) 2>conftest.er1
6388 grep -v '^ *+' conftest.er1 >conftest.err
6390 cat conftest.err >&5
6391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6392 (exit $ac_status); } &&
6393 { ac_try='test -z "$ac_c_werror_flag"
6394 || test ! -s conftest.err'
6395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6399 (exit $ac_status); }; } &&
6400 { ac_try='test -s conftest.$ac_objext'
6401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6405 (exit $ac_status); }; }; then
6406 ac_cv_header_stdc=yes
6408 echo "$as_me: failed program was:" >&5
6409 sed 's/^/| /' conftest.$ac_ext >&5
6411 ac_cv_header_stdc=no
6413 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6415 if test $ac_cv_header_stdc = yes; then
6416 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6417 cat >conftest.$ac_ext <<_ACEOF
6420 cat confdefs.h >>conftest.$ac_ext
6421 cat >>conftest.$ac_ext <<_ACEOF
6422 /* end confdefs.h. */
6426 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6427 $EGREP "memchr" >/dev/null 2>&1; then
6430 ac_cv_header_stdc=no
6436 if test $ac_cv_header_stdc = yes; then
6437 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6438 cat >conftest.$ac_ext <<_ACEOF
6441 cat confdefs.h >>conftest.$ac_ext
6442 cat >>conftest.$ac_ext <<_ACEOF
6443 /* end confdefs.h. */
6447 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6448 $EGREP "free" >/dev/null 2>&1; then
6451 ac_cv_header_stdc=no
6457 if test $ac_cv_header_stdc = yes; then
6458 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6459 if test "$cross_compiling" = yes; then
6462 cat >conftest.$ac_ext <<_ACEOF
6465 cat confdefs.h >>conftest.$ac_ext
6466 cat >>conftest.$ac_ext <<_ACEOF
6467 /* end confdefs.h. */
6469 #if ((' ' & 0x0FF) == 0x020)
6470 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6471 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6473 # define ISLOWER(c) \
6474 (('a' <= (c) && (c) <= 'i') \
6475 || ('j' <= (c) && (c) <= 'r') \
6476 || ('s' <= (c) && (c) <= 'z'))
6477 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6480 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6485 for (i = 0; i < 256; i++)
6486 if (XOR (islower (i), ISLOWER (i))
6487 || toupper (i) != TOUPPER (i))
6492 rm -f conftest$ac_exeext
6493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6494 (eval $ac_link) 2>&5
6496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6497 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6502 (exit $ac_status); }; }; then
6505 echo "$as_me: program exited with status $ac_status" >&5
6506 echo "$as_me: failed program was:" >&5
6507 sed 's/^/| /' conftest.$ac_ext >&5
6510 ac_cv_header_stdc=no
6512 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6516 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6517 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6518 if test $ac_cv_header_stdc = yes; then
6520 cat >>confdefs.h <<\_ACEOF
6521 #define STDC_HEADERS 1
6526 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6536 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6537 inttypes.h stdint.h unistd.h
6539 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6540 echo "$as_me:$LINENO: checking for $ac_header" >&5
6541 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6542 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6543 echo $ECHO_N "(cached) $ECHO_C" >&6
6545 cat >conftest.$ac_ext <<_ACEOF
6548 cat confdefs.h >>conftest.$ac_ext
6549 cat >>conftest.$ac_ext <<_ACEOF
6550 /* end confdefs.h. */
6551 $ac_includes_default
6553 #include <$ac_header>
6555 rm -f conftest.$ac_objext
6556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6557 (eval $ac_compile) 2>conftest.er1
6559 grep -v '^ *+' conftest.er1 >conftest.err
6561 cat conftest.err >&5
6562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6563 (exit $ac_status); } &&
6564 { ac_try='test -z "$ac_c_werror_flag"
6565 || test ! -s conftest.err'
6566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6570 (exit $ac_status); }; } &&
6571 { ac_try='test -s conftest.$ac_objext'
6572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6576 (exit $ac_status); }; }; then
6577 eval "$as_ac_Header=yes"
6579 echo "$as_me: failed program was:" >&5
6580 sed 's/^/| /' conftest.$ac_ext >&5
6582 eval "$as_ac_Header=no"
6584 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6587 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6588 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6589 cat >>confdefs.h <<_ACEOF
6590 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6599 for ac_header in dlfcn.h
6601 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6602 echo "$as_me:$LINENO: checking for $ac_header" >&5
6603 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6604 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6605 echo $ECHO_N "(cached) $ECHO_C" >&6
6607 cat >conftest.$ac_ext <<_ACEOF
6610 cat confdefs.h >>conftest.$ac_ext
6611 cat >>conftest.$ac_ext <<_ACEOF
6612 /* end confdefs.h. */
6613 $ac_includes_default
6615 #include <$ac_header>
6617 rm -f conftest.$ac_objext
6618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6619 (eval $ac_compile) 2>conftest.er1
6621 grep -v '^ *+' conftest.er1 >conftest.err
6623 cat conftest.err >&5
6624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6625 (exit $ac_status); } &&
6626 { ac_try='test -z "$ac_c_werror_flag"
6627 || test ! -s conftest.err'
6628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6632 (exit $ac_status); }; } &&
6633 { ac_try='test -s conftest.$ac_objext'
6634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6638 (exit $ac_status); }; }; then
6639 eval "$as_ac_Header=yes"
6641 echo "$as_me: failed program was:" >&5
6642 sed 's/^/| /' conftest.$ac_ext >&5
6644 eval "$as_ac_Header=no"
6646 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6649 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6650 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6651 cat >>confdefs.h <<_ACEOF
6652 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6661 # This can be used to rebuild libtool when needed
6662 LIBTOOL_DEPS="$ltmain"
6664 # Always use our own libtool.
6665 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
6691 test -z "$LN_S" && LN_S="ln -s"
6706 if test -n "${ZSH_VERSION+set}" ; then
6707 setopt NO_GLOB_SUBST
6710 echo "$as_me:$LINENO: checking for objdir" >&5
6711 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
6712 if test "${lt_cv_objdir+set}" = set; then
6713 echo $ECHO_N "(cached) $ECHO_C" >&6
6715 rm -f .libs 2>/dev/null
6716 mkdir .libs 2>/dev/null
6717 if test -d .libs; then
6720 # MS-DOS does not allow filenames that begin with a dot.
6723 rmdir .libs 2>/dev/null
6725 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6726 echo "${ECHO_T}$lt_cv_objdir" >&6
6727 objdir=$lt_cv_objdir
6733 cat >>confdefs.h <<_ACEOF
6734 #define LT_OBJDIR "$lt_cv_objdir/"
6755 # AIX sometimes has problems with the GCC collect2 program. For some
6756 # reason, if we set the COLLECT_NAMES environment variable, the problems
6757 # vanish in a puff of smoke.
6758 if test "X${COLLECT_NAMES+set}" != Xset; then
6760 export COLLECT_NAMES
6765 # Sed substitution that helps us do robust quoting. It backslashifies
6766 # metacharacters that are still active within double-quoted strings.
6767 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6769 # Same as above, but do not quote variable references.
6770 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6772 # Sed substitution to delay expansion of an escaped shell variable in a
6773 # double_quote_subst'ed string.
6774 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6776 # Sed substitution to delay expansion of an escaped single quote.
6777 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6779 # Sed substitution to avoid accidental globbing in evaled expressions
6780 no_glob_subst='s/\*/\\\*/g'
6784 can_build_shared=yes
6786 # All known linkers require a `.a' archive for static linking (except MSVC,
6787 # which needs '.lib').
6790 with_gnu_ld="$lt_cv_prog_gnu_ld"
6793 old_CFLAGS="$CFLAGS"
6795 # Set sane defaults for various variables
6796 test -z "$CC" && CC=cc
6797 test -z "$LTCC" && LTCC=$CC
6798 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6799 test -z "$LD" && LD=ld
6800 test -z "$ac_objext" && ac_objext=o
6802 for cc_temp in $compiler""; do
6804 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6805 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6810 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6813 # Only perform the check for file, if the check method requires it
6814 test -z "$MAGIC_CMD" && MAGIC_CMD=file
6815 case $deplibs_check_method in
6817 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6818 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6819 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6820 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6821 echo $ECHO_N "(cached) $ECHO_C" >&6
6825 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6828 lt_save_MAGIC_CMD="$MAGIC_CMD"
6829 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6830 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6831 for ac_dir in $ac_dummy; do
6833 test -z "$ac_dir" && ac_dir=.
6834 if test -f $ac_dir/${ac_tool_prefix}file; then
6835 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6836 if test -n "$file_magic_test_file"; then
6837 case $deplibs_check_method in
6839 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6840 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6841 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6842 $EGREP "$file_magic_regex" > /dev/null; then
6847 *** Warning: the command libtool uses to detect shared libraries,
6848 *** $file_magic_cmd, produces output that libtool cannot recognize.
6849 *** The result is that libtool may fail to recognize shared libraries
6850 *** as such. This will affect the creation of libtool libraries that
6851 *** depend on shared libraries, but programs linked with such libtool
6852 *** libraries will work regardless of this problem. Nevertheless, you
6853 *** may want to report the problem to your system manager and/or to
6854 *** bug-libtool@gnu.org
6864 MAGIC_CMD="$lt_save_MAGIC_CMD"
6869 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6870 if test -n "$MAGIC_CMD"; then
6871 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6872 echo "${ECHO_T}$MAGIC_CMD" >&6
6874 echo "$as_me:$LINENO: result: no" >&5
6875 echo "${ECHO_T}no" >&6
6882 if test -z "$lt_cv_path_MAGIC_CMD"; then
6883 if test -n "$ac_tool_prefix"; then
6884 echo "$as_me:$LINENO: checking for file" >&5
6885 echo $ECHO_N "checking for file... $ECHO_C" >&6
6886 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6887 echo $ECHO_N "(cached) $ECHO_C" >&6
6891 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6894 lt_save_MAGIC_CMD="$MAGIC_CMD"
6895 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6896 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6897 for ac_dir in $ac_dummy; do
6899 test -z "$ac_dir" && ac_dir=.
6900 if test -f $ac_dir/file; then
6901 lt_cv_path_MAGIC_CMD="$ac_dir/file"
6902 if test -n "$file_magic_test_file"; then
6903 case $deplibs_check_method in
6905 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6906 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6907 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6908 $EGREP "$file_magic_regex" > /dev/null; then
6913 *** Warning: the command libtool uses to detect shared libraries,
6914 *** $file_magic_cmd, produces output that libtool cannot recognize.
6915 *** The result is that libtool may fail to recognize shared libraries
6916 *** as such. This will affect the creation of libtool libraries that
6917 *** depend on shared libraries, but programs linked with such libtool
6918 *** libraries will work regardless of this problem. Nevertheless, you
6919 *** may want to report the problem to your system manager and/or to
6920 *** bug-libtool@gnu.org
6930 MAGIC_CMD="$lt_save_MAGIC_CMD"
6935 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6936 if test -n "$MAGIC_CMD"; then
6937 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6938 echo "${ECHO_T}$MAGIC_CMD" >&6
6940 echo "$as_me:$LINENO: result: no" >&5
6941 echo "${ECHO_T}no" >&6
6954 # Use C for the default configuration in the libtool script
6958 ac_cpp='$CPP $CPPFLAGS'
6959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6964 # Source file extension for C test sources.
6967 # Object file extension for compiled C test sources.
6971 # Code to be used in simple compile tests
6972 lt_simple_compile_test_code="int some_variable = 0;"
6974 # Code to be used in simple link tests
6975 lt_simple_link_test_code='int main(){return(0);}'
6983 # If no C compiler was specified, use CC.
6986 # If no C compiler flags were specified, use CFLAGS.
6987 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6989 # Allow CC to be a program name with arguments.
6992 # Save the default compiler, since it gets overwritten when the other
6993 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
6994 compiler_DEFAULT=$CC
6996 # save warnings/boilerplate of simple test code
6997 ac_outfile=conftest.$ac_objext
6998 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
6999 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7000 _lt_compiler_boilerplate=`cat conftest.err`
7003 ac_outfile=conftest.$ac_objext
7004 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7005 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7006 _lt_linker_boilerplate=`cat conftest.err`
7011 ## There is no encapsulation within the following macros, do not change
7012 ## the running order or otherwise move them around unless you know exactly
7013 ## what you are doing...
7014 if test -n "$compiler"; then
7016 lt_prog_compiler_no_builtin_flag=
7018 if test "$GCC" = yes; then
7019 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7021 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7022 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
7023 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7024 echo $ECHO_N "(cached) $ECHO_C" >&6
7026 lt_cv_prog_compiler_rtti_exceptions=no
7027 ac_outfile=conftest.$ac_objext
7028 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7029 lt_compiler_flag="-fno-rtti -fno-exceptions"
7030 # Insert the option either (1) after the last *FLAGS variable, or
7031 # (2) before a word containing "conftest.", or (3) at the end.
7032 # Note that $ac_compile itself does not contain backslashes and begins
7033 # with a dollar sign (not a hyphen), so the echo should work correctly.
7034 # The option is referenced via a variable to avoid confusing sed.
7035 lt_compile=`echo "$ac_compile" | $SED \
7036 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7037 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7038 -e 's:$: $lt_compiler_flag:'`
7039 (eval echo "\"\$as_me:7039: $lt_compile\"" >&5)
7040 (eval "$lt_compile" 2>conftest.err)
7042 cat conftest.err >&5
7043 echo "$as_me:7043: \$? = $ac_status" >&5
7044 if (exit $ac_status) && test -s "$ac_outfile"; then
7045 # The compiler can only warn and ignore the option if not recognized
7046 # So say no if there are warnings other than the usual output.
7047 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7048 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7049 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7050 lt_cv_prog_compiler_rtti_exceptions=yes
7056 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7057 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
7059 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7060 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7072 lt_prog_compiler_wl=
7073 lt_prog_compiler_pic=
7074 lt_prog_compiler_static=
7076 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7077 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
7079 if test "$GCC" = yes; then
7080 lt_prog_compiler_wl='-Wl,'
7081 lt_prog_compiler_static='-static'
7085 # All AIX code is PIC.
7086 if test "$host_cpu" = ia64; then
7087 # AIX 5 now supports IA64 processor
7088 lt_prog_compiler_static='-Bstatic'
7093 if test "$host_cpu" = m68k; then
7094 # FIXME: we need at least 68020 code to build shared libraries, but
7095 # adding the `-m68020' flag to GCC prevents building anything better,
7097 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7101 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7102 # PIC is the default for these OSes.
7105 mingw* | cygwin* | pw32* | os2*)
7106 # This hack is so that the source file can tell whether it is being
7107 # built for inclusion in a dll (and should export symbols for example).
7108 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7109 # (--disable-auto-import) libraries
7110 lt_prog_compiler_pic='-DDLL_EXPORT'
7113 darwin* | rhapsody*)
7114 # PIC is the default on this platform
7115 # Common symbols not allowed in MH_DYLIB files
7116 lt_prog_compiler_pic='-fno-common'
7120 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7127 lt_prog_compiler_pic='-fPIC'
7133 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7134 # Instead, we relocate shared libraries at runtime.
7138 # Just because we use GCC doesn't mean we suddenly get shared libraries
7139 # on systems that don't support them.
7140 lt_prog_compiler_can_build_shared=no
7145 # QNX uses GNU C++, but need to define -shared option too, otherwise
7147 lt_prog_compiler_pic='-fPIC -shared'
7151 if test -d /usr/nec; then
7152 lt_prog_compiler_pic=-Kconform_pic
7157 lt_prog_compiler_pic='-fPIC'
7161 # PORTME Check for flag to pass linker flags through the system compiler.
7164 lt_prog_compiler_wl='-Wl,'
7165 if test "$host_cpu" = ia64; then
7166 # AIX 5 now supports IA64 processor
7167 lt_prog_compiler_static='-Bstatic'
7169 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7173 # PIC is the default on this platform
7174 # Common symbols not allowed in MH_DYLIB files
7175 case $cc_basename in
7177 lt_prog_compiler_pic='-qnocommon'
7178 lt_prog_compiler_wl='-Wl,'
7183 mingw* | cygwin* | pw32* | os2*)
7184 # This hack is so that the source file can tell whether it is being
7185 # built for inclusion in a dll (and should export symbols for example).
7186 lt_prog_compiler_pic='-DDLL_EXPORT'
7189 hpux9* | hpux10* | hpux11*)
7190 lt_prog_compiler_wl='-Wl,'
7191 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7198 lt_prog_compiler_pic='+Z'
7201 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7202 lt_prog_compiler_static='${wl}-a ${wl}archive'
7205 irix5* | irix6* | nonstopux*)
7206 lt_prog_compiler_wl='-Wl,'
7207 # PIC (with -KPIC) is the default.
7208 lt_prog_compiler_static='-non_shared'
7211 linux* | k*bsd*-gnu)
7212 case $cc_basename in
7214 lt_prog_compiler_wl='-Wl,'
7215 lt_prog_compiler_pic='-KPIC'
7216 lt_prog_compiler_static='-static'
7218 pgcc* | pgf77* | pgf90* | pgf95*)
7219 # Portland Group compilers (*not* the Pentium gcc compiler,
7220 # which looks to be a dead project)
7221 lt_prog_compiler_wl='-Wl,'
7222 lt_prog_compiler_pic='-fpic'
7223 lt_prog_compiler_static='-Bstatic'
7226 lt_prog_compiler_wl='-Wl,'
7227 # All Alpha code is PIC.
7228 lt_prog_compiler_static='-non_shared'
7231 case `$CC -V 2>&1 | sed 5q` in
7234 lt_prog_compiler_pic='-KPIC'
7235 lt_prog_compiler_static='-Bstatic'
7236 lt_prog_compiler_wl='-Wl,'
7239 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7240 lt_prog_compiler_pic='-KPIC'
7241 lt_prog_compiler_static='-Bstatic'
7242 lt_prog_compiler_wl=''
7250 lt_prog_compiler_pic='-KPIC'
7251 lt_prog_compiler_static='-Bstatic'
7255 # QNX uses GNU C++, but need to define -shared option too, otherwise
7257 lt_prog_compiler_pic='-fPIC -shared'
7260 osf3* | osf4* | osf5*)
7261 lt_prog_compiler_wl='-Wl,'
7262 # All OSF/1 code is PIC.
7263 lt_prog_compiler_static='-non_shared'
7267 lt_prog_compiler_static='-non_shared'
7271 lt_prog_compiler_pic='-KPIC'
7272 lt_prog_compiler_static='-Bstatic'
7273 case $cc_basename in
7275 lt_prog_compiler_wl='-Qoption ld ';;
7277 lt_prog_compiler_wl='-Wl,';;
7282 lt_prog_compiler_wl='-Qoption ld '
7283 lt_prog_compiler_pic='-PIC'
7284 lt_prog_compiler_static='-Bstatic'
7287 sysv4 | sysv4.2uw2* | sysv4.3*)
7288 lt_prog_compiler_wl='-Wl,'
7289 lt_prog_compiler_pic='-KPIC'
7290 lt_prog_compiler_static='-Bstatic'
7294 if test -d /usr/nec ;then
7295 lt_prog_compiler_pic='-Kconform_pic'
7296 lt_prog_compiler_static='-Bstatic'
7300 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7301 lt_prog_compiler_wl='-Wl,'
7302 lt_prog_compiler_pic='-KPIC'
7303 lt_prog_compiler_static='-Bstatic'
7307 lt_prog_compiler_wl='-Wl,'
7308 lt_prog_compiler_can_build_shared=no
7312 lt_prog_compiler_pic='-pic'
7313 lt_prog_compiler_static='-Bstatic'
7317 lt_prog_compiler_can_build_shared=no
7323 # For platforms which do not support PIC, -DPIC is meaningless:
7325 lt_prog_compiler_pic=
7328 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7331 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7332 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
7340 # Check to make sure the PIC flag actually works.
7342 if test -n "$lt_prog_compiler_pic"; then
7343 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7344 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
7345 if test "${lt_prog_compiler_pic_works+set}" = set; then
7346 echo $ECHO_N "(cached) $ECHO_C" >&6
7348 lt_prog_compiler_pic_works=no
7349 ac_outfile=conftest.$ac_objext
7350 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7351 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7352 # Insert the option either (1) after the last *FLAGS variable, or
7353 # (2) before a word containing "conftest.", or (3) at the end.
7354 # Note that $ac_compile itself does not contain backslashes and begins
7355 # with a dollar sign (not a hyphen), so the echo should work correctly.
7356 # The option is referenced via a variable to avoid confusing sed.
7357 lt_compile=`echo "$ac_compile" | $SED \
7358 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7359 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7360 -e 's:$: $lt_compiler_flag:'`
7361 (eval echo "\"\$as_me:7361: $lt_compile\"" >&5)
7362 (eval "$lt_compile" 2>conftest.err)
7364 cat conftest.err >&5
7365 echo "$as_me:7365: \$? = $ac_status" >&5
7366 if (exit $ac_status) && test -s "$ac_outfile"; then
7367 # The compiler can only warn and ignore the option if not recognized
7368 # So say no if there are warnings other than the usual output.
7369 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7370 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7371 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7372 lt_prog_compiler_pic_works=yes
7378 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7379 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
7381 if test x"$lt_prog_compiler_pic_works" = xyes; then
7382 case $lt_prog_compiler_pic in
7384 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7387 lt_prog_compiler_pic=
7388 lt_prog_compiler_can_build_shared=no
7399 # Check to make sure the static flag actually works.
7401 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7402 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7403 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
7404 if test "${lt_prog_compiler_static_works+set}" = set; then
7405 echo $ECHO_N "(cached) $ECHO_C" >&6
7407 lt_prog_compiler_static_works=no
7408 save_LDFLAGS="$LDFLAGS"
7409 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7410 echo "$lt_simple_link_test_code" > conftest.$ac_ext
7411 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7412 # The linker can only warn and ignore the option if not recognized
7413 # So say no if there are warnings
7414 if test -s conftest.err; then
7415 # Append any errors to the config.log.
7416 cat conftest.err 1>&5
7417 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7418 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7419 if diff conftest.exp conftest.er2 >/dev/null; then
7420 lt_prog_compiler_static_works=yes
7423 lt_prog_compiler_static_works=yes
7427 LDFLAGS="$save_LDFLAGS"
7430 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7431 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
7433 if test x"$lt_prog_compiler_static_works" = xyes; then
7436 lt_prog_compiler_static=
7445 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7446 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7447 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7448 echo $ECHO_N "(cached) $ECHO_C" >&6
7450 lt_cv_prog_compiler_c_o=no
7451 $RM -r conftest 2>/dev/null
7455 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7457 lt_compiler_flag="-o out/conftest2.$ac_objext"
7458 # Insert the option either (1) after the last *FLAGS variable, or
7459 # (2) before a word containing "conftest.", or (3) at the end.
7460 # Note that $ac_compile itself does not contain backslashes and begins
7461 # with a dollar sign (not a hyphen), so the echo should work correctly.
7462 lt_compile=`echo "$ac_compile" | $SED \
7463 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7464 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7465 -e 's:$: $lt_compiler_flag:'`
7466 (eval echo "\"\$as_me:7466: $lt_compile\"" >&5)
7467 (eval "$lt_compile" 2>out/conftest.err)
7469 cat out/conftest.err >&5
7470 echo "$as_me:7470: \$? = $ac_status" >&5
7471 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7473 # The compiler can only warn and ignore the option if not recognized
7474 # So say no if there are warnings
7475 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7476 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7477 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7478 lt_cv_prog_compiler_c_o=yes
7483 # SGI C++ compiler will create directory out/ii_files/ for
7484 # template instantiation
7485 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7486 $RM out/* && rmdir out
7492 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7493 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7500 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7501 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7502 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7503 echo $ECHO_N "(cached) $ECHO_C" >&6
7505 lt_cv_prog_compiler_c_o=no
7506 $RM -r conftest 2>/dev/null
7510 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7512 lt_compiler_flag="-o out/conftest2.$ac_objext"
7513 # Insert the option either (1) after the last *FLAGS variable, or
7514 # (2) before a word containing "conftest.", or (3) at the end.
7515 # Note that $ac_compile itself does not contain backslashes and begins
7516 # with a dollar sign (not a hyphen), so the echo should work correctly.
7517 lt_compile=`echo "$ac_compile" | $SED \
7518 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7519 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7520 -e 's:$: $lt_compiler_flag:'`
7521 (eval echo "\"\$as_me:7521: $lt_compile\"" >&5)
7522 (eval "$lt_compile" 2>out/conftest.err)
7524 cat out/conftest.err >&5
7525 echo "$as_me:7525: \$? = $ac_status" >&5
7526 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7528 # The compiler can only warn and ignore the option if not recognized
7529 # So say no if there are warnings
7530 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7531 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7532 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7533 lt_cv_prog_compiler_c_o=yes
7538 # SGI C++ compiler will create directory out/ii_files/ for
7539 # template instantiation
7540 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7541 $RM out/* && rmdir out
7547 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7548 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7553 hard_links="nottested"
7554 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7555 # do not overwrite the value of need_locks provided by the user
7556 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7557 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
7560 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7562 ln conftest.a conftest.b 2>&5 || hard_links=no
7563 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7564 echo "$as_me:$LINENO: result: $hard_links" >&5
7565 echo "${ECHO_T}$hard_links" >&6
7566 if test "$hard_links" = no; then
7567 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7568 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7580 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7581 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
7584 allow_undefined_flag=
7585 always_export_symbols=no
7587 archive_expsym_cmds=
7588 compiler_needs_object=no
7589 enable_shared_with_static_runtimes=no
7590 export_dynamic_flag_spec=
7591 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7592 hardcode_automatic=no
7594 hardcode_direct_absolute=no
7595 hardcode_libdir_flag_spec=
7596 hardcode_libdir_flag_spec_ld=
7597 hardcode_libdir_separator=
7599 hardcode_shlibpath_var=unsupported
7601 link_all_deplibs=unknown
7604 old_archive_from_new_cmds=
7605 old_archive_from_expsyms_cmds=
7606 thread_safe_flag_spec=
7607 whole_archive_flag_spec=
7608 # include_expsyms should be a list of space-separated symbols to be *always*
7609 # included in the symbol list
7611 # exclude_expsyms can be an extended regexp of symbols to exclude
7612 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7613 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7614 # as well as any symbol that contains `d'.
7615 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
7616 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7617 # platforms (ab)use it in PIC code, but their linkers get confused if
7618 # the symbol is explicitly referenced. Since portable code cannot
7619 # rely on this symbol name, it's probably fine to never include it in
7620 # preloaded symbol tables.
7621 extract_expsyms_cmds=
7624 cygwin* | mingw* | pw32*)
7625 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7626 # When not using gcc, we currently assume that we are using
7627 # Microsoft Visual C++.
7628 if test "$GCC" != yes; then
7633 # we just hope/assume this is gcc and not c89 (= MSVC++)
7642 if test "$with_gnu_ld" = yes; then
7643 # If archive_cmds runs LD, not CC, wlarc should be empty
7646 # Set some defaults for GNU ld with shared library support. These
7647 # are reset later if shared libraries are not supported. Putting them
7648 # here allows them to be overridden if necessary.
7649 runpath_var=LD_RUN_PATH
7650 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7651 export_dynamic_flag_spec='${wl}--export-dynamic'
7652 # ancient GNU ld didn't support --whole-archive et. al.
7653 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
7654 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7656 whole_archive_flag_spec=
7658 supports_anon_versioning=no
7659 case `$LD -v 2>&1` in
7660 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7661 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7662 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7663 *\ 2.11.*) ;; # other 2.11 versions
7664 *) supports_anon_versioning=yes ;;
7667 # See if GNU ld supports shared libraries.
7669 aix3* | aix4* | aix5*)
7670 # On AIX/PPC, the GNU linker is very broken
7671 if test "$host_cpu" != ia64; then
7675 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7676 *** to be unable to reliably create shared libraries on AIX.
7677 *** Therefore, libtool is disabling shared libraries support. If you
7678 *** really care for shared libraries, you may want to modify your PATH
7679 *** so that a non-GNU linker is found, and then restart.
7686 if test "$host_cpu" = m68k; then
7687 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)'
7688 hardcode_libdir_flag_spec='-L$libdir'
7689 hardcode_minus_L=yes
7692 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7693 # that the semantics of dynamic libraries on AmigaOS, at least up
7694 # to version 4, is to share data among multiple programs linked
7695 # with the same dynamic library. Since this doesn't match the
7696 # behavior of shared libraries on other platforms, we can't use
7702 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7703 allow_undefined_flag=unsupported
7704 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7705 # support --undefined. This deserves some investigation. FIXME
7706 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7712 cygwin* | mingw* | pw32*)
7713 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7714 # as there is no search path for DLLs.
7715 hardcode_libdir_flag_spec='-L$libdir'
7716 allow_undefined_flag=unsupported
7717 always_export_symbols=no
7718 enable_shared_with_static_runtimes=yes
7719 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7721 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
7722 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7723 # If the export-symbols file already is a .def file (1st line
7724 # is EXPORTS), use it as is; otherwise, prepend...
7725 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7726 cp $export_symbols $output_objdir/$soname.def;
7728 echo EXPORTS > $output_objdir/$soname.def;
7729 cat $export_symbols >> $output_objdir/$soname.def;
7731 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7739 hardcode_shlibpath_var=no
7740 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7741 export_dynamic_flag_spec='${wl}-E'
7742 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7743 # Instead, shared libraries are loaded at an image base (0x10000000 by
7744 # default) and relocated if they conflict, which is a slow very memory
7745 # consuming and fragmenting process. To avoid this, we pick a random,
7746 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7747 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7748 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7749 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'
7752 gnu* | linux* | tpf* | k*bsd*-gnu)
7754 if test "$host_os" = linux-dietlibc; then
7755 case $cc_basename in
7756 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
7759 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
7760 && test "$tmp_diet" = no
7763 case $cc_basename,$host_cpu in
7764 pgcc*) # Portland Group C compiler
7765 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'
7766 tmp_addflag=' $pic_flag'
7768 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
7769 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'
7770 tmp_addflag=' $pic_flag -Mnomain' ;;
7771 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
7772 tmp_addflag=' -i_dynamic' ;;
7773 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
7774 tmp_addflag=' -i_dynamic -nofor_main' ;;
7775 ifc* | ifort*) # Intel Fortran compiler
7776 tmp_addflag=' -nofor_main' ;;
7778 case `$CC -V 2>&1 | sed 5q` in
7779 *Sun\ C*) # Sun C 5.9
7780 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'
7781 compiler_needs_object=yes
7782 tmp_sharedflag='-G' ;;
7783 *Sun\ F*) # Sun Fortran 8.3
7784 tmp_sharedflag='-G' ;;
7786 tmp_sharedflag='-shared' ;;
7788 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7790 if test "x$supports_anon_versioning" = xyes; then
7791 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
7792 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7793 echo "local: *; };" >> $output_objdir/$libname.ver~
7794 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7802 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
7803 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7806 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7807 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7812 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
7816 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7817 *** create shared libraries on Solaris systems. Therefore, libtool
7818 *** is disabling shared libraries support. We urge you to upgrade GNU
7819 *** binutils to release 2.9.1 or newer. Another option is to modify
7820 *** your PATH or compiler configuration so that the native linker is
7821 *** used, and then restart.
7824 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7825 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7826 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7832 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
7833 case `$LD -v 2>&1` in
7834 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
7838 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7839 *** reliably create shared libraries on SCO systems. Therefore, libtool
7840 *** is disabling shared libraries support. We urge you to upgrade GNU
7841 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7842 *** your PATH or compiler configuration so that the native linker is
7843 *** used, and then restart.
7848 # For security reasons, it is highly recommended that you always
7849 # use absolute paths for naming shared libraries, and exclude the
7850 # DT_RUNPATH tag from executables and libraries. But doing so
7851 # requires that you compile everything twice, which is a pain.
7852 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7853 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7854 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7855 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7864 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7867 hardcode_shlibpath_var=no
7871 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7872 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7873 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7880 if test "$ld_shlibs" = no; then
7882 hardcode_libdir_flag_spec=
7883 export_dynamic_flag_spec=
7884 whole_archive_flag_spec=
7887 # PORTME fill in a description of your system's linker (not GNU ld)
7890 allow_undefined_flag=unsupported
7891 always_export_symbols=yes
7892 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'
7893 # Note: this linker hardcodes the directories in LIBPATH if there
7894 # are no directories specified by -L.
7895 hardcode_minus_L=yes
7896 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7897 # Neither direct hardcoding nor static linking is supported with a
7899 hardcode_direct=unsupported
7904 if test "$host_cpu" = ia64; then
7905 # On IA64, the linker does run time linking by default, so we don't
7906 # have to do anything special.
7907 aix_use_runtimelinking=no
7908 exp_sym_flag='-Bexport'
7911 # If we're using GNU nm, then we don't want the "-C" option.
7912 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7913 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
7914 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'
7916 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'
7918 aix_use_runtimelinking=no
7920 # Test if we are trying to use run time linking or normal
7921 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7922 # need to do runtime linking.
7923 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
7924 for ld_flag in $LDFLAGS; do
7925 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
7926 aix_use_runtimelinking=yes
7933 exp_sym_flag='-bexport'
7934 no_entry_flag='-bnoentry'
7937 # When large executables or shared objects are built, AIX ld can
7938 # have problems creating the table of contents. If linking a library
7939 # or program results in "error TOC overflow" add -mminimal-toc to
7940 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7941 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7945 hardcode_direct_absolute=yes
7946 hardcode_libdir_separator=':'
7947 link_all_deplibs=yes
7948 file_list_spec='${wl}-f,'
7950 if test "$GCC" = yes; then
7951 case $host_os in aix4.[012]|aix4.[012].*)
7952 # We only want to do this on AIX 4.2 and lower, the check
7953 # below for broken collect2 doesn't work under 4.3+
7954 collect2name=`${CC} -print-prog-name=collect2`
7955 if test -f "$collect2name" &&
7956 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
7958 # We have reworked collect2
7961 # We have old collect2
7962 hardcode_direct=unsupported
7963 # It fails to find uninstalled libraries when the uninstalled
7964 # path is not listed in the libpath. Setting hardcode_minus_L
7965 # to unsupported forces relinking
7966 hardcode_minus_L=yes
7967 hardcode_libdir_flag_spec='-L$libdir'
7968 hardcode_libdir_separator=
7972 shared_flag='-shared'
7973 if test "$aix_use_runtimelinking" = yes; then
7974 shared_flag="$shared_flag "'${wl}-G'
7978 if test "$host_cpu" = ia64; then
7979 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7980 # chokes on -Wl,-G. The following line is correct:
7983 if test "$aix_use_runtimelinking" = yes; then
7984 shared_flag='${wl}-G'
7986 shared_flag='${wl}-bM:SRE'
7991 # It seems that -bexpall does not export symbols beginning with
7992 # underscore (_), so it is better to generate a list of symbols to export.
7993 always_export_symbols=yes
7994 if test "$aix_use_runtimelinking" = yes; then
7995 # Warning - without using the other runtime loading flags (-brtl),
7996 # -berok will link without error, but may produce a broken library.
7997 allow_undefined_flag='-berok'
7998 # Determine the default libpath from the value encoded in an
8000 cat >conftest.$ac_ext <<_ACEOF
8003 cat confdefs.h >>conftest.$ac_ext
8004 cat >>conftest.$ac_ext <<_ACEOF
8005 /* end confdefs.h. */
8015 rm -f conftest.$ac_objext conftest$ac_exeext
8016 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8017 (eval $ac_link) 2>conftest.er1
8019 grep -v '^ *+' conftest.er1 >conftest.err
8021 cat conftest.err >&5
8022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8023 (exit $ac_status); } &&
8024 { ac_try='test -z "$ac_c_werror_flag"
8025 || test ! -s conftest.err'
8026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8030 (exit $ac_status); }; } &&
8031 { ac_try='test -s conftest$ac_exeext'
8032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8036 (exit $ac_status); }; }; then
8038 lt_aix_libpath_sed='
8039 /Import File Strings/,/^$/ {
8045 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8046 # Check for a 64-bit object if we didn't find anything.
8047 if test -z "$aix_libpath"; then
8048 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8051 echo "$as_me: failed program was:" >&5
8052 sed 's/^/| /' conftest.$ac_ext >&5
8055 rm -f conftest.err conftest.$ac_objext \
8056 conftest$ac_exeext conftest.$ac_ext
8057 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8059 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8060 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"
8062 if test "$host_cpu" = ia64; then
8063 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8064 allow_undefined_flag="-z nodefs"
8065 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"
8067 # Determine the default libpath from the value encoded in an
8069 cat >conftest.$ac_ext <<_ACEOF
8072 cat confdefs.h >>conftest.$ac_ext
8073 cat >>conftest.$ac_ext <<_ACEOF
8074 /* end confdefs.h. */
8084 rm -f conftest.$ac_objext conftest$ac_exeext
8085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8086 (eval $ac_link) 2>conftest.er1
8088 grep -v '^ *+' conftest.er1 >conftest.err
8090 cat conftest.err >&5
8091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8092 (exit $ac_status); } &&
8093 { ac_try='test -z "$ac_c_werror_flag"
8094 || test ! -s conftest.err'
8095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8099 (exit $ac_status); }; } &&
8100 { ac_try='test -s conftest$ac_exeext'
8101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8105 (exit $ac_status); }; }; then
8107 lt_aix_libpath_sed='
8108 /Import File Strings/,/^$/ {
8114 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8115 # Check for a 64-bit object if we didn't find anything.
8116 if test -z "$aix_libpath"; then
8117 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8120 echo "$as_me: failed program was:" >&5
8121 sed 's/^/| /' conftest.$ac_ext >&5
8124 rm -f conftest.err conftest.$ac_objext \
8125 conftest$ac_exeext conftest.$ac_ext
8126 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8128 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8129 # Warning - without using the other run time loading flags,
8130 # -berok will link without error, but may produce a broken library.
8131 no_undefined_flag=' ${wl}-bernotok'
8132 allow_undefined_flag=' ${wl}-berok'
8133 # Exported symbols can be pulled into shared objects from archives
8134 whole_archive_flag_spec='$convenience'
8135 archive_cmds_need_lc=yes
8136 # This is similar to how AIX traditionally builds its shared libraries.
8137 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'
8143 if test "$host_cpu" = m68k; then
8144 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)'
8145 hardcode_libdir_flag_spec='-L$libdir'
8146 hardcode_minus_L=yes
8148 # see comment about different semantics on the GNU ld section
8153 export_dynamic_flag_spec=-rdynamic
8156 cygwin* | mingw* | pw32*)
8157 # When not using gcc, we currently assume that we are using
8158 # Microsoft Visual C++.
8159 # hardcode_libdir_flag_spec is actually meaningless, as there is
8160 # no search path for DLLs.
8161 hardcode_libdir_flag_spec=' '
8162 allow_undefined_flag=unsupported
8163 # Tell ltmain to make .lib files, not .a files.
8165 # Tell ltmain to make .dll files, not .so files.
8167 # FIXME: Setting linknames here is a bad hack.
8168 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8169 # The linker will automatically build a .lib file if we build a DLL.
8170 old_archive_from_new_cmds='true'
8171 # FIXME: Should let the user specify the lib program.
8172 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8173 fix_srcfile_path='`cygpath -w "$srcfile"`'
8174 enable_shared_with_static_runtimes=yes
8177 darwin* | rhapsody*)
8179 rhapsody* | darwin1.[012])
8180 allow_undefined_flag='${wl}-undefined ${wl}suppress'
8183 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
8185 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8188 allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
8193 archive_cmds_need_lc=no
8195 hardcode_automatic=yes
8196 hardcode_shlibpath_var=unsupported
8197 whole_archive_flag_spec=''
8198 link_all_deplibs=yes
8199 if test "$GCC" = yes ; then
8200 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
8201 echo $ECHO_N "(cached) $ECHO_C" >&6
8203 lt_cv_apple_cc_single_mod=no
8204 if test -z "${LT_MULTI_MODULE}"; then
8205 # By default we will add the -single_module flag. You can override
8206 # by either setting the environment variable LT_MULTI_MODULE
8207 # non-empty at configure time, or by adding -multi-module to the
8209 echo "int foo(void){return 1;}" > conftest.c
8210 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8211 -dynamiclib ${wl}-single_module conftest.c
8212 if test -f libconftest.dylib; then
8213 lt_cv_apple_cc_single_mod=yes
8214 rm libconftest.dylib
8220 output_verbose_link_cmd=echo
8221 if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
8222 archive_cmds='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8223 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}'
8225 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8226 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}'
8228 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8229 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}'
8231 case $cc_basename in
8233 output_verbose_link_cmd=echo
8234 archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
8235 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8236 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8237 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}'
8238 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}'
8248 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8249 hardcode_libdir_flag_spec='-L$libdir'
8250 hardcode_shlibpath_var=no
8257 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8258 # support. Future versions do this automatically, but an explicit c++rt0.o
8259 # does not break anything, and helps significantly (at the cost of a little
8262 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8263 hardcode_libdir_flag_spec='-R$libdir'
8265 hardcode_shlibpath_var=no
8268 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8270 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8272 hardcode_minus_L=yes
8273 hardcode_shlibpath_var=no
8276 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8277 freebsd* | dragonfly*)
8278 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8279 hardcode_libdir_flag_spec='-R$libdir'
8281 hardcode_shlibpath_var=no
8285 if test "$GCC" = yes; then
8286 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'
8288 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'
8290 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8291 hardcode_libdir_separator=:
8294 # hardcode_minus_L: Not really in the search PATH,
8295 # but as the default location of the library.
8296 hardcode_minus_L=yes
8297 export_dynamic_flag_spec='${wl}-E'
8301 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8302 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8304 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8306 if test "$with_gnu_ld" = no; then
8307 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8308 hardcode_libdir_flag_spec_ld='+b $libdir'
8309 hardcode_libdir_separator=:
8311 hardcode_direct_absolute=yes
8312 export_dynamic_flag_spec='${wl}-E'
8313 # hardcode_minus_L: Not really in the search PATH,
8314 # but as the default location of the library.
8315 hardcode_minus_L=yes
8320 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8323 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8326 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8329 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8335 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8338 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8341 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8345 if test "$with_gnu_ld" = no; then
8346 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8347 hardcode_libdir_separator=:
8352 hardcode_shlibpath_var=no
8356 hardcode_direct_absolute=yes
8357 export_dynamic_flag_spec='${wl}-E'
8359 # hardcode_minus_L: Not really in the search PATH,
8360 # but as the default location of the library.
8361 hardcode_minus_L=yes
8367 irix5* | irix6* | nonstopux*)
8368 if test "$GCC" = yes; then
8369 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'
8370 # Try to use the -exported_symbol ld option, if it does not
8371 # work, assume that -exports_file does not work either and
8372 # implicitly export all symbols.
8373 save_LDFLAGS="$LDFLAGS"
8374 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8375 cat >conftest.$ac_ext <<_ACEOF
8378 rm -f conftest.$ac_objext conftest$ac_exeext
8379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8380 (eval $ac_link) 2>conftest.er1
8382 grep -v '^ *+' conftest.er1 >conftest.err
8384 cat conftest.err >&5
8385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8386 (exit $ac_status); } &&
8387 { ac_try='test -z "$ac_c_werror_flag"
8388 || test ! -s conftest.err'
8389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8393 (exit $ac_status); }; } &&
8394 { ac_try='test -s conftest$ac_exeext'
8395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8399 (exit $ac_status); }; }; then
8400 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'
8403 echo "$as_me: failed program was:" >&5
8404 sed 's/^/| /' conftest.$ac_ext >&5
8407 rm -f conftest.err conftest.$ac_objext \
8408 conftest$ac_exeext conftest.$ac_ext
8409 LDFLAGS="$save_LDFLAGS"
8411 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'
8412 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'
8414 archive_cmds_need_lc='no'
8415 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8416 hardcode_libdir_separator=:
8418 link_all_deplibs=yes
8422 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8423 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8425 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8427 hardcode_libdir_flag_spec='-R$libdir'
8429 hardcode_shlibpath_var=no
8433 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8435 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8436 hardcode_libdir_separator=:
8437 hardcode_shlibpath_var=no
8445 hardcode_shlibpath_var=no
8446 hardcode_direct_absolute=yes
8447 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8448 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8449 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8450 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8451 export_dynamic_flag_spec='${wl}-E'
8454 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8455 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8456 hardcode_libdir_flag_spec='-R$libdir'
8459 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8460 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8467 hardcode_libdir_flag_spec='-L$libdir'
8468 hardcode_minus_L=yes
8469 allow_undefined_flag=unsupported
8470 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'
8471 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8475 if test "$GCC" = yes; then
8476 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8477 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'
8479 allow_undefined_flag=' -expect_unresolved \*'
8480 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'
8482 archive_cmds_need_lc='no'
8483 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8484 hardcode_libdir_separator=:
8487 osf4* | osf5*) # as osf3* with the addition of -msym flag
8488 if test "$GCC" = yes; then
8489 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8490 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'
8491 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8493 allow_undefined_flag=' -expect_unresolved \*'
8494 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'
8495 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~
8496 $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'
8498 # Both c and cxx compiler support -rpath directly
8499 hardcode_libdir_flag_spec='-rpath $libdir'
8501 archive_cmds_need_lc='no'
8502 hardcode_libdir_separator=:
8506 no_undefined_flag=' -z defs'
8507 if test "$GCC" = yes; then
8509 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8510 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8511 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8513 case `$CC -V 2>&1` in
8516 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8517 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8518 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8522 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8523 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8524 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8528 hardcode_libdir_flag_spec='-R$libdir'
8529 hardcode_shlibpath_var=no
8531 solaris2.[0-5] | solaris2.[0-5].*) ;;
8533 # The compiler driver will combine and reorder linker options,
8534 # but understands `-z linker_flag'. GCC discards it without `$wl',
8535 # but is careful enough not to reorder.
8536 # Supported since Solaris 2.6 (maybe 2.5.1?)
8537 if test "$GCC" = yes; then
8538 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8540 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8544 link_all_deplibs=yes
8548 if test "x$host_vendor" = xsequent; then
8549 # Use $CC to link under sequent, because it throws in some extra .o
8550 # files that make .init and .fini sections work.
8551 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8553 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8555 hardcode_libdir_flag_spec='-L$libdir'
8557 hardcode_minus_L=yes
8558 hardcode_shlibpath_var=no
8562 case $host_vendor in
8564 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8565 hardcode_direct=yes # is this really true???
8568 ## LD is ld it makes a PLAMLIB
8569 ## CC just makes a GrossModule.
8570 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8571 reload_cmds='$CC -r -o $output$reload_objs'
8575 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8576 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8579 runpath_var='LD_RUN_PATH'
8580 hardcode_shlibpath_var=no
8584 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8585 hardcode_shlibpath_var=no
8586 export_dynamic_flag_spec='-Bexport'
8590 if test -d /usr/nec; then
8591 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8592 hardcode_shlibpath_var=no
8593 runpath_var=LD_RUN_PATH
8594 hardcode_runpath_var=yes
8599 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8600 no_undefined_flag='${wl}-z,text'
8601 archive_cmds_need_lc=no
8602 hardcode_shlibpath_var=no
8603 runpath_var='LD_RUN_PATH'
8605 if test "$GCC" = yes; then
8606 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8607 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8609 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8610 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8614 sysv5* | sco3.2v5* | sco5v6*)
8615 # Note: We can NOT use -z defs as we might desire, because we do not
8616 # link with -lc, and that would cause any symbols used from libc to
8617 # always be unresolved, which means just about no library would
8618 # ever link correctly. If we're not using GNU ld we use -z text
8619 # though, which does catch some bad symbols but isn't as heavy-handed
8621 no_undefined_flag='${wl}-z,text'
8622 allow_undefined_flag='${wl}-z,nodefs'
8623 archive_cmds_need_lc=no
8624 hardcode_shlibpath_var=no
8625 hardcode_libdir_flag_spec='${wl}-R,$libdir'
8626 hardcode_libdir_separator=':'
8627 link_all_deplibs=yes
8628 export_dynamic_flag_spec='${wl}-Bexport'
8629 runpath_var='LD_RUN_PATH'
8631 if test "$GCC" = yes; then
8632 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8633 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8635 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8636 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8641 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8642 hardcode_libdir_flag_spec='-L$libdir'
8643 hardcode_shlibpath_var=no
8651 if test x$host_vendor = xsni; then
8653 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8654 export_dynamic_flag_spec='${wl}-Blargedynsym'
8660 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8661 echo "${ECHO_T}$ld_shlibs" >&6
8662 test "$ld_shlibs" = no && can_build_shared=no
8664 with_gnu_ld=$with_gnu_ld
8681 # Do we need to explicitly link libc?
8683 case "x$archive_cmds_need_lc" in
8685 # Assume -lc should be added
8686 archive_cmds_need_lc=yes
8688 if test "$enable_shared" = yes && test "$GCC" = yes; then
8689 case $archive_cmds in
8691 # FIXME: we may have to deal with multi-command sequences.
8694 # Test whether the compiler implicitly links with -lc since on some
8695 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8696 # to ld, don't add -lc before -lgcc.
8697 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8698 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
8700 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8703 (eval $ac_compile) 2>&5
8705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8706 (exit $ac_status); } 2>conftest.err; then
8709 libobjs=conftest.$ac_objext
8711 wl=$lt_prog_compiler_wl
8712 pic_flag=$lt_prog_compiler_pic
8718 lt_save_allow_undefined_flag=$allow_undefined_flag
8719 allow_undefined_flag=
8720 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
8721 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
8723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8724 (exit $ac_status); }
8726 archive_cmds_need_lc=no
8728 archive_cmds_need_lc=yes
8730 allow_undefined_flag=$lt_save_allow_undefined_flag
8732 cat conftest.err 1>&5
8735 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8736 echo "${ECHO_T}$archive_cmds_need_lc" >&6
8899 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8900 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
8902 if test "$withGCC" = yes; then
8904 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
8905 *) lt_awk_arg="/^libraries:/" ;;
8907 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8908 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
8909 # if the path contains ";" then we assume it to be the separator
8910 # otherwise default to the standard path separator (i.e. ":") - it is
8911 # assumed that no part of a normal pathname contains ";" but that should
8912 # okay in the real world where ";" in dirpaths is itself problematic.
8913 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8915 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8917 # Ok, now we have the path, separated by spaces, we can step through it
8918 # and add multilib dir if necessary.
8919 lt_tmp_lt_search_path_spec=
8920 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8921 for lt_sys_path in $lt_search_path_spec; do
8922 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8923 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8925 test -d "$lt_sys_path" && \
8926 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
8929 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
8930 BEGIN {RS=" "; FS="/|\n";} {
8933 for (lt_i = NF; lt_i > 0; lt_i--) {
8934 if ($lt_i != "" && $lt_i != ".") {
8935 if ($lt_i == "..") {
8938 if (lt_count == 0) {
8939 lt_foo="/" $lt_i lt_foo;
8946 if (lt_foo != "") { lt_freq[lt_foo]++; }
8947 if (lt_freq[lt_foo] == 1) { print lt_foo; }
8949 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
8951 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
8954 libname_spec='lib$name'
8962 shlibpath_overrides_runpath=unknown
8964 dynamic_linker="$host_os ld.so"
8965 sys_lib_dlsearch_path_spec="/lib /usr/lib"
8966 need_lib_prefix=unknown
8967 hardcode_into_libs=no
8969 # when you set need_version to no, make sure it does not cause -set_version
8970 # flags to be left without arguments
8971 need_version=unknown
8976 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
8977 shlibpath_var=LIBPATH
8979 # AIX 3 has no versioning support, so we append a major version to the name.
8980 soname_spec='${libname}${release}${shared_ext}$major'
8987 hardcode_into_libs=yes
8988 if test "$host_cpu" = ia64; then
8989 # AIX 5 supports IA64
8990 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8991 shlibpath_var=LD_LIBRARY_PATH
8993 # With GCC up to 2.95.x, collect2 would create an import file
8994 # for dependence libraries. The import file would start with
8995 # the line `#! .'. This would cause the generated library to
8996 # depend on `.', always an invalid library. This was fixed in
8997 # development snapshots of GCC prior to 3.0.
8999 aix4 | aix4.[01] | aix4.[01].*)
9000 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9002 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9009 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9010 # soname into executable. Probably we can add versioning support to
9011 # collect2, so additional links can be useful in future.
9012 if test "$aix_use_runtimelinking" = yes; then
9013 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9014 # instead of lib<name>.a to let people know that these are not
9015 # typical AIX shared libraries.
9016 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9018 # We preserve .a as extension for shared libraries through AIX4.2
9019 # and later when we are not doing run time linking.
9020 library_names_spec='${libname}${release}.a $libname.a'
9021 soname_spec='${libname}${release}${shared_ext}$major'
9023 shlibpath_var=LIBPATH
9028 if test "$host_cpu" = m68k; then
9029 library_names_spec='$libname.ixlibrary $libname.a'
9030 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9031 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'
9038 library_names_spec='${libname}${shared_ext}'
9039 dynamic_linker="$host_os ld.so"
9040 shlibpath_var=LIBRARY_PATH
9046 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9047 soname_spec='${libname}${release}${shared_ext}$major'
9048 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9049 shlibpath_var=LD_LIBRARY_PATH
9050 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9051 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9052 # the default ld.so.conf also contains /usr/contrib/lib and
9053 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9054 # libtool to hard-code these into programs
9057 cygwin* | mingw* | pw32*)
9058 version_type=windows
9063 case $withGCC,$host_os in
9064 yes,cygwin* | yes,mingw* | yes,pw32*)
9065 library_names_spec='$libname.dll.a'
9066 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9067 postinstall_cmds='base_file=`basename \${file}`~
9068 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9069 dldir=$destdir/`dirname \$dlpath`~
9070 test -d \$dldir || mkdir -p \$dldir~
9071 $install_prog $dir/$dlname \$dldir/$dlname~
9072 chmod a+x \$dldir/$dlname~
9073 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9074 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9076 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9077 dlpath=$dir/\$dldll~
9079 shlibpath_overrides_runpath=yes
9083 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9084 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9085 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9088 # MinGW DLLs use traditional 'lib' prefix
9089 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9090 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9091 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9092 # It is most probably a Windows format PATH printed by
9093 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9094 # path with ; separators, and with drive letters. We can handle the
9095 # drive letters (cygwin fileutils understands them), so leave them,
9096 # especially as we might pass files found there to a mingw objdump,
9097 # which wouldn't understand a cygwinified path. Ahh.
9098 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9100 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9104 # pw32 DLLs use 'pw' prefix rather than 'lib'
9105 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9111 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9114 dynamic_linker='Win32 ld.exe'
9115 # FIXME: first we should search . and the directory the executable is in
9119 darwin* | rhapsody*)
9120 dynamic_linker="$host_os dyld"
9124 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9125 soname_spec='${libname}${release}${major}$shared_ext'
9126 shlibpath_overrides_runpath=yes
9127 shlibpath_var=DYLD_LIBRARY_PATH
9128 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9130 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9131 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9138 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9139 soname_spec='${libname}${release}${shared_ext}$major'
9140 shlibpath_var=LD_LIBRARY_PATH
9147 freebsd* | dragonfly*)
9148 # DragonFly does not have aout. When/if they implement a new
9149 # versioning mechanism, adjust this.
9150 if test -x /usr/bin/objformat; then
9151 objformat=`/usr/bin/objformat`
9154 freebsd[123]*) objformat=aout ;;
9158 version_type=freebsd-$objformat
9159 case $version_type in
9161 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9166 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9170 shlibpath_var=LD_LIBRARY_PATH
9173 shlibpath_overrides_runpath=yes
9175 freebsd3.[01]* | freebsdelf3.[01]*)
9176 shlibpath_overrides_runpath=yes
9177 hardcode_into_libs=yes
9179 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9180 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9181 shlibpath_overrides_runpath=no
9182 hardcode_into_libs=yes
9184 *) # from 4.6 on, and DragonFly
9185 shlibpath_overrides_runpath=yes
9186 hardcode_into_libs=yes
9195 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9196 soname_spec='${libname}${release}${shared_ext}$major'
9197 shlibpath_var=LD_LIBRARY_PATH
9198 hardcode_into_libs=yes
9201 hpux9* | hpux10* | hpux11*)
9202 # Give a soname corresponding to the major version so that dld.sl refuses to
9203 # link against other versions.
9210 hardcode_into_libs=yes
9211 dynamic_linker="$host_os dld.so"
9212 shlibpath_var=LD_LIBRARY_PATH
9213 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9214 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9215 soname_spec='${libname}${release}${shared_ext}$major'
9216 if test "X$HPUX_IA64_MODE" = X32; then
9217 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9219 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9221 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9225 hardcode_into_libs=yes
9226 dynamic_linker="$host_os dld.sl"
9227 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9228 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9229 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9230 soname_spec='${libname}${release}${shared_ext}$major'
9231 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9232 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9236 dynamic_linker="$host_os dld.sl"
9237 shlibpath_var=SHLIB_PATH
9238 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9239 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9240 soname_spec='${libname}${release}${shared_ext}$major'
9243 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9244 postinstall_cmds='chmod 555 $lib'
9251 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9252 soname_spec='${libname}${release}${shared_ext}$major'
9253 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9254 shlibpath_var=LD_LIBRARY_PATH
9255 shlibpath_overrides_runpath=no
9256 hardcode_into_libs=yes
9259 irix5* | irix6* | nonstopux*)
9261 nonstopux*) version_type=nonstopux ;;
9263 if test "$lt_cv_prog_gnu_ld" = yes; then
9271 soname_spec='${libname}${release}${shared_ext}$major'
9272 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9274 irix5* | nonstopux*)
9278 case $LD in # libtool.m4 will add one of these switches to LD
9279 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9280 libsuff= shlibsuff= libmagic=32-bit;;
9281 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9282 libsuff=32 shlibsuff=N32 libmagic=N32;;
9283 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9284 libsuff=64 shlibsuff=64 libmagic=64-bit;;
9285 *) libsuff= shlibsuff= libmagic=never-match;;
9289 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9290 shlibpath_overrides_runpath=no
9291 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9292 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9293 hardcode_into_libs=yes
9296 # No shared lib support for Linux oldld, aout, or coff.
9297 linux*oldld* | linux*aout* | linux*coff*)
9301 # This must be Linux ELF.
9302 linux* | k*bsd*-gnu)
9306 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9307 soname_spec='${libname}${release}${shared_ext}$major'
9308 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9309 shlibpath_var=LD_LIBRARY_PATH
9310 shlibpath_overrides_runpath=no
9311 # Some binutils ld are patched to set DT_RUNPATH
9312 save_LDFLAGS=$LDFLAGS
9314 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9315 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9316 cat >conftest.$ac_ext <<_ACEOF
9319 cat confdefs.h >>conftest.$ac_ext
9320 cat >>conftest.$ac_ext <<_ACEOF
9321 /* end confdefs.h. */
9331 rm -f conftest.$ac_objext conftest$ac_exeext
9332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9333 (eval $ac_link) 2>conftest.er1
9335 grep -v '^ *+' conftest.er1 >conftest.err
9337 cat conftest.err >&5
9338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9339 (exit $ac_status); } &&
9340 { ac_try='test -z "$ac_c_werror_flag"
9341 || test ! -s conftest.err'
9342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9346 (exit $ac_status); }; } &&
9347 { ac_try='test -s conftest$ac_exeext'
9348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9352 (exit $ac_status); }; }; then
9353 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
9354 shlibpath_overrides_runpath=yes
9358 echo "$as_me: failed program was:" >&5
9359 sed 's/^/| /' conftest.$ac_ext >&5
9362 rm -f conftest.err conftest.$ac_objext \
9363 conftest$ac_exeext conftest.$ac_ext
9364 LDFLAGS=$save_LDFLAGS
9367 # This implies no fast_install, which is unacceptable.
9368 # Some rework will be needed to allow for fast_install
9369 # before this can be enabled.
9370 hardcode_into_libs=yes
9372 # Append ld.so.conf contents to the search path
9373 if test -f /etc/ld.so.conf; then
9374 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' ' '`
9375 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9378 # We used to test for /lib/ld.so.1 and disable shared libraries on
9379 # powerpc, because MkLinux only supported shared libraries with the
9380 # GNU dynamic linker. Since this was broken with cross compilers,
9381 # most powerpc-linux boxes support dynamic linking these days and
9382 # people can always --disable-shared, the test was removed, and we
9383 # assume the GNU/Linux dynamic linker is in use.
9384 dynamic_linker='GNU/Linux ld.so'
9391 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9392 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9393 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9394 dynamic_linker='NetBSD (a.out) ld.so'
9396 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9397 soname_spec='${libname}${release}${shared_ext}$major'
9398 dynamic_linker='NetBSD ld.elf_so'
9400 shlibpath_var=LD_LIBRARY_PATH
9401 shlibpath_overrides_runpath=yes
9402 hardcode_into_libs=yes
9407 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9408 shlibpath_var=LD_LIBRARY_PATH
9409 shlibpath_overrides_runpath=yes
9416 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9417 soname_spec='${libname}${release}${shared_ext}$major'
9418 shlibpath_var=LD_LIBRARY_PATH
9419 shlibpath_overrides_runpath=no
9420 hardcode_into_libs=yes
9421 dynamic_linker='ldqnx.so'
9426 sys_lib_dlsearch_path_spec="/usr/lib"
9428 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9430 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9431 *) need_version=no ;;
9433 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9434 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9435 shlibpath_var=LD_LIBRARY_PATH
9436 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9438 openbsd2.[89] | openbsd2.[89].*)
9439 shlibpath_overrides_runpath=no
9442 shlibpath_overrides_runpath=yes
9446 shlibpath_overrides_runpath=yes
9451 libname_spec='$name'
9454 library_names_spec='$libname${shared_ext} $libname.a'
9455 dynamic_linker='OS/2 ld.exe'
9456 shlibpath_var=LIBPATH
9459 osf3* | osf4* | osf5*)
9463 soname_spec='${libname}${release}${shared_ext}$major'
9464 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9465 shlibpath_var=LD_LIBRARY_PATH
9466 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9467 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9478 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9479 soname_spec='${libname}${release}${shared_ext}$major'
9480 shlibpath_var=LD_LIBRARY_PATH
9481 shlibpath_overrides_runpath=yes
9482 hardcode_into_libs=yes
9483 # ldd complains unless libraries are executable
9484 postinstall_cmds='chmod +x $lib'
9489 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9490 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9491 shlibpath_var=LD_LIBRARY_PATH
9492 shlibpath_overrides_runpath=yes
9493 if test "$with_gnu_ld" = yes; then
9501 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9502 soname_spec='${libname}${release}${shared_ext}$major'
9503 shlibpath_var=LD_LIBRARY_PATH
9504 case $host_vendor in
9506 shlibpath_overrides_runpath=no
9508 runpath_var=LD_RUN_PATH
9516 shlibpath_overrides_runpath=no
9517 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9523 if test -d /usr/nec ;then
9525 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9526 soname_spec='$libname${shared_ext}.$major'
9527 shlibpath_var=LD_LIBRARY_PATH
9531 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9532 version_type=freebsd-elf
9535 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9536 soname_spec='${libname}${release}${shared_ext}$major'
9537 shlibpath_var=LD_LIBRARY_PATH
9538 shlibpath_overrides_runpath=yes
9539 hardcode_into_libs=yes
9540 if test "$with_gnu_ld" = yes; then
9541 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9543 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9546 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9550 sys_lib_dlsearch_path_spec='/usr/lib'
9554 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9558 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9559 shlibpath_var=LD_LIBRARY_PATH
9560 shlibpath_overrides_runpath=no
9561 hardcode_into_libs=yes
9566 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9567 soname_spec='${libname}${release}${shared_ext}$major'
9568 shlibpath_var=LD_LIBRARY_PATH
9575 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9576 echo "${ECHO_T}$dynamic_linker" >&6
9577 test "$dynamic_linker" = no && can_build_shared=no
9579 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9580 if test "$GCC" = yes; then
9581 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9670 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9671 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
9673 if test -n "$hardcode_libdir_flag_spec" ||
9674 test -n "$runpath_var" ||
9675 test "X$hardcode_automatic" = "Xyes" ; then
9677 # We can hardcode non-existent directories.
9678 if test "$hardcode_direct" != no &&
9679 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9680 # have to relink, otherwise we might link with an installed library
9681 # when we should be linking with a yet-to-be-installed one
9682 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9683 test "$hardcode_minus_L" != no; then
9684 # Linking always hardcodes the temporary library directory.
9685 hardcode_action=relink
9687 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9688 hardcode_action=immediate
9691 # We cannot hardcode anything, or else we can only hardcode existing
9693 hardcode_action=unsupported
9695 echo "$as_me:$LINENO: result: $hardcode_action" >&5
9696 echo "${ECHO_T}$hardcode_action" >&6
9698 if test "$hardcode_action" = relink ||
9699 test "$inherit_rpath" = yes; then
9700 # Fast installation is not supported
9701 enable_fast_install=no
9702 elif test "$shlibpath_overrides_runpath" = yes ||
9703 test "$enable_shared" = no; then
9704 # Fast installation is not necessary
9705 enable_fast_install=needless
9713 if test "x$enable_dlopen" != xyes; then
9714 enable_dlopen=unknown
9715 enable_dlopen_self=unknown
9716 enable_dlopen_self_static=unknown
9723 lt_cv_dlopen="load_add_on"
9725 lt_cv_dlopen_self=yes
9729 lt_cv_dlopen="LoadLibrary"
9734 lt_cv_dlopen="dlopen"
9739 # if libdl is installed we need to link against it
9740 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9741 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9742 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9743 echo $ECHO_N "(cached) $ECHO_C" >&6
9745 ac_check_lib_save_LIBS=$LIBS
9747 cat >conftest.$ac_ext <<_ACEOF
9750 cat confdefs.h >>conftest.$ac_ext
9751 cat >>conftest.$ac_ext <<_ACEOF
9752 /* end confdefs.h. */
9754 /* Override any gcc2 internal prototype to avoid an error. */
9758 /* We use char because int might match the return type of a gcc2
9759 builtin and then its argument prototype would still apply. */
9769 rm -f conftest.$ac_objext conftest$ac_exeext
9770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9771 (eval $ac_link) 2>conftest.er1
9773 grep -v '^ *+' conftest.er1 >conftest.err
9775 cat conftest.err >&5
9776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9777 (exit $ac_status); } &&
9778 { ac_try='test -z "$ac_c_werror_flag"
9779 || test ! -s conftest.err'
9780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9784 (exit $ac_status); }; } &&
9785 { ac_try='test -s conftest$ac_exeext'
9786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9790 (exit $ac_status); }; }; then
9791 ac_cv_lib_dl_dlopen=yes
9793 echo "$as_me: failed program was:" >&5
9794 sed 's/^/| /' conftest.$ac_ext >&5
9796 ac_cv_lib_dl_dlopen=no
9798 rm -f conftest.err conftest.$ac_objext \
9799 conftest$ac_exeext conftest.$ac_ext
9800 LIBS=$ac_check_lib_save_LIBS
9802 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9803 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9804 if test $ac_cv_lib_dl_dlopen = yes; then
9805 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9810 lt_cv_dlopen_self=yes
9817 echo "$as_me:$LINENO: checking for shl_load" >&5
9818 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
9819 if test "${ac_cv_func_shl_load+set}" = set; then
9820 echo $ECHO_N "(cached) $ECHO_C" >&6
9822 cat >conftest.$ac_ext <<_ACEOF
9825 cat confdefs.h >>conftest.$ac_ext
9826 cat >>conftest.$ac_ext <<_ACEOF
9827 /* end confdefs.h. */
9828 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9829 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9830 #define shl_load innocuous_shl_load
9832 /* System header to define __stub macros and hopefully few prototypes,
9833 which can conflict with char shl_load (); below.
9834 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9835 <limits.h> exists even on freestanding compilers. */
9838 # include <limits.h>
9840 # include <assert.h>
9845 /* Override any gcc2 internal prototype to avoid an error. */
9850 /* We use char because int might match the return type of a gcc2
9851 builtin and then its argument prototype would still apply. */
9853 /* The GNU C library defines this for functions which it implements
9854 to always fail with ENOSYS. Some functions are actually named
9855 something starting with __ and the normal name is an alias. */
9856 #if defined (__stub_shl_load) || defined (__stub___shl_load)
9859 char (*f) () = shl_load;
9868 return f != shl_load;
9873 rm -f conftest.$ac_objext conftest$ac_exeext
9874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9875 (eval $ac_link) 2>conftest.er1
9877 grep -v '^ *+' conftest.er1 >conftest.err
9879 cat conftest.err >&5
9880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9881 (exit $ac_status); } &&
9882 { ac_try='test -z "$ac_c_werror_flag"
9883 || test ! -s conftest.err'
9884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9888 (exit $ac_status); }; } &&
9889 { ac_try='test -s conftest$ac_exeext'
9890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9894 (exit $ac_status); }; }; then
9895 ac_cv_func_shl_load=yes
9897 echo "$as_me: failed program was:" >&5
9898 sed 's/^/| /' conftest.$ac_ext >&5
9900 ac_cv_func_shl_load=no
9902 rm -f conftest.err conftest.$ac_objext \
9903 conftest$ac_exeext conftest.$ac_ext
9905 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9906 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
9907 if test $ac_cv_func_shl_load = yes; then
9908 lt_cv_dlopen="shl_load"
9910 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9911 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
9912 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9913 echo $ECHO_N "(cached) $ECHO_C" >&6
9915 ac_check_lib_save_LIBS=$LIBS
9917 cat >conftest.$ac_ext <<_ACEOF
9920 cat confdefs.h >>conftest.$ac_ext
9921 cat >>conftest.$ac_ext <<_ACEOF
9922 /* end confdefs.h. */
9924 /* Override any gcc2 internal prototype to avoid an error. */
9928 /* We use char because int might match the return type of a gcc2
9929 builtin and then its argument prototype would still apply. */
9939 rm -f conftest.$ac_objext conftest$ac_exeext
9940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9941 (eval $ac_link) 2>conftest.er1
9943 grep -v '^ *+' conftest.er1 >conftest.err
9945 cat conftest.err >&5
9946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9947 (exit $ac_status); } &&
9948 { ac_try='test -z "$ac_c_werror_flag"
9949 || test ! -s conftest.err'
9950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9954 (exit $ac_status); }; } &&
9955 { ac_try='test -s conftest$ac_exeext'
9956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9960 (exit $ac_status); }; }; then
9961 ac_cv_lib_dld_shl_load=yes
9963 echo "$as_me: failed program was:" >&5
9964 sed 's/^/| /' conftest.$ac_ext >&5
9966 ac_cv_lib_dld_shl_load=no
9968 rm -f conftest.err conftest.$ac_objext \
9969 conftest$ac_exeext conftest.$ac_ext
9970 LIBS=$ac_check_lib_save_LIBS
9972 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9973 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
9974 if test $ac_cv_lib_dld_shl_load = yes; then
9975 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
9977 echo "$as_me:$LINENO: checking for dlopen" >&5
9978 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
9979 if test "${ac_cv_func_dlopen+set}" = set; then
9980 echo $ECHO_N "(cached) $ECHO_C" >&6
9982 cat >conftest.$ac_ext <<_ACEOF
9985 cat confdefs.h >>conftest.$ac_ext
9986 cat >>conftest.$ac_ext <<_ACEOF
9987 /* end confdefs.h. */
9988 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9989 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9990 #define dlopen innocuous_dlopen
9992 /* System header to define __stub macros and hopefully few prototypes,
9993 which can conflict with char dlopen (); below.
9994 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9995 <limits.h> exists even on freestanding compilers. */
9998 # include <limits.h>
10000 # include <assert.h>
10005 /* Override any gcc2 internal prototype to avoid an error. */
10010 /* We use char because int might match the return type of a gcc2
10011 builtin and then its argument prototype would still apply. */
10013 /* The GNU C library defines this for functions which it implements
10014 to always fail with ENOSYS. Some functions are actually named
10015 something starting with __ and the normal name is an alias. */
10016 #if defined (__stub_dlopen) || defined (__stub___dlopen)
10019 char (*f) () = dlopen;
10028 return f != dlopen;
10033 rm -f conftest.$ac_objext conftest$ac_exeext
10034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10035 (eval $ac_link) 2>conftest.er1
10037 grep -v '^ *+' conftest.er1 >conftest.err
10039 cat conftest.err >&5
10040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10041 (exit $ac_status); } &&
10042 { ac_try='test -z "$ac_c_werror_flag"
10043 || test ! -s conftest.err'
10044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10045 (eval $ac_try) 2>&5
10047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10048 (exit $ac_status); }; } &&
10049 { ac_try='test -s conftest$ac_exeext'
10050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10051 (eval $ac_try) 2>&5
10053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10054 (exit $ac_status); }; }; then
10055 ac_cv_func_dlopen=yes
10057 echo "$as_me: failed program was:" >&5
10058 sed 's/^/| /' conftest.$ac_ext >&5
10060 ac_cv_func_dlopen=no
10062 rm -f conftest.err conftest.$ac_objext \
10063 conftest$ac_exeext conftest.$ac_ext
10065 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10066 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
10067 if test $ac_cv_func_dlopen = yes; then
10068 lt_cv_dlopen="dlopen"
10070 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10071 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10072 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10073 echo $ECHO_N "(cached) $ECHO_C" >&6
10075 ac_check_lib_save_LIBS=$LIBS
10077 cat >conftest.$ac_ext <<_ACEOF
10080 cat confdefs.h >>conftest.$ac_ext
10081 cat >>conftest.$ac_ext <<_ACEOF
10082 /* end confdefs.h. */
10084 /* Override any gcc2 internal prototype to avoid an error. */
10088 /* We use char because int might match the return type of a gcc2
10089 builtin and then its argument prototype would still apply. */
10099 rm -f conftest.$ac_objext conftest$ac_exeext
10100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10101 (eval $ac_link) 2>conftest.er1
10103 grep -v '^ *+' conftest.er1 >conftest.err
10105 cat conftest.err >&5
10106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10107 (exit $ac_status); } &&
10108 { ac_try='test -z "$ac_c_werror_flag"
10109 || test ! -s conftest.err'
10110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10111 (eval $ac_try) 2>&5
10113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10114 (exit $ac_status); }; } &&
10115 { ac_try='test -s conftest$ac_exeext'
10116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10117 (eval $ac_try) 2>&5
10119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10120 (exit $ac_status); }; }; then
10121 ac_cv_lib_dl_dlopen=yes
10123 echo "$as_me: failed program was:" >&5
10124 sed 's/^/| /' conftest.$ac_ext >&5
10126 ac_cv_lib_dl_dlopen=no
10128 rm -f conftest.err conftest.$ac_objext \
10129 conftest$ac_exeext conftest.$ac_ext
10130 LIBS=$ac_check_lib_save_LIBS
10132 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10133 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10134 if test $ac_cv_lib_dl_dlopen = yes; then
10135 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10137 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10138 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
10139 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10140 echo $ECHO_N "(cached) $ECHO_C" >&6
10142 ac_check_lib_save_LIBS=$LIBS
10143 LIBS="-lsvld $LIBS"
10144 cat >conftest.$ac_ext <<_ACEOF
10147 cat confdefs.h >>conftest.$ac_ext
10148 cat >>conftest.$ac_ext <<_ACEOF
10149 /* end confdefs.h. */
10151 /* Override any gcc2 internal prototype to avoid an error. */
10155 /* We use char because int might match the return type of a gcc2
10156 builtin and then its argument prototype would still apply. */
10166 rm -f conftest.$ac_objext conftest$ac_exeext
10167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10168 (eval $ac_link) 2>conftest.er1
10170 grep -v '^ *+' conftest.er1 >conftest.err
10172 cat conftest.err >&5
10173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10174 (exit $ac_status); } &&
10175 { ac_try='test -z "$ac_c_werror_flag"
10176 || test ! -s conftest.err'
10177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10178 (eval $ac_try) 2>&5
10180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10181 (exit $ac_status); }; } &&
10182 { ac_try='test -s conftest$ac_exeext'
10183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10184 (eval $ac_try) 2>&5
10186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10187 (exit $ac_status); }; }; then
10188 ac_cv_lib_svld_dlopen=yes
10190 echo "$as_me: failed program was:" >&5
10191 sed 's/^/| /' conftest.$ac_ext >&5
10193 ac_cv_lib_svld_dlopen=no
10195 rm -f conftest.err conftest.$ac_objext \
10196 conftest$ac_exeext conftest.$ac_ext
10197 LIBS=$ac_check_lib_save_LIBS
10199 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10200 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
10201 if test $ac_cv_lib_svld_dlopen = yes; then
10202 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10204 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10205 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
10206 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10207 echo $ECHO_N "(cached) $ECHO_C" >&6
10209 ac_check_lib_save_LIBS=$LIBS
10211 cat >conftest.$ac_ext <<_ACEOF
10214 cat confdefs.h >>conftest.$ac_ext
10215 cat >>conftest.$ac_ext <<_ACEOF
10216 /* end confdefs.h. */
10218 /* Override any gcc2 internal prototype to avoid an error. */
10222 /* We use char because int might match the return type of a gcc2
10223 builtin and then its argument prototype would still apply. */
10233 rm -f conftest.$ac_objext conftest$ac_exeext
10234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10235 (eval $ac_link) 2>conftest.er1
10237 grep -v '^ *+' conftest.er1 >conftest.err
10239 cat conftest.err >&5
10240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10241 (exit $ac_status); } &&
10242 { ac_try='test -z "$ac_c_werror_flag"
10243 || test ! -s conftest.err'
10244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10245 (eval $ac_try) 2>&5
10247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10248 (exit $ac_status); }; } &&
10249 { ac_try='test -s conftest$ac_exeext'
10250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10251 (eval $ac_try) 2>&5
10253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10254 (exit $ac_status); }; }; then
10255 ac_cv_lib_dld_dld_link=yes
10257 echo "$as_me: failed program was:" >&5
10258 sed 's/^/| /' conftest.$ac_ext >&5
10260 ac_cv_lib_dld_dld_link=no
10262 rm -f conftest.err conftest.$ac_objext \
10263 conftest$ac_exeext conftest.$ac_ext
10264 LIBS=$ac_check_lib_save_LIBS
10266 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10267 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
10268 if test $ac_cv_lib_dld_dld_link = yes; then
10269 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
10290 if test "x$lt_cv_dlopen" != xno; then
10296 case $lt_cv_dlopen in
10298 save_CPPFLAGS="$CPPFLAGS"
10299 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10301 save_LDFLAGS="$LDFLAGS"
10302 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10305 LIBS="$lt_cv_dlopen_libs $LIBS"
10307 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10308 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
10309 if test "${lt_cv_dlopen_self+set}" = set; then
10310 echo $ECHO_N "(cached) $ECHO_C" >&6
10312 if test "$cross_compiling" = yes; then :
10313 lt_cv_dlopen_self=cross
10315 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10316 lt_status=$lt_dlunknown
10317 cat > conftest.$ac_ext <<_LT_EOF
10318 #line 10318 "configure"
10319 #include "confdefs.h"
10328 # define LT_DLGLOBAL RTLD_GLOBAL
10331 # define LT_DLGLOBAL DL_GLOBAL
10333 # define LT_DLGLOBAL 0
10337 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10338 find out it does not work in some platform. */
10339 #ifndef LT_DLLAZY_OR_NOW
10341 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10344 # define LT_DLLAZY_OR_NOW DL_LAZY
10347 # define LT_DLLAZY_OR_NOW RTLD_NOW
10350 # define LT_DLLAZY_OR_NOW DL_NOW
10352 # define LT_DLLAZY_OR_NOW 0
10360 extern "C" void exit (int);
10363 void fnord() { int i=42;}
10366 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10367 int status = $lt_dlunknown;
10371 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10372 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10373 /* dlclose (self); */
10381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10382 (eval $ac_link) 2>&5
10384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10385 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10386 (./conftest; exit; ) >&5 2>/dev/null
10388 case x$lt_status in
10389 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10390 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10391 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10394 # compilation failed
10395 lt_cv_dlopen_self=no
10402 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10403 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
10405 if test "x$lt_cv_dlopen_self" = xyes; then
10406 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10407 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10408 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
10409 if test "${lt_cv_dlopen_self_static+set}" = set; then
10410 echo $ECHO_N "(cached) $ECHO_C" >&6
10412 if test "$cross_compiling" = yes; then :
10413 lt_cv_dlopen_self_static=cross
10415 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10416 lt_status=$lt_dlunknown
10417 cat > conftest.$ac_ext <<_LT_EOF
10418 #line 10418 "configure"
10419 #include "confdefs.h"
10428 # define LT_DLGLOBAL RTLD_GLOBAL
10431 # define LT_DLGLOBAL DL_GLOBAL
10433 # define LT_DLGLOBAL 0
10437 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10438 find out it does not work in some platform. */
10439 #ifndef LT_DLLAZY_OR_NOW
10441 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10444 # define LT_DLLAZY_OR_NOW DL_LAZY
10447 # define LT_DLLAZY_OR_NOW RTLD_NOW
10450 # define LT_DLLAZY_OR_NOW DL_NOW
10452 # define LT_DLLAZY_OR_NOW 0
10460 extern "C" void exit (int);
10463 void fnord() { int i=42;}
10466 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10467 int status = $lt_dlunknown;
10471 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10472 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10473 /* dlclose (self); */
10481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10482 (eval $ac_link) 2>&5
10484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10485 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10486 (./conftest; exit; ) >&5 2>/dev/null
10488 case x$lt_status in
10489 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10490 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10491 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10494 # compilation failed
10495 lt_cv_dlopen_self_static=no
10502 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10503 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
10506 CPPFLAGS="$save_CPPFLAGS"
10507 LDFLAGS="$save_LDFLAGS"
10512 case $lt_cv_dlopen_self in
10513 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10514 *) enable_dlopen_self=unknown ;;
10517 case $lt_cv_dlopen_self_static in
10518 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10519 *) enable_dlopen_self_static=unknown ;;
10541 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10542 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
10543 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10544 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10545 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10546 echo "$as_me:$LINENO: result: yes" >&5
10547 echo "${ECHO_T}yes" >&6
10549 # FIXME - insert some real tests, host_os isn't really good enough
10552 if test -n "$STRIP" ; then
10553 striplib="$STRIP -x"
10554 old_striplib="$STRIP -S"
10555 echo "$as_me:$LINENO: result: yes" >&5
10556 echo "${ECHO_T}yes" >&6
10558 echo "$as_me:$LINENO: result: no" >&5
10559 echo "${ECHO_T}no" >&6
10563 echo "$as_me:$LINENO: result: no" >&5
10564 echo "${ECHO_T}no" >&6
10580 # Report which library types will actually be built
10581 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10582 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10583 echo "$as_me:$LINENO: result: $can_build_shared" >&5
10584 echo "${ECHO_T}$can_build_shared" >&6
10586 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10587 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10588 test "$can_build_shared" = "no" && enable_shared=no
10590 # On AIX, shared libraries and static libraries use the same namespace, and
10591 # are all built from PIC.
10594 test "$enable_shared" = yes && enable_static=no
10595 if test -n "$RANLIB"; then
10596 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10597 postinstall_cmds='$RANLIB $lib'
10602 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10603 test "$enable_shared" = yes && enable_static=no
10607 echo "$as_me:$LINENO: result: $enable_shared" >&5
10608 echo "${ECHO_T}$enable_shared" >&6
10610 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10611 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10612 # Make sure either enable_shared or enable_static is yes.
10613 test "$enable_shared" = yes || enable_static=yes
10614 echo "$as_me:$LINENO: result: $enable_static" >&5
10615 echo "${ECHO_T}$enable_static" >&6
10622 ac_cpp='$CPP $CPPFLAGS'
10623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10641 ac_config_commands="$ac_config_commands libtool"
10646 # Only expand once:
10651 if test -n "${machine_dir}"; then
10652 case ${machine_dir} in
10655 subdirs="$subdirs i386"
10662 if test x${machine_dir} != x; then
10663 HAVE_MACHINE_DIR_TRUE=
10664 HAVE_MACHINE_DIR_FALSE='#'
10666 HAVE_MACHINE_DIR_TRUE='#'
10667 HAVE_MACHINE_DIR_FALSE=
10671 ac_config_files="$ac_config_files Makefile"
10673 cat >confcache <<\_ACEOF
10674 # This file is a shell script that caches the results of configure
10675 # tests run on this system so they can be shared between configure
10676 # scripts and configure runs, see configure's option --config-cache.
10677 # It is not useful on other systems. If it contains results you don't
10678 # want to keep, you may remove or edit it.
10680 # config.status only pays attention to the cache file if you give it
10681 # the --recheck option to rerun configure.
10683 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10684 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10685 # following values.
10689 # The following way of writing the cache mishandles newlines in values,
10690 # but we know of no workaround that is simple, portable, and efficient.
10691 # So, don't put newlines in cache variables' values.
10692 # Ultrix sh set writes to stderr and can't be redirected directly,
10693 # and sets the high bit in the cache file unless we assign to the vars.
10696 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10698 # `set' does not quote correctly, so add quotes (double-quote
10699 # substitution turns \\\\ into \\, and sed turns \\ into \).
10702 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10705 # `set' quotes correctly as required by POSIX, so do not add quotes.
10707 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10714 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10716 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10718 if diff $cache_file confcache >/dev/null 2>&1; then :; else
10719 if test -w $cache_file; then
10720 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10721 cat confcache >$cache_file
10723 echo "not updating unwritable cache $cache_file"
10728 test "x$prefix" = xNONE && prefix=$ac_default_prefix
10729 # Let make expand exec_prefix.
10730 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
10732 # VPATH may cause trouble with some makes, so we remove $(srcdir),
10733 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
10734 # trailing colons and then remove the whole line if VPATH becomes empty
10735 # (actually we leave an empty line to preserve line numbers).
10736 if test "x$srcdir" = x.; then
10737 ac_vpsub='/^[ ]*VPATH[ ]*=/{
10738 s/:*\$(srcdir):*/:/;
10739 s/:*\${srcdir}:*/:/;
10741 s/^\([^=]*=[ ]*\):*/\1/;
10747 # Transform confdefs.h into DEFS.
10748 # Protect against shell expansion while executing Makefile rules.
10749 # Protect against Makefile macro expansion.
10751 # If the first sed substitution is executed (which looks for macros that
10752 # take arguments), then we branch to the quote section. Otherwise,
10753 # look for a macro that doesn't take arguments.
10754 cat >confdef2opt.sed <<\_ACEOF
10757 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
10759 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
10763 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
10769 # We use echo to avoid assuming a particular line-breaking character.
10770 # The extra dot is to prevent the shell from consuming trailing
10771 # line-breaks from the sub-command output. A line-break within
10772 # single-quotes doesn't work because, if this script is created in a
10773 # platform that uses two characters for line-breaks (e.g., DOS), tr
10775 ac_LF_and_DOT=`echo; echo .`
10776 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
10777 rm -f confdef2opt.sed
10782 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
10783 # 1. Remove the extension, and $U if already installed.
10784 ac_i=`echo "$ac_i" |
10785 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
10787 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
10788 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
10790 LIBOBJS=$ac_libobjs
10792 LTLIBOBJS=$ac_ltlibobjs
10795 if test -z "${MAY_SUPPLY_SYSCALLS_TRUE}" && test -z "${MAY_SUPPLY_SYSCALLS_FALSE}"; then
10796 { { echo "$as_me:$LINENO: error: conditional \"MAY_SUPPLY_SYSCALLS\" was never defined.
10797 Usually this means the macro was only invoked conditionally." >&5
10798 echo "$as_me: error: conditional \"MAY_SUPPLY_SYSCALLS\" was never defined.
10799 Usually this means the macro was only invoked conditionally." >&2;}
10800 { (exit 1); exit 1; }; }
10802 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
10803 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
10804 Usually this means the macro was only invoked conditionally." >&5
10805 echo "$as_me: error: conditional \"AMDEP\" was never defined.
10806 Usually this means the macro was only invoked conditionally." >&2;}
10807 { (exit 1); exit 1; }; }
10809 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
10810 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
10811 Usually this means the macro was only invoked conditionally." >&5
10812 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
10813 Usually this means the macro was only invoked conditionally." >&2;}
10814 { (exit 1); exit 1; }; }
10816 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
10817 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
10818 Usually this means the macro was only invoked conditionally." >&5
10819 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
10820 Usually this means the macro was only invoked conditionally." >&2;}
10821 { (exit 1); exit 1; }; }
10823 if test -z "${ELIX_LEVEL_0_TRUE}" && test -z "${ELIX_LEVEL_0_FALSE}"; then
10824 { { echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_0\" was never defined.
10825 Usually this means the macro was only invoked conditionally." >&5
10826 echo "$as_me: error: conditional \"ELIX_LEVEL_0\" was never defined.
10827 Usually this means the macro was only invoked conditionally." >&2;}
10828 { (exit 1); exit 1; }; }
10830 if test -z "${ELIX_LEVEL_1_TRUE}" && test -z "${ELIX_LEVEL_1_FALSE}"; then
10831 { { echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_1\" was never defined.
10832 Usually this means the macro was only invoked conditionally." >&5
10833 echo "$as_me: error: conditional \"ELIX_LEVEL_1\" was never defined.
10834 Usually this means the macro was only invoked conditionally." >&2;}
10835 { (exit 1); exit 1; }; }
10837 if test -z "${ELIX_LEVEL_2_TRUE}" && test -z "${ELIX_LEVEL_2_FALSE}"; then
10838 { { echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_2\" was never defined.
10839 Usually this means the macro was only invoked conditionally." >&5
10840 echo "$as_me: error: conditional \"ELIX_LEVEL_2\" was never defined.
10841 Usually this means the macro was only invoked conditionally." >&2;}
10842 { (exit 1); exit 1; }; }
10844 if test -z "${ELIX_LEVEL_3_TRUE}" && test -z "${ELIX_LEVEL_3_FALSE}"; then
10845 { { echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_3\" was never defined.
10846 Usually this means the macro was only invoked conditionally." >&5
10847 echo "$as_me: error: conditional \"ELIX_LEVEL_3\" was never defined.
10848 Usually this means the macro was only invoked conditionally." >&2;}
10849 { (exit 1); exit 1; }; }
10851 if test -z "${ELIX_LEVEL_4_TRUE}" && test -z "${ELIX_LEVEL_4_FALSE}"; then
10852 { { echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_4\" was never defined.
10853 Usually this means the macro was only invoked conditionally." >&5
10854 echo "$as_me: error: conditional \"ELIX_LEVEL_4\" was never defined.
10855 Usually this means the macro was only invoked conditionally." >&2;}
10856 { (exit 1); exit 1; }; }
10858 if test -z "${USE_LIBTOOL_TRUE}" && test -z "${USE_LIBTOOL_FALSE}"; then
10859 { { echo "$as_me:$LINENO: error: conditional \"USE_LIBTOOL\" was never defined.
10860 Usually this means the macro was only invoked conditionally." >&5
10861 echo "$as_me: error: conditional \"USE_LIBTOOL\" was never defined.
10862 Usually this means the macro was only invoked conditionally." >&2;}
10863 { (exit 1); exit 1; }; }
10865 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
10866 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
10867 Usually this means the macro was only invoked conditionally." >&5
10868 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
10869 Usually this means the macro was only invoked conditionally." >&2;}
10870 { (exit 1); exit 1; }; }
10872 if test -z "${HAVE_MACHINE_DIR_TRUE}" && test -z "${HAVE_MACHINE_DIR_FALSE}"; then
10873 { { echo "$as_me:$LINENO: error: conditional \"HAVE_MACHINE_DIR\" was never defined.
10874 Usually this means the macro was only invoked conditionally." >&5
10875 echo "$as_me: error: conditional \"HAVE_MACHINE_DIR\" was never defined.
10876 Usually this means the macro was only invoked conditionally." >&2;}
10877 { (exit 1); exit 1; }; }
10880 : ${CONFIG_STATUS=./config.status}
10881 ac_clean_files_save=$ac_clean_files
10882 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
10883 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
10884 echo "$as_me: creating $CONFIG_STATUS" >&6;}
10885 cat >$CONFIG_STATUS <<_ACEOF
10887 # Generated by $as_me.
10888 # Run this file to recreate the current configuration.
10889 # Compiler output produced by configure, useful for debugging
10890 # configure, is in config.log if it exists.
10893 ac_cs_recheck=false
10895 SHELL=\${CONFIG_SHELL-$SHELL}
10898 cat >>$CONFIG_STATUS <<\_ACEOF
10899 ## --------------------- ##
10900 ## M4sh Initialization. ##
10901 ## --------------------- ##
10903 # Be Bourne compatible
10904 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
10907 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
10908 # is contrary to our usage. Disable this feature.
10909 alias -g '${1+"$@"}'='"$@"'
10910 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
10913 DUALCASE=1; export DUALCASE # for MKS sh
10915 # Support unset when possible.
10916 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
10923 # Work around bugs in pre-3.0 UWIN ksh.
10924 $as_unset ENV MAIL MAILPATH
10931 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
10932 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
10933 LC_TELEPHONE LC_TIME
10935 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
10936 eval $as_var=C; export $as_var
10942 # Required to use basename.
10943 if expr a : '\(a\)' >/dev/null 2>&1; then
10949 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
10950 as_basename=basename
10956 # Name of the executable.
10957 as_me=`$as_basename "$0" ||
10958 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
10959 X"$0" : 'X\(//\)$' \| \
10960 X"$0" : 'X\(/\)$' \| \
10961 . : '\(.\)' 2>/dev/null ||
10963 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
10964 /^X\/\(\/\/\)$/{ s//\1/; q; }
10965 /^X\/\(\/\).*/{ s//\1/; q; }
10969 # PATH needs CR, and LINENO needs CR and PATH.
10970 # Avoid depending upon Character Ranges.
10971 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
10972 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
10973 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
10974 as_cr_digits='0123456789'
10975 as_cr_alnum=$as_cr_Letters$as_cr_digits
10977 # The user is always right.
10978 if test "${PATH_SEPARATOR+set}" != set; then
10979 echo "#! /bin/sh" >conf$$.sh
10980 echo "exit 0" >>conf$$.sh
10982 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
10991 as_lineno_1=$LINENO
10992 as_lineno_2=$LINENO
10993 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
10994 test "x$as_lineno_1" != "x$as_lineno_2" &&
10995 test "x$as_lineno_3" = "x$as_lineno_2" || {
10996 # Find who we are. Look in the path if we contain no path at all
10999 *[\\/]* ) as_myself=$0 ;;
11000 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11001 for as_dir in $PATH
11004 test -z "$as_dir" && as_dir=.
11005 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11010 # We did not find ourselves, most probably we were run as `sh COMMAND'
11011 # in which case we are not to be found in the path.
11012 if test "x$as_myself" = x; then
11015 if test ! -f "$as_myself"; then
11016 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
11017 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
11018 { (exit 1); exit 1; }; }
11020 case $CONFIG_SHELL in
11022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11023 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
11026 test -z "$as_dir" && as_dir=.
11027 for as_base in sh bash ksh sh5; do
11030 if ("$as_dir/$as_base" -c '
11031 as_lineno_1=$LINENO
11032 as_lineno_2=$LINENO
11033 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
11034 test "x$as_lineno_1" != "x$as_lineno_2" &&
11035 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
11036 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
11037 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
11038 CONFIG_SHELL=$as_dir/$as_base
11039 export CONFIG_SHELL
11040 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
11048 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
11049 # uniformly replaced by the line number. The first 'sed' inserts a
11050 # line-number line before each line; the second 'sed' does the real
11051 # work. The second script uses 'N' to pair each line-number line
11052 # with the numbered line, and appends trailing '-' during
11053 # substitution so that $LINENO is not a special case at line end.
11054 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
11055 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
11056 sed '=' <$as_myself |
11061 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
11064 s,^['$as_cr_digits']*\n,,
11065 ' >$as_me.lineno &&
11066 chmod +x $as_me.lineno ||
11067 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
11068 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
11069 { (exit 1); exit 1; }; }
11071 # Don't try to exec as it changes $[0], causing all sort of problems
11072 # (the dirname of $[0] is not the place where we might find the
11073 # original and so on. Autoconf is especially sensible to this).
11075 # Exit status is that of the last command.
11080 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
11081 *c*,-n*) ECHO_N= ECHO_C='
11083 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
11084 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
11087 if expr a : '\(a\)' >/dev/null 2>&1; then
11093 rm -f conf$$ conf$$.exe conf$$.file
11095 if ln -s conf$$.file conf$$ 2>/dev/null; then
11096 # We could just check for DJGPP; but this test a) works b) is more generic
11097 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
11098 if test -f conf$$.exe; then
11099 # Don't use ln at all; we don't have any links
11104 elif ln conf$$.file conf$$ 2>/dev/null; then
11109 rm -f conf$$ conf$$.exe conf$$.file
11111 if mkdir -p . 2>/dev/null; then
11114 test -d ./-p && rmdir ./-p
11118 as_executable_p="test -f"
11120 # Sed expression to map a string onto a valid CPP name.
11121 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11123 # Sed expression to map a string onto a valid variable name.
11124 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11128 # We need space, tab and new line, in precisely that order.
11138 # Open the log real soon, to keep \$[0] and so on meaningful, and to
11139 # report actual input values of CONFIG_FILES etc. instead of their
11140 # values after options handling. Logging --version etc. is OK.
11144 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11145 ## Running $as_me. ##
11150 This file was extended by newlib $as_me 1.15.0, which was
11151 generated by GNU Autoconf 2.59. Invocation command line was
11153 CONFIG_FILES = $CONFIG_FILES
11154 CONFIG_HEADERS = $CONFIG_HEADERS
11155 CONFIG_LINKS = $CONFIG_LINKS
11156 CONFIG_COMMANDS = $CONFIG_COMMANDS
11160 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
11164 # Files that config.status was made for.
11165 if test -n "$ac_config_files"; then
11166 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
11169 if test -n "$ac_config_headers"; then
11170 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
11173 if test -n "$ac_config_links"; then
11174 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
11177 if test -n "$ac_config_commands"; then
11178 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
11181 cat >>$CONFIG_STATUS <<\_ACEOF
11184 \`$as_me' instantiates files from templates according to the
11185 current configuration.
11187 Usage: $0 [OPTIONS] [FILE]...
11189 -h, --help print this help, then exit
11190 -V, --version print version number, then exit
11191 -q, --quiet do not print progress messages
11192 -d, --debug don't remove temporary files
11193 --recheck update $as_me by reconfiguring in the same conditions
11194 --file=FILE[:TEMPLATE]
11195 instantiate the configuration file FILE
11197 Configuration files:
11200 Configuration commands:
11203 Report bugs to <bug-autoconf@gnu.org>."
11206 cat >>$CONFIG_STATUS <<_ACEOF
11208 newlib config.status 1.15.0
11209 configured by $0, generated by GNU Autoconf 2.59,
11210 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
11212 Copyright (C) 2003 Free Software Foundation, Inc.
11213 This config.status script is free software; the Free Software Foundation
11214 gives unlimited permission to copy, distribute and modify it."
11219 cat >>$CONFIG_STATUS <<\_ACEOF
11220 # If no file are specified by the user, then we need to provide default
11221 # value. By we need to know if files were specified by the user.
11227 ac_option=`expr "x$1" : 'x\([^=]*\)='`
11228 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
11236 *) # This is not an option, so the user has probably given explicit
11239 ac_need_defaults=false;;
11243 # Handling of the options.
11245 cat >>$CONFIG_STATUS <<\_ACEOF
11246 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
11248 --version | --vers* | -V )
11249 echo "$ac_cs_version"; exit 0 ;;
11251 # Conflict between --help and --header
11252 { { echo "$as_me:$LINENO: error: ambiguous option: $1
11253 Try \`$0 --help' for more information." >&5
11254 echo "$as_me: error: ambiguous option: $1
11255 Try \`$0 --help' for more information." >&2;}
11256 { (exit 1); exit 1; }; };;
11257 --help | --hel | -h )
11258 echo "$ac_cs_usage"; exit 0 ;;
11259 --debug | --d* | -d )
11261 --file | --fil | --fi | --f )
11263 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
11264 ac_need_defaults=false;;
11265 --header | --heade | --head | --hea )
11267 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
11268 ac_need_defaults=false;;
11269 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
11270 | -silent | --silent | --silen | --sile | --sil | --si | --s)
11273 # This is an error.
11274 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
11275 Try \`$0 --help' for more information." >&5
11276 echo "$as_me: error: unrecognized option: $1
11277 Try \`$0 --help' for more information." >&2;}
11278 { (exit 1); exit 1; }; } ;;
11280 *) ac_config_targets="$ac_config_targets $1" ;;
11286 ac_configure_extra_args=
11288 if $ac_cs_silent; then
11290 ac_configure_extra_args="$ac_configure_extra_args --silent"
11294 cat >>$CONFIG_STATUS <<_ACEOF
11295 if \$ac_cs_recheck; then
11296 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
11297 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11302 cat >>$CONFIG_STATUS <<_ACEOF
11304 # INIT-COMMANDS section.
11307 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
11310 # The HP-UX ksh and POSIX shell print the target directory to stdout
11311 # if CDPATH is set.
11312 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11314 sed_quote_subst='$sed_quote_subst'
11315 double_quote_subst='$double_quote_subst'
11316 delay_variable_subst='$delay_variable_subst'
11317 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
11318 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
11319 AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
11320 DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
11321 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
11322 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
11323 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
11324 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
11325 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
11326 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
11327 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
11328 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
11329 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
11330 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
11331 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
11332 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
11333 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
11334 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
11335 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
11336 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
11337 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
11338 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
11339 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
11340 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
11341 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
11342 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
11343 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
11344 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
11345 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
11346 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
11347 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11348 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
11349 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
11350 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
11351 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
11352 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
11353 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
11354 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11355 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11356 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11357 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
11358 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
11359 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
11360 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
11361 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
11362 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
11363 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"`'
11364 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
11365 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
11366 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
11367 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
11368 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
11369 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
11370 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
11371 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
11372 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
11373 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
11374 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
11375 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11376 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11377 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
11378 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
11379 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
11380 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
11381 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
11382 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11383 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11384 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11385 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11386 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11387 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11388 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
11389 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
11390 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
11391 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
11392 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
11393 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
11394 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
11395 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
11396 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
11397 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
11398 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
11399 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
11400 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
11401 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
11402 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
11403 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11404 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
11405 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
11406 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11407 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
11408 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
11409 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
11410 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
11411 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
11412 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
11413 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
11414 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
11415 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
11416 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
11417 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
11418 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11419 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11420 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11421 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
11422 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
11423 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
11424 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
11425 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
11426 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
11427 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
11428 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
11429 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
11430 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
11433 LTCFLAGS='$LTCFLAGS'
11434 compiler='$compiler_DEFAULT'
11436 # Quote evaled strings.
11447 deplibs_check_method \
11456 lt_cv_sys_global_symbol_pipe \
11457 lt_cv_sys_global_symbol_to_cdecl \
11458 lt_cv_sys_global_symbol_to_c_name_address \
11461 lt_prog_compiler_no_builtin_flag \
11462 lt_prog_compiler_wl \
11463 lt_prog_compiler_pic \
11464 lt_prog_compiler_static \
11465 lt_cv_prog_compiler_c_o \
11468 export_dynamic_flag_spec \
11469 whole_archive_flag_spec \
11470 compiler_needs_object \
11472 allow_undefined_flag \
11473 no_undefined_flag \
11474 hardcode_libdir_flag_spec \
11475 hardcode_libdir_flag_spec_ld \
11476 hardcode_libdir_separator \
11481 variables_saved_for_relink \
11483 library_names_spec \
11488 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
11489 *[\\\\\\\`\\"\\\$]*)
11490 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
11493 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
11498 # Double-quote double-evaled strings.
11499 for var in reload_cmds \
11500 old_postinstall_cmds \
11501 old_postuninstall_cmds \
11503 extract_expsyms_cmds \
11504 old_archive_from_new_cmds \
11505 old_archive_from_expsyms_cmds \
11507 archive_expsym_cmds \
11509 module_expsym_cmds \
11510 export_symbols_cmds \
11513 postuninstall_cmds \
11515 sys_lib_search_path_spec \
11516 sys_lib_dlsearch_path_spec; do
11517 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
11518 *[\\\\\\\`\\"\\\$]*)
11519 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
11522 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
11527 # Fix-up fallback echo if it was mangled by the above quoting rules.
11529 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
11533 ac_aux_dir='$ac_aux_dir'
11534 xsi_shell='$xsi_shell'
11535 lt_shell_append='$lt_shell_append'
11537 # See if we are running on zsh, and set the options which allow our
11538 # commands through without removal of \ escapes INIT.
11539 if test -n "\${ZSH_VERSION+set}" ; then
11540 setopt NO_GLOB_SUBST
11546 TIMESTAMP='$TIMESTAMP'
11557 cat >>$CONFIG_STATUS <<\_ACEOF
11558 for ac_config_target in $ac_config_targets
11560 case "$ac_config_target" in
11561 # Handling of arguments.
11562 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
11563 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
11564 "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
11565 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
11566 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
11567 { (exit 1); exit 1; }; };;
11571 # If the user did not use the arguments to specify the items to instantiate,
11572 # then the envvar interface is used. Set only those that are not.
11573 # We use the long form for the default assignment because of an extremely
11574 # bizarre bug on SunOS 4.1.3.
11575 if $ac_need_defaults; then
11576 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
11577 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
11580 # Have a temporary directory for convenience. Make it in the build tree
11581 # simply because there is no reason to put it here, and in addition,
11582 # creating and moving files from /tmp can sometimes cause problems.
11583 # Create a temporary directory, and hook for its removal unless debugging.
11586 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
11587 trap '{ (exit 1); exit 1; }' 1 2 13 15
11590 # Create a (secure) tmp directory for tmp files.
11593 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
11594 test -n "$tmp" && test -d "$tmp"
11597 tmp=./confstat$$-$RANDOM
11598 (umask 077 && mkdir $tmp)
11601 echo "$me: cannot create a temporary directory in ." >&2
11602 { (exit 1); exit 1; }
11607 cat >>$CONFIG_STATUS <<_ACEOF
11610 # CONFIG_FILES section.
11613 # No need to generate the scripts if there are no CONFIG_FILES.
11614 # This happens for instance when ./config.status config.h
11615 if test -n "\$CONFIG_FILES"; then
11616 # Protect against being on the right side of a sed subst in config.status.
11617 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
11618 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
11619 s,@SHELL@,$SHELL,;t t
11620 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
11621 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
11622 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
11623 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
11624 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
11625 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
11626 s,@exec_prefix@,$exec_prefix,;t t
11627 s,@prefix@,$prefix,;t t
11628 s,@program_transform_name@,$program_transform_name,;t t
11629 s,@bindir@,$bindir,;t t
11630 s,@sbindir@,$sbindir,;t t
11631 s,@libexecdir@,$libexecdir,;t t
11632 s,@datadir@,$datadir,;t t
11633 s,@sysconfdir@,$sysconfdir,;t t
11634 s,@sharedstatedir@,$sharedstatedir,;t t
11635 s,@localstatedir@,$localstatedir,;t t
11636 s,@libdir@,$libdir,;t t
11637 s,@includedir@,$includedir,;t t
11638 s,@oldincludedir@,$oldincludedir,;t t
11639 s,@infodir@,$infodir,;t t
11640 s,@mandir@,$mandir,;t t
11641 s,@build_alias@,$build_alias,;t t
11642 s,@host_alias@,$host_alias,;t t
11643 s,@target_alias@,$target_alias,;t t
11644 s,@DEFS@,$DEFS,;t t
11645 s,@ECHO_C@,$ECHO_C,;t t
11646 s,@ECHO_N@,$ECHO_N,;t t
11647 s,@ECHO_T@,$ECHO_T,;t t
11648 s,@LIBS@,$LIBS,;t t
11649 s,@MAY_SUPPLY_SYSCALLS_TRUE@,$MAY_SUPPLY_SYSCALLS_TRUE,;t t
11650 s,@MAY_SUPPLY_SYSCALLS_FALSE@,$MAY_SUPPLY_SYSCALLS_FALSE,;t t
11651 s,@newlib_basedir@,$newlib_basedir,;t t
11652 s,@build@,$build,;t t
11653 s,@build_cpu@,$build_cpu,;t t
11654 s,@build_vendor@,$build_vendor,;t t
11655 s,@build_os@,$build_os,;t t
11656 s,@host@,$host,;t t
11657 s,@host_cpu@,$host_cpu,;t t
11658 s,@host_vendor@,$host_vendor,;t t
11659 s,@host_os@,$host_os,;t t
11660 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
11661 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
11662 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
11663 s,@CYGPATH_W@,$CYGPATH_W,;t t
11664 s,@PACKAGE@,$PACKAGE,;t t
11665 s,@VERSION@,$VERSION,;t t
11666 s,@ACLOCAL@,$ACLOCAL,;t t
11667 s,@AUTOCONF@,$AUTOCONF,;t t
11668 s,@AUTOMAKE@,$AUTOMAKE,;t t
11669 s,@AUTOHEADER@,$AUTOHEADER,;t t
11670 s,@MAKEINFO@,$MAKEINFO,;t t
11671 s,@install_sh@,$install_sh,;t t
11672 s,@STRIP@,$STRIP,;t t
11673 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
11674 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
11675 s,@mkdir_p@,$mkdir_p,;t t
11677 s,@SET_MAKE@,$SET_MAKE,;t t
11678 s,@am__leading_dot@,$am__leading_dot,;t t
11679 s,@AMTAR@,$AMTAR,;t t
11680 s,@am__tar@,$am__tar,;t t
11681 s,@am__untar@,$am__untar,;t t
11683 s,@DEPDIR@,$DEPDIR,;t t
11684 s,@am__include@,$am__include,;t t
11685 s,@am__quote@,$am__quote,;t t
11686 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
11687 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
11688 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
11689 s,@CCDEPMODE@,$CCDEPMODE,;t t
11690 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
11691 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
11693 s,@ac_ct_AS@,$ac_ct_AS,;t t
11695 s,@ac_ct_AR@,$ac_ct_AR,;t t
11696 s,@RANLIB@,$RANLIB,;t t
11697 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
11698 s,@READELF@,$READELF,;t t
11699 s,@ac_ct_READELF@,$ac_ct_READELF,;t t
11700 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
11701 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
11702 s,@MAINT@,$MAINT,;t t
11703 s,@CCAS@,$CCAS,;t t
11704 s,@CCASFLAGS@,$CCASFLAGS,;t t
11705 s,@NEWLIB_CFLAGS@,$NEWLIB_CFLAGS,;t t
11706 s,@LDFLAGS@,$LDFLAGS,;t t
11707 s,@ELIX_LEVEL_0_TRUE@,$ELIX_LEVEL_0_TRUE,;t t
11708 s,@ELIX_LEVEL_0_FALSE@,$ELIX_LEVEL_0_FALSE,;t t
11709 s,@ELIX_LEVEL_1_TRUE@,$ELIX_LEVEL_1_TRUE,;t t
11710 s,@ELIX_LEVEL_1_FALSE@,$ELIX_LEVEL_1_FALSE,;t t
11711 s,@ELIX_LEVEL_2_TRUE@,$ELIX_LEVEL_2_TRUE,;t t
11712 s,@ELIX_LEVEL_2_FALSE@,$ELIX_LEVEL_2_FALSE,;t t
11713 s,@ELIX_LEVEL_3_TRUE@,$ELIX_LEVEL_3_TRUE,;t t
11714 s,@ELIX_LEVEL_3_FALSE@,$ELIX_LEVEL_3_FALSE,;t t
11715 s,@ELIX_LEVEL_4_TRUE@,$ELIX_LEVEL_4_TRUE,;t t
11716 s,@ELIX_LEVEL_4_FALSE@,$ELIX_LEVEL_4_FALSE,;t t
11717 s,@USE_LIBTOOL_TRUE@,$USE_LIBTOOL_TRUE,;t t
11718 s,@USE_LIBTOOL_FALSE@,$USE_LIBTOOL_FALSE,;t t
11719 s,@OBJEXT@,$OBJEXT,;t t
11720 s,@oext@,$oext,;t t
11721 s,@aext@,$aext,;t t
11722 s,@lpfx@,$lpfx,;t t
11723 s,@libm_machine_dir@,$libm_machine_dir,;t t
11724 s,@machine_dir@,$machine_dir,;t t
11725 s,@sys_dir@,$sys_dir,;t t
11727 s,@DLLTOOL@,$DLLTOOL,;t t
11728 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
11729 s,@OBJDUMP@,$OBJDUMP,;t t
11730 s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t
11731 s,@LIBTOOL@,$LIBTOOL,;t t
11732 s,@CFLAGS@,$CFLAGS,;t t
11733 s,@CPPFLAGS@,$CPPFLAGS,;t t
11734 s,@ac_ct_CC@,$ac_ct_CC,;t t
11735 s,@EXEEXT@,$EXEEXT,;t t
11736 s,@EGREP@,$EGREP,;t t
11737 s,@FGREP@,$FGREP,;t t
11738 s,@GREP@,$GREP,;t t
11740 s,@DUMPBIN@,$DUMPBIN,;t t
11741 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
11743 s,@LN_S@,$LN_S,;t t
11744 s,@lt_ECHO@,$lt_ECHO,;t t
11746 s,@subdirs@,$subdirs,;t t
11747 s,@HAVE_MACHINE_DIR_TRUE@,$HAVE_MACHINE_DIR_TRUE,;t t
11748 s,@HAVE_MACHINE_DIR_FALSE@,$HAVE_MACHINE_DIR_FALSE,;t t
11749 s,@LIBOBJS@,$LIBOBJS,;t t
11750 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
11755 cat >>$CONFIG_STATUS <<\_ACEOF
11756 # Split the substitutions into bite-sized pieces for seds with
11757 # small command number limits, like on Digital OSF/1 and HP-UX.
11758 ac_max_sed_lines=48
11759 ac_sed_frag=1 # Number of current file.
11760 ac_beg=1 # First line for current file.
11761 ac_end=$ac_max_sed_lines # Line after last line for current file.
11764 while $ac_more_lines; do
11765 if test $ac_beg -gt 1; then
11766 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
11768 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
11770 if test ! -s $tmp/subs.frag; then
11771 ac_more_lines=false
11773 # The purpose of the label and of the branching condition is to
11774 # speed up the sed processing (if there are no `@' at all, there
11775 # is no need to browse any of the substitutions).
11776 # These are the two extra sed commands mentioned above.
11778 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
11779 if test -z "$ac_sed_cmds"; then
11780 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
11782 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
11784 ac_sed_frag=`expr $ac_sed_frag + 1`
11786 ac_end=`expr $ac_end + $ac_max_sed_lines`
11789 if test -z "$ac_sed_cmds"; then
11792 fi # test -n "$CONFIG_FILES"
11795 cat >>$CONFIG_STATUS <<\_ACEOF
11796 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
11797 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
11799 - | *:- | *:-:* ) # input from stdin
11801 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11802 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11803 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11804 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11805 * ) ac_file_in=$ac_file.in ;;
11808 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
11809 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
11810 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11811 X"$ac_file" : 'X\(//\)[^/]' \| \
11812 X"$ac_file" : 'X\(//\)$' \| \
11813 X"$ac_file" : 'X\(/\)' \| \
11814 . : '\(.\)' 2>/dev/null ||
11816 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11817 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11818 /^X\(\/\/\)$/{ s//\1/; q; }
11819 /^X\(\/\).*/{ s//\1/; q; }
11821 { if $as_mkdir_p; then
11826 while test ! -d "$as_dir"; do
11827 as_dirs="$as_dir $as_dirs"
11828 as_dir=`(dirname "$as_dir") 2>/dev/null ||
11829 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11830 X"$as_dir" : 'X\(//\)[^/]' \| \
11831 X"$as_dir" : 'X\(//\)$' \| \
11832 X"$as_dir" : 'X\(/\)' \| \
11833 . : '\(.\)' 2>/dev/null ||
11835 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11836 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11837 /^X\(\/\/\)$/{ s//\1/; q; }
11838 /^X\(\/\).*/{ s//\1/; q; }
11841 test ! -n "$as_dirs" || mkdir $as_dirs
11842 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
11843 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
11844 { (exit 1); exit 1; }; }; }
11848 if test "$ac_dir" != .; then
11849 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
11850 # A "../" for each directory in $ac_dir_suffix.
11851 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
11853 ac_dir_suffix= ac_top_builddir=
11857 .) # No --srcdir option. We are building in place.
11859 if test -z "$ac_top_builddir"; then
11862 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
11864 [\\/]* | ?:[\\/]* ) # Absolute path.
11865 ac_srcdir=$srcdir$ac_dir_suffix;
11866 ac_top_srcdir=$srcdir ;;
11867 *) # Relative path.
11868 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
11869 ac_top_srcdir=$ac_top_builddir$srcdir ;;
11872 # Do not use `cd foo && pwd` to compute absolute paths, because
11873 # the directories may not exist.
11875 .) ac_abs_builddir="$ac_dir";;
11878 .) ac_abs_builddir=`pwd`;;
11879 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
11880 *) ac_abs_builddir=`pwd`/"$ac_dir";;
11883 case $ac_abs_builddir in
11884 .) ac_abs_top_builddir=${ac_top_builddir}.;;
11886 case ${ac_top_builddir}. in
11887 .) ac_abs_top_builddir=$ac_abs_builddir;;
11888 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
11889 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
11892 case $ac_abs_builddir in
11893 .) ac_abs_srcdir=$ac_srcdir;;
11896 .) ac_abs_srcdir=$ac_abs_builddir;;
11897 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
11898 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
11901 case $ac_abs_builddir in
11902 .) ac_abs_top_srcdir=$ac_top_srcdir;;
11904 case $ac_top_srcdir in
11905 .) ac_abs_top_srcdir=$ac_abs_builddir;;
11906 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
11907 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
11913 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
11914 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
11917 if test x"$ac_file" != x-; then
11918 { echo "$as_me:$LINENO: creating $ac_file" >&5
11919 echo "$as_me: creating $ac_file" >&6;}
11922 # Let's still pretend it is `configure' which instantiates (i.e., don't
11923 # use $as_me), people would be surprised to read:
11924 # /* config.h. Generated by config.status. */
11925 if test x"$ac_file" = x-; then
11928 configure_input="$ac_file. "
11930 configure_input=$configure_input"Generated from `echo $ac_file_in |
11931 sed 's,.*/,,'` by configure."
11933 # First look for the input files in the build tree, otherwise in the
11935 ac_file_inputs=`IFS=:
11936 for f in $ac_file_in; do
11938 -) echo $tmp/stdin ;;
11940 # Absolute (can't be DOS-style, as IFS=:)
11941 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11942 echo "$as_me: error: cannot find input file: $f" >&2;}
11943 { (exit 1); exit 1; }; }
11946 if test -f "$f"; then
11949 elif test -f "$srcdir/$f"; then
11954 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11955 echo "$as_me: error: cannot find input file: $f" >&2;}
11956 { (exit 1); exit 1; }; }
11959 done` || { (exit 1); exit 1; }
11961 cat >>$CONFIG_STATUS <<_ACEOF
11965 cat >>$CONFIG_STATUS <<\_ACEOF
11967 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
11968 s,@configure_input@,$configure_input,;t t
11969 s,@srcdir@,$ac_srcdir,;t t
11970 s,@abs_srcdir@,$ac_abs_srcdir,;t t
11971 s,@top_srcdir@,$ac_top_srcdir,;t t
11972 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
11973 s,@builddir@,$ac_builddir,;t t
11974 s,@abs_builddir@,$ac_abs_builddir,;t t
11975 s,@top_builddir@,$ac_top_builddir,;t t
11976 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
11977 s,@INSTALL@,$ac_INSTALL,;t t
11978 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
11980 if test x"$ac_file" != x-; then
11981 mv $tmp/out $ac_file
11989 cat >>$CONFIG_STATUS <<\_ACEOF
11992 # CONFIG_COMMANDS section.
11994 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
11995 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
11996 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
11997 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
11998 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11999 X"$ac_dest" : 'X\(//\)[^/]' \| \
12000 X"$ac_dest" : 'X\(//\)$' \| \
12001 X"$ac_dest" : 'X\(/\)' \| \
12002 . : '\(.\)' 2>/dev/null ||
12004 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12005 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12006 /^X\(\/\/\)$/{ s//\1/; q; }
12007 /^X\(\/\).*/{ s//\1/; q; }
12009 { if $as_mkdir_p; then
12014 while test ! -d "$as_dir"; do
12015 as_dirs="$as_dir $as_dirs"
12016 as_dir=`(dirname "$as_dir") 2>/dev/null ||
12017 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12018 X"$as_dir" : 'X\(//\)[^/]' \| \
12019 X"$as_dir" : 'X\(//\)$' \| \
12020 X"$as_dir" : 'X\(/\)' \| \
12021 . : '\(.\)' 2>/dev/null ||
12023 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12024 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12025 /^X\(\/\/\)$/{ s//\1/; q; }
12026 /^X\(\/\).*/{ s//\1/; q; }
12029 test ! -n "$as_dirs" || mkdir $as_dirs
12030 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12031 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12032 { (exit 1); exit 1; }; }; }
12036 if test "$ac_dir" != .; then
12037 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12038 # A "../" for each directory in $ac_dir_suffix.
12039 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
12041 ac_dir_suffix= ac_top_builddir=
12045 .) # No --srcdir option. We are building in place.
12047 if test -z "$ac_top_builddir"; then
12050 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
12052 [\\/]* | ?:[\\/]* ) # Absolute path.
12053 ac_srcdir=$srcdir$ac_dir_suffix;
12054 ac_top_srcdir=$srcdir ;;
12055 *) # Relative path.
12056 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
12057 ac_top_srcdir=$ac_top_builddir$srcdir ;;
12060 # Do not use `cd foo && pwd` to compute absolute paths, because
12061 # the directories may not exist.
12063 .) ac_abs_builddir="$ac_dir";;
12066 .) ac_abs_builddir=`pwd`;;
12067 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
12068 *) ac_abs_builddir=`pwd`/"$ac_dir";;
12071 case $ac_abs_builddir in
12072 .) ac_abs_top_builddir=${ac_top_builddir}.;;
12074 case ${ac_top_builddir}. in
12075 .) ac_abs_top_builddir=$ac_abs_builddir;;
12076 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
12077 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
12080 case $ac_abs_builddir in
12081 .) ac_abs_srcdir=$ac_srcdir;;
12084 .) ac_abs_srcdir=$ac_abs_builddir;;
12085 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
12086 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
12089 case $ac_abs_builddir in
12090 .) ac_abs_top_srcdir=$ac_top_srcdir;;
12092 case $ac_top_srcdir in
12093 .) ac_abs_top_srcdir=$ac_abs_builddir;;
12094 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
12095 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
12100 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
12101 echo "$as_me: executing $ac_dest commands" >&6;}
12103 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
12104 # Strip MF so we end up with the name of the file.
12105 mf=`echo "$mf" | sed -e 's/:.*$//'`
12106 # Check whether this is an Automake generated Makefile or not.
12107 # We used to match only the files named `Makefile.in', but
12108 # some people rename them; so instead we look at the file content.
12109 # Grep'ing the first line is not enough: some people post-process
12110 # each Makefile.in and add a new line on top of each file to say so.
12111 # So let's grep whole file.
12112 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
12113 dirpart=`(dirname "$mf") 2>/dev/null ||
12114 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12115 X"$mf" : 'X\(//\)[^/]' \| \
12116 X"$mf" : 'X\(//\)$' \| \
12117 X"$mf" : 'X\(/\)' \| \
12118 . : '\(.\)' 2>/dev/null ||
12120 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12121 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12122 /^X\(\/\/\)$/{ s//\1/; q; }
12123 /^X\(\/\).*/{ s//\1/; q; }
12128 # Extract the definition of DEPDIR, am__include, and am__quote
12129 # from the Makefile without running `make'.
12130 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
12131 test -z "$DEPDIR" && continue
12132 am__include=`sed -n 's/^am__include = //p' < "$mf"`
12133 test -z "am__include" && continue
12134 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
12135 # When using ansi2knr, U may be empty or an underscore; expand it
12136 U=`sed -n 's/^U = //p' < "$mf"`
12137 # Find all dependency output files, they are included files with
12138 # $(DEPDIR) in their names. We invoke sed twice because it is the
12139 # simplest approach to changing $(DEPDIR) to its actual value in the
12141 for file in `sed -n "
12142 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
12143 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
12144 # Make sure the directory exists.
12145 test -f "$dirpart/$file" && continue
12146 fdir=`(dirname "$file") 2>/dev/null ||
12147 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12148 X"$file" : 'X\(//\)[^/]' \| \
12149 X"$file" : 'X\(//\)$' \| \
12150 X"$file" : 'X\(/\)' \| \
12151 . : '\(.\)' 2>/dev/null ||
12153 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12154 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12155 /^X\(\/\/\)$/{ s//\1/; q; }
12156 /^X\(\/\).*/{ s//\1/; q; }
12158 { if $as_mkdir_p; then
12159 mkdir -p $dirpart/$fdir
12161 as_dir=$dirpart/$fdir
12163 while test ! -d "$as_dir"; do
12164 as_dirs="$as_dir $as_dirs"
12165 as_dir=`(dirname "$as_dir") 2>/dev/null ||
12166 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12167 X"$as_dir" : 'X\(//\)[^/]' \| \
12168 X"$as_dir" : 'X\(//\)$' \| \
12169 X"$as_dir" : 'X\(/\)' \| \
12170 . : '\(.\)' 2>/dev/null ||
12172 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12173 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12174 /^X\(\/\/\)$/{ s//\1/; q; }
12175 /^X\(\/\).*/{ s//\1/; q; }
12178 test ! -n "$as_dirs" || mkdir $as_dirs
12179 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
12180 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
12181 { (exit 1); exit 1; }; }; }
12183 # echo "creating $dirpart/$file"
12184 echo '# dummy' > "$dirpart/$file"
12190 # See if we are running on zsh, and set the options which allow our
12191 # commands through without removal of \ escapes.
12192 if test -n "${ZSH_VERSION+set}" ; then
12193 setopt NO_GLOB_SUBST
12196 cfgfile="${ofile}T"
12197 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
12200 cat <<_LT_EOF >> "$cfgfile"
12203 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
12204 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
12205 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12206 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
12208 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
12209 # 2006, 2007 Free Software Foundation, Inc.
12211 # This file is part of GNU Libtool:
12212 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
12214 # This program is free software; you can redistribute it and/or modify
12215 # it under the terms of the GNU General Public License as published by
12216 # the Free Software Foundation; either version 2 of the License, or
12217 # (at your option) any later version.
12219 # This program is distributed in the hope that it will be useful, but
12220 # WITHOUT ANY WARRANTY; without even the implied warranty of
12221 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12222 # General Public License for more details.
12224 # You should have received a copy of the GNU General Public License
12225 # along with this program; if not, a copy can be downloaded from
12226 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
12227 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
12228 # MA 02110-1301, USA.
12230 # As a special exception to the GNU General Public License, if you
12231 # distribute this file as part of a program that contains a
12232 # configuration script generated by Autoconf, you may include it under
12233 # the same distribution terms that you use for the rest of that program.
12236 # The names of the tagged configurations supported by this script.
12239 # ### BEGIN LIBTOOL CONFIG
12241 # A sed program that does not truncate output.
12244 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
12245 Xsed="\$SED -e 1s/^X//"
12247 # Assembler program.
12250 # DLL creation program.
12253 # Object dumper program.
12256 # Which release of libtool.m4 was used?
12257 macro_version=$macro_version
12258 macro_revision=$macro_revision
12260 # Whether or not to build shared libraries.
12261 build_libtool_libs=$enable_shared
12263 # Whether or not to build static libraries.
12264 build_old_libs=$enable_static
12266 # What type of objects to build.
12269 # Whether or not to optimize for fast installation.
12270 fast_install=$enable_fast_install
12273 host_alias=$host_alias
12277 # The build system.
12278 build_alias=$build_alias
12282 # A grep program that handles long lines.
12288 # A literal string matcher.
12291 # A BSD- or MS-compatible name lister.
12294 # Whether we need soft or hard links.
12297 # What is the maximum length of a command?
12298 max_cmd_len=$max_cmd_len
12300 # Object file suffix (normally "o").
12303 # Executable file suffix (normally "").
12306 # whether the shell understands "unset".
12309 # turn spaces into newlines.
12312 # turn newlines into spaces.
12315 # How to create reloadable object files.
12316 reload_flag=$lt_reload_flag
12317 reload_cmds=$lt_reload_cmds
12319 # Method to check whether dependent libraries are shared objects.
12320 deplibs_check_method=$lt_deplibs_check_method
12322 # Command to use when deplibs_check_method == "file_magic".
12323 file_magic_cmd=$lt_file_magic_cmd
12327 AR_FLAGS=$lt_AR_FLAGS
12329 # A symbol stripping program.
12332 # Commands used to install an old-style archive.
12334 old_postinstall_cmds=$lt_old_postinstall_cmds
12335 old_postuninstall_cmds=$lt_old_postuninstall_cmds
12340 # LTCC compiler flags.
12341 LTCFLAGS=$lt_CFLAGS
12343 # Take the output of nm and produce a listing of raw symbols and C names.
12344 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12346 # Transform the output of nm in a proper C declaration.
12347 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12349 # Transform the output of nm in a C name address pair.
12350 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12352 # The name of the directory that contains temporary libtool files.
12355 # Shell to use when invoking shell scripts.
12358 # An echo program that does not interpret backslashes.
12361 # Used to examine libraries when file_magic_cmd begins with "file".
12362 MAGIC_CMD=$MAGIC_CMD
12364 # Must we lock files when doing compilation?
12365 need_locks=$lt_need_locks
12367 # Old archive suffix (normally "a").
12370 # Shared library suffix (normally ".so").
12371 shrext_cmds=$lt_shrext_cmds
12373 # The commands to extract the exported symbol list from a shared archive.
12374 extract_expsyms_cmds=$lt_extract_expsyms_cmds
12376 # Variables whose values should be saved in libtool wrapper scripts and
12377 # restored at link time.
12378 variables_saved_for_relink=$lt_variables_saved_for_relink
12380 # Do we need the "lib" prefix for modules?
12381 need_lib_prefix=$need_lib_prefix
12383 # Do we need a version for libraries?
12384 need_version=$need_version
12386 # Library versioning type.
12387 version_type=$version_type
12389 # Shared library runtime path variable.
12390 runpath_var=$runpath_var
12392 # Shared library path variable.
12393 shlibpath_var=$shlibpath_var
12395 # Is shlibpath searched before the hard-coded library search path?
12396 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12398 # Format of library name prefix.
12399 libname_spec=$lt_libname_spec
12401 # List of archive names. First name is the real one, the rest are links.
12402 # The last name is the one that the linker finds with -lNAME
12403 library_names_spec=$lt_library_names_spec
12405 # The coded name of the library, if different from the real name.
12406 soname_spec=$lt_soname_spec
12408 # Command to use after installation of a shared archive.
12409 postinstall_cmds=$lt_postinstall_cmds
12411 # Command to use after uninstallation of a shared archive.
12412 postuninstall_cmds=$lt_postuninstall_cmds
12414 # Commands used to finish a libtool library installation in a directory.
12415 finish_cmds=$lt_finish_cmds
12417 # As "finish_cmds", except a single script fragment to be evaled but
12419 finish_eval=$lt_finish_eval
12421 # Whether we should hardcode library paths into libraries.
12422 hardcode_into_libs=$hardcode_into_libs
12424 # Compile-time system search path for libraries.
12425 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12427 # Run-time system search path for libraries.
12428 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12430 # Whether dlopen is supported.
12431 dlopen_support=$enable_dlopen
12433 # Whether dlopen of programs is supported.
12434 dlopen_self=$enable_dlopen_self
12436 # Whether dlopen of statically linked programs is supported.
12437 dlopen_self_static=$enable_dlopen_self_static
12439 # Commands to strip libraries.
12440 old_striplib=$lt_old_striplib
12441 striplib=$lt_striplib
12444 # The linker used to build libraries.
12447 # Commands used to build an old-style archive.
12448 old_archive_cmds=$lt_old_archive_cmds
12450 # A language specific compiler.
12453 # Is the compiler the GNU compiler?
12456 # Compiler flag to turn off builtin functions.
12457 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
12459 # How to pass a linker flag through the compiler.
12460 wl=$lt_lt_prog_compiler_wl
12462 # Additional compiler flags for building library objects.
12463 pic_flag=$lt_lt_prog_compiler_pic
12465 # Compiler flag to prevent dynamic linking.
12466 link_static_flag=$lt_lt_prog_compiler_static
12468 # Does compiler simultaneously support -c and -o options?
12469 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
12471 # Whether or not to add -lc for building shared libraries.
12472 build_libtool_need_lc=$archive_cmds_need_lc
12474 # Whether or not to disallow shared libs when runtime libs are static.
12475 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
12477 # Compiler flag to allow reflexive dlopens.
12478 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
12480 # Compiler flag to generate shared objects directly from archives.
12481 whole_archive_flag_spec=$lt_whole_archive_flag_spec
12483 # Whether the compiler copes with passing no objects directly.
12484 compiler_needs_object=$lt_compiler_needs_object
12486 # Create an old-style archive from a shared archive.
12487 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
12489 # Create a temporary old-style archive to link instead of a shared archive.
12490 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
12492 # Commands used to build a shared archive.
12493 archive_cmds=$lt_archive_cmds
12494 archive_expsym_cmds=$lt_archive_expsym_cmds
12496 # Commands used to build a loadable module if different from building
12497 # a shared archive.
12498 module_cmds=$lt_module_cmds
12499 module_expsym_cmds=$lt_module_expsym_cmds
12501 # Whether we are building with GNU ld or not.
12502 with_gnu_ld=$lt_with_gnu_ld
12504 # Flag that allows shared libraries with undefined symbols to be built.
12505 allow_undefined_flag=$lt_allow_undefined_flag
12507 # Flag that enforces no undefined symbols.
12508 no_undefined_flag=$lt_no_undefined_flag
12510 # Flag to hardcode \$libdir into a binary during linking.
12511 # This must work even if \$libdir does not exist
12512 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
12514 # If ld is used when linking, flag to hardcode \$libdir into a binary
12515 # during linking. This must work even if \$libdir does not exist.
12516 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
12518 # Whether we need a single "-rpath" flag with a separated argument.
12519 hardcode_libdir_separator=$lt_hardcode_libdir_separator
12521 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
12522 # DIR into the resulting binary.
12523 hardcode_direct=$hardcode_direct
12525 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
12526 # DIR into the resulting binary and the resulting library dependency is
12527 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
12528 # library is relocated.
12529 hardcode_direct_absolute=$hardcode_direct_absolute
12531 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
12532 # into the resulting binary.
12533 hardcode_minus_L=$hardcode_minus_L
12535 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
12536 # into the resulting binary.
12537 hardcode_shlibpath_var=$hardcode_shlibpath_var
12539 # Set to "yes" if building a shared library automatically hardcodes DIR
12540 # into the library and all subsequent libraries and executables linked
12542 hardcode_automatic=$hardcode_automatic
12544 # Set to yes if linker adds runtime paths of dependent libraries
12545 # to runtime path list.
12546 inherit_rpath=$inherit_rpath
12548 # Whether libtool must link a program against all its dependency libraries.
12549 link_all_deplibs=$link_all_deplibs
12551 # Fix the shell variable \$srcfile for the compiler.
12552 fix_srcfile_path=$lt_fix_srcfile_path
12554 # Set to "yes" if exported symbols are required.
12555 always_export_symbols=$always_export_symbols
12557 # The commands to list exported symbols.
12558 export_symbols_cmds=$lt_export_symbols_cmds
12560 # Symbols that should not be listed in the preloaded symbols.
12561 exclude_expsyms=$lt_exclude_expsyms
12563 # Symbols that must always be exported.
12564 include_expsyms=$lt_include_expsyms
12566 # Commands necessary for linking programs (against libraries) with templates.
12567 prelink_cmds=$lt_prelink_cmds
12569 # Specify filename containing input files.
12570 file_list_spec=$lt_file_list_spec
12572 # How to hardcode a shared library path into an executable.
12573 hardcode_action=$hardcode_action
12575 # ### END LIBTOOL CONFIG
12581 cat <<\_LT_EOF >> "$cfgfile"
12582 # AIX sometimes has problems with the GCC collect2 program. For some
12583 # reason, if we set the COLLECT_NAMES environment variable, the problems
12584 # vanish in a puff of smoke.
12585 if test "X${COLLECT_NAMES+set}" != Xset; then
12587 export COLLECT_NAMES
12594 ltmain="$ac_aux_dir/ltmain.sh"
12597 # We use sed instead of cat because bash on DJGPP gets confused if
12598 # if finds mixed CR/LF and LF-only lines. Since sed operates in
12599 # text mode, it properly converts lines to CR/LF. This bash problem
12600 # is reportedly fixed, but why not run on old versions too?
12601 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
12602 || (rm -f "$cfgfile"; exit 1)
12606 cat << \_LT_EOF >> "$cfgfile"
12607 # func_dirname file append nondir_replacement
12608 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
12609 # otherwise set result to NONDIR_REPLACEMENT.
12613 */*) func_dirname_result="${1%/*}${2}" ;;
12614 * ) func_dirname_result="${3}" ;;
12618 # func_basename file
12621 func_basename_result="${1##*/}"
12624 # func_stripname prefix suffix name
12625 # strip PREFIX and SUFFIX off of NAME.
12626 # PREFIX and SUFFIX must not contain globbing or regex special
12627 # characters, hashes, percent signs, but SUFFIX may contain a leading
12628 # dot (in which case that matches only a dot).
12631 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
12632 # positional parameters, so assign one to ordinary parameter first.
12633 func_stripname_result=${3}
12634 func_stripname_result=${func_stripname_result#"${1}"}
12635 func_stripname_result=${func_stripname_result%"${2}"}
12641 func_opt_split_opt=${1%%=*}
12642 func_opt_split_arg=${1#*=}
12649 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
12650 *) func_lo2o_result=${1} ;;
12655 *) # Bourne compatible functions.
12656 cat << \_LT_EOF >> "$cfgfile"
12657 # func_dirname file append nondir_replacement
12658 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
12659 # otherwise set result to NONDIR_REPLACEMENT.
12662 # Extract subdirectory from the argument.
12663 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
12664 if test "X$func_dirname_result" = "X${1}"; then
12665 func_dirname_result="${3}"
12667 func_dirname_result="$func_dirname_result${2}"
12671 # func_basename file
12674 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
12677 # func_stripname prefix suffix name
12678 # strip PREFIX and SUFFIX off of NAME.
12679 # PREFIX and SUFFIX must not contain globbing or regex special
12680 # characters, hashes, percent signs, but SUFFIX may contain a leading
12681 # dot (in which case that matches only a dot).
12682 # func_strip_suffix prefix name
12686 .*) func_stripname_result=`$ECHO "X${3}" \
12687 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
12688 *) func_stripname_result=`$ECHO "X${3}" \
12689 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
12694 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
12695 my_sed_long_arg='1s/^-[^=]*=//'
12700 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
12701 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
12707 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
12712 case $lt_shell_append in
12714 cat << \_LT_EOF >> "$cfgfile"
12716 # func_append var value
12717 # Append VALUE to the end of shell variable VAR.
12725 cat << \_LT_EOF >> "$cfgfile"
12727 # func_append var value
12728 # Append VALUE to the end of shell variable VAR.
12738 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
12739 || (rm -f "$cfgfile"; exit 1)
12741 mv -f "$cfgfile" "$ofile" ||
12742 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
12750 cat >>$CONFIG_STATUS <<\_ACEOF
12752 { (exit 0); exit 0; }
12754 chmod +x $CONFIG_STATUS
12755 ac_clean_files=$ac_clean_files_save
12758 # configure is writing to config.log, and then calls config.status.
12759 # config.status does its own redirection, appending to config.log.
12760 # Unfortunately, on DOS this fails, as config.log is still kept open
12761 # by configure, so config.status won't be able to write to it; its
12762 # output is simply discarded. So we exec the FD to /dev/null,
12763 # effectively closing config.log, so it can be properly (re)opened and
12764 # appended to by config.status. When coming back to configure, we
12765 # need to make the FD available again.
12766 if test "$no_create" != yes; then
12768 ac_config_status_args=
12769 test "$silent" = yes &&
12770 ac_config_status_args="$ac_config_status_args --quiet"
12772 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
12774 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
12775 # would make configure fail if this is the last instruction.
12776 $ac_cs_success || { (exit 1); exit 1; }
12780 # CONFIG_SUBDIRS section, as fixed in confsubdir.m4.
12782 if test "$no_recursion" != yes; then
12784 # Remove --cache-file and --srcdir arguments so they do not pile up.
12785 ac_sub_configure_args=
12787 eval "set x $ac_configure_args"
12791 if test -n "$ac_prev"; then
12796 -cache-file | --cache-file | --cache-fil | --cache-fi \
12797 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
12798 ac_prev=cache_file ;;
12799 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
12800 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
12803 --config-cache | -C)
12805 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
12807 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
12809 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
12811 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
12815 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
12817 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
12821 # Always prepend --prefix to ensure using the same prefix
12822 # in subdir configurations.
12823 ac_arg="--prefix=$prefix"
12825 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
12827 ac_sub_configure_args="$ac_arg $ac_sub_configure_args"
12830 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
12832 # Do not complain, so a configure script can configure whichever
12833 # parts of a large source tree are present.
12834 test -d "$srcdir/$ac_dir" || continue
12836 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
12837 echo "$as_me: configuring in $ac_dir" >&6;}
12838 { if $as_mkdir_p; then
12843 while test ! -d "$as_dir"; do
12844 as_dirs="$as_dir $as_dirs"
12845 as_dir=`(dirname "$as_dir") 2>/dev/null ||
12846 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12847 X"$as_dir" : 'X\(//\)[^/]' \| \
12848 X"$as_dir" : 'X\(//\)$' \| \
12849 X"$as_dir" : 'X\(/\)' \| \
12850 . : '\(.\)' 2>/dev/null ||
12852 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12853 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12854 /^X\(\/\/\)$/{ s//\1/; q; }
12855 /^X\(\/\).*/{ s//\1/; q; }
12858 test ! -n "$as_dirs" || mkdir $as_dirs
12859 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12860 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12861 { (exit 1); exit 1; }; }; }
12865 if test "$ac_dir" != .; then
12866 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12867 # A "../" for each directory in $ac_dir_suffix.
12868 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
12870 ac_dir_suffix= ac_top_builddir=
12874 .) # No --srcdir option. We are building in place.
12876 if test -z "$ac_top_builddir"; then
12879 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
12881 [\\/]* | ?:[\\/]* ) # Absolute path.
12882 ac_srcdir=$srcdir$ac_dir_suffix;
12883 ac_top_srcdir=$srcdir ;;
12884 *) # Relative path.
12885 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
12886 ac_top_srcdir=$ac_top_builddir$srcdir ;;
12889 # Do not use `cd foo && pwd` to compute absolute paths, because
12890 # the directories may not exist.
12892 .) ac_abs_builddir="$ac_dir";;
12895 .) ac_abs_builddir=`pwd`;;
12896 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
12897 *) ac_abs_builddir=`pwd`/"$ac_dir";;
12900 case $ac_abs_builddir in
12901 .) ac_abs_top_builddir=${ac_top_builddir}.;;
12903 case ${ac_top_builddir}. in
12904 .) ac_abs_top_builddir=$ac_abs_builddir;;
12905 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
12906 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
12909 case $ac_abs_builddir in
12910 .) ac_abs_srcdir=$ac_srcdir;;
12913 .) ac_abs_srcdir=$ac_abs_builddir;;
12914 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
12915 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
12918 case $ac_abs_builddir in
12919 .) ac_abs_top_srcdir=$ac_top_srcdir;;
12921 case $ac_top_srcdir in
12922 .) ac_abs_top_srcdir=$ac_abs_builddir;;
12923 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
12924 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
12931 # Check for guested configure; otherwise get Cygnus style configure.
12932 if test -f "$ac_srcdir/configure.gnu"; then
12933 ac_sub_configure=$ac_srcdir/configure.gnu
12934 elif test -f "$ac_srcdir/configure"; then
12935 ac_sub_configure=$ac_srcdir/configure
12936 elif test -f "$ac_srcdir/configure.in"; then
12937 # This should be Cygnus configure.
12938 ac_sub_configure=$ac_aux_dir/configure
12940 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
12941 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
12945 # The recursion is here.
12946 if test -n "$ac_sub_configure"; then
12947 # Make the cache file name correct relative to the subdirectory.
12948 case $cache_file in
12949 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
12950 *) # Relative path.
12951 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
12954 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
12955 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
12956 # The eval makes quoting arguments work.
12957 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
12958 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
12959 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
12960 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
12961 { (exit 1); exit 1; }; }