2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for libssp 1.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='libssp'
418 PACKAGE_TARNAME='libssp'
419 PACKAGE_VERSION='1.0'
420 PACKAGE_STRING='libssp 1.0'
423 ac_unique_file="ssp.c"
424 # Factoring default headers for most tests.
425 ac_includes_default="\
428 # include <sys/types.h>
431 # include <sys/stat.h>
442 # if !STDC_HEADERS && HAVE_MEMORY_H
448 # include <strings.h>
451 # include <inttypes.h>
461 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os target_noncanonical 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 MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT multi_basedir CC ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CFLAGS CPP CPPFLAGS LIBSSP_USE_SYMVER_TRUE LIBSSP_USE_SYMVER_FALSE EGREP ssp_have_usable_vsnprintf LIBTOOL SED FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM LN_S OBJDUMP ac_ct_OBJDUMP AR ac_ct_AR RANLIB ac_ct_RANLIB lt_ECHO DSYMUTIL ac_ct_DSYMUTIL NMEDIT ac_ct_NMEDIT LIPO ac_ct_LIPO OTOOL ac_ct_OTOOL OTOOL64 ac_ct_OTOOL64 enable_shared enable_static toolexecdir toolexeclibdir 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_CPP_set=${CPP+set}
904 ac_env_CPP_value=$CPP
905 ac_cv_env_CPP_set=${CPP+set}
906 ac_cv_env_CPP_value=$CPP
907 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
908 ac_env_CPPFLAGS_value=$CPPFLAGS
909 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
910 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
913 # Report the --help message.
915 if test "$ac_init_help" = "long"; then
916 # Omit some internal or obsolete options to make the list less imposing.
917 # This message is too long to be a string in the A/UX 3.1 sh.
919 \`configure' configures libssp 1.0 to adapt to many kinds of systems.
921 Usage: $0 [OPTION]... [VAR=VALUE]...
923 To assign environment variables (e.g., CC, CFLAGS...), specify them as
924 VAR=VALUE. See below for descriptions of some of the useful variables.
926 Defaults for the options are specified in brackets.
929 -h, --help display this help and exit
930 --help=short display options specific to this package
931 --help=recursive display the short help of all the included packages
932 -V, --version display version information and exit
933 -q, --quiet, --silent do not print \`checking...' messages
934 --cache-file=FILE cache test results in FILE [disabled]
935 -C, --config-cache alias for \`--cache-file=config.cache'
936 -n, --no-create do not create output files
937 --srcdir=DIR find the sources in DIR [configure dir or \`..']
942 Installation directories:
943 --prefix=PREFIX install architecture-independent files in PREFIX
945 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
948 By default, \`make install' will install all the files in
949 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
950 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
951 for instance \`--prefix=\$HOME'.
953 For better control, use the options below.
955 Fine tuning of the installation directories:
956 --bindir=DIR user executables [EPREFIX/bin]
957 --sbindir=DIR system admin executables [EPREFIX/sbin]
958 --libexecdir=DIR program executables [EPREFIX/libexec]
959 --datadir=DIR read-only architecture-independent data [PREFIX/share]
960 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
961 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
962 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
963 --libdir=DIR object code libraries [EPREFIX/lib]
964 --includedir=DIR C header files [PREFIX/include]
965 --oldincludedir=DIR C header files for non-gcc [/usr/include]
966 --infodir=DIR info documentation [PREFIX/info]
967 --mandir=DIR man documentation [PREFIX/man]
973 --program-prefix=PREFIX prepend PREFIX to installed program names
974 --program-suffix=SUFFIX append SUFFIX to installed program names
975 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
978 --build=BUILD configure for building on BUILD [guessed]
979 --host=HOST cross-compile to build programs to run on HOST [BUILD]
980 --target=TARGET configure for building compilers for TARGET [HOST]
984 if test -n "$ac_init_help"; then
985 case $ac_init_help in
986 short | recursive ) echo "Configuration of libssp 1.0:";;
991 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
992 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
993 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory
994 --enable-maintainer-mode enable make rules and dependencies not useful
995 (and sometimes confusing) to the casual installer
996 --enable-multilib build many library versions (default)
997 --disable-dependency-tracking speeds up one-time build
998 --enable-dependency-tracking do not reject slow dependency extractors
999 --enable-shared[=PKGS]
1000 build shared libraries [default=yes]
1001 --enable-static[=PKGS]
1002 build static libraries [default=yes]
1003 --enable-fast-install[=PKGS]
1004 optimize for fast installation [default=yes]
1005 --disable-libtool-lock avoid locking (might break parallel builds)
1008 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1009 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1010 --with-pic try to use only PIC/non-PIC objects [default=use
1012 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1014 Some influential environment variables:
1015 CC C compiler command
1016 CFLAGS C compiler flags
1017 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1018 nonstandard directory <lib dir>
1019 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1020 headers in a nonstandard directory <include dir>
1023 Use these variables to override the choices made by `configure' or to help
1024 it to find libraries and programs with nonstandard names/locations.
1029 if test "$ac_init_help" = "recursive"; then
1030 # If there are subdirs, report their specific --help.
1032 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1033 test -d $ac_dir || continue
1036 if test "$ac_dir" != .; then
1037 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1038 # A "../" for each directory in $ac_dir_suffix.
1039 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1041 ac_dir_suffix= ac_top_builddir=
1045 .) # No --srcdir option. We are building in place.
1047 if test -z "$ac_top_builddir"; then
1050 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1052 [\\/]* | ?:[\\/]* ) # Absolute path.
1053 ac_srcdir=$srcdir$ac_dir_suffix;
1054 ac_top_srcdir=$srcdir ;;
1056 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1057 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1060 # Do not use `cd foo && pwd` to compute absolute paths, because
1061 # the directories may not exist.
1063 .) ac_abs_builddir="$ac_dir";;
1066 .) ac_abs_builddir=`pwd`;;
1067 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1068 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1071 case $ac_abs_builddir in
1072 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1074 case ${ac_top_builddir}. in
1075 .) ac_abs_top_builddir=$ac_abs_builddir;;
1076 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1077 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1080 case $ac_abs_builddir in
1081 .) ac_abs_srcdir=$ac_srcdir;;
1084 .) ac_abs_srcdir=$ac_abs_builddir;;
1085 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1086 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1089 case $ac_abs_builddir in
1090 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1092 case $ac_top_srcdir in
1093 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1094 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1095 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1100 # Check for guested configure; otherwise get Cygnus style configure.
1101 if test -f $ac_srcdir/configure.gnu; then
1103 $SHELL $ac_srcdir/configure.gnu --help=recursive
1104 elif test -f $ac_srcdir/configure; then
1106 $SHELL $ac_srcdir/configure --help=recursive
1107 elif test -f $ac_srcdir/configure.ac ||
1108 test -f $ac_srcdir/configure.in; then
1110 $ac_configure --help
1112 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1118 test -n "$ac_init_help" && exit 0
1119 if $ac_init_version; then
1121 libssp configure 1.0
1122 generated by GNU Autoconf 2.59
1124 Copyright (C) 2003 Free Software Foundation, Inc.
1125 This configure script is free software; the Free Software Foundation
1126 gives unlimited permission to copy, distribute and modify it.
1132 This file contains any messages produced by compilers while
1133 running configure, to aid debugging if configure makes a mistake.
1135 It was created by libssp $as_me 1.0, which was
1136 generated by GNU Autoconf 2.59. Invocation command line was
1147 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1148 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1149 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1150 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1151 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1153 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1154 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1156 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1157 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1158 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1159 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1160 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1161 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1162 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1170 test -z "$as_dir" && as_dir=.
1171 echo "PATH: $as_dir"
1186 # Keep a trace of the command line.
1187 # Strip out --no-create and --no-recursion so they do not pile up.
1188 # Strip out --silent because we don't want to record it for future runs.
1189 # Also quote any args containing shell meta-characters.
1190 # Make two passes to allow for proper duplicate-argument suppression.
1195 ac_must_keep_next=false
1201 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1202 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1203 | -silent | --silent | --silen | --sile | --sil)
1205 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1206 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1209 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1211 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1212 if test $ac_must_keep_next = true; then
1213 ac_must_keep_next=false # Got value, back to normal.
1216 *=* | --config-cache | -C | -disable-* | --disable-* \
1217 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1218 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1219 | -with-* | --with-* | -without-* | --without-* | --x)
1220 case "$ac_configure_args0 " in
1221 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1224 -* ) ac_must_keep_next=true ;;
1227 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1228 # Get rid of the leading space.
1234 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1235 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1237 # When interrupted or exit'd, cleanup temporary files, and complete
1238 # config.log. We remove comments because anyway the quotes in there
1239 # would cause problems or look ugly.
1240 # WARNING: Be sure not to use single quotes in there, as some shells,
1241 # such as our DU 5.0 friend, will then `close' the trap.
1242 trap 'exit_status=$?
1243 # Save into config.log some information that might help in debugging.
1248 ## ---------------- ##
1249 ## Cache variables. ##
1250 ## ---------------- ##
1253 # The following way of writing the cache mishandles newlines in values,
1256 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1259 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1260 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1264 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1271 ## ----------------- ##
1272 ## Output variables. ##
1273 ## ----------------- ##
1276 for ac_var in $ac_subst_vars
1278 eval ac_val=$`echo $ac_var`
1279 echo "$ac_var='"'"'$ac_val'"'"'"
1283 if test -n "$ac_subst_files"; then
1290 for ac_var in $ac_subst_files
1292 eval ac_val=$`echo $ac_var`
1293 echo "$ac_var='"'"'$ac_val'"'"'"
1298 if test -s confdefs.h; then
1305 sed "/^$/d" confdefs.h | sort
1308 test "$ac_signal" != 0 &&
1309 echo "$as_me: caught signal $ac_signal"
1310 echo "$as_me: exit $exit_status"
1312 rm -f core *.core &&
1313 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1316 for ac_signal in 1 2 13 15; do
1317 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1321 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1322 rm -rf conftest* confdefs.h
1323 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1326 # Predefined preprocessor variables.
1328 cat >>confdefs.h <<_ACEOF
1329 #define PACKAGE_NAME "$PACKAGE_NAME"
1333 cat >>confdefs.h <<_ACEOF
1334 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1338 cat >>confdefs.h <<_ACEOF
1339 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1343 cat >>confdefs.h <<_ACEOF
1344 #define PACKAGE_STRING "$PACKAGE_STRING"
1348 cat >>confdefs.h <<_ACEOF
1349 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1353 # Let the site file select an alternate cache file if it wants to.
1354 # Prefer explicitly selected file to automatically selected ones.
1355 if test -z "$CONFIG_SITE"; then
1356 if test "x$prefix" != xNONE; then
1357 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1359 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1362 for ac_site_file in $CONFIG_SITE; do
1363 if test -r "$ac_site_file"; then
1364 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1365 echo "$as_me: loading site script $ac_site_file" >&6;}
1366 sed 's/^/| /' "$ac_site_file" >&5
1371 if test -r "$cache_file"; then
1372 # Some versions of bash will fail to source /dev/null (special
1373 # files actually), so we avoid doing that.
1374 if test -f "$cache_file"; then
1375 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1376 echo "$as_me: loading cache $cache_file" >&6;}
1378 [\\/]* | ?:[\\/]* ) . $cache_file;;
1379 *) . ./$cache_file;;
1383 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1384 echo "$as_me: creating cache $cache_file" >&6;}
1388 # Check that the precious variables saved in the cache have kept the same
1390 ac_cache_corrupted=false
1391 for ac_var in `(set) 2>&1 |
1392 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1393 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1394 eval ac_new_set=\$ac_env_${ac_var}_set
1395 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1396 eval ac_new_val="\$ac_env_${ac_var}_value"
1397 case $ac_old_set,$ac_new_set in
1399 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1400 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1401 ac_cache_corrupted=: ;;
1403 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1404 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1405 ac_cache_corrupted=: ;;
1408 if test "x$ac_old_val" != "x$ac_new_val"; then
1409 # differences in whitespace do not lead to failure.
1410 ac_old_val_w=`echo x $ac_old_val`
1411 ac_new_val_w=`echo x $ac_new_val`
1412 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1413 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1414 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1415 ac_cache_corrupted=:
1417 { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1418 echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1419 eval $ac_var=\$ac_old_val
1421 { echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1422 echo "$as_me: former value: \`$ac_old_val'" >&2;}
1423 { echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1424 echo "$as_me: current value: \`$ac_new_val'" >&2;}
1427 # Pass precious variables to config.status.
1428 if test "$ac_new_set" = set; then
1430 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1431 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1432 *) ac_arg=$ac_var=$ac_new_val ;;
1434 case " $ac_configure_args " in
1435 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1436 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1440 if $ac_cache_corrupted; then
1441 { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1442 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1443 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1444 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1445 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1446 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1447 { (exit 1); exit 1; }; }
1451 ac_cpp='$CPP $CPPFLAGS'
1452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1487 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1488 if test -f $ac_dir/install-sh; then
1490 ac_install_sh="$ac_aux_dir/install-sh -c"
1492 elif test -f $ac_dir/install.sh; then
1494 ac_install_sh="$ac_aux_dir/install.sh -c"
1496 elif test -f $ac_dir/shtool; then
1498 ac_install_sh="$ac_aux_dir/shtool install -c"
1502 if test -z "$ac_aux_dir"; then
1503 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1504 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1505 { (exit 1); exit 1; }; }
1507 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1508 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1509 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1511 # Make sure we can run config.sub.
1512 $ac_config_sub sun4 >/dev/null 2>&1 ||
1513 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1514 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1515 { (exit 1); exit 1; }; }
1517 echo "$as_me:$LINENO: checking build system type" >&5
1518 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1519 if test "${ac_cv_build+set}" = set; then
1520 echo $ECHO_N "(cached) $ECHO_C" >&6
1522 ac_cv_build_alias=$build_alias
1523 test -z "$ac_cv_build_alias" &&
1524 ac_cv_build_alias=`$ac_config_guess`
1525 test -z "$ac_cv_build_alias" &&
1526 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1527 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1528 { (exit 1); exit 1; }; }
1529 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1530 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1531 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1532 { (exit 1); exit 1; }; }
1535 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1536 echo "${ECHO_T}$ac_cv_build" >&6
1538 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1539 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1540 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1543 echo "$as_me:$LINENO: checking host system type" >&5
1544 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1545 if test "${ac_cv_host+set}" = set; then
1546 echo $ECHO_N "(cached) $ECHO_C" >&6
1548 ac_cv_host_alias=$host_alias
1549 test -z "$ac_cv_host_alias" &&
1550 ac_cv_host_alias=$ac_cv_build_alias
1551 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1552 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1553 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1554 { (exit 1); exit 1; }; }
1557 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1558 echo "${ECHO_T}$ac_cv_host" >&6
1560 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1561 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1562 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1565 echo "$as_me:$LINENO: checking target system type" >&5
1566 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1567 if test "${ac_cv_target+set}" = set; then
1568 echo $ECHO_N "(cached) $ECHO_C" >&6
1570 ac_cv_target_alias=$target_alias
1571 test "x$ac_cv_target_alias" = "x" &&
1572 ac_cv_target_alias=$ac_cv_host_alias
1573 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1574 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1575 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1576 { (exit 1); exit 1; }; }
1579 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1580 echo "${ECHO_T}$ac_cv_target" >&6
1581 target=$ac_cv_target
1582 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1583 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1584 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1587 # The aliases save the names the user supplied, while $host etc.
1588 # will get canonicalized.
1589 test -n "$target_alias" &&
1590 test "$program_prefix$program_suffix$program_transform_name" = \
1592 program_prefix=${target_alias}-
1593 case ${build_alias} in
1594 "") build_noncanonical=${build} ;;
1595 *) build_noncanonical=${build_alias} ;;
1598 case ${host_alias} in
1599 "") host_noncanonical=${build_noncanonical} ;;
1600 *) host_noncanonical=${host_alias} ;;
1603 case ${target_alias} in
1604 "") target_noncanonical=${host_noncanonical} ;;
1605 *) target_noncanonical=${target_alias} ;;
1611 am__api_version="1.9"
1612 # Find a good install program. We prefer a C program (faster),
1613 # so one script is as good as another. But avoid the broken or
1614 # incompatible versions:
1615 # SysV /etc/install, /usr/sbin/install
1616 # SunOS /usr/etc/install
1617 # IRIX /sbin/install
1619 # AmigaOS /C/install, which installs bootblocks on floppy discs
1620 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1621 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1622 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1623 # OS/2's system install, which has a completely different semantic
1624 # ./install, which can be erroneously created by make from ./install.sh.
1625 # Reject install programs that cannot install multiple files.
1626 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1627 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1628 if test -z "$INSTALL"; then
1629 if test "${ac_cv_path_install+set}" = set; then
1630 echo $ECHO_N "(cached) $ECHO_C" >&6
1632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1636 test -z "$as_dir" && as_dir=.
1637 # Account for people who put trailing slashes in PATH elements.
1639 ./ | .// | /cC/* | \
1640 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1641 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1644 # OSF1 and SCO ODT 3.0 have their own names for install.
1645 # Don't use installbsd from OSF since it installs stuff as root
1647 for ac_prog in ginstall scoinst install; do
1648 for ac_exec_ext in '' $ac_executable_extensions; do
1649 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1650 if test $ac_prog = install &&
1651 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1652 # AIX install. It has an incompatible calling convention.
1654 elif test $ac_prog = install &&
1655 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1656 # program-specific install script used by HP pwplus--don't use.
1659 rm -rf conftest.one conftest.two conftest.dir
1660 echo one > conftest.one
1661 echo two > conftest.two
1663 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1664 test -s conftest.one && test -s conftest.two &&
1665 test -s conftest.dir/conftest.one &&
1666 test -s conftest.dir/conftest.two
1668 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1679 rm -rf conftest.one conftest.two conftest.dir
1682 if test "${ac_cv_path_install+set}" = set; then
1683 INSTALL=$ac_cv_path_install
1685 # As a last resort, use the slow shell script. Don't cache a
1686 # value for INSTALL within a source directory, because that will
1687 # break other packages using the cache if that directory is
1688 # removed, or if the value is a relative name.
1689 INSTALL=$ac_install_sh
1692 echo "$as_me:$LINENO: result: $INSTALL" >&5
1693 echo "${ECHO_T}$INSTALL" >&6
1695 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1696 # It thinks the first close brace ends the variable substitution.
1697 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1699 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1701 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1703 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1704 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1707 echo timestamp > conftest.file
1708 # Do `set' in a subshell so we don't clobber the current shell's
1709 # arguments. Must try -L first in case configure is actually a
1710 # symlink; some systems play weird games with the mod time of symlinks
1711 # (eg FreeBSD returns the mod time of the symlink's containing
1714 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1715 if test "$*" = "X"; then
1717 set X `ls -t $srcdir/configure conftest.file`
1720 if test "$*" != "X $srcdir/configure conftest.file" \
1721 && test "$*" != "X conftest.file $srcdir/configure"; then
1723 # If neither matched, then we have a broken ls. This can happen
1724 # if, for instance, CONFIG_SHELL is bash and it inherits a
1725 # broken ls alias from the environment. This has actually
1726 # happened. Such a system could not be considered "sane".
1727 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1728 alias in your environment" >&5
1729 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1730 alias in your environment" >&2;}
1731 { (exit 1); exit 1; }; }
1734 test "$2" = conftest.file
1740 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1741 Check your system clock" >&5
1742 echo "$as_me: error: newly created file is older than distributed files!
1743 Check your system clock" >&2;}
1744 { (exit 1); exit 1; }; }
1746 echo "$as_me:$LINENO: result: yes" >&5
1747 echo "${ECHO_T}yes" >&6
1748 test "$program_prefix" != NONE &&
1749 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1750 # Use a double $ so make ignores it.
1751 test "$program_suffix" != NONE &&
1752 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1753 # Double any \ or $. echo might interpret backslashes.
1754 # By default was `s,x,x', remove it if useless.
1755 cat <<\_ACEOF >conftest.sed
1756 s/[\\$]/&&/g;s/;s,x,x,$//
1758 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1761 # expand $ac_aux_dir to an absolute path
1762 am_aux_dir=`cd $ac_aux_dir && pwd`
1764 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1765 # Use eval to expand $SHELL
1766 if eval "$MISSING --run true"; then
1767 am_missing_run="$MISSING --run "
1770 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1771 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1774 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1775 # We used to keeping the `.' as first argument, in order to
1776 # allow $(mkdir_p) to be used without argument. As in
1777 # $(mkdir_p) $(somedir)
1778 # where $(somedir) is conditionally defined. However this is wrong
1780 # 1. if the package is installed by a user who cannot write `.'
1781 # make install will fail,
1782 # 2. the above comment should most certainly read
1783 # $(mkdir_p) $(DESTDIR)$(somedir)
1784 # so it does not work when $(somedir) is undefined and
1785 # $(DESTDIR) is not.
1786 # To support the latter case, we have to write
1787 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1788 # so the `.' trick is pointless.
1789 mkdir_p='mkdir -p --'
1791 # On NextStep and OpenStep, the `mkdir' command does not
1792 # recognize any option. It will interpret all options as
1793 # directories to create, and then abort because `.' already
1795 for d in ./-p ./--version;
1797 test -d $d && rmdir $d
1799 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1800 if test -f "$ac_aux_dir/mkinstalldirs"; then
1801 mkdir_p='$(mkinstalldirs)'
1803 mkdir_p='$(install_sh) -d'
1807 for ac_prog in gawk mawk nawk awk
1809 # Extract the first word of "$ac_prog", so it can be a program name with args.
1810 set dummy $ac_prog; ac_word=$2
1811 echo "$as_me:$LINENO: checking for $ac_word" >&5
1812 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1813 if test "${ac_cv_prog_AWK+set}" = set; then
1814 echo $ECHO_N "(cached) $ECHO_C" >&6
1816 if test -n "$AWK"; then
1817 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1823 test -z "$as_dir" && as_dir=.
1824 for ac_exec_ext in '' $ac_executable_extensions; do
1825 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1826 ac_cv_prog_AWK="$ac_prog"
1827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1836 if test -n "$AWK"; then
1837 echo "$as_me:$LINENO: result: $AWK" >&5
1838 echo "${ECHO_T}$AWK" >&6
1840 echo "$as_me:$LINENO: result: no" >&5
1841 echo "${ECHO_T}no" >&6
1844 test -n "$AWK" && break
1847 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1848 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1849 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1850 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1851 echo $ECHO_N "(cached) $ECHO_C" >&6
1853 cat >conftest.make <<\_ACEOF
1855 @echo 'ac_maketemp="$(MAKE)"'
1857 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1858 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1859 if test -n "$ac_maketemp"; then
1860 eval ac_cv_prog_make_${ac_make}_set=yes
1862 eval ac_cv_prog_make_${ac_make}_set=no
1866 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1867 echo "$as_me:$LINENO: result: yes" >&5
1868 echo "${ECHO_T}yes" >&6
1871 echo "$as_me:$LINENO: result: no" >&5
1872 echo "${ECHO_T}no" >&6
1873 SET_MAKE="MAKE=${MAKE-make}"
1876 rm -rf .tst 2>/dev/null
1877 mkdir .tst 2>/dev/null
1878 if test -d .tst; then
1883 rmdir .tst 2>/dev/null
1885 # test to see if srcdir already configured
1886 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1887 test -f $srcdir/config.status; then
1888 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1889 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1890 { (exit 1); exit 1; }; }
1893 # test whether we have cygpath
1894 if test -z "$CYGPATH_W"; then
1895 if (cygpath --version) >/dev/null 2>/dev/null; then
1896 CYGPATH_W='cygpath -w'
1903 # Define the identity of the package.
1908 cat >>confdefs.h <<_ACEOF
1909 #define PACKAGE "$PACKAGE"
1913 cat >>confdefs.h <<_ACEOF
1914 #define VERSION "$VERSION"
1917 # Some tools Automake needs.
1919 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1922 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1925 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1928 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1931 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1933 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1935 # Installed binaries are usually stripped using `strip' when the user
1936 # run `make install-strip'. However `strip' might not be the right
1937 # tool to use in cross-compilation environments, therefore Automake
1938 # will honor the `STRIP' environment variable to overrule this program.
1939 if test "$cross_compiling" != no; then
1940 if test -n "$ac_tool_prefix"; then
1941 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1942 set dummy ${ac_tool_prefix}strip; ac_word=$2
1943 echo "$as_me:$LINENO: checking for $ac_word" >&5
1944 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1945 if test "${ac_cv_prog_STRIP+set}" = set; then
1946 echo $ECHO_N "(cached) $ECHO_C" >&6
1948 if test -n "$STRIP"; then
1949 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1955 test -z "$as_dir" && as_dir=.
1956 for ac_exec_ext in '' $ac_executable_extensions; do
1957 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1958 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1959 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1967 STRIP=$ac_cv_prog_STRIP
1968 if test -n "$STRIP"; then
1969 echo "$as_me:$LINENO: result: $STRIP" >&5
1970 echo "${ECHO_T}$STRIP" >&6
1972 echo "$as_me:$LINENO: result: no" >&5
1973 echo "${ECHO_T}no" >&6
1977 if test -z "$ac_cv_prog_STRIP"; then
1979 # Extract the first word of "strip", so it can be a program name with args.
1980 set dummy strip; ac_word=$2
1981 echo "$as_me:$LINENO: checking for $ac_word" >&5
1982 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1983 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1984 echo $ECHO_N "(cached) $ECHO_C" >&6
1986 if test -n "$ac_ct_STRIP"; then
1987 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1993 test -z "$as_dir" && as_dir=.
1994 for ac_exec_ext in '' $ac_executable_extensions; do
1995 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1996 ac_cv_prog_ac_ct_STRIP="strip"
1997 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2003 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2006 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2007 if test -n "$ac_ct_STRIP"; then
2008 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2009 echo "${ECHO_T}$ac_ct_STRIP" >&6
2011 echo "$as_me:$LINENO: result: no" >&5
2012 echo "${ECHO_T}no" >&6
2017 STRIP="$ac_cv_prog_STRIP"
2021 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2023 # We need awk for the "check" target. The system "awk" is bad on
2025 # Always define AMTAR for backward compatibility.
2027 AMTAR=${AMTAR-"${am_missing_run}tar"}
2029 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2036 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
2037 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
2038 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
2039 if test "${enable_version_specific_runtime_libs+set}" = set; then
2040 enableval="$enable_version_specific_runtime_libs"
2041 case "$enableval" in
2042 yes) version_specific_libs=yes ;;
2043 no) version_specific_libs=no ;;
2044 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
2045 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
2046 { (exit 1); exit 1; }; };;
2049 version_specific_libs=no
2051 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
2052 echo "${ECHO_T}$version_specific_libs" >&6
2054 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2055 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
2056 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
2057 if test "${enable_maintainer_mode+set}" = set; then
2058 enableval="$enable_maintainer_mode"
2059 USE_MAINTAINER_MODE=$enableval
2061 USE_MAINTAINER_MODE=no
2063 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2064 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
2067 if test $USE_MAINTAINER_MODE = yes; then
2068 MAINTAINER_MODE_TRUE=
2069 MAINTAINER_MODE_FALSE='#'
2071 MAINTAINER_MODE_TRUE='#'
2072 MAINTAINER_MODE_FALSE=
2075 MAINT=$MAINTAINER_MODE_TRUE
2081 # Default to --enable-multilib
2082 # Check whether --enable-multilib or --disable-multilib was given.
2083 if test "${enable_multilib+set}" = set; then
2084 enableval="$enable_multilib"
2085 case "$enableval" in
2086 yes) multilib=yes ;;
2088 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
2089 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
2090 { (exit 1); exit 1; }; } ;;
2096 # We may get other options which we leave undocumented:
2097 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2098 # See config-ml.in if you want the gory details.
2100 if test "$srcdir" = "."; then
2101 if test "$with_target_subdir" != "."; then
2102 multi_basedir="$srcdir/$with_multisrctop../.."
2104 multi_basedir="$srcdir/$with_multisrctop.."
2107 multi_basedir="$srcdir/.."
2111 # Even if the default multilib is not a cross compilation,
2112 # it may be that some of the other multilibs are.
2113 if test $cross_compiling = no && test $multilib = yes \
2114 && test "x${with_multisubdir}" != x ; then
2115 cross_compiling=maybe
2118 ac_config_commands="$ac_config_commands default-1"
2121 target_alias=${target_alias-$host_alias}
2124 ac_config_headers="$ac_config_headers config.h"
2128 ac_cpp='$CPP $CPPFLAGS'
2129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2133 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
2134 # We must force CC to /not/ be precious variables; otherwise
2135 # the wrong, non-multilib-adjusted value will be used in multilibs.
2136 # As a side effect, we have to subst CFLAGS ourselves.
2141 ac_cpp='$CPP $CPPFLAGS'
2142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2145 if test -n "$ac_tool_prefix"; then
2146 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2147 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2148 echo "$as_me:$LINENO: checking for $ac_word" >&5
2149 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2150 if test "${ac_cv_prog_CC+set}" = set; then
2151 echo $ECHO_N "(cached) $ECHO_C" >&6
2153 if test -n "$CC"; then
2154 ac_cv_prog_CC="$CC" # Let the user override the test.
2156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2160 test -z "$as_dir" && as_dir=.
2161 for ac_exec_ext in '' $ac_executable_extensions; do
2162 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2163 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2164 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2173 if test -n "$CC"; then
2174 echo "$as_me:$LINENO: result: $CC" >&5
2175 echo "${ECHO_T}$CC" >&6
2177 echo "$as_me:$LINENO: result: no" >&5
2178 echo "${ECHO_T}no" >&6
2182 if test -z "$ac_cv_prog_CC"; then
2184 # Extract the first word of "gcc", so it can be a program name with args.
2185 set dummy gcc; ac_word=$2
2186 echo "$as_me:$LINENO: checking for $ac_word" >&5
2187 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2188 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2189 echo $ECHO_N "(cached) $ECHO_C" >&6
2191 if test -n "$ac_ct_CC"; then
2192 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2198 test -z "$as_dir" && as_dir=.
2199 for ac_exec_ext in '' $ac_executable_extensions; do
2200 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2201 ac_cv_prog_ac_ct_CC="gcc"
2202 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2210 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2211 if test -n "$ac_ct_CC"; then
2212 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2213 echo "${ECHO_T}$ac_ct_CC" >&6
2215 echo "$as_me:$LINENO: result: no" >&5
2216 echo "${ECHO_T}no" >&6
2224 if test -z "$CC"; then
2225 if test -n "$ac_tool_prefix"; then
2226 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2227 set dummy ${ac_tool_prefix}cc; ac_word=$2
2228 echo "$as_me:$LINENO: checking for $ac_word" >&5
2229 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2230 if test "${ac_cv_prog_CC+set}" = set; then
2231 echo $ECHO_N "(cached) $ECHO_C" >&6
2233 if test -n "$CC"; then
2234 ac_cv_prog_CC="$CC" # Let the user override the test.
2236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2240 test -z "$as_dir" && as_dir=.
2241 for ac_exec_ext in '' $ac_executable_extensions; do
2242 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2243 ac_cv_prog_CC="${ac_tool_prefix}cc"
2244 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2253 if test -n "$CC"; then
2254 echo "$as_me:$LINENO: result: $CC" >&5
2255 echo "${ECHO_T}$CC" >&6
2257 echo "$as_me:$LINENO: result: no" >&5
2258 echo "${ECHO_T}no" >&6
2262 if test -z "$ac_cv_prog_CC"; then
2264 # Extract the first word of "cc", so it can be a program name with args.
2265 set dummy cc; ac_word=$2
2266 echo "$as_me:$LINENO: checking for $ac_word" >&5
2267 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2268 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2269 echo $ECHO_N "(cached) $ECHO_C" >&6
2271 if test -n "$ac_ct_CC"; then
2272 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2278 test -z "$as_dir" && as_dir=.
2279 for ac_exec_ext in '' $ac_executable_extensions; do
2280 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2281 ac_cv_prog_ac_ct_CC="cc"
2282 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2290 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2291 if test -n "$ac_ct_CC"; then
2292 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2293 echo "${ECHO_T}$ac_ct_CC" >&6
2295 echo "$as_me:$LINENO: result: no" >&5
2296 echo "${ECHO_T}no" >&6
2305 if test -z "$CC"; then
2306 # Extract the first word of "cc", so it can be a program name with args.
2307 set dummy cc; ac_word=$2
2308 echo "$as_me:$LINENO: checking for $ac_word" >&5
2309 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2310 if test "${ac_cv_prog_CC+set}" = set; then
2311 echo $ECHO_N "(cached) $ECHO_C" >&6
2313 if test -n "$CC"; then
2314 ac_cv_prog_CC="$CC" # Let the user override the test.
2317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2321 test -z "$as_dir" && as_dir=.
2322 for ac_exec_ext in '' $ac_executable_extensions; do
2323 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2324 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2325 ac_prog_rejected=yes
2329 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2335 if test $ac_prog_rejected = yes; then
2336 # We found a bogon in the path, so make sure we never use it.
2337 set dummy $ac_cv_prog_CC
2339 if test $# != 0; then
2340 # We chose a different compiler from the bogus one.
2341 # However, it has the same basename, so the bogon will be chosen
2342 # first if we set CC to just the basename; use the full file name.
2344 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2350 if test -n "$CC"; then
2351 echo "$as_me:$LINENO: result: $CC" >&5
2352 echo "${ECHO_T}$CC" >&6
2354 echo "$as_me:$LINENO: result: no" >&5
2355 echo "${ECHO_T}no" >&6
2359 if test -z "$CC"; then
2360 if test -n "$ac_tool_prefix"; then
2363 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2364 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2365 echo "$as_me:$LINENO: checking for $ac_word" >&5
2366 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2367 if test "${ac_cv_prog_CC+set}" = set; then
2368 echo $ECHO_N "(cached) $ECHO_C" >&6
2370 if test -n "$CC"; then
2371 ac_cv_prog_CC="$CC" # Let the user override the test.
2373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2377 test -z "$as_dir" && as_dir=.
2378 for ac_exec_ext in '' $ac_executable_extensions; do
2379 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2380 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2381 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2390 if test -n "$CC"; then
2391 echo "$as_me:$LINENO: result: $CC" >&5
2392 echo "${ECHO_T}$CC" >&6
2394 echo "$as_me:$LINENO: result: no" >&5
2395 echo "${ECHO_T}no" >&6
2398 test -n "$CC" && break
2401 if test -z "$CC"; then
2405 # Extract the first word of "$ac_prog", so it can be a program name with args.
2406 set dummy $ac_prog; ac_word=$2
2407 echo "$as_me:$LINENO: checking for $ac_word" >&5
2408 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2409 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2410 echo $ECHO_N "(cached) $ECHO_C" >&6
2412 if test -n "$ac_ct_CC"; then
2413 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2419 test -z "$as_dir" && as_dir=.
2420 for ac_exec_ext in '' $ac_executable_extensions; do
2421 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2422 ac_cv_prog_ac_ct_CC="$ac_prog"
2423 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2431 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2432 if test -n "$ac_ct_CC"; then
2433 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2434 echo "${ECHO_T}$ac_ct_CC" >&6
2436 echo "$as_me:$LINENO: result: no" >&5
2437 echo "${ECHO_T}no" >&6
2440 test -n "$ac_ct_CC" && break
2449 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2450 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2451 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2452 See \`config.log' for more details." >&5
2453 echo "$as_me: error: no acceptable C compiler found in \$PATH
2454 See \`config.log' for more details." >&2;}
2455 { (exit 1); exit 1; }; }; }
2457 # Provide some information about the compiler.
2458 echo "$as_me:$LINENO:" \
2459 "checking for C compiler version" >&5
2460 ac_compiler=`set X $ac_compile; echo $2`
2461 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2462 (eval $ac_compiler --version </dev/null >&5) 2>&5
2464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2465 (exit $ac_status); }
2466 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2467 (eval $ac_compiler -v </dev/null >&5) 2>&5
2469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2470 (exit $ac_status); }
2471 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2472 (eval $ac_compiler -V </dev/null >&5) 2>&5
2474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2475 (exit $ac_status); }
2477 cat >conftest.$ac_ext <<_ACEOF
2480 cat confdefs.h >>conftest.$ac_ext
2481 cat >>conftest.$ac_ext <<_ACEOF
2482 /* end confdefs.h. */
2493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2494 (eval $ac_link) 2>&5
2496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2497 (exit $ac_status); }; then
2503 if test x$gcc_no_link = xyes; then
2504 # Setting cross_compile will disable run tests; it will
2505 # also disable AC_CHECK_FILE but that's generally
2506 # correct if we can't link.
2510 cat >conftest.$ac_ext <<_ACEOF
2513 cat confdefs.h >>conftest.$ac_ext
2514 cat >>conftest.$ac_ext <<_ACEOF
2515 /* end confdefs.h. */
2525 ac_clean_files_save=$ac_clean_files
2526 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2527 # Try to create an executable without -o first, disregard a.out.
2528 # It will help us diagnose broken compilers, and finding out an intuition
2530 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2531 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2532 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2533 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2534 (eval $ac_link_default) 2>&5
2536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2537 (exit $ac_status); }; then
2538 # Find the output, starting from the most likely. This scheme is
2539 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2542 # Be careful to initialize this variable, since it used to be cached.
2543 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2545 # b.out is created by i960 compilers.
2546 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2548 test -f "$ac_file" || continue
2550 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2553 # This is the source file.
2556 # We found the default executable, but exeext='' is most
2560 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2561 # FIXME: I believe we export ac_cv_exeext for Libtool,
2562 # but it would be cool to find out if it's true. Does anybody
2563 # maintain Libtool? --akim.
2571 echo "$as_me: failed program was:" >&5
2572 sed 's/^/| /' conftest.$ac_ext >&5
2574 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2575 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2576 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2577 See \`config.log' for more details." >&5
2578 echo "$as_me: error: C compiler cannot create executables
2579 See \`config.log' for more details." >&2;}
2580 { (exit 77); exit 77; }; }; }
2583 ac_exeext=$ac_cv_exeext
2584 echo "$as_me:$LINENO: result: $ac_file" >&5
2585 echo "${ECHO_T}$ac_file" >&6
2587 # Check the compiler produces executables we can run. If not, either
2588 # the compiler is broken, or we cross compile.
2589 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2590 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2591 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2592 # If not cross compiling, check that we can run a simple program.
2593 if test "$cross_compiling" != yes; then
2594 if { ac_try='./$ac_file'
2595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2599 (exit $ac_status); }; }; then
2602 if test "$cross_compiling" = maybe; then
2605 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2606 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2607 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2608 If you meant to cross compile, use \`--host'.
2609 See \`config.log' for more details." >&5
2610 echo "$as_me: error: cannot run C compiled programs.
2611 If you meant to cross compile, use \`--host'.
2612 See \`config.log' for more details." >&2;}
2613 { (exit 1); exit 1; }; }; }
2617 echo "$as_me:$LINENO: result: yes" >&5
2618 echo "${ECHO_T}yes" >&6
2620 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2621 ac_clean_files=$ac_clean_files_save
2622 # Check the compiler produces executables we can run. If not, either
2623 # the compiler is broken, or we cross compile.
2624 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2625 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2626 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2627 echo "${ECHO_T}$cross_compiling" >&6
2629 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2630 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2632 (eval $ac_link) 2>&5
2634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2635 (exit $ac_status); }; then
2636 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2637 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2638 # work properly (i.e., refer to `conftest.exe'), while it won't with
2640 for ac_file in conftest.exe conftest conftest.*; do
2641 test -f "$ac_file" || continue
2643 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2644 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2651 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2652 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2653 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2654 See \`config.log' for more details." >&5
2655 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2656 See \`config.log' for more details." >&2;}
2657 { (exit 1); exit 1; }; }; }
2660 rm -f conftest$ac_cv_exeext
2661 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2662 echo "${ECHO_T}$ac_cv_exeext" >&6
2664 rm -f conftest.$ac_ext
2665 EXEEXT=$ac_cv_exeext
2668 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2669 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2670 if test "${ac_cv_objext+set}" = set; then
2671 echo $ECHO_N "(cached) $ECHO_C" >&6
2673 cat >conftest.$ac_ext <<_ACEOF
2676 cat confdefs.h >>conftest.$ac_ext
2677 cat >>conftest.$ac_ext <<_ACEOF
2678 /* end confdefs.h. */
2688 rm -f conftest.o conftest.obj
2689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2690 (eval $ac_compile) 2>&5
2692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2693 (exit $ac_status); }; then
2694 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2696 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2697 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2702 echo "$as_me: failed program was:" >&5
2703 sed 's/^/| /' conftest.$ac_ext >&5
2705 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2706 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2707 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2708 See \`config.log' for more details." >&5
2709 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2710 See \`config.log' for more details." >&2;}
2711 { (exit 1); exit 1; }; }; }
2714 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2716 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2717 echo "${ECHO_T}$ac_cv_objext" >&6
2718 OBJEXT=$ac_cv_objext
2720 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2721 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2722 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2723 echo $ECHO_N "(cached) $ECHO_C" >&6
2725 cat >conftest.$ac_ext <<_ACEOF
2728 cat confdefs.h >>conftest.$ac_ext
2729 cat >>conftest.$ac_ext <<_ACEOF
2730 /* end confdefs.h. */
2743 rm -f conftest.$ac_objext
2744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2745 (eval $ac_compile) 2>conftest.er1
2747 grep -v '^ *+' conftest.er1 >conftest.err
2749 cat conftest.err >&5
2750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2751 (exit $ac_status); } &&
2752 { ac_try='test -z "$ac_c_werror_flag"
2753 || test ! -s conftest.err'
2754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2758 (exit $ac_status); }; } &&
2759 { ac_try='test -s conftest.$ac_objext'
2760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2764 (exit $ac_status); }; }; then
2767 echo "$as_me: failed program was:" >&5
2768 sed 's/^/| /' conftest.$ac_ext >&5
2772 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2773 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2776 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2777 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2778 GCC=`test $ac_compiler_gnu = yes && echo yes`
2779 ac_test_CFLAGS=${CFLAGS+set}
2780 ac_save_CFLAGS=$CFLAGS
2782 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2783 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2784 if test "${ac_cv_prog_cc_g+set}" = set; then
2785 echo $ECHO_N "(cached) $ECHO_C" >&6
2787 cat >conftest.$ac_ext <<_ACEOF
2790 cat confdefs.h >>conftest.$ac_ext
2791 cat >>conftest.$ac_ext <<_ACEOF
2792 /* end confdefs.h. */
2802 rm -f conftest.$ac_objext
2803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2804 (eval $ac_compile) 2>conftest.er1
2806 grep -v '^ *+' conftest.er1 >conftest.err
2808 cat conftest.err >&5
2809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2810 (exit $ac_status); } &&
2811 { ac_try='test -z "$ac_c_werror_flag"
2812 || test ! -s conftest.err'
2813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2817 (exit $ac_status); }; } &&
2818 { ac_try='test -s conftest.$ac_objext'
2819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2823 (exit $ac_status); }; }; then
2826 echo "$as_me: failed program was:" >&5
2827 sed 's/^/| /' conftest.$ac_ext >&5
2831 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2833 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2834 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2835 if test "$ac_test_CFLAGS" = set; then
2836 CFLAGS=$ac_save_CFLAGS
2837 elif test $ac_cv_prog_cc_g = yes; then
2838 if test "$GCC" = yes; then
2844 if test "$GCC" = yes; then
2850 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2851 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2852 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2853 echo $ECHO_N "(cached) $ECHO_C" >&6
2855 ac_cv_prog_cc_stdc=no
2857 cat >conftest.$ac_ext <<_ACEOF
2860 cat confdefs.h >>conftest.$ac_ext
2861 cat >>conftest.$ac_ext <<_ACEOF
2862 /* end confdefs.h. */
2865 #include <sys/types.h>
2866 #include <sys/stat.h>
2867 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2868 struct buf { int x; };
2869 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2870 static char *e (p, i)
2876 static char *f (char * (*g) (char **, int), char **p, ...)
2881 s = g (p, va_arg (v,int));
2886 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2887 function prototypes and stuff, but not '\xHH' hex character constants.
2888 These don't provoke an error unfortunately, instead are silently treated
2889 as 'x'. The following induces an error, until -std1 is added to get
2890 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2891 array size at least. It's necessary to write '\x00'==0 to get something
2892 that's true only with -std1. */
2893 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2895 int test (int i, double x);
2896 struct s1 {int (*f) (int a);};
2897 struct s2 {int (*f) (double a);};
2898 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2904 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2909 # Don't try gcc -ansi; that turns off useful extensions and
2910 # breaks some systems' header files.
2911 # AIX -qlanglvl=ansi
2912 # Ultrix and OSF/1 -std1
2913 # HP-UX 10.20 and later -Ae
2914 # HP-UX older versions -Aa -D_HPUX_SOURCE
2915 # SVR4 -Xc -D__EXTENSIONS__
2916 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2918 CC="$ac_save_CC $ac_arg"
2919 rm -f conftest.$ac_objext
2920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2921 (eval $ac_compile) 2>conftest.er1
2923 grep -v '^ *+' conftest.er1 >conftest.err
2925 cat conftest.err >&5
2926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2927 (exit $ac_status); } &&
2928 { ac_try='test -z "$ac_c_werror_flag"
2929 || test ! -s conftest.err'
2930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2934 (exit $ac_status); }; } &&
2935 { ac_try='test -s conftest.$ac_objext'
2936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2940 (exit $ac_status); }; }; then
2941 ac_cv_prog_cc_stdc=$ac_arg
2944 echo "$as_me: failed program was:" >&5
2945 sed 's/^/| /' conftest.$ac_ext >&5
2948 rm -f conftest.err conftest.$ac_objext
2950 rm -f conftest.$ac_ext conftest.$ac_objext
2955 case "x$ac_cv_prog_cc_stdc" in
2957 echo "$as_me:$LINENO: result: none needed" >&5
2958 echo "${ECHO_T}none needed" >&6 ;;
2960 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2961 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2962 CC="$CC $ac_cv_prog_cc_stdc" ;;
2965 # Some people use a C++ compiler to compile C. Since we use `exit',
2966 # in C++ we need to declare it. In case someone uses the same compiler
2967 # for both compiling C and C++ we need to have the C++ compiler decide
2968 # the declaration of exit, since it's the most demanding environment.
2969 cat >conftest.$ac_ext <<_ACEOF
2974 rm -f conftest.$ac_objext
2975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2976 (eval $ac_compile) 2>conftest.er1
2978 grep -v '^ *+' conftest.er1 >conftest.err
2980 cat conftest.err >&5
2981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2982 (exit $ac_status); } &&
2983 { ac_try='test -z "$ac_c_werror_flag"
2984 || test ! -s conftest.err'
2985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2989 (exit $ac_status); }; } &&
2990 { ac_try='test -s conftest.$ac_objext'
2991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2995 (exit $ac_status); }; }; then
2996 for ac_declaration in \
2998 'extern "C" void std::exit (int) throw (); using std::exit;' \
2999 'extern "C" void std::exit (int); using std::exit;' \
3000 'extern "C" void exit (int) throw ();' \
3001 'extern "C" void exit (int);' \
3004 cat >conftest.$ac_ext <<_ACEOF
3007 cat confdefs.h >>conftest.$ac_ext
3008 cat >>conftest.$ac_ext <<_ACEOF
3009 /* end confdefs.h. */
3020 rm -f conftest.$ac_objext
3021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3022 (eval $ac_compile) 2>conftest.er1
3024 grep -v '^ *+' conftest.er1 >conftest.err
3026 cat conftest.err >&5
3027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3028 (exit $ac_status); } &&
3029 { ac_try='test -z "$ac_c_werror_flag"
3030 || test ! -s conftest.err'
3031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3035 (exit $ac_status); }; } &&
3036 { ac_try='test -s conftest.$ac_objext'
3037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3041 (exit $ac_status); }; }; then
3044 echo "$as_me: failed program was:" >&5
3045 sed 's/^/| /' conftest.$ac_ext >&5
3049 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3050 cat >conftest.$ac_ext <<_ACEOF
3053 cat confdefs.h >>conftest.$ac_ext
3054 cat >>conftest.$ac_ext <<_ACEOF
3055 /* end confdefs.h. */
3065 rm -f conftest.$ac_objext
3066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3067 (eval $ac_compile) 2>conftest.er1
3069 grep -v '^ *+' conftest.er1 >conftest.err
3071 cat conftest.err >&5
3072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3073 (exit $ac_status); } &&
3074 { ac_try='test -z "$ac_c_werror_flag"
3075 || test ! -s conftest.err'
3076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3080 (exit $ac_status); }; } &&
3081 { ac_try='test -s conftest.$ac_objext'
3082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3086 (exit $ac_status); }; }; then
3089 echo "$as_me: failed program was:" >&5
3090 sed 's/^/| /' conftest.$ac_ext >&5
3093 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3096 if test -n "$ac_declaration"; then
3097 echo '#ifdef __cplusplus' >>confdefs.h
3098 echo $ac_declaration >>confdefs.h
3099 echo '#endif' >>confdefs.h
3103 echo "$as_me: failed program was:" >&5
3104 sed 's/^/| /' conftest.$ac_ext >&5
3107 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3109 ac_cpp='$CPP $CPPFLAGS'
3110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3113 DEPDIR="${am__leading_dot}deps"
3115 ac_config_commands="$ac_config_commands depfiles"
3118 am_make=${MAKE-make}
3119 cat > confinc << 'END'
3124 # If we don't find an include directive, just comment out the code.
3125 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3126 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3130 # First try GNU make style include.
3131 echo "include confinc" > confmf
3132 # We grep out `Entering directory' and `Leaving directory'
3133 # messages which can occur if `w' ends up in MAKEFLAGS.
3134 # In particular we don't look at `^make:' because GNU make might
3135 # be invoked under some other name (usually "gmake"), in which
3136 # case it prints its new name instead of `make'.
3137 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3142 # Now try BSD make style include.
3143 if test "$am__include" = "#"; then
3144 echo '.include "confinc"' > confmf
3145 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3146 am__include=.include
3153 echo "$as_me:$LINENO: result: $_am_result" >&5
3154 echo "${ECHO_T}$_am_result" >&6
3155 rm -f confinc confmf
3157 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3158 if test "${enable_dependency_tracking+set}" = set; then
3159 enableval="$enable_dependency_tracking"
3162 if test "x$enable_dependency_tracking" != xno; then
3163 am_depcomp="$ac_aux_dir/depcomp"
3168 if test "x$enable_dependency_tracking" != xno; then
3179 depcc="$CC" am_compiler_list=
3181 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3182 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3183 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3184 echo $ECHO_N "(cached) $ECHO_C" >&6
3186 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3187 # We make a subdir and do the tests there. Otherwise we can end up
3188 # making bogus files that we don't know about and never remove. For
3189 # instance it was reported that on HP-UX the gcc test will end up
3190 # making a dummy file named `D' -- because `-MD' means `put the output
3193 # Copy depcomp to subdir because otherwise we won't find it if we're
3194 # using a relative directory.
3195 cp "$am_depcomp" conftest.dir
3197 # We will build objects and dependencies in a subdirectory because
3198 # it helps to detect inapplicable dependency modes. For instance
3199 # both Tru64's cc and ICC support -MD to output dependencies as a
3200 # side effect of compilation, but ICC will put the dependencies in
3201 # the current directory while Tru64 will put them in the object
3205 am_cv_CC_dependencies_compiler_type=none
3206 if test "$am_compiler_list" = ""; then
3207 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3209 for depmode in $am_compiler_list; do
3210 # Setup a source with many dependencies, because some compilers
3211 # like to wrap large dependency lists on column 80 (with \), and
3212 # we should not choose a depcomp mode which is confused by this.
3214 # We need to recreate these files for each test, as the compiler may
3215 # overwrite some of them when testing with obscure command lines.
3216 # This happens at least with the AIX C compiler.
3218 for i in 1 2 3 4 5 6; do
3219 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3220 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3221 # Solaris 8's {/usr,}/bin/sh.
3222 touch sub/conftst$i.h
3224 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3228 # after this tag, mechanisms are not by side-effect, so they'll
3229 # only be used when explicitly requested
3230 if test "x$enable_dependency_tracking" = xyes; then
3238 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3239 # mode. It turns out that the SunPro C++ compiler does not properly
3240 # handle `-M -o', and we need to detect this.
3241 if depmode=$depmode \
3242 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3243 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3244 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3245 >/dev/null 2>conftest.err &&
3246 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3247 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3248 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3249 # icc doesn't choke on unknown options, it will just issue warnings
3250 # or remarks (even with -Werror). So we grep stderr for any message
3251 # that says an option was ignored or not supported.
3252 # When given -MP, icc 7.0 and 7.1 complain thusly:
3253 # icc: Command line warning: ignoring option '-M'; no argument required
3254 # The diagnosis changed in icc 8.0:
3255 # icc: Command line remark: option '-MP' not supported
3256 if (grep 'ignoring option' conftest.err ||
3257 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3258 am_cv_CC_dependencies_compiler_type=$depmode
3267 am_cv_CC_dependencies_compiler_type=none
3271 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3272 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3273 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3278 test "x$enable_dependency_tracking" != xno \
3279 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3281 am__fastdepCC_FALSE='#'
3283 am__fastdepCC_TRUE='#'
3284 am__fastdepCC_FALSE=
3292 if test "x$GCC" != "xyes"; then
3293 { { echo "$as_me:$LINENO: error: libssp must be built with GCC" >&5
3294 echo "$as_me: error: libssp must be built with GCC" >&2;}
3295 { (exit 1); exit 1; }; }
3298 ac_cpp='$CPP $CPPFLAGS'
3299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3302 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3303 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3304 # On Suns, sometimes $CPP names a directory.
3305 if test -n "$CPP" && test -d "$CPP"; then
3308 if test -z "$CPP"; then
3309 if test "${ac_cv_prog_CPP+set}" = set; then
3310 echo $ECHO_N "(cached) $ECHO_C" >&6
3312 # Double quotes because CPP needs to be expanded
3313 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3316 for ac_c_preproc_warn_flag in '' yes
3318 # Use a header file that comes with gcc, so configuring glibc
3319 # with a fresh cross-compiler works.
3320 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3321 # <limits.h> exists even on freestanding compilers.
3322 # On the NeXT, cc -E runs the code through the compiler's parser,
3323 # not just through cpp. "Syntax error" is here to catch this case.
3324 cat >conftest.$ac_ext <<_ACEOF
3327 cat confdefs.h >>conftest.$ac_ext
3328 cat >>conftest.$ac_ext <<_ACEOF
3329 /* end confdefs.h. */
3331 # include <limits.h>
3333 # include <assert.h>
3337 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3338 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3340 grep -v '^ *+' conftest.er1 >conftest.err
3342 cat conftest.err >&5
3343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3344 (exit $ac_status); } >/dev/null; then
3345 if test -s conftest.err; then
3346 ac_cpp_err=$ac_c_preproc_warn_flag
3347 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3354 if test -z "$ac_cpp_err"; then
3357 echo "$as_me: failed program was:" >&5
3358 sed 's/^/| /' conftest.$ac_ext >&5
3360 # Broken: fails on valid input.
3363 rm -f conftest.err conftest.$ac_ext
3365 # OK, works on sane cases. Now check whether non-existent headers
3366 # can be detected and how.
3367 cat >conftest.$ac_ext <<_ACEOF
3370 cat confdefs.h >>conftest.$ac_ext
3371 cat >>conftest.$ac_ext <<_ACEOF
3372 /* end confdefs.h. */
3373 #include <ac_nonexistent.h>
3375 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3376 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3378 grep -v '^ *+' conftest.er1 >conftest.err
3380 cat conftest.err >&5
3381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3382 (exit $ac_status); } >/dev/null; then
3383 if test -s conftest.err; then
3384 ac_cpp_err=$ac_c_preproc_warn_flag
3385 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3392 if test -z "$ac_cpp_err"; then
3393 # Broken: success on invalid input.
3396 echo "$as_me: failed program was:" >&5
3397 sed 's/^/| /' conftest.$ac_ext >&5
3399 # Passes both tests.
3403 rm -f conftest.err conftest.$ac_ext
3406 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3407 rm -f conftest.err conftest.$ac_ext
3408 if $ac_preproc_ok; then
3420 echo "$as_me:$LINENO: result: $CPP" >&5
3421 echo "${ECHO_T}$CPP" >&6
3423 for ac_c_preproc_warn_flag in '' yes
3425 # Use a header file that comes with gcc, so configuring glibc
3426 # with a fresh cross-compiler works.
3427 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3428 # <limits.h> exists even on freestanding compilers.
3429 # On the NeXT, cc -E runs the code through the compiler's parser,
3430 # not just through cpp. "Syntax error" is here to catch this case.
3431 cat >conftest.$ac_ext <<_ACEOF
3434 cat confdefs.h >>conftest.$ac_ext
3435 cat >>conftest.$ac_ext <<_ACEOF
3436 /* end confdefs.h. */
3438 # include <limits.h>
3440 # include <assert.h>
3444 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3445 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3447 grep -v '^ *+' conftest.er1 >conftest.err
3449 cat conftest.err >&5
3450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3451 (exit $ac_status); } >/dev/null; then
3452 if test -s conftest.err; then
3453 ac_cpp_err=$ac_c_preproc_warn_flag
3454 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3461 if test -z "$ac_cpp_err"; then
3464 echo "$as_me: failed program was:" >&5
3465 sed 's/^/| /' conftest.$ac_ext >&5
3467 # Broken: fails on valid input.
3470 rm -f conftest.err conftest.$ac_ext
3472 # OK, works on sane cases. Now check whether non-existent headers
3473 # can be detected and how.
3474 cat >conftest.$ac_ext <<_ACEOF
3477 cat confdefs.h >>conftest.$ac_ext
3478 cat >>conftest.$ac_ext <<_ACEOF
3479 /* end confdefs.h. */
3480 #include <ac_nonexistent.h>
3482 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3483 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3485 grep -v '^ *+' conftest.er1 >conftest.err
3487 cat conftest.err >&5
3488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3489 (exit $ac_status); } >/dev/null; then
3490 if test -s conftest.err; then
3491 ac_cpp_err=$ac_c_preproc_warn_flag
3492 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3499 if test -z "$ac_cpp_err"; then
3500 # Broken: success on invalid input.
3503 echo "$as_me: failed program was:" >&5
3504 sed 's/^/| /' conftest.$ac_ext >&5
3506 # Passes both tests.
3510 rm -f conftest.err conftest.$ac_ext
3513 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3514 rm -f conftest.err conftest.$ac_ext
3515 if $ac_preproc_ok; then
3518 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3519 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3520 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3521 See \`config.log' for more details." >&5
3522 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3523 See \`config.log' for more details." >&2;}
3524 { (exit 1); exit 1; }; }; }
3528 ac_cpp='$CPP $CPPFLAGS'
3529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3534 echo "$as_me:$LINENO: checking whether -fstack-protector works" >&5
3535 echo $ECHO_N "checking whether -fstack-protector works... $ECHO_C" >&6
3536 save_CFLAGS="$CFLAGS"
3537 CFLAGS="$CFLAGS -fstack-protector -Werror"
3539 cat >conftest.$ac_ext <<_ACEOF
3542 cat confdefs.h >>conftest.$ac_ext
3543 cat >>conftest.$ac_ext <<_ACEOF
3544 /* end confdefs.h. */
3546 void __attribute__((noinline)) bar (char *x)
3548 __builtin_memset (x, 0, 64);
3553 char buf[64]; bar (buf);
3558 rm -f conftest.$ac_objext
3559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3560 (eval $ac_compile) 2>conftest.er1
3562 grep -v '^ *+' conftest.er1 >conftest.err
3564 cat conftest.err >&5
3565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3566 (exit $ac_status); } &&
3567 { ac_try='test -z "$ac_c_werror_flag"
3568 || test ! -s conftest.err'
3569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3573 (exit $ac_status); }; } &&
3574 { ac_try='test -s conftest.$ac_objext'
3575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3579 (exit $ac_status); }; }; then
3580 echo "$as_me:$LINENO: result: yes" >&5
3581 echo "${ECHO_T}yes" >&6
3583 echo "$as_me: failed program was:" >&5
3584 sed 's/^/| /' conftest.$ac_ext >&5
3586 echo "$as_me:$LINENO: result: no" >&5
3587 echo "${ECHO_T}no" >&6
3589 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3590 CFLAGS="$save_CFLAGS"
3592 echo "$as_me:$LINENO: checking whether hidden visibility is supported" >&5
3593 echo $ECHO_N "checking whether hidden visibility is supported... $ECHO_C" >&6
3594 cat >conftest.$ac_ext <<_ACEOF
3597 cat confdefs.h >>conftest.$ac_ext
3598 cat >>conftest.$ac_ext <<_ACEOF
3599 /* end confdefs.h. */
3601 void __attribute__((visibility ("hidden"))) bar (void) {}
3610 rm -f conftest.$ac_objext
3611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3612 (eval $ac_compile) 2>conftest.er1
3614 grep -v '^ *+' conftest.er1 >conftest.err
3616 cat conftest.err >&5
3617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3618 (exit $ac_status); } &&
3619 { ac_try='test -z "$ac_c_werror_flag"
3620 || test ! -s conftest.err'
3621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3625 (exit $ac_status); }; } &&
3626 { ac_try='test -s conftest.$ac_objext'
3627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3631 (exit $ac_status); }; }; then
3634 echo "$as_me: failed program was:" >&5
3635 sed 's/^/| /' conftest.$ac_ext >&5
3639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3640 echo "$as_me:$LINENO: result: $ssp_hidden" >&5
3641 echo "${ECHO_T}$ssp_hidden" >&6
3642 if test x$ssp_hidden = xyes; then
3644 cat >>confdefs.h <<\_ACEOF
3645 #define HAVE_HIDDEN_VISIBILITY 1
3650 echo "$as_me:$LINENO: checking whether symbol versioning is supported" >&5
3651 echo $ECHO_N "checking whether symbol versioning is supported... $ECHO_C" >&6
3652 cat > conftest.map <<EOF
3654 global: *foo*; bar; local: *;
3657 save_LDFLAGS="$LDFLAGS"
3658 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
3659 if test x$gcc_no_link = xyes; then
3660 # If we cannot link, we cannot build shared libraries, so do not use
3661 # symbol versioning.
3664 if test x$gcc_no_link = xyes; then
3665 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
3666 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
3667 { (exit 1); exit 1; }; }
3669 cat >conftest.$ac_ext <<_ACEOF
3672 cat confdefs.h >>conftest.$ac_ext
3673 cat >>conftest.$ac_ext <<_ACEOF
3674 /* end confdefs.h. */
3684 rm -f conftest.$ac_objext conftest$ac_exeext
3685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3686 (eval $ac_link) 2>conftest.er1
3688 grep -v '^ *+' conftest.er1 >conftest.err
3690 cat conftest.err >&5
3691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3692 (exit $ac_status); } &&
3693 { ac_try='test -z "$ac_c_werror_flag"
3694 || test ! -s conftest.err'
3695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3699 (exit $ac_status); }; } &&
3700 { ac_try='test -s conftest$ac_exeext'
3701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3705 (exit $ac_status); }; }; then
3708 echo "$as_me: failed program was:" >&5
3709 sed 's/^/| /' conftest.$ac_ext >&5
3713 rm -f conftest.err conftest.$ac_objext \
3714 conftest$ac_exeext conftest.$ac_ext
3716 LDFLAGS="$save_LDFLAGS"
3717 echo "$as_me:$LINENO: result: $ssp_use_symver" >&5
3718 echo "${ECHO_T}$ssp_use_symver" >&6
3721 if test "x$ssp_use_symver" = xyes; then
3722 LIBSSP_USE_SYMVER_TRUE=
3723 LIBSSP_USE_SYMVER_FALSE='#'
3725 LIBSSP_USE_SYMVER_TRUE='#'
3726 LIBSSP_USE_SYMVER_FALSE=
3731 echo "$as_me:$LINENO: checking for egrep" >&5
3732 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3733 if test "${ac_cv_prog_egrep+set}" = set; then
3734 echo $ECHO_N "(cached) $ECHO_C" >&6
3736 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3737 then ac_cv_prog_egrep='grep -E'
3738 else ac_cv_prog_egrep='egrep'
3741 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3742 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3743 EGREP=$ac_cv_prog_egrep
3746 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3747 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3748 if test "${ac_cv_header_stdc+set}" = set; then
3749 echo $ECHO_N "(cached) $ECHO_C" >&6
3751 cat >conftest.$ac_ext <<_ACEOF
3754 cat confdefs.h >>conftest.$ac_ext
3755 cat >>conftest.$ac_ext <<_ACEOF
3756 /* end confdefs.h. */
3770 rm -f conftest.$ac_objext
3771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3772 (eval $ac_compile) 2>conftest.er1
3774 grep -v '^ *+' conftest.er1 >conftest.err
3776 cat conftest.err >&5
3777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3778 (exit $ac_status); } &&
3779 { ac_try='test -z "$ac_c_werror_flag"
3780 || test ! -s conftest.err'
3781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3785 (exit $ac_status); }; } &&
3786 { ac_try='test -s conftest.$ac_objext'
3787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3791 (exit $ac_status); }; }; then
3792 ac_cv_header_stdc=yes
3794 echo "$as_me: failed program was:" >&5
3795 sed 's/^/| /' conftest.$ac_ext >&5
3797 ac_cv_header_stdc=no
3799 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3801 if test $ac_cv_header_stdc = yes; then
3802 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3803 cat >conftest.$ac_ext <<_ACEOF
3806 cat confdefs.h >>conftest.$ac_ext
3807 cat >>conftest.$ac_ext <<_ACEOF
3808 /* end confdefs.h. */
3812 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3813 $EGREP "memchr" >/dev/null 2>&1; then
3816 ac_cv_header_stdc=no
3822 if test $ac_cv_header_stdc = yes; then
3823 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3824 cat >conftest.$ac_ext <<_ACEOF
3827 cat confdefs.h >>conftest.$ac_ext
3828 cat >>conftest.$ac_ext <<_ACEOF
3829 /* end confdefs.h. */
3833 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3834 $EGREP "free" >/dev/null 2>&1; then
3837 ac_cv_header_stdc=no
3843 if test $ac_cv_header_stdc = yes; then
3844 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3845 if test "$cross_compiling" = yes; then
3848 cat >conftest.$ac_ext <<_ACEOF
3851 cat confdefs.h >>conftest.$ac_ext
3852 cat >>conftest.$ac_ext <<_ACEOF
3853 /* end confdefs.h. */
3855 #if ((' ' & 0x0FF) == 0x020)
3856 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3857 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3859 # define ISLOWER(c) \
3860 (('a' <= (c) && (c) <= 'i') \
3861 || ('j' <= (c) && (c) <= 'r') \
3862 || ('s' <= (c) && (c) <= 'z'))
3863 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3866 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3871 for (i = 0; i < 256; i++)
3872 if (XOR (islower (i), ISLOWER (i))
3873 || toupper (i) != TOUPPER (i))
3878 rm -f conftest$ac_exeext
3879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3880 (eval $ac_link) 2>&5
3882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3883 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3888 (exit $ac_status); }; }; then
3891 echo "$as_me: program exited with status $ac_status" >&5
3892 echo "$as_me: failed program was:" >&5
3893 sed 's/^/| /' conftest.$ac_ext >&5
3896 ac_cv_header_stdc=no
3898 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3902 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3903 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3904 if test $ac_cv_header_stdc = yes; then
3906 cat >>confdefs.h <<\_ACEOF
3907 #define STDC_HEADERS 1
3912 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3922 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3923 inttypes.h stdint.h unistd.h
3925 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3926 echo "$as_me:$LINENO: checking for $ac_header" >&5
3927 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3928 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3929 echo $ECHO_N "(cached) $ECHO_C" >&6
3931 cat >conftest.$ac_ext <<_ACEOF
3934 cat confdefs.h >>conftest.$ac_ext
3935 cat >>conftest.$ac_ext <<_ACEOF
3936 /* end confdefs.h. */
3937 $ac_includes_default
3939 #include <$ac_header>
3941 rm -f conftest.$ac_objext
3942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3943 (eval $ac_compile) 2>conftest.er1
3945 grep -v '^ *+' conftest.er1 >conftest.err
3947 cat conftest.err >&5
3948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3949 (exit $ac_status); } &&
3950 { ac_try='test -z "$ac_c_werror_flag"
3951 || test ! -s conftest.err'
3952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3956 (exit $ac_status); }; } &&
3957 { ac_try='test -s conftest.$ac_objext'
3958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3962 (exit $ac_status); }; }; then
3963 eval "$as_ac_Header=yes"
3965 echo "$as_me: failed program was:" >&5
3966 sed 's/^/| /' conftest.$ac_ext >&5
3968 eval "$as_ac_Header=no"
3970 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3972 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3973 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3974 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3975 cat >>confdefs.h <<_ACEOF
3976 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3992 for ac_header in alloca.h paths.h syslog.h string.h unistd.h fcntl.h stdio.h limits.h
3994 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3995 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3996 echo "$as_me:$LINENO: checking for $ac_header" >&5
3997 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3998 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3999 echo $ECHO_N "(cached) $ECHO_C" >&6
4001 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4002 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4004 # Is the header compilable?
4005 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4006 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4007 cat >conftest.$ac_ext <<_ACEOF
4010 cat confdefs.h >>conftest.$ac_ext
4011 cat >>conftest.$ac_ext <<_ACEOF
4012 /* end confdefs.h. */
4013 $ac_includes_default
4014 #include <$ac_header>
4016 rm -f conftest.$ac_objext
4017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4018 (eval $ac_compile) 2>conftest.er1
4020 grep -v '^ *+' conftest.er1 >conftest.err
4022 cat conftest.err >&5
4023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4024 (exit $ac_status); } &&
4025 { ac_try='test -z "$ac_c_werror_flag"
4026 || test ! -s conftest.err'
4027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4031 (exit $ac_status); }; } &&
4032 { ac_try='test -s conftest.$ac_objext'
4033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4037 (exit $ac_status); }; }; then
4038 ac_header_compiler=yes
4040 echo "$as_me: failed program was:" >&5
4041 sed 's/^/| /' conftest.$ac_ext >&5
4043 ac_header_compiler=no
4045 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4046 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4047 echo "${ECHO_T}$ac_header_compiler" >&6
4049 # Is the header present?
4050 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4051 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4052 cat >conftest.$ac_ext <<_ACEOF
4055 cat confdefs.h >>conftest.$ac_ext
4056 cat >>conftest.$ac_ext <<_ACEOF
4057 /* end confdefs.h. */
4058 #include <$ac_header>
4060 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4061 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4063 grep -v '^ *+' conftest.er1 >conftest.err
4065 cat conftest.err >&5
4066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4067 (exit $ac_status); } >/dev/null; then
4068 if test -s conftest.err; then
4069 ac_cpp_err=$ac_c_preproc_warn_flag
4070 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4077 if test -z "$ac_cpp_err"; then
4078 ac_header_preproc=yes
4080 echo "$as_me: failed program was:" >&5
4081 sed 's/^/| /' conftest.$ac_ext >&5
4083 ac_header_preproc=no
4085 rm -f conftest.err conftest.$ac_ext
4086 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4087 echo "${ECHO_T}$ac_header_preproc" >&6
4089 # So? What about this header?
4090 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4092 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4093 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4094 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4095 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4096 ac_header_preproc=yes
4099 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4100 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4101 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4102 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4103 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4104 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4105 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4106 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4107 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4108 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4109 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4110 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4113 ## --------------------------------- ##
4114 ## Report this to the libssp lists. ##
4115 ## --------------------------------- ##
4118 sed "s/^/$as_me: WARNING: /" >&2
4121 echo "$as_me:$LINENO: checking for $ac_header" >&5
4122 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4123 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4124 echo $ECHO_N "(cached) $ECHO_C" >&6
4126 eval "$as_ac_Header=\$ac_header_preproc"
4128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4129 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4132 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4133 cat >>confdefs.h <<_ACEOF
4134 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4142 if test x$gcc_no_link = xyes; then
4143 # Presume the ISO C functions are available; add target-specific
4144 # configuration here if required.
4145 cat >>confdefs.h <<\_ACEOF
4146 #define HAVE_STRNCPY 1
4149 cat >>confdefs.h <<\_ACEOF
4150 #define HAVE_STRNCAT 1
4157 for ac_func in mempcpy strncpy strncat
4159 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4160 echo "$as_me:$LINENO: checking for $ac_func" >&5
4161 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4162 if eval "test \"\${$as_ac_var+set}\" = set"; then
4163 echo $ECHO_N "(cached) $ECHO_C" >&6
4165 if test x$gcc_no_link = xyes; then
4166 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4167 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4168 { (exit 1); exit 1; }; }
4170 cat >conftest.$ac_ext <<_ACEOF
4173 cat confdefs.h >>conftest.$ac_ext
4174 cat >>conftest.$ac_ext <<_ACEOF
4175 /* end confdefs.h. */
4176 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4177 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4178 #define $ac_func innocuous_$ac_func
4180 /* System header to define __stub macros and hopefully few prototypes,
4181 which can conflict with char $ac_func (); below.
4182 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4183 <limits.h> exists even on freestanding compilers. */
4186 # include <limits.h>
4188 # include <assert.h>
4193 /* Override any gcc2 internal prototype to avoid an error. */
4198 /* We use char because int might match the return type of a gcc2
4199 builtin and then its argument prototype would still apply. */
4201 /* The GNU C library defines this for functions which it implements
4202 to always fail with ENOSYS. Some functions are actually named
4203 something starting with __ and the normal name is an alias. */
4204 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4207 char (*f) () = $ac_func;
4216 return f != $ac_func;
4221 rm -f conftest.$ac_objext conftest$ac_exeext
4222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4223 (eval $ac_link) 2>conftest.er1
4225 grep -v '^ *+' conftest.er1 >conftest.err
4227 cat conftest.err >&5
4228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4229 (exit $ac_status); } &&
4230 { ac_try='test -z "$ac_c_werror_flag"
4231 || test ! -s conftest.err'
4232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4236 (exit $ac_status); }; } &&
4237 { ac_try='test -s conftest$ac_exeext'
4238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4242 (exit $ac_status); }; }; then
4243 eval "$as_ac_var=yes"
4245 echo "$as_me: failed program was:" >&5
4246 sed 's/^/| /' conftest.$ac_ext >&5
4248 eval "$as_ac_var=no"
4250 rm -f conftest.err conftest.$ac_objext \
4251 conftest$ac_exeext conftest.$ac_ext
4253 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4254 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4255 if test `eval echo '${'$as_ac_var'}'` = yes; then
4256 cat >>confdefs.h <<_ACEOF
4257 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4265 echo "$as_me:$LINENO: checking whether vsnprintf is usable" >&5
4266 echo $ECHO_N "checking whether vsnprintf is usable... $ECHO_C" >&6
4267 if test "$cross_compiling" = yes; then
4268 ssp_have_usable_vsnprintf=undef
4270 cat >conftest.$ac_ext <<_ACEOF
4273 cat confdefs.h >>conftest.$ac_ext
4274 cat >>conftest.$ac_ext <<_ACEOF
4275 /* end confdefs.h. */
4280 int foo (char *buf, size_t n, const char *fmt, ...)
4285 ret = vsnprintf (buf, n, fmt, ap);
4292 char buf[8]; memset (buf, 'A', sizeof (buf));
4293 if (foo (buf, 4, ".%s.", "CDEFG") != 7)
4295 return memcmp (buf, ".CD\0AAAA", sizeof (buf)) != 0;
4300 rm -f conftest$ac_exeext
4301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4302 (eval $ac_link) 2>&5
4304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4305 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4310 (exit $ac_status); }; }; then
4311 ssp_have_usable_vsnprintf=define
4313 echo "$as_me: program exited with status $ac_status" >&5
4314 echo "$as_me: failed program was:" >&5
4315 sed 's/^/| /' conftest.$ac_ext >&5
4318 ssp_have_usable_vsnprintf=undef
4320 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4322 if test "x$ssp_have_usable_vsnprintf" = xdefine; then
4323 echo "$as_me:$LINENO: result: yes" >&5
4324 echo "${ECHO_T}yes" >&6
4326 cat >>confdefs.h <<\_ACEOF
4327 #define HAVE_USABLE_VSNPRINTF 1
4331 echo "$as_me:$LINENO: result: no" >&5
4332 echo "${ECHO_T}no" >&6
4338 { echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4339 echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4344 macro_version='2.2.6'
4345 macro_revision='1.3012'
4359 ltmain="$ac_aux_dir/ltmain.sh"
4361 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4362 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
4363 if test "${lt_cv_path_SED+set}" = set; then
4364 echo $ECHO_N "(cached) $ECHO_C" >&6
4366 # Loop through the user's path and test for sed and gsed.
4367 # Then use that list of sed's as ones to test for truncation.
4368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4372 test -z "$as_dir" && as_dir=.
4373 for lt_ac_prog in sed gsed; do
4374 for ac_exec_ext in '' $ac_executable_extensions; do
4375 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4376 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4384 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4385 # along with /bin/sed that truncates output.
4386 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4387 test ! -f $lt_ac_sed && continue
4388 cat /dev/null > conftest.in
4390 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
4391 # Check for GNU sed and select it if it is found.
4392 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
4393 lt_cv_path_SED=$lt_ac_sed
4397 cat conftest.in conftest.in >conftest.tmp
4398 mv conftest.tmp conftest.in
4399 cp conftest.in conftest.nl
4401 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
4402 cmp -s conftest.out conftest.nl || break
4403 # 10000 chars as input seems more than enough
4404 test $lt_ac_count -gt 10 && break
4405 lt_ac_count=`expr $lt_ac_count + 1`
4406 if test $lt_ac_count -gt $lt_ac_max; then
4407 lt_ac_max=$lt_ac_count
4408 lt_cv_path_SED=$lt_ac_sed
4417 echo "$as_me:$LINENO: result: $SED" >&5
4418 echo "${ECHO_T}$SED" >&6
4420 test -z "$SED" && SED=sed
4421 Xsed="$SED -e 1s/^X//"
4433 echo "$as_me:$LINENO: checking for fgrep" >&5
4434 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
4435 if test "${ac_cv_prog_fgrep+set}" = set; then
4436 echo $ECHO_N "(cached) $ECHO_C" >&6
4438 if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1
4439 then ac_cv_prog_fgrep='grep -F'
4440 else ac_cv_prog_fgrep='fgrep'
4443 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
4444 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
4445 FGREP=$ac_cv_prog_fgrep
4448 test -z "$GREP" && GREP=grep
4468 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4469 if test "${with_gnu_ld+set}" = set; then
4470 withval="$with_gnu_ld"
4471 test "$withval" = no || with_gnu_ld=yes
4476 if test "$GCC" = yes; then
4477 # Check if gcc -print-prog-name=ld gives a path.
4478 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4479 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4482 # gcc leaves a trailing carriage return which upsets mingw
4483 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4485 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4488 # Accept absolute paths.
4490 re_direlt='/[^/][^/]*/\.\./'
4491 # Canonicalize the pathname of ld
4492 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4493 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4494 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4496 test -z "$LD" && LD="$ac_prog"
4499 # If it fails, then pretend we aren't using GCC.
4503 # If it is relative, then search for the first ld in PATH.
4507 elif test "$with_gnu_ld" = yes; then
4508 echo "$as_me:$LINENO: checking for GNU ld" >&5
4509 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4511 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4512 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4514 if test "${lt_cv_path_LD+set}" = set; then
4515 echo $ECHO_N "(cached) $ECHO_C" >&6
4517 if test -z "$LD"; then
4518 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4519 for ac_dir in $PATH; do
4521 test -z "$ac_dir" && ac_dir=.
4522 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4523 lt_cv_path_LD="$ac_dir/$ac_prog"
4524 # Check to see if the program is GNU ld. I'd rather use --version,
4525 # but apparently some variants of GNU ld only accept -v.
4526 # Break only if it was the GNU/non-GNU ld that we prefer.
4527 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4528 *GNU* | *'with BFD'*)
4529 test "$with_gnu_ld" != no && break
4532 test "$with_gnu_ld" != yes && break
4539 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4544 if test -n "$LD"; then
4545 echo "$as_me:$LINENO: result: $LD" >&5
4546 echo "${ECHO_T}$LD" >&6
4548 echo "$as_me:$LINENO: result: no" >&5
4549 echo "${ECHO_T}no" >&6
4551 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4552 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4553 { (exit 1); exit 1; }; }
4554 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4555 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4556 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4557 echo $ECHO_N "(cached) $ECHO_C" >&6
4559 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4560 case `$LD -v 2>&1 </dev/null` in
4561 *GNU* | *'with BFD'*)
4562 lt_cv_prog_gnu_ld=yes
4565 lt_cv_prog_gnu_ld=no
4569 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4570 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4571 with_gnu_ld=$lt_cv_prog_gnu_ld
4581 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4582 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
4583 if test "${lt_cv_path_NM+set}" = set; then
4584 echo $ECHO_N "(cached) $ECHO_C" >&6
4586 if test -n "$NM"; then
4587 # Let the user override the test.
4590 lt_nm_to_check="${ac_tool_prefix}nm"
4591 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4592 lt_nm_to_check="$lt_nm_to_check nm"
4594 for lt_tmp_nm in $lt_nm_to_check; do
4595 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4596 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4598 test -z "$ac_dir" && ac_dir=.
4599 tmp_nm="$ac_dir/$lt_tmp_nm"
4600 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4601 # Check to see if the nm accepts a BSD-compat flag.
4602 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4603 # nm: unknown option "B" ignored
4604 # Tru64's nm complains that /dev/null is an invalid object file
4605 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4606 */dev/null* | *'Invalid file or object type'*)
4607 lt_cv_path_NM="$tmp_nm -B"
4611 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4613 lt_cv_path_NM="$tmp_nm -p"
4617 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4618 continue # so that we can try to find one that supports BSD flags
4627 : ${lt_cv_path_NM=no}
4630 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4631 echo "${ECHO_T}$lt_cv_path_NM" >&6
4632 if test "$lt_cv_path_NM" != "no"; then
4635 # Didn't find any BSD compatible name lister, look for dumpbin.
4636 if test -n "$ac_tool_prefix"; then
4637 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4639 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4640 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4641 echo "$as_me:$LINENO: checking for $ac_word" >&5
4642 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4643 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4644 echo $ECHO_N "(cached) $ECHO_C" >&6
4646 if test -n "$DUMPBIN"; then
4647 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4653 test -z "$as_dir" && as_dir=.
4654 for ac_exec_ext in '' $ac_executable_extensions; do
4655 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4656 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4657 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4665 DUMPBIN=$ac_cv_prog_DUMPBIN
4666 if test -n "$DUMPBIN"; then
4667 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4668 echo "${ECHO_T}$DUMPBIN" >&6
4670 echo "$as_me:$LINENO: result: no" >&5
4671 echo "${ECHO_T}no" >&6
4674 test -n "$DUMPBIN" && break
4677 if test -z "$DUMPBIN"; then
4678 ac_ct_DUMPBIN=$DUMPBIN
4679 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4681 # Extract the first word of "$ac_prog", so it can be a program name with args.
4682 set dummy $ac_prog; ac_word=$2
4683 echo "$as_me:$LINENO: checking for $ac_word" >&5
4684 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4685 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4686 echo $ECHO_N "(cached) $ECHO_C" >&6
4688 if test -n "$ac_ct_DUMPBIN"; then
4689 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4695 test -z "$as_dir" && as_dir=.
4696 for ac_exec_ext in '' $ac_executable_extensions; do
4697 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4698 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4699 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4707 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4708 if test -n "$ac_ct_DUMPBIN"; then
4709 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4710 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
4712 echo "$as_me:$LINENO: result: no" >&5
4713 echo "${ECHO_T}no" >&6
4716 test -n "$ac_ct_DUMPBIN" && break
4718 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN=":"
4720 DUMPBIN=$ac_ct_DUMPBIN
4724 if test "$DUMPBIN" != ":"; then
4728 test -z "$NM" && NM=nm
4735 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4736 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
4737 if test "${lt_cv_nm_interface+set}" = set; then
4738 echo $ECHO_N "(cached) $ECHO_C" >&6
4740 lt_cv_nm_interface="BSD nm"
4741 echo "int some_variable = 0;" > conftest.$ac_ext
4742 (eval echo "\"\$as_me:4742: $ac_compile\"" >&5)
4743 (eval "$ac_compile" 2>conftest.err)
4744 cat conftest.err >&5
4745 (eval echo "\"\$as_me:4745: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4746 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4747 cat conftest.err >&5
4748 (eval echo "\"\$as_me:4748: output\"" >&5)
4749 cat conftest.out >&5
4750 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4751 lt_cv_nm_interface="MS dumpbin"
4755 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4756 echo "${ECHO_T}$lt_cv_nm_interface" >&6
4758 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4759 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4761 if test "$LN_S" = "ln -s"; then
4762 echo "$as_me:$LINENO: result: yes" >&5
4763 echo "${ECHO_T}yes" >&6
4765 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4766 echo "${ECHO_T}no, using $LN_S" >&6
4769 # find the maximum length of command line arguments
4770 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4771 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4772 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4773 echo $ECHO_N "(cached) $ECHO_C" >&6
4780 # On DJGPP, this test can blow up pretty badly due to problems in libc
4781 # (any single argument exceeding 2000 bytes causes a buffer overrun
4782 # during glob expansion). Even if it were fixed, the result of this
4783 # check would be larger than it should be.
4784 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4788 # Under GNU Hurd, this test is not required because there is
4789 # no limit to the length of command line arguments.
4790 # Libtool will interpret -1 as no limit whatsoever
4791 lt_cv_sys_max_cmd_len=-1;
4794 cygwin* | mingw* | cegcc*)
4795 # On Win9x/ME, this test blows up -- it succeeds, but takes
4796 # about 5 minutes as the teststring grows exponentially.
4797 # Worse, since 9x/ME are not pre-emptively multitasking,
4798 # you end up with a "frozen" computer, even though with patience
4799 # the test eventually succeeds (with a max line length of 256k).
4800 # Instead, let's just punt: use the minimum linelength reported by
4801 # all of the supported platforms: 8192 (on NT/2K/XP).
4802 lt_cv_sys_max_cmd_len=8192;
4806 # On AmigaOS with pdksh, this test takes hours, literally.
4807 # So we just punt and use a minimum line length of 8192.
4808 lt_cv_sys_max_cmd_len=8192;
4811 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4812 # This has been around since 386BSD, at least. Likely further.
4813 if test -x /sbin/sysctl; then
4814 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4815 elif test -x /usr/sbin/sysctl; then
4816 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4818 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4820 # And add a safety zone
4821 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4822 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4826 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4827 lt_cv_sys_max_cmd_len=196608
4831 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4832 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4833 # nice to cause kernel panics so lets avoid the loop below.
4834 # First set a reasonable default.
4835 lt_cv_sys_max_cmd_len=16384
4837 if test -x /sbin/sysconfig; then
4838 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4839 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4844 lt_cv_sys_max_cmd_len=102400
4846 sysv5* | sco5v6* | sysv4.2uw2*)
4847 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4848 if test -n "$kargmax"; then
4849 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4851 lt_cv_sys_max_cmd_len=32768
4855 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4856 if test -n "$lt_cv_sys_max_cmd_len"; then
4857 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4858 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4860 # Make teststring a little bigger before we do anything with it.
4861 # a 1K string should be a reasonable start.
4862 for i in 1 2 3 4 5 6 7 8 ; do
4863 teststring=$teststring$teststring
4865 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4866 # If test is not a shell built-in, we'll probably end up computing a
4867 # maximum length that is only half of the actual maximum length, but
4869 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4870 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4871 test $i != 17 # 1/2 MB should be enough
4874 teststring=$teststring$teststring
4876 # Only check the string length outside the loop.
4877 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4879 # Add a significant safety factor because C++ compilers can tack on
4880 # massive amounts of additional arguments before passing them to the
4881 # linker. It appears as though 1/2 is a usable value.
4882 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4889 if test -n $lt_cv_sys_max_cmd_len ; then
4890 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4891 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4893 echo "$as_me:$LINENO: result: none" >&5
4894 echo "${ECHO_T}none" >&6
4896 max_cmd_len=$lt_cv_sys_max_cmd_len
4907 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4908 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
4909 # Try some XSI features
4912 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4914 && eval 'test $(( 1 + 1 )) -eq 2 \
4915 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4917 echo "$as_me:$LINENO: result: $xsi_shell" >&5
4918 echo "${ECHO_T}$xsi_shell" >&6
4921 echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
4922 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6
4924 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4926 && lt_shell_append=yes
4927 echo "$as_me:$LINENO: result: $lt_shell_append" >&5
4928 echo "${ECHO_T}$lt_shell_append" >&6
4931 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4941 # test EBCDIC or ASCII
4942 case `echo X|tr X '\101'` in
4943 A) # ASCII based system
4944 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4945 lt_SP2NL='tr \040 \012'
4946 lt_NL2SP='tr \015\012 \040\040'
4948 *) # EBCDIC based system
4949 lt_SP2NL='tr \100 \n'
4950 lt_NL2SP='tr \r\n \100\100'
4962 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4963 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4964 if test "${lt_cv_ld_reload_flag+set}" = set; then
4965 echo $ECHO_N "(cached) $ECHO_C" >&6
4967 lt_cv_ld_reload_flag='-r'
4969 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4970 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4971 reload_flag=$lt_cv_ld_reload_flag
4972 case $reload_flag in
4974 *) reload_flag=" $reload_flag" ;;
4976 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4979 if test "$GCC" = yes; then
4980 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4982 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4995 if test -n "$ac_tool_prefix"; then
4996 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4997 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4998 echo "$as_me:$LINENO: checking for $ac_word" >&5
4999 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5000 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
5001 echo $ECHO_N "(cached) $ECHO_C" >&6
5003 if test -n "$OBJDUMP"; then
5004 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5010 test -z "$as_dir" && as_dir=.
5011 for ac_exec_ext in '' $ac_executable_extensions; do
5012 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5013 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5014 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5022 OBJDUMP=$ac_cv_prog_OBJDUMP
5023 if test -n "$OBJDUMP"; then
5024 echo "$as_me:$LINENO: result: $OBJDUMP" >&5
5025 echo "${ECHO_T}$OBJDUMP" >&6
5027 echo "$as_me:$LINENO: result: no" >&5
5028 echo "${ECHO_T}no" >&6
5032 if test -z "$ac_cv_prog_OBJDUMP"; then
5033 ac_ct_OBJDUMP=$OBJDUMP
5034 # Extract the first word of "objdump", so it can be a program name with args.
5035 set dummy objdump; ac_word=$2
5036 echo "$as_me:$LINENO: checking for $ac_word" >&5
5037 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5038 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
5039 echo $ECHO_N "(cached) $ECHO_C" >&6
5041 if test -n "$ac_ct_OBJDUMP"; then
5042 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5048 test -z "$as_dir" && as_dir=.
5049 for ac_exec_ext in '' $ac_executable_extensions; do
5050 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5051 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5052 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5058 test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false"
5061 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5062 if test -n "$ac_ct_OBJDUMP"; then
5063 echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
5064 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
5066 echo "$as_me:$LINENO: result: no" >&5
5067 echo "${ECHO_T}no" >&6
5070 OBJDUMP=$ac_ct_OBJDUMP
5072 OBJDUMP="$ac_cv_prog_OBJDUMP"
5075 test -z "$OBJDUMP" && OBJDUMP=objdump
5085 echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
5086 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6
5087 if test "${lt_cv_deplibs_check_method+set}" = set; then
5088 echo $ECHO_N "(cached) $ECHO_C" >&6
5090 lt_cv_file_magic_cmd='$MAGIC_CMD'
5091 lt_cv_file_magic_test_file=
5092 lt_cv_deplibs_check_method='unknown'
5093 # Need to set the preceding variable on all platforms that support
5094 # interlibrary dependencies.
5095 # 'none' -- dependencies not supported.
5096 # `unknown' -- same as none, but documents that we really don't know.
5097 # 'pass_all' -- all dependencies passed with no checks.
5098 # 'test_compile' -- check by making test program.
5099 # 'file_magic [[regex]]' -- check by looking for files in library path
5100 # which responds to the $file_magic_cmd with a given extended regex.
5101 # If you have `file' or equivalent on your system and you're not sure
5102 # whether `pass_all' will *always* work, you probably want this one.
5106 lt_cv_deplibs_check_method=pass_all
5110 lt_cv_deplibs_check_method=pass_all
5114 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5115 lt_cv_file_magic_cmd='/usr/bin/file -L'
5116 lt_cv_file_magic_test_file=/shlib/libc.so
5120 # func_win32_libid is a shell function defined in ltmain.sh
5121 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5122 lt_cv_file_magic_cmd='func_win32_libid'
5126 # Base MSYS/MinGW do not provide the 'file' command needed by
5127 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5128 # unless we find 'file', for example because we are cross-compiling.
5129 if ( file / ) >/dev/null 2>&1; then
5130 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5131 lt_cv_file_magic_cmd='func_win32_libid'
5133 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5134 lt_cv_file_magic_cmd='$OBJDUMP -f'
5139 # use the weaker test based on 'objdump'. See mingw*.
5140 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5141 lt_cv_file_magic_cmd='$OBJDUMP -f'
5144 darwin* | rhapsody*)
5145 lt_cv_deplibs_check_method=pass_all
5148 freebsd* | dragonfly*)
5149 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5152 # Not sure whether the presence of OpenBSD here was a mistake.
5153 # Let's accept both of them until this is cleared up.
5154 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5155 lt_cv_file_magic_cmd=/usr/bin/file
5156 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5160 lt_cv_deplibs_check_method=pass_all
5165 lt_cv_deplibs_check_method=pass_all
5168 hpux10.20* | hpux11*)
5169 lt_cv_file_magic_cmd=/usr/bin/file
5172 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5173 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5176 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]'
5177 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5180 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5181 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5187 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5188 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5191 irix5* | irix6* | nonstopux*)
5193 *-32|*"-32 ") libmagic=32-bit;;
5194 *-n32|*"-n32 ") libmagic=N32;;
5195 *-64|*"-64 ") libmagic=64-bit;;
5196 *) libmagic=never-match;;
5198 lt_cv_deplibs_check_method=pass_all
5201 # This must be Linux ELF.
5202 linux* | k*bsd*-gnu)
5203 lt_cv_deplibs_check_method=pass_all
5207 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5208 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5210 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5215 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5216 lt_cv_file_magic_cmd=/usr/bin/file
5217 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5221 lt_cv_deplibs_check_method=pass_all
5225 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5226 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5228 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5232 osf3* | osf4* | osf5*)
5233 lt_cv_deplibs_check_method=pass_all
5237 lt_cv_deplibs_check_method=pass_all
5241 lt_cv_deplibs_check_method=pass_all
5244 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5245 lt_cv_deplibs_check_method=pass_all
5249 case $host_vendor in
5251 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]'
5252 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5255 lt_cv_deplibs_check_method=pass_all
5258 lt_cv_file_magic_cmd='/bin/file'
5259 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5262 lt_cv_file_magic_cmd='/bin/file'
5263 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5264 lt_cv_file_magic_test_file=/lib/libc.so
5267 lt_cv_deplibs_check_method=pass_all
5270 lt_cv_deplibs_check_method=pass_all
5276 lt_cv_deplibs_check_method=pass_all
5281 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5282 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5283 file_magic_cmd=$lt_cv_file_magic_cmd
5284 deplibs_check_method=$lt_cv_deplibs_check_method
5285 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5298 if test -n "$ac_tool_prefix"; then
5299 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5300 set dummy ${ac_tool_prefix}ar; ac_word=$2
5301 echo "$as_me:$LINENO: checking for $ac_word" >&5
5302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5303 if test "${ac_cv_prog_AR+set}" = set; then
5304 echo $ECHO_N "(cached) $ECHO_C" >&6
5306 if test -n "$AR"; then
5307 ac_cv_prog_AR="$AR" # Let the user override the test.
5309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5313 test -z "$as_dir" && as_dir=.
5314 for ac_exec_ext in '' $ac_executable_extensions; do
5315 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5316 ac_cv_prog_AR="${ac_tool_prefix}ar"
5317 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5326 if test -n "$AR"; then
5327 echo "$as_me:$LINENO: result: $AR" >&5
5328 echo "${ECHO_T}$AR" >&6
5330 echo "$as_me:$LINENO: result: no" >&5
5331 echo "${ECHO_T}no" >&6
5335 if test -z "$ac_cv_prog_AR"; then
5337 # Extract the first word of "ar", so it can be a program name with args.
5338 set dummy ar; ac_word=$2
5339 echo "$as_me:$LINENO: checking for $ac_word" >&5
5340 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5341 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5342 echo $ECHO_N "(cached) $ECHO_C" >&6
5344 if test -n "$ac_ct_AR"; then
5345 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5351 test -z "$as_dir" && as_dir=.
5352 for ac_exec_ext in '' $ac_executable_extensions; do
5353 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5354 ac_cv_prog_ac_ct_AR="ar"
5355 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5361 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5364 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5365 if test -n "$ac_ct_AR"; then
5366 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5367 echo "${ECHO_T}$ac_ct_AR" >&6
5369 echo "$as_me:$LINENO: result: no" >&5
5370 echo "${ECHO_T}no" >&6
5378 test -z "$AR" && AR=ar
5379 test -z "$AR_FLAGS" && AR_FLAGS=cru
5391 if test -n "$ac_tool_prefix"; then
5392 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5393 set dummy ${ac_tool_prefix}strip; ac_word=$2
5394 echo "$as_me:$LINENO: checking for $ac_word" >&5
5395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5396 if test "${ac_cv_prog_STRIP+set}" = set; then
5397 echo $ECHO_N "(cached) $ECHO_C" >&6
5399 if test -n "$STRIP"; then
5400 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5406 test -z "$as_dir" && as_dir=.
5407 for ac_exec_ext in '' $ac_executable_extensions; do
5408 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5409 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5418 STRIP=$ac_cv_prog_STRIP
5419 if test -n "$STRIP"; then
5420 echo "$as_me:$LINENO: result: $STRIP" >&5
5421 echo "${ECHO_T}$STRIP" >&6
5423 echo "$as_me:$LINENO: result: no" >&5
5424 echo "${ECHO_T}no" >&6
5428 if test -z "$ac_cv_prog_STRIP"; then
5430 # Extract the first word of "strip", so it can be a program name with args.
5431 set dummy strip; ac_word=$2
5432 echo "$as_me:$LINENO: checking for $ac_word" >&5
5433 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5434 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5435 echo $ECHO_N "(cached) $ECHO_C" >&6
5437 if test -n "$ac_ct_STRIP"; then
5438 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5444 test -z "$as_dir" && as_dir=.
5445 for ac_exec_ext in '' $ac_executable_extensions; do
5446 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5447 ac_cv_prog_ac_ct_STRIP="strip"
5448 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5454 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5457 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5458 if test -n "$ac_ct_STRIP"; then
5459 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5460 echo "${ECHO_T}$ac_ct_STRIP" >&6
5462 echo "$as_me:$LINENO: result: no" >&5
5463 echo "${ECHO_T}no" >&6
5468 STRIP="$ac_cv_prog_STRIP"
5471 test -z "$STRIP" && STRIP=:
5478 if test -n "$ac_tool_prefix"; then
5479 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5480 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5481 echo "$as_me:$LINENO: checking for $ac_word" >&5
5482 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5483 if test "${ac_cv_prog_RANLIB+set}" = set; then
5484 echo $ECHO_N "(cached) $ECHO_C" >&6
5486 if test -n "$RANLIB"; then
5487 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5493 test -z "$as_dir" && as_dir=.
5494 for ac_exec_ext in '' $ac_executable_extensions; do
5495 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5496 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5497 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5505 RANLIB=$ac_cv_prog_RANLIB
5506 if test -n "$RANLIB"; then
5507 echo "$as_me:$LINENO: result: $RANLIB" >&5
5508 echo "${ECHO_T}$RANLIB" >&6
5510 echo "$as_me:$LINENO: result: no" >&5
5511 echo "${ECHO_T}no" >&6
5515 if test -z "$ac_cv_prog_RANLIB"; then
5516 ac_ct_RANLIB=$RANLIB
5517 # Extract the first word of "ranlib", so it can be a program name with args.
5518 set dummy ranlib; ac_word=$2
5519 echo "$as_me:$LINENO: checking for $ac_word" >&5
5520 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5521 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5522 echo $ECHO_N "(cached) $ECHO_C" >&6
5524 if test -n "$ac_ct_RANLIB"; then
5525 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5531 test -z "$as_dir" && as_dir=.
5532 for ac_exec_ext in '' $ac_executable_extensions; do
5533 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5534 ac_cv_prog_ac_ct_RANLIB="ranlib"
5535 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5541 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5544 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5545 if test -n "$ac_ct_RANLIB"; then
5546 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5547 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5549 echo "$as_me:$LINENO: result: no" >&5
5550 echo "${ECHO_T}no" >&6
5553 RANLIB=$ac_ct_RANLIB
5555 RANLIB="$ac_cv_prog_RANLIB"
5558 test -z "$RANLIB" && RANLIB=:
5565 # Determine commands to create old-style static archives.
5566 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5567 old_postinstall_cmds='chmod 644 $oldlib'
5568 old_postuninstall_cmds=
5570 if test -n "$RANLIB"; then
5573 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5576 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5579 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5615 # If no C compiler was specified, use CC.
5618 # If no C compiler flags were specified, use CFLAGS.
5619 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5621 # Allow CC to be a program name with arguments.
5625 # Check for command to grab the raw symbol name followed by C symbol from nm.
5626 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5627 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5628 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5629 echo $ECHO_N "(cached) $ECHO_C" >&6
5632 # These are sane defaults that work on at least a few old systems.
5633 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5635 # Character class describing NM global symbol codes.
5636 symcode='[BCDEGRST]'
5638 # Regexp to match symbols that can be accessed directly from C.
5639 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5641 # Define system-specific variables.
5646 cygwin* | mingw* | pw32* | cegcc*)
5647 symcode='[ABCDGISTW]'
5650 if test "$host_cpu" = ia64; then
5651 symcode='[ABCDEGRST]'
5655 symcode='[BCDEGRST]'
5658 symcode='[BCDEGQRST]'
5669 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5677 # If we're using GNU nm, then use its standard symbol codes.
5678 case `$NM -V 2>&1` in
5679 *GNU* | *'with BFD'*)
5680 symcode='[ABCDGIRSTW]' ;;
5683 # Transform an extracted symbol line into a proper C declaration.
5684 # Some systems (esp. on ia64) link data and code symbols differently,
5685 # so use this general approach.
5686 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5688 # Transform an extracted symbol line into symbol name and symbol address
5689 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5690 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
5692 # Handle CRLF in mingw tool chain
5696 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5700 # Try without a prefix underscore, then with it.
5701 for ac_symprfx in "" "_"; do
5703 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5704 symxfrm="\\1 $ac_symprfx\\2 \\2"
5706 # Write the raw and C identifiers.
5707 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5708 # Fake it for dumpbin and say T for any non-static function
5709 # and D for any global variable.
5710 # Also find C++ and __fastcall symbols from MSVC++,
5711 # which start with @ or ?.
5712 lt_cv_sys_global_symbol_pipe="$AWK '"\
5713 " {last_section=section; section=\$ 3};"\
5714 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5715 " \$ 0!~/External *\|/{next};"\
5716 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5717 " {if(hide[section]) next};"\
5718 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5719 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5720 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5721 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5722 " ' prfx=^$ac_symprfx"
5724 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5727 # Check to see that the pipe works correctly.
5731 cat > conftest.$ac_ext <<_LT_EOF
5736 void nm_test_func(void);
5737 void nm_test_func(void){}
5741 int main(){nm_test_var='a';nm_test_func();return(0);}
5744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5745 (eval $ac_compile) 2>&5
5747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5748 (exit $ac_status); }; then
5749 # Now try to grab the symbols.
5751 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5752 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5755 (exit $ac_status); } && test -s "$nlist"; then
5756 # Try sorting and uniquifying the output.
5757 if sort "$nlist" | uniq > "$nlist"T; then
5758 mv -f "$nlist"T "$nlist"
5763 # Make sure that we snagged all the symbols we need.
5764 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5765 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5766 cat <<_LT_EOF > conftest.$ac_ext
5772 # Now generate the symbol file.
5773 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5775 cat <<_LT_EOF >> conftest.$ac_ext
5777 /* The mapping between symbol names and symbols. */
5782 lt__PROGRAM__LTX_preloaded_symbols[] =
5784 { "@PROGRAM@", (void *) 0 },
5786 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5787 cat <<\_LT_EOF >> conftest.$ac_ext
5791 /* This works around a problem in FreeBSD linker */
5792 #ifdef FREEBSD_WORKAROUND
5793 static const void *lt_preloaded_setup() {
5794 return lt__PROGRAM__LTX_preloaded_symbols;
5802 # Now try linking the two files.
5803 mv conftest.$ac_objext conftstm.$ac_objext
5804 lt_save_LIBS="$LIBS"
5805 lt_save_CFLAGS="$CFLAGS"
5806 LIBS="conftstm.$ac_objext"
5807 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5809 (eval $ac_link) 2>&5
5811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5812 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5815 LIBS="$lt_save_LIBS"
5816 CFLAGS="$lt_save_CFLAGS"
5818 echo "cannot find nm_test_func in $nlist" >&5
5821 echo "cannot find nm_test_var in $nlist" >&5
5824 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5827 echo "$progname: failed program was:" >&5
5828 cat conftest.$ac_ext >&5
5830 rm -rf conftest* conftst*
5832 # Do not use the global_symbol_pipe unless it works.
5833 if test "$pipe_works" = yes; then
5836 lt_cv_sys_global_symbol_pipe=
5842 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5843 lt_cv_sys_global_symbol_to_cdecl=
5845 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5846 echo "$as_me:$LINENO: result: failed" >&5
5847 echo "${ECHO_T}failed" >&6
5849 echo "$as_me:$LINENO: result: ok" >&5
5850 echo "${ECHO_T}ok" >&6
5874 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5875 if test "${enable_libtool_lock+set}" = set; then
5876 enableval="$enable_libtool_lock"
5879 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5881 # Some flags need to be propagated to the compiler or linker for good
5885 # Find out which ABI we are using.
5886 echo 'int i;' > conftest.$ac_ext
5887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5888 (eval $ac_compile) 2>&5
5890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5891 (exit $ac_status); }; then
5892 case `/usr/bin/file conftest.$ac_objext` in
5904 # Find out which ABI we are using.
5905 echo '#line 5905 "configure"' > conftest.$ac_ext
5906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5907 (eval $ac_compile) 2>&5
5909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5910 (exit $ac_status); }; then
5911 if test "$lt_cv_prog_gnu_ld" = yes; then
5912 case `/usr/bin/file conftest.$ac_objext` in
5914 LD="${LD-ld} -melf32bsmip"
5917 LD="${LD-ld} -melf32bmipn32"
5920 LD="${LD-ld} -melf64bmip"
5924 case `/usr/bin/file conftest.$ac_objext` in
5940 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5941 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5942 # Find out which ABI we are using.
5943 echo 'int i;' > conftest.$ac_ext
5944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5945 (eval $ac_compile) 2>&5
5947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5948 (exit $ac_status); }; then
5949 case `/usr/bin/file conftest.o` in
5952 x86_64-*kfreebsd*-gnu)
5953 LD="${LD-ld} -m elf_i386_fbsd"
5956 LD="${LD-ld} -m elf_i386"
5958 ppc64-*linux*|powerpc64-*linux*)
5959 LD="${LD-ld} -m elf32ppclinux"
5962 LD="${LD-ld} -m elf_s390"
5965 LD="${LD-ld} -m elf32_sparc"
5971 x86_64-*kfreebsd*-gnu)
5972 LD="${LD-ld} -m elf_x86_64_fbsd"
5975 LD="${LD-ld} -m elf_x86_64"
5977 ppc*-*linux*|powerpc*-*linux*)
5978 LD="${LD-ld} -m elf64ppc"
5980 s390*-*linux*|s390*-*tpf*)
5981 LD="${LD-ld} -m elf64_s390"
5984 LD="${LD-ld} -m elf64_sparc"
5994 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5995 SAVE_CFLAGS="$CFLAGS"
5996 CFLAGS="$CFLAGS -belf"
5997 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5998 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5999 if test "${lt_cv_cc_needs_belf+set}" = set; then
6000 echo $ECHO_N "(cached) $ECHO_C" >&6
6003 ac_cpp='$CPP $CPPFLAGS'
6004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6008 if test x$gcc_no_link = xyes; then
6009 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6010 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6011 { (exit 1); exit 1; }; }
6013 cat >conftest.$ac_ext <<_ACEOF
6016 cat confdefs.h >>conftest.$ac_ext
6017 cat >>conftest.$ac_ext <<_ACEOF
6018 /* end confdefs.h. */
6028 rm -f conftest.$ac_objext conftest$ac_exeext
6029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6030 (eval $ac_link) 2>conftest.er1
6032 grep -v '^ *+' conftest.er1 >conftest.err
6034 cat conftest.err >&5
6035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6036 (exit $ac_status); } &&
6037 { ac_try='test -z "$ac_c_werror_flag"
6038 || test ! -s conftest.err'
6039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6043 (exit $ac_status); }; } &&
6044 { ac_try='test -s conftest$ac_exeext'
6045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6049 (exit $ac_status); }; }; then
6050 lt_cv_cc_needs_belf=yes
6052 echo "$as_me: failed program was:" >&5
6053 sed 's/^/| /' conftest.$ac_ext >&5
6055 lt_cv_cc_needs_belf=no
6057 rm -f conftest.err conftest.$ac_objext \
6058 conftest$ac_exeext conftest.$ac_ext
6060 ac_cpp='$CPP $CPPFLAGS'
6061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6066 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
6067 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
6068 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6069 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6070 CFLAGS="$SAVE_CFLAGS"
6074 # Find out which ABI we are using.
6075 echo 'int i;' > conftest.$ac_ext
6076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6077 (eval $ac_compile) 2>&5
6079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6080 (exit $ac_status); }; then
6081 case `/usr/bin/file conftest.o` in
6083 case $lt_cv_prog_gnu_ld in
6084 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6086 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6098 need_locks="$enable_libtool_lock"
6102 rhapsody* | darwin*)
6103 if test -n "$ac_tool_prefix"; then
6104 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6105 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6106 echo "$as_me:$LINENO: checking for $ac_word" >&5
6107 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6108 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
6109 echo $ECHO_N "(cached) $ECHO_C" >&6
6111 if test -n "$DSYMUTIL"; then
6112 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6118 test -z "$as_dir" && as_dir=.
6119 for ac_exec_ext in '' $ac_executable_extensions; do
6120 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6121 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6122 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6130 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6131 if test -n "$DSYMUTIL"; then
6132 echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
6133 echo "${ECHO_T}$DSYMUTIL" >&6
6135 echo "$as_me:$LINENO: result: no" >&5
6136 echo "${ECHO_T}no" >&6
6140 if test -z "$ac_cv_prog_DSYMUTIL"; then
6141 ac_ct_DSYMUTIL=$DSYMUTIL
6142 # Extract the first word of "dsymutil", so it can be a program name with args.
6143 set dummy dsymutil; ac_word=$2
6144 echo "$as_me:$LINENO: checking for $ac_word" >&5
6145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6146 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
6147 echo $ECHO_N "(cached) $ECHO_C" >&6
6149 if test -n "$ac_ct_DSYMUTIL"; then
6150 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6156 test -z "$as_dir" && as_dir=.
6157 for ac_exec_ext in '' $ac_executable_extensions; do
6158 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6159 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6160 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6166 test -z "$ac_cv_prog_ac_ct_DSYMUTIL" && ac_cv_prog_ac_ct_DSYMUTIL=":"
6169 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6170 if test -n "$ac_ct_DSYMUTIL"; then
6171 echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
6172 echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6
6174 echo "$as_me:$LINENO: result: no" >&5
6175 echo "${ECHO_T}no" >&6
6178 DSYMUTIL=$ac_ct_DSYMUTIL
6180 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6183 if test -n "$ac_tool_prefix"; then
6184 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6185 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6186 echo "$as_me:$LINENO: checking for $ac_word" >&5
6187 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6188 if test "${ac_cv_prog_NMEDIT+set}" = set; then
6189 echo $ECHO_N "(cached) $ECHO_C" >&6
6191 if test -n "$NMEDIT"; then
6192 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6198 test -z "$as_dir" && as_dir=.
6199 for ac_exec_ext in '' $ac_executable_extensions; do
6200 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6201 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6202 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6210 NMEDIT=$ac_cv_prog_NMEDIT
6211 if test -n "$NMEDIT"; then
6212 echo "$as_me:$LINENO: result: $NMEDIT" >&5
6213 echo "${ECHO_T}$NMEDIT" >&6
6215 echo "$as_me:$LINENO: result: no" >&5
6216 echo "${ECHO_T}no" >&6
6220 if test -z "$ac_cv_prog_NMEDIT"; then
6221 ac_ct_NMEDIT=$NMEDIT
6222 # Extract the first word of "nmedit", so it can be a program name with args.
6223 set dummy nmedit; ac_word=$2
6224 echo "$as_me:$LINENO: checking for $ac_word" >&5
6225 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6226 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
6227 echo $ECHO_N "(cached) $ECHO_C" >&6
6229 if test -n "$ac_ct_NMEDIT"; then
6230 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6236 test -z "$as_dir" && as_dir=.
6237 for ac_exec_ext in '' $ac_executable_extensions; do
6238 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6239 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6240 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6246 test -z "$ac_cv_prog_ac_ct_NMEDIT" && ac_cv_prog_ac_ct_NMEDIT=":"
6249 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6250 if test -n "$ac_ct_NMEDIT"; then
6251 echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
6252 echo "${ECHO_T}$ac_ct_NMEDIT" >&6
6254 echo "$as_me:$LINENO: result: no" >&5
6255 echo "${ECHO_T}no" >&6
6258 NMEDIT=$ac_ct_NMEDIT
6260 NMEDIT="$ac_cv_prog_NMEDIT"
6263 if test -n "$ac_tool_prefix"; then
6264 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6265 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6266 echo "$as_me:$LINENO: checking for $ac_word" >&5
6267 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6268 if test "${ac_cv_prog_LIPO+set}" = set; then
6269 echo $ECHO_N "(cached) $ECHO_C" >&6
6271 if test -n "$LIPO"; then
6272 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6278 test -z "$as_dir" && as_dir=.
6279 for ac_exec_ext in '' $ac_executable_extensions; do
6280 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6281 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6282 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6290 LIPO=$ac_cv_prog_LIPO
6291 if test -n "$LIPO"; then
6292 echo "$as_me:$LINENO: result: $LIPO" >&5
6293 echo "${ECHO_T}$LIPO" >&6
6295 echo "$as_me:$LINENO: result: no" >&5
6296 echo "${ECHO_T}no" >&6
6300 if test -z "$ac_cv_prog_LIPO"; then
6302 # Extract the first word of "lipo", so it can be a program name with args.
6303 set dummy lipo; ac_word=$2
6304 echo "$as_me:$LINENO: checking for $ac_word" >&5
6305 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6306 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
6307 echo $ECHO_N "(cached) $ECHO_C" >&6
6309 if test -n "$ac_ct_LIPO"; then
6310 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6316 test -z "$as_dir" && as_dir=.
6317 for ac_exec_ext in '' $ac_executable_extensions; do
6318 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6319 ac_cv_prog_ac_ct_LIPO="lipo"
6320 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6326 test -z "$ac_cv_prog_ac_ct_LIPO" && ac_cv_prog_ac_ct_LIPO=":"
6329 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6330 if test -n "$ac_ct_LIPO"; then
6331 echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
6332 echo "${ECHO_T}$ac_ct_LIPO" >&6
6334 echo "$as_me:$LINENO: result: no" >&5
6335 echo "${ECHO_T}no" >&6
6340 LIPO="$ac_cv_prog_LIPO"
6343 if test -n "$ac_tool_prefix"; then
6344 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6345 set dummy ${ac_tool_prefix}otool; ac_word=$2
6346 echo "$as_me:$LINENO: checking for $ac_word" >&5
6347 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6348 if test "${ac_cv_prog_OTOOL+set}" = set; then
6349 echo $ECHO_N "(cached) $ECHO_C" >&6
6351 if test -n "$OTOOL"; then
6352 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6358 test -z "$as_dir" && as_dir=.
6359 for ac_exec_ext in '' $ac_executable_extensions; do
6360 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6361 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6362 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6370 OTOOL=$ac_cv_prog_OTOOL
6371 if test -n "$OTOOL"; then
6372 echo "$as_me:$LINENO: result: $OTOOL" >&5
6373 echo "${ECHO_T}$OTOOL" >&6
6375 echo "$as_me:$LINENO: result: no" >&5
6376 echo "${ECHO_T}no" >&6
6380 if test -z "$ac_cv_prog_OTOOL"; then
6382 # Extract the first word of "otool", so it can be a program name with args.
6383 set dummy otool; ac_word=$2
6384 echo "$as_me:$LINENO: checking for $ac_word" >&5
6385 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6386 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
6387 echo $ECHO_N "(cached) $ECHO_C" >&6
6389 if test -n "$ac_ct_OTOOL"; then
6390 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6396 test -z "$as_dir" && as_dir=.
6397 for ac_exec_ext in '' $ac_executable_extensions; do
6398 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6399 ac_cv_prog_ac_ct_OTOOL="otool"
6400 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6406 test -z "$ac_cv_prog_ac_ct_OTOOL" && ac_cv_prog_ac_ct_OTOOL=":"
6409 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6410 if test -n "$ac_ct_OTOOL"; then
6411 echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
6412 echo "${ECHO_T}$ac_ct_OTOOL" >&6
6414 echo "$as_me:$LINENO: result: no" >&5
6415 echo "${ECHO_T}no" >&6
6420 OTOOL="$ac_cv_prog_OTOOL"
6423 if test -n "$ac_tool_prefix"; then
6424 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6425 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6426 echo "$as_me:$LINENO: checking for $ac_word" >&5
6427 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6428 if test "${ac_cv_prog_OTOOL64+set}" = set; then
6429 echo $ECHO_N "(cached) $ECHO_C" >&6
6431 if test -n "$OTOOL64"; then
6432 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6438 test -z "$as_dir" && as_dir=.
6439 for ac_exec_ext in '' $ac_executable_extensions; do
6440 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6441 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6442 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6450 OTOOL64=$ac_cv_prog_OTOOL64
6451 if test -n "$OTOOL64"; then
6452 echo "$as_me:$LINENO: result: $OTOOL64" >&5
6453 echo "${ECHO_T}$OTOOL64" >&6
6455 echo "$as_me:$LINENO: result: no" >&5
6456 echo "${ECHO_T}no" >&6
6460 if test -z "$ac_cv_prog_OTOOL64"; then
6461 ac_ct_OTOOL64=$OTOOL64
6462 # Extract the first word of "otool64", so it can be a program name with args.
6463 set dummy otool64; ac_word=$2
6464 echo "$as_me:$LINENO: checking for $ac_word" >&5
6465 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6466 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
6467 echo $ECHO_N "(cached) $ECHO_C" >&6
6469 if test -n "$ac_ct_OTOOL64"; then
6470 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6476 test -z "$as_dir" && as_dir=.
6477 for ac_exec_ext in '' $ac_executable_extensions; do
6478 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6479 ac_cv_prog_ac_ct_OTOOL64="otool64"
6480 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6486 test -z "$ac_cv_prog_ac_ct_OTOOL64" && ac_cv_prog_ac_ct_OTOOL64=":"
6489 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6490 if test -n "$ac_ct_OTOOL64"; then
6491 echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
6492 echo "${ECHO_T}$ac_ct_OTOOL64" >&6
6494 echo "$as_me:$LINENO: result: no" >&5
6495 echo "${ECHO_T}no" >&6
6498 OTOOL64=$ac_ct_OTOOL64
6500 OTOOL64="$ac_cv_prog_OTOOL64"
6529 echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
6530 echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6
6531 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
6532 echo $ECHO_N "(cached) $ECHO_C" >&6
6534 lt_cv_apple_cc_single_mod=no
6535 if test -z "${LT_MULTI_MODULE}"; then
6536 # By default we will add the -single_module flag. You can override
6537 # by either setting the environment variable LT_MULTI_MODULE
6538 # non-empty at configure time, or by adding -multi_module to the
6540 rm -rf libconftest.dylib*
6541 echo "int foo(void){return 1;}" > conftest.c
6542 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6543 -dynamiclib -Wl,-single_module conftest.c" >&5
6544 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6545 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6547 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6548 lt_cv_apple_cc_single_mod=yes
6550 cat conftest.err >&5
6552 rm -rf libconftest.dylib*
6556 echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
6557 echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6
6558 echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
6559 echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6
6560 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
6561 echo $ECHO_N "(cached) $ECHO_C" >&6
6563 lt_cv_ld_exported_symbols_list=no
6564 save_LDFLAGS=$LDFLAGS
6565 echo "_main" > conftest.sym
6566 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6567 if test x$gcc_no_link = xyes; then
6568 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6569 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6570 { (exit 1); exit 1; }; }
6572 cat >conftest.$ac_ext <<_ACEOF
6575 cat confdefs.h >>conftest.$ac_ext
6576 cat >>conftest.$ac_ext <<_ACEOF
6577 /* end confdefs.h. */
6587 rm -f conftest.$ac_objext conftest$ac_exeext
6588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6589 (eval $ac_link) 2>conftest.er1
6591 grep -v '^ *+' conftest.er1 >conftest.err
6593 cat conftest.err >&5
6594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6595 (exit $ac_status); } &&
6596 { ac_try='test -z "$ac_c_werror_flag"
6597 || test ! -s conftest.err'
6598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6602 (exit $ac_status); }; } &&
6603 { ac_try='test -s conftest$ac_exeext'
6604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6608 (exit $ac_status); }; }; then
6609 lt_cv_ld_exported_symbols_list=yes
6611 echo "$as_me: failed program was:" >&5
6612 sed 's/^/| /' conftest.$ac_ext >&5
6614 lt_cv_ld_exported_symbols_list=no
6616 rm -f conftest.err conftest.$ac_objext \
6617 conftest$ac_exeext conftest.$ac_ext
6618 LDFLAGS="$save_LDFLAGS"
6621 echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
6622 echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6
6624 rhapsody* | darwin1.[012])
6625 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6627 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6628 darwin*) # darwin 5.x on
6629 # if running on 10.5 or later, the deployment target defaults
6630 # to the OS version, if on x86, and 10.4, the deployment
6631 # target defaults to 10.4. Don't you love it?
6632 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6633 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6634 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6636 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6638 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6642 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6643 _lt_dar_single_mod='$single_module'
6645 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6646 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6648 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6650 if test "$DSYMUTIL" != ":"; then
6651 _lt_dsymutil='~$DSYMUTIL $lib || :'
6659 for ac_header in dlfcn.h
6661 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6662 echo "$as_me:$LINENO: checking for $ac_header" >&5
6663 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6664 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6665 echo $ECHO_N "(cached) $ECHO_C" >&6
6667 cat >conftest.$ac_ext <<_ACEOF
6670 cat confdefs.h >>conftest.$ac_ext
6671 cat >>conftest.$ac_ext <<_ACEOF
6672 /* end confdefs.h. */
6673 $ac_includes_default
6675 #include <$ac_header>
6677 rm -f conftest.$ac_objext
6678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6679 (eval $ac_compile) 2>conftest.er1
6681 grep -v '^ *+' conftest.er1 >conftest.err
6683 cat conftest.err >&5
6684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6685 (exit $ac_status); } &&
6686 { ac_try='test -z "$ac_c_werror_flag"
6687 || test ! -s conftest.err'
6688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6692 (exit $ac_status); }; } &&
6693 { ac_try='test -s conftest.$ac_objext'
6694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6698 (exit $ac_status); }; }; then
6699 eval "$as_ac_Header=yes"
6701 echo "$as_me: failed program was:" >&5
6702 sed 's/^/| /' conftest.$ac_ext >&5
6704 eval "$as_ac_Header=no"
6706 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6708 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6709 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6710 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6711 cat >>confdefs.h <<_ACEOF
6712 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6731 # Check whether --enable-shared or --disable-shared was given.
6732 if test "${enable_shared+set}" = set; then
6733 enableval="$enable_shared"
6734 p=${PACKAGE-default}
6736 yes) enable_shared=yes ;;
6737 no) enable_shared=no ;;
6740 # Look at the argument we got. We use all the common list separators.
6741 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6742 for pkg in $enableval; do
6744 if test "X$pkg" = "X$p"; then
6762 # Check whether --enable-static or --disable-static was given.
6763 if test "${enable_static+set}" = set; then
6764 enableval="$enable_static"
6765 p=${PACKAGE-default}
6767 yes) enable_static=yes ;;
6768 no) enable_static=no ;;
6771 # Look at the argument we got. We use all the common list separators.
6772 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6773 for pkg in $enableval; do
6775 if test "X$pkg" = "X$p"; then
6794 # Check whether --with-pic or --without-pic was given.
6795 if test "${with_pic+set}" = set; then
6802 test -z "$pic_mode" && pic_mode=default
6810 # Check whether --enable-fast-install or --disable-fast-install was given.
6811 if test "${enable_fast_install+set}" = set; then
6812 enableval="$enable_fast_install"
6813 p=${PACKAGE-default}
6815 yes) enable_fast_install=yes ;;
6816 no) enable_fast_install=no ;;
6818 enable_fast_install=no
6819 # Look at the argument we got. We use all the common list separators.
6820 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6821 for pkg in $enableval; do
6823 if test "X$pkg" = "X$p"; then
6824 enable_fast_install=yes
6831 enable_fast_install=yes
6843 # This can be used to rebuild libtool when needed
6844 LIBTOOL_DEPS="$ltmain"
6846 # Always use our own libtool.
6847 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
6873 test -z "$LN_S" && LN_S="ln -s"
6888 if test -n "${ZSH_VERSION+set}" ; then
6889 setopt NO_GLOB_SUBST
6892 echo "$as_me:$LINENO: checking for objdir" >&5
6893 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
6894 if test "${lt_cv_objdir+set}" = set; then
6895 echo $ECHO_N "(cached) $ECHO_C" >&6
6897 rm -f .libs 2>/dev/null
6898 mkdir .libs 2>/dev/null
6899 if test -d .libs; then
6902 # MS-DOS does not allow filenames that begin with a dot.
6905 rmdir .libs 2>/dev/null
6907 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6908 echo "${ECHO_T}$lt_cv_objdir" >&6
6909 objdir=$lt_cv_objdir
6915 cat >>confdefs.h <<_ACEOF
6916 #define LT_OBJDIR "$lt_cv_objdir/"
6937 # AIX sometimes has problems with the GCC collect2 program. For some
6938 # reason, if we set the COLLECT_NAMES environment variable, the problems
6939 # vanish in a puff of smoke.
6940 if test "X${COLLECT_NAMES+set}" != Xset; then
6942 export COLLECT_NAMES
6947 # Sed substitution that helps us do robust quoting. It backslashifies
6948 # metacharacters that are still active within double-quoted strings.
6949 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6951 # Same as above, but do not quote variable references.
6952 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6954 # Sed substitution to delay expansion of an escaped shell variable in a
6955 # double_quote_subst'ed string.
6956 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6958 # Sed substitution to delay expansion of an escaped single quote.
6959 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6961 # Sed substitution to avoid accidental globbing in evaled expressions
6962 no_glob_subst='s/\*/\\\*/g'
6966 can_build_shared=yes
6968 # All known linkers require a `.a' archive for static linking (except MSVC,
6969 # which needs '.lib').
6972 with_gnu_ld="$lt_cv_prog_gnu_ld"
6975 old_CFLAGS="$CFLAGS"
6977 # Set sane defaults for various variables
6978 test -z "$CC" && CC=cc
6979 test -z "$LTCC" && LTCC=$CC
6980 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6981 test -z "$LD" && LD=ld
6982 test -z "$ac_objext" && ac_objext=o
6984 for cc_temp in $compiler""; do
6986 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6987 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6992 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6995 # Only perform the check for file, if the check method requires it
6996 test -z "$MAGIC_CMD" && MAGIC_CMD=file
6997 case $deplibs_check_method in
6999 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7000 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7001 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
7002 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7003 echo $ECHO_N "(cached) $ECHO_C" >&6
7007 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7010 lt_save_MAGIC_CMD="$MAGIC_CMD"
7011 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7012 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7013 for ac_dir in $ac_dummy; do
7015 test -z "$ac_dir" && ac_dir=.
7016 if test -f $ac_dir/${ac_tool_prefix}file; then
7017 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7018 if test -n "$file_magic_test_file"; then
7019 case $deplibs_check_method in
7021 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7022 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7023 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7024 $EGREP "$file_magic_regex" > /dev/null; then
7029 *** Warning: the command libtool uses to detect shared libraries,
7030 *** $file_magic_cmd, produces output that libtool cannot recognize.
7031 *** The result is that libtool may fail to recognize shared libraries
7032 *** as such. This will affect the creation of libtool libraries that
7033 *** depend on shared libraries, but programs linked with such libtool
7034 *** libraries will work regardless of this problem. Nevertheless, you
7035 *** may want to report the problem to your system manager and/or to
7036 *** bug-libtool@gnu.org
7046 MAGIC_CMD="$lt_save_MAGIC_CMD"
7051 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7052 if test -n "$MAGIC_CMD"; then
7053 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7054 echo "${ECHO_T}$MAGIC_CMD" >&6
7056 echo "$as_me:$LINENO: result: no" >&5
7057 echo "${ECHO_T}no" >&6
7064 if test -z "$lt_cv_path_MAGIC_CMD"; then
7065 if test -n "$ac_tool_prefix"; then
7066 echo "$as_me:$LINENO: checking for file" >&5
7067 echo $ECHO_N "checking for file... $ECHO_C" >&6
7068 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7069 echo $ECHO_N "(cached) $ECHO_C" >&6
7073 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7076 lt_save_MAGIC_CMD="$MAGIC_CMD"
7077 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7078 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7079 for ac_dir in $ac_dummy; do
7081 test -z "$ac_dir" && ac_dir=.
7082 if test -f $ac_dir/file; then
7083 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7084 if test -n "$file_magic_test_file"; then
7085 case $deplibs_check_method in
7087 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7088 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7089 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7090 $EGREP "$file_magic_regex" > /dev/null; then
7095 *** Warning: the command libtool uses to detect shared libraries,
7096 *** $file_magic_cmd, produces output that libtool cannot recognize.
7097 *** The result is that libtool may fail to recognize shared libraries
7098 *** as such. This will affect the creation of libtool libraries that
7099 *** depend on shared libraries, but programs linked with such libtool
7100 *** libraries will work regardless of this problem. Nevertheless, you
7101 *** may want to report the problem to your system manager and/or to
7102 *** bug-libtool@gnu.org
7112 MAGIC_CMD="$lt_save_MAGIC_CMD"
7117 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7118 if test -n "$MAGIC_CMD"; then
7119 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7120 echo "${ECHO_T}$MAGIC_CMD" >&6
7122 echo "$as_me:$LINENO: result: no" >&5
7123 echo "${ECHO_T}no" >&6
7136 # Use C for the default configuration in the libtool script
7140 ac_cpp='$CPP $CPPFLAGS'
7141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7146 # Source file extension for C test sources.
7149 # Object file extension for compiled C test sources.
7153 # Code to be used in simple compile tests
7154 lt_simple_compile_test_code="int some_variable = 0;"
7156 # Code to be used in simple link tests
7157 lt_simple_link_test_code='int main(){return(0);}'
7165 # If no C compiler was specified, use CC.
7168 # If no C compiler flags were specified, use CFLAGS.
7169 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7171 # Allow CC to be a program name with arguments.
7174 # Save the default compiler, since it gets overwritten when the other
7175 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7176 compiler_DEFAULT=$CC
7178 # save warnings/boilerplate of simple test code
7179 ac_outfile=conftest.$ac_objext
7180 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7181 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7182 _lt_compiler_boilerplate=`cat conftest.err`
7185 ac_outfile=conftest.$ac_objext
7186 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7187 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7188 _lt_linker_boilerplate=`cat conftest.err`
7193 ## There is no encapsulation within the following macros, do not change
7194 ## the running order or otherwise move them around unless you know exactly
7195 ## what you are doing...
7196 if test -n "$compiler"; then
7198 lt_prog_compiler_no_builtin_flag=
7200 if test "$GCC" = yes; then
7201 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7203 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7204 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
7205 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7206 echo $ECHO_N "(cached) $ECHO_C" >&6
7208 lt_cv_prog_compiler_rtti_exceptions=no
7209 ac_outfile=conftest.$ac_objext
7210 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7211 lt_compiler_flag="-fno-rtti -fno-exceptions"
7212 # Insert the option either (1) after the last *FLAGS variable, or
7213 # (2) before a word containing "conftest.", or (3) at the end.
7214 # Note that $ac_compile itself does not contain backslashes and begins
7215 # with a dollar sign (not a hyphen), so the echo should work correctly.
7216 # The option is referenced via a variable to avoid confusing sed.
7217 lt_compile=`echo "$ac_compile" | $SED \
7218 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7219 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7220 -e 's:$: $lt_compiler_flag:'`
7221 (eval echo "\"\$as_me:7221: $lt_compile\"" >&5)
7222 (eval "$lt_compile" 2>conftest.err)
7224 cat conftest.err >&5
7225 echo "$as_me:7225: \$? = $ac_status" >&5
7226 if (exit $ac_status) && test -s "$ac_outfile"; then
7227 # The compiler can only warn and ignore the option if not recognized
7228 # So say no if there are warnings other than the usual output.
7229 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7230 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7231 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7232 lt_cv_prog_compiler_rtti_exceptions=yes
7238 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7239 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
7241 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7242 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7254 lt_prog_compiler_wl=
7255 lt_prog_compiler_pic=
7256 lt_prog_compiler_static=
7258 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7259 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
7261 if test "$GCC" = yes; then
7262 lt_prog_compiler_wl='-Wl,'
7263 lt_prog_compiler_static='-static'
7267 # All AIX code is PIC.
7268 if test "$host_cpu" = ia64; then
7269 # AIX 5 now supports IA64 processor
7270 lt_prog_compiler_static='-Bstatic'
7277 # see comment about AmigaOS4 .so support
7278 lt_prog_compiler_pic='-fPIC'
7281 # FIXME: we need at least 68020 code to build shared libraries, but
7282 # adding the `-m68020' flag to GCC prevents building anything better,
7284 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7289 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7290 # PIC is the default for these OSes.
7293 mingw* | cygwin* | pw32* | os2* | cegcc*)
7294 # This hack is so that the source file can tell whether it is being
7295 # built for inclusion in a dll (and should export symbols for example).
7296 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7297 # (--disable-auto-import) libraries
7298 lt_prog_compiler_pic='-DDLL_EXPORT'
7301 darwin* | rhapsody*)
7302 # PIC is the default on this platform
7303 # Common symbols not allowed in MH_DYLIB files
7304 lt_prog_compiler_pic='-fno-common'
7308 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7309 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7310 # sets the default TLS model and affects inlining.
7316 lt_prog_compiler_pic='-fPIC'
7322 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7323 # Instead, we relocate shared libraries at runtime.
7327 # Just because we use GCC doesn't mean we suddenly get shared libraries
7328 # on systems that don't support them.
7329 lt_prog_compiler_can_build_shared=no
7334 # QNX uses GNU C++, but need to define -shared option too, otherwise
7336 lt_prog_compiler_pic='-fPIC -shared'
7340 if test -d /usr/nec; then
7341 lt_prog_compiler_pic=-Kconform_pic
7346 lt_prog_compiler_pic='-fPIC'
7350 # PORTME Check for flag to pass linker flags through the system compiler.
7353 lt_prog_compiler_wl='-Wl,'
7354 if test "$host_cpu" = ia64; then
7355 # AIX 5 now supports IA64 processor
7356 lt_prog_compiler_static='-Bstatic'
7358 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7362 mingw* | cygwin* | pw32* | os2* | cegcc*)
7363 # This hack is so that the source file can tell whether it is being
7364 # built for inclusion in a dll (and should export symbols for example).
7365 lt_prog_compiler_pic='-DDLL_EXPORT'
7368 hpux9* | hpux10* | hpux11*)
7369 lt_prog_compiler_wl='-Wl,'
7370 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7377 lt_prog_compiler_pic='+Z'
7380 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7381 lt_prog_compiler_static='${wl}-a ${wl}archive'
7384 irix5* | irix6* | nonstopux*)
7385 lt_prog_compiler_wl='-Wl,'
7386 # PIC (with -KPIC) is the default.
7387 lt_prog_compiler_static='-non_shared'
7390 linux* | k*bsd*-gnu)
7391 case $cc_basename in
7392 # old Intel for x86_64 which still supported -KPIC.
7394 lt_prog_compiler_wl='-Wl,'
7395 lt_prog_compiler_pic='-KPIC'
7396 lt_prog_compiler_static='-static'
7398 # icc used to be incompatible with GCC.
7399 # ICC 10 doesn't accept -KPIC any more.
7401 lt_prog_compiler_wl='-Wl,'
7402 lt_prog_compiler_pic='-fPIC'
7403 lt_prog_compiler_static='-static'
7405 # Lahey Fortran 8.1.
7407 lt_prog_compiler_wl='-Wl,'
7408 lt_prog_compiler_pic='--shared'
7409 lt_prog_compiler_static='--static'
7411 pgcc* | pgf77* | pgf90* | pgf95*)
7412 # Portland Group compilers (*not* the Pentium gcc compiler,
7413 # which looks to be a dead project)
7414 lt_prog_compiler_wl='-Wl,'
7415 lt_prog_compiler_pic='-fpic'
7416 lt_prog_compiler_static='-Bstatic'
7419 lt_prog_compiler_wl='-Wl,'
7420 # All Alpha code is PIC.
7421 lt_prog_compiler_static='-non_shared'
7424 # IBM XL C 8.0/Fortran 10.1 on PPC
7425 lt_prog_compiler_wl='-Wl,'
7426 lt_prog_compiler_pic='-qpic'
7427 lt_prog_compiler_static='-qstaticlink'
7430 case `$CC -V 2>&1 | sed 5q` in
7433 lt_prog_compiler_pic='-KPIC'
7434 lt_prog_compiler_static='-Bstatic'
7435 lt_prog_compiler_wl='-Wl,'
7438 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7439 lt_prog_compiler_pic='-KPIC'
7440 lt_prog_compiler_static='-Bstatic'
7441 lt_prog_compiler_wl=''
7449 lt_prog_compiler_pic='-KPIC'
7450 lt_prog_compiler_static='-Bstatic'
7454 # QNX uses GNU C++, but need to define -shared option too, otherwise
7456 lt_prog_compiler_pic='-fPIC -shared'
7459 osf3* | osf4* | osf5*)
7460 lt_prog_compiler_wl='-Wl,'
7461 # All OSF/1 code is PIC.
7462 lt_prog_compiler_static='-non_shared'
7466 lt_prog_compiler_static='-non_shared'
7470 lt_prog_compiler_pic='-KPIC'
7471 lt_prog_compiler_static='-Bstatic'
7472 case $cc_basename in
7474 lt_prog_compiler_wl='-Qoption ld ';;
7476 lt_prog_compiler_wl='-Wl,';;
7481 lt_prog_compiler_wl='-Qoption ld '
7482 lt_prog_compiler_pic='-PIC'
7483 lt_prog_compiler_static='-Bstatic'
7486 sysv4 | sysv4.2uw2* | sysv4.3*)
7487 lt_prog_compiler_wl='-Wl,'
7488 lt_prog_compiler_pic='-KPIC'
7489 lt_prog_compiler_static='-Bstatic'
7493 if test -d /usr/nec ;then
7494 lt_prog_compiler_pic='-Kconform_pic'
7495 lt_prog_compiler_static='-Bstatic'
7499 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7500 lt_prog_compiler_wl='-Wl,'
7501 lt_prog_compiler_pic='-KPIC'
7502 lt_prog_compiler_static='-Bstatic'
7506 lt_prog_compiler_wl='-Wl,'
7507 lt_prog_compiler_can_build_shared=no
7511 lt_prog_compiler_pic='-pic'
7512 lt_prog_compiler_static='-Bstatic'
7516 lt_prog_compiler_can_build_shared=no
7522 # For platforms which do not support PIC, -DPIC is meaningless:
7524 lt_prog_compiler_pic=
7527 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7530 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7531 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
7539 # Check to make sure the PIC flag actually works.
7541 if test -n "$lt_prog_compiler_pic"; then
7542 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7543 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
7544 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
7545 echo $ECHO_N "(cached) $ECHO_C" >&6
7547 lt_cv_prog_compiler_pic_works=no
7548 ac_outfile=conftest.$ac_objext
7549 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7550 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7551 # Insert the option either (1) after the last *FLAGS variable, or
7552 # (2) before a word containing "conftest.", or (3) at the end.
7553 # Note that $ac_compile itself does not contain backslashes and begins
7554 # with a dollar sign (not a hyphen), so the echo should work correctly.
7555 # The option is referenced via a variable to avoid confusing sed.
7556 lt_compile=`echo "$ac_compile" | $SED \
7557 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7558 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7559 -e 's:$: $lt_compiler_flag:'`
7560 (eval echo "\"\$as_me:7560: $lt_compile\"" >&5)
7561 (eval "$lt_compile" 2>conftest.err)
7563 cat conftest.err >&5
7564 echo "$as_me:7564: \$? = $ac_status" >&5
7565 if (exit $ac_status) && test -s "$ac_outfile"; then
7566 # The compiler can only warn and ignore the option if not recognized
7567 # So say no if there are warnings other than the usual output.
7568 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7569 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7570 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7571 lt_cv_prog_compiler_pic_works=yes
7577 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
7578 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6
7580 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7581 case $lt_prog_compiler_pic in
7583 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7586 lt_prog_compiler_pic=
7587 lt_prog_compiler_can_build_shared=no
7598 # Check to make sure the static flag actually works.
7600 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7601 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7602 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
7603 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
7604 echo $ECHO_N "(cached) $ECHO_C" >&6
7606 lt_cv_prog_compiler_static_works=no
7607 save_LDFLAGS="$LDFLAGS"
7608 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7609 echo "$lt_simple_link_test_code" > conftest.$ac_ext
7610 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7611 # The linker can only warn and ignore the option if not recognized
7612 # So say no if there are warnings
7613 if test -s conftest.err; then
7614 # Append any errors to the config.log.
7615 cat conftest.err 1>&5
7616 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7617 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7618 if diff conftest.exp conftest.er2 >/dev/null; then
7619 lt_cv_prog_compiler_static_works=yes
7622 lt_cv_prog_compiler_static_works=yes
7626 LDFLAGS="$save_LDFLAGS"
7629 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
7630 echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6
7632 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7635 lt_prog_compiler_static=
7644 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7645 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7646 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7647 echo $ECHO_N "(cached) $ECHO_C" >&6
7649 lt_cv_prog_compiler_c_o=no
7650 $RM -r conftest 2>/dev/null
7654 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7656 lt_compiler_flag="-o out/conftest2.$ac_objext"
7657 # Insert the option either (1) after the last *FLAGS variable, or
7658 # (2) before a word containing "conftest.", or (3) at the end.
7659 # Note that $ac_compile itself does not contain backslashes and begins
7660 # with a dollar sign (not a hyphen), so the echo should work correctly.
7661 lt_compile=`echo "$ac_compile" | $SED \
7662 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7663 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7664 -e 's:$: $lt_compiler_flag:'`
7665 (eval echo "\"\$as_me:7665: $lt_compile\"" >&5)
7666 (eval "$lt_compile" 2>out/conftest.err)
7668 cat out/conftest.err >&5
7669 echo "$as_me:7669: \$? = $ac_status" >&5
7670 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7672 # The compiler can only warn and ignore the option if not recognized
7673 # So say no if there are warnings
7674 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7675 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7676 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7677 lt_cv_prog_compiler_c_o=yes
7682 # SGI C++ compiler will create directory out/ii_files/ for
7683 # template instantiation
7684 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7685 $RM out/* && rmdir out
7691 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7692 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7699 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7700 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7701 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7702 echo $ECHO_N "(cached) $ECHO_C" >&6
7704 lt_cv_prog_compiler_c_o=no
7705 $RM -r conftest 2>/dev/null
7709 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7711 lt_compiler_flag="-o out/conftest2.$ac_objext"
7712 # Insert the option either (1) after the last *FLAGS variable, or
7713 # (2) before a word containing "conftest.", or (3) at the end.
7714 # Note that $ac_compile itself does not contain backslashes and begins
7715 # with a dollar sign (not a hyphen), so the echo should work correctly.
7716 lt_compile=`echo "$ac_compile" | $SED \
7717 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7718 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7719 -e 's:$: $lt_compiler_flag:'`
7720 (eval echo "\"\$as_me:7720: $lt_compile\"" >&5)
7721 (eval "$lt_compile" 2>out/conftest.err)
7723 cat out/conftest.err >&5
7724 echo "$as_me:7724: \$? = $ac_status" >&5
7725 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7727 # The compiler can only warn and ignore the option if not recognized
7728 # So say no if there are warnings
7729 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7730 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7731 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7732 lt_cv_prog_compiler_c_o=yes
7737 # SGI C++ compiler will create directory out/ii_files/ for
7738 # template instantiation
7739 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7740 $RM out/* && rmdir out
7746 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7747 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7752 hard_links="nottested"
7753 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7754 # do not overwrite the value of need_locks provided by the user
7755 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7756 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
7759 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7761 ln conftest.a conftest.b 2>&5 || hard_links=no
7762 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7763 echo "$as_me:$LINENO: result: $hard_links" >&5
7764 echo "${ECHO_T}$hard_links" >&6
7765 if test "$hard_links" = no; then
7766 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7767 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7779 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7780 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
7783 allow_undefined_flag=
7784 always_export_symbols=no
7786 archive_expsym_cmds=
7787 compiler_needs_object=no
7788 enable_shared_with_static_runtimes=no
7789 export_dynamic_flag_spec=
7790 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7791 hardcode_automatic=no
7793 hardcode_direct_absolute=no
7794 hardcode_libdir_flag_spec=
7795 hardcode_libdir_flag_spec_ld=
7796 hardcode_libdir_separator=
7798 hardcode_shlibpath_var=unsupported
7800 link_all_deplibs=unknown
7803 old_archive_from_new_cmds=
7804 old_archive_from_expsyms_cmds=
7805 thread_safe_flag_spec=
7806 whole_archive_flag_spec=
7807 # include_expsyms should be a list of space-separated symbols to be *always*
7808 # included in the symbol list
7810 # exclude_expsyms can be an extended regexp of symbols to exclude
7811 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7812 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7813 # as well as any symbol that contains `d'.
7814 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7815 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7816 # platforms (ab)use it in PIC code, but their linkers get confused if
7817 # the symbol is explicitly referenced. Since portable code cannot
7818 # rely on this symbol name, it's probably fine to never include it in
7819 # preloaded symbol tables.
7820 # Exclude shared library initialization/finalization symbols.
7821 extract_expsyms_cmds=
7824 cygwin* | mingw* | pw32* | cegcc*)
7825 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7826 # When not using gcc, we currently assume that we are using
7827 # Microsoft Visual C++.
7828 if test "$GCC" != yes; then
7833 # we just hope/assume this is gcc and not c89 (= MSVC++)
7842 if test "$with_gnu_ld" = yes; then
7843 # If archive_cmds runs LD, not CC, wlarc should be empty
7846 # Set some defaults for GNU ld with shared library support. These
7847 # are reset later if shared libraries are not supported. Putting them
7848 # here allows them to be overridden if necessary.
7849 runpath_var=LD_RUN_PATH
7850 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7851 export_dynamic_flag_spec='${wl}--export-dynamic'
7852 # ancient GNU ld didn't support --whole-archive et. al.
7853 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
7854 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7856 whole_archive_flag_spec=
7858 supports_anon_versioning=no
7859 case `$LD -v 2>&1` in
7860 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7861 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7862 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7863 *\ 2.11.*) ;; # other 2.11 versions
7864 *) supports_anon_versioning=yes ;;
7867 # See if GNU ld supports shared libraries.
7870 # On AIX/PPC, the GNU linker is very broken
7871 if test "$host_cpu" != ia64; then
7875 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7876 *** to be unable to reliably create shared libraries on AIX.
7877 *** Therefore, libtool is disabling shared libraries support. If you
7878 *** really care for shared libraries, you may want to modify your PATH
7879 *** so that a non-GNU linker is found, and then restart.
7888 # see comment about AmigaOS4 .so support
7889 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7890 archive_expsym_cmds=''
7893 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)'
7894 hardcode_libdir_flag_spec='-L$libdir'
7895 hardcode_minus_L=yes
7901 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7902 allow_undefined_flag=unsupported
7903 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7904 # support --undefined. This deserves some investigation. FIXME
7905 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7911 cygwin* | mingw* | pw32* | cegcc*)
7912 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7913 # as there is no search path for DLLs.
7914 hardcode_libdir_flag_spec='-L$libdir'
7915 allow_undefined_flag=unsupported
7916 always_export_symbols=no
7917 enable_shared_with_static_runtimes=yes
7918 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7920 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
7921 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7922 # If the export-symbols file already is a .def file (1st line
7923 # is EXPORTS), use it as is; otherwise, prepend...
7924 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7925 cp $export_symbols $output_objdir/$soname.def;
7927 echo EXPORTS > $output_objdir/$soname.def;
7928 cat $export_symbols >> $output_objdir/$soname.def;
7930 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7938 hardcode_shlibpath_var=no
7939 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7940 export_dynamic_flag_spec='${wl}-E'
7941 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7942 # Instead, shared libraries are loaded at an image base (0x10000000 by
7943 # default) and relocated if they conflict, which is a slow very memory
7944 # consuming and fragmenting process. To avoid this, we pick a random,
7945 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7946 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7947 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7948 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'
7951 gnu* | linux* | tpf* | k*bsd*-gnu)
7953 if test "$host_os" = linux-dietlibc; then
7954 case $cc_basename in
7955 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
7958 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
7959 && test "$tmp_diet" = no
7962 tmp_sharedflag='-shared'
7963 case $cc_basename,$host_cpu in
7964 pgcc*) # Portland Group C compiler
7965 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'
7966 tmp_addflag=' $pic_flag'
7968 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
7969 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'
7970 tmp_addflag=' $pic_flag -Mnomain' ;;
7971 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
7972 tmp_addflag=' -i_dynamic' ;;
7973 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
7974 tmp_addflag=' -i_dynamic -nofor_main' ;;
7975 ifc* | ifort*) # Intel Fortran compiler
7976 tmp_addflag=' -nofor_main' ;;
7977 lf95*) # Lahey Fortran 8.1
7978 whole_archive_flag_spec=
7979 tmp_sharedflag='--shared' ;;
7980 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
7981 tmp_sharedflag='-qmkshrobj'
7984 case `$CC -V 2>&1 | sed 5q` in
7985 *Sun\ C*) # Sun C 5.9
7986 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'
7987 compiler_needs_object=yes
7988 tmp_sharedflag='-G' ;;
7989 *Sun\ F*) # Sun Fortran 8.3
7990 tmp_sharedflag='-G' ;;
7992 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7994 if test "x$supports_anon_versioning" = xyes; then
7995 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
7996 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7997 echo "local: *; };" >> $output_objdir/$libname.ver~
7998 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8001 case $cc_basename in
8003 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8004 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8005 hardcode_libdir_flag_spec=
8006 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8007 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8008 if test "x$supports_anon_versioning" = xyes; then
8009 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8010 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8011 echo "local: *; };" >> $output_objdir/$libname.ver~
8012 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8022 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8023 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8026 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8027 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8032 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8036 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8037 *** create shared libraries on Solaris systems. Therefore, libtool
8038 *** is disabling shared libraries support. We urge you to upgrade GNU
8039 *** binutils to release 2.9.1 or newer. Another option is to modify
8040 *** your PATH or compiler configuration so that the native linker is
8041 *** used, and then restart.
8044 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8045 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8046 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8052 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8053 case `$LD -v 2>&1` in
8054 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8058 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8059 *** reliably create shared libraries on SCO systems. Therefore, libtool
8060 *** is disabling shared libraries support. We urge you to upgrade GNU
8061 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8062 *** your PATH or compiler configuration so that the native linker is
8063 *** used, and then restart.
8068 # For security reasons, it is highly recommended that you always
8069 # use absolute paths for naming shared libraries, and exclude the
8070 # DT_RUNPATH tag from executables and libraries. But doing so
8071 # requires that you compile everything twice, which is a pain.
8072 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8073 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8074 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8075 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8084 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8087 hardcode_shlibpath_var=no
8091 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8092 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8093 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8100 if test "$ld_shlibs" = no; then
8102 hardcode_libdir_flag_spec=
8103 export_dynamic_flag_spec=
8104 whole_archive_flag_spec=
8107 # PORTME fill in a description of your system's linker (not GNU ld)
8110 allow_undefined_flag=unsupported
8111 always_export_symbols=yes
8112 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'
8113 # Note: this linker hardcodes the directories in LIBPATH if there
8114 # are no directories specified by -L.
8115 hardcode_minus_L=yes
8116 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8117 # Neither direct hardcoding nor static linking is supported with a
8119 hardcode_direct=unsupported
8124 if test "$host_cpu" = ia64; then
8125 # On IA64, the linker does run time linking by default, so we don't
8126 # have to do anything special.
8127 aix_use_runtimelinking=no
8128 exp_sym_flag='-Bexport'
8131 # If we're using GNU nm, then we don't want the "-C" option.
8132 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8133 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8134 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'
8136 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'
8138 aix_use_runtimelinking=no
8140 # Test if we are trying to use run time linking or normal
8141 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8142 # need to do runtime linking.
8143 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8144 for ld_flag in $LDFLAGS; do
8145 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8146 aix_use_runtimelinking=yes
8153 exp_sym_flag='-bexport'
8154 no_entry_flag='-bnoentry'
8157 # When large executables or shared objects are built, AIX ld can
8158 # have problems creating the table of contents. If linking a library
8159 # or program results in "error TOC overflow" add -mminimal-toc to
8160 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8161 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8165 hardcode_direct_absolute=yes
8166 hardcode_libdir_separator=':'
8167 link_all_deplibs=yes
8168 file_list_spec='${wl}-f,'
8170 if test "$GCC" = yes; then
8171 case $host_os in aix4.[012]|aix4.[012].*)
8172 # We only want to do this on AIX 4.2 and lower, the check
8173 # below for broken collect2 doesn't work under 4.3+
8174 collect2name=`${CC} -print-prog-name=collect2`
8175 if test -f "$collect2name" &&
8176 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8178 # We have reworked collect2
8181 # We have old collect2
8182 hardcode_direct=unsupported
8183 # It fails to find uninstalled libraries when the uninstalled
8184 # path is not listed in the libpath. Setting hardcode_minus_L
8185 # to unsupported forces relinking
8186 hardcode_minus_L=yes
8187 hardcode_libdir_flag_spec='-L$libdir'
8188 hardcode_libdir_separator=
8192 shared_flag='-shared'
8193 if test "$aix_use_runtimelinking" = yes; then
8194 shared_flag="$shared_flag "'${wl}-G'
8198 if test "$host_cpu" = ia64; then
8199 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8200 # chokes on -Wl,-G. The following line is correct:
8203 if test "$aix_use_runtimelinking" = yes; then
8204 shared_flag='${wl}-G'
8206 shared_flag='${wl}-bM:SRE'
8211 export_dynamic_flag_spec='${wl}-bexpall'
8212 # It seems that -bexpall does not export symbols beginning with
8213 # underscore (_), so it is better to generate a list of symbols to export.
8214 always_export_symbols=yes
8215 if test "$aix_use_runtimelinking" = yes; then
8216 # Warning - without using the other runtime loading flags (-brtl),
8217 # -berok will link without error, but may produce a broken library.
8218 allow_undefined_flag='-berok'
8219 # Determine the default libpath from the value encoded in an
8221 if test x$gcc_no_link = xyes; then
8222 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8223 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8224 { (exit 1); exit 1; }; }
8226 cat >conftest.$ac_ext <<_ACEOF
8229 cat confdefs.h >>conftest.$ac_ext
8230 cat >>conftest.$ac_ext <<_ACEOF
8231 /* end confdefs.h. */
8241 rm -f conftest.$ac_objext conftest$ac_exeext
8242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8243 (eval $ac_link) 2>conftest.er1
8245 grep -v '^ *+' conftest.er1 >conftest.err
8247 cat conftest.err >&5
8248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8249 (exit $ac_status); } &&
8250 { ac_try='test -z "$ac_c_werror_flag"
8251 || test ! -s conftest.err'
8252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8256 (exit $ac_status); }; } &&
8257 { ac_try='test -s conftest$ac_exeext'
8258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8262 (exit $ac_status); }; }; then
8264 lt_aix_libpath_sed='
8265 /Import File Strings/,/^$/ {
8271 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8272 # Check for a 64-bit object if we didn't find anything.
8273 if test -z "$aix_libpath"; then
8274 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8277 echo "$as_me: failed program was:" >&5
8278 sed 's/^/| /' conftest.$ac_ext >&5
8281 rm -f conftest.err conftest.$ac_objext \
8282 conftest$ac_exeext conftest.$ac_ext
8283 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8285 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8286 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"
8288 if test "$host_cpu" = ia64; then
8289 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8290 allow_undefined_flag="-z nodefs"
8291 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"
8293 # Determine the default libpath from the value encoded in an
8295 if test x$gcc_no_link = xyes; then
8296 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8297 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8298 { (exit 1); exit 1; }; }
8300 cat >conftest.$ac_ext <<_ACEOF
8303 cat confdefs.h >>conftest.$ac_ext
8304 cat >>conftest.$ac_ext <<_ACEOF
8305 /* end confdefs.h. */
8315 rm -f conftest.$ac_objext conftest$ac_exeext
8316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8317 (eval $ac_link) 2>conftest.er1
8319 grep -v '^ *+' conftest.er1 >conftest.err
8321 cat conftest.err >&5
8322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8323 (exit $ac_status); } &&
8324 { ac_try='test -z "$ac_c_werror_flag"
8325 || test ! -s conftest.err'
8326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8330 (exit $ac_status); }; } &&
8331 { ac_try='test -s conftest$ac_exeext'
8332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8336 (exit $ac_status); }; }; then
8338 lt_aix_libpath_sed='
8339 /Import File Strings/,/^$/ {
8345 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8346 # Check for a 64-bit object if we didn't find anything.
8347 if test -z "$aix_libpath"; then
8348 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8351 echo "$as_me: failed program was:" >&5
8352 sed 's/^/| /' conftest.$ac_ext >&5
8355 rm -f conftest.err conftest.$ac_objext \
8356 conftest$ac_exeext conftest.$ac_ext
8357 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8359 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8360 # Warning - without using the other run time loading flags,
8361 # -berok will link without error, but may produce a broken library.
8362 no_undefined_flag=' ${wl}-bernotok'
8363 allow_undefined_flag=' ${wl}-berok'
8364 # Exported symbols can be pulled into shared objects from archives
8365 whole_archive_flag_spec='$convenience'
8366 archive_cmds_need_lc=yes
8367 # This is similar to how AIX traditionally builds its shared libraries.
8368 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'
8376 # see comment about AmigaOS4 .so support
8377 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8378 archive_expsym_cmds=''
8381 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)'
8382 hardcode_libdir_flag_spec='-L$libdir'
8383 hardcode_minus_L=yes
8389 export_dynamic_flag_spec=-rdynamic
8392 cygwin* | mingw* | pw32* | cegcc*)
8393 # When not using gcc, we currently assume that we are using
8394 # Microsoft Visual C++.
8395 # hardcode_libdir_flag_spec is actually meaningless, as there is
8396 # no search path for DLLs.
8397 hardcode_libdir_flag_spec=' '
8398 allow_undefined_flag=unsupported
8399 # Tell ltmain to make .lib files, not .a files.
8401 # Tell ltmain to make .dll files, not .so files.
8403 # FIXME: Setting linknames here is a bad hack.
8404 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8405 # The linker will automatically build a .lib file if we build a DLL.
8406 old_archive_from_new_cmds='true'
8407 # FIXME: Should let the user specify the lib program.
8408 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8409 fix_srcfile_path='`cygpath -w "$srcfile"`'
8410 enable_shared_with_static_runtimes=yes
8413 darwin* | rhapsody*)
8416 archive_cmds_need_lc=no
8418 hardcode_automatic=yes
8419 hardcode_shlibpath_var=unsupported
8420 whole_archive_flag_spec=''
8421 link_all_deplibs=yes
8422 allow_undefined_flag="$_lt_dar_allow_undefined"
8423 case $cc_basename in
8424 ifort*) _lt_dar_can_shared=yes ;;
8425 *) _lt_dar_can_shared=$GCC ;;
8427 if test "$_lt_dar_can_shared" = "yes"; then
8428 output_verbose_link_cmd=echo
8429 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8430 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8431 archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
8432 module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
8441 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8442 hardcode_libdir_flag_spec='-L$libdir'
8443 hardcode_shlibpath_var=no
8450 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8451 # support. Future versions do this automatically, but an explicit c++rt0.o
8452 # does not break anything, and helps significantly (at the cost of a little
8455 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8456 hardcode_libdir_flag_spec='-R$libdir'
8458 hardcode_shlibpath_var=no
8461 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8463 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8465 hardcode_minus_L=yes
8466 hardcode_shlibpath_var=no
8469 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8470 freebsd* | dragonfly*)
8471 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8472 hardcode_libdir_flag_spec='-R$libdir'
8474 hardcode_shlibpath_var=no
8478 if test "$GCC" = yes; then
8479 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'
8481 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'
8483 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8484 hardcode_libdir_separator=:
8487 # hardcode_minus_L: Not really in the search PATH,
8488 # but as the default location of the library.
8489 hardcode_minus_L=yes
8490 export_dynamic_flag_spec='${wl}-E'
8494 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8495 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8497 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8499 if test "$with_gnu_ld" = no; then
8500 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8501 hardcode_libdir_flag_spec_ld='+b $libdir'
8502 hardcode_libdir_separator=:
8504 hardcode_direct_absolute=yes
8505 export_dynamic_flag_spec='${wl}-E'
8506 # hardcode_minus_L: Not really in the search PATH,
8507 # but as the default location of the library.
8508 hardcode_minus_L=yes
8513 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8516 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8519 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8522 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8528 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8531 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8534 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8538 if test "$with_gnu_ld" = no; then
8539 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8540 hardcode_libdir_separator=:
8545 hardcode_shlibpath_var=no
8549 hardcode_direct_absolute=yes
8550 export_dynamic_flag_spec='${wl}-E'
8552 # hardcode_minus_L: Not really in the search PATH,
8553 # but as the default location of the library.
8554 hardcode_minus_L=yes
8560 irix5* | irix6* | nonstopux*)
8561 if test "$GCC" = yes; then
8562 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'
8563 # Try to use the -exported_symbol ld option, if it does not
8564 # work, assume that -exports_file does not work either and
8565 # implicitly export all symbols.
8566 save_LDFLAGS="$LDFLAGS"
8567 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8568 if test x$gcc_no_link = xyes; then
8569 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8570 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8571 { (exit 1); exit 1; }; }
8573 cat >conftest.$ac_ext <<_ACEOF
8576 rm -f conftest.$ac_objext conftest$ac_exeext
8577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8578 (eval $ac_link) 2>conftest.er1
8580 grep -v '^ *+' conftest.er1 >conftest.err
8582 cat conftest.err >&5
8583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8584 (exit $ac_status); } &&
8585 { ac_try='test -z "$ac_c_werror_flag"
8586 || test ! -s conftest.err'
8587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8591 (exit $ac_status); }; } &&
8592 { ac_try='test -s conftest$ac_exeext'
8593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8597 (exit $ac_status); }; }; then
8598 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'
8601 echo "$as_me: failed program was:" >&5
8602 sed 's/^/| /' conftest.$ac_ext >&5
8605 rm -f conftest.err conftest.$ac_objext \
8606 conftest$ac_exeext conftest.$ac_ext
8607 LDFLAGS="$save_LDFLAGS"
8609 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'
8610 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'
8612 archive_cmds_need_lc='no'
8613 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8614 hardcode_libdir_separator=:
8616 link_all_deplibs=yes
8620 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8621 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8623 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8625 hardcode_libdir_flag_spec='-R$libdir'
8627 hardcode_shlibpath_var=no
8631 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8633 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8634 hardcode_libdir_separator=:
8635 hardcode_shlibpath_var=no
8642 if test -f /usr/libexec/ld.so; then
8644 hardcode_shlibpath_var=no
8645 hardcode_direct_absolute=yes
8646 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8647 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8648 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8649 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8650 export_dynamic_flag_spec='${wl}-E'
8653 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8654 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8655 hardcode_libdir_flag_spec='-R$libdir'
8658 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8659 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8669 hardcode_libdir_flag_spec='-L$libdir'
8670 hardcode_minus_L=yes
8671 allow_undefined_flag=unsupported
8672 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'
8673 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8677 if test "$GCC" = yes; then
8678 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8679 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'
8681 allow_undefined_flag=' -expect_unresolved \*'
8682 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'
8684 archive_cmds_need_lc='no'
8685 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8686 hardcode_libdir_separator=:
8689 osf4* | osf5*) # as osf3* with the addition of -msym flag
8690 if test "$GCC" = yes; then
8691 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8692 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'
8693 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8695 allow_undefined_flag=' -expect_unresolved \*'
8696 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'
8697 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~
8698 $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'
8700 # Both c and cxx compiler support -rpath directly
8701 hardcode_libdir_flag_spec='-rpath $libdir'
8703 archive_cmds_need_lc='no'
8704 hardcode_libdir_separator=:
8708 no_undefined_flag=' -z defs'
8709 if test "$GCC" = yes; then
8711 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8712 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8713 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8715 case `$CC -V 2>&1` in
8718 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8719 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8720 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8724 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8725 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8726 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8730 hardcode_libdir_flag_spec='-R$libdir'
8731 hardcode_shlibpath_var=no
8733 solaris2.[0-5] | solaris2.[0-5].*) ;;
8735 # The compiler driver will combine and reorder linker options,
8736 # but understands `-z linker_flag'. GCC discards it without `$wl',
8737 # but is careful enough not to reorder.
8738 # Supported since Solaris 2.6 (maybe 2.5.1?)
8739 if test "$GCC" = yes; then
8740 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8742 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8746 link_all_deplibs=yes
8750 if test "x$host_vendor" = xsequent; then
8751 # Use $CC to link under sequent, because it throws in some extra .o
8752 # files that make .init and .fini sections work.
8753 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8755 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8757 hardcode_libdir_flag_spec='-L$libdir'
8759 hardcode_minus_L=yes
8760 hardcode_shlibpath_var=no
8764 case $host_vendor in
8766 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8767 hardcode_direct=yes # is this really true???
8770 ## LD is ld it makes a PLAMLIB
8771 ## CC just makes a GrossModule.
8772 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8773 reload_cmds='$CC -r -o $output$reload_objs'
8777 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8778 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8781 runpath_var='LD_RUN_PATH'
8782 hardcode_shlibpath_var=no
8786 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8787 hardcode_shlibpath_var=no
8788 export_dynamic_flag_spec='-Bexport'
8792 if test -d /usr/nec; then
8793 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8794 hardcode_shlibpath_var=no
8795 runpath_var=LD_RUN_PATH
8796 hardcode_runpath_var=yes
8801 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8802 no_undefined_flag='${wl}-z,text'
8803 archive_cmds_need_lc=no
8804 hardcode_shlibpath_var=no
8805 runpath_var='LD_RUN_PATH'
8807 if test "$GCC" = yes; then
8808 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8809 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8811 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8812 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8816 sysv5* | sco3.2v5* | sco5v6*)
8817 # Note: We can NOT use -z defs as we might desire, because we do not
8818 # link with -lc, and that would cause any symbols used from libc to
8819 # always be unresolved, which means just about no library would
8820 # ever link correctly. If we're not using GNU ld we use -z text
8821 # though, which does catch some bad symbols but isn't as heavy-handed
8823 no_undefined_flag='${wl}-z,text'
8824 allow_undefined_flag='${wl}-z,nodefs'
8825 archive_cmds_need_lc=no
8826 hardcode_shlibpath_var=no
8827 hardcode_libdir_flag_spec='${wl}-R,$libdir'
8828 hardcode_libdir_separator=':'
8829 link_all_deplibs=yes
8830 export_dynamic_flag_spec='${wl}-Bexport'
8831 runpath_var='LD_RUN_PATH'
8833 if test "$GCC" = yes; then
8834 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8835 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8837 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8838 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8843 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8844 hardcode_libdir_flag_spec='-L$libdir'
8845 hardcode_shlibpath_var=no
8853 if test x$host_vendor = xsni; then
8855 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8856 export_dynamic_flag_spec='${wl}-Blargedynsym'
8862 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8863 echo "${ECHO_T}$ld_shlibs" >&6
8864 test "$ld_shlibs" = no && can_build_shared=no
8866 with_gnu_ld=$with_gnu_ld
8883 # Do we need to explicitly link libc?
8885 case "x$archive_cmds_need_lc" in
8887 # Assume -lc should be added
8888 archive_cmds_need_lc=yes
8890 if test "$enable_shared" = yes && test "$GCC" = yes; then
8891 case $archive_cmds in
8893 # FIXME: we may have to deal with multi-command sequences.
8896 # Test whether the compiler implicitly links with -lc since on some
8897 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8898 # to ld, don't add -lc before -lgcc.
8899 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8900 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
8902 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8905 (eval $ac_compile) 2>&5
8907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8908 (exit $ac_status); } 2>conftest.err; then
8911 libobjs=conftest.$ac_objext
8913 wl=$lt_prog_compiler_wl
8914 pic_flag=$lt_prog_compiler_pic
8920 lt_save_allow_undefined_flag=$allow_undefined_flag
8921 allow_undefined_flag=
8922 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
8923 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
8925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8926 (exit $ac_status); }
8928 archive_cmds_need_lc=no
8930 archive_cmds_need_lc=yes
8932 allow_undefined_flag=$lt_save_allow_undefined_flag
8934 cat conftest.err 1>&5
8937 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8938 echo "${ECHO_T}$archive_cmds_need_lc" >&6
9101 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9102 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
9104 if test "$GCC" = yes; then
9106 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9107 *) lt_awk_arg="/^libraries:/" ;;
9109 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9110 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9111 # if the path contains ";" then we assume it to be the separator
9112 # otherwise default to the standard path separator (i.e. ":") - it is
9113 # assumed that no part of a normal pathname contains ";" but that should
9114 # okay in the real world where ";" in dirpaths is itself problematic.
9115 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9117 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9119 # Ok, now we have the path, separated by spaces, we can step through it
9120 # and add multilib dir if necessary.
9121 lt_tmp_lt_search_path_spec=
9122 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9123 for lt_sys_path in $lt_search_path_spec; do
9124 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9125 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9127 test -d "$lt_sys_path" && \
9128 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9131 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9132 BEGIN {RS=" "; FS="/|\n";} {
9135 for (lt_i = NF; lt_i > 0; lt_i--) {
9136 if ($lt_i != "" && $lt_i != ".") {
9137 if ($lt_i == "..") {
9140 if (lt_count == 0) {
9141 lt_foo="/" $lt_i lt_foo;
9148 if (lt_foo != "") { lt_freq[lt_foo]++; }
9149 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9151 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9153 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9156 libname_spec='lib$name'
9164 shlibpath_overrides_runpath=unknown
9166 dynamic_linker="$host_os ld.so"
9167 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9168 need_lib_prefix=unknown
9169 hardcode_into_libs=no
9171 # when you set need_version to no, make sure it does not cause -set_version
9172 # flags to be left without arguments
9173 need_version=unknown
9178 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9179 shlibpath_var=LIBPATH
9181 # AIX 3 has no versioning support, so we append a major version to the name.
9182 soname_spec='${libname}${release}${shared_ext}$major'
9189 hardcode_into_libs=yes
9190 if test "$host_cpu" = ia64; then
9191 # AIX 5 supports IA64
9192 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9193 shlibpath_var=LD_LIBRARY_PATH
9195 # With GCC up to 2.95.x, collect2 would create an import file
9196 # for dependence libraries. The import file would start with
9197 # the line `#! .'. This would cause the generated library to
9198 # depend on `.', always an invalid library. This was fixed in
9199 # development snapshots of GCC prior to 3.0.
9201 aix4 | aix4.[01] | aix4.[01].*)
9202 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9204 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9211 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9212 # soname into executable. Probably we can add versioning support to
9213 # collect2, so additional links can be useful in future.
9214 if test "$aix_use_runtimelinking" = yes; then
9215 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9216 # instead of lib<name>.a to let people know that these are not
9217 # typical AIX shared libraries.
9218 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9220 # We preserve .a as extension for shared libraries through AIX4.2
9221 # and later when we are not doing run time linking.
9222 library_names_spec='${libname}${release}.a $libname.a'
9223 soname_spec='${libname}${release}${shared_ext}$major'
9225 shlibpath_var=LIBPATH
9232 # Since July 2007 AmigaOS4 officially supports .so libraries.
9233 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9234 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9237 library_names_spec='$libname.ixlibrary $libname.a'
9238 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9239 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'
9245 library_names_spec='${libname}${shared_ext}'
9246 dynamic_linker="$host_os ld.so"
9247 shlibpath_var=LIBRARY_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'
9255 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9256 shlibpath_var=LD_LIBRARY_PATH
9257 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9258 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9259 # the default ld.so.conf also contains /usr/contrib/lib and
9260 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9261 # libtool to hard-code these into programs
9264 cygwin* | mingw* | pw32* | cegcc*)
9265 version_type=windows
9270 case $GCC,$host_os in
9271 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9272 library_names_spec='$libname.dll.a'
9273 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9274 postinstall_cmds='base_file=`basename \${file}`~
9275 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9276 dldir=$destdir/`dirname \$dlpath`~
9277 test -d \$dldir || mkdir -p \$dldir~
9278 $install_prog $dir/$dlname \$dldir/$dlname~
9279 chmod a+x \$dldir/$dlname~
9280 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9281 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9283 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9284 dlpath=$dir/\$dldll~
9286 shlibpath_overrides_runpath=yes
9290 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9291 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9292 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9295 # MinGW DLLs use traditional 'lib' prefix
9296 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9297 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9298 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9299 # It is most probably a Windows format PATH printed by
9300 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9301 # path with ; separators, and with drive letters. We can handle the
9302 # drive letters (cygwin fileutils understands them), so leave them,
9303 # especially as we might pass files found there to a mingw objdump,
9304 # which wouldn't understand a cygwinified path. Ahh.
9305 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9307 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9311 # pw32 DLLs use 'pw' prefix rather than 'lib'
9312 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9318 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9321 dynamic_linker='Win32 ld.exe'
9322 # FIXME: first we should search . and the directory the executable is in
9326 darwin* | rhapsody*)
9327 dynamic_linker="$host_os dyld"
9331 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9332 soname_spec='${libname}${release}${major}$shared_ext'
9333 shlibpath_overrides_runpath=yes
9334 shlibpath_var=DYLD_LIBRARY_PATH
9335 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9337 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9338 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9345 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9346 soname_spec='${libname}${release}${shared_ext}$major'
9347 shlibpath_var=LD_LIBRARY_PATH
9354 freebsd* | dragonfly*)
9355 # DragonFly does not have aout. When/if they implement a new
9356 # versioning mechanism, adjust this.
9357 if test -x /usr/bin/objformat; then
9358 objformat=`/usr/bin/objformat`
9361 freebsd[123]*) objformat=aout ;;
9365 version_type=freebsd-$objformat
9366 case $version_type in
9368 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9373 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9377 shlibpath_var=LD_LIBRARY_PATH
9380 shlibpath_overrides_runpath=yes
9382 freebsd3.[01]* | freebsdelf3.[01]*)
9383 shlibpath_overrides_runpath=yes
9384 hardcode_into_libs=yes
9386 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9387 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9388 shlibpath_overrides_runpath=no
9389 hardcode_into_libs=yes
9391 *) # from 4.6 on, and DragonFly
9392 shlibpath_overrides_runpath=yes
9393 hardcode_into_libs=yes
9402 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9403 soname_spec='${libname}${release}${shared_ext}$major'
9404 shlibpath_var=LD_LIBRARY_PATH
9405 hardcode_into_libs=yes
9408 hpux9* | hpux10* | hpux11*)
9409 # Give a soname corresponding to the major version so that dld.sl refuses to
9410 # link against other versions.
9417 hardcode_into_libs=yes
9418 dynamic_linker="$host_os dld.so"
9419 shlibpath_var=LD_LIBRARY_PATH
9420 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9421 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9422 soname_spec='${libname}${release}${shared_ext}$major'
9423 if test "X$HPUX_IA64_MODE" = X32; then
9424 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9426 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9428 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9432 hardcode_into_libs=yes
9433 dynamic_linker="$host_os dld.sl"
9434 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9435 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9436 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9437 soname_spec='${libname}${release}${shared_ext}$major'
9438 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9439 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9443 dynamic_linker="$host_os dld.sl"
9444 shlibpath_var=SHLIB_PATH
9445 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9446 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9447 soname_spec='${libname}${release}${shared_ext}$major'
9450 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9451 postinstall_cmds='chmod 555 $lib'
9458 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9459 soname_spec='${libname}${release}${shared_ext}$major'
9460 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9461 shlibpath_var=LD_LIBRARY_PATH
9462 shlibpath_overrides_runpath=no
9463 hardcode_into_libs=yes
9466 irix5* | irix6* | nonstopux*)
9468 nonstopux*) version_type=nonstopux ;;
9470 if test "$lt_cv_prog_gnu_ld" = yes; then
9478 soname_spec='${libname}${release}${shared_ext}$major'
9479 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9481 irix5* | nonstopux*)
9485 case $LD in # libtool.m4 will add one of these switches to LD
9486 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9487 libsuff= shlibsuff= libmagic=32-bit;;
9488 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9489 libsuff=32 shlibsuff=N32 libmagic=N32;;
9490 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9491 libsuff=64 shlibsuff=64 libmagic=64-bit;;
9492 *) libsuff= shlibsuff= libmagic=never-match;;
9496 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9497 shlibpath_overrides_runpath=no
9498 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9499 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9500 hardcode_into_libs=yes
9503 # No shared lib support for Linux oldld, aout, or coff.
9504 linux*oldld* | linux*aout* | linux*coff*)
9508 # This must be Linux ELF.
9509 linux* | k*bsd*-gnu)
9513 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9514 soname_spec='${libname}${release}${shared_ext}$major'
9515 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9516 shlibpath_var=LD_LIBRARY_PATH
9517 shlibpath_overrides_runpath=no
9518 # Some binutils ld are patched to set DT_RUNPATH
9519 save_LDFLAGS=$LDFLAGS
9521 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9522 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9523 if test x$gcc_no_link = xyes; then
9524 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9525 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9526 { (exit 1); exit 1; }; }
9528 cat >conftest.$ac_ext <<_ACEOF
9531 cat confdefs.h >>conftest.$ac_ext
9532 cat >>conftest.$ac_ext <<_ACEOF
9533 /* end confdefs.h. */
9543 rm -f conftest.$ac_objext conftest$ac_exeext
9544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9545 (eval $ac_link) 2>conftest.er1
9547 grep -v '^ *+' conftest.er1 >conftest.err
9549 cat conftest.err >&5
9550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9551 (exit $ac_status); } &&
9552 { ac_try='test -z "$ac_c_werror_flag"
9553 || test ! -s conftest.err'
9554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9558 (exit $ac_status); }; } &&
9559 { ac_try='test -s conftest$ac_exeext'
9560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9564 (exit $ac_status); }; }; then
9565 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
9566 shlibpath_overrides_runpath=yes
9570 echo "$as_me: failed program was:" >&5
9571 sed 's/^/| /' conftest.$ac_ext >&5
9574 rm -f conftest.err conftest.$ac_objext \
9575 conftest$ac_exeext conftest.$ac_ext
9576 LDFLAGS=$save_LDFLAGS
9579 # This implies no fast_install, which is unacceptable.
9580 # Some rework will be needed to allow for fast_install
9581 # before this can be enabled.
9582 hardcode_into_libs=yes
9584 # Append ld.so.conf contents to the search path
9585 if test -f /etc/ld.so.conf; then
9586 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9587 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9590 # We used to test for /lib/ld.so.1 and disable shared libraries on
9591 # powerpc, because MkLinux only supported shared libraries with the
9592 # GNU dynamic linker. Since this was broken with cross compilers,
9593 # most powerpc-linux boxes support dynamic linking these days and
9594 # people can always --disable-shared, the test was removed, and we
9595 # assume the GNU/Linux dynamic linker is in use.
9596 dynamic_linker='GNU/Linux ld.so'
9603 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9604 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9605 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9606 dynamic_linker='NetBSD (a.out) ld.so'
9608 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9609 soname_spec='${libname}${release}${shared_ext}$major'
9610 dynamic_linker='NetBSD ld.elf_so'
9612 shlibpath_var=LD_LIBRARY_PATH
9613 shlibpath_overrides_runpath=yes
9614 hardcode_into_libs=yes
9619 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9620 shlibpath_var=LD_LIBRARY_PATH
9621 shlibpath_overrides_runpath=yes
9628 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9629 soname_spec='${libname}${release}${shared_ext}$major'
9630 shlibpath_var=LD_LIBRARY_PATH
9631 shlibpath_overrides_runpath=no
9632 hardcode_into_libs=yes
9633 dynamic_linker='ldqnx.so'
9638 sys_lib_dlsearch_path_spec="/usr/lib"
9640 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9642 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9643 *) need_version=no ;;
9645 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9646 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9647 shlibpath_var=LD_LIBRARY_PATH
9648 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9650 openbsd2.[89] | openbsd2.[89].*)
9651 shlibpath_overrides_runpath=no
9654 shlibpath_overrides_runpath=yes
9658 shlibpath_overrides_runpath=yes
9663 libname_spec='$name'
9666 library_names_spec='$libname${shared_ext} $libname.a'
9667 dynamic_linker='OS/2 ld.exe'
9668 shlibpath_var=LIBPATH
9671 osf3* | osf4* | osf5*)
9675 soname_spec='${libname}${release}${shared_ext}$major'
9676 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9677 shlibpath_var=LD_LIBRARY_PATH
9678 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9679 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9690 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9691 soname_spec='${libname}${release}${shared_ext}$major'
9692 shlibpath_var=LD_LIBRARY_PATH
9693 shlibpath_overrides_runpath=yes
9694 hardcode_into_libs=yes
9695 # ldd complains unless libraries are executable
9696 postinstall_cmds='chmod +x $lib'
9701 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9702 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9703 shlibpath_var=LD_LIBRARY_PATH
9704 shlibpath_overrides_runpath=yes
9705 if test "$with_gnu_ld" = yes; then
9713 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9714 soname_spec='${libname}${release}${shared_ext}$major'
9715 shlibpath_var=LD_LIBRARY_PATH
9716 case $host_vendor in
9718 shlibpath_overrides_runpath=no
9720 runpath_var=LD_RUN_PATH
9728 shlibpath_overrides_runpath=no
9729 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9735 if test -d /usr/nec ;then
9737 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9738 soname_spec='$libname${shared_ext}.$major'
9739 shlibpath_var=LD_LIBRARY_PATH
9743 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9744 version_type=freebsd-elf
9747 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9748 soname_spec='${libname}${release}${shared_ext}$major'
9749 shlibpath_var=LD_LIBRARY_PATH
9750 shlibpath_overrides_runpath=yes
9751 hardcode_into_libs=yes
9752 if test "$with_gnu_ld" = yes; then
9753 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9755 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9758 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9762 sys_lib_dlsearch_path_spec='/usr/lib'
9766 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9770 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9771 shlibpath_var=LD_LIBRARY_PATH
9772 shlibpath_overrides_runpath=no
9773 hardcode_into_libs=yes
9778 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9779 soname_spec='${libname}${release}${shared_ext}$major'
9780 shlibpath_var=LD_LIBRARY_PATH
9787 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9788 echo "${ECHO_T}$dynamic_linker" >&6
9789 test "$dynamic_linker" = no && can_build_shared=no
9791 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9792 if test "$GCC" = yes; then
9793 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9796 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9797 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
9799 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9800 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
9889 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9890 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
9892 if test -n "$hardcode_libdir_flag_spec" ||
9893 test -n "$runpath_var" ||
9894 test "X$hardcode_automatic" = "Xyes" ; then
9896 # We can hardcode non-existent directories.
9897 if test "$hardcode_direct" != no &&
9898 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9899 # have to relink, otherwise we might link with an installed library
9900 # when we should be linking with a yet-to-be-installed one
9901 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9902 test "$hardcode_minus_L" != no; then
9903 # Linking always hardcodes the temporary library directory.
9904 hardcode_action=relink
9906 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9907 hardcode_action=immediate
9910 # We cannot hardcode anything, or else we can only hardcode existing
9912 hardcode_action=unsupported
9914 echo "$as_me:$LINENO: result: $hardcode_action" >&5
9915 echo "${ECHO_T}$hardcode_action" >&6
9917 if test "$hardcode_action" = relink ||
9918 test "$inherit_rpath" = yes; then
9919 # Fast installation is not supported
9920 enable_fast_install=no
9921 elif test "$shlibpath_overrides_runpath" = yes ||
9922 test "$enable_shared" = no; then
9923 # Fast installation is not necessary
9924 enable_fast_install=needless
9932 if test "x$enable_dlopen" != xyes; then
9933 enable_dlopen=unknown
9934 enable_dlopen_self=unknown
9935 enable_dlopen_self_static=unknown
9942 lt_cv_dlopen="load_add_on"
9944 lt_cv_dlopen_self=yes
9947 mingw* | pw32* | cegcc*)
9948 lt_cv_dlopen="LoadLibrary"
9953 lt_cv_dlopen="dlopen"
9958 # if libdl is installed we need to link against it
9959 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9960 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9961 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9962 echo $ECHO_N "(cached) $ECHO_C" >&6
9964 ac_check_lib_save_LIBS=$LIBS
9966 if test x$gcc_no_link = xyes; then
9967 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9968 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9969 { (exit 1); exit 1; }; }
9971 cat >conftest.$ac_ext <<_ACEOF
9974 cat confdefs.h >>conftest.$ac_ext
9975 cat >>conftest.$ac_ext <<_ACEOF
9976 /* end confdefs.h. */
9978 /* Override any gcc2 internal prototype to avoid an error. */
9982 /* We use char because int might match the return type of a gcc2
9983 builtin and then its argument prototype would still apply. */
9993 rm -f conftest.$ac_objext conftest$ac_exeext
9994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9995 (eval $ac_link) 2>conftest.er1
9997 grep -v '^ *+' conftest.er1 >conftest.err
9999 cat conftest.err >&5
10000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10001 (exit $ac_status); } &&
10002 { ac_try='test -z "$ac_c_werror_flag"
10003 || test ! -s conftest.err'
10004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10005 (eval $ac_try) 2>&5
10007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10008 (exit $ac_status); }; } &&
10009 { ac_try='test -s conftest$ac_exeext'
10010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10011 (eval $ac_try) 2>&5
10013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10014 (exit $ac_status); }; }; then
10015 ac_cv_lib_dl_dlopen=yes
10017 echo "$as_me: failed program was:" >&5
10018 sed 's/^/| /' conftest.$ac_ext >&5
10020 ac_cv_lib_dl_dlopen=no
10022 rm -f conftest.err conftest.$ac_objext \
10023 conftest$ac_exeext conftest.$ac_ext
10024 LIBS=$ac_check_lib_save_LIBS
10026 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10027 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10028 if test $ac_cv_lib_dl_dlopen = yes; then
10029 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10032 lt_cv_dlopen="dyld"
10034 lt_cv_dlopen_self=yes
10041 echo "$as_me:$LINENO: checking for shl_load" >&5
10042 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
10043 if test "${ac_cv_func_shl_load+set}" = set; then
10044 echo $ECHO_N "(cached) $ECHO_C" >&6
10046 if test x$gcc_no_link = xyes; then
10047 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10048 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10049 { (exit 1); exit 1; }; }
10051 cat >conftest.$ac_ext <<_ACEOF
10054 cat confdefs.h >>conftest.$ac_ext
10055 cat >>conftest.$ac_ext <<_ACEOF
10056 /* end confdefs.h. */
10057 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10058 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10059 #define shl_load innocuous_shl_load
10061 /* System header to define __stub macros and hopefully few prototypes,
10062 which can conflict with char shl_load (); below.
10063 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10064 <limits.h> exists even on freestanding compilers. */
10067 # include <limits.h>
10069 # include <assert.h>
10074 /* Override any gcc2 internal prototype to avoid an error. */
10079 /* We use char because int might match the return type of a gcc2
10080 builtin and then its argument prototype would still apply. */
10082 /* The GNU C library defines this for functions which it implements
10083 to always fail with ENOSYS. Some functions are actually named
10084 something starting with __ and the normal name is an alias. */
10085 #if defined (__stub_shl_load) || defined (__stub___shl_load)
10088 char (*f) () = shl_load;
10097 return f != shl_load;
10102 rm -f conftest.$ac_objext conftest$ac_exeext
10103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10104 (eval $ac_link) 2>conftest.er1
10106 grep -v '^ *+' conftest.er1 >conftest.err
10108 cat conftest.err >&5
10109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10110 (exit $ac_status); } &&
10111 { ac_try='test -z "$ac_c_werror_flag"
10112 || test ! -s conftest.err'
10113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10114 (eval $ac_try) 2>&5
10116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10117 (exit $ac_status); }; } &&
10118 { ac_try='test -s conftest$ac_exeext'
10119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10120 (eval $ac_try) 2>&5
10122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10123 (exit $ac_status); }; }; then
10124 ac_cv_func_shl_load=yes
10126 echo "$as_me: failed program was:" >&5
10127 sed 's/^/| /' conftest.$ac_ext >&5
10129 ac_cv_func_shl_load=no
10131 rm -f conftest.err conftest.$ac_objext \
10132 conftest$ac_exeext conftest.$ac_ext
10134 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10135 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
10136 if test $ac_cv_func_shl_load = yes; then
10137 lt_cv_dlopen="shl_load"
10139 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10140 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
10141 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10142 echo $ECHO_N "(cached) $ECHO_C" >&6
10144 ac_check_lib_save_LIBS=$LIBS
10146 if test x$gcc_no_link = xyes; then
10147 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10148 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10149 { (exit 1); exit 1; }; }
10151 cat >conftest.$ac_ext <<_ACEOF
10154 cat confdefs.h >>conftest.$ac_ext
10155 cat >>conftest.$ac_ext <<_ACEOF
10156 /* end confdefs.h. */
10158 /* Override any gcc2 internal prototype to avoid an error. */
10162 /* We use char because int might match the return type of a gcc2
10163 builtin and then its argument prototype would still apply. */
10173 rm -f conftest.$ac_objext conftest$ac_exeext
10174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10175 (eval $ac_link) 2>conftest.er1
10177 grep -v '^ *+' conftest.er1 >conftest.err
10179 cat conftest.err >&5
10180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10181 (exit $ac_status); } &&
10182 { ac_try='test -z "$ac_c_werror_flag"
10183 || test ! -s conftest.err'
10184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10185 (eval $ac_try) 2>&5
10187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10188 (exit $ac_status); }; } &&
10189 { ac_try='test -s conftest$ac_exeext'
10190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10191 (eval $ac_try) 2>&5
10193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10194 (exit $ac_status); }; }; then
10195 ac_cv_lib_dld_shl_load=yes
10197 echo "$as_me: failed program was:" >&5
10198 sed 's/^/| /' conftest.$ac_ext >&5
10200 ac_cv_lib_dld_shl_load=no
10202 rm -f conftest.err conftest.$ac_objext \
10203 conftest$ac_exeext conftest.$ac_ext
10204 LIBS=$ac_check_lib_save_LIBS
10206 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10207 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
10208 if test $ac_cv_lib_dld_shl_load = yes; then
10209 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10211 echo "$as_me:$LINENO: checking for dlopen" >&5
10212 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
10213 if test "${ac_cv_func_dlopen+set}" = set; then
10214 echo $ECHO_N "(cached) $ECHO_C" >&6
10216 if test x$gcc_no_link = xyes; then
10217 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10218 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10219 { (exit 1); exit 1; }; }
10221 cat >conftest.$ac_ext <<_ACEOF
10224 cat confdefs.h >>conftest.$ac_ext
10225 cat >>conftest.$ac_ext <<_ACEOF
10226 /* end confdefs.h. */
10227 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10228 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10229 #define dlopen innocuous_dlopen
10231 /* System header to define __stub macros and hopefully few prototypes,
10232 which can conflict with char dlopen (); below.
10233 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10234 <limits.h> exists even on freestanding compilers. */
10237 # include <limits.h>
10239 # include <assert.h>
10244 /* Override any gcc2 internal prototype to avoid an error. */
10249 /* We use char because int might match the return type of a gcc2
10250 builtin and then its argument prototype would still apply. */
10252 /* The GNU C library defines this for functions which it implements
10253 to always fail with ENOSYS. Some functions are actually named
10254 something starting with __ and the normal name is an alias. */
10255 #if defined (__stub_dlopen) || defined (__stub___dlopen)
10258 char (*f) () = dlopen;
10267 return f != dlopen;
10272 rm -f conftest.$ac_objext conftest$ac_exeext
10273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10274 (eval $ac_link) 2>conftest.er1
10276 grep -v '^ *+' conftest.er1 >conftest.err
10278 cat conftest.err >&5
10279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10280 (exit $ac_status); } &&
10281 { ac_try='test -z "$ac_c_werror_flag"
10282 || test ! -s conftest.err'
10283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10284 (eval $ac_try) 2>&5
10286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10287 (exit $ac_status); }; } &&
10288 { ac_try='test -s conftest$ac_exeext'
10289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10290 (eval $ac_try) 2>&5
10292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10293 (exit $ac_status); }; }; then
10294 ac_cv_func_dlopen=yes
10296 echo "$as_me: failed program was:" >&5
10297 sed 's/^/| /' conftest.$ac_ext >&5
10299 ac_cv_func_dlopen=no
10301 rm -f conftest.err conftest.$ac_objext \
10302 conftest$ac_exeext conftest.$ac_ext
10304 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10305 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
10306 if test $ac_cv_func_dlopen = yes; then
10307 lt_cv_dlopen="dlopen"
10309 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10310 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10311 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10312 echo $ECHO_N "(cached) $ECHO_C" >&6
10314 ac_check_lib_save_LIBS=$LIBS
10316 if test x$gcc_no_link = xyes; then
10317 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10318 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10319 { (exit 1); exit 1; }; }
10321 cat >conftest.$ac_ext <<_ACEOF
10324 cat confdefs.h >>conftest.$ac_ext
10325 cat >>conftest.$ac_ext <<_ACEOF
10326 /* end confdefs.h. */
10328 /* Override any gcc2 internal prototype to avoid an error. */
10332 /* We use char because int might match the return type of a gcc2
10333 builtin and then its argument prototype would still apply. */
10343 rm -f conftest.$ac_objext conftest$ac_exeext
10344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10345 (eval $ac_link) 2>conftest.er1
10347 grep -v '^ *+' conftest.er1 >conftest.err
10349 cat conftest.err >&5
10350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10351 (exit $ac_status); } &&
10352 { ac_try='test -z "$ac_c_werror_flag"
10353 || test ! -s conftest.err'
10354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10355 (eval $ac_try) 2>&5
10357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10358 (exit $ac_status); }; } &&
10359 { ac_try='test -s conftest$ac_exeext'
10360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10361 (eval $ac_try) 2>&5
10363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10364 (exit $ac_status); }; }; then
10365 ac_cv_lib_dl_dlopen=yes
10367 echo "$as_me: failed program was:" >&5
10368 sed 's/^/| /' conftest.$ac_ext >&5
10370 ac_cv_lib_dl_dlopen=no
10372 rm -f conftest.err conftest.$ac_objext \
10373 conftest$ac_exeext conftest.$ac_ext
10374 LIBS=$ac_check_lib_save_LIBS
10376 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10377 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10378 if test $ac_cv_lib_dl_dlopen = yes; then
10379 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10381 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10382 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
10383 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10384 echo $ECHO_N "(cached) $ECHO_C" >&6
10386 ac_check_lib_save_LIBS=$LIBS
10387 LIBS="-lsvld $LIBS"
10388 if test x$gcc_no_link = xyes; then
10389 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10390 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10391 { (exit 1); exit 1; }; }
10393 cat >conftest.$ac_ext <<_ACEOF
10396 cat confdefs.h >>conftest.$ac_ext
10397 cat >>conftest.$ac_ext <<_ACEOF
10398 /* end confdefs.h. */
10400 /* Override any gcc2 internal prototype to avoid an error. */
10404 /* We use char because int might match the return type of a gcc2
10405 builtin and then its argument prototype would still apply. */
10415 rm -f conftest.$ac_objext conftest$ac_exeext
10416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10417 (eval $ac_link) 2>conftest.er1
10419 grep -v '^ *+' conftest.er1 >conftest.err
10421 cat conftest.err >&5
10422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10423 (exit $ac_status); } &&
10424 { ac_try='test -z "$ac_c_werror_flag"
10425 || test ! -s conftest.err'
10426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10427 (eval $ac_try) 2>&5
10429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10430 (exit $ac_status); }; } &&
10431 { ac_try='test -s conftest$ac_exeext'
10432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10433 (eval $ac_try) 2>&5
10435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10436 (exit $ac_status); }; }; then
10437 ac_cv_lib_svld_dlopen=yes
10439 echo "$as_me: failed program was:" >&5
10440 sed 's/^/| /' conftest.$ac_ext >&5
10442 ac_cv_lib_svld_dlopen=no
10444 rm -f conftest.err conftest.$ac_objext \
10445 conftest$ac_exeext conftest.$ac_ext
10446 LIBS=$ac_check_lib_save_LIBS
10448 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10449 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
10450 if test $ac_cv_lib_svld_dlopen = yes; then
10451 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10453 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10454 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
10455 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10456 echo $ECHO_N "(cached) $ECHO_C" >&6
10458 ac_check_lib_save_LIBS=$LIBS
10460 if test x$gcc_no_link = xyes; then
10461 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10462 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10463 { (exit 1); exit 1; }; }
10465 cat >conftest.$ac_ext <<_ACEOF
10468 cat confdefs.h >>conftest.$ac_ext
10469 cat >>conftest.$ac_ext <<_ACEOF
10470 /* end confdefs.h. */
10472 /* Override any gcc2 internal prototype to avoid an error. */
10476 /* We use char because int might match the return type of a gcc2
10477 builtin and then its argument prototype would still apply. */
10487 rm -f conftest.$ac_objext conftest$ac_exeext
10488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10489 (eval $ac_link) 2>conftest.er1
10491 grep -v '^ *+' conftest.er1 >conftest.err
10493 cat conftest.err >&5
10494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10495 (exit $ac_status); } &&
10496 { ac_try='test -z "$ac_c_werror_flag"
10497 || test ! -s conftest.err'
10498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10499 (eval $ac_try) 2>&5
10501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10502 (exit $ac_status); }; } &&
10503 { ac_try='test -s conftest$ac_exeext'
10504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10505 (eval $ac_try) 2>&5
10507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10508 (exit $ac_status); }; }; then
10509 ac_cv_lib_dld_dld_link=yes
10511 echo "$as_me: failed program was:" >&5
10512 sed 's/^/| /' conftest.$ac_ext >&5
10514 ac_cv_lib_dld_dld_link=no
10516 rm -f conftest.err conftest.$ac_objext \
10517 conftest$ac_exeext conftest.$ac_ext
10518 LIBS=$ac_check_lib_save_LIBS
10520 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10521 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
10522 if test $ac_cv_lib_dld_dld_link = yes; then
10523 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10544 if test "x$lt_cv_dlopen" != xno; then
10550 case $lt_cv_dlopen in
10552 save_CPPFLAGS="$CPPFLAGS"
10553 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10555 save_LDFLAGS="$LDFLAGS"
10556 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10559 LIBS="$lt_cv_dlopen_libs $LIBS"
10561 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10562 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
10563 if test "${lt_cv_dlopen_self+set}" = set; then
10564 echo $ECHO_N "(cached) $ECHO_C" >&6
10566 if test "$cross_compiling" = yes; then :
10567 lt_cv_dlopen_self=cross
10569 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10570 lt_status=$lt_dlunknown
10571 cat > conftest.$ac_ext <<_LT_EOF
10572 #line 10572 "configure"
10573 #include "confdefs.h"
10582 # define LT_DLGLOBAL RTLD_GLOBAL
10585 # define LT_DLGLOBAL DL_GLOBAL
10587 # define LT_DLGLOBAL 0
10591 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10592 find out it does not work in some platform. */
10593 #ifndef LT_DLLAZY_OR_NOW
10595 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10598 # define LT_DLLAZY_OR_NOW DL_LAZY
10601 # define LT_DLLAZY_OR_NOW RTLD_NOW
10604 # define LT_DLLAZY_OR_NOW DL_NOW
10606 # define LT_DLLAZY_OR_NOW 0
10613 void fnord() { int i=42;}
10616 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10617 int status = $lt_dlunknown;
10621 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10622 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10623 /* dlclose (self); */
10631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10632 (eval $ac_link) 2>&5
10634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10635 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10636 (./conftest; exit; ) >&5 2>/dev/null
10638 case x$lt_status in
10639 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10640 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10641 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10644 # compilation failed
10645 lt_cv_dlopen_self=no
10652 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10653 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
10655 if test "x$lt_cv_dlopen_self" = xyes; then
10656 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10657 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10658 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
10659 if test "${lt_cv_dlopen_self_static+set}" = set; then
10660 echo $ECHO_N "(cached) $ECHO_C" >&6
10662 if test "$cross_compiling" = yes; then :
10663 lt_cv_dlopen_self_static=cross
10665 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10666 lt_status=$lt_dlunknown
10667 cat > conftest.$ac_ext <<_LT_EOF
10668 #line 10668 "configure"
10669 #include "confdefs.h"
10678 # define LT_DLGLOBAL RTLD_GLOBAL
10681 # define LT_DLGLOBAL DL_GLOBAL
10683 # define LT_DLGLOBAL 0
10687 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10688 find out it does not work in some platform. */
10689 #ifndef LT_DLLAZY_OR_NOW
10691 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10694 # define LT_DLLAZY_OR_NOW DL_LAZY
10697 # define LT_DLLAZY_OR_NOW RTLD_NOW
10700 # define LT_DLLAZY_OR_NOW DL_NOW
10702 # define LT_DLLAZY_OR_NOW 0
10709 void fnord() { int i=42;}
10712 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10713 int status = $lt_dlunknown;
10717 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10718 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10719 /* dlclose (self); */
10727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10728 (eval $ac_link) 2>&5
10730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10731 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10732 (./conftest; exit; ) >&5 2>/dev/null
10734 case x$lt_status in
10735 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10736 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10737 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10740 # compilation failed
10741 lt_cv_dlopen_self_static=no
10748 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10749 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
10752 CPPFLAGS="$save_CPPFLAGS"
10753 LDFLAGS="$save_LDFLAGS"
10758 case $lt_cv_dlopen_self in
10759 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10760 *) enable_dlopen_self=unknown ;;
10763 case $lt_cv_dlopen_self_static in
10764 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10765 *) enable_dlopen_self_static=unknown ;;
10787 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10788 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
10789 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10790 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10791 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10792 echo "$as_me:$LINENO: result: yes" >&5
10793 echo "${ECHO_T}yes" >&6
10795 # FIXME - insert some real tests, host_os isn't really good enough
10798 if test -n "$STRIP" ; then
10799 striplib="$STRIP -x"
10800 old_striplib="$STRIP -S"
10801 echo "$as_me:$LINENO: result: yes" >&5
10802 echo "${ECHO_T}yes" >&6
10804 echo "$as_me:$LINENO: result: no" >&5
10805 echo "${ECHO_T}no" >&6
10809 echo "$as_me:$LINENO: result: no" >&5
10810 echo "${ECHO_T}no" >&6
10826 # Report which library types will actually be built
10827 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10828 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10829 echo "$as_me:$LINENO: result: $can_build_shared" >&5
10830 echo "${ECHO_T}$can_build_shared" >&6
10832 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10833 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10834 test "$can_build_shared" = "no" && enable_shared=no
10836 # On AIX, shared libraries and static libraries use the same namespace, and
10837 # are all built from PIC.
10840 test "$enable_shared" = yes && enable_static=no
10841 if test -n "$RANLIB"; then
10842 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10843 postinstall_cmds='$RANLIB $lib'
10848 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10849 test "$enable_shared" = yes && enable_static=no
10853 echo "$as_me:$LINENO: result: $enable_shared" >&5
10854 echo "${ECHO_T}$enable_shared" >&6
10856 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10857 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10858 # Make sure either enable_shared or enable_static is yes.
10859 test "$enable_shared" = yes || enable_static=yes
10860 echo "$as_me:$LINENO: result: $enable_static" >&5
10861 echo "${ECHO_T}$enable_static" >&6
10868 ac_cpp='$CPP $CPPFLAGS'
10869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10887 ac_config_commands="$ac_config_commands libtool"
10892 # Only expand once:
10898 # Calculate toolexeclibdir
10899 # Also toolexecdir, though it's only used in toolexeclibdir
10900 case ${version_specific_libs} in
10902 # Need the gcc compiler version to know where to install libraries
10903 # and header files if --enable-version-specific-runtime-libs option
10905 toolexecdir='$(libdir)/gcc/$(target_alias)'
10906 toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
10909 if test -n "$with_cross_host" &&
10910 test x"$with_cross_host" != x"no"; then
10911 # Install a library built with a cross compiler in tooldir, not libdir.
10912 toolexecdir='$(exec_prefix)/$(target_alias)'
10913 toolexeclibdir='$(toolexecdir)/lib'
10915 toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
10916 toolexeclibdir='$(libdir)'
10918 multi_os_directory=`$CC -print-multi-os-directory`
10919 case $multi_os_directory in
10920 .) ;; # Avoid trailing /.
10921 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
10928 if test ${multilib} = yes; then
10929 multilib_arg="--enable-multilib"
10934 ac_config_files="$ac_config_files Makefile ssp/ssp.h"
10936 cat >confcache <<\_ACEOF
10937 # This file is a shell script that caches the results of configure
10938 # tests run on this system so they can be shared between configure
10939 # scripts and configure runs, see configure's option --config-cache.
10940 # It is not useful on other systems. If it contains results you don't
10941 # want to keep, you may remove or edit it.
10943 # config.status only pays attention to the cache file if you give it
10944 # the --recheck option to rerun configure.
10946 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10947 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10948 # following values.
10952 # The following way of writing the cache mishandles newlines in values,
10953 # but we know of no workaround that is simple, portable, and efficient.
10954 # So, don't put newlines in cache variables' values.
10955 # Ultrix sh set writes to stderr and can't be redirected directly,
10956 # and sets the high bit in the cache file unless we assign to the vars.
10959 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10961 # `set' does not quote correctly, so add quotes (double-quote
10962 # substitution turns \\\\ into \\, and sed turns \\ into \).
10965 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10968 # `set' quotes correctly as required by POSIX, so do not add quotes.
10970 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10977 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10979 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10981 if diff $cache_file confcache >/dev/null 2>&1; then :; else
10982 if test -w $cache_file; then
10983 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10984 cat confcache >$cache_file
10986 echo "not updating unwritable cache $cache_file"
10991 test "x$prefix" = xNONE && prefix=$ac_default_prefix
10992 # Let make expand exec_prefix.
10993 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
10995 # VPATH may cause trouble with some makes, so we remove $(srcdir),
10996 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
10997 # trailing colons and then remove the whole line if VPATH becomes empty
10998 # (actually we leave an empty line to preserve line numbers).
10999 if test "x$srcdir" = x.; then
11000 ac_vpsub='/^[ ]*VPATH[ ]*=/{
11001 s/:*\$(srcdir):*/:/;
11002 s/:*\${srcdir}:*/:/;
11004 s/^\([^=]*=[ ]*\):*/\1/;
11010 DEFS=-DHAVE_CONFIG_H
11014 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
11015 # 1. Remove the extension, and $U if already installed.
11016 ac_i=`echo "$ac_i" |
11017 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
11019 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
11020 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
11022 LIBOBJS=$ac_libobjs
11024 LTLIBOBJS=$ac_ltlibobjs
11027 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
11028 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
11029 Usually this means the macro was only invoked conditionally." >&5
11030 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
11031 Usually this means the macro was only invoked conditionally." >&2;}
11032 { (exit 1); exit 1; }; }
11034 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
11035 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
11036 Usually this means the macro was only invoked conditionally." >&5
11037 echo "$as_me: error: conditional \"AMDEP\" 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 "${LIBSSP_USE_SYMVER_TRUE}" && test -z "${LIBSSP_USE_SYMVER_FALSE}"; then
11049 { { echo "$as_me:$LINENO: error: conditional \"LIBSSP_USE_SYMVER\" was never defined.
11050 Usually this means the macro was only invoked conditionally." >&5
11051 echo "$as_me: error: conditional \"LIBSSP_USE_SYMVER\" was never defined.
11052 Usually this means the macro was only invoked conditionally." >&2;}
11053 { (exit 1); exit 1; }; }
11056 : ${CONFIG_STATUS=./config.status}
11057 ac_clean_files_save=$ac_clean_files
11058 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
11059 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
11060 echo "$as_me: creating $CONFIG_STATUS" >&6;}
11061 cat >$CONFIG_STATUS <<_ACEOF
11063 # Generated by $as_me.
11064 # Run this file to recreate the current configuration.
11065 # Compiler output produced by configure, useful for debugging
11066 # configure, is in config.log if it exists.
11069 ac_cs_recheck=false
11071 SHELL=\${CONFIG_SHELL-$SHELL}
11074 cat >>$CONFIG_STATUS <<\_ACEOF
11075 ## --------------------- ##
11076 ## M4sh Initialization. ##
11077 ## --------------------- ##
11079 # Be Bourne compatible
11080 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
11083 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
11084 # is contrary to our usage. Disable this feature.
11085 alias -g '${1+"$@"}'='"$@"'
11086 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
11089 DUALCASE=1; export DUALCASE # for MKS sh
11091 # Support unset when possible.
11092 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
11099 # Work around bugs in pre-3.0 UWIN ksh.
11100 $as_unset ENV MAIL MAILPATH
11107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
11108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
11109 LC_TELEPHONE LC_TIME
11111 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
11112 eval $as_var=C; export $as_var
11118 # Required to use basename.
11119 if expr a : '\(a\)' >/dev/null 2>&1; then
11125 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
11126 as_basename=basename
11132 # Name of the executable.
11133 as_me=`$as_basename "$0" ||
11134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11135 X"$0" : 'X\(//\)$' \| \
11136 X"$0" : 'X\(/\)$' \| \
11137 . : '\(.\)' 2>/dev/null ||
11139 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
11140 /^X\/\(\/\/\)$/{ s//\1/; q; }
11141 /^X\/\(\/\).*/{ s//\1/; q; }
11145 # PATH needs CR, and LINENO needs CR and PATH.
11146 # Avoid depending upon Character Ranges.
11147 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
11148 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11149 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
11150 as_cr_digits='0123456789'
11151 as_cr_alnum=$as_cr_Letters$as_cr_digits
11153 # The user is always right.
11154 if test "${PATH_SEPARATOR+set}" != set; then
11155 echo "#! /bin/sh" >conf$$.sh
11156 echo "exit 0" >>conf$$.sh
11158 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11167 as_lineno_1=$LINENO
11168 as_lineno_2=$LINENO
11169 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
11170 test "x$as_lineno_1" != "x$as_lineno_2" &&
11171 test "x$as_lineno_3" = "x$as_lineno_2" || {
11172 # Find who we are. Look in the path if we contain no path at all
11175 *[\\/]* ) as_myself=$0 ;;
11176 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11177 for as_dir in $PATH
11180 test -z "$as_dir" && as_dir=.
11181 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11186 # We did not find ourselves, most probably we were run as `sh COMMAND'
11187 # in which case we are not to be found in the path.
11188 if test "x$as_myself" = x; then
11191 if test ! -f "$as_myself"; then
11192 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
11193 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
11194 { (exit 1); exit 1; }; }
11196 case $CONFIG_SHELL in
11198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11199 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
11202 test -z "$as_dir" && as_dir=.
11203 for as_base in sh bash ksh sh5; do
11206 if ("$as_dir/$as_base" -c '
11207 as_lineno_1=$LINENO
11208 as_lineno_2=$LINENO
11209 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
11210 test "x$as_lineno_1" != "x$as_lineno_2" &&
11211 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
11212 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
11213 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
11214 CONFIG_SHELL=$as_dir/$as_base
11215 export CONFIG_SHELL
11216 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
11224 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
11225 # uniformly replaced by the line number. The first 'sed' inserts a
11226 # line-number line before each line; the second 'sed' does the real
11227 # work. The second script uses 'N' to pair each line-number line
11228 # with the numbered line, and appends trailing '-' during
11229 # substitution so that $LINENO is not a special case at line end.
11230 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
11231 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
11232 sed '=' <$as_myself |
11237 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
11240 s,^['$as_cr_digits']*\n,,
11241 ' >$as_me.lineno &&
11242 chmod +x $as_me.lineno ||
11243 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
11244 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
11245 { (exit 1); exit 1; }; }
11247 # Don't try to exec as it changes $[0], causing all sort of problems
11248 # (the dirname of $[0] is not the place where we might find the
11249 # original and so on. Autoconf is especially sensible to this).
11251 # Exit status is that of the last command.
11256 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
11257 *c*,-n*) ECHO_N= ECHO_C='
11259 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
11260 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
11263 if expr a : '\(a\)' >/dev/null 2>&1; then
11269 rm -f conf$$ conf$$.exe conf$$.file
11271 if ln -s conf$$.file conf$$ 2>/dev/null; then
11272 # We could just check for DJGPP; but this test a) works b) is more generic
11273 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
11274 if test -f conf$$.exe; then
11275 # Don't use ln at all; we don't have any links
11280 elif ln conf$$.file conf$$ 2>/dev/null; then
11285 rm -f conf$$ conf$$.exe conf$$.file
11287 if mkdir -p . 2>/dev/null; then
11290 test -d ./-p && rmdir ./-p
11294 as_executable_p="test -f"
11296 # Sed expression to map a string onto a valid CPP name.
11297 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11299 # Sed expression to map a string onto a valid variable name.
11300 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11304 # We need space, tab and new line, in precisely that order.
11314 # Open the log real soon, to keep \$[0] and so on meaningful, and to
11315 # report actual input values of CONFIG_FILES etc. instead of their
11316 # values after options handling. Logging --version etc. is OK.
11320 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11321 ## Running $as_me. ##
11326 This file was extended by libssp $as_me 1.0, which was
11327 generated by GNU Autoconf 2.59. Invocation command line was
11329 CONFIG_FILES = $CONFIG_FILES
11330 CONFIG_HEADERS = $CONFIG_HEADERS
11331 CONFIG_LINKS = $CONFIG_LINKS
11332 CONFIG_COMMANDS = $CONFIG_COMMANDS
11336 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
11340 # Files that config.status was made for.
11341 if test -n "$ac_config_files"; then
11342 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
11345 if test -n "$ac_config_headers"; then
11346 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
11349 if test -n "$ac_config_links"; then
11350 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
11353 if test -n "$ac_config_commands"; then
11354 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
11357 cat >>$CONFIG_STATUS <<\_ACEOF
11360 \`$as_me' instantiates files from templates according to the
11361 current configuration.
11363 Usage: $0 [OPTIONS] [FILE]...
11365 -h, --help print this help, then exit
11366 -V, --version print version number, then exit
11367 -q, --quiet do not print progress messages
11368 -d, --debug don't remove temporary files
11369 --recheck update $as_me by reconfiguring in the same conditions
11370 --file=FILE[:TEMPLATE]
11371 instantiate the configuration file FILE
11372 --header=FILE[:TEMPLATE]
11373 instantiate the configuration header FILE
11375 Configuration files:
11378 Configuration headers:
11381 Configuration commands:
11384 Report bugs to <bug-autoconf@gnu.org>."
11387 cat >>$CONFIG_STATUS <<_ACEOF
11389 libssp config.status 1.0
11390 configured by $0, generated by GNU Autoconf 2.59,
11391 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
11393 Copyright (C) 2003 Free Software Foundation, Inc.
11394 This config.status script is free software; the Free Software Foundation
11395 gives unlimited permission to copy, distribute and modify it."
11400 cat >>$CONFIG_STATUS <<\_ACEOF
11401 # If no file are specified by the user, then we need to provide default
11402 # value. By we need to know if files were specified by the user.
11408 ac_option=`expr "x$1" : 'x\([^=]*\)='`
11409 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
11417 *) # This is not an option, so the user has probably given explicit
11420 ac_need_defaults=false;;
11424 # Handling of the options.
11426 cat >>$CONFIG_STATUS <<\_ACEOF
11427 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
11429 --version | --vers* | -V )
11430 echo "$ac_cs_version"; exit 0 ;;
11432 # Conflict between --help and --header
11433 { { echo "$as_me:$LINENO: error: ambiguous option: $1
11434 Try \`$0 --help' for more information." >&5
11435 echo "$as_me: error: ambiguous option: $1
11436 Try \`$0 --help' for more information." >&2;}
11437 { (exit 1); exit 1; }; };;
11438 --help | --hel | -h )
11439 echo "$ac_cs_usage"; exit 0 ;;
11440 --debug | --d* | -d )
11442 --file | --fil | --fi | --f )
11444 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
11445 ac_need_defaults=false;;
11446 --header | --heade | --head | --hea )
11448 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
11449 ac_need_defaults=false;;
11450 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
11451 | -silent | --silent | --silen | --sile | --sil | --si | --s)
11454 # This is an error.
11455 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
11456 Try \`$0 --help' for more information." >&5
11457 echo "$as_me: error: unrecognized option: $1
11458 Try \`$0 --help' for more information." >&2;}
11459 { (exit 1); exit 1; }; } ;;
11461 *) ac_config_targets="$ac_config_targets $1" ;;
11467 ac_configure_extra_args=
11469 if $ac_cs_silent; then
11471 ac_configure_extra_args="$ac_configure_extra_args --silent"
11475 cat >>$CONFIG_STATUS <<_ACEOF
11476 if \$ac_cs_recheck; then
11477 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
11478 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11483 cat >>$CONFIG_STATUS <<_ACEOF
11485 # INIT-COMMANDS section.
11492 with_multisubdir="$with_multisubdir"
11493 with_multisrctop="$with_multisrctop"
11494 with_target_subdir="$with_target_subdir"
11495 ac_configure_args="${multilib_arg} ${ac_configure_args}"
11496 multi_basedir="$multi_basedir"
11497 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
11499 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
11502 # The HP-UX ksh and POSIX shell print the target directory to stdout
11503 # if CDPATH is set.
11504 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11506 sed_quote_subst='$sed_quote_subst'
11507 double_quote_subst='$double_quote_subst'
11508 delay_variable_subst='$delay_variable_subst'
11509 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
11510 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
11511 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
11512 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
11513 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
11514 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
11515 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
11516 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
11517 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
11518 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
11519 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
11520 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
11521 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
11522 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
11523 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
11524 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
11525 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
11526 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
11527 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
11528 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
11529 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
11530 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
11531 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
11532 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
11533 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
11534 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
11535 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
11536 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11537 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
11538 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
11539 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
11540 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
11541 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
11542 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
11543 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
11544 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11545 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11546 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11547 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
11548 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
11549 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
11550 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
11551 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
11552 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
11553 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"`'
11554 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
11555 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
11556 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
11557 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
11558 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
11559 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
11560 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
11561 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
11562 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
11563 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
11564 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
11565 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
11566 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
11567 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
11568 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
11569 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
11570 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
11571 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11572 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11573 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
11574 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
11575 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
11576 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
11577 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
11578 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11579 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11580 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11581 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11582 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11583 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11584 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
11585 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
11586 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
11587 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
11588 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
11589 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
11590 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
11591 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
11592 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
11593 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
11594 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
11595 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
11596 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
11597 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
11598 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
11599 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11600 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
11601 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
11602 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11603 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
11604 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
11605 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
11606 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
11607 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
11608 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
11609 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
11610 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
11611 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
11612 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
11613 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
11614 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11615 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11616 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11617 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
11618 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
11619 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
11620 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
11621 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
11622 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
11623 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
11624 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
11625 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
11626 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
11629 LTCFLAGS='$LTCFLAGS'
11630 compiler='$compiler_DEFAULT'
11632 # Quote evaled strings.
11644 deplibs_check_method \
11653 lt_cv_sys_global_symbol_pipe \
11654 lt_cv_sys_global_symbol_to_cdecl \
11655 lt_cv_sys_global_symbol_to_c_name_address \
11656 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
11659 lt_prog_compiler_no_builtin_flag \
11660 lt_prog_compiler_wl \
11661 lt_prog_compiler_pic \
11662 lt_prog_compiler_static \
11663 lt_cv_prog_compiler_c_o \
11671 export_dynamic_flag_spec \
11672 whole_archive_flag_spec \
11673 compiler_needs_object \
11675 allow_undefined_flag \
11676 no_undefined_flag \
11677 hardcode_libdir_flag_spec \
11678 hardcode_libdir_flag_spec_ld \
11679 hardcode_libdir_separator \
11684 variables_saved_for_relink \
11686 library_names_spec \
11691 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
11692 *[\\\\\\\`\\"\\\$]*)
11693 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
11696 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
11701 # Double-quote double-evaled strings.
11702 for var in reload_cmds \
11703 old_postinstall_cmds \
11704 old_postuninstall_cmds \
11706 extract_expsyms_cmds \
11707 old_archive_from_new_cmds \
11708 old_archive_from_expsyms_cmds \
11710 archive_expsym_cmds \
11712 module_expsym_cmds \
11713 export_symbols_cmds \
11716 postuninstall_cmds \
11718 sys_lib_search_path_spec \
11719 sys_lib_dlsearch_path_spec; do
11720 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
11721 *[\\\\\\\`\\"\\\$]*)
11722 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
11725 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
11730 # Fix-up fallback echo if it was mangled by the above quoting rules.
11732 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
11736 ac_aux_dir='$ac_aux_dir'
11737 xsi_shell='$xsi_shell'
11738 lt_shell_append='$lt_shell_append'
11740 # See if we are running on zsh, and set the options which allow our
11741 # commands through without removal of \ escapes INIT.
11742 if test -n "\${ZSH_VERSION+set}" ; then
11743 setopt NO_GLOB_SUBST
11749 TIMESTAMP='$TIMESTAMP'
11760 cat >>$CONFIG_STATUS <<\_ACEOF
11761 for ac_config_target in $ac_config_targets
11763 case "$ac_config_target" in
11764 # Handling of arguments.
11765 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
11766 "ssp/ssp.h" ) CONFIG_FILES="$CONFIG_FILES ssp/ssp.h" ;;
11767 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
11768 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
11769 "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
11770 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
11771 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
11772 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
11773 { (exit 1); exit 1; }; };;
11777 # If the user did not use the arguments to specify the items to instantiate,
11778 # then the envvar interface is used. Set only those that are not.
11779 # We use the long form for the default assignment because of an extremely
11780 # bizarre bug on SunOS 4.1.3.
11781 if $ac_need_defaults; then
11782 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
11783 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
11784 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
11787 # Have a temporary directory for convenience. Make it in the build tree
11788 # simply because there is no reason to put it here, and in addition,
11789 # creating and moving files from /tmp can sometimes cause problems.
11790 # Create a temporary directory, and hook for its removal unless debugging.
11793 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
11794 trap '{ (exit 1); exit 1; }' 1 2 13 15
11797 # Create a (secure) tmp directory for tmp files.
11800 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
11801 test -n "$tmp" && test -d "$tmp"
11804 tmp=./confstat$$-$RANDOM
11805 (umask 077 && mkdir $tmp)
11808 echo "$me: cannot create a temporary directory in ." >&2
11809 { (exit 1); exit 1; }
11814 cat >>$CONFIG_STATUS <<_ACEOF
11817 # CONFIG_FILES section.
11820 # No need to generate the scripts if there are no CONFIG_FILES.
11821 # This happens for instance when ./config.status config.h
11822 if test -n "\$CONFIG_FILES"; then
11823 # Protect against being on the right side of a sed subst in config.status.
11824 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
11825 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
11826 s,@SHELL@,$SHELL,;t t
11827 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
11828 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
11829 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
11830 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
11831 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
11832 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
11833 s,@exec_prefix@,$exec_prefix,;t t
11834 s,@prefix@,$prefix,;t t
11835 s,@program_transform_name@,$program_transform_name,;t t
11836 s,@bindir@,$bindir,;t t
11837 s,@sbindir@,$sbindir,;t t
11838 s,@libexecdir@,$libexecdir,;t t
11839 s,@datadir@,$datadir,;t t
11840 s,@sysconfdir@,$sysconfdir,;t t
11841 s,@sharedstatedir@,$sharedstatedir,;t t
11842 s,@localstatedir@,$localstatedir,;t t
11843 s,@libdir@,$libdir,;t t
11844 s,@includedir@,$includedir,;t t
11845 s,@oldincludedir@,$oldincludedir,;t t
11846 s,@infodir@,$infodir,;t t
11847 s,@mandir@,$mandir,;t t
11848 s,@build_alias@,$build_alias,;t t
11849 s,@host_alias@,$host_alias,;t t
11850 s,@target_alias@,$target_alias,;t t
11851 s,@DEFS@,$DEFS,;t t
11852 s,@ECHO_C@,$ECHO_C,;t t
11853 s,@ECHO_N@,$ECHO_N,;t t
11854 s,@ECHO_T@,$ECHO_T,;t t
11855 s,@LIBS@,$LIBS,;t t
11856 s,@build@,$build,;t t
11857 s,@build_cpu@,$build_cpu,;t t
11858 s,@build_vendor@,$build_vendor,;t t
11859 s,@build_os@,$build_os,;t t
11860 s,@host@,$host,;t t
11861 s,@host_cpu@,$host_cpu,;t t
11862 s,@host_vendor@,$host_vendor,;t t
11863 s,@host_os@,$host_os,;t t
11864 s,@target@,$target,;t t
11865 s,@target_cpu@,$target_cpu,;t t
11866 s,@target_vendor@,$target_vendor,;t t
11867 s,@target_os@,$target_os,;t t
11868 s,@target_noncanonical@,$target_noncanonical,;t t
11869 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
11870 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
11871 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
11872 s,@CYGPATH_W@,$CYGPATH_W,;t t
11873 s,@PACKAGE@,$PACKAGE,;t t
11874 s,@VERSION@,$VERSION,;t t
11875 s,@ACLOCAL@,$ACLOCAL,;t t
11876 s,@AUTOCONF@,$AUTOCONF,;t t
11877 s,@AUTOMAKE@,$AUTOMAKE,;t t
11878 s,@AUTOHEADER@,$AUTOHEADER,;t t
11879 s,@MAKEINFO@,$MAKEINFO,;t t
11880 s,@install_sh@,$install_sh,;t t
11881 s,@STRIP@,$STRIP,;t t
11882 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
11883 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
11884 s,@mkdir_p@,$mkdir_p,;t t
11886 s,@SET_MAKE@,$SET_MAKE,;t t
11887 s,@am__leading_dot@,$am__leading_dot,;t t
11888 s,@AMTAR@,$AMTAR,;t t
11889 s,@am__tar@,$am__tar,;t t
11890 s,@am__untar@,$am__untar,;t t
11891 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
11892 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
11893 s,@MAINT@,$MAINT,;t t
11894 s,@multi_basedir@,$multi_basedir,;t t
11896 s,@ac_ct_CC@,$ac_ct_CC,;t t
11897 s,@EXEEXT@,$EXEEXT,;t t
11898 s,@OBJEXT@,$OBJEXT,;t t
11899 s,@DEPDIR@,$DEPDIR,;t t
11900 s,@am__include@,$am__include,;t t
11901 s,@am__quote@,$am__quote,;t t
11902 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
11903 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
11904 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
11905 s,@CCDEPMODE@,$CCDEPMODE,;t t
11906 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
11907 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
11908 s,@CFLAGS@,$CFLAGS,;t t
11910 s,@CPPFLAGS@,$CPPFLAGS,;t t
11911 s,@LIBSSP_USE_SYMVER_TRUE@,$LIBSSP_USE_SYMVER_TRUE,;t t
11912 s,@LIBSSP_USE_SYMVER_FALSE@,$LIBSSP_USE_SYMVER_FALSE,;t t
11913 s,@EGREP@,$EGREP,;t t
11914 s,@ssp_have_usable_vsnprintf@,$ssp_have_usable_vsnprintf,;t t
11915 s,@LIBTOOL@,$LIBTOOL,;t t
11917 s,@FGREP@,$FGREP,;t t
11918 s,@GREP@,$GREP,;t t
11920 s,@DUMPBIN@,$DUMPBIN,;t t
11921 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
11923 s,@LN_S@,$LN_S,;t t
11924 s,@OBJDUMP@,$OBJDUMP,;t t
11925 s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t
11927 s,@ac_ct_AR@,$ac_ct_AR,;t t
11928 s,@RANLIB@,$RANLIB,;t t
11929 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
11930 s,@lt_ECHO@,$lt_ECHO,;t t
11931 s,@DSYMUTIL@,$DSYMUTIL,;t t
11932 s,@ac_ct_DSYMUTIL@,$ac_ct_DSYMUTIL,;t t
11933 s,@NMEDIT@,$NMEDIT,;t t
11934 s,@ac_ct_NMEDIT@,$ac_ct_NMEDIT,;t t
11935 s,@LIPO@,$LIPO,;t t
11936 s,@ac_ct_LIPO@,$ac_ct_LIPO,;t t
11937 s,@OTOOL@,$OTOOL,;t t
11938 s,@ac_ct_OTOOL@,$ac_ct_OTOOL,;t t
11939 s,@OTOOL64@,$OTOOL64,;t t
11940 s,@ac_ct_OTOOL64@,$ac_ct_OTOOL64,;t t
11941 s,@enable_shared@,$enable_shared,;t t
11942 s,@enable_static@,$enable_static,;t t
11943 s,@toolexecdir@,$toolexecdir,;t t
11944 s,@toolexeclibdir@,$toolexeclibdir,;t t
11945 s,@LIBOBJS@,$LIBOBJS,;t t
11946 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
11951 cat >>$CONFIG_STATUS <<\_ACEOF
11952 # Split the substitutions into bite-sized pieces for seds with
11953 # small command number limits, like on Digital OSF/1 and HP-UX.
11954 ac_max_sed_lines=48
11955 ac_sed_frag=1 # Number of current file.
11956 ac_beg=1 # First line for current file.
11957 ac_end=$ac_max_sed_lines # Line after last line for current file.
11960 while $ac_more_lines; do
11961 if test $ac_beg -gt 1; then
11962 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
11964 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
11966 if test ! -s $tmp/subs.frag; then
11967 ac_more_lines=false
11969 # The purpose of the label and of the branching condition is to
11970 # speed up the sed processing (if there are no `@' at all, there
11971 # is no need to browse any of the substitutions).
11972 # These are the two extra sed commands mentioned above.
11974 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
11975 if test -z "$ac_sed_cmds"; then
11976 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
11978 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
11980 ac_sed_frag=`expr $ac_sed_frag + 1`
11982 ac_end=`expr $ac_end + $ac_max_sed_lines`
11985 if test -z "$ac_sed_cmds"; then
11988 fi # test -n "$CONFIG_FILES"
11991 cat >>$CONFIG_STATUS <<\_ACEOF
11992 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
11993 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
11995 - | *:- | *:-:* ) # input from stdin
11997 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11998 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11999 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
12000 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
12001 * ) ac_file_in=$ac_file.in ;;
12004 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
12005 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
12006 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12007 X"$ac_file" : 'X\(//\)[^/]' \| \
12008 X"$ac_file" : 'X\(//\)$' \| \
12009 X"$ac_file" : 'X\(/\)' \| \
12010 . : '\(.\)' 2>/dev/null ||
12012 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12013 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12014 /^X\(\/\/\)$/{ s//\1/; q; }
12015 /^X\(\/\).*/{ s//\1/; q; }
12017 { if $as_mkdir_p; then
12022 while test ! -d "$as_dir"; do
12023 as_dirs="$as_dir $as_dirs"
12024 as_dir=`(dirname "$as_dir") 2>/dev/null ||
12025 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12026 X"$as_dir" : 'X\(//\)[^/]' \| \
12027 X"$as_dir" : 'X\(//\)$' \| \
12028 X"$as_dir" : 'X\(/\)' \| \
12029 . : '\(.\)' 2>/dev/null ||
12031 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12032 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12033 /^X\(\/\/\)$/{ s//\1/; q; }
12034 /^X\(\/\).*/{ s//\1/; q; }
12037 test ! -n "$as_dirs" || mkdir $as_dirs
12038 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12039 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12040 { (exit 1); exit 1; }; }; }
12044 if test "$ac_dir" != .; then
12045 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12046 # A "../" for each directory in $ac_dir_suffix.
12047 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
12049 ac_dir_suffix= ac_top_builddir=
12053 .) # No --srcdir option. We are building in place.
12055 if test -z "$ac_top_builddir"; then
12058 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
12060 [\\/]* | ?:[\\/]* ) # Absolute path.
12061 ac_srcdir=$srcdir$ac_dir_suffix;
12062 ac_top_srcdir=$srcdir ;;
12063 *) # Relative path.
12064 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
12065 ac_top_srcdir=$ac_top_builddir$srcdir ;;
12068 # Do not use `cd foo && pwd` to compute absolute paths, because
12069 # the directories may not exist.
12071 .) ac_abs_builddir="$ac_dir";;
12074 .) ac_abs_builddir=`pwd`;;
12075 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
12076 *) ac_abs_builddir=`pwd`/"$ac_dir";;
12079 case $ac_abs_builddir in
12080 .) ac_abs_top_builddir=${ac_top_builddir}.;;
12082 case ${ac_top_builddir}. in
12083 .) ac_abs_top_builddir=$ac_abs_builddir;;
12084 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
12085 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
12088 case $ac_abs_builddir in
12089 .) ac_abs_srcdir=$ac_srcdir;;
12092 .) ac_abs_srcdir=$ac_abs_builddir;;
12093 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
12094 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
12097 case $ac_abs_builddir in
12098 .) ac_abs_top_srcdir=$ac_top_srcdir;;
12100 case $ac_top_srcdir in
12101 .) ac_abs_top_srcdir=$ac_abs_builddir;;
12102 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
12103 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
12109 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
12110 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
12113 if test x"$ac_file" != x-; then
12114 { echo "$as_me:$LINENO: creating $ac_file" >&5
12115 echo "$as_me: creating $ac_file" >&6;}
12118 # Let's still pretend it is `configure' which instantiates (i.e., don't
12119 # use $as_me), people would be surprised to read:
12120 # /* config.h. Generated by config.status. */
12121 if test x"$ac_file" = x-; then
12124 configure_input="$ac_file. "
12126 configure_input=$configure_input"Generated from `echo $ac_file_in |
12127 sed 's,.*/,,'` by configure."
12129 # First look for the input files in the build tree, otherwise in the
12131 ac_file_inputs=`IFS=:
12132 for f in $ac_file_in; do
12134 -) echo $tmp/stdin ;;
12136 # Absolute (can't be DOS-style, as IFS=:)
12137 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12138 echo "$as_me: error: cannot find input file: $f" >&2;}
12139 { (exit 1); exit 1; }; }
12142 if test -f "$f"; then
12145 elif test -f "$srcdir/$f"; then
12150 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12151 echo "$as_me: error: cannot find input file: $f" >&2;}
12152 { (exit 1); exit 1; }; }
12155 done` || { (exit 1); exit 1; }
12157 cat >>$CONFIG_STATUS <<_ACEOF
12161 cat >>$CONFIG_STATUS <<\_ACEOF
12163 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
12164 s,@configure_input@,$configure_input,;t t
12165 s,@srcdir@,$ac_srcdir,;t t
12166 s,@abs_srcdir@,$ac_abs_srcdir,;t t
12167 s,@top_srcdir@,$ac_top_srcdir,;t t
12168 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
12169 s,@builddir@,$ac_builddir,;t t
12170 s,@abs_builddir@,$ac_abs_builddir,;t t
12171 s,@top_builddir@,$ac_top_builddir,;t t
12172 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
12173 s,@INSTALL@,$ac_INSTALL,;t t
12174 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
12176 if test x"$ac_file" != x-; then
12177 mv $tmp/out $ac_file
12185 cat >>$CONFIG_STATUS <<\_ACEOF
12188 # CONFIG_HEADER section.
12191 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
12192 # NAME is the cpp macro being defined and VALUE is the value it is being given.
12194 # ac_d sets the value in "#define NAME VALUE" lines.
12195 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
12196 ac_dB='[ ].*$,\1#\2'
12199 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
12200 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
12201 ac_uB='$,\1#\2define\3'
12205 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
12206 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12208 - | *:- | *:-:* ) # input from stdin
12210 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
12211 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
12212 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
12213 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
12214 * ) ac_file_in=$ac_file.in ;;
12217 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
12218 echo "$as_me: creating $ac_file" >&6;}
12220 # First look for the input files in the build tree, otherwise in the
12222 ac_file_inputs=`IFS=:
12223 for f in $ac_file_in; do
12225 -) echo $tmp/stdin ;;
12227 # Absolute (can't be DOS-style, as IFS=:)
12228 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12229 echo "$as_me: error: cannot find input file: $f" >&2;}
12230 { (exit 1); exit 1; }; }
12231 # Do quote $f, to prevent DOS paths from being IFS'd.
12234 if test -f "$f"; then
12237 elif test -f "$srcdir/$f"; then
12242 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12243 echo "$as_me: error: cannot find input file: $f" >&2;}
12244 { (exit 1); exit 1; }; }
12247 done` || { (exit 1); exit 1; }
12248 # Remove the trailing spaces.
12249 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
12253 # Transform confdefs.h into two sed scripts, `conftest.defines' and
12254 # `conftest.undefs', that substitutes the proper values into
12255 # config.h.in to produce config.h. The first handles `#define'
12256 # templates, and the second `#undef' templates.
12257 # And first: Protect against being on the right side of a sed subst in
12258 # config.status. Protect against being in an unquoted here document
12259 # in config.status.
12260 rm -f conftest.defines conftest.undefs
12261 # Using a here document instead of a string reduces the quoting nightmare.
12262 # Putting comments in sed scripts is not portable.
12264 # `end' is used to avoid that the second main sed command (meant for
12265 # 0-ary CPP macros) applies to n-ary macro definitions.
12266 # See the Autoconf documentation for `clear'.
12267 cat >confdef2sed.sed <<\_ACEOF
12272 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
12274 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
12277 # If some macros were called several times there might be several times
12278 # the same #defines, which is useless. Nevertheless, we may not want to
12279 # sort them, since we want the *last* AC-DEFINE to be honored.
12280 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
12281 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
12282 rm -f confdef2sed.sed
12284 # This sed command replaces #undef with comments. This is necessary, for
12285 # example, in the case of _POSIX_SOURCE, which is predefined and required
12286 # on some systems where configure will not decide to define it.
12287 cat >>conftest.undefs <<\_ACEOF
12288 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
12291 # Break up conftest.defines because some shells have a limit on the size
12292 # of here documents, and old seds have small limits too (100 cmds).
12293 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
12294 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
12295 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
12296 echo ' :' >>$CONFIG_STATUS
12297 rm -f conftest.tail
12298 while grep . conftest.defines >/dev/null
12300 # Write a limited-size here document to $tmp/defines.sed.
12301 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
12302 # Speed up: don't consider the non `#define' lines.
12303 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
12304 # Work around the forget-to-reset-the-flag bug.
12305 echo 't clr' >>$CONFIG_STATUS
12306 echo ': clr' >>$CONFIG_STATUS
12307 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
12309 sed -f $tmp/defines.sed $tmp/in >$tmp/out
12311 mv $tmp/out $tmp/in
12313 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
12314 rm -f conftest.defines
12315 mv conftest.tail conftest.defines
12317 rm -f conftest.defines
12318 echo ' fi # grep' >>$CONFIG_STATUS
12319 echo >>$CONFIG_STATUS
12321 # Break up conftest.undefs because some shells have a limit on the size
12322 # of here documents, and old seds have small limits too (100 cmds).
12323 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
12324 rm -f conftest.tail
12325 while grep . conftest.undefs >/dev/null
12327 # Write a limited-size here document to $tmp/undefs.sed.
12328 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
12329 # Speed up: don't consider the non `#undef'
12330 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
12331 # Work around the forget-to-reset-the-flag bug.
12332 echo 't clr' >>$CONFIG_STATUS
12333 echo ': clr' >>$CONFIG_STATUS
12334 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
12336 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
12338 mv $tmp/out $tmp/in
12340 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
12341 rm -f conftest.undefs
12342 mv conftest.tail conftest.undefs
12344 rm -f conftest.undefs
12346 cat >>$CONFIG_STATUS <<\_ACEOF
12347 # Let's still pretend it is `configure' which instantiates (i.e., don't
12348 # use $as_me), people would be surprised to read:
12349 # /* config.h. Generated by config.status. */
12350 if test x"$ac_file" = x-; then
12351 echo "/* Generated by configure. */" >$tmp/config.h
12353 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
12355 cat $tmp/in >>$tmp/config.h
12357 if test x"$ac_file" != x-; then
12358 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
12359 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
12360 echo "$as_me: $ac_file is unchanged" >&6;}
12362 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
12363 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12364 X"$ac_file" : 'X\(//\)[^/]' \| \
12365 X"$ac_file" : 'X\(//\)$' \| \
12366 X"$ac_file" : 'X\(/\)' \| \
12367 . : '\(.\)' 2>/dev/null ||
12369 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12370 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12371 /^X\(\/\/\)$/{ s//\1/; q; }
12372 /^X\(\/\).*/{ s//\1/; q; }
12374 { if $as_mkdir_p; then
12379 while test ! -d "$as_dir"; do
12380 as_dirs="$as_dir $as_dirs"
12381 as_dir=`(dirname "$as_dir") 2>/dev/null ||
12382 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12383 X"$as_dir" : 'X\(//\)[^/]' \| \
12384 X"$as_dir" : 'X\(//\)$' \| \
12385 X"$as_dir" : 'X\(/\)' \| \
12386 . : '\(.\)' 2>/dev/null ||
12388 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12389 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12390 /^X\(\/\/\)$/{ s//\1/; q; }
12391 /^X\(\/\).*/{ s//\1/; q; }
12394 test ! -n "$as_dirs" || mkdir $as_dirs
12395 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12396 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12397 { (exit 1); exit 1; }; }; }
12400 mv $tmp/config.h $ac_file
12404 rm -f $tmp/config.h
12406 # Compute $ac_file's index in $config_headers.
12408 for _am_header in $config_headers :; do
12409 case $_am_header in
12410 $ac_file | $ac_file:* )
12413 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
12416 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
12417 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12418 X$ac_file : 'X\(//\)[^/]' \| \
12419 X$ac_file : 'X\(//\)$' \| \
12420 X$ac_file : 'X\(/\)' \| \
12421 . : '\(.\)' 2>/dev/null ||
12423 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12424 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12425 /^X\(\/\/\)$/{ s//\1/; q; }
12426 /^X\(\/\).*/{ s//\1/; q; }
12427 s/.*/./; q'`/stamp-h$_am_stamp_count
12430 cat >>$CONFIG_STATUS <<\_ACEOF
12433 # CONFIG_COMMANDS section.
12435 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
12436 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
12437 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
12438 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
12439 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12440 X"$ac_dest" : 'X\(//\)[^/]' \| \
12441 X"$ac_dest" : 'X\(//\)$' \| \
12442 X"$ac_dest" : 'X\(/\)' \| \
12443 . : '\(.\)' 2>/dev/null ||
12445 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12446 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12447 /^X\(\/\/\)$/{ s//\1/; q; }
12448 /^X\(\/\).*/{ s//\1/; q; }
12450 { if $as_mkdir_p; then
12455 while test ! -d "$as_dir"; do
12456 as_dirs="$as_dir $as_dirs"
12457 as_dir=`(dirname "$as_dir") 2>/dev/null ||
12458 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12459 X"$as_dir" : 'X\(//\)[^/]' \| \
12460 X"$as_dir" : 'X\(//\)$' \| \
12461 X"$as_dir" : 'X\(/\)' \| \
12462 . : '\(.\)' 2>/dev/null ||
12464 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12465 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12466 /^X\(\/\/\)$/{ s//\1/; q; }
12467 /^X\(\/\).*/{ s//\1/; q; }
12470 test ! -n "$as_dirs" || mkdir $as_dirs
12471 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12472 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12473 { (exit 1); exit 1; }; }; }
12477 if test "$ac_dir" != .; then
12478 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12479 # A "../" for each directory in $ac_dir_suffix.
12480 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
12482 ac_dir_suffix= ac_top_builddir=
12486 .) # No --srcdir option. We are building in place.
12488 if test -z "$ac_top_builddir"; then
12491 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
12493 [\\/]* | ?:[\\/]* ) # Absolute path.
12494 ac_srcdir=$srcdir$ac_dir_suffix;
12495 ac_top_srcdir=$srcdir ;;
12496 *) # Relative path.
12497 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
12498 ac_top_srcdir=$ac_top_builddir$srcdir ;;
12501 # Do not use `cd foo && pwd` to compute absolute paths, because
12502 # the directories may not exist.
12504 .) ac_abs_builddir="$ac_dir";;
12507 .) ac_abs_builddir=`pwd`;;
12508 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
12509 *) ac_abs_builddir=`pwd`/"$ac_dir";;
12512 case $ac_abs_builddir in
12513 .) ac_abs_top_builddir=${ac_top_builddir}.;;
12515 case ${ac_top_builddir}. in
12516 .) ac_abs_top_builddir=$ac_abs_builddir;;
12517 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
12518 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
12521 case $ac_abs_builddir in
12522 .) ac_abs_srcdir=$ac_srcdir;;
12525 .) ac_abs_srcdir=$ac_abs_builddir;;
12526 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
12527 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
12530 case $ac_abs_builddir in
12531 .) ac_abs_top_srcdir=$ac_top_srcdir;;
12533 case $ac_top_srcdir in
12534 .) ac_abs_top_srcdir=$ac_abs_builddir;;
12535 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
12536 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
12541 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
12542 echo "$as_me: executing $ac_dest commands" >&6;}
12545 # Only add multilib support code if we just rebuilt the top-level
12547 case " $CONFIG_FILES " in
12549 ac_file=Makefile . ${multi_basedir}/config-ml.in
12552 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
12553 # Strip MF so we end up with the name of the file.
12554 mf=`echo "$mf" | sed -e 's/:.*$//'`
12555 # Check whether this is an Automake generated Makefile or not.
12556 # We used to match only the files named `Makefile.in', but
12557 # some people rename them; so instead we look at the file content.
12558 # Grep'ing the first line is not enough: some people post-process
12559 # each Makefile.in and add a new line on top of each file to say so.
12560 # So let's grep whole file.
12561 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
12562 dirpart=`(dirname "$mf") 2>/dev/null ||
12563 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12564 X"$mf" : 'X\(//\)[^/]' \| \
12565 X"$mf" : 'X\(//\)$' \| \
12566 X"$mf" : 'X\(/\)' \| \
12567 . : '\(.\)' 2>/dev/null ||
12569 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12570 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12571 /^X\(\/\/\)$/{ s//\1/; q; }
12572 /^X\(\/\).*/{ s//\1/; q; }
12577 # Extract the definition of DEPDIR, am__include, and am__quote
12578 # from the Makefile without running `make'.
12579 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
12580 test -z "$DEPDIR" && continue
12581 am__include=`sed -n 's/^am__include = //p' < "$mf"`
12582 test -z "am__include" && continue
12583 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
12584 # When using ansi2knr, U may be empty or an underscore; expand it
12585 U=`sed -n 's/^U = //p' < "$mf"`
12586 # Find all dependency output files, they are included files with
12587 # $(DEPDIR) in their names. We invoke sed twice because it is the
12588 # simplest approach to changing $(DEPDIR) to its actual value in the
12590 for file in `sed -n "
12591 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
12592 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
12593 # Make sure the directory exists.
12594 test -f "$dirpart/$file" && continue
12595 fdir=`(dirname "$file") 2>/dev/null ||
12596 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12597 X"$file" : 'X\(//\)[^/]' \| \
12598 X"$file" : 'X\(//\)$' \| \
12599 X"$file" : 'X\(/\)' \| \
12600 . : '\(.\)' 2>/dev/null ||
12602 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12603 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12604 /^X\(\/\/\)$/{ s//\1/; q; }
12605 /^X\(\/\).*/{ s//\1/; q; }
12607 { if $as_mkdir_p; then
12608 mkdir -p $dirpart/$fdir
12610 as_dir=$dirpart/$fdir
12612 while test ! -d "$as_dir"; do
12613 as_dirs="$as_dir $as_dirs"
12614 as_dir=`(dirname "$as_dir") 2>/dev/null ||
12615 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12616 X"$as_dir" : 'X\(//\)[^/]' \| \
12617 X"$as_dir" : 'X\(//\)$' \| \
12618 X"$as_dir" : 'X\(/\)' \| \
12619 . : '\(.\)' 2>/dev/null ||
12621 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12622 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12623 /^X\(\/\/\)$/{ s//\1/; q; }
12624 /^X\(\/\).*/{ s//\1/; q; }
12627 test ! -n "$as_dirs" || mkdir $as_dirs
12628 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
12629 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
12630 { (exit 1); exit 1; }; }; }
12632 # echo "creating $dirpart/$file"
12633 echo '# dummy' > "$dirpart/$file"
12639 # See if we are running on zsh, and set the options which allow our
12640 # commands through without removal of \ escapes.
12641 if test -n "${ZSH_VERSION+set}" ; then
12642 setopt NO_GLOB_SUBST
12645 cfgfile="${ofile}T"
12646 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
12649 cat <<_LT_EOF >> "$cfgfile"
12652 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
12653 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
12654 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12655 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
12657 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
12658 # 2006, 2007, 2008 Free Software Foundation, Inc.
12659 # Written by Gordon Matzigkeit, 1996
12661 # This file is part of GNU Libtool.
12663 # GNU Libtool is free software; you can redistribute it and/or
12664 # modify it under the terms of the GNU General Public License as
12665 # published by the Free Software Foundation; either version 2 of
12666 # the License, or (at your option) any later version.
12668 # As a special exception to the GNU General Public License,
12669 # if you distribute this file as part of a program or library that
12670 # is built using GNU Libtool, you may include this file under the
12671 # same distribution terms that you use for the rest of that program.
12673 # GNU Libtool is distributed in the hope that it will be useful,
12674 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12675 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12676 # GNU General Public License for more details.
12678 # You should have received a copy of the GNU General Public License
12679 # along with GNU Libtool; see the file COPYING. If not, a copy
12680 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
12681 # obtained by writing to the Free Software Foundation, Inc.,
12682 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
12685 # The names of the tagged configurations supported by this script.
12688 # ### BEGIN LIBTOOL CONFIG
12690 # Which release of libtool.m4 was used?
12691 macro_version=$macro_version
12692 macro_revision=$macro_revision
12694 # Whether or not to build shared libraries.
12695 build_libtool_libs=$enable_shared
12697 # Whether or not to build static libraries.
12698 build_old_libs=$enable_static
12700 # What type of objects to build.
12703 # Whether or not to optimize for fast installation.
12704 fast_install=$enable_fast_install
12707 host_alias=$host_alias
12711 # The build system.
12712 build_alias=$build_alias
12716 # A sed program that does not truncate output.
12719 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
12720 Xsed="\$SED -e 1s/^X//"
12722 # A grep program that handles long lines.
12728 # A literal string matcher.
12731 # A BSD- or MS-compatible name lister.
12734 # Whether we need soft or hard links.
12737 # What is the maximum length of a command?
12738 max_cmd_len=$max_cmd_len
12740 # Object file suffix (normally "o").
12743 # Executable file suffix (normally "").
12746 # whether the shell understands "unset".
12749 # turn spaces into newlines.
12752 # turn newlines into spaces.
12755 # How to create reloadable object files.
12756 reload_flag=$lt_reload_flag
12757 reload_cmds=$lt_reload_cmds
12759 # An object symbol dumper.
12760 OBJDUMP=$lt_OBJDUMP
12762 # Method to check whether dependent libraries are shared objects.
12763 deplibs_check_method=$lt_deplibs_check_method
12765 # Command to use when deplibs_check_method == "file_magic".
12766 file_magic_cmd=$lt_file_magic_cmd
12770 AR_FLAGS=$lt_AR_FLAGS
12772 # A symbol stripping program.
12775 # Commands used to install an old-style archive.
12777 old_postinstall_cmds=$lt_old_postinstall_cmds
12778 old_postuninstall_cmds=$lt_old_postuninstall_cmds
12783 # LTCC compiler flags.
12784 LTCFLAGS=$lt_CFLAGS
12786 # Take the output of nm and produce a listing of raw symbols and C names.
12787 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12789 # Transform the output of nm in a proper C declaration.
12790 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12792 # Transform the output of nm in a C name address pair.
12793 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12795 # Transform the output of nm in a C name address pair when lib prefix is needed.
12796 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
12798 # The name of the directory that contains temporary libtool files.
12801 # Shell to use when invoking shell scripts.
12804 # An echo program that does not interpret backslashes.
12807 # Used to examine libraries when file_magic_cmd begins with "file".
12808 MAGIC_CMD=$MAGIC_CMD
12810 # Must we lock files when doing compilation?
12811 need_locks=$lt_need_locks
12813 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
12814 DSYMUTIL=$lt_DSYMUTIL
12816 # Tool to change global to local symbols on Mac OS X.
12819 # Tool to manipulate fat objects and archives on Mac OS X.
12822 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
12825 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
12826 OTOOL64=$lt_OTOOL64
12828 # Old archive suffix (normally "a").
12831 # Shared library suffix (normally ".so").
12832 shrext_cmds=$lt_shrext_cmds
12834 # The commands to extract the exported symbol list from a shared archive.
12835 extract_expsyms_cmds=$lt_extract_expsyms_cmds
12837 # Variables whose values should be saved in libtool wrapper scripts and
12838 # restored at link time.
12839 variables_saved_for_relink=$lt_variables_saved_for_relink
12841 # Do we need the "lib" prefix for modules?
12842 need_lib_prefix=$need_lib_prefix
12844 # Do we need a version for libraries?
12845 need_version=$need_version
12847 # Library versioning type.
12848 version_type=$version_type
12850 # Shared library runtime path variable.
12851 runpath_var=$runpath_var
12853 # Shared library path variable.
12854 shlibpath_var=$shlibpath_var
12856 # Is shlibpath searched before the hard-coded library search path?
12857 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12859 # Format of library name prefix.
12860 libname_spec=$lt_libname_spec
12862 # List of archive names. First name is the real one, the rest are links.
12863 # The last name is the one that the linker finds with -lNAME
12864 library_names_spec=$lt_library_names_spec
12866 # The coded name of the library, if different from the real name.
12867 soname_spec=$lt_soname_spec
12869 # Command to use after installation of a shared archive.
12870 postinstall_cmds=$lt_postinstall_cmds
12872 # Command to use after uninstallation of a shared archive.
12873 postuninstall_cmds=$lt_postuninstall_cmds
12875 # Commands used to finish a libtool library installation in a directory.
12876 finish_cmds=$lt_finish_cmds
12878 # As "finish_cmds", except a single script fragment to be evaled but
12880 finish_eval=$lt_finish_eval
12882 # Whether we should hardcode library paths into libraries.
12883 hardcode_into_libs=$hardcode_into_libs
12885 # Compile-time system search path for libraries.
12886 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12888 # Run-time system search path for libraries.
12889 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12891 # Whether dlopen is supported.
12892 dlopen_support=$enable_dlopen
12894 # Whether dlopen of programs is supported.
12895 dlopen_self=$enable_dlopen_self
12897 # Whether dlopen of statically linked programs is supported.
12898 dlopen_self_static=$enable_dlopen_self_static
12900 # Commands to strip libraries.
12901 old_striplib=$lt_old_striplib
12902 striplib=$lt_striplib
12905 # The linker used to build libraries.
12908 # Commands used to build an old-style archive.
12909 old_archive_cmds=$lt_old_archive_cmds
12911 # A language specific compiler.
12914 # Is the compiler the GNU compiler?
12917 # Compiler flag to turn off builtin functions.
12918 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
12920 # How to pass a linker flag through the compiler.
12921 wl=$lt_lt_prog_compiler_wl
12923 # Additional compiler flags for building library objects.
12924 pic_flag=$lt_lt_prog_compiler_pic
12926 # Compiler flag to prevent dynamic linking.
12927 link_static_flag=$lt_lt_prog_compiler_static
12929 # Does compiler simultaneously support -c and -o options?
12930 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
12932 # Whether or not to add -lc for building shared libraries.
12933 build_libtool_need_lc=$archive_cmds_need_lc
12935 # Whether or not to disallow shared libs when runtime libs are static.
12936 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
12938 # Compiler flag to allow reflexive dlopens.
12939 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
12941 # Compiler flag to generate shared objects directly from archives.
12942 whole_archive_flag_spec=$lt_whole_archive_flag_spec
12944 # Whether the compiler copes with passing no objects directly.
12945 compiler_needs_object=$lt_compiler_needs_object
12947 # Create an old-style archive from a shared archive.
12948 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
12950 # Create a temporary old-style archive to link instead of a shared archive.
12951 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
12953 # Commands used to build a shared archive.
12954 archive_cmds=$lt_archive_cmds
12955 archive_expsym_cmds=$lt_archive_expsym_cmds
12957 # Commands used to build a loadable module if different from building
12958 # a shared archive.
12959 module_cmds=$lt_module_cmds
12960 module_expsym_cmds=$lt_module_expsym_cmds
12962 # Whether we are building with GNU ld or not.
12963 with_gnu_ld=$lt_with_gnu_ld
12965 # Flag that allows shared libraries with undefined symbols to be built.
12966 allow_undefined_flag=$lt_allow_undefined_flag
12968 # Flag that enforces no undefined symbols.
12969 no_undefined_flag=$lt_no_undefined_flag
12971 # Flag to hardcode \$libdir into a binary during linking.
12972 # This must work even if \$libdir does not exist
12973 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
12975 # If ld is used when linking, flag to hardcode \$libdir into a binary
12976 # during linking. This must work even if \$libdir does not exist.
12977 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
12979 # Whether we need a single "-rpath" flag with a separated argument.
12980 hardcode_libdir_separator=$lt_hardcode_libdir_separator
12982 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
12983 # DIR into the resulting binary.
12984 hardcode_direct=$hardcode_direct
12986 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
12987 # DIR into the resulting binary and the resulting library dependency is
12988 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
12989 # library is relocated.
12990 hardcode_direct_absolute=$hardcode_direct_absolute
12992 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
12993 # into the resulting binary.
12994 hardcode_minus_L=$hardcode_minus_L
12996 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
12997 # into the resulting binary.
12998 hardcode_shlibpath_var=$hardcode_shlibpath_var
13000 # Set to "yes" if building a shared library automatically hardcodes DIR
13001 # into the library and all subsequent libraries and executables linked
13003 hardcode_automatic=$hardcode_automatic
13005 # Set to yes if linker adds runtime paths of dependent libraries
13006 # to runtime path list.
13007 inherit_rpath=$inherit_rpath
13009 # Whether libtool must link a program against all its dependency libraries.
13010 link_all_deplibs=$link_all_deplibs
13012 # Fix the shell variable \$srcfile for the compiler.
13013 fix_srcfile_path=$lt_fix_srcfile_path
13015 # Set to "yes" if exported symbols are required.
13016 always_export_symbols=$always_export_symbols
13018 # The commands to list exported symbols.
13019 export_symbols_cmds=$lt_export_symbols_cmds
13021 # Symbols that should not be listed in the preloaded symbols.
13022 exclude_expsyms=$lt_exclude_expsyms
13024 # Symbols that must always be exported.
13025 include_expsyms=$lt_include_expsyms
13027 # Commands necessary for linking programs (against libraries) with templates.
13028 prelink_cmds=$lt_prelink_cmds
13030 # Specify filename containing input files.
13031 file_list_spec=$lt_file_list_spec
13033 # How to hardcode a shared library path into an executable.
13034 hardcode_action=$hardcode_action
13036 # ### END LIBTOOL CONFIG
13042 cat <<\_LT_EOF >> "$cfgfile"
13043 # AIX sometimes has problems with the GCC collect2 program. For some
13044 # reason, if we set the COLLECT_NAMES environment variable, the problems
13045 # vanish in a puff of smoke.
13046 if test "X${COLLECT_NAMES+set}" != Xset; then
13048 export COLLECT_NAMES
13055 ltmain="$ac_aux_dir/ltmain.sh"
13058 # We use sed instead of cat because bash on DJGPP gets confused if
13059 # if finds mixed CR/LF and LF-only lines. Since sed operates in
13060 # text mode, it properly converts lines to CR/LF. This bash problem
13061 # is reportedly fixed, but why not run on old versions too?
13062 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
13063 || (rm -f "$cfgfile"; exit 1)
13067 cat << \_LT_EOF >> "$cfgfile"
13069 # func_dirname file append nondir_replacement
13070 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
13071 # otherwise set result to NONDIR_REPLACEMENT.
13075 */*) func_dirname_result="${1%/*}${2}" ;;
13076 * ) func_dirname_result="${3}" ;;
13080 # func_basename file
13083 func_basename_result="${1##*/}"
13086 # func_dirname_and_basename file append nondir_replacement
13087 # perform func_basename and func_dirname in a single function
13089 # dirname: Compute the dirname of FILE. If nonempty,
13090 # add APPEND to the result, otherwise set result
13091 # to NONDIR_REPLACEMENT.
13092 # value returned in "$func_dirname_result"
13093 # basename: Compute filename of FILE.
13094 # value retuned in "$func_basename_result"
13095 # Implementation must be kept synchronized with func_dirname
13096 # and func_basename. For efficiency, we do not delegate to
13097 # those functions but instead duplicate the functionality here.
13098 func_dirname_and_basename ()
13101 */*) func_dirname_result="${1%/*}${2}" ;;
13102 * ) func_dirname_result="${3}" ;;
13104 func_basename_result="${1##*/}"
13107 # func_stripname prefix suffix name
13108 # strip PREFIX and SUFFIX off of NAME.
13109 # PREFIX and SUFFIX must not contain globbing or regex special
13110 # characters, hashes, percent signs, but SUFFIX may contain a leading
13111 # dot (in which case that matches only a dot).
13114 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
13115 # positional parameters, so assign one to ordinary parameter first.
13116 func_stripname_result=${3}
13117 func_stripname_result=${func_stripname_result#"${1}"}
13118 func_stripname_result=${func_stripname_result%"${2}"}
13124 func_opt_split_opt=${1%%=*}
13125 func_opt_split_arg=${1#*=}
13132 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
13133 *) func_lo2o_result=${1} ;;
13137 # func_xform libobj-or-source
13140 func_xform_result=${1%.*}.lo
13143 # func_arith arithmetic-term...
13146 func_arith_result=$(( $* ))
13150 # STRING may not start with a hyphen.
13153 func_len_result=${#1}
13158 *) # Bourne compatible functions.
13159 cat << \_LT_EOF >> "$cfgfile"
13161 # func_dirname file append nondir_replacement
13162 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
13163 # otherwise set result to NONDIR_REPLACEMENT.
13166 # Extract subdirectory from the argument.
13167 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
13168 if test "X$func_dirname_result" = "X${1}"; then
13169 func_dirname_result="${3}"
13171 func_dirname_result="$func_dirname_result${2}"
13175 # func_basename file
13178 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
13182 # func_stripname prefix suffix name
13183 # strip PREFIX and SUFFIX off of NAME.
13184 # PREFIX and SUFFIX must not contain globbing or regex special
13185 # characters, hashes, percent signs, but SUFFIX may contain a leading
13186 # dot (in which case that matches only a dot).
13187 # func_strip_suffix prefix name
13191 .*) func_stripname_result=`$ECHO "X${3}" \
13192 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
13193 *) func_stripname_result=`$ECHO "X${3}" \
13194 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
13199 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
13200 my_sed_long_arg='1s/^-[^=]*=//'
13205 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
13206 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
13212 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
13215 # func_xform libobj-or-source
13218 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
13221 # func_arith arithmetic-term...
13224 func_arith_result=`expr "$@"`
13228 # STRING may not start with a hyphen.
13231 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
13237 case $lt_shell_append in
13239 cat << \_LT_EOF >> "$cfgfile"
13241 # func_append var value
13242 # Append VALUE to the end of shell variable VAR.
13250 cat << \_LT_EOF >> "$cfgfile"
13252 # func_append var value
13253 # Append VALUE to the end of shell variable VAR.
13264 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
13265 || (rm -f "$cfgfile"; exit 1)
13267 mv -f "$cfgfile" "$ofile" ||
13268 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
13276 cat >>$CONFIG_STATUS <<\_ACEOF
13278 { (exit 0); exit 0; }
13280 chmod +x $CONFIG_STATUS
13281 ac_clean_files=$ac_clean_files_save
13284 # configure is writing to config.log, and then calls config.status.
13285 # config.status does its own redirection, appending to config.log.
13286 # Unfortunately, on DOS this fails, as config.log is still kept open
13287 # by configure, so config.status won't be able to write to it; its
13288 # output is simply discarded. So we exec the FD to /dev/null,
13289 # effectively closing config.log, so it can be properly (re)opened and
13290 # appended to by config.status. When coming back to configure, we
13291 # need to make the FD available again.
13292 if test "$no_create" != yes; then
13294 ac_config_status_args=
13295 test "$silent" = yes &&
13296 ac_config_status_args="$ac_config_status_args --quiet"
13298 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
13300 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13301 # would make configure fail if this is the last instruction.
13302 $ac_cs_success || { (exit 1); exit 1; }