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="sys.tex"
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 machine sys"
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 CRT0 LIBC_POSIX_LIB HAVE_POSIX_DIR_TRUE HAVE_POSIX_DIR_FALSE LIBC_SIGNAL_LIB LIBC_SIGNAL_DEF HAVE_SIGNAL_DIR_TRUE HAVE_SIGNAL_DIR_FALSE LIBC_STDIO_LIB LIBC_STDIO_DEF HAVE_STDIO_DIR_TRUE HAVE_STDIO_DIR_FALSE LIBC_STDIO64_LIB LIBC_STDIO64_DEF HAVE_STDIO64_DIR_TRUE HAVE_STDIO64_DIR_FALSE LIBC_SYSCALL_LIB HAVE_SYSCALL_DIR_TRUE HAVE_SYSCALL_DIR_FALSE LIBC_UNIX_LIB HAVE_UNIX_DIR_TRUE HAVE_UNIX_DIR_FALSE LIBC_EXTRA_LIB LIBC_EXTRA_DEF extra_dir LIBC_SYS_LIB ENABLE_NEWLIB_ICONV_TRUE ENABLE_NEWLIB_ICONV_FALSE LIBC_MACHINE_LIB 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-newlib-io-pos-args enable printf-family positional arg support
1013 --enable-multilib build many library versions (default)
1014 --enable-target-optspace optimize for space
1015 --enable-malloc-debugging indicate malloc debugging requested
1016 --enable-newlib-multithread enable support for multiple threads
1017 --enable-newlib-iconv enable iconv library support
1018 --enable-newlib-elix-level supply desired elix library level (1-4)
1019 --disable-newlib-io-float disable printf/scanf family float support
1020 --disable-newlib-supplied-syscalls disable newlib from supplying syscalls
1021 --disable-dependency-tracking speeds up one-time build
1022 --enable-dependency-tracking do not reject slow dependency extractors
1023 --enable-maintainer-mode enable make rules and dependencies not useful
1024 (and sometimes confusing) to the casual installer
1025 --enable-shared[=PKGS]
1026 build shared libraries [default=yes]
1027 --enable-static[=PKGS]
1028 build static libraries [default=yes]
1029 --enable-fast-install[=PKGS]
1030 optimize for fast installation [default=yes]
1031 --disable-libtool-lock avoid locking (might break parallel builds)
1034 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1035 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1036 --with-pic try to use only PIC/non-PIC objects [default=use
1038 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1040 Some influential environment variables:
1041 CCAS assembler compiler command (defaults to CC)
1042 CCASFLAGS assembler compiler flags (defaults to CFLAGS)
1043 CC C compiler command
1044 CFLAGS C compiler flags
1045 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1046 nonstandard directory <lib dir>
1047 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1048 headers in a nonstandard directory <include dir>
1051 Use these variables to override the choices made by `configure' or to help
1052 it to find libraries and programs with nonstandard names/locations.
1057 if test "$ac_init_help" = "recursive"; then
1058 # If there are subdirs, report their specific --help.
1060 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1061 test -d $ac_dir || continue
1064 if test "$ac_dir" != .; then
1065 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1066 # A "../" for each directory in $ac_dir_suffix.
1067 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1069 ac_dir_suffix= ac_top_builddir=
1073 .) # No --srcdir option. We are building in place.
1075 if test -z "$ac_top_builddir"; then
1078 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1080 [\\/]* | ?:[\\/]* ) # Absolute path.
1081 ac_srcdir=$srcdir$ac_dir_suffix;
1082 ac_top_srcdir=$srcdir ;;
1084 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1085 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1088 # Do not use `cd foo && pwd` to compute absolute paths, because
1089 # the directories may not exist.
1091 .) ac_abs_builddir="$ac_dir";;
1094 .) ac_abs_builddir=`pwd`;;
1095 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1096 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1099 case $ac_abs_builddir in
1100 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1102 case ${ac_top_builddir}. in
1103 .) ac_abs_top_builddir=$ac_abs_builddir;;
1104 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1105 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1108 case $ac_abs_builddir in
1109 .) ac_abs_srcdir=$ac_srcdir;;
1112 .) ac_abs_srcdir=$ac_abs_builddir;;
1113 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1114 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1117 case $ac_abs_builddir in
1118 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1120 case $ac_top_srcdir in
1121 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1122 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1123 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1128 # Check for guested configure; otherwise get Cygnus style configure.
1129 if test -f $ac_srcdir/configure.gnu; then
1131 $SHELL $ac_srcdir/configure.gnu --help=recursive
1132 elif test -f $ac_srcdir/configure; then
1134 $SHELL $ac_srcdir/configure --help=recursive
1135 elif test -f $ac_srcdir/configure.ac ||
1136 test -f $ac_srcdir/configure.in; then
1138 $ac_configure --help
1140 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1146 test -n "$ac_init_help" && exit 0
1147 if $ac_init_version; then
1149 newlib configure 1.15.0
1150 generated by GNU Autoconf 2.59
1152 Copyright (C) 2003 Free Software Foundation, Inc.
1153 This configure script is free software; the Free Software Foundation
1154 gives unlimited permission to copy, distribute and modify it.
1160 This file contains any messages produced by compilers while
1161 running configure, to aid debugging if configure makes a mistake.
1163 It was created by newlib $as_me 1.15.0, which was
1164 generated by GNU Autoconf 2.59. Invocation command line was
1175 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1176 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1177 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1178 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1179 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1181 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1182 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1184 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1185 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1186 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1187 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1188 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1189 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1190 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1198 test -z "$as_dir" && as_dir=.
1199 echo "PATH: $as_dir"
1214 # Keep a trace of the command line.
1215 # Strip out --no-create and --no-recursion so they do not pile up.
1216 # Strip out --silent because we don't want to record it for future runs.
1217 # Also quote any args containing shell meta-characters.
1218 # Make two passes to allow for proper duplicate-argument suppression.
1223 ac_must_keep_next=false
1229 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1230 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1231 | -silent | --silent | --silen | --sile | --sil)
1233 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1234 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1237 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1239 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1240 if test $ac_must_keep_next = true; then
1241 ac_must_keep_next=false # Got value, back to normal.
1244 *=* | --config-cache | -C | -disable-* | --disable-* \
1245 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1246 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1247 | -with-* | --with-* | -without-* | --without-* | --x)
1248 case "$ac_configure_args0 " in
1249 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1252 -* ) ac_must_keep_next=true ;;
1255 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1256 # Get rid of the leading space.
1262 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1263 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1265 # When interrupted or exit'd, cleanup temporary files, and complete
1266 # config.log. We remove comments because anyway the quotes in there
1267 # would cause problems or look ugly.
1268 # WARNING: Be sure not to use single quotes in there, as some shells,
1269 # such as our DU 5.0 friend, will then `close' the trap.
1270 trap 'exit_status=$?
1271 # Save into config.log some information that might help in debugging.
1276 ## ---------------- ##
1277 ## Cache variables. ##
1278 ## ---------------- ##
1281 # The following way of writing the cache mishandles newlines in values,
1284 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1287 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1288 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1292 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1299 ## ----------------- ##
1300 ## Output variables. ##
1301 ## ----------------- ##
1304 for ac_var in $ac_subst_vars
1306 eval ac_val=$`echo $ac_var`
1307 echo "$ac_var='"'"'$ac_val'"'"'"
1311 if test -n "$ac_subst_files"; then
1318 for ac_var in $ac_subst_files
1320 eval ac_val=$`echo $ac_var`
1321 echo "$ac_var='"'"'$ac_val'"'"'"
1326 if test -s confdefs.h; then
1333 sed "/^$/d" confdefs.h | sort
1336 test "$ac_signal" != 0 &&
1337 echo "$as_me: caught signal $ac_signal"
1338 echo "$as_me: exit $exit_status"
1340 rm -f core *.core &&
1341 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1344 for ac_signal in 1 2 13 15; do
1345 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1349 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1350 rm -rf conftest* confdefs.h
1351 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1354 # Predefined preprocessor variables.
1356 cat >>confdefs.h <<_ACEOF
1357 #define PACKAGE_NAME "$PACKAGE_NAME"
1361 cat >>confdefs.h <<_ACEOF
1362 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1366 cat >>confdefs.h <<_ACEOF
1367 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1371 cat >>confdefs.h <<_ACEOF
1372 #define PACKAGE_STRING "$PACKAGE_STRING"
1376 cat >>confdefs.h <<_ACEOF
1377 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1381 # Let the site file select an alternate cache file if it wants to.
1382 # Prefer explicitly selected file to automatically selected ones.
1383 if test -z "$CONFIG_SITE"; then
1384 if test "x$prefix" != xNONE; then
1385 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1387 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1390 for ac_site_file in $CONFIG_SITE; do
1391 if test -r "$ac_site_file"; then
1392 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1393 echo "$as_me: loading site script $ac_site_file" >&6;}
1394 sed 's/^/| /' "$ac_site_file" >&5
1399 if test -r "$cache_file"; then
1400 # Some versions of bash will fail to source /dev/null (special
1401 # files actually), so we avoid doing that.
1402 if test -f "$cache_file"; then
1403 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1404 echo "$as_me: loading cache $cache_file" >&6;}
1406 [\\/]* | ?:[\\/]* ) . $cache_file;;
1407 *) . ./$cache_file;;
1411 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1412 echo "$as_me: creating cache $cache_file" >&6;}
1416 # Check that the precious variables saved in the cache have kept the same
1418 ac_cache_corrupted=false
1419 for ac_var in `(set) 2>&1 |
1420 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1421 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1422 eval ac_new_set=\$ac_env_${ac_var}_set
1423 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1424 eval ac_new_val="\$ac_env_${ac_var}_value"
1425 case $ac_old_set,$ac_new_set in
1427 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1428 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1429 ac_cache_corrupted=: ;;
1431 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1432 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1433 ac_cache_corrupted=: ;;
1436 if test "x$ac_old_val" != "x$ac_new_val"; then
1437 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1438 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1439 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1440 echo "$as_me: former value: $ac_old_val" >&2;}
1441 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1442 echo "$as_me: current value: $ac_new_val" >&2;}
1443 ac_cache_corrupted=:
1446 # Pass precious variables to config.status.
1447 if test "$ac_new_set" = set; then
1449 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1450 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1451 *) ac_arg=$ac_var=$ac_new_val ;;
1453 case " $ac_configure_args " in
1454 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1455 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1459 if $ac_cache_corrupted; then
1460 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1461 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1462 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1463 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1464 { (exit 1); exit 1; }; }
1468 ac_cpp='$CPP $CPPFLAGS'
1469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1502 for ac_dir in ../.. $srcdir/../..; do
1503 if test -f $ac_dir/install-sh; then
1505 ac_install_sh="$ac_aux_dir/install-sh -c"
1507 elif test -f $ac_dir/install.sh; then
1509 ac_install_sh="$ac_aux_dir/install.sh -c"
1511 elif test -f $ac_dir/shtool; then
1513 ac_install_sh="$ac_aux_dir/shtool install -c"
1517 if test -z "$ac_aux_dir"; then
1518 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ../.. $srcdir/../.." >&5
1519 echo "$as_me: error: cannot find install-sh or install.sh in ../.. $srcdir/../.." >&2;}
1520 { (exit 1); exit 1; }; }
1522 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1523 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1524 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1527 # Check whether --enable-newlib-io-pos-args or --disable-newlib-io-pos-args was given.
1528 if test "${enable_newlib_io_pos_args+set}" = set; then
1529 enableval="$enable_newlib_io_pos_args"
1530 case "${enableval}" in
1531 yes) newlib_io_pos_args=yes ;;
1532 no) newlib_io_pos_args=no ;;
1533 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-io-pos-args option" >&5
1534 echo "$as_me: error: bad value ${enableval} for newlib-io-pos-args option" >&2;}
1535 { (exit 1); exit 1; }; } ;;
1538 newlib_io_pos_args=no
1541 # Make sure we can run config.sub.
1542 $ac_config_sub sun4 >/dev/null 2>&1 ||
1543 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1544 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1545 { (exit 1); exit 1; }; }
1547 echo "$as_me:$LINENO: checking build system type" >&5
1548 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1549 if test "${ac_cv_build+set}" = set; then
1550 echo $ECHO_N "(cached) $ECHO_C" >&6
1552 ac_cv_build_alias=$build_alias
1553 test -z "$ac_cv_build_alias" &&
1554 ac_cv_build_alias=`$ac_config_guess`
1555 test -z "$ac_cv_build_alias" &&
1556 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1557 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1558 { (exit 1); exit 1; }; }
1559 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1560 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1561 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1562 { (exit 1); exit 1; }; }
1565 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1566 echo "${ECHO_T}$ac_cv_build" >&6
1568 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1569 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1570 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1573 am__api_version="1.9"
1574 # Find a good install program. We prefer a C program (faster),
1575 # so one script is as good as another. But avoid the broken or
1576 # incompatible versions:
1577 # SysV /etc/install, /usr/sbin/install
1578 # SunOS /usr/etc/install
1579 # IRIX /sbin/install
1581 # AmigaOS /C/install, which installs bootblocks on floppy discs
1582 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1583 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1584 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1585 # OS/2's system install, which has a completely different semantic
1586 # ./install, which can be erroneously created by make from ./install.sh.
1587 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1588 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1589 if test -z "$INSTALL"; then
1590 if test "${ac_cv_path_install+set}" = set; then
1591 echo $ECHO_N "(cached) $ECHO_C" >&6
1593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1597 test -z "$as_dir" && as_dir=.
1598 # Account for people who put trailing slashes in PATH elements.
1600 ./ | .// | /cC/* | \
1601 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1602 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1605 # OSF1 and SCO ODT 3.0 have their own names for install.
1606 # Don't use installbsd from OSF since it installs stuff as root
1608 for ac_prog in ginstall scoinst install; do
1609 for ac_exec_ext in '' $ac_executable_extensions; do
1610 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1611 if test $ac_prog = install &&
1612 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1613 # AIX install. It has an incompatible calling convention.
1615 elif test $ac_prog = install &&
1616 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1617 # program-specific install script used by HP pwplus--don't use.
1620 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1632 if test "${ac_cv_path_install+set}" = set; then
1633 INSTALL=$ac_cv_path_install
1635 # As a last resort, use the slow shell script. We don't cache a
1636 # path for INSTALL within a source directory, because that will
1637 # break other packages using the cache if that directory is
1638 # removed, or if the path is relative.
1639 INSTALL=$ac_install_sh
1642 echo "$as_me:$LINENO: result: $INSTALL" >&5
1643 echo "${ECHO_T}$INSTALL" >&6
1645 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1646 # It thinks the first close brace ends the variable substitution.
1647 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1649 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1651 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1653 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1654 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1657 echo timestamp > conftest.file
1658 # Do `set' in a subshell so we don't clobber the current shell's
1659 # arguments. Must try -L first in case configure is actually a
1660 # symlink; some systems play weird games with the mod time of symlinks
1661 # (eg FreeBSD returns the mod time of the symlink's containing
1664 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1665 if test "$*" = "X"; then
1667 set X `ls -t $srcdir/configure conftest.file`
1670 if test "$*" != "X $srcdir/configure conftest.file" \
1671 && test "$*" != "X conftest.file $srcdir/configure"; then
1673 # If neither matched, then we have a broken ls. This can happen
1674 # if, for instance, CONFIG_SHELL is bash and it inherits a
1675 # broken ls alias from the environment. This has actually
1676 # happened. Such a system could not be considered "sane".
1677 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1678 alias in your environment" >&5
1679 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1680 alias in your environment" >&2;}
1681 { (exit 1); exit 1; }; }
1684 test "$2" = conftest.file
1690 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1691 Check your system clock" >&5
1692 echo "$as_me: error: newly created file is older than distributed files!
1693 Check your system clock" >&2;}
1694 { (exit 1); exit 1; }; }
1696 echo "$as_me:$LINENO: result: yes" >&5
1697 echo "${ECHO_T}yes" >&6
1698 test "$program_prefix" != NONE &&
1699 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1700 # Use a double $ so make ignores it.
1701 test "$program_suffix" != NONE &&
1702 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1703 # Double any \ or $. echo might interpret backslashes.
1704 # By default was `s,x,x', remove it if useless.
1705 cat <<\_ACEOF >conftest.sed
1706 s/[\\$]/&&/g;s/;s,x,x,$//
1708 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1711 # expand $ac_aux_dir to an absolute path
1712 am_aux_dir=`cd $ac_aux_dir && pwd`
1714 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1715 # Use eval to expand $SHELL
1716 if eval "$MISSING --run true"; then
1717 am_missing_run="$MISSING --run "
1720 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1721 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1724 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1725 # We used to keeping the `.' as first argument, in order to
1726 # allow $(mkdir_p) to be used without argument. As in
1727 # $(mkdir_p) $(somedir)
1728 # where $(somedir) is conditionally defined. However this is wrong
1730 # 1. if the package is installed by a user who cannot write `.'
1731 # make install will fail,
1732 # 2. the above comment should most certainly read
1733 # $(mkdir_p) $(DESTDIR)$(somedir)
1734 # so it does not work when $(somedir) is undefined and
1735 # $(DESTDIR) is not.
1736 # To support the latter case, we have to write
1737 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1738 # so the `.' trick is pointless.
1739 mkdir_p='mkdir -p --'
1741 # On NextStep and OpenStep, the `mkdir' command does not
1742 # recognize any option. It will interpret all options as
1743 # directories to create, and then abort because `.' already
1745 for d in ./-p ./--version;
1747 test -d $d && rmdir $d
1749 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1750 if test -f "$ac_aux_dir/mkinstalldirs"; then
1751 mkdir_p='$(mkinstalldirs)'
1753 mkdir_p='$(install_sh) -d'
1757 for ac_prog in gawk mawk nawk awk
1759 # Extract the first word of "$ac_prog", so it can be a program name with args.
1760 set dummy $ac_prog; ac_word=$2
1761 echo "$as_me:$LINENO: checking for $ac_word" >&5
1762 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1763 if test "${ac_cv_prog_AWK+set}" = set; then
1764 echo $ECHO_N "(cached) $ECHO_C" >&6
1766 if test -n "$AWK"; then
1767 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1773 test -z "$as_dir" && as_dir=.
1774 for ac_exec_ext in '' $ac_executable_extensions; do
1775 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1776 ac_cv_prog_AWK="$ac_prog"
1777 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1786 if test -n "$AWK"; then
1787 echo "$as_me:$LINENO: result: $AWK" >&5
1788 echo "${ECHO_T}$AWK" >&6
1790 echo "$as_me:$LINENO: result: no" >&5
1791 echo "${ECHO_T}no" >&6
1794 test -n "$AWK" && break
1797 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1798 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1799 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1800 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1801 echo $ECHO_N "(cached) $ECHO_C" >&6
1803 cat >conftest.make <<\_ACEOF
1805 @echo 'ac_maketemp="$(MAKE)"'
1807 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1808 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1809 if test -n "$ac_maketemp"; then
1810 eval ac_cv_prog_make_${ac_make}_set=yes
1812 eval ac_cv_prog_make_${ac_make}_set=no
1816 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1817 echo "$as_me:$LINENO: result: yes" >&5
1818 echo "${ECHO_T}yes" >&6
1821 echo "$as_me:$LINENO: result: no" >&5
1822 echo "${ECHO_T}no" >&6
1823 SET_MAKE="MAKE=${MAKE-make}"
1826 rm -rf .tst 2>/dev/null
1827 mkdir .tst 2>/dev/null
1828 if test -d .tst; then
1833 rmdir .tst 2>/dev/null
1835 DEPDIR="${am__leading_dot}deps"
1837 ac_config_commands="$ac_config_commands depfiles"
1840 am_make=${MAKE-make}
1841 cat > confinc << 'END'
1846 # If we don't find an include directive, just comment out the code.
1847 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
1848 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
1852 # First try GNU make style include.
1853 echo "include confinc" > confmf
1854 # We grep out `Entering directory' and `Leaving directory'
1855 # messages which can occur if `w' ends up in MAKEFLAGS.
1856 # In particular we don't look at `^make:' because GNU make might
1857 # be invoked under some other name (usually "gmake"), in which
1858 # case it prints its new name instead of `make'.
1859 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
1864 # Now try BSD make style include.
1865 if test "$am__include" = "#"; then
1866 echo '.include "confinc"' > confmf
1867 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
1868 am__include=.include
1875 echo "$as_me:$LINENO: result: $_am_result" >&5
1876 echo "${ECHO_T}$_am_result" >&6
1877 rm -f confinc confmf
1879 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1880 if test "${enable_dependency_tracking+set}" = set; then
1881 enableval="$enable_dependency_tracking"
1884 if test "x$enable_dependency_tracking" != xno; then
1885 am_depcomp="$ac_aux_dir/depcomp"
1890 if test "x$enable_dependency_tracking" != xno; then
1901 # Check whether --enable-multilib or --disable-multilib was given.
1902 if test "${enable_multilib+set}" = set; then
1903 enableval="$enable_multilib"
1904 case "${enableval}" in
1905 yes) multilib=yes ;;
1907 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for multilib option" >&5
1908 echo "$as_me: error: bad value ${enableval} for multilib option" >&2;}
1909 { (exit 1); exit 1; }; } ;;
1914 # Check whether --enable-target-optspace or --disable-target-optspace was given.
1915 if test "${enable_target_optspace+set}" = set; then
1916 enableval="$enable_target_optspace"
1917 case "${enableval}" in
1918 yes) target_optspace=yes ;;
1919 no) target_optspace=no ;;
1920 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for target-optspace option" >&5
1921 echo "$as_me: error: bad value ${enableval} for target-optspace option" >&2;}
1922 { (exit 1); exit 1; }; } ;;
1927 # Check whether --enable-malloc-debugging or --disable-malloc-debugging was given.
1928 if test "${enable_malloc_debugging+set}" = set; then
1929 enableval="$enable_malloc_debugging"
1930 case "${enableval}" in
1931 yes) malloc_debugging=yes ;;
1932 no) malloc_debugging=no ;;
1933 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for malloc-debugging option" >&5
1934 echo "$as_me: error: bad value ${enableval} for malloc-debugging option" >&2;}
1935 { (exit 1); exit 1; }; } ;;
1940 # Check whether --enable-newlib-multithread or --disable-newlib-multithread was given.
1941 if test "${enable_newlib_multithread+set}" = set; then
1942 enableval="$enable_newlib_multithread"
1943 case "${enableval}" in
1944 yes) newlib_multithread=yes ;;
1945 no) newlib_multithread=no ;;
1946 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-multithread option" >&5
1947 echo "$as_me: error: bad value ${enableval} for newlib-multithread option" >&2;}
1948 { (exit 1); exit 1; }; } ;;
1951 newlib_multithread=yes
1953 # Check whether --enable-newlib-iconv or --disable-newlib-iconv was given.
1954 if test "${enable_newlib_iconv+set}" = set; then
1955 enableval="$enable_newlib_iconv"
1956 if test "${newlib_iconv+set}" != set; then
1957 case "${enableval}" in
1958 yes) newlib_iconv=yes ;;
1959 no) newlib_iconv=no ;;
1960 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-iconv option" >&5
1961 echo "$as_me: error: bad value ${enableval} for newlib-iconv option" >&2;}
1962 { (exit 1); exit 1; }; } ;;
1966 newlib_iconv=${newlib_iconv}
1968 # Check whether --enable-newlib-elix-level or --disable-newlib-elix-level was given.
1969 if test "${enable_newlib_elix_level+set}" = set; then
1970 enableval="$enable_newlib_elix_level"
1971 case "${enableval}" in
1972 0) newlib_elix_level=0 ;;
1973 1) newlib_elix_level=1 ;;
1974 2) newlib_elix_level=2 ;;
1975 3) newlib_elix_level=3 ;;
1976 4) newlib_elix_level=4 ;;
1977 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-elix-level option" >&5
1978 echo "$as_me: error: bad value ${enableval} for newlib-elix-level option" >&2;}
1979 { (exit 1); exit 1; }; } ;;
1984 # Check whether --enable-newlib-io-float or --disable-newlib-io-float was given.
1985 if test "${enable_newlib_io_float+set}" = set; then
1986 enableval="$enable_newlib_io_float"
1987 case "${enableval}" in
1988 yes) newlib_io_float=yes ;;
1989 no) newlib_io_float=no ;;
1990 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-io-float option" >&5
1991 echo "$as_me: error: bad value ${enableval} for newlib-io-float option" >&2;}
1992 { (exit 1); exit 1; }; } ;;
1997 # Check whether --enable-newlib-supplied-syscalls or --disable-newlib-supplied-syscalls was given.
1998 if test "${enable_newlib_supplied_syscalls+set}" = set; then
1999 enableval="$enable_newlib_supplied_syscalls"
2000 case "${enableval}" in
2001 yes) newlib_may_supply_syscalls=yes ;;
2002 no) newlib_may_supply_syscalls=no ;;
2003 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-supplied-syscalls option" >&5
2004 echo "$as_me: error: bad value ${enableval} for newlib-supplied-syscalls option" >&2;}
2005 { (exit 1); exit 1; }; } ;;
2008 newlib_may_supply_syscalls=yes
2012 if test x${newlib_may_supply_syscalls} = xyes; then
2013 MAY_SUPPLY_SYSCALLS_TRUE=
2014 MAY_SUPPLY_SYSCALLS_FALSE='#'
2016 MAY_SUPPLY_SYSCALLS_TRUE='#'
2017 MAY_SUPPLY_SYSCALLS_FALSE=
2022 test -z "${with_target_subdir}" && with_target_subdir=.
2024 if test "${srcdir}" = "."; then
2025 if test "${with_target_subdir}" != "."; then
2026 newlib_basedir="${srcdir}/${with_multisrctop}../.."
2028 newlib_basedir="${srcdir}/${with_multisrctop}.."
2031 newlib_basedir="${srcdir}/.."
2035 echo "$as_me:$LINENO: checking host system type" >&5
2036 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2037 if test "${ac_cv_host+set}" = set; then
2038 echo $ECHO_N "(cached) $ECHO_C" >&6
2040 ac_cv_host_alias=$host_alias
2041 test -z "$ac_cv_host_alias" &&
2042 ac_cv_host_alias=$ac_cv_build_alias
2043 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
2044 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2045 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2046 { (exit 1); exit 1; }; }
2049 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2050 echo "${ECHO_T}$ac_cv_host" >&6
2052 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2053 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2054 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2058 # test to see if srcdir already configured
2059 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2060 test -f $srcdir/config.status; then
2061 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2062 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2063 { (exit 1); exit 1; }; }
2066 # test whether we have cygpath
2067 if test -z "$CYGPATH_W"; then
2068 if (cygpath --version) >/dev/null 2>/dev/null; then
2069 CYGPATH_W='cygpath -w'
2076 # Define the identity of the package.
2081 # Some tools Automake needs.
2083 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2086 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2089 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2092 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2095 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2097 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2099 # Installed binaries are usually stripped using `strip' when the user
2100 # run `make install-strip'. However `strip' might not be the right
2101 # tool to use in cross-compilation environments, therefore Automake
2102 # will honor the `STRIP' environment variable to overrule this program.
2103 if test "$cross_compiling" != no; then
2104 if test -n "$ac_tool_prefix"; then
2105 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2106 set dummy ${ac_tool_prefix}strip; ac_word=$2
2107 echo "$as_me:$LINENO: checking for $ac_word" >&5
2108 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2109 if test "${ac_cv_prog_STRIP+set}" = set; then
2110 echo $ECHO_N "(cached) $ECHO_C" >&6
2112 if test -n "$STRIP"; then
2113 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2119 test -z "$as_dir" && as_dir=.
2120 for ac_exec_ext in '' $ac_executable_extensions; do
2121 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2122 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2123 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2131 STRIP=$ac_cv_prog_STRIP
2132 if test -n "$STRIP"; then
2133 echo "$as_me:$LINENO: result: $STRIP" >&5
2134 echo "${ECHO_T}$STRIP" >&6
2136 echo "$as_me:$LINENO: result: no" >&5
2137 echo "${ECHO_T}no" >&6
2141 if test -z "$ac_cv_prog_STRIP"; then
2143 # Extract the first word of "strip", so it can be a program name with args.
2144 set dummy strip; ac_word=$2
2145 echo "$as_me:$LINENO: checking for $ac_word" >&5
2146 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2147 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2148 echo $ECHO_N "(cached) $ECHO_C" >&6
2150 if test -n "$ac_ct_STRIP"; then
2151 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2157 test -z "$as_dir" && as_dir=.
2158 for ac_exec_ext in '' $ac_executable_extensions; do
2159 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2160 ac_cv_prog_ac_ct_STRIP="strip"
2161 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2167 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2170 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2171 if test -n "$ac_ct_STRIP"; then
2172 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2173 echo "${ECHO_T}$ac_ct_STRIP" >&6
2175 echo "$as_me:$LINENO: result: no" >&5
2176 echo "${ECHO_T}no" >&6
2181 STRIP="$ac_cv_prog_STRIP"
2185 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2187 # We need awk for the "check" target. The system "awk" is bad on
2189 # Always define AMTAR for backward compatibility.
2191 AMTAR=${AMTAR-"${am_missing_run}tar"}
2193 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2200 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
2201 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
2202 # are probably using a cross compiler, which will not be able to fully
2203 # link an executable. This should really be fixed in autoconf
2212 # Extract the first word of "gcc", so it can be a program name with args.
2213 set dummy gcc; ac_word=$2
2214 echo "$as_me:$LINENO: checking for $ac_word" >&5
2215 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2216 if test "${ac_cv_prog_CC+set}" = set; then
2217 echo $ECHO_N "(cached) $ECHO_C" >&6
2219 if test -n "$CC"; then
2220 ac_cv_prog_CC="$CC" # Let the user override the test.
2222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2226 test -z "$as_dir" && as_dir=.
2227 for ac_exec_ext in '' $ac_executable_extensions; do
2228 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2230 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2239 if test -n "$CC"; then
2240 echo "$as_me:$LINENO: result: $CC" >&5
2241 echo "${ECHO_T}$CC" >&6
2243 echo "$as_me:$LINENO: result: no" >&5
2244 echo "${ECHO_T}no" >&6
2248 depcc="$CC" am_compiler_list=
2250 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2251 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2252 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2253 echo $ECHO_N "(cached) $ECHO_C" >&6
2255 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2256 # We make a subdir and do the tests there. Otherwise we can end up
2257 # making bogus files that we don't know about and never remove. For
2258 # instance it was reported that on HP-UX the gcc test will end up
2259 # making a dummy file named `D' -- because `-MD' means `put the output
2262 # Copy depcomp to subdir because otherwise we won't find it if we're
2263 # using a relative directory.
2264 cp "$am_depcomp" conftest.dir
2266 # We will build objects and dependencies in a subdirectory because
2267 # it helps to detect inapplicable dependency modes. For instance
2268 # both Tru64's cc and ICC support -MD to output dependencies as a
2269 # side effect of compilation, but ICC will put the dependencies in
2270 # the current directory while Tru64 will put them in the object
2274 am_cv_CC_dependencies_compiler_type=none
2275 if test "$am_compiler_list" = ""; then
2276 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2278 for depmode in $am_compiler_list; do
2279 # Setup a source with many dependencies, because some compilers
2280 # like to wrap large dependency lists on column 80 (with \), and
2281 # we should not choose a depcomp mode which is confused by this.
2283 # We need to recreate these files for each test, as the compiler may
2284 # overwrite some of them when testing with obscure command lines.
2285 # This happens at least with the AIX C compiler.
2287 for i in 1 2 3 4 5 6; do
2288 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2289 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2290 # Solaris 8's {/usr,}/bin/sh.
2291 touch sub/conftst$i.h
2293 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2297 # after this tag, mechanisms are not by side-effect, so they'll
2298 # only be used when explicitly requested
2299 if test "x$enable_dependency_tracking" = xyes; then
2307 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2308 # mode. It turns out that the SunPro C++ compiler does not properly
2309 # handle `-M -o', and we need to detect this.
2310 if depmode=$depmode \
2311 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2312 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2313 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2314 >/dev/null 2>conftest.err &&
2315 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2316 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2317 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2318 # icc doesn't choke on unknown options, it will just issue warnings
2319 # or remarks (even with -Werror). So we grep stderr for any message
2320 # that says an option was ignored or not supported.
2321 # When given -MP, icc 7.0 and 7.1 complain thusly:
2322 # icc: Command line warning: ignoring option '-M'; no argument required
2323 # The diagnosis changed in icc 8.0:
2324 # icc: Command line remark: option '-MP' not supported
2325 if (grep 'ignoring option' conftest.err ||
2326 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2327 am_cv_CC_dependencies_compiler_type=$depmode
2336 am_cv_CC_dependencies_compiler_type=none
2340 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2341 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2342 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2347 test "x$enable_dependency_tracking" != xno \
2348 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2350 am__fastdepCC_FALSE='#'
2352 am__fastdepCC_TRUE='#'
2353 am__fastdepCC_FALSE=
2357 if test -z "$CC"; then
2358 # Extract the first word of "cc", so it can be a program name with args.
2359 set dummy cc; ac_word=$2
2360 echo "$as_me:$LINENO: checking for $ac_word" >&5
2361 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2362 if test "${ac_cv_prog_CC+set}" = set; then
2363 echo $ECHO_N "(cached) $ECHO_C" >&6
2365 if test -n "$CC"; then
2366 ac_cv_prog_CC="$CC" # Let the user override the test.
2369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2373 test -z "$as_dir" && as_dir=.
2374 for ac_exec_ext in '' $ac_executable_extensions; do
2375 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2376 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2377 ac_prog_rejected=yes
2381 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2387 if test $ac_prog_rejected = yes; then
2388 # We found a bogon in the path, so make sure we never use it.
2389 set dummy $ac_cv_prog_CC
2391 if test $# != 0; then
2392 # We chose a different compiler from the bogus one.
2393 # However, it has the same basename, so the bogon will be chosen
2394 # first if we set CC to just the basename; use the full file name.
2396 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2402 if test -n "$CC"; then
2403 echo "$as_me:$LINENO: result: $CC" >&5
2404 echo "${ECHO_T}$CC" >&6
2406 echo "$as_me:$LINENO: result: no" >&5
2407 echo "${ECHO_T}no" >&6
2410 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
2411 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
2412 { (exit 1); exit 1; }; }
2415 echo "$as_me:$LINENO: checking whether we are using GNU C" >&5
2416 echo $ECHO_N "checking whether we are using GNU C... $ECHO_C" >&6
2417 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2418 echo $ECHO_N "(cached) $ECHO_C" >&6
2420 cat > conftest.c <<EOF
2425 if { ac_try='${CC-cc} -E conftest.c'
2426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2430 (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
2431 ac_cv_c_compiler_gnu=yes
2433 ac_cv_c_compiler_gnu=no
2436 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2437 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2439 if test $ac_cv_c_compiler_gnu = yes; then
2441 ac_test_CFLAGS="${CFLAGS+set}"
2442 ac_save_CFLAGS="$CFLAGS"
2444 ac_test_CFLAGS=${CFLAGS+set}
2445 ac_save_CFLAGS=$CFLAGS
2447 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2448 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2449 if test "${ac_cv_prog_cc_g+set}" = set; then
2450 echo $ECHO_N "(cached) $ECHO_C" >&6
2452 cat >conftest.$ac_ext <<_ACEOF
2455 cat confdefs.h >>conftest.$ac_ext
2456 cat >>conftest.$ac_ext <<_ACEOF
2457 /* end confdefs.h. */
2467 rm -f conftest.$ac_objext
2468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2469 (eval $ac_compile) 2>conftest.er1
2471 grep -v '^ *+' conftest.er1 >conftest.err
2473 cat conftest.err >&5
2474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2475 (exit $ac_status); } &&
2476 { ac_try='test -z "$ac_c_werror_flag"
2477 || test ! -s conftest.err'
2478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2482 (exit $ac_status); }; } &&
2483 { ac_try='test -s conftest.$ac_objext'
2484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2488 (exit $ac_status); }; }; then
2491 echo "$as_me: failed program was:" >&5
2492 sed 's/^/| /' conftest.$ac_ext >&5
2496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2498 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2499 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2500 if test "$ac_test_CFLAGS" = set; then
2501 CFLAGS=$ac_save_CFLAGS
2502 elif test $ac_cv_prog_cc_g = yes; then
2503 if test "$GCC" = yes; then
2509 if test "$GCC" = yes; then
2515 if test "$ac_test_CFLAGS" = set; then
2516 CFLAGS="$ac_save_CFLAGS"
2517 elif test $ac_cv_prog_cc_g = yes; then
2524 test "${CFLAGS+set}" = set || CFLAGS="-g"
2528 if test -n "$ac_tool_prefix"; then
2529 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
2530 set dummy ${ac_tool_prefix}as; ac_word=$2
2531 echo "$as_me:$LINENO: checking for $ac_word" >&5
2532 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2533 if test "${ac_cv_prog_AS+set}" = set; then
2534 echo $ECHO_N "(cached) $ECHO_C" >&6
2536 if test -n "$AS"; then
2537 ac_cv_prog_AS="$AS" # Let the user override the test.
2539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2543 test -z "$as_dir" && as_dir=.
2544 for ac_exec_ext in '' $ac_executable_extensions; do
2545 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2546 ac_cv_prog_AS="${ac_tool_prefix}as"
2547 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2556 if test -n "$AS"; then
2557 echo "$as_me:$LINENO: result: $AS" >&5
2558 echo "${ECHO_T}$AS" >&6
2560 echo "$as_me:$LINENO: result: no" >&5
2561 echo "${ECHO_T}no" >&6
2565 if test -z "$ac_cv_prog_AS"; then
2567 # Extract the first word of "as", so it can be a program name with args.
2568 set dummy as; ac_word=$2
2569 echo "$as_me:$LINENO: checking for $ac_word" >&5
2570 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2571 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
2572 echo $ECHO_N "(cached) $ECHO_C" >&6
2574 if test -n "$ac_ct_AS"; then
2575 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
2577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2581 test -z "$as_dir" && as_dir=.
2582 for ac_exec_ext in '' $ac_executable_extensions; do
2583 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2584 ac_cv_prog_ac_ct_AS="as"
2585 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2593 ac_ct_AS=$ac_cv_prog_ac_ct_AS
2594 if test -n "$ac_ct_AS"; then
2595 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
2596 echo "${ECHO_T}$ac_ct_AS" >&6
2598 echo "$as_me:$LINENO: result: no" >&5
2599 echo "${ECHO_T}no" >&6
2607 if test -n "$ac_tool_prefix"; then
2608 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2609 set dummy ${ac_tool_prefix}ar; ac_word=$2
2610 echo "$as_me:$LINENO: checking for $ac_word" >&5
2611 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2612 if test "${ac_cv_prog_AR+set}" = set; then
2613 echo $ECHO_N "(cached) $ECHO_C" >&6
2615 if test -n "$AR"; then
2616 ac_cv_prog_AR="$AR" # Let the user override the test.
2618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2622 test -z "$as_dir" && as_dir=.
2623 for ac_exec_ext in '' $ac_executable_extensions; do
2624 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2625 ac_cv_prog_AR="${ac_tool_prefix}ar"
2626 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2635 if test -n "$AR"; then
2636 echo "$as_me:$LINENO: result: $AR" >&5
2637 echo "${ECHO_T}$AR" >&6
2639 echo "$as_me:$LINENO: result: no" >&5
2640 echo "${ECHO_T}no" >&6
2644 if test -z "$ac_cv_prog_AR"; then
2646 # Extract the first word of "ar", so it can be a program name with args.
2647 set dummy ar; ac_word=$2
2648 echo "$as_me:$LINENO: checking for $ac_word" >&5
2649 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2650 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
2651 echo $ECHO_N "(cached) $ECHO_C" >&6
2653 if test -n "$ac_ct_AR"; then
2654 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
2656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2660 test -z "$as_dir" && as_dir=.
2661 for ac_exec_ext in '' $ac_executable_extensions; do
2662 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2663 ac_cv_prog_ac_ct_AR="ar"
2664 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2672 ac_ct_AR=$ac_cv_prog_ac_ct_AR
2673 if test -n "$ac_ct_AR"; then
2674 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
2675 echo "${ECHO_T}$ac_ct_AR" >&6
2677 echo "$as_me:$LINENO: result: no" >&5
2678 echo "${ECHO_T}no" >&6
2686 if test -n "$ac_tool_prefix"; then
2687 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2688 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2689 echo "$as_me:$LINENO: checking for $ac_word" >&5
2690 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2691 if test "${ac_cv_prog_RANLIB+set}" = set; then
2692 echo $ECHO_N "(cached) $ECHO_C" >&6
2694 if test -n "$RANLIB"; then
2695 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2701 test -z "$as_dir" && as_dir=.
2702 for ac_exec_ext in '' $ac_executable_extensions; do
2703 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2704 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2705 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2713 RANLIB=$ac_cv_prog_RANLIB
2714 if test -n "$RANLIB"; then
2715 echo "$as_me:$LINENO: result: $RANLIB" >&5
2716 echo "${ECHO_T}$RANLIB" >&6
2718 echo "$as_me:$LINENO: result: no" >&5
2719 echo "${ECHO_T}no" >&6
2723 if test -z "$ac_cv_prog_RANLIB"; then
2724 ac_ct_RANLIB=$RANLIB
2725 # Extract the first word of "ranlib", so it can be a program name with args.
2726 set dummy ranlib; ac_word=$2
2727 echo "$as_me:$LINENO: checking for $ac_word" >&5
2728 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2729 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2730 echo $ECHO_N "(cached) $ECHO_C" >&6
2732 if test -n "$ac_ct_RANLIB"; then
2733 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2739 test -z "$as_dir" && as_dir=.
2740 for ac_exec_ext in '' $ac_executable_extensions; do
2741 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2742 ac_cv_prog_ac_ct_RANLIB="ranlib"
2743 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2749 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
2752 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2753 if test -n "$ac_ct_RANLIB"; then
2754 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2755 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2757 echo "$as_me:$LINENO: result: no" >&5
2758 echo "${ECHO_T}no" >&6
2761 RANLIB=$ac_ct_RANLIB
2763 RANLIB="$ac_cv_prog_RANLIB"
2766 if test -n "$ac_tool_prefix"; then
2767 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
2768 set dummy ${ac_tool_prefix}readelf; ac_word=$2
2769 echo "$as_me:$LINENO: checking for $ac_word" >&5
2770 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2771 if test "${ac_cv_prog_READELF+set}" = set; then
2772 echo $ECHO_N "(cached) $ECHO_C" >&6
2774 if test -n "$READELF"; then
2775 ac_cv_prog_READELF="$READELF" # Let the user override the test.
2777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2781 test -z "$as_dir" && as_dir=.
2782 for ac_exec_ext in '' $ac_executable_extensions; do
2783 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2784 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
2785 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2793 READELF=$ac_cv_prog_READELF
2794 if test -n "$READELF"; then
2795 echo "$as_me:$LINENO: result: $READELF" >&5
2796 echo "${ECHO_T}$READELF" >&6
2798 echo "$as_me:$LINENO: result: no" >&5
2799 echo "${ECHO_T}no" >&6
2803 if test -z "$ac_cv_prog_READELF"; then
2804 ac_ct_READELF=$READELF
2805 # Extract the first word of "readelf", so it can be a program name with args.
2806 set dummy readelf; ac_word=$2
2807 echo "$as_me:$LINENO: checking for $ac_word" >&5
2808 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2809 if test "${ac_cv_prog_ac_ct_READELF+set}" = set; then
2810 echo $ECHO_N "(cached) $ECHO_C" >&6
2812 if test -n "$ac_ct_READELF"; then
2813 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
2815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2819 test -z "$as_dir" && as_dir=.
2820 for ac_exec_ext in '' $ac_executable_extensions; do
2821 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2822 ac_cv_prog_ac_ct_READELF="readelf"
2823 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2829 test -z "$ac_cv_prog_ac_ct_READELF" && ac_cv_prog_ac_ct_READELF=":"
2832 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
2833 if test -n "$ac_ct_READELF"; then
2834 echo "$as_me:$LINENO: result: $ac_ct_READELF" >&5
2835 echo "${ECHO_T}$ac_ct_READELF" >&6
2837 echo "$as_me:$LINENO: result: no" >&5
2838 echo "${ECHO_T}no" >&6
2841 READELF=$ac_ct_READELF
2843 READELF="$ac_cv_prog_READELF"
2847 # Find a good install program. We prefer a C program (faster),
2848 # so one script is as good as another. But avoid the broken or
2849 # incompatible versions:
2850 # SysV /etc/install, /usr/sbin/install
2851 # SunOS /usr/etc/install
2852 # IRIX /sbin/install
2854 # AmigaOS /C/install, which installs bootblocks on floppy discs
2855 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2856 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2857 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2858 # OS/2's system install, which has a completely different semantic
2859 # ./install, which can be erroneously created by make from ./install.sh.
2860 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2861 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2862 if test -z "$INSTALL"; then
2863 if test "${ac_cv_path_install+set}" = set; then
2864 echo $ECHO_N "(cached) $ECHO_C" >&6
2866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2870 test -z "$as_dir" && as_dir=.
2871 # Account for people who put trailing slashes in PATH elements.
2873 ./ | .// | /cC/* | \
2874 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2875 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2878 # OSF1 and SCO ODT 3.0 have their own names for install.
2879 # Don't use installbsd from OSF since it installs stuff as root
2881 for ac_prog in ginstall scoinst install; do
2882 for ac_exec_ext in '' $ac_executable_extensions; do
2883 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2884 if test $ac_prog = install &&
2885 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2886 # AIX install. It has an incompatible calling convention.
2888 elif test $ac_prog = install &&
2889 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2890 # program-specific install script used by HP pwplus--don't use.
2893 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2905 if test "${ac_cv_path_install+set}" = set; then
2906 INSTALL=$ac_cv_path_install
2908 # As a last resort, use the slow shell script. We don't cache a
2909 # path for INSTALL within a source directory, because that will
2910 # break other packages using the cache if that directory is
2911 # removed, or if the path is relative.
2912 INSTALL=$ac_install_sh
2915 echo "$as_me:$LINENO: result: $INSTALL" >&5
2916 echo "${ECHO_T}$INSTALL" >&6
2918 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2919 # It thinks the first close brace ends the variable substitution.
2920 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2922 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2924 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2927 # Hack to ensure that INSTALL won't be set to "../" with autoconf 2.13. */
2928 ac_given_INSTALL=$INSTALL
2930 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2931 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
2932 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
2933 if test "${enable_maintainer_mode+set}" = set; then
2934 enableval="$enable_maintainer_mode"
2935 USE_MAINTAINER_MODE=$enableval
2937 USE_MAINTAINER_MODE=no
2939 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2940 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
2943 if test $USE_MAINTAINER_MODE = yes; then
2944 MAINTAINER_MODE_TRUE=
2945 MAINTAINER_MODE_FALSE='#'
2947 MAINTAINER_MODE_TRUE='#'
2948 MAINTAINER_MODE_FALSE=
2951 MAINT=$MAINTAINER_MODE_TRUE
2954 # By default we simply use the C compiler to build assembly code.
2956 test "${CCAS+set}" = set || CCAS=$CC
2957 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
2962 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
2963 # at least currently, we never actually build a program, so we never
2964 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
2965 # fails, because we are probably configuring with a cross compiler
2966 # which can't create executables. So we include AC_EXEEXT to keep
2967 # automake happy, but we don't execute it, since we don't care about
2974 . ${newlib_basedir}/configure.host
2976 newlib_cflags="${newlib_cflags} -fno-builtin"
2978 NEWLIB_CFLAGS=${newlib_cflags}
2986 if test x${newlib_elix_level} = x0; then
2988 ELIX_LEVEL_0_FALSE='#'
2990 ELIX_LEVEL_0_TRUE='#'
2996 if test x${newlib_elix_level} = x1; then
2998 ELIX_LEVEL_1_FALSE='#'
3000 ELIX_LEVEL_1_TRUE='#'
3006 if test x${newlib_elix_level} = x2; then
3008 ELIX_LEVEL_2_FALSE='#'
3010 ELIX_LEVEL_2_TRUE='#'
3016 if test x${newlib_elix_level} = x3; then
3018 ELIX_LEVEL_3_FALSE='#'
3020 ELIX_LEVEL_3_TRUE='#'
3026 if test x${newlib_elix_level} = x4; then
3028 ELIX_LEVEL_4_FALSE='#'
3030 ELIX_LEVEL_4_TRUE='#'
3037 if test x${use_libtool} = xyes; then
3039 USE_LIBTOOL_FALSE='#'
3041 USE_LIBTOOL_TRUE='#'
3046 # Hard-code OBJEXT. Normally it is set by AC_OBJEXT, but we
3047 # use oext, which is set in configure.host based on the target platform.
3060 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3061 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3062 if test "${lt_cv_path_SED+set}" = set; then
3063 echo $ECHO_N "(cached) $ECHO_C" >&6
3065 # Loop through the user's path and test for sed and gsed.
3066 # Then use that list of sed's as ones to test for truncation.
3067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3071 test -z "$as_dir" && as_dir=.
3072 for lt_ac_prog in sed gsed; do
3073 for ac_exec_ext in '' $ac_executable_extensions; do
3074 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3075 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3083 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3084 # along with /bin/sed that truncates output.
3085 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3086 test ! -f $lt_ac_sed && continue
3087 cat /dev/null > conftest.in
3089 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3090 # Check for GNU sed and select it if it is found.
3091 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
3092 lt_cv_path_SED=$lt_ac_sed
3096 cat conftest.in conftest.in >conftest.tmp
3097 mv conftest.tmp conftest.in
3098 cp conftest.in conftest.nl
3100 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
3101 cmp -s conftest.out conftest.nl || break
3102 # 10000 chars as input seems more than enough
3103 test $lt_ac_count -gt 10 && break
3104 lt_ac_count=`expr $lt_ac_count + 1`
3105 if test $lt_ac_count -gt $lt_ac_max; then
3106 lt_ac_max=$lt_ac_count
3107 lt_cv_path_SED=$lt_ac_sed
3116 echo "$as_me:$LINENO: result: $SED" >&5
3117 echo "${ECHO_T}$SED" >&6
3119 test -z "$SED" && SED=sed
3120 Xsed="$SED -e 1s/^X//"
3132 if test "${use_libtool}" = "yes"; then
3133 enable_win32_dll=yes
3136 *-*-cygwin* | *-*-mingw* | *-*-pw32*)
3137 if test -n "$ac_tool_prefix"; then
3138 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3139 set dummy ${ac_tool_prefix}as; ac_word=$2
3140 echo "$as_me:$LINENO: checking for $ac_word" >&5
3141 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3142 if test "${ac_cv_prog_AS+set}" = set; then
3143 echo $ECHO_N "(cached) $ECHO_C" >&6
3145 if test -n "$AS"; then
3146 ac_cv_prog_AS="$AS" # Let the user override the test.
3148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3152 test -z "$as_dir" && as_dir=.
3153 for ac_exec_ext in '' $ac_executable_extensions; do
3154 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3155 ac_cv_prog_AS="${ac_tool_prefix}as"
3156 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3165 if test -n "$AS"; then
3166 echo "$as_me:$LINENO: result: $AS" >&5
3167 echo "${ECHO_T}$AS" >&6
3169 echo "$as_me:$LINENO: result: no" >&5
3170 echo "${ECHO_T}no" >&6
3174 if test -z "$ac_cv_prog_AS"; then
3176 # Extract the first word of "as", so it can be a program name with args.
3177 set dummy as; ac_word=$2
3178 echo "$as_me:$LINENO: checking for $ac_word" >&5
3179 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3180 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3181 echo $ECHO_N "(cached) $ECHO_C" >&6
3183 if test -n "$ac_ct_AS"; then
3184 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3190 test -z "$as_dir" && as_dir=.
3191 for ac_exec_ext in '' $ac_executable_extensions; do
3192 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3193 ac_cv_prog_ac_ct_AS="as"
3194 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3200 test -z "$ac_cv_prog_ac_ct_AS" && ac_cv_prog_ac_ct_AS="false"
3203 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3204 if test -n "$ac_ct_AS"; then
3205 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3206 echo "${ECHO_T}$ac_ct_AS" >&6
3208 echo "$as_me:$LINENO: result: no" >&5
3209 echo "${ECHO_T}no" >&6
3217 if test -n "$ac_tool_prefix"; then
3218 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
3219 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
3220 echo "$as_me:$LINENO: checking for $ac_word" >&5
3221 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3222 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
3223 echo $ECHO_N "(cached) $ECHO_C" >&6
3225 if test -n "$DLLTOOL"; then
3226 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
3228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3232 test -z "$as_dir" && as_dir=.
3233 for ac_exec_ext in '' $ac_executable_extensions; do
3234 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3235 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
3236 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3244 DLLTOOL=$ac_cv_prog_DLLTOOL
3245 if test -n "$DLLTOOL"; then
3246 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
3247 echo "${ECHO_T}$DLLTOOL" >&6
3249 echo "$as_me:$LINENO: result: no" >&5
3250 echo "${ECHO_T}no" >&6
3254 if test -z "$ac_cv_prog_DLLTOOL"; then
3255 ac_ct_DLLTOOL=$DLLTOOL
3256 # Extract the first word of "dlltool", so it can be a program name with args.
3257 set dummy dlltool; ac_word=$2
3258 echo "$as_me:$LINENO: checking for $ac_word" >&5
3259 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3260 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
3261 echo $ECHO_N "(cached) $ECHO_C" >&6
3263 if test -n "$ac_ct_DLLTOOL"; then
3264 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
3266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3270 test -z "$as_dir" && as_dir=.
3271 for ac_exec_ext in '' $ac_executable_extensions; do
3272 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3273 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
3274 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3280 test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL="false"
3283 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
3284 if test -n "$ac_ct_DLLTOOL"; then
3285 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
3286 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
3288 echo "$as_me:$LINENO: result: no" >&5
3289 echo "${ECHO_T}no" >&6
3292 DLLTOOL=$ac_ct_DLLTOOL
3294 DLLTOOL="$ac_cv_prog_DLLTOOL"
3297 if test -n "$ac_tool_prefix"; then
3298 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
3299 set dummy ${ac_tool_prefix}objdump; ac_word=$2
3300 echo "$as_me:$LINENO: checking for $ac_word" >&5
3301 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3302 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
3303 echo $ECHO_N "(cached) $ECHO_C" >&6
3305 if test -n "$OBJDUMP"; then
3306 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
3308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3312 test -z "$as_dir" && as_dir=.
3313 for ac_exec_ext in '' $ac_executable_extensions; do
3314 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3315 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
3316 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3324 OBJDUMP=$ac_cv_prog_OBJDUMP
3325 if test -n "$OBJDUMP"; then
3326 echo "$as_me:$LINENO: result: $OBJDUMP" >&5
3327 echo "${ECHO_T}$OBJDUMP" >&6
3329 echo "$as_me:$LINENO: result: no" >&5
3330 echo "${ECHO_T}no" >&6
3334 if test -z "$ac_cv_prog_OBJDUMP"; then
3335 ac_ct_OBJDUMP=$OBJDUMP
3336 # Extract the first word of "objdump", so it can be a program name with args.
3337 set dummy objdump; ac_word=$2
3338 echo "$as_me:$LINENO: checking for $ac_word" >&5
3339 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3340 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
3341 echo $ECHO_N "(cached) $ECHO_C" >&6
3343 if test -n "$ac_ct_OBJDUMP"; then
3344 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
3346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3350 test -z "$as_dir" && as_dir=.
3351 for ac_exec_ext in '' $ac_executable_extensions; do
3352 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3353 ac_cv_prog_ac_ct_OBJDUMP="objdump"
3354 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3360 test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false"
3363 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
3364 if test -n "$ac_ct_OBJDUMP"; then
3365 echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
3366 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
3368 echo "$as_me:$LINENO: result: no" >&5
3369 echo "${ECHO_T}no" >&6
3372 OBJDUMP=$ac_ct_OBJDUMP
3374 OBJDUMP="$ac_cv_prog_OBJDUMP"
3380 test -z "$AS" && AS=as
3386 test -z "$DLLTOOL" && DLLTOOL=dlltool
3392 test -z "$OBJDUMP" && OBJDUMP=objdump
3402 macro_version='2.1a'
3403 macro_revision='1.2435'
3416 ltmain="$ac_aux_dir/ltmain.sh"
3424 # Check whether --enable-shared or --disable-shared was given.
3425 if test "${enable_shared+set}" = set; then
3426 enableval="$enable_shared"
3427 p=${PACKAGE-default}
3429 yes) enable_shared=yes ;;
3430 no) enable_shared=no ;;
3433 # Look at the argument we got. We use all the common list separators.
3434 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3435 for pkg in $enableval; do
3437 if test "X$pkg" = "X$p"; then
3455 # Check whether --enable-static or --disable-static was given.
3456 if test "${enable_static+set}" = set; then
3457 enableval="$enable_static"
3458 p=${PACKAGE-default}
3460 yes) enable_static=yes ;;
3461 no) enable_static=no ;;
3464 # Look at the argument we got. We use all the common list separators.
3465 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3466 for pkg in $enableval; do
3468 if test "X$pkg" = "X$p"; then
3487 # Check whether --with-pic or --without-pic was given.
3488 if test "${with_pic+set}" = set; then
3495 test -z "$pic_mode" && pic_mode=default
3503 # Check whether --enable-fast-install or --disable-fast-install was given.
3504 if test "${enable_fast_install+set}" = set; then
3505 enableval="$enable_fast_install"
3506 p=${PACKAGE-default}
3508 yes) enable_fast_install=yes ;;
3509 no) enable_fast_install=no ;;
3511 enable_fast_install=no
3512 # Look at the argument we got. We use all the common list separators.
3513 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3514 for pkg in $enableval; do
3516 if test "X$pkg" = "X$p"; then
3517 enable_fast_install=yes
3524 enable_fast_install=yes
3535 ac_cpp='$CPP $CPPFLAGS'
3536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3539 if test -n "$ac_tool_prefix"; then
3540 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3541 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3542 echo "$as_me:$LINENO: checking for $ac_word" >&5
3543 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3544 if test "${ac_cv_prog_CC+set}" = set; then
3545 echo $ECHO_N "(cached) $ECHO_C" >&6
3547 if test -n "$CC"; then
3548 ac_cv_prog_CC="$CC" # Let the user override the test.
3550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3554 test -z "$as_dir" && as_dir=.
3555 for ac_exec_ext in '' $ac_executable_extensions; do
3556 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3557 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3558 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3567 if test -n "$CC"; then
3568 echo "$as_me:$LINENO: result: $CC" >&5
3569 echo "${ECHO_T}$CC" >&6
3571 echo "$as_me:$LINENO: result: no" >&5
3572 echo "${ECHO_T}no" >&6
3576 if test -z "$ac_cv_prog_CC"; then
3578 # Extract the first word of "gcc", so it can be a program name with args.
3579 set dummy gcc; ac_word=$2
3580 echo "$as_me:$LINENO: checking for $ac_word" >&5
3581 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3582 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3583 echo $ECHO_N "(cached) $ECHO_C" >&6
3585 if test -n "$ac_ct_CC"; then
3586 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3592 test -z "$as_dir" && as_dir=.
3593 for ac_exec_ext in '' $ac_executable_extensions; do
3594 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3595 ac_cv_prog_ac_ct_CC="gcc"
3596 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3604 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3605 if test -n "$ac_ct_CC"; then
3606 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3607 echo "${ECHO_T}$ac_ct_CC" >&6
3609 echo "$as_me:$LINENO: result: no" >&5
3610 echo "${ECHO_T}no" >&6
3618 if test -z "$CC"; then
3619 if test -n "$ac_tool_prefix"; then
3620 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3621 set dummy ${ac_tool_prefix}cc; ac_word=$2
3622 echo "$as_me:$LINENO: checking for $ac_word" >&5
3623 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3624 if test "${ac_cv_prog_CC+set}" = set; then
3625 echo $ECHO_N "(cached) $ECHO_C" >&6
3627 if test -n "$CC"; then
3628 ac_cv_prog_CC="$CC" # Let the user override the test.
3630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3634 test -z "$as_dir" && as_dir=.
3635 for ac_exec_ext in '' $ac_executable_extensions; do
3636 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3637 ac_cv_prog_CC="${ac_tool_prefix}cc"
3638 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3647 if test -n "$CC"; then
3648 echo "$as_me:$LINENO: result: $CC" >&5
3649 echo "${ECHO_T}$CC" >&6
3651 echo "$as_me:$LINENO: result: no" >&5
3652 echo "${ECHO_T}no" >&6
3656 if test -z "$ac_cv_prog_CC"; then
3658 # Extract the first word of "cc", so it can be a program name with args.
3659 set dummy cc; ac_word=$2
3660 echo "$as_me:$LINENO: checking for $ac_word" >&5
3661 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3662 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3663 echo $ECHO_N "(cached) $ECHO_C" >&6
3665 if test -n "$ac_ct_CC"; then
3666 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3672 test -z "$as_dir" && as_dir=.
3673 for ac_exec_ext in '' $ac_executable_extensions; do
3674 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3675 ac_cv_prog_ac_ct_CC="cc"
3676 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3684 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3685 if test -n "$ac_ct_CC"; then
3686 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3687 echo "${ECHO_T}$ac_ct_CC" >&6
3689 echo "$as_me:$LINENO: result: no" >&5
3690 echo "${ECHO_T}no" >&6
3699 if test -z "$CC"; then
3700 # Extract the first word of "cc", so it can be a program name with args.
3701 set dummy cc; ac_word=$2
3702 echo "$as_me:$LINENO: checking for $ac_word" >&5
3703 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3704 if test "${ac_cv_prog_CC+set}" = set; then
3705 echo $ECHO_N "(cached) $ECHO_C" >&6
3707 if test -n "$CC"; then
3708 ac_cv_prog_CC="$CC" # Let the user override the test.
3711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3715 test -z "$as_dir" && as_dir=.
3716 for ac_exec_ext in '' $ac_executable_extensions; do
3717 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3718 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3719 ac_prog_rejected=yes
3723 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3729 if test $ac_prog_rejected = yes; then
3730 # We found a bogon in the path, so make sure we never use it.
3731 set dummy $ac_cv_prog_CC
3733 if test $# != 0; then
3734 # We chose a different compiler from the bogus one.
3735 # However, it has the same basename, so the bogon will be chosen
3736 # first if we set CC to just the basename; use the full file name.
3738 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3744 if test -n "$CC"; then
3745 echo "$as_me:$LINENO: result: $CC" >&5
3746 echo "${ECHO_T}$CC" >&6
3748 echo "$as_me:$LINENO: result: no" >&5
3749 echo "${ECHO_T}no" >&6
3753 if test -z "$CC"; then
3754 if test -n "$ac_tool_prefix"; then
3757 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3758 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3759 echo "$as_me:$LINENO: checking for $ac_word" >&5
3760 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3761 if test "${ac_cv_prog_CC+set}" = set; then
3762 echo $ECHO_N "(cached) $ECHO_C" >&6
3764 if test -n "$CC"; then
3765 ac_cv_prog_CC="$CC" # Let the user override the test.
3767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3771 test -z "$as_dir" && as_dir=.
3772 for ac_exec_ext in '' $ac_executable_extensions; do
3773 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3774 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3775 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3784 if test -n "$CC"; then
3785 echo "$as_me:$LINENO: result: $CC" >&5
3786 echo "${ECHO_T}$CC" >&6
3788 echo "$as_me:$LINENO: result: no" >&5
3789 echo "${ECHO_T}no" >&6
3792 test -n "$CC" && break
3795 if test -z "$CC"; then
3799 # Extract the first word of "$ac_prog", so it can be a program name with args.
3800 set dummy $ac_prog; ac_word=$2
3801 echo "$as_me:$LINENO: checking for $ac_word" >&5
3802 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3803 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3804 echo $ECHO_N "(cached) $ECHO_C" >&6
3806 if test -n "$ac_ct_CC"; then
3807 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3813 test -z "$as_dir" && as_dir=.
3814 for ac_exec_ext in '' $ac_executable_extensions; do
3815 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3816 ac_cv_prog_ac_ct_CC="$ac_prog"
3817 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3825 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3826 if test -n "$ac_ct_CC"; then
3827 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3828 echo "${ECHO_T}$ac_ct_CC" >&6
3830 echo "$as_me:$LINENO: result: no" >&5
3831 echo "${ECHO_T}no" >&6
3834 test -n "$ac_ct_CC" && break
3843 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3844 See \`config.log' for more details." >&5
3845 echo "$as_me: error: no acceptable C compiler found in \$PATH
3846 See \`config.log' for more details." >&2;}
3847 { (exit 1); exit 1; }; }
3849 # Provide some information about the compiler.
3850 echo "$as_me:$LINENO:" \
3851 "checking for C compiler version" >&5
3852 ac_compiler=`set X $ac_compile; echo $2`
3853 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3854 (eval $ac_compiler --version </dev/null >&5) 2>&5
3856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3857 (exit $ac_status); }
3858 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3859 (eval $ac_compiler -v </dev/null >&5) 2>&5
3861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3862 (exit $ac_status); }
3863 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3864 (eval $ac_compiler -V </dev/null >&5) 2>&5
3866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3867 (exit $ac_status); }
3869 cat >conftest.$ac_ext <<_ACEOF
3872 cat confdefs.h >>conftest.$ac_ext
3873 cat >>conftest.$ac_ext <<_ACEOF
3874 /* end confdefs.h. */
3884 ac_clean_files_save=$ac_clean_files
3885 ac_clean_files="$ac_clean_files a.out a.exe b.out"
3886 # Try to create an executable without -o first, disregard a.out.
3887 # It will help us diagnose broken compilers, and finding out an intuition
3889 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3890 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
3891 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3892 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
3893 (eval $ac_link_default) 2>&5
3895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3896 (exit $ac_status); }; then
3897 # Find the output, starting from the most likely. This scheme is
3898 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
3901 # Be careful to initialize this variable, since it used to be cached.
3902 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
3904 # b.out is created by i960 compilers.
3905 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
3907 test -f "$ac_file" || continue
3909 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
3912 # This is the source file.
3915 # We found the default executable, but exeext='' is most
3919 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3920 # FIXME: I believe we export ac_cv_exeext for Libtool,
3921 # but it would be cool to find out if it's true. Does anybody
3922 # maintain Libtool? --akim.
3930 echo "$as_me: failed program was:" >&5
3931 sed 's/^/| /' conftest.$ac_ext >&5
3933 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3934 See \`config.log' for more details." >&5
3935 echo "$as_me: error: C compiler cannot create executables
3936 See \`config.log' for more details." >&2;}
3937 { (exit 77); exit 77; }; }
3940 ac_exeext=$ac_cv_exeext
3941 echo "$as_me:$LINENO: result: $ac_file" >&5
3942 echo "${ECHO_T}$ac_file" >&6
3944 # Check the compiler produces executables we can run. If not, either
3945 # the compiler is broken, or we cross compile.
3946 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3947 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
3948 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3949 # If not cross compiling, check that we can run a simple program.
3950 if test "$cross_compiling" != yes; then
3951 if { ac_try='./$ac_file'
3952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3956 (exit $ac_status); }; }; then
3959 if test "$cross_compiling" = maybe; then
3962 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3963 If you meant to cross compile, use \`--host'.
3964 See \`config.log' for more details." >&5
3965 echo "$as_me: error: cannot run C compiled programs.
3966 If you meant to cross compile, use \`--host'.
3967 See \`config.log' for more details." >&2;}
3968 { (exit 1); exit 1; }; }
3972 echo "$as_me:$LINENO: result: yes" >&5
3973 echo "${ECHO_T}yes" >&6
3975 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3976 ac_clean_files=$ac_clean_files_save
3977 # Check the compiler produces executables we can run. If not, either
3978 # the compiler is broken, or we cross compile.
3979 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3980 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
3981 echo "$as_me:$LINENO: result: $cross_compiling" >&5
3982 echo "${ECHO_T}$cross_compiling" >&6
3984 echo "$as_me:$LINENO: checking for suffix of executables" >&5
3985 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
3986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3987 (eval $ac_link) 2>&5
3989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3990 (exit $ac_status); }; then
3991 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3992 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3993 # work properly (i.e., refer to `conftest.exe'), while it won't with
3995 for ac_file in conftest.exe conftest conftest.*; do
3996 test -f "$ac_file" || continue
3998 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
3999 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4006 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
4007 See \`config.log' for more details." >&5
4008 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
4009 See \`config.log' for more details." >&2;}
4010 { (exit 1); exit 1; }; }
4013 rm -f conftest$ac_cv_exeext
4014 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
4015 echo "${ECHO_T}$ac_cv_exeext" >&6
4017 rm -f conftest.$ac_ext
4018 EXEEXT=$ac_cv_exeext
4020 echo "$as_me:$LINENO: checking for suffix of object files" >&5
4021 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
4022 if test "${ac_cv_objext+set}" = set; then
4023 echo $ECHO_N "(cached) $ECHO_C" >&6
4025 cat >conftest.$ac_ext <<_ACEOF
4028 cat confdefs.h >>conftest.$ac_ext
4029 cat >>conftest.$ac_ext <<_ACEOF
4030 /* end confdefs.h. */
4040 rm -f conftest.o conftest.obj
4041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4042 (eval $ac_compile) 2>&5
4044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4045 (exit $ac_status); }; then
4046 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
4048 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
4049 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4054 echo "$as_me: failed program was:" >&5
4055 sed 's/^/| /' conftest.$ac_ext >&5
4057 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
4058 See \`config.log' for more details." >&5
4059 echo "$as_me: error: cannot compute suffix of object files: cannot compile
4060 See \`config.log' for more details." >&2;}
4061 { (exit 1); exit 1; }; }
4064 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4066 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
4067 echo "${ECHO_T}$ac_cv_objext" >&6
4068 OBJEXT=$ac_cv_objext
4070 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4071 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
4072 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4073 echo $ECHO_N "(cached) $ECHO_C" >&6
4075 cat >conftest.$ac_ext <<_ACEOF
4078 cat confdefs.h >>conftest.$ac_ext
4079 cat >>conftest.$ac_ext <<_ACEOF
4080 /* end confdefs.h. */
4093 rm -f conftest.$ac_objext
4094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4095 (eval $ac_compile) 2>conftest.er1
4097 grep -v '^ *+' conftest.er1 >conftest.err
4099 cat conftest.err >&5
4100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4101 (exit $ac_status); } &&
4102 { ac_try='test -z "$ac_c_werror_flag"
4103 || test ! -s conftest.err'
4104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4108 (exit $ac_status); }; } &&
4109 { ac_try='test -s conftest.$ac_objext'
4110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4114 (exit $ac_status); }; }; then
4117 echo "$as_me: failed program was:" >&5
4118 sed 's/^/| /' conftest.$ac_ext >&5
4122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4123 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4126 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4127 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
4128 GCC=`test $ac_compiler_gnu = yes && echo yes`
4129 ac_test_CFLAGS=${CFLAGS+set}
4130 ac_save_CFLAGS=$CFLAGS
4132 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4133 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
4134 if test "${ac_cv_prog_cc_g+set}" = set; then
4135 echo $ECHO_N "(cached) $ECHO_C" >&6
4137 cat >conftest.$ac_ext <<_ACEOF
4140 cat confdefs.h >>conftest.$ac_ext
4141 cat >>conftest.$ac_ext <<_ACEOF
4142 /* end confdefs.h. */
4152 rm -f conftest.$ac_objext
4153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4154 (eval $ac_compile) 2>conftest.er1
4156 grep -v '^ *+' conftest.er1 >conftest.err
4158 cat conftest.err >&5
4159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4160 (exit $ac_status); } &&
4161 { ac_try='test -z "$ac_c_werror_flag"
4162 || test ! -s conftest.err'
4163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4167 (exit $ac_status); }; } &&
4168 { ac_try='test -s conftest.$ac_objext'
4169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4173 (exit $ac_status); }; }; then
4176 echo "$as_me: failed program was:" >&5
4177 sed 's/^/| /' conftest.$ac_ext >&5
4181 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4183 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4184 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
4185 if test "$ac_test_CFLAGS" = set; then
4186 CFLAGS=$ac_save_CFLAGS
4187 elif test $ac_cv_prog_cc_g = yes; then
4188 if test "$GCC" = yes; then
4194 if test "$GCC" = yes; then
4200 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
4201 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
4202 if test "${ac_cv_prog_cc_stdc+set}" = set; then
4203 echo $ECHO_N "(cached) $ECHO_C" >&6
4205 ac_cv_prog_cc_stdc=no
4207 cat >conftest.$ac_ext <<_ACEOF
4210 cat confdefs.h >>conftest.$ac_ext
4211 cat >>conftest.$ac_ext <<_ACEOF
4212 /* end confdefs.h. */
4215 #include <sys/types.h>
4216 #include <sys/stat.h>
4217 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4218 struct buf { int x; };
4219 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4220 static char *e (p, i)
4226 static char *f (char * (*g) (char **, int), char **p, ...)
4231 s = g (p, va_arg (v,int));
4236 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4237 function prototypes and stuff, but not '\xHH' hex character constants.
4238 These don't provoke an error unfortunately, instead are silently treated
4239 as 'x'. The following induces an error, until -std1 is added to get
4240 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4241 array size at least. It's necessary to write '\x00'==0 to get something
4242 that's true only with -std1. */
4243 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4245 int test (int i, double x);
4246 struct s1 {int (*f) (int a);};
4247 struct s2 {int (*f) (double a);};
4248 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4254 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4259 # Don't try gcc -ansi; that turns off useful extensions and
4260 # breaks some systems' header files.
4261 # AIX -qlanglvl=ansi
4262 # Ultrix and OSF/1 -std1
4263 # HP-UX 10.20 and later -Ae
4264 # HP-UX older versions -Aa -D_HPUX_SOURCE
4265 # SVR4 -Xc -D__EXTENSIONS__
4266 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4268 CC="$ac_save_CC $ac_arg"
4269 rm -f conftest.$ac_objext
4270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4271 (eval $ac_compile) 2>conftest.er1
4273 grep -v '^ *+' conftest.er1 >conftest.err
4275 cat conftest.err >&5
4276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4277 (exit $ac_status); } &&
4278 { ac_try='test -z "$ac_c_werror_flag"
4279 || test ! -s conftest.err'
4280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4284 (exit $ac_status); }; } &&
4285 { ac_try='test -s conftest.$ac_objext'
4286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4290 (exit $ac_status); }; }; then
4291 ac_cv_prog_cc_stdc=$ac_arg
4294 echo "$as_me: failed program was:" >&5
4295 sed 's/^/| /' conftest.$ac_ext >&5
4298 rm -f conftest.err conftest.$ac_objext
4300 rm -f conftest.$ac_ext conftest.$ac_objext
4305 case "x$ac_cv_prog_cc_stdc" in
4307 echo "$as_me:$LINENO: result: none needed" >&5
4308 echo "${ECHO_T}none needed" >&6 ;;
4310 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
4311 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
4312 CC="$CC $ac_cv_prog_cc_stdc" ;;
4315 # Some people use a C++ compiler to compile C. Since we use `exit',
4316 # in C++ we need to declare it. In case someone uses the same compiler
4317 # for both compiling C and C++ we need to have the C++ compiler decide
4318 # the declaration of exit, since it's the most demanding environment.
4319 cat >conftest.$ac_ext <<_ACEOF
4324 rm -f conftest.$ac_objext
4325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4326 (eval $ac_compile) 2>conftest.er1
4328 grep -v '^ *+' conftest.er1 >conftest.err
4330 cat conftest.err >&5
4331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4332 (exit $ac_status); } &&
4333 { ac_try='test -z "$ac_c_werror_flag"
4334 || test ! -s conftest.err'
4335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4339 (exit $ac_status); }; } &&
4340 { ac_try='test -s conftest.$ac_objext'
4341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4345 (exit $ac_status); }; }; then
4346 for ac_declaration in \
4348 'extern "C" void std::exit (int) throw (); using std::exit;' \
4349 'extern "C" void std::exit (int); using std::exit;' \
4350 'extern "C" void exit (int) throw ();' \
4351 'extern "C" void exit (int);' \
4354 cat >conftest.$ac_ext <<_ACEOF
4357 cat confdefs.h >>conftest.$ac_ext
4358 cat >>conftest.$ac_ext <<_ACEOF
4359 /* end confdefs.h. */
4370 rm -f conftest.$ac_objext
4371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4372 (eval $ac_compile) 2>conftest.er1
4374 grep -v '^ *+' conftest.er1 >conftest.err
4376 cat conftest.err >&5
4377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4378 (exit $ac_status); } &&
4379 { ac_try='test -z "$ac_c_werror_flag"
4380 || test ! -s conftest.err'
4381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4385 (exit $ac_status); }; } &&
4386 { ac_try='test -s conftest.$ac_objext'
4387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4391 (exit $ac_status); }; }; then
4394 echo "$as_me: failed program was:" >&5
4395 sed 's/^/| /' conftest.$ac_ext >&5
4399 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4400 cat >conftest.$ac_ext <<_ACEOF
4403 cat confdefs.h >>conftest.$ac_ext
4404 cat >>conftest.$ac_ext <<_ACEOF
4405 /* end confdefs.h. */
4415 rm -f conftest.$ac_objext
4416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4417 (eval $ac_compile) 2>conftest.er1
4419 grep -v '^ *+' conftest.er1 >conftest.err
4421 cat conftest.err >&5
4422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4423 (exit $ac_status); } &&
4424 { ac_try='test -z "$ac_c_werror_flag"
4425 || test ! -s conftest.err'
4426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4430 (exit $ac_status); }; } &&
4431 { ac_try='test -s conftest.$ac_objext'
4432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4436 (exit $ac_status); }; }; then
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
4446 if test -n "$ac_declaration"; then
4447 echo '#ifdef __cplusplus' >>confdefs.h
4448 echo $ac_declaration >>confdefs.h
4449 echo '#endif' >>confdefs.h
4453 echo "$as_me: failed program was:" >&5
4454 sed 's/^/| /' conftest.$ac_ext >&5
4457 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4459 ac_cpp='$CPP $CPPFLAGS'
4460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4464 depcc="$CC" am_compiler_list=
4466 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4467 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
4468 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4469 echo $ECHO_N "(cached) $ECHO_C" >&6
4471 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4472 # We make a subdir and do the tests there. Otherwise we can end up
4473 # making bogus files that we don't know about and never remove. For
4474 # instance it was reported that on HP-UX the gcc test will end up
4475 # making a dummy file named `D' -- because `-MD' means `put the output
4478 # Copy depcomp to subdir because otherwise we won't find it if we're
4479 # using a relative directory.
4480 cp "$am_depcomp" conftest.dir
4482 # We will build objects and dependencies in a subdirectory because
4483 # it helps to detect inapplicable dependency modes. For instance
4484 # both Tru64's cc and ICC support -MD to output dependencies as a
4485 # side effect of compilation, but ICC will put the dependencies in
4486 # the current directory while Tru64 will put them in the object
4490 am_cv_CC_dependencies_compiler_type=none
4491 if test "$am_compiler_list" = ""; then
4492 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4494 for depmode in $am_compiler_list; do
4495 # Setup a source with many dependencies, because some compilers
4496 # like to wrap large dependency lists on column 80 (with \), and
4497 # we should not choose a depcomp mode which is confused by this.
4499 # We need to recreate these files for each test, as the compiler may
4500 # overwrite some of them when testing with obscure command lines.
4501 # This happens at least with the AIX C compiler.
4503 for i in 1 2 3 4 5 6; do
4504 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4505 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4506 # Solaris 8's {/usr,}/bin/sh.
4507 touch sub/conftst$i.h
4509 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4513 # after this tag, mechanisms are not by side-effect, so they'll
4514 # only be used when explicitly requested
4515 if test "x$enable_dependency_tracking" = xyes; then
4523 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4524 # mode. It turns out that the SunPro C++ compiler does not properly
4525 # handle `-M -o', and we need to detect this.
4526 if depmode=$depmode \
4527 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4528 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4529 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4530 >/dev/null 2>conftest.err &&
4531 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4532 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4533 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4534 # icc doesn't choke on unknown options, it will just issue warnings
4535 # or remarks (even with -Werror). So we grep stderr for any message
4536 # that says an option was ignored or not supported.
4537 # When given -MP, icc 7.0 and 7.1 complain thusly:
4538 # icc: Command line warning: ignoring option '-M'; no argument required
4539 # The diagnosis changed in icc 8.0:
4540 # icc: Command line remark: option '-MP' not supported
4541 if (grep 'ignoring option' conftest.err ||
4542 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4543 am_cv_CC_dependencies_compiler_type=$depmode
4552 am_cv_CC_dependencies_compiler_type=none
4556 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4557 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
4558 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4563 test "x$enable_dependency_tracking" != xno \
4564 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4566 am__fastdepCC_FALSE='#'
4568 am__fastdepCC_TRUE='#'
4569 am__fastdepCC_FALSE=
4573 echo "$as_me:$LINENO: checking for egrep" >&5
4574 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4575 if test "${ac_cv_prog_egrep+set}" = set; then
4576 echo $ECHO_N "(cached) $ECHO_C" >&6
4578 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
4579 then ac_cv_prog_egrep='grep -E'
4580 else ac_cv_prog_egrep='egrep'
4583 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4584 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4585 EGREP=$ac_cv_prog_egrep
4588 echo "$as_me:$LINENO: checking for fgrep" >&5
4589 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
4590 if test "${ac_cv_prog_fgrep+set}" = set; then
4591 echo $ECHO_N "(cached) $ECHO_C" >&6
4593 if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1
4594 then ac_cv_prog_fgrep='grep -F'
4595 else ac_cv_prog_fgrep='fgrep'
4598 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
4599 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
4600 FGREP=$ac_cv_prog_fgrep
4603 test -z "$GREP" && GREP=grep
4623 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4624 if test "${with_gnu_ld+set}" = set; then
4625 withval="$with_gnu_ld"
4626 test "$withval" = no || with_gnu_ld=yes
4631 if test "$GCC" = yes; then
4632 # Check if gcc -print-prog-name=ld gives a path.
4633 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4634 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4637 # gcc leaves a trailing carriage return which upsets mingw
4638 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4640 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4643 # Accept absolute paths.
4645 re_direlt='/[^/][^/]*/\.\./'
4646 # Canonicalize the pathname of ld
4647 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4648 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4649 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4651 test -z "$LD" && LD="$ac_prog"
4654 # If it fails, then pretend we aren't using GCC.
4658 # If it is relative, then search for the first ld in PATH.
4662 elif test "$with_gnu_ld" = yes; then
4663 echo "$as_me:$LINENO: checking for GNU ld" >&5
4664 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4666 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4667 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4669 if test "${lt_cv_path_LD+set}" = set; then
4670 echo $ECHO_N "(cached) $ECHO_C" >&6
4672 if test -z "$LD"; then
4673 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4674 for ac_dir in $PATH; do
4676 test -z "$ac_dir" && ac_dir=.
4677 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4678 lt_cv_path_LD="$ac_dir/$ac_prog"
4679 # Check to see if the program is GNU ld. I'd rather use --version,
4680 # but apparently some variants of GNU ld only accept -v.
4681 # Break only if it was the GNU/non-GNU ld that we prefer.
4682 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4683 *GNU* | *'with BFD'*)
4684 test "$with_gnu_ld" != no && break
4687 test "$with_gnu_ld" != yes && break
4694 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4699 if test -n "$LD"; then
4700 echo "$as_me:$LINENO: result: $LD" >&5
4701 echo "${ECHO_T}$LD" >&6
4703 echo "$as_me:$LINENO: result: no" >&5
4704 echo "${ECHO_T}no" >&6
4706 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4707 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4708 { (exit 1); exit 1; }; }
4709 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4710 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4711 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4712 echo $ECHO_N "(cached) $ECHO_C" >&6
4714 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4715 case `$LD -v 2>&1 </dev/null` in
4716 *GNU* | *'with BFD'*)
4717 lt_cv_prog_gnu_ld=yes
4720 lt_cv_prog_gnu_ld=no
4724 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4725 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4726 with_gnu_ld=$lt_cv_prog_gnu_ld
4737 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4738 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
4739 if test "${lt_cv_path_NM+set}" = set; then
4740 echo $ECHO_N "(cached) $ECHO_C" >&6
4742 if test -n "$NM"; then
4743 # Let the user override the test.
4746 lt_nm_to_check="${ac_tool_prefix}nm"
4747 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4748 lt_nm_to_check="$lt_nm_to_check nm"
4750 for lt_tmp_nm in $lt_nm_to_check; do
4751 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4752 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4754 test -z "$ac_dir" && ac_dir=.
4755 tmp_nm="$ac_dir/$lt_tmp_nm"
4756 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4757 # Check to see if the nm accepts a BSD-compat flag.
4758 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4759 # nm: unknown option "B" ignored
4760 # Tru64's nm complains that /dev/null is an invalid object file
4761 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4762 */dev/null* | *'Invalid file or object type'*)
4763 lt_cv_path_NM="$tmp_nm -B"
4767 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4769 lt_cv_path_NM="$tmp_nm -p"
4773 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4774 continue # so that we can try to find one that supports BSD flags
4783 : ${lt_cv_path_NM=no}
4786 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4787 echo "${ECHO_T}$lt_cv_path_NM" >&6
4788 if test "$lt_cv_path_NM" != "no"; then
4791 # Didn't find any BSD compatible name lister, look for dumpbin.
4792 if test -n "$ac_tool_prefix"; then
4793 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4795 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4796 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4797 echo "$as_me:$LINENO: checking for $ac_word" >&5
4798 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4799 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4800 echo $ECHO_N "(cached) $ECHO_C" >&6
4802 if test -n "$DUMPBIN"; then
4803 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4809 test -z "$as_dir" && as_dir=.
4810 for ac_exec_ext in '' $ac_executable_extensions; do
4811 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4812 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4813 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4821 DUMPBIN=$ac_cv_prog_DUMPBIN
4822 if test -n "$DUMPBIN"; then
4823 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4824 echo "${ECHO_T}$DUMPBIN" >&6
4826 echo "$as_me:$LINENO: result: no" >&5
4827 echo "${ECHO_T}no" >&6
4830 test -n "$DUMPBIN" && break
4833 if test -z "$DUMPBIN"; then
4834 ac_ct_DUMPBIN=$DUMPBIN
4835 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4837 # Extract the first word of "$ac_prog", so it can be a program name with args.
4838 set dummy $ac_prog; ac_word=$2
4839 echo "$as_me:$LINENO: checking for $ac_word" >&5
4840 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4841 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4842 echo $ECHO_N "(cached) $ECHO_C" >&6
4844 if test -n "$ac_ct_DUMPBIN"; then
4845 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4851 test -z "$as_dir" && as_dir=.
4852 for ac_exec_ext in '' $ac_executable_extensions; do
4853 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4854 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4855 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4863 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4864 if test -n "$ac_ct_DUMPBIN"; then
4865 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4866 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
4868 echo "$as_me:$LINENO: result: no" >&5
4869 echo "${ECHO_T}no" >&6
4872 test -n "$ac_ct_DUMPBIN" && break
4874 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN=":"
4876 DUMPBIN=$ac_ct_DUMPBIN
4880 if test "$DUMPBIN" != ":"; then
4884 test -z "$NM" && NM=nm
4891 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4892 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
4893 if test "${lt_cv_nm_interface+set}" = set; then
4894 echo $ECHO_N "(cached) $ECHO_C" >&6
4896 lt_cv_nm_interface="BSD nm"
4897 echo "int some_variable = 0;" > conftest.$ac_ext
4898 (eval echo "\"\$as_me:4898: $ac_compile\"" >&5)
4899 (eval "$ac_compile" 2>conftest.err)
4900 cat conftest.err >&5
4901 (eval echo "\"\$as_me:4901: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4902 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4903 cat conftest.err >&5
4904 (eval echo "\"\$as_me:4904: output\"" >&5)
4905 cat conftest.out >&5
4906 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4907 lt_cv_nm_interface="MS dumpbin"
4911 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4912 echo "${ECHO_T}$lt_cv_nm_interface" >&6
4914 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4915 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4917 if test "$LN_S" = "ln -s"; then
4918 echo "$as_me:$LINENO: result: yes" >&5
4919 echo "${ECHO_T}yes" >&6
4921 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4922 echo "${ECHO_T}no, using $LN_S" >&6
4925 # find the maximum length of command line arguments
4926 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4927 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4928 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4929 echo $ECHO_N "(cached) $ECHO_C" >&6
4936 # On DJGPP, this test can blow up pretty badly due to problems in libc
4937 # (any single argument exceeding 2000 bytes causes a buffer overrun
4938 # during glob expansion). Even if it were fixed, the result of this
4939 # check would be larger than it should be.
4940 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4944 # Under GNU Hurd, this test is not required because there is
4945 # no limit to the length of command line arguments.
4946 # Libtool will interpret -1 as no limit whatsoever
4947 lt_cv_sys_max_cmd_len=-1;
4951 # On Win9x/ME, this test blows up -- it succeeds, but takes
4952 # about 5 minutes as the teststring grows exponentially.
4953 # Worse, since 9x/ME are not pre-emptively multitasking,
4954 # you end up with a "frozen" computer, even though with patience
4955 # the test eventually succeeds (with a max line length of 256k).
4956 # Instead, let's just punt: use the minimum linelength reported by
4957 # all of the supported platforms: 8192 (on NT/2K/XP).
4958 lt_cv_sys_max_cmd_len=8192;
4962 # On AmigaOS with pdksh, this test takes hours, literally.
4963 # So we just punt and use a minimum line length of 8192.
4964 lt_cv_sys_max_cmd_len=8192;
4967 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4968 # This has been around since 386BSD, at least. Likely further.
4969 if test -x /sbin/sysctl; then
4970 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4971 elif test -x /usr/sbin/sysctl; then
4972 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4974 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4976 # And add a safety zone
4977 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4978 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4982 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4983 lt_cv_sys_max_cmd_len=196608
4987 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4988 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4989 # nice to cause kernel panics so lets avoid the loop below.
4990 # First set a reasonable default.
4991 lt_cv_sys_max_cmd_len=16384
4993 if test -x /sbin/sysconfig; then
4994 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4995 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5000 lt_cv_sys_max_cmd_len=102400
5002 sysv5* | sco5v6* | sysv4.2uw2*)
5003 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5004 if test -n "$kargmax"; then
5005 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5007 lt_cv_sys_max_cmd_len=32768
5011 # Make teststring a little bigger before we do anything with it.
5012 # a 1K string should be a reasonable start.
5013 for i in 1 2 3 4 5 6 7 8 ; do
5014 teststring=$teststring$teststring
5016 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5017 # If test is not a shell built-in, we'll probably end up computing a
5018 # maximum length that is only half of the actual maximum length, but
5020 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5021 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5022 test $i != 17 # 1/2 MB should be enough
5025 teststring=$teststring$teststring
5027 # Only check the string length outside the loop.
5028 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5030 # Add a significant safety factor because C++ compilers can tack on massive
5031 # amounts of additional arguments before passing them to the linker.
5032 # It appears as though 1/2 is a usable value.
5033 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5039 if test -n $lt_cv_sys_max_cmd_len ; then
5040 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5041 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5043 echo "$as_me:$LINENO: result: none" >&5
5044 echo "${ECHO_T}none" >&6
5046 max_cmd_len=$lt_cv_sys_max_cmd_len
5057 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
5058 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
5059 # Try some XSI features
5062 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5063 = c,a/b,, ) >/dev/null 2>&1 \
5065 echo "$as_me:$LINENO: result: $xsi_shell" >&5
5066 echo "${ECHO_T}$xsi_shell" >&6
5069 echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
5070 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6
5072 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5074 && lt_shell_append=yes
5075 echo "$as_me:$LINENO: result: $lt_shell_append" >&5
5076 echo "${ECHO_T}$lt_shell_append" >&6
5079 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5089 # test EBCDIC or ASCII
5090 case `echo X|tr X '\101'` in
5091 A) # ASCII based system
5092 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5093 lt_SP2NL='tr \040 \012'
5094 lt_NL2SP='tr \015\012 \040\040'
5096 *) # EBCDIC based system
5097 lt_SP2NL='tr \100 \n'
5098 lt_NL2SP='tr \r\n \100\100'
5110 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
5111 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
5112 if test "${lt_cv_ld_reload_flag+set}" = set; then
5113 echo $ECHO_N "(cached) $ECHO_C" >&6
5115 lt_cv_ld_reload_flag='-r'
5117 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
5118 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
5119 reload_flag=$lt_cv_ld_reload_flag
5120 case $reload_flag in
5122 *) reload_flag=" $reload_flag" ;;
5124 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5127 if test "$GCC" = yes; then
5128 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5130 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5144 echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
5145 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6
5146 if test "${lt_cv_deplibs_check_method+set}" = set; then
5147 echo $ECHO_N "(cached) $ECHO_C" >&6
5149 lt_cv_file_magic_cmd='$MAGIC_CMD'
5150 lt_cv_file_magic_test_file=
5151 lt_cv_deplibs_check_method='unknown'
5152 # Need to set the preceding variable on all platforms that support
5153 # interlibrary dependencies.
5154 # 'none' -- dependencies not supported.
5155 # `unknown' -- same as none, but documents that we really don't know.
5156 # 'pass_all' -- all dependencies passed with no checks.
5157 # 'test_compile' -- check by making test program.
5158 # 'file_magic [[regex]]' -- check by looking for files in library path
5159 # which responds to the $file_magic_cmd with a given extended regex.
5160 # If you have `file' or equivalent on your system and you're not sure
5161 # whether `pass_all' will *always* work, you probably want this one.
5165 lt_cv_deplibs_check_method=pass_all
5169 lt_cv_deplibs_check_method=pass_all
5173 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5174 lt_cv_file_magic_cmd='/usr/bin/file -L'
5175 lt_cv_file_magic_test_file=/shlib/libc.so
5179 # func_win32_libid is a shell function defined in ltmain.sh
5180 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5181 lt_cv_file_magic_cmd='func_win32_libid'
5185 # Base MSYS/MinGW do not provide the 'file' command needed by
5186 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5187 # unless we find 'file', for example because we are cross-compiling.
5188 if ( file / ) >/dev/null 2>&1; then
5189 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5190 lt_cv_file_magic_cmd='func_win32_libid'
5192 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5193 lt_cv_file_magic_cmd='$OBJDUMP -f'
5197 darwin* | rhapsody*)
5198 lt_cv_deplibs_check_method=pass_all
5201 freebsd* | dragonfly*)
5202 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5205 # Not sure whether the presence of OpenBSD here was a mistake.
5206 # Let's accept both of them until this is cleared up.
5207 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5208 lt_cv_file_magic_cmd=/usr/bin/file
5209 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5213 lt_cv_deplibs_check_method=pass_all
5218 lt_cv_deplibs_check_method=pass_all
5221 hpux10.20* | hpux11*)
5222 lt_cv_file_magic_cmd=/usr/bin/file
5225 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5226 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5229 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]'
5230 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5233 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5234 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5240 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5241 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5244 irix5* | irix6* | nonstopux*)
5246 *-32|*"-32 ") libmagic=32-bit;;
5247 *-n32|*"-n32 ") libmagic=N32;;
5248 *-64|*"-64 ") libmagic=64-bit;;
5249 *) libmagic=never-match;;
5251 lt_cv_deplibs_check_method=pass_all
5254 # This must be Linux ELF.
5255 linux* | k*bsd*-gnu)
5256 lt_cv_deplibs_check_method=pass_all
5260 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5261 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5263 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5268 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5269 lt_cv_file_magic_cmd=/usr/bin/file
5270 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5274 lt_cv_deplibs_check_method=pass_all
5278 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5279 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5281 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5285 osf3* | osf4* | osf5*)
5286 lt_cv_deplibs_check_method=pass_all
5290 lt_cv_deplibs_check_method=pass_all
5294 lt_cv_deplibs_check_method=pass_all
5297 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5298 lt_cv_deplibs_check_method=pass_all
5302 case $host_vendor in
5304 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]'
5305 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5308 lt_cv_deplibs_check_method=pass_all
5311 lt_cv_file_magic_cmd='/bin/file'
5312 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5315 lt_cv_file_magic_cmd='/bin/file'
5316 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5317 lt_cv_file_magic_test_file=/lib/libc.so
5320 lt_cv_deplibs_check_method=pass_all
5323 lt_cv_deplibs_check_method=pass_all
5329 lt_cv_deplibs_check_method=pass_all
5334 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5335 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5336 file_magic_cmd=$lt_cv_file_magic_cmd
5337 deplibs_check_method=$lt_cv_deplibs_check_method
5338 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5351 if test -n "$ac_tool_prefix"; then
5352 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5353 set dummy ${ac_tool_prefix}ar; ac_word=$2
5354 echo "$as_me:$LINENO: checking for $ac_word" >&5
5355 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5356 if test "${ac_cv_prog_AR+set}" = set; then
5357 echo $ECHO_N "(cached) $ECHO_C" >&6
5359 if test -n "$AR"; then
5360 ac_cv_prog_AR="$AR" # Let the user override the test.
5362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5366 test -z "$as_dir" && as_dir=.
5367 for ac_exec_ext in '' $ac_executable_extensions; do
5368 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5369 ac_cv_prog_AR="${ac_tool_prefix}ar"
5370 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5379 if test -n "$AR"; then
5380 echo "$as_me:$LINENO: result: $AR" >&5
5381 echo "${ECHO_T}$AR" >&6
5383 echo "$as_me:$LINENO: result: no" >&5
5384 echo "${ECHO_T}no" >&6
5388 if test -z "$ac_cv_prog_AR"; then
5390 # Extract the first word of "ar", so it can be a program name with args.
5391 set dummy ar; ac_word=$2
5392 echo "$as_me:$LINENO: checking for $ac_word" >&5
5393 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5394 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5395 echo $ECHO_N "(cached) $ECHO_C" >&6
5397 if test -n "$ac_ct_AR"; then
5398 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5404 test -z "$as_dir" && as_dir=.
5405 for ac_exec_ext in '' $ac_executable_extensions; do
5406 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5407 ac_cv_prog_ac_ct_AR="ar"
5408 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5414 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5417 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5418 if test -n "$ac_ct_AR"; then
5419 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5420 echo "${ECHO_T}$ac_ct_AR" >&6
5422 echo "$as_me:$LINENO: result: no" >&5
5423 echo "${ECHO_T}no" >&6
5431 test -z "$AR" && AR=ar
5432 test -z "$AR_FLAGS" && AR_FLAGS=cru
5444 if test -n "$ac_tool_prefix"; then
5445 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5446 set dummy ${ac_tool_prefix}strip; ac_word=$2
5447 echo "$as_me:$LINENO: checking for $ac_word" >&5
5448 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5449 if test "${ac_cv_prog_STRIP+set}" = set; then
5450 echo $ECHO_N "(cached) $ECHO_C" >&6
5452 if test -n "$STRIP"; then
5453 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5459 test -z "$as_dir" && as_dir=.
5460 for ac_exec_ext in '' $ac_executable_extensions; do
5461 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5462 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5463 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5471 STRIP=$ac_cv_prog_STRIP
5472 if test -n "$STRIP"; then
5473 echo "$as_me:$LINENO: result: $STRIP" >&5
5474 echo "${ECHO_T}$STRIP" >&6
5476 echo "$as_me:$LINENO: result: no" >&5
5477 echo "${ECHO_T}no" >&6
5481 if test -z "$ac_cv_prog_STRIP"; then
5483 # Extract the first word of "strip", so it can be a program name with args.
5484 set dummy strip; ac_word=$2
5485 echo "$as_me:$LINENO: checking for $ac_word" >&5
5486 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5487 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5488 echo $ECHO_N "(cached) $ECHO_C" >&6
5490 if test -n "$ac_ct_STRIP"; then
5491 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5497 test -z "$as_dir" && as_dir=.
5498 for ac_exec_ext in '' $ac_executable_extensions; do
5499 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5500 ac_cv_prog_ac_ct_STRIP="strip"
5501 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5507 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5510 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5511 if test -n "$ac_ct_STRIP"; then
5512 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5513 echo "${ECHO_T}$ac_ct_STRIP" >&6
5515 echo "$as_me:$LINENO: result: no" >&5
5516 echo "${ECHO_T}no" >&6
5521 STRIP="$ac_cv_prog_STRIP"
5524 test -z "$STRIP" && STRIP=:
5531 if test -n "$ac_tool_prefix"; then
5532 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5533 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5534 echo "$as_me:$LINENO: checking for $ac_word" >&5
5535 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5536 if test "${ac_cv_prog_RANLIB+set}" = set; then
5537 echo $ECHO_N "(cached) $ECHO_C" >&6
5539 if test -n "$RANLIB"; then
5540 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5546 test -z "$as_dir" && as_dir=.
5547 for ac_exec_ext in '' $ac_executable_extensions; do
5548 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5549 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5550 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5558 RANLIB=$ac_cv_prog_RANLIB
5559 if test -n "$RANLIB"; then
5560 echo "$as_me:$LINENO: result: $RANLIB" >&5
5561 echo "${ECHO_T}$RANLIB" >&6
5563 echo "$as_me:$LINENO: result: no" >&5
5564 echo "${ECHO_T}no" >&6
5568 if test -z "$ac_cv_prog_RANLIB"; then
5569 ac_ct_RANLIB=$RANLIB
5570 # Extract the first word of "ranlib", so it can be a program name with args.
5571 set dummy ranlib; ac_word=$2
5572 echo "$as_me:$LINENO: checking for $ac_word" >&5
5573 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5574 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5575 echo $ECHO_N "(cached) $ECHO_C" >&6
5577 if test -n "$ac_ct_RANLIB"; then
5578 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5584 test -z "$as_dir" && as_dir=.
5585 for ac_exec_ext in '' $ac_executable_extensions; do
5586 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5587 ac_cv_prog_ac_ct_RANLIB="ranlib"
5588 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5594 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5597 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5598 if test -n "$ac_ct_RANLIB"; then
5599 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5600 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5602 echo "$as_me:$LINENO: result: no" >&5
5603 echo "${ECHO_T}no" >&6
5606 RANLIB=$ac_ct_RANLIB
5608 RANLIB="$ac_cv_prog_RANLIB"
5611 test -z "$RANLIB" && RANLIB=:
5618 # Determine commands to create old-style static archives.
5619 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5620 old_postinstall_cmds='chmod 644 $oldlib'
5621 old_postuninstall_cmds=
5623 if test -n "$RANLIB"; then
5626 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5629 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5632 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5668 # If no C compiler was specified, use CC.
5671 # If no C compiler flags were specified, use CFLAGS.
5672 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5674 # Allow CC to be a program name with arguments.
5678 # Check for command to grab the raw symbol name followed by C symbol from nm.
5679 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5680 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5681 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5682 echo $ECHO_N "(cached) $ECHO_C" >&6
5685 # These are sane defaults that work on at least a few old systems.
5686 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5688 # Character class describing NM global symbol codes.
5689 symcode='[BCDEGRST]'
5691 # Regexp to match symbols that can be accessed directly from C.
5692 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5694 # Define system-specific variables.
5699 cygwin* | mingw* | pw32*)
5700 symcode='[ABCDGISTW]'
5703 if test "$host_cpu" = ia64; then
5704 symcode='[ABCDEGRST]'
5708 symcode='[BCDEGRST]'
5711 symcode='[BCDEGQRST]'
5722 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5730 # If we're using GNU nm, then use its standard symbol codes.
5731 case `$NM -V 2>&1` in
5732 *GNU* | *'with BFD'*)
5733 symcode='[ABCDGIRSTW]' ;;
5736 # Transform an extracted symbol line into a proper C declaration.
5737 # Some systems (esp. on ia64) link data and code symbols differently,
5738 # so use this general approach.
5739 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5741 # Transform an extracted symbol line into symbol name and symbol address
5742 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5744 # Handle CRLF in mingw tool chain
5748 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5752 # Try without a prefix underscore, then with it.
5753 for ac_symprfx in "" "_"; do
5755 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5756 symxfrm="\\1 $ac_symprfx\\2 \\2"
5758 # Write the raw and C identifiers.
5759 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5760 # Fake it for dumpbin and say T for any non-static function
5761 # and D for any global variable.
5762 # Also find C++ and __fastcall symbols from MSVC++,
5763 # which start with @ or ?.
5764 lt_cv_sys_global_symbol_pipe="$AWK '"\
5765 " {last_section=section; section=\$ 3};"\
5766 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5767 " \$ 0!~/External *\|/{next};"\
5768 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5769 " {if(hide[section]) next};"\
5770 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5771 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5772 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5773 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5774 " ' prfx=^$ac_symprfx"
5776 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5779 # Check to see that the pipe works correctly.
5783 cat > conftest.$ac_ext <<_LT_EOF
5788 void nm_test_func(void);
5789 void nm_test_func(void){}
5793 int main(){nm_test_var='a';nm_test_func();return(0);}
5796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5797 (eval $ac_compile) 2>&5
5799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5800 (exit $ac_status); }; then
5801 # Now try to grab the symbols.
5803 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5804 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5807 (exit $ac_status); } && test -s "$nlist"; then
5808 # Try sorting and uniquifying the output.
5809 if sort "$nlist" | uniq > "$nlist"T; then
5810 mv -f "$nlist"T "$nlist"
5815 # Make sure that we snagged all the symbols we need.
5816 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5817 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5818 cat <<_LT_EOF > conftest.$ac_ext
5824 # Now generate the symbol file.
5825 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5827 cat <<_LT_EOF >> conftest.$ac_ext
5829 /* The mapping between symbol names and symbols. */
5834 lt__PROGRAM__LTX_preloaded_symbols[] =
5836 { "@PROGRAM@", (void *) 0 },
5838 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5839 cat <<\_LT_EOF >> conftest.$ac_ext
5843 /* This works around a problem in FreeBSD linker */
5844 #ifdef FREEBSD_WORKAROUND
5845 static const void *lt_preloaded_setup() {
5846 return lt__PROGRAM__LTX_preloaded_symbols;
5854 # Now try linking the two files.
5855 mv conftest.$ac_objext conftstm.$ac_objext
5856 lt_save_LIBS="$LIBS"
5857 lt_save_CFLAGS="$CFLAGS"
5858 LIBS="conftstm.$ac_objext"
5859 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5861 (eval $ac_link) 2>&5
5863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5864 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5867 LIBS="$lt_save_LIBS"
5868 CFLAGS="$lt_save_CFLAGS"
5870 echo "cannot find nm_test_func in $nlist" >&5
5873 echo "cannot find nm_test_var in $nlist" >&5
5876 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5879 echo "$progname: failed program was:" >&5
5880 cat conftest.$ac_ext >&5
5882 rm -f conftest* conftst*
5884 # Do not use the global_symbol_pipe unless it works.
5885 if test "$pipe_works" = yes; then
5888 lt_cv_sys_global_symbol_pipe=
5894 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5895 lt_cv_sys_global_symbol_to_cdecl=
5897 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5898 echo "$as_me:$LINENO: result: failed" >&5
5899 echo "${ECHO_T}failed" >&6
5901 echo "$as_me:$LINENO: result: ok" >&5
5902 echo "${ECHO_T}ok" >&6
5922 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5923 if test "${enable_libtool_lock+set}" = set; then
5924 enableval="$enable_libtool_lock"
5927 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5929 # Some flags need to be propagated to the compiler or linker for good
5933 # Find out which ABI we are using.
5934 echo 'int i;' > conftest.$ac_ext
5935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5936 (eval $ac_compile) 2>&5
5938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5939 (exit $ac_status); }; then
5940 case `/usr/bin/file conftest.$ac_objext` in
5952 # Find out which ABI we are using.
5953 echo '#line 5953 "configure"' > conftest.$ac_ext
5954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5955 (eval $ac_compile) 2>&5
5957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5958 (exit $ac_status); }; then
5959 if test "$lt_cv_prog_gnu_ld" = yes; then
5960 case `/usr/bin/file conftest.$ac_objext` in
5962 LD="${LD-ld} -melf32bsmip"
5965 LD="${LD-ld} -melf32bmipn32"
5968 LD="${LD-ld} -melf64bmip"
5972 case `/usr/bin/file conftest.$ac_objext` in
5988 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5989 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5990 # Find out which ABI we are using.
5991 echo 'int i;' > conftest.$ac_ext
5992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5993 (eval $ac_compile) 2>&5
5995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5996 (exit $ac_status); }; then
5997 case `/usr/bin/file conftest.o` in
6000 x86_64-*kfreebsd*-gnu)
6001 LD="${LD-ld} -m elf_i386_fbsd"
6004 LD="${LD-ld} -m elf_i386"
6006 ppc64-*linux*|powerpc64-*linux*)
6007 LD="${LD-ld} -m elf32ppclinux"
6010 LD="${LD-ld} -m elf_s390"
6013 LD="${LD-ld} -m elf32_sparc"
6019 x86_64-*kfreebsd*-gnu)
6020 LD="${LD-ld} -m elf_x86_64_fbsd"
6023 LD="${LD-ld} -m elf_x86_64"
6025 ppc*-*linux*|powerpc*-*linux*)
6026 LD="${LD-ld} -m elf64ppc"
6028 s390*-*linux*|s390*-*tpf*)
6029 LD="${LD-ld} -m elf64_s390"
6032 LD="${LD-ld} -m elf64_sparc"
6042 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6043 SAVE_CFLAGS="$CFLAGS"
6044 CFLAGS="$CFLAGS -belf"
6045 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
6046 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
6047 if test "${lt_cv_cc_needs_belf+set}" = set; then
6048 echo $ECHO_N "(cached) $ECHO_C" >&6
6051 ac_cpp='$CPP $CPPFLAGS'
6052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6056 cat >conftest.$ac_ext <<_ACEOF
6059 cat confdefs.h >>conftest.$ac_ext
6060 cat >>conftest.$ac_ext <<_ACEOF
6061 /* end confdefs.h. */
6071 rm -f conftest.$ac_objext conftest$ac_exeext
6072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6073 (eval $ac_link) 2>conftest.er1
6075 grep -v '^ *+' conftest.er1 >conftest.err
6077 cat conftest.err >&5
6078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6079 (exit $ac_status); } &&
6080 { ac_try='test -z "$ac_c_werror_flag"
6081 || test ! -s conftest.err'
6082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6086 (exit $ac_status); }; } &&
6087 { ac_try='test -s conftest$ac_exeext'
6088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6092 (exit $ac_status); }; }; then
6093 lt_cv_cc_needs_belf=yes
6095 echo "$as_me: failed program was:" >&5
6096 sed 's/^/| /' conftest.$ac_ext >&5
6098 lt_cv_cc_needs_belf=no
6100 rm -f conftest.err conftest.$ac_objext \
6101 conftest$ac_exeext conftest.$ac_ext
6103 ac_cpp='$CPP $CPPFLAGS'
6104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6109 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
6110 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
6111 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6112 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6113 CFLAGS="$SAVE_CFLAGS"
6117 # Find out which ABI we are using.
6118 echo 'int i;' > conftest.$ac_ext
6119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6120 (eval $ac_compile) 2>&5
6122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6123 (exit $ac_status); }; then
6124 case `/usr/bin/file conftest.o` in
6126 case $lt_cv_prog_gnu_ld in
6127 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6128 *) LD="${LD-ld} -64" ;;
6137 need_locks="$enable_libtool_lock"
6140 ac_cpp='$CPP $CPPFLAGS'
6141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6144 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
6145 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
6146 # On Suns, sometimes $CPP names a directory.
6147 if test -n "$CPP" && test -d "$CPP"; then
6150 if test -z "$CPP"; then
6151 if test "${ac_cv_prog_CPP+set}" = set; then
6152 echo $ECHO_N "(cached) $ECHO_C" >&6
6154 # Double quotes because CPP needs to be expanded
6155 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6158 for ac_c_preproc_warn_flag in '' yes
6160 # Use a header file that comes with gcc, so configuring glibc
6161 # with a fresh cross-compiler works.
6162 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6163 # <limits.h> exists even on freestanding compilers.
6164 # On the NeXT, cc -E runs the code through the compiler's parser,
6165 # not just through cpp. "Syntax error" is here to catch this case.
6166 cat >conftest.$ac_ext <<_ACEOF
6169 cat confdefs.h >>conftest.$ac_ext
6170 cat >>conftest.$ac_ext <<_ACEOF
6171 /* end confdefs.h. */
6173 # include <limits.h>
6175 # include <assert.h>
6179 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6180 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6182 grep -v '^ *+' conftest.er1 >conftest.err
6184 cat conftest.err >&5
6185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6186 (exit $ac_status); } >/dev/null; then
6187 if test -s conftest.err; then
6188 ac_cpp_err=$ac_c_preproc_warn_flag
6189 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6196 if test -z "$ac_cpp_err"; then
6199 echo "$as_me: failed program was:" >&5
6200 sed 's/^/| /' conftest.$ac_ext >&5
6202 # Broken: fails on valid input.
6205 rm -f conftest.err conftest.$ac_ext
6207 # OK, works on sane cases. Now check whether non-existent headers
6208 # can be detected and how.
6209 cat >conftest.$ac_ext <<_ACEOF
6212 cat confdefs.h >>conftest.$ac_ext
6213 cat >>conftest.$ac_ext <<_ACEOF
6214 /* end confdefs.h. */
6215 #include <ac_nonexistent.h>
6217 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6218 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6220 grep -v '^ *+' conftest.er1 >conftest.err
6222 cat conftest.err >&5
6223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6224 (exit $ac_status); } >/dev/null; then
6225 if test -s conftest.err; then
6226 ac_cpp_err=$ac_c_preproc_warn_flag
6227 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6234 if test -z "$ac_cpp_err"; then
6235 # Broken: success on invalid input.
6238 echo "$as_me: failed program was:" >&5
6239 sed 's/^/| /' conftest.$ac_ext >&5
6241 # Passes both tests.
6245 rm -f conftest.err conftest.$ac_ext
6248 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6249 rm -f conftest.err conftest.$ac_ext
6250 if $ac_preproc_ok; then
6262 echo "$as_me:$LINENO: result: $CPP" >&5
6263 echo "${ECHO_T}$CPP" >&6
6265 for ac_c_preproc_warn_flag in '' yes
6267 # Use a header file that comes with gcc, so configuring glibc
6268 # with a fresh cross-compiler works.
6269 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6270 # <limits.h> exists even on freestanding compilers.
6271 # On the NeXT, cc -E runs the code through the compiler's parser,
6272 # not just through cpp. "Syntax error" is here to catch this case.
6273 cat >conftest.$ac_ext <<_ACEOF
6276 cat confdefs.h >>conftest.$ac_ext
6277 cat >>conftest.$ac_ext <<_ACEOF
6278 /* end confdefs.h. */
6280 # include <limits.h>
6282 # include <assert.h>
6286 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6287 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6289 grep -v '^ *+' conftest.er1 >conftest.err
6291 cat conftest.err >&5
6292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6293 (exit $ac_status); } >/dev/null; then
6294 if test -s conftest.err; then
6295 ac_cpp_err=$ac_c_preproc_warn_flag
6296 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6303 if test -z "$ac_cpp_err"; then
6306 echo "$as_me: failed program was:" >&5
6307 sed 's/^/| /' conftest.$ac_ext >&5
6309 # Broken: fails on valid input.
6312 rm -f conftest.err conftest.$ac_ext
6314 # OK, works on sane cases. Now check whether non-existent headers
6315 # can be detected and how.
6316 cat >conftest.$ac_ext <<_ACEOF
6319 cat confdefs.h >>conftest.$ac_ext
6320 cat >>conftest.$ac_ext <<_ACEOF
6321 /* end confdefs.h. */
6322 #include <ac_nonexistent.h>
6324 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6325 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6327 grep -v '^ *+' conftest.er1 >conftest.err
6329 cat conftest.err >&5
6330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6331 (exit $ac_status); } >/dev/null; then
6332 if test -s conftest.err; then
6333 ac_cpp_err=$ac_c_preproc_warn_flag
6334 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6341 if test -z "$ac_cpp_err"; then
6342 # Broken: success on invalid input.
6345 echo "$as_me: failed program was:" >&5
6346 sed 's/^/| /' conftest.$ac_ext >&5
6348 # Passes both tests.
6352 rm -f conftest.err conftest.$ac_ext
6355 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6356 rm -f conftest.err conftest.$ac_ext
6357 if $ac_preproc_ok; then
6360 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6361 See \`config.log' for more details." >&5
6362 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6363 See \`config.log' for more details." >&2;}
6364 { (exit 1); exit 1; }; }
6368 ac_cpp='$CPP $CPPFLAGS'
6369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6374 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6375 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6376 if test "${ac_cv_header_stdc+set}" = set; then
6377 echo $ECHO_N "(cached) $ECHO_C" >&6
6379 cat >conftest.$ac_ext <<_ACEOF
6382 cat confdefs.h >>conftest.$ac_ext
6383 cat >>conftest.$ac_ext <<_ACEOF
6384 /* end confdefs.h. */
6398 rm -f conftest.$ac_objext
6399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6400 (eval $ac_compile) 2>conftest.er1
6402 grep -v '^ *+' conftest.er1 >conftest.err
6404 cat conftest.err >&5
6405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6406 (exit $ac_status); } &&
6407 { ac_try='test -z "$ac_c_werror_flag"
6408 || test ! -s conftest.err'
6409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6413 (exit $ac_status); }; } &&
6414 { ac_try='test -s conftest.$ac_objext'
6415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6419 (exit $ac_status); }; }; then
6420 ac_cv_header_stdc=yes
6422 echo "$as_me: failed program was:" >&5
6423 sed 's/^/| /' conftest.$ac_ext >&5
6425 ac_cv_header_stdc=no
6427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6429 if test $ac_cv_header_stdc = yes; then
6430 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6431 cat >conftest.$ac_ext <<_ACEOF
6434 cat confdefs.h >>conftest.$ac_ext
6435 cat >>conftest.$ac_ext <<_ACEOF
6436 /* end confdefs.h. */
6440 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6441 $EGREP "memchr" >/dev/null 2>&1; then
6444 ac_cv_header_stdc=no
6450 if test $ac_cv_header_stdc = yes; then
6451 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6452 cat >conftest.$ac_ext <<_ACEOF
6455 cat confdefs.h >>conftest.$ac_ext
6456 cat >>conftest.$ac_ext <<_ACEOF
6457 /* end confdefs.h. */
6461 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6462 $EGREP "free" >/dev/null 2>&1; then
6465 ac_cv_header_stdc=no
6471 if test $ac_cv_header_stdc = yes; then
6472 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6473 if test "$cross_compiling" = yes; then
6476 cat >conftest.$ac_ext <<_ACEOF
6479 cat confdefs.h >>conftest.$ac_ext
6480 cat >>conftest.$ac_ext <<_ACEOF
6481 /* end confdefs.h. */
6483 #if ((' ' & 0x0FF) == 0x020)
6484 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6485 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6487 # define ISLOWER(c) \
6488 (('a' <= (c) && (c) <= 'i') \
6489 || ('j' <= (c) && (c) <= 'r') \
6490 || ('s' <= (c) && (c) <= 'z'))
6491 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6494 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6499 for (i = 0; i < 256; i++)
6500 if (XOR (islower (i), ISLOWER (i))
6501 || toupper (i) != TOUPPER (i))
6506 rm -f conftest$ac_exeext
6507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6508 (eval $ac_link) 2>&5
6510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6511 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6516 (exit $ac_status); }; }; then
6519 echo "$as_me: program exited with status $ac_status" >&5
6520 echo "$as_me: failed program was:" >&5
6521 sed 's/^/| /' conftest.$ac_ext >&5
6524 ac_cv_header_stdc=no
6526 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6530 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6531 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6532 if test $ac_cv_header_stdc = yes; then
6534 cat >>confdefs.h <<\_ACEOF
6535 #define STDC_HEADERS 1
6540 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6550 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6551 inttypes.h stdint.h unistd.h
6553 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6554 echo "$as_me:$LINENO: checking for $ac_header" >&5
6555 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6556 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6557 echo $ECHO_N "(cached) $ECHO_C" >&6
6559 cat >conftest.$ac_ext <<_ACEOF
6562 cat confdefs.h >>conftest.$ac_ext
6563 cat >>conftest.$ac_ext <<_ACEOF
6564 /* end confdefs.h. */
6565 $ac_includes_default
6567 #include <$ac_header>
6569 rm -f conftest.$ac_objext
6570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6571 (eval $ac_compile) 2>conftest.er1
6573 grep -v '^ *+' conftest.er1 >conftest.err
6575 cat conftest.err >&5
6576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6577 (exit $ac_status); } &&
6578 { ac_try='test -z "$ac_c_werror_flag"
6579 || test ! -s conftest.err'
6580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6584 (exit $ac_status); }; } &&
6585 { ac_try='test -s conftest.$ac_objext'
6586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6590 (exit $ac_status); }; }; then
6591 eval "$as_ac_Header=yes"
6593 echo "$as_me: failed program was:" >&5
6594 sed 's/^/| /' conftest.$ac_ext >&5
6596 eval "$as_ac_Header=no"
6598 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6601 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6602 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6603 cat >>confdefs.h <<_ACEOF
6604 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6613 for ac_header in dlfcn.h
6615 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6616 echo "$as_me:$LINENO: checking for $ac_header" >&5
6617 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6618 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6619 echo $ECHO_N "(cached) $ECHO_C" >&6
6621 cat >conftest.$ac_ext <<_ACEOF
6624 cat confdefs.h >>conftest.$ac_ext
6625 cat >>conftest.$ac_ext <<_ACEOF
6626 /* end confdefs.h. */
6627 $ac_includes_default
6629 #include <$ac_header>
6631 rm -f conftest.$ac_objext
6632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6633 (eval $ac_compile) 2>conftest.er1
6635 grep -v '^ *+' conftest.er1 >conftest.err
6637 cat conftest.err >&5
6638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6639 (exit $ac_status); } &&
6640 { ac_try='test -z "$ac_c_werror_flag"
6641 || test ! -s conftest.err'
6642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6646 (exit $ac_status); }; } &&
6647 { ac_try='test -s conftest.$ac_objext'
6648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6652 (exit $ac_status); }; }; then
6653 eval "$as_ac_Header=yes"
6655 echo "$as_me: failed program was:" >&5
6656 sed 's/^/| /' conftest.$ac_ext >&5
6658 eval "$as_ac_Header=no"
6660 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6662 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6663 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6664 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6665 cat >>confdefs.h <<_ACEOF
6666 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6675 # This can be used to rebuild libtool when needed
6676 LIBTOOL_DEPS="$ltmain"
6678 # Always use our own libtool.
6679 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
6705 test -z "$LN_S" && LN_S="ln -s"
6720 if test -n "${ZSH_VERSION+set}" ; then
6721 setopt NO_GLOB_SUBST
6724 echo "$as_me:$LINENO: checking for objdir" >&5
6725 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
6726 if test "${lt_cv_objdir+set}" = set; then
6727 echo $ECHO_N "(cached) $ECHO_C" >&6
6729 rm -f .libs 2>/dev/null
6730 mkdir .libs 2>/dev/null
6731 if test -d .libs; then
6734 # MS-DOS does not allow filenames that begin with a dot.
6737 rmdir .libs 2>/dev/null
6739 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6740 echo "${ECHO_T}$lt_cv_objdir" >&6
6741 objdir=$lt_cv_objdir
6747 cat >>confdefs.h <<_ACEOF
6748 #define LT_OBJDIR "$lt_cv_objdir/"
6769 # AIX sometimes has problems with the GCC collect2 program. For some
6770 # reason, if we set the COLLECT_NAMES environment variable, the problems
6771 # vanish in a puff of smoke.
6772 if test "X${COLLECT_NAMES+set}" != Xset; then
6774 export COLLECT_NAMES
6779 # Sed substitution that helps us do robust quoting. It backslashifies
6780 # metacharacters that are still active within double-quoted strings.
6781 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6783 # Same as above, but do not quote variable references.
6784 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6786 # Sed substitution to delay expansion of an escaped shell variable in a
6787 # double_quote_subst'ed string.
6788 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6790 # Sed substitution to delay expansion of an escaped single quote.
6791 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6793 # Sed substitution to avoid accidental globbing in evaled expressions
6794 no_glob_subst='s/\*/\\\*/g'
6798 can_build_shared=yes
6800 # All known linkers require a `.a' archive for static linking (except MSVC,
6801 # which needs '.lib').
6804 with_gnu_ld="$lt_cv_prog_gnu_ld"
6807 old_CFLAGS="$CFLAGS"
6809 # Set sane defaults for various variables
6810 test -z "$CC" && CC=cc
6811 test -z "$LTCC" && LTCC=$CC
6812 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6813 test -z "$LD" && LD=ld
6814 test -z "$ac_objext" && ac_objext=o
6816 for cc_temp in $compiler""; do
6818 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6819 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6824 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6827 # Only perform the check for file, if the check method requires it
6828 test -z "$MAGIC_CMD" && MAGIC_CMD=file
6829 case $deplibs_check_method in
6831 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6832 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6833 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6834 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6835 echo $ECHO_N "(cached) $ECHO_C" >&6
6839 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6842 lt_save_MAGIC_CMD="$MAGIC_CMD"
6843 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6844 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6845 for ac_dir in $ac_dummy; do
6847 test -z "$ac_dir" && ac_dir=.
6848 if test -f $ac_dir/${ac_tool_prefix}file; then
6849 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6850 if test -n "$file_magic_test_file"; then
6851 case $deplibs_check_method in
6853 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6854 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6855 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6856 $EGREP "$file_magic_regex" > /dev/null; then
6861 *** Warning: the command libtool uses to detect shared libraries,
6862 *** $file_magic_cmd, produces output that libtool cannot recognize.
6863 *** The result is that libtool may fail to recognize shared libraries
6864 *** as such. This will affect the creation of libtool libraries that
6865 *** depend on shared libraries, but programs linked with such libtool
6866 *** libraries will work regardless of this problem. Nevertheless, you
6867 *** may want to report the problem to your system manager and/or to
6868 *** bug-libtool@gnu.org
6878 MAGIC_CMD="$lt_save_MAGIC_CMD"
6883 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6884 if test -n "$MAGIC_CMD"; then
6885 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6886 echo "${ECHO_T}$MAGIC_CMD" >&6
6888 echo "$as_me:$LINENO: result: no" >&5
6889 echo "${ECHO_T}no" >&6
6896 if test -z "$lt_cv_path_MAGIC_CMD"; then
6897 if test -n "$ac_tool_prefix"; then
6898 echo "$as_me:$LINENO: checking for file" >&5
6899 echo $ECHO_N "checking for file... $ECHO_C" >&6
6900 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6901 echo $ECHO_N "(cached) $ECHO_C" >&6
6905 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6908 lt_save_MAGIC_CMD="$MAGIC_CMD"
6909 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6910 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6911 for ac_dir in $ac_dummy; do
6913 test -z "$ac_dir" && ac_dir=.
6914 if test -f $ac_dir/file; then
6915 lt_cv_path_MAGIC_CMD="$ac_dir/file"
6916 if test -n "$file_magic_test_file"; then
6917 case $deplibs_check_method in
6919 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6920 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6921 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6922 $EGREP "$file_magic_regex" > /dev/null; then
6927 *** Warning: the command libtool uses to detect shared libraries,
6928 *** $file_magic_cmd, produces output that libtool cannot recognize.
6929 *** The result is that libtool may fail to recognize shared libraries
6930 *** as such. This will affect the creation of libtool libraries that
6931 *** depend on shared libraries, but programs linked with such libtool
6932 *** libraries will work regardless of this problem. Nevertheless, you
6933 *** may want to report the problem to your system manager and/or to
6934 *** bug-libtool@gnu.org
6944 MAGIC_CMD="$lt_save_MAGIC_CMD"
6949 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6950 if test -n "$MAGIC_CMD"; then
6951 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6952 echo "${ECHO_T}$MAGIC_CMD" >&6
6954 echo "$as_me:$LINENO: result: no" >&5
6955 echo "${ECHO_T}no" >&6
6968 # Use C for the default configuration in the libtool script
6972 ac_cpp='$CPP $CPPFLAGS'
6973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6978 # Source file extension for C test sources.
6981 # Object file extension for compiled C test sources.
6985 # Code to be used in simple compile tests
6986 lt_simple_compile_test_code="int some_variable = 0;"
6988 # Code to be used in simple link tests
6989 lt_simple_link_test_code='int main(){return(0);}'
6997 # If no C compiler was specified, use CC.
7000 # If no C compiler flags were specified, use CFLAGS.
7001 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7003 # Allow CC to be a program name with arguments.
7006 # Save the default compiler, since it gets overwritten when the other
7007 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7008 compiler_DEFAULT=$CC
7010 # save warnings/boilerplate of simple test code
7011 ac_outfile=conftest.$ac_objext
7012 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7013 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7014 _lt_compiler_boilerplate=`cat conftest.err`
7017 ac_outfile=conftest.$ac_objext
7018 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7019 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7020 _lt_linker_boilerplate=`cat conftest.err`
7025 ## There is no encapsulation within the following macros, do not change
7026 ## the running order or otherwise move them around unless you know exactly
7027 ## what you are doing...
7028 if test -n "$compiler"; then
7030 lt_prog_compiler_no_builtin_flag=
7032 if test "$GCC" = yes; then
7033 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7035 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7036 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
7037 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7038 echo $ECHO_N "(cached) $ECHO_C" >&6
7040 lt_cv_prog_compiler_rtti_exceptions=no
7041 ac_outfile=conftest.$ac_objext
7042 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7043 lt_compiler_flag="-fno-rtti -fno-exceptions"
7044 # Insert the option either (1) after the last *FLAGS variable, or
7045 # (2) before a word containing "conftest.", or (3) at the end.
7046 # Note that $ac_compile itself does not contain backslashes and begins
7047 # with a dollar sign (not a hyphen), so the echo should work correctly.
7048 # The option is referenced via a variable to avoid confusing sed.
7049 lt_compile=`echo "$ac_compile" | $SED \
7050 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7051 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7052 -e 's:$: $lt_compiler_flag:'`
7053 (eval echo "\"\$as_me:7053: $lt_compile\"" >&5)
7054 (eval "$lt_compile" 2>conftest.err)
7056 cat conftest.err >&5
7057 echo "$as_me:7057: \$? = $ac_status" >&5
7058 if (exit $ac_status) && test -s "$ac_outfile"; then
7059 # The compiler can only warn and ignore the option if not recognized
7060 # So say no if there are warnings other than the usual output.
7061 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7062 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7063 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7064 lt_cv_prog_compiler_rtti_exceptions=yes
7070 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7071 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
7073 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7074 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7086 lt_prog_compiler_wl=
7087 lt_prog_compiler_pic=
7088 lt_prog_compiler_static=
7090 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7091 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
7093 if test "$GCC" = yes; then
7094 lt_prog_compiler_wl='-Wl,'
7095 lt_prog_compiler_static='-static'
7099 # All AIX code is PIC.
7100 if test "$host_cpu" = ia64; then
7101 # AIX 5 now supports IA64 processor
7102 lt_prog_compiler_static='-Bstatic'
7107 if test "$host_cpu" = m68k; then
7108 # FIXME: we need at least 68020 code to build shared libraries, but
7109 # adding the `-m68020' flag to GCC prevents building anything better,
7111 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7115 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7116 # PIC is the default for these OSes.
7119 mingw* | cygwin* | pw32* | os2*)
7120 # This hack is so that the source file can tell whether it is being
7121 # built for inclusion in a dll (and should export symbols for example).
7122 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7123 # (--disable-auto-import) libraries
7124 lt_prog_compiler_pic='-DDLL_EXPORT'
7127 darwin* | rhapsody*)
7128 # PIC is the default on this platform
7129 # Common symbols not allowed in MH_DYLIB files
7130 lt_prog_compiler_pic='-fno-common'
7134 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7141 lt_prog_compiler_pic='-fPIC'
7147 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7148 # Instead, we relocate shared libraries at runtime.
7152 # Just because we use GCC doesn't mean we suddenly get shared libraries
7153 # on systems that don't support them.
7154 lt_prog_compiler_can_build_shared=no
7159 # QNX uses GNU C++, but need to define -shared option too, otherwise
7161 lt_prog_compiler_pic='-fPIC -shared'
7165 if test -d /usr/nec; then
7166 lt_prog_compiler_pic=-Kconform_pic
7171 lt_prog_compiler_pic='-fPIC'
7175 # PORTME Check for flag to pass linker flags through the system compiler.
7178 lt_prog_compiler_wl='-Wl,'
7179 if test "$host_cpu" = ia64; then
7180 # AIX 5 now supports IA64 processor
7181 lt_prog_compiler_static='-Bstatic'
7183 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7187 # PIC is the default on this platform
7188 # Common symbols not allowed in MH_DYLIB files
7189 case $cc_basename in
7191 lt_prog_compiler_pic='-qnocommon'
7192 lt_prog_compiler_wl='-Wl,'
7197 mingw* | cygwin* | pw32* | os2*)
7198 # This hack is so that the source file can tell whether it is being
7199 # built for inclusion in a dll (and should export symbols for example).
7200 lt_prog_compiler_pic='-DDLL_EXPORT'
7203 hpux9* | hpux10* | hpux11*)
7204 lt_prog_compiler_wl='-Wl,'
7205 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7212 lt_prog_compiler_pic='+Z'
7215 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7216 lt_prog_compiler_static='${wl}-a ${wl}archive'
7219 irix5* | irix6* | nonstopux*)
7220 lt_prog_compiler_wl='-Wl,'
7221 # PIC (with -KPIC) is the default.
7222 lt_prog_compiler_static='-non_shared'
7225 linux* | k*bsd*-gnu)
7226 case $cc_basename in
7228 lt_prog_compiler_wl='-Wl,'
7229 lt_prog_compiler_pic='-KPIC'
7230 lt_prog_compiler_static='-static'
7232 pgcc* | pgf77* | pgf90* | pgf95*)
7233 # Portland Group compilers (*not* the Pentium gcc compiler,
7234 # which looks to be a dead project)
7235 lt_prog_compiler_wl='-Wl,'
7236 lt_prog_compiler_pic='-fpic'
7237 lt_prog_compiler_static='-Bstatic'
7240 lt_prog_compiler_wl='-Wl,'
7241 # All Alpha code is PIC.
7242 lt_prog_compiler_static='-non_shared'
7245 case `$CC -V 2>&1 | sed 5q` in
7248 lt_prog_compiler_pic='-KPIC'
7249 lt_prog_compiler_static='-Bstatic'
7250 lt_prog_compiler_wl='-Wl,'
7253 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7254 lt_prog_compiler_pic='-KPIC'
7255 lt_prog_compiler_static='-Bstatic'
7256 lt_prog_compiler_wl=''
7264 lt_prog_compiler_pic='-KPIC'
7265 lt_prog_compiler_static='-Bstatic'
7269 # QNX uses GNU C++, but need to define -shared option too, otherwise
7271 lt_prog_compiler_pic='-fPIC -shared'
7274 osf3* | osf4* | osf5*)
7275 lt_prog_compiler_wl='-Wl,'
7276 # All OSF/1 code is PIC.
7277 lt_prog_compiler_static='-non_shared'
7281 lt_prog_compiler_static='-non_shared'
7285 lt_prog_compiler_pic='-KPIC'
7286 lt_prog_compiler_static='-Bstatic'
7287 case $cc_basename in
7289 lt_prog_compiler_wl='-Qoption ld ';;
7291 lt_prog_compiler_wl='-Wl,';;
7296 lt_prog_compiler_wl='-Qoption ld '
7297 lt_prog_compiler_pic='-PIC'
7298 lt_prog_compiler_static='-Bstatic'
7301 sysv4 | sysv4.2uw2* | sysv4.3*)
7302 lt_prog_compiler_wl='-Wl,'
7303 lt_prog_compiler_pic='-KPIC'
7304 lt_prog_compiler_static='-Bstatic'
7308 if test -d /usr/nec ;then
7309 lt_prog_compiler_pic='-Kconform_pic'
7310 lt_prog_compiler_static='-Bstatic'
7314 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7315 lt_prog_compiler_wl='-Wl,'
7316 lt_prog_compiler_pic='-KPIC'
7317 lt_prog_compiler_static='-Bstatic'
7321 lt_prog_compiler_wl='-Wl,'
7322 lt_prog_compiler_can_build_shared=no
7326 lt_prog_compiler_pic='-pic'
7327 lt_prog_compiler_static='-Bstatic'
7331 lt_prog_compiler_can_build_shared=no
7337 # For platforms which do not support PIC, -DPIC is meaningless:
7339 lt_prog_compiler_pic=
7342 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7345 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7346 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
7354 # Check to make sure the PIC flag actually works.
7356 if test -n "$lt_prog_compiler_pic"; then
7357 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7358 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
7359 if test "${lt_prog_compiler_pic_works+set}" = set; then
7360 echo $ECHO_N "(cached) $ECHO_C" >&6
7362 lt_prog_compiler_pic_works=no
7363 ac_outfile=conftest.$ac_objext
7364 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7365 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7366 # Insert the option either (1) after the last *FLAGS variable, or
7367 # (2) before a word containing "conftest.", or (3) at the end.
7368 # Note that $ac_compile itself does not contain backslashes and begins
7369 # with a dollar sign (not a hyphen), so the echo should work correctly.
7370 # The option is referenced via a variable to avoid confusing sed.
7371 lt_compile=`echo "$ac_compile" | $SED \
7372 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7373 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7374 -e 's:$: $lt_compiler_flag:'`
7375 (eval echo "\"\$as_me:7375: $lt_compile\"" >&5)
7376 (eval "$lt_compile" 2>conftest.err)
7378 cat conftest.err >&5
7379 echo "$as_me:7379: \$? = $ac_status" >&5
7380 if (exit $ac_status) && test -s "$ac_outfile"; then
7381 # The compiler can only warn and ignore the option if not recognized
7382 # So say no if there are warnings other than the usual output.
7383 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7384 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7385 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7386 lt_prog_compiler_pic_works=yes
7392 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7393 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
7395 if test x"$lt_prog_compiler_pic_works" = xyes; then
7396 case $lt_prog_compiler_pic in
7398 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7401 lt_prog_compiler_pic=
7402 lt_prog_compiler_can_build_shared=no
7413 # Check to make sure the static flag actually works.
7415 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7416 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7417 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
7418 if test "${lt_prog_compiler_static_works+set}" = set; then
7419 echo $ECHO_N "(cached) $ECHO_C" >&6
7421 lt_prog_compiler_static_works=no
7422 save_LDFLAGS="$LDFLAGS"
7423 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7424 echo "$lt_simple_link_test_code" > conftest.$ac_ext
7425 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7426 # The linker can only warn and ignore the option if not recognized
7427 # So say no if there are warnings
7428 if test -s conftest.err; then
7429 # Append any errors to the config.log.
7430 cat conftest.err 1>&5
7431 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7432 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7433 if diff conftest.exp conftest.er2 >/dev/null; then
7434 lt_prog_compiler_static_works=yes
7437 lt_prog_compiler_static_works=yes
7441 LDFLAGS="$save_LDFLAGS"
7444 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7445 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
7447 if test x"$lt_prog_compiler_static_works" = xyes; then
7450 lt_prog_compiler_static=
7459 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7460 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7461 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7462 echo $ECHO_N "(cached) $ECHO_C" >&6
7464 lt_cv_prog_compiler_c_o=no
7465 $RM -r conftest 2>/dev/null
7469 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7471 lt_compiler_flag="-o out/conftest2.$ac_objext"
7472 # Insert the option either (1) after the last *FLAGS variable, or
7473 # (2) before a word containing "conftest.", or (3) at the end.
7474 # Note that $ac_compile itself does not contain backslashes and begins
7475 # with a dollar sign (not a hyphen), so the echo should work correctly.
7476 lt_compile=`echo "$ac_compile" | $SED \
7477 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7478 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7479 -e 's:$: $lt_compiler_flag:'`
7480 (eval echo "\"\$as_me:7480: $lt_compile\"" >&5)
7481 (eval "$lt_compile" 2>out/conftest.err)
7483 cat out/conftest.err >&5
7484 echo "$as_me:7484: \$? = $ac_status" >&5
7485 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7487 # The compiler can only warn and ignore the option if not recognized
7488 # So say no if there are warnings
7489 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7490 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7491 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7492 lt_cv_prog_compiler_c_o=yes
7497 # SGI C++ compiler will create directory out/ii_files/ for
7498 # template instantiation
7499 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7500 $RM out/* && rmdir out
7506 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7507 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7514 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7515 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7516 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7517 echo $ECHO_N "(cached) $ECHO_C" >&6
7519 lt_cv_prog_compiler_c_o=no
7520 $RM -r conftest 2>/dev/null
7524 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7526 lt_compiler_flag="-o out/conftest2.$ac_objext"
7527 # Insert the option either (1) after the last *FLAGS variable, or
7528 # (2) before a word containing "conftest.", or (3) at the end.
7529 # Note that $ac_compile itself does not contain backslashes and begins
7530 # with a dollar sign (not a hyphen), so the echo should work correctly.
7531 lt_compile=`echo "$ac_compile" | $SED \
7532 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7533 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7534 -e 's:$: $lt_compiler_flag:'`
7535 (eval echo "\"\$as_me:7535: $lt_compile\"" >&5)
7536 (eval "$lt_compile" 2>out/conftest.err)
7538 cat out/conftest.err >&5
7539 echo "$as_me:7539: \$? = $ac_status" >&5
7540 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7542 # The compiler can only warn and ignore the option if not recognized
7543 # So say no if there are warnings
7544 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7545 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7546 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7547 lt_cv_prog_compiler_c_o=yes
7552 # SGI C++ compiler will create directory out/ii_files/ for
7553 # template instantiation
7554 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7555 $RM out/* && rmdir out
7561 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7562 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7567 hard_links="nottested"
7568 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7569 # do not overwrite the value of need_locks provided by the user
7570 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7571 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
7574 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7576 ln conftest.a conftest.b 2>&5 || hard_links=no
7577 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7578 echo "$as_me:$LINENO: result: $hard_links" >&5
7579 echo "${ECHO_T}$hard_links" >&6
7580 if test "$hard_links" = no; then
7581 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7582 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7594 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7595 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
7598 allow_undefined_flag=
7599 always_export_symbols=no
7601 archive_expsym_cmds=
7602 compiler_needs_object=no
7603 enable_shared_with_static_runtimes=no
7604 export_dynamic_flag_spec=
7605 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7606 hardcode_automatic=no
7608 hardcode_direct_absolute=no
7609 hardcode_libdir_flag_spec=
7610 hardcode_libdir_flag_spec_ld=
7611 hardcode_libdir_separator=
7613 hardcode_shlibpath_var=unsupported
7615 link_all_deplibs=unknown
7618 old_archive_from_new_cmds=
7619 old_archive_from_expsyms_cmds=
7620 thread_safe_flag_spec=
7621 whole_archive_flag_spec=
7622 # include_expsyms should be a list of space-separated symbols to be *always*
7623 # included in the symbol list
7625 # exclude_expsyms can be an extended regexp of symbols to exclude
7626 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7627 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7628 # as well as any symbol that contains `d'.
7629 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
7630 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7631 # platforms (ab)use it in PIC code, but their linkers get confused if
7632 # the symbol is explicitly referenced. Since portable code cannot
7633 # rely on this symbol name, it's probably fine to never include it in
7634 # preloaded symbol tables.
7635 extract_expsyms_cmds=
7638 cygwin* | mingw* | pw32*)
7639 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7640 # When not using gcc, we currently assume that we are using
7641 # Microsoft Visual C++.
7642 if test "$GCC" != yes; then
7647 # we just hope/assume this is gcc and not c89 (= MSVC++)
7656 if test "$with_gnu_ld" = yes; then
7657 # If archive_cmds runs LD, not CC, wlarc should be empty
7660 # Set some defaults for GNU ld with shared library support. These
7661 # are reset later if shared libraries are not supported. Putting them
7662 # here allows them to be overridden if necessary.
7663 runpath_var=LD_RUN_PATH
7664 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7665 export_dynamic_flag_spec='${wl}--export-dynamic'
7666 # ancient GNU ld didn't support --whole-archive et. al.
7667 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
7668 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7670 whole_archive_flag_spec=
7672 supports_anon_versioning=no
7673 case `$LD -v 2>&1` in
7674 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7675 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7676 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7677 *\ 2.11.*) ;; # other 2.11 versions
7678 *) supports_anon_versioning=yes ;;
7681 # See if GNU ld supports shared libraries.
7683 aix3* | aix4* | aix5*)
7684 # On AIX/PPC, the GNU linker is very broken
7685 if test "$host_cpu" != ia64; then
7689 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7690 *** to be unable to reliably create shared libraries on AIX.
7691 *** Therefore, libtool is disabling shared libraries support. If you
7692 *** really care for shared libraries, you may want to modify your PATH
7693 *** so that a non-GNU linker is found, and then restart.
7700 if test "$host_cpu" = m68k; then
7701 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)'
7702 hardcode_libdir_flag_spec='-L$libdir'
7703 hardcode_minus_L=yes
7706 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7707 # that the semantics of dynamic libraries on AmigaOS, at least up
7708 # to version 4, is to share data among multiple programs linked
7709 # with the same dynamic library. Since this doesn't match the
7710 # behavior of shared libraries on other platforms, we can't use
7716 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7717 allow_undefined_flag=unsupported
7718 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7719 # support --undefined. This deserves some investigation. FIXME
7720 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7726 cygwin* | mingw* | pw32*)
7727 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7728 # as there is no search path for DLLs.
7729 hardcode_libdir_flag_spec='-L$libdir'
7730 allow_undefined_flag=unsupported
7731 always_export_symbols=no
7732 enable_shared_with_static_runtimes=yes
7733 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7735 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
7736 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7737 # If the export-symbols file already is a .def file (1st line
7738 # is EXPORTS), use it as is; otherwise, prepend...
7739 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7740 cp $export_symbols $output_objdir/$soname.def;
7742 echo EXPORTS > $output_objdir/$soname.def;
7743 cat $export_symbols >> $output_objdir/$soname.def;
7745 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7753 hardcode_shlibpath_var=no
7754 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7755 export_dynamic_flag_spec='${wl}-E'
7756 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7757 # Instead, shared libraries are loaded at an image base (0x10000000 by
7758 # default) and relocated if they conflict, which is a slow very memory
7759 # consuming and fragmenting process. To avoid this, we pick a random,
7760 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7761 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7762 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7763 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'
7766 gnu* | linux* | tpf* | k*bsd*-gnu)
7768 if test "$host_os" = linux-dietlibc; then
7769 case $cc_basename in
7770 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
7773 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
7774 && test "$tmp_diet" = no
7777 case $cc_basename,$host_cpu in
7778 pgcc*) # Portland Group C compiler
7779 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'
7780 tmp_addflag=' $pic_flag'
7782 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
7783 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'
7784 tmp_addflag=' $pic_flag -Mnomain' ;;
7785 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
7786 tmp_addflag=' -i_dynamic' ;;
7787 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
7788 tmp_addflag=' -i_dynamic -nofor_main' ;;
7789 ifc* | ifort*) # Intel Fortran compiler
7790 tmp_addflag=' -nofor_main' ;;
7792 case `$CC -V 2>&1 | sed 5q` in
7793 *Sun\ C*) # Sun C 5.9
7794 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'
7795 compiler_needs_object=yes
7796 tmp_sharedflag='-G' ;;
7797 *Sun\ F*) # Sun Fortran 8.3
7798 tmp_sharedflag='-G' ;;
7800 tmp_sharedflag='-shared' ;;
7802 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7804 if test "x$supports_anon_versioning" = xyes; then
7805 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
7806 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7807 echo "local: *; };" >> $output_objdir/$libname.ver~
7808 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7816 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
7817 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7820 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7821 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7826 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
7830 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7831 *** create shared libraries on Solaris systems. Therefore, libtool
7832 *** is disabling shared libraries support. We urge you to upgrade GNU
7833 *** binutils to release 2.9.1 or newer. Another option is to modify
7834 *** your PATH or compiler configuration so that the native linker is
7835 *** used, and then restart.
7838 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7839 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7840 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7846 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
7847 case `$LD -v 2>&1` in
7848 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
7852 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7853 *** reliably create shared libraries on SCO systems. Therefore, libtool
7854 *** is disabling shared libraries support. We urge you to upgrade GNU
7855 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7856 *** your PATH or compiler configuration so that the native linker is
7857 *** used, and then restart.
7862 # For security reasons, it is highly recommended that you always
7863 # use absolute paths for naming shared libraries, and exclude the
7864 # DT_RUNPATH tag from executables and libraries. But doing so
7865 # requires that you compile everything twice, which is a pain.
7866 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7867 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7868 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7869 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7878 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7881 hardcode_shlibpath_var=no
7885 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7886 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7887 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7894 if test "$ld_shlibs" = no; then
7896 hardcode_libdir_flag_spec=
7897 export_dynamic_flag_spec=
7898 whole_archive_flag_spec=
7901 # PORTME fill in a description of your system's linker (not GNU ld)
7904 allow_undefined_flag=unsupported
7905 always_export_symbols=yes
7906 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'
7907 # Note: this linker hardcodes the directories in LIBPATH if there
7908 # are no directories specified by -L.
7909 hardcode_minus_L=yes
7910 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7911 # Neither direct hardcoding nor static linking is supported with a
7913 hardcode_direct=unsupported
7918 if test "$host_cpu" = ia64; then
7919 # On IA64, the linker does run time linking by default, so we don't
7920 # have to do anything special.
7921 aix_use_runtimelinking=no
7922 exp_sym_flag='-Bexport'
7925 # If we're using GNU nm, then we don't want the "-C" option.
7926 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7927 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
7928 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'
7930 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'
7932 aix_use_runtimelinking=no
7934 # Test if we are trying to use run time linking or normal
7935 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7936 # need to do runtime linking.
7937 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
7938 for ld_flag in $LDFLAGS; do
7939 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
7940 aix_use_runtimelinking=yes
7947 exp_sym_flag='-bexport'
7948 no_entry_flag='-bnoentry'
7951 # When large executables or shared objects are built, AIX ld can
7952 # have problems creating the table of contents. If linking a library
7953 # or program results in "error TOC overflow" add -mminimal-toc to
7954 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7955 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7959 hardcode_direct_absolute=yes
7960 hardcode_libdir_separator=':'
7961 link_all_deplibs=yes
7962 file_list_spec='${wl}-f,'
7964 if test "$GCC" = yes; then
7965 case $host_os in aix4.[012]|aix4.[012].*)
7966 # We only want to do this on AIX 4.2 and lower, the check
7967 # below for broken collect2 doesn't work under 4.3+
7968 collect2name=`${CC} -print-prog-name=collect2`
7969 if test -f "$collect2name" &&
7970 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
7972 # We have reworked collect2
7975 # We have old collect2
7976 hardcode_direct=unsupported
7977 # It fails to find uninstalled libraries when the uninstalled
7978 # path is not listed in the libpath. Setting hardcode_minus_L
7979 # to unsupported forces relinking
7980 hardcode_minus_L=yes
7981 hardcode_libdir_flag_spec='-L$libdir'
7982 hardcode_libdir_separator=
7986 shared_flag='-shared'
7987 if test "$aix_use_runtimelinking" = yes; then
7988 shared_flag="$shared_flag "'${wl}-G'
7992 if test "$host_cpu" = ia64; then
7993 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7994 # chokes on -Wl,-G. The following line is correct:
7997 if test "$aix_use_runtimelinking" = yes; then
7998 shared_flag='${wl}-G'
8000 shared_flag='${wl}-bM:SRE'
8005 # It seems that -bexpall does not export symbols beginning with
8006 # underscore (_), so it is better to generate a list of symbols to export.
8007 always_export_symbols=yes
8008 if test "$aix_use_runtimelinking" = yes; then
8009 # Warning - without using the other runtime loading flags (-brtl),
8010 # -berok will link without error, but may produce a broken library.
8011 allow_undefined_flag='-berok'
8012 # Determine the default libpath from the value encoded in an
8014 cat >conftest.$ac_ext <<_ACEOF
8017 cat confdefs.h >>conftest.$ac_ext
8018 cat >>conftest.$ac_ext <<_ACEOF
8019 /* end confdefs.h. */
8029 rm -f conftest.$ac_objext conftest$ac_exeext
8030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8031 (eval $ac_link) 2>conftest.er1
8033 grep -v '^ *+' conftest.er1 >conftest.err
8035 cat conftest.err >&5
8036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8037 (exit $ac_status); } &&
8038 { ac_try='test -z "$ac_c_werror_flag"
8039 || test ! -s conftest.err'
8040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8044 (exit $ac_status); }; } &&
8045 { ac_try='test -s conftest$ac_exeext'
8046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8050 (exit $ac_status); }; }; then
8052 lt_aix_libpath_sed='
8053 /Import File Strings/,/^$/ {
8059 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8060 # Check for a 64-bit object if we didn't find anything.
8061 if test -z "$aix_libpath"; then
8062 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8065 echo "$as_me: failed program was:" >&5
8066 sed 's/^/| /' conftest.$ac_ext >&5
8069 rm -f conftest.err conftest.$ac_objext \
8070 conftest$ac_exeext conftest.$ac_ext
8071 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8073 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8074 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"
8076 if test "$host_cpu" = ia64; then
8077 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8078 allow_undefined_flag="-z nodefs"
8079 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"
8081 # Determine the default libpath from the value encoded in an
8083 cat >conftest.$ac_ext <<_ACEOF
8086 cat confdefs.h >>conftest.$ac_ext
8087 cat >>conftest.$ac_ext <<_ACEOF
8088 /* end confdefs.h. */
8098 rm -f conftest.$ac_objext conftest$ac_exeext
8099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8100 (eval $ac_link) 2>conftest.er1
8102 grep -v '^ *+' conftest.er1 >conftest.err
8104 cat conftest.err >&5
8105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8106 (exit $ac_status); } &&
8107 { ac_try='test -z "$ac_c_werror_flag"
8108 || test ! -s conftest.err'
8109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8113 (exit $ac_status); }; } &&
8114 { ac_try='test -s conftest$ac_exeext'
8115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8119 (exit $ac_status); }; }; then
8121 lt_aix_libpath_sed='
8122 /Import File Strings/,/^$/ {
8128 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8129 # Check for a 64-bit object if we didn't find anything.
8130 if test -z "$aix_libpath"; then
8131 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8134 echo "$as_me: failed program was:" >&5
8135 sed 's/^/| /' conftest.$ac_ext >&5
8138 rm -f conftest.err conftest.$ac_objext \
8139 conftest$ac_exeext conftest.$ac_ext
8140 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8142 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8143 # Warning - without using the other run time loading flags,
8144 # -berok will link without error, but may produce a broken library.
8145 no_undefined_flag=' ${wl}-bernotok'
8146 allow_undefined_flag=' ${wl}-berok'
8147 # Exported symbols can be pulled into shared objects from archives
8148 whole_archive_flag_spec='$convenience'
8149 archive_cmds_need_lc=yes
8150 # This is similar to how AIX traditionally builds its shared libraries.
8151 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'
8157 if test "$host_cpu" = m68k; then
8158 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)'
8159 hardcode_libdir_flag_spec='-L$libdir'
8160 hardcode_minus_L=yes
8162 # see comment about different semantics on the GNU ld section
8167 export_dynamic_flag_spec=-rdynamic
8170 cygwin* | mingw* | pw32*)
8171 # When not using gcc, we currently assume that we are using
8172 # Microsoft Visual C++.
8173 # hardcode_libdir_flag_spec is actually meaningless, as there is
8174 # no search path for DLLs.
8175 hardcode_libdir_flag_spec=' '
8176 allow_undefined_flag=unsupported
8177 # Tell ltmain to make .lib files, not .a files.
8179 # Tell ltmain to make .dll files, not .so files.
8181 # FIXME: Setting linknames here is a bad hack.
8182 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8183 # The linker will automatically build a .lib file if we build a DLL.
8184 old_archive_from_new_cmds='true'
8185 # FIXME: Should let the user specify the lib program.
8186 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8187 fix_srcfile_path='`cygpath -w "$srcfile"`'
8188 enable_shared_with_static_runtimes=yes
8191 darwin* | rhapsody*)
8193 rhapsody* | darwin1.[012])
8194 allow_undefined_flag='${wl}-undefined ${wl}suppress'
8197 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
8199 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8202 allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
8207 archive_cmds_need_lc=no
8209 hardcode_automatic=yes
8210 hardcode_shlibpath_var=unsupported
8211 whole_archive_flag_spec=''
8212 link_all_deplibs=yes
8213 if test "$GCC" = yes ; then
8214 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
8215 echo $ECHO_N "(cached) $ECHO_C" >&6
8217 lt_cv_apple_cc_single_mod=no
8218 if test -z "${LT_MULTI_MODULE}"; then
8219 # By default we will add the -single_module flag. You can override
8220 # by either setting the environment variable LT_MULTI_MODULE
8221 # non-empty at configure time, or by adding -multi-module to the
8223 echo "int foo(void){return 1;}" > conftest.c
8224 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8225 -dynamiclib ${wl}-single_module conftest.c
8226 if test -f libconftest.dylib; then
8227 lt_cv_apple_cc_single_mod=yes
8228 rm libconftest.dylib
8234 output_verbose_link_cmd=echo
8235 if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
8236 archive_cmds='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8237 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}'
8239 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8240 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}'
8242 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8243 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}'
8245 case $cc_basename in
8247 output_verbose_link_cmd=echo
8248 archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
8249 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8250 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8251 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}'
8252 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}'
8262 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8263 hardcode_libdir_flag_spec='-L$libdir'
8264 hardcode_shlibpath_var=no
8271 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8272 # support. Future versions do this automatically, but an explicit c++rt0.o
8273 # does not break anything, and helps significantly (at the cost of a little
8276 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8277 hardcode_libdir_flag_spec='-R$libdir'
8279 hardcode_shlibpath_var=no
8282 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8284 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8286 hardcode_minus_L=yes
8287 hardcode_shlibpath_var=no
8290 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8291 freebsd* | dragonfly*)
8292 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8293 hardcode_libdir_flag_spec='-R$libdir'
8295 hardcode_shlibpath_var=no
8299 if test "$GCC" = yes; then
8300 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'
8302 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'
8304 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8305 hardcode_libdir_separator=:
8308 # hardcode_minus_L: Not really in the search PATH,
8309 # but as the default location of the library.
8310 hardcode_minus_L=yes
8311 export_dynamic_flag_spec='${wl}-E'
8315 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8316 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8318 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8320 if test "$with_gnu_ld" = no; then
8321 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8322 hardcode_libdir_flag_spec_ld='+b $libdir'
8323 hardcode_libdir_separator=:
8325 hardcode_direct_absolute=yes
8326 export_dynamic_flag_spec='${wl}-E'
8327 # hardcode_minus_L: Not really in the search PATH,
8328 # but as the default location of the library.
8329 hardcode_minus_L=yes
8334 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8337 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8340 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8343 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8349 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8352 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8355 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8359 if test "$with_gnu_ld" = no; then
8360 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8361 hardcode_libdir_separator=:
8366 hardcode_shlibpath_var=no
8370 hardcode_direct_absolute=yes
8371 export_dynamic_flag_spec='${wl}-E'
8373 # hardcode_minus_L: Not really in the search PATH,
8374 # but as the default location of the library.
8375 hardcode_minus_L=yes
8381 irix5* | irix6* | nonstopux*)
8382 if test "$GCC" = yes; then
8383 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'
8384 # Try to use the -exported_symbol ld option, if it does not
8385 # work, assume that -exports_file does not work either and
8386 # implicitly export all symbols.
8387 save_LDFLAGS="$LDFLAGS"
8388 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8389 cat >conftest.$ac_ext <<_ACEOF
8392 rm -f conftest.$ac_objext conftest$ac_exeext
8393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8394 (eval $ac_link) 2>conftest.er1
8396 grep -v '^ *+' conftest.er1 >conftest.err
8398 cat conftest.err >&5
8399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8400 (exit $ac_status); } &&
8401 { ac_try='test -z "$ac_c_werror_flag"
8402 || test ! -s conftest.err'
8403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8407 (exit $ac_status); }; } &&
8408 { ac_try='test -s conftest$ac_exeext'
8409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8413 (exit $ac_status); }; }; then
8414 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'
8417 echo "$as_me: failed program was:" >&5
8418 sed 's/^/| /' conftest.$ac_ext >&5
8421 rm -f conftest.err conftest.$ac_objext \
8422 conftest$ac_exeext conftest.$ac_ext
8423 LDFLAGS="$save_LDFLAGS"
8425 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'
8426 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'
8428 archive_cmds_need_lc='no'
8429 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8430 hardcode_libdir_separator=:
8432 link_all_deplibs=yes
8436 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8437 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8439 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8441 hardcode_libdir_flag_spec='-R$libdir'
8443 hardcode_shlibpath_var=no
8447 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8449 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8450 hardcode_libdir_separator=:
8451 hardcode_shlibpath_var=no
8459 hardcode_shlibpath_var=no
8460 hardcode_direct_absolute=yes
8461 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8462 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8463 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8464 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8465 export_dynamic_flag_spec='${wl}-E'
8468 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8469 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8470 hardcode_libdir_flag_spec='-R$libdir'
8473 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8474 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8481 hardcode_libdir_flag_spec='-L$libdir'
8482 hardcode_minus_L=yes
8483 allow_undefined_flag=unsupported
8484 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'
8485 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8489 if test "$GCC" = yes; then
8490 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8491 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'
8493 allow_undefined_flag=' -expect_unresolved \*'
8494 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'
8496 archive_cmds_need_lc='no'
8497 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8498 hardcode_libdir_separator=:
8501 osf4* | osf5*) # as osf3* with the addition of -msym flag
8502 if test "$GCC" = yes; then
8503 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8504 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'
8505 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8507 allow_undefined_flag=' -expect_unresolved \*'
8508 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'
8509 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~
8510 $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'
8512 # Both c and cxx compiler support -rpath directly
8513 hardcode_libdir_flag_spec='-rpath $libdir'
8515 archive_cmds_need_lc='no'
8516 hardcode_libdir_separator=:
8520 no_undefined_flag=' -z defs'
8521 if test "$GCC" = yes; then
8523 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8524 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8525 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8527 case `$CC -V 2>&1` in
8530 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8531 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8532 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8536 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8537 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8538 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8542 hardcode_libdir_flag_spec='-R$libdir'
8543 hardcode_shlibpath_var=no
8545 solaris2.[0-5] | solaris2.[0-5].*) ;;
8547 # The compiler driver will combine and reorder linker options,
8548 # but understands `-z linker_flag'. GCC discards it without `$wl',
8549 # but is careful enough not to reorder.
8550 # Supported since Solaris 2.6 (maybe 2.5.1?)
8551 if test "$GCC" = yes; then
8552 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8554 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8558 link_all_deplibs=yes
8562 if test "x$host_vendor" = xsequent; then
8563 # Use $CC to link under sequent, because it throws in some extra .o
8564 # files that make .init and .fini sections work.
8565 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8567 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8569 hardcode_libdir_flag_spec='-L$libdir'
8571 hardcode_minus_L=yes
8572 hardcode_shlibpath_var=no
8576 case $host_vendor in
8578 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8579 hardcode_direct=yes # is this really true???
8582 ## LD is ld it makes a PLAMLIB
8583 ## CC just makes a GrossModule.
8584 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8585 reload_cmds='$CC -r -o $output$reload_objs'
8589 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8590 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8593 runpath_var='LD_RUN_PATH'
8594 hardcode_shlibpath_var=no
8598 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8599 hardcode_shlibpath_var=no
8600 export_dynamic_flag_spec='-Bexport'
8604 if test -d /usr/nec; then
8605 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8606 hardcode_shlibpath_var=no
8607 runpath_var=LD_RUN_PATH
8608 hardcode_runpath_var=yes
8613 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8614 no_undefined_flag='${wl}-z,text'
8615 archive_cmds_need_lc=no
8616 hardcode_shlibpath_var=no
8617 runpath_var='LD_RUN_PATH'
8619 if test "$GCC" = yes; then
8620 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8621 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8623 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8624 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8628 sysv5* | sco3.2v5* | sco5v6*)
8629 # Note: We can NOT use -z defs as we might desire, because we do not
8630 # link with -lc, and that would cause any symbols used from libc to
8631 # always be unresolved, which means just about no library would
8632 # ever link correctly. If we're not using GNU ld we use -z text
8633 # though, which does catch some bad symbols but isn't as heavy-handed
8635 no_undefined_flag='${wl}-z,text'
8636 allow_undefined_flag='${wl}-z,nodefs'
8637 archive_cmds_need_lc=no
8638 hardcode_shlibpath_var=no
8639 hardcode_libdir_flag_spec='${wl}-R,$libdir'
8640 hardcode_libdir_separator=':'
8641 link_all_deplibs=yes
8642 export_dynamic_flag_spec='${wl}-Bexport'
8643 runpath_var='LD_RUN_PATH'
8645 if test "$GCC" = yes; then
8646 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8647 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8649 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8650 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8655 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8656 hardcode_libdir_flag_spec='-L$libdir'
8657 hardcode_shlibpath_var=no
8665 if test x$host_vendor = xsni; then
8667 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8668 export_dynamic_flag_spec='${wl}-Blargedynsym'
8674 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8675 echo "${ECHO_T}$ld_shlibs" >&6
8676 test "$ld_shlibs" = no && can_build_shared=no
8678 with_gnu_ld=$with_gnu_ld
8695 # Do we need to explicitly link libc?
8697 case "x$archive_cmds_need_lc" in
8699 # Assume -lc should be added
8700 archive_cmds_need_lc=yes
8702 if test "$enable_shared" = yes && test "$GCC" = yes; then
8703 case $archive_cmds in
8705 # FIXME: we may have to deal with multi-command sequences.
8708 # Test whether the compiler implicitly links with -lc since on some
8709 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8710 # to ld, don't add -lc before -lgcc.
8711 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8712 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
8714 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8717 (eval $ac_compile) 2>&5
8719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8720 (exit $ac_status); } 2>conftest.err; then
8723 libobjs=conftest.$ac_objext
8725 wl=$lt_prog_compiler_wl
8726 pic_flag=$lt_prog_compiler_pic
8732 lt_save_allow_undefined_flag=$allow_undefined_flag
8733 allow_undefined_flag=
8734 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
8735 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
8737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8738 (exit $ac_status); }
8740 archive_cmds_need_lc=no
8742 archive_cmds_need_lc=yes
8744 allow_undefined_flag=$lt_save_allow_undefined_flag
8746 cat conftest.err 1>&5
8749 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8750 echo "${ECHO_T}$archive_cmds_need_lc" >&6
8913 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8914 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
8916 if test "$withGCC" = yes; then
8918 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
8919 *) lt_awk_arg="/^libraries:/" ;;
8921 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8922 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
8923 # if the path contains ";" then we assume it to be the separator
8924 # otherwise default to the standard path separator (i.e. ":") - it is
8925 # assumed that no part of a normal pathname contains ";" but that should
8926 # okay in the real world where ";" in dirpaths is itself problematic.
8927 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8929 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8931 # Ok, now we have the path, separated by spaces, we can step through it
8932 # and add multilib dir if necessary.
8933 lt_tmp_lt_search_path_spec=
8934 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8935 for lt_sys_path in $lt_search_path_spec; do
8936 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8937 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8939 test -d "$lt_sys_path" && \
8940 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
8943 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
8944 BEGIN {RS=" "; FS="/|\n";} {
8947 for (lt_i = NF; lt_i > 0; lt_i--) {
8948 if ($lt_i != "" && $lt_i != ".") {
8949 if ($lt_i == "..") {
8952 if (lt_count == 0) {
8953 lt_foo="/" $lt_i lt_foo;
8960 if (lt_foo != "") { lt_freq[lt_foo]++; }
8961 if (lt_freq[lt_foo] == 1) { print lt_foo; }
8963 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
8965 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
8968 libname_spec='lib$name'
8976 shlibpath_overrides_runpath=unknown
8978 dynamic_linker="$host_os ld.so"
8979 sys_lib_dlsearch_path_spec="/lib /usr/lib"
8980 need_lib_prefix=unknown
8981 hardcode_into_libs=no
8983 # when you set need_version to no, make sure it does not cause -set_version
8984 # flags to be left without arguments
8985 need_version=unknown
8990 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
8991 shlibpath_var=LIBPATH
8993 # AIX 3 has no versioning support, so we append a major version to the name.
8994 soname_spec='${libname}${release}${shared_ext}$major'
9001 hardcode_into_libs=yes
9002 if test "$host_cpu" = ia64; then
9003 # AIX 5 supports IA64
9004 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9005 shlibpath_var=LD_LIBRARY_PATH
9007 # With GCC up to 2.95.x, collect2 would create an import file
9008 # for dependence libraries. The import file would start with
9009 # the line `#! .'. This would cause the generated library to
9010 # depend on `.', always an invalid library. This was fixed in
9011 # development snapshots of GCC prior to 3.0.
9013 aix4 | aix4.[01] | aix4.[01].*)
9014 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9016 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9023 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9024 # soname into executable. Probably we can add versioning support to
9025 # collect2, so additional links can be useful in future.
9026 if test "$aix_use_runtimelinking" = yes; then
9027 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9028 # instead of lib<name>.a to let people know that these are not
9029 # typical AIX shared libraries.
9030 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9032 # We preserve .a as extension for shared libraries through AIX4.2
9033 # and later when we are not doing run time linking.
9034 library_names_spec='${libname}${release}.a $libname.a'
9035 soname_spec='${libname}${release}${shared_ext}$major'
9037 shlibpath_var=LIBPATH
9042 if test "$host_cpu" = m68k; then
9043 library_names_spec='$libname.ixlibrary $libname.a'
9044 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9045 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'
9052 library_names_spec='${libname}${shared_ext}'
9053 dynamic_linker="$host_os ld.so"
9054 shlibpath_var=LIBRARY_PATH
9060 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9061 soname_spec='${libname}${release}${shared_ext}$major'
9062 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9063 shlibpath_var=LD_LIBRARY_PATH
9064 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9065 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9066 # the default ld.so.conf also contains /usr/contrib/lib and
9067 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9068 # libtool to hard-code these into programs
9071 cygwin* | mingw* | pw32*)
9072 version_type=windows
9077 case $withGCC,$host_os in
9078 yes,cygwin* | yes,mingw* | yes,pw32*)
9079 library_names_spec='$libname.dll.a'
9080 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9081 postinstall_cmds='base_file=`basename \${file}`~
9082 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9083 dldir=$destdir/`dirname \$dlpath`~
9084 test -d \$dldir || mkdir -p \$dldir~
9085 $install_prog $dir/$dlname \$dldir/$dlname~
9086 chmod a+x \$dldir/$dlname~
9087 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9088 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9090 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9091 dlpath=$dir/\$dldll~
9093 shlibpath_overrides_runpath=yes
9097 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9098 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9099 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9102 # MinGW DLLs use traditional 'lib' prefix
9103 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9104 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9105 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9106 # It is most probably a Windows format PATH printed by
9107 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9108 # path with ; separators, and with drive letters. We can handle the
9109 # drive letters (cygwin fileutils understands them), so leave them,
9110 # especially as we might pass files found there to a mingw objdump,
9111 # which wouldn't understand a cygwinified path. Ahh.
9112 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9114 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9118 # pw32 DLLs use 'pw' prefix rather than 'lib'
9119 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9125 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9128 dynamic_linker='Win32 ld.exe'
9129 # FIXME: first we should search . and the directory the executable is in
9133 darwin* | rhapsody*)
9134 dynamic_linker="$host_os dyld"
9138 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9139 soname_spec='${libname}${release}${major}$shared_ext'
9140 shlibpath_overrides_runpath=yes
9141 shlibpath_var=DYLD_LIBRARY_PATH
9142 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9144 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9145 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9152 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9153 soname_spec='${libname}${release}${shared_ext}$major'
9154 shlibpath_var=LD_LIBRARY_PATH
9161 freebsd* | dragonfly*)
9162 # DragonFly does not have aout. When/if they implement a new
9163 # versioning mechanism, adjust this.
9164 if test -x /usr/bin/objformat; then
9165 objformat=`/usr/bin/objformat`
9168 freebsd[123]*) objformat=aout ;;
9172 version_type=freebsd-$objformat
9173 case $version_type in
9175 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9180 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9184 shlibpath_var=LD_LIBRARY_PATH
9187 shlibpath_overrides_runpath=yes
9189 freebsd3.[01]* | freebsdelf3.[01]*)
9190 shlibpath_overrides_runpath=yes
9191 hardcode_into_libs=yes
9193 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9194 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9195 shlibpath_overrides_runpath=no
9196 hardcode_into_libs=yes
9198 *) # from 4.6 on, and DragonFly
9199 shlibpath_overrides_runpath=yes
9200 hardcode_into_libs=yes
9209 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9210 soname_spec='${libname}${release}${shared_ext}$major'
9211 shlibpath_var=LD_LIBRARY_PATH
9212 hardcode_into_libs=yes
9215 hpux9* | hpux10* | hpux11*)
9216 # Give a soname corresponding to the major version so that dld.sl refuses to
9217 # link against other versions.
9224 hardcode_into_libs=yes
9225 dynamic_linker="$host_os dld.so"
9226 shlibpath_var=LD_LIBRARY_PATH
9227 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9228 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9229 soname_spec='${libname}${release}${shared_ext}$major'
9230 if test "X$HPUX_IA64_MODE" = X32; then
9231 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9233 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9235 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9239 hardcode_into_libs=yes
9240 dynamic_linker="$host_os dld.sl"
9241 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9242 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9243 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9244 soname_spec='${libname}${release}${shared_ext}$major'
9245 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9246 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9250 dynamic_linker="$host_os dld.sl"
9251 shlibpath_var=SHLIB_PATH
9252 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9253 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9254 soname_spec='${libname}${release}${shared_ext}$major'
9257 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9258 postinstall_cmds='chmod 555 $lib'
9265 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9266 soname_spec='${libname}${release}${shared_ext}$major'
9267 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9268 shlibpath_var=LD_LIBRARY_PATH
9269 shlibpath_overrides_runpath=no
9270 hardcode_into_libs=yes
9273 irix5* | irix6* | nonstopux*)
9275 nonstopux*) version_type=nonstopux ;;
9277 if test "$lt_cv_prog_gnu_ld" = yes; then
9285 soname_spec='${libname}${release}${shared_ext}$major'
9286 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9288 irix5* | nonstopux*)
9292 case $LD in # libtool.m4 will add one of these switches to LD
9293 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9294 libsuff= shlibsuff= libmagic=32-bit;;
9295 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9296 libsuff=32 shlibsuff=N32 libmagic=N32;;
9297 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9298 libsuff=64 shlibsuff=64 libmagic=64-bit;;
9299 *) libsuff= shlibsuff= libmagic=never-match;;
9303 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9304 shlibpath_overrides_runpath=no
9305 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9306 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9307 hardcode_into_libs=yes
9310 # No shared lib support for Linux oldld, aout, or coff.
9311 linux*oldld* | linux*aout* | linux*coff*)
9315 # This must be Linux ELF.
9316 linux* | k*bsd*-gnu)
9320 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9321 soname_spec='${libname}${release}${shared_ext}$major'
9322 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9323 shlibpath_var=LD_LIBRARY_PATH
9324 shlibpath_overrides_runpath=no
9325 # Some binutils ld are patched to set DT_RUNPATH
9326 save_LDFLAGS=$LDFLAGS
9328 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9329 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9330 cat >conftest.$ac_ext <<_ACEOF
9333 cat confdefs.h >>conftest.$ac_ext
9334 cat >>conftest.$ac_ext <<_ACEOF
9335 /* end confdefs.h. */
9345 rm -f conftest.$ac_objext conftest$ac_exeext
9346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9347 (eval $ac_link) 2>conftest.er1
9349 grep -v '^ *+' conftest.er1 >conftest.err
9351 cat conftest.err >&5
9352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9353 (exit $ac_status); } &&
9354 { ac_try='test -z "$ac_c_werror_flag"
9355 || test ! -s conftest.err'
9356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9360 (exit $ac_status); }; } &&
9361 { ac_try='test -s conftest$ac_exeext'
9362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9366 (exit $ac_status); }; }; then
9367 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
9368 shlibpath_overrides_runpath=yes
9372 echo "$as_me: failed program was:" >&5
9373 sed 's/^/| /' conftest.$ac_ext >&5
9376 rm -f conftest.err conftest.$ac_objext \
9377 conftest$ac_exeext conftest.$ac_ext
9378 LDFLAGS=$save_LDFLAGS
9381 # This implies no fast_install, which is unacceptable.
9382 # Some rework will be needed to allow for fast_install
9383 # before this can be enabled.
9384 hardcode_into_libs=yes
9386 # Append ld.so.conf contents to the search path
9387 if test -f /etc/ld.so.conf; then
9388 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' ' '`
9389 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9392 # We used to test for /lib/ld.so.1 and disable shared libraries on
9393 # powerpc, because MkLinux only supported shared libraries with the
9394 # GNU dynamic linker. Since this was broken with cross compilers,
9395 # most powerpc-linux boxes support dynamic linking these days and
9396 # people can always --disable-shared, the test was removed, and we
9397 # assume the GNU/Linux dynamic linker is in use.
9398 dynamic_linker='GNU/Linux ld.so'
9405 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9406 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9407 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9408 dynamic_linker='NetBSD (a.out) ld.so'
9410 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9411 soname_spec='${libname}${release}${shared_ext}$major'
9412 dynamic_linker='NetBSD ld.elf_so'
9414 shlibpath_var=LD_LIBRARY_PATH
9415 shlibpath_overrides_runpath=yes
9416 hardcode_into_libs=yes
9421 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9422 shlibpath_var=LD_LIBRARY_PATH
9423 shlibpath_overrides_runpath=yes
9430 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9431 soname_spec='${libname}${release}${shared_ext}$major'
9432 shlibpath_var=LD_LIBRARY_PATH
9433 shlibpath_overrides_runpath=no
9434 hardcode_into_libs=yes
9435 dynamic_linker='ldqnx.so'
9440 sys_lib_dlsearch_path_spec="/usr/lib"
9442 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9444 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9445 *) need_version=no ;;
9447 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9448 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9449 shlibpath_var=LD_LIBRARY_PATH
9450 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9452 openbsd2.[89] | openbsd2.[89].*)
9453 shlibpath_overrides_runpath=no
9456 shlibpath_overrides_runpath=yes
9460 shlibpath_overrides_runpath=yes
9465 libname_spec='$name'
9468 library_names_spec='$libname${shared_ext} $libname.a'
9469 dynamic_linker='OS/2 ld.exe'
9470 shlibpath_var=LIBPATH
9473 osf3* | osf4* | osf5*)
9477 soname_spec='${libname}${release}${shared_ext}$major'
9478 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9479 shlibpath_var=LD_LIBRARY_PATH
9480 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9481 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9492 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9493 soname_spec='${libname}${release}${shared_ext}$major'
9494 shlibpath_var=LD_LIBRARY_PATH
9495 shlibpath_overrides_runpath=yes
9496 hardcode_into_libs=yes
9497 # ldd complains unless libraries are executable
9498 postinstall_cmds='chmod +x $lib'
9503 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9504 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9505 shlibpath_var=LD_LIBRARY_PATH
9506 shlibpath_overrides_runpath=yes
9507 if test "$with_gnu_ld" = yes; then
9515 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9516 soname_spec='${libname}${release}${shared_ext}$major'
9517 shlibpath_var=LD_LIBRARY_PATH
9518 case $host_vendor in
9520 shlibpath_overrides_runpath=no
9522 runpath_var=LD_RUN_PATH
9530 shlibpath_overrides_runpath=no
9531 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9537 if test -d /usr/nec ;then
9539 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9540 soname_spec='$libname${shared_ext}.$major'
9541 shlibpath_var=LD_LIBRARY_PATH
9545 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9546 version_type=freebsd-elf
9549 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9550 soname_spec='${libname}${release}${shared_ext}$major'
9551 shlibpath_var=LD_LIBRARY_PATH
9552 shlibpath_overrides_runpath=yes
9553 hardcode_into_libs=yes
9554 if test "$with_gnu_ld" = yes; then
9555 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9557 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9560 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9564 sys_lib_dlsearch_path_spec='/usr/lib'
9568 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9572 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9573 shlibpath_var=LD_LIBRARY_PATH
9574 shlibpath_overrides_runpath=no
9575 hardcode_into_libs=yes
9580 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9581 soname_spec='${libname}${release}${shared_ext}$major'
9582 shlibpath_var=LD_LIBRARY_PATH
9589 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9590 echo "${ECHO_T}$dynamic_linker" >&6
9591 test "$dynamic_linker" = no && can_build_shared=no
9593 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9594 if test "$GCC" = yes; then
9595 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9684 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9685 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
9687 if test -n "$hardcode_libdir_flag_spec" ||
9688 test -n "$runpath_var" ||
9689 test "X$hardcode_automatic" = "Xyes" ; then
9691 # We can hardcode non-existent directories.
9692 if test "$hardcode_direct" != no &&
9693 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9694 # have to relink, otherwise we might link with an installed library
9695 # when we should be linking with a yet-to-be-installed one
9696 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9697 test "$hardcode_minus_L" != no; then
9698 # Linking always hardcodes the temporary library directory.
9699 hardcode_action=relink
9701 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9702 hardcode_action=immediate
9705 # We cannot hardcode anything, or else we can only hardcode existing
9707 hardcode_action=unsupported
9709 echo "$as_me:$LINENO: result: $hardcode_action" >&5
9710 echo "${ECHO_T}$hardcode_action" >&6
9712 if test "$hardcode_action" = relink ||
9713 test "$inherit_rpath" = yes; then
9714 # Fast installation is not supported
9715 enable_fast_install=no
9716 elif test "$shlibpath_overrides_runpath" = yes ||
9717 test "$enable_shared" = no; then
9718 # Fast installation is not necessary
9719 enable_fast_install=needless
9727 if test "x$enable_dlopen" != xyes; then
9728 enable_dlopen=unknown
9729 enable_dlopen_self=unknown
9730 enable_dlopen_self_static=unknown
9737 lt_cv_dlopen="load_add_on"
9739 lt_cv_dlopen_self=yes
9743 lt_cv_dlopen="LoadLibrary"
9748 lt_cv_dlopen="dlopen"
9753 # if libdl is installed we need to link against it
9754 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9755 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9756 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9757 echo $ECHO_N "(cached) $ECHO_C" >&6
9759 ac_check_lib_save_LIBS=$LIBS
9761 cat >conftest.$ac_ext <<_ACEOF
9764 cat confdefs.h >>conftest.$ac_ext
9765 cat >>conftest.$ac_ext <<_ACEOF
9766 /* end confdefs.h. */
9768 /* Override any gcc2 internal prototype to avoid an error. */
9772 /* We use char because int might match the return type of a gcc2
9773 builtin and then its argument prototype would still apply. */
9783 rm -f conftest.$ac_objext conftest$ac_exeext
9784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9785 (eval $ac_link) 2>conftest.er1
9787 grep -v '^ *+' conftest.er1 >conftest.err
9789 cat conftest.err >&5
9790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9791 (exit $ac_status); } &&
9792 { ac_try='test -z "$ac_c_werror_flag"
9793 || test ! -s conftest.err'
9794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9798 (exit $ac_status); }; } &&
9799 { ac_try='test -s conftest$ac_exeext'
9800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9804 (exit $ac_status); }; }; then
9805 ac_cv_lib_dl_dlopen=yes
9807 echo "$as_me: failed program was:" >&5
9808 sed 's/^/| /' conftest.$ac_ext >&5
9810 ac_cv_lib_dl_dlopen=no
9812 rm -f conftest.err conftest.$ac_objext \
9813 conftest$ac_exeext conftest.$ac_ext
9814 LIBS=$ac_check_lib_save_LIBS
9816 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9817 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9818 if test $ac_cv_lib_dl_dlopen = yes; then
9819 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9824 lt_cv_dlopen_self=yes
9831 echo "$as_me:$LINENO: checking for shl_load" >&5
9832 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
9833 if test "${ac_cv_func_shl_load+set}" = set; then
9834 echo $ECHO_N "(cached) $ECHO_C" >&6
9836 cat >conftest.$ac_ext <<_ACEOF
9839 cat confdefs.h >>conftest.$ac_ext
9840 cat >>conftest.$ac_ext <<_ACEOF
9841 /* end confdefs.h. */
9842 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9843 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9844 #define shl_load innocuous_shl_load
9846 /* System header to define __stub macros and hopefully few prototypes,
9847 which can conflict with char shl_load (); below.
9848 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9849 <limits.h> exists even on freestanding compilers. */
9852 # include <limits.h>
9854 # include <assert.h>
9859 /* Override any gcc2 internal prototype to avoid an error. */
9864 /* We use char because int might match the return type of a gcc2
9865 builtin and then its argument prototype would still apply. */
9867 /* The GNU C library defines this for functions which it implements
9868 to always fail with ENOSYS. Some functions are actually named
9869 something starting with __ and the normal name is an alias. */
9870 #if defined (__stub_shl_load) || defined (__stub___shl_load)
9873 char (*f) () = shl_load;
9882 return f != shl_load;
9887 rm -f conftest.$ac_objext conftest$ac_exeext
9888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9889 (eval $ac_link) 2>conftest.er1
9891 grep -v '^ *+' conftest.er1 >conftest.err
9893 cat conftest.err >&5
9894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9895 (exit $ac_status); } &&
9896 { ac_try='test -z "$ac_c_werror_flag"
9897 || test ! -s conftest.err'
9898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9902 (exit $ac_status); }; } &&
9903 { ac_try='test -s conftest$ac_exeext'
9904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9908 (exit $ac_status); }; }; then
9909 ac_cv_func_shl_load=yes
9911 echo "$as_me: failed program was:" >&5
9912 sed 's/^/| /' conftest.$ac_ext >&5
9914 ac_cv_func_shl_load=no
9916 rm -f conftest.err conftest.$ac_objext \
9917 conftest$ac_exeext conftest.$ac_ext
9919 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9920 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
9921 if test $ac_cv_func_shl_load = yes; then
9922 lt_cv_dlopen="shl_load"
9924 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9925 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
9926 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9927 echo $ECHO_N "(cached) $ECHO_C" >&6
9929 ac_check_lib_save_LIBS=$LIBS
9931 cat >conftest.$ac_ext <<_ACEOF
9934 cat confdefs.h >>conftest.$ac_ext
9935 cat >>conftest.$ac_ext <<_ACEOF
9936 /* end confdefs.h. */
9938 /* Override any gcc2 internal prototype to avoid an error. */
9942 /* We use char because int might match the return type of a gcc2
9943 builtin and then its argument prototype would still apply. */
9953 rm -f conftest.$ac_objext conftest$ac_exeext
9954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9955 (eval $ac_link) 2>conftest.er1
9957 grep -v '^ *+' conftest.er1 >conftest.err
9959 cat conftest.err >&5
9960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9961 (exit $ac_status); } &&
9962 { ac_try='test -z "$ac_c_werror_flag"
9963 || test ! -s conftest.err'
9964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9968 (exit $ac_status); }; } &&
9969 { ac_try='test -s conftest$ac_exeext'
9970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9974 (exit $ac_status); }; }; then
9975 ac_cv_lib_dld_shl_load=yes
9977 echo "$as_me: failed program was:" >&5
9978 sed 's/^/| /' conftest.$ac_ext >&5
9980 ac_cv_lib_dld_shl_load=no
9982 rm -f conftest.err conftest.$ac_objext \
9983 conftest$ac_exeext conftest.$ac_ext
9984 LIBS=$ac_check_lib_save_LIBS
9986 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9987 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
9988 if test $ac_cv_lib_dld_shl_load = yes; then
9989 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
9991 echo "$as_me:$LINENO: checking for dlopen" >&5
9992 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
9993 if test "${ac_cv_func_dlopen+set}" = set; then
9994 echo $ECHO_N "(cached) $ECHO_C" >&6
9996 cat >conftest.$ac_ext <<_ACEOF
9999 cat confdefs.h >>conftest.$ac_ext
10000 cat >>conftest.$ac_ext <<_ACEOF
10001 /* end confdefs.h. */
10002 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10003 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10004 #define dlopen innocuous_dlopen
10006 /* System header to define __stub macros and hopefully few prototypes,
10007 which can conflict with char dlopen (); below.
10008 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10009 <limits.h> exists even on freestanding compilers. */
10012 # include <limits.h>
10014 # include <assert.h>
10019 /* Override any gcc2 internal prototype to avoid an error. */
10024 /* We use char because int might match the return type of a gcc2
10025 builtin and then its argument prototype would still apply. */
10027 /* The GNU C library defines this for functions which it implements
10028 to always fail with ENOSYS. Some functions are actually named
10029 something starting with __ and the normal name is an alias. */
10030 #if defined (__stub_dlopen) || defined (__stub___dlopen)
10033 char (*f) () = dlopen;
10042 return f != dlopen;
10047 rm -f conftest.$ac_objext conftest$ac_exeext
10048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10049 (eval $ac_link) 2>conftest.er1
10051 grep -v '^ *+' conftest.er1 >conftest.err
10053 cat conftest.err >&5
10054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10055 (exit $ac_status); } &&
10056 { ac_try='test -z "$ac_c_werror_flag"
10057 || test ! -s conftest.err'
10058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10059 (eval $ac_try) 2>&5
10061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10062 (exit $ac_status); }; } &&
10063 { ac_try='test -s conftest$ac_exeext'
10064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10065 (eval $ac_try) 2>&5
10067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10068 (exit $ac_status); }; }; then
10069 ac_cv_func_dlopen=yes
10071 echo "$as_me: failed program was:" >&5
10072 sed 's/^/| /' conftest.$ac_ext >&5
10074 ac_cv_func_dlopen=no
10076 rm -f conftest.err conftest.$ac_objext \
10077 conftest$ac_exeext conftest.$ac_ext
10079 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10080 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
10081 if test $ac_cv_func_dlopen = yes; then
10082 lt_cv_dlopen="dlopen"
10084 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10085 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10086 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10087 echo $ECHO_N "(cached) $ECHO_C" >&6
10089 ac_check_lib_save_LIBS=$LIBS
10091 cat >conftest.$ac_ext <<_ACEOF
10094 cat confdefs.h >>conftest.$ac_ext
10095 cat >>conftest.$ac_ext <<_ACEOF
10096 /* end confdefs.h. */
10098 /* Override any gcc2 internal prototype to avoid an error. */
10102 /* We use char because int might match the return type of a gcc2
10103 builtin and then its argument prototype would still apply. */
10113 rm -f conftest.$ac_objext conftest$ac_exeext
10114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10115 (eval $ac_link) 2>conftest.er1
10117 grep -v '^ *+' conftest.er1 >conftest.err
10119 cat conftest.err >&5
10120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10121 (exit $ac_status); } &&
10122 { ac_try='test -z "$ac_c_werror_flag"
10123 || test ! -s conftest.err'
10124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10125 (eval $ac_try) 2>&5
10127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10128 (exit $ac_status); }; } &&
10129 { ac_try='test -s conftest$ac_exeext'
10130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10131 (eval $ac_try) 2>&5
10133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10134 (exit $ac_status); }; }; then
10135 ac_cv_lib_dl_dlopen=yes
10137 echo "$as_me: failed program was:" >&5
10138 sed 's/^/| /' conftest.$ac_ext >&5
10140 ac_cv_lib_dl_dlopen=no
10142 rm -f conftest.err conftest.$ac_objext \
10143 conftest$ac_exeext conftest.$ac_ext
10144 LIBS=$ac_check_lib_save_LIBS
10146 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10147 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10148 if test $ac_cv_lib_dl_dlopen = yes; then
10149 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10151 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10152 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
10153 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10154 echo $ECHO_N "(cached) $ECHO_C" >&6
10156 ac_check_lib_save_LIBS=$LIBS
10157 LIBS="-lsvld $LIBS"
10158 cat >conftest.$ac_ext <<_ACEOF
10161 cat confdefs.h >>conftest.$ac_ext
10162 cat >>conftest.$ac_ext <<_ACEOF
10163 /* end confdefs.h. */
10165 /* Override any gcc2 internal prototype to avoid an error. */
10169 /* We use char because int might match the return type of a gcc2
10170 builtin and then its argument prototype would still apply. */
10180 rm -f conftest.$ac_objext conftest$ac_exeext
10181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10182 (eval $ac_link) 2>conftest.er1
10184 grep -v '^ *+' conftest.er1 >conftest.err
10186 cat conftest.err >&5
10187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10188 (exit $ac_status); } &&
10189 { ac_try='test -z "$ac_c_werror_flag"
10190 || test ! -s conftest.err'
10191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10192 (eval $ac_try) 2>&5
10194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10195 (exit $ac_status); }; } &&
10196 { ac_try='test -s conftest$ac_exeext'
10197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10198 (eval $ac_try) 2>&5
10200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10201 (exit $ac_status); }; }; then
10202 ac_cv_lib_svld_dlopen=yes
10204 echo "$as_me: failed program was:" >&5
10205 sed 's/^/| /' conftest.$ac_ext >&5
10207 ac_cv_lib_svld_dlopen=no
10209 rm -f conftest.err conftest.$ac_objext \
10210 conftest$ac_exeext conftest.$ac_ext
10211 LIBS=$ac_check_lib_save_LIBS
10213 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10214 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
10215 if test $ac_cv_lib_svld_dlopen = yes; then
10216 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10218 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10219 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
10220 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10221 echo $ECHO_N "(cached) $ECHO_C" >&6
10223 ac_check_lib_save_LIBS=$LIBS
10225 cat >conftest.$ac_ext <<_ACEOF
10228 cat confdefs.h >>conftest.$ac_ext
10229 cat >>conftest.$ac_ext <<_ACEOF
10230 /* end confdefs.h. */
10232 /* Override any gcc2 internal prototype to avoid an error. */
10236 /* We use char because int might match the return type of a gcc2
10237 builtin and then its argument prototype would still apply. */
10247 rm -f conftest.$ac_objext conftest$ac_exeext
10248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10249 (eval $ac_link) 2>conftest.er1
10251 grep -v '^ *+' conftest.er1 >conftest.err
10253 cat conftest.err >&5
10254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10255 (exit $ac_status); } &&
10256 { ac_try='test -z "$ac_c_werror_flag"
10257 || test ! -s conftest.err'
10258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10259 (eval $ac_try) 2>&5
10261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10262 (exit $ac_status); }; } &&
10263 { ac_try='test -s conftest$ac_exeext'
10264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10265 (eval $ac_try) 2>&5
10267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10268 (exit $ac_status); }; }; then
10269 ac_cv_lib_dld_dld_link=yes
10271 echo "$as_me: failed program was:" >&5
10272 sed 's/^/| /' conftest.$ac_ext >&5
10274 ac_cv_lib_dld_dld_link=no
10276 rm -f conftest.err conftest.$ac_objext \
10277 conftest$ac_exeext conftest.$ac_ext
10278 LIBS=$ac_check_lib_save_LIBS
10280 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10281 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
10282 if test $ac_cv_lib_dld_dld_link = yes; then
10283 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
10304 if test "x$lt_cv_dlopen" != xno; then
10310 case $lt_cv_dlopen in
10312 save_CPPFLAGS="$CPPFLAGS"
10313 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10315 save_LDFLAGS="$LDFLAGS"
10316 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10319 LIBS="$lt_cv_dlopen_libs $LIBS"
10321 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10322 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
10323 if test "${lt_cv_dlopen_self+set}" = set; then
10324 echo $ECHO_N "(cached) $ECHO_C" >&6
10326 if test "$cross_compiling" = yes; then :
10327 lt_cv_dlopen_self=cross
10329 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10330 lt_status=$lt_dlunknown
10331 cat > conftest.$ac_ext <<_LT_EOF
10332 #line 10332 "configure"
10333 #include "confdefs.h"
10342 # define LT_DLGLOBAL RTLD_GLOBAL
10345 # define LT_DLGLOBAL DL_GLOBAL
10347 # define LT_DLGLOBAL 0
10351 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10352 find out it does not work in some platform. */
10353 #ifndef LT_DLLAZY_OR_NOW
10355 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10358 # define LT_DLLAZY_OR_NOW DL_LAZY
10361 # define LT_DLLAZY_OR_NOW RTLD_NOW
10364 # define LT_DLLAZY_OR_NOW DL_NOW
10366 # define LT_DLLAZY_OR_NOW 0
10374 extern "C" void exit (int);
10377 void fnord() { int i=42;}
10380 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10381 int status = $lt_dlunknown;
10385 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10386 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10387 /* dlclose (self); */
10395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10396 (eval $ac_link) 2>&5
10398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10399 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10400 (./conftest; exit; ) >&5 2>/dev/null
10402 case x$lt_status in
10403 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10404 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10405 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10408 # compilation failed
10409 lt_cv_dlopen_self=no
10416 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10417 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
10419 if test "x$lt_cv_dlopen_self" = xyes; then
10420 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10421 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10422 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
10423 if test "${lt_cv_dlopen_self_static+set}" = set; then
10424 echo $ECHO_N "(cached) $ECHO_C" >&6
10426 if test "$cross_compiling" = yes; then :
10427 lt_cv_dlopen_self_static=cross
10429 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10430 lt_status=$lt_dlunknown
10431 cat > conftest.$ac_ext <<_LT_EOF
10432 #line 10432 "configure"
10433 #include "confdefs.h"
10442 # define LT_DLGLOBAL RTLD_GLOBAL
10445 # define LT_DLGLOBAL DL_GLOBAL
10447 # define LT_DLGLOBAL 0
10451 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10452 find out it does not work in some platform. */
10453 #ifndef LT_DLLAZY_OR_NOW
10455 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10458 # define LT_DLLAZY_OR_NOW DL_LAZY
10461 # define LT_DLLAZY_OR_NOW RTLD_NOW
10464 # define LT_DLLAZY_OR_NOW DL_NOW
10466 # define LT_DLLAZY_OR_NOW 0
10474 extern "C" void exit (int);
10477 void fnord() { int i=42;}
10480 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10481 int status = $lt_dlunknown;
10485 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10486 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10487 /* dlclose (self); */
10495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10496 (eval $ac_link) 2>&5
10498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10499 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10500 (./conftest; exit; ) >&5 2>/dev/null
10502 case x$lt_status in
10503 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10504 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10505 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10508 # compilation failed
10509 lt_cv_dlopen_self_static=no
10516 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10517 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
10520 CPPFLAGS="$save_CPPFLAGS"
10521 LDFLAGS="$save_LDFLAGS"
10526 case $lt_cv_dlopen_self in
10527 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10528 *) enable_dlopen_self=unknown ;;
10531 case $lt_cv_dlopen_self_static in
10532 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10533 *) enable_dlopen_self_static=unknown ;;
10555 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10556 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
10557 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10558 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10559 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10560 echo "$as_me:$LINENO: result: yes" >&5
10561 echo "${ECHO_T}yes" >&6
10563 # FIXME - insert some real tests, host_os isn't really good enough
10566 if test -n "$STRIP" ; then
10567 striplib="$STRIP -x"
10568 old_striplib="$STRIP -S"
10569 echo "$as_me:$LINENO: result: yes" >&5
10570 echo "${ECHO_T}yes" >&6
10572 echo "$as_me:$LINENO: result: no" >&5
10573 echo "${ECHO_T}no" >&6
10577 echo "$as_me:$LINENO: result: no" >&5
10578 echo "${ECHO_T}no" >&6
10594 # Report which library types will actually be built
10595 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10596 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10597 echo "$as_me:$LINENO: result: $can_build_shared" >&5
10598 echo "${ECHO_T}$can_build_shared" >&6
10600 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10601 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10602 test "$can_build_shared" = "no" && enable_shared=no
10604 # On AIX, shared libraries and static libraries use the same namespace, and
10605 # are all built from PIC.
10608 test "$enable_shared" = yes && enable_static=no
10609 if test -n "$RANLIB"; then
10610 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10611 postinstall_cmds='$RANLIB $lib'
10616 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10617 test "$enable_shared" = yes && enable_static=no
10621 echo "$as_me:$LINENO: result: $enable_shared" >&5
10622 echo "${ECHO_T}$enable_shared" >&6
10624 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10625 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10626 # Make sure either enable_shared or enable_static is yes.
10627 test "$enable_shared" = yes || enable_static=yes
10628 echo "$as_me:$LINENO: result: $enable_static" >&5
10629 echo "${ECHO_T}$enable_static" >&6
10636 ac_cpp='$CPP $CPPFLAGS'
10637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10655 ac_config_commands="$ac_config_commands libtool"
10660 # Only expand once:
10667 subdirs="$subdirs machine sys"
10671 if test "x${have_crt0}" = "xyes"; then
10678 if test -n "${posix_dir}"; then
10679 if test "${use_libtool}" = "yes"; then
10680 LIBC_POSIX_LIB=${posix_dir}/lib${posix_dir}.${aext}
10682 LIBC_POSIX_LIB=${posix_dir}/lib.${aext}
10688 if test x${posix_dir} != x; then
10689 HAVE_POSIX_DIR_TRUE=
10690 HAVE_POSIX_DIR_FALSE='#'
10692 HAVE_POSIX_DIR_TRUE='#'
10693 HAVE_POSIX_DIR_FALSE=
10699 if test -n "${signal_dir}"; then
10700 if test "${use_libtool}" = "yes"; then
10701 LIBC_SIGNAL_LIB=${signal_dir}/lib${signal_dir}.${aext}
10703 LIBC_SIGNAL_LIB=${signal_dir}/lib.${aext}
10705 LIBC_SIGNAL_DEF=${signal_dir}/stmp-def
10711 if test x${signal_dir} != x; then
10712 HAVE_SIGNAL_DIR_TRUE=
10713 HAVE_SIGNAL_DIR_FALSE='#'
10715 HAVE_SIGNAL_DIR_TRUE='#'
10716 HAVE_SIGNAL_DIR_FALSE=
10722 if test -n "${stdio_dir}"; then
10723 if test "${use_libtool}" = "yes"; then
10724 LIBC_STDIO_LIB=${stdio_dir}/lib${stdio_dir}.${aext}
10726 LIBC_STDIO_LIB=${stdio_dir}/lib.${aext}
10728 LIBC_STDIO_DEF=${stdio_dir}/stmp-def
10734 if test x${stdio_dir} != x; then
10735 HAVE_STDIO_DIR_TRUE=
10736 HAVE_STDIO_DIR_FALSE='#'
10738 HAVE_STDIO_DIR_TRUE='#'
10739 HAVE_STDIO_DIR_FALSE=
10745 if test -n "${stdio64_dir}"; then
10746 if test "${use_libtool}" = "yes"; then
10747 LIBC_STDIO64_LIB=${stdio64_dir}/lib${stdio64_dir}.${aext}
10749 LIBC_STDIO64_LIB=${stdio64_dir}/lib.${aext}
10751 LIBC_STDIO64_DEF=${stdio64_dir}/stmp-def
10757 if test x${stdio64_dir} != x; then
10758 HAVE_STDIO64_DIR_TRUE=
10759 HAVE_STDIO64_DIR_FALSE='#'
10761 HAVE_STDIO64_DIR_TRUE='#'
10762 HAVE_STDIO64_DIR_FALSE=
10767 if test -n "${syscall_dir}"; then
10768 if test "${use_libtool}" = "yes"; then
10769 LIBC_SYSCALL_LIB=${syscall_dir}/lib${syscall_dir}.${aext}
10771 LIBC_SYSCALL_LIB=${syscall_dir}/lib.${aext}
10777 if test x${syscall_dir} != x; then
10778 HAVE_SYSCALL_DIR_TRUE=
10779 HAVE_SYSCALL_DIR_FALSE='#'
10781 HAVE_SYSCALL_DIR_TRUE='#'
10782 HAVE_SYSCALL_DIR_FALSE=
10787 if test -n "${unix_dir}"; then
10788 if test "${use_libtool}" = "yes"; then
10789 LIBC_UNIX_LIB=${unix_dir}/lib${unix_dir}.${aext}
10791 LIBC_UNIX_LIB=${unix_dir}/lib.${aext}
10797 if test x${unix_dir} != x; then
10798 HAVE_UNIX_DIR_TRUE=
10799 HAVE_UNIX_DIR_FALSE='#'
10801 HAVE_UNIX_DIR_TRUE='#'
10802 HAVE_UNIX_DIR_FALSE=
10816 if test -n "${sys_dir}"; then
10817 if test "${use_libtool}" = "yes"; then
10818 LIBC_SYS_LIB=sys/${sys_dir}/lib${sys_dir}.${aext}
10820 LIBC_SYS_LIB=sys/lib.${aext}
10828 if test x${newlib_iconv} != x; then
10829 ENABLE_NEWLIB_ICONV_TRUE=
10830 ENABLE_NEWLIB_ICONV_FALSE='#'
10832 ENABLE_NEWLIB_ICONV_TRUE='#'
10833 ENABLE_NEWLIB_ICONV_FALSE=
10837 if test -n "${machine_dir}"; then
10838 if test "${use_libtool}" = "yes"; then
10839 LIBC_MACHINE_LIB=machine/${machine_dir}/lib${machine_dir}.${aext}
10841 LIBC_MACHINE_LIB=machine/lib.${aext}
10847 ac_config_files="$ac_config_files Makefile argz/Makefile ctype/Makefile errno/Makefile locale/Makefile misc/Makefile reent/Makefile search/Makefile stdio/Makefile stdio64/Makefile stdlib/Makefile string/Makefile time/Makefile posix/Makefile signal/Makefile syscalls/Makefile unix/Makefile iconv/Makefile iconv/ces/Makefile iconv/ccs/Makefile iconv/ccs/binary/Makefile iconv/lib/Makefile"
10849 cat >confcache <<\_ACEOF
10850 # This file is a shell script that caches the results of configure
10851 # tests run on this system so they can be shared between configure
10852 # scripts and configure runs, see configure's option --config-cache.
10853 # It is not useful on other systems. If it contains results you don't
10854 # want to keep, you may remove or edit it.
10856 # config.status only pays attention to the cache file if you give it
10857 # the --recheck option to rerun configure.
10859 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10860 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10861 # following values.
10865 # The following way of writing the cache mishandles newlines in values,
10866 # but we know of no workaround that is simple, portable, and efficient.
10867 # So, don't put newlines in cache variables' values.
10868 # Ultrix sh set writes to stderr and can't be redirected directly,
10869 # and sets the high bit in the cache file unless we assign to the vars.
10872 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10874 # `set' does not quote correctly, so add quotes (double-quote
10875 # substitution turns \\\\ into \\, and sed turns \\ into \).
10878 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10881 # `set' quotes correctly as required by POSIX, so do not add quotes.
10883 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10890 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10892 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10894 if diff $cache_file confcache >/dev/null 2>&1; then :; else
10895 if test -w $cache_file; then
10896 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10897 cat confcache >$cache_file
10899 echo "not updating unwritable cache $cache_file"
10904 test "x$prefix" = xNONE && prefix=$ac_default_prefix
10905 # Let make expand exec_prefix.
10906 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
10908 # VPATH may cause trouble with some makes, so we remove $(srcdir),
10909 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
10910 # trailing colons and then remove the whole line if VPATH becomes empty
10911 # (actually we leave an empty line to preserve line numbers).
10912 if test "x$srcdir" = x.; then
10913 ac_vpsub='/^[ ]*VPATH[ ]*=/{
10914 s/:*\$(srcdir):*/:/;
10915 s/:*\${srcdir}:*/:/;
10917 s/^\([^=]*=[ ]*\):*/\1/;
10923 # Transform confdefs.h into DEFS.
10924 # Protect against shell expansion while executing Makefile rules.
10925 # Protect against Makefile macro expansion.
10927 # If the first sed substitution is executed (which looks for macros that
10928 # take arguments), then we branch to the quote section. Otherwise,
10929 # look for a macro that doesn't take arguments.
10930 cat >confdef2opt.sed <<\_ACEOF
10933 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
10935 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
10939 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
10945 # We use echo to avoid assuming a particular line-breaking character.
10946 # The extra dot is to prevent the shell from consuming trailing
10947 # line-breaks from the sub-command output. A line-break within
10948 # single-quotes doesn't work because, if this script is created in a
10949 # platform that uses two characters for line-breaks (e.g., DOS), tr
10951 ac_LF_and_DOT=`echo; echo .`
10952 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
10953 rm -f confdef2opt.sed
10958 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
10959 # 1. Remove the extension, and $U if already installed.
10960 ac_i=`echo "$ac_i" |
10961 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
10963 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
10964 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
10966 LIBOBJS=$ac_libobjs
10968 LTLIBOBJS=$ac_ltlibobjs
10971 if test -z "${MAY_SUPPLY_SYSCALLS_TRUE}" && test -z "${MAY_SUPPLY_SYSCALLS_FALSE}"; then
10972 { { echo "$as_me:$LINENO: error: conditional \"MAY_SUPPLY_SYSCALLS\" was never defined.
10973 Usually this means the macro was only invoked conditionally." >&5
10974 echo "$as_me: error: conditional \"MAY_SUPPLY_SYSCALLS\" was never defined.
10975 Usually this means the macro was only invoked conditionally." >&2;}
10976 { (exit 1); exit 1; }; }
10978 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
10979 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
10980 Usually this means the macro was only invoked conditionally." >&5
10981 echo "$as_me: error: conditional \"AMDEP\" was never defined.
10982 Usually this means the macro was only invoked conditionally." >&2;}
10983 { (exit 1); exit 1; }; }
10985 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
10986 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
10987 Usually this means the macro was only invoked conditionally." >&5
10988 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
10989 Usually this means the macro was only invoked conditionally." >&2;}
10990 { (exit 1); exit 1; }; }
10992 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
10993 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
10994 Usually this means the macro was only invoked conditionally." >&5
10995 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
10996 Usually this means the macro was only invoked conditionally." >&2;}
10997 { (exit 1); exit 1; }; }
10999 if test -z "${ELIX_LEVEL_0_TRUE}" && test -z "${ELIX_LEVEL_0_FALSE}"; then
11000 { { echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_0\" was never defined.
11001 Usually this means the macro was only invoked conditionally." >&5
11002 echo "$as_me: error: conditional \"ELIX_LEVEL_0\" was never defined.
11003 Usually this means the macro was only invoked conditionally." >&2;}
11004 { (exit 1); exit 1; }; }
11006 if test -z "${ELIX_LEVEL_1_TRUE}" && test -z "${ELIX_LEVEL_1_FALSE}"; then
11007 { { echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_1\" was never defined.
11008 Usually this means the macro was only invoked conditionally." >&5
11009 echo "$as_me: error: conditional \"ELIX_LEVEL_1\" was never defined.
11010 Usually this means the macro was only invoked conditionally." >&2;}
11011 { (exit 1); exit 1; }; }
11013 if test -z "${ELIX_LEVEL_2_TRUE}" && test -z "${ELIX_LEVEL_2_FALSE}"; then
11014 { { echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_2\" was never defined.
11015 Usually this means the macro was only invoked conditionally." >&5
11016 echo "$as_me: error: conditional \"ELIX_LEVEL_2\" was never defined.
11017 Usually this means the macro was only invoked conditionally." >&2;}
11018 { (exit 1); exit 1; }; }
11020 if test -z "${ELIX_LEVEL_3_TRUE}" && test -z "${ELIX_LEVEL_3_FALSE}"; then
11021 { { echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_3\" was never defined.
11022 Usually this means the macro was only invoked conditionally." >&5
11023 echo "$as_me: error: conditional \"ELIX_LEVEL_3\" was never defined.
11024 Usually this means the macro was only invoked conditionally." >&2;}
11025 { (exit 1); exit 1; }; }
11027 if test -z "${ELIX_LEVEL_4_TRUE}" && test -z "${ELIX_LEVEL_4_FALSE}"; then
11028 { { echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_4\" was never defined.
11029 Usually this means the macro was only invoked conditionally." >&5
11030 echo "$as_me: error: conditional \"ELIX_LEVEL_4\" was never defined.
11031 Usually this means the macro was only invoked conditionally." >&2;}
11032 { (exit 1); exit 1; }; }
11034 if test -z "${USE_LIBTOOL_TRUE}" && test -z "${USE_LIBTOOL_FALSE}"; then
11035 { { echo "$as_me:$LINENO: error: conditional \"USE_LIBTOOL\" was never defined.
11036 Usually this means the macro was only invoked conditionally." >&5
11037 echo "$as_me: error: conditional \"USE_LIBTOOL\" was never defined.
11038 Usually this means the macro was only invoked conditionally." >&2;}
11039 { (exit 1); exit 1; }; }
11041 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11042 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
11043 Usually this means the macro was only invoked conditionally." >&5
11044 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
11045 Usually this means the macro was only invoked conditionally." >&2;}
11046 { (exit 1); exit 1; }; }
11048 if test -z "${HAVE_POSIX_DIR_TRUE}" && test -z "${HAVE_POSIX_DIR_FALSE}"; then
11049 { { echo "$as_me:$LINENO: error: conditional \"HAVE_POSIX_DIR\" was never defined.
11050 Usually this means the macro was only invoked conditionally." >&5
11051 echo "$as_me: error: conditional \"HAVE_POSIX_DIR\" was never defined.
11052 Usually this means the macro was only invoked conditionally." >&2;}
11053 { (exit 1); exit 1; }; }
11055 if test -z "${HAVE_SIGNAL_DIR_TRUE}" && test -z "${HAVE_SIGNAL_DIR_FALSE}"; then
11056 { { echo "$as_me:$LINENO: error: conditional \"HAVE_SIGNAL_DIR\" was never defined.
11057 Usually this means the macro was only invoked conditionally." >&5
11058 echo "$as_me: error: conditional \"HAVE_SIGNAL_DIR\" was never defined.
11059 Usually this means the macro was only invoked conditionally." >&2;}
11060 { (exit 1); exit 1; }; }
11062 if test -z "${HAVE_STDIO_DIR_TRUE}" && test -z "${HAVE_STDIO_DIR_FALSE}"; then
11063 { { echo "$as_me:$LINENO: error: conditional \"HAVE_STDIO_DIR\" was never defined.
11064 Usually this means the macro was only invoked conditionally." >&5
11065 echo "$as_me: error: conditional \"HAVE_STDIO_DIR\" was never defined.
11066 Usually this means the macro was only invoked conditionally." >&2;}
11067 { (exit 1); exit 1; }; }
11069 if test -z "${HAVE_STDIO64_DIR_TRUE}" && test -z "${HAVE_STDIO64_DIR_FALSE}"; then
11070 { { echo "$as_me:$LINENO: error: conditional \"HAVE_STDIO64_DIR\" was never defined.
11071 Usually this means the macro was only invoked conditionally." >&5
11072 echo "$as_me: error: conditional \"HAVE_STDIO64_DIR\" was never defined.
11073 Usually this means the macro was only invoked conditionally." >&2;}
11074 { (exit 1); exit 1; }; }
11076 if test -z "${HAVE_SYSCALL_DIR_TRUE}" && test -z "${HAVE_SYSCALL_DIR_FALSE}"; then
11077 { { echo "$as_me:$LINENO: error: conditional \"HAVE_SYSCALL_DIR\" was never defined.
11078 Usually this means the macro was only invoked conditionally." >&5
11079 echo "$as_me: error: conditional \"HAVE_SYSCALL_DIR\" was never defined.
11080 Usually this means the macro was only invoked conditionally." >&2;}
11081 { (exit 1); exit 1; }; }
11083 if test -z "${HAVE_UNIX_DIR_TRUE}" && test -z "${HAVE_UNIX_DIR_FALSE}"; then
11084 { { echo "$as_me:$LINENO: error: conditional \"HAVE_UNIX_DIR\" was never defined.
11085 Usually this means the macro was only invoked conditionally." >&5
11086 echo "$as_me: error: conditional \"HAVE_UNIX_DIR\" was never defined.
11087 Usually this means the macro was only invoked conditionally." >&2;}
11088 { (exit 1); exit 1; }; }
11090 if test -z "${ENABLE_NEWLIB_ICONV_TRUE}" && test -z "${ENABLE_NEWLIB_ICONV_FALSE}"; then
11091 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_NEWLIB_ICONV\" was never defined.
11092 Usually this means the macro was only invoked conditionally." >&5
11093 echo "$as_me: error: conditional \"ENABLE_NEWLIB_ICONV\" was never defined.
11094 Usually this means the macro was only invoked conditionally." >&2;}
11095 { (exit 1); exit 1; }; }
11098 : ${CONFIG_STATUS=./config.status}
11099 ac_clean_files_save=$ac_clean_files
11100 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
11101 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
11102 echo "$as_me: creating $CONFIG_STATUS" >&6;}
11103 cat >$CONFIG_STATUS <<_ACEOF
11105 # Generated by $as_me.
11106 # Run this file to recreate the current configuration.
11107 # Compiler output produced by configure, useful for debugging
11108 # configure, is in config.log if it exists.
11111 ac_cs_recheck=false
11113 SHELL=\${CONFIG_SHELL-$SHELL}
11116 cat >>$CONFIG_STATUS <<\_ACEOF
11117 ## --------------------- ##
11118 ## M4sh Initialization. ##
11119 ## --------------------- ##
11121 # Be Bourne compatible
11122 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
11125 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
11126 # is contrary to our usage. Disable this feature.
11127 alias -g '${1+"$@"}'='"$@"'
11128 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
11131 DUALCASE=1; export DUALCASE # for MKS sh
11133 # Support unset when possible.
11134 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
11141 # Work around bugs in pre-3.0 UWIN ksh.
11142 $as_unset ENV MAIL MAILPATH
11149 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
11150 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
11151 LC_TELEPHONE LC_TIME
11153 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
11154 eval $as_var=C; export $as_var
11160 # Required to use basename.
11161 if expr a : '\(a\)' >/dev/null 2>&1; then
11167 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
11168 as_basename=basename
11174 # Name of the executable.
11175 as_me=`$as_basename "$0" ||
11176 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11177 X"$0" : 'X\(//\)$' \| \
11178 X"$0" : 'X\(/\)$' \| \
11179 . : '\(.\)' 2>/dev/null ||
11181 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
11182 /^X\/\(\/\/\)$/{ s//\1/; q; }
11183 /^X\/\(\/\).*/{ s//\1/; q; }
11187 # PATH needs CR, and LINENO needs CR and PATH.
11188 # Avoid depending upon Character Ranges.
11189 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
11190 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11191 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
11192 as_cr_digits='0123456789'
11193 as_cr_alnum=$as_cr_Letters$as_cr_digits
11195 # The user is always right.
11196 if test "${PATH_SEPARATOR+set}" != set; then
11197 echo "#! /bin/sh" >conf$$.sh
11198 echo "exit 0" >>conf$$.sh
11200 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11209 as_lineno_1=$LINENO
11210 as_lineno_2=$LINENO
11211 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
11212 test "x$as_lineno_1" != "x$as_lineno_2" &&
11213 test "x$as_lineno_3" = "x$as_lineno_2" || {
11214 # Find who we are. Look in the path if we contain no path at all
11217 *[\\/]* ) as_myself=$0 ;;
11218 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11219 for as_dir in $PATH
11222 test -z "$as_dir" && as_dir=.
11223 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11228 # We did not find ourselves, most probably we were run as `sh COMMAND'
11229 # in which case we are not to be found in the path.
11230 if test "x$as_myself" = x; then
11233 if test ! -f "$as_myself"; then
11234 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
11235 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
11236 { (exit 1); exit 1; }; }
11238 case $CONFIG_SHELL in
11240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11241 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
11244 test -z "$as_dir" && as_dir=.
11245 for as_base in sh bash ksh sh5; do
11248 if ("$as_dir/$as_base" -c '
11249 as_lineno_1=$LINENO
11250 as_lineno_2=$LINENO
11251 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
11252 test "x$as_lineno_1" != "x$as_lineno_2" &&
11253 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
11254 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
11255 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
11256 CONFIG_SHELL=$as_dir/$as_base
11257 export CONFIG_SHELL
11258 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
11266 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
11267 # uniformly replaced by the line number. The first 'sed' inserts a
11268 # line-number line before each line; the second 'sed' does the real
11269 # work. The second script uses 'N' to pair each line-number line
11270 # with the numbered line, and appends trailing '-' during
11271 # substitution so that $LINENO is not a special case at line end.
11272 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
11273 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
11274 sed '=' <$as_myself |
11279 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
11282 s,^['$as_cr_digits']*\n,,
11283 ' >$as_me.lineno &&
11284 chmod +x $as_me.lineno ||
11285 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
11286 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
11287 { (exit 1); exit 1; }; }
11289 # Don't try to exec as it changes $[0], causing all sort of problems
11290 # (the dirname of $[0] is not the place where we might find the
11291 # original and so on. Autoconf is especially sensible to this).
11293 # Exit status is that of the last command.
11298 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
11299 *c*,-n*) ECHO_N= ECHO_C='
11301 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
11302 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
11305 if expr a : '\(a\)' >/dev/null 2>&1; then
11311 rm -f conf$$ conf$$.exe conf$$.file
11313 if ln -s conf$$.file conf$$ 2>/dev/null; then
11314 # We could just check for DJGPP; but this test a) works b) is more generic
11315 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
11316 if test -f conf$$.exe; then
11317 # Don't use ln at all; we don't have any links
11322 elif ln conf$$.file conf$$ 2>/dev/null; then
11327 rm -f conf$$ conf$$.exe conf$$.file
11329 if mkdir -p . 2>/dev/null; then
11332 test -d ./-p && rmdir ./-p
11336 as_executable_p="test -f"
11338 # Sed expression to map a string onto a valid CPP name.
11339 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11341 # Sed expression to map a string onto a valid variable name.
11342 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11346 # We need space, tab and new line, in precisely that order.
11356 # Open the log real soon, to keep \$[0] and so on meaningful, and to
11357 # report actual input values of CONFIG_FILES etc. instead of their
11358 # values after options handling. Logging --version etc. is OK.
11362 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11363 ## Running $as_me. ##
11368 This file was extended by newlib $as_me 1.15.0, which was
11369 generated by GNU Autoconf 2.59. Invocation command line was
11371 CONFIG_FILES = $CONFIG_FILES
11372 CONFIG_HEADERS = $CONFIG_HEADERS
11373 CONFIG_LINKS = $CONFIG_LINKS
11374 CONFIG_COMMANDS = $CONFIG_COMMANDS
11378 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
11382 # Files that config.status was made for.
11383 if test -n "$ac_config_files"; then
11384 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
11387 if test -n "$ac_config_headers"; then
11388 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
11391 if test -n "$ac_config_links"; then
11392 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
11395 if test -n "$ac_config_commands"; then
11396 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
11399 cat >>$CONFIG_STATUS <<\_ACEOF
11402 \`$as_me' instantiates files from templates according to the
11403 current configuration.
11405 Usage: $0 [OPTIONS] [FILE]...
11407 -h, --help print this help, then exit
11408 -V, --version print version number, then exit
11409 -q, --quiet do not print progress messages
11410 -d, --debug don't remove temporary files
11411 --recheck update $as_me by reconfiguring in the same conditions
11412 --file=FILE[:TEMPLATE]
11413 instantiate the configuration file FILE
11415 Configuration files:
11418 Configuration commands:
11421 Report bugs to <bug-autoconf@gnu.org>."
11424 cat >>$CONFIG_STATUS <<_ACEOF
11426 newlib config.status 1.15.0
11427 configured by $0, generated by GNU Autoconf 2.59,
11428 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
11430 Copyright (C) 2003 Free Software Foundation, Inc.
11431 This config.status script is free software; the Free Software Foundation
11432 gives unlimited permission to copy, distribute and modify it."
11437 cat >>$CONFIG_STATUS <<\_ACEOF
11438 # If no file are specified by the user, then we need to provide default
11439 # value. By we need to know if files were specified by the user.
11445 ac_option=`expr "x$1" : 'x\([^=]*\)='`
11446 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
11454 *) # This is not an option, so the user has probably given explicit
11457 ac_need_defaults=false;;
11461 # Handling of the options.
11463 cat >>$CONFIG_STATUS <<\_ACEOF
11464 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
11466 --version | --vers* | -V )
11467 echo "$ac_cs_version"; exit 0 ;;
11469 # Conflict between --help and --header
11470 { { echo "$as_me:$LINENO: error: ambiguous option: $1
11471 Try \`$0 --help' for more information." >&5
11472 echo "$as_me: error: ambiguous option: $1
11473 Try \`$0 --help' for more information." >&2;}
11474 { (exit 1); exit 1; }; };;
11475 --help | --hel | -h )
11476 echo "$ac_cs_usage"; exit 0 ;;
11477 --debug | --d* | -d )
11479 --file | --fil | --fi | --f )
11481 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
11482 ac_need_defaults=false;;
11483 --header | --heade | --head | --hea )
11485 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
11486 ac_need_defaults=false;;
11487 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
11488 | -silent | --silent | --silen | --sile | --sil | --si | --s)
11491 # This is an error.
11492 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
11493 Try \`$0 --help' for more information." >&5
11494 echo "$as_me: error: unrecognized option: $1
11495 Try \`$0 --help' for more information." >&2;}
11496 { (exit 1); exit 1; }; } ;;
11498 *) ac_config_targets="$ac_config_targets $1" ;;
11504 ac_configure_extra_args=
11506 if $ac_cs_silent; then
11508 ac_configure_extra_args="$ac_configure_extra_args --silent"
11512 cat >>$CONFIG_STATUS <<_ACEOF
11513 if \$ac_cs_recheck; then
11514 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
11515 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11520 cat >>$CONFIG_STATUS <<_ACEOF
11522 # INIT-COMMANDS section.
11525 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
11528 # The HP-UX ksh and POSIX shell print the target directory to stdout
11529 # if CDPATH is set.
11530 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11532 sed_quote_subst='$sed_quote_subst'
11533 double_quote_subst='$double_quote_subst'
11534 delay_variable_subst='$delay_variable_subst'
11535 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
11536 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
11537 AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
11538 DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
11539 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
11540 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
11541 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
11542 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
11543 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
11544 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
11545 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
11546 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
11547 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
11548 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
11549 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
11550 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
11551 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
11552 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
11553 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
11554 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
11555 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
11556 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
11557 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
11558 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
11559 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
11560 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
11561 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
11562 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
11563 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
11564 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
11565 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11566 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
11567 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
11568 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
11569 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
11570 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
11571 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
11572 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11573 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11574 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11575 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
11576 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
11577 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
11578 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
11579 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
11580 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
11581 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"`'
11582 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
11583 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
11584 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
11585 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
11586 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
11587 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
11588 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
11589 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
11590 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
11591 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
11592 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
11593 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11594 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11595 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
11596 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
11597 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
11598 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
11599 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
11600 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11601 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11602 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11603 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11604 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11605 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11606 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
11607 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
11608 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
11609 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
11610 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
11611 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
11612 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
11613 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
11614 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
11615 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
11616 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
11617 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
11618 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
11619 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
11620 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
11621 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11622 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
11623 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
11624 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11625 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
11626 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
11627 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
11628 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
11629 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
11630 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
11631 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
11632 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
11633 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
11634 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
11635 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
11636 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11637 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11638 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11639 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
11640 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
11641 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
11642 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
11643 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
11644 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
11645 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
11646 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
11647 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
11648 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
11651 LTCFLAGS='$LTCFLAGS'
11652 compiler='$compiler_DEFAULT'
11654 # Quote evaled strings.
11665 deplibs_check_method \
11674 lt_cv_sys_global_symbol_pipe \
11675 lt_cv_sys_global_symbol_to_cdecl \
11676 lt_cv_sys_global_symbol_to_c_name_address \
11679 lt_prog_compiler_no_builtin_flag \
11680 lt_prog_compiler_wl \
11681 lt_prog_compiler_pic \
11682 lt_prog_compiler_static \
11683 lt_cv_prog_compiler_c_o \
11686 export_dynamic_flag_spec \
11687 whole_archive_flag_spec \
11688 compiler_needs_object \
11690 allow_undefined_flag \
11691 no_undefined_flag \
11692 hardcode_libdir_flag_spec \
11693 hardcode_libdir_flag_spec_ld \
11694 hardcode_libdir_separator \
11699 variables_saved_for_relink \
11701 library_names_spec \
11706 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
11707 *[\\\\\\\`\\"\\\$]*)
11708 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
11711 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
11716 # Double-quote double-evaled strings.
11717 for var in reload_cmds \
11718 old_postinstall_cmds \
11719 old_postuninstall_cmds \
11721 extract_expsyms_cmds \
11722 old_archive_from_new_cmds \
11723 old_archive_from_expsyms_cmds \
11725 archive_expsym_cmds \
11727 module_expsym_cmds \
11728 export_symbols_cmds \
11731 postuninstall_cmds \
11733 sys_lib_search_path_spec \
11734 sys_lib_dlsearch_path_spec; do
11735 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
11736 *[\\\\\\\`\\"\\\$]*)
11737 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
11740 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
11745 # Fix-up fallback echo if it was mangled by the above quoting rules.
11747 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
11751 ac_aux_dir='$ac_aux_dir'
11752 xsi_shell='$xsi_shell'
11753 lt_shell_append='$lt_shell_append'
11755 # See if we are running on zsh, and set the options which allow our
11756 # commands through without removal of \ escapes INIT.
11757 if test -n "\${ZSH_VERSION+set}" ; then
11758 setopt NO_GLOB_SUBST
11764 TIMESTAMP='$TIMESTAMP'
11775 cat >>$CONFIG_STATUS <<\_ACEOF
11776 for ac_config_target in $ac_config_targets
11778 case "$ac_config_target" in
11779 # Handling of arguments.
11780 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
11781 "argz/Makefile" ) CONFIG_FILES="$CONFIG_FILES argz/Makefile" ;;
11782 "ctype/Makefile" ) CONFIG_FILES="$CONFIG_FILES ctype/Makefile" ;;
11783 "errno/Makefile" ) CONFIG_FILES="$CONFIG_FILES errno/Makefile" ;;
11784 "locale/Makefile" ) CONFIG_FILES="$CONFIG_FILES locale/Makefile" ;;
11785 "misc/Makefile" ) CONFIG_FILES="$CONFIG_FILES misc/Makefile" ;;
11786 "reent/Makefile" ) CONFIG_FILES="$CONFIG_FILES reent/Makefile" ;;
11787 "search/Makefile" ) CONFIG_FILES="$CONFIG_FILES search/Makefile" ;;
11788 "stdio/Makefile" ) CONFIG_FILES="$CONFIG_FILES stdio/Makefile" ;;
11789 "stdio64/Makefile" ) CONFIG_FILES="$CONFIG_FILES stdio64/Makefile" ;;
11790 "stdlib/Makefile" ) CONFIG_FILES="$CONFIG_FILES stdlib/Makefile" ;;
11791 "string/Makefile" ) CONFIG_FILES="$CONFIG_FILES string/Makefile" ;;
11792 "time/Makefile" ) CONFIG_FILES="$CONFIG_FILES time/Makefile" ;;
11793 "posix/Makefile" ) CONFIG_FILES="$CONFIG_FILES posix/Makefile" ;;
11794 "signal/Makefile" ) CONFIG_FILES="$CONFIG_FILES signal/Makefile" ;;
11795 "syscalls/Makefile" ) CONFIG_FILES="$CONFIG_FILES syscalls/Makefile" ;;
11796 "unix/Makefile" ) CONFIG_FILES="$CONFIG_FILES unix/Makefile" ;;
11797 "iconv/Makefile" ) CONFIG_FILES="$CONFIG_FILES iconv/Makefile" ;;
11798 "iconv/ces/Makefile" ) CONFIG_FILES="$CONFIG_FILES iconv/ces/Makefile" ;;
11799 "iconv/ccs/Makefile" ) CONFIG_FILES="$CONFIG_FILES iconv/ccs/Makefile" ;;
11800 "iconv/ccs/binary/Makefile" ) CONFIG_FILES="$CONFIG_FILES iconv/ccs/binary/Makefile" ;;
11801 "iconv/lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES iconv/lib/Makefile" ;;
11802 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
11803 "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
11804 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
11805 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
11806 { (exit 1); exit 1; }; };;
11810 # If the user did not use the arguments to specify the items to instantiate,
11811 # then the envvar interface is used. Set only those that are not.
11812 # We use the long form for the default assignment because of an extremely
11813 # bizarre bug on SunOS 4.1.3.
11814 if $ac_need_defaults; then
11815 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
11816 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
11819 # Have a temporary directory for convenience. Make it in the build tree
11820 # simply because there is no reason to put it here, and in addition,
11821 # creating and moving files from /tmp can sometimes cause problems.
11822 # Create a temporary directory, and hook for its removal unless debugging.
11825 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
11826 trap '{ (exit 1); exit 1; }' 1 2 13 15
11829 # Create a (secure) tmp directory for tmp files.
11832 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
11833 test -n "$tmp" && test -d "$tmp"
11836 tmp=./confstat$$-$RANDOM
11837 (umask 077 && mkdir $tmp)
11840 echo "$me: cannot create a temporary directory in ." >&2
11841 { (exit 1); exit 1; }
11846 cat >>$CONFIG_STATUS <<_ACEOF
11849 # CONFIG_FILES section.
11852 # No need to generate the scripts if there are no CONFIG_FILES.
11853 # This happens for instance when ./config.status config.h
11854 if test -n "\$CONFIG_FILES"; then
11855 # Protect against being on the right side of a sed subst in config.status.
11856 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
11857 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
11858 s,@SHELL@,$SHELL,;t t
11859 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
11860 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
11861 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
11862 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
11863 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
11864 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
11865 s,@exec_prefix@,$exec_prefix,;t t
11866 s,@prefix@,$prefix,;t t
11867 s,@program_transform_name@,$program_transform_name,;t t
11868 s,@bindir@,$bindir,;t t
11869 s,@sbindir@,$sbindir,;t t
11870 s,@libexecdir@,$libexecdir,;t t
11871 s,@datadir@,$datadir,;t t
11872 s,@sysconfdir@,$sysconfdir,;t t
11873 s,@sharedstatedir@,$sharedstatedir,;t t
11874 s,@localstatedir@,$localstatedir,;t t
11875 s,@libdir@,$libdir,;t t
11876 s,@includedir@,$includedir,;t t
11877 s,@oldincludedir@,$oldincludedir,;t t
11878 s,@infodir@,$infodir,;t t
11879 s,@mandir@,$mandir,;t t
11880 s,@build_alias@,$build_alias,;t t
11881 s,@host_alias@,$host_alias,;t t
11882 s,@target_alias@,$target_alias,;t t
11883 s,@DEFS@,$DEFS,;t t
11884 s,@ECHO_C@,$ECHO_C,;t t
11885 s,@ECHO_N@,$ECHO_N,;t t
11886 s,@ECHO_T@,$ECHO_T,;t t
11887 s,@LIBS@,$LIBS,;t t
11888 s,@MAY_SUPPLY_SYSCALLS_TRUE@,$MAY_SUPPLY_SYSCALLS_TRUE,;t t
11889 s,@MAY_SUPPLY_SYSCALLS_FALSE@,$MAY_SUPPLY_SYSCALLS_FALSE,;t t
11890 s,@newlib_basedir@,$newlib_basedir,;t t
11891 s,@build@,$build,;t t
11892 s,@build_cpu@,$build_cpu,;t t
11893 s,@build_vendor@,$build_vendor,;t t
11894 s,@build_os@,$build_os,;t t
11895 s,@host@,$host,;t t
11896 s,@host_cpu@,$host_cpu,;t t
11897 s,@host_vendor@,$host_vendor,;t t
11898 s,@host_os@,$host_os,;t t
11899 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
11900 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
11901 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
11902 s,@CYGPATH_W@,$CYGPATH_W,;t t
11903 s,@PACKAGE@,$PACKAGE,;t t
11904 s,@VERSION@,$VERSION,;t t
11905 s,@ACLOCAL@,$ACLOCAL,;t t
11906 s,@AUTOCONF@,$AUTOCONF,;t t
11907 s,@AUTOMAKE@,$AUTOMAKE,;t t
11908 s,@AUTOHEADER@,$AUTOHEADER,;t t
11909 s,@MAKEINFO@,$MAKEINFO,;t t
11910 s,@install_sh@,$install_sh,;t t
11911 s,@STRIP@,$STRIP,;t t
11912 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
11913 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
11914 s,@mkdir_p@,$mkdir_p,;t t
11916 s,@SET_MAKE@,$SET_MAKE,;t t
11917 s,@am__leading_dot@,$am__leading_dot,;t t
11918 s,@AMTAR@,$AMTAR,;t t
11919 s,@am__tar@,$am__tar,;t t
11920 s,@am__untar@,$am__untar,;t t
11922 s,@DEPDIR@,$DEPDIR,;t t
11923 s,@am__include@,$am__include,;t t
11924 s,@am__quote@,$am__quote,;t t
11925 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
11926 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
11927 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
11928 s,@CCDEPMODE@,$CCDEPMODE,;t t
11929 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
11930 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
11932 s,@ac_ct_AS@,$ac_ct_AS,;t t
11934 s,@ac_ct_AR@,$ac_ct_AR,;t t
11935 s,@RANLIB@,$RANLIB,;t t
11936 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
11937 s,@READELF@,$READELF,;t t
11938 s,@ac_ct_READELF@,$ac_ct_READELF,;t t
11939 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
11940 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
11941 s,@MAINT@,$MAINT,;t t
11942 s,@CCAS@,$CCAS,;t t
11943 s,@CCASFLAGS@,$CCASFLAGS,;t t
11944 s,@NEWLIB_CFLAGS@,$NEWLIB_CFLAGS,;t t
11945 s,@LDFLAGS@,$LDFLAGS,;t t
11946 s,@ELIX_LEVEL_0_TRUE@,$ELIX_LEVEL_0_TRUE,;t t
11947 s,@ELIX_LEVEL_0_FALSE@,$ELIX_LEVEL_0_FALSE,;t t
11948 s,@ELIX_LEVEL_1_TRUE@,$ELIX_LEVEL_1_TRUE,;t t
11949 s,@ELIX_LEVEL_1_FALSE@,$ELIX_LEVEL_1_FALSE,;t t
11950 s,@ELIX_LEVEL_2_TRUE@,$ELIX_LEVEL_2_TRUE,;t t
11951 s,@ELIX_LEVEL_2_FALSE@,$ELIX_LEVEL_2_FALSE,;t t
11952 s,@ELIX_LEVEL_3_TRUE@,$ELIX_LEVEL_3_TRUE,;t t
11953 s,@ELIX_LEVEL_3_FALSE@,$ELIX_LEVEL_3_FALSE,;t t
11954 s,@ELIX_LEVEL_4_TRUE@,$ELIX_LEVEL_4_TRUE,;t t
11955 s,@ELIX_LEVEL_4_FALSE@,$ELIX_LEVEL_4_FALSE,;t t
11956 s,@USE_LIBTOOL_TRUE@,$USE_LIBTOOL_TRUE,;t t
11957 s,@USE_LIBTOOL_FALSE@,$USE_LIBTOOL_FALSE,;t t
11958 s,@OBJEXT@,$OBJEXT,;t t
11959 s,@oext@,$oext,;t t
11960 s,@aext@,$aext,;t t
11961 s,@lpfx@,$lpfx,;t t
11962 s,@libm_machine_dir@,$libm_machine_dir,;t t
11963 s,@machine_dir@,$machine_dir,;t t
11964 s,@sys_dir@,$sys_dir,;t t
11966 s,@DLLTOOL@,$DLLTOOL,;t t
11967 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
11968 s,@OBJDUMP@,$OBJDUMP,;t t
11969 s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t
11970 s,@LIBTOOL@,$LIBTOOL,;t t
11971 s,@CFLAGS@,$CFLAGS,;t t
11972 s,@CPPFLAGS@,$CPPFLAGS,;t t
11973 s,@ac_ct_CC@,$ac_ct_CC,;t t
11974 s,@EXEEXT@,$EXEEXT,;t t
11975 s,@EGREP@,$EGREP,;t t
11976 s,@FGREP@,$FGREP,;t t
11977 s,@GREP@,$GREP,;t t
11979 s,@DUMPBIN@,$DUMPBIN,;t t
11980 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
11982 s,@LN_S@,$LN_S,;t t
11983 s,@lt_ECHO@,$lt_ECHO,;t t
11985 s,@subdirs@,$subdirs,;t t
11986 s,@CRT0@,$CRT0,;t t
11987 s,@LIBC_POSIX_LIB@,$LIBC_POSIX_LIB,;t t
11988 s,@HAVE_POSIX_DIR_TRUE@,$HAVE_POSIX_DIR_TRUE,;t t
11989 s,@HAVE_POSIX_DIR_FALSE@,$HAVE_POSIX_DIR_FALSE,;t t
11990 s,@LIBC_SIGNAL_LIB@,$LIBC_SIGNAL_LIB,;t t
11991 s,@LIBC_SIGNAL_DEF@,$LIBC_SIGNAL_DEF,;t t
11992 s,@HAVE_SIGNAL_DIR_TRUE@,$HAVE_SIGNAL_DIR_TRUE,;t t
11993 s,@HAVE_SIGNAL_DIR_FALSE@,$HAVE_SIGNAL_DIR_FALSE,;t t
11994 s,@LIBC_STDIO_LIB@,$LIBC_STDIO_LIB,;t t
11995 s,@LIBC_STDIO_DEF@,$LIBC_STDIO_DEF,;t t
11996 s,@HAVE_STDIO_DIR_TRUE@,$HAVE_STDIO_DIR_TRUE,;t t
11997 s,@HAVE_STDIO_DIR_FALSE@,$HAVE_STDIO_DIR_FALSE,;t t
11998 s,@LIBC_STDIO64_LIB@,$LIBC_STDIO64_LIB,;t t
11999 s,@LIBC_STDIO64_DEF@,$LIBC_STDIO64_DEF,;t t
12000 s,@HAVE_STDIO64_DIR_TRUE@,$HAVE_STDIO64_DIR_TRUE,;t t
12001 s,@HAVE_STDIO64_DIR_FALSE@,$HAVE_STDIO64_DIR_FALSE,;t t
12002 s,@LIBC_SYSCALL_LIB@,$LIBC_SYSCALL_LIB,;t t
12003 s,@HAVE_SYSCALL_DIR_TRUE@,$HAVE_SYSCALL_DIR_TRUE,;t t
12004 s,@HAVE_SYSCALL_DIR_FALSE@,$HAVE_SYSCALL_DIR_FALSE,;t t
12005 s,@LIBC_UNIX_LIB@,$LIBC_UNIX_LIB,;t t
12006 s,@HAVE_UNIX_DIR_TRUE@,$HAVE_UNIX_DIR_TRUE,;t t
12007 s,@HAVE_UNIX_DIR_FALSE@,$HAVE_UNIX_DIR_FALSE,;t t
12008 s,@LIBC_EXTRA_LIB@,$LIBC_EXTRA_LIB,;t t
12009 s,@LIBC_EXTRA_DEF@,$LIBC_EXTRA_DEF,;t t
12010 s,@extra_dir@,$extra_dir,;t t
12011 s,@LIBC_SYS_LIB@,$LIBC_SYS_LIB,;t t
12012 s,@ENABLE_NEWLIB_ICONV_TRUE@,$ENABLE_NEWLIB_ICONV_TRUE,;t t
12013 s,@ENABLE_NEWLIB_ICONV_FALSE@,$ENABLE_NEWLIB_ICONV_FALSE,;t t
12014 s,@LIBC_MACHINE_LIB@,$LIBC_MACHINE_LIB,;t t
12015 s,@LIBOBJS@,$LIBOBJS,;t t
12016 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
12021 cat >>$CONFIG_STATUS <<\_ACEOF
12022 # Split the substitutions into bite-sized pieces for seds with
12023 # small command number limits, like on Digital OSF/1 and HP-UX.
12024 ac_max_sed_lines=48
12025 ac_sed_frag=1 # Number of current file.
12026 ac_beg=1 # First line for current file.
12027 ac_end=$ac_max_sed_lines # Line after last line for current file.
12030 while $ac_more_lines; do
12031 if test $ac_beg -gt 1; then
12032 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
12034 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
12036 if test ! -s $tmp/subs.frag; then
12037 ac_more_lines=false
12039 # The purpose of the label and of the branching condition is to
12040 # speed up the sed processing (if there are no `@' at all, there
12041 # is no need to browse any of the substitutions).
12042 # These are the two extra sed commands mentioned above.
12044 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
12045 if test -z "$ac_sed_cmds"; then
12046 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
12048 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
12050 ac_sed_frag=`expr $ac_sed_frag + 1`
12052 ac_end=`expr $ac_end + $ac_max_sed_lines`
12055 if test -z "$ac_sed_cmds"; then
12058 fi # test -n "$CONFIG_FILES"
12061 cat >>$CONFIG_STATUS <<\_ACEOF
12062 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
12063 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12065 - | *:- | *:-:* ) # input from stdin
12067 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
12068 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
12069 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
12070 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
12071 * ) ac_file_in=$ac_file.in ;;
12074 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
12075 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
12076 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12077 X"$ac_file" : 'X\(//\)[^/]' \| \
12078 X"$ac_file" : 'X\(//\)$' \| \
12079 X"$ac_file" : 'X\(/\)' \| \
12080 . : '\(.\)' 2>/dev/null ||
12082 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12083 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12084 /^X\(\/\/\)$/{ s//\1/; q; }
12085 /^X\(\/\).*/{ s//\1/; q; }
12087 { if $as_mkdir_p; then
12092 while test ! -d "$as_dir"; do
12093 as_dirs="$as_dir $as_dirs"
12094 as_dir=`(dirname "$as_dir") 2>/dev/null ||
12095 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12096 X"$as_dir" : 'X\(//\)[^/]' \| \
12097 X"$as_dir" : 'X\(//\)$' \| \
12098 X"$as_dir" : 'X\(/\)' \| \
12099 . : '\(.\)' 2>/dev/null ||
12101 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12102 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12103 /^X\(\/\/\)$/{ s//\1/; q; }
12104 /^X\(\/\).*/{ s//\1/; q; }
12107 test ! -n "$as_dirs" || mkdir $as_dirs
12108 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12109 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12110 { (exit 1); exit 1; }; }; }
12114 if test "$ac_dir" != .; then
12115 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12116 # A "../" for each directory in $ac_dir_suffix.
12117 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
12119 ac_dir_suffix= ac_top_builddir=
12123 .) # No --srcdir option. We are building in place.
12125 if test -z "$ac_top_builddir"; then
12128 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
12130 [\\/]* | ?:[\\/]* ) # Absolute path.
12131 ac_srcdir=$srcdir$ac_dir_suffix;
12132 ac_top_srcdir=$srcdir ;;
12133 *) # Relative path.
12134 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
12135 ac_top_srcdir=$ac_top_builddir$srcdir ;;
12138 # Do not use `cd foo && pwd` to compute absolute paths, because
12139 # the directories may not exist.
12141 .) ac_abs_builddir="$ac_dir";;
12144 .) ac_abs_builddir=`pwd`;;
12145 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
12146 *) ac_abs_builddir=`pwd`/"$ac_dir";;
12149 case $ac_abs_builddir in
12150 .) ac_abs_top_builddir=${ac_top_builddir}.;;
12152 case ${ac_top_builddir}. in
12153 .) ac_abs_top_builddir=$ac_abs_builddir;;
12154 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
12155 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
12158 case $ac_abs_builddir in
12159 .) ac_abs_srcdir=$ac_srcdir;;
12162 .) ac_abs_srcdir=$ac_abs_builddir;;
12163 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
12164 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
12167 case $ac_abs_builddir in
12168 .) ac_abs_top_srcdir=$ac_top_srcdir;;
12170 case $ac_top_srcdir in
12171 .) ac_abs_top_srcdir=$ac_abs_builddir;;
12172 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
12173 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
12179 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
12180 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
12183 if test x"$ac_file" != x-; then
12184 { echo "$as_me:$LINENO: creating $ac_file" >&5
12185 echo "$as_me: creating $ac_file" >&6;}
12188 # Let's still pretend it is `configure' which instantiates (i.e., don't
12189 # use $as_me), people would be surprised to read:
12190 # /* config.h. Generated by config.status. */
12191 if test x"$ac_file" = x-; then
12194 configure_input="$ac_file. "
12196 configure_input=$configure_input"Generated from `echo $ac_file_in |
12197 sed 's,.*/,,'` by configure."
12199 # First look for the input files in the build tree, otherwise in the
12201 ac_file_inputs=`IFS=:
12202 for f in $ac_file_in; do
12204 -) echo $tmp/stdin ;;
12206 # Absolute (can't be DOS-style, as IFS=:)
12207 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12208 echo "$as_me: error: cannot find input file: $f" >&2;}
12209 { (exit 1); exit 1; }; }
12212 if test -f "$f"; then
12215 elif test -f "$srcdir/$f"; then
12220 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12221 echo "$as_me: error: cannot find input file: $f" >&2;}
12222 { (exit 1); exit 1; }; }
12225 done` || { (exit 1); exit 1; }
12227 cat >>$CONFIG_STATUS <<_ACEOF
12231 cat >>$CONFIG_STATUS <<\_ACEOF
12233 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
12234 s,@configure_input@,$configure_input,;t t
12235 s,@srcdir@,$ac_srcdir,;t t
12236 s,@abs_srcdir@,$ac_abs_srcdir,;t t
12237 s,@top_srcdir@,$ac_top_srcdir,;t t
12238 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
12239 s,@builddir@,$ac_builddir,;t t
12240 s,@abs_builddir@,$ac_abs_builddir,;t t
12241 s,@top_builddir@,$ac_top_builddir,;t t
12242 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
12243 s,@INSTALL@,$ac_INSTALL,;t t
12244 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
12246 if test x"$ac_file" != x-; then
12247 mv $tmp/out $ac_file
12255 cat >>$CONFIG_STATUS <<\_ACEOF
12258 # CONFIG_COMMANDS section.
12260 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
12261 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
12262 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
12263 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
12264 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12265 X"$ac_dest" : 'X\(//\)[^/]' \| \
12266 X"$ac_dest" : 'X\(//\)$' \| \
12267 X"$ac_dest" : 'X\(/\)' \| \
12268 . : '\(.\)' 2>/dev/null ||
12270 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12271 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12272 /^X\(\/\/\)$/{ s//\1/; q; }
12273 /^X\(\/\).*/{ s//\1/; q; }
12275 { if $as_mkdir_p; then
12280 while test ! -d "$as_dir"; do
12281 as_dirs="$as_dir $as_dirs"
12282 as_dir=`(dirname "$as_dir") 2>/dev/null ||
12283 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12284 X"$as_dir" : 'X\(//\)[^/]' \| \
12285 X"$as_dir" : 'X\(//\)$' \| \
12286 X"$as_dir" : 'X\(/\)' \| \
12287 . : '\(.\)' 2>/dev/null ||
12289 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12290 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12291 /^X\(\/\/\)$/{ s//\1/; q; }
12292 /^X\(\/\).*/{ s//\1/; q; }
12295 test ! -n "$as_dirs" || mkdir $as_dirs
12296 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12297 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12298 { (exit 1); exit 1; }; }; }
12302 if test "$ac_dir" != .; then
12303 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12304 # A "../" for each directory in $ac_dir_suffix.
12305 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
12307 ac_dir_suffix= ac_top_builddir=
12311 .) # No --srcdir option. We are building in place.
12313 if test -z "$ac_top_builddir"; then
12316 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
12318 [\\/]* | ?:[\\/]* ) # Absolute path.
12319 ac_srcdir=$srcdir$ac_dir_suffix;
12320 ac_top_srcdir=$srcdir ;;
12321 *) # Relative path.
12322 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
12323 ac_top_srcdir=$ac_top_builddir$srcdir ;;
12326 # Do not use `cd foo && pwd` to compute absolute paths, because
12327 # the directories may not exist.
12329 .) ac_abs_builddir="$ac_dir";;
12332 .) ac_abs_builddir=`pwd`;;
12333 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
12334 *) ac_abs_builddir=`pwd`/"$ac_dir";;
12337 case $ac_abs_builddir in
12338 .) ac_abs_top_builddir=${ac_top_builddir}.;;
12340 case ${ac_top_builddir}. in
12341 .) ac_abs_top_builddir=$ac_abs_builddir;;
12342 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
12343 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
12346 case $ac_abs_builddir in
12347 .) ac_abs_srcdir=$ac_srcdir;;
12350 .) ac_abs_srcdir=$ac_abs_builddir;;
12351 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
12352 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
12355 case $ac_abs_builddir in
12356 .) ac_abs_top_srcdir=$ac_top_srcdir;;
12358 case $ac_top_srcdir in
12359 .) ac_abs_top_srcdir=$ac_abs_builddir;;
12360 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
12361 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
12366 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
12367 echo "$as_me: executing $ac_dest commands" >&6;}
12369 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
12370 # Strip MF so we end up with the name of the file.
12371 mf=`echo "$mf" | sed -e 's/:.*$//'`
12372 # Check whether this is an Automake generated Makefile or not.
12373 # We used to match only the files named `Makefile.in', but
12374 # some people rename them; so instead we look at the file content.
12375 # Grep'ing the first line is not enough: some people post-process
12376 # each Makefile.in and add a new line on top of each file to say so.
12377 # So let's grep whole file.
12378 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
12379 dirpart=`(dirname "$mf") 2>/dev/null ||
12380 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12381 X"$mf" : 'X\(//\)[^/]' \| \
12382 X"$mf" : 'X\(//\)$' \| \
12383 X"$mf" : 'X\(/\)' \| \
12384 . : '\(.\)' 2>/dev/null ||
12386 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12387 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12388 /^X\(\/\/\)$/{ s//\1/; q; }
12389 /^X\(\/\).*/{ s//\1/; q; }
12394 # Extract the definition of DEPDIR, am__include, and am__quote
12395 # from the Makefile without running `make'.
12396 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
12397 test -z "$DEPDIR" && continue
12398 am__include=`sed -n 's/^am__include = //p' < "$mf"`
12399 test -z "am__include" && continue
12400 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
12401 # When using ansi2knr, U may be empty or an underscore; expand it
12402 U=`sed -n 's/^U = //p' < "$mf"`
12403 # Find all dependency output files, they are included files with
12404 # $(DEPDIR) in their names. We invoke sed twice because it is the
12405 # simplest approach to changing $(DEPDIR) to its actual value in the
12407 for file in `sed -n "
12408 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
12409 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
12410 # Make sure the directory exists.
12411 test -f "$dirpart/$file" && continue
12412 fdir=`(dirname "$file") 2>/dev/null ||
12413 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12414 X"$file" : 'X\(//\)[^/]' \| \
12415 X"$file" : 'X\(//\)$' \| \
12416 X"$file" : 'X\(/\)' \| \
12417 . : '\(.\)' 2>/dev/null ||
12419 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12420 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12421 /^X\(\/\/\)$/{ s//\1/; q; }
12422 /^X\(\/\).*/{ s//\1/; q; }
12424 { if $as_mkdir_p; then
12425 mkdir -p $dirpart/$fdir
12427 as_dir=$dirpart/$fdir
12429 while test ! -d "$as_dir"; do
12430 as_dirs="$as_dir $as_dirs"
12431 as_dir=`(dirname "$as_dir") 2>/dev/null ||
12432 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12433 X"$as_dir" : 'X\(//\)[^/]' \| \
12434 X"$as_dir" : 'X\(//\)$' \| \
12435 X"$as_dir" : 'X\(/\)' \| \
12436 . : '\(.\)' 2>/dev/null ||
12438 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12439 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12440 /^X\(\/\/\)$/{ s//\1/; q; }
12441 /^X\(\/\).*/{ s//\1/; q; }
12444 test ! -n "$as_dirs" || mkdir $as_dirs
12445 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
12446 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
12447 { (exit 1); exit 1; }; }; }
12449 # echo "creating $dirpart/$file"
12450 echo '# dummy' > "$dirpart/$file"
12456 # See if we are running on zsh, and set the options which allow our
12457 # commands through without removal of \ escapes.
12458 if test -n "${ZSH_VERSION+set}" ; then
12459 setopt NO_GLOB_SUBST
12462 cfgfile="${ofile}T"
12463 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
12466 cat <<_LT_EOF >> "$cfgfile"
12469 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
12470 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
12471 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12472 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
12474 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
12475 # 2006, 2007 Free Software Foundation, Inc.
12477 # This file is part of GNU Libtool:
12478 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
12480 # This program is free software; you can redistribute it and/or modify
12481 # it under the terms of the GNU General Public License as published by
12482 # the Free Software Foundation; either version 2 of the License, or
12483 # (at your option) any later version.
12485 # This program is distributed in the hope that it will be useful, but
12486 # WITHOUT ANY WARRANTY; without even the implied warranty of
12487 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12488 # General Public License for more details.
12490 # You should have received a copy of the GNU General Public License
12491 # along with this program; if not, a copy can be downloaded from
12492 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
12493 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
12494 # MA 02110-1301, USA.
12496 # As a special exception to the GNU General Public License, if you
12497 # distribute this file as part of a program that contains a
12498 # configuration script generated by Autoconf, you may include it under
12499 # the same distribution terms that you use for the rest of that program.
12502 # The names of the tagged configurations supported by this script.
12505 # ### BEGIN LIBTOOL CONFIG
12507 # A sed program that does not truncate output.
12510 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
12511 Xsed="\$SED -e 1s/^X//"
12513 # Assembler program.
12516 # DLL creation program.
12519 # Object dumper program.
12522 # Which release of libtool.m4 was used?
12523 macro_version=$macro_version
12524 macro_revision=$macro_revision
12526 # Whether or not to build shared libraries.
12527 build_libtool_libs=$enable_shared
12529 # Whether or not to build static libraries.
12530 build_old_libs=$enable_static
12532 # What type of objects to build.
12535 # Whether or not to optimize for fast installation.
12536 fast_install=$enable_fast_install
12539 host_alias=$host_alias
12543 # The build system.
12544 build_alias=$build_alias
12548 # A grep program that handles long lines.
12554 # A literal string matcher.
12557 # A BSD- or MS-compatible name lister.
12560 # Whether we need soft or hard links.
12563 # What is the maximum length of a command?
12564 max_cmd_len=$max_cmd_len
12566 # Object file suffix (normally "o").
12569 # Executable file suffix (normally "").
12572 # whether the shell understands "unset".
12575 # turn spaces into newlines.
12578 # turn newlines into spaces.
12581 # How to create reloadable object files.
12582 reload_flag=$lt_reload_flag
12583 reload_cmds=$lt_reload_cmds
12585 # Method to check whether dependent libraries are shared objects.
12586 deplibs_check_method=$lt_deplibs_check_method
12588 # Command to use when deplibs_check_method == "file_magic".
12589 file_magic_cmd=$lt_file_magic_cmd
12593 AR_FLAGS=$lt_AR_FLAGS
12595 # A symbol stripping program.
12598 # Commands used to install an old-style archive.
12600 old_postinstall_cmds=$lt_old_postinstall_cmds
12601 old_postuninstall_cmds=$lt_old_postuninstall_cmds
12606 # LTCC compiler flags.
12607 LTCFLAGS=$lt_CFLAGS
12609 # Take the output of nm and produce a listing of raw symbols and C names.
12610 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12612 # Transform the output of nm in a proper C declaration.
12613 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12615 # Transform the output of nm in a C name address pair.
12616 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12618 # The name of the directory that contains temporary libtool files.
12621 # Shell to use when invoking shell scripts.
12624 # An echo program that does not interpret backslashes.
12627 # Used to examine libraries when file_magic_cmd begins with "file".
12628 MAGIC_CMD=$MAGIC_CMD
12630 # Must we lock files when doing compilation?
12631 need_locks=$lt_need_locks
12633 # Old archive suffix (normally "a").
12636 # Shared library suffix (normally ".so").
12637 shrext_cmds=$lt_shrext_cmds
12639 # The commands to extract the exported symbol list from a shared archive.
12640 extract_expsyms_cmds=$lt_extract_expsyms_cmds
12642 # Variables whose values should be saved in libtool wrapper scripts and
12643 # restored at link time.
12644 variables_saved_for_relink=$lt_variables_saved_for_relink
12646 # Do we need the "lib" prefix for modules?
12647 need_lib_prefix=$need_lib_prefix
12649 # Do we need a version for libraries?
12650 need_version=$need_version
12652 # Library versioning type.
12653 version_type=$version_type
12655 # Shared library runtime path variable.
12656 runpath_var=$runpath_var
12658 # Shared library path variable.
12659 shlibpath_var=$shlibpath_var
12661 # Is shlibpath searched before the hard-coded library search path?
12662 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12664 # Format of library name prefix.
12665 libname_spec=$lt_libname_spec
12667 # List of archive names. First name is the real one, the rest are links.
12668 # The last name is the one that the linker finds with -lNAME
12669 library_names_spec=$lt_library_names_spec
12671 # The coded name of the library, if different from the real name.
12672 soname_spec=$lt_soname_spec
12674 # Command to use after installation of a shared archive.
12675 postinstall_cmds=$lt_postinstall_cmds
12677 # Command to use after uninstallation of a shared archive.
12678 postuninstall_cmds=$lt_postuninstall_cmds
12680 # Commands used to finish a libtool library installation in a directory.
12681 finish_cmds=$lt_finish_cmds
12683 # As "finish_cmds", except a single script fragment to be evaled but
12685 finish_eval=$lt_finish_eval
12687 # Whether we should hardcode library paths into libraries.
12688 hardcode_into_libs=$hardcode_into_libs
12690 # Compile-time system search path for libraries.
12691 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12693 # Run-time system search path for libraries.
12694 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12696 # Whether dlopen is supported.
12697 dlopen_support=$enable_dlopen
12699 # Whether dlopen of programs is supported.
12700 dlopen_self=$enable_dlopen_self
12702 # Whether dlopen of statically linked programs is supported.
12703 dlopen_self_static=$enable_dlopen_self_static
12705 # Commands to strip libraries.
12706 old_striplib=$lt_old_striplib
12707 striplib=$lt_striplib
12710 # The linker used to build libraries.
12713 # Commands used to build an old-style archive.
12714 old_archive_cmds=$lt_old_archive_cmds
12716 # A language specific compiler.
12719 # Is the compiler the GNU compiler?
12722 # Compiler flag to turn off builtin functions.
12723 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
12725 # How to pass a linker flag through the compiler.
12726 wl=$lt_lt_prog_compiler_wl
12728 # Additional compiler flags for building library objects.
12729 pic_flag=$lt_lt_prog_compiler_pic
12731 # Compiler flag to prevent dynamic linking.
12732 link_static_flag=$lt_lt_prog_compiler_static
12734 # Does compiler simultaneously support -c and -o options?
12735 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
12737 # Whether or not to add -lc for building shared libraries.
12738 build_libtool_need_lc=$archive_cmds_need_lc
12740 # Whether or not to disallow shared libs when runtime libs are static.
12741 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
12743 # Compiler flag to allow reflexive dlopens.
12744 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
12746 # Compiler flag to generate shared objects directly from archives.
12747 whole_archive_flag_spec=$lt_whole_archive_flag_spec
12749 # Whether the compiler copes with passing no objects directly.
12750 compiler_needs_object=$lt_compiler_needs_object
12752 # Create an old-style archive from a shared archive.
12753 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
12755 # Create a temporary old-style archive to link instead of a shared archive.
12756 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
12758 # Commands used to build a shared archive.
12759 archive_cmds=$lt_archive_cmds
12760 archive_expsym_cmds=$lt_archive_expsym_cmds
12762 # Commands used to build a loadable module if different from building
12763 # a shared archive.
12764 module_cmds=$lt_module_cmds
12765 module_expsym_cmds=$lt_module_expsym_cmds
12767 # Whether we are building with GNU ld or not.
12768 with_gnu_ld=$lt_with_gnu_ld
12770 # Flag that allows shared libraries with undefined symbols to be built.
12771 allow_undefined_flag=$lt_allow_undefined_flag
12773 # Flag that enforces no undefined symbols.
12774 no_undefined_flag=$lt_no_undefined_flag
12776 # Flag to hardcode \$libdir into a binary during linking.
12777 # This must work even if \$libdir does not exist
12778 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
12780 # If ld is used when linking, flag to hardcode \$libdir into a binary
12781 # during linking. This must work even if \$libdir does not exist.
12782 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
12784 # Whether we need a single "-rpath" flag with a separated argument.
12785 hardcode_libdir_separator=$lt_hardcode_libdir_separator
12787 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
12788 # DIR into the resulting binary.
12789 hardcode_direct=$hardcode_direct
12791 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
12792 # DIR into the resulting binary and the resulting library dependency is
12793 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
12794 # library is relocated.
12795 hardcode_direct_absolute=$hardcode_direct_absolute
12797 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
12798 # into the resulting binary.
12799 hardcode_minus_L=$hardcode_minus_L
12801 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
12802 # into the resulting binary.
12803 hardcode_shlibpath_var=$hardcode_shlibpath_var
12805 # Set to "yes" if building a shared library automatically hardcodes DIR
12806 # into the library and all subsequent libraries and executables linked
12808 hardcode_automatic=$hardcode_automatic
12810 # Set to yes if linker adds runtime paths of dependent libraries
12811 # to runtime path list.
12812 inherit_rpath=$inherit_rpath
12814 # Whether libtool must link a program against all its dependency libraries.
12815 link_all_deplibs=$link_all_deplibs
12817 # Fix the shell variable \$srcfile for the compiler.
12818 fix_srcfile_path=$lt_fix_srcfile_path
12820 # Set to "yes" if exported symbols are required.
12821 always_export_symbols=$always_export_symbols
12823 # The commands to list exported symbols.
12824 export_symbols_cmds=$lt_export_symbols_cmds
12826 # Symbols that should not be listed in the preloaded symbols.
12827 exclude_expsyms=$lt_exclude_expsyms
12829 # Symbols that must always be exported.
12830 include_expsyms=$lt_include_expsyms
12832 # Commands necessary for linking programs (against libraries) with templates.
12833 prelink_cmds=$lt_prelink_cmds
12835 # Specify filename containing input files.
12836 file_list_spec=$lt_file_list_spec
12838 # How to hardcode a shared library path into an executable.
12839 hardcode_action=$hardcode_action
12841 # ### END LIBTOOL CONFIG
12847 cat <<\_LT_EOF >> "$cfgfile"
12848 # AIX sometimes has problems with the GCC collect2 program. For some
12849 # reason, if we set the COLLECT_NAMES environment variable, the problems
12850 # vanish in a puff of smoke.
12851 if test "X${COLLECT_NAMES+set}" != Xset; then
12853 export COLLECT_NAMES
12860 ltmain="$ac_aux_dir/ltmain.sh"
12863 # We use sed instead of cat because bash on DJGPP gets confused if
12864 # if finds mixed CR/LF and LF-only lines. Since sed operates in
12865 # text mode, it properly converts lines to CR/LF. This bash problem
12866 # is reportedly fixed, but why not run on old versions too?
12867 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
12868 || (rm -f "$cfgfile"; exit 1)
12872 cat << \_LT_EOF >> "$cfgfile"
12873 # func_dirname file append nondir_replacement
12874 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
12875 # otherwise set result to NONDIR_REPLACEMENT.
12879 */*) func_dirname_result="${1%/*}${2}" ;;
12880 * ) func_dirname_result="${3}" ;;
12884 # func_basename file
12887 func_basename_result="${1##*/}"
12890 # func_stripname prefix suffix name
12891 # strip PREFIX and SUFFIX off of NAME.
12892 # PREFIX and SUFFIX must not contain globbing or regex special
12893 # characters, hashes, percent signs, but SUFFIX may contain a leading
12894 # dot (in which case that matches only a dot).
12897 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
12898 # positional parameters, so assign one to ordinary parameter first.
12899 func_stripname_result=${3}
12900 func_stripname_result=${func_stripname_result#"${1}"}
12901 func_stripname_result=${func_stripname_result%"${2}"}
12907 func_opt_split_opt=${1%%=*}
12908 func_opt_split_arg=${1#*=}
12915 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
12916 *) func_lo2o_result=${1} ;;
12921 *) # Bourne compatible functions.
12922 cat << \_LT_EOF >> "$cfgfile"
12923 # func_dirname file append nondir_replacement
12924 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
12925 # otherwise set result to NONDIR_REPLACEMENT.
12928 # Extract subdirectory from the argument.
12929 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
12930 if test "X$func_dirname_result" = "X${1}"; then
12931 func_dirname_result="${3}"
12933 func_dirname_result="$func_dirname_result${2}"
12937 # func_basename file
12940 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
12943 # func_stripname prefix suffix name
12944 # strip PREFIX and SUFFIX off of NAME.
12945 # PREFIX and SUFFIX must not contain globbing or regex special
12946 # characters, hashes, percent signs, but SUFFIX may contain a leading
12947 # dot (in which case that matches only a dot).
12948 # func_strip_suffix prefix name
12952 .*) func_stripname_result=`$ECHO "X${3}" \
12953 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
12954 *) func_stripname_result=`$ECHO "X${3}" \
12955 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
12960 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
12961 my_sed_long_arg='1s/^-[^=]*=//'
12966 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
12967 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
12973 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
12978 case $lt_shell_append in
12980 cat << \_LT_EOF >> "$cfgfile"
12982 # func_append var value
12983 # Append VALUE to the end of shell variable VAR.
12991 cat << \_LT_EOF >> "$cfgfile"
12993 # func_append var value
12994 # Append VALUE to the end of shell variable VAR.
13004 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
13005 || (rm -f "$cfgfile"; exit 1)
13007 mv -f "$cfgfile" "$ofile" ||
13008 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
13016 cat >>$CONFIG_STATUS <<\_ACEOF
13018 { (exit 0); exit 0; }
13020 chmod +x $CONFIG_STATUS
13021 ac_clean_files=$ac_clean_files_save
13024 # configure is writing to config.log, and then calls config.status.
13025 # config.status does its own redirection, appending to config.log.
13026 # Unfortunately, on DOS this fails, as config.log is still kept open
13027 # by configure, so config.status won't be able to write to it; its
13028 # output is simply discarded. So we exec the FD to /dev/null,
13029 # effectively closing config.log, so it can be properly (re)opened and
13030 # appended to by config.status. When coming back to configure, we
13031 # need to make the FD available again.
13032 if test "$no_create" != yes; then
13034 ac_config_status_args=
13035 test "$silent" = yes &&
13036 ac_config_status_args="$ac_config_status_args --quiet"
13038 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
13040 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13041 # would make configure fail if this is the last instruction.
13042 $ac_cs_success || { (exit 1); exit 1; }
13046 # CONFIG_SUBDIRS section, as fixed in confsubdir.m4.
13048 if test "$no_recursion" != yes; then
13050 # Remove --cache-file and --srcdir arguments so they do not pile up.
13051 ac_sub_configure_args=
13053 eval "set x $ac_configure_args"
13057 if test -n "$ac_prev"; then
13062 -cache-file | --cache-file | --cache-fil | --cache-fi \
13063 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
13064 ac_prev=cache_file ;;
13065 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
13066 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
13069 --config-cache | -C)
13071 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
13073 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
13075 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
13077 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
13081 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
13083 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
13087 # Always prepend --prefix to ensure using the same prefix
13088 # in subdir configurations.
13089 ac_arg="--prefix=$prefix"
13091 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
13093 ac_sub_configure_args="$ac_arg $ac_sub_configure_args"
13096 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
13098 # Do not complain, so a configure script can configure whichever
13099 # parts of a large source tree are present.
13100 test -d "$srcdir/$ac_dir" || continue
13102 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
13103 echo "$as_me: configuring in $ac_dir" >&6;}
13104 { if $as_mkdir_p; then
13109 while test ! -d "$as_dir"; do
13110 as_dirs="$as_dir $as_dirs"
13111 as_dir=`(dirname "$as_dir") 2>/dev/null ||
13112 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13113 X"$as_dir" : 'X\(//\)[^/]' \| \
13114 X"$as_dir" : 'X\(//\)$' \| \
13115 X"$as_dir" : 'X\(/\)' \| \
13116 . : '\(.\)' 2>/dev/null ||
13118 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13119 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13120 /^X\(\/\/\)$/{ s//\1/; q; }
13121 /^X\(\/\).*/{ s//\1/; q; }
13124 test ! -n "$as_dirs" || mkdir $as_dirs
13125 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13126 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13127 { (exit 1); exit 1; }; }; }
13131 if test "$ac_dir" != .; then
13132 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13133 # A "../" for each directory in $ac_dir_suffix.
13134 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
13136 ac_dir_suffix= ac_top_builddir=
13140 .) # No --srcdir option. We are building in place.
13142 if test -z "$ac_top_builddir"; then
13145 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
13147 [\\/]* | ?:[\\/]* ) # Absolute path.
13148 ac_srcdir=$srcdir$ac_dir_suffix;
13149 ac_top_srcdir=$srcdir ;;
13150 *) # Relative path.
13151 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
13152 ac_top_srcdir=$ac_top_builddir$srcdir ;;
13155 # Do not use `cd foo && pwd` to compute absolute paths, because
13156 # the directories may not exist.
13158 .) ac_abs_builddir="$ac_dir";;
13161 .) ac_abs_builddir=`pwd`;;
13162 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
13163 *) ac_abs_builddir=`pwd`/"$ac_dir";;
13166 case $ac_abs_builddir in
13167 .) ac_abs_top_builddir=${ac_top_builddir}.;;
13169 case ${ac_top_builddir}. in
13170 .) ac_abs_top_builddir=$ac_abs_builddir;;
13171 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
13172 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
13175 case $ac_abs_builddir in
13176 .) ac_abs_srcdir=$ac_srcdir;;
13179 .) ac_abs_srcdir=$ac_abs_builddir;;
13180 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
13181 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
13184 case $ac_abs_builddir in
13185 .) ac_abs_top_srcdir=$ac_top_srcdir;;
13187 case $ac_top_srcdir in
13188 .) ac_abs_top_srcdir=$ac_abs_builddir;;
13189 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
13190 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
13197 # Check for guested configure; otherwise get Cygnus style configure.
13198 if test -f "$ac_srcdir/configure.gnu"; then
13199 ac_sub_configure=$ac_srcdir/configure.gnu
13200 elif test -f "$ac_srcdir/configure"; then
13201 ac_sub_configure=$ac_srcdir/configure
13202 elif test -f "$ac_srcdir/configure.in"; then
13203 # This should be Cygnus configure.
13204 ac_sub_configure=$ac_aux_dir/configure
13206 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
13207 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
13211 # The recursion is here.
13212 if test -n "$ac_sub_configure"; then
13213 # Make the cache file name correct relative to the subdirectory.
13214 case $cache_file in
13215 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
13216 *) # Relative path.
13217 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
13220 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
13221 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
13222 # The eval makes quoting arguments work.
13223 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
13224 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
13225 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
13226 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
13227 { (exit 1); exit 1; }; }