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 AR ac_ct_AR RANLIB ac_ct_RANLIB lt_ECHO enable_shared enable_static toolexecdir toolexeclibdir LIBOBJS LTLIBOBJS'
464 # Initialize some variables set by options.
466 ac_init_version=false
467 # The variables have the same names as the options, with
468 # dashes changed to underlines.
476 program_transform_name=s,x,x,
484 # Installation directory options.
485 # These are left unexpanded so users can "make install exec_prefix=/foo"
486 # and all the variables that are supposed to be based on exec_prefix
487 # by default will actually change.
488 # Use braces instead of parens because sh, perl, etc. also accept them.
489 bindir='${exec_prefix}/bin'
490 sbindir='${exec_prefix}/sbin'
491 libexecdir='${exec_prefix}/libexec'
492 datadir='${prefix}/share'
493 sysconfdir='${prefix}/etc'
494 sharedstatedir='${prefix}/com'
495 localstatedir='${prefix}/var'
496 libdir='${exec_prefix}/lib'
497 includedir='${prefix}/include'
498 oldincludedir='/usr/include'
499 infodir='${prefix}/info'
500 mandir='${prefix}/man'
505 # If the previous option needs an argument, assign it.
506 if test -n "$ac_prev"; then
507 eval "$ac_prev=\$ac_option"
512 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
514 # Accept the important Cygnus configure options, so we can diagnose typos.
518 -bindir | --bindir | --bindi | --bind | --bin | --bi)
520 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
523 -build | --build | --buil | --bui | --bu)
524 ac_prev=build_alias ;;
525 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
526 build_alias=$ac_optarg ;;
528 -cache-file | --cache-file | --cache-fil | --cache-fi \
529 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
530 ac_prev=cache_file ;;
531 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
532 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
533 cache_file=$ac_optarg ;;
536 cache_file=config.cache ;;
538 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
540 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
542 datadir=$ac_optarg ;;
544 -disable-* | --disable-*)
545 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
546 # Reject names that are not valid shell variable names.
547 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
548 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
549 { (exit 1); exit 1; }; }
550 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
551 eval "enable_$ac_feature=no" ;;
553 -enable-* | --enable-*)
554 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
555 # Reject names that are not valid shell variable names.
556 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
557 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
558 { (exit 1); exit 1; }; }
559 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
561 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
564 eval "enable_$ac_feature='$ac_optarg'" ;;
566 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
567 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
568 | --exec | --exe | --ex)
569 ac_prev=exec_prefix ;;
570 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
571 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
572 | --exec=* | --exe=* | --ex=*)
573 exec_prefix=$ac_optarg ;;
575 -gas | --gas | --ga | --g)
576 # Obsolete; use --with-gas.
579 -help | --help | --hel | --he | -h)
581 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
582 ac_init_help=recursive ;;
583 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
584 ac_init_help=short ;;
586 -host | --host | --hos | --ho)
587 ac_prev=host_alias ;;
588 -host=* | --host=* | --hos=* | --ho=*)
589 host_alias=$ac_optarg ;;
591 -includedir | --includedir | --includedi | --included | --include \
592 | --includ | --inclu | --incl | --inc)
593 ac_prev=includedir ;;
594 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
595 | --includ=* | --inclu=* | --incl=* | --inc=*)
596 includedir=$ac_optarg ;;
598 -infodir | --infodir | --infodi | --infod | --info | --inf)
600 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
601 infodir=$ac_optarg ;;
603 -libdir | --libdir | --libdi | --libd)
605 -libdir=* | --libdir=* | --libdi=* | --libd=*)
608 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
609 | --libexe | --libex | --libe)
610 ac_prev=libexecdir ;;
611 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
612 | --libexe=* | --libex=* | --libe=*)
613 libexecdir=$ac_optarg ;;
615 -localstatedir | --localstatedir | --localstatedi | --localstated \
616 | --localstate | --localstat | --localsta | --localst \
617 | --locals | --local | --loca | --loc | --lo)
618 ac_prev=localstatedir ;;
619 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
620 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
621 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
622 localstatedir=$ac_optarg ;;
624 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
626 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
630 # Obsolete; use --without-fp.
633 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
634 | --no-cr | --no-c | -n)
637 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
638 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
641 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
642 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
643 | --oldin | --oldi | --old | --ol | --o)
644 ac_prev=oldincludedir ;;
645 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
646 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
647 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
648 oldincludedir=$ac_optarg ;;
650 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
652 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
655 -program-prefix | --program-prefix | --program-prefi | --program-pref \
656 | --program-pre | --program-pr | --program-p)
657 ac_prev=program_prefix ;;
658 -program-prefix=* | --program-prefix=* | --program-prefi=* \
659 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
660 program_prefix=$ac_optarg ;;
662 -program-suffix | --program-suffix | --program-suffi | --program-suff \
663 | --program-suf | --program-su | --program-s)
664 ac_prev=program_suffix ;;
665 -program-suffix=* | --program-suffix=* | --program-suffi=* \
666 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
667 program_suffix=$ac_optarg ;;
669 -program-transform-name | --program-transform-name \
670 | --program-transform-nam | --program-transform-na \
671 | --program-transform-n | --program-transform- \
672 | --program-transform | --program-transfor \
673 | --program-transfo | --program-transf \
674 | --program-trans | --program-tran \
675 | --progr-tra | --program-tr | --program-t)
676 ac_prev=program_transform_name ;;
677 -program-transform-name=* | --program-transform-name=* \
678 | --program-transform-nam=* | --program-transform-na=* \
679 | --program-transform-n=* | --program-transform-=* \
680 | --program-transform=* | --program-transfor=* \
681 | --program-transfo=* | --program-transf=* \
682 | --program-trans=* | --program-tran=* \
683 | --progr-tra=* | --program-tr=* | --program-t=*)
684 program_transform_name=$ac_optarg ;;
686 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
687 | -silent | --silent | --silen | --sile | --sil)
690 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
692 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
694 sbindir=$ac_optarg ;;
696 -sharedstatedir | --sharedstatedir | --sharedstatedi \
697 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
698 | --sharedst | --shareds | --shared | --share | --shar \
700 ac_prev=sharedstatedir ;;
701 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
702 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
703 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
705 sharedstatedir=$ac_optarg ;;
707 -site | --site | --sit)
709 -site=* | --site=* | --sit=*)
712 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
714 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
717 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
718 | --syscon | --sysco | --sysc | --sys | --sy)
719 ac_prev=sysconfdir ;;
720 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
721 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
722 sysconfdir=$ac_optarg ;;
724 -target | --target | --targe | --targ | --tar | --ta | --t)
725 ac_prev=target_alias ;;
726 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
727 target_alias=$ac_optarg ;;
729 -v | -verbose | --verbose | --verbos | --verbo | --verb)
732 -version | --version | --versio | --versi | --vers | -V)
736 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
737 # Reject names that are not valid shell variable names.
738 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
739 { echo "$as_me: error: invalid package name: $ac_package" >&2
740 { (exit 1); exit 1; }; }
741 ac_package=`echo $ac_package| sed 's/-/_/g'`
743 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
746 eval "with_$ac_package='$ac_optarg'" ;;
748 -without-* | --without-*)
749 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
750 # Reject names that are not valid shell variable names.
751 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
752 { echo "$as_me: error: invalid package name: $ac_package" >&2
753 { (exit 1); exit 1; }; }
754 ac_package=`echo $ac_package | sed 's/-/_/g'`
755 eval "with_$ac_package=no" ;;
758 # Obsolete; use --with-x.
761 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
762 | --x-incl | --x-inc | --x-in | --x-i)
763 ac_prev=x_includes ;;
764 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
765 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
766 x_includes=$ac_optarg ;;
768 -x-libraries | --x-libraries | --x-librarie | --x-librari \
769 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
770 ac_prev=x_libraries ;;
771 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
772 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
773 x_libraries=$ac_optarg ;;
775 -*) { echo "$as_me: error: unrecognized option: $ac_option
776 Try \`$0 --help' for more information." >&2
777 { (exit 1); exit 1; }; }
781 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
782 # Reject names that are not valid shell variable names.
783 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
784 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
785 { (exit 1); exit 1; }; }
786 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
787 eval "$ac_envvar='$ac_optarg'"
791 # FIXME: should be removed in autoconf 3.0.
792 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
793 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
794 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
795 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
801 if test -n "$ac_prev"; then
802 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
803 { echo "$as_me: error: missing argument to $ac_option" >&2
804 { (exit 1); exit 1; }; }
807 # Be sure to have absolute paths.
808 for ac_var in exec_prefix prefix
810 eval ac_val=$`echo $ac_var`
812 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
813 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
814 { (exit 1); exit 1; }; };;
818 # Be sure to have absolute paths.
819 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
820 localstatedir libdir includedir oldincludedir infodir mandir
822 eval ac_val=$`echo $ac_var`
824 [\\/$]* | ?:[\\/]* ) ;;
825 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
826 { (exit 1); exit 1; }; };;
830 # There might be people who depend on the old broken behavior: `$host'
831 # used to hold the argument of --host etc.
832 # FIXME: To remove some day.
837 # FIXME: To remove some day.
838 if test "x$host_alias" != x; then
839 if test "x$build_alias" = x; then
840 cross_compiling=maybe
841 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
842 If a cross compiler is detected then cross compile mode will be used." >&2
843 elif test "x$build_alias" != "x$host_alias"; then
849 test -n "$host_alias" && ac_tool_prefix=$host_alias-
851 test "$silent" = yes && exec 6>/dev/null
854 # Find the source files, if location was not specified.
855 if test -z "$srcdir"; then
856 ac_srcdir_defaulted=yes
857 # Try the directory containing this script, then its parent.
858 ac_confdir=`(dirname "$0") 2>/dev/null ||
859 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
860 X"$0" : 'X\(//\)[^/]' \| \
861 X"$0" : 'X\(//\)$' \| \
862 X"$0" : 'X\(/\)' \| \
863 . : '\(.\)' 2>/dev/null ||
865 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
866 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
867 /^X\(\/\/\)$/{ s//\1/; q; }
868 /^X\(\/\).*/{ s//\1/; q; }
871 if test ! -r $srcdir/$ac_unique_file; then
875 ac_srcdir_defaulted=no
877 if test ! -r $srcdir/$ac_unique_file; then
878 if test "$ac_srcdir_defaulted" = yes; then
879 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
880 { (exit 1); exit 1; }; }
882 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
883 { (exit 1); exit 1; }; }
886 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
887 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
888 { (exit 1); exit 1; }; }
889 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
890 ac_env_build_alias_set=${build_alias+set}
891 ac_env_build_alias_value=$build_alias
892 ac_cv_env_build_alias_set=${build_alias+set}
893 ac_cv_env_build_alias_value=$build_alias
894 ac_env_host_alias_set=${host_alias+set}
895 ac_env_host_alias_value=$host_alias
896 ac_cv_env_host_alias_set=${host_alias+set}
897 ac_cv_env_host_alias_value=$host_alias
898 ac_env_target_alias_set=${target_alias+set}
899 ac_env_target_alias_value=$target_alias
900 ac_cv_env_target_alias_set=${target_alias+set}
901 ac_cv_env_target_alias_value=$target_alias
902 ac_env_CPP_set=${CPP+set}
903 ac_env_CPP_value=$CPP
904 ac_cv_env_CPP_set=${CPP+set}
905 ac_cv_env_CPP_value=$CPP
906 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
907 ac_env_CPPFLAGS_value=$CPPFLAGS
908 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
909 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
912 # Report the --help message.
914 if test "$ac_init_help" = "long"; then
915 # Omit some internal or obsolete options to make the list less imposing.
916 # This message is too long to be a string in the A/UX 3.1 sh.
918 \`configure' configures libssp 1.0 to adapt to many kinds of systems.
920 Usage: $0 [OPTION]... [VAR=VALUE]...
922 To assign environment variables (e.g., CC, CFLAGS...), specify them as
923 VAR=VALUE. See below for descriptions of some of the useful variables.
925 Defaults for the options are specified in brackets.
928 -h, --help display this help and exit
929 --help=short display options specific to this package
930 --help=recursive display the short help of all the included packages
931 -V, --version display version information and exit
932 -q, --quiet, --silent do not print \`checking...' messages
933 --cache-file=FILE cache test results in FILE [disabled]
934 -C, --config-cache alias for \`--cache-file=config.cache'
935 -n, --no-create do not create output files
936 --srcdir=DIR find the sources in DIR [configure dir or \`..']
941 Installation directories:
942 --prefix=PREFIX install architecture-independent files in PREFIX
944 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
947 By default, \`make install' will install all the files in
948 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
949 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
950 for instance \`--prefix=\$HOME'.
952 For better control, use the options below.
954 Fine tuning of the installation directories:
955 --bindir=DIR user executables [EPREFIX/bin]
956 --sbindir=DIR system admin executables [EPREFIX/sbin]
957 --libexecdir=DIR program executables [EPREFIX/libexec]
958 --datadir=DIR read-only architecture-independent data [PREFIX/share]
959 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
960 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
961 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
962 --libdir=DIR object code libraries [EPREFIX/lib]
963 --includedir=DIR C header files [PREFIX/include]
964 --oldincludedir=DIR C header files for non-gcc [/usr/include]
965 --infodir=DIR info documentation [PREFIX/info]
966 --mandir=DIR man documentation [PREFIX/man]
972 --program-prefix=PREFIX prepend PREFIX to installed program names
973 --program-suffix=SUFFIX append SUFFIX to installed program names
974 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
977 --build=BUILD configure for building on BUILD [guessed]
978 --host=HOST cross-compile to build programs to run on HOST [BUILD]
979 --target=TARGET configure for building compilers for TARGET [HOST]
983 if test -n "$ac_init_help"; then
984 case $ac_init_help in
985 short | recursive ) echo "Configuration of libssp 1.0:";;
990 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
991 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
992 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory
993 --enable-maintainer-mode enable make rules and dependencies not useful
994 (and sometimes confusing) to the casual installer
995 --enable-multilib build many library versions (default)
996 --disable-dependency-tracking speeds up one-time build
997 --enable-dependency-tracking do not reject slow dependency extractors
998 --enable-shared[=PKGS]
999 build shared libraries [default=yes]
1000 --enable-static[=PKGS]
1001 build static libraries [default=yes]
1002 --enable-fast-install[=PKGS]
1003 optimize for fast installation [default=yes]
1004 --disable-libtool-lock avoid locking (might break parallel builds)
1007 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1008 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1009 --with-pic try to use only PIC/non-PIC objects [default=use
1011 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1013 Some influential environment variables:
1014 CC C compiler command
1015 CFLAGS C compiler flags
1016 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1017 nonstandard directory <lib dir>
1018 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1019 headers in a nonstandard directory <include dir>
1022 Use these variables to override the choices made by `configure' or to help
1023 it to find libraries and programs with nonstandard names/locations.
1028 if test "$ac_init_help" = "recursive"; then
1029 # If there are subdirs, report their specific --help.
1031 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1032 test -d $ac_dir || continue
1035 if test "$ac_dir" != .; then
1036 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1037 # A "../" for each directory in $ac_dir_suffix.
1038 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1040 ac_dir_suffix= ac_top_builddir=
1044 .) # No --srcdir option. We are building in place.
1046 if test -z "$ac_top_builddir"; then
1049 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1051 [\\/]* | ?:[\\/]* ) # Absolute path.
1052 ac_srcdir=$srcdir$ac_dir_suffix;
1053 ac_top_srcdir=$srcdir ;;
1055 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1056 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1059 # Do not use `cd foo && pwd` to compute absolute paths, because
1060 # the directories may not exist.
1062 .) ac_abs_builddir="$ac_dir";;
1065 .) ac_abs_builddir=`pwd`;;
1066 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1067 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1070 case $ac_abs_builddir in
1071 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1073 case ${ac_top_builddir}. in
1074 .) ac_abs_top_builddir=$ac_abs_builddir;;
1075 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1076 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1079 case $ac_abs_builddir in
1080 .) ac_abs_srcdir=$ac_srcdir;;
1083 .) ac_abs_srcdir=$ac_abs_builddir;;
1084 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1085 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1088 case $ac_abs_builddir in
1089 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1091 case $ac_top_srcdir in
1092 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1093 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1094 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1099 # Check for guested configure; otherwise get Cygnus style configure.
1100 if test -f $ac_srcdir/configure.gnu; then
1102 $SHELL $ac_srcdir/configure.gnu --help=recursive
1103 elif test -f $ac_srcdir/configure; then
1105 $SHELL $ac_srcdir/configure --help=recursive
1106 elif test -f $ac_srcdir/configure.ac ||
1107 test -f $ac_srcdir/configure.in; then
1109 $ac_configure --help
1111 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1117 test -n "$ac_init_help" && exit 0
1118 if $ac_init_version; then
1120 libssp configure 1.0
1121 generated by GNU Autoconf 2.59
1123 Copyright (C) 2003 Free Software Foundation, Inc.
1124 This configure script is free software; the Free Software Foundation
1125 gives unlimited permission to copy, distribute and modify it.
1131 This file contains any messages produced by compilers while
1132 running configure, to aid debugging if configure makes a mistake.
1134 It was created by libssp $as_me 1.0, which was
1135 generated by GNU Autoconf 2.59. Invocation command line was
1146 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1147 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1148 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1149 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1150 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1152 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1153 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1155 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1156 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1157 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1158 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1159 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1160 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1161 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1169 test -z "$as_dir" && as_dir=.
1170 echo "PATH: $as_dir"
1185 # Keep a trace of the command line.
1186 # Strip out --no-create and --no-recursion so they do not pile up.
1187 # Strip out --silent because we don't want to record it for future runs.
1188 # Also quote any args containing shell meta-characters.
1189 # Make two passes to allow for proper duplicate-argument suppression.
1194 ac_must_keep_next=false
1200 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1201 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1202 | -silent | --silent | --silen | --sile | --sil)
1204 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1205 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1208 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1210 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1211 if test $ac_must_keep_next = true; then
1212 ac_must_keep_next=false # Got value, back to normal.
1215 *=* | --config-cache | -C | -disable-* | --disable-* \
1216 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1217 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1218 | -with-* | --with-* | -without-* | --without-* | --x)
1219 case "$ac_configure_args0 " in
1220 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1223 -* ) ac_must_keep_next=true ;;
1226 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1227 # Get rid of the leading space.
1233 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1234 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1236 # When interrupted or exit'd, cleanup temporary files, and complete
1237 # config.log. We remove comments because anyway the quotes in there
1238 # would cause problems or look ugly.
1239 # WARNING: Be sure not to use single quotes in there, as some shells,
1240 # such as our DU 5.0 friend, will then `close' the trap.
1241 trap 'exit_status=$?
1242 # Save into config.log some information that might help in debugging.
1247 ## ---------------- ##
1248 ## Cache variables. ##
1249 ## ---------------- ##
1252 # The following way of writing the cache mishandles newlines in values,
1255 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1258 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1259 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1263 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1270 ## ----------------- ##
1271 ## Output variables. ##
1272 ## ----------------- ##
1275 for ac_var in $ac_subst_vars
1277 eval ac_val=$`echo $ac_var`
1278 echo "$ac_var='"'"'$ac_val'"'"'"
1282 if test -n "$ac_subst_files"; then
1289 for ac_var in $ac_subst_files
1291 eval ac_val=$`echo $ac_var`
1292 echo "$ac_var='"'"'$ac_val'"'"'"
1297 if test -s confdefs.h; then
1304 sed "/^$/d" confdefs.h | sort
1307 test "$ac_signal" != 0 &&
1308 echo "$as_me: caught signal $ac_signal"
1309 echo "$as_me: exit $exit_status"
1311 rm -f core *.core &&
1312 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1315 for ac_signal in 1 2 13 15; do
1316 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1320 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1321 rm -rf conftest* confdefs.h
1322 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1325 # Predefined preprocessor variables.
1327 cat >>confdefs.h <<_ACEOF
1328 #define PACKAGE_NAME "$PACKAGE_NAME"
1332 cat >>confdefs.h <<_ACEOF
1333 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1337 cat >>confdefs.h <<_ACEOF
1338 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1342 cat >>confdefs.h <<_ACEOF
1343 #define PACKAGE_STRING "$PACKAGE_STRING"
1347 cat >>confdefs.h <<_ACEOF
1348 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1352 # Let the site file select an alternate cache file if it wants to.
1353 # Prefer explicitly selected file to automatically selected ones.
1354 if test -z "$CONFIG_SITE"; then
1355 if test "x$prefix" != xNONE; then
1356 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1358 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1361 for ac_site_file in $CONFIG_SITE; do
1362 if test -r "$ac_site_file"; then
1363 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1364 echo "$as_me: loading site script $ac_site_file" >&6;}
1365 sed 's/^/| /' "$ac_site_file" >&5
1370 if test -r "$cache_file"; then
1371 # Some versions of bash will fail to source /dev/null (special
1372 # files actually), so we avoid doing that.
1373 if test -f "$cache_file"; then
1374 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1375 echo "$as_me: loading cache $cache_file" >&6;}
1377 [\\/]* | ?:[\\/]* ) . $cache_file;;
1378 *) . ./$cache_file;;
1382 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1383 echo "$as_me: creating cache $cache_file" >&6;}
1387 # Check that the precious variables saved in the cache have kept the same
1389 ac_cache_corrupted=false
1390 for ac_var in `(set) 2>&1 |
1391 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1392 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1393 eval ac_new_set=\$ac_env_${ac_var}_set
1394 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1395 eval ac_new_val="\$ac_env_${ac_var}_value"
1396 case $ac_old_set,$ac_new_set in
1398 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1399 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1400 ac_cache_corrupted=: ;;
1402 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1403 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1404 ac_cache_corrupted=: ;;
1407 if test "x$ac_old_val" != "x$ac_new_val"; then
1408 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1409 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1410 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1411 echo "$as_me: former value: $ac_old_val" >&2;}
1412 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1413 echo "$as_me: current value: $ac_new_val" >&2;}
1414 ac_cache_corrupted=:
1417 # Pass precious variables to config.status.
1418 if test "$ac_new_set" = set; then
1420 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1421 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1422 *) ac_arg=$ac_var=$ac_new_val ;;
1424 case " $ac_configure_args " in
1425 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1426 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1430 if $ac_cache_corrupted; then
1431 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1432 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1433 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1434 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1435 { (exit 1); exit 1; }; }
1439 ac_cpp='$CPP $CPPFLAGS'
1440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1472 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1473 if test -f $ac_dir/install-sh; then
1475 ac_install_sh="$ac_aux_dir/install-sh -c"
1477 elif test -f $ac_dir/install.sh; then
1479 ac_install_sh="$ac_aux_dir/install.sh -c"
1481 elif test -f $ac_dir/shtool; then
1483 ac_install_sh="$ac_aux_dir/shtool install -c"
1487 if test -z "$ac_aux_dir"; then
1488 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1489 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1490 { (exit 1); exit 1; }; }
1492 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1493 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1494 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1496 # Make sure we can run config.sub.
1497 $ac_config_sub sun4 >/dev/null 2>&1 ||
1498 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1499 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1500 { (exit 1); exit 1; }; }
1502 echo "$as_me:$LINENO: checking build system type" >&5
1503 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1504 if test "${ac_cv_build+set}" = set; then
1505 echo $ECHO_N "(cached) $ECHO_C" >&6
1507 ac_cv_build_alias=$build_alias
1508 test -z "$ac_cv_build_alias" &&
1509 ac_cv_build_alias=`$ac_config_guess`
1510 test -z "$ac_cv_build_alias" &&
1511 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1512 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1513 { (exit 1); exit 1; }; }
1514 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1515 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1516 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1517 { (exit 1); exit 1; }; }
1520 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1521 echo "${ECHO_T}$ac_cv_build" >&6
1523 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1524 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1525 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1528 echo "$as_me:$LINENO: checking host system type" >&5
1529 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1530 if test "${ac_cv_host+set}" = set; then
1531 echo $ECHO_N "(cached) $ECHO_C" >&6
1533 ac_cv_host_alias=$host_alias
1534 test -z "$ac_cv_host_alias" &&
1535 ac_cv_host_alias=$ac_cv_build_alias
1536 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1537 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1538 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1539 { (exit 1); exit 1; }; }
1542 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1543 echo "${ECHO_T}$ac_cv_host" >&6
1545 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1546 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1547 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1550 echo "$as_me:$LINENO: checking target system type" >&5
1551 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1552 if test "${ac_cv_target+set}" = set; then
1553 echo $ECHO_N "(cached) $ECHO_C" >&6
1555 ac_cv_target_alias=$target_alias
1556 test "x$ac_cv_target_alias" = "x" &&
1557 ac_cv_target_alias=$ac_cv_host_alias
1558 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1559 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1560 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1561 { (exit 1); exit 1; }; }
1564 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1565 echo "${ECHO_T}$ac_cv_target" >&6
1566 target=$ac_cv_target
1567 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1568 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1569 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1572 # The aliases save the names the user supplied, while $host etc.
1573 # will get canonicalized.
1574 test -n "$target_alias" &&
1575 test "$program_prefix$program_suffix$program_transform_name" = \
1577 program_prefix=${target_alias}-
1578 case ${build_alias} in
1579 "") build_noncanonical=${build} ;;
1580 *) build_noncanonical=${build_alias} ;;
1583 case ${host_alias} in
1584 "") host_noncanonical=${build_noncanonical} ;;
1585 *) host_noncanonical=${host_alias} ;;
1588 case ${target_alias} in
1589 "") target_noncanonical=${host_noncanonical} ;;
1590 *) target_noncanonical=${target_alias} ;;
1596 am__api_version="1.9"
1597 # Find a good install program. We prefer a C program (faster),
1598 # so one script is as good as another. But avoid the broken or
1599 # incompatible versions:
1600 # SysV /etc/install, /usr/sbin/install
1601 # SunOS /usr/etc/install
1602 # IRIX /sbin/install
1604 # AmigaOS /C/install, which installs bootblocks on floppy discs
1605 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1606 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1607 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1608 # OS/2's system install, which has a completely different semantic
1609 # ./install, which can be erroneously created by make from ./install.sh.
1610 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1611 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1612 if test -z "$INSTALL"; then
1613 if test "${ac_cv_path_install+set}" = set; then
1614 echo $ECHO_N "(cached) $ECHO_C" >&6
1616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1620 test -z "$as_dir" && as_dir=.
1621 # Account for people who put trailing slashes in PATH elements.
1623 ./ | .// | /cC/* | \
1624 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1625 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1628 # OSF1 and SCO ODT 3.0 have their own names for install.
1629 # Don't use installbsd from OSF since it installs stuff as root
1631 for ac_prog in ginstall scoinst install; do
1632 for ac_exec_ext in '' $ac_executable_extensions; do
1633 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1634 if test $ac_prog = install &&
1635 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1636 # AIX install. It has an incompatible calling convention.
1638 elif test $ac_prog = install &&
1639 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1640 # program-specific install script used by HP pwplus--don't use.
1643 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1655 if test "${ac_cv_path_install+set}" = set; then
1656 INSTALL=$ac_cv_path_install
1658 # As a last resort, use the slow shell script. We don't cache a
1659 # path for INSTALL within a source directory, because that will
1660 # break other packages using the cache if that directory is
1661 # removed, or if the path is relative.
1662 INSTALL=$ac_install_sh
1665 echo "$as_me:$LINENO: result: $INSTALL" >&5
1666 echo "${ECHO_T}$INSTALL" >&6
1668 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1669 # It thinks the first close brace ends the variable substitution.
1670 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1672 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1674 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1676 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1677 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1680 echo timestamp > conftest.file
1681 # Do `set' in a subshell so we don't clobber the current shell's
1682 # arguments. Must try -L first in case configure is actually a
1683 # symlink; some systems play weird games with the mod time of symlinks
1684 # (eg FreeBSD returns the mod time of the symlink's containing
1687 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1688 if test "$*" = "X"; then
1690 set X `ls -t $srcdir/configure conftest.file`
1693 if test "$*" != "X $srcdir/configure conftest.file" \
1694 && test "$*" != "X conftest.file $srcdir/configure"; then
1696 # If neither matched, then we have a broken ls. This can happen
1697 # if, for instance, CONFIG_SHELL is bash and it inherits a
1698 # broken ls alias from the environment. This has actually
1699 # happened. Such a system could not be considered "sane".
1700 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1701 alias in your environment" >&5
1702 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1703 alias in your environment" >&2;}
1704 { (exit 1); exit 1; }; }
1707 test "$2" = conftest.file
1713 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1714 Check your system clock" >&5
1715 echo "$as_me: error: newly created file is older than distributed files!
1716 Check your system clock" >&2;}
1717 { (exit 1); exit 1; }; }
1719 echo "$as_me:$LINENO: result: yes" >&5
1720 echo "${ECHO_T}yes" >&6
1721 test "$program_prefix" != NONE &&
1722 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1723 # Use a double $ so make ignores it.
1724 test "$program_suffix" != NONE &&
1725 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1726 # Double any \ or $. echo might interpret backslashes.
1727 # By default was `s,x,x', remove it if useless.
1728 cat <<\_ACEOF >conftest.sed
1729 s/[\\$]/&&/g;s/;s,x,x,$//
1731 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1734 # expand $ac_aux_dir to an absolute path
1735 am_aux_dir=`cd $ac_aux_dir && pwd`
1737 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1738 # Use eval to expand $SHELL
1739 if eval "$MISSING --run true"; then
1740 am_missing_run="$MISSING --run "
1743 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1744 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1747 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1748 # We used to keeping the `.' as first argument, in order to
1749 # allow $(mkdir_p) to be used without argument. As in
1750 # $(mkdir_p) $(somedir)
1751 # where $(somedir) is conditionally defined. However this is wrong
1753 # 1. if the package is installed by a user who cannot write `.'
1754 # make install will fail,
1755 # 2. the above comment should most certainly read
1756 # $(mkdir_p) $(DESTDIR)$(somedir)
1757 # so it does not work when $(somedir) is undefined and
1758 # $(DESTDIR) is not.
1759 # To support the latter case, we have to write
1760 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1761 # so the `.' trick is pointless.
1762 mkdir_p='mkdir -p --'
1764 # On NextStep and OpenStep, the `mkdir' command does not
1765 # recognize any option. It will interpret all options as
1766 # directories to create, and then abort because `.' already
1768 for d in ./-p ./--version;
1770 test -d $d && rmdir $d
1772 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1773 if test -f "$ac_aux_dir/mkinstalldirs"; then
1774 mkdir_p='$(mkinstalldirs)'
1776 mkdir_p='$(install_sh) -d'
1780 for ac_prog in gawk mawk nawk awk
1782 # Extract the first word of "$ac_prog", so it can be a program name with args.
1783 set dummy $ac_prog; ac_word=$2
1784 echo "$as_me:$LINENO: checking for $ac_word" >&5
1785 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1786 if test "${ac_cv_prog_AWK+set}" = set; then
1787 echo $ECHO_N "(cached) $ECHO_C" >&6
1789 if test -n "$AWK"; then
1790 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1796 test -z "$as_dir" && as_dir=.
1797 for ac_exec_ext in '' $ac_executable_extensions; do
1798 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1799 ac_cv_prog_AWK="$ac_prog"
1800 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1809 if test -n "$AWK"; then
1810 echo "$as_me:$LINENO: result: $AWK" >&5
1811 echo "${ECHO_T}$AWK" >&6
1813 echo "$as_me:$LINENO: result: no" >&5
1814 echo "${ECHO_T}no" >&6
1817 test -n "$AWK" && break
1820 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1821 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1822 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1823 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1824 echo $ECHO_N "(cached) $ECHO_C" >&6
1826 cat >conftest.make <<\_ACEOF
1828 @echo 'ac_maketemp="$(MAKE)"'
1830 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1831 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1832 if test -n "$ac_maketemp"; then
1833 eval ac_cv_prog_make_${ac_make}_set=yes
1835 eval ac_cv_prog_make_${ac_make}_set=no
1839 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1840 echo "$as_me:$LINENO: result: yes" >&5
1841 echo "${ECHO_T}yes" >&6
1844 echo "$as_me:$LINENO: result: no" >&5
1845 echo "${ECHO_T}no" >&6
1846 SET_MAKE="MAKE=${MAKE-make}"
1849 rm -rf .tst 2>/dev/null
1850 mkdir .tst 2>/dev/null
1851 if test -d .tst; then
1856 rmdir .tst 2>/dev/null
1858 # test to see if srcdir already configured
1859 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1860 test -f $srcdir/config.status; then
1861 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1862 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1863 { (exit 1); exit 1; }; }
1866 # test whether we have cygpath
1867 if test -z "$CYGPATH_W"; then
1868 if (cygpath --version) >/dev/null 2>/dev/null; then
1869 CYGPATH_W='cygpath -w'
1876 # Define the identity of the package.
1881 cat >>confdefs.h <<_ACEOF
1882 #define PACKAGE "$PACKAGE"
1886 cat >>confdefs.h <<_ACEOF
1887 #define VERSION "$VERSION"
1890 # Some tools Automake needs.
1892 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1895 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1898 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1901 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1904 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1906 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1908 # Installed binaries are usually stripped using `strip' when the user
1909 # run `make install-strip'. However `strip' might not be the right
1910 # tool to use in cross-compilation environments, therefore Automake
1911 # will honor the `STRIP' environment variable to overrule this program.
1912 if test "$cross_compiling" != no; then
1913 if test -n "$ac_tool_prefix"; then
1914 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1915 set dummy ${ac_tool_prefix}strip; ac_word=$2
1916 echo "$as_me:$LINENO: checking for $ac_word" >&5
1917 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1918 if test "${ac_cv_prog_STRIP+set}" = set; then
1919 echo $ECHO_N "(cached) $ECHO_C" >&6
1921 if test -n "$STRIP"; then
1922 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1928 test -z "$as_dir" && as_dir=.
1929 for ac_exec_ext in '' $ac_executable_extensions; do
1930 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1931 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1932 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1940 STRIP=$ac_cv_prog_STRIP
1941 if test -n "$STRIP"; then
1942 echo "$as_me:$LINENO: result: $STRIP" >&5
1943 echo "${ECHO_T}$STRIP" >&6
1945 echo "$as_me:$LINENO: result: no" >&5
1946 echo "${ECHO_T}no" >&6
1950 if test -z "$ac_cv_prog_STRIP"; then
1952 # Extract the first word of "strip", so it can be a program name with args.
1953 set dummy strip; ac_word=$2
1954 echo "$as_me:$LINENO: checking for $ac_word" >&5
1955 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1956 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1957 echo $ECHO_N "(cached) $ECHO_C" >&6
1959 if test -n "$ac_ct_STRIP"; then
1960 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1966 test -z "$as_dir" && as_dir=.
1967 for ac_exec_ext in '' $ac_executable_extensions; do
1968 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1969 ac_cv_prog_ac_ct_STRIP="strip"
1970 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1976 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1979 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1980 if test -n "$ac_ct_STRIP"; then
1981 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1982 echo "${ECHO_T}$ac_ct_STRIP" >&6
1984 echo "$as_me:$LINENO: result: no" >&5
1985 echo "${ECHO_T}no" >&6
1990 STRIP="$ac_cv_prog_STRIP"
1994 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1996 # We need awk for the "check" target. The system "awk" is bad on
1998 # Always define AMTAR for backward compatibility.
2000 AMTAR=${AMTAR-"${am_missing_run}tar"}
2002 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2009 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
2010 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
2011 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
2012 if test "${enable_version_specific_runtime_libs+set}" = set; then
2013 enableval="$enable_version_specific_runtime_libs"
2014 case "$enableval" in
2015 yes) version_specific_libs=yes ;;
2016 no) version_specific_libs=no ;;
2017 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
2018 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
2019 { (exit 1); exit 1; }; };;
2022 version_specific_libs=no
2024 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
2025 echo "${ECHO_T}$version_specific_libs" >&6
2027 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2028 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
2029 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
2030 if test "${enable_maintainer_mode+set}" = set; then
2031 enableval="$enable_maintainer_mode"
2032 USE_MAINTAINER_MODE=$enableval
2034 USE_MAINTAINER_MODE=no
2036 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2037 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
2040 if test $USE_MAINTAINER_MODE = yes; then
2041 MAINTAINER_MODE_TRUE=
2042 MAINTAINER_MODE_FALSE='#'
2044 MAINTAINER_MODE_TRUE='#'
2045 MAINTAINER_MODE_FALSE=
2048 MAINT=$MAINTAINER_MODE_TRUE
2054 # Default to --enable-multilib
2055 # Check whether --enable-multilib or --disable-multilib was given.
2056 if test "${enable_multilib+set}" = set; then
2057 enableval="$enable_multilib"
2058 case "$enableval" in
2059 yes) multilib=yes ;;
2061 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
2062 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
2063 { (exit 1); exit 1; }; } ;;
2069 # We may get other options which we leave undocumented:
2070 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2071 # See config-ml.in if you want the gory details.
2073 if test "$srcdir" = "."; then
2074 if test "$with_target_subdir" != "."; then
2075 multi_basedir="$srcdir/$with_multisrctop../.."
2077 multi_basedir="$srcdir/$with_multisrctop.."
2080 multi_basedir="$srcdir/.."
2084 # Even if the default multilib is not a cross compilation,
2085 # it may be that some of the other multilibs are.
2086 if test $cross_compiling = no && test $multilib = yes \
2087 && test "x${with_multisubdir}" != x ; then
2088 cross_compiling=maybe
2091 ac_config_commands="$ac_config_commands default-1"
2094 target_alias=${target_alias-$host_alias}
2097 ac_config_headers="$ac_config_headers config.h"
2101 ac_cpp='$CPP $CPPFLAGS'
2102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2106 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
2107 # We must force CC to /not/ be precious variables; otherwise
2108 # the wrong, non-multilib-adjusted value will be used in multilibs.
2109 # As a side effect, we have to subst CFLAGS ourselves.
2114 ac_cpp='$CPP $CPPFLAGS'
2115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2118 if test -n "$ac_tool_prefix"; then
2119 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2120 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2121 echo "$as_me:$LINENO: checking for $ac_word" >&5
2122 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2123 if test "${ac_cv_prog_CC+set}" = set; then
2124 echo $ECHO_N "(cached) $ECHO_C" >&6
2126 if test -n "$CC"; then
2127 ac_cv_prog_CC="$CC" # Let the user override the test.
2129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2133 test -z "$as_dir" && as_dir=.
2134 for ac_exec_ext in '' $ac_executable_extensions; do
2135 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2136 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2137 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2146 if test -n "$CC"; then
2147 echo "$as_me:$LINENO: result: $CC" >&5
2148 echo "${ECHO_T}$CC" >&6
2150 echo "$as_me:$LINENO: result: no" >&5
2151 echo "${ECHO_T}no" >&6
2155 if test -z "$ac_cv_prog_CC"; then
2157 # Extract the first word of "gcc", so it can be a program name with args.
2158 set dummy gcc; ac_word=$2
2159 echo "$as_me:$LINENO: checking for $ac_word" >&5
2160 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2161 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2162 echo $ECHO_N "(cached) $ECHO_C" >&6
2164 if test -n "$ac_ct_CC"; then
2165 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2171 test -z "$as_dir" && as_dir=.
2172 for ac_exec_ext in '' $ac_executable_extensions; do
2173 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2174 ac_cv_prog_ac_ct_CC="gcc"
2175 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2183 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2184 if test -n "$ac_ct_CC"; then
2185 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2186 echo "${ECHO_T}$ac_ct_CC" >&6
2188 echo "$as_me:$LINENO: result: no" >&5
2189 echo "${ECHO_T}no" >&6
2197 if test -z "$CC"; then
2198 if test -n "$ac_tool_prefix"; then
2199 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2200 set dummy ${ac_tool_prefix}cc; ac_word=$2
2201 echo "$as_me:$LINENO: checking for $ac_word" >&5
2202 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2203 if test "${ac_cv_prog_CC+set}" = set; then
2204 echo $ECHO_N "(cached) $ECHO_C" >&6
2206 if test -n "$CC"; then
2207 ac_cv_prog_CC="$CC" # Let the user override the test.
2209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2213 test -z "$as_dir" && as_dir=.
2214 for ac_exec_ext in '' $ac_executable_extensions; do
2215 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2216 ac_cv_prog_CC="${ac_tool_prefix}cc"
2217 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2226 if test -n "$CC"; then
2227 echo "$as_me:$LINENO: result: $CC" >&5
2228 echo "${ECHO_T}$CC" >&6
2230 echo "$as_me:$LINENO: result: no" >&5
2231 echo "${ECHO_T}no" >&6
2235 if test -z "$ac_cv_prog_CC"; then
2237 # Extract the first word of "cc", so it can be a program name with args.
2238 set dummy cc; ac_word=$2
2239 echo "$as_me:$LINENO: checking for $ac_word" >&5
2240 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2241 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2242 echo $ECHO_N "(cached) $ECHO_C" >&6
2244 if test -n "$ac_ct_CC"; then
2245 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2251 test -z "$as_dir" && as_dir=.
2252 for ac_exec_ext in '' $ac_executable_extensions; do
2253 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2254 ac_cv_prog_ac_ct_CC="cc"
2255 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2263 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2264 if test -n "$ac_ct_CC"; then
2265 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2266 echo "${ECHO_T}$ac_ct_CC" >&6
2268 echo "$as_me:$LINENO: result: no" >&5
2269 echo "${ECHO_T}no" >&6
2278 if test -z "$CC"; then
2279 # Extract the first word of "cc", so it can be a program name with args.
2280 set dummy cc; ac_word=$2
2281 echo "$as_me:$LINENO: checking for $ac_word" >&5
2282 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2283 if test "${ac_cv_prog_CC+set}" = set; then
2284 echo $ECHO_N "(cached) $ECHO_C" >&6
2286 if test -n "$CC"; then
2287 ac_cv_prog_CC="$CC" # Let the user override the test.
2290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2294 test -z "$as_dir" && as_dir=.
2295 for ac_exec_ext in '' $ac_executable_extensions; do
2296 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2297 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2298 ac_prog_rejected=yes
2302 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2308 if test $ac_prog_rejected = yes; then
2309 # We found a bogon in the path, so make sure we never use it.
2310 set dummy $ac_cv_prog_CC
2312 if test $# != 0; then
2313 # We chose a different compiler from the bogus one.
2314 # However, it has the same basename, so the bogon will be chosen
2315 # first if we set CC to just the basename; use the full file name.
2317 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2323 if test -n "$CC"; then
2324 echo "$as_me:$LINENO: result: $CC" >&5
2325 echo "${ECHO_T}$CC" >&6
2327 echo "$as_me:$LINENO: result: no" >&5
2328 echo "${ECHO_T}no" >&6
2332 if test -z "$CC"; then
2333 if test -n "$ac_tool_prefix"; then
2336 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2337 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2338 echo "$as_me:$LINENO: checking for $ac_word" >&5
2339 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2340 if test "${ac_cv_prog_CC+set}" = set; then
2341 echo $ECHO_N "(cached) $ECHO_C" >&6
2343 if test -n "$CC"; then
2344 ac_cv_prog_CC="$CC" # Let the user override the test.
2346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2350 test -z "$as_dir" && as_dir=.
2351 for ac_exec_ext in '' $ac_executable_extensions; do
2352 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2353 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2354 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2363 if test -n "$CC"; then
2364 echo "$as_me:$LINENO: result: $CC" >&5
2365 echo "${ECHO_T}$CC" >&6
2367 echo "$as_me:$LINENO: result: no" >&5
2368 echo "${ECHO_T}no" >&6
2371 test -n "$CC" && break
2374 if test -z "$CC"; then
2378 # Extract the first word of "$ac_prog", so it can be a program name with args.
2379 set dummy $ac_prog; ac_word=$2
2380 echo "$as_me:$LINENO: checking for $ac_word" >&5
2381 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2382 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2383 echo $ECHO_N "(cached) $ECHO_C" >&6
2385 if test -n "$ac_ct_CC"; then
2386 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2392 test -z "$as_dir" && as_dir=.
2393 for ac_exec_ext in '' $ac_executable_extensions; do
2394 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2395 ac_cv_prog_ac_ct_CC="$ac_prog"
2396 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2404 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2405 if test -n "$ac_ct_CC"; then
2406 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2407 echo "${ECHO_T}$ac_ct_CC" >&6
2409 echo "$as_me:$LINENO: result: no" >&5
2410 echo "${ECHO_T}no" >&6
2413 test -n "$ac_ct_CC" && break
2422 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2423 See \`config.log' for more details." >&5
2424 echo "$as_me: error: no acceptable C compiler found in \$PATH
2425 See \`config.log' for more details." >&2;}
2426 { (exit 1); exit 1; }; }
2428 # Provide some information about the compiler.
2429 echo "$as_me:$LINENO:" \
2430 "checking for C compiler version" >&5
2431 ac_compiler=`set X $ac_compile; echo $2`
2432 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2433 (eval $ac_compiler --version </dev/null >&5) 2>&5
2435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2436 (exit $ac_status); }
2437 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2438 (eval $ac_compiler -v </dev/null >&5) 2>&5
2440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2441 (exit $ac_status); }
2442 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2443 (eval $ac_compiler -V </dev/null >&5) 2>&5
2445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2446 (exit $ac_status); }
2448 cat >conftest.$ac_ext <<_ACEOF
2451 cat confdefs.h >>conftest.$ac_ext
2452 cat >>conftest.$ac_ext <<_ACEOF
2453 /* end confdefs.h. */
2464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2465 (eval $ac_link) 2>&5
2467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2468 (exit $ac_status); }; then
2474 if test x$gcc_no_link = xyes; then
2475 # Setting cross_compile will disable run tests; it will
2476 # also disable AC_CHECK_FILE but that's generally
2477 # correct if we can't link.
2481 cat >conftest.$ac_ext <<_ACEOF
2484 cat confdefs.h >>conftest.$ac_ext
2485 cat >>conftest.$ac_ext <<_ACEOF
2486 /* end confdefs.h. */
2496 ac_clean_files_save=$ac_clean_files
2497 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2498 # Try to create an executable without -o first, disregard a.out.
2499 # It will help us diagnose broken compilers, and finding out an intuition
2501 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2502 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2503 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2504 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2505 (eval $ac_link_default) 2>&5
2507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2508 (exit $ac_status); }; then
2509 # Find the output, starting from the most likely. This scheme is
2510 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2513 # Be careful to initialize this variable, since it used to be cached.
2514 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2516 # b.out is created by i960 compilers.
2517 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2519 test -f "$ac_file" || continue
2521 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2524 # This is the source file.
2527 # We found the default executable, but exeext='' is most
2531 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2532 # FIXME: I believe we export ac_cv_exeext for Libtool,
2533 # but it would be cool to find out if it's true. Does anybody
2534 # maintain Libtool? --akim.
2542 echo "$as_me: failed program was:" >&5
2543 sed 's/^/| /' conftest.$ac_ext >&5
2545 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2546 See \`config.log' for more details." >&5
2547 echo "$as_me: error: C compiler cannot create executables
2548 See \`config.log' for more details." >&2;}
2549 { (exit 77); exit 77; }; }
2552 ac_exeext=$ac_cv_exeext
2553 echo "$as_me:$LINENO: result: $ac_file" >&5
2554 echo "${ECHO_T}$ac_file" >&6
2556 # Check the compiler produces executables we can run. If not, either
2557 # the compiler is broken, or we cross compile.
2558 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2559 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2560 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2561 # If not cross compiling, check that we can run a simple program.
2562 if test "$cross_compiling" != yes; then
2563 if { ac_try='./$ac_file'
2564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2568 (exit $ac_status); }; }; then
2571 if test "$cross_compiling" = maybe; then
2574 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2575 If you meant to cross compile, use \`--host'.
2576 See \`config.log' for more details." >&5
2577 echo "$as_me: error: cannot run C compiled programs.
2578 If you meant to cross compile, use \`--host'.
2579 See \`config.log' for more details." >&2;}
2580 { (exit 1); exit 1; }; }
2584 echo "$as_me:$LINENO: result: yes" >&5
2585 echo "${ECHO_T}yes" >&6
2587 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2588 ac_clean_files=$ac_clean_files_save
2589 # Check the compiler produces executables we can run. If not, either
2590 # the compiler is broken, or we cross compile.
2591 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2592 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2593 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2594 echo "${ECHO_T}$cross_compiling" >&6
2596 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2597 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2599 (eval $ac_link) 2>&5
2601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2602 (exit $ac_status); }; then
2603 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2604 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2605 # work properly (i.e., refer to `conftest.exe'), while it won't with
2607 for ac_file in conftest.exe conftest conftest.*; do
2608 test -f "$ac_file" || continue
2610 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2611 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2618 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2619 See \`config.log' for more details." >&5
2620 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2621 See \`config.log' for more details." >&2;}
2622 { (exit 1); exit 1; }; }
2625 rm -f conftest$ac_cv_exeext
2626 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2627 echo "${ECHO_T}$ac_cv_exeext" >&6
2629 rm -f conftest.$ac_ext
2630 EXEEXT=$ac_cv_exeext
2633 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2634 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2635 if test "${ac_cv_objext+set}" = set; then
2636 echo $ECHO_N "(cached) $ECHO_C" >&6
2638 cat >conftest.$ac_ext <<_ACEOF
2641 cat confdefs.h >>conftest.$ac_ext
2642 cat >>conftest.$ac_ext <<_ACEOF
2643 /* end confdefs.h. */
2653 rm -f conftest.o conftest.obj
2654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2655 (eval $ac_compile) 2>&5
2657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2658 (exit $ac_status); }; then
2659 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2661 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2662 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2667 echo "$as_me: failed program was:" >&5
2668 sed 's/^/| /' conftest.$ac_ext >&5
2670 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2671 See \`config.log' for more details." >&5
2672 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2673 See \`config.log' for more details." >&2;}
2674 { (exit 1); exit 1; }; }
2677 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2679 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2680 echo "${ECHO_T}$ac_cv_objext" >&6
2681 OBJEXT=$ac_cv_objext
2683 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2684 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2685 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2686 echo $ECHO_N "(cached) $ECHO_C" >&6
2688 cat >conftest.$ac_ext <<_ACEOF
2691 cat confdefs.h >>conftest.$ac_ext
2692 cat >>conftest.$ac_ext <<_ACEOF
2693 /* end confdefs.h. */
2706 rm -f conftest.$ac_objext
2707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2708 (eval $ac_compile) 2>conftest.er1
2710 grep -v '^ *+' conftest.er1 >conftest.err
2712 cat conftest.err >&5
2713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2714 (exit $ac_status); } &&
2715 { ac_try='test -z "$ac_c_werror_flag"
2716 || test ! -s conftest.err'
2717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2721 (exit $ac_status); }; } &&
2722 { ac_try='test -s conftest.$ac_objext'
2723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2727 (exit $ac_status); }; }; then
2730 echo "$as_me: failed program was:" >&5
2731 sed 's/^/| /' conftest.$ac_ext >&5
2735 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2736 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2739 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2740 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2741 GCC=`test $ac_compiler_gnu = yes && echo yes`
2742 ac_test_CFLAGS=${CFLAGS+set}
2743 ac_save_CFLAGS=$CFLAGS
2745 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2746 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2747 if test "${ac_cv_prog_cc_g+set}" = set; then
2748 echo $ECHO_N "(cached) $ECHO_C" >&6
2750 cat >conftest.$ac_ext <<_ACEOF
2753 cat confdefs.h >>conftest.$ac_ext
2754 cat >>conftest.$ac_ext <<_ACEOF
2755 /* end confdefs.h. */
2765 rm -f conftest.$ac_objext
2766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2767 (eval $ac_compile) 2>conftest.er1
2769 grep -v '^ *+' conftest.er1 >conftest.err
2771 cat conftest.err >&5
2772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2773 (exit $ac_status); } &&
2774 { ac_try='test -z "$ac_c_werror_flag"
2775 || test ! -s conftest.err'
2776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2780 (exit $ac_status); }; } &&
2781 { ac_try='test -s conftest.$ac_objext'
2782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2786 (exit $ac_status); }; }; then
2789 echo "$as_me: failed program was:" >&5
2790 sed 's/^/| /' conftest.$ac_ext >&5
2794 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2796 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2797 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2798 if test "$ac_test_CFLAGS" = set; then
2799 CFLAGS=$ac_save_CFLAGS
2800 elif test $ac_cv_prog_cc_g = yes; then
2801 if test "$GCC" = yes; then
2807 if test "$GCC" = yes; then
2813 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2814 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2815 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2816 echo $ECHO_N "(cached) $ECHO_C" >&6
2818 ac_cv_prog_cc_stdc=no
2820 cat >conftest.$ac_ext <<_ACEOF
2823 cat confdefs.h >>conftest.$ac_ext
2824 cat >>conftest.$ac_ext <<_ACEOF
2825 /* end confdefs.h. */
2828 #include <sys/types.h>
2829 #include <sys/stat.h>
2830 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2831 struct buf { int x; };
2832 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2833 static char *e (p, i)
2839 static char *f (char * (*g) (char **, int), char **p, ...)
2844 s = g (p, va_arg (v,int));
2849 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2850 function prototypes and stuff, but not '\xHH' hex character constants.
2851 These don't provoke an error unfortunately, instead are silently treated
2852 as 'x'. The following induces an error, until -std1 is added to get
2853 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2854 array size at least. It's necessary to write '\x00'==0 to get something
2855 that's true only with -std1. */
2856 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2858 int test (int i, double x);
2859 struct s1 {int (*f) (int a);};
2860 struct s2 {int (*f) (double a);};
2861 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2867 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2872 # Don't try gcc -ansi; that turns off useful extensions and
2873 # breaks some systems' header files.
2874 # AIX -qlanglvl=ansi
2875 # Ultrix and OSF/1 -std1
2876 # HP-UX 10.20 and later -Ae
2877 # HP-UX older versions -Aa -D_HPUX_SOURCE
2878 # SVR4 -Xc -D__EXTENSIONS__
2879 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2881 CC="$ac_save_CC $ac_arg"
2882 rm -f conftest.$ac_objext
2883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2884 (eval $ac_compile) 2>conftest.er1
2886 grep -v '^ *+' conftest.er1 >conftest.err
2888 cat conftest.err >&5
2889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2890 (exit $ac_status); } &&
2891 { ac_try='test -z "$ac_c_werror_flag"
2892 || test ! -s conftest.err'
2893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2897 (exit $ac_status); }; } &&
2898 { ac_try='test -s conftest.$ac_objext'
2899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2903 (exit $ac_status); }; }; then
2904 ac_cv_prog_cc_stdc=$ac_arg
2907 echo "$as_me: failed program was:" >&5
2908 sed 's/^/| /' conftest.$ac_ext >&5
2911 rm -f conftest.err conftest.$ac_objext
2913 rm -f conftest.$ac_ext conftest.$ac_objext
2918 case "x$ac_cv_prog_cc_stdc" in
2920 echo "$as_me:$LINENO: result: none needed" >&5
2921 echo "${ECHO_T}none needed" >&6 ;;
2923 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2924 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2925 CC="$CC $ac_cv_prog_cc_stdc" ;;
2928 # Some people use a C++ compiler to compile C. Since we use `exit',
2929 # in C++ we need to declare it. In case someone uses the same compiler
2930 # for both compiling C and C++ we need to have the C++ compiler decide
2931 # the declaration of exit, since it's the most demanding environment.
2932 cat >conftest.$ac_ext <<_ACEOF
2937 rm -f conftest.$ac_objext
2938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2939 (eval $ac_compile) 2>conftest.er1
2941 grep -v '^ *+' conftest.er1 >conftest.err
2943 cat conftest.err >&5
2944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2945 (exit $ac_status); } &&
2946 { ac_try='test -z "$ac_c_werror_flag"
2947 || test ! -s conftest.err'
2948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2952 (exit $ac_status); }; } &&
2953 { ac_try='test -s conftest.$ac_objext'
2954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2958 (exit $ac_status); }; }; then
2959 for ac_declaration in \
2961 'extern "C" void std::exit (int) throw (); using std::exit;' \
2962 'extern "C" void std::exit (int); using std::exit;' \
2963 'extern "C" void exit (int) throw ();' \
2964 'extern "C" void exit (int);' \
2967 cat >conftest.$ac_ext <<_ACEOF
2970 cat confdefs.h >>conftest.$ac_ext
2971 cat >>conftest.$ac_ext <<_ACEOF
2972 /* end confdefs.h. */
2983 rm -f conftest.$ac_objext
2984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2985 (eval $ac_compile) 2>conftest.er1
2987 grep -v '^ *+' conftest.er1 >conftest.err
2989 cat conftest.err >&5
2990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2991 (exit $ac_status); } &&
2992 { ac_try='test -z "$ac_c_werror_flag"
2993 || test ! -s conftest.err'
2994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2998 (exit $ac_status); }; } &&
2999 { ac_try='test -s conftest.$ac_objext'
3000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3004 (exit $ac_status); }; }; then
3007 echo "$as_me: failed program was:" >&5
3008 sed 's/^/| /' conftest.$ac_ext >&5
3012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3013 cat >conftest.$ac_ext <<_ACEOF
3016 cat confdefs.h >>conftest.$ac_ext
3017 cat >>conftest.$ac_ext <<_ACEOF
3018 /* end confdefs.h. */
3028 rm -f conftest.$ac_objext
3029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3030 (eval $ac_compile) 2>conftest.er1
3032 grep -v '^ *+' conftest.er1 >conftest.err
3034 cat conftest.err >&5
3035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3036 (exit $ac_status); } &&
3037 { ac_try='test -z "$ac_c_werror_flag"
3038 || test ! -s conftest.err'
3039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3043 (exit $ac_status); }; } &&
3044 { ac_try='test -s conftest.$ac_objext'
3045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3049 (exit $ac_status); }; }; then
3052 echo "$as_me: failed program was:" >&5
3053 sed 's/^/| /' conftest.$ac_ext >&5
3056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3059 if test -n "$ac_declaration"; then
3060 echo '#ifdef __cplusplus' >>confdefs.h
3061 echo $ac_declaration >>confdefs.h
3062 echo '#endif' >>confdefs.h
3066 echo "$as_me: failed program was:" >&5
3067 sed 's/^/| /' conftest.$ac_ext >&5
3070 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3072 ac_cpp='$CPP $CPPFLAGS'
3073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3076 DEPDIR="${am__leading_dot}deps"
3078 ac_config_commands="$ac_config_commands depfiles"
3081 am_make=${MAKE-make}
3082 cat > confinc << 'END'
3087 # If we don't find an include directive, just comment out the code.
3088 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3089 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3093 # First try GNU make style include.
3094 echo "include confinc" > confmf
3095 # We grep out `Entering directory' and `Leaving directory'
3096 # messages which can occur if `w' ends up in MAKEFLAGS.
3097 # In particular we don't look at `^make:' because GNU make might
3098 # be invoked under some other name (usually "gmake"), in which
3099 # case it prints its new name instead of `make'.
3100 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3105 # Now try BSD make style include.
3106 if test "$am__include" = "#"; then
3107 echo '.include "confinc"' > confmf
3108 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3109 am__include=.include
3116 echo "$as_me:$LINENO: result: $_am_result" >&5
3117 echo "${ECHO_T}$_am_result" >&6
3118 rm -f confinc confmf
3120 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3121 if test "${enable_dependency_tracking+set}" = set; then
3122 enableval="$enable_dependency_tracking"
3125 if test "x$enable_dependency_tracking" != xno; then
3126 am_depcomp="$ac_aux_dir/depcomp"
3131 if test "x$enable_dependency_tracking" != xno; then
3142 depcc="$CC" am_compiler_list=
3144 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3145 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3146 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3147 echo $ECHO_N "(cached) $ECHO_C" >&6
3149 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3150 # We make a subdir and do the tests there. Otherwise we can end up
3151 # making bogus files that we don't know about and never remove. For
3152 # instance it was reported that on HP-UX the gcc test will end up
3153 # making a dummy file named `D' -- because `-MD' means `put the output
3156 # Copy depcomp to subdir because otherwise we won't find it if we're
3157 # using a relative directory.
3158 cp "$am_depcomp" conftest.dir
3160 # We will build objects and dependencies in a subdirectory because
3161 # it helps to detect inapplicable dependency modes. For instance
3162 # both Tru64's cc and ICC support -MD to output dependencies as a
3163 # side effect of compilation, but ICC will put the dependencies in
3164 # the current directory while Tru64 will put them in the object
3168 am_cv_CC_dependencies_compiler_type=none
3169 if test "$am_compiler_list" = ""; then
3170 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3172 for depmode in $am_compiler_list; do
3173 # Setup a source with many dependencies, because some compilers
3174 # like to wrap large dependency lists on column 80 (with \), and
3175 # we should not choose a depcomp mode which is confused by this.
3177 # We need to recreate these files for each test, as the compiler may
3178 # overwrite some of them when testing with obscure command lines.
3179 # This happens at least with the AIX C compiler.
3181 for i in 1 2 3 4 5 6; do
3182 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3183 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3184 # Solaris 8's {/usr,}/bin/sh.
3185 touch sub/conftst$i.h
3187 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3191 # after this tag, mechanisms are not by side-effect, so they'll
3192 # only be used when explicitly requested
3193 if test "x$enable_dependency_tracking" = xyes; then
3201 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3202 # mode. It turns out that the SunPro C++ compiler does not properly
3203 # handle `-M -o', and we need to detect this.
3204 if depmode=$depmode \
3205 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3206 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3207 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3208 >/dev/null 2>conftest.err &&
3209 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3210 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3211 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3212 # icc doesn't choke on unknown options, it will just issue warnings
3213 # or remarks (even with -Werror). So we grep stderr for any message
3214 # that says an option was ignored or not supported.
3215 # When given -MP, icc 7.0 and 7.1 complain thusly:
3216 # icc: Command line warning: ignoring option '-M'; no argument required
3217 # The diagnosis changed in icc 8.0:
3218 # icc: Command line remark: option '-MP' not supported
3219 if (grep 'ignoring option' conftest.err ||
3220 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3221 am_cv_CC_dependencies_compiler_type=$depmode
3230 am_cv_CC_dependencies_compiler_type=none
3234 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3235 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3236 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3241 test "x$enable_dependency_tracking" != xno \
3242 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3244 am__fastdepCC_FALSE='#'
3246 am__fastdepCC_TRUE='#'
3247 am__fastdepCC_FALSE=
3255 if test "x$GCC" != "xyes"; then
3256 { { echo "$as_me:$LINENO: error: libssp must be built with GCC" >&5
3257 echo "$as_me: error: libssp must be built with GCC" >&2;}
3258 { (exit 1); exit 1; }; }
3261 ac_cpp='$CPP $CPPFLAGS'
3262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3265 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3266 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3267 # On Suns, sometimes $CPP names a directory.
3268 if test -n "$CPP" && test -d "$CPP"; then
3271 if test -z "$CPP"; then
3272 if test "${ac_cv_prog_CPP+set}" = set; then
3273 echo $ECHO_N "(cached) $ECHO_C" >&6
3275 # Double quotes because CPP needs to be expanded
3276 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3279 for ac_c_preproc_warn_flag in '' yes
3281 # Use a header file that comes with gcc, so configuring glibc
3282 # with a fresh cross-compiler works.
3283 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3284 # <limits.h> exists even on freestanding compilers.
3285 # On the NeXT, cc -E runs the code through the compiler's parser,
3286 # not just through cpp. "Syntax error" is here to catch this case.
3287 cat >conftest.$ac_ext <<_ACEOF
3290 cat confdefs.h >>conftest.$ac_ext
3291 cat >>conftest.$ac_ext <<_ACEOF
3292 /* end confdefs.h. */
3294 # include <limits.h>
3296 # include <assert.h>
3300 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3301 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3303 grep -v '^ *+' conftest.er1 >conftest.err
3305 cat conftest.err >&5
3306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3307 (exit $ac_status); } >/dev/null; then
3308 if test -s conftest.err; then
3309 ac_cpp_err=$ac_c_preproc_warn_flag
3310 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3317 if test -z "$ac_cpp_err"; then
3320 echo "$as_me: failed program was:" >&5
3321 sed 's/^/| /' conftest.$ac_ext >&5
3323 # Broken: fails on valid input.
3326 rm -f conftest.err conftest.$ac_ext
3328 # OK, works on sane cases. Now check whether non-existent headers
3329 # can be detected and how.
3330 cat >conftest.$ac_ext <<_ACEOF
3333 cat confdefs.h >>conftest.$ac_ext
3334 cat >>conftest.$ac_ext <<_ACEOF
3335 /* end confdefs.h. */
3336 #include <ac_nonexistent.h>
3338 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3339 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3341 grep -v '^ *+' conftest.er1 >conftest.err
3343 cat conftest.err >&5
3344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3345 (exit $ac_status); } >/dev/null; then
3346 if test -s conftest.err; then
3347 ac_cpp_err=$ac_c_preproc_warn_flag
3348 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3355 if test -z "$ac_cpp_err"; then
3356 # Broken: success on invalid input.
3359 echo "$as_me: failed program was:" >&5
3360 sed 's/^/| /' conftest.$ac_ext >&5
3362 # Passes both tests.
3366 rm -f conftest.err conftest.$ac_ext
3369 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3370 rm -f conftest.err conftest.$ac_ext
3371 if $ac_preproc_ok; then
3383 echo "$as_me:$LINENO: result: $CPP" >&5
3384 echo "${ECHO_T}$CPP" >&6
3386 for ac_c_preproc_warn_flag in '' yes
3388 # Use a header file that comes with gcc, so configuring glibc
3389 # with a fresh cross-compiler works.
3390 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3391 # <limits.h> exists even on freestanding compilers.
3392 # On the NeXT, cc -E runs the code through the compiler's parser,
3393 # not just through cpp. "Syntax error" is here to catch this case.
3394 cat >conftest.$ac_ext <<_ACEOF
3397 cat confdefs.h >>conftest.$ac_ext
3398 cat >>conftest.$ac_ext <<_ACEOF
3399 /* end confdefs.h. */
3401 # include <limits.h>
3403 # include <assert.h>
3407 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3408 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3410 grep -v '^ *+' conftest.er1 >conftest.err
3412 cat conftest.err >&5
3413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3414 (exit $ac_status); } >/dev/null; then
3415 if test -s conftest.err; then
3416 ac_cpp_err=$ac_c_preproc_warn_flag
3417 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3424 if test -z "$ac_cpp_err"; then
3427 echo "$as_me: failed program was:" >&5
3428 sed 's/^/| /' conftest.$ac_ext >&5
3430 # Broken: fails on valid input.
3433 rm -f conftest.err conftest.$ac_ext
3435 # OK, works on sane cases. Now check whether non-existent headers
3436 # can be detected and how.
3437 cat >conftest.$ac_ext <<_ACEOF
3440 cat confdefs.h >>conftest.$ac_ext
3441 cat >>conftest.$ac_ext <<_ACEOF
3442 /* end confdefs.h. */
3443 #include <ac_nonexistent.h>
3445 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3446 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3448 grep -v '^ *+' conftest.er1 >conftest.err
3450 cat conftest.err >&5
3451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3452 (exit $ac_status); } >/dev/null; then
3453 if test -s conftest.err; then
3454 ac_cpp_err=$ac_c_preproc_warn_flag
3455 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3462 if test -z "$ac_cpp_err"; then
3463 # Broken: success on invalid input.
3466 echo "$as_me: failed program was:" >&5
3467 sed 's/^/| /' conftest.$ac_ext >&5
3469 # Passes both tests.
3473 rm -f conftest.err conftest.$ac_ext
3476 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3477 rm -f conftest.err conftest.$ac_ext
3478 if $ac_preproc_ok; then
3481 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3482 See \`config.log' for more details." >&5
3483 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3484 See \`config.log' for more details." >&2;}
3485 { (exit 1); exit 1; }; }
3489 ac_cpp='$CPP $CPPFLAGS'
3490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3495 echo "$as_me:$LINENO: checking whether -fstack-protector works" >&5
3496 echo $ECHO_N "checking whether -fstack-protector works... $ECHO_C" >&6
3497 save_CFLAGS="$CFLAGS"
3498 CFLAGS="$CFLAGS -fstack-protector -Werror"
3500 cat >conftest.$ac_ext <<_ACEOF
3503 cat confdefs.h >>conftest.$ac_ext
3504 cat >>conftest.$ac_ext <<_ACEOF
3505 /* end confdefs.h. */
3507 void __attribute__((noinline)) bar (char *x)
3509 __builtin_memset (x, 0, 64);
3514 char buf[64]; bar (buf);
3519 rm -f conftest.$ac_objext
3520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3521 (eval $ac_compile) 2>conftest.er1
3523 grep -v '^ *+' conftest.er1 >conftest.err
3525 cat conftest.err >&5
3526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3527 (exit $ac_status); } &&
3528 { ac_try='test -z "$ac_c_werror_flag"
3529 || test ! -s conftest.err'
3530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3534 (exit $ac_status); }; } &&
3535 { ac_try='test -s conftest.$ac_objext'
3536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3540 (exit $ac_status); }; }; then
3541 echo "$as_me:$LINENO: result: yes" >&5
3542 echo "${ECHO_T}yes" >&6
3544 echo "$as_me: failed program was:" >&5
3545 sed 's/^/| /' conftest.$ac_ext >&5
3547 echo "$as_me:$LINENO: result: no" >&5
3548 echo "${ECHO_T}no" >&6
3550 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3551 CFLAGS="$save_CFLAGS"
3553 echo "$as_me:$LINENO: checking whether hidden visibility is supported" >&5
3554 echo $ECHO_N "checking whether hidden visibility is supported... $ECHO_C" >&6
3555 cat >conftest.$ac_ext <<_ACEOF
3558 cat confdefs.h >>conftest.$ac_ext
3559 cat >>conftest.$ac_ext <<_ACEOF
3560 /* end confdefs.h. */
3562 void __attribute__((visibility ("hidden"))) bar (void) {}
3571 rm -f conftest.$ac_objext
3572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3573 (eval $ac_compile) 2>conftest.er1
3575 grep -v '^ *+' conftest.er1 >conftest.err
3577 cat conftest.err >&5
3578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3579 (exit $ac_status); } &&
3580 { ac_try='test -z "$ac_c_werror_flag"
3581 || test ! -s conftest.err'
3582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3586 (exit $ac_status); }; } &&
3587 { ac_try='test -s conftest.$ac_objext'
3588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3592 (exit $ac_status); }; }; then
3595 echo "$as_me: failed program was:" >&5
3596 sed 's/^/| /' conftest.$ac_ext >&5
3600 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3601 echo "$as_me:$LINENO: result: $ssp_hidden" >&5
3602 echo "${ECHO_T}$ssp_hidden" >&6
3603 if test x$ssp_hidden = xyes; then
3605 cat >>confdefs.h <<\_ACEOF
3606 #define HAVE_HIDDEN_VISIBILITY 1
3611 echo "$as_me:$LINENO: checking whether symbol versioning is supported" >&5
3612 echo $ECHO_N "checking whether symbol versioning is supported... $ECHO_C" >&6
3613 cat > conftest.map <<EOF
3615 global: *foo*; bar; local: *;
3618 save_LDFLAGS="$LDFLAGS"
3619 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
3620 if test x$gcc_no_link = xyes; then
3621 # If we cannot link, we cannot build shared libraries, so do not use
3622 # symbol versioning.
3625 if test x$gcc_no_link = xyes; then
3626 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
3627 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
3628 { (exit 1); exit 1; }; }
3630 cat >conftest.$ac_ext <<_ACEOF
3633 cat confdefs.h >>conftest.$ac_ext
3634 cat >>conftest.$ac_ext <<_ACEOF
3635 /* end confdefs.h. */
3645 rm -f conftest.$ac_objext conftest$ac_exeext
3646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3647 (eval $ac_link) 2>conftest.er1
3649 grep -v '^ *+' conftest.er1 >conftest.err
3651 cat conftest.err >&5
3652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3653 (exit $ac_status); } &&
3654 { ac_try='test -z "$ac_c_werror_flag"
3655 || test ! -s conftest.err'
3656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3660 (exit $ac_status); }; } &&
3661 { ac_try='test -s conftest$ac_exeext'
3662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3666 (exit $ac_status); }; }; then
3669 echo "$as_me: failed program was:" >&5
3670 sed 's/^/| /' conftest.$ac_ext >&5
3674 rm -f conftest.err conftest.$ac_objext \
3675 conftest$ac_exeext conftest.$ac_ext
3677 LDFLAGS="$save_LDFLAGS"
3678 echo "$as_me:$LINENO: result: $ssp_use_symver" >&5
3679 echo "${ECHO_T}$ssp_use_symver" >&6
3682 if test "x$ssp_use_symver" = xyes; then
3683 LIBSSP_USE_SYMVER_TRUE=
3684 LIBSSP_USE_SYMVER_FALSE='#'
3686 LIBSSP_USE_SYMVER_TRUE='#'
3687 LIBSSP_USE_SYMVER_FALSE=
3692 echo "$as_me:$LINENO: checking for egrep" >&5
3693 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3694 if test "${ac_cv_prog_egrep+set}" = set; then
3695 echo $ECHO_N "(cached) $ECHO_C" >&6
3697 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3698 then ac_cv_prog_egrep='grep -E'
3699 else ac_cv_prog_egrep='egrep'
3702 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3703 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3704 EGREP=$ac_cv_prog_egrep
3707 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3708 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3709 if test "${ac_cv_header_stdc+set}" = set; then
3710 echo $ECHO_N "(cached) $ECHO_C" >&6
3712 cat >conftest.$ac_ext <<_ACEOF
3715 cat confdefs.h >>conftest.$ac_ext
3716 cat >>conftest.$ac_ext <<_ACEOF
3717 /* end confdefs.h. */
3731 rm -f conftest.$ac_objext
3732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3733 (eval $ac_compile) 2>conftest.er1
3735 grep -v '^ *+' conftest.er1 >conftest.err
3737 cat conftest.err >&5
3738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3739 (exit $ac_status); } &&
3740 { ac_try='test -z "$ac_c_werror_flag"
3741 || test ! -s conftest.err'
3742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3746 (exit $ac_status); }; } &&
3747 { ac_try='test -s conftest.$ac_objext'
3748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3752 (exit $ac_status); }; }; then
3753 ac_cv_header_stdc=yes
3755 echo "$as_me: failed program was:" >&5
3756 sed 's/^/| /' conftest.$ac_ext >&5
3758 ac_cv_header_stdc=no
3760 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3762 if test $ac_cv_header_stdc = yes; then
3763 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3764 cat >conftest.$ac_ext <<_ACEOF
3767 cat confdefs.h >>conftest.$ac_ext
3768 cat >>conftest.$ac_ext <<_ACEOF
3769 /* end confdefs.h. */
3773 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3774 $EGREP "memchr" >/dev/null 2>&1; then
3777 ac_cv_header_stdc=no
3783 if test $ac_cv_header_stdc = yes; then
3784 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3785 cat >conftest.$ac_ext <<_ACEOF
3788 cat confdefs.h >>conftest.$ac_ext
3789 cat >>conftest.$ac_ext <<_ACEOF
3790 /* end confdefs.h. */
3794 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3795 $EGREP "free" >/dev/null 2>&1; then
3798 ac_cv_header_stdc=no
3804 if test $ac_cv_header_stdc = yes; then
3805 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3806 if test "$cross_compiling" = yes; then
3809 cat >conftest.$ac_ext <<_ACEOF
3812 cat confdefs.h >>conftest.$ac_ext
3813 cat >>conftest.$ac_ext <<_ACEOF
3814 /* end confdefs.h. */
3816 #if ((' ' & 0x0FF) == 0x020)
3817 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3818 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3820 # define ISLOWER(c) \
3821 (('a' <= (c) && (c) <= 'i') \
3822 || ('j' <= (c) && (c) <= 'r') \
3823 || ('s' <= (c) && (c) <= 'z'))
3824 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3827 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3832 for (i = 0; i < 256; i++)
3833 if (XOR (islower (i), ISLOWER (i))
3834 || toupper (i) != TOUPPER (i))
3839 rm -f conftest$ac_exeext
3840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3841 (eval $ac_link) 2>&5
3843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3844 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3849 (exit $ac_status); }; }; then
3852 echo "$as_me: program exited with status $ac_status" >&5
3853 echo "$as_me: failed program was:" >&5
3854 sed 's/^/| /' conftest.$ac_ext >&5
3857 ac_cv_header_stdc=no
3859 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3863 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3864 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3865 if test $ac_cv_header_stdc = yes; then
3867 cat >>confdefs.h <<\_ACEOF
3868 #define STDC_HEADERS 1
3873 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3883 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3884 inttypes.h stdint.h unistd.h
3886 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3887 echo "$as_me:$LINENO: checking for $ac_header" >&5
3888 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3889 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3890 echo $ECHO_N "(cached) $ECHO_C" >&6
3892 cat >conftest.$ac_ext <<_ACEOF
3895 cat confdefs.h >>conftest.$ac_ext
3896 cat >>conftest.$ac_ext <<_ACEOF
3897 /* end confdefs.h. */
3898 $ac_includes_default
3900 #include <$ac_header>
3902 rm -f conftest.$ac_objext
3903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3904 (eval $ac_compile) 2>conftest.er1
3906 grep -v '^ *+' conftest.er1 >conftest.err
3908 cat conftest.err >&5
3909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3910 (exit $ac_status); } &&
3911 { ac_try='test -z "$ac_c_werror_flag"
3912 || test ! -s conftest.err'
3913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3917 (exit $ac_status); }; } &&
3918 { ac_try='test -s conftest.$ac_objext'
3919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3923 (exit $ac_status); }; }; then
3924 eval "$as_ac_Header=yes"
3926 echo "$as_me: failed program was:" >&5
3927 sed 's/^/| /' conftest.$ac_ext >&5
3929 eval "$as_ac_Header=no"
3931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3933 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3934 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3935 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3936 cat >>confdefs.h <<_ACEOF
3937 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3953 for ac_header in alloca.h paths.h syslog.h string.h unistd.h fcntl.h stdio.h limits.h
3955 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3956 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3957 echo "$as_me:$LINENO: checking for $ac_header" >&5
3958 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3959 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3960 echo $ECHO_N "(cached) $ECHO_C" >&6
3962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3963 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3965 # Is the header compilable?
3966 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3967 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3968 cat >conftest.$ac_ext <<_ACEOF
3971 cat confdefs.h >>conftest.$ac_ext
3972 cat >>conftest.$ac_ext <<_ACEOF
3973 /* end confdefs.h. */
3974 $ac_includes_default
3975 #include <$ac_header>
3977 rm -f conftest.$ac_objext
3978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3979 (eval $ac_compile) 2>conftest.er1
3981 grep -v '^ *+' conftest.er1 >conftest.err
3983 cat conftest.err >&5
3984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3985 (exit $ac_status); } &&
3986 { ac_try='test -z "$ac_c_werror_flag"
3987 || test ! -s conftest.err'
3988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3992 (exit $ac_status); }; } &&
3993 { ac_try='test -s conftest.$ac_objext'
3994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3998 (exit $ac_status); }; }; then
3999 ac_header_compiler=yes
4001 echo "$as_me: failed program was:" >&5
4002 sed 's/^/| /' conftest.$ac_ext >&5
4004 ac_header_compiler=no
4006 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4007 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4008 echo "${ECHO_T}$ac_header_compiler" >&6
4010 # Is the header present?
4011 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4012 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4013 cat >conftest.$ac_ext <<_ACEOF
4016 cat confdefs.h >>conftest.$ac_ext
4017 cat >>conftest.$ac_ext <<_ACEOF
4018 /* end confdefs.h. */
4019 #include <$ac_header>
4021 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4022 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4024 grep -v '^ *+' conftest.er1 >conftest.err
4026 cat conftest.err >&5
4027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4028 (exit $ac_status); } >/dev/null; then
4029 if test -s conftest.err; then
4030 ac_cpp_err=$ac_c_preproc_warn_flag
4031 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4038 if test -z "$ac_cpp_err"; then
4039 ac_header_preproc=yes
4041 echo "$as_me: failed program was:" >&5
4042 sed 's/^/| /' conftest.$ac_ext >&5
4044 ac_header_preproc=no
4046 rm -f conftest.err conftest.$ac_ext
4047 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4048 echo "${ECHO_T}$ac_header_preproc" >&6
4050 # So? What about this header?
4051 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4053 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4054 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4055 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4056 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4057 ac_header_preproc=yes
4060 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4061 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4062 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4063 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4064 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4065 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4066 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4067 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4068 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4069 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4070 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4071 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4074 ## --------------------------------- ##
4075 ## Report this to the libssp lists. ##
4076 ## --------------------------------- ##
4079 sed "s/^/$as_me: WARNING: /" >&2
4082 echo "$as_me:$LINENO: checking for $ac_header" >&5
4083 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4084 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4085 echo $ECHO_N "(cached) $ECHO_C" >&6
4087 eval "$as_ac_Header=\$ac_header_preproc"
4089 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4090 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4093 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4094 cat >>confdefs.h <<_ACEOF
4095 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4103 if test x$gcc_no_link = xyes; then
4104 # Presume the ISO C functions are available; add target-specific
4105 # configuration here if required.
4106 cat >>confdefs.h <<\_ACEOF
4107 #define HAVE_STRNCPY 1
4110 cat >>confdefs.h <<\_ACEOF
4111 #define HAVE_STRNCAT 1
4118 for ac_func in mempcpy strncpy strncat
4120 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4121 echo "$as_me:$LINENO: checking for $ac_func" >&5
4122 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4123 if eval "test \"\${$as_ac_var+set}\" = set"; then
4124 echo $ECHO_N "(cached) $ECHO_C" >&6
4126 if test x$gcc_no_link = xyes; then
4127 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4128 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4129 { (exit 1); exit 1; }; }
4131 cat >conftest.$ac_ext <<_ACEOF
4134 cat confdefs.h >>conftest.$ac_ext
4135 cat >>conftest.$ac_ext <<_ACEOF
4136 /* end confdefs.h. */
4137 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4138 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4139 #define $ac_func innocuous_$ac_func
4141 /* System header to define __stub macros and hopefully few prototypes,
4142 which can conflict with char $ac_func (); below.
4143 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4144 <limits.h> exists even on freestanding compilers. */
4147 # include <limits.h>
4149 # include <assert.h>
4154 /* Override any gcc2 internal prototype to avoid an error. */
4159 /* We use char because int might match the return type of a gcc2
4160 builtin and then its argument prototype would still apply. */
4162 /* The GNU C library defines this for functions which it implements
4163 to always fail with ENOSYS. Some functions are actually named
4164 something starting with __ and the normal name is an alias. */
4165 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4168 char (*f) () = $ac_func;
4177 return f != $ac_func;
4182 rm -f conftest.$ac_objext conftest$ac_exeext
4183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4184 (eval $ac_link) 2>conftest.er1
4186 grep -v '^ *+' conftest.er1 >conftest.err
4188 cat conftest.err >&5
4189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4190 (exit $ac_status); } &&
4191 { ac_try='test -z "$ac_c_werror_flag"
4192 || test ! -s conftest.err'
4193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4197 (exit $ac_status); }; } &&
4198 { ac_try='test -s conftest$ac_exeext'
4199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4203 (exit $ac_status); }; }; then
4204 eval "$as_ac_var=yes"
4206 echo "$as_me: failed program was:" >&5
4207 sed 's/^/| /' conftest.$ac_ext >&5
4209 eval "$as_ac_var=no"
4211 rm -f conftest.err conftest.$ac_objext \
4212 conftest$ac_exeext conftest.$ac_ext
4214 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4215 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4216 if test `eval echo '${'$as_ac_var'}'` = yes; then
4217 cat >>confdefs.h <<_ACEOF
4218 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4226 echo "$as_me:$LINENO: checking whether vsnprintf is usable" >&5
4227 echo $ECHO_N "checking whether vsnprintf is usable... $ECHO_C" >&6
4228 if test "$cross_compiling" = yes; then
4229 ssp_have_usable_vsnprintf=undef
4231 cat >conftest.$ac_ext <<_ACEOF
4234 cat confdefs.h >>conftest.$ac_ext
4235 cat >>conftest.$ac_ext <<_ACEOF
4236 /* end confdefs.h. */
4241 int foo (char *buf, size_t n, const char *fmt, ...)
4246 ret = vsnprintf (buf, n, fmt, ap);
4253 char buf[8]; memset (buf, 'A', sizeof (buf));
4254 if (foo (buf, 4, ".%s.", "CDEFG") != 7)
4256 return memcmp (buf, ".CD\0AAAA", sizeof (buf)) != 0;
4261 rm -f conftest$ac_exeext
4262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4263 (eval $ac_link) 2>&5
4265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4266 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4271 (exit $ac_status); }; }; then
4272 ssp_have_usable_vsnprintf=define
4274 echo "$as_me: program exited with status $ac_status" >&5
4275 echo "$as_me: failed program was:" >&5
4276 sed 's/^/| /' conftest.$ac_ext >&5
4279 ssp_have_usable_vsnprintf=undef
4281 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4283 if test "x$ssp_have_usable_vsnprintf" = xdefine; then
4284 echo "$as_me:$LINENO: result: yes" >&5
4285 echo "${ECHO_T}yes" >&6
4287 cat >>confdefs.h <<\_ACEOF
4288 #define HAVE_USABLE_VSNPRINTF 1
4292 echo "$as_me:$LINENO: result: no" >&5
4293 echo "${ECHO_T}no" >&6
4299 macro_version='2.1a'
4300 macro_revision='1.2435'
4313 ltmain="$ac_aux_dir/ltmain.sh"
4323 # Check whether --enable-shared or --disable-shared was given.
4324 if test "${enable_shared+set}" = set; then
4325 enableval="$enable_shared"
4326 p=${PACKAGE-default}
4328 yes) enable_shared=yes ;;
4329 no) enable_shared=no ;;
4332 # Look at the argument we got. We use all the common list separators.
4333 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4334 for pkg in $enableval; do
4336 if test "X$pkg" = "X$p"; then
4354 # Check whether --enable-static or --disable-static was given.
4355 if test "${enable_static+set}" = set; then
4356 enableval="$enable_static"
4357 p=${PACKAGE-default}
4359 yes) enable_static=yes ;;
4360 no) enable_static=no ;;
4363 # Look at the argument we got. We use all the common list separators.
4364 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4365 for pkg in $enableval; do
4367 if test "X$pkg" = "X$p"; then
4386 # Check whether --with-pic or --without-pic was given.
4387 if test "${with_pic+set}" = set; then
4394 test -z "$pic_mode" && pic_mode=default
4402 # Check whether --enable-fast-install or --disable-fast-install was given.
4403 if test "${enable_fast_install+set}" = set; then
4404 enableval="$enable_fast_install"
4405 p=${PACKAGE-default}
4407 yes) enable_fast_install=yes ;;
4408 no) enable_fast_install=no ;;
4410 enable_fast_install=no
4411 # Look at the argument we got. We use all the common list separators.
4412 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4413 for pkg in $enableval; do
4415 if test "X$pkg" = "X$p"; then
4416 enable_fast_install=yes
4423 enable_fast_install=yes
4433 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4434 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
4435 if test "${lt_cv_path_SED+set}" = set; then
4436 echo $ECHO_N "(cached) $ECHO_C" >&6
4438 # Loop through the user's path and test for sed and gsed.
4439 # Then use that list of sed's as ones to test for truncation.
4440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4444 test -z "$as_dir" && as_dir=.
4445 for lt_ac_prog in sed gsed; do
4446 for ac_exec_ext in '' $ac_executable_extensions; do
4447 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4448 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4456 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4457 # along with /bin/sed that truncates output.
4458 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4459 test ! -f $lt_ac_sed && continue
4460 cat /dev/null > conftest.in
4462 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
4463 # Check for GNU sed and select it if it is found.
4464 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
4465 lt_cv_path_SED=$lt_ac_sed
4469 cat conftest.in conftest.in >conftest.tmp
4470 mv conftest.tmp conftest.in
4471 cp conftest.in conftest.nl
4473 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
4474 cmp -s conftest.out conftest.nl || break
4475 # 10000 chars as input seems more than enough
4476 test $lt_ac_count -gt 10 && break
4477 lt_ac_count=`expr $lt_ac_count + 1`
4478 if test $lt_ac_count -gt $lt_ac_max; then
4479 lt_ac_max=$lt_ac_count
4480 lt_cv_path_SED=$lt_ac_sed
4489 echo "$as_me:$LINENO: result: $SED" >&5
4490 echo "${ECHO_T}$SED" >&6
4492 test -z "$SED" && SED=sed
4493 Xsed="$SED -e 1s/^X//"
4505 echo "$as_me:$LINENO: checking for fgrep" >&5
4506 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
4507 if test "${ac_cv_prog_fgrep+set}" = set; then
4508 echo $ECHO_N "(cached) $ECHO_C" >&6
4510 if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1
4511 then ac_cv_prog_fgrep='grep -F'
4512 else ac_cv_prog_fgrep='fgrep'
4515 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
4516 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
4517 FGREP=$ac_cv_prog_fgrep
4520 test -z "$GREP" && GREP=grep
4540 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4541 if test "${with_gnu_ld+set}" = set; then
4542 withval="$with_gnu_ld"
4543 test "$withval" = no || with_gnu_ld=yes
4548 if test "$GCC" = yes; then
4549 # Check if gcc -print-prog-name=ld gives a path.
4550 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4551 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4554 # gcc leaves a trailing carriage return which upsets mingw
4555 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4557 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4560 # Accept absolute paths.
4562 re_direlt='/[^/][^/]*/\.\./'
4563 # Canonicalize the pathname of ld
4564 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4565 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4566 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4568 test -z "$LD" && LD="$ac_prog"
4571 # If it fails, then pretend we aren't using GCC.
4575 # If it is relative, then search for the first ld in PATH.
4579 elif test "$with_gnu_ld" = yes; then
4580 echo "$as_me:$LINENO: checking for GNU ld" >&5
4581 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4583 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4584 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4586 if test "${lt_cv_path_LD+set}" = set; then
4587 echo $ECHO_N "(cached) $ECHO_C" >&6
4589 if test -z "$LD"; then
4590 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4591 for ac_dir in $PATH; do
4593 test -z "$ac_dir" && ac_dir=.
4594 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4595 lt_cv_path_LD="$ac_dir/$ac_prog"
4596 # Check to see if the program is GNU ld. I'd rather use --version,
4597 # but apparently some variants of GNU ld only accept -v.
4598 # Break only if it was the GNU/non-GNU ld that we prefer.
4599 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4600 *GNU* | *'with BFD'*)
4601 test "$with_gnu_ld" != no && break
4604 test "$with_gnu_ld" != yes && break
4611 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4616 if test -n "$LD"; then
4617 echo "$as_me:$LINENO: result: $LD" >&5
4618 echo "${ECHO_T}$LD" >&6
4620 echo "$as_me:$LINENO: result: no" >&5
4621 echo "${ECHO_T}no" >&6
4623 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4624 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4625 { (exit 1); exit 1; }; }
4626 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4627 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4628 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4629 echo $ECHO_N "(cached) $ECHO_C" >&6
4631 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4632 case `$LD -v 2>&1 </dev/null` in
4633 *GNU* | *'with BFD'*)
4634 lt_cv_prog_gnu_ld=yes
4637 lt_cv_prog_gnu_ld=no
4641 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4642 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4643 with_gnu_ld=$lt_cv_prog_gnu_ld
4654 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4655 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
4656 if test "${lt_cv_path_NM+set}" = set; then
4657 echo $ECHO_N "(cached) $ECHO_C" >&6
4659 if test -n "$NM"; then
4660 # Let the user override the test.
4663 lt_nm_to_check="${ac_tool_prefix}nm"
4664 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4665 lt_nm_to_check="$lt_nm_to_check nm"
4667 for lt_tmp_nm in $lt_nm_to_check; do
4668 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4669 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4671 test -z "$ac_dir" && ac_dir=.
4672 tmp_nm="$ac_dir/$lt_tmp_nm"
4673 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4674 # Check to see if the nm accepts a BSD-compat flag.
4675 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4676 # nm: unknown option "B" ignored
4677 # Tru64's nm complains that /dev/null is an invalid object file
4678 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4679 */dev/null* | *'Invalid file or object type'*)
4680 lt_cv_path_NM="$tmp_nm -B"
4684 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4686 lt_cv_path_NM="$tmp_nm -p"
4690 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4691 continue # so that we can try to find one that supports BSD flags
4700 : ${lt_cv_path_NM=no}
4703 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4704 echo "${ECHO_T}$lt_cv_path_NM" >&6
4705 if test "$lt_cv_path_NM" != "no"; then
4708 # Didn't find any BSD compatible name lister, look for dumpbin.
4709 if test -n "$ac_tool_prefix"; then
4710 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4712 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4713 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4714 echo "$as_me:$LINENO: checking for $ac_word" >&5
4715 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4716 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4717 echo $ECHO_N "(cached) $ECHO_C" >&6
4719 if test -n "$DUMPBIN"; then
4720 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4726 test -z "$as_dir" && as_dir=.
4727 for ac_exec_ext in '' $ac_executable_extensions; do
4728 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4729 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4730 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4738 DUMPBIN=$ac_cv_prog_DUMPBIN
4739 if test -n "$DUMPBIN"; then
4740 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4741 echo "${ECHO_T}$DUMPBIN" >&6
4743 echo "$as_me:$LINENO: result: no" >&5
4744 echo "${ECHO_T}no" >&6
4747 test -n "$DUMPBIN" && break
4750 if test -z "$DUMPBIN"; then
4751 ac_ct_DUMPBIN=$DUMPBIN
4752 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4754 # Extract the first word of "$ac_prog", so it can be a program name with args.
4755 set dummy $ac_prog; ac_word=$2
4756 echo "$as_me:$LINENO: checking for $ac_word" >&5
4757 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4758 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4759 echo $ECHO_N "(cached) $ECHO_C" >&6
4761 if test -n "$ac_ct_DUMPBIN"; then
4762 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4768 test -z "$as_dir" && as_dir=.
4769 for ac_exec_ext in '' $ac_executable_extensions; do
4770 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4771 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4772 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4780 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4781 if test -n "$ac_ct_DUMPBIN"; then
4782 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4783 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
4785 echo "$as_me:$LINENO: result: no" >&5
4786 echo "${ECHO_T}no" >&6
4789 test -n "$ac_ct_DUMPBIN" && break
4791 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN=":"
4793 DUMPBIN=$ac_ct_DUMPBIN
4797 if test "$DUMPBIN" != ":"; then
4801 test -z "$NM" && NM=nm
4808 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4809 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
4810 if test "${lt_cv_nm_interface+set}" = set; then
4811 echo $ECHO_N "(cached) $ECHO_C" >&6
4813 lt_cv_nm_interface="BSD nm"
4814 echo "int some_variable = 0;" > conftest.$ac_ext
4815 (eval echo "\"\$as_me:4815: $ac_compile\"" >&5)
4816 (eval "$ac_compile" 2>conftest.err)
4817 cat conftest.err >&5
4818 (eval echo "\"\$as_me:4818: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4819 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4820 cat conftest.err >&5
4821 (eval echo "\"\$as_me:4821: output\"" >&5)
4822 cat conftest.out >&5
4823 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4824 lt_cv_nm_interface="MS dumpbin"
4828 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4829 echo "${ECHO_T}$lt_cv_nm_interface" >&6
4831 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4832 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4834 if test "$LN_S" = "ln -s"; then
4835 echo "$as_me:$LINENO: result: yes" >&5
4836 echo "${ECHO_T}yes" >&6
4838 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4839 echo "${ECHO_T}no, using $LN_S" >&6
4842 # find the maximum length of command line arguments
4843 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4844 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4845 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4846 echo $ECHO_N "(cached) $ECHO_C" >&6
4853 # On DJGPP, this test can blow up pretty badly due to problems in libc
4854 # (any single argument exceeding 2000 bytes causes a buffer overrun
4855 # during glob expansion). Even if it were fixed, the result of this
4856 # check would be larger than it should be.
4857 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4861 # Under GNU Hurd, this test is not required because there is
4862 # no limit to the length of command line arguments.
4863 # Libtool will interpret -1 as no limit whatsoever
4864 lt_cv_sys_max_cmd_len=-1;
4868 # On Win9x/ME, this test blows up -- it succeeds, but takes
4869 # about 5 minutes as the teststring grows exponentially.
4870 # Worse, since 9x/ME are not pre-emptively multitasking,
4871 # you end up with a "frozen" computer, even though with patience
4872 # the test eventually succeeds (with a max line length of 256k).
4873 # Instead, let's just punt: use the minimum linelength reported by
4874 # all of the supported platforms: 8192 (on NT/2K/XP).
4875 lt_cv_sys_max_cmd_len=8192;
4879 # On AmigaOS with pdksh, this test takes hours, literally.
4880 # So we just punt and use a minimum line length of 8192.
4881 lt_cv_sys_max_cmd_len=8192;
4884 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4885 # This has been around since 386BSD, at least. Likely further.
4886 if test -x /sbin/sysctl; then
4887 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4888 elif test -x /usr/sbin/sysctl; then
4889 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4891 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4893 # And add a safety zone
4894 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4895 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4899 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4900 lt_cv_sys_max_cmd_len=196608
4904 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4905 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4906 # nice to cause kernel panics so lets avoid the loop below.
4907 # First set a reasonable default.
4908 lt_cv_sys_max_cmd_len=16384
4910 if test -x /sbin/sysconfig; then
4911 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4912 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4917 lt_cv_sys_max_cmd_len=102400
4919 sysv5* | sco5v6* | sysv4.2uw2*)
4920 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4921 if test -n "$kargmax"; then
4922 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4924 lt_cv_sys_max_cmd_len=32768
4928 # Make teststring a little bigger before we do anything with it.
4929 # a 1K string should be a reasonable start.
4930 for i in 1 2 3 4 5 6 7 8 ; do
4931 teststring=$teststring$teststring
4933 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4934 # If test is not a shell built-in, we'll probably end up computing a
4935 # maximum length that is only half of the actual maximum length, but
4937 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4938 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4939 test $i != 17 # 1/2 MB should be enough
4942 teststring=$teststring$teststring
4944 # Only check the string length outside the loop.
4945 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4947 # Add a significant safety factor because C++ compilers can tack on massive
4948 # amounts of additional arguments before passing them to the linker.
4949 # It appears as though 1/2 is a usable value.
4950 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4956 if test -n $lt_cv_sys_max_cmd_len ; then
4957 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4958 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4960 echo "$as_me:$LINENO: result: none" >&5
4961 echo "${ECHO_T}none" >&6
4963 max_cmd_len=$lt_cv_sys_max_cmd_len
4975 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4976 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
4977 # Try some XSI features
4980 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4981 = c,a/b,, ) >/dev/null 2>&1 \
4983 echo "$as_me:$LINENO: result: $xsi_shell" >&5
4984 echo "${ECHO_T}$xsi_shell" >&6
4987 echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
4988 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6
4990 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4992 && lt_shell_append=yes
4993 echo "$as_me:$LINENO: result: $lt_shell_append" >&5
4994 echo "${ECHO_T}$lt_shell_append" >&6
4997 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5007 # test EBCDIC or ASCII
5008 case `echo X|tr X '\101'` in
5009 A) # ASCII based system
5010 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5011 lt_SP2NL='tr \040 \012'
5012 lt_NL2SP='tr \015\012 \040\040'
5014 *) # EBCDIC based system
5015 lt_SP2NL='tr \100 \n'
5016 lt_NL2SP='tr \r\n \100\100'
5028 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
5029 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
5030 if test "${lt_cv_ld_reload_flag+set}" = set; then
5031 echo $ECHO_N "(cached) $ECHO_C" >&6
5033 lt_cv_ld_reload_flag='-r'
5035 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
5036 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
5037 reload_flag=$lt_cv_ld_reload_flag
5038 case $reload_flag in
5040 *) reload_flag=" $reload_flag" ;;
5042 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5045 if test "$GCC" = yes; then
5046 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5048 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5062 echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
5063 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6
5064 if test "${lt_cv_deplibs_check_method+set}" = set; then
5065 echo $ECHO_N "(cached) $ECHO_C" >&6
5067 lt_cv_file_magic_cmd='$MAGIC_CMD'
5068 lt_cv_file_magic_test_file=
5069 lt_cv_deplibs_check_method='unknown'
5070 # Need to set the preceding variable on all platforms that support
5071 # interlibrary dependencies.
5072 # 'none' -- dependencies not supported.
5073 # `unknown' -- same as none, but documents that we really don't know.
5074 # 'pass_all' -- all dependencies passed with no checks.
5075 # 'test_compile' -- check by making test program.
5076 # 'file_magic [[regex]]' -- check by looking for files in library path
5077 # which responds to the $file_magic_cmd with a given extended regex.
5078 # If you have `file' or equivalent on your system and you're not sure
5079 # whether `pass_all' will *always* work, you probably want this one.
5083 lt_cv_deplibs_check_method=pass_all
5087 lt_cv_deplibs_check_method=pass_all
5091 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5092 lt_cv_file_magic_cmd='/usr/bin/file -L'
5093 lt_cv_file_magic_test_file=/shlib/libc.so
5097 # func_win32_libid is a shell function defined in ltmain.sh
5098 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5099 lt_cv_file_magic_cmd='func_win32_libid'
5103 # Base MSYS/MinGW do not provide the 'file' command needed by
5104 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5105 # unless we find 'file', for example because we are cross-compiling.
5106 if ( file / ) >/dev/null 2>&1; then
5107 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5108 lt_cv_file_magic_cmd='func_win32_libid'
5110 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5111 lt_cv_file_magic_cmd='$OBJDUMP -f'
5115 darwin* | rhapsody*)
5116 lt_cv_deplibs_check_method=pass_all
5119 freebsd* | dragonfly*)
5120 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5123 # Not sure whether the presence of OpenBSD here was a mistake.
5124 # Let's accept both of them until this is cleared up.
5125 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5126 lt_cv_file_magic_cmd=/usr/bin/file
5127 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5131 lt_cv_deplibs_check_method=pass_all
5136 lt_cv_deplibs_check_method=pass_all
5139 hpux10.20* | hpux11*)
5140 lt_cv_file_magic_cmd=/usr/bin/file
5143 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5144 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5147 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]'
5148 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5151 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5152 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5158 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5159 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5162 irix5* | irix6* | nonstopux*)
5164 *-32|*"-32 ") libmagic=32-bit;;
5165 *-n32|*"-n32 ") libmagic=N32;;
5166 *-64|*"-64 ") libmagic=64-bit;;
5167 *) libmagic=never-match;;
5169 lt_cv_deplibs_check_method=pass_all
5172 # This must be Linux ELF.
5173 linux* | k*bsd*-gnu)
5174 lt_cv_deplibs_check_method=pass_all
5178 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5179 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5181 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5186 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5187 lt_cv_file_magic_cmd=/usr/bin/file
5188 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5192 lt_cv_deplibs_check_method=pass_all
5196 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5197 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5199 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5203 osf3* | osf4* | osf5*)
5204 lt_cv_deplibs_check_method=pass_all
5208 lt_cv_deplibs_check_method=pass_all
5212 lt_cv_deplibs_check_method=pass_all
5215 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5216 lt_cv_deplibs_check_method=pass_all
5220 case $host_vendor in
5222 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]'
5223 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5226 lt_cv_deplibs_check_method=pass_all
5229 lt_cv_file_magic_cmd='/bin/file'
5230 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5233 lt_cv_file_magic_cmd='/bin/file'
5234 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5235 lt_cv_file_magic_test_file=/lib/libc.so
5238 lt_cv_deplibs_check_method=pass_all
5241 lt_cv_deplibs_check_method=pass_all
5247 lt_cv_deplibs_check_method=pass_all
5252 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5253 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5254 file_magic_cmd=$lt_cv_file_magic_cmd
5255 deplibs_check_method=$lt_cv_deplibs_check_method
5256 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5269 if test -n "$ac_tool_prefix"; then
5270 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5271 set dummy ${ac_tool_prefix}ar; ac_word=$2
5272 echo "$as_me:$LINENO: checking for $ac_word" >&5
5273 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5274 if test "${ac_cv_prog_AR+set}" = set; then
5275 echo $ECHO_N "(cached) $ECHO_C" >&6
5277 if test -n "$AR"; then
5278 ac_cv_prog_AR="$AR" # Let the user override the test.
5280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5284 test -z "$as_dir" && as_dir=.
5285 for ac_exec_ext in '' $ac_executable_extensions; do
5286 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5287 ac_cv_prog_AR="${ac_tool_prefix}ar"
5288 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5297 if test -n "$AR"; then
5298 echo "$as_me:$LINENO: result: $AR" >&5
5299 echo "${ECHO_T}$AR" >&6
5301 echo "$as_me:$LINENO: result: no" >&5
5302 echo "${ECHO_T}no" >&6
5306 if test -z "$ac_cv_prog_AR"; then
5308 # Extract the first word of "ar", so it can be a program name with args.
5309 set dummy ar; ac_word=$2
5310 echo "$as_me:$LINENO: checking for $ac_word" >&5
5311 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5312 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5313 echo $ECHO_N "(cached) $ECHO_C" >&6
5315 if test -n "$ac_ct_AR"; then
5316 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5322 test -z "$as_dir" && as_dir=.
5323 for ac_exec_ext in '' $ac_executable_extensions; do
5324 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5325 ac_cv_prog_ac_ct_AR="ar"
5326 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5332 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5335 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5336 if test -n "$ac_ct_AR"; then
5337 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5338 echo "${ECHO_T}$ac_ct_AR" >&6
5340 echo "$as_me:$LINENO: result: no" >&5
5341 echo "${ECHO_T}no" >&6
5349 test -z "$AR" && AR=ar
5350 test -z "$AR_FLAGS" && AR_FLAGS=cru
5362 if test -n "$ac_tool_prefix"; then
5363 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5364 set dummy ${ac_tool_prefix}strip; ac_word=$2
5365 echo "$as_me:$LINENO: checking for $ac_word" >&5
5366 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5367 if test "${ac_cv_prog_STRIP+set}" = set; then
5368 echo $ECHO_N "(cached) $ECHO_C" >&6
5370 if test -n "$STRIP"; then
5371 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5377 test -z "$as_dir" && as_dir=.
5378 for ac_exec_ext in '' $ac_executable_extensions; do
5379 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5380 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5381 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5389 STRIP=$ac_cv_prog_STRIP
5390 if test -n "$STRIP"; then
5391 echo "$as_me:$LINENO: result: $STRIP" >&5
5392 echo "${ECHO_T}$STRIP" >&6
5394 echo "$as_me:$LINENO: result: no" >&5
5395 echo "${ECHO_T}no" >&6
5399 if test -z "$ac_cv_prog_STRIP"; then
5401 # Extract the first word of "strip", so it can be a program name with args.
5402 set dummy strip; ac_word=$2
5403 echo "$as_me:$LINENO: checking for $ac_word" >&5
5404 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5405 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5406 echo $ECHO_N "(cached) $ECHO_C" >&6
5408 if test -n "$ac_ct_STRIP"; then
5409 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5415 test -z "$as_dir" && as_dir=.
5416 for ac_exec_ext in '' $ac_executable_extensions; do
5417 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5418 ac_cv_prog_ac_ct_STRIP="strip"
5419 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5425 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5428 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5429 if test -n "$ac_ct_STRIP"; then
5430 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5431 echo "${ECHO_T}$ac_ct_STRIP" >&6
5433 echo "$as_me:$LINENO: result: no" >&5
5434 echo "${ECHO_T}no" >&6
5439 STRIP="$ac_cv_prog_STRIP"
5442 test -z "$STRIP" && STRIP=:
5449 if test -n "$ac_tool_prefix"; then
5450 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5451 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5452 echo "$as_me:$LINENO: checking for $ac_word" >&5
5453 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5454 if test "${ac_cv_prog_RANLIB+set}" = set; then
5455 echo $ECHO_N "(cached) $ECHO_C" >&6
5457 if test -n "$RANLIB"; then
5458 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5464 test -z "$as_dir" && as_dir=.
5465 for ac_exec_ext in '' $ac_executable_extensions; do
5466 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5467 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5468 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5476 RANLIB=$ac_cv_prog_RANLIB
5477 if test -n "$RANLIB"; then
5478 echo "$as_me:$LINENO: result: $RANLIB" >&5
5479 echo "${ECHO_T}$RANLIB" >&6
5481 echo "$as_me:$LINENO: result: no" >&5
5482 echo "${ECHO_T}no" >&6
5486 if test -z "$ac_cv_prog_RANLIB"; then
5487 ac_ct_RANLIB=$RANLIB
5488 # Extract the first word of "ranlib", so it can be a program name with args.
5489 set dummy ranlib; ac_word=$2
5490 echo "$as_me:$LINENO: checking for $ac_word" >&5
5491 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5492 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5493 echo $ECHO_N "(cached) $ECHO_C" >&6
5495 if test -n "$ac_ct_RANLIB"; then
5496 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5502 test -z "$as_dir" && as_dir=.
5503 for ac_exec_ext in '' $ac_executable_extensions; do
5504 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5505 ac_cv_prog_ac_ct_RANLIB="ranlib"
5506 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5512 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5515 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5516 if test -n "$ac_ct_RANLIB"; then
5517 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5518 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5520 echo "$as_me:$LINENO: result: no" >&5
5521 echo "${ECHO_T}no" >&6
5524 RANLIB=$ac_ct_RANLIB
5526 RANLIB="$ac_cv_prog_RANLIB"
5529 test -z "$RANLIB" && RANLIB=:
5536 # Determine commands to create old-style static archives.
5537 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5538 old_postinstall_cmds='chmod 644 $oldlib'
5539 old_postuninstall_cmds=
5541 if test -n "$RANLIB"; then
5544 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5547 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5550 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5586 # If no C compiler was specified, use CC.
5589 # If no C compiler flags were specified, use CFLAGS.
5590 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5592 # Allow CC to be a program name with arguments.
5596 # Check for command to grab the raw symbol name followed by C symbol from nm.
5597 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5598 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5599 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5600 echo $ECHO_N "(cached) $ECHO_C" >&6
5603 # These are sane defaults that work on at least a few old systems.
5604 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5606 # Character class describing NM global symbol codes.
5607 symcode='[BCDEGRST]'
5609 # Regexp to match symbols that can be accessed directly from C.
5610 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5612 # Define system-specific variables.
5617 cygwin* | mingw* | pw32*)
5618 symcode='[ABCDGISTW]'
5621 if test "$host_cpu" = ia64; then
5622 symcode='[ABCDEGRST]'
5626 symcode='[BCDEGRST]'
5629 symcode='[BCDEGQRST]'
5640 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5648 # If we're using GNU nm, then use its standard symbol codes.
5649 case `$NM -V 2>&1` in
5650 *GNU* | *'with BFD'*)
5651 symcode='[ABCDGIRSTW]' ;;
5654 # Transform an extracted symbol line into a proper C declaration.
5655 # Some systems (esp. on ia64) link data and code symbols differently,
5656 # so use this general approach.
5657 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5659 # Transform an extracted symbol line into symbol name and symbol address
5660 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5662 # Handle CRLF in mingw tool chain
5666 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5670 # Try without a prefix underscore, then with it.
5671 for ac_symprfx in "" "_"; do
5673 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5674 symxfrm="\\1 $ac_symprfx\\2 \\2"
5676 # Write the raw and C identifiers.
5677 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5678 # Fake it for dumpbin and say T for any non-static function
5679 # and D for any global variable.
5680 # Also find C++ and __fastcall symbols from MSVC++,
5681 # which start with @ or ?.
5682 lt_cv_sys_global_symbol_pipe="$AWK '"\
5683 " {last_section=section; section=\$ 3};"\
5684 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5685 " \$ 0!~/External *\|/{next};"\
5686 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5687 " {if(hide[section]) next};"\
5688 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5689 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5690 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5691 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5692 " ' prfx=^$ac_symprfx"
5694 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5697 # Check to see that the pipe works correctly.
5701 cat > conftest.$ac_ext <<_LT_EOF
5706 void nm_test_func(void);
5707 void nm_test_func(void){}
5711 int main(){nm_test_var='a';nm_test_func();return(0);}
5714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5715 (eval $ac_compile) 2>&5
5717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5718 (exit $ac_status); }; then
5719 # Now try to grab the symbols.
5721 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5722 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5725 (exit $ac_status); } && test -s "$nlist"; then
5726 # Try sorting and uniquifying the output.
5727 if sort "$nlist" | uniq > "$nlist"T; then
5728 mv -f "$nlist"T "$nlist"
5733 # Make sure that we snagged all the symbols we need.
5734 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5735 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5736 cat <<_LT_EOF > conftest.$ac_ext
5742 # Now generate the symbol file.
5743 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5745 cat <<_LT_EOF >> conftest.$ac_ext
5747 /* The mapping between symbol names and symbols. */
5752 lt__PROGRAM__LTX_preloaded_symbols[] =
5754 { "@PROGRAM@", (void *) 0 },
5756 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5757 cat <<\_LT_EOF >> conftest.$ac_ext
5761 /* This works around a problem in FreeBSD linker */
5762 #ifdef FREEBSD_WORKAROUND
5763 static const void *lt_preloaded_setup() {
5764 return lt__PROGRAM__LTX_preloaded_symbols;
5772 # Now try linking the two files.
5773 mv conftest.$ac_objext conftstm.$ac_objext
5774 lt_save_LIBS="$LIBS"
5775 lt_save_CFLAGS="$CFLAGS"
5776 LIBS="conftstm.$ac_objext"
5777 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5779 (eval $ac_link) 2>&5
5781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5782 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5785 LIBS="$lt_save_LIBS"
5786 CFLAGS="$lt_save_CFLAGS"
5788 echo "cannot find nm_test_func in $nlist" >&5
5791 echo "cannot find nm_test_var in $nlist" >&5
5794 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5797 echo "$progname: failed program was:" >&5
5798 cat conftest.$ac_ext >&5
5800 rm -f conftest* conftst*
5802 # Do not use the global_symbol_pipe unless it works.
5803 if test "$pipe_works" = yes; then
5806 lt_cv_sys_global_symbol_pipe=
5812 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5813 lt_cv_sys_global_symbol_to_cdecl=
5815 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5816 echo "$as_me:$LINENO: result: failed" >&5
5817 echo "${ECHO_T}failed" >&6
5819 echo "$as_me:$LINENO: result: ok" >&5
5820 echo "${ECHO_T}ok" >&6
5839 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5840 if test "${enable_libtool_lock+set}" = set; then
5841 enableval="$enable_libtool_lock"
5844 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5846 # Some flags need to be propagated to the compiler or linker for good
5850 # Find out which ABI we are using.
5851 echo 'int i;' > conftest.$ac_ext
5852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5853 (eval $ac_compile) 2>&5
5855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5856 (exit $ac_status); }; then
5857 case `/usr/bin/file conftest.$ac_objext` in
5869 # Find out which ABI we are using.
5870 echo '#line 5870 "configure"' > conftest.$ac_ext
5871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5872 (eval $ac_compile) 2>&5
5874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5875 (exit $ac_status); }; then
5876 if test "$lt_cv_prog_gnu_ld" = yes; then
5877 case `/usr/bin/file conftest.$ac_objext` in
5879 LD="${LD-ld} -melf32bsmip"
5882 LD="${LD-ld} -melf32bmipn32"
5885 LD="${LD-ld} -melf64bmip"
5889 case `/usr/bin/file conftest.$ac_objext` in
5905 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5906 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5907 # Find out which ABI we are using.
5908 echo 'int i;' > conftest.$ac_ext
5909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5910 (eval $ac_compile) 2>&5
5912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5913 (exit $ac_status); }; then
5914 case `/usr/bin/file conftest.o` in
5917 x86_64-*kfreebsd*-gnu)
5918 LD="${LD-ld} -m elf_i386_fbsd"
5921 LD="${LD-ld} -m elf_i386"
5923 ppc64-*linux*|powerpc64-*linux*)
5924 LD="${LD-ld} -m elf32ppclinux"
5927 LD="${LD-ld} -m elf_s390"
5930 LD="${LD-ld} -m elf32_sparc"
5936 x86_64-*kfreebsd*-gnu)
5937 LD="${LD-ld} -m elf_x86_64_fbsd"
5940 LD="${LD-ld} -m elf_x86_64"
5942 ppc*-*linux*|powerpc*-*linux*)
5943 LD="${LD-ld} -m elf64ppc"
5945 s390*-*linux*|s390*-*tpf*)
5946 LD="${LD-ld} -m elf64_s390"
5949 LD="${LD-ld} -m elf64_sparc"
5959 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5960 SAVE_CFLAGS="$CFLAGS"
5961 CFLAGS="$CFLAGS -belf"
5962 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5963 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5964 if test "${lt_cv_cc_needs_belf+set}" = set; then
5965 echo $ECHO_N "(cached) $ECHO_C" >&6
5968 ac_cpp='$CPP $CPPFLAGS'
5969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5973 if test x$gcc_no_link = xyes; then
5974 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5975 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5976 { (exit 1); exit 1; }; }
5978 cat >conftest.$ac_ext <<_ACEOF
5981 cat confdefs.h >>conftest.$ac_ext
5982 cat >>conftest.$ac_ext <<_ACEOF
5983 /* end confdefs.h. */
5993 rm -f conftest.$ac_objext conftest$ac_exeext
5994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5995 (eval $ac_link) 2>conftest.er1
5997 grep -v '^ *+' conftest.er1 >conftest.err
5999 cat conftest.err >&5
6000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6001 (exit $ac_status); } &&
6002 { ac_try='test -z "$ac_c_werror_flag"
6003 || test ! -s conftest.err'
6004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6008 (exit $ac_status); }; } &&
6009 { ac_try='test -s conftest$ac_exeext'
6010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6014 (exit $ac_status); }; }; then
6015 lt_cv_cc_needs_belf=yes
6017 echo "$as_me: failed program was:" >&5
6018 sed 's/^/| /' conftest.$ac_ext >&5
6020 lt_cv_cc_needs_belf=no
6022 rm -f conftest.err conftest.$ac_objext \
6023 conftest$ac_exeext conftest.$ac_ext
6025 ac_cpp='$CPP $CPPFLAGS'
6026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6031 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
6032 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
6033 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6034 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6035 CFLAGS="$SAVE_CFLAGS"
6039 # Find out which ABI we are using.
6040 echo 'int i;' > conftest.$ac_ext
6041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6042 (eval $ac_compile) 2>&5
6044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6045 (exit $ac_status); }; then
6046 case `/usr/bin/file conftest.o` in
6048 case $lt_cv_prog_gnu_ld in
6049 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6050 *) LD="${LD-ld} -64" ;;
6059 need_locks="$enable_libtool_lock"
6062 for ac_header in dlfcn.h
6064 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6065 echo "$as_me:$LINENO: checking for $ac_header" >&5
6066 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6067 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6068 echo $ECHO_N "(cached) $ECHO_C" >&6
6070 cat >conftest.$ac_ext <<_ACEOF
6073 cat confdefs.h >>conftest.$ac_ext
6074 cat >>conftest.$ac_ext <<_ACEOF
6075 /* end confdefs.h. */
6076 $ac_includes_default
6078 #include <$ac_header>
6080 rm -f conftest.$ac_objext
6081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6082 (eval $ac_compile) 2>conftest.er1
6084 grep -v '^ *+' conftest.er1 >conftest.err
6086 cat conftest.err >&5
6087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6088 (exit $ac_status); } &&
6089 { ac_try='test -z "$ac_c_werror_flag"
6090 || test ! -s conftest.err'
6091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6095 (exit $ac_status); }; } &&
6096 { ac_try='test -s conftest.$ac_objext'
6097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6101 (exit $ac_status); }; }; then
6102 eval "$as_ac_Header=yes"
6104 echo "$as_me: failed program was:" >&5
6105 sed 's/^/| /' conftest.$ac_ext >&5
6107 eval "$as_ac_Header=no"
6109 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6111 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6112 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6113 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6114 cat >>confdefs.h <<_ACEOF
6115 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6124 # This can be used to rebuild libtool when needed
6125 LIBTOOL_DEPS="$ltmain"
6127 # Always use our own libtool.
6128 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
6154 test -z "$LN_S" && LN_S="ln -s"
6169 if test -n "${ZSH_VERSION+set}" ; then
6170 setopt NO_GLOB_SUBST
6173 echo "$as_me:$LINENO: checking for objdir" >&5
6174 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
6175 if test "${lt_cv_objdir+set}" = set; then
6176 echo $ECHO_N "(cached) $ECHO_C" >&6
6178 rm -f .libs 2>/dev/null
6179 mkdir .libs 2>/dev/null
6180 if test -d .libs; then
6183 # MS-DOS does not allow filenames that begin with a dot.
6186 rmdir .libs 2>/dev/null
6188 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6189 echo "${ECHO_T}$lt_cv_objdir" >&6
6190 objdir=$lt_cv_objdir
6196 cat >>confdefs.h <<_ACEOF
6197 #define LT_OBJDIR "$lt_cv_objdir/"
6218 # AIX sometimes has problems with the GCC collect2 program. For some
6219 # reason, if we set the COLLECT_NAMES environment variable, the problems
6220 # vanish in a puff of smoke.
6221 if test "X${COLLECT_NAMES+set}" != Xset; then
6223 export COLLECT_NAMES
6228 # Sed substitution that helps us do robust quoting. It backslashifies
6229 # metacharacters that are still active within double-quoted strings.
6230 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6232 # Same as above, but do not quote variable references.
6233 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6235 # Sed substitution to delay expansion of an escaped shell variable in a
6236 # double_quote_subst'ed string.
6237 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6239 # Sed substitution to delay expansion of an escaped single quote.
6240 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6242 # Sed substitution to avoid accidental globbing in evaled expressions
6243 no_glob_subst='s/\*/\\\*/g'
6247 can_build_shared=yes
6249 # All known linkers require a `.a' archive for static linking (except MSVC,
6250 # which needs '.lib').
6253 with_gnu_ld="$lt_cv_prog_gnu_ld"
6256 old_CFLAGS="$CFLAGS"
6258 # Set sane defaults for various variables
6259 test -z "$CC" && CC=cc
6260 test -z "$LTCC" && LTCC=$CC
6261 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6262 test -z "$LD" && LD=ld
6263 test -z "$ac_objext" && ac_objext=o
6265 for cc_temp in $compiler""; do
6267 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6268 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6273 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6276 # Only perform the check for file, if the check method requires it
6277 test -z "$MAGIC_CMD" && MAGIC_CMD=file
6278 case $deplibs_check_method in
6280 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6281 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6282 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6283 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6284 echo $ECHO_N "(cached) $ECHO_C" >&6
6288 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6291 lt_save_MAGIC_CMD="$MAGIC_CMD"
6292 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6293 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6294 for ac_dir in $ac_dummy; do
6296 test -z "$ac_dir" && ac_dir=.
6297 if test -f $ac_dir/${ac_tool_prefix}file; then
6298 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6299 if test -n "$file_magic_test_file"; then
6300 case $deplibs_check_method in
6302 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6303 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6304 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6305 $EGREP "$file_magic_regex" > /dev/null; then
6310 *** Warning: the command libtool uses to detect shared libraries,
6311 *** $file_magic_cmd, produces output that libtool cannot recognize.
6312 *** The result is that libtool may fail to recognize shared libraries
6313 *** as such. This will affect the creation of libtool libraries that
6314 *** depend on shared libraries, but programs linked with such libtool
6315 *** libraries will work regardless of this problem. Nevertheless, you
6316 *** may want to report the problem to your system manager and/or to
6317 *** bug-libtool@gnu.org
6327 MAGIC_CMD="$lt_save_MAGIC_CMD"
6332 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6333 if test -n "$MAGIC_CMD"; then
6334 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6335 echo "${ECHO_T}$MAGIC_CMD" >&6
6337 echo "$as_me:$LINENO: result: no" >&5
6338 echo "${ECHO_T}no" >&6
6345 if test -z "$lt_cv_path_MAGIC_CMD"; then
6346 if test -n "$ac_tool_prefix"; then
6347 echo "$as_me:$LINENO: checking for file" >&5
6348 echo $ECHO_N "checking for file... $ECHO_C" >&6
6349 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6350 echo $ECHO_N "(cached) $ECHO_C" >&6
6354 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6357 lt_save_MAGIC_CMD="$MAGIC_CMD"
6358 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6359 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6360 for ac_dir in $ac_dummy; do
6362 test -z "$ac_dir" && ac_dir=.
6363 if test -f $ac_dir/file; then
6364 lt_cv_path_MAGIC_CMD="$ac_dir/file"
6365 if test -n "$file_magic_test_file"; then
6366 case $deplibs_check_method in
6368 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6369 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6370 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6371 $EGREP "$file_magic_regex" > /dev/null; then
6376 *** Warning: the command libtool uses to detect shared libraries,
6377 *** $file_magic_cmd, produces output that libtool cannot recognize.
6378 *** The result is that libtool may fail to recognize shared libraries
6379 *** as such. This will affect the creation of libtool libraries that
6380 *** depend on shared libraries, but programs linked with such libtool
6381 *** libraries will work regardless of this problem. Nevertheless, you
6382 *** may want to report the problem to your system manager and/or to
6383 *** bug-libtool@gnu.org
6393 MAGIC_CMD="$lt_save_MAGIC_CMD"
6398 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6399 if test -n "$MAGIC_CMD"; then
6400 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6401 echo "${ECHO_T}$MAGIC_CMD" >&6
6403 echo "$as_me:$LINENO: result: no" >&5
6404 echo "${ECHO_T}no" >&6
6417 # Use C for the default configuration in the libtool script
6421 ac_cpp='$CPP $CPPFLAGS'
6422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6427 # Source file extension for C test sources.
6430 # Object file extension for compiled C test sources.
6434 # Code to be used in simple compile tests
6435 lt_simple_compile_test_code="int some_variable = 0;"
6437 # Code to be used in simple link tests
6438 lt_simple_link_test_code='int main(){return(0);}'
6446 # If no C compiler was specified, use CC.
6449 # If no C compiler flags were specified, use CFLAGS.
6450 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6452 # Allow CC to be a program name with arguments.
6455 # Save the default compiler, since it gets overwritten when the other
6456 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
6457 compiler_DEFAULT=$CC
6459 # save warnings/boilerplate of simple test code
6460 ac_outfile=conftest.$ac_objext
6461 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
6462 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
6463 _lt_compiler_boilerplate=`cat conftest.err`
6466 ac_outfile=conftest.$ac_objext
6467 echo "$lt_simple_link_test_code" >conftest.$ac_ext
6468 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
6469 _lt_linker_boilerplate=`cat conftest.err`
6474 ## There is no encapsulation within the following macros, do not change
6475 ## the running order or otherwise move them around unless you know exactly
6476 ## what you are doing...
6477 if test -n "$compiler"; then
6479 lt_prog_compiler_no_builtin_flag=
6481 if test "$GCC" = yes; then
6482 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6484 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6485 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6486 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6487 echo $ECHO_N "(cached) $ECHO_C" >&6
6489 lt_cv_prog_compiler_rtti_exceptions=no
6490 ac_outfile=conftest.$ac_objext
6491 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6492 lt_compiler_flag="-fno-rtti -fno-exceptions"
6493 # Insert the option either (1) after the last *FLAGS variable, or
6494 # (2) before a word containing "conftest.", or (3) at the end.
6495 # Note that $ac_compile itself does not contain backslashes and begins
6496 # with a dollar sign (not a hyphen), so the echo should work correctly.
6497 # The option is referenced via a variable to avoid confusing sed.
6498 lt_compile=`echo "$ac_compile" | $SED \
6499 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6500 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6501 -e 's:$: $lt_compiler_flag:'`
6502 (eval echo "\"\$as_me:6502: $lt_compile\"" >&5)
6503 (eval "$lt_compile" 2>conftest.err)
6505 cat conftest.err >&5
6506 echo "$as_me:6506: \$? = $ac_status" >&5
6507 if (exit $ac_status) && test -s "$ac_outfile"; then
6508 # The compiler can only warn and ignore the option if not recognized
6509 # So say no if there are warnings other than the usual output.
6510 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
6511 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
6512 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
6513 lt_cv_prog_compiler_rtti_exceptions=yes
6519 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6520 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6522 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6523 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6535 lt_prog_compiler_wl=
6536 lt_prog_compiler_pic=
6537 lt_prog_compiler_static=
6539 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6540 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6542 if test "$GCC" = yes; then
6543 lt_prog_compiler_wl='-Wl,'
6544 lt_prog_compiler_static='-static'
6548 # All AIX code is PIC.
6549 if test "$host_cpu" = ia64; then
6550 # AIX 5 now supports IA64 processor
6551 lt_prog_compiler_static='-Bstatic'
6556 if test "$host_cpu" = m68k; then
6557 # FIXME: we need at least 68020 code to build shared libraries, but
6558 # adding the `-m68020' flag to GCC prevents building anything better,
6560 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
6564 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6565 # PIC is the default for these OSes.
6568 mingw* | cygwin* | pw32* | os2*)
6569 # This hack is so that the source file can tell whether it is being
6570 # built for inclusion in a dll (and should export symbols for example).
6571 # Although the cygwin gcc ignores -fPIC, still need this for old-style
6572 # (--disable-auto-import) libraries
6573 lt_prog_compiler_pic='-DDLL_EXPORT'
6576 darwin* | rhapsody*)
6577 # PIC is the default on this platform
6578 # Common symbols not allowed in MH_DYLIB files
6579 lt_prog_compiler_pic='-fno-common'
6583 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6590 lt_prog_compiler_pic='-fPIC'
6596 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6597 # Instead, we relocate shared libraries at runtime.
6601 # Just because we use GCC doesn't mean we suddenly get shared libraries
6602 # on systems that don't support them.
6603 lt_prog_compiler_can_build_shared=no
6608 # QNX uses GNU C++, but need to define -shared option too, otherwise
6610 lt_prog_compiler_pic='-fPIC -shared'
6614 if test -d /usr/nec; then
6615 lt_prog_compiler_pic=-Kconform_pic
6620 lt_prog_compiler_pic='-fPIC'
6624 # PORTME Check for flag to pass linker flags through the system compiler.
6627 lt_prog_compiler_wl='-Wl,'
6628 if test "$host_cpu" = ia64; then
6629 # AIX 5 now supports IA64 processor
6630 lt_prog_compiler_static='-Bstatic'
6632 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
6636 # PIC is the default on this platform
6637 # Common symbols not allowed in MH_DYLIB files
6638 case $cc_basename in
6640 lt_prog_compiler_pic='-qnocommon'
6641 lt_prog_compiler_wl='-Wl,'
6646 mingw* | cygwin* | pw32* | os2*)
6647 # This hack is so that the source file can tell whether it is being
6648 # built for inclusion in a dll (and should export symbols for example).
6649 lt_prog_compiler_pic='-DDLL_EXPORT'
6652 hpux9* | hpux10* | hpux11*)
6653 lt_prog_compiler_wl='-Wl,'
6654 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6661 lt_prog_compiler_pic='+Z'
6664 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6665 lt_prog_compiler_static='${wl}-a ${wl}archive'
6668 irix5* | irix6* | nonstopux*)
6669 lt_prog_compiler_wl='-Wl,'
6670 # PIC (with -KPIC) is the default.
6671 lt_prog_compiler_static='-non_shared'
6674 linux* | k*bsd*-gnu)
6675 case $cc_basename in
6677 lt_prog_compiler_wl='-Wl,'
6678 lt_prog_compiler_pic='-KPIC'
6679 lt_prog_compiler_static='-static'
6681 pgcc* | pgf77* | pgf90* | pgf95*)
6682 # Portland Group compilers (*not* the Pentium gcc compiler,
6683 # which looks to be a dead project)
6684 lt_prog_compiler_wl='-Wl,'
6685 lt_prog_compiler_pic='-fpic'
6686 lt_prog_compiler_static='-Bstatic'
6689 lt_prog_compiler_wl='-Wl,'
6690 # All Alpha code is PIC.
6691 lt_prog_compiler_static='-non_shared'
6694 case `$CC -V 2>&1 | sed 5q` in
6697 lt_prog_compiler_pic='-KPIC'
6698 lt_prog_compiler_static='-Bstatic'
6699 lt_prog_compiler_wl='-Wl,'
6702 # Sun Fortran 8.3 passes all unrecognized flags to the linker
6703 lt_prog_compiler_pic='-KPIC'
6704 lt_prog_compiler_static='-Bstatic'
6705 lt_prog_compiler_wl=''
6713 lt_prog_compiler_pic='-KPIC'
6714 lt_prog_compiler_static='-Bstatic'
6718 # QNX uses GNU C++, but need to define -shared option too, otherwise
6720 lt_prog_compiler_pic='-fPIC -shared'
6723 osf3* | osf4* | osf5*)
6724 lt_prog_compiler_wl='-Wl,'
6725 # All OSF/1 code is PIC.
6726 lt_prog_compiler_static='-non_shared'
6730 lt_prog_compiler_static='-non_shared'
6734 lt_prog_compiler_pic='-KPIC'
6735 lt_prog_compiler_static='-Bstatic'
6736 case $cc_basename in
6738 lt_prog_compiler_wl='-Qoption ld ';;
6740 lt_prog_compiler_wl='-Wl,';;
6745 lt_prog_compiler_wl='-Qoption ld '
6746 lt_prog_compiler_pic='-PIC'
6747 lt_prog_compiler_static='-Bstatic'
6750 sysv4 | sysv4.2uw2* | sysv4.3*)
6751 lt_prog_compiler_wl='-Wl,'
6752 lt_prog_compiler_pic='-KPIC'
6753 lt_prog_compiler_static='-Bstatic'
6757 if test -d /usr/nec ;then
6758 lt_prog_compiler_pic='-Kconform_pic'
6759 lt_prog_compiler_static='-Bstatic'
6763 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
6764 lt_prog_compiler_wl='-Wl,'
6765 lt_prog_compiler_pic='-KPIC'
6766 lt_prog_compiler_static='-Bstatic'
6770 lt_prog_compiler_wl='-Wl,'
6771 lt_prog_compiler_can_build_shared=no
6775 lt_prog_compiler_pic='-pic'
6776 lt_prog_compiler_static='-Bstatic'
6780 lt_prog_compiler_can_build_shared=no
6786 # For platforms which do not support PIC, -DPIC is meaningless:
6788 lt_prog_compiler_pic=
6791 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
6794 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6795 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6803 # Check to make sure the PIC flag actually works.
6805 if test -n "$lt_prog_compiler_pic"; then
6806 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6807 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6808 if test "${lt_prog_compiler_pic_works+set}" = set; then
6809 echo $ECHO_N "(cached) $ECHO_C" >&6
6811 lt_prog_compiler_pic_works=no
6812 ac_outfile=conftest.$ac_objext
6813 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6814 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
6815 # Insert the option either (1) after the last *FLAGS variable, or
6816 # (2) before a word containing "conftest.", or (3) at the end.
6817 # Note that $ac_compile itself does not contain backslashes and begins
6818 # with a dollar sign (not a hyphen), so the echo should work correctly.
6819 # The option is referenced via a variable to avoid confusing sed.
6820 lt_compile=`echo "$ac_compile" | $SED \
6821 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6822 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6823 -e 's:$: $lt_compiler_flag:'`
6824 (eval echo "\"\$as_me:6824: $lt_compile\"" >&5)
6825 (eval "$lt_compile" 2>conftest.err)
6827 cat conftest.err >&5
6828 echo "$as_me:6828: \$? = $ac_status" >&5
6829 if (exit $ac_status) && test -s "$ac_outfile"; then
6830 # The compiler can only warn and ignore the option if not recognized
6831 # So say no if there are warnings other than the usual output.
6832 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
6833 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
6834 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
6835 lt_prog_compiler_pic_works=yes
6841 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6842 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
6844 if test x"$lt_prog_compiler_pic_works" = xyes; then
6845 case $lt_prog_compiler_pic in
6847 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
6850 lt_prog_compiler_pic=
6851 lt_prog_compiler_can_build_shared=no
6862 # Check to make sure the static flag actually works.
6864 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
6865 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
6866 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
6867 if test "${lt_prog_compiler_static_works+set}" = set; then
6868 echo $ECHO_N "(cached) $ECHO_C" >&6
6870 lt_prog_compiler_static_works=no
6871 save_LDFLAGS="$LDFLAGS"
6872 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
6873 echo "$lt_simple_link_test_code" > conftest.$ac_ext
6874 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
6875 # The linker can only warn and ignore the option if not recognized
6876 # So say no if there are warnings
6877 if test -s conftest.err; then
6878 # Append any errors to the config.log.
6879 cat conftest.err 1>&5
6880 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
6881 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
6882 if diff conftest.exp conftest.er2 >/dev/null; then
6883 lt_prog_compiler_static_works=yes
6886 lt_prog_compiler_static_works=yes
6890 LDFLAGS="$save_LDFLAGS"
6893 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6894 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6896 if test x"$lt_prog_compiler_static_works" = xyes; then
6899 lt_prog_compiler_static=
6908 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6909 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6910 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6911 echo $ECHO_N "(cached) $ECHO_C" >&6
6913 lt_cv_prog_compiler_c_o=no
6914 $RM -r conftest 2>/dev/null
6918 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6920 lt_compiler_flag="-o out/conftest2.$ac_objext"
6921 # Insert the option either (1) after the last *FLAGS variable, or
6922 # (2) before a word containing "conftest.", or (3) at the end.
6923 # Note that $ac_compile itself does not contain backslashes and begins
6924 # with a dollar sign (not a hyphen), so the echo should work correctly.
6925 lt_compile=`echo "$ac_compile" | $SED \
6926 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6927 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6928 -e 's:$: $lt_compiler_flag:'`
6929 (eval echo "\"\$as_me:6929: $lt_compile\"" >&5)
6930 (eval "$lt_compile" 2>out/conftest.err)
6932 cat out/conftest.err >&5
6933 echo "$as_me:6933: \$? = $ac_status" >&5
6934 if (exit $ac_status) && test -s out/conftest2.$ac_objext
6936 # The compiler can only warn and ignore the option if not recognized
6937 # So say no if there are warnings
6938 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
6939 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
6940 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
6941 lt_cv_prog_compiler_c_o=yes
6946 # SGI C++ compiler will create directory out/ii_files/ for
6947 # template instantiation
6948 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
6949 $RM out/* && rmdir out
6955 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6956 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6963 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6964 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6965 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6966 echo $ECHO_N "(cached) $ECHO_C" >&6
6968 lt_cv_prog_compiler_c_o=no
6969 $RM -r conftest 2>/dev/null
6973 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6975 lt_compiler_flag="-o out/conftest2.$ac_objext"
6976 # Insert the option either (1) after the last *FLAGS variable, or
6977 # (2) before a word containing "conftest.", or (3) at the end.
6978 # Note that $ac_compile itself does not contain backslashes and begins
6979 # with a dollar sign (not a hyphen), so the echo should work correctly.
6980 lt_compile=`echo "$ac_compile" | $SED \
6981 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6982 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6983 -e 's:$: $lt_compiler_flag:'`
6984 (eval echo "\"\$as_me:6984: $lt_compile\"" >&5)
6985 (eval "$lt_compile" 2>out/conftest.err)
6987 cat out/conftest.err >&5
6988 echo "$as_me:6988: \$? = $ac_status" >&5
6989 if (exit $ac_status) && test -s out/conftest2.$ac_objext
6991 # The compiler can only warn and ignore the option if not recognized
6992 # So say no if there are warnings
6993 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
6994 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
6995 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
6996 lt_cv_prog_compiler_c_o=yes
7001 # SGI C++ compiler will create directory out/ii_files/ for
7002 # template instantiation
7003 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7004 $RM out/* && rmdir out
7010 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7011 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7016 hard_links="nottested"
7017 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7018 # do not overwrite the value of need_locks provided by the user
7019 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7020 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
7023 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7025 ln conftest.a conftest.b 2>&5 || hard_links=no
7026 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7027 echo "$as_me:$LINENO: result: $hard_links" >&5
7028 echo "${ECHO_T}$hard_links" >&6
7029 if test "$hard_links" = no; then
7030 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7031 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7043 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7044 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
7047 allow_undefined_flag=
7048 always_export_symbols=no
7050 archive_expsym_cmds=
7051 compiler_needs_object=no
7052 enable_shared_with_static_runtimes=no
7053 export_dynamic_flag_spec=
7054 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7055 hardcode_automatic=no
7057 hardcode_direct_absolute=no
7058 hardcode_libdir_flag_spec=
7059 hardcode_libdir_flag_spec_ld=
7060 hardcode_libdir_separator=
7062 hardcode_shlibpath_var=unsupported
7064 link_all_deplibs=unknown
7067 old_archive_from_new_cmds=
7068 old_archive_from_expsyms_cmds=
7069 thread_safe_flag_spec=
7070 whole_archive_flag_spec=
7071 # include_expsyms should be a list of space-separated symbols to be *always*
7072 # included in the symbol list
7074 # exclude_expsyms can be an extended regexp of symbols to exclude
7075 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7076 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7077 # as well as any symbol that contains `d'.
7078 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
7079 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7080 # platforms (ab)use it in PIC code, but their linkers get confused if
7081 # the symbol is explicitly referenced. Since portable code cannot
7082 # rely on this symbol name, it's probably fine to never include it in
7083 # preloaded symbol tables.
7084 extract_expsyms_cmds=
7087 cygwin* | mingw* | pw32*)
7088 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7089 # When not using gcc, we currently assume that we are using
7090 # Microsoft Visual C++.
7091 if test "$GCC" != yes; then
7096 # we just hope/assume this is gcc and not c89 (= MSVC++)
7105 if test "$with_gnu_ld" = yes; then
7106 # If archive_cmds runs LD, not CC, wlarc should be empty
7109 # Set some defaults for GNU ld with shared library support. These
7110 # are reset later if shared libraries are not supported. Putting them
7111 # here allows them to be overridden if necessary.
7112 runpath_var=LD_RUN_PATH
7113 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7114 export_dynamic_flag_spec='${wl}--export-dynamic'
7115 # ancient GNU ld didn't support --whole-archive et. al.
7116 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
7117 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7119 whole_archive_flag_spec=
7121 supports_anon_versioning=no
7122 case `$LD -v 2>&1` in
7123 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7124 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7125 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7126 *\ 2.11.*) ;; # other 2.11 versions
7127 *) supports_anon_versioning=yes ;;
7130 # See if GNU ld supports shared libraries.
7132 aix3* | aix4* | aix5*)
7133 # On AIX/PPC, the GNU linker is very broken
7134 if test "$host_cpu" != ia64; then
7138 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7139 *** to be unable to reliably create shared libraries on AIX.
7140 *** Therefore, libtool is disabling shared libraries support. If you
7141 *** really care for shared libraries, you may want to modify your PATH
7142 *** so that a non-GNU linker is found, and then restart.
7149 if test "$host_cpu" = m68k; then
7150 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)'
7151 hardcode_libdir_flag_spec='-L$libdir'
7152 hardcode_minus_L=yes
7155 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7156 # that the semantics of dynamic libraries on AmigaOS, at least up
7157 # to version 4, is to share data among multiple programs linked
7158 # with the same dynamic library. Since this doesn't match the
7159 # behavior of shared libraries on other platforms, we can't use
7165 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7166 allow_undefined_flag=unsupported
7167 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7168 # support --undefined. This deserves some investigation. FIXME
7169 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7175 cygwin* | mingw* | pw32*)
7176 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7177 # as there is no search path for DLLs.
7178 hardcode_libdir_flag_spec='-L$libdir'
7179 allow_undefined_flag=unsupported
7180 always_export_symbols=no
7181 enable_shared_with_static_runtimes=yes
7182 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7184 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
7185 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7186 # If the export-symbols file already is a .def file (1st line
7187 # is EXPORTS), use it as is; otherwise, prepend...
7188 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7189 cp $export_symbols $output_objdir/$soname.def;
7191 echo EXPORTS > $output_objdir/$soname.def;
7192 cat $export_symbols >> $output_objdir/$soname.def;
7194 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7202 hardcode_shlibpath_var=no
7203 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7204 export_dynamic_flag_spec='${wl}-E'
7205 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7206 # Instead, shared libraries are loaded at an image base (0x10000000 by
7207 # default) and relocated if they conflict, which is a slow very memory
7208 # consuming and fragmenting process. To avoid this, we pick a random,
7209 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7210 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7211 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7212 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'
7215 gnu* | linux* | tpf* | k*bsd*-gnu)
7217 if test "$host_os" = linux-dietlibc; then
7218 case $cc_basename in
7219 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
7222 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
7223 && test "$tmp_diet" = no
7226 case $cc_basename,$host_cpu in
7227 pgcc*) # Portland Group C compiler
7228 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'
7229 tmp_addflag=' $pic_flag'
7231 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
7232 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'
7233 tmp_addflag=' $pic_flag -Mnomain' ;;
7234 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
7235 tmp_addflag=' -i_dynamic' ;;
7236 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
7237 tmp_addflag=' -i_dynamic -nofor_main' ;;
7238 ifc* | ifort*) # Intel Fortran compiler
7239 tmp_addflag=' -nofor_main' ;;
7241 case `$CC -V 2>&1 | sed 5q` in
7242 *Sun\ C*) # Sun C 5.9
7243 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'
7244 compiler_needs_object=yes
7245 tmp_sharedflag='-G' ;;
7246 *Sun\ F*) # Sun Fortran 8.3
7247 tmp_sharedflag='-G' ;;
7249 tmp_sharedflag='-shared' ;;
7251 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7253 if test "x$supports_anon_versioning" = xyes; then
7254 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
7255 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7256 echo "local: *; };" >> $output_objdir/$libname.ver~
7257 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7265 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
7266 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7269 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7270 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7275 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
7279 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7280 *** create shared libraries on Solaris systems. Therefore, libtool
7281 *** is disabling shared libraries support. We urge you to upgrade GNU
7282 *** binutils to release 2.9.1 or newer. Another option is to modify
7283 *** your PATH or compiler configuration so that the native linker is
7284 *** used, and then restart.
7287 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7288 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7289 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7295 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
7296 case `$LD -v 2>&1` in
7297 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
7301 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7302 *** reliably create shared libraries on SCO systems. Therefore, libtool
7303 *** is disabling shared libraries support. We urge you to upgrade GNU
7304 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7305 *** your PATH or compiler configuration so that the native linker is
7306 *** used, and then restart.
7311 # For security reasons, it is highly recommended that you always
7312 # use absolute paths for naming shared libraries, and exclude the
7313 # DT_RUNPATH tag from executables and libraries. But doing so
7314 # requires that you compile everything twice, which is a pain.
7315 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7316 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7317 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7318 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7327 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7330 hardcode_shlibpath_var=no
7334 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7335 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7336 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7343 if test "$ld_shlibs" = no; then
7345 hardcode_libdir_flag_spec=
7346 export_dynamic_flag_spec=
7347 whole_archive_flag_spec=
7350 # PORTME fill in a description of your system's linker (not GNU ld)
7353 allow_undefined_flag=unsupported
7354 always_export_symbols=yes
7355 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'
7356 # Note: this linker hardcodes the directories in LIBPATH if there
7357 # are no directories specified by -L.
7358 hardcode_minus_L=yes
7359 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7360 # Neither direct hardcoding nor static linking is supported with a
7362 hardcode_direct=unsupported
7367 if test "$host_cpu" = ia64; then
7368 # On IA64, the linker does run time linking by default, so we don't
7369 # have to do anything special.
7370 aix_use_runtimelinking=no
7371 exp_sym_flag='-Bexport'
7374 # If we're using GNU nm, then we don't want the "-C" option.
7375 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7376 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
7377 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'
7379 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'
7381 aix_use_runtimelinking=no
7383 # Test if we are trying to use run time linking or normal
7384 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7385 # need to do runtime linking.
7386 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
7387 for ld_flag in $LDFLAGS; do
7388 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
7389 aix_use_runtimelinking=yes
7396 exp_sym_flag='-bexport'
7397 no_entry_flag='-bnoentry'
7400 # When large executables or shared objects are built, AIX ld can
7401 # have problems creating the table of contents. If linking a library
7402 # or program results in "error TOC overflow" add -mminimal-toc to
7403 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7404 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7408 hardcode_direct_absolute=yes
7409 hardcode_libdir_separator=':'
7410 link_all_deplibs=yes
7411 file_list_spec='${wl}-f,'
7413 if test "$GCC" = yes; then
7414 case $host_os in aix4.[012]|aix4.[012].*)
7415 # We only want to do this on AIX 4.2 and lower, the check
7416 # below for broken collect2 doesn't work under 4.3+
7417 collect2name=`${CC} -print-prog-name=collect2`
7418 if test -f "$collect2name" &&
7419 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
7421 # We have reworked collect2
7424 # We have old collect2
7425 hardcode_direct=unsupported
7426 # It fails to find uninstalled libraries when the uninstalled
7427 # path is not listed in the libpath. Setting hardcode_minus_L
7428 # to unsupported forces relinking
7429 hardcode_minus_L=yes
7430 hardcode_libdir_flag_spec='-L$libdir'
7431 hardcode_libdir_separator=
7435 shared_flag='-shared'
7436 if test "$aix_use_runtimelinking" = yes; then
7437 shared_flag="$shared_flag "'${wl}-G'
7441 if test "$host_cpu" = ia64; then
7442 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7443 # chokes on -Wl,-G. The following line is correct:
7446 if test "$aix_use_runtimelinking" = yes; then
7447 shared_flag='${wl}-G'
7449 shared_flag='${wl}-bM:SRE'
7454 # It seems that -bexpall does not export symbols beginning with
7455 # underscore (_), so it is better to generate a list of symbols to export.
7456 always_export_symbols=yes
7457 if test "$aix_use_runtimelinking" = yes; then
7458 # Warning - without using the other runtime loading flags (-brtl),
7459 # -berok will link without error, but may produce a broken library.
7460 allow_undefined_flag='-berok'
7461 # Determine the default libpath from the value encoded in an
7463 if test x$gcc_no_link = xyes; then
7464 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7465 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7466 { (exit 1); exit 1; }; }
7468 cat >conftest.$ac_ext <<_ACEOF
7471 cat confdefs.h >>conftest.$ac_ext
7472 cat >>conftest.$ac_ext <<_ACEOF
7473 /* end confdefs.h. */
7483 rm -f conftest.$ac_objext conftest$ac_exeext
7484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7485 (eval $ac_link) 2>conftest.er1
7487 grep -v '^ *+' conftest.er1 >conftest.err
7489 cat conftest.err >&5
7490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7491 (exit $ac_status); } &&
7492 { ac_try='test -z "$ac_c_werror_flag"
7493 || test ! -s conftest.err'
7494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7498 (exit $ac_status); }; } &&
7499 { ac_try='test -s conftest$ac_exeext'
7500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7504 (exit $ac_status); }; }; then
7506 lt_aix_libpath_sed='
7507 /Import File Strings/,/^$/ {
7513 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7514 # Check for a 64-bit object if we didn't find anything.
7515 if test -z "$aix_libpath"; then
7516 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7519 echo "$as_me: failed program was:" >&5
7520 sed 's/^/| /' conftest.$ac_ext >&5
7523 rm -f conftest.err conftest.$ac_objext \
7524 conftest$ac_exeext conftest.$ac_ext
7525 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7527 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7528 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"
7530 if test "$host_cpu" = ia64; then
7531 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
7532 allow_undefined_flag="-z nodefs"
7533 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"
7535 # Determine the default libpath from the value encoded in an
7537 if test x$gcc_no_link = xyes; then
7538 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7539 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7540 { (exit 1); exit 1; }; }
7542 cat >conftest.$ac_ext <<_ACEOF
7545 cat confdefs.h >>conftest.$ac_ext
7546 cat >>conftest.$ac_ext <<_ACEOF
7547 /* end confdefs.h. */
7557 rm -f conftest.$ac_objext conftest$ac_exeext
7558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7559 (eval $ac_link) 2>conftest.er1
7561 grep -v '^ *+' conftest.er1 >conftest.err
7563 cat conftest.err >&5
7564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7565 (exit $ac_status); } &&
7566 { ac_try='test -z "$ac_c_werror_flag"
7567 || test ! -s conftest.err'
7568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7572 (exit $ac_status); }; } &&
7573 { ac_try='test -s conftest$ac_exeext'
7574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7578 (exit $ac_status); }; }; then
7580 lt_aix_libpath_sed='
7581 /Import File Strings/,/^$/ {
7587 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7588 # Check for a 64-bit object if we didn't find anything.
7589 if test -z "$aix_libpath"; then
7590 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7593 echo "$as_me: failed program was:" >&5
7594 sed 's/^/| /' conftest.$ac_ext >&5
7597 rm -f conftest.err conftest.$ac_objext \
7598 conftest$ac_exeext conftest.$ac_ext
7599 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7601 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7602 # Warning - without using the other run time loading flags,
7603 # -berok will link without error, but may produce a broken library.
7604 no_undefined_flag=' ${wl}-bernotok'
7605 allow_undefined_flag=' ${wl}-berok'
7606 # Exported symbols can be pulled into shared objects from archives
7607 whole_archive_flag_spec='$convenience'
7608 archive_cmds_need_lc=yes
7609 # This is similar to how AIX traditionally builds its shared libraries.
7610 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'
7616 if test "$host_cpu" = m68k; then
7617 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)'
7618 hardcode_libdir_flag_spec='-L$libdir'
7619 hardcode_minus_L=yes
7621 # see comment about different semantics on the GNU ld section
7626 export_dynamic_flag_spec=-rdynamic
7629 cygwin* | mingw* | pw32*)
7630 # When not using gcc, we currently assume that we are using
7631 # Microsoft Visual C++.
7632 # hardcode_libdir_flag_spec is actually meaningless, as there is
7633 # no search path for DLLs.
7634 hardcode_libdir_flag_spec=' '
7635 allow_undefined_flag=unsupported
7636 # Tell ltmain to make .lib files, not .a files.
7638 # Tell ltmain to make .dll files, not .so files.
7640 # FIXME: Setting linknames here is a bad hack.
7641 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
7642 # The linker will automatically build a .lib file if we build a DLL.
7643 old_archive_from_new_cmds='true'
7644 # FIXME: Should let the user specify the lib program.
7645 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
7646 fix_srcfile_path='`cygpath -w "$srcfile"`'
7647 enable_shared_with_static_runtimes=yes
7650 darwin* | rhapsody*)
7652 rhapsody* | darwin1.[012])
7653 allow_undefined_flag='${wl}-undefined ${wl}suppress'
7656 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
7658 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7661 allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
7666 archive_cmds_need_lc=no
7668 hardcode_automatic=yes
7669 hardcode_shlibpath_var=unsupported
7670 whole_archive_flag_spec=''
7671 link_all_deplibs=yes
7672 if test "$GCC" = yes ; then
7673 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7674 echo $ECHO_N "(cached) $ECHO_C" >&6
7676 lt_cv_apple_cc_single_mod=no
7677 if test -z "${LT_MULTI_MODULE}"; then
7678 # By default we will add the -single_module flag. You can override
7679 # by either setting the environment variable LT_MULTI_MODULE
7680 # non-empty at configure time, or by adding -multi-module to the
7682 echo "int foo(void){return 1;}" > conftest.c
7683 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7684 -dynamiclib ${wl}-single_module conftest.c
7685 if test -f libconftest.dylib; then
7686 lt_cv_apple_cc_single_mod=yes
7687 rm libconftest.dylib
7693 output_verbose_link_cmd=echo
7694 if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
7695 archive_cmds='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7696 archive_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $single_module -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7698 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7699 archive_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7701 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7702 module_expsym_cmds='sed -e "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7704 case $cc_basename in
7706 output_verbose_link_cmd=echo
7707 archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
7708 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7709 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7710 archive_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7711 module_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7721 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7722 hardcode_libdir_flag_spec='-L$libdir'
7723 hardcode_shlibpath_var=no
7730 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7731 # support. Future versions do this automatically, but an explicit c++rt0.o
7732 # does not break anything, and helps significantly (at the cost of a little
7735 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7736 hardcode_libdir_flag_spec='-R$libdir'
7738 hardcode_shlibpath_var=no
7741 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7743 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7745 hardcode_minus_L=yes
7746 hardcode_shlibpath_var=no
7749 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7750 freebsd* | dragonfly*)
7751 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7752 hardcode_libdir_flag_spec='-R$libdir'
7754 hardcode_shlibpath_var=no
7758 if test "$GCC" = yes; then
7759 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'
7761 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'
7763 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7764 hardcode_libdir_separator=:
7767 # hardcode_minus_L: Not really in the search PATH,
7768 # but as the default location of the library.
7769 hardcode_minus_L=yes
7770 export_dynamic_flag_spec='${wl}-E'
7774 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7775 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7777 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7779 if test "$with_gnu_ld" = no; then
7780 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7781 hardcode_libdir_flag_spec_ld='+b $libdir'
7782 hardcode_libdir_separator=:
7784 hardcode_direct_absolute=yes
7785 export_dynamic_flag_spec='${wl}-E'
7786 # hardcode_minus_L: Not really in the search PATH,
7787 # but as the default location of the library.
7788 hardcode_minus_L=yes
7793 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7796 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7799 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7802 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7808 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7811 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7814 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7818 if test "$with_gnu_ld" = no; then
7819 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7820 hardcode_libdir_separator=:
7825 hardcode_shlibpath_var=no
7829 hardcode_direct_absolute=yes
7830 export_dynamic_flag_spec='${wl}-E'
7832 # hardcode_minus_L: Not really in the search PATH,
7833 # but as the default location of the library.
7834 hardcode_minus_L=yes
7840 irix5* | irix6* | nonstopux*)
7841 if test "$GCC" = yes; then
7842 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'
7843 # Try to use the -exported_symbol ld option, if it does not
7844 # work, assume that -exports_file does not work either and
7845 # implicitly export all symbols.
7846 save_LDFLAGS="$LDFLAGS"
7847 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
7848 if test x$gcc_no_link = xyes; then
7849 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7850 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7851 { (exit 1); exit 1; }; }
7853 cat >conftest.$ac_ext <<_ACEOF
7856 rm -f conftest.$ac_objext conftest$ac_exeext
7857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7858 (eval $ac_link) 2>conftest.er1
7860 grep -v '^ *+' conftest.er1 >conftest.err
7862 cat conftest.err >&5
7863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7864 (exit $ac_status); } &&
7865 { ac_try='test -z "$ac_c_werror_flag"
7866 || test ! -s conftest.err'
7867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7871 (exit $ac_status); }; } &&
7872 { ac_try='test -s conftest$ac_exeext'
7873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7877 (exit $ac_status); }; }; then
7878 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'
7881 echo "$as_me: failed program was:" >&5
7882 sed 's/^/| /' conftest.$ac_ext >&5
7885 rm -f conftest.err conftest.$ac_objext \
7886 conftest$ac_exeext conftest.$ac_ext
7887 LDFLAGS="$save_LDFLAGS"
7889 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'
7890 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'
7892 archive_cmds_need_lc='no'
7893 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7894 hardcode_libdir_separator=:
7896 link_all_deplibs=yes
7900 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
7901 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7903 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7905 hardcode_libdir_flag_spec='-R$libdir'
7907 hardcode_shlibpath_var=no
7911 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7913 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7914 hardcode_libdir_separator=:
7915 hardcode_shlibpath_var=no
7923 hardcode_shlibpath_var=no
7924 hardcode_direct_absolute=yes
7925 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7926 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7927 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
7928 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7929 export_dynamic_flag_spec='${wl}-E'
7932 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
7933 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7934 hardcode_libdir_flag_spec='-R$libdir'
7937 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7938 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7945 hardcode_libdir_flag_spec='-L$libdir'
7946 hardcode_minus_L=yes
7947 allow_undefined_flag=unsupported
7948 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'
7949 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7953 if test "$GCC" = yes; then
7954 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7955 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'
7957 allow_undefined_flag=' -expect_unresolved \*'
7958 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'
7960 archive_cmds_need_lc='no'
7961 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7962 hardcode_libdir_separator=:
7965 osf4* | osf5*) # as osf3* with the addition of -msym flag
7966 if test "$GCC" = yes; then
7967 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7968 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'
7969 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7971 allow_undefined_flag=' -expect_unresolved \*'
7972 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'
7973 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~
7974 $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'
7976 # Both c and cxx compiler support -rpath directly
7977 hardcode_libdir_flag_spec='-rpath $libdir'
7979 archive_cmds_need_lc='no'
7980 hardcode_libdir_separator=:
7984 no_undefined_flag=' -z defs'
7985 if test "$GCC" = yes; then
7987 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7988 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
7989 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
7991 case `$CC -V 2>&1` in
7994 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7995 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
7996 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8000 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8001 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8002 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8006 hardcode_libdir_flag_spec='-R$libdir'
8007 hardcode_shlibpath_var=no
8009 solaris2.[0-5] | solaris2.[0-5].*) ;;
8011 # The compiler driver will combine and reorder linker options,
8012 # but understands `-z linker_flag'. GCC discards it without `$wl',
8013 # but is careful enough not to reorder.
8014 # Supported since Solaris 2.6 (maybe 2.5.1?)
8015 if test "$GCC" = yes; then
8016 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8018 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8022 link_all_deplibs=yes
8026 if test "x$host_vendor" = xsequent; then
8027 # Use $CC to link under sequent, because it throws in some extra .o
8028 # files that make .init and .fini sections work.
8029 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8031 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8033 hardcode_libdir_flag_spec='-L$libdir'
8035 hardcode_minus_L=yes
8036 hardcode_shlibpath_var=no
8040 case $host_vendor in
8042 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8043 hardcode_direct=yes # is this really true???
8046 ## LD is ld it makes a PLAMLIB
8047 ## CC just makes a GrossModule.
8048 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8049 reload_cmds='$CC -r -o $output$reload_objs'
8053 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8054 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8057 runpath_var='LD_RUN_PATH'
8058 hardcode_shlibpath_var=no
8062 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8063 hardcode_shlibpath_var=no
8064 export_dynamic_flag_spec='-Bexport'
8068 if test -d /usr/nec; then
8069 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8070 hardcode_shlibpath_var=no
8071 runpath_var=LD_RUN_PATH
8072 hardcode_runpath_var=yes
8077 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8078 no_undefined_flag='${wl}-z,text'
8079 archive_cmds_need_lc=no
8080 hardcode_shlibpath_var=no
8081 runpath_var='LD_RUN_PATH'
8083 if test "$GCC" = yes; then
8084 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8085 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8087 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8088 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8092 sysv5* | sco3.2v5* | sco5v6*)
8093 # Note: We can NOT use -z defs as we might desire, because we do not
8094 # link with -lc, and that would cause any symbols used from libc to
8095 # always be unresolved, which means just about no library would
8096 # ever link correctly. If we're not using GNU ld we use -z text
8097 # though, which does catch some bad symbols but isn't as heavy-handed
8099 no_undefined_flag='${wl}-z,text'
8100 allow_undefined_flag='${wl}-z,nodefs'
8101 archive_cmds_need_lc=no
8102 hardcode_shlibpath_var=no
8103 hardcode_libdir_flag_spec='${wl}-R,$libdir'
8104 hardcode_libdir_separator=':'
8105 link_all_deplibs=yes
8106 export_dynamic_flag_spec='${wl}-Bexport'
8107 runpath_var='LD_RUN_PATH'
8109 if test "$GCC" = yes; then
8110 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8111 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8113 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8114 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8119 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8120 hardcode_libdir_flag_spec='-L$libdir'
8121 hardcode_shlibpath_var=no
8129 if test x$host_vendor = xsni; then
8131 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8132 export_dynamic_flag_spec='${wl}-Blargedynsym'
8138 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8139 echo "${ECHO_T}$ld_shlibs" >&6
8140 test "$ld_shlibs" = no && can_build_shared=no
8142 with_gnu_ld=$with_gnu_ld
8159 # Do we need to explicitly link libc?
8161 case "x$archive_cmds_need_lc" in
8163 # Assume -lc should be added
8164 archive_cmds_need_lc=yes
8166 if test "$enable_shared" = yes && test "$GCC" = yes; then
8167 case $archive_cmds in
8169 # FIXME: we may have to deal with multi-command sequences.
8172 # Test whether the compiler implicitly links with -lc since on some
8173 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8174 # to ld, don't add -lc before -lgcc.
8175 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8176 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
8178 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8181 (eval $ac_compile) 2>&5
8183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8184 (exit $ac_status); } 2>conftest.err; then
8187 libobjs=conftest.$ac_objext
8189 wl=$lt_prog_compiler_wl
8190 pic_flag=$lt_prog_compiler_pic
8196 lt_save_allow_undefined_flag=$allow_undefined_flag
8197 allow_undefined_flag=
8198 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
8199 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
8201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8202 (exit $ac_status); }
8204 archive_cmds_need_lc=no
8206 archive_cmds_need_lc=yes
8208 allow_undefined_flag=$lt_save_allow_undefined_flag
8210 cat conftest.err 1>&5
8213 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8214 echo "${ECHO_T}$archive_cmds_need_lc" >&6
8377 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8378 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
8380 if test "$withGCC" = yes; then
8382 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
8383 *) lt_awk_arg="/^libraries:/" ;;
8385 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8386 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
8387 # if the path contains ";" then we assume it to be the separator
8388 # otherwise default to the standard path separator (i.e. ":") - it is
8389 # assumed that no part of a normal pathname contains ";" but that should
8390 # okay in the real world where ";" in dirpaths is itself problematic.
8391 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8393 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8395 # Ok, now we have the path, separated by spaces, we can step through it
8396 # and add multilib dir if necessary.
8397 lt_tmp_lt_search_path_spec=
8398 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8399 for lt_sys_path in $lt_search_path_spec; do
8400 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8401 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8403 test -d "$lt_sys_path" && \
8404 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
8407 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
8408 BEGIN {RS=" "; FS="/|\n";} {
8411 for (lt_i = NF; lt_i > 0; lt_i--) {
8412 if ($lt_i != "" && $lt_i != ".") {
8413 if ($lt_i == "..") {
8416 if (lt_count == 0) {
8417 lt_foo="/" $lt_i lt_foo;
8424 if (lt_foo != "") { lt_freq[lt_foo]++; }
8425 if (lt_freq[lt_foo] == 1) { print lt_foo; }
8427 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
8429 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
8432 libname_spec='lib$name'
8440 shlibpath_overrides_runpath=unknown
8442 dynamic_linker="$host_os ld.so"
8443 sys_lib_dlsearch_path_spec="/lib /usr/lib"
8444 need_lib_prefix=unknown
8445 hardcode_into_libs=no
8447 # when you set need_version to no, make sure it does not cause -set_version
8448 # flags to be left without arguments
8449 need_version=unknown
8454 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
8455 shlibpath_var=LIBPATH
8457 # AIX 3 has no versioning support, so we append a major version to the name.
8458 soname_spec='${libname}${release}${shared_ext}$major'
8465 hardcode_into_libs=yes
8466 if test "$host_cpu" = ia64; then
8467 # AIX 5 supports IA64
8468 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8469 shlibpath_var=LD_LIBRARY_PATH
8471 # With GCC up to 2.95.x, collect2 would create an import file
8472 # for dependence libraries. The import file would start with
8473 # the line `#! .'. This would cause the generated library to
8474 # depend on `.', always an invalid library. This was fixed in
8475 # development snapshots of GCC prior to 3.0.
8477 aix4 | aix4.[01] | aix4.[01].*)
8478 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8480 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
8487 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8488 # soname into executable. Probably we can add versioning support to
8489 # collect2, so additional links can be useful in future.
8490 if test "$aix_use_runtimelinking" = yes; then
8491 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8492 # instead of lib<name>.a to let people know that these are not
8493 # typical AIX shared libraries.
8494 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8496 # We preserve .a as extension for shared libraries through AIX4.2
8497 # and later when we are not doing run time linking.
8498 library_names_spec='${libname}${release}.a $libname.a'
8499 soname_spec='${libname}${release}${shared_ext}$major'
8501 shlibpath_var=LIBPATH
8506 if test "$host_cpu" = m68k; then
8507 library_names_spec='$libname.ixlibrary $libname.a'
8508 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8509 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'
8516 library_names_spec='${libname}${shared_ext}'
8517 dynamic_linker="$host_os ld.so"
8518 shlibpath_var=LIBRARY_PATH
8524 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8525 soname_spec='${libname}${release}${shared_ext}$major'
8526 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
8527 shlibpath_var=LD_LIBRARY_PATH
8528 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8529 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
8530 # the default ld.so.conf also contains /usr/contrib/lib and
8531 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8532 # libtool to hard-code these into programs
8535 cygwin* | mingw* | pw32*)
8536 version_type=windows
8541 case $withGCC,$host_os in
8542 yes,cygwin* | yes,mingw* | yes,pw32*)
8543 library_names_spec='$libname.dll.a'
8544 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8545 postinstall_cmds='base_file=`basename \${file}`~
8546 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
8547 dldir=$destdir/`dirname \$dlpath`~
8548 test -d \$dldir || mkdir -p \$dldir~
8549 $install_prog $dir/$dlname \$dldir/$dlname~
8550 chmod a+x \$dldir/$dlname~
8551 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
8552 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
8554 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8555 dlpath=$dir/\$dldll~
8557 shlibpath_overrides_runpath=yes
8561 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8562 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8563 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
8566 # MinGW DLLs use traditional 'lib' prefix
8567 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8568 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8569 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
8570 # It is most probably a Windows format PATH printed by
8571 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8572 # path with ; separators, and with drive letters. We can handle the
8573 # drive letters (cygwin fileutils understands them), so leave them,
8574 # especially as we might pass files found there to a mingw objdump,
8575 # which wouldn't understand a cygwinified path. Ahh.
8576 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8578 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8582 # pw32 DLLs use 'pw' prefix rather than 'lib'
8583 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8589 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8592 dynamic_linker='Win32 ld.exe'
8593 # FIXME: first we should search . and the directory the executable is in
8597 darwin* | rhapsody*)
8598 dynamic_linker="$host_os dyld"
8602 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8603 soname_spec='${libname}${release}${major}$shared_ext'
8604 shlibpath_overrides_runpath=yes
8605 shlibpath_var=DYLD_LIBRARY_PATH
8606 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
8608 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
8609 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
8616 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8617 soname_spec='${libname}${release}${shared_ext}$major'
8618 shlibpath_var=LD_LIBRARY_PATH
8625 freebsd* | dragonfly*)
8626 # DragonFly does not have aout. When/if they implement a new
8627 # versioning mechanism, adjust this.
8628 if test -x /usr/bin/objformat; then
8629 objformat=`/usr/bin/objformat`
8632 freebsd[123]*) objformat=aout ;;
8636 version_type=freebsd-$objformat
8637 case $version_type in
8639 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8644 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8648 shlibpath_var=LD_LIBRARY_PATH
8651 shlibpath_overrides_runpath=yes
8653 freebsd3.[01]* | freebsdelf3.[01]*)
8654 shlibpath_overrides_runpath=yes
8655 hardcode_into_libs=yes
8657 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
8658 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
8659 shlibpath_overrides_runpath=no
8660 hardcode_into_libs=yes
8662 *) # from 4.6 on, and DragonFly
8663 shlibpath_overrides_runpath=yes
8664 hardcode_into_libs=yes
8673 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8674 soname_spec='${libname}${release}${shared_ext}$major'
8675 shlibpath_var=LD_LIBRARY_PATH
8676 hardcode_into_libs=yes
8679 hpux9* | hpux10* | hpux11*)
8680 # Give a soname corresponding to the major version so that dld.sl refuses to
8681 # link against other versions.
8688 hardcode_into_libs=yes
8689 dynamic_linker="$host_os dld.so"
8690 shlibpath_var=LD_LIBRARY_PATH
8691 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
8692 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8693 soname_spec='${libname}${release}${shared_ext}$major'
8694 if test "X$HPUX_IA64_MODE" = X32; then
8695 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8697 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
8699 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
8703 hardcode_into_libs=yes
8704 dynamic_linker="$host_os dld.sl"
8705 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
8706 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
8707 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8708 soname_spec='${libname}${release}${shared_ext}$major'
8709 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8710 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
8714 dynamic_linker="$host_os dld.sl"
8715 shlibpath_var=SHLIB_PATH
8716 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
8717 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8718 soname_spec='${libname}${release}${shared_ext}$major'
8721 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8722 postinstall_cmds='chmod 555 $lib'
8729 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8730 soname_spec='${libname}${release}${shared_ext}$major'
8731 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
8732 shlibpath_var=LD_LIBRARY_PATH
8733 shlibpath_overrides_runpath=no
8734 hardcode_into_libs=yes
8737 irix5* | irix6* | nonstopux*)
8739 nonstopux*) version_type=nonstopux ;;
8741 if test "$lt_cv_prog_gnu_ld" = yes; then
8749 soname_spec='${libname}${release}${shared_ext}$major'
8750 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8752 irix5* | nonstopux*)
8756 case $LD in # libtool.m4 will add one of these switches to LD
8757 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
8758 libsuff= shlibsuff= libmagic=32-bit;;
8759 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
8760 libsuff=32 shlibsuff=N32 libmagic=N32;;
8761 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
8762 libsuff=64 shlibsuff=64 libmagic=64-bit;;
8763 *) libsuff= shlibsuff= libmagic=never-match;;
8767 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
8768 shlibpath_overrides_runpath=no
8769 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8770 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
8771 hardcode_into_libs=yes
8774 # No shared lib support for Linux oldld, aout, or coff.
8775 linux*oldld* | linux*aout* | linux*coff*)
8779 # This must be Linux ELF.
8780 linux* | k*bsd*-gnu)
8784 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8785 soname_spec='${libname}${release}${shared_ext}$major'
8786 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8787 shlibpath_var=LD_LIBRARY_PATH
8788 shlibpath_overrides_runpath=no
8789 # Some binutils ld are patched to set DT_RUNPATH
8790 save_LDFLAGS=$LDFLAGS
8792 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
8793 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
8794 if test x$gcc_no_link = xyes; then
8795 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8796 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8797 { (exit 1); exit 1; }; }
8799 cat >conftest.$ac_ext <<_ACEOF
8802 cat confdefs.h >>conftest.$ac_ext
8803 cat >>conftest.$ac_ext <<_ACEOF
8804 /* end confdefs.h. */
8814 rm -f conftest.$ac_objext conftest$ac_exeext
8815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8816 (eval $ac_link) 2>conftest.er1
8818 grep -v '^ *+' conftest.er1 >conftest.err
8820 cat conftest.err >&5
8821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8822 (exit $ac_status); } &&
8823 { ac_try='test -z "$ac_c_werror_flag"
8824 || test ! -s conftest.err'
8825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8829 (exit $ac_status); }; } &&
8830 { ac_try='test -s conftest$ac_exeext'
8831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8835 (exit $ac_status); }; }; then
8836 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
8837 shlibpath_overrides_runpath=yes
8841 echo "$as_me: failed program was:" >&5
8842 sed 's/^/| /' conftest.$ac_ext >&5
8845 rm -f conftest.err conftest.$ac_objext \
8846 conftest$ac_exeext conftest.$ac_ext
8847 LDFLAGS=$save_LDFLAGS
8850 # This implies no fast_install, which is unacceptable.
8851 # Some rework will be needed to allow for fast_install
8852 # before this can be enabled.
8853 hardcode_into_libs=yes
8855 # Append ld.so.conf contents to the search path
8856 if test -f /etc/ld.so.conf; then
8857 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
8858 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
8861 # We used to test for /lib/ld.so.1 and disable shared libraries on
8862 # powerpc, because MkLinux only supported shared libraries with the
8863 # GNU dynamic linker. Since this was broken with cross compilers,
8864 # most powerpc-linux boxes support dynamic linking these days and
8865 # people can always --disable-shared, the test was removed, and we
8866 # assume the GNU/Linux dynamic linker is in use.
8867 dynamic_linker='GNU/Linux ld.so'
8874 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8875 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8876 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8877 dynamic_linker='NetBSD (a.out) ld.so'
8879 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8880 soname_spec='${libname}${release}${shared_ext}$major'
8881 dynamic_linker='NetBSD ld.elf_so'
8883 shlibpath_var=LD_LIBRARY_PATH
8884 shlibpath_overrides_runpath=yes
8885 hardcode_into_libs=yes
8890 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8891 shlibpath_var=LD_LIBRARY_PATH
8892 shlibpath_overrides_runpath=yes
8899 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8900 soname_spec='${libname}${release}${shared_ext}$major'
8901 shlibpath_var=LD_LIBRARY_PATH
8902 shlibpath_overrides_runpath=no
8903 hardcode_into_libs=yes
8904 dynamic_linker='ldqnx.so'
8909 sys_lib_dlsearch_path_spec="/usr/lib"
8911 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
8913 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
8914 *) need_version=no ;;
8916 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8917 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8918 shlibpath_var=LD_LIBRARY_PATH
8919 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8921 openbsd2.[89] | openbsd2.[89].*)
8922 shlibpath_overrides_runpath=no
8925 shlibpath_overrides_runpath=yes
8929 shlibpath_overrides_runpath=yes
8934 libname_spec='$name'
8937 library_names_spec='$libname${shared_ext} $libname.a'
8938 dynamic_linker='OS/2 ld.exe'
8939 shlibpath_var=LIBPATH
8942 osf3* | osf4* | osf5*)
8946 soname_spec='${libname}${release}${shared_ext}$major'
8947 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8948 shlibpath_var=LD_LIBRARY_PATH
8949 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
8950 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
8961 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8962 soname_spec='${libname}${release}${shared_ext}$major'
8963 shlibpath_var=LD_LIBRARY_PATH
8964 shlibpath_overrides_runpath=yes
8965 hardcode_into_libs=yes
8966 # ldd complains unless libraries are executable
8967 postinstall_cmds='chmod +x $lib'
8972 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8973 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
8974 shlibpath_var=LD_LIBRARY_PATH
8975 shlibpath_overrides_runpath=yes
8976 if test "$with_gnu_ld" = yes; then
8984 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8985 soname_spec='${libname}${release}${shared_ext}$major'
8986 shlibpath_var=LD_LIBRARY_PATH
8987 case $host_vendor in
8989 shlibpath_overrides_runpath=no
8991 runpath_var=LD_RUN_PATH
8999 shlibpath_overrides_runpath=no
9000 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9006 if test -d /usr/nec ;then
9008 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9009 soname_spec='$libname${shared_ext}.$major'
9010 shlibpath_var=LD_LIBRARY_PATH
9014 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9015 version_type=freebsd-elf
9018 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9019 soname_spec='${libname}${release}${shared_ext}$major'
9020 shlibpath_var=LD_LIBRARY_PATH
9021 shlibpath_overrides_runpath=yes
9022 hardcode_into_libs=yes
9023 if test "$with_gnu_ld" = yes; then
9024 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9026 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9029 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9033 sys_lib_dlsearch_path_spec='/usr/lib'
9037 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9041 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9042 shlibpath_var=LD_LIBRARY_PATH
9043 shlibpath_overrides_runpath=no
9044 hardcode_into_libs=yes
9049 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9050 soname_spec='${libname}${release}${shared_ext}$major'
9051 shlibpath_var=LD_LIBRARY_PATH
9058 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9059 echo "${ECHO_T}$dynamic_linker" >&6
9060 test "$dynamic_linker" = no && can_build_shared=no
9062 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9063 if test "$GCC" = yes; then
9064 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9153 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9154 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
9156 if test -n "$hardcode_libdir_flag_spec" ||
9157 test -n "$runpath_var" ||
9158 test "X$hardcode_automatic" = "Xyes" ; then
9160 # We can hardcode non-existent directories.
9161 if test "$hardcode_direct" != no &&
9162 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9163 # have to relink, otherwise we might link with an installed library
9164 # when we should be linking with a yet-to-be-installed one
9165 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9166 test "$hardcode_minus_L" != no; then
9167 # Linking always hardcodes the temporary library directory.
9168 hardcode_action=relink
9170 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9171 hardcode_action=immediate
9174 # We cannot hardcode anything, or else we can only hardcode existing
9176 hardcode_action=unsupported
9178 echo "$as_me:$LINENO: result: $hardcode_action" >&5
9179 echo "${ECHO_T}$hardcode_action" >&6
9181 if test "$hardcode_action" = relink ||
9182 test "$inherit_rpath" = yes; then
9183 # Fast installation is not supported
9184 enable_fast_install=no
9185 elif test "$shlibpath_overrides_runpath" = yes ||
9186 test "$enable_shared" = no; then
9187 # Fast installation is not necessary
9188 enable_fast_install=needless
9196 if test "x$enable_dlopen" != xyes; then
9197 enable_dlopen=unknown
9198 enable_dlopen_self=unknown
9199 enable_dlopen_self_static=unknown
9206 lt_cv_dlopen="load_add_on"
9208 lt_cv_dlopen_self=yes
9212 lt_cv_dlopen="LoadLibrary"
9217 lt_cv_dlopen="dlopen"
9222 # if libdl is installed we need to link against it
9223 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9224 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9225 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9226 echo $ECHO_N "(cached) $ECHO_C" >&6
9228 ac_check_lib_save_LIBS=$LIBS
9230 if test x$gcc_no_link = xyes; then
9231 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9232 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9233 { (exit 1); exit 1; }; }
9235 cat >conftest.$ac_ext <<_ACEOF
9238 cat confdefs.h >>conftest.$ac_ext
9239 cat >>conftest.$ac_ext <<_ACEOF
9240 /* end confdefs.h. */
9242 /* Override any gcc2 internal prototype to avoid an error. */
9246 /* We use char because int might match the return type of a gcc2
9247 builtin and then its argument prototype would still apply. */
9257 rm -f conftest.$ac_objext conftest$ac_exeext
9258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9259 (eval $ac_link) 2>conftest.er1
9261 grep -v '^ *+' conftest.er1 >conftest.err
9263 cat conftest.err >&5
9264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9265 (exit $ac_status); } &&
9266 { ac_try='test -z "$ac_c_werror_flag"
9267 || test ! -s conftest.err'
9268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9272 (exit $ac_status); }; } &&
9273 { ac_try='test -s conftest$ac_exeext'
9274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9278 (exit $ac_status); }; }; then
9279 ac_cv_lib_dl_dlopen=yes
9281 echo "$as_me: failed program was:" >&5
9282 sed 's/^/| /' conftest.$ac_ext >&5
9284 ac_cv_lib_dl_dlopen=no
9286 rm -f conftest.err conftest.$ac_objext \
9287 conftest$ac_exeext conftest.$ac_ext
9288 LIBS=$ac_check_lib_save_LIBS
9290 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9291 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9292 if test $ac_cv_lib_dl_dlopen = yes; then
9293 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9298 lt_cv_dlopen_self=yes
9305 echo "$as_me:$LINENO: checking for shl_load" >&5
9306 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
9307 if test "${ac_cv_func_shl_load+set}" = set; then
9308 echo $ECHO_N "(cached) $ECHO_C" >&6
9310 if test x$gcc_no_link = xyes; then
9311 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9312 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9313 { (exit 1); exit 1; }; }
9315 cat >conftest.$ac_ext <<_ACEOF
9318 cat confdefs.h >>conftest.$ac_ext
9319 cat >>conftest.$ac_ext <<_ACEOF
9320 /* end confdefs.h. */
9321 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9322 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9323 #define shl_load innocuous_shl_load
9325 /* System header to define __stub macros and hopefully few prototypes,
9326 which can conflict with char shl_load (); below.
9327 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9328 <limits.h> exists even on freestanding compilers. */
9331 # include <limits.h>
9333 # include <assert.h>
9338 /* Override any gcc2 internal prototype to avoid an error. */
9343 /* We use char because int might match the return type of a gcc2
9344 builtin and then its argument prototype would still apply. */
9346 /* The GNU C library defines this for functions which it implements
9347 to always fail with ENOSYS. Some functions are actually named
9348 something starting with __ and the normal name is an alias. */
9349 #if defined (__stub_shl_load) || defined (__stub___shl_load)
9352 char (*f) () = shl_load;
9361 return f != shl_load;
9366 rm -f conftest.$ac_objext conftest$ac_exeext
9367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9368 (eval $ac_link) 2>conftest.er1
9370 grep -v '^ *+' conftest.er1 >conftest.err
9372 cat conftest.err >&5
9373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9374 (exit $ac_status); } &&
9375 { ac_try='test -z "$ac_c_werror_flag"
9376 || test ! -s conftest.err'
9377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9381 (exit $ac_status); }; } &&
9382 { ac_try='test -s conftest$ac_exeext'
9383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9387 (exit $ac_status); }; }; then
9388 ac_cv_func_shl_load=yes
9390 echo "$as_me: failed program was:" >&5
9391 sed 's/^/| /' conftest.$ac_ext >&5
9393 ac_cv_func_shl_load=no
9395 rm -f conftest.err conftest.$ac_objext \
9396 conftest$ac_exeext conftest.$ac_ext
9398 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9399 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
9400 if test $ac_cv_func_shl_load = yes; then
9401 lt_cv_dlopen="shl_load"
9403 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9404 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
9405 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9406 echo $ECHO_N "(cached) $ECHO_C" >&6
9408 ac_check_lib_save_LIBS=$LIBS
9410 if test x$gcc_no_link = xyes; then
9411 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9412 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9413 { (exit 1); exit 1; }; }
9415 cat >conftest.$ac_ext <<_ACEOF
9418 cat confdefs.h >>conftest.$ac_ext
9419 cat >>conftest.$ac_ext <<_ACEOF
9420 /* end confdefs.h. */
9422 /* Override any gcc2 internal prototype to avoid an error. */
9426 /* We use char because int might match the return type of a gcc2
9427 builtin and then its argument prototype would still apply. */
9437 rm -f conftest.$ac_objext conftest$ac_exeext
9438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9439 (eval $ac_link) 2>conftest.er1
9441 grep -v '^ *+' conftest.er1 >conftest.err
9443 cat conftest.err >&5
9444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9445 (exit $ac_status); } &&
9446 { ac_try='test -z "$ac_c_werror_flag"
9447 || test ! -s conftest.err'
9448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9452 (exit $ac_status); }; } &&
9453 { ac_try='test -s conftest$ac_exeext'
9454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9458 (exit $ac_status); }; }; then
9459 ac_cv_lib_dld_shl_load=yes
9461 echo "$as_me: failed program was:" >&5
9462 sed 's/^/| /' conftest.$ac_ext >&5
9464 ac_cv_lib_dld_shl_load=no
9466 rm -f conftest.err conftest.$ac_objext \
9467 conftest$ac_exeext conftest.$ac_ext
9468 LIBS=$ac_check_lib_save_LIBS
9470 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9471 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
9472 if test $ac_cv_lib_dld_shl_load = yes; then
9473 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
9475 echo "$as_me:$LINENO: checking for dlopen" >&5
9476 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
9477 if test "${ac_cv_func_dlopen+set}" = set; then
9478 echo $ECHO_N "(cached) $ECHO_C" >&6
9480 if test x$gcc_no_link = xyes; then
9481 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9482 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9483 { (exit 1); exit 1; }; }
9485 cat >conftest.$ac_ext <<_ACEOF
9488 cat confdefs.h >>conftest.$ac_ext
9489 cat >>conftest.$ac_ext <<_ACEOF
9490 /* end confdefs.h. */
9491 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9492 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9493 #define dlopen innocuous_dlopen
9495 /* System header to define __stub macros and hopefully few prototypes,
9496 which can conflict with char dlopen (); below.
9497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9498 <limits.h> exists even on freestanding compilers. */
9501 # include <limits.h>
9503 # include <assert.h>
9508 /* Override any gcc2 internal prototype to avoid an error. */
9513 /* We use char because int might match the return type of a gcc2
9514 builtin and then its argument prototype would still apply. */
9516 /* The GNU C library defines this for functions which it implements
9517 to always fail with ENOSYS. Some functions are actually named
9518 something starting with __ and the normal name is an alias. */
9519 #if defined (__stub_dlopen) || defined (__stub___dlopen)
9522 char (*f) () = dlopen;
9536 rm -f conftest.$ac_objext conftest$ac_exeext
9537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9538 (eval $ac_link) 2>conftest.er1
9540 grep -v '^ *+' conftest.er1 >conftest.err
9542 cat conftest.err >&5
9543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9544 (exit $ac_status); } &&
9545 { ac_try='test -z "$ac_c_werror_flag"
9546 || test ! -s conftest.err'
9547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9551 (exit $ac_status); }; } &&
9552 { ac_try='test -s conftest$ac_exeext'
9553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9557 (exit $ac_status); }; }; then
9558 ac_cv_func_dlopen=yes
9560 echo "$as_me: failed program was:" >&5
9561 sed 's/^/| /' conftest.$ac_ext >&5
9563 ac_cv_func_dlopen=no
9565 rm -f conftest.err conftest.$ac_objext \
9566 conftest$ac_exeext conftest.$ac_ext
9568 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9569 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
9570 if test $ac_cv_func_dlopen = yes; then
9571 lt_cv_dlopen="dlopen"
9573 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9574 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9575 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9576 echo $ECHO_N "(cached) $ECHO_C" >&6
9578 ac_check_lib_save_LIBS=$LIBS
9580 if test x$gcc_no_link = xyes; then
9581 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9582 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9583 { (exit 1); exit 1; }; }
9585 cat >conftest.$ac_ext <<_ACEOF
9588 cat confdefs.h >>conftest.$ac_ext
9589 cat >>conftest.$ac_ext <<_ACEOF
9590 /* end confdefs.h. */
9592 /* Override any gcc2 internal prototype to avoid an error. */
9596 /* We use char because int might match the return type of a gcc2
9597 builtin and then its argument prototype would still apply. */
9607 rm -f conftest.$ac_objext conftest$ac_exeext
9608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9609 (eval $ac_link) 2>conftest.er1
9611 grep -v '^ *+' conftest.er1 >conftest.err
9613 cat conftest.err >&5
9614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9615 (exit $ac_status); } &&
9616 { ac_try='test -z "$ac_c_werror_flag"
9617 || test ! -s conftest.err'
9618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9622 (exit $ac_status); }; } &&
9623 { ac_try='test -s conftest$ac_exeext'
9624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9628 (exit $ac_status); }; }; then
9629 ac_cv_lib_dl_dlopen=yes
9631 echo "$as_me: failed program was:" >&5
9632 sed 's/^/| /' conftest.$ac_ext >&5
9634 ac_cv_lib_dl_dlopen=no
9636 rm -f conftest.err conftest.$ac_objext \
9637 conftest$ac_exeext conftest.$ac_ext
9638 LIBS=$ac_check_lib_save_LIBS
9640 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9641 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9642 if test $ac_cv_lib_dl_dlopen = yes; then
9643 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9645 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9646 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
9647 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9648 echo $ECHO_N "(cached) $ECHO_C" >&6
9650 ac_check_lib_save_LIBS=$LIBS
9652 if test x$gcc_no_link = xyes; then
9653 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9654 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9655 { (exit 1); exit 1; }; }
9657 cat >conftest.$ac_ext <<_ACEOF
9660 cat confdefs.h >>conftest.$ac_ext
9661 cat >>conftest.$ac_ext <<_ACEOF
9662 /* end confdefs.h. */
9664 /* Override any gcc2 internal prototype to avoid an error. */
9668 /* We use char because int might match the return type of a gcc2
9669 builtin and then its argument prototype would still apply. */
9679 rm -f conftest.$ac_objext conftest$ac_exeext
9680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9681 (eval $ac_link) 2>conftest.er1
9683 grep -v '^ *+' conftest.er1 >conftest.err
9685 cat conftest.err >&5
9686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9687 (exit $ac_status); } &&
9688 { ac_try='test -z "$ac_c_werror_flag"
9689 || test ! -s conftest.err'
9690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9694 (exit $ac_status); }; } &&
9695 { ac_try='test -s conftest$ac_exeext'
9696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9700 (exit $ac_status); }; }; then
9701 ac_cv_lib_svld_dlopen=yes
9703 echo "$as_me: failed program was:" >&5
9704 sed 's/^/| /' conftest.$ac_ext >&5
9706 ac_cv_lib_svld_dlopen=no
9708 rm -f conftest.err conftest.$ac_objext \
9709 conftest$ac_exeext conftest.$ac_ext
9710 LIBS=$ac_check_lib_save_LIBS
9712 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9713 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
9714 if test $ac_cv_lib_svld_dlopen = yes; then
9715 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
9717 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9718 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
9719 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9720 echo $ECHO_N "(cached) $ECHO_C" >&6
9722 ac_check_lib_save_LIBS=$LIBS
9724 if test x$gcc_no_link = xyes; then
9725 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9726 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9727 { (exit 1); exit 1; }; }
9729 cat >conftest.$ac_ext <<_ACEOF
9732 cat confdefs.h >>conftest.$ac_ext
9733 cat >>conftest.$ac_ext <<_ACEOF
9734 /* end confdefs.h. */
9736 /* Override any gcc2 internal prototype to avoid an error. */
9740 /* We use char because int might match the return type of a gcc2
9741 builtin and then its argument prototype would still apply. */
9751 rm -f conftest.$ac_objext conftest$ac_exeext
9752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9753 (eval $ac_link) 2>conftest.er1
9755 grep -v '^ *+' conftest.er1 >conftest.err
9757 cat conftest.err >&5
9758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9759 (exit $ac_status); } &&
9760 { ac_try='test -z "$ac_c_werror_flag"
9761 || test ! -s conftest.err'
9762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9766 (exit $ac_status); }; } &&
9767 { ac_try='test -s conftest$ac_exeext'
9768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9772 (exit $ac_status); }; }; then
9773 ac_cv_lib_dld_dld_link=yes
9775 echo "$as_me: failed program was:" >&5
9776 sed 's/^/| /' conftest.$ac_ext >&5
9778 ac_cv_lib_dld_dld_link=no
9780 rm -f conftest.err conftest.$ac_objext \
9781 conftest$ac_exeext conftest.$ac_ext
9782 LIBS=$ac_check_lib_save_LIBS
9784 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9785 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
9786 if test $ac_cv_lib_dld_dld_link = yes; then
9787 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
9808 if test "x$lt_cv_dlopen" != xno; then
9814 case $lt_cv_dlopen in
9816 save_CPPFLAGS="$CPPFLAGS"
9817 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
9819 save_LDFLAGS="$LDFLAGS"
9820 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
9823 LIBS="$lt_cv_dlopen_libs $LIBS"
9825 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9826 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
9827 if test "${lt_cv_dlopen_self+set}" = set; then
9828 echo $ECHO_N "(cached) $ECHO_C" >&6
9830 if test "$cross_compiling" = yes; then :
9831 lt_cv_dlopen_self=cross
9833 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9834 lt_status=$lt_dlunknown
9835 cat > conftest.$ac_ext <<_LT_EOF
9836 #line 9836 "configure"
9837 #include "confdefs.h"
9846 # define LT_DLGLOBAL RTLD_GLOBAL
9849 # define LT_DLGLOBAL DL_GLOBAL
9851 # define LT_DLGLOBAL 0
9855 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9856 find out it does not work in some platform. */
9857 #ifndef LT_DLLAZY_OR_NOW
9859 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9862 # define LT_DLLAZY_OR_NOW DL_LAZY
9865 # define LT_DLLAZY_OR_NOW RTLD_NOW
9868 # define LT_DLLAZY_OR_NOW DL_NOW
9870 # define LT_DLLAZY_OR_NOW 0
9878 extern "C" void exit (int);
9881 void fnord() { int i=42;}
9884 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9885 int status = $lt_dlunknown;
9889 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9890 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9891 /* dlclose (self); */
9899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9900 (eval $ac_link) 2>&5
9902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9903 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9904 (./conftest; exit; ) >&5 2>/dev/null
9907 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
9908 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
9909 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
9912 # compilation failed
9913 lt_cv_dlopen_self=no
9920 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9921 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
9923 if test "x$lt_cv_dlopen_self" = xyes; then
9924 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
9925 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9926 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
9927 if test "${lt_cv_dlopen_self_static+set}" = set; then
9928 echo $ECHO_N "(cached) $ECHO_C" >&6
9930 if test "$cross_compiling" = yes; then :
9931 lt_cv_dlopen_self_static=cross
9933 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9934 lt_status=$lt_dlunknown
9935 cat > conftest.$ac_ext <<_LT_EOF
9936 #line 9936 "configure"
9937 #include "confdefs.h"
9946 # define LT_DLGLOBAL RTLD_GLOBAL
9949 # define LT_DLGLOBAL DL_GLOBAL
9951 # define LT_DLGLOBAL 0
9955 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9956 find out it does not work in some platform. */
9957 #ifndef LT_DLLAZY_OR_NOW
9959 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9962 # define LT_DLLAZY_OR_NOW DL_LAZY
9965 # define LT_DLLAZY_OR_NOW RTLD_NOW
9968 # define LT_DLLAZY_OR_NOW DL_NOW
9970 # define LT_DLLAZY_OR_NOW 0
9978 extern "C" void exit (int);
9981 void fnord() { int i=42;}
9984 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9985 int status = $lt_dlunknown;
9989 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9990 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9991 /* dlclose (self); */
9999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10000 (eval $ac_link) 2>&5
10002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10003 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10004 (./conftest; exit; ) >&5 2>/dev/null
10006 case x$lt_status in
10007 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10008 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10009 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10012 # compilation failed
10013 lt_cv_dlopen_self_static=no
10020 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10021 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
10024 CPPFLAGS="$save_CPPFLAGS"
10025 LDFLAGS="$save_LDFLAGS"
10030 case $lt_cv_dlopen_self in
10031 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10032 *) enable_dlopen_self=unknown ;;
10035 case $lt_cv_dlopen_self_static in
10036 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10037 *) enable_dlopen_self_static=unknown ;;
10059 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10060 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
10061 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10062 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10063 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10064 echo "$as_me:$LINENO: result: yes" >&5
10065 echo "${ECHO_T}yes" >&6
10067 # FIXME - insert some real tests, host_os isn't really good enough
10070 if test -n "$STRIP" ; then
10071 striplib="$STRIP -x"
10072 old_striplib="$STRIP -S"
10073 echo "$as_me:$LINENO: result: yes" >&5
10074 echo "${ECHO_T}yes" >&6
10076 echo "$as_me:$LINENO: result: no" >&5
10077 echo "${ECHO_T}no" >&6
10081 echo "$as_me:$LINENO: result: no" >&5
10082 echo "${ECHO_T}no" >&6
10098 # Report which library types will actually be built
10099 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10100 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10101 echo "$as_me:$LINENO: result: $can_build_shared" >&5
10102 echo "${ECHO_T}$can_build_shared" >&6
10104 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10105 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10106 test "$can_build_shared" = "no" && enable_shared=no
10108 # On AIX, shared libraries and static libraries use the same namespace, and
10109 # are all built from PIC.
10112 test "$enable_shared" = yes && enable_static=no
10113 if test -n "$RANLIB"; then
10114 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10115 postinstall_cmds='$RANLIB $lib'
10120 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10121 test "$enable_shared" = yes && enable_static=no
10125 echo "$as_me:$LINENO: result: $enable_shared" >&5
10126 echo "${ECHO_T}$enable_shared" >&6
10128 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10129 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10130 # Make sure either enable_shared or enable_static is yes.
10131 test "$enable_shared" = yes || enable_static=yes
10132 echo "$as_me:$LINENO: result: $enable_static" >&5
10133 echo "${ECHO_T}$enable_static" >&6
10140 ac_cpp='$CPP $CPPFLAGS'
10141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10159 ac_config_commands="$ac_config_commands libtool"
10164 # Only expand once:
10170 # Calculate toolexeclibdir
10171 # Also toolexecdir, though it's only used in toolexeclibdir
10172 case ${version_specific_libs} in
10174 # Need the gcc compiler version to know where to install libraries
10175 # and header files if --enable-version-specific-runtime-libs option
10177 toolexecdir='$(libdir)/gcc/$(target_alias)'
10178 toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
10181 if test -n "$with_cross_host" &&
10182 test x"$with_cross_host" != x"no"; then
10183 # Install a library built with a cross compiler in tooldir, not libdir.
10184 toolexecdir='$(exec_prefix)/$(target_alias)'
10185 toolexeclibdir='$(toolexecdir)/lib'
10187 toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
10188 toolexeclibdir='$(libdir)'
10190 multi_os_directory=`$CC -print-multi-os-directory`
10191 case $multi_os_directory in
10192 .) ;; # Avoid trailing /.
10193 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
10200 if test ${multilib} = yes; then
10201 multilib_arg="--enable-multilib"
10206 ac_config_files="$ac_config_files Makefile ssp/ssp.h"
10208 cat >confcache <<\_ACEOF
10209 # This file is a shell script that caches the results of configure
10210 # tests run on this system so they can be shared between configure
10211 # scripts and configure runs, see configure's option --config-cache.
10212 # It is not useful on other systems. If it contains results you don't
10213 # want to keep, you may remove or edit it.
10215 # config.status only pays attention to the cache file if you give it
10216 # the --recheck option to rerun configure.
10218 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10219 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10220 # following values.
10224 # The following way of writing the cache mishandles newlines in values,
10225 # but we know of no workaround that is simple, portable, and efficient.
10226 # So, don't put newlines in cache variables' values.
10227 # Ultrix sh set writes to stderr and can't be redirected directly,
10228 # and sets the high bit in the cache file unless we assign to the vars.
10231 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10233 # `set' does not quote correctly, so add quotes (double-quote
10234 # substitution turns \\\\ into \\, and sed turns \\ into \).
10237 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10240 # `set' quotes correctly as required by POSIX, so do not add quotes.
10242 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10249 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10251 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10253 if diff $cache_file confcache >/dev/null 2>&1; then :; else
10254 if test -w $cache_file; then
10255 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10256 cat confcache >$cache_file
10258 echo "not updating unwritable cache $cache_file"
10263 test "x$prefix" = xNONE && prefix=$ac_default_prefix
10264 # Let make expand exec_prefix.
10265 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
10267 # VPATH may cause trouble with some makes, so we remove $(srcdir),
10268 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
10269 # trailing colons and then remove the whole line if VPATH becomes empty
10270 # (actually we leave an empty line to preserve line numbers).
10271 if test "x$srcdir" = x.; then
10272 ac_vpsub='/^[ ]*VPATH[ ]*=/{
10273 s/:*\$(srcdir):*/:/;
10274 s/:*\${srcdir}:*/:/;
10276 s/^\([^=]*=[ ]*\):*/\1/;
10282 DEFS=-DHAVE_CONFIG_H
10286 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
10287 # 1. Remove the extension, and $U if already installed.
10288 ac_i=`echo "$ac_i" |
10289 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
10291 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
10292 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
10294 LIBOBJS=$ac_libobjs
10296 LTLIBOBJS=$ac_ltlibobjs
10299 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
10300 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
10301 Usually this means the macro was only invoked conditionally." >&5
10302 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
10303 Usually this means the macro was only invoked conditionally." >&2;}
10304 { (exit 1); exit 1; }; }
10306 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
10307 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
10308 Usually this means the macro was only invoked conditionally." >&5
10309 echo "$as_me: error: conditional \"AMDEP\" was never defined.
10310 Usually this means the macro was only invoked conditionally." >&2;}
10311 { (exit 1); exit 1; }; }
10313 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
10314 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
10315 Usually this means the macro was only invoked conditionally." >&5
10316 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
10317 Usually this means the macro was only invoked conditionally." >&2;}
10318 { (exit 1); exit 1; }; }
10320 if test -z "${LIBSSP_USE_SYMVER_TRUE}" && test -z "${LIBSSP_USE_SYMVER_FALSE}"; then
10321 { { echo "$as_me:$LINENO: error: conditional \"LIBSSP_USE_SYMVER\" was never defined.
10322 Usually this means the macro was only invoked conditionally." >&5
10323 echo "$as_me: error: conditional \"LIBSSP_USE_SYMVER\" was never defined.
10324 Usually this means the macro was only invoked conditionally." >&2;}
10325 { (exit 1); exit 1; }; }
10328 : ${CONFIG_STATUS=./config.status}
10329 ac_clean_files_save=$ac_clean_files
10330 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
10331 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
10332 echo "$as_me: creating $CONFIG_STATUS" >&6;}
10333 cat >$CONFIG_STATUS <<_ACEOF
10335 # Generated by $as_me.
10336 # Run this file to recreate the current configuration.
10337 # Compiler output produced by configure, useful for debugging
10338 # configure, is in config.log if it exists.
10341 ac_cs_recheck=false
10343 SHELL=\${CONFIG_SHELL-$SHELL}
10346 cat >>$CONFIG_STATUS <<\_ACEOF
10347 ## --------------------- ##
10348 ## M4sh Initialization. ##
10349 ## --------------------- ##
10351 # Be Bourne compatible
10352 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
10355 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
10356 # is contrary to our usage. Disable this feature.
10357 alias -g '${1+"$@"}'='"$@"'
10358 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
10361 DUALCASE=1; export DUALCASE # for MKS sh
10363 # Support unset when possible.
10364 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
10371 # Work around bugs in pre-3.0 UWIN ksh.
10372 $as_unset ENV MAIL MAILPATH
10379 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
10380 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
10381 LC_TELEPHONE LC_TIME
10383 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
10384 eval $as_var=C; export $as_var
10390 # Required to use basename.
10391 if expr a : '\(a\)' >/dev/null 2>&1; then
10397 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
10398 as_basename=basename
10404 # Name of the executable.
10405 as_me=`$as_basename "$0" ||
10406 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
10407 X"$0" : 'X\(//\)$' \| \
10408 X"$0" : 'X\(/\)$' \| \
10409 . : '\(.\)' 2>/dev/null ||
10411 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
10412 /^X\/\(\/\/\)$/{ s//\1/; q; }
10413 /^X\/\(\/\).*/{ s//\1/; q; }
10417 # PATH needs CR, and LINENO needs CR and PATH.
10418 # Avoid depending upon Character Ranges.
10419 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
10420 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
10421 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
10422 as_cr_digits='0123456789'
10423 as_cr_alnum=$as_cr_Letters$as_cr_digits
10425 # The user is always right.
10426 if test "${PATH_SEPARATOR+set}" != set; then
10427 echo "#! /bin/sh" >conf$$.sh
10428 echo "exit 0" >>conf$$.sh
10430 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
10439 as_lineno_1=$LINENO
10440 as_lineno_2=$LINENO
10441 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
10442 test "x$as_lineno_1" != "x$as_lineno_2" &&
10443 test "x$as_lineno_3" = "x$as_lineno_2" || {
10444 # Find who we are. Look in the path if we contain no path at all
10447 *[\\/]* ) as_myself=$0 ;;
10448 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10449 for as_dir in $PATH
10452 test -z "$as_dir" && as_dir=.
10453 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
10458 # We did not find ourselves, most probably we were run as `sh COMMAND'
10459 # in which case we are not to be found in the path.
10460 if test "x$as_myself" = x; then
10463 if test ! -f "$as_myself"; then
10464 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
10465 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
10466 { (exit 1); exit 1; }; }
10468 case $CONFIG_SHELL in
10470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10471 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
10474 test -z "$as_dir" && as_dir=.
10475 for as_base in sh bash ksh sh5; do
10478 if ("$as_dir/$as_base" -c '
10479 as_lineno_1=$LINENO
10480 as_lineno_2=$LINENO
10481 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
10482 test "x$as_lineno_1" != "x$as_lineno_2" &&
10483 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
10484 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
10485 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
10486 CONFIG_SHELL=$as_dir/$as_base
10487 export CONFIG_SHELL
10488 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
10496 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
10497 # uniformly replaced by the line number. The first 'sed' inserts a
10498 # line-number line before each line; the second 'sed' does the real
10499 # work. The second script uses 'N' to pair each line-number line
10500 # with the numbered line, and appends trailing '-' during
10501 # substitution so that $LINENO is not a special case at line end.
10502 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
10503 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
10504 sed '=' <$as_myself |
10509 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
10512 s,^['$as_cr_digits']*\n,,
10513 ' >$as_me.lineno &&
10514 chmod +x $as_me.lineno ||
10515 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
10516 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
10517 { (exit 1); exit 1; }; }
10519 # Don't try to exec as it changes $[0], causing all sort of problems
10520 # (the dirname of $[0] is not the place where we might find the
10521 # original and so on. Autoconf is especially sensible to this).
10523 # Exit status is that of the last command.
10528 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
10529 *c*,-n*) ECHO_N= ECHO_C='
10531 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
10532 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
10535 if expr a : '\(a\)' >/dev/null 2>&1; then
10541 rm -f conf$$ conf$$.exe conf$$.file
10543 if ln -s conf$$.file conf$$ 2>/dev/null; then
10544 # We could just check for DJGPP; but this test a) works b) is more generic
10545 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
10546 if test -f conf$$.exe; then
10547 # Don't use ln at all; we don't have any links
10552 elif ln conf$$.file conf$$ 2>/dev/null; then
10557 rm -f conf$$ conf$$.exe conf$$.file
10559 if mkdir -p . 2>/dev/null; then
10562 test -d ./-p && rmdir ./-p
10566 as_executable_p="test -f"
10568 # Sed expression to map a string onto a valid CPP name.
10569 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
10571 # Sed expression to map a string onto a valid variable name.
10572 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
10576 # We need space, tab and new line, in precisely that order.
10586 # Open the log real soon, to keep \$[0] and so on meaningful, and to
10587 # report actual input values of CONFIG_FILES etc. instead of their
10588 # values after options handling. Logging --version etc. is OK.
10592 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10593 ## Running $as_me. ##
10598 This file was extended by libssp $as_me 1.0, which was
10599 generated by GNU Autoconf 2.59. Invocation command line was
10601 CONFIG_FILES = $CONFIG_FILES
10602 CONFIG_HEADERS = $CONFIG_HEADERS
10603 CONFIG_LINKS = $CONFIG_LINKS
10604 CONFIG_COMMANDS = $CONFIG_COMMANDS
10608 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
10612 # Files that config.status was made for.
10613 if test -n "$ac_config_files"; then
10614 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
10617 if test -n "$ac_config_headers"; then
10618 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
10621 if test -n "$ac_config_links"; then
10622 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
10625 if test -n "$ac_config_commands"; then
10626 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
10629 cat >>$CONFIG_STATUS <<\_ACEOF
10632 \`$as_me' instantiates files from templates according to the
10633 current configuration.
10635 Usage: $0 [OPTIONS] [FILE]...
10637 -h, --help print this help, then exit
10638 -V, --version print version number, then exit
10639 -q, --quiet do not print progress messages
10640 -d, --debug don't remove temporary files
10641 --recheck update $as_me by reconfiguring in the same conditions
10642 --file=FILE[:TEMPLATE]
10643 instantiate the configuration file FILE
10644 --header=FILE[:TEMPLATE]
10645 instantiate the configuration header FILE
10647 Configuration files:
10650 Configuration headers:
10653 Configuration commands:
10656 Report bugs to <bug-autoconf@gnu.org>."
10659 cat >>$CONFIG_STATUS <<_ACEOF
10661 libssp config.status 1.0
10662 configured by $0, generated by GNU Autoconf 2.59,
10663 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
10665 Copyright (C) 2003 Free Software Foundation, Inc.
10666 This config.status script is free software; the Free Software Foundation
10667 gives unlimited permission to copy, distribute and modify it."
10672 cat >>$CONFIG_STATUS <<\_ACEOF
10673 # If no file are specified by the user, then we need to provide default
10674 # value. By we need to know if files were specified by the user.
10680 ac_option=`expr "x$1" : 'x\([^=]*\)='`
10681 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
10689 *) # This is not an option, so the user has probably given explicit
10692 ac_need_defaults=false;;
10696 # Handling of the options.
10698 cat >>$CONFIG_STATUS <<\_ACEOF
10699 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
10701 --version | --vers* | -V )
10702 echo "$ac_cs_version"; exit 0 ;;
10704 # Conflict between --help and --header
10705 { { echo "$as_me:$LINENO: error: ambiguous option: $1
10706 Try \`$0 --help' for more information." >&5
10707 echo "$as_me: error: ambiguous option: $1
10708 Try \`$0 --help' for more information." >&2;}
10709 { (exit 1); exit 1; }; };;
10710 --help | --hel | -h )
10711 echo "$ac_cs_usage"; exit 0 ;;
10712 --debug | --d* | -d )
10714 --file | --fil | --fi | --f )
10716 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
10717 ac_need_defaults=false;;
10718 --header | --heade | --head | --hea )
10720 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
10721 ac_need_defaults=false;;
10722 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
10723 | -silent | --silent | --silen | --sile | --sil | --si | --s)
10726 # This is an error.
10727 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
10728 Try \`$0 --help' for more information." >&5
10729 echo "$as_me: error: unrecognized option: $1
10730 Try \`$0 --help' for more information." >&2;}
10731 { (exit 1); exit 1; }; } ;;
10733 *) ac_config_targets="$ac_config_targets $1" ;;
10739 ac_configure_extra_args=
10741 if $ac_cs_silent; then
10743 ac_configure_extra_args="$ac_configure_extra_args --silent"
10747 cat >>$CONFIG_STATUS <<_ACEOF
10748 if \$ac_cs_recheck; then
10749 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
10750 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10755 cat >>$CONFIG_STATUS <<_ACEOF
10757 # INIT-COMMANDS section.
10764 with_multisubdir="$with_multisubdir"
10765 with_multisrctop="$with_multisrctop"
10766 with_target_subdir="$with_target_subdir"
10767 ac_configure_args="${multilib_arg} ${ac_configure_args}"
10768 multi_basedir="$multi_basedir"
10769 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
10771 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
10774 # The HP-UX ksh and POSIX shell print the target directory to stdout
10775 # if CDPATH is set.
10776 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10778 sed_quote_subst='$sed_quote_subst'
10779 double_quote_subst='$double_quote_subst'
10780 delay_variable_subst='$delay_variable_subst'
10781 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
10782 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
10783 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
10784 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
10785 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
10786 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
10787 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
10788 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
10789 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
10790 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
10791 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
10792 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
10793 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
10794 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
10795 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
10796 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
10797 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
10798 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
10799 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
10800 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
10801 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
10802 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
10803 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
10804 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
10805 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
10806 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
10807 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
10808 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
10809 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
10810 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
10811 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
10812 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
10813 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
10814 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
10815 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
10816 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
10817 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
10818 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
10819 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
10820 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
10821 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
10822 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
10823 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
10824 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"`'
10825 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
10826 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
10827 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
10828 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
10829 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
10830 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
10831 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
10832 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
10833 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
10834 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
10835 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
10836 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
10837 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
10838 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
10839 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
10840 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
10841 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
10842 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
10843 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
10844 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
10845 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
10846 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
10847 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
10848 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
10849 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
10850 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
10851 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
10852 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
10853 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
10854 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
10855 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
10856 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
10857 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
10858 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
10859 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
10860 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
10861 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
10862 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
10863 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
10864 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
10865 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
10866 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
10867 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
10868 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
10869 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
10870 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
10871 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
10872 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
10873 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
10874 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
10875 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
10876 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
10877 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
10878 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
10879 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
10880 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
10881 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
10882 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
10883 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
10884 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
10885 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
10886 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
10887 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
10888 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
10889 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
10890 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
10891 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
10894 LTCFLAGS='$LTCFLAGS'
10895 compiler='$compiler_DEFAULT'
10897 # Quote evaled strings.
10908 deplibs_check_method \
10917 lt_cv_sys_global_symbol_pipe \
10918 lt_cv_sys_global_symbol_to_cdecl \
10919 lt_cv_sys_global_symbol_to_c_name_address \
10922 lt_prog_compiler_no_builtin_flag \
10923 lt_prog_compiler_wl \
10924 lt_prog_compiler_pic \
10925 lt_prog_compiler_static \
10926 lt_cv_prog_compiler_c_o \
10929 export_dynamic_flag_spec \
10930 whole_archive_flag_spec \
10931 compiler_needs_object \
10933 allow_undefined_flag \
10934 no_undefined_flag \
10935 hardcode_libdir_flag_spec \
10936 hardcode_libdir_flag_spec_ld \
10937 hardcode_libdir_separator \
10942 variables_saved_for_relink \
10944 library_names_spec \
10949 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
10950 *[\\\\\\\`\\"\\\$]*)
10951 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
10954 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
10959 # Double-quote double-evaled strings.
10960 for var in reload_cmds \
10961 old_postinstall_cmds \
10962 old_postuninstall_cmds \
10964 extract_expsyms_cmds \
10965 old_archive_from_new_cmds \
10966 old_archive_from_expsyms_cmds \
10968 archive_expsym_cmds \
10970 module_expsym_cmds \
10971 export_symbols_cmds \
10974 postuninstall_cmds \
10976 sys_lib_search_path_spec \
10977 sys_lib_dlsearch_path_spec; do
10978 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
10979 *[\\\\\\\`\\"\\\$]*)
10980 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
10983 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
10988 # Fix-up fallback echo if it was mangled by the above quoting rules.
10990 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
10994 ac_aux_dir='$ac_aux_dir'
10995 xsi_shell='$xsi_shell'
10996 lt_shell_append='$lt_shell_append'
10998 # See if we are running on zsh, and set the options which allow our
10999 # commands through without removal of \ escapes INIT.
11000 if test -n "\${ZSH_VERSION+set}" ; then
11001 setopt NO_GLOB_SUBST
11007 TIMESTAMP='$TIMESTAMP'
11018 cat >>$CONFIG_STATUS <<\_ACEOF
11019 for ac_config_target in $ac_config_targets
11021 case "$ac_config_target" in
11022 # Handling of arguments.
11023 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
11024 "ssp/ssp.h" ) CONFIG_FILES="$CONFIG_FILES ssp/ssp.h" ;;
11025 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
11026 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
11027 "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
11028 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
11029 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
11030 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
11031 { (exit 1); exit 1; }; };;
11035 # If the user did not use the arguments to specify the items to instantiate,
11036 # then the envvar interface is used. Set only those that are not.
11037 # We use the long form for the default assignment because of an extremely
11038 # bizarre bug on SunOS 4.1.3.
11039 if $ac_need_defaults; then
11040 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
11041 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
11042 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
11045 # Have a temporary directory for convenience. Make it in the build tree
11046 # simply because there is no reason to put it here, and in addition,
11047 # creating and moving files from /tmp can sometimes cause problems.
11048 # Create a temporary directory, and hook for its removal unless debugging.
11051 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
11052 trap '{ (exit 1); exit 1; }' 1 2 13 15
11055 # Create a (secure) tmp directory for tmp files.
11058 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
11059 test -n "$tmp" && test -d "$tmp"
11062 tmp=./confstat$$-$RANDOM
11063 (umask 077 && mkdir $tmp)
11066 echo "$me: cannot create a temporary directory in ." >&2
11067 { (exit 1); exit 1; }
11072 cat >>$CONFIG_STATUS <<_ACEOF
11075 # CONFIG_FILES section.
11078 # No need to generate the scripts if there are no CONFIG_FILES.
11079 # This happens for instance when ./config.status config.h
11080 if test -n "\$CONFIG_FILES"; then
11081 # Protect against being on the right side of a sed subst in config.status.
11082 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
11083 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
11084 s,@SHELL@,$SHELL,;t t
11085 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
11086 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
11087 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
11088 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
11089 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
11090 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
11091 s,@exec_prefix@,$exec_prefix,;t t
11092 s,@prefix@,$prefix,;t t
11093 s,@program_transform_name@,$program_transform_name,;t t
11094 s,@bindir@,$bindir,;t t
11095 s,@sbindir@,$sbindir,;t t
11096 s,@libexecdir@,$libexecdir,;t t
11097 s,@datadir@,$datadir,;t t
11098 s,@sysconfdir@,$sysconfdir,;t t
11099 s,@sharedstatedir@,$sharedstatedir,;t t
11100 s,@localstatedir@,$localstatedir,;t t
11101 s,@libdir@,$libdir,;t t
11102 s,@includedir@,$includedir,;t t
11103 s,@oldincludedir@,$oldincludedir,;t t
11104 s,@infodir@,$infodir,;t t
11105 s,@mandir@,$mandir,;t t
11106 s,@build_alias@,$build_alias,;t t
11107 s,@host_alias@,$host_alias,;t t
11108 s,@target_alias@,$target_alias,;t t
11109 s,@DEFS@,$DEFS,;t t
11110 s,@ECHO_C@,$ECHO_C,;t t
11111 s,@ECHO_N@,$ECHO_N,;t t
11112 s,@ECHO_T@,$ECHO_T,;t t
11113 s,@LIBS@,$LIBS,;t t
11114 s,@build@,$build,;t t
11115 s,@build_cpu@,$build_cpu,;t t
11116 s,@build_vendor@,$build_vendor,;t t
11117 s,@build_os@,$build_os,;t t
11118 s,@host@,$host,;t t
11119 s,@host_cpu@,$host_cpu,;t t
11120 s,@host_vendor@,$host_vendor,;t t
11121 s,@host_os@,$host_os,;t t
11122 s,@target@,$target,;t t
11123 s,@target_cpu@,$target_cpu,;t t
11124 s,@target_vendor@,$target_vendor,;t t
11125 s,@target_os@,$target_os,;t t
11126 s,@target_noncanonical@,$target_noncanonical,;t t
11127 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
11128 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
11129 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
11130 s,@CYGPATH_W@,$CYGPATH_W,;t t
11131 s,@PACKAGE@,$PACKAGE,;t t
11132 s,@VERSION@,$VERSION,;t t
11133 s,@ACLOCAL@,$ACLOCAL,;t t
11134 s,@AUTOCONF@,$AUTOCONF,;t t
11135 s,@AUTOMAKE@,$AUTOMAKE,;t t
11136 s,@AUTOHEADER@,$AUTOHEADER,;t t
11137 s,@MAKEINFO@,$MAKEINFO,;t t
11138 s,@install_sh@,$install_sh,;t t
11139 s,@STRIP@,$STRIP,;t t
11140 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
11141 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
11142 s,@mkdir_p@,$mkdir_p,;t t
11144 s,@SET_MAKE@,$SET_MAKE,;t t
11145 s,@am__leading_dot@,$am__leading_dot,;t t
11146 s,@AMTAR@,$AMTAR,;t t
11147 s,@am__tar@,$am__tar,;t t
11148 s,@am__untar@,$am__untar,;t t
11149 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
11150 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
11151 s,@MAINT@,$MAINT,;t t
11152 s,@multi_basedir@,$multi_basedir,;t t
11154 s,@ac_ct_CC@,$ac_ct_CC,;t t
11155 s,@EXEEXT@,$EXEEXT,;t t
11156 s,@OBJEXT@,$OBJEXT,;t t
11157 s,@DEPDIR@,$DEPDIR,;t t
11158 s,@am__include@,$am__include,;t t
11159 s,@am__quote@,$am__quote,;t t
11160 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
11161 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
11162 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
11163 s,@CCDEPMODE@,$CCDEPMODE,;t t
11164 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
11165 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
11166 s,@CFLAGS@,$CFLAGS,;t t
11168 s,@CPPFLAGS@,$CPPFLAGS,;t t
11169 s,@LIBSSP_USE_SYMVER_TRUE@,$LIBSSP_USE_SYMVER_TRUE,;t t
11170 s,@LIBSSP_USE_SYMVER_FALSE@,$LIBSSP_USE_SYMVER_FALSE,;t t
11171 s,@EGREP@,$EGREP,;t t
11172 s,@ssp_have_usable_vsnprintf@,$ssp_have_usable_vsnprintf,;t t
11173 s,@LIBTOOL@,$LIBTOOL,;t t
11175 s,@FGREP@,$FGREP,;t t
11176 s,@GREP@,$GREP,;t t
11178 s,@DUMPBIN@,$DUMPBIN,;t t
11179 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
11181 s,@LN_S@,$LN_S,;t t
11183 s,@ac_ct_AR@,$ac_ct_AR,;t t
11184 s,@RANLIB@,$RANLIB,;t t
11185 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
11186 s,@lt_ECHO@,$lt_ECHO,;t t
11187 s,@enable_shared@,$enable_shared,;t t
11188 s,@enable_static@,$enable_static,;t t
11189 s,@toolexecdir@,$toolexecdir,;t t
11190 s,@toolexeclibdir@,$toolexeclibdir,;t t
11191 s,@LIBOBJS@,$LIBOBJS,;t t
11192 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
11197 cat >>$CONFIG_STATUS <<\_ACEOF
11198 # Split the substitutions into bite-sized pieces for seds with
11199 # small command number limits, like on Digital OSF/1 and HP-UX.
11200 ac_max_sed_lines=48
11201 ac_sed_frag=1 # Number of current file.
11202 ac_beg=1 # First line for current file.
11203 ac_end=$ac_max_sed_lines # Line after last line for current file.
11206 while $ac_more_lines; do
11207 if test $ac_beg -gt 1; then
11208 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
11210 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
11212 if test ! -s $tmp/subs.frag; then
11213 ac_more_lines=false
11215 # The purpose of the label and of the branching condition is to
11216 # speed up the sed processing (if there are no `@' at all, there
11217 # is no need to browse any of the substitutions).
11218 # These are the two extra sed commands mentioned above.
11220 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
11221 if test -z "$ac_sed_cmds"; then
11222 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
11224 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
11226 ac_sed_frag=`expr $ac_sed_frag + 1`
11228 ac_end=`expr $ac_end + $ac_max_sed_lines`
11231 if test -z "$ac_sed_cmds"; then
11234 fi # test -n "$CONFIG_FILES"
11237 cat >>$CONFIG_STATUS <<\_ACEOF
11238 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
11239 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
11241 - | *:- | *:-:* ) # input from stdin
11243 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11244 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11245 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11246 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11247 * ) ac_file_in=$ac_file.in ;;
11250 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
11251 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
11252 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11253 X"$ac_file" : 'X\(//\)[^/]' \| \
11254 X"$ac_file" : 'X\(//\)$' \| \
11255 X"$ac_file" : 'X\(/\)' \| \
11256 . : '\(.\)' 2>/dev/null ||
11258 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11259 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11260 /^X\(\/\/\)$/{ s//\1/; q; }
11261 /^X\(\/\).*/{ s//\1/; q; }
11263 { if $as_mkdir_p; then
11268 while test ! -d "$as_dir"; do
11269 as_dirs="$as_dir $as_dirs"
11270 as_dir=`(dirname "$as_dir") 2>/dev/null ||
11271 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11272 X"$as_dir" : 'X\(//\)[^/]' \| \
11273 X"$as_dir" : 'X\(//\)$' \| \
11274 X"$as_dir" : 'X\(/\)' \| \
11275 . : '\(.\)' 2>/dev/null ||
11277 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11278 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11279 /^X\(\/\/\)$/{ s//\1/; q; }
11280 /^X\(\/\).*/{ s//\1/; q; }
11283 test ! -n "$as_dirs" || mkdir $as_dirs
11284 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
11285 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
11286 { (exit 1); exit 1; }; }; }
11290 if test "$ac_dir" != .; then
11291 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
11292 # A "../" for each directory in $ac_dir_suffix.
11293 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
11295 ac_dir_suffix= ac_top_builddir=
11299 .) # No --srcdir option. We are building in place.
11301 if test -z "$ac_top_builddir"; then
11304 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
11306 [\\/]* | ?:[\\/]* ) # Absolute path.
11307 ac_srcdir=$srcdir$ac_dir_suffix;
11308 ac_top_srcdir=$srcdir ;;
11309 *) # Relative path.
11310 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
11311 ac_top_srcdir=$ac_top_builddir$srcdir ;;
11314 # Do not use `cd foo && pwd` to compute absolute paths, because
11315 # the directories may not exist.
11317 .) ac_abs_builddir="$ac_dir";;
11320 .) ac_abs_builddir=`pwd`;;
11321 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
11322 *) ac_abs_builddir=`pwd`/"$ac_dir";;
11325 case $ac_abs_builddir in
11326 .) ac_abs_top_builddir=${ac_top_builddir}.;;
11328 case ${ac_top_builddir}. in
11329 .) ac_abs_top_builddir=$ac_abs_builddir;;
11330 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
11331 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
11334 case $ac_abs_builddir in
11335 .) ac_abs_srcdir=$ac_srcdir;;
11338 .) ac_abs_srcdir=$ac_abs_builddir;;
11339 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
11340 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
11343 case $ac_abs_builddir in
11344 .) ac_abs_top_srcdir=$ac_top_srcdir;;
11346 case $ac_top_srcdir in
11347 .) ac_abs_top_srcdir=$ac_abs_builddir;;
11348 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
11349 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
11355 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
11356 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
11359 if test x"$ac_file" != x-; then
11360 { echo "$as_me:$LINENO: creating $ac_file" >&5
11361 echo "$as_me: creating $ac_file" >&6;}
11364 # Let's still pretend it is `configure' which instantiates (i.e., don't
11365 # use $as_me), people would be surprised to read:
11366 # /* config.h. Generated by config.status. */
11367 if test x"$ac_file" = x-; then
11370 configure_input="$ac_file. "
11372 configure_input=$configure_input"Generated from `echo $ac_file_in |
11373 sed 's,.*/,,'` by configure."
11375 # First look for the input files in the build tree, otherwise in the
11377 ac_file_inputs=`IFS=:
11378 for f in $ac_file_in; do
11380 -) echo $tmp/stdin ;;
11382 # Absolute (can't be DOS-style, as IFS=:)
11383 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11384 echo "$as_me: error: cannot find input file: $f" >&2;}
11385 { (exit 1); exit 1; }; }
11388 if test -f "$f"; then
11391 elif test -f "$srcdir/$f"; then
11396 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11397 echo "$as_me: error: cannot find input file: $f" >&2;}
11398 { (exit 1); exit 1; }; }
11401 done` || { (exit 1); exit 1; }
11403 cat >>$CONFIG_STATUS <<_ACEOF
11407 cat >>$CONFIG_STATUS <<\_ACEOF
11409 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
11410 s,@configure_input@,$configure_input,;t t
11411 s,@srcdir@,$ac_srcdir,;t t
11412 s,@abs_srcdir@,$ac_abs_srcdir,;t t
11413 s,@top_srcdir@,$ac_top_srcdir,;t t
11414 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
11415 s,@builddir@,$ac_builddir,;t t
11416 s,@abs_builddir@,$ac_abs_builddir,;t t
11417 s,@top_builddir@,$ac_top_builddir,;t t
11418 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
11419 s,@INSTALL@,$ac_INSTALL,;t t
11420 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
11422 if test x"$ac_file" != x-; then
11423 mv $tmp/out $ac_file
11431 cat >>$CONFIG_STATUS <<\_ACEOF
11434 # CONFIG_HEADER section.
11437 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
11438 # NAME is the cpp macro being defined and VALUE is the value it is being given.
11440 # ac_d sets the value in "#define NAME VALUE" lines.
11441 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
11442 ac_dB='[ ].*$,\1#\2'
11445 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
11446 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
11447 ac_uB='$,\1#\2define\3'
11451 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
11452 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
11454 - | *:- | *:-:* ) # input from stdin
11456 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11457 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11458 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11459 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11460 * ) ac_file_in=$ac_file.in ;;
11463 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
11464 echo "$as_me: creating $ac_file" >&6;}
11466 # First look for the input files in the build tree, otherwise in the
11468 ac_file_inputs=`IFS=:
11469 for f in $ac_file_in; do
11471 -) echo $tmp/stdin ;;
11473 # Absolute (can't be DOS-style, as IFS=:)
11474 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11475 echo "$as_me: error: cannot find input file: $f" >&2;}
11476 { (exit 1); exit 1; }; }
11477 # Do quote $f, to prevent DOS paths from being IFS'd.
11480 if test -f "$f"; then
11483 elif test -f "$srcdir/$f"; then
11488 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11489 echo "$as_me: error: cannot find input file: $f" >&2;}
11490 { (exit 1); exit 1; }; }
11493 done` || { (exit 1); exit 1; }
11494 # Remove the trailing spaces.
11495 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
11499 # Transform confdefs.h into two sed scripts, `conftest.defines' and
11500 # `conftest.undefs', that substitutes the proper values into
11501 # config.h.in to produce config.h. The first handles `#define'
11502 # templates, and the second `#undef' templates.
11503 # And first: Protect against being on the right side of a sed subst in
11504 # config.status. Protect against being in an unquoted here document
11505 # in config.status.
11506 rm -f conftest.defines conftest.undefs
11507 # Using a here document instead of a string reduces the quoting nightmare.
11508 # Putting comments in sed scripts is not portable.
11510 # `end' is used to avoid that the second main sed command (meant for
11511 # 0-ary CPP macros) applies to n-ary macro definitions.
11512 # See the Autoconf documentation for `clear'.
11513 cat >confdef2sed.sed <<\_ACEOF
11518 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
11520 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
11523 # If some macros were called several times there might be several times
11524 # the same #defines, which is useless. Nevertheless, we may not want to
11525 # sort them, since we want the *last* AC-DEFINE to be honored.
11526 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
11527 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
11528 rm -f confdef2sed.sed
11530 # This sed command replaces #undef with comments. This is necessary, for
11531 # example, in the case of _POSIX_SOURCE, which is predefined and required
11532 # on some systems where configure will not decide to define it.
11533 cat >>conftest.undefs <<\_ACEOF
11534 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
11537 # Break up conftest.defines because some shells have a limit on the size
11538 # of here documents, and old seds have small limits too (100 cmds).
11539 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
11540 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
11541 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
11542 echo ' :' >>$CONFIG_STATUS
11543 rm -f conftest.tail
11544 while grep . conftest.defines >/dev/null
11546 # Write a limited-size here document to $tmp/defines.sed.
11547 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
11548 # Speed up: don't consider the non `#define' lines.
11549 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
11550 # Work around the forget-to-reset-the-flag bug.
11551 echo 't clr' >>$CONFIG_STATUS
11552 echo ': clr' >>$CONFIG_STATUS
11553 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
11555 sed -f $tmp/defines.sed $tmp/in >$tmp/out
11557 mv $tmp/out $tmp/in
11559 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
11560 rm -f conftest.defines
11561 mv conftest.tail conftest.defines
11563 rm -f conftest.defines
11564 echo ' fi # grep' >>$CONFIG_STATUS
11565 echo >>$CONFIG_STATUS
11567 # Break up conftest.undefs because some shells have a limit on the size
11568 # of here documents, and old seds have small limits too (100 cmds).
11569 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
11570 rm -f conftest.tail
11571 while grep . conftest.undefs >/dev/null
11573 # Write a limited-size here document to $tmp/undefs.sed.
11574 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
11575 # Speed up: don't consider the non `#undef'
11576 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
11577 # Work around the forget-to-reset-the-flag bug.
11578 echo 't clr' >>$CONFIG_STATUS
11579 echo ': clr' >>$CONFIG_STATUS
11580 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
11582 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
11584 mv $tmp/out $tmp/in
11586 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
11587 rm -f conftest.undefs
11588 mv conftest.tail conftest.undefs
11590 rm -f conftest.undefs
11592 cat >>$CONFIG_STATUS <<\_ACEOF
11593 # Let's still pretend it is `configure' which instantiates (i.e., don't
11594 # use $as_me), people would be surprised to read:
11595 # /* config.h. Generated by config.status. */
11596 if test x"$ac_file" = x-; then
11597 echo "/* Generated by configure. */" >$tmp/config.h
11599 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
11601 cat $tmp/in >>$tmp/config.h
11603 if test x"$ac_file" != x-; then
11604 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
11605 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
11606 echo "$as_me: $ac_file is unchanged" >&6;}
11608 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
11609 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11610 X"$ac_file" : 'X\(//\)[^/]' \| \
11611 X"$ac_file" : 'X\(//\)$' \| \
11612 X"$ac_file" : 'X\(/\)' \| \
11613 . : '\(.\)' 2>/dev/null ||
11615 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11616 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11617 /^X\(\/\/\)$/{ s//\1/; q; }
11618 /^X\(\/\).*/{ s//\1/; q; }
11620 { if $as_mkdir_p; then
11625 while test ! -d "$as_dir"; do
11626 as_dirs="$as_dir $as_dirs"
11627 as_dir=`(dirname "$as_dir") 2>/dev/null ||
11628 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11629 X"$as_dir" : 'X\(//\)[^/]' \| \
11630 X"$as_dir" : 'X\(//\)$' \| \
11631 X"$as_dir" : 'X\(/\)' \| \
11632 . : '\(.\)' 2>/dev/null ||
11634 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11635 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11636 /^X\(\/\/\)$/{ s//\1/; q; }
11637 /^X\(\/\).*/{ s//\1/; q; }
11640 test ! -n "$as_dirs" || mkdir $as_dirs
11641 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
11642 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
11643 { (exit 1); exit 1; }; }; }
11646 mv $tmp/config.h $ac_file
11650 rm -f $tmp/config.h
11652 # Compute $ac_file's index in $config_headers.
11654 for _am_header in $config_headers :; do
11655 case $_am_header in
11656 $ac_file | $ac_file:* )
11659 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
11662 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
11663 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11664 X$ac_file : 'X\(//\)[^/]' \| \
11665 X$ac_file : 'X\(//\)$' \| \
11666 X$ac_file : 'X\(/\)' \| \
11667 . : '\(.\)' 2>/dev/null ||
11669 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11670 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11671 /^X\(\/\/\)$/{ s//\1/; q; }
11672 /^X\(\/\).*/{ s//\1/; q; }
11673 s/.*/./; q'`/stamp-h$_am_stamp_count
11676 cat >>$CONFIG_STATUS <<\_ACEOF
11679 # CONFIG_COMMANDS section.
11681 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
11682 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
11683 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
11684 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
11685 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11686 X"$ac_dest" : 'X\(//\)[^/]' \| \
11687 X"$ac_dest" : 'X\(//\)$' \| \
11688 X"$ac_dest" : 'X\(/\)' \| \
11689 . : '\(.\)' 2>/dev/null ||
11691 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11692 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11693 /^X\(\/\/\)$/{ s//\1/; q; }
11694 /^X\(\/\).*/{ s//\1/; q; }
11696 { if $as_mkdir_p; then
11701 while test ! -d "$as_dir"; do
11702 as_dirs="$as_dir $as_dirs"
11703 as_dir=`(dirname "$as_dir") 2>/dev/null ||
11704 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11705 X"$as_dir" : 'X\(//\)[^/]' \| \
11706 X"$as_dir" : 'X\(//\)$' \| \
11707 X"$as_dir" : 'X\(/\)' \| \
11708 . : '\(.\)' 2>/dev/null ||
11710 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11711 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11712 /^X\(\/\/\)$/{ s//\1/; q; }
11713 /^X\(\/\).*/{ s//\1/; q; }
11716 test ! -n "$as_dirs" || mkdir $as_dirs
11717 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
11718 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
11719 { (exit 1); exit 1; }; }; }
11723 if test "$ac_dir" != .; then
11724 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
11725 # A "../" for each directory in $ac_dir_suffix.
11726 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
11728 ac_dir_suffix= ac_top_builddir=
11732 .) # No --srcdir option. We are building in place.
11734 if test -z "$ac_top_builddir"; then
11737 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
11739 [\\/]* | ?:[\\/]* ) # Absolute path.
11740 ac_srcdir=$srcdir$ac_dir_suffix;
11741 ac_top_srcdir=$srcdir ;;
11742 *) # Relative path.
11743 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
11744 ac_top_srcdir=$ac_top_builddir$srcdir ;;
11747 # Do not use `cd foo && pwd` to compute absolute paths, because
11748 # the directories may not exist.
11750 .) ac_abs_builddir="$ac_dir";;
11753 .) ac_abs_builddir=`pwd`;;
11754 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
11755 *) ac_abs_builddir=`pwd`/"$ac_dir";;
11758 case $ac_abs_builddir in
11759 .) ac_abs_top_builddir=${ac_top_builddir}.;;
11761 case ${ac_top_builddir}. in
11762 .) ac_abs_top_builddir=$ac_abs_builddir;;
11763 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
11764 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
11767 case $ac_abs_builddir in
11768 .) ac_abs_srcdir=$ac_srcdir;;
11771 .) ac_abs_srcdir=$ac_abs_builddir;;
11772 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
11773 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
11776 case $ac_abs_builddir in
11777 .) ac_abs_top_srcdir=$ac_top_srcdir;;
11779 case $ac_top_srcdir in
11780 .) ac_abs_top_srcdir=$ac_abs_builddir;;
11781 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
11782 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
11787 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
11788 echo "$as_me: executing $ac_dest commands" >&6;}
11791 # Only add multilib support code if we just rebuilt the top-level
11793 case " $CONFIG_FILES " in
11795 ac_file=Makefile . ${multi_basedir}/config-ml.in
11798 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
11799 # Strip MF so we end up with the name of the file.
11800 mf=`echo "$mf" | sed -e 's/:.*$//'`
11801 # Check whether this is an Automake generated Makefile or not.
11802 # We used to match only the files named `Makefile.in', but
11803 # some people rename them; so instead we look at the file content.
11804 # Grep'ing the first line is not enough: some people post-process
11805 # each Makefile.in and add a new line on top of each file to say so.
11806 # So let's grep whole file.
11807 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
11808 dirpart=`(dirname "$mf") 2>/dev/null ||
11809 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11810 X"$mf" : 'X\(//\)[^/]' \| \
11811 X"$mf" : 'X\(//\)$' \| \
11812 X"$mf" : 'X\(/\)' \| \
11813 . : '\(.\)' 2>/dev/null ||
11815 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11816 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11817 /^X\(\/\/\)$/{ s//\1/; q; }
11818 /^X\(\/\).*/{ s//\1/; q; }
11823 # Extract the definition of DEPDIR, am__include, and am__quote
11824 # from the Makefile without running `make'.
11825 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
11826 test -z "$DEPDIR" && continue
11827 am__include=`sed -n 's/^am__include = //p' < "$mf"`
11828 test -z "am__include" && continue
11829 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
11830 # When using ansi2knr, U may be empty or an underscore; expand it
11831 U=`sed -n 's/^U = //p' < "$mf"`
11832 # Find all dependency output files, they are included files with
11833 # $(DEPDIR) in their names. We invoke sed twice because it is the
11834 # simplest approach to changing $(DEPDIR) to its actual value in the
11836 for file in `sed -n "
11837 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
11838 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
11839 # Make sure the directory exists.
11840 test -f "$dirpart/$file" && continue
11841 fdir=`(dirname "$file") 2>/dev/null ||
11842 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11843 X"$file" : 'X\(//\)[^/]' \| \
11844 X"$file" : 'X\(//\)$' \| \
11845 X"$file" : 'X\(/\)' \| \
11846 . : '\(.\)' 2>/dev/null ||
11848 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11849 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11850 /^X\(\/\/\)$/{ s//\1/; q; }
11851 /^X\(\/\).*/{ s//\1/; q; }
11853 { if $as_mkdir_p; then
11854 mkdir -p $dirpart/$fdir
11856 as_dir=$dirpart/$fdir
11858 while test ! -d "$as_dir"; do
11859 as_dirs="$as_dir $as_dirs"
11860 as_dir=`(dirname "$as_dir") 2>/dev/null ||
11861 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11862 X"$as_dir" : 'X\(//\)[^/]' \| \
11863 X"$as_dir" : 'X\(//\)$' \| \
11864 X"$as_dir" : 'X\(/\)' \| \
11865 . : '\(.\)' 2>/dev/null ||
11867 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11868 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11869 /^X\(\/\/\)$/{ s//\1/; q; }
11870 /^X\(\/\).*/{ s//\1/; q; }
11873 test ! -n "$as_dirs" || mkdir $as_dirs
11874 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
11875 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
11876 { (exit 1); exit 1; }; }; }
11878 # echo "creating $dirpart/$file"
11879 echo '# dummy' > "$dirpart/$file"
11885 # See if we are running on zsh, and set the options which allow our
11886 # commands through without removal of \ escapes.
11887 if test -n "${ZSH_VERSION+set}" ; then
11888 setopt NO_GLOB_SUBST
11891 cfgfile="${ofile}T"
11892 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
11895 cat <<_LT_EOF >> "$cfgfile"
11898 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
11899 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
11900 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
11901 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
11903 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
11904 # 2006, 2007 Free Software Foundation, Inc.
11906 # This file is part of GNU Libtool:
11907 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
11909 # This program is free software; you can redistribute it and/or modify
11910 # it under the terms of the GNU General Public License as published by
11911 # the Free Software Foundation; either version 2 of the License, or
11912 # (at your option) any later version.
11914 # This program is distributed in the hope that it will be useful, but
11915 # WITHOUT ANY WARRANTY; without even the implied warranty of
11916 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11917 # General Public License for more details.
11919 # You should have received a copy of the GNU General Public License
11920 # along with this program; if not, a copy can be downloaded from
11921 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
11922 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
11923 # MA 02110-1301, USA.
11925 # As a special exception to the GNU General Public License, if you
11926 # distribute this file as part of a program that contains a
11927 # configuration script generated by Autoconf, you may include it under
11928 # the same distribution terms that you use for the rest of that program.
11931 # The names of the tagged configurations supported by this script.
11934 # ### BEGIN LIBTOOL CONFIG
11936 # Which release of libtool.m4 was used?
11937 macro_version=$macro_version
11938 macro_revision=$macro_revision
11940 # Whether or not to build shared libraries.
11941 build_libtool_libs=$enable_shared
11943 # Whether or not to build static libraries.
11944 build_old_libs=$enable_static
11946 # What type of objects to build.
11949 # Whether or not to optimize for fast installation.
11950 fast_install=$enable_fast_install
11953 host_alias=$host_alias
11957 # The build system.
11958 build_alias=$build_alias
11962 # A sed program that does not truncate output.
11965 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
11966 Xsed="\$SED -e 1s/^X//"
11968 # A grep program that handles long lines.
11974 # A literal string matcher.
11977 # A BSD- or MS-compatible name lister.
11980 # Whether we need soft or hard links.
11983 # What is the maximum length of a command?
11984 max_cmd_len=$max_cmd_len
11986 # Object file suffix (normally "o").
11989 # Executable file suffix (normally "").
11992 # whether the shell understands "unset".
11995 # turn spaces into newlines.
11998 # turn newlines into spaces.
12001 # How to create reloadable object files.
12002 reload_flag=$lt_reload_flag
12003 reload_cmds=$lt_reload_cmds
12005 # Method to check whether dependent libraries are shared objects.
12006 deplibs_check_method=$lt_deplibs_check_method
12008 # Command to use when deplibs_check_method == "file_magic".
12009 file_magic_cmd=$lt_file_magic_cmd
12013 AR_FLAGS=$lt_AR_FLAGS
12015 # A symbol stripping program.
12018 # Commands used to install an old-style archive.
12020 old_postinstall_cmds=$lt_old_postinstall_cmds
12021 old_postuninstall_cmds=$lt_old_postuninstall_cmds
12026 # LTCC compiler flags.
12027 LTCFLAGS=$lt_CFLAGS
12029 # Take the output of nm and produce a listing of raw symbols and C names.
12030 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12032 # Transform the output of nm in a proper C declaration.
12033 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12035 # Transform the output of nm in a C name address pair.
12036 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12038 # The name of the directory that contains temporary libtool files.
12041 # Shell to use when invoking shell scripts.
12044 # An echo program that does not interpret backslashes.
12047 # Used to examine libraries when file_magic_cmd begins with "file".
12048 MAGIC_CMD=$MAGIC_CMD
12050 # Must we lock files when doing compilation?
12051 need_locks=$lt_need_locks
12053 # Old archive suffix (normally "a").
12056 # Shared library suffix (normally ".so").
12057 shrext_cmds=$lt_shrext_cmds
12059 # The commands to extract the exported symbol list from a shared archive.
12060 extract_expsyms_cmds=$lt_extract_expsyms_cmds
12062 # Variables whose values should be saved in libtool wrapper scripts and
12063 # restored at link time.
12064 variables_saved_for_relink=$lt_variables_saved_for_relink
12066 # Do we need the "lib" prefix for modules?
12067 need_lib_prefix=$need_lib_prefix
12069 # Do we need a version for libraries?
12070 need_version=$need_version
12072 # Library versioning type.
12073 version_type=$version_type
12075 # Shared library runtime path variable.
12076 runpath_var=$runpath_var
12078 # Shared library path variable.
12079 shlibpath_var=$shlibpath_var
12081 # Is shlibpath searched before the hard-coded library search path?
12082 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12084 # Format of library name prefix.
12085 libname_spec=$lt_libname_spec
12087 # List of archive names. First name is the real one, the rest are links.
12088 # The last name is the one that the linker finds with -lNAME
12089 library_names_spec=$lt_library_names_spec
12091 # The coded name of the library, if different from the real name.
12092 soname_spec=$lt_soname_spec
12094 # Command to use after installation of a shared archive.
12095 postinstall_cmds=$lt_postinstall_cmds
12097 # Command to use after uninstallation of a shared archive.
12098 postuninstall_cmds=$lt_postuninstall_cmds
12100 # Commands used to finish a libtool library installation in a directory.
12101 finish_cmds=$lt_finish_cmds
12103 # As "finish_cmds", except a single script fragment to be evaled but
12105 finish_eval=$lt_finish_eval
12107 # Whether we should hardcode library paths into libraries.
12108 hardcode_into_libs=$hardcode_into_libs
12110 # Compile-time system search path for libraries.
12111 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12113 # Run-time system search path for libraries.
12114 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12116 # Whether dlopen is supported.
12117 dlopen_support=$enable_dlopen
12119 # Whether dlopen of programs is supported.
12120 dlopen_self=$enable_dlopen_self
12122 # Whether dlopen of statically linked programs is supported.
12123 dlopen_self_static=$enable_dlopen_self_static
12125 # Commands to strip libraries.
12126 old_striplib=$lt_old_striplib
12127 striplib=$lt_striplib
12130 # The linker used to build libraries.
12133 # Commands used to build an old-style archive.
12134 old_archive_cmds=$lt_old_archive_cmds
12136 # A language specific compiler.
12139 # Is the compiler the GNU compiler?
12142 # Compiler flag to turn off builtin functions.
12143 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
12145 # How to pass a linker flag through the compiler.
12146 wl=$lt_lt_prog_compiler_wl
12148 # Additional compiler flags for building library objects.
12149 pic_flag=$lt_lt_prog_compiler_pic
12151 # Compiler flag to prevent dynamic linking.
12152 link_static_flag=$lt_lt_prog_compiler_static
12154 # Does compiler simultaneously support -c and -o options?
12155 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
12157 # Whether or not to add -lc for building shared libraries.
12158 build_libtool_need_lc=$archive_cmds_need_lc
12160 # Whether or not to disallow shared libs when runtime libs are static.
12161 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
12163 # Compiler flag to allow reflexive dlopens.
12164 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
12166 # Compiler flag to generate shared objects directly from archives.
12167 whole_archive_flag_spec=$lt_whole_archive_flag_spec
12169 # Whether the compiler copes with passing no objects directly.
12170 compiler_needs_object=$lt_compiler_needs_object
12172 # Create an old-style archive from a shared archive.
12173 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
12175 # Create a temporary old-style archive to link instead of a shared archive.
12176 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
12178 # Commands used to build a shared archive.
12179 archive_cmds=$lt_archive_cmds
12180 archive_expsym_cmds=$lt_archive_expsym_cmds
12182 # Commands used to build a loadable module if different from building
12183 # a shared archive.
12184 module_cmds=$lt_module_cmds
12185 module_expsym_cmds=$lt_module_expsym_cmds
12187 # Whether we are building with GNU ld or not.
12188 with_gnu_ld=$lt_with_gnu_ld
12190 # Flag that allows shared libraries with undefined symbols to be built.
12191 allow_undefined_flag=$lt_allow_undefined_flag
12193 # Flag that enforces no undefined symbols.
12194 no_undefined_flag=$lt_no_undefined_flag
12196 # Flag to hardcode \$libdir into a binary during linking.
12197 # This must work even if \$libdir does not exist
12198 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
12200 # If ld is used when linking, flag to hardcode \$libdir into a binary
12201 # during linking. This must work even if \$libdir does not exist.
12202 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
12204 # Whether we need a single "-rpath" flag with a separated argument.
12205 hardcode_libdir_separator=$lt_hardcode_libdir_separator
12207 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
12208 # DIR into the resulting binary.
12209 hardcode_direct=$hardcode_direct
12211 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
12212 # DIR into the resulting binary and the resulting library dependency is
12213 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
12214 # library is relocated.
12215 hardcode_direct_absolute=$hardcode_direct_absolute
12217 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
12218 # into the resulting binary.
12219 hardcode_minus_L=$hardcode_minus_L
12221 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
12222 # into the resulting binary.
12223 hardcode_shlibpath_var=$hardcode_shlibpath_var
12225 # Set to "yes" if building a shared library automatically hardcodes DIR
12226 # into the library and all subsequent libraries and executables linked
12228 hardcode_automatic=$hardcode_automatic
12230 # Set to yes if linker adds runtime paths of dependent libraries
12231 # to runtime path list.
12232 inherit_rpath=$inherit_rpath
12234 # Whether libtool must link a program against all its dependency libraries.
12235 link_all_deplibs=$link_all_deplibs
12237 # Fix the shell variable \$srcfile for the compiler.
12238 fix_srcfile_path=$lt_fix_srcfile_path
12240 # Set to "yes" if exported symbols are required.
12241 always_export_symbols=$always_export_symbols
12243 # The commands to list exported symbols.
12244 export_symbols_cmds=$lt_export_symbols_cmds
12246 # Symbols that should not be listed in the preloaded symbols.
12247 exclude_expsyms=$lt_exclude_expsyms
12249 # Symbols that must always be exported.
12250 include_expsyms=$lt_include_expsyms
12252 # Commands necessary for linking programs (against libraries) with templates.
12253 prelink_cmds=$lt_prelink_cmds
12255 # Specify filename containing input files.
12256 file_list_spec=$lt_file_list_spec
12258 # How to hardcode a shared library path into an executable.
12259 hardcode_action=$hardcode_action
12261 # ### END LIBTOOL CONFIG
12267 cat <<\_LT_EOF >> "$cfgfile"
12268 # AIX sometimes has problems with the GCC collect2 program. For some
12269 # reason, if we set the COLLECT_NAMES environment variable, the problems
12270 # vanish in a puff of smoke.
12271 if test "X${COLLECT_NAMES+set}" != Xset; then
12273 export COLLECT_NAMES
12280 ltmain="$ac_aux_dir/ltmain.sh"
12283 # We use sed instead of cat because bash on DJGPP gets confused if
12284 # if finds mixed CR/LF and LF-only lines. Since sed operates in
12285 # text mode, it properly converts lines to CR/LF. This bash problem
12286 # is reportedly fixed, but why not run on old versions too?
12287 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
12288 || (rm -f "$cfgfile"; exit 1)
12292 cat << \_LT_EOF >> "$cfgfile"
12293 # func_dirname file append nondir_replacement
12294 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
12295 # otherwise set result to NONDIR_REPLACEMENT.
12299 */*) func_dirname_result="${1%/*}${2}" ;;
12300 * ) func_dirname_result="${3}" ;;
12304 # func_basename file
12307 func_basename_result="${1##*/}"
12310 # func_stripname prefix suffix name
12311 # strip PREFIX and SUFFIX off of NAME.
12312 # PREFIX and SUFFIX must not contain globbing or regex special
12313 # characters, hashes, percent signs, but SUFFIX may contain a leading
12314 # dot (in which case that matches only a dot).
12317 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
12318 # positional parameters, so assign one to ordinary parameter first.
12319 func_stripname_result=${3}
12320 func_stripname_result=${func_stripname_result#"${1}"}
12321 func_stripname_result=${func_stripname_result%"${2}"}
12327 func_opt_split_opt=${1%%=*}
12328 func_opt_split_arg=${1#*=}
12335 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
12336 *) func_lo2o_result=${1} ;;
12341 *) # Bourne compatible functions.
12342 cat << \_LT_EOF >> "$cfgfile"
12343 # func_dirname file append nondir_replacement
12344 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
12345 # otherwise set result to NONDIR_REPLACEMENT.
12348 # Extract subdirectory from the argument.
12349 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
12350 if test "X$func_dirname_result" = "X${1}"; then
12351 func_dirname_result="${3}"
12353 func_dirname_result="$func_dirname_result${2}"
12357 # func_basename file
12360 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
12363 # func_stripname prefix suffix name
12364 # strip PREFIX and SUFFIX off of NAME.
12365 # PREFIX and SUFFIX must not contain globbing or regex special
12366 # characters, hashes, percent signs, but SUFFIX may contain a leading
12367 # dot (in which case that matches only a dot).
12368 # func_strip_suffix prefix name
12372 .*) func_stripname_result=`$ECHO "X${3}" \
12373 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
12374 *) func_stripname_result=`$ECHO "X${3}" \
12375 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
12380 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
12381 my_sed_long_arg='1s/^-[^=]*=//'
12386 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
12387 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
12393 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
12398 case $lt_shell_append in
12400 cat << \_LT_EOF >> "$cfgfile"
12402 # func_append var value
12403 # Append VALUE to the end of shell variable VAR.
12411 cat << \_LT_EOF >> "$cfgfile"
12413 # func_append var value
12414 # Append VALUE to the end of shell variable VAR.
12424 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
12425 || (rm -f "$cfgfile"; exit 1)
12427 mv -f "$cfgfile" "$ofile" ||
12428 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
12436 cat >>$CONFIG_STATUS <<\_ACEOF
12438 { (exit 0); exit 0; }
12440 chmod +x $CONFIG_STATUS
12441 ac_clean_files=$ac_clean_files_save
12444 # configure is writing to config.log, and then calls config.status.
12445 # config.status does its own redirection, appending to config.log.
12446 # Unfortunately, on DOS this fails, as config.log is still kept open
12447 # by configure, so config.status won't be able to write to it; its
12448 # output is simply discarded. So we exec the FD to /dev/null,
12449 # effectively closing config.log, so it can be properly (re)opened and
12450 # appended to by config.status. When coming back to configure, we
12451 # need to make the FD available again.
12452 if test "$no_create" != yes; then
12454 ac_config_status_args=
12455 test "$silent" = yes &&
12456 ac_config_status_args="$ac_config_status_args --quiet"
12458 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
12460 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
12461 # would make configure fail if this is the last instruction.
12462 $ac_cs_success || { (exit 1); exit 1; }