2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for cyassl 2.3.0.
5 # Report bugs to <http://www.yassl.com>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
55 # Support unset when possible.
56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
72 # Find who we are. Look in the path if we contain no directory separator.
74 *[\\/]* ) as_myself=$0 ;;
75 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79 test -z "$as_dir" && as_dir=.
80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x; then
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C; export $as_var
113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
117 # Required to use basename.
118 if expr a : '\(a\)' >/dev/null 2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001; then
125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
132 # Name of the executable.
133 as_me=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
156 if test "x$CONFIG_SHELL" = x; then
157 if (eval ":") 2>/dev/null; then
163 if test $as_have_required = yes && (eval ":
173 as_func_ret_success () {
176 as_func_ret_failure () {
181 if as_func_success; then
185 echo as_func_success failed.
188 if as_func_failure; then
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
221 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
222 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
223 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
224 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
225 PATH=/empty FPATH=/empty; export PATH FPATH
226 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
227 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" )) || { (exit 1); exit 1; }
228 ") 2> /dev/null; then
232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
233 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
236 test -z "$as_dir" && as_dir=.
239 for as_base in sh bash ksh sh5; do
240 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
247 for as_shell in $as_candidate_shells $SHELL; do
248 # Try only shells that exist, to save several forks.
249 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
250 { ("$as_shell") 2> /dev/null <<\_ASEOF
251 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
254 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
255 # is contrary to our usage. Disable this feature.
256 alias -g '${1+"$@"}'='"$@"'
259 case `(set -o) 2>/dev/null` in
260 *posix*) set -o posix ;;
269 CONFIG_SHELL=$as_shell
271 if { "$as_shell" 2> /dev/null <<\_ASEOF
272 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
275 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
276 # is contrary to our usage. Disable this feature.
277 alias -g '${1+"$@"}'='"$@"'
280 case `(set -o) 2>/dev/null` in
281 *posix*) set -o posix ;;
297 as_func_ret_success () {
300 as_func_ret_failure () {
305 if as_func_success; then
309 echo as_func_success failed.
312 if as_func_failure; then
314 echo as_func_failure succeeded.
317 if as_func_ret_success; then
321 echo as_func_ret_success failed.
324 if as_func_ret_failure; then
326 echo as_func_ret_failure succeeded.
329 if ( set x; as_func_ret_success y && test x = "$1" ); then
333 echo positional parameters were not saved.
336 test $exitcode = 0) || { (exit 1); exit 1; }
341 test "x$as_lineno_1" != "x$as_lineno_2" &&
342 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
345 test -n "${ZSH_VERSION+set}${BASH_VERSION+set}" || (
346 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
347 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
348 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
349 PATH=/empty FPATH=/empty; export PATH FPATH
350 test "X`printf %s $ECHO`" = "X$ECHO" \
351 || test "X`print -r -- $ECHO`" = "X$ECHO" )) || { (exit 1); exit 1; }
362 if test "x$CONFIG_SHELL" != x; then
363 for as_var in BASH_ENV ENV
364 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
367 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
371 if test $as_have_required = no; then
372 echo This script requires a shell more modern than all the
373 echo shells that I found on your system. Please install a
374 echo modern shell, or manually run the script under such a
375 echo shell if you do have one.
376 { (exit 1); exit 1; }
386 (eval "as_func_return () {
395 as_func_ret_success () {
398 as_func_ret_failure () {
403 if as_func_success; then
407 echo as_func_success failed.
410 if as_func_failure; then
412 echo as_func_failure succeeded.
415 if as_func_ret_success; then
419 echo as_func_ret_success failed.
422 if as_func_ret_failure; then
424 echo as_func_ret_failure succeeded.
427 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
431 echo positional parameters were not saved.
434 test \$exitcode = 0") || {
435 echo No shell found that supports shell functions.
436 echo Please tell autoconf@gnu.org about your system,
437 echo including any error possibly output before this
445 test "x$as_lineno_1" != "x$as_lineno_2" &&
446 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
448 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
449 # uniformly replaced by the line number. The first 'sed' inserts a
450 # line-number line after each line using $LINENO; the second 'sed'
451 # does the real work. The second script uses 'N' to pair each
452 # line-number line with the line containing $LINENO, and appends
453 # trailing '-' during substitution so that $LINENO is not a special
455 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
456 # scripts with optimization help from Paolo Bonzini. Blame Lee
457 # E. McMahon (1931-1989) for sed's syntax. :-)
469 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
473 chmod +x "$as_me.lineno" ||
474 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
475 { (exit 1); exit 1; }; }
477 # Don't try to exec as it changes $[0], causing all sort of problems
478 # (the dirname of $[0] is not the place where we might find the
479 # original and so on. Autoconf is especially sensitive to this).
481 # Exit status is that of the last command.
486 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
492 ECHO_C= ECHO_N= ECHO_T=
496 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
503 if expr a : '\(a\)' >/dev/null 2>&1 &&
504 test "X`expr 00001 : '.*\(...\)'`" = X001; then
510 rm -f conf$$ conf$$.exe conf$$.file
511 if test -d conf$$.dir; then
512 rm -f conf$$.dir/conf$$.file
518 if ln -s conf$$.file conf$$ 2>/dev/null; then
520 # ... but there are two gotchas:
521 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
522 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
523 # In both cases, we have to default to `cp -p'.
524 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
526 elif ln conf$$.file conf$$ 2>/dev/null; then
531 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
532 rmdir conf$$.dir 2>/dev/null
534 if mkdir -p . 2>/dev/null; then
537 test -d ./-p && rmdir ./-p
541 if test -x / >/dev/null 2>&1; then
544 if ls -dL / >/dev/null 2>&1; then
551 if test -d "$1"; then
557 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
558 ???[sx]*):;;*)false;;esac;fi
562 as_executable_p=$as_test_x
564 # Sed expression to map a string onto a valid CPP name.
565 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
567 # Sed expression to map a string onto a valid variable name.
568 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
571 SHELL=${CONFIG_SHELL-/bin/sh}
574 exec 7<&0 </dev/null 6>&1
577 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
578 # so uname gets run too.
579 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
584 ac_default_prefix=/usr/local
586 ac_config_libobj_dir=.
592 SHELL=${CONFIG_SHELL-/bin/sh}
594 # Identity of this package.
595 PACKAGE_NAME='cyassl'
596 PACKAGE_TARNAME='cyassl'
597 PACKAGE_VERSION='2.3.0'
598 PACKAGE_STRING='cyassl 2.3.0'
599 PACKAGE_BUGREPORT='http://www.yassl.com'
601 # Factoring default headers for most tests.
602 ac_includes_default="\
604 #ifdef HAVE_SYS_TYPES_H
605 # include <sys/types.h>
607 #ifdef HAVE_SYS_STAT_H
608 # include <sys/stat.h>
614 # ifdef HAVE_STDLIB_H
619 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
624 #ifdef HAVE_STRINGS_H
625 # include <strings.h>
627 #ifdef HAVE_INTTYPES_H
628 # include <inttypes.h>
648 program_transform_name
702 INSTALL_STRIP_PROGRAM
710 CYASSL_LIBRARY_VERSION
762 am__fastdepCCAS_FALSE
788 BUILD_CRL_MONITOR_TRUE
789 BUILD_CRL_MONITOR_FALSE
801 ac_precious_vars='build_alias
818 # Initialize some variables set by options.
820 ac_init_version=false
821 # The variables have the same names as the options, with
822 # dashes changed to underlines.
830 program_transform_name=s,x,x,
838 # Installation directory options.
839 # These are left unexpanded so users can "make install exec_prefix=/foo"
840 # and all the variables that are supposed to be based on exec_prefix
841 # by default will actually change.
842 # Use braces instead of parens because sh, perl, etc. also accept them.
843 # (The list follows the same order as the GNU Coding Standards.)
844 bindir='${exec_prefix}/bin'
845 sbindir='${exec_prefix}/sbin'
846 libexecdir='${exec_prefix}/libexec'
847 datarootdir='${prefix}/share'
848 datadir='${datarootdir}'
849 sysconfdir='${prefix}/etc'
850 sharedstatedir='${prefix}/com'
851 localstatedir='${prefix}/var'
852 includedir='${prefix}/include'
853 oldincludedir='/usr/include'
854 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
855 infodir='${datarootdir}/info'
860 libdir='${exec_prefix}/lib'
861 localedir='${datarootdir}/locale'
862 mandir='${datarootdir}/man'
868 # If the previous option needs an argument, assign it.
869 if test -n "$ac_prev"; then
870 eval $ac_prev=\$ac_option
876 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
880 # Accept the important Cygnus configure options, so we can diagnose typos.
882 case $ac_dashdash$ac_option in
886 -bindir | --bindir | --bindi | --bind | --bin | --bi)
888 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
891 -build | --build | --buil | --bui | --bu)
892 ac_prev=build_alias ;;
893 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
894 build_alias=$ac_optarg ;;
896 -cache-file | --cache-file | --cache-fil | --cache-fi \
897 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
898 ac_prev=cache_file ;;
899 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
900 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
901 cache_file=$ac_optarg ;;
904 cache_file=config.cache ;;
906 -datadir | --datadir | --datadi | --datad)
908 -datadir=* | --datadir=* | --datadi=* | --datad=*)
909 datadir=$ac_optarg ;;
911 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
912 | --dataroo | --dataro | --datar)
913 ac_prev=datarootdir ;;
914 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
915 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
916 datarootdir=$ac_optarg ;;
918 -disable-* | --disable-*)
919 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
920 # Reject names that are not valid shell variable names.
921 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
922 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
923 { (exit 1); exit 1; }; }
924 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
925 eval enable_$ac_feature=no ;;
927 -docdir | --docdir | --docdi | --doc | --do)
929 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
932 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
934 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
937 -enable-* | --enable-*)
938 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
939 # Reject names that are not valid shell variable names.
940 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
941 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
942 { (exit 1); exit 1; }; }
943 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
944 eval enable_$ac_feature=\$ac_optarg ;;
946 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
947 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
948 | --exec | --exe | --ex)
949 ac_prev=exec_prefix ;;
950 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
951 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
952 | --exec=* | --exe=* | --ex=*)
953 exec_prefix=$ac_optarg ;;
955 -gas | --gas | --ga | --g)
956 # Obsolete; use --with-gas.
959 -help | --help | --hel | --he | -h)
961 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
962 ac_init_help=recursive ;;
963 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
964 ac_init_help=short ;;
966 -host | --host | --hos | --ho)
967 ac_prev=host_alias ;;
968 -host=* | --host=* | --hos=* | --ho=*)
969 host_alias=$ac_optarg ;;
971 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
973 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
975 htmldir=$ac_optarg ;;
977 -includedir | --includedir | --includedi | --included | --include \
978 | --includ | --inclu | --incl | --inc)
979 ac_prev=includedir ;;
980 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
981 | --includ=* | --inclu=* | --incl=* | --inc=*)
982 includedir=$ac_optarg ;;
984 -infodir | --infodir | --infodi | --infod | --info | --inf)
986 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
987 infodir=$ac_optarg ;;
989 -libdir | --libdir | --libdi | --libd)
991 -libdir=* | --libdir=* | --libdi=* | --libd=*)
994 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
995 | --libexe | --libex | --libe)
996 ac_prev=libexecdir ;;
997 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
998 | --libexe=* | --libex=* | --libe=*)
999 libexecdir=$ac_optarg ;;
1001 -localedir | --localedir | --localedi | --localed | --locale)
1002 ac_prev=localedir ;;
1003 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1004 localedir=$ac_optarg ;;
1006 -localstatedir | --localstatedir | --localstatedi | --localstated \
1007 | --localstate | --localstat | --localsta | --localst | --locals)
1008 ac_prev=localstatedir ;;
1009 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1010 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1011 localstatedir=$ac_optarg ;;
1013 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1015 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1016 mandir=$ac_optarg ;;
1018 -nfp | --nfp | --nf)
1019 # Obsolete; use --without-fp.
1022 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1023 | --no-cr | --no-c | -n)
1026 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1027 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1030 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1031 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1032 | --oldin | --oldi | --old | --ol | --o)
1033 ac_prev=oldincludedir ;;
1034 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1035 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1036 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1037 oldincludedir=$ac_optarg ;;
1039 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1041 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1042 prefix=$ac_optarg ;;
1044 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1045 | --program-pre | --program-pr | --program-p)
1046 ac_prev=program_prefix ;;
1047 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1048 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1049 program_prefix=$ac_optarg ;;
1051 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1052 | --program-suf | --program-su | --program-s)
1053 ac_prev=program_suffix ;;
1054 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1055 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1056 program_suffix=$ac_optarg ;;
1058 -program-transform-name | --program-transform-name \
1059 | --program-transform-nam | --program-transform-na \
1060 | --program-transform-n | --program-transform- \
1061 | --program-transform | --program-transfor \
1062 | --program-transfo | --program-transf \
1063 | --program-trans | --program-tran \
1064 | --progr-tra | --program-tr | --program-t)
1065 ac_prev=program_transform_name ;;
1066 -program-transform-name=* | --program-transform-name=* \
1067 | --program-transform-nam=* | --program-transform-na=* \
1068 | --program-transform-n=* | --program-transform-=* \
1069 | --program-transform=* | --program-transfor=* \
1070 | --program-transfo=* | --program-transf=* \
1071 | --program-trans=* | --program-tran=* \
1072 | --progr-tra=* | --program-tr=* | --program-t=*)
1073 program_transform_name=$ac_optarg ;;
1075 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1077 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1078 pdfdir=$ac_optarg ;;
1080 -psdir | --psdir | --psdi | --psd | --ps)
1082 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1085 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1086 | -silent | --silent | --silen | --sile | --sil)
1089 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1091 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1093 sbindir=$ac_optarg ;;
1095 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1096 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1097 | --sharedst | --shareds | --shared | --share | --shar \
1099 ac_prev=sharedstatedir ;;
1100 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1101 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1102 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1104 sharedstatedir=$ac_optarg ;;
1106 -site | --site | --sit)
1108 -site=* | --site=* | --sit=*)
1111 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1113 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1114 srcdir=$ac_optarg ;;
1116 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1117 | --syscon | --sysco | --sysc | --sys | --sy)
1118 ac_prev=sysconfdir ;;
1119 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1120 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1121 sysconfdir=$ac_optarg ;;
1123 -target | --target | --targe | --targ | --tar | --ta | --t)
1124 ac_prev=target_alias ;;
1125 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1126 target_alias=$ac_optarg ;;
1128 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1131 -version | --version | --versio | --versi | --vers | -V)
1132 ac_init_version=: ;;
1135 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1136 # Reject names that are not valid shell variable names.
1137 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1138 { echo "$as_me: error: invalid package name: $ac_package" >&2
1139 { (exit 1); exit 1; }; }
1140 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1141 eval with_$ac_package=\$ac_optarg ;;
1143 -without-* | --without-*)
1144 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1145 # Reject names that are not valid shell variable names.
1146 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1147 { echo "$as_me: error: invalid package name: $ac_package" >&2
1148 { (exit 1); exit 1; }; }
1149 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1150 eval with_$ac_package=no ;;
1153 # Obsolete; use --with-x.
1156 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1157 | --x-incl | --x-inc | --x-in | --x-i)
1158 ac_prev=x_includes ;;
1159 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1160 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1161 x_includes=$ac_optarg ;;
1163 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1164 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1165 ac_prev=x_libraries ;;
1166 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1167 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1168 x_libraries=$ac_optarg ;;
1170 -*) { echo "$as_me: error: unrecognized option: $ac_option
1171 Try \`$0 --help' for more information." >&2
1172 { (exit 1); exit 1; }; }
1176 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1177 # Reject names that are not valid shell variable names.
1178 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1179 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1180 { (exit 1); exit 1; }; }
1181 eval $ac_envvar=\$ac_optarg
1182 export $ac_envvar ;;
1185 # FIXME: should be removed in autoconf 3.0.
1186 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1187 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1188 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1189 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1195 if test -n "$ac_prev"; then
1196 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1197 { echo "$as_me: error: missing argument to $ac_option" >&2
1198 { (exit 1); exit 1; }; }
1201 # Be sure to have absolute directory names.
1202 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1203 datadir sysconfdir sharedstatedir localstatedir includedir \
1204 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1205 libdir localedir mandir
1207 eval ac_val=\$$ac_var
1209 [\\/$]* | ?:[\\/]* ) continue;;
1210 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1212 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1213 { (exit 1); exit 1; }; }
1216 # There might be people who depend on the old broken behavior: `$host'
1217 # used to hold the argument of --host etc.
1218 # FIXME: To remove some day.
1221 target=$target_alias
1223 # FIXME: To remove some day.
1224 if test "x$host_alias" != x; then
1225 if test "x$build_alias" = x; then
1226 cross_compiling=maybe
1227 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1228 If a cross compiler is detected then cross compile mode will be used." >&2
1229 elif test "x$build_alias" != "x$host_alias"; then
1235 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1237 test "$silent" = yes && exec 6>/dev/null
1240 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1241 ac_ls_di=`ls -di .` &&
1242 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1243 { echo "$as_me: error: Working directory cannot be determined" >&2
1244 { (exit 1); exit 1; }; }
1245 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1246 { echo "$as_me: error: pwd does not report name of working directory" >&2
1247 { (exit 1); exit 1; }; }
1250 # Find the source files, if location was not specified.
1251 if test -z "$srcdir"; then
1252 ac_srcdir_defaulted=yes
1253 # Try the directory containing this script, then the parent directory.
1254 ac_confdir=`$as_dirname -- "$0" ||
1255 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1256 X"$0" : 'X\(//\)[^/]' \| \
1257 X"$0" : 'X\(//\)$' \| \
1258 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1260 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1278 if test ! -r "$srcdir/$ac_unique_file"; then
1282 ac_srcdir_defaulted=no
1284 if test ! -r "$srcdir/$ac_unique_file"; then
1285 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1286 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1287 { (exit 1); exit 1; }; }
1289 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1291 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1292 { (exit 1); exit 1; }; }
1294 # When building in place, set srcdir=.
1295 if test "$ac_abs_confdir" = "$ac_pwd"; then
1298 # Remove unnecessary trailing slashes from srcdir.
1299 # Double slashes in file names in object file debugging info
1300 # mess up M-x gdb in Emacs.
1302 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1304 for ac_var in $ac_precious_vars; do
1305 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1306 eval ac_env_${ac_var}_value=\$${ac_var}
1307 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1308 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1312 # Report the --help message.
1314 if test "$ac_init_help" = "long"; then
1315 # Omit some internal or obsolete options to make the list less imposing.
1316 # This message is too long to be a string in the A/UX 3.1 sh.
1318 \`configure' configures cyassl 2.3.0 to adapt to many kinds of systems.
1320 Usage: $0 [OPTION]... [VAR=VALUE]...
1322 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1323 VAR=VALUE. See below for descriptions of some of the useful variables.
1325 Defaults for the options are specified in brackets.
1328 -h, --help display this help and exit
1329 --help=short display options specific to this package
1330 --help=recursive display the short help of all the included packages
1331 -V, --version display version information and exit
1332 -q, --quiet, --silent do not print \`checking...' messages
1333 --cache-file=FILE cache test results in FILE [disabled]
1334 -C, --config-cache alias for \`--cache-file=config.cache'
1335 -n, --no-create do not create output files
1336 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1338 Installation directories:
1339 --prefix=PREFIX install architecture-independent files in PREFIX
1340 [$ac_default_prefix]
1341 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1344 By default, \`make install' will install all the files in
1345 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1346 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1347 for instance \`--prefix=\$HOME'.
1349 For better control, use the options below.
1351 Fine tuning of the installation directories:
1352 --bindir=DIR user executables [EPREFIX/bin]
1353 --sbindir=DIR system admin executables [EPREFIX/sbin]
1354 --libexecdir=DIR program executables [EPREFIX/libexec]
1355 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1356 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1357 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1358 --libdir=DIR object code libraries [EPREFIX/lib]
1359 --includedir=DIR C header files [PREFIX/include]
1360 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1361 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1362 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1363 --infodir=DIR info documentation [DATAROOTDIR/info]
1364 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1365 --mandir=DIR man documentation [DATAROOTDIR/man]
1366 --docdir=DIR documentation root [DATAROOTDIR/doc/cyassl]
1367 --htmldir=DIR html documentation [DOCDIR]
1368 --dvidir=DIR dvi documentation [DOCDIR]
1369 --pdfdir=DIR pdf documentation [DOCDIR]
1370 --psdir=DIR ps documentation [DOCDIR]
1376 --program-prefix=PREFIX prepend PREFIX to installed program names
1377 --program-suffix=SUFFIX append SUFFIX to installed program names
1378 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1381 --build=BUILD configure for building on BUILD [guessed]
1382 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1383 --target=TARGET configure for building compilers for TARGET [HOST]
1387 if test -n "$ac_init_help"; then
1388 case $ac_init_help in
1389 short | recursive ) echo "Configuration of cyassl 2.3.0:";;
1394 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1395 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1396 --enable-shared[=PKGS] build shared libraries [default=yes]
1397 --enable-static[=PKGS] build static libraries [default=yes]
1398 --enable-fast-install[=PKGS]
1399 optimize for fast installation [default=yes]
1400 --disable-dependency-tracking speeds up one-time build
1401 --enable-dependency-tracking do not reject slow dependency extractors
1402 --disable-libtool-lock avoid locking (might break parallel builds)
1403 --enable-debug Enable CyaSSL debugging support (default: disabled)
1404 --enable-small Enable smallest build (default: disabled)
1405 --enable-singleThreaded Enable CyaSSL single threaded (default: disabled)
1406 --enable-dtls Enable CyaSSL DTLS (default: disabled)
1407 --enable-opensslExtra Enable extra OpenSSL API, size+ (default: disabled)
1408 --enable-ipv6 Enable testing of IPV6 (default: disabled)
1409 --enable-fortress Enable SSL fortress build (default: disabled)
1410 --enable-bump Enable SSL Bump build (default: disabled)
1411 --enable-fastmath Enable fast math for BigInts (default: disabled)
1412 --enable-fasthugemath Enable fast math + huge code (default: disabled)
1413 --enable-bigcache Enable big session cache (default: disabled)
1414 --enable-hugecache Enable huge session cache (default: disabled)
1415 --enable-smallcache Enable small session cache (default: disabled)
1416 --enable-sniffer Enable CyaSSL sniffer support (default: disabled)
1417 --enable-aesgcm Enable CyaSSL AES-GCM support (default: disabled)
1418 --enable-aesni Enable CyaSSL AES-NI support (default: disabled)
1419 --enable-md2 Enable CyaSSL MD2 support (default: disabled)
1420 --enable-ripemd Enable CyaSSL RIPEMD-160 support (default: disabled)
1421 --enable-sha512 Enable CyaSSL SHA-512 support (default: disabled)
1422 --enable-sessioncerts Enable session cert storing (default: disabled)
1423 --enable-keygen Enable key generation (default: disabled)
1424 --enable-certgen Enable cert generation (default: disabled)
1425 --enable-hc128 Enable HC-128 (default: disabled)
1426 --enable-psk Enable PSK (default: disabled)
1427 --enable-webServer Enable Web Server (default: disabled)
1428 --enable-noFilesystem Enable No Filesystem (default: disabled)
1429 --enable-noInline Enable No inline (default: disabled)
1430 --enable-ecc Enable ECC (default: disabled)
1431 --enable-ocsp Enable OCSP (default: disabled)
1432 --enable-crl Enable CRL (default: disabled)
1433 --enable-crl-monitor Enable CRL Monitor (default: disabled)
1434 --enable-ntru Enable NTRU (default: disabled)
1435 --enable-testcert Enable Test Cert (default: disabled)
1436 --enable-gcc-lots-o-warnings
1437 Enable lots of gcc warnings (default: disabled)
1438 --enable-gcc-hardening Enable compiler security checks (default: disabled)
1439 --enable-linker-hardening
1440 Enable linker security fixups (default: disabled)
1443 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1444 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1445 --with-pic try to use only PIC/non-PIC objects [default=use
1447 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1448 --with-libz=PATH PATH to libz install (default /usr/)
1450 Some influential environment variables:
1451 CC C compiler command
1452 CFLAGS C compiler flags
1453 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1454 nonstandard directory <lib dir>
1455 LIBS libraries to pass to the linker, e.g. -l<library>
1456 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1457 you have headers in a nonstandard directory <include dir>
1459 CXX C++ compiler command
1460 CXXFLAGS C++ compiler flags
1461 CXXCPP C++ preprocessor
1462 CCAS assembler compiler command (defaults to CC)
1463 CCASFLAGS assembler compiler flags (defaults to CFLAGS)
1465 Use these variables to override the choices made by `configure' or to help
1466 it to find libraries and programs with nonstandard names/locations.
1468 Report bugs to <http://www.yassl.com>.
1473 if test "$ac_init_help" = "recursive"; then
1474 # If there are subdirs, report their specific --help.
1475 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1476 test -d "$ac_dir" || continue
1480 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1482 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1483 # A ".." for each directory in $ac_dir_suffix.
1484 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1485 case $ac_top_builddir_sub in
1486 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1487 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1490 ac_abs_top_builddir=$ac_pwd
1491 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1492 # for backward compatibility:
1493 ac_top_builddir=$ac_top_build_prefix
1496 .) # We are building in place.
1498 ac_top_srcdir=$ac_top_builddir_sub
1499 ac_abs_top_srcdir=$ac_pwd ;;
1500 [\\/]* | ?:[\\/]* ) # Absolute name.
1501 ac_srcdir=$srcdir$ac_dir_suffix;
1502 ac_top_srcdir=$srcdir
1503 ac_abs_top_srcdir=$srcdir ;;
1505 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1506 ac_top_srcdir=$ac_top_build_prefix$srcdir
1507 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1509 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1511 cd "$ac_dir" || { ac_status=$?; continue; }
1512 # Check for guested configure.
1513 if test -f "$ac_srcdir/configure.gnu"; then
1515 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1516 elif test -f "$ac_srcdir/configure"; then
1518 $SHELL "$ac_srcdir/configure" --help=recursive
1520 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1522 cd "$ac_pwd" || { ac_status=$?; break; }
1526 test -n "$ac_init_help" && exit $ac_status
1527 if $ac_init_version; then
1529 cyassl configure 2.3.0
1530 generated by GNU Autoconf 2.61
1532 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1533 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1534 This configure script is free software; the Free Software Foundation
1535 gives unlimited permission to copy, distribute and modify it.
1539 cat >config.log <<_ACEOF
1540 This file contains any messages produced by compilers while
1541 running configure, to aid debugging if configure makes a mistake.
1543 It was created by cyassl $as_me 2.3.0, which was
1544 generated by GNU Autoconf 2.61. Invocation command line was
1556 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1557 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1558 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1559 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1560 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1562 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1563 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1565 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1566 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1567 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1568 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1569 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1570 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1571 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1579 test -z "$as_dir" && as_dir=.
1580 echo "PATH: $as_dir"
1596 # Keep a trace of the command line.
1597 # Strip out --no-create and --no-recursion so they do not pile up.
1598 # Strip out --silent because we don't want to record it for future runs.
1599 # Also quote any args containing shell meta-characters.
1600 # Make two passes to allow for proper duplicate-argument suppression.
1604 ac_must_keep_next=false
1610 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1611 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1612 | -silent | --silent | --silen | --sile | --sil)
1615 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1618 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1620 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1621 if test $ac_must_keep_next = true; then
1622 ac_must_keep_next=false # Got value, back to normal.
1625 *=* | --config-cache | -C | -disable-* | --disable-* \
1626 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1627 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1628 | -with-* | --with-* | -without-* | --without-* | --x)
1629 case "$ac_configure_args0 " in
1630 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1633 -* ) ac_must_keep_next=true ;;
1636 ac_configure_args="$ac_configure_args '$ac_arg'"
1641 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1642 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1644 # When interrupted or exit'd, cleanup temporary files, and complete
1645 # config.log. We remove comments because anyway the quotes in there
1646 # would cause problems or look ugly.
1647 # WARNING: Use '\'' to represent an apostrophe within the trap.
1648 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1649 trap 'exit_status=$?
1650 # Save into config.log some information that might help in debugging.
1655 ## ---------------- ##
1656 ## Cache variables. ##
1657 ## ---------------- ##
1660 # The following way of writing the cache mishandles newlines in values,
1662 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1663 eval ac_val=\$$ac_var
1667 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1668 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1671 _ | IFS | as_nl) ;; #(
1672 *) $as_unset $ac_var ;;
1677 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1678 *${as_nl}ac_space=\ *)
1680 "s/'\''/'\''\\\\'\'''\''/g;
1681 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1684 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1692 ## ----------------- ##
1693 ## Output variables. ##
1694 ## ----------------- ##
1697 for ac_var in $ac_subst_vars
1699 eval ac_val=\$$ac_var
1701 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1703 echo "$ac_var='\''$ac_val'\''"
1707 if test -n "$ac_subst_files"; then
1709 ## ------------------- ##
1710 ## File substitutions. ##
1711 ## ------------------- ##
1714 for ac_var in $ac_subst_files
1716 eval ac_val=\$$ac_var
1718 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1720 echo "$ac_var='\''$ac_val'\''"
1725 if test -s confdefs.h; then
1735 test "$ac_signal" != 0 &&
1736 echo "$as_me: caught signal $ac_signal"
1737 echo "$as_me: exit $exit_status"
1739 rm -f core *.core core.conftest.* &&
1740 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1743 for ac_signal in 1 2 13 15; do
1744 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1748 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1749 rm -f -r conftest* confdefs.h
1751 # Predefined preprocessor variables.
1753 cat >>confdefs.h <<_ACEOF
1754 #define PACKAGE_NAME "$PACKAGE_NAME"
1758 cat >>confdefs.h <<_ACEOF
1759 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1763 cat >>confdefs.h <<_ACEOF
1764 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1768 cat >>confdefs.h <<_ACEOF
1769 #define PACKAGE_STRING "$PACKAGE_STRING"
1773 cat >>confdefs.h <<_ACEOF
1774 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1778 # Let the site file select an alternate cache file if it wants to.
1779 # Prefer explicitly selected file to automatically selected ones.
1780 if test -n "$CONFIG_SITE"; then
1781 set x "$CONFIG_SITE"
1782 elif test "x$prefix" != xNONE; then
1783 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1785 set x "$ac_default_prefix/share/config.site" \
1786 "$ac_default_prefix/etc/config.site"
1791 if test -r "$ac_site_file"; then
1792 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1793 echo "$as_me: loading site script $ac_site_file" >&6;}
1794 sed 's/^/| /' "$ac_site_file" >&5
1799 if test -r "$cache_file"; then
1800 # Some versions of bash will fail to source /dev/null (special
1801 # files actually), so we avoid doing that.
1802 if test -f "$cache_file"; then
1803 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1804 echo "$as_me: loading cache $cache_file" >&6;}
1806 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1807 *) . "./$cache_file";;
1811 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1812 echo "$as_me: creating cache $cache_file" >&6;}
1816 ac_header_list="$ac_header_list sys/time.h"
1817 ac_header_list="$ac_header_list unistd.h"
1818 ac_func_list="$ac_func_list alarm"
1819 # Check that the precious variables saved in the cache have kept the same
1821 ac_cache_corrupted=false
1822 for ac_var in $ac_precious_vars; do
1823 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1824 eval ac_new_set=\$ac_env_${ac_var}_set
1825 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1826 eval ac_new_val=\$ac_env_${ac_var}_value
1827 case $ac_old_set,$ac_new_set in
1829 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1830 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1831 ac_cache_corrupted=: ;;
1833 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1834 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1835 ac_cache_corrupted=: ;;
1838 if test "x$ac_old_val" != "x$ac_new_val"; then
1839 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1840 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1841 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1842 echo "$as_me: former value: $ac_old_val" >&2;}
1843 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1844 echo "$as_me: current value: $ac_new_val" >&2;}
1845 ac_cache_corrupted=:
1848 # Pass precious variables to config.status.
1849 if test "$ac_new_set" = set; then
1851 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1852 *) ac_arg=$ac_var=$ac_new_val ;;
1854 case " $ac_configure_args " in
1855 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1856 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1860 if $ac_cache_corrupted; then
1861 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1862 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1863 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1864 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1865 { (exit 1); exit 1; }; }
1893 ac_cpp='$CPP $CPPFLAGS'
1894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1901 for ac_dir in config "$srcdir"/config; do
1902 if test -f "$ac_dir/install-sh"; then
1904 ac_install_sh="$ac_aux_dir/install-sh -c"
1906 elif test -f "$ac_dir/install.sh"; then
1908 ac_install_sh="$ac_aux_dir/install.sh -c"
1910 elif test -f "$ac_dir/shtool"; then
1912 ac_install_sh="$ac_aux_dir/shtool install -c"
1916 if test -z "$ac_aux_dir"; then
1917 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&5
1918 echo "$as_me: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&2;}
1919 { (exit 1); exit 1; }; }
1922 # These three variables are undocumented and unsupported,
1923 # and are intended to be withdrawn in a future Autoconf release.
1924 # They can cause serious problems if a builder's source tree is in a directory
1925 # whose full name contains unusual characters.
1926 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1927 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1928 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1932 # Make sure we can run config.sub.
1933 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1934 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1935 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1936 { (exit 1); exit 1; }; }
1938 { echo "$as_me:$LINENO: checking build system type" >&5
1939 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1940 if test "${ac_cv_build+set}" = set; then
1941 echo $ECHO_N "(cached) $ECHO_C" >&6
1943 ac_build_alias=$build_alias
1944 test "x$ac_build_alias" = x &&
1945 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1946 test "x$ac_build_alias" = x &&
1947 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1948 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1949 { (exit 1); exit 1; }; }
1950 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1951 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1952 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1953 { (exit 1); exit 1; }; }
1956 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1957 echo "${ECHO_T}$ac_cv_build" >&6; }
1958 case $ac_cv_build in
1960 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1961 echo "$as_me: error: invalid value of canonical build" >&2;}
1962 { (exit 1); exit 1; }; };;
1965 ac_save_IFS=$IFS; IFS='-'
1971 # Remember, the first character of IFS is used to create $*,
1972 # except with old shells:
1975 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1978 { echo "$as_me:$LINENO: checking host system type" >&5
1979 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1980 if test "${ac_cv_host+set}" = set; then
1981 echo $ECHO_N "(cached) $ECHO_C" >&6
1983 if test "x$host_alias" = x; then
1984 ac_cv_host=$ac_cv_build
1986 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1987 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1988 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1989 { (exit 1); exit 1; }; }
1993 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1994 echo "${ECHO_T}$ac_cv_host" >&6; }
1997 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1998 echo "$as_me: error: invalid value of canonical host" >&2;}
1999 { (exit 1); exit 1; }; };;
2002 ac_save_IFS=$IFS; IFS='-'
2008 # Remember, the first character of IFS is used to create $*,
2009 # except with old shells:
2012 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2015 { echo "$as_me:$LINENO: checking target system type" >&5
2016 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2017 if test "${ac_cv_target+set}" = set; then
2018 echo $ECHO_N "(cached) $ECHO_C" >&6
2020 if test "x$target_alias" = x; then
2021 ac_cv_target=$ac_cv_host
2023 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2024 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2025 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2026 { (exit 1); exit 1; }; }
2030 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2031 echo "${ECHO_T}$ac_cv_target" >&6; }
2032 case $ac_cv_target in
2034 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2035 echo "$as_me: error: invalid value of canonical target" >&2;}
2036 { (exit 1); exit 1; }; };;
2038 target=$ac_cv_target
2039 ac_save_IFS=$IFS; IFS='-'
2045 # Remember, the first character of IFS is used to create $*,
2046 # except with old shells:
2049 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2052 # The aliases save the names the user supplied, while $host etc.
2053 # will get canonicalized.
2054 test -n "$target_alias" &&
2055 test "$program_prefix$program_suffix$program_transform_name" = \
2057 program_prefix=${target_alias}-
2059 am__api_version='1.10'
2061 # Find a good install program. We prefer a C program (faster),
2062 # so one script is as good as another. But avoid the broken or
2063 # incompatible versions:
2064 # SysV /etc/install, /usr/sbin/install
2065 # SunOS /usr/etc/install
2066 # IRIX /sbin/install
2068 # AmigaOS /C/install, which installs bootblocks on floppy discs
2069 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2070 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2071 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2072 # OS/2's system install, which has a completely different semantic
2073 # ./install, which can be erroneously created by make from ./install.sh.
2074 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2075 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2076 if test -z "$INSTALL"; then
2077 if test "${ac_cv_path_install+set}" = set; then
2078 echo $ECHO_N "(cached) $ECHO_C" >&6
2080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2084 test -z "$as_dir" && as_dir=.
2085 # Account for people who put trailing slashes in PATH elements.
2087 ./ | .// | /cC/* | \
2088 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2089 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2092 # OSF1 and SCO ODT 3.0 have their own names for install.
2093 # Don't use installbsd from OSF since it installs stuff as root
2095 for ac_prog in ginstall scoinst install; do
2096 for ac_exec_ext in '' $ac_executable_extensions; do
2097 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2098 if test $ac_prog = install &&
2099 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2100 # AIX install. It has an incompatible calling convention.
2102 elif test $ac_prog = install &&
2103 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2104 # program-specific install script used by HP pwplus--don't use.
2107 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2120 if test "${ac_cv_path_install+set}" = set; then
2121 INSTALL=$ac_cv_path_install
2123 # As a last resort, use the slow shell script. Don't cache a
2124 # value for INSTALL within a source directory, because that will
2125 # break other packages using the cache if that directory is
2126 # removed, or if the value is a relative name.
2127 INSTALL=$ac_install_sh
2130 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2131 echo "${ECHO_T}$INSTALL" >&6; }
2133 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2134 # It thinks the first close brace ends the variable substitution.
2135 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2137 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2139 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2141 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2142 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2145 echo timestamp > conftest.file
2146 # Do `set' in a subshell so we don't clobber the current shell's
2147 # arguments. Must try -L first in case configure is actually a
2148 # symlink; some systems play weird games with the mod time of symlinks
2149 # (eg FreeBSD returns the mod time of the symlink's containing
2152 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2153 if test "$*" = "X"; then
2155 set X `ls -t $srcdir/configure conftest.file`
2158 if test "$*" != "X $srcdir/configure conftest.file" \
2159 && test "$*" != "X conftest.file $srcdir/configure"; then
2161 # If neither matched, then we have a broken ls. This can happen
2162 # if, for instance, CONFIG_SHELL is bash and it inherits a
2163 # broken ls alias from the environment. This has actually
2164 # happened. Such a system could not be considered "sane".
2165 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2166 alias in your environment" >&5
2167 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2168 alias in your environment" >&2;}
2169 { (exit 1); exit 1; }; }
2172 test "$2" = conftest.file
2178 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2179 Check your system clock" >&5
2180 echo "$as_me: error: newly created file is older than distributed files!
2181 Check your system clock" >&2;}
2182 { (exit 1); exit 1; }; }
2184 { echo "$as_me:$LINENO: result: yes" >&5
2185 echo "${ECHO_T}yes" >&6; }
2186 test "$program_prefix" != NONE &&
2187 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2188 # Use a double $ so make ignores it.
2189 test "$program_suffix" != NONE &&
2190 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2191 # Double any \ or $. echo might interpret backslashes.
2192 # By default was `s,x,x', remove it if useless.
2193 cat <<\_ACEOF >conftest.sed
2194 s/[\\$]/&&/g;s/;s,x,x,$//
2196 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2199 # expand $ac_aux_dir to an absolute path
2200 am_aux_dir=`cd $ac_aux_dir && pwd`
2202 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2203 # Use eval to expand $SHELL
2204 if eval "$MISSING --run true"; then
2205 am_missing_run="$MISSING --run "
2208 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2209 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2212 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2213 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2214 if test -z "$MKDIR_P"; then
2215 if test "${ac_cv_path_mkdir+set}" = set; then
2216 echo $ECHO_N "(cached) $ECHO_C" >&6
2218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2219 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2222 test -z "$as_dir" && as_dir=.
2223 for ac_prog in mkdir gmkdir; do
2224 for ac_exec_ext in '' $ac_executable_extensions; do
2225 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2226 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2227 'mkdir (GNU coreutils) '* | \
2228 'mkdir (coreutils) '* | \
2229 'mkdir (fileutils) '4.1*)
2230 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2240 if test "${ac_cv_path_mkdir+set}" = set; then
2241 MKDIR_P="$ac_cv_path_mkdir -p"
2243 # As a last resort, use the slow shell script. Don't cache a
2244 # value for MKDIR_P within a source directory, because that will
2245 # break other packages using the cache if that directory is
2246 # removed, or if the value is a relative name.
2247 test -d ./--version && rmdir ./--version
2248 MKDIR_P="$ac_install_sh -d"
2251 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2252 echo "${ECHO_T}$MKDIR_P" >&6; }
2256 [\\/$]* | ?:[\\/]*) ;;
2257 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2260 for ac_prog in gawk mawk nawk awk
2262 # Extract the first word of "$ac_prog", so it can be a program name with args.
2263 set dummy $ac_prog; ac_word=$2
2264 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2265 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2266 if test "${ac_cv_prog_AWK+set}" = set; then
2267 echo $ECHO_N "(cached) $ECHO_C" >&6
2269 if test -n "$AWK"; then
2270 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2276 test -z "$as_dir" && as_dir=.
2277 for ac_exec_ext in '' $ac_executable_extensions; do
2278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2279 ac_cv_prog_AWK="$ac_prog"
2280 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2290 if test -n "$AWK"; then
2291 { echo "$as_me:$LINENO: result: $AWK" >&5
2292 echo "${ECHO_T}$AWK" >&6; }
2294 { echo "$as_me:$LINENO: result: no" >&5
2295 echo "${ECHO_T}no" >&6; }
2299 test -n "$AWK" && break
2302 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2303 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2304 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2305 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2306 echo $ECHO_N "(cached) $ECHO_C" >&6
2308 cat >conftest.make <<\_ACEOF
2311 @echo '@@@%%%=$(MAKE)=@@@%%%'
2313 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2314 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2316 eval ac_cv_prog_make_${ac_make}_set=yes;;
2318 eval ac_cv_prog_make_${ac_make}_set=no;;
2322 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2323 { echo "$as_me:$LINENO: result: yes" >&5
2324 echo "${ECHO_T}yes" >&6; }
2327 { echo "$as_me:$LINENO: result: no" >&5
2328 echo "${ECHO_T}no" >&6; }
2329 SET_MAKE="MAKE=${MAKE-make}"
2332 rm -rf .tst 2>/dev/null
2333 mkdir .tst 2>/dev/null
2334 if test -d .tst; then
2339 rmdir .tst 2>/dev/null
2341 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2342 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2343 # is not polluted with repeated "-I."
2344 am__isrc=' -I$(srcdir)'
2345 # test to see if srcdir already configured
2346 if test -f $srcdir/config.status; then
2347 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2348 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2349 { (exit 1); exit 1; }; }
2353 # test whether we have cygpath
2354 if test -z "$CYGPATH_W"; then
2355 if (cygpath --version) >/dev/null 2>/dev/null; then
2356 CYGPATH_W='cygpath -w'
2363 # Define the identity of the package.
2368 cat >>confdefs.h <<_ACEOF
2369 #define PACKAGE "$PACKAGE"
2373 cat >>confdefs.h <<_ACEOF
2374 #define VERSION "$VERSION"
2377 # Some tools Automake needs.
2379 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2382 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2385 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2388 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2391 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2393 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2395 # Installed binaries are usually stripped using `strip' when the user
2396 # run `make install-strip'. However `strip' might not be the right
2397 # tool to use in cross-compilation environments, therefore Automake
2398 # will honor the `STRIP' environment variable to overrule this program.
2399 if test "$cross_compiling" != no; then
2400 if test -n "$ac_tool_prefix"; then
2401 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2402 set dummy ${ac_tool_prefix}strip; ac_word=$2
2403 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2404 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2405 if test "${ac_cv_prog_STRIP+set}" = set; then
2406 echo $ECHO_N "(cached) $ECHO_C" >&6
2408 if test -n "$STRIP"; then
2409 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2415 test -z "$as_dir" && as_dir=.
2416 for ac_exec_ext in '' $ac_executable_extensions; do
2417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2418 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2419 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2428 STRIP=$ac_cv_prog_STRIP
2429 if test -n "$STRIP"; then
2430 { echo "$as_me:$LINENO: result: $STRIP" >&5
2431 echo "${ECHO_T}$STRIP" >&6; }
2433 { echo "$as_me:$LINENO: result: no" >&5
2434 echo "${ECHO_T}no" >&6; }
2439 if test -z "$ac_cv_prog_STRIP"; then
2441 # Extract the first word of "strip", so it can be a program name with args.
2442 set dummy strip; ac_word=$2
2443 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2444 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2445 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2446 echo $ECHO_N "(cached) $ECHO_C" >&6
2448 if test -n "$ac_ct_STRIP"; then
2449 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2455 test -z "$as_dir" && as_dir=.
2456 for ac_exec_ext in '' $ac_executable_extensions; do
2457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2458 ac_cv_prog_ac_ct_STRIP="strip"
2459 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2468 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2469 if test -n "$ac_ct_STRIP"; then
2470 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2471 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2473 { echo "$as_me:$LINENO: result: no" >&5
2474 echo "${ECHO_T}no" >&6; }
2477 if test "x$ac_ct_STRIP" = x; then
2480 case $cross_compiling:$ac_tool_warned in
2482 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2483 whose name does not start with the host triplet. If you think this
2484 configuration is useful to you, please write to autoconf@gnu.org." >&5
2485 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2486 whose name does not start with the host triplet. If you think this
2487 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2488 ac_tool_warned=yes ;;
2493 STRIP="$ac_cv_prog_STRIP"
2497 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2499 # We need awk for the "check" target. The system "awk" is bad on
2501 # Always define AMTAR for backward compatibility.
2503 AMTAR=${AMTAR-"${am_missing_run}tar"}
2506 { echo "$as_me:$LINENO: checking how to create a ustar tar archive" >&5
2507 echo $ECHO_N "checking how to create a ustar tar archive... $ECHO_C" >&6; }
2508 # Loop over all known methods to create a tar archive until one works.
2509 _am_tools='gnutar plaintar pax cpio none'
2510 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
2511 # Do not fold the above two line into one, because Tru64 sh and
2512 # Solaris sh will not grok spaces in the rhs of `-'.
2513 for _am_tool in $_am_tools
2517 for _am_tar in tar gnutar gtar;
2519 { echo "$as_me:$LINENO: $_am_tar --version" >&5
2520 ($_am_tar --version) >&5 2>&5
2522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2523 (exit $ac_status); } && break
2525 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
2526 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
2527 am__untar="$_am_tar -xf -"
2530 # Must skip GNU tar: if it does not support --format= it doesn't create
2531 # ustar tarball either.
2532 (tar --version) >/dev/null 2>&1 && continue
2533 am__tar='tar chf - "$$tardir"'
2534 am__tar_='tar chf - "$tardir"'
2535 am__untar='tar xf -'
2538 am__tar='pax -L -x ustar -w "$$tardir"'
2539 am__tar_='pax -L -x ustar -w "$tardir"'
2543 am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
2544 am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
2545 am__untar='cpio -i -H ustar -d'
2554 # If the value was cached, stop now. We just wanted to have am__tar
2555 # and am__untar set.
2556 test -n "${am_cv_prog_tar_ustar}" && break
2558 # tar/untar a dummy directory, and stop if the command works
2561 echo GrepMe > conftest.dir/file
2562 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2563 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2566 (exit $ac_status); }
2568 if test -s conftest.tar; then
2569 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2570 ($am__untar <conftest.tar) >&5 2>&5
2572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2573 (exit $ac_status); }
2574 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2579 if test "${am_cv_prog_tar_ustar+set}" = set; then
2580 echo $ECHO_N "(cached) $ECHO_C" >&6
2582 am_cv_prog_tar_ustar=$_am_tool
2585 { echo "$as_me:$LINENO: result: $am_cv_prog_tar_ustar" >&5
2586 echo "${ECHO_T}$am_cv_prog_tar_ustar" >&6; }
2593 { echo "$as_me:$LINENO: checking host system type" >&5
2594 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2595 if test "${ac_cv_host+set}" = set; then
2596 echo $ECHO_N "(cached) $ECHO_C" >&6
2598 if test "x$host_alias" = x; then
2599 ac_cv_host=$ac_cv_build
2601 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2602 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2603 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2604 { (exit 1); exit 1; }; }
2608 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2609 echo "${ECHO_T}$ac_cv_host" >&6; }
2612 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2613 echo "$as_me: error: invalid value of canonical host" >&2;}
2614 { (exit 1); exit 1; }; };;
2617 ac_save_IFS=$IFS; IFS='-'
2623 # Remember, the first character of IFS is used to create $*,
2624 # except with old shells:
2627 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2630 # Make sure we can run config.sub.
2631 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2632 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2633 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2634 { (exit 1); exit 1; }; }
2636 { echo "$as_me:$LINENO: checking build system type" >&5
2637 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2638 if test "${ac_cv_build+set}" = set; then
2639 echo $ECHO_N "(cached) $ECHO_C" >&6
2641 ac_build_alias=$build_alias
2642 test "x$ac_build_alias" = x &&
2643 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2644 test "x$ac_build_alias" = x &&
2645 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2646 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2647 { (exit 1); exit 1; }; }
2648 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2649 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2650 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2651 { (exit 1); exit 1; }; }
2654 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2655 echo "${ECHO_T}$ac_cv_build" >&6; }
2656 case $ac_cv_build in
2658 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2659 echo "$as_me: error: invalid value of canonical build" >&2;}
2660 { (exit 1); exit 1; }; };;
2663 ac_save_IFS=$IFS; IFS='-'
2669 # Remember, the first character of IFS is used to create $*,
2670 # except with old shells:
2673 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2681 ac_config_headers="$ac_config_headers config.h:config.in"
2684 #shared library versioning
2685 CYASSL_LIBRARY_VERSION=3:1:0
2689 # current:revision:age
2691 # | | +- increment if interfaces have been added
2692 # | | set to zero if interfaces have been removed
2694 # | +- increment if source code has changed
2695 # | set to zero if current is incremented
2696 # +- increment if interfaces have been added, removed or changed
2699 # Make sure configure doesn't add to CFLAGS
2700 CFLAGS="$CFLAGS $C_EXTRA_FLAGS"
2704 { echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2705 echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2710 macro_version='2.2.10'
2711 macro_revision='1.3175'
2725 ltmain="$ac_aux_dir/ltmain.sh"
2727 # Backslashify metacharacters that are still active within
2728 # double-quoted strings.
2729 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
2731 # Same as above, but do not quote variable references.
2732 double_quote_subst='s/\(["`\\]\)/\\\1/g'
2734 # Sed substitution to delay expansion of an escaped shell variable in a
2735 # double_quote_subst'ed string.
2736 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
2738 # Sed substitution to delay expansion of an escaped single quote.
2739 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
2741 # Sed substitution to avoid accidental globbing in evaled expressions
2742 no_glob_subst='s/\*/\\\*/g'
2744 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2745 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
2746 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
2748 { echo "$as_me:$LINENO: checking how to print strings" >&5
2749 echo $ECHO_N "checking how to print strings... $ECHO_C" >&6; }
2750 # Test print first, because it will be a builtin if present.
2751 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
2752 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
2754 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
2757 # Use this function as a fallback that always works.
2758 func_fallback_echo ()
2760 eval 'cat <<_LTECHO_EOF
2764 ECHO='func_fallback_echo'
2767 # func_echo_all arg...
2768 # Invoke $ECHO with all args, space-separated.
2775 printf*) { echo "$as_me:$LINENO: result: printf" >&5
2776 echo "${ECHO_T}printf" >&6; } ;;
2777 print*) { echo "$as_me:$LINENO: result: print -r" >&5
2778 echo "${ECHO_T}print -r" >&6; } ;;
2779 *) { echo "$as_me:$LINENO: result: cat" >&5
2780 echo "${ECHO_T}cat" >&6; } ;;
2796 DEPDIR="${am__leading_dot}deps"
2798 ac_config_commands="$ac_config_commands depfiles"
2801 am_make=${MAKE-make}
2802 cat > confinc << 'END'
2807 # If we don't find an include directive, just comment out the code.
2808 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2809 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2813 # First try GNU make style include.
2814 echo "include confinc" > confmf
2815 # We grep out `Entering directory' and `Leaving directory'
2816 # messages which can occur if `w' ends up in MAKEFLAGS.
2817 # In particular we don't look at `^make:' because GNU make might
2818 # be invoked under some other name (usually "gmake"), in which
2819 # case it prints its new name instead of `make'.
2820 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2825 # Now try BSD make style include.
2826 if test "$am__include" = "#"; then
2827 echo '.include "confinc"' > confmf
2828 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2829 am__include=.include
2836 { echo "$as_me:$LINENO: result: $_am_result" >&5
2837 echo "${ECHO_T}$_am_result" >&6; }
2838 rm -f confinc confmf
2840 # Check whether --enable-dependency-tracking was given.
2841 if test "${enable_dependency_tracking+set}" = set; then
2842 enableval=$enable_dependency_tracking;
2845 if test "x$enable_dependency_tracking" != xno; then
2846 am_depcomp="$ac_aux_dir/depcomp"
2849 if test "x$enable_dependency_tracking" != xno; then
2859 ac_cpp='$CPP $CPPFLAGS'
2860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2863 if test -n "$ac_tool_prefix"; then
2864 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2865 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2866 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2867 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2868 if test "${ac_cv_prog_CC+set}" = set; then
2869 echo $ECHO_N "(cached) $ECHO_C" >&6
2871 if test -n "$CC"; then
2872 ac_cv_prog_CC="$CC" # Let the user override the test.
2874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2878 test -z "$as_dir" && as_dir=.
2879 for ac_exec_ext in '' $ac_executable_extensions; do
2880 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2881 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2882 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2892 if test -n "$CC"; then
2893 { echo "$as_me:$LINENO: result: $CC" >&5
2894 echo "${ECHO_T}$CC" >&6; }
2896 { echo "$as_me:$LINENO: result: no" >&5
2897 echo "${ECHO_T}no" >&6; }
2902 if test -z "$ac_cv_prog_CC"; then
2904 # Extract the first word of "gcc", so it can be a program name with args.
2905 set dummy gcc; ac_word=$2
2906 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2907 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2908 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2909 echo $ECHO_N "(cached) $ECHO_C" >&6
2911 if test -n "$ac_ct_CC"; then
2912 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2918 test -z "$as_dir" && as_dir=.
2919 for ac_exec_ext in '' $ac_executable_extensions; do
2920 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2921 ac_cv_prog_ac_ct_CC="gcc"
2922 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2931 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2932 if test -n "$ac_ct_CC"; then
2933 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2934 echo "${ECHO_T}$ac_ct_CC" >&6; }
2936 { echo "$as_me:$LINENO: result: no" >&5
2937 echo "${ECHO_T}no" >&6; }
2940 if test "x$ac_ct_CC" = x; then
2943 case $cross_compiling:$ac_tool_warned in
2945 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2946 whose name does not start with the host triplet. If you think this
2947 configuration is useful to you, please write to autoconf@gnu.org." >&5
2948 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2949 whose name does not start with the host triplet. If you think this
2950 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2951 ac_tool_warned=yes ;;
2959 if test -z "$CC"; then
2960 if test -n "$ac_tool_prefix"; then
2961 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2962 set dummy ${ac_tool_prefix}cc; ac_word=$2
2963 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2964 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2965 if test "${ac_cv_prog_CC+set}" = set; then
2966 echo $ECHO_N "(cached) $ECHO_C" >&6
2968 if test -n "$CC"; then
2969 ac_cv_prog_CC="$CC" # Let the user override the test.
2971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2975 test -z "$as_dir" && as_dir=.
2976 for ac_exec_ext in '' $ac_executable_extensions; do
2977 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2978 ac_cv_prog_CC="${ac_tool_prefix}cc"
2979 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2989 if test -n "$CC"; then
2990 { echo "$as_me:$LINENO: result: $CC" >&5
2991 echo "${ECHO_T}$CC" >&6; }
2993 { echo "$as_me:$LINENO: result: no" >&5
2994 echo "${ECHO_T}no" >&6; }
3000 if test -z "$CC"; then
3001 # Extract the first word of "cc", so it can be a program name with args.
3002 set dummy cc; ac_word=$2
3003 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3004 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3005 if test "${ac_cv_prog_CC+set}" = set; then
3006 echo $ECHO_N "(cached) $ECHO_C" >&6
3008 if test -n "$CC"; then
3009 ac_cv_prog_CC="$CC" # Let the user override the test.
3012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3016 test -z "$as_dir" && as_dir=.
3017 for ac_exec_ext in '' $ac_executable_extensions; do
3018 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3019 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3020 ac_prog_rejected=yes
3024 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3031 if test $ac_prog_rejected = yes; then
3032 # We found a bogon in the path, so make sure we never use it.
3033 set dummy $ac_cv_prog_CC
3035 if test $# != 0; then
3036 # We chose a different compiler from the bogus one.
3037 # However, it has the same basename, so the bogon will be chosen
3038 # first if we set CC to just the basename; use the full file name.
3040 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3046 if test -n "$CC"; then
3047 { echo "$as_me:$LINENO: result: $CC" >&5
3048 echo "${ECHO_T}$CC" >&6; }
3050 { echo "$as_me:$LINENO: result: no" >&5
3051 echo "${ECHO_T}no" >&6; }
3056 if test -z "$CC"; then
3057 if test -n "$ac_tool_prefix"; then
3058 for ac_prog in cl.exe
3060 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3061 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3062 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3063 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3064 if test "${ac_cv_prog_CC+set}" = set; then
3065 echo $ECHO_N "(cached) $ECHO_C" >&6
3067 if test -n "$CC"; then
3068 ac_cv_prog_CC="$CC" # Let the user override the test.
3070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3074 test -z "$as_dir" && as_dir=.
3075 for ac_exec_ext in '' $ac_executable_extensions; do
3076 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3077 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3078 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3088 if test -n "$CC"; then
3089 { echo "$as_me:$LINENO: result: $CC" >&5
3090 echo "${ECHO_T}$CC" >&6; }
3092 { echo "$as_me:$LINENO: result: no" >&5
3093 echo "${ECHO_T}no" >&6; }
3097 test -n "$CC" && break
3100 if test -z "$CC"; then
3102 for ac_prog in cl.exe
3104 # Extract the first word of "$ac_prog", so it can be a program name with args.
3105 set dummy $ac_prog; ac_word=$2
3106 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3107 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3108 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3109 echo $ECHO_N "(cached) $ECHO_C" >&6
3111 if test -n "$ac_ct_CC"; then
3112 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3118 test -z "$as_dir" && as_dir=.
3119 for ac_exec_ext in '' $ac_executable_extensions; do
3120 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3121 ac_cv_prog_ac_ct_CC="$ac_prog"
3122 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3131 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3132 if test -n "$ac_ct_CC"; then
3133 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3134 echo "${ECHO_T}$ac_ct_CC" >&6; }
3136 { echo "$as_me:$LINENO: result: no" >&5
3137 echo "${ECHO_T}no" >&6; }
3141 test -n "$ac_ct_CC" && break
3144 if test "x$ac_ct_CC" = x; then
3147 case $cross_compiling:$ac_tool_warned in
3149 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3150 whose name does not start with the host triplet. If you think this
3151 configuration is useful to you, please write to autoconf@gnu.org." >&5
3152 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3153 whose name does not start with the host triplet. If you think this
3154 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3155 ac_tool_warned=yes ;;
3164 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3165 See \`config.log' for more details." >&5
3166 echo "$as_me: error: no acceptable C compiler found in \$PATH
3167 See \`config.log' for more details." >&2;}
3168 { (exit 1); exit 1; }; }
3170 # Provide some information about the compiler.
3171 echo "$as_me:$LINENO: checking for C compiler version" >&5
3172 ac_compiler=`set X $ac_compile; echo $2`
3173 { (ac_try="$ac_compiler --version >&5"
3175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3176 *) ac_try_echo=$ac_try;;
3178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3179 (eval "$ac_compiler --version >&5") 2>&5
3181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3182 (exit $ac_status); }
3183 { (ac_try="$ac_compiler -v >&5"
3185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3186 *) ac_try_echo=$ac_try;;
3188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3189 (eval "$ac_compiler -v >&5") 2>&5
3191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3192 (exit $ac_status); }
3193 { (ac_try="$ac_compiler -V >&5"
3195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3196 *) ac_try_echo=$ac_try;;
3198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3199 (eval "$ac_compiler -V >&5") 2>&5
3201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3202 (exit $ac_status); }
3204 cat >conftest.$ac_ext <<_ACEOF
3207 cat confdefs.h >>conftest.$ac_ext
3208 cat >>conftest.$ac_ext <<_ACEOF
3209 /* end confdefs.h. */
3219 ac_clean_files_save=$ac_clean_files
3220 ac_clean_files="$ac_clean_files a.out a.exe b.out"
3221 # Try to create an executable without -o first, disregard a.out.
3222 # It will help us diagnose broken compilers, and finding out an intuition
3224 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3225 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
3226 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3228 # List of possible output files, starting from the most likely.
3229 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
3230 # only as a last resort. b.out is created by i960 compilers.
3231 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
3233 # The IRIX 6 linker writes into existing files which may not be
3234 # executable, retaining their permissions. Remove them first so a
3235 # subsequent execution test works.
3237 for ac_file in $ac_files
3240 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3241 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3246 if { (ac_try="$ac_link_default"
3248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3249 *) ac_try_echo=$ac_try;;
3251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3252 (eval "$ac_link_default") 2>&5
3254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3255 (exit $ac_status); }; then
3256 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3257 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3258 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3259 # so that the user can short-circuit this test for compilers unknown to
3261 for ac_file in $ac_files ''
3263 test -f "$ac_file" || continue
3265 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
3268 # We found the default executable, but exeext='' is most
3272 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3274 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3276 # We set ac_cv_exeext here because the later test for it is not
3277 # safe: cross compilers may not add the suffix if given an `-o'
3278 # argument, so we may need to know it at that point already.
3279 # Even if this section looks crufty: it has the advantage of
3286 test "$ac_cv_exeext" = no && ac_cv_exeext=
3292 { echo "$as_me:$LINENO: result: $ac_file" >&5
3293 echo "${ECHO_T}$ac_file" >&6; }
3294 if test -z "$ac_file"; then
3295 echo "$as_me: failed program was:" >&5
3296 sed 's/^/| /' conftest.$ac_ext >&5
3298 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3299 See \`config.log' for more details." >&5
3300 echo "$as_me: error: C compiler cannot create executables
3301 See \`config.log' for more details." >&2;}
3302 { (exit 77); exit 77; }; }
3305 ac_exeext=$ac_cv_exeext
3307 # Check that the compiler produces executables we can run. If not, either
3308 # the compiler is broken, or we cross compile.
3309 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3310 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3311 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3312 # If not cross compiling, check that we can run a simple program.
3313 if test "$cross_compiling" != yes; then
3314 if { ac_try='./$ac_file'
3315 { (case "(($ac_try" in
3316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3317 *) ac_try_echo=$ac_try;;
3319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3320 (eval "$ac_try") 2>&5
3322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3323 (exit $ac_status); }; }; then
3326 if test "$cross_compiling" = maybe; then
3329 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3330 If you meant to cross compile, use \`--host'.
3331 See \`config.log' for more details." >&5
3332 echo "$as_me: error: cannot run C compiled programs.
3333 If you meant to cross compile, use \`--host'.
3334 See \`config.log' for more details." >&2;}
3335 { (exit 1); exit 1; }; }
3339 { echo "$as_me:$LINENO: result: yes" >&5
3340 echo "${ECHO_T}yes" >&6; }
3342 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3343 ac_clean_files=$ac_clean_files_save
3344 # Check that the compiler produces executables we can run. If not, either
3345 # the compiler is broken, or we cross compile.
3346 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3347 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3348 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
3349 echo "${ECHO_T}$cross_compiling" >&6; }
3351 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
3352 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3353 if { (ac_try="$ac_link"
3355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3356 *) ac_try_echo=$ac_try;;
3358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3359 (eval "$ac_link") 2>&5
3361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3362 (exit $ac_status); }; then
3363 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3364 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3365 # work properly (i.e., refer to `conftest.exe'), while it won't with
3367 for ac_file in conftest.exe conftest conftest.*; do
3368 test -f "$ac_file" || continue
3370 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3371 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3377 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3378 See \`config.log' for more details." >&5
3379 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3380 See \`config.log' for more details." >&2;}
3381 { (exit 1); exit 1; }; }
3384 rm -f conftest$ac_cv_exeext
3385 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3386 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3388 rm -f conftest.$ac_ext
3389 EXEEXT=$ac_cv_exeext
3391 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3392 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3393 if test "${ac_cv_objext+set}" = set; then
3394 echo $ECHO_N "(cached) $ECHO_C" >&6
3396 cat >conftest.$ac_ext <<_ACEOF
3399 cat confdefs.h >>conftest.$ac_ext
3400 cat >>conftest.$ac_ext <<_ACEOF
3401 /* end confdefs.h. */
3411 rm -f conftest.o conftest.obj
3412 if { (ac_try="$ac_compile"
3414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3415 *) ac_try_echo=$ac_try;;
3417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3418 (eval "$ac_compile") 2>&5
3420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3421 (exit $ac_status); }; then
3422 for ac_file in conftest.o conftest.obj conftest.*; do
3423 test -f "$ac_file" || continue;
3425 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3426 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3431 echo "$as_me: failed program was:" >&5
3432 sed 's/^/| /' conftest.$ac_ext >&5
3434 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3435 See \`config.log' for more details." >&5
3436 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3437 See \`config.log' for more details." >&2;}
3438 { (exit 1); exit 1; }; }
3441 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3443 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3444 echo "${ECHO_T}$ac_cv_objext" >&6; }
3445 OBJEXT=$ac_cv_objext
3447 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3448 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3449 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3450 echo $ECHO_N "(cached) $ECHO_C" >&6
3452 cat >conftest.$ac_ext <<_ACEOF
3455 cat confdefs.h >>conftest.$ac_ext
3456 cat >>conftest.$ac_ext <<_ACEOF
3457 /* end confdefs.h. */
3470 rm -f conftest.$ac_objext
3471 if { (ac_try="$ac_compile"
3473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3474 *) ac_try_echo=$ac_try;;
3476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3477 (eval "$ac_compile") 2>conftest.er1
3479 grep -v '^ *+' conftest.er1 >conftest.err
3481 cat conftest.err >&5
3482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3483 (exit $ac_status); } && {
3484 test -z "$ac_c_werror_flag" ||
3485 test ! -s conftest.err
3486 } && test -s conftest.$ac_objext; then
3489 echo "$as_me: failed program was:" >&5
3490 sed 's/^/| /' conftest.$ac_ext >&5
3495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3496 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3499 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3500 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3501 GCC=`test $ac_compiler_gnu = yes && echo yes`
3502 ac_test_CFLAGS=${CFLAGS+set}
3503 ac_save_CFLAGS=$CFLAGS
3504 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3505 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3506 if test "${ac_cv_prog_cc_g+set}" = set; then
3507 echo $ECHO_N "(cached) $ECHO_C" >&6
3509 ac_save_c_werror_flag=$ac_c_werror_flag
3510 ac_c_werror_flag=yes
3513 cat >conftest.$ac_ext <<_ACEOF
3516 cat confdefs.h >>conftest.$ac_ext
3517 cat >>conftest.$ac_ext <<_ACEOF
3518 /* end confdefs.h. */
3528 rm -f conftest.$ac_objext
3529 if { (ac_try="$ac_compile"
3531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3532 *) ac_try_echo=$ac_try;;
3534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3535 (eval "$ac_compile") 2>conftest.er1
3537 grep -v '^ *+' conftest.er1 >conftest.err
3539 cat conftest.err >&5
3540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3541 (exit $ac_status); } && {
3542 test -z "$ac_c_werror_flag" ||
3543 test ! -s conftest.err
3544 } && test -s conftest.$ac_objext; then
3547 echo "$as_me: failed program was:" >&5
3548 sed 's/^/| /' conftest.$ac_ext >&5
3551 cat >conftest.$ac_ext <<_ACEOF
3554 cat confdefs.h >>conftest.$ac_ext
3555 cat >>conftest.$ac_ext <<_ACEOF
3556 /* end confdefs.h. */
3566 rm -f conftest.$ac_objext
3567 if { (ac_try="$ac_compile"
3569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3570 *) ac_try_echo=$ac_try;;
3572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&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 test -z "$ac_c_werror_flag" ||
3581 test ! -s conftest.err
3582 } && test -s conftest.$ac_objext; then
3585 echo "$as_me: failed program was:" >&5
3586 sed 's/^/| /' conftest.$ac_ext >&5
3588 ac_c_werror_flag=$ac_save_c_werror_flag
3590 cat >conftest.$ac_ext <<_ACEOF
3593 cat confdefs.h >>conftest.$ac_ext
3594 cat >>conftest.$ac_ext <<_ACEOF
3595 /* end confdefs.h. */
3605 rm -f conftest.$ac_objext
3606 if { (ac_try="$ac_compile"
3608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3609 *) ac_try_echo=$ac_try;;
3611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3612 (eval "$ac_compile") 2>conftest.er1
3614 grep -v '^ *+' conftest.er1 >conftest.err
3616 cat conftest.err >&5
3617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3618 (exit $ac_status); } && {
3619 test -z "$ac_c_werror_flag" ||
3620 test ! -s conftest.err
3621 } && test -s conftest.$ac_objext; then
3624 echo "$as_me: failed program was:" >&5
3625 sed 's/^/| /' conftest.$ac_ext >&5
3630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3637 ac_c_werror_flag=$ac_save_c_werror_flag
3639 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3640 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3641 if test "$ac_test_CFLAGS" = set; then
3642 CFLAGS=$ac_save_CFLAGS
3643 elif test $ac_cv_prog_cc_g = yes; then
3644 if test "$GCC" = yes; then
3650 if test "$GCC" = yes; then
3656 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3657 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3658 if test "${ac_cv_prog_cc_c89+set}" = set; then
3659 echo $ECHO_N "(cached) $ECHO_C" >&6
3661 ac_cv_prog_cc_c89=no
3663 cat >conftest.$ac_ext <<_ACEOF
3666 cat confdefs.h >>conftest.$ac_ext
3667 cat >>conftest.$ac_ext <<_ACEOF
3668 /* end confdefs.h. */
3671 #include <sys/types.h>
3672 #include <sys/stat.h>
3673 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3674 struct buf { int x; };
3675 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3676 static char *e (p, i)
3682 static char *f (char * (*g) (char **, int), char **p, ...)
3687 s = g (p, va_arg (v,int));
3692 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3693 function prototypes and stuff, but not '\xHH' hex character constants.
3694 These don't provoke an error unfortunately, instead are silently treated
3695 as 'x'. The following induces an error, until -std is added to get
3696 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3697 array size at least. It's necessary to write '\x00'==0 to get something
3698 that's true only with -std. */
3699 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3701 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3702 inside strings and character constants. */
3704 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3706 int test (int i, double x);
3707 struct s1 {int (*f) (int a);};
3708 struct s2 {int (*f) (double a);};
3709 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3715 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3720 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3721 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3723 CC="$ac_save_CC $ac_arg"
3724 rm -f conftest.$ac_objext
3725 if { (ac_try="$ac_compile"
3727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3728 *) ac_try_echo=$ac_try;;
3730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3731 (eval "$ac_compile") 2>conftest.er1
3733 grep -v '^ *+' conftest.er1 >conftest.err
3735 cat conftest.err >&5
3736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3737 (exit $ac_status); } && {
3738 test -z "$ac_c_werror_flag" ||
3739 test ! -s conftest.err
3740 } && test -s conftest.$ac_objext; then
3741 ac_cv_prog_cc_c89=$ac_arg
3743 echo "$as_me: failed program was:" >&5
3744 sed 's/^/| /' conftest.$ac_ext >&5
3749 rm -f core conftest.err conftest.$ac_objext
3750 test "x$ac_cv_prog_cc_c89" != "xno" && break
3752 rm -f conftest.$ac_ext
3757 case "x$ac_cv_prog_cc_c89" in
3759 { echo "$as_me:$LINENO: result: none needed" >&5
3760 echo "${ECHO_T}none needed" >&6; } ;;
3762 { echo "$as_me:$LINENO: result: unsupported" >&5
3763 echo "${ECHO_T}unsupported" >&6; } ;;
3765 CC="$CC $ac_cv_prog_cc_c89"
3766 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3767 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3772 ac_cpp='$CPP $CPPFLAGS'
3773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3777 depcc="$CC" am_compiler_list=
3779 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3780 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3781 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3782 echo $ECHO_N "(cached) $ECHO_C" >&6
3784 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3785 # We make a subdir and do the tests there. Otherwise we can end up
3786 # making bogus files that we don't know about and never remove. For
3787 # instance it was reported that on HP-UX the gcc test will end up
3788 # making a dummy file named `D' -- because `-MD' means `put the output
3791 # Copy depcomp to subdir because otherwise we won't find it if we're
3792 # using a relative directory.
3793 cp "$am_depcomp" conftest.dir
3795 # We will build objects and dependencies in a subdirectory because
3796 # it helps to detect inapplicable dependency modes. For instance
3797 # both Tru64's cc and ICC support -MD to output dependencies as a
3798 # side effect of compilation, but ICC will put the dependencies in
3799 # the current directory while Tru64 will put them in the object
3803 am_cv_CC_dependencies_compiler_type=none
3804 if test "$am_compiler_list" = ""; then
3805 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3807 for depmode in $am_compiler_list; do
3808 # Setup a source with many dependencies, because some compilers
3809 # like to wrap large dependency lists on column 80 (with \), and
3810 # we should not choose a depcomp mode which is confused by this.
3812 # We need to recreate these files for each test, as the compiler may
3813 # overwrite some of them when testing with obscure command lines.
3814 # This happens at least with the AIX C compiler.
3816 for i in 1 2 3 4 5 6; do
3817 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3818 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3819 # Solaris 8's {/usr,}/bin/sh.
3820 touch sub/conftst$i.h
3822 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3826 # after this tag, mechanisms are not by side-effect, so they'll
3827 # only be used when explicitly requested
3828 if test "x$enable_dependency_tracking" = xyes; then
3836 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3837 # mode. It turns out that the SunPro C++ compiler does not properly
3838 # handle `-M -o', and we need to detect this.
3839 if depmode=$depmode \
3840 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3841 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3842 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3843 >/dev/null 2>conftest.err &&
3844 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3845 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3846 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3847 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3848 # icc doesn't choke on unknown options, it will just issue warnings
3849 # or remarks (even with -Werror). So we grep stderr for any message
3850 # that says an option was ignored or not supported.
3851 # When given -MP, icc 7.0 and 7.1 complain thusly:
3852 # icc: Command line warning: ignoring option '-M'; no argument required
3853 # The diagnosis changed in icc 8.0:
3854 # icc: Command line remark: option '-MP' not supported
3855 if (grep 'ignoring option' conftest.err ||
3856 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3857 am_cv_CC_dependencies_compiler_type=$depmode
3866 am_cv_CC_dependencies_compiler_type=none
3870 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3871 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3872 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3875 test "x$enable_dependency_tracking" != xno \
3876 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3878 am__fastdepCC_FALSE='#'
3880 am__fastdepCC_TRUE='#'
3881 am__fastdepCC_FALSE=
3885 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3886 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
3887 if test "${ac_cv_path_SED+set}" = set; then
3888 echo $ECHO_N "(cached) $ECHO_C" >&6
3890 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3891 for ac_i in 1 2 3 4 5 6 7; do
3892 ac_script="$ac_script$as_nl$ac_script"
3894 echo "$ac_script" | sed 99q >conftest.sed
3895 $as_unset ac_script || ac_script=
3896 # Extract the first word of "sed gsed" to use in msg output
3897 if test -z "$SED"; then
3898 set dummy sed gsed; ac_prog_name=$2
3899 if test "${ac_cv_path_SED+set}" = set; then
3900 echo $ECHO_N "(cached) $ECHO_C" >&6
3902 ac_path_SED_found=false
3903 # Loop through the user's path and test for each of PROGNAME-LIST
3904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3908 test -z "$as_dir" && as_dir=.
3909 for ac_prog in sed gsed; do
3910 for ac_exec_ext in '' $ac_executable_extensions; do
3911 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3912 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3913 # Check for GNU ac_path_SED and select it if it is found.
3914 # Check for GNU $ac_path_SED
3915 case `"$ac_path_SED" --version 2>&1` in
3917 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3920 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3923 cat "conftest.in" "conftest.in" >"conftest.tmp"
3924 mv "conftest.tmp" "conftest.in"
3925 cp "conftest.in" "conftest.nl"
3926 echo '' >> "conftest.nl"
3927 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3928 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3929 ac_count=`expr $ac_count + 1`
3930 if test $ac_count -gt ${ac_path_SED_max-0}; then
3931 # Best one so far, save it but keep looking for a better one
3932 ac_cv_path_SED="$ac_path_SED"
3933 ac_path_SED_max=$ac_count
3935 # 10*(2^10) chars as input seems more than enough
3936 test $ac_count -gt 10 && break
3938 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3942 $ac_path_SED_found && break 3
3952 SED="$ac_cv_path_SED"
3953 if test -z "$SED"; then
3954 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
3955 echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
3956 { (exit 1); exit 1; }; }
3964 { echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
3965 echo "${ECHO_T}$ac_cv_path_SED" >&6; }
3966 SED="$ac_cv_path_SED"
3969 test -z "$SED" && SED=sed
3970 Xsed="$SED -e 1s/^X//"
3982 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3983 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3984 if test "${ac_cv_path_GREP+set}" = set; then
3985 echo $ECHO_N "(cached) $ECHO_C" >&6
3987 # Extract the first word of "grep ggrep" to use in msg output
3988 if test -z "$GREP"; then
3989 set dummy grep ggrep; ac_prog_name=$2
3990 if test "${ac_cv_path_GREP+set}" = set; then
3991 echo $ECHO_N "(cached) $ECHO_C" >&6
3993 ac_path_GREP_found=false
3994 # Loop through the user's path and test for each of PROGNAME-LIST
3995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3996 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3999 test -z "$as_dir" && as_dir=.
4000 for ac_prog in grep ggrep; do
4001 for ac_exec_ext in '' $ac_executable_extensions; do
4002 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4003 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4004 # Check for GNU ac_path_GREP and select it if it is found.
4005 # Check for GNU $ac_path_GREP
4006 case `"$ac_path_GREP" --version 2>&1` in
4008 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4011 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4014 cat "conftest.in" "conftest.in" >"conftest.tmp"
4015 mv "conftest.tmp" "conftest.in"
4016 cp "conftest.in" "conftest.nl"
4017 echo 'GREP' >> "conftest.nl"
4018 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4019 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4020 ac_count=`expr $ac_count + 1`
4021 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4022 # Best one so far, save it but keep looking for a better one
4023 ac_cv_path_GREP="$ac_path_GREP"
4024 ac_path_GREP_max=$ac_count
4026 # 10*(2^10) chars as input seems more than enough
4027 test $ac_count -gt 10 && break
4029 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4033 $ac_path_GREP_found && break 3
4043 GREP="$ac_cv_path_GREP"
4044 if test -z "$GREP"; then
4045 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4046 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4047 { (exit 1); exit 1; }; }
4051 ac_cv_path_GREP=$GREP
4056 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4057 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4058 GREP="$ac_cv_path_GREP"
4061 { echo "$as_me:$LINENO: checking for egrep" >&5
4062 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4063 if test "${ac_cv_path_EGREP+set}" = set; then
4064 echo $ECHO_N "(cached) $ECHO_C" >&6
4066 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4067 then ac_cv_path_EGREP="$GREP -E"
4069 # Extract the first word of "egrep" to use in msg output
4070 if test -z "$EGREP"; then
4071 set dummy egrep; ac_prog_name=$2
4072 if test "${ac_cv_path_EGREP+set}" = set; then
4073 echo $ECHO_N "(cached) $ECHO_C" >&6
4075 ac_path_EGREP_found=false
4076 # Loop through the user's path and test for each of PROGNAME-LIST
4077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4078 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4081 test -z "$as_dir" && as_dir=.
4082 for ac_prog in egrep; do
4083 for ac_exec_ext in '' $ac_executable_extensions; do
4084 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4085 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4086 # Check for GNU ac_path_EGREP and select it if it is found.
4087 # Check for GNU $ac_path_EGREP
4088 case `"$ac_path_EGREP" --version 2>&1` in
4090 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4093 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4096 cat "conftest.in" "conftest.in" >"conftest.tmp"
4097 mv "conftest.tmp" "conftest.in"
4098 cp "conftest.in" "conftest.nl"
4099 echo 'EGREP' >> "conftest.nl"
4100 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4101 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4102 ac_count=`expr $ac_count + 1`
4103 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4104 # Best one so far, save it but keep looking for a better one
4105 ac_cv_path_EGREP="$ac_path_EGREP"
4106 ac_path_EGREP_max=$ac_count
4108 # 10*(2^10) chars as input seems more than enough
4109 test $ac_count -gt 10 && break
4111 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4115 $ac_path_EGREP_found && break 3
4125 EGREP="$ac_cv_path_EGREP"
4126 if test -z "$EGREP"; then
4127 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4128 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4129 { (exit 1); exit 1; }; }
4133 ac_cv_path_EGREP=$EGREP
4139 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4140 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4141 EGREP="$ac_cv_path_EGREP"
4144 { echo "$as_me:$LINENO: checking for fgrep" >&5
4145 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6; }
4146 if test "${ac_cv_path_FGREP+set}" = set; then
4147 echo $ECHO_N "(cached) $ECHO_C" >&6
4149 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4150 then ac_cv_path_FGREP="$GREP -F"
4152 # Extract the first word of "fgrep" to use in msg output
4153 if test -z "$FGREP"; then
4154 set dummy fgrep; ac_prog_name=$2
4155 if test "${ac_cv_path_FGREP+set}" = set; then
4156 echo $ECHO_N "(cached) $ECHO_C" >&6
4158 ac_path_FGREP_found=false
4159 # Loop through the user's path and test for each of PROGNAME-LIST
4160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4161 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4164 test -z "$as_dir" && as_dir=.
4165 for ac_prog in fgrep; do
4166 for ac_exec_ext in '' $ac_executable_extensions; do
4167 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4168 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4169 # Check for GNU ac_path_FGREP and select it if it is found.
4170 # Check for GNU $ac_path_FGREP
4171 case `"$ac_path_FGREP" --version 2>&1` in
4173 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4176 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4179 cat "conftest.in" "conftest.in" >"conftest.tmp"
4180 mv "conftest.tmp" "conftest.in"
4181 cp "conftest.in" "conftest.nl"
4182 echo 'FGREP' >> "conftest.nl"
4183 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4184 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4185 ac_count=`expr $ac_count + 1`
4186 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4187 # Best one so far, save it but keep looking for a better one
4188 ac_cv_path_FGREP="$ac_path_FGREP"
4189 ac_path_FGREP_max=$ac_count
4191 # 10*(2^10) chars as input seems more than enough
4192 test $ac_count -gt 10 && break
4194 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4198 $ac_path_FGREP_found && break 3
4208 FGREP="$ac_cv_path_FGREP"
4209 if test -z "$FGREP"; then
4210 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4211 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4212 { (exit 1); exit 1; }; }
4216 ac_cv_path_FGREP=$FGREP
4222 { echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
4223 echo "${ECHO_T}$ac_cv_path_FGREP" >&6; }
4224 FGREP="$ac_cv_path_FGREP"
4227 test -z "$GREP" && GREP=grep
4247 # Check whether --with-gnu-ld was given.
4248 if test "${with_gnu_ld+set}" = set; then
4249 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4255 if test "$GCC" = yes; then
4256 # Check if gcc -print-prog-name=ld gives a path.
4257 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4258 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
4261 # gcc leaves a trailing carriage return which upsets mingw
4262 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4264 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4267 # Accept absolute paths.
4269 re_direlt='/[^/][^/]*/\.\./'
4270 # Canonicalize the pathname of ld
4271 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4272 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4273 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4275 test -z "$LD" && LD="$ac_prog"
4278 # If it fails, then pretend we aren't using GCC.
4282 # If it is relative, then search for the first ld in PATH.
4286 elif test "$with_gnu_ld" = yes; then
4287 { echo "$as_me:$LINENO: checking for GNU ld" >&5
4288 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
4290 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4291 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
4293 if test "${lt_cv_path_LD+set}" = set; then
4294 echo $ECHO_N "(cached) $ECHO_C" >&6
4296 if test -z "$LD"; then
4297 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4298 for ac_dir in $PATH; do
4300 test -z "$ac_dir" && ac_dir=.
4301 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4302 lt_cv_path_LD="$ac_dir/$ac_prog"
4303 # Check to see if the program is GNU ld. I'd rather use --version,
4304 # but apparently some variants of GNU ld only accept -v.
4305 # Break only if it was the GNU/non-GNU ld that we prefer.
4306 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4307 *GNU* | *'with BFD'*)
4308 test "$with_gnu_ld" != no && break
4311 test "$with_gnu_ld" != yes && break
4318 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4323 if test -n "$LD"; then
4324 { echo "$as_me:$LINENO: result: $LD" >&5
4325 echo "${ECHO_T}$LD" >&6; }
4327 { echo "$as_me:$LINENO: result: no" >&5
4328 echo "${ECHO_T}no" >&6; }
4330 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4331 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4332 { (exit 1); exit 1; }; }
4333 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4334 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4335 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4336 echo $ECHO_N "(cached) $ECHO_C" >&6
4338 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4339 case `$LD -v 2>&1 </dev/null` in
4340 *GNU* | *'with BFD'*)
4341 lt_cv_prog_gnu_ld=yes
4344 lt_cv_prog_gnu_ld=no
4348 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4349 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4350 with_gnu_ld=$lt_cv_prog_gnu_ld
4360 { echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4361 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6; }
4362 if test "${lt_cv_path_NM+set}" = set; then
4363 echo $ECHO_N "(cached) $ECHO_C" >&6
4365 if test -n "$NM"; then
4366 # Let the user override the test.
4369 lt_nm_to_check="${ac_tool_prefix}nm"
4370 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4371 lt_nm_to_check="$lt_nm_to_check nm"
4373 for lt_tmp_nm in $lt_nm_to_check; do
4374 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4375 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4377 test -z "$ac_dir" && ac_dir=.
4378 tmp_nm="$ac_dir/$lt_tmp_nm"
4379 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4380 # Check to see if the nm accepts a BSD-compat flag.
4381 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4382 # nm: unknown option "B" ignored
4383 # Tru64's nm complains that /dev/null is an invalid object file
4384 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4385 */dev/null* | *'Invalid file or object type'*)
4386 lt_cv_path_NM="$tmp_nm -B"
4390 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4392 lt_cv_path_NM="$tmp_nm -p"
4396 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4397 continue # so that we can try to find one that supports BSD flags
4406 : ${lt_cv_path_NM=no}
4409 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4410 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4411 if test "$lt_cv_path_NM" != "no"; then
4414 # Didn't find any BSD compatible name lister, look for dumpbin.
4415 if test -n "$DUMPBIN"; then :
4416 # Let the user override the test.
4418 if test -n "$ac_tool_prefix"; then
4419 for ac_prog in dumpbin "link -dump"
4421 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4422 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4423 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4424 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4425 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4426 echo $ECHO_N "(cached) $ECHO_C" >&6
4428 if test -n "$DUMPBIN"; then
4429 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4435 test -z "$as_dir" && as_dir=.
4436 for ac_exec_ext in '' $ac_executable_extensions; do
4437 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4438 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4439 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4448 DUMPBIN=$ac_cv_prog_DUMPBIN
4449 if test -n "$DUMPBIN"; then
4450 { echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4451 echo "${ECHO_T}$DUMPBIN" >&6; }
4453 { echo "$as_me:$LINENO: result: no" >&5
4454 echo "${ECHO_T}no" >&6; }
4458 test -n "$DUMPBIN" && break
4461 if test -z "$DUMPBIN"; then
4462 ac_ct_DUMPBIN=$DUMPBIN
4463 for ac_prog in dumpbin "link -dump"
4465 # Extract the first word of "$ac_prog", so it can be a program name with args.
4466 set dummy $ac_prog; ac_word=$2
4467 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4468 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4469 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4470 echo $ECHO_N "(cached) $ECHO_C" >&6
4472 if test -n "$ac_ct_DUMPBIN"; then
4473 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4479 test -z "$as_dir" && as_dir=.
4480 for ac_exec_ext in '' $ac_executable_extensions; do
4481 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4482 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4483 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4492 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4493 if test -n "$ac_ct_DUMPBIN"; then
4494 { echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4495 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6; }
4497 { echo "$as_me:$LINENO: result: no" >&5
4498 echo "${ECHO_T}no" >&6; }
4502 test -n "$ac_ct_DUMPBIN" && break
4505 if test "x$ac_ct_DUMPBIN" = x; then
4508 case $cross_compiling:$ac_tool_warned in
4510 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4511 whose name does not start with the host triplet. If you think this
4512 configuration is useful to you, please write to autoconf@gnu.org." >&5
4513 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4514 whose name does not start with the host triplet. If you think this
4515 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4516 ac_tool_warned=yes ;;
4518 DUMPBIN=$ac_ct_DUMPBIN
4522 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4524 DUMPBIN="$DUMPBIN -symbols"
4532 if test "$DUMPBIN" != ":"; then
4536 test -z "$NM" && NM=nm
4543 { echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4544 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6; }
4545 if test "${lt_cv_nm_interface+set}" = set; then
4546 echo $ECHO_N "(cached) $ECHO_C" >&6
4548 lt_cv_nm_interface="BSD nm"
4549 echo "int some_variable = 0;" > conftest.$ac_ext
4550 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4551 (eval "$ac_compile" 2>conftest.err)
4552 cat conftest.err >&5
4553 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4554 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4555 cat conftest.err >&5
4556 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4557 cat conftest.out >&5
4558 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4559 lt_cv_nm_interface="MS dumpbin"
4563 { echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4564 echo "${ECHO_T}$lt_cv_nm_interface" >&6; }
4566 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
4567 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4569 if test "$LN_S" = "ln -s"; then
4570 { echo "$as_me:$LINENO: result: yes" >&5
4571 echo "${ECHO_T}yes" >&6; }
4573 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4574 echo "${ECHO_T}no, using $LN_S" >&6; }
4577 # find the maximum length of command line arguments
4578 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4579 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
4580 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4581 echo $ECHO_N "(cached) $ECHO_C" >&6
4588 # On DJGPP, this test can blow up pretty badly due to problems in libc
4589 # (any single argument exceeding 2000 bytes causes a buffer overrun
4590 # during glob expansion). Even if it were fixed, the result of this
4591 # check would be larger than it should be.
4592 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4596 # Under GNU Hurd, this test is not required because there is
4597 # no limit to the length of command line arguments.
4598 # Libtool will interpret -1 as no limit whatsoever
4599 lt_cv_sys_max_cmd_len=-1;
4602 cygwin* | mingw* | cegcc*)
4603 # On Win9x/ME, this test blows up -- it succeeds, but takes
4604 # about 5 minutes as the teststring grows exponentially.
4605 # Worse, since 9x/ME are not pre-emptively multitasking,
4606 # you end up with a "frozen" computer, even though with patience
4607 # the test eventually succeeds (with a max line length of 256k).
4608 # Instead, let's just punt: use the minimum linelength reported by
4609 # all of the supported platforms: 8192 (on NT/2K/XP).
4610 lt_cv_sys_max_cmd_len=8192;
4614 # On MiNT this can take a long time and run out of memory.
4615 lt_cv_sys_max_cmd_len=8192;
4619 # On AmigaOS with pdksh, this test takes hours, literally.
4620 # So we just punt and use a minimum line length of 8192.
4621 lt_cv_sys_max_cmd_len=8192;
4624 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4625 # This has been around since 386BSD, at least. Likely further.
4626 if test -x /sbin/sysctl; then
4627 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4628 elif test -x /usr/sbin/sysctl; then
4629 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4631 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4633 # And add a safety zone
4634 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4635 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4639 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4640 lt_cv_sys_max_cmd_len=196608
4644 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4645 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4646 # nice to cause kernel panics so lets avoid the loop below.
4647 # First set a reasonable default.
4648 lt_cv_sys_max_cmd_len=16384
4650 if test -x /sbin/sysconfig; then
4651 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4652 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4657 lt_cv_sys_max_cmd_len=102400
4659 sysv5* | sco5v6* | sysv4.2uw2*)
4660 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4661 if test -n "$kargmax"; then
4662 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4664 lt_cv_sys_max_cmd_len=32768
4668 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4669 if test -n "$lt_cv_sys_max_cmd_len"; then
4670 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4671 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4673 # Make teststring a little bigger before we do anything with it.
4674 # a 1K string should be a reasonable start.
4675 for i in 1 2 3 4 5 6 7 8 ; do
4676 teststring=$teststring$teststring
4678 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4679 # If test is not a shell built-in, we'll probably end up computing a
4680 # maximum length that is only half of the actual maximum length, but
4682 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
4683 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4684 test $i != 17 # 1/2 MB should be enough
4687 teststring=$teststring$teststring
4689 # Only check the string length outside the loop.
4690 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4692 # Add a significant safety factor because C++ compilers can tack on
4693 # massive amounts of additional arguments before passing them to the
4694 # linker. It appears as though 1/2 is a usable value.
4695 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4702 if test -n $lt_cv_sys_max_cmd_len ; then
4703 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4704 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
4706 { echo "$as_me:$LINENO: result: none" >&5
4707 echo "${ECHO_T}none" >&6; }
4709 max_cmd_len=$lt_cv_sys_max_cmd_len
4720 { echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4721 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6; }
4722 # Try some XSI features
4725 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4727 && eval 'test $(( 1 + 1 )) -eq 2 \
4728 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4730 { echo "$as_me:$LINENO: result: $xsi_shell" >&5
4731 echo "${ECHO_T}$xsi_shell" >&6; }
4734 { echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
4735 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6; }
4737 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4739 && lt_shell_append=yes
4740 { echo "$as_me:$LINENO: result: $lt_shell_append" >&5
4741 echo "${ECHO_T}$lt_shell_append" >&6; }
4744 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4754 # test EBCDIC or ASCII
4755 case `echo X|tr X '\101'` in
4756 A) # ASCII based system
4757 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4758 lt_SP2NL='tr \040 \012'
4759 lt_NL2SP='tr \015\012 \040\040'
4761 *) # EBCDIC based system
4762 lt_SP2NL='tr \100 \n'
4763 lt_NL2SP='tr \r\n \100\100'
4775 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4776 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4777 if test "${lt_cv_ld_reload_flag+set}" = set; then
4778 echo $ECHO_N "(cached) $ECHO_C" >&6
4780 lt_cv_ld_reload_flag='-r'
4782 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4783 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4784 reload_flag=$lt_cv_ld_reload_flag
4785 case $reload_flag in
4787 *) reload_flag=" $reload_flag" ;;
4789 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4792 if test "$GCC" = yes; then
4793 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4795 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4808 if test -n "$ac_tool_prefix"; then
4809 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4810 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4811 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4812 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4813 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
4814 echo $ECHO_N "(cached) $ECHO_C" >&6
4816 if test -n "$OBJDUMP"; then
4817 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4823 test -z "$as_dir" && as_dir=.
4824 for ac_exec_ext in '' $ac_executable_extensions; do
4825 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4826 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4836 OBJDUMP=$ac_cv_prog_OBJDUMP
4837 if test -n "$OBJDUMP"; then
4838 { echo "$as_me:$LINENO: result: $OBJDUMP" >&5
4839 echo "${ECHO_T}$OBJDUMP" >&6; }
4841 { echo "$as_me:$LINENO: result: no" >&5
4842 echo "${ECHO_T}no" >&6; }
4847 if test -z "$ac_cv_prog_OBJDUMP"; then
4848 ac_ct_OBJDUMP=$OBJDUMP
4849 # Extract the first word of "objdump", so it can be a program name with args.
4850 set dummy objdump; ac_word=$2
4851 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4852 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4853 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
4854 echo $ECHO_N "(cached) $ECHO_C" >&6
4856 if test -n "$ac_ct_OBJDUMP"; then
4857 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4863 test -z "$as_dir" && as_dir=.
4864 for ac_exec_ext in '' $ac_executable_extensions; do
4865 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4866 ac_cv_prog_ac_ct_OBJDUMP="objdump"
4867 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4876 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4877 if test -n "$ac_ct_OBJDUMP"; then
4878 { echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
4879 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6; }
4881 { echo "$as_me:$LINENO: result: no" >&5
4882 echo "${ECHO_T}no" >&6; }
4885 if test "x$ac_ct_OBJDUMP" = x; then
4888 case $cross_compiling:$ac_tool_warned in
4890 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4891 whose name does not start with the host triplet. If you think this
4892 configuration is useful to you, please write to autoconf@gnu.org." >&5
4893 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4894 whose name does not start with the host triplet. If you think this
4895 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4896 ac_tool_warned=yes ;;
4898 OBJDUMP=$ac_ct_OBJDUMP
4901 OBJDUMP="$ac_cv_prog_OBJDUMP"
4904 test -z "$OBJDUMP" && OBJDUMP=objdump
4911 { echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4912 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
4913 if test "${lt_cv_deplibs_check_method+set}" = set; then
4914 echo $ECHO_N "(cached) $ECHO_C" >&6
4916 lt_cv_file_magic_cmd='$MAGIC_CMD'
4917 lt_cv_file_magic_test_file=
4918 lt_cv_deplibs_check_method='unknown'
4919 # Need to set the preceding variable on all platforms that support
4920 # interlibrary dependencies.
4921 # 'none' -- dependencies not supported.
4922 # `unknown' -- same as none, but documents that we really don't know.
4923 # 'pass_all' -- all dependencies passed with no checks.
4924 # 'test_compile' -- check by making test program.
4925 # 'file_magic [[regex]]' -- check by looking for files in library path
4926 # which responds to the $file_magic_cmd with a given extended regex.
4927 # If you have `file' or equivalent on your system and you're not sure
4928 # whether `pass_all' will *always* work, you probably want this one.
4932 lt_cv_deplibs_check_method=pass_all
4936 lt_cv_deplibs_check_method=pass_all
4940 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4941 lt_cv_file_magic_cmd='/usr/bin/file -L'
4942 lt_cv_file_magic_test_file=/shlib/libc.so
4946 # func_win32_libid is a shell function defined in ltmain.sh
4947 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4948 lt_cv_file_magic_cmd='func_win32_libid'
4952 # Base MSYS/MinGW do not provide the 'file' command needed by
4953 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4954 # unless we find 'file', for example because we are cross-compiling.
4955 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
4956 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
4957 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4958 lt_cv_file_magic_cmd='func_win32_libid'
4960 # Keep this pattern in sync with the one in func_win32_libid.
4961 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
4962 lt_cv_file_magic_cmd='$OBJDUMP -f'
4967 # use the weaker test based on 'objdump'. See mingw*.
4968 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4969 lt_cv_file_magic_cmd='$OBJDUMP -f'
4972 darwin* | rhapsody*)
4973 lt_cv_deplibs_check_method=pass_all
4976 freebsd* | dragonfly*)
4977 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4980 # Not sure whether the presence of OpenBSD here was a mistake.
4981 # Let's accept both of them until this is cleared up.
4982 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4983 lt_cv_file_magic_cmd=/usr/bin/file
4984 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4988 lt_cv_deplibs_check_method=pass_all
4993 lt_cv_deplibs_check_method=pass_all
4997 lt_cv_deplibs_check_method=pass_all
5000 hpux10.20* | hpux11*)
5001 lt_cv_file_magic_cmd=/usr/bin/file
5004 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5005 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5008 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
5009 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5012 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5013 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5019 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5020 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5023 irix5* | irix6* | nonstopux*)
5025 *-32|*"-32 ") libmagic=32-bit;;
5026 *-n32|*"-n32 ") libmagic=N32;;
5027 *-64|*"-64 ") libmagic=64-bit;;
5028 *) libmagic=never-match;;
5030 lt_cv_deplibs_check_method=pass_all
5033 # This must be Linux ELF.
5034 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5035 lt_cv_deplibs_check_method=pass_all
5039 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5040 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5042 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5047 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5048 lt_cv_file_magic_cmd=/usr/bin/file
5049 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5053 lt_cv_deplibs_check_method=pass_all
5057 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5058 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5060 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5064 osf3* | osf4* | osf5*)
5065 lt_cv_deplibs_check_method=pass_all
5069 lt_cv_deplibs_check_method=pass_all
5073 lt_cv_deplibs_check_method=pass_all
5076 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5077 lt_cv_deplibs_check_method=pass_all
5081 case $host_vendor in
5083 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]'
5084 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5087 lt_cv_deplibs_check_method=pass_all
5090 lt_cv_file_magic_cmd='/bin/file'
5091 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5094 lt_cv_file_magic_cmd='/bin/file'
5095 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5096 lt_cv_file_magic_test_file=/lib/libc.so
5099 lt_cv_deplibs_check_method=pass_all
5102 lt_cv_deplibs_check_method=pass_all
5108 lt_cv_deplibs_check_method=pass_all
5113 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5114 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
5115 file_magic_cmd=$lt_cv_file_magic_cmd
5116 deplibs_check_method=$lt_cv_deplibs_check_method
5117 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5130 if test -n "$ac_tool_prefix"; then
5131 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5132 set dummy ${ac_tool_prefix}ar; ac_word=$2
5133 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5134 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5135 if test "${ac_cv_prog_AR+set}" = set; then
5136 echo $ECHO_N "(cached) $ECHO_C" >&6
5138 if test -n "$AR"; then
5139 ac_cv_prog_AR="$AR" # Let the user override the test.
5141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5145 test -z "$as_dir" && as_dir=.
5146 for ac_exec_ext in '' $ac_executable_extensions; do
5147 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5148 ac_cv_prog_AR="${ac_tool_prefix}ar"
5149 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5159 if test -n "$AR"; then
5160 { echo "$as_me:$LINENO: result: $AR" >&5
5161 echo "${ECHO_T}$AR" >&6; }
5163 { echo "$as_me:$LINENO: result: no" >&5
5164 echo "${ECHO_T}no" >&6; }
5169 if test -z "$ac_cv_prog_AR"; then
5171 # Extract the first word of "ar", so it can be a program name with args.
5172 set dummy ar; ac_word=$2
5173 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5174 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5175 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5176 echo $ECHO_N "(cached) $ECHO_C" >&6
5178 if test -n "$ac_ct_AR"; then
5179 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5185 test -z "$as_dir" && as_dir=.
5186 for ac_exec_ext in '' $ac_executable_extensions; do
5187 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5188 ac_cv_prog_ac_ct_AR="ar"
5189 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5198 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5199 if test -n "$ac_ct_AR"; then
5200 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5201 echo "${ECHO_T}$ac_ct_AR" >&6; }
5203 { echo "$as_me:$LINENO: result: no" >&5
5204 echo "${ECHO_T}no" >&6; }
5207 if test "x$ac_ct_AR" = x; then
5210 case $cross_compiling:$ac_tool_warned in
5212 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5213 whose name does not start with the host triplet. If you think this
5214 configuration is useful to you, please write to autoconf@gnu.org." >&5
5215 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5216 whose name does not start with the host triplet. If you think this
5217 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5218 ac_tool_warned=yes ;;
5226 test -z "$AR" && AR=ar
5227 test -z "$AR_FLAGS" && AR_FLAGS=cru
5239 if test -n "$ac_tool_prefix"; then
5240 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5241 set dummy ${ac_tool_prefix}strip; ac_word=$2
5242 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5244 if test "${ac_cv_prog_STRIP+set}" = set; then
5245 echo $ECHO_N "(cached) $ECHO_C" >&6
5247 if test -n "$STRIP"; then
5248 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5254 test -z "$as_dir" && as_dir=.
5255 for ac_exec_ext in '' $ac_executable_extensions; do
5256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5257 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5258 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5267 STRIP=$ac_cv_prog_STRIP
5268 if test -n "$STRIP"; then
5269 { echo "$as_me:$LINENO: result: $STRIP" >&5
5270 echo "${ECHO_T}$STRIP" >&6; }
5272 { echo "$as_me:$LINENO: result: no" >&5
5273 echo "${ECHO_T}no" >&6; }
5278 if test -z "$ac_cv_prog_STRIP"; then
5280 # Extract the first word of "strip", so it can be a program name with args.
5281 set dummy strip; ac_word=$2
5282 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5283 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5284 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5285 echo $ECHO_N "(cached) $ECHO_C" >&6
5287 if test -n "$ac_ct_STRIP"; then
5288 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5294 test -z "$as_dir" && as_dir=.
5295 for ac_exec_ext in '' $ac_executable_extensions; do
5296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5297 ac_cv_prog_ac_ct_STRIP="strip"
5298 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5307 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5308 if test -n "$ac_ct_STRIP"; then
5309 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5310 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5312 { echo "$as_me:$LINENO: result: no" >&5
5313 echo "${ECHO_T}no" >&6; }
5316 if test "x$ac_ct_STRIP" = x; then
5319 case $cross_compiling:$ac_tool_warned in
5321 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5322 whose name does not start with the host triplet. If you think this
5323 configuration is useful to you, please write to autoconf@gnu.org." >&5
5324 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5325 whose name does not start with the host triplet. If you think this
5326 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5327 ac_tool_warned=yes ;;
5332 STRIP="$ac_cv_prog_STRIP"
5335 test -z "$STRIP" && STRIP=:
5342 if test -n "$ac_tool_prefix"; then
5343 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5344 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5345 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5346 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5347 if test "${ac_cv_prog_RANLIB+set}" = set; then
5348 echo $ECHO_N "(cached) $ECHO_C" >&6
5350 if test -n "$RANLIB"; then
5351 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5357 test -z "$as_dir" && as_dir=.
5358 for ac_exec_ext in '' $ac_executable_extensions; do
5359 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5360 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5361 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5370 RANLIB=$ac_cv_prog_RANLIB
5371 if test -n "$RANLIB"; then
5372 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5373 echo "${ECHO_T}$RANLIB" >&6; }
5375 { echo "$as_me:$LINENO: result: no" >&5
5376 echo "${ECHO_T}no" >&6; }
5381 if test -z "$ac_cv_prog_RANLIB"; then
5382 ac_ct_RANLIB=$RANLIB
5383 # Extract the first word of "ranlib", so it can be a program name with args.
5384 set dummy ranlib; ac_word=$2
5385 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5386 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5387 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5388 echo $ECHO_N "(cached) $ECHO_C" >&6
5390 if test -n "$ac_ct_RANLIB"; then
5391 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5397 test -z "$as_dir" && as_dir=.
5398 for ac_exec_ext in '' $ac_executable_extensions; do
5399 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5400 ac_cv_prog_ac_ct_RANLIB="ranlib"
5401 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5410 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5411 if test -n "$ac_ct_RANLIB"; then
5412 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5413 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5415 { echo "$as_me:$LINENO: result: no" >&5
5416 echo "${ECHO_T}no" >&6; }
5419 if test "x$ac_ct_RANLIB" = x; then
5422 case $cross_compiling:$ac_tool_warned in
5424 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5425 whose name does not start with the host triplet. If you think this
5426 configuration is useful to you, please write to autoconf@gnu.org." >&5
5427 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5428 whose name does not start with the host triplet. If you think this
5429 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5430 ac_tool_warned=yes ;;
5432 RANLIB=$ac_ct_RANLIB
5435 RANLIB="$ac_cv_prog_RANLIB"
5438 test -z "$RANLIB" && RANLIB=:
5445 # Determine commands to create old-style static archives.
5446 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5447 old_postinstall_cmds='chmod 644 $oldlib'
5448 old_postuninstall_cmds=
5450 if test -n "$RANLIB"; then
5453 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5456 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5459 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5464 lock_old_archive_extraction=yes ;;
5466 lock_old_archive_extraction=no ;;
5507 # If no C compiler was specified, use CC.
5510 # If no C compiler flags were specified, use CFLAGS.
5511 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5513 # Allow CC to be a program name with arguments.
5517 # Check for command to grab the raw symbol name followed by C symbol from nm.
5518 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5519 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
5520 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5521 echo $ECHO_N "(cached) $ECHO_C" >&6
5524 # These are sane defaults that work on at least a few old systems.
5525 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5527 # Character class describing NM global symbol codes.
5528 symcode='[BCDEGRST]'
5530 # Regexp to match symbols that can be accessed directly from C.
5531 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5533 # Define system-specific variables.
5538 cygwin* | mingw* | pw32* | cegcc*)
5539 symcode='[ABCDGISTW]'
5542 if test "$host_cpu" = ia64; then
5543 symcode='[ABCDEGRST]'
5547 symcode='[BCDEGRST]'
5550 symcode='[BCDEGQRST]'
5561 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5569 # If we're using GNU nm, then use its standard symbol codes.
5570 case `$NM -V 2>&1` in
5571 *GNU* | *'with BFD'*)
5572 symcode='[ABCDGIRSTW]' ;;
5575 # Transform an extracted symbol line into a proper C declaration.
5576 # Some systems (esp. on ia64) link data and code symbols differently,
5577 # so use this general approach.
5578 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5580 # Transform an extracted symbol line into symbol name and symbol address
5581 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5582 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
5584 # Handle CRLF in mingw tool chain
5588 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5592 # Try without a prefix underscore, then with it.
5593 for ac_symprfx in "" "_"; do
5595 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5596 symxfrm="\\1 $ac_symprfx\\2 \\2"
5598 # Write the raw and C identifiers.
5599 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5600 # Fake it for dumpbin and say T for any non-static function
5601 # and D for any global variable.
5602 # Also find C++ and __fastcall symbols from MSVC++,
5603 # which start with @ or ?.
5604 lt_cv_sys_global_symbol_pipe="$AWK '"\
5605 " {last_section=section; section=\$ 3};"\
5606 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5607 " \$ 0!~/External *\|/{next};"\
5608 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5609 " {if(hide[section]) next};"\
5610 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5611 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5612 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5613 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5614 " ' prfx=^$ac_symprfx"
5616 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5619 # Check to see that the pipe works correctly.
5623 cat > conftest.$ac_ext <<_LT_EOF
5628 void nm_test_func(void);
5629 void nm_test_func(void){}
5633 int main(){nm_test_var='a';nm_test_func();return(0);}
5636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5637 (eval $ac_compile) 2>&5
5639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5640 (exit $ac_status); }; then
5641 # Now try to grab the symbols.
5643 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\"") >&5
5644 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
5646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5647 (exit $ac_status); } && test -s "$nlist"; then
5648 # Try sorting and uniquifying the output.
5649 if sort "$nlist" | uniq > "$nlist"T; then
5650 mv -f "$nlist"T "$nlist"
5655 # Make sure that we snagged all the symbols we need.
5656 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5657 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5658 cat <<_LT_EOF > conftest.$ac_ext
5664 # Now generate the symbol file.
5665 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5667 cat <<_LT_EOF >> conftest.$ac_ext
5669 /* The mapping between symbol names and symbols. */
5674 lt__PROGRAM__LTX_preloaded_symbols[] =
5676 { "@PROGRAM@", (void *) 0 },
5678 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5679 cat <<\_LT_EOF >> conftest.$ac_ext
5683 /* This works around a problem in FreeBSD linker */
5684 #ifdef FREEBSD_WORKAROUND
5685 static const void *lt_preloaded_setup() {
5686 return lt__PROGRAM__LTX_preloaded_symbols;
5694 # Now try linking the two files.
5695 mv conftest.$ac_objext conftstm.$ac_objext
5696 lt_save_LIBS="$LIBS"
5697 lt_save_CFLAGS="$CFLAGS"
5698 LIBS="conftstm.$ac_objext"
5699 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5701 (eval $ac_link) 2>&5
5703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5704 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5707 LIBS="$lt_save_LIBS"
5708 CFLAGS="$lt_save_CFLAGS"
5710 echo "cannot find nm_test_func in $nlist" >&5
5713 echo "cannot find nm_test_var in $nlist" >&5
5716 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5719 echo "$progname: failed program was:" >&5
5720 cat conftest.$ac_ext >&5
5722 rm -rf conftest* conftst*
5724 # Do not use the global_symbol_pipe unless it works.
5725 if test "$pipe_works" = yes; then
5728 lt_cv_sys_global_symbol_pipe=
5734 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5735 lt_cv_sys_global_symbol_to_cdecl=
5737 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5738 { echo "$as_me:$LINENO: result: failed" >&5
5739 echo "${ECHO_T}failed" >&6; }
5741 { echo "$as_me:$LINENO: result: ok" >&5
5742 echo "${ECHO_T}ok" >&6; }
5767 # Check whether --enable-libtool-lock was given.
5768 if test "${enable_libtool_lock+set}" = set; then
5769 enableval=$enable_libtool_lock;
5772 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5774 # Some flags need to be propagated to the compiler or linker for good
5778 # Find out which ABI we are using.
5779 echo 'int i;' > conftest.$ac_ext
5780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5781 (eval $ac_compile) 2>&5
5783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5784 (exit $ac_status); }; then
5785 case `/usr/bin/file conftest.$ac_objext` in
5797 # Find out which ABI we are using.
5798 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
5799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5800 (eval $ac_compile) 2>&5
5802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5803 (exit $ac_status); }; then
5804 if test "$lt_cv_prog_gnu_ld" = yes; then
5805 case `/usr/bin/file conftest.$ac_objext` in
5807 LD="${LD-ld} -melf32bsmip"
5810 LD="${LD-ld} -melf32bmipn32"
5813 LD="${LD-ld} -melf64bmip"
5817 case `/usr/bin/file conftest.$ac_objext` in
5833 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5834 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5835 # Find out which ABI we are using.
5836 echo 'int i;' > conftest.$ac_ext
5837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5838 (eval $ac_compile) 2>&5
5840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5841 (exit $ac_status); }; then
5842 case `/usr/bin/file conftest.o` in
5845 x86_64-*kfreebsd*-gnu)
5846 LD="${LD-ld} -m elf_i386_fbsd"
5849 LD="${LD-ld} -m elf_i386"
5851 ppc64-*linux*|powerpc64-*linux*)
5852 LD="${LD-ld} -m elf32ppclinux"
5855 LD="${LD-ld} -m elf_s390"
5858 LD="${LD-ld} -m elf32_sparc"
5864 x86_64-*kfreebsd*-gnu)
5865 LD="${LD-ld} -m elf_x86_64_fbsd"
5868 LD="${LD-ld} -m elf_x86_64"
5870 ppc*-*linux*|powerpc*-*linux*)
5871 LD="${LD-ld} -m elf64ppc"
5873 s390*-*linux*|s390*-*tpf*)
5874 LD="${LD-ld} -m elf64_s390"
5877 LD="${LD-ld} -m elf64_sparc"
5887 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5888 SAVE_CFLAGS="$CFLAGS"
5889 CFLAGS="$CFLAGS -belf"
5890 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5891 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
5892 if test "${lt_cv_cc_needs_belf+set}" = set; then
5893 echo $ECHO_N "(cached) $ECHO_C" >&6
5896 ac_cpp='$CPP $CPPFLAGS'
5897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5901 cat >conftest.$ac_ext <<_ACEOF
5904 cat confdefs.h >>conftest.$ac_ext
5905 cat >>conftest.$ac_ext <<_ACEOF
5906 /* end confdefs.h. */
5916 rm -f conftest.$ac_objext conftest$ac_exeext
5917 if { (ac_try="$ac_link"
5919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5920 *) ac_try_echo=$ac_try;;
5922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5923 (eval "$ac_link") 2>conftest.er1
5925 grep -v '^ *+' conftest.er1 >conftest.err
5927 cat conftest.err >&5
5928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5929 (exit $ac_status); } && {
5930 test -z "$ac_c_werror_flag" ||
5931 test ! -s conftest.err
5932 } && test -s conftest$ac_exeext &&
5933 $as_test_x conftest$ac_exeext; then
5934 lt_cv_cc_needs_belf=yes
5936 echo "$as_me: failed program was:" >&5
5937 sed 's/^/| /' conftest.$ac_ext >&5
5939 lt_cv_cc_needs_belf=no
5942 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5943 conftest$ac_exeext conftest.$ac_ext
5945 ac_cpp='$CPP $CPPFLAGS'
5946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5951 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5952 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
5953 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5954 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5955 CFLAGS="$SAVE_CFLAGS"
5959 # Find out which ABI we are using.
5960 echo 'int i;' > conftest.$ac_ext
5961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5962 (eval $ac_compile) 2>&5
5964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5965 (exit $ac_status); }; then
5966 case `/usr/bin/file conftest.o` in
5968 case $lt_cv_prog_gnu_ld in
5969 yes*) LD="${LD-ld} -m elf64_sparc" ;;
5971 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5983 need_locks="$enable_libtool_lock"
5987 rhapsody* | darwin*)
5988 if test -n "$ac_tool_prefix"; then
5989 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
5990 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
5991 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5992 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5993 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
5994 echo $ECHO_N "(cached) $ECHO_C" >&6
5996 if test -n "$DSYMUTIL"; then
5997 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
5999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6003 test -z "$as_dir" && as_dir=.
6004 for ac_exec_ext in '' $ac_executable_extensions; do
6005 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6006 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6007 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6016 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6017 if test -n "$DSYMUTIL"; then
6018 { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
6019 echo "${ECHO_T}$DSYMUTIL" >&6; }
6021 { echo "$as_me:$LINENO: result: no" >&5
6022 echo "${ECHO_T}no" >&6; }
6027 if test -z "$ac_cv_prog_DSYMUTIL"; then
6028 ac_ct_DSYMUTIL=$DSYMUTIL
6029 # Extract the first word of "dsymutil", so it can be a program name with args.
6030 set dummy dsymutil; ac_word=$2
6031 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6032 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6033 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
6034 echo $ECHO_N "(cached) $ECHO_C" >&6
6036 if test -n "$ac_ct_DSYMUTIL"; then
6037 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6043 test -z "$as_dir" && as_dir=.
6044 for ac_exec_ext in '' $ac_executable_extensions; do
6045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6046 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6047 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6056 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6057 if test -n "$ac_ct_DSYMUTIL"; then
6058 { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
6059 echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
6061 { echo "$as_me:$LINENO: result: no" >&5
6062 echo "${ECHO_T}no" >&6; }
6065 if test "x$ac_ct_DSYMUTIL" = x; then
6068 case $cross_compiling:$ac_tool_warned in
6070 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6071 whose name does not start with the host triplet. If you think this
6072 configuration is useful to you, please write to autoconf@gnu.org." >&5
6073 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6074 whose name does not start with the host triplet. If you think this
6075 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6076 ac_tool_warned=yes ;;
6078 DSYMUTIL=$ac_ct_DSYMUTIL
6081 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6084 if test -n "$ac_tool_prefix"; then
6085 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6086 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6087 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6088 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6089 if test "${ac_cv_prog_NMEDIT+set}" = set; then
6090 echo $ECHO_N "(cached) $ECHO_C" >&6
6092 if test -n "$NMEDIT"; then
6093 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6099 test -z "$as_dir" && as_dir=.
6100 for ac_exec_ext in '' $ac_executable_extensions; do
6101 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6102 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6103 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6112 NMEDIT=$ac_cv_prog_NMEDIT
6113 if test -n "$NMEDIT"; then
6114 { echo "$as_me:$LINENO: result: $NMEDIT" >&5
6115 echo "${ECHO_T}$NMEDIT" >&6; }
6117 { echo "$as_me:$LINENO: result: no" >&5
6118 echo "${ECHO_T}no" >&6; }
6123 if test -z "$ac_cv_prog_NMEDIT"; then
6124 ac_ct_NMEDIT=$NMEDIT
6125 # Extract the first word of "nmedit", so it can be a program name with args.
6126 set dummy nmedit; ac_word=$2
6127 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6128 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6129 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
6130 echo $ECHO_N "(cached) $ECHO_C" >&6
6132 if test -n "$ac_ct_NMEDIT"; then
6133 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6139 test -z "$as_dir" && as_dir=.
6140 for ac_exec_ext in '' $ac_executable_extensions; do
6141 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6142 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6143 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6152 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6153 if test -n "$ac_ct_NMEDIT"; then
6154 { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
6155 echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
6157 { echo "$as_me:$LINENO: result: no" >&5
6158 echo "${ECHO_T}no" >&6; }
6161 if test "x$ac_ct_NMEDIT" = x; then
6164 case $cross_compiling:$ac_tool_warned in
6166 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6167 whose name does not start with the host triplet. If you think this
6168 configuration is useful to you, please write to autoconf@gnu.org." >&5
6169 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6170 whose name does not start with the host triplet. If you think this
6171 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6172 ac_tool_warned=yes ;;
6174 NMEDIT=$ac_ct_NMEDIT
6177 NMEDIT="$ac_cv_prog_NMEDIT"
6180 if test -n "$ac_tool_prefix"; then
6181 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6182 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6183 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6184 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6185 if test "${ac_cv_prog_LIPO+set}" = set; then
6186 echo $ECHO_N "(cached) $ECHO_C" >&6
6188 if test -n "$LIPO"; then
6189 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6195 test -z "$as_dir" && as_dir=.
6196 for ac_exec_ext in '' $ac_executable_extensions; do
6197 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6198 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6199 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6208 LIPO=$ac_cv_prog_LIPO
6209 if test -n "$LIPO"; then
6210 { echo "$as_me:$LINENO: result: $LIPO" >&5
6211 echo "${ECHO_T}$LIPO" >&6; }
6213 { echo "$as_me:$LINENO: result: no" >&5
6214 echo "${ECHO_T}no" >&6; }
6219 if test -z "$ac_cv_prog_LIPO"; then
6221 # Extract the first word of "lipo", so it can be a program name with args.
6222 set dummy lipo; ac_word=$2
6223 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6225 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
6226 echo $ECHO_N "(cached) $ECHO_C" >&6
6228 if test -n "$ac_ct_LIPO"; then
6229 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6235 test -z "$as_dir" && as_dir=.
6236 for ac_exec_ext in '' $ac_executable_extensions; do
6237 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6238 ac_cv_prog_ac_ct_LIPO="lipo"
6239 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6248 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6249 if test -n "$ac_ct_LIPO"; then
6250 { echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
6251 echo "${ECHO_T}$ac_ct_LIPO" >&6; }
6253 { echo "$as_me:$LINENO: result: no" >&5
6254 echo "${ECHO_T}no" >&6; }
6257 if test "x$ac_ct_LIPO" = x; then
6260 case $cross_compiling:$ac_tool_warned in
6262 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6263 whose name does not start with the host triplet. If you think this
6264 configuration is useful to you, please write to autoconf@gnu.org." >&5
6265 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6266 whose name does not start with the host triplet. If you think this
6267 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6268 ac_tool_warned=yes ;;
6273 LIPO="$ac_cv_prog_LIPO"
6276 if test -n "$ac_tool_prefix"; then
6277 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6278 set dummy ${ac_tool_prefix}otool; ac_word=$2
6279 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6280 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6281 if test "${ac_cv_prog_OTOOL+set}" = set; then
6282 echo $ECHO_N "(cached) $ECHO_C" >&6
6284 if test -n "$OTOOL"; then
6285 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6291 test -z "$as_dir" && as_dir=.
6292 for ac_exec_ext in '' $ac_executable_extensions; do
6293 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6294 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6295 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6304 OTOOL=$ac_cv_prog_OTOOL
6305 if test -n "$OTOOL"; then
6306 { echo "$as_me:$LINENO: result: $OTOOL" >&5
6307 echo "${ECHO_T}$OTOOL" >&6; }
6309 { echo "$as_me:$LINENO: result: no" >&5
6310 echo "${ECHO_T}no" >&6; }
6315 if test -z "$ac_cv_prog_OTOOL"; then
6317 # Extract the first word of "otool", so it can be a program name with args.
6318 set dummy otool; ac_word=$2
6319 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6320 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6321 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
6322 echo $ECHO_N "(cached) $ECHO_C" >&6
6324 if test -n "$ac_ct_OTOOL"; then
6325 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6331 test -z "$as_dir" && as_dir=.
6332 for ac_exec_ext in '' $ac_executable_extensions; do
6333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6334 ac_cv_prog_ac_ct_OTOOL="otool"
6335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6344 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6345 if test -n "$ac_ct_OTOOL"; then
6346 { echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
6347 echo "${ECHO_T}$ac_ct_OTOOL" >&6; }
6349 { echo "$as_me:$LINENO: result: no" >&5
6350 echo "${ECHO_T}no" >&6; }
6353 if test "x$ac_ct_OTOOL" = x; then
6356 case $cross_compiling:$ac_tool_warned in
6358 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6359 whose name does not start with the host triplet. If you think this
6360 configuration is useful to you, please write to autoconf@gnu.org." >&5
6361 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6362 whose name does not start with the host triplet. If you think this
6363 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6364 ac_tool_warned=yes ;;
6369 OTOOL="$ac_cv_prog_OTOOL"
6372 if test -n "$ac_tool_prefix"; then
6373 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6374 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6375 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6376 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6377 if test "${ac_cv_prog_OTOOL64+set}" = set; then
6378 echo $ECHO_N "(cached) $ECHO_C" >&6
6380 if test -n "$OTOOL64"; then
6381 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6387 test -z "$as_dir" && as_dir=.
6388 for ac_exec_ext in '' $ac_executable_extensions; do
6389 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6390 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6391 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6400 OTOOL64=$ac_cv_prog_OTOOL64
6401 if test -n "$OTOOL64"; then
6402 { echo "$as_me:$LINENO: result: $OTOOL64" >&5
6403 echo "${ECHO_T}$OTOOL64" >&6; }
6405 { echo "$as_me:$LINENO: result: no" >&5
6406 echo "${ECHO_T}no" >&6; }
6411 if test -z "$ac_cv_prog_OTOOL64"; then
6412 ac_ct_OTOOL64=$OTOOL64
6413 # Extract the first word of "otool64", so it can be a program name with args.
6414 set dummy otool64; ac_word=$2
6415 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6416 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6417 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
6418 echo $ECHO_N "(cached) $ECHO_C" >&6
6420 if test -n "$ac_ct_OTOOL64"; then
6421 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6427 test -z "$as_dir" && as_dir=.
6428 for ac_exec_ext in '' $ac_executable_extensions; do
6429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6430 ac_cv_prog_ac_ct_OTOOL64="otool64"
6431 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6440 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6441 if test -n "$ac_ct_OTOOL64"; then
6442 { echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
6443 echo "${ECHO_T}$ac_ct_OTOOL64" >&6; }
6445 { echo "$as_me:$LINENO: result: no" >&5
6446 echo "${ECHO_T}no" >&6; }
6449 if test "x$ac_ct_OTOOL64" = x; then
6452 case $cross_compiling:$ac_tool_warned in
6454 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6455 whose name does not start with the host triplet. If you think this
6456 configuration is useful to you, please write to autoconf@gnu.org." >&5
6457 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6458 whose name does not start with the host triplet. If you think this
6459 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6460 ac_tool_warned=yes ;;
6462 OTOOL64=$ac_ct_OTOOL64
6465 OTOOL64="$ac_cv_prog_OTOOL64"
6494 { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
6495 echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
6496 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
6497 echo $ECHO_N "(cached) $ECHO_C" >&6
6499 lt_cv_apple_cc_single_mod=no
6500 if test -z "${LT_MULTI_MODULE}"; then
6501 # By default we will add the -single_module flag. You can override
6502 # by either setting the environment variable LT_MULTI_MODULE
6503 # non-empty at configure time, or by adding -multi_module to the
6505 rm -rf libconftest.dylib*
6506 echo "int foo(void){return 1;}" > conftest.c
6507 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6508 -dynamiclib -Wl,-single_module conftest.c" >&5
6509 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6510 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6512 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6513 lt_cv_apple_cc_single_mod=yes
6515 cat conftest.err >&5
6517 rm -rf libconftest.dylib*
6521 { echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
6522 echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
6523 { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
6524 echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
6525 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
6526 echo $ECHO_N "(cached) $ECHO_C" >&6
6528 lt_cv_ld_exported_symbols_list=no
6529 save_LDFLAGS=$LDFLAGS
6530 echo "_main" > conftest.sym
6531 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6532 cat >conftest.$ac_ext <<_ACEOF
6535 cat confdefs.h >>conftest.$ac_ext
6536 cat >>conftest.$ac_ext <<_ACEOF
6537 /* end confdefs.h. */
6547 rm -f conftest.$ac_objext conftest$ac_exeext
6548 if { (ac_try="$ac_link"
6550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6551 *) ac_try_echo=$ac_try;;
6553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6554 (eval "$ac_link") 2>conftest.er1
6556 grep -v '^ *+' conftest.er1 >conftest.err
6558 cat conftest.err >&5
6559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6560 (exit $ac_status); } && {
6561 test -z "$ac_c_werror_flag" ||
6562 test ! -s conftest.err
6563 } && test -s conftest$ac_exeext &&
6564 $as_test_x conftest$ac_exeext; then
6565 lt_cv_ld_exported_symbols_list=yes
6567 echo "$as_me: failed program was:" >&5
6568 sed 's/^/| /' conftest.$ac_ext >&5
6570 lt_cv_ld_exported_symbols_list=no
6573 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6574 conftest$ac_exeext conftest.$ac_ext
6575 LDFLAGS="$save_LDFLAGS"
6578 { echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
6579 echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
6580 { echo "$as_me:$LINENO: checking for -force_load linker flag" >&5
6581 echo $ECHO_N "checking for -force_load linker flag... $ECHO_C" >&6; }
6582 if test "${lt_cv_ld_force_load+set}" = set; then
6583 echo $ECHO_N "(cached) $ECHO_C" >&6
6585 lt_cv_ld_force_load=no
6586 cat > conftest.c << _LT_EOF
6587 int forced_loaded() { return 2;}
6589 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
6590 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
6591 echo "$AR cru libconftest.a conftest.o" >&5
6592 $AR cru libconftest.a conftest.o 2>&5
6593 echo "$RANLIB libconftest.a" >&5
6594 $RANLIB libconftest.a 2>&5
6595 cat > conftest.c << _LT_EOF
6596 int main() { return 0;}
6598 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
6599 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
6601 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
6602 lt_cv_ld_force_load=yes
6604 cat conftest.err >&5
6606 rm -f conftest.err libconftest.a conftest conftest.c
6607 rm -rf conftest.dSYM
6610 { echo "$as_me:$LINENO: result: $lt_cv_ld_force_load" >&5
6611 echo "${ECHO_T}$lt_cv_ld_force_load" >&6; }
6613 rhapsody* | darwin1.[012])
6614 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6616 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6617 darwin*) # darwin 5.x on
6618 # if running on 10.5 or later, the deployment target defaults
6619 # to the OS version, if on x86, and 10.4, the deployment
6620 # target defaults to 10.4. Don't you love it?
6621 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6622 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6623 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6625 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6627 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6631 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6632 _lt_dar_single_mod='$single_module'
6634 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6635 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6637 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6639 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
6640 _lt_dsymutil='~$DSYMUTIL $lib || :'
6648 ac_cpp='$CPP $CPPFLAGS'
6649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6652 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
6653 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
6654 # On Suns, sometimes $CPP names a directory.
6655 if test -n "$CPP" && test -d "$CPP"; then
6658 if test -z "$CPP"; then
6659 if test "${ac_cv_prog_CPP+set}" = set; then
6660 echo $ECHO_N "(cached) $ECHO_C" >&6
6662 # Double quotes because CPP needs to be expanded
6663 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6666 for ac_c_preproc_warn_flag in '' yes
6668 # Use a header file that comes with gcc, so configuring glibc
6669 # with a fresh cross-compiler works.
6670 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6671 # <limits.h> exists even on freestanding compilers.
6672 # On the NeXT, cc -E runs the code through the compiler's parser,
6673 # not just through cpp. "Syntax error" is here to catch this case.
6674 cat >conftest.$ac_ext <<_ACEOF
6677 cat confdefs.h >>conftest.$ac_ext
6678 cat >>conftest.$ac_ext <<_ACEOF
6679 /* end confdefs.h. */
6681 # include <limits.h>
6683 # include <assert.h>
6687 if { (ac_try="$ac_cpp conftest.$ac_ext"
6689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6690 *) ac_try_echo=$ac_try;;
6692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6693 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6695 grep -v '^ *+' conftest.er1 >conftest.err
6697 cat conftest.err >&5
6698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6699 (exit $ac_status); } >/dev/null && {
6700 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6701 test ! -s conftest.err
6705 echo "$as_me: failed program was:" >&5
6706 sed 's/^/| /' conftest.$ac_ext >&5
6708 # Broken: fails on valid input.
6712 rm -f conftest.err conftest.$ac_ext
6714 # OK, works on sane cases. Now check whether nonexistent headers
6715 # can be detected and how.
6716 cat >conftest.$ac_ext <<_ACEOF
6719 cat confdefs.h >>conftest.$ac_ext
6720 cat >>conftest.$ac_ext <<_ACEOF
6721 /* end confdefs.h. */
6722 #include <ac_nonexistent.h>
6724 if { (ac_try="$ac_cpp conftest.$ac_ext"
6726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6727 *) ac_try_echo=$ac_try;;
6729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6730 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6732 grep -v '^ *+' conftest.er1 >conftest.err
6734 cat conftest.err >&5
6735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6736 (exit $ac_status); } >/dev/null && {
6737 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6738 test ! -s conftest.err
6740 # Broken: success on invalid input.
6743 echo "$as_me: failed program was:" >&5
6744 sed 's/^/| /' conftest.$ac_ext >&5
6746 # Passes both tests.
6751 rm -f conftest.err conftest.$ac_ext
6754 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6755 rm -f conftest.err conftest.$ac_ext
6756 if $ac_preproc_ok; then
6768 { echo "$as_me:$LINENO: result: $CPP" >&5
6769 echo "${ECHO_T}$CPP" >&6; }
6771 for ac_c_preproc_warn_flag in '' yes
6773 # Use a header file that comes with gcc, so configuring glibc
6774 # with a fresh cross-compiler works.
6775 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6776 # <limits.h> exists even on freestanding compilers.
6777 # On the NeXT, cc -E runs the code through the compiler's parser,
6778 # not just through cpp. "Syntax error" is here to catch this case.
6779 cat >conftest.$ac_ext <<_ACEOF
6782 cat confdefs.h >>conftest.$ac_ext
6783 cat >>conftest.$ac_ext <<_ACEOF
6784 /* end confdefs.h. */
6786 # include <limits.h>
6788 # include <assert.h>
6792 if { (ac_try="$ac_cpp conftest.$ac_ext"
6794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6795 *) ac_try_echo=$ac_try;;
6797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6798 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6800 grep -v '^ *+' conftest.er1 >conftest.err
6802 cat conftest.err >&5
6803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6804 (exit $ac_status); } >/dev/null && {
6805 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6806 test ! -s conftest.err
6810 echo "$as_me: failed program was:" >&5
6811 sed 's/^/| /' conftest.$ac_ext >&5
6813 # Broken: fails on valid input.
6817 rm -f conftest.err conftest.$ac_ext
6819 # OK, works on sane cases. Now check whether nonexistent headers
6820 # can be detected and how.
6821 cat >conftest.$ac_ext <<_ACEOF
6824 cat confdefs.h >>conftest.$ac_ext
6825 cat >>conftest.$ac_ext <<_ACEOF
6826 /* end confdefs.h. */
6827 #include <ac_nonexistent.h>
6829 if { (ac_try="$ac_cpp conftest.$ac_ext"
6831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6832 *) ac_try_echo=$ac_try;;
6834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6835 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6837 grep -v '^ *+' conftest.er1 >conftest.err
6839 cat conftest.err >&5
6840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6841 (exit $ac_status); } >/dev/null && {
6842 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6843 test ! -s conftest.err
6845 # Broken: success on invalid input.
6848 echo "$as_me: failed program was:" >&5
6849 sed 's/^/| /' conftest.$ac_ext >&5
6851 # Passes both tests.
6856 rm -f conftest.err conftest.$ac_ext
6859 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6860 rm -f conftest.err conftest.$ac_ext
6861 if $ac_preproc_ok; then
6864 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6865 See \`config.log' for more details." >&5
6866 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6867 See \`config.log' for more details." >&2;}
6868 { (exit 1); exit 1; }; }
6872 ac_cpp='$CPP $CPPFLAGS'
6873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6878 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6879 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6880 if test "${ac_cv_header_stdc+set}" = set; then
6881 echo $ECHO_N "(cached) $ECHO_C" >&6
6883 cat >conftest.$ac_ext <<_ACEOF
6886 cat confdefs.h >>conftest.$ac_ext
6887 cat >>conftest.$ac_ext <<_ACEOF
6888 /* end confdefs.h. */
6902 rm -f conftest.$ac_objext
6903 if { (ac_try="$ac_compile"
6905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6906 *) ac_try_echo=$ac_try;;
6908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6909 (eval "$ac_compile") 2>conftest.er1
6911 grep -v '^ *+' conftest.er1 >conftest.err
6913 cat conftest.err >&5
6914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6915 (exit $ac_status); } && {
6916 test -z "$ac_c_werror_flag" ||
6917 test ! -s conftest.err
6918 } && test -s conftest.$ac_objext; then
6919 ac_cv_header_stdc=yes
6921 echo "$as_me: failed program was:" >&5
6922 sed 's/^/| /' conftest.$ac_ext >&5
6924 ac_cv_header_stdc=no
6927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6929 if test $ac_cv_header_stdc = yes; then
6930 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6931 cat >conftest.$ac_ext <<_ACEOF
6934 cat confdefs.h >>conftest.$ac_ext
6935 cat >>conftest.$ac_ext <<_ACEOF
6936 /* end confdefs.h. */
6940 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6941 $EGREP "memchr" >/dev/null 2>&1; then
6944 ac_cv_header_stdc=no
6950 if test $ac_cv_header_stdc = yes; then
6951 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6952 cat >conftest.$ac_ext <<_ACEOF
6955 cat confdefs.h >>conftest.$ac_ext
6956 cat >>conftest.$ac_ext <<_ACEOF
6957 /* end confdefs.h. */
6961 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6962 $EGREP "free" >/dev/null 2>&1; then
6965 ac_cv_header_stdc=no
6971 if test $ac_cv_header_stdc = yes; then
6972 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6973 if test "$cross_compiling" = yes; then
6976 cat >conftest.$ac_ext <<_ACEOF
6979 cat confdefs.h >>conftest.$ac_ext
6980 cat >>conftest.$ac_ext <<_ACEOF
6981 /* end confdefs.h. */
6984 #if ((' ' & 0x0FF) == 0x020)
6985 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6986 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6988 # define ISLOWER(c) \
6989 (('a' <= (c) && (c) <= 'i') \
6990 || ('j' <= (c) && (c) <= 'r') \
6991 || ('s' <= (c) && (c) <= 'z'))
6992 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6995 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7000 for (i = 0; i < 256; i++)
7001 if (XOR (islower (i), ISLOWER (i))
7002 || toupper (i) != TOUPPER (i))
7007 rm -f conftest$ac_exeext
7008 if { (ac_try="$ac_link"
7010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7011 *) ac_try_echo=$ac_try;;
7013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7014 (eval "$ac_link") 2>&5
7016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7017 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7018 { (case "(($ac_try" in
7019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7020 *) ac_try_echo=$ac_try;;
7022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7023 (eval "$ac_try") 2>&5
7025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7026 (exit $ac_status); }; }; then
7029 echo "$as_me: program exited with status $ac_status" >&5
7030 echo "$as_me: failed program was:" >&5
7031 sed 's/^/| /' conftest.$ac_ext >&5
7034 ac_cv_header_stdc=no
7036 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7042 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7043 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
7044 if test $ac_cv_header_stdc = yes; then
7046 cat >>confdefs.h <<\_ACEOF
7047 #define STDC_HEADERS 1
7052 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7062 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7063 inttypes.h stdint.h unistd.h
7065 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7066 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7067 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7068 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7069 echo $ECHO_N "(cached) $ECHO_C" >&6
7071 cat >conftest.$ac_ext <<_ACEOF
7074 cat confdefs.h >>conftest.$ac_ext
7075 cat >>conftest.$ac_ext <<_ACEOF
7076 /* end confdefs.h. */
7077 $ac_includes_default
7079 #include <$ac_header>
7081 rm -f conftest.$ac_objext
7082 if { (ac_try="$ac_compile"
7084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7085 *) ac_try_echo=$ac_try;;
7087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7088 (eval "$ac_compile") 2>conftest.er1
7090 grep -v '^ *+' conftest.er1 >conftest.err
7092 cat conftest.err >&5
7093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7094 (exit $ac_status); } && {
7095 test -z "$ac_c_werror_flag" ||
7096 test ! -s conftest.err
7097 } && test -s conftest.$ac_objext; then
7098 eval "$as_ac_Header=yes"
7100 echo "$as_me: failed program was:" >&5
7101 sed 's/^/| /' conftest.$ac_ext >&5
7103 eval "$as_ac_Header=no"
7106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7108 ac_res=`eval echo '${'$as_ac_Header'}'`
7109 { echo "$as_me:$LINENO: result: $ac_res" >&5
7110 echo "${ECHO_T}$ac_res" >&6; }
7111 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7112 cat >>confdefs.h <<_ACEOF
7113 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7122 for ac_header in dlfcn.h
7124 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7125 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7126 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7127 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7128 echo $ECHO_N "(cached) $ECHO_C" >&6
7130 cat >conftest.$ac_ext <<_ACEOF
7133 cat confdefs.h >>conftest.$ac_ext
7134 cat >>conftest.$ac_ext <<_ACEOF
7135 /* end confdefs.h. */
7136 $ac_includes_default
7138 #include <$ac_header>
7140 rm -f conftest.$ac_objext
7141 if { (ac_try="$ac_compile"
7143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7144 *) ac_try_echo=$ac_try;;
7146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7147 (eval "$ac_compile") 2>conftest.er1
7149 grep -v '^ *+' conftest.er1 >conftest.err
7151 cat conftest.err >&5
7152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7153 (exit $ac_status); } && {
7154 test -z "$ac_c_werror_flag" ||
7155 test ! -s conftest.err
7156 } && test -s conftest.$ac_objext; then
7157 eval "$as_ac_Header=yes"
7159 echo "$as_me: failed program was:" >&5
7160 sed 's/^/| /' conftest.$ac_ext >&5
7162 eval "$as_ac_Header=no"
7165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7167 ac_res=`eval echo '${'$as_ac_Header'}'`
7168 { echo "$as_me:$LINENO: result: $ac_res" >&5
7169 echo "${ECHO_T}$ac_res" >&6; }
7170 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7171 cat >>confdefs.h <<_ACEOF
7172 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7184 enable_win32_dll=yes
7187 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
7188 if test -n "$ac_tool_prefix"; then
7189 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
7190 set dummy ${ac_tool_prefix}as; ac_word=$2
7191 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7192 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7193 if test "${ac_cv_prog_AS+set}" = set; then
7194 echo $ECHO_N "(cached) $ECHO_C" >&6
7196 if test -n "$AS"; then
7197 ac_cv_prog_AS="$AS" # Let the user override the test.
7199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7203 test -z "$as_dir" && as_dir=.
7204 for ac_exec_ext in '' $ac_executable_extensions; do
7205 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7206 ac_cv_prog_AS="${ac_tool_prefix}as"
7207 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7217 if test -n "$AS"; then
7218 { echo "$as_me:$LINENO: result: $AS" >&5
7219 echo "${ECHO_T}$AS" >&6; }
7221 { echo "$as_me:$LINENO: result: no" >&5
7222 echo "${ECHO_T}no" >&6; }
7227 if test -z "$ac_cv_prog_AS"; then
7229 # Extract the first word of "as", so it can be a program name with args.
7230 set dummy as; ac_word=$2
7231 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7232 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7233 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
7234 echo $ECHO_N "(cached) $ECHO_C" >&6
7236 if test -n "$ac_ct_AS"; then
7237 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
7239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7243 test -z "$as_dir" && as_dir=.
7244 for ac_exec_ext in '' $ac_executable_extensions; do
7245 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7246 ac_cv_prog_ac_ct_AS="as"
7247 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7256 ac_ct_AS=$ac_cv_prog_ac_ct_AS
7257 if test -n "$ac_ct_AS"; then
7258 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
7259 echo "${ECHO_T}$ac_ct_AS" >&6; }
7261 { echo "$as_me:$LINENO: result: no" >&5
7262 echo "${ECHO_T}no" >&6; }
7265 if test "x$ac_ct_AS" = x; then
7268 case $cross_compiling:$ac_tool_warned in
7270 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7271 whose name does not start with the host triplet. If you think this
7272 configuration is useful to you, please write to autoconf@gnu.org." >&5
7273 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7274 whose name does not start with the host triplet. If you think this
7275 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7276 ac_tool_warned=yes ;;
7284 if test -n "$ac_tool_prefix"; then
7285 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7286 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7287 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7289 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
7290 echo $ECHO_N "(cached) $ECHO_C" >&6
7292 if test -n "$DLLTOOL"; then
7293 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7299 test -z "$as_dir" && as_dir=.
7300 for ac_exec_ext in '' $ac_executable_extensions; do
7301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7302 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7303 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7312 DLLTOOL=$ac_cv_prog_DLLTOOL
7313 if test -n "$DLLTOOL"; then
7314 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
7315 echo "${ECHO_T}$DLLTOOL" >&6; }
7317 { echo "$as_me:$LINENO: result: no" >&5
7318 echo "${ECHO_T}no" >&6; }
7323 if test -z "$ac_cv_prog_DLLTOOL"; then
7324 ac_ct_DLLTOOL=$DLLTOOL
7325 # Extract the first word of "dlltool", so it can be a program name with args.
7326 set dummy dlltool; ac_word=$2
7327 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7328 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7329 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
7330 echo $ECHO_N "(cached) $ECHO_C" >&6
7332 if test -n "$ac_ct_DLLTOOL"; then
7333 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7339 test -z "$as_dir" && as_dir=.
7340 for ac_exec_ext in '' $ac_executable_extensions; do
7341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7342 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7343 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7352 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7353 if test -n "$ac_ct_DLLTOOL"; then
7354 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
7355 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
7357 { echo "$as_me:$LINENO: result: no" >&5
7358 echo "${ECHO_T}no" >&6; }
7361 if test "x$ac_ct_DLLTOOL" = x; then
7364 case $cross_compiling:$ac_tool_warned in
7366 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7367 whose name does not start with the host triplet. If you think this
7368 configuration is useful to you, please write to autoconf@gnu.org." >&5
7369 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7370 whose name does not start with the host triplet. If you think this
7371 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7372 ac_tool_warned=yes ;;
7374 DLLTOOL=$ac_ct_DLLTOOL
7377 DLLTOOL="$ac_cv_prog_DLLTOOL"
7380 if test -n "$ac_tool_prefix"; then
7381 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7382 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7383 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7384 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7385 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
7386 echo $ECHO_N "(cached) $ECHO_C" >&6
7388 if test -n "$OBJDUMP"; then
7389 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7395 test -z "$as_dir" && as_dir=.
7396 for ac_exec_ext in '' $ac_executable_extensions; do
7397 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7398 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7399 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7408 OBJDUMP=$ac_cv_prog_OBJDUMP
7409 if test -n "$OBJDUMP"; then
7410 { echo "$as_me:$LINENO: result: $OBJDUMP" >&5
7411 echo "${ECHO_T}$OBJDUMP" >&6; }
7413 { echo "$as_me:$LINENO: result: no" >&5
7414 echo "${ECHO_T}no" >&6; }
7419 if test -z "$ac_cv_prog_OBJDUMP"; then
7420 ac_ct_OBJDUMP=$OBJDUMP
7421 # Extract the first word of "objdump", so it can be a program name with args.
7422 set dummy objdump; ac_word=$2
7423 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7424 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7425 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
7426 echo $ECHO_N "(cached) $ECHO_C" >&6
7428 if test -n "$ac_ct_OBJDUMP"; then
7429 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7435 test -z "$as_dir" && as_dir=.
7436 for ac_exec_ext in '' $ac_executable_extensions; do
7437 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7438 ac_cv_prog_ac_ct_OBJDUMP="objdump"
7439 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7448 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7449 if test -n "$ac_ct_OBJDUMP"; then
7450 { echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
7451 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6; }
7453 { echo "$as_me:$LINENO: result: no" >&5
7454 echo "${ECHO_T}no" >&6; }
7457 if test "x$ac_ct_OBJDUMP" = x; then
7460 case $cross_compiling:$ac_tool_warned in
7462 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7463 whose name does not start with the host triplet. If you think this
7464 configuration is useful to you, please write to autoconf@gnu.org." >&5
7465 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7466 whose name does not start with the host triplet. If you think this
7467 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7468 ac_tool_warned=yes ;;
7470 OBJDUMP=$ac_ct_OBJDUMP
7473 OBJDUMP="$ac_cv_prog_OBJDUMP"
7479 test -z "$AS" && AS=as
7485 test -z "$DLLTOOL" && DLLTOOL=dlltool
7491 test -z "$OBJDUMP" && OBJDUMP=objdump
7503 # Check whether --enable-shared was given.
7504 if test "${enable_shared+set}" = set; then
7505 enableval=$enable_shared; p=${PACKAGE-default}
7507 yes) enable_shared=yes ;;
7508 no) enable_shared=no ;;
7511 # Look at the argument we got. We use all the common list separators.
7512 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7513 for pkg in $enableval; do
7515 if test "X$pkg" = "X$p"; then
7534 # Check whether --enable-static was given.
7535 if test "${enable_static+set}" = set; then
7536 enableval=$enable_static; p=${PACKAGE-default}
7538 yes) enable_static=yes ;;
7539 no) enable_static=no ;;
7542 # Look at the argument we got. We use all the common list separators.
7543 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7544 for pkg in $enableval; do
7546 if test "X$pkg" = "X$p"; then
7566 # Check whether --with-pic was given.
7567 if test "${with_pic+set}" = set; then
7568 withval=$with_pic; pic_mode="$withval"
7574 test -z "$pic_mode" && pic_mode=default
7582 # Check whether --enable-fast-install was given.
7583 if test "${enable_fast_install+set}" = set; then
7584 enableval=$enable_fast_install; p=${PACKAGE-default}
7586 yes) enable_fast_install=yes ;;
7587 no) enable_fast_install=no ;;
7589 enable_fast_install=no
7590 # Look at the argument we got. We use all the common list separators.
7591 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7592 for pkg in $enableval; do
7594 if test "X$pkg" = "X$p"; then
7595 enable_fast_install=yes
7602 enable_fast_install=yes
7615 # This can be used to rebuild libtool when needed
7616 LIBTOOL_DEPS="$ltmain"
7618 # Always use our own libtool.
7619 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7646 test -z "$LN_S" && LN_S="ln -s"
7661 if test -n "${ZSH_VERSION+set}" ; then
7662 setopt NO_GLOB_SUBST
7665 { echo "$as_me:$LINENO: checking for objdir" >&5
7666 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
7667 if test "${lt_cv_objdir+set}" = set; then
7668 echo $ECHO_N "(cached) $ECHO_C" >&6
7670 rm -f .libs 2>/dev/null
7671 mkdir .libs 2>/dev/null
7672 if test -d .libs; then
7675 # MS-DOS does not allow filenames that begin with a dot.
7678 rmdir .libs 2>/dev/null
7680 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7681 echo "${ECHO_T}$lt_cv_objdir" >&6; }
7682 objdir=$lt_cv_objdir
7688 cat >>confdefs.h <<_ACEOF
7689 #define LT_OBJDIR "$lt_cv_objdir/"
7697 # AIX sometimes has problems with the GCC collect2 program. For some
7698 # reason, if we set the COLLECT_NAMES environment variable, the problems
7699 # vanish in a puff of smoke.
7700 if test "X${COLLECT_NAMES+set}" != Xset; then
7702 export COLLECT_NAMES
7709 can_build_shared=yes
7711 # All known linkers require a `.a' archive for static linking (except MSVC,
7712 # which needs '.lib').
7715 with_gnu_ld="$lt_cv_prog_gnu_ld"
7718 old_CFLAGS="$CFLAGS"
7720 # Set sane defaults for various variables
7721 test -z "$CC" && CC=cc
7722 test -z "$LTCC" && LTCC=$CC
7723 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7724 test -z "$LD" && LD=ld
7725 test -z "$ac_objext" && ac_objext=o
7727 for cc_temp in $compiler""; do
7729 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7730 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7735 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7738 # Only perform the check for file, if the check method requires it
7739 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7740 case $deplibs_check_method in
7742 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7743 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7744 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
7745 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7746 echo $ECHO_N "(cached) $ECHO_C" >&6
7750 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7753 lt_save_MAGIC_CMD="$MAGIC_CMD"
7754 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7755 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7756 for ac_dir in $ac_dummy; do
7758 test -z "$ac_dir" && ac_dir=.
7759 if test -f $ac_dir/${ac_tool_prefix}file; then
7760 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7761 if test -n "$file_magic_test_file"; then
7762 case $deplibs_check_method in
7764 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7765 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7766 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7767 $EGREP "$file_magic_regex" > /dev/null; then
7772 *** Warning: the command libtool uses to detect shared libraries,
7773 *** $file_magic_cmd, produces output that libtool cannot recognize.
7774 *** The result is that libtool may fail to recognize shared libraries
7775 *** as such. This will affect the creation of libtool libraries that
7776 *** depend on shared libraries, but programs linked with such libtool
7777 *** libraries will work regardless of this problem. Nevertheless, you
7778 *** may want to report the problem to your system manager and/or to
7779 *** bug-libtool@gnu.org
7789 MAGIC_CMD="$lt_save_MAGIC_CMD"
7794 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7795 if test -n "$MAGIC_CMD"; then
7796 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7797 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7799 { echo "$as_me:$LINENO: result: no" >&5
7800 echo "${ECHO_T}no" >&6; }
7807 if test -z "$lt_cv_path_MAGIC_CMD"; then
7808 if test -n "$ac_tool_prefix"; then
7809 { echo "$as_me:$LINENO: checking for file" >&5
7810 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
7811 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7812 echo $ECHO_N "(cached) $ECHO_C" >&6
7816 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7819 lt_save_MAGIC_CMD="$MAGIC_CMD"
7820 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7821 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7822 for ac_dir in $ac_dummy; do
7824 test -z "$ac_dir" && ac_dir=.
7825 if test -f $ac_dir/file; then
7826 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7827 if test -n "$file_magic_test_file"; then
7828 case $deplibs_check_method in
7830 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7831 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7832 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7833 $EGREP "$file_magic_regex" > /dev/null; then
7838 *** Warning: the command libtool uses to detect shared libraries,
7839 *** $file_magic_cmd, produces output that libtool cannot recognize.
7840 *** The result is that libtool may fail to recognize shared libraries
7841 *** as such. This will affect the creation of libtool libraries that
7842 *** depend on shared libraries, but programs linked with such libtool
7843 *** libraries will work regardless of this problem. Nevertheless, you
7844 *** may want to report the problem to your system manager and/or to
7845 *** bug-libtool@gnu.org
7855 MAGIC_CMD="$lt_save_MAGIC_CMD"
7860 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7861 if test -n "$MAGIC_CMD"; then
7862 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7863 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7865 { echo "$as_me:$LINENO: result: no" >&5
7866 echo "${ECHO_T}no" >&6; }
7879 # Use C for the default configuration in the libtool script
7883 ac_cpp='$CPP $CPPFLAGS'
7884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7889 # Source file extension for C test sources.
7892 # Object file extension for compiled C test sources.
7896 # Code to be used in simple compile tests
7897 lt_simple_compile_test_code="int some_variable = 0;"
7899 # Code to be used in simple link tests
7900 lt_simple_link_test_code='int main(){return(0);}'
7908 # If no C compiler was specified, use CC.
7911 # If no C compiler flags were specified, use CFLAGS.
7912 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7914 # Allow CC to be a program name with arguments.
7917 # Save the default compiler, since it gets overwritten when the other
7918 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7919 compiler_DEFAULT=$CC
7921 # save warnings/boilerplate of simple test code
7922 ac_outfile=conftest.$ac_objext
7923 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7924 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7925 _lt_compiler_boilerplate=`cat conftest.err`
7928 ac_outfile=conftest.$ac_objext
7929 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7930 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7931 _lt_linker_boilerplate=`cat conftest.err`
7936 ## There is no encapsulation within the following macros, do not change
7937 ## the running order or otherwise move them around unless you know exactly
7938 ## what you are doing...
7939 if test -n "$compiler"; then
7941 lt_prog_compiler_no_builtin_flag=
7943 if test "$GCC" = yes; then
7944 case $cc_basename in
7946 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7948 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7951 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7952 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
7953 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7954 echo $ECHO_N "(cached) $ECHO_C" >&6
7956 lt_cv_prog_compiler_rtti_exceptions=no
7957 ac_outfile=conftest.$ac_objext
7958 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7959 lt_compiler_flag="-fno-rtti -fno-exceptions"
7960 # Insert the option either (1) after the last *FLAGS variable, or
7961 # (2) before a word containing "conftest.", or (3) at the end.
7962 # Note that $ac_compile itself does not contain backslashes and begins
7963 # with a dollar sign (not a hyphen), so the echo should work correctly.
7964 # The option is referenced via a variable to avoid confusing sed.
7965 lt_compile=`echo "$ac_compile" | $SED \
7966 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7967 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7968 -e 's:$: $lt_compiler_flag:'`
7969 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7970 (eval "$lt_compile" 2>conftest.err)
7972 cat conftest.err >&5
7973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7974 if (exit $ac_status) && test -s "$ac_outfile"; then
7975 # The compiler can only warn and ignore the option if not recognized
7976 # So say no if there are warnings other than the usual output.
7977 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7978 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7979 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7980 lt_cv_prog_compiler_rtti_exceptions=yes
7986 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7987 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7989 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7990 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8002 lt_prog_compiler_wl=
8003 lt_prog_compiler_pic=
8004 lt_prog_compiler_static=
8006 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
8007 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
8009 if test "$GCC" = yes; then
8010 lt_prog_compiler_wl='-Wl,'
8011 lt_prog_compiler_static='-static'
8015 # All AIX code is PIC.
8016 if test "$host_cpu" = ia64; then
8017 # AIX 5 now supports IA64 processor
8018 lt_prog_compiler_static='-Bstatic'
8025 # see comment about AmigaOS4 .so support
8026 lt_prog_compiler_pic='-fPIC'
8029 # FIXME: we need at least 68020 code to build shared libraries, but
8030 # adding the `-m68020' flag to GCC prevents building anything better,
8032 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8037 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8038 # PIC is the default for these OSes.
8041 mingw* | cygwin* | pw32* | os2* | cegcc*)
8042 # This hack is so that the source file can tell whether it is being
8043 # built for inclusion in a dll (and should export symbols for example).
8044 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8045 # (--disable-auto-import) libraries
8046 lt_prog_compiler_pic='-DDLL_EXPORT'
8049 darwin* | rhapsody*)
8050 # PIC is the default on this platform
8051 # Common symbols not allowed in MH_DYLIB files
8052 lt_prog_compiler_pic='-fno-common'
8056 # PIC is the default for Haiku.
8057 # The "-static" flag exists, but is broken.
8058 lt_prog_compiler_static=
8062 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8063 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8064 # sets the default TLS model and affects inlining.
8070 lt_prog_compiler_pic='-fPIC'
8076 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8077 # Instead, we relocate shared libraries at runtime.
8081 # Just because we use GCC doesn't mean we suddenly get shared libraries
8082 # on systems that don't support them.
8083 lt_prog_compiler_can_build_shared=no
8088 # QNX uses GNU C++, but need to define -shared option too, otherwise
8090 lt_prog_compiler_pic='-fPIC -shared'
8094 if test -d /usr/nec; then
8095 lt_prog_compiler_pic=-Kconform_pic
8100 lt_prog_compiler_pic='-fPIC'
8104 case $cc_basename in
8105 nvcc*) # Cuda Compiler Driver 2.2
8106 lt_prog_compiler_wl='-Xlinker '
8107 lt_prog_compiler_pic='-Xcompiler -fPIC'
8111 # PORTME Check for flag to pass linker flags through the system compiler.
8114 lt_prog_compiler_wl='-Wl,'
8115 if test "$host_cpu" = ia64; then
8116 # AIX 5 now supports IA64 processor
8117 lt_prog_compiler_static='-Bstatic'
8119 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8123 mingw* | cygwin* | pw32* | os2* | cegcc*)
8124 # This hack is so that the source file can tell whether it is being
8125 # built for inclusion in a dll (and should export symbols for example).
8126 lt_prog_compiler_pic='-DDLL_EXPORT'
8129 hpux9* | hpux10* | hpux11*)
8130 lt_prog_compiler_wl='-Wl,'
8131 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8138 lt_prog_compiler_pic='+Z'
8141 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8142 lt_prog_compiler_static='${wl}-a ${wl}archive'
8145 irix5* | irix6* | nonstopux*)
8146 lt_prog_compiler_wl='-Wl,'
8147 # PIC (with -KPIC) is the default.
8148 lt_prog_compiler_static='-non_shared'
8151 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8152 case $cc_basename in
8153 # old Intel for x86_64 which still supported -KPIC.
8155 lt_prog_compiler_wl='-Wl,'
8156 lt_prog_compiler_pic='-KPIC'
8157 lt_prog_compiler_static='-static'
8159 # icc used to be incompatible with GCC.
8160 # ICC 10 doesn't accept -KPIC any more.
8162 lt_prog_compiler_wl='-Wl,'
8163 lt_prog_compiler_pic='-fPIC'
8164 lt_prog_compiler_static='-static'
8166 # Lahey Fortran 8.1.
8168 lt_prog_compiler_wl='-Wl,'
8169 lt_prog_compiler_pic='--shared'
8170 lt_prog_compiler_static='--static'
8172 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8173 # Portland Group compilers (*not* the Pentium gcc compiler,
8174 # which looks to be a dead project)
8175 lt_prog_compiler_wl='-Wl,'
8176 lt_prog_compiler_pic='-fpic'
8177 lt_prog_compiler_static='-Bstatic'
8180 lt_prog_compiler_wl='-Wl,'
8181 # All Alpha code is PIC.
8182 lt_prog_compiler_static='-non_shared'
8184 xl* | bgxl* | bgf* | mpixl*)
8185 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8186 lt_prog_compiler_wl='-Wl,'
8187 lt_prog_compiler_pic='-qpic'
8188 lt_prog_compiler_static='-qstaticlink'
8191 case `$CC -V 2>&1 | sed 5q` in
8192 *Sun\ F* | *Sun*Fortran*)
8193 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8194 lt_prog_compiler_pic='-KPIC'
8195 lt_prog_compiler_static='-Bstatic'
8196 lt_prog_compiler_wl=''
8200 lt_prog_compiler_pic='-KPIC'
8201 lt_prog_compiler_static='-Bstatic'
8202 lt_prog_compiler_wl='-Wl,'
8210 lt_prog_compiler_pic='-KPIC'
8211 lt_prog_compiler_static='-Bstatic'
8215 # QNX uses GNU C++, but need to define -shared option too, otherwise
8217 lt_prog_compiler_pic='-fPIC -shared'
8220 osf3* | osf4* | osf5*)
8221 lt_prog_compiler_wl='-Wl,'
8222 # All OSF/1 code is PIC.
8223 lt_prog_compiler_static='-non_shared'
8227 lt_prog_compiler_static='-non_shared'
8231 lt_prog_compiler_pic='-KPIC'
8232 lt_prog_compiler_static='-Bstatic'
8233 case $cc_basename in
8234 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8235 lt_prog_compiler_wl='-Qoption ld ';;
8237 lt_prog_compiler_wl='-Wl,';;
8242 lt_prog_compiler_wl='-Qoption ld '
8243 lt_prog_compiler_pic='-PIC'
8244 lt_prog_compiler_static='-Bstatic'
8247 sysv4 | sysv4.2uw2* | sysv4.3*)
8248 lt_prog_compiler_wl='-Wl,'
8249 lt_prog_compiler_pic='-KPIC'
8250 lt_prog_compiler_static='-Bstatic'
8254 if test -d /usr/nec ;then
8255 lt_prog_compiler_pic='-Kconform_pic'
8256 lt_prog_compiler_static='-Bstatic'
8260 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8261 lt_prog_compiler_wl='-Wl,'
8262 lt_prog_compiler_pic='-KPIC'
8263 lt_prog_compiler_static='-Bstatic'
8267 lt_prog_compiler_wl='-Wl,'
8268 lt_prog_compiler_can_build_shared=no
8272 lt_prog_compiler_pic='-pic'
8273 lt_prog_compiler_static='-Bstatic'
8277 lt_prog_compiler_can_build_shared=no
8283 # For platforms which do not support PIC, -DPIC is meaningless:
8285 lt_prog_compiler_pic=
8288 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8291 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8292 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
8300 # Check to make sure the PIC flag actually works.
8302 if test -n "$lt_prog_compiler_pic"; then
8303 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8304 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
8305 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
8306 echo $ECHO_N "(cached) $ECHO_C" >&6
8308 lt_cv_prog_compiler_pic_works=no
8309 ac_outfile=conftest.$ac_objext
8310 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8311 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8312 # Insert the option either (1) after the last *FLAGS variable, or
8313 # (2) before a word containing "conftest.", or (3) at the end.
8314 # Note that $ac_compile itself does not contain backslashes and begins
8315 # with a dollar sign (not a hyphen), so the echo should work correctly.
8316 # The option is referenced via a variable to avoid confusing sed.
8317 lt_compile=`echo "$ac_compile" | $SED \
8318 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8319 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8320 -e 's:$: $lt_compiler_flag:'`
8321 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8322 (eval "$lt_compile" 2>conftest.err)
8324 cat conftest.err >&5
8325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8326 if (exit $ac_status) && test -s "$ac_outfile"; then
8327 # The compiler can only warn and ignore the option if not recognized
8328 # So say no if there are warnings other than the usual output.
8329 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8330 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8331 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8332 lt_cv_prog_compiler_pic_works=yes
8338 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
8339 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
8341 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8342 case $lt_prog_compiler_pic in
8344 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8347 lt_prog_compiler_pic=
8348 lt_prog_compiler_can_build_shared=no
8359 # Check to make sure the static flag actually works.
8361 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8362 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8363 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
8364 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
8365 echo $ECHO_N "(cached) $ECHO_C" >&6
8367 lt_cv_prog_compiler_static_works=no
8368 save_LDFLAGS="$LDFLAGS"
8369 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8370 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8371 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8372 # The linker can only warn and ignore the option if not recognized
8373 # So say no if there are warnings
8374 if test -s conftest.err; then
8375 # Append any errors to the config.log.
8376 cat conftest.err 1>&5
8377 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8378 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8379 if diff conftest.exp conftest.er2 >/dev/null; then
8380 lt_cv_prog_compiler_static_works=yes
8383 lt_cv_prog_compiler_static_works=yes
8387 LDFLAGS="$save_LDFLAGS"
8390 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
8391 echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
8393 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8396 lt_prog_compiler_static=
8405 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8406 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
8407 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8408 echo $ECHO_N "(cached) $ECHO_C" >&6
8410 lt_cv_prog_compiler_c_o=no
8411 $RM -r conftest 2>/dev/null
8415 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8417 lt_compiler_flag="-o out/conftest2.$ac_objext"
8418 # Insert the option either (1) after the last *FLAGS variable, or
8419 # (2) before a word containing "conftest.", or (3) at the end.
8420 # Note that $ac_compile itself does not contain backslashes and begins
8421 # with a dollar sign (not a hyphen), so the echo should work correctly.
8422 lt_compile=`echo "$ac_compile" | $SED \
8423 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8424 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8425 -e 's:$: $lt_compiler_flag:'`
8426 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8427 (eval "$lt_compile" 2>out/conftest.err)
8429 cat out/conftest.err >&5
8430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8431 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8433 # The compiler can only warn and ignore the option if not recognized
8434 # So say no if there are warnings
8435 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8436 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8437 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8438 lt_cv_prog_compiler_c_o=yes
8443 # SGI C++ compiler will create directory out/ii_files/ for
8444 # template instantiation
8445 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8446 $RM out/* && rmdir out
8452 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8453 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
8460 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8461 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
8462 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8463 echo $ECHO_N "(cached) $ECHO_C" >&6
8465 lt_cv_prog_compiler_c_o=no
8466 $RM -r conftest 2>/dev/null
8470 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8472 lt_compiler_flag="-o out/conftest2.$ac_objext"
8473 # Insert the option either (1) after the last *FLAGS variable, or
8474 # (2) before a word containing "conftest.", or (3) at the end.
8475 # Note that $ac_compile itself does not contain backslashes and begins
8476 # with a dollar sign (not a hyphen), so the echo should work correctly.
8477 lt_compile=`echo "$ac_compile" | $SED \
8478 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8479 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8480 -e 's:$: $lt_compiler_flag:'`
8481 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8482 (eval "$lt_compile" 2>out/conftest.err)
8484 cat out/conftest.err >&5
8485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8486 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8488 # The compiler can only warn and ignore the option if not recognized
8489 # So say no if there are warnings
8490 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8491 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8492 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8493 lt_cv_prog_compiler_c_o=yes
8498 # SGI C++ compiler will create directory out/ii_files/ for
8499 # template instantiation
8500 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8501 $RM out/* && rmdir out
8507 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8508 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
8513 hard_links="nottested"
8514 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8515 # do not overwrite the value of need_locks provided by the user
8516 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8517 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
8520 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8522 ln conftest.a conftest.b 2>&5 || hard_links=no
8523 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8524 { echo "$as_me:$LINENO: result: $hard_links" >&5
8525 echo "${ECHO_T}$hard_links" >&6; }
8526 if test "$hard_links" = no; then
8527 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8528 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8540 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8541 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
8544 allow_undefined_flag=
8545 always_export_symbols=no
8547 archive_expsym_cmds=
8548 compiler_needs_object=no
8549 enable_shared_with_static_runtimes=no
8550 export_dynamic_flag_spec=
8551 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8552 hardcode_automatic=no
8554 hardcode_direct_absolute=no
8555 hardcode_libdir_flag_spec=
8556 hardcode_libdir_flag_spec_ld=
8557 hardcode_libdir_separator=
8559 hardcode_shlibpath_var=unsupported
8561 link_all_deplibs=unknown
8564 old_archive_from_new_cmds=
8565 old_archive_from_expsyms_cmds=
8566 thread_safe_flag_spec=
8567 whole_archive_flag_spec=
8568 # include_expsyms should be a list of space-separated symbols to be *always*
8569 # included in the symbol list
8571 # exclude_expsyms can be an extended regexp of symbols to exclude
8572 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8573 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8574 # as well as any symbol that contains `d'.
8575 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8576 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8577 # platforms (ab)use it in PIC code, but their linkers get confused if
8578 # the symbol is explicitly referenced. Since portable code cannot
8579 # rely on this symbol name, it's probably fine to never include it in
8580 # preloaded symbol tables.
8581 # Exclude shared library initialization/finalization symbols.
8582 extract_expsyms_cmds=
8585 cygwin* | mingw* | pw32* | cegcc*)
8586 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8587 # When not using gcc, we currently assume that we are using
8588 # Microsoft Visual C++.
8589 if test "$GCC" != yes; then
8594 # we just hope/assume this is gcc and not c89 (= MSVC++)
8604 # On some targets, GNU ld is compatible enough with the native linker
8605 # that we're better off using the native interface for both.
8606 lt_use_gnu_ld_interface=no
8607 if test "$with_gnu_ld" = yes; then
8610 # The AIX port of GNU ld has always aspired to compatibility
8611 # with the native linker. However, as the warning in the GNU ld
8612 # block says, versions before 2.19.5* couldn't really create working
8613 # shared libraries, regardless of the interface used.
8614 case `$LD -v 2>&1` in
8615 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8616 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8617 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8619 lt_use_gnu_ld_interface=yes
8624 lt_use_gnu_ld_interface=yes
8629 if test "$lt_use_gnu_ld_interface" = yes; then
8630 # If archive_cmds runs LD, not CC, wlarc should be empty
8633 # Set some defaults for GNU ld with shared library support. These
8634 # are reset later if shared libraries are not supported. Putting them
8635 # here allows them to be overridden if necessary.
8636 runpath_var=LD_RUN_PATH
8637 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8638 export_dynamic_flag_spec='${wl}--export-dynamic'
8639 # ancient GNU ld didn't support --whole-archive et. al.
8640 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8641 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8643 whole_archive_flag_spec=
8645 supports_anon_versioning=no
8646 case `$LD -v 2>&1` in
8647 *GNU\ gold*) supports_anon_versioning=yes ;;
8648 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8649 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8650 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8651 *\ 2.11.*) ;; # other 2.11 versions
8652 *) supports_anon_versioning=yes ;;
8655 # See if GNU ld supports shared libraries.
8658 # On AIX/PPC, the GNU linker is very broken
8659 if test "$host_cpu" != ia64; then
8663 *** Warning: the GNU linker, at least up to release 2.19, is reported
8664 *** to be unable to reliably create shared libraries on AIX.
8665 *** Therefore, libtool is disabling shared libraries support. If you
8666 *** really care for shared libraries, you may want to install binutils
8667 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8668 *** You will then need to restart the configuration process.
8677 # see comment about AmigaOS4 .so support
8678 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8679 archive_expsym_cmds=''
8682 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)'
8683 hardcode_libdir_flag_spec='-L$libdir'
8684 hardcode_minus_L=yes
8690 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8691 allow_undefined_flag=unsupported
8692 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8693 # support --undefined. This deserves some investigation. FIXME
8694 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8700 cygwin* | mingw* | pw32* | cegcc*)
8701 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8702 # as there is no search path for DLLs.
8703 hardcode_libdir_flag_spec='-L$libdir'
8704 export_dynamic_flag_spec='${wl}--export-all-symbols'
8705 allow_undefined_flag=unsupported
8706 always_export_symbols=no
8707 enable_shared_with_static_runtimes=yes
8708 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8710 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8711 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8712 # If the export-symbols file already is a .def file (1st line
8713 # is EXPORTS), use it as is; otherwise, prepend...
8714 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8715 cp $export_symbols $output_objdir/$soname.def;
8717 echo EXPORTS > $output_objdir/$soname.def;
8718 cat $export_symbols >> $output_objdir/$soname.def;
8720 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8727 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8728 link_all_deplibs=yes
8733 hardcode_shlibpath_var=no
8734 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8735 export_dynamic_flag_spec='${wl}-E'
8736 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8737 # Instead, shared libraries are loaded at an image base (0x10000000 by
8738 # default) and relocated if they conflict, which is a slow very memory
8739 # consuming and fragmenting process. To avoid this, we pick a random,
8740 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8741 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8742 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8743 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'
8746 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8748 if test "$host_os" = linux-dietlibc; then
8749 case $cc_basename in
8750 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8753 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8754 && test "$tmp_diet" = no
8757 tmp_sharedflag='-shared'
8758 case $cc_basename,$host_cpu in
8759 pgcc*) # Portland Group C compiler
8760 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8761 tmp_addflag=' $pic_flag'
8763 pgf77* | pgf90* | pgf95* | pgfortran*)
8764 # Portland Group f77 and f90 compilers
8765 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8766 tmp_addflag=' $pic_flag -Mnomain' ;;
8767 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8768 tmp_addflag=' -i_dynamic' ;;
8769 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8770 tmp_addflag=' -i_dynamic -nofor_main' ;;
8771 ifc* | ifort*) # Intel Fortran compiler
8772 tmp_addflag=' -nofor_main' ;;
8773 lf95*) # Lahey Fortran 8.1
8774 whole_archive_flag_spec=
8775 tmp_sharedflag='--shared' ;;
8776 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8777 tmp_sharedflag='-qmkshrobj'
8779 nvcc*) # Cuda Compiler Driver 2.2
8780 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8781 compiler_needs_object=yes
8784 case `$CC -V 2>&1 | sed 5q` in
8785 *Sun\ C*) # Sun C 5.9
8786 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8787 compiler_needs_object=yes
8788 tmp_sharedflag='-G' ;;
8789 *Sun\ F*) # Sun Fortran 8.3
8790 tmp_sharedflag='-G' ;;
8792 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8794 if test "x$supports_anon_versioning" = xyes; then
8795 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8796 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8797 echo "local: *; };" >> $output_objdir/$libname.ver~
8798 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8801 case $cc_basename in
8802 xlf* | bgf* | bgxlf* | mpixlf*)
8803 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8804 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8805 hardcode_libdir_flag_spec=
8806 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8807 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8808 if test "x$supports_anon_versioning" = xyes; then
8809 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8810 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8811 echo "local: *; };" >> $output_objdir/$libname.ver~
8812 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8822 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8823 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8826 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8827 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8832 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8836 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8837 *** create shared libraries on Solaris systems. Therefore, libtool
8838 *** is disabling shared libraries support. We urge you to upgrade GNU
8839 *** binutils to release 2.9.1 or newer. Another option is to modify
8840 *** your PATH or compiler configuration so that the native linker is
8841 *** used, and then restart.
8844 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8845 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8846 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8852 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8853 case `$LD -v 2>&1` in
8854 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8858 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8859 *** reliably create shared libraries on SCO systems. Therefore, libtool
8860 *** is disabling shared libraries support. We urge you to upgrade GNU
8861 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8862 *** your PATH or compiler configuration so that the native linker is
8863 *** used, and then restart.
8868 # For security reasons, it is highly recommended that you always
8869 # use absolute paths for naming shared libraries, and exclude the
8870 # DT_RUNPATH tag from executables and libraries. But doing so
8871 # requires that you compile everything twice, which is a pain.
8872 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8873 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8874 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8875 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8884 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8887 hardcode_shlibpath_var=no
8891 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8892 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8893 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8900 if test "$ld_shlibs" = no; then
8902 hardcode_libdir_flag_spec=
8903 export_dynamic_flag_spec=
8904 whole_archive_flag_spec=
8907 # PORTME fill in a description of your system's linker (not GNU ld)
8910 allow_undefined_flag=unsupported
8911 always_export_symbols=yes
8912 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'
8913 # Note: this linker hardcodes the directories in LIBPATH if there
8914 # are no directories specified by -L.
8915 hardcode_minus_L=yes
8916 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8917 # Neither direct hardcoding nor static linking is supported with a
8919 hardcode_direct=unsupported
8924 if test "$host_cpu" = ia64; then
8925 # On IA64, the linker does run time linking by default, so we don't
8926 # have to do anything special.
8927 aix_use_runtimelinking=no
8928 exp_sym_flag='-Bexport'
8931 # If we're using GNU nm, then we don't want the "-C" option.
8932 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8933 # Also, AIX nm treats weak defined symbols like other global
8934 # defined symbols, whereas GNU nm marks them as "W".
8935 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8936 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8938 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'
8940 aix_use_runtimelinking=no
8942 # Test if we are trying to use run time linking or normal
8943 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8944 # need to do runtime linking.
8945 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8946 for ld_flag in $LDFLAGS; do
8947 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8948 aix_use_runtimelinking=yes
8955 exp_sym_flag='-bexport'
8956 no_entry_flag='-bnoentry'
8959 # When large executables or shared objects are built, AIX ld can
8960 # have problems creating the table of contents. If linking a library
8961 # or program results in "error TOC overflow" add -mminimal-toc to
8962 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8963 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8967 hardcode_direct_absolute=yes
8968 hardcode_libdir_separator=':'
8969 link_all_deplibs=yes
8970 file_list_spec='${wl}-f,'
8972 if test "$GCC" = yes; then
8973 case $host_os in aix4.[012]|aix4.[012].*)
8974 # We only want to do this on AIX 4.2 and lower, the check
8975 # below for broken collect2 doesn't work under 4.3+
8976 collect2name=`${CC} -print-prog-name=collect2`
8977 if test -f "$collect2name" &&
8978 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8980 # We have reworked collect2
8983 # We have old collect2
8984 hardcode_direct=unsupported
8985 # It fails to find uninstalled libraries when the uninstalled
8986 # path is not listed in the libpath. Setting hardcode_minus_L
8987 # to unsupported forces relinking
8988 hardcode_minus_L=yes
8989 hardcode_libdir_flag_spec='-L$libdir'
8990 hardcode_libdir_separator=
8994 shared_flag='-shared'
8995 if test "$aix_use_runtimelinking" = yes; then
8996 shared_flag="$shared_flag "'${wl}-G'
9000 if test "$host_cpu" = ia64; then
9001 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9002 # chokes on -Wl,-G. The following line is correct:
9005 if test "$aix_use_runtimelinking" = yes; then
9006 shared_flag='${wl}-G'
9008 shared_flag='${wl}-bM:SRE'
9013 export_dynamic_flag_spec='${wl}-bexpall'
9014 # It seems that -bexpall does not export symbols beginning with
9015 # underscore (_), so it is better to generate a list of symbols to export.
9016 always_export_symbols=yes
9017 if test "$aix_use_runtimelinking" = yes; then
9018 # Warning - without using the other runtime loading flags (-brtl),
9019 # -berok will link without error, but may produce a broken library.
9020 allow_undefined_flag='-berok'
9021 # Determine the default libpath from the value encoded in an
9023 cat >conftest.$ac_ext <<_ACEOF
9026 cat confdefs.h >>conftest.$ac_ext
9027 cat >>conftest.$ac_ext <<_ACEOF
9028 /* end confdefs.h. */
9038 rm -f conftest.$ac_objext conftest$ac_exeext
9039 if { (ac_try="$ac_link"
9041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9042 *) ac_try_echo=$ac_try;;
9044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9045 (eval "$ac_link") 2>conftest.er1
9047 grep -v '^ *+' conftest.er1 >conftest.err
9049 cat conftest.err >&5
9050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9051 (exit $ac_status); } && {
9052 test -z "$ac_c_werror_flag" ||
9053 test ! -s conftest.err
9054 } && test -s conftest$ac_exeext &&
9055 $as_test_x conftest$ac_exeext; then
9057 lt_aix_libpath_sed='
9058 /Import File Strings/,/^$/ {
9064 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9065 # Check for a 64-bit object if we didn't find anything.
9066 if test -z "$aix_libpath"; then
9067 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9070 echo "$as_me: failed program was:" >&5
9071 sed 's/^/| /' conftest.$ac_ext >&5
9076 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9077 conftest$ac_exeext conftest.$ac_ext
9078 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9080 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9081 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9083 if test "$host_cpu" = ia64; then
9084 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9085 allow_undefined_flag="-z nodefs"
9086 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"
9088 # Determine the default libpath from the value encoded in an
9090 cat >conftest.$ac_ext <<_ACEOF
9093 cat confdefs.h >>conftest.$ac_ext
9094 cat >>conftest.$ac_ext <<_ACEOF
9095 /* end confdefs.h. */
9105 rm -f conftest.$ac_objext conftest$ac_exeext
9106 if { (ac_try="$ac_link"
9108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9109 *) ac_try_echo=$ac_try;;
9111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9112 (eval "$ac_link") 2>conftest.er1
9114 grep -v '^ *+' conftest.er1 >conftest.err
9116 cat conftest.err >&5
9117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9118 (exit $ac_status); } && {
9119 test -z "$ac_c_werror_flag" ||
9120 test ! -s conftest.err
9121 } && test -s conftest$ac_exeext &&
9122 $as_test_x conftest$ac_exeext; then
9124 lt_aix_libpath_sed='
9125 /Import File Strings/,/^$/ {
9131 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9132 # Check for a 64-bit object if we didn't find anything.
9133 if test -z "$aix_libpath"; then
9134 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9137 echo "$as_me: failed program was:" >&5
9138 sed 's/^/| /' conftest.$ac_ext >&5
9143 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9144 conftest$ac_exeext conftest.$ac_ext
9145 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9147 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9148 # Warning - without using the other run time loading flags,
9149 # -berok will link without error, but may produce a broken library.
9150 no_undefined_flag=' ${wl}-bernotok'
9151 allow_undefined_flag=' ${wl}-berok'
9152 if test "$with_gnu_ld" = yes; then
9153 # We only use this code for GNU lds that support --whole-archive.
9154 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9156 # Exported symbols can be pulled into shared objects from archives
9157 whole_archive_flag_spec='$convenience'
9159 archive_cmds_need_lc=yes
9160 # This is similar to how AIX traditionally builds its shared libraries.
9161 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'
9169 # see comment about AmigaOS4 .so support
9170 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9171 archive_expsym_cmds=''
9174 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)'
9175 hardcode_libdir_flag_spec='-L$libdir'
9176 hardcode_minus_L=yes
9182 export_dynamic_flag_spec=-rdynamic
9185 cygwin* | mingw* | pw32* | cegcc*)
9186 # When not using gcc, we currently assume that we are using
9187 # Microsoft Visual C++.
9188 # hardcode_libdir_flag_spec is actually meaningless, as there is
9189 # no search path for DLLs.
9190 hardcode_libdir_flag_spec=' '
9191 allow_undefined_flag=unsupported
9192 # Tell ltmain to make .lib files, not .a files.
9194 # Tell ltmain to make .dll files, not .so files.
9196 # FIXME: Setting linknames here is a bad hack.
9197 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9198 # The linker will automatically build a .lib file if we build a DLL.
9199 old_archive_from_new_cmds='true'
9200 # FIXME: Should let the user specify the lib program.
9201 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9202 fix_srcfile_path='`cygpath -w "$srcfile"`'
9203 enable_shared_with_static_runtimes=yes
9206 darwin* | rhapsody*)
9209 archive_cmds_need_lc=no
9211 hardcode_automatic=yes
9212 hardcode_shlibpath_var=unsupported
9213 if test "$lt_cv_ld_force_load" = "yes"; then
9214 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9216 whole_archive_flag_spec=''
9218 link_all_deplibs=yes
9219 allow_undefined_flag="$_lt_dar_allow_undefined"
9220 case $cc_basename in
9221 ifort*) _lt_dar_can_shared=yes ;;
9222 *) _lt_dar_can_shared=$GCC ;;
9224 if test "$_lt_dar_can_shared" = "yes"; then
9225 output_verbose_link_cmd=func_echo_all
9226 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9227 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9228 archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
9229 module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
9238 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9239 hardcode_libdir_flag_spec='-L$libdir'
9240 hardcode_shlibpath_var=no
9247 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9248 # support. Future versions do this automatically, but an explicit c++rt0.o
9249 # does not break anything, and helps significantly (at the cost of a little
9252 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9253 hardcode_libdir_flag_spec='-R$libdir'
9255 hardcode_shlibpath_var=no
9258 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9260 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9262 hardcode_minus_L=yes
9263 hardcode_shlibpath_var=no
9266 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9267 freebsd* | dragonfly*)
9268 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9269 hardcode_libdir_flag_spec='-R$libdir'
9271 hardcode_shlibpath_var=no
9275 if test "$GCC" = yes; then
9276 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'
9278 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'
9280 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9281 hardcode_libdir_separator=:
9284 # hardcode_minus_L: Not really in the search PATH,
9285 # but as the default location of the library.
9286 hardcode_minus_L=yes
9287 export_dynamic_flag_spec='${wl}-E'
9291 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9292 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9294 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9296 if test "$with_gnu_ld" = no; then
9297 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9298 hardcode_libdir_flag_spec_ld='+b $libdir'
9299 hardcode_libdir_separator=:
9301 hardcode_direct_absolute=yes
9302 export_dynamic_flag_spec='${wl}-E'
9303 # hardcode_minus_L: Not really in the search PATH,
9304 # but as the default location of the library.
9305 hardcode_minus_L=yes
9310 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9313 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9316 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9319 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9325 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9328 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9332 # Older versions of the 11.00 compiler do not understand -b yet
9333 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9334 { echo "$as_me:$LINENO: checking if $CC understands -b" >&5
9335 echo $ECHO_N "checking if $CC understands -b... $ECHO_C" >&6; }
9336 if test "${lt_cv_prog_compiler__b+set}" = set; then
9337 echo $ECHO_N "(cached) $ECHO_C" >&6
9339 lt_cv_prog_compiler__b=no
9340 save_LDFLAGS="$LDFLAGS"
9341 LDFLAGS="$LDFLAGS -b"
9342 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9343 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9344 # The linker can only warn and ignore the option if not recognized
9345 # So say no if there are warnings
9346 if test -s conftest.err; then
9347 # Append any errors to the config.log.
9348 cat conftest.err 1>&5
9349 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9350 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9351 if diff conftest.exp conftest.er2 >/dev/null; then
9352 lt_cv_prog_compiler__b=yes
9355 lt_cv_prog_compiler__b=yes
9359 LDFLAGS="$save_LDFLAGS"
9362 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler__b" >&5
9363 echo "${ECHO_T}$lt_cv_prog_compiler__b" >&6; }
9365 if test x"$lt_cv_prog_compiler__b" = xyes; then
9366 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9368 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9374 if test "$with_gnu_ld" = no; then
9375 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9376 hardcode_libdir_separator=:
9381 hardcode_shlibpath_var=no
9385 hardcode_direct_absolute=yes
9386 export_dynamic_flag_spec='${wl}-E'
9388 # hardcode_minus_L: Not really in the search PATH,
9389 # but as the default location of the library.
9390 hardcode_minus_L=yes
9396 irix5* | irix6* | nonstopux*)
9397 if test "$GCC" = yes; then
9398 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9399 # Try to use the -exported_symbol ld option, if it does not
9400 # work, assume that -exports_file does not work either and
9401 # implicitly export all symbols.
9402 save_LDFLAGS="$LDFLAGS"
9403 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9404 cat >conftest.$ac_ext <<_ACEOF
9407 rm -f conftest.$ac_objext conftest$ac_exeext
9408 if { (ac_try="$ac_link"
9410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9411 *) ac_try_echo=$ac_try;;
9413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9414 (eval "$ac_link") 2>conftest.er1
9416 grep -v '^ *+' conftest.er1 >conftest.err
9418 cat conftest.err >&5
9419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9420 (exit $ac_status); } && {
9421 test -z "$ac_c_werror_flag" ||
9422 test ! -s conftest.err
9423 } && test -s conftest$ac_exeext &&
9424 $as_test_x conftest$ac_exeext; then
9425 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9428 echo "$as_me: failed program was:" >&5
9429 sed 's/^/| /' conftest.$ac_ext >&5
9434 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9435 conftest$ac_exeext conftest.$ac_ext
9436 LDFLAGS="$save_LDFLAGS"
9438 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9439 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9441 archive_cmds_need_lc='no'
9442 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9443 hardcode_libdir_separator=:
9445 link_all_deplibs=yes
9449 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9450 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9452 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9454 hardcode_libdir_flag_spec='-R$libdir'
9456 hardcode_shlibpath_var=no
9460 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9462 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9463 hardcode_libdir_separator=:
9464 hardcode_shlibpath_var=no
9471 if test -f /usr/libexec/ld.so; then
9473 hardcode_shlibpath_var=no
9474 hardcode_direct_absolute=yes
9475 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9476 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9477 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9478 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9479 export_dynamic_flag_spec='${wl}-E'
9482 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9483 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9484 hardcode_libdir_flag_spec='-R$libdir'
9487 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9488 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9498 hardcode_libdir_flag_spec='-L$libdir'
9499 hardcode_minus_L=yes
9500 allow_undefined_flag=unsupported
9501 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'
9502 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9506 if test "$GCC" = yes; then
9507 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9508 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9510 allow_undefined_flag=' -expect_unresolved \*'
9511 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9513 archive_cmds_need_lc='no'
9514 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9515 hardcode_libdir_separator=:
9518 osf4* | osf5*) # as osf3* with the addition of -msym flag
9519 if test "$GCC" = yes; then
9520 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9521 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9522 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9524 allow_undefined_flag=' -expect_unresolved \*'
9525 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9526 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~
9527 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9529 # Both c and cxx compiler support -rpath directly
9530 hardcode_libdir_flag_spec='-rpath $libdir'
9532 archive_cmds_need_lc='no'
9533 hardcode_libdir_separator=:
9537 no_undefined_flag=' -z defs'
9538 if test "$GCC" = yes; then
9540 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9541 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9542 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9544 case `$CC -V 2>&1` in
9547 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9548 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9549 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9553 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9554 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9555 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9559 hardcode_libdir_flag_spec='-R$libdir'
9560 hardcode_shlibpath_var=no
9562 solaris2.[0-5] | solaris2.[0-5].*) ;;
9564 # The compiler driver will combine and reorder linker options,
9565 # but understands `-z linker_flag'. GCC discards it without `$wl',
9566 # but is careful enough not to reorder.
9567 # Supported since Solaris 2.6 (maybe 2.5.1?)
9568 if test "$GCC" = yes; then
9569 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9571 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9575 link_all_deplibs=yes
9579 if test "x$host_vendor" = xsequent; then
9580 # Use $CC to link under sequent, because it throws in some extra .o
9581 # files that make .init and .fini sections work.
9582 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9584 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9586 hardcode_libdir_flag_spec='-L$libdir'
9588 hardcode_minus_L=yes
9589 hardcode_shlibpath_var=no
9593 case $host_vendor in
9595 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9596 hardcode_direct=yes # is this really true???
9599 ## LD is ld it makes a PLAMLIB
9600 ## CC just makes a GrossModule.
9601 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9602 reload_cmds='$CC -r -o $output$reload_objs'
9606 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9607 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9610 runpath_var='LD_RUN_PATH'
9611 hardcode_shlibpath_var=no
9615 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9616 hardcode_shlibpath_var=no
9617 export_dynamic_flag_spec='-Bexport'
9621 if test -d /usr/nec; then
9622 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9623 hardcode_shlibpath_var=no
9624 runpath_var=LD_RUN_PATH
9625 hardcode_runpath_var=yes
9630 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9631 no_undefined_flag='${wl}-z,text'
9632 archive_cmds_need_lc=no
9633 hardcode_shlibpath_var=no
9634 runpath_var='LD_RUN_PATH'
9636 if test "$GCC" = yes; then
9637 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9638 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9640 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9641 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9645 sysv5* | sco3.2v5* | sco5v6*)
9646 # Note: We can NOT use -z defs as we might desire, because we do not
9647 # link with -lc, and that would cause any symbols used from libc to
9648 # always be unresolved, which means just about no library would
9649 # ever link correctly. If we're not using GNU ld we use -z text
9650 # though, which does catch some bad symbols but isn't as heavy-handed
9652 no_undefined_flag='${wl}-z,text'
9653 allow_undefined_flag='${wl}-z,nodefs'
9654 archive_cmds_need_lc=no
9655 hardcode_shlibpath_var=no
9656 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9657 hardcode_libdir_separator=':'
9658 link_all_deplibs=yes
9659 export_dynamic_flag_spec='${wl}-Bexport'
9660 runpath_var='LD_RUN_PATH'
9662 if test "$GCC" = yes; then
9663 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9664 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9666 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9667 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9672 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9673 hardcode_libdir_flag_spec='-L$libdir'
9674 hardcode_shlibpath_var=no
9682 if test x$host_vendor = xsni; then
9684 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9685 export_dynamic_flag_spec='${wl}-Blargedynsym'
9691 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9692 echo "${ECHO_T}$ld_shlibs" >&6; }
9693 test "$ld_shlibs" = no && can_build_shared=no
9695 with_gnu_ld=$with_gnu_ld
9712 # Do we need to explicitly link libc?
9714 case "x$archive_cmds_need_lc" in
9716 # Assume -lc should be added
9717 archive_cmds_need_lc=yes
9719 if test "$enable_shared" = yes && test "$GCC" = yes; then
9720 case $archive_cmds in
9722 # FIXME: we may have to deal with multi-command sequences.
9725 # Test whether the compiler implicitly links with -lc since on some
9726 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9727 # to ld, don't add -lc before -lgcc.
9728 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9729 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
9730 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
9731 echo $ECHO_N "(cached) $ECHO_C" >&6
9734 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9737 (eval $ac_compile) 2>&5
9739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9740 (exit $ac_status); } 2>conftest.err; then
9743 libobjs=conftest.$ac_objext
9745 wl=$lt_prog_compiler_wl
9746 pic_flag=$lt_prog_compiler_pic
9752 lt_save_allow_undefined_flag=$allow_undefined_flag
9753 allow_undefined_flag=
9754 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
9755 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9758 (exit $ac_status); }
9760 lt_cv_archive_cmds_need_lc=no
9762 lt_cv_archive_cmds_need_lc=yes
9764 allow_undefined_flag=$lt_save_allow_undefined_flag
9766 cat conftest.err 1>&5
9771 { echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5
9772 echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6; }
9773 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9936 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9937 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
9939 if test "$GCC" = yes; then
9941 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9942 *) lt_awk_arg="/^libraries:/" ;;
9945 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
9946 *) lt_sed_strip_eq="s,=/,/,g" ;;
9948 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9949 case $lt_search_path_spec in
9951 # if the path contains ";" then we assume it to be the separator
9952 # otherwise default to the standard path separator (i.e. ":") - it is
9953 # assumed that no part of a normal pathname contains ";" but that should
9954 # okay in the real world where ";" in dirpaths is itself problematic.
9955 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9958 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9961 # Ok, now we have the path, separated by spaces, we can step through it
9962 # and add multilib dir if necessary.
9963 lt_tmp_lt_search_path_spec=
9964 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9965 for lt_sys_path in $lt_search_path_spec; do
9966 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9967 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9969 test -d "$lt_sys_path" && \
9970 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9973 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9974 BEGIN {RS=" "; FS="/|\n";} {
9977 for (lt_i = NF; lt_i > 0; lt_i--) {
9978 if ($lt_i != "" && $lt_i != ".") {
9979 if ($lt_i == "..") {
9982 if (lt_count == 0) {
9983 lt_foo="/" $lt_i lt_foo;
9990 if (lt_foo != "") { lt_freq[lt_foo]++; }
9991 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9993 # AWK program above erroneously prepends '/' to C:/dos/paths
9996 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
9997 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9999 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10001 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10003 library_names_spec=
10004 libname_spec='lib$name'
10008 postuninstall_cmds=
10012 shlibpath_overrides_runpath=unknown
10014 dynamic_linker="$host_os ld.so"
10015 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10016 need_lib_prefix=unknown
10017 hardcode_into_libs=no
10019 # when you set need_version to no, make sure it does not cause -set_version
10020 # flags to be left without arguments
10021 need_version=unknown
10026 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10027 shlibpath_var=LIBPATH
10029 # AIX 3 has no versioning support, so we append a major version to the name.
10030 soname_spec='${libname}${release}${shared_ext}$major'
10037 hardcode_into_libs=yes
10038 if test "$host_cpu" = ia64; then
10039 # AIX 5 supports IA64
10040 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10041 shlibpath_var=LD_LIBRARY_PATH
10043 # With GCC up to 2.95.x, collect2 would create an import file
10044 # for dependence libraries. The import file would start with
10045 # the line `#! .'. This would cause the generated library to
10046 # depend on `.', always an invalid library. This was fixed in
10047 # development snapshots of GCC prior to 3.0.
10049 aix4 | aix4.[01] | aix4.[01].*)
10050 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10052 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10055 can_build_shared=no
10059 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10060 # soname into executable. Probably we can add versioning support to
10061 # collect2, so additional links can be useful in future.
10062 if test "$aix_use_runtimelinking" = yes; then
10063 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10064 # instead of lib<name>.a to let people know that these are not
10065 # typical AIX shared libraries.
10066 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10068 # We preserve .a as extension for shared libraries through AIX4.2
10069 # and later when we are not doing run time linking.
10070 library_names_spec='${libname}${release}.a $libname.a'
10071 soname_spec='${libname}${release}${shared_ext}$major'
10073 shlibpath_var=LIBPATH
10080 # Since July 2007 AmigaOS4 officially supports .so libraries.
10081 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10082 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10085 library_names_spec='$libname.ixlibrary $libname.a'
10086 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10087 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''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'
10093 library_names_spec='${libname}${shared_ext}'
10094 dynamic_linker="$host_os ld.so"
10095 shlibpath_var=LIBRARY_PATH
10101 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10102 soname_spec='${libname}${release}${shared_ext}$major'
10103 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10104 shlibpath_var=LD_LIBRARY_PATH
10105 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10106 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10107 # the default ld.so.conf also contains /usr/contrib/lib and
10108 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10109 # libtool to hard-code these into programs
10112 cygwin* | mingw* | pw32* | cegcc*)
10113 version_type=windows
10118 case $GCC,$host_os in
10119 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10120 library_names_spec='$libname.dll.a'
10121 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10122 postinstall_cmds='base_file=`basename \${file}`~
10123 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10124 dldir=$destdir/`dirname \$dlpath`~
10125 test -d \$dldir || mkdir -p \$dldir~
10126 $install_prog $dir/$dlname \$dldir/$dlname~
10127 chmod a+x \$dldir/$dlname~
10128 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10129 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10131 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10132 dlpath=$dir/\$dldll~
10134 shlibpath_overrides_runpath=yes
10138 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10139 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10141 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10144 # MinGW DLLs use traditional 'lib' prefix
10145 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10148 # pw32 DLLs use 'pw' prefix rather than 'lib'
10149 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10155 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10158 dynamic_linker='Win32 ld.exe'
10159 # FIXME: first we should search . and the directory the executable is in
10163 darwin* | rhapsody*)
10164 dynamic_linker="$host_os dyld"
10165 version_type=darwin
10168 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext ${libname}${release}${versuffix}$shared_ext'
10169 soname_spec='${libname}${release}${major}$shared_ext'
10170 shlibpath_overrides_runpath=yes
10171 shlibpath_var=DYLD_LIBRARY_PATH
10172 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10174 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10175 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10182 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10183 soname_spec='${libname}${release}${shared_ext}$major'
10184 shlibpath_var=LD_LIBRARY_PATH
10191 freebsd* | dragonfly*)
10192 # DragonFly does not have aout. When/if they implement a new
10193 # versioning mechanism, adjust this.
10194 if test -x /usr/bin/objformat; then
10195 objformat=`/usr/bin/objformat`
10198 freebsd[123]*) objformat=aout ;;
10199 *) objformat=elf ;;
10202 version_type=freebsd-$objformat
10203 case $version_type in
10205 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10210 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10214 shlibpath_var=LD_LIBRARY_PATH
10217 shlibpath_overrides_runpath=yes
10219 freebsd3.[01]* | freebsdelf3.[01]*)
10220 shlibpath_overrides_runpath=yes
10221 hardcode_into_libs=yes
10223 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10224 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10225 shlibpath_overrides_runpath=no
10226 hardcode_into_libs=yes
10228 *) # from 4.6 on, and DragonFly
10229 shlibpath_overrides_runpath=yes
10230 hardcode_into_libs=yes
10239 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10240 soname_spec='${libname}${release}${shared_ext}$major'
10241 shlibpath_var=LD_LIBRARY_PATH
10242 hardcode_into_libs=yes
10249 dynamic_linker="$host_os runtime_loader"
10250 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10251 soname_spec='${libname}${release}${shared_ext}$major'
10252 shlibpath_var=LIBRARY_PATH
10253 shlibpath_overrides_runpath=yes
10254 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10255 hardcode_into_libs=yes
10258 hpux9* | hpux10* | hpux11*)
10259 # Give a soname corresponding to the major version so that dld.sl refuses to
10260 # link against other versions.
10267 hardcode_into_libs=yes
10268 dynamic_linker="$host_os dld.so"
10269 shlibpath_var=LD_LIBRARY_PATH
10270 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10271 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10272 soname_spec='${libname}${release}${shared_ext}$major'
10273 if test "X$HPUX_IA64_MODE" = X32; then
10274 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10276 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10278 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10282 hardcode_into_libs=yes
10283 dynamic_linker="$host_os dld.sl"
10284 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10285 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10286 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10287 soname_spec='${libname}${release}${shared_ext}$major'
10288 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10289 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10293 dynamic_linker="$host_os dld.sl"
10294 shlibpath_var=SHLIB_PATH
10295 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10296 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10297 soname_spec='${libname}${release}${shared_ext}$major'
10300 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10301 postinstall_cmds='chmod 555 $lib'
10302 # or fails outright, so override atomically:
10303 install_override_mode=555
10310 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10311 soname_spec='${libname}${release}${shared_ext}$major'
10312 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10313 shlibpath_var=LD_LIBRARY_PATH
10314 shlibpath_overrides_runpath=no
10315 hardcode_into_libs=yes
10318 irix5* | irix6* | nonstopux*)
10320 nonstopux*) version_type=nonstopux ;;
10322 if test "$lt_cv_prog_gnu_ld" = yes; then
10330 soname_spec='${libname}${release}${shared_ext}$major'
10331 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10333 irix5* | nonstopux*)
10334 libsuff= shlibsuff=
10337 case $LD in # libtool.m4 will add one of these switches to LD
10338 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10339 libsuff= shlibsuff= libmagic=32-bit;;
10340 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10341 libsuff=32 shlibsuff=N32 libmagic=N32;;
10342 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10343 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10344 *) libsuff= shlibsuff= libmagic=never-match;;
10348 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10349 shlibpath_overrides_runpath=no
10350 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10351 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10352 hardcode_into_libs=yes
10355 # No shared lib support for Linux oldld, aout, or coff.
10356 linux*oldld* | linux*aout* | linux*coff*)
10360 # This must be Linux ELF.
10361 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10365 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10366 soname_spec='${libname}${release}${shared_ext}$major'
10367 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10368 shlibpath_var=LD_LIBRARY_PATH
10369 shlibpath_overrides_runpath=no
10371 # Some binutils ld are patched to set DT_RUNPATH
10372 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then
10373 echo $ECHO_N "(cached) $ECHO_C" >&6
10375 lt_cv_shlibpath_overrides_runpath=no
10376 save_LDFLAGS=$LDFLAGS
10377 save_libdir=$libdir
10378 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10379 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10380 cat >conftest.$ac_ext <<_ACEOF
10383 cat confdefs.h >>conftest.$ac_ext
10384 cat >>conftest.$ac_ext <<_ACEOF
10385 /* end confdefs.h. */
10395 rm -f conftest.$ac_objext conftest$ac_exeext
10396 if { (ac_try="$ac_link"
10397 case "(($ac_try" in
10398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10399 *) ac_try_echo=$ac_try;;
10401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10402 (eval "$ac_link") 2>conftest.er1
10404 grep -v '^ *+' conftest.er1 >conftest.err
10406 cat conftest.err >&5
10407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10408 (exit $ac_status); } && {
10409 test -z "$ac_c_werror_flag" ||
10410 test ! -s conftest.err
10411 } && test -s conftest$ac_exeext &&
10412 $as_test_x conftest$ac_exeext; then
10413 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
10414 lt_cv_shlibpath_overrides_runpath=yes
10418 echo "$as_me: failed program was:" >&5
10419 sed 's/^/| /' conftest.$ac_ext >&5
10424 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10425 conftest$ac_exeext conftest.$ac_ext
10426 LDFLAGS=$save_LDFLAGS
10427 libdir=$save_libdir
10431 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10433 # This implies no fast_install, which is unacceptable.
10434 # Some rework will be needed to allow for fast_install
10435 # before this can be enabled.
10436 hardcode_into_libs=yes
10438 # Append ld.so.conf contents to the search path
10439 if test -f /etc/ld.so.conf; then
10440 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
10441 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10444 # We used to test for /lib/ld.so.1 and disable shared libraries on
10445 # powerpc, because MkLinux only supported shared libraries with the
10446 # GNU dynamic linker. Since this was broken with cross compilers,
10447 # most powerpc-linux boxes support dynamic linking these days and
10448 # people can always --disable-shared, the test was removed, and we
10449 # assume the GNU/Linux dynamic linker is in use.
10450 dynamic_linker='GNU/Linux ld.so'
10457 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10458 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10459 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10460 dynamic_linker='NetBSD (a.out) ld.so'
10462 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10463 soname_spec='${libname}${release}${shared_ext}$major'
10464 dynamic_linker='NetBSD ld.elf_so'
10466 shlibpath_var=LD_LIBRARY_PATH
10467 shlibpath_overrides_runpath=yes
10468 hardcode_into_libs=yes
10473 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10474 shlibpath_var=LD_LIBRARY_PATH
10475 shlibpath_overrides_runpath=yes
10482 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10483 soname_spec='${libname}${release}${shared_ext}$major'
10484 shlibpath_var=LD_LIBRARY_PATH
10485 shlibpath_overrides_runpath=no
10486 hardcode_into_libs=yes
10487 dynamic_linker='ldqnx.so'
10492 sys_lib_dlsearch_path_spec="/usr/lib"
10494 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10496 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10497 *) need_version=no ;;
10499 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10500 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10501 shlibpath_var=LD_LIBRARY_PATH
10502 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10504 openbsd2.[89] | openbsd2.[89].*)
10505 shlibpath_overrides_runpath=no
10508 shlibpath_overrides_runpath=yes
10512 shlibpath_overrides_runpath=yes
10517 libname_spec='$name'
10520 library_names_spec='$libname${shared_ext} $libname.a'
10521 dynamic_linker='OS/2 ld.exe'
10522 shlibpath_var=LIBPATH
10525 osf3* | osf4* | osf5*)
10529 soname_spec='${libname}${release}${shared_ext}$major'
10530 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10531 shlibpath_var=LD_LIBRARY_PATH
10532 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10533 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10544 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10545 soname_spec='${libname}${release}${shared_ext}$major'
10546 shlibpath_var=LD_LIBRARY_PATH
10547 shlibpath_overrides_runpath=yes
10548 hardcode_into_libs=yes
10549 # ldd complains unless libraries are executable
10550 postinstall_cmds='chmod +x $lib'
10555 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10556 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10557 shlibpath_var=LD_LIBRARY_PATH
10558 shlibpath_overrides_runpath=yes
10559 if test "$with_gnu_ld" = yes; then
10567 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10568 soname_spec='${libname}${release}${shared_ext}$major'
10569 shlibpath_var=LD_LIBRARY_PATH
10570 case $host_vendor in
10572 shlibpath_overrides_runpath=no
10574 runpath_var=LD_RUN_PATH
10582 shlibpath_overrides_runpath=no
10583 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10589 if test -d /usr/nec ;then
10591 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10592 soname_spec='$libname${shared_ext}.$major'
10593 shlibpath_var=LD_LIBRARY_PATH
10597 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10598 version_type=freebsd-elf
10601 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10602 soname_spec='${libname}${release}${shared_ext}$major'
10603 shlibpath_var=LD_LIBRARY_PATH
10604 shlibpath_overrides_runpath=yes
10605 hardcode_into_libs=yes
10606 if test "$with_gnu_ld" = yes; then
10607 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10609 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10612 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10616 sys_lib_dlsearch_path_spec='/usr/lib'
10620 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10624 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10625 shlibpath_var=LD_LIBRARY_PATH
10626 shlibpath_overrides_runpath=no
10627 hardcode_into_libs=yes
10632 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10633 soname_spec='${libname}${release}${shared_ext}$major'
10634 shlibpath_var=LD_LIBRARY_PATH
10641 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10642 echo "${ECHO_T}$dynamic_linker" >&6; }
10643 test "$dynamic_linker" = no && can_build_shared=no
10645 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10646 if test "$GCC" = yes; then
10647 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10650 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10651 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10653 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10654 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10748 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10749 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
10751 if test -n "$hardcode_libdir_flag_spec" ||
10752 test -n "$runpath_var" ||
10753 test "X$hardcode_automatic" = "Xyes" ; then
10755 # We can hardcode non-existent directories.
10756 if test "$hardcode_direct" != no &&
10757 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10758 # have to relink, otherwise we might link with an installed library
10759 # when we should be linking with a yet-to-be-installed one
10760 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10761 test "$hardcode_minus_L" != no; then
10762 # Linking always hardcodes the temporary library directory.
10763 hardcode_action=relink
10765 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10766 hardcode_action=immediate
10769 # We cannot hardcode anything, or else we can only hardcode existing
10771 hardcode_action=unsupported
10773 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
10774 echo "${ECHO_T}$hardcode_action" >&6; }
10776 if test "$hardcode_action" = relink ||
10777 test "$inherit_rpath" = yes; then
10778 # Fast installation is not supported
10779 enable_fast_install=no
10780 elif test "$shlibpath_overrides_runpath" = yes ||
10781 test "$enable_shared" = no; then
10782 # Fast installation is not necessary
10783 enable_fast_install=needless
10791 if test "x$enable_dlopen" != xyes; then
10792 enable_dlopen=unknown
10793 enable_dlopen_self=unknown
10794 enable_dlopen_self_static=unknown
10801 lt_cv_dlopen="load_add_on"
10803 lt_cv_dlopen_self=yes
10806 mingw* | pw32* | cegcc*)
10807 lt_cv_dlopen="LoadLibrary"
10812 lt_cv_dlopen="dlopen"
10817 # if libdl is installed we need to link against it
10818 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10819 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10820 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10821 echo $ECHO_N "(cached) $ECHO_C" >&6
10823 ac_check_lib_save_LIBS=$LIBS
10825 cat >conftest.$ac_ext <<_ACEOF
10828 cat confdefs.h >>conftest.$ac_ext
10829 cat >>conftest.$ac_ext <<_ACEOF
10830 /* end confdefs.h. */
10832 /* Override any GCC internal prototype to avoid an error.
10833 Use char because int might match the return type of a GCC
10834 builtin and then its argument prototype would still apply. */
10847 rm -f conftest.$ac_objext conftest$ac_exeext
10848 if { (ac_try="$ac_link"
10849 case "(($ac_try" in
10850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10851 *) ac_try_echo=$ac_try;;
10853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10854 (eval "$ac_link") 2>conftest.er1
10856 grep -v '^ *+' conftest.er1 >conftest.err
10858 cat conftest.err >&5
10859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10860 (exit $ac_status); } && {
10861 test -z "$ac_c_werror_flag" ||
10862 test ! -s conftest.err
10863 } && test -s conftest$ac_exeext &&
10864 $as_test_x conftest$ac_exeext; then
10865 ac_cv_lib_dl_dlopen=yes
10867 echo "$as_me: failed program was:" >&5
10868 sed 's/^/| /' conftest.$ac_ext >&5
10870 ac_cv_lib_dl_dlopen=no
10873 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10874 conftest$ac_exeext conftest.$ac_ext
10875 LIBS=$ac_check_lib_save_LIBS
10877 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10878 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10879 if test $ac_cv_lib_dl_dlopen = yes; then
10880 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10883 lt_cv_dlopen="dyld"
10885 lt_cv_dlopen_self=yes
10892 { echo "$as_me:$LINENO: checking for shl_load" >&5
10893 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
10894 if test "${ac_cv_func_shl_load+set}" = set; then
10895 echo $ECHO_N "(cached) $ECHO_C" >&6
10897 cat >conftest.$ac_ext <<_ACEOF
10900 cat confdefs.h >>conftest.$ac_ext
10901 cat >>conftest.$ac_ext <<_ACEOF
10902 /* end confdefs.h. */
10903 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10904 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10905 #define shl_load innocuous_shl_load
10907 /* System header to define __stub macros and hopefully few prototypes,
10908 which can conflict with char shl_load (); below.
10909 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10910 <limits.h> exists even on freestanding compilers. */
10913 # include <limits.h>
10915 # include <assert.h>
10920 /* Override any GCC internal prototype to avoid an error.
10921 Use char because int might match the return type of a GCC
10922 builtin and then its argument prototype would still apply. */
10927 /* The GNU C library defines this for functions which it implements
10928 to always fail with ENOSYS. Some functions are actually named
10929 something starting with __ and the normal name is an alias. */
10930 #if defined __stub_shl_load || defined __stub___shl_load
10937 return shl_load ();
10942 rm -f conftest.$ac_objext conftest$ac_exeext
10943 if { (ac_try="$ac_link"
10944 case "(($ac_try" in
10945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10946 *) ac_try_echo=$ac_try;;
10948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10949 (eval "$ac_link") 2>conftest.er1
10951 grep -v '^ *+' conftest.er1 >conftest.err
10953 cat conftest.err >&5
10954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10955 (exit $ac_status); } && {
10956 test -z "$ac_c_werror_flag" ||
10957 test ! -s conftest.err
10958 } && test -s conftest$ac_exeext &&
10959 $as_test_x conftest$ac_exeext; then
10960 ac_cv_func_shl_load=yes
10962 echo "$as_me: failed program was:" >&5
10963 sed 's/^/| /' conftest.$ac_ext >&5
10965 ac_cv_func_shl_load=no
10968 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10969 conftest$ac_exeext conftest.$ac_ext
10971 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10972 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
10973 if test $ac_cv_func_shl_load = yes; then
10974 lt_cv_dlopen="shl_load"
10976 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10977 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
10978 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10979 echo $ECHO_N "(cached) $ECHO_C" >&6
10981 ac_check_lib_save_LIBS=$LIBS
10983 cat >conftest.$ac_ext <<_ACEOF
10986 cat confdefs.h >>conftest.$ac_ext
10987 cat >>conftest.$ac_ext <<_ACEOF
10988 /* end confdefs.h. */
10990 /* Override any GCC internal prototype to avoid an error.
10991 Use char because int might match the return type of a GCC
10992 builtin and then its argument prototype would still apply. */
11000 return shl_load ();
11005 rm -f conftest.$ac_objext conftest$ac_exeext
11006 if { (ac_try="$ac_link"
11007 case "(($ac_try" in
11008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11009 *) ac_try_echo=$ac_try;;
11011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11012 (eval "$ac_link") 2>conftest.er1
11014 grep -v '^ *+' conftest.er1 >conftest.err
11016 cat conftest.err >&5
11017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11018 (exit $ac_status); } && {
11019 test -z "$ac_c_werror_flag" ||
11020 test ! -s conftest.err
11021 } && test -s conftest$ac_exeext &&
11022 $as_test_x conftest$ac_exeext; then
11023 ac_cv_lib_dld_shl_load=yes
11025 echo "$as_me: failed program was:" >&5
11026 sed 's/^/| /' conftest.$ac_ext >&5
11028 ac_cv_lib_dld_shl_load=no
11031 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11032 conftest$ac_exeext conftest.$ac_ext
11033 LIBS=$ac_check_lib_save_LIBS
11035 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11036 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
11037 if test $ac_cv_lib_dld_shl_load = yes; then
11038 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11040 { echo "$as_me:$LINENO: checking for dlopen" >&5
11041 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
11042 if test "${ac_cv_func_dlopen+set}" = set; then
11043 echo $ECHO_N "(cached) $ECHO_C" >&6
11045 cat >conftest.$ac_ext <<_ACEOF
11048 cat confdefs.h >>conftest.$ac_ext
11049 cat >>conftest.$ac_ext <<_ACEOF
11050 /* end confdefs.h. */
11051 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
11052 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11053 #define dlopen innocuous_dlopen
11055 /* System header to define __stub macros and hopefully few prototypes,
11056 which can conflict with char dlopen (); below.
11057 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11058 <limits.h> exists even on freestanding compilers. */
11061 # include <limits.h>
11063 # include <assert.h>
11068 /* Override any GCC internal prototype to avoid an error.
11069 Use char because int might match the return type of a GCC
11070 builtin and then its argument prototype would still apply. */
11075 /* The GNU C library defines this for functions which it implements
11076 to always fail with ENOSYS. Some functions are actually named
11077 something starting with __ and the normal name is an alias. */
11078 #if defined __stub_dlopen || defined __stub___dlopen
11090 rm -f conftest.$ac_objext conftest$ac_exeext
11091 if { (ac_try="$ac_link"
11092 case "(($ac_try" in
11093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11094 *) ac_try_echo=$ac_try;;
11096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11097 (eval "$ac_link") 2>conftest.er1
11099 grep -v '^ *+' conftest.er1 >conftest.err
11101 cat conftest.err >&5
11102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11103 (exit $ac_status); } && {
11104 test -z "$ac_c_werror_flag" ||
11105 test ! -s conftest.err
11106 } && test -s conftest$ac_exeext &&
11107 $as_test_x conftest$ac_exeext; then
11108 ac_cv_func_dlopen=yes
11110 echo "$as_me: failed program was:" >&5
11111 sed 's/^/| /' conftest.$ac_ext >&5
11113 ac_cv_func_dlopen=no
11116 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11117 conftest$ac_exeext conftest.$ac_ext
11119 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11120 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
11121 if test $ac_cv_func_dlopen = yes; then
11122 lt_cv_dlopen="dlopen"
11124 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11125 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
11126 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11127 echo $ECHO_N "(cached) $ECHO_C" >&6
11129 ac_check_lib_save_LIBS=$LIBS
11131 cat >conftest.$ac_ext <<_ACEOF
11134 cat confdefs.h >>conftest.$ac_ext
11135 cat >>conftest.$ac_ext <<_ACEOF
11136 /* end confdefs.h. */
11138 /* Override any GCC internal prototype to avoid an error.
11139 Use char because int might match the return type of a GCC
11140 builtin and then its argument prototype would still apply. */
11153 rm -f conftest.$ac_objext conftest$ac_exeext
11154 if { (ac_try="$ac_link"
11155 case "(($ac_try" in
11156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11157 *) ac_try_echo=$ac_try;;
11159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11160 (eval "$ac_link") 2>conftest.er1
11162 grep -v '^ *+' conftest.er1 >conftest.err
11164 cat conftest.err >&5
11165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11166 (exit $ac_status); } && {
11167 test -z "$ac_c_werror_flag" ||
11168 test ! -s conftest.err
11169 } && test -s conftest$ac_exeext &&
11170 $as_test_x conftest$ac_exeext; then
11171 ac_cv_lib_dl_dlopen=yes
11173 echo "$as_me: failed program was:" >&5
11174 sed 's/^/| /' conftest.$ac_ext >&5
11176 ac_cv_lib_dl_dlopen=no
11179 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11180 conftest$ac_exeext conftest.$ac_ext
11181 LIBS=$ac_check_lib_save_LIBS
11183 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11184 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
11185 if test $ac_cv_lib_dl_dlopen = yes; then
11186 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11188 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11189 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
11190 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11191 echo $ECHO_N "(cached) $ECHO_C" >&6
11193 ac_check_lib_save_LIBS=$LIBS
11194 LIBS="-lsvld $LIBS"
11195 cat >conftest.$ac_ext <<_ACEOF
11198 cat confdefs.h >>conftest.$ac_ext
11199 cat >>conftest.$ac_ext <<_ACEOF
11200 /* end confdefs.h. */
11202 /* Override any GCC internal prototype to avoid an error.
11203 Use char because int might match the return type of a GCC
11204 builtin and then its argument prototype would still apply. */
11217 rm -f conftest.$ac_objext conftest$ac_exeext
11218 if { (ac_try="$ac_link"
11219 case "(($ac_try" in
11220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11221 *) ac_try_echo=$ac_try;;
11223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11224 (eval "$ac_link") 2>conftest.er1
11226 grep -v '^ *+' conftest.er1 >conftest.err
11228 cat conftest.err >&5
11229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11230 (exit $ac_status); } && {
11231 test -z "$ac_c_werror_flag" ||
11232 test ! -s conftest.err
11233 } && test -s conftest$ac_exeext &&
11234 $as_test_x conftest$ac_exeext; then
11235 ac_cv_lib_svld_dlopen=yes
11237 echo "$as_me: failed program was:" >&5
11238 sed 's/^/| /' conftest.$ac_ext >&5
11240 ac_cv_lib_svld_dlopen=no
11243 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11244 conftest$ac_exeext conftest.$ac_ext
11245 LIBS=$ac_check_lib_save_LIBS
11247 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11248 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
11249 if test $ac_cv_lib_svld_dlopen = yes; then
11250 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11252 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11253 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
11254 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11255 echo $ECHO_N "(cached) $ECHO_C" >&6
11257 ac_check_lib_save_LIBS=$LIBS
11259 cat >conftest.$ac_ext <<_ACEOF
11262 cat confdefs.h >>conftest.$ac_ext
11263 cat >>conftest.$ac_ext <<_ACEOF
11264 /* end confdefs.h. */
11266 /* Override any GCC internal prototype to avoid an error.
11267 Use char because int might match the return type of a GCC
11268 builtin and then its argument prototype would still apply. */
11276 return dld_link ();
11281 rm -f conftest.$ac_objext conftest$ac_exeext
11282 if { (ac_try="$ac_link"
11283 case "(($ac_try" in
11284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11285 *) ac_try_echo=$ac_try;;
11287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11288 (eval "$ac_link") 2>conftest.er1
11290 grep -v '^ *+' conftest.er1 >conftest.err
11292 cat conftest.err >&5
11293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11294 (exit $ac_status); } && {
11295 test -z "$ac_c_werror_flag" ||
11296 test ! -s conftest.err
11297 } && test -s conftest$ac_exeext &&
11298 $as_test_x conftest$ac_exeext; then
11299 ac_cv_lib_dld_dld_link=yes
11301 echo "$as_me: failed program was:" >&5
11302 sed 's/^/| /' conftest.$ac_ext >&5
11304 ac_cv_lib_dld_dld_link=no
11307 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11308 conftest$ac_exeext conftest.$ac_ext
11309 LIBS=$ac_check_lib_save_LIBS
11311 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11312 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
11313 if test $ac_cv_lib_dld_dld_link = yes; then
11314 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11335 if test "x$lt_cv_dlopen" != xno; then
11341 case $lt_cv_dlopen in
11343 save_CPPFLAGS="$CPPFLAGS"
11344 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11346 save_LDFLAGS="$LDFLAGS"
11347 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11350 LIBS="$lt_cv_dlopen_libs $LIBS"
11352 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11353 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
11354 if test "${lt_cv_dlopen_self+set}" = set; then
11355 echo $ECHO_N "(cached) $ECHO_C" >&6
11357 if test "$cross_compiling" = yes; then :
11358 lt_cv_dlopen_self=cross
11360 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11361 lt_status=$lt_dlunknown
11362 cat > conftest.$ac_ext <<_LT_EOF
11363 #line $LINENO "configure"
11364 #include "confdefs.h"
11373 # define LT_DLGLOBAL RTLD_GLOBAL
11376 # define LT_DLGLOBAL DL_GLOBAL
11378 # define LT_DLGLOBAL 0
11382 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11383 find out it does not work in some platform. */
11384 #ifndef LT_DLLAZY_OR_NOW
11386 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11389 # define LT_DLLAZY_OR_NOW DL_LAZY
11392 # define LT_DLLAZY_OR_NOW RTLD_NOW
11395 # define LT_DLLAZY_OR_NOW DL_NOW
11397 # define LT_DLLAZY_OR_NOW 0
11404 /* When -fvisbility=hidden is used, assume the code has been annotated
11405 correspondingly for the symbols needed. */
11406 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11407 void fnord () __attribute__((visibility("default")));
11410 void fnord () { int i=42; }
11413 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11414 int status = $lt_dlunknown;
11418 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11421 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11422 else puts (dlerror ());
11424 /* dlclose (self); */
11432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11433 (eval $ac_link) 2>&5
11435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11436 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11437 (./conftest; exit; ) >&5 2>/dev/null
11439 case x$lt_status in
11440 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11441 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11442 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11445 # compilation failed
11446 lt_cv_dlopen_self=no
11453 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11454 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
11456 if test "x$lt_cv_dlopen_self" = xyes; then
11457 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11458 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11459 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
11460 if test "${lt_cv_dlopen_self_static+set}" = set; then
11461 echo $ECHO_N "(cached) $ECHO_C" >&6
11463 if test "$cross_compiling" = yes; then :
11464 lt_cv_dlopen_self_static=cross
11466 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11467 lt_status=$lt_dlunknown
11468 cat > conftest.$ac_ext <<_LT_EOF
11469 #line $LINENO "configure"
11470 #include "confdefs.h"
11479 # define LT_DLGLOBAL RTLD_GLOBAL
11482 # define LT_DLGLOBAL DL_GLOBAL
11484 # define LT_DLGLOBAL 0
11488 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11489 find out it does not work in some platform. */
11490 #ifndef LT_DLLAZY_OR_NOW
11492 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11495 # define LT_DLLAZY_OR_NOW DL_LAZY
11498 # define LT_DLLAZY_OR_NOW RTLD_NOW
11501 # define LT_DLLAZY_OR_NOW DL_NOW
11503 # define LT_DLLAZY_OR_NOW 0
11510 /* When -fvisbility=hidden is used, assume the code has been annotated
11511 correspondingly for the symbols needed. */
11512 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11513 void fnord () __attribute__((visibility("default")));
11516 void fnord () { int i=42; }
11519 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11520 int status = $lt_dlunknown;
11524 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11527 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11528 else puts (dlerror ());
11530 /* dlclose (self); */
11538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11539 (eval $ac_link) 2>&5
11541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11542 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11543 (./conftest; exit; ) >&5 2>/dev/null
11545 case x$lt_status in
11546 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11547 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11548 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11551 # compilation failed
11552 lt_cv_dlopen_self_static=no
11559 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11560 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
11563 CPPFLAGS="$save_CPPFLAGS"
11564 LDFLAGS="$save_LDFLAGS"
11569 case $lt_cv_dlopen_self in
11570 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11571 *) enable_dlopen_self=unknown ;;
11574 case $lt_cv_dlopen_self_static in
11575 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11576 *) enable_dlopen_self_static=unknown ;;
11598 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11599 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
11600 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11601 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11602 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11603 { echo "$as_me:$LINENO: result: yes" >&5
11604 echo "${ECHO_T}yes" >&6; }
11606 # FIXME - insert some real tests, host_os isn't really good enough
11609 if test -n "$STRIP" ; then
11610 striplib="$STRIP -x"
11611 old_striplib="$STRIP -S"
11612 { echo "$as_me:$LINENO: result: yes" >&5
11613 echo "${ECHO_T}yes" >&6; }
11615 { echo "$as_me:$LINENO: result: no" >&5
11616 echo "${ECHO_T}no" >&6; }
11620 { echo "$as_me:$LINENO: result: no" >&5
11621 echo "${ECHO_T}no" >&6; }
11637 # Report which library types will actually be built
11638 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11639 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
11640 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
11641 echo "${ECHO_T}$can_build_shared" >&6; }
11643 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11644 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
11645 test "$can_build_shared" = "no" && enable_shared=no
11647 # On AIX, shared libraries and static libraries use the same namespace, and
11648 # are all built from PIC.
11651 test "$enable_shared" = yes && enable_static=no
11652 if test -n "$RANLIB"; then
11653 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11654 postinstall_cmds='$RANLIB $lib'
11659 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11660 test "$enable_shared" = yes && enable_static=no
11664 { echo "$as_me:$LINENO: result: $enable_shared" >&5
11665 echo "${ECHO_T}$enable_shared" >&6; }
11667 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11668 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
11669 # Make sure either enable_shared or enable_static is yes.
11670 test "$enable_shared" = yes || enable_static=yes
11671 { echo "$as_me:$LINENO: result: $enable_static" >&5
11672 echo "${ECHO_T}$enable_static" >&6; }
11679 ac_cpp='$CPP $CPPFLAGS'
11680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11698 ac_config_commands="$ac_config_commands libtool"
11703 # Only expand once:
11707 ac_cpp='$CXXCPP $CPPFLAGS'
11708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11711 if test -z "$CXX"; then
11712 if test -n "$CCC"; then
11715 if test -n "$ac_tool_prefix"; then
11716 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
11718 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11719 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11720 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11721 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11722 if test "${ac_cv_prog_CXX+set}" = set; then
11723 echo $ECHO_N "(cached) $ECHO_C" >&6
11725 if test -n "$CXX"; then
11726 ac_cv_prog_CXX="$CXX" # Let the user override the test.
11728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11729 for as_dir in $PATH
11732 test -z "$as_dir" && as_dir=.
11733 for ac_exec_ext in '' $ac_executable_extensions; do
11734 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11735 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
11736 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11745 CXX=$ac_cv_prog_CXX
11746 if test -n "$CXX"; then
11747 { echo "$as_me:$LINENO: result: $CXX" >&5
11748 echo "${ECHO_T}$CXX" >&6; }
11750 { echo "$as_me:$LINENO: result: no" >&5
11751 echo "${ECHO_T}no" >&6; }
11755 test -n "$CXX" && break
11758 if test -z "$CXX"; then
11760 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
11762 # Extract the first word of "$ac_prog", so it can be a program name with args.
11763 set dummy $ac_prog; ac_word=$2
11764 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11765 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11766 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11767 echo $ECHO_N "(cached) $ECHO_C" >&6
11769 if test -n "$ac_ct_CXX"; then
11770 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
11772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11773 for as_dir in $PATH
11776 test -z "$as_dir" && as_dir=.
11777 for ac_exec_ext in '' $ac_executable_extensions; do
11778 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11779 ac_cv_prog_ac_ct_CXX="$ac_prog"
11780 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11789 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11790 if test -n "$ac_ct_CXX"; then
11791 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11792 echo "${ECHO_T}$ac_ct_CXX" >&6; }
11794 { echo "$as_me:$LINENO: result: no" >&5
11795 echo "${ECHO_T}no" >&6; }
11799 test -n "$ac_ct_CXX" && break
11802 if test "x$ac_ct_CXX" = x; then
11805 case $cross_compiling:$ac_tool_warned in
11807 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
11808 whose name does not start with the host triplet. If you think this
11809 configuration is useful to you, please write to autoconf@gnu.org." >&5
11810 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
11811 whose name does not start with the host triplet. If you think this
11812 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
11813 ac_tool_warned=yes ;;
11821 # Provide some information about the compiler.
11822 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
11823 ac_compiler=`set X $ac_compile; echo $2`
11824 { (ac_try="$ac_compiler --version >&5"
11825 case "(($ac_try" in
11826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11827 *) ac_try_echo=$ac_try;;
11829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11830 (eval "$ac_compiler --version >&5") 2>&5
11832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11833 (exit $ac_status); }
11834 { (ac_try="$ac_compiler -v >&5"
11835 case "(($ac_try" in
11836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11837 *) ac_try_echo=$ac_try;;
11839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11840 (eval "$ac_compiler -v >&5") 2>&5
11842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11843 (exit $ac_status); }
11844 { (ac_try="$ac_compiler -V >&5"
11845 case "(($ac_try" in
11846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11847 *) ac_try_echo=$ac_try;;
11849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11850 (eval "$ac_compiler -V >&5") 2>&5
11852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11853 (exit $ac_status); }
11855 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11856 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
11857 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11858 echo $ECHO_N "(cached) $ECHO_C" >&6
11860 cat >conftest.$ac_ext <<_ACEOF
11863 cat confdefs.h >>conftest.$ac_ext
11864 cat >>conftest.$ac_ext <<_ACEOF
11865 /* end confdefs.h. */
11878 rm -f conftest.$ac_objext
11879 if { (ac_try="$ac_compile"
11880 case "(($ac_try" in
11881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11882 *) ac_try_echo=$ac_try;;
11884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11885 (eval "$ac_compile") 2>conftest.er1
11887 grep -v '^ *+' conftest.er1 >conftest.err
11889 cat conftest.err >&5
11890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11891 (exit $ac_status); } && {
11892 test -z "$ac_cxx_werror_flag" ||
11893 test ! -s conftest.err
11894 } && test -s conftest.$ac_objext; then
11895 ac_compiler_gnu=yes
11897 echo "$as_me: failed program was:" >&5
11898 sed 's/^/| /' conftest.$ac_ext >&5
11903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11904 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11907 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11908 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
11909 GXX=`test $ac_compiler_gnu = yes && echo yes`
11910 ac_test_CXXFLAGS=${CXXFLAGS+set}
11911 ac_save_CXXFLAGS=$CXXFLAGS
11912 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11913 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
11914 if test "${ac_cv_prog_cxx_g+set}" = set; then
11915 echo $ECHO_N "(cached) $ECHO_C" >&6
11917 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
11918 ac_cxx_werror_flag=yes
11919 ac_cv_prog_cxx_g=no
11921 cat >conftest.$ac_ext <<_ACEOF
11924 cat confdefs.h >>conftest.$ac_ext
11925 cat >>conftest.$ac_ext <<_ACEOF
11926 /* end confdefs.h. */
11936 rm -f conftest.$ac_objext
11937 if { (ac_try="$ac_compile"
11938 case "(($ac_try" in
11939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11940 *) ac_try_echo=$ac_try;;
11942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11943 (eval "$ac_compile") 2>conftest.er1
11945 grep -v '^ *+' conftest.er1 >conftest.err
11947 cat conftest.err >&5
11948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11949 (exit $ac_status); } && {
11950 test -z "$ac_cxx_werror_flag" ||
11951 test ! -s conftest.err
11952 } && test -s conftest.$ac_objext; then
11953 ac_cv_prog_cxx_g=yes
11955 echo "$as_me: failed program was:" >&5
11956 sed 's/^/| /' conftest.$ac_ext >&5
11959 cat >conftest.$ac_ext <<_ACEOF
11962 cat confdefs.h >>conftest.$ac_ext
11963 cat >>conftest.$ac_ext <<_ACEOF
11964 /* end confdefs.h. */
11974 rm -f conftest.$ac_objext
11975 if { (ac_try="$ac_compile"
11976 case "(($ac_try" in
11977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11978 *) ac_try_echo=$ac_try;;
11980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11981 (eval "$ac_compile") 2>conftest.er1
11983 grep -v '^ *+' conftest.er1 >conftest.err
11985 cat conftest.err >&5
11986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11987 (exit $ac_status); } && {
11988 test -z "$ac_cxx_werror_flag" ||
11989 test ! -s conftest.err
11990 } && test -s conftest.$ac_objext; then
11993 echo "$as_me: failed program was:" >&5
11994 sed 's/^/| /' conftest.$ac_ext >&5
11996 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
11998 cat >conftest.$ac_ext <<_ACEOF
12001 cat confdefs.h >>conftest.$ac_ext
12002 cat >>conftest.$ac_ext <<_ACEOF
12003 /* end confdefs.h. */
12013 rm -f conftest.$ac_objext
12014 if { (ac_try="$ac_compile"
12015 case "(($ac_try" in
12016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12017 *) ac_try_echo=$ac_try;;
12019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12020 (eval "$ac_compile") 2>conftest.er1
12022 grep -v '^ *+' conftest.er1 >conftest.err
12024 cat conftest.err >&5
12025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12026 (exit $ac_status); } && {
12027 test -z "$ac_cxx_werror_flag" ||
12028 test ! -s conftest.err
12029 } && test -s conftest.$ac_objext; then
12030 ac_cv_prog_cxx_g=yes
12032 echo "$as_me: failed program was:" >&5
12033 sed 's/^/| /' conftest.$ac_ext >&5
12038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12045 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
12047 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12048 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
12049 if test "$ac_test_CXXFLAGS" = set; then
12050 CXXFLAGS=$ac_save_CXXFLAGS
12051 elif test $ac_cv_prog_cxx_g = yes; then
12052 if test "$GXX" = yes; then
12058 if test "$GXX" = yes; then
12065 ac_cpp='$CPP $CPPFLAGS'
12066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12070 depcc="$CXX" am_compiler_list=
12072 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
12073 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
12074 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
12075 echo $ECHO_N "(cached) $ECHO_C" >&6
12077 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12078 # We make a subdir and do the tests there. Otherwise we can end up
12079 # making bogus files that we don't know about and never remove. For
12080 # instance it was reported that on HP-UX the gcc test will end up
12081 # making a dummy file named `D' -- because `-MD' means `put the output
12084 # Copy depcomp to subdir because otherwise we won't find it if we're
12085 # using a relative directory.
12086 cp "$am_depcomp" conftest.dir
12088 # We will build objects and dependencies in a subdirectory because
12089 # it helps to detect inapplicable dependency modes. For instance
12090 # both Tru64's cc and ICC support -MD to output dependencies as a
12091 # side effect of compilation, but ICC will put the dependencies in
12092 # the current directory while Tru64 will put them in the object
12096 am_cv_CXX_dependencies_compiler_type=none
12097 if test "$am_compiler_list" = ""; then
12098 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12100 for depmode in $am_compiler_list; do
12101 # Setup a source with many dependencies, because some compilers
12102 # like to wrap large dependency lists on column 80 (with \), and
12103 # we should not choose a depcomp mode which is confused by this.
12105 # We need to recreate these files for each test, as the compiler may
12106 # overwrite some of them when testing with obscure command lines.
12107 # This happens at least with the AIX C compiler.
12109 for i in 1 2 3 4 5 6; do
12110 echo '#include "conftst'$i'.h"' >> sub/conftest.c
12111 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12112 # Solaris 8's {/usr,}/bin/sh.
12113 touch sub/conftst$i.h
12115 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12119 # after this tag, mechanisms are not by side-effect, so they'll
12120 # only be used when explicitly requested
12121 if test "x$enable_dependency_tracking" = xyes; then
12129 # We check with `-c' and `-o' for the sake of the "dashmstdout"
12130 # mode. It turns out that the SunPro C++ compiler does not properly
12131 # handle `-M -o', and we need to detect this.
12132 if depmode=$depmode \
12133 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
12134 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12135 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
12136 >/dev/null 2>conftest.err &&
12137 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12138 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12139 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
12140 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12141 # icc doesn't choke on unknown options, it will just issue warnings
12142 # or remarks (even with -Werror). So we grep stderr for any message
12143 # that says an option was ignored or not supported.
12144 # When given -MP, icc 7.0 and 7.1 complain thusly:
12145 # icc: Command line warning: ignoring option '-M'; no argument required
12146 # The diagnosis changed in icc 8.0:
12147 # icc: Command line remark: option '-MP' not supported
12148 if (grep 'ignoring option' conftest.err ||
12149 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12150 am_cv_CXX_dependencies_compiler_type=$depmode
12157 rm -rf conftest.dir
12159 am_cv_CXX_dependencies_compiler_type=none
12163 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
12164 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
12165 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
12168 test "x$enable_dependency_tracking" != xno \
12169 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
12170 am__fastdepCXX_TRUE=
12171 am__fastdepCXX_FALSE='#'
12173 am__fastdepCXX_TRUE='#'
12174 am__fastdepCXX_FALSE=
12179 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12180 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12181 (test "X$CXX" != "Xg++"))) ; then
12183 ac_cpp='$CXXCPP $CPPFLAGS'
12184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12187 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
12188 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
12189 if test -z "$CXXCPP"; then
12190 if test "${ac_cv_prog_CXXCPP+set}" = set; then
12191 echo $ECHO_N "(cached) $ECHO_C" >&6
12193 # Double quotes because CXXCPP needs to be expanded
12194 for CXXCPP in "$CXX -E" "/lib/cpp"
12196 ac_preproc_ok=false
12197 for ac_cxx_preproc_warn_flag in '' yes
12199 # Use a header file that comes with gcc, so configuring glibc
12200 # with a fresh cross-compiler works.
12201 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12202 # <limits.h> exists even on freestanding compilers.
12203 # On the NeXT, cc -E runs the code through the compiler's parser,
12204 # not just through cpp. "Syntax error" is here to catch this case.
12205 cat >conftest.$ac_ext <<_ACEOF
12208 cat confdefs.h >>conftest.$ac_ext
12209 cat >>conftest.$ac_ext <<_ACEOF
12210 /* end confdefs.h. */
12212 # include <limits.h>
12214 # include <assert.h>
12218 if { (ac_try="$ac_cpp conftest.$ac_ext"
12219 case "(($ac_try" in
12220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12221 *) ac_try_echo=$ac_try;;
12223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12224 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12226 grep -v '^ *+' conftest.er1 >conftest.err
12228 cat conftest.err >&5
12229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12230 (exit $ac_status); } >/dev/null && {
12231 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
12232 test ! -s conftest.err
12236 echo "$as_me: failed program was:" >&5
12237 sed 's/^/| /' conftest.$ac_ext >&5
12239 # Broken: fails on valid input.
12243 rm -f conftest.err conftest.$ac_ext
12245 # OK, works on sane cases. Now check whether nonexistent headers
12246 # can be detected and how.
12247 cat >conftest.$ac_ext <<_ACEOF
12250 cat confdefs.h >>conftest.$ac_ext
12251 cat >>conftest.$ac_ext <<_ACEOF
12252 /* end confdefs.h. */
12253 #include <ac_nonexistent.h>
12255 if { (ac_try="$ac_cpp conftest.$ac_ext"
12256 case "(($ac_try" in
12257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12258 *) ac_try_echo=$ac_try;;
12260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12261 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12263 grep -v '^ *+' conftest.er1 >conftest.err
12265 cat conftest.err >&5
12266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12267 (exit $ac_status); } >/dev/null && {
12268 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
12269 test ! -s conftest.err
12271 # Broken: success on invalid input.
12274 echo "$as_me: failed program was:" >&5
12275 sed 's/^/| /' conftest.$ac_ext >&5
12277 # Passes both tests.
12282 rm -f conftest.err conftest.$ac_ext
12285 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12286 rm -f conftest.err conftest.$ac_ext
12287 if $ac_preproc_ok; then
12292 ac_cv_prog_CXXCPP=$CXXCPP
12295 CXXCPP=$ac_cv_prog_CXXCPP
12297 ac_cv_prog_CXXCPP=$CXXCPP
12299 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
12300 echo "${ECHO_T}$CXXCPP" >&6; }
12301 ac_preproc_ok=false
12302 for ac_cxx_preproc_warn_flag in '' yes
12304 # Use a header file that comes with gcc, so configuring glibc
12305 # with a fresh cross-compiler works.
12306 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12307 # <limits.h> exists even on freestanding compilers.
12308 # On the NeXT, cc -E runs the code through the compiler's parser,
12309 # not just through cpp. "Syntax error" is here to catch this case.
12310 cat >conftest.$ac_ext <<_ACEOF
12313 cat confdefs.h >>conftest.$ac_ext
12314 cat >>conftest.$ac_ext <<_ACEOF
12315 /* end confdefs.h. */
12317 # include <limits.h>
12319 # include <assert.h>
12323 if { (ac_try="$ac_cpp conftest.$ac_ext"
12324 case "(($ac_try" in
12325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12326 *) ac_try_echo=$ac_try;;
12328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12329 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12331 grep -v '^ *+' conftest.er1 >conftest.err
12333 cat conftest.err >&5
12334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12335 (exit $ac_status); } >/dev/null && {
12336 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
12337 test ! -s conftest.err
12341 echo "$as_me: failed program was:" >&5
12342 sed 's/^/| /' conftest.$ac_ext >&5
12344 # Broken: fails on valid input.
12348 rm -f conftest.err conftest.$ac_ext
12350 # OK, works on sane cases. Now check whether nonexistent headers
12351 # can be detected and how.
12352 cat >conftest.$ac_ext <<_ACEOF
12355 cat confdefs.h >>conftest.$ac_ext
12356 cat >>conftest.$ac_ext <<_ACEOF
12357 /* end confdefs.h. */
12358 #include <ac_nonexistent.h>
12360 if { (ac_try="$ac_cpp conftest.$ac_ext"
12361 case "(($ac_try" in
12362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12363 *) ac_try_echo=$ac_try;;
12365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12366 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12368 grep -v '^ *+' conftest.er1 >conftest.err
12370 cat conftest.err >&5
12371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12372 (exit $ac_status); } >/dev/null && {
12373 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
12374 test ! -s conftest.err
12376 # Broken: success on invalid input.
12379 echo "$as_me: failed program was:" >&5
12380 sed 's/^/| /' conftest.$ac_ext >&5
12382 # Passes both tests.
12387 rm -f conftest.err conftest.$ac_ext
12390 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12391 rm -f conftest.err conftest.$ac_ext
12392 if $ac_preproc_ok; then
12395 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
12396 See \`config.log' for more details." >&5
12397 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
12398 See \`config.log' for more details." >&2;}
12399 { (exit 1); exit 1; }; }
12403 ac_cpp='$CPP $CPPFLAGS'
12404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12409 _lt_caught_CXX_error=yes
12413 ac_cpp='$CXXCPP $CPPFLAGS'
12414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12418 archive_cmds_need_lc_CXX=no
12419 allow_undefined_flag_CXX=
12420 always_export_symbols_CXX=no
12421 archive_expsym_cmds_CXX=
12422 compiler_needs_object_CXX=no
12423 export_dynamic_flag_spec_CXX=
12424 hardcode_direct_CXX=no
12425 hardcode_direct_absolute_CXX=no
12426 hardcode_libdir_flag_spec_CXX=
12427 hardcode_libdir_flag_spec_ld_CXX=
12428 hardcode_libdir_separator_CXX=
12429 hardcode_minus_L_CXX=no
12430 hardcode_shlibpath_var_CXX=unsupported
12431 hardcode_automatic_CXX=no
12432 inherit_rpath_CXX=no
12434 module_expsym_cmds_CXX=
12435 link_all_deplibs_CXX=unknown
12436 old_archive_cmds_CXX=$old_archive_cmds
12437 reload_flag_CXX=$reload_flag
12438 reload_cmds_CXX=$reload_cmds
12439 no_undefined_flag_CXX=
12440 whole_archive_flag_spec_CXX=
12441 enable_shared_with_static_runtimes_CXX=no
12443 # Source file extension for C++ test sources.
12446 # Object file extension for compiled C++ test sources.
12450 # No sense in running all these tests if we already determined that
12451 # the CXX compiler isn't working. Some variables (like enable_shared)
12452 # are currently assumed to apply to all compilers on this platform,
12453 # and will be corrupted by setting them based on a non-working compiler.
12454 if test "$_lt_caught_CXX_error" != yes; then
12455 # Code to be used in simple compile tests
12456 lt_simple_compile_test_code="int some_variable = 0;"
12458 # Code to be used in simple link tests
12459 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12461 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12468 # If no C compiler was specified, use CC.
12471 # If no C compiler flags were specified, use CFLAGS.
12472 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12474 # Allow CC to be a program name with arguments.
12478 # save warnings/boilerplate of simple test code
12479 ac_outfile=conftest.$ac_objext
12480 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12481 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12482 _lt_compiler_boilerplate=`cat conftest.err`
12485 ac_outfile=conftest.$ac_objext
12486 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12487 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12488 _lt_linker_boilerplate=`cat conftest.err`
12492 # Allow CC to be a program name with arguments.
12497 lt_save_with_gnu_ld=$with_gnu_ld
12498 lt_save_path_LD=$lt_cv_path_LD
12499 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12500 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12502 $as_unset lt_cv_prog_gnu_ld
12504 if test -n "${lt_cv_path_LDCXX+set}"; then
12505 lt_cv_path_LD=$lt_cv_path_LDCXX
12507 $as_unset lt_cv_path_LD
12509 test -z "${LDCXX+set}" || LD=$LDCXX
12513 for cc_temp in $compiler""; do
12515 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12516 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12521 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12524 if test -n "$compiler"; then
12525 # We don't want -fno-exception when compiling C++ code, so set the
12526 # no_builtin_flag separately
12527 if test "$GXX" = yes; then
12528 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12530 lt_prog_compiler_no_builtin_flag_CXX=
12533 if test "$GXX" = yes; then
12534 # Set up default GNU C++ configuration
12538 # Check whether --with-gnu-ld was given.
12539 if test "${with_gnu_ld+set}" = set; then
12540 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12546 if test "$GCC" = yes; then
12547 # Check if gcc -print-prog-name=ld gives a path.
12548 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
12549 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
12552 # gcc leaves a trailing carriage return which upsets mingw
12553 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12555 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12558 # Accept absolute paths.
12560 re_direlt='/[^/][^/]*/\.\./'
12561 # Canonicalize the pathname of ld
12562 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12563 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12564 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12566 test -z "$LD" && LD="$ac_prog"
12569 # If it fails, then pretend we aren't using GCC.
12573 # If it is relative, then search for the first ld in PATH.
12574 with_gnu_ld=unknown
12577 elif test "$with_gnu_ld" = yes; then
12578 { echo "$as_me:$LINENO: checking for GNU ld" >&5
12579 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
12581 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
12582 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
12584 if test "${lt_cv_path_LD+set}" = set; then
12585 echo $ECHO_N "(cached) $ECHO_C" >&6
12587 if test -z "$LD"; then
12588 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12589 for ac_dir in $PATH; do
12591 test -z "$ac_dir" && ac_dir=.
12592 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12593 lt_cv_path_LD="$ac_dir/$ac_prog"
12594 # Check to see if the program is GNU ld. I'd rather use --version,
12595 # but apparently some variants of GNU ld only accept -v.
12596 # Break only if it was the GNU/non-GNU ld that we prefer.
12597 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12598 *GNU* | *'with BFD'*)
12599 test "$with_gnu_ld" != no && break
12602 test "$with_gnu_ld" != yes && break
12609 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12613 LD="$lt_cv_path_LD"
12614 if test -n "$LD"; then
12615 { echo "$as_me:$LINENO: result: $LD" >&5
12616 echo "${ECHO_T}$LD" >&6; }
12618 { echo "$as_me:$LINENO: result: no" >&5
12619 echo "${ECHO_T}no" >&6; }
12621 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
12622 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
12623 { (exit 1); exit 1; }; }
12624 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
12625 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
12626 if test "${lt_cv_prog_gnu_ld+set}" = set; then
12627 echo $ECHO_N "(cached) $ECHO_C" >&6
12629 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12630 case `$LD -v 2>&1 </dev/null` in
12631 *GNU* | *'with BFD'*)
12632 lt_cv_prog_gnu_ld=yes
12635 lt_cv_prog_gnu_ld=no
12639 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
12640 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
12641 with_gnu_ld=$lt_cv_prog_gnu_ld
12649 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12650 # archiving commands below assume that GNU ld is being used.
12651 if test "$with_gnu_ld" = yes; then
12652 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12653 archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12655 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12656 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12658 # If archive_cmds runs LD, not CC, wlarc should be empty
12659 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12660 # investigate it a little bit more. (MM)
12663 # ancient GNU ld didn't support --whole-archive et. al.
12664 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12665 $GREP 'no-whole-archive' > /dev/null; then
12666 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12668 whole_archive_flag_spec_CXX=
12674 # A generic and very simple default shared library creation
12675 # command for GNU C++ for the case where it uses the native
12676 # linker, instead of GNU ld. If possible, this setting should
12677 # overridden to take advantage of the native linker features on
12678 # the platform it is being used on.
12679 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12682 # Commands to make compiler produce verbose output that lists
12683 # what "hidden" libraries, object files and flags are used when
12684 # linking a shared library.
12685 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12693 # PORTME: fill in a description of your system's C++ link characteristics
12694 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12695 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12699 # FIXME: insert proper C++ library support
12703 if test "$host_cpu" = ia64; then
12704 # On IA64, the linker does run time linking by default, so we don't
12705 # have to do anything special.
12706 aix_use_runtimelinking=no
12707 exp_sym_flag='-Bexport'
12710 aix_use_runtimelinking=no
12712 # Test if we are trying to use run time linking or normal
12713 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12714 # need to do runtime linking.
12715 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12716 for ld_flag in $LDFLAGS; do
12719 aix_use_runtimelinking=yes
12727 exp_sym_flag='-bexport'
12728 no_entry_flag='-bnoentry'
12731 # When large executables or shared objects are built, AIX ld can
12732 # have problems creating the table of contents. If linking a library
12733 # or program results in "error TOC overflow" add -mminimal-toc to
12734 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12735 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12737 archive_cmds_CXX=''
12738 hardcode_direct_CXX=yes
12739 hardcode_direct_absolute_CXX=yes
12740 hardcode_libdir_separator_CXX=':'
12741 link_all_deplibs_CXX=yes
12742 file_list_spec_CXX='${wl}-f,'
12744 if test "$GXX" = yes; then
12745 case $host_os in aix4.[012]|aix4.[012].*)
12746 # We only want to do this on AIX 4.2 and lower, the check
12747 # below for broken collect2 doesn't work under 4.3+
12748 collect2name=`${CC} -print-prog-name=collect2`
12749 if test -f "$collect2name" &&
12750 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12752 # We have reworked collect2
12755 # We have old collect2
12756 hardcode_direct_CXX=unsupported
12757 # It fails to find uninstalled libraries when the uninstalled
12758 # path is not listed in the libpath. Setting hardcode_minus_L
12759 # to unsupported forces relinking
12760 hardcode_minus_L_CXX=yes
12761 hardcode_libdir_flag_spec_CXX='-L$libdir'
12762 hardcode_libdir_separator_CXX=
12765 shared_flag='-shared'
12766 if test "$aix_use_runtimelinking" = yes; then
12767 shared_flag="$shared_flag "'${wl}-G'
12771 if test "$host_cpu" = ia64; then
12772 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12773 # chokes on -Wl,-G. The following line is correct:
12776 if test "$aix_use_runtimelinking" = yes; then
12777 shared_flag='${wl}-G'
12779 shared_flag='${wl}-bM:SRE'
12784 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12785 # It seems that -bexpall does not export symbols beginning with
12786 # underscore (_), so it is better to generate a list of symbols to
12788 always_export_symbols_CXX=yes
12789 if test "$aix_use_runtimelinking" = yes; then
12790 # Warning - without using the other runtime loading flags (-brtl),
12791 # -berok will link without error, but may produce a broken library.
12792 allow_undefined_flag_CXX='-berok'
12793 # Determine the default libpath from the value encoded in an empty
12795 cat >conftest.$ac_ext <<_ACEOF
12798 cat confdefs.h >>conftest.$ac_ext
12799 cat >>conftest.$ac_ext <<_ACEOF
12800 /* end confdefs.h. */
12810 rm -f conftest.$ac_objext conftest$ac_exeext
12811 if { (ac_try="$ac_link"
12812 case "(($ac_try" in
12813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12814 *) ac_try_echo=$ac_try;;
12816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12817 (eval "$ac_link") 2>conftest.er1
12819 grep -v '^ *+' conftest.er1 >conftest.err
12821 cat conftest.err >&5
12822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12823 (exit $ac_status); } && {
12824 test -z "$ac_cxx_werror_flag" ||
12825 test ! -s conftest.err
12826 } && test -s conftest$ac_exeext &&
12827 $as_test_x conftest$ac_exeext; then
12829 lt_aix_libpath_sed='
12830 /Import File Strings/,/^$/ {
12836 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12837 # Check for a 64-bit object if we didn't find anything.
12838 if test -z "$aix_libpath"; then
12839 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12842 echo "$as_me: failed program was:" >&5
12843 sed 's/^/| /' conftest.$ac_ext >&5
12848 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12849 conftest$ac_exeext conftest.$ac_ext
12850 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12852 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12854 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12856 if test "$host_cpu" = ia64; then
12857 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12858 allow_undefined_flag_CXX="-z nodefs"
12859 archive_expsym_cmds_CXX="\$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"
12861 # Determine the default libpath from the value encoded in an
12862 # empty executable.
12863 cat >conftest.$ac_ext <<_ACEOF
12866 cat confdefs.h >>conftest.$ac_ext
12867 cat >>conftest.$ac_ext <<_ACEOF
12868 /* end confdefs.h. */
12878 rm -f conftest.$ac_objext conftest$ac_exeext
12879 if { (ac_try="$ac_link"
12880 case "(($ac_try" in
12881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12882 *) ac_try_echo=$ac_try;;
12884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12885 (eval "$ac_link") 2>conftest.er1
12887 grep -v '^ *+' conftest.er1 >conftest.err
12889 cat conftest.err >&5
12890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12891 (exit $ac_status); } && {
12892 test -z "$ac_cxx_werror_flag" ||
12893 test ! -s conftest.err
12894 } && test -s conftest$ac_exeext &&
12895 $as_test_x conftest$ac_exeext; then
12897 lt_aix_libpath_sed='
12898 /Import File Strings/,/^$/ {
12904 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12905 # Check for a 64-bit object if we didn't find anything.
12906 if test -z "$aix_libpath"; then
12907 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12910 echo "$as_me: failed program was:" >&5
12911 sed 's/^/| /' conftest.$ac_ext >&5
12916 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12917 conftest$ac_exeext conftest.$ac_ext
12918 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12920 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12921 # Warning - without using the other run time loading flags,
12922 # -berok will link without error, but may produce a broken library.
12923 no_undefined_flag_CXX=' ${wl}-bernotok'
12924 allow_undefined_flag_CXX=' ${wl}-berok'
12925 if test "$with_gnu_ld" = yes; then
12926 # We only use this code for GNU lds that support --whole-archive.
12927 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12929 # Exported symbols can be pulled into shared objects from archives
12930 whole_archive_flag_spec_CXX='$convenience'
12932 archive_cmds_need_lc_CXX=yes
12933 # This is similar to how AIX traditionally builds its shared
12935 archive_expsym_cmds_CXX="\$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'
12941 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12942 allow_undefined_flag_CXX=unsupported
12943 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12944 # support --undefined. This deserves some investigation. FIXME
12945 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12952 case $cc_basename in
12954 # FIXME: insert proper C++ library support
12960 cygwin* | mingw* | pw32* | cegcc*)
12961 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12962 # as there is no search path for DLLs.
12963 hardcode_libdir_flag_spec_CXX='-L$libdir'
12964 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12965 allow_undefined_flag_CXX=unsupported
12966 always_export_symbols_CXX=no
12967 enable_shared_with_static_runtimes_CXX=yes
12969 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12970 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12971 # If the export-symbols file already is a .def file (1st line
12972 # is EXPORTS), use it as is; otherwise, prepend...
12973 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12974 cp $export_symbols $output_objdir/$soname.def;
12976 echo EXPORTS > $output_objdir/$soname.def;
12977 cat $export_symbols >> $output_objdir/$soname.def;
12979 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12984 darwin* | rhapsody*)
12987 archive_cmds_need_lc_CXX=no
12988 hardcode_direct_CXX=no
12989 hardcode_automatic_CXX=yes
12990 hardcode_shlibpath_var_CXX=unsupported
12991 if test "$lt_cv_ld_force_load" = "yes"; then
12992 whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
12994 whole_archive_flag_spec_CXX=''
12996 link_all_deplibs_CXX=yes
12997 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12998 case $cc_basename in
12999 ifort*) _lt_dar_can_shared=yes ;;
13000 *) _lt_dar_can_shared=$GCC ;;
13002 if test "$_lt_dar_can_shared" = "yes"; then
13003 output_verbose_link_cmd=func_echo_all
13004 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
13005 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13006 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
13007 module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
13008 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13009 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
13010 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
13020 case $cc_basename in
13022 # FIXME: insert proper C++ library support
13026 # Green Hills C++ Compiler
13027 # FIXME: insert proper C++ library support
13031 # FIXME: insert proper C++ library support
13038 # C++ shared libraries reported to be fairly broken before
13044 archive_cmds_need_lc_CXX=no
13047 freebsd* | dragonfly*)
13048 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13057 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13058 link_all_deplibs_CXX=yes
13062 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13063 hardcode_libdir_separator_CXX=:
13064 export_dynamic_flag_spec_CXX='${wl}-E'
13065 hardcode_direct_CXX=yes
13066 hardcode_minus_L_CXX=yes # Not in the search PATH,
13067 # but as the default
13068 # location of the library.
13070 case $cc_basename in
13072 # FIXME: insert proper C++ library support
13076 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13077 # Commands to make compiler produce verbose output that lists
13078 # what "hidden" libraries, object files and flags are used when
13079 # linking a shared library.
13081 # There doesn't appear to be a way to prevent this compiler from
13082 # explicitly linking system object files so we need to strip them
13083 # from the output so that they don't get included in the library
13085 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13088 if test "$GXX" = yes; then
13089 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13091 # FIXME: insert proper C++ library support
13099 if test $with_gnu_ld = no; then
13100 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13101 hardcode_libdir_separator_CXX=:
13107 export_dynamic_flag_spec_CXX='${wl}-E'
13113 hardcode_direct_CXX=no
13114 hardcode_shlibpath_var_CXX=no
13117 hardcode_direct_CXX=yes
13118 hardcode_direct_absolute_CXX=yes
13119 hardcode_minus_L_CXX=yes # Not in the search PATH,
13120 # but as the default
13121 # location of the library.
13125 case $cc_basename in
13127 # FIXME: insert proper C++ library support
13133 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13136 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13139 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13142 # Commands to make compiler produce verbose output that lists
13143 # what "hidden" libraries, object files and flags are used when
13144 # linking a shared library.
13146 # There doesn't appear to be a way to prevent this compiler from
13147 # explicitly linking system object files so we need to strip them
13148 # from the output so that they don't get included in the library
13150 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13153 if test "$GXX" = yes; then
13154 if test $with_gnu_ld = no; then
13157 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13160 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13163 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13168 # FIXME: insert proper C++ library support
13176 hardcode_direct_CXX=no
13177 hardcode_shlibpath_var_CXX=no
13178 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13179 export_dynamic_flag_spec_CXX='${wl}-E'
13180 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13181 # Instead, shared libraries are loaded at an image base (0x10000000 by
13182 # default) and relocated if they conflict, which is a slow very memory
13183 # consuming and fragmenting process. To avoid this, we pick a random,
13184 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13185 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13186 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
13187 archive_expsym_cmds_CXX='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'
13190 case $cc_basename in
13193 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13195 # Archives containing C++ object files must be created using
13196 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13197 # necessary to make sure instantiated templates are included
13199 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13202 if test "$GXX" = yes; then
13203 if test "$with_gnu_ld" = no; then
13204 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13206 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
13209 link_all_deplibs_CXX=yes
13212 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13213 hardcode_libdir_separator_CXX=:
13214 inherit_rpath_CXX=yes
13217 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13218 case $cc_basename in
13220 # Kuck and Associates, Inc. (KAI) C++ Compiler
13222 # KCC will only create a shared library if the output file
13223 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13224 # to its proper name (with version) after linking.
13225 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
13226 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
13227 # Commands to make compiler produce verbose output that lists
13228 # what "hidden" libraries, object files and flags are used when
13229 # linking a shared library.
13231 # There doesn't appear to be a way to prevent this compiler from
13232 # explicitly linking system object files so we need to strip them
13233 # from the output so that they don't get included in the library
13235 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13237 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13238 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13240 # Archives containing C++ object files must be created using
13241 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13242 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13247 # version 8.0 and above of icpc choke on multiply defined symbols
13248 # if we add $predep_objects and $postdep_objects, however 7.1 and
13249 # earlier do not add the objects themselves.
13250 case `$CC -V 2>&1` in
13252 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13253 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13255 *) # Version 8.0 or newer
13258 ia64*) tmp_idyn=' -i_dynamic';;
13260 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13261 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13264 archive_cmds_need_lc_CXX=no
13265 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13266 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13267 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13270 # Portland Group C++ compiler
13272 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
13273 prelink_cmds_CXX='tpldir=Template.dir~
13275 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13276 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13277 old_archive_cmds_CXX='tpldir=Template.dir~
13279 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13280 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13282 archive_cmds_CXX='tpldir=Template.dir~
13284 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13285 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13286 archive_expsym_cmds_CXX='tpldir=Template.dir~
13288 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13289 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13291 *) # Version 6 and above use weak symbols
13292 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13293 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13297 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13298 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13299 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
13303 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13304 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
13306 runpath_var=LD_RUN_PATH
13307 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13308 hardcode_libdir_separator_CXX=:
13310 # Commands to make compiler produce verbose output that lists
13311 # what "hidden" libraries, object files and flags are used when
13312 # linking a shared library.
13314 # There doesn't appear to be a way to prevent this compiler from
13315 # explicitly linking system object files so we need to strip them
13316 # from the output so that they don't get included in the library
13318 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
13320 xl* | mpixl* | bgxl*)
13321 # IBM XL 8.0 on PPC, with GNU ld
13322 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13323 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13324 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13325 if test "x$supports_anon_versioning" = xyes; then
13326 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13327 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13328 echo "local: *; };" >> $output_objdir/$libname.ver~
13329 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13333 case `$CC -V 2>&1 | sed 5q` in
13336 no_undefined_flag_CXX=' -zdefs'
13337 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13338 archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
13339 hardcode_libdir_flag_spec_CXX='-R$libdir'
13340 whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
13341 compiler_needs_object_CXX=yes
13343 # Not sure whether something based on
13344 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13346 output_verbose_link_cmd='func_echo_all'
13348 # Archives containing C++ object files must be created using
13349 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13350 # necessary to make sure instantiated templates are included
13352 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13360 # FIXME: insert proper C++ library support
13365 # FIXME: insert proper C++ library support
13370 case $cc_basename in
13372 # FIXME: insert proper C++ library support
13376 # FIXME: insert proper C++ library support
13383 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13384 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13386 hardcode_libdir_flag_spec_CXX='-R$libdir'
13387 hardcode_direct_CXX=yes
13388 hardcode_shlibpath_var_CXX=no
13390 # Workaround some broken pre-1.5 toolchains
13391 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13399 # C++ shared libraries are fairly broken
13404 if test -f /usr/libexec/ld.so; then
13405 hardcode_direct_CXX=yes
13406 hardcode_shlibpath_var_CXX=no
13407 hardcode_direct_absolute_CXX=yes
13408 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13409 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13410 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13411 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13412 export_dynamic_flag_spec_CXX='${wl}-E'
13413 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13415 output_verbose_link_cmd=func_echo_all
13421 osf3* | osf4* | osf5*)
13422 case $cc_basename in
13424 # Kuck and Associates, Inc. (KAI) C++ Compiler
13426 # KCC will only create a shared library if the output file
13427 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13428 # to its proper name (with version) after linking.
13429 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
13431 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13432 hardcode_libdir_separator_CXX=:
13434 # Archives containing C++ object files must be created using
13435 # the KAI C++ compiler.
13437 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13438 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13442 # Rational C++ 2.4.1
13443 # FIXME: insert proper C++ library support
13449 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13450 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13451 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13454 allow_undefined_flag_CXX=' -expect_unresolved \*'
13455 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13456 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13457 echo "-hidden">> $lib.exp~
13458 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
13460 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13464 hardcode_libdir_separator_CXX=:
13466 # Commands to make compiler produce verbose output that lists
13467 # what "hidden" libraries, object files and flags are used when
13468 # linking a shared library.
13470 # There doesn't appear to be a way to prevent this compiler from
13471 # explicitly linking system object files so we need to strip them
13472 # from the output so that they don't get included in the library
13474 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13477 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13478 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13481 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13484 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13488 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13489 hardcode_libdir_separator_CXX=:
13491 # Commands to make compiler produce verbose output that lists
13492 # what "hidden" libraries, object files and flags are used when
13493 # linking a shared library.
13494 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13497 # FIXME: insert proper C++ library support
13505 # FIXME: insert proper C++ library support
13510 case $cc_basename in
13513 # FIXME: insert proper C++ library support
13518 # FIXME: insert proper C++ library support
13522 # FIXME: insert proper C++ library support
13529 case $cc_basename in
13531 # Sun C++ 4.2, 5.x and Centerline C++
13532 archive_cmds_need_lc_CXX=yes
13533 no_undefined_flag_CXX=' -zdefs'
13534 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13535 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13536 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13538 hardcode_libdir_flag_spec_CXX='-R$libdir'
13539 hardcode_shlibpath_var_CXX=no
13541 solaris2.[0-5] | solaris2.[0-5].*) ;;
13543 # The compiler driver will combine and reorder linker options,
13544 # but understands `-z linker_flag'.
13545 # Supported since Solaris 2.6 (maybe 2.5.1?)
13546 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13549 link_all_deplibs_CXX=yes
13551 output_verbose_link_cmd='func_echo_all'
13553 # Archives containing C++ object files must be created using
13554 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13555 # necessary to make sure instantiated templates are included
13557 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13560 # Green Hills C++ Compiler
13561 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13563 # The C++ compiler must be used to create the archive.
13564 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13567 # GNU C++ compiler with Solaris linker
13568 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13569 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13570 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13571 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13572 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13573 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13575 # Commands to make compiler produce verbose output that lists
13576 # what "hidden" libraries, object files and flags are used when
13577 # linking a shared library.
13578 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13580 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13582 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13583 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13584 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13586 # Commands to make compiler produce verbose output that lists
13587 # what "hidden" libraries, object files and flags are used when
13588 # linking a shared library.
13589 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13592 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13594 solaris2.[0-5] | solaris2.[0-5].*) ;;
13596 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13604 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13605 no_undefined_flag_CXX='${wl}-z,text'
13606 archive_cmds_need_lc_CXX=no
13607 hardcode_shlibpath_var_CXX=no
13608 runpath_var='LD_RUN_PATH'
13610 case $cc_basename in
13612 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13613 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13616 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13617 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13622 sysv5* | sco3.2v5* | sco5v6*)
13623 # Note: We can NOT use -z defs as we might desire, because we do not
13624 # link with -lc, and that would cause any symbols used from libc to
13625 # always be unresolved, which means just about no library would
13626 # ever link correctly. If we're not using GNU ld we use -z text
13627 # though, which does catch some bad symbols but isn't as heavy-handed
13629 no_undefined_flag_CXX='${wl}-z,text'
13630 allow_undefined_flag_CXX='${wl}-z,nodefs'
13631 archive_cmds_need_lc_CXX=no
13632 hardcode_shlibpath_var_CXX=no
13633 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13634 hardcode_libdir_separator_CXX=':'
13635 link_all_deplibs_CXX=yes
13636 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13637 runpath_var='LD_RUN_PATH'
13639 case $cc_basename in
13641 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13642 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13643 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13644 '"$old_archive_cmds_CXX"
13645 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13646 '"$reload_cmds_CXX"
13649 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13650 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13656 case $cc_basename in
13658 # NonStop-UX NCC 3.20
13659 # FIXME: insert proper C++ library support
13663 # FIXME: insert proper C++ library support
13670 # FIXME: insert proper C++ library support
13675 # FIXME: insert proper C++ library support
13680 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13681 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
13682 test "$ld_shlibs_CXX" = no && can_build_shared=no
13688 ## There is no encapsulation within the following macros, do not change
13689 ## the running order or otherwise move them around unless you know exactly
13690 ## what you are doing...
13691 # Dependencies to place before and after the object being linked:
13692 predep_objects_CXX=
13693 postdep_objects_CXX=
13696 compiler_lib_search_path_CXX=
13698 cat > conftest.$ac_ext <<_LT_EOF
13702 Foo (void) { a = 0; }
13708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13709 (eval $ac_compile) 2>&5
13711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13712 (exit $ac_status); }; then
13713 # Parse the compiler output and extract the necessary
13714 # objects, libraries and library flags.
13716 # Sentinel used to keep track of whether or not we are before
13717 # the conftest object file.
13718 pre_test_object_deps_done=no
13720 for p in `eval "$output_verbose_link_cmd"`; do
13724 # Some compilers place space between "-{L,R}" and the path.
13725 # Remove the space.
13726 if test $p = "-L" ||
13727 test $p = "-R"; then
13734 if test "$pre_test_object_deps_done" = no; then
13737 # Internal compiler library paths should come after those
13738 # provided the user. The postdeps already come after the
13739 # user supplied libs so there is no need to process them.
13740 if test -z "$compiler_lib_search_path_CXX"; then
13741 compiler_lib_search_path_CXX="${prev}${p}"
13743 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13746 # The "-l" case would never come before the object being
13747 # linked, so don't bother handling this case.
13750 if test -z "$postdeps_CXX"; then
13751 postdeps_CXX="${prev}${p}"
13753 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13759 # This assumes that the test object file only shows up
13760 # once in the compiler output.
13761 if test "$p" = "conftest.$objext"; then
13762 pre_test_object_deps_done=yes
13766 if test "$pre_test_object_deps_done" = no; then
13767 if test -z "$predep_objects_CXX"; then
13768 predep_objects_CXX="$p"
13770 predep_objects_CXX="$predep_objects_CXX $p"
13773 if test -z "$postdep_objects_CXX"; then
13774 postdep_objects_CXX="$p"
13776 postdep_objects_CXX="$postdep_objects_CXX $p"
13781 *) ;; # Ignore the rest.
13789 echo "libtool.m4: error: problem compiling CXX test program"
13792 $RM -f confest.$objext
13794 # PORTME: override above test on systems where it is broken
13797 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13798 # hack all around it, let's just trust "g++" to DTRT.
13799 predep_objects_CXX=
13800 postdep_objects_CXX=
13805 case `$CC -V 2>&1 | sed 5q` in
13809 # The more standards-conforming stlport4 library is
13810 # incompatible with the Cstd library. Avoid specifying
13811 # it if it's in CXXFLAGS. Ignore libCrun as
13812 # -library=stlport4 depends on it.
13813 case " $CXX $CXXFLAGS " in
13814 *" -library=stlport4 "*)
13815 solaris_use_stlport4=yes
13819 if test "$solaris_use_stlport4" != yes; then
13820 postdeps_CXX='-library=Cstd -library=Crun'
13827 case $cc_basename in
13829 # The more standards-conforming stlport4 library is
13830 # incompatible with the Cstd library. Avoid specifying
13831 # it if it's in CXXFLAGS. Ignore libCrun as
13832 # -library=stlport4 depends on it.
13833 case " $CXX $CXXFLAGS " in
13834 *" -library=stlport4 "*)
13835 solaris_use_stlport4=yes
13839 # Adding this requires a known-good setup of shared libraries for
13840 # Sun compiler versions before 5.6, else PIC objects from an old
13841 # archive will be linked into the output, leading to subtle bugs.
13842 if test "$solaris_use_stlport4" != yes; then
13843 postdeps_CXX='-library=Cstd -library=Crun'
13851 case " $postdeps_CXX " in
13852 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13854 compiler_lib_search_dirs_CXX=
13855 if test -n "${compiler_lib_search_path_CXX}"; then
13856 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13889 lt_prog_compiler_wl_CXX=
13890 lt_prog_compiler_pic_CXX=
13891 lt_prog_compiler_static_CXX=
13893 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13894 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
13896 # C++ specific cases for pic, static, wl, etc.
13897 if test "$GXX" = yes; then
13898 lt_prog_compiler_wl_CXX='-Wl,'
13899 lt_prog_compiler_static_CXX='-static'
13903 # All AIX code is PIC.
13904 if test "$host_cpu" = ia64; then
13905 # AIX 5 now supports IA64 processor
13906 lt_prog_compiler_static_CXX='-Bstatic'
13913 # see comment about AmigaOS4 .so support
13914 lt_prog_compiler_pic_CXX='-fPIC'
13917 # FIXME: we need at least 68020 code to build shared libraries, but
13918 # adding the `-m68020' flag to GCC prevents building anything better,
13920 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13925 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13926 # PIC is the default for these OSes.
13928 mingw* | cygwin* | os2* | pw32* | cegcc*)
13929 # This hack is so that the source file can tell whether it is being
13930 # built for inclusion in a dll (and should export symbols for example).
13931 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13932 # (--disable-auto-import) libraries
13933 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13935 darwin* | rhapsody*)
13936 # PIC is the default on this platform
13937 # Common symbols not allowed in MH_DYLIB files
13938 lt_prog_compiler_pic_CXX='-fno-common'
13941 # DJGPP does not support shared libraries at all
13942 lt_prog_compiler_pic_CXX=
13945 # PIC is the default for Haiku.
13946 # The "-static" flag exists, but is broken.
13947 lt_prog_compiler_static_CXX=
13950 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13951 # Instead, we relocate shared libraries at runtime.
13954 if test -d /usr/nec; then
13955 lt_prog_compiler_pic_CXX=-Kconform_pic
13959 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13960 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13961 # sets the default TLS model and affects inlining.
13966 lt_prog_compiler_pic_CXX='-fPIC'
13971 # QNX uses GNU C++, but need to define -shared option too, otherwise
13972 # it will coredump.
13973 lt_prog_compiler_pic_CXX='-fPIC -shared'
13976 lt_prog_compiler_pic_CXX='-fPIC'
13982 # All AIX code is PIC.
13983 if test "$host_cpu" = ia64; then
13984 # AIX 5 now supports IA64 processor
13985 lt_prog_compiler_static_CXX='-Bstatic'
13987 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13991 case $cc_basename in
13993 # Green Hills C++ Compiler
13994 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
13999 case $cc_basename in
14001 lt_prog_compiler_pic_CXX='-KPIC'
14004 # Green Hills C++ Compiler
14005 lt_prog_compiler_pic_CXX='-pic'
14011 freebsd* | dragonfly*)
14012 # FreeBSD uses GNU C++
14014 hpux9* | hpux10* | hpux11*)
14015 case $cc_basename in
14017 lt_prog_compiler_wl_CXX='-Wl,'
14018 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14019 if test "$host_cpu" != ia64; then
14020 lt_prog_compiler_pic_CXX='+Z'
14024 lt_prog_compiler_wl_CXX='-Wl,'
14025 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14031 lt_prog_compiler_pic_CXX='+Z'
14040 # This is c89, which is MS Visual C++ (no shared libs)
14041 # Anyone wants to do a port?
14043 irix5* | irix6* | nonstopux*)
14044 case $cc_basename in
14046 lt_prog_compiler_wl_CXX='-Wl,'
14047 lt_prog_compiler_static_CXX='-non_shared'
14048 # CC pic flag -KPIC is the default.
14054 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14055 case $cc_basename in
14058 lt_prog_compiler_wl_CXX='--backend -Wl,'
14059 lt_prog_compiler_pic_CXX='-fPIC'
14062 # old Intel C++ for x86_64 which still supported -KPIC.
14063 lt_prog_compiler_wl_CXX='-Wl,'
14064 lt_prog_compiler_pic_CXX='-KPIC'
14065 lt_prog_compiler_static_CXX='-static'
14068 # Intel C++, used to be incompatible with GCC.
14069 # ICC 10 doesn't accept -KPIC any more.
14070 lt_prog_compiler_wl_CXX='-Wl,'
14071 lt_prog_compiler_pic_CXX='-fPIC'
14072 lt_prog_compiler_static_CXX='-static'
14075 # Portland Group C++ compiler
14076 lt_prog_compiler_wl_CXX='-Wl,'
14077 lt_prog_compiler_pic_CXX='-fpic'
14078 lt_prog_compiler_static_CXX='-Bstatic'
14082 # Make sure the PIC flag is empty. It appears that all Alpha
14083 # Linux and Compaq Tru64 Unix objects are PIC.
14084 lt_prog_compiler_pic_CXX=
14085 lt_prog_compiler_static_CXX='-non_shared'
14087 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
14088 # IBM XL 8.0, 9.0 on PPC and BlueGene
14089 lt_prog_compiler_wl_CXX='-Wl,'
14090 lt_prog_compiler_pic_CXX='-qpic'
14091 lt_prog_compiler_static_CXX='-qstaticlink'
14094 case `$CC -V 2>&1 | sed 5q` in
14097 lt_prog_compiler_pic_CXX='-KPIC'
14098 lt_prog_compiler_static_CXX='-Bstatic'
14099 lt_prog_compiler_wl_CXX='-Qoption ld '
14110 case $cc_basename in
14112 lt_prog_compiler_pic_CXX='-W c,exportall'
14121 # QNX uses GNU C++, but need to define -shared option too, otherwise
14122 # it will coredump.
14123 lt_prog_compiler_pic_CXX='-fPIC -shared'
14125 osf3* | osf4* | osf5*)
14126 case $cc_basename in
14128 lt_prog_compiler_wl_CXX='--backend -Wl,'
14131 # Rational C++ 2.4.1
14132 lt_prog_compiler_pic_CXX='-pic'
14135 # Digital/Compaq C++
14136 lt_prog_compiler_wl_CXX='-Wl,'
14137 # Make sure the PIC flag is empty. It appears that all Alpha
14138 # Linux and Compaq Tru64 Unix objects are PIC.
14139 lt_prog_compiler_pic_CXX=
14140 lt_prog_compiler_static_CXX='-non_shared'
14149 case $cc_basename in
14151 # Sun C++ 4.2, 5.x and Centerline C++
14152 lt_prog_compiler_pic_CXX='-KPIC'
14153 lt_prog_compiler_static_CXX='-Bstatic'
14154 lt_prog_compiler_wl_CXX='-Qoption ld '
14157 # Green Hills C++ Compiler
14158 lt_prog_compiler_pic_CXX='-PIC'
14165 case $cc_basename in
14168 lt_prog_compiler_pic_CXX='-pic'
14169 lt_prog_compiler_static_CXX='-Bstatic'
14173 lt_prog_compiler_pic_CXX='-pic'
14179 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14180 case $cc_basename in
14182 lt_prog_compiler_wl_CXX='-Wl,'
14183 lt_prog_compiler_pic_CXX='-KPIC'
14184 lt_prog_compiler_static_CXX='-Bstatic'
14189 case $cc_basename in
14191 # NonStop-UX NCC 3.20
14192 lt_prog_compiler_pic_CXX='-KPIC'
14201 lt_prog_compiler_can_build_shared_CXX=no
14207 # For platforms which do not support PIC, -DPIC is meaningless:
14209 lt_prog_compiler_pic_CXX=
14212 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14215 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
14216 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
14221 # Check to make sure the PIC flag actually works.
14223 if test -n "$lt_prog_compiler_pic_CXX"; then
14224 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14225 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
14226 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
14227 echo $ECHO_N "(cached) $ECHO_C" >&6
14229 lt_cv_prog_compiler_pic_works_CXX=no
14230 ac_outfile=conftest.$ac_objext
14231 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14232 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14233 # Insert the option either (1) after the last *FLAGS variable, or
14234 # (2) before a word containing "conftest.", or (3) at the end.
14235 # Note that $ac_compile itself does not contain backslashes and begins
14236 # with a dollar sign (not a hyphen), so the echo should work correctly.
14237 # The option is referenced via a variable to avoid confusing sed.
14238 lt_compile=`echo "$ac_compile" | $SED \
14239 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14240 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14241 -e 's:$: $lt_compiler_flag:'`
14242 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14243 (eval "$lt_compile" 2>conftest.err)
14245 cat conftest.err >&5
14246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14247 if (exit $ac_status) && test -s "$ac_outfile"; then
14248 # The compiler can only warn and ignore the option if not recognized
14249 # So say no if there are warnings other than the usual output.
14250 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14251 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14252 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14253 lt_cv_prog_compiler_pic_works_CXX=yes
14259 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14260 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14262 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14263 case $lt_prog_compiler_pic_CXX in
14265 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14268 lt_prog_compiler_pic_CXX=
14269 lt_prog_compiler_can_build_shared_CXX=no
14277 # Check to make sure the static flag actually works.
14279 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14280 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14281 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14282 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
14283 echo $ECHO_N "(cached) $ECHO_C" >&6
14285 lt_cv_prog_compiler_static_works_CXX=no
14286 save_LDFLAGS="$LDFLAGS"
14287 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14288 echo "$lt_simple_link_test_code" > conftest.$ac_ext
14289 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14290 # The linker can only warn and ignore the option if not recognized
14291 # So say no if there are warnings
14292 if test -s conftest.err; then
14293 # Append any errors to the config.log.
14294 cat conftest.err 1>&5
14295 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14296 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14297 if diff conftest.exp conftest.er2 >/dev/null; then
14298 lt_cv_prog_compiler_static_works_CXX=yes
14301 lt_cv_prog_compiler_static_works_CXX=yes
14305 LDFLAGS="$save_LDFLAGS"
14308 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14309 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6; }
14311 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14314 lt_prog_compiler_static_CXX=
14320 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14321 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14322 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
14323 echo $ECHO_N "(cached) $ECHO_C" >&6
14325 lt_cv_prog_compiler_c_o_CXX=no
14326 $RM -r conftest 2>/dev/null
14330 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14332 lt_compiler_flag="-o out/conftest2.$ac_objext"
14333 # Insert the option either (1) after the last *FLAGS variable, or
14334 # (2) before a word containing "conftest.", or (3) at the end.
14335 # Note that $ac_compile itself does not contain backslashes and begins
14336 # with a dollar sign (not a hyphen), so the echo should work correctly.
14337 lt_compile=`echo "$ac_compile" | $SED \
14338 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14339 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14340 -e 's:$: $lt_compiler_flag:'`
14341 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14342 (eval "$lt_compile" 2>out/conftest.err)
14344 cat out/conftest.err >&5
14345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14346 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14348 # The compiler can only warn and ignore the option if not recognized
14349 # So say no if there are warnings
14350 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14351 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14352 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14353 lt_cv_prog_compiler_c_o_CXX=yes
14358 # SGI C++ compiler will create directory out/ii_files/ for
14359 # template instantiation
14360 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14361 $RM out/* && rmdir out
14367 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14368 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
14372 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14373 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14374 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
14375 echo $ECHO_N "(cached) $ECHO_C" >&6
14377 lt_cv_prog_compiler_c_o_CXX=no
14378 $RM -r conftest 2>/dev/null
14382 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14384 lt_compiler_flag="-o out/conftest2.$ac_objext"
14385 # Insert the option either (1) after the last *FLAGS variable, or
14386 # (2) before a word containing "conftest.", or (3) at the end.
14387 # Note that $ac_compile itself does not contain backslashes and begins
14388 # with a dollar sign (not a hyphen), so the echo should work correctly.
14389 lt_compile=`echo "$ac_compile" | $SED \
14390 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14391 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14392 -e 's:$: $lt_compiler_flag:'`
14393 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14394 (eval "$lt_compile" 2>out/conftest.err)
14396 cat out/conftest.err >&5
14397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14398 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14400 # The compiler can only warn and ignore the option if not recognized
14401 # So say no if there are warnings
14402 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14403 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14404 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14405 lt_cv_prog_compiler_c_o_CXX=yes
14410 # SGI C++ compiler will create directory out/ii_files/ for
14411 # template instantiation
14412 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14413 $RM out/* && rmdir out
14419 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14420 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
14425 hard_links="nottested"
14426 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14427 # do not overwrite the value of need_locks provided by the user
14428 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14429 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14432 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14434 ln conftest.a conftest.b 2>&5 || hard_links=no
14435 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14436 { echo "$as_me:$LINENO: result: $hard_links" >&5
14437 echo "${ECHO_T}$hard_links" >&6; }
14438 if test "$hard_links" = no; then
14439 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14440 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14449 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14450 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14452 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14455 # If we're using GNU nm, then we don't want the "-C" option.
14456 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14457 # Also, AIX nm treats weak defined symbols like other global defined
14458 # symbols, whereas GNU nm marks them as "W".
14459 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14460 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14462 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14466 export_symbols_cmds_CXX="$ltdll_cmds"
14468 cygwin* | mingw* | cegcc*)
14469 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
14472 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14475 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14477 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
14478 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
14479 test "$ld_shlibs_CXX" = no && can_build_shared=no
14481 with_gnu_ld_CXX=$with_gnu_ld
14489 # Do we need to explicitly link libc?
14491 case "x$archive_cmds_need_lc_CXX" in
14493 # Assume -lc should be added
14494 archive_cmds_need_lc_CXX=yes
14496 if test "$enable_shared" = yes && test "$GCC" = yes; then
14497 case $archive_cmds_CXX in
14499 # FIXME: we may have to deal with multi-command sequences.
14502 # Test whether the compiler implicitly links with -lc since on some
14503 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14504 # to ld, don't add -lc before -lgcc.
14505 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14506 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
14507 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then
14508 echo $ECHO_N "(cached) $ECHO_C" >&6
14511 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14514 (eval $ac_compile) 2>&5
14516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14517 (exit $ac_status); } 2>conftest.err; then
14520 libobjs=conftest.$ac_objext
14522 wl=$lt_prog_compiler_wl_CXX
14523 pic_flag=$lt_prog_compiler_pic_CXX
14529 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14530 allow_undefined_flag_CXX=
14531 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
14532 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14535 (exit $ac_status); }
14537 lt_cv_archive_cmds_need_lc_CXX=no
14539 lt_cv_archive_cmds_need_lc_CXX=yes
14541 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14543 cat conftest.err 1>&5
14548 { echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14549 echo "${ECHO_T}$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14550 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14620 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14621 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
14623 library_names_spec=
14624 libname_spec='lib$name'
14628 postuninstall_cmds=
14632 shlibpath_overrides_runpath=unknown
14634 dynamic_linker="$host_os ld.so"
14635 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14636 need_lib_prefix=unknown
14637 hardcode_into_libs=no
14639 # when you set need_version to no, make sure it does not cause -set_version
14640 # flags to be left without arguments
14641 need_version=unknown
14646 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14647 shlibpath_var=LIBPATH
14649 # AIX 3 has no versioning support, so we append a major version to the name.
14650 soname_spec='${libname}${release}${shared_ext}$major'
14657 hardcode_into_libs=yes
14658 if test "$host_cpu" = ia64; then
14659 # AIX 5 supports IA64
14660 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14661 shlibpath_var=LD_LIBRARY_PATH
14663 # With GCC up to 2.95.x, collect2 would create an import file
14664 # for dependence libraries. The import file would start with
14665 # the line `#! .'. This would cause the generated library to
14666 # depend on `.', always an invalid library. This was fixed in
14667 # development snapshots of GCC prior to 3.0.
14669 aix4 | aix4.[01] | aix4.[01].*)
14670 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14672 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14675 can_build_shared=no
14679 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14680 # soname into executable. Probably we can add versioning support to
14681 # collect2, so additional links can be useful in future.
14682 if test "$aix_use_runtimelinking" = yes; then
14683 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14684 # instead of lib<name>.a to let people know that these are not
14685 # typical AIX shared libraries.
14686 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14688 # We preserve .a as extension for shared libraries through AIX4.2
14689 # and later when we are not doing run time linking.
14690 library_names_spec='${libname}${release}.a $libname.a'
14691 soname_spec='${libname}${release}${shared_ext}$major'
14693 shlibpath_var=LIBPATH
14700 # Since July 2007 AmigaOS4 officially supports .so libraries.
14701 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14702 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14705 library_names_spec='$libname.ixlibrary $libname.a'
14706 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14707 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''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'
14713 library_names_spec='${libname}${shared_ext}'
14714 dynamic_linker="$host_os ld.so"
14715 shlibpath_var=LIBRARY_PATH
14721 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14722 soname_spec='${libname}${release}${shared_ext}$major'
14723 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14724 shlibpath_var=LD_LIBRARY_PATH
14725 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14726 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14727 # the default ld.so.conf also contains /usr/contrib/lib and
14728 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14729 # libtool to hard-code these into programs
14732 cygwin* | mingw* | pw32* | cegcc*)
14733 version_type=windows
14738 case $GCC,$host_os in
14739 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14740 library_names_spec='$libname.dll.a'
14741 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14742 postinstall_cmds='base_file=`basename \${file}`~
14743 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14744 dldir=$destdir/`dirname \$dlpath`~
14745 test -d \$dldir || mkdir -p \$dldir~
14746 $install_prog $dir/$dlname \$dldir/$dlname~
14747 chmod a+x \$dldir/$dlname~
14748 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14749 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14751 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14752 dlpath=$dir/\$dldll~
14754 shlibpath_overrides_runpath=yes
14758 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14759 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14763 # MinGW DLLs use traditional 'lib' prefix
14764 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14767 # pw32 DLLs use 'pw' prefix rather than 'lib'
14768 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14774 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14777 dynamic_linker='Win32 ld.exe'
14778 # FIXME: first we should search . and the directory the executable is in
14782 darwin* | rhapsody*)
14783 dynamic_linker="$host_os dyld"
14784 version_type=darwin
14787 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext ${libname}${release}${versuffix}$shared_ext'
14788 soname_spec='${libname}${release}${major}$shared_ext'
14789 shlibpath_overrides_runpath=yes
14790 shlibpath_var=DYLD_LIBRARY_PATH
14791 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14793 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14800 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14801 soname_spec='${libname}${release}${shared_ext}$major'
14802 shlibpath_var=LD_LIBRARY_PATH
14809 freebsd* | dragonfly*)
14810 # DragonFly does not have aout. When/if they implement a new
14811 # versioning mechanism, adjust this.
14812 if test -x /usr/bin/objformat; then
14813 objformat=`/usr/bin/objformat`
14816 freebsd[123]*) objformat=aout ;;
14817 *) objformat=elf ;;
14820 version_type=freebsd-$objformat
14821 case $version_type in
14823 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14828 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14832 shlibpath_var=LD_LIBRARY_PATH
14835 shlibpath_overrides_runpath=yes
14837 freebsd3.[01]* | freebsdelf3.[01]*)
14838 shlibpath_overrides_runpath=yes
14839 hardcode_into_libs=yes
14841 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14842 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14843 shlibpath_overrides_runpath=no
14844 hardcode_into_libs=yes
14846 *) # from 4.6 on, and DragonFly
14847 shlibpath_overrides_runpath=yes
14848 hardcode_into_libs=yes
14857 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14858 soname_spec='${libname}${release}${shared_ext}$major'
14859 shlibpath_var=LD_LIBRARY_PATH
14860 hardcode_into_libs=yes
14867 dynamic_linker="$host_os runtime_loader"
14868 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14869 soname_spec='${libname}${release}${shared_ext}$major'
14870 shlibpath_var=LIBRARY_PATH
14871 shlibpath_overrides_runpath=yes
14872 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
14873 hardcode_into_libs=yes
14876 hpux9* | hpux10* | hpux11*)
14877 # Give a soname corresponding to the major version so that dld.sl refuses to
14878 # link against other versions.
14885 hardcode_into_libs=yes
14886 dynamic_linker="$host_os dld.so"
14887 shlibpath_var=LD_LIBRARY_PATH
14888 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14889 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14890 soname_spec='${libname}${release}${shared_ext}$major'
14891 if test "X$HPUX_IA64_MODE" = X32; then
14892 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14894 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14896 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14900 hardcode_into_libs=yes
14901 dynamic_linker="$host_os dld.sl"
14902 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14903 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14904 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14905 soname_spec='${libname}${release}${shared_ext}$major'
14906 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14907 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14911 dynamic_linker="$host_os dld.sl"
14912 shlibpath_var=SHLIB_PATH
14913 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14914 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14915 soname_spec='${libname}${release}${shared_ext}$major'
14918 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14919 postinstall_cmds='chmod 555 $lib'
14920 # or fails outright, so override atomically:
14921 install_override_mode=555
14928 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14929 soname_spec='${libname}${release}${shared_ext}$major'
14930 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14931 shlibpath_var=LD_LIBRARY_PATH
14932 shlibpath_overrides_runpath=no
14933 hardcode_into_libs=yes
14936 irix5* | irix6* | nonstopux*)
14938 nonstopux*) version_type=nonstopux ;;
14940 if test "$lt_cv_prog_gnu_ld" = yes; then
14948 soname_spec='${libname}${release}${shared_ext}$major'
14949 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14951 irix5* | nonstopux*)
14952 libsuff= shlibsuff=
14955 case $LD in # libtool.m4 will add one of these switches to LD
14956 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14957 libsuff= shlibsuff= libmagic=32-bit;;
14958 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14959 libsuff=32 shlibsuff=N32 libmagic=N32;;
14960 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14961 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14962 *) libsuff= shlibsuff= libmagic=never-match;;
14966 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14967 shlibpath_overrides_runpath=no
14968 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14969 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14970 hardcode_into_libs=yes
14973 # No shared lib support for Linux oldld, aout, or coff.
14974 linux*oldld* | linux*aout* | linux*coff*)
14978 # This must be Linux ELF.
14979 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14983 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14984 soname_spec='${libname}${release}${shared_ext}$major'
14985 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14986 shlibpath_var=LD_LIBRARY_PATH
14987 shlibpath_overrides_runpath=no
14989 # Some binutils ld are patched to set DT_RUNPATH
14990 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then
14991 echo $ECHO_N "(cached) $ECHO_C" >&6
14993 lt_cv_shlibpath_overrides_runpath=no
14994 save_LDFLAGS=$LDFLAGS
14995 save_libdir=$libdir
14996 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14997 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14998 cat >conftest.$ac_ext <<_ACEOF
15001 cat confdefs.h >>conftest.$ac_ext
15002 cat >>conftest.$ac_ext <<_ACEOF
15003 /* end confdefs.h. */
15013 rm -f conftest.$ac_objext conftest$ac_exeext
15014 if { (ac_try="$ac_link"
15015 case "(($ac_try" in
15016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15017 *) ac_try_echo=$ac_try;;
15019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15020 (eval "$ac_link") 2>conftest.er1
15022 grep -v '^ *+' conftest.er1 >conftest.err
15024 cat conftest.err >&5
15025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15026 (exit $ac_status); } && {
15027 test -z "$ac_cxx_werror_flag" ||
15028 test ! -s conftest.err
15029 } && test -s conftest$ac_exeext &&
15030 $as_test_x conftest$ac_exeext; then
15031 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
15032 lt_cv_shlibpath_overrides_runpath=yes
15036 echo "$as_me: failed program was:" >&5
15037 sed 's/^/| /' conftest.$ac_ext >&5
15042 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15043 conftest$ac_exeext conftest.$ac_ext
15044 LDFLAGS=$save_LDFLAGS
15045 libdir=$save_libdir
15049 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15051 # This implies no fast_install, which is unacceptable.
15052 # Some rework will be needed to allow for fast_install
15053 # before this can be enabled.
15054 hardcode_into_libs=yes
15056 # Append ld.so.conf contents to the search path
15057 if test -f /etc/ld.so.conf; then
15058 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
15059 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15062 # We used to test for /lib/ld.so.1 and disable shared libraries on
15063 # powerpc, because MkLinux only supported shared libraries with the
15064 # GNU dynamic linker. Since this was broken with cross compilers,
15065 # most powerpc-linux boxes support dynamic linking these days and
15066 # people can always --disable-shared, the test was removed, and we
15067 # assume the GNU/Linux dynamic linker is in use.
15068 dynamic_linker='GNU/Linux ld.so'
15075 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15076 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15077 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15078 dynamic_linker='NetBSD (a.out) ld.so'
15080 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15081 soname_spec='${libname}${release}${shared_ext}$major'
15082 dynamic_linker='NetBSD ld.elf_so'
15084 shlibpath_var=LD_LIBRARY_PATH
15085 shlibpath_overrides_runpath=yes
15086 hardcode_into_libs=yes
15091 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15092 shlibpath_var=LD_LIBRARY_PATH
15093 shlibpath_overrides_runpath=yes
15100 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15101 soname_spec='${libname}${release}${shared_ext}$major'
15102 shlibpath_var=LD_LIBRARY_PATH
15103 shlibpath_overrides_runpath=no
15104 hardcode_into_libs=yes
15105 dynamic_linker='ldqnx.so'
15110 sys_lib_dlsearch_path_spec="/usr/lib"
15112 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15114 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15115 *) need_version=no ;;
15117 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15118 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15119 shlibpath_var=LD_LIBRARY_PATH
15120 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15122 openbsd2.[89] | openbsd2.[89].*)
15123 shlibpath_overrides_runpath=no
15126 shlibpath_overrides_runpath=yes
15130 shlibpath_overrides_runpath=yes
15135 libname_spec='$name'
15138 library_names_spec='$libname${shared_ext} $libname.a'
15139 dynamic_linker='OS/2 ld.exe'
15140 shlibpath_var=LIBPATH
15143 osf3* | osf4* | osf5*)
15147 soname_spec='${libname}${release}${shared_ext}$major'
15148 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15149 shlibpath_var=LD_LIBRARY_PATH
15150 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15151 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15162 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15163 soname_spec='${libname}${release}${shared_ext}$major'
15164 shlibpath_var=LD_LIBRARY_PATH
15165 shlibpath_overrides_runpath=yes
15166 hardcode_into_libs=yes
15167 # ldd complains unless libraries are executable
15168 postinstall_cmds='chmod +x $lib'
15173 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15174 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15175 shlibpath_var=LD_LIBRARY_PATH
15176 shlibpath_overrides_runpath=yes
15177 if test "$with_gnu_ld" = yes; then
15185 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15186 soname_spec='${libname}${release}${shared_ext}$major'
15187 shlibpath_var=LD_LIBRARY_PATH
15188 case $host_vendor in
15190 shlibpath_overrides_runpath=no
15192 runpath_var=LD_RUN_PATH
15200 shlibpath_overrides_runpath=no
15201 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15207 if test -d /usr/nec ;then
15209 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15210 soname_spec='$libname${shared_ext}.$major'
15211 shlibpath_var=LD_LIBRARY_PATH
15215 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15216 version_type=freebsd-elf
15219 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15220 soname_spec='${libname}${release}${shared_ext}$major'
15221 shlibpath_var=LD_LIBRARY_PATH
15222 shlibpath_overrides_runpath=yes
15223 hardcode_into_libs=yes
15224 if test "$with_gnu_ld" = yes; then
15225 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15227 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15230 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15234 sys_lib_dlsearch_path_spec='/usr/lib'
15238 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15242 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15243 shlibpath_var=LD_LIBRARY_PATH
15244 shlibpath_overrides_runpath=no
15245 hardcode_into_libs=yes
15250 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15251 soname_spec='${libname}${release}${shared_ext}$major'
15252 shlibpath_var=LD_LIBRARY_PATH
15259 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15260 echo "${ECHO_T}$dynamic_linker" >&6; }
15261 test "$dynamic_linker" = no && can_build_shared=no
15263 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15264 if test "$GCC" = yes; then
15265 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15268 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15269 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15271 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15272 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15312 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15313 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
15314 hardcode_action_CXX=
15315 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15316 test -n "$runpath_var_CXX" ||
15317 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15319 # We can hardcode non-existent directories.
15320 if test "$hardcode_direct_CXX" != no &&
15321 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15322 # have to relink, otherwise we might link with an installed library
15323 # when we should be linking with a yet-to-be-installed one
15324 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15325 test "$hardcode_minus_L_CXX" != no; then
15326 # Linking always hardcodes the temporary library directory.
15327 hardcode_action_CXX=relink
15329 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15330 hardcode_action_CXX=immediate
15333 # We cannot hardcode anything, or else we can only hardcode existing
15335 hardcode_action_CXX=unsupported
15337 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
15338 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
15340 if test "$hardcode_action_CXX" = relink ||
15341 test "$inherit_rpath_CXX" = yes; then
15342 # Fast installation is not supported
15343 enable_fast_install=no
15344 elif test "$shlibpath_overrides_runpath" = yes ||
15345 test "$enable_shared" = no; then
15346 # Fast installation is not necessary
15347 enable_fast_install=needless
15356 fi # test -n "$compiler"
15362 with_gnu_ld=$lt_save_with_gnu_ld
15363 lt_cv_path_LDCXX=$lt_cv_path_LD
15364 lt_cv_path_LD=$lt_save_path_LD
15365 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15366 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15367 fi # test "$_lt_caught_CXX_error" != yes
15370 ac_cpp='$CPP $CPPFLAGS'
15371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15381 if test -n "$GCC"; then
15382 { echo "$as_me:$LINENO: checking whether the -Werror option is usable" >&5
15383 echo $ECHO_N "checking whether the -Werror option is usable... $ECHO_C" >&6; }
15384 if test "${gl_cv_cc_vis_werror+set}" = set; then
15385 echo $ECHO_N "(cached) $ECHO_C" >&6
15388 gl_save_CFLAGS="$CFLAGS"
15389 CFLAGS="$CFLAGS -Werror"
15390 cat >conftest.$ac_ext <<_ACEOF
15393 cat confdefs.h >>conftest.$ac_ext
15394 cat >>conftest.$ac_ext <<_ACEOF
15395 /* end confdefs.h. */
15405 rm -f conftest.$ac_objext
15406 if { (ac_try="$ac_compile"
15407 case "(($ac_try" in
15408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15409 *) ac_try_echo=$ac_try;;
15411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15412 (eval "$ac_compile") 2>conftest.er1
15414 grep -v '^ *+' conftest.er1 >conftest.err
15416 cat conftest.err >&5
15417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15418 (exit $ac_status); } && {
15419 test -z "$ac_c_werror_flag" ||
15420 test ! -s conftest.err
15421 } && test -s conftest.$ac_objext; then
15422 gl_cv_cc_vis_werror=yes
15424 echo "$as_me: failed program was:" >&5
15425 sed 's/^/| /' conftest.$ac_ext >&5
15427 gl_cv_cc_vis_werror=no
15430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15431 CFLAGS="$gl_save_CFLAGS"
15434 { echo "$as_me:$LINENO: result: $gl_cv_cc_vis_werror" >&5
15435 echo "${ECHO_T}$gl_cv_cc_vis_werror" >&6; }
15436 { echo "$as_me:$LINENO: checking for simple visibility declarations" >&5
15437 echo $ECHO_N "checking for simple visibility declarations... $ECHO_C" >&6; }
15438 if test "${gl_cv_cc_visibility+set}" = set; then
15439 echo $ECHO_N "(cached) $ECHO_C" >&6
15442 gl_save_CFLAGS="$CFLAGS"
15443 CFLAGS="$CFLAGS -fvisibility=hidden"
15444 if test $gl_cv_cc_vis_werror = yes; then
15445 CFLAGS="$CFLAGS -Werror"
15447 cat >conftest.$ac_ext <<_ACEOF
15450 cat confdefs.h >>conftest.$ac_ext
15451 cat >>conftest.$ac_ext <<_ACEOF
15452 /* end confdefs.h. */
15453 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
15454 extern __attribute__((__visibility__("default"))) int exportedvar;
15455 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
15456 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
15457 void dummyfunc (void) {}
15466 rm -f conftest.$ac_objext
15467 if { (ac_try="$ac_compile"
15468 case "(($ac_try" in
15469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15470 *) ac_try_echo=$ac_try;;
15472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15473 (eval "$ac_compile") 2>conftest.er1
15475 grep -v '^ *+' conftest.er1 >conftest.err
15477 cat conftest.err >&5
15478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15479 (exit $ac_status); } && {
15480 test -z "$ac_c_werror_flag" ||
15481 test ! -s conftest.err
15482 } && test -s conftest.$ac_objext; then
15483 gl_cv_cc_visibility=yes
15485 echo "$as_me: failed program was:" >&5
15486 sed 's/^/| /' conftest.$ac_ext >&5
15488 gl_cv_cc_visibility=no
15491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15492 CFLAGS="$gl_save_CFLAGS"
15495 { echo "$as_me:$LINENO: result: $gl_cv_cc_visibility" >&5
15496 echo "${ECHO_T}$gl_cv_cc_visibility" >&6; }
15497 if test $gl_cv_cc_visibility = yes; then
15498 CFLAG_VISIBILITY="-fvisibility=hidden"
15505 cat >>confdefs.h <<_ACEOF
15506 #define HAVE_VISIBILITY $HAVE_VISIBILITY
15514 for ac_func in gethostbyname
15516 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15517 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15518 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15519 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15520 echo $ECHO_N "(cached) $ECHO_C" >&6
15522 cat >conftest.$ac_ext <<_ACEOF
15525 cat confdefs.h >>conftest.$ac_ext
15526 cat >>conftest.$ac_ext <<_ACEOF
15527 /* end confdefs.h. */
15528 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15529 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15530 #define $ac_func innocuous_$ac_func
15532 /* System header to define __stub macros and hopefully few prototypes,
15533 which can conflict with char $ac_func (); below.
15534 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15535 <limits.h> exists even on freestanding compilers. */
15538 # include <limits.h>
15540 # include <assert.h>
15545 /* Override any GCC internal prototype to avoid an error.
15546 Use char because int might match the return type of a GCC
15547 builtin and then its argument prototype would still apply. */
15552 /* The GNU C library defines this for functions which it implements
15553 to always fail with ENOSYS. Some functions are actually named
15554 something starting with __ and the normal name is an alias. */
15555 #if defined __stub_$ac_func || defined __stub___$ac_func
15562 return $ac_func ();
15567 rm -f conftest.$ac_objext conftest$ac_exeext
15568 if { (ac_try="$ac_link"
15569 case "(($ac_try" in
15570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15571 *) ac_try_echo=$ac_try;;
15573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15574 (eval "$ac_link") 2>conftest.er1
15576 grep -v '^ *+' conftest.er1 >conftest.err
15578 cat conftest.err >&5
15579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15580 (exit $ac_status); } && {
15581 test -z "$ac_c_werror_flag" ||
15582 test ! -s conftest.err
15583 } && test -s conftest$ac_exeext &&
15584 $as_test_x conftest$ac_exeext; then
15585 eval "$as_ac_var=yes"
15587 echo "$as_me: failed program was:" >&5
15588 sed 's/^/| /' conftest.$ac_ext >&5
15590 eval "$as_ac_var=no"
15593 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15594 conftest$ac_exeext conftest.$ac_ext
15596 ac_res=`eval echo '${'$as_ac_var'}'`
15597 { echo "$as_me:$LINENO: result: $ac_res" >&5
15598 echo "${ECHO_T}$ac_res" >&6; }
15599 if test `eval echo '${'$as_ac_var'}'` = yes; then
15600 cat >>confdefs.h <<_ACEOF
15601 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15608 for ac_func in gettimeofday
15610 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15611 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15612 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15613 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15614 echo $ECHO_N "(cached) $ECHO_C" >&6
15616 cat >conftest.$ac_ext <<_ACEOF
15619 cat confdefs.h >>conftest.$ac_ext
15620 cat >>conftest.$ac_ext <<_ACEOF
15621 /* end confdefs.h. */
15622 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15623 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15624 #define $ac_func innocuous_$ac_func
15626 /* System header to define __stub macros and hopefully few prototypes,
15627 which can conflict with char $ac_func (); below.
15628 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15629 <limits.h> exists even on freestanding compilers. */
15632 # include <limits.h>
15634 # include <assert.h>
15639 /* Override any GCC internal prototype to avoid an error.
15640 Use char because int might match the return type of a GCC
15641 builtin and then its argument prototype would still apply. */
15646 /* The GNU C library defines this for functions which it implements
15647 to always fail with ENOSYS. Some functions are actually named
15648 something starting with __ and the normal name is an alias. */
15649 #if defined __stub_$ac_func || defined __stub___$ac_func
15656 return $ac_func ();
15661 rm -f conftest.$ac_objext conftest$ac_exeext
15662 if { (ac_try="$ac_link"
15663 case "(($ac_try" in
15664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15665 *) ac_try_echo=$ac_try;;
15667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15668 (eval "$ac_link") 2>conftest.er1
15670 grep -v '^ *+' conftest.er1 >conftest.err
15672 cat conftest.err >&5
15673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15674 (exit $ac_status); } && {
15675 test -z "$ac_c_werror_flag" ||
15676 test ! -s conftest.err
15677 } && test -s conftest$ac_exeext &&
15678 $as_test_x conftest$ac_exeext; then
15679 eval "$as_ac_var=yes"
15681 echo "$as_me: failed program was:" >&5
15682 sed 's/^/| /' conftest.$ac_ext >&5
15684 eval "$as_ac_var=no"
15687 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15688 conftest$ac_exeext conftest.$ac_ext
15690 ac_res=`eval echo '${'$as_ac_var'}'`
15691 { echo "$as_me:$LINENO: result: $ac_res" >&5
15692 echo "${ECHO_T}$ac_res" >&6; }
15693 if test `eval echo '${'$as_ac_var'}'` = yes; then
15694 cat >>confdefs.h <<_ACEOF
15695 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15702 for ac_func in inet_ntoa
15704 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15705 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15706 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15707 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15708 echo $ECHO_N "(cached) $ECHO_C" >&6
15710 cat >conftest.$ac_ext <<_ACEOF
15713 cat confdefs.h >>conftest.$ac_ext
15714 cat >>conftest.$ac_ext <<_ACEOF
15715 /* end confdefs.h. */
15716 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15717 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15718 #define $ac_func innocuous_$ac_func
15720 /* System header to define __stub macros and hopefully few prototypes,
15721 which can conflict with char $ac_func (); below.
15722 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15723 <limits.h> exists even on freestanding compilers. */
15726 # include <limits.h>
15728 # include <assert.h>
15733 /* Override any GCC internal prototype to avoid an error.
15734 Use char because int might match the return type of a GCC
15735 builtin and then its argument prototype would still apply. */
15740 /* The GNU C library defines this for functions which it implements
15741 to always fail with ENOSYS. Some functions are actually named
15742 something starting with __ and the normal name is an alias. */
15743 #if defined __stub_$ac_func || defined __stub___$ac_func
15750 return $ac_func ();
15755 rm -f conftest.$ac_objext conftest$ac_exeext
15756 if { (ac_try="$ac_link"
15757 case "(($ac_try" in
15758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15759 *) ac_try_echo=$ac_try;;
15761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15762 (eval "$ac_link") 2>conftest.er1
15764 grep -v '^ *+' conftest.er1 >conftest.err
15766 cat conftest.err >&5
15767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15768 (exit $ac_status); } && {
15769 test -z "$ac_c_werror_flag" ||
15770 test ! -s conftest.err
15771 } && test -s conftest$ac_exeext &&
15772 $as_test_x conftest$ac_exeext; then
15773 eval "$as_ac_var=yes"
15775 echo "$as_me: failed program was:" >&5
15776 sed 's/^/| /' conftest.$ac_ext >&5
15778 eval "$as_ac_var=no"
15781 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15782 conftest$ac_exeext conftest.$ac_ext
15784 ac_res=`eval echo '${'$as_ac_var'}'`
15785 { echo "$as_me:$LINENO: result: $ac_res" >&5
15786 echo "${ECHO_T}$ac_res" >&6; }
15787 if test `eval echo '${'$as_ac_var'}'` = yes; then
15788 cat >>confdefs.h <<_ACEOF
15789 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15796 for ac_func in memset
15798 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15799 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15800 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15801 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15802 echo $ECHO_N "(cached) $ECHO_C" >&6
15804 cat >conftest.$ac_ext <<_ACEOF
15807 cat confdefs.h >>conftest.$ac_ext
15808 cat >>conftest.$ac_ext <<_ACEOF
15809 /* end confdefs.h. */
15810 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15811 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15812 #define $ac_func innocuous_$ac_func
15814 /* System header to define __stub macros and hopefully few prototypes,
15815 which can conflict with char $ac_func (); below.
15816 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15817 <limits.h> exists even on freestanding compilers. */
15820 # include <limits.h>
15822 # include <assert.h>
15827 /* Override any GCC internal prototype to avoid an error.
15828 Use char because int might match the return type of a GCC
15829 builtin and then its argument prototype would still apply. */
15834 /* The GNU C library defines this for functions which it implements
15835 to always fail with ENOSYS. Some functions are actually named
15836 something starting with __ and the normal name is an alias. */
15837 #if defined __stub_$ac_func || defined __stub___$ac_func
15844 return $ac_func ();
15849 rm -f conftest.$ac_objext conftest$ac_exeext
15850 if { (ac_try="$ac_link"
15851 case "(($ac_try" in
15852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15853 *) ac_try_echo=$ac_try;;
15855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15856 (eval "$ac_link") 2>conftest.er1
15858 grep -v '^ *+' conftest.er1 >conftest.err
15860 cat conftest.err >&5
15861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15862 (exit $ac_status); } && {
15863 test -z "$ac_c_werror_flag" ||
15864 test ! -s conftest.err
15865 } && test -s conftest$ac_exeext &&
15866 $as_test_x conftest$ac_exeext; then
15867 eval "$as_ac_var=yes"
15869 echo "$as_me: failed program was:" >&5
15870 sed 's/^/| /' conftest.$ac_ext >&5
15872 eval "$as_ac_var=no"
15875 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15876 conftest$ac_exeext conftest.$ac_ext
15878 ac_res=`eval echo '${'$as_ac_var'}'`
15879 { echo "$as_me:$LINENO: result: $ac_res" >&5
15880 echo "${ECHO_T}$ac_res" >&6; }
15881 if test `eval echo '${'$as_ac_var'}'` = yes; then
15882 cat >>confdefs.h <<_ACEOF
15883 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15890 for ac_func in socket
15892 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15893 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15894 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15895 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15896 echo $ECHO_N "(cached) $ECHO_C" >&6
15898 cat >conftest.$ac_ext <<_ACEOF
15901 cat confdefs.h >>conftest.$ac_ext
15902 cat >>conftest.$ac_ext <<_ACEOF
15903 /* end confdefs.h. */
15904 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15905 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15906 #define $ac_func innocuous_$ac_func
15908 /* System header to define __stub macros and hopefully few prototypes,
15909 which can conflict with char $ac_func (); below.
15910 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15911 <limits.h> exists even on freestanding compilers. */
15914 # include <limits.h>
15916 # include <assert.h>
15921 /* Override any GCC internal prototype to avoid an error.
15922 Use char because int might match the return type of a GCC
15923 builtin and then its argument prototype would still apply. */
15928 /* The GNU C library defines this for functions which it implements
15929 to always fail with ENOSYS. Some functions are actually named
15930 something starting with __ and the normal name is an alias. */
15931 #if defined __stub_$ac_func || defined __stub___$ac_func
15938 return $ac_func ();
15943 rm -f conftest.$ac_objext conftest$ac_exeext
15944 if { (ac_try="$ac_link"
15945 case "(($ac_try" in
15946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15947 *) ac_try_echo=$ac_try;;
15949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15950 (eval "$ac_link") 2>conftest.er1
15952 grep -v '^ *+' conftest.er1 >conftest.err
15954 cat conftest.err >&5
15955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15956 (exit $ac_status); } && {
15957 test -z "$ac_c_werror_flag" ||
15958 test ! -s conftest.err
15959 } && test -s conftest$ac_exeext &&
15960 $as_test_x conftest$ac_exeext; then
15961 eval "$as_ac_var=yes"
15963 echo "$as_me: failed program was:" >&5
15964 sed 's/^/| /' conftest.$ac_ext >&5
15966 eval "$as_ac_var=no"
15969 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15970 conftest$ac_exeext conftest.$ac_ext
15972 ac_res=`eval echo '${'$as_ac_var'}'`
15973 { echo "$as_me:$LINENO: result: $ac_res" >&5
15974 echo "${ECHO_T}$ac_res" >&6; }
15975 if test `eval echo '${'$as_ac_var'}'` = yes; then
15976 cat >>confdefs.h <<_ACEOF
15977 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15984 for ac_header in arpa/inet.h
15986 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15987 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15988 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15989 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15990 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15991 echo $ECHO_N "(cached) $ECHO_C" >&6
15993 ac_res=`eval echo '${'$as_ac_Header'}'`
15994 { echo "$as_me:$LINENO: result: $ac_res" >&5
15995 echo "${ECHO_T}$ac_res" >&6; }
15997 # Is the header compilable?
15998 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15999 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
16000 cat >conftest.$ac_ext <<_ACEOF
16003 cat confdefs.h >>conftest.$ac_ext
16004 cat >>conftest.$ac_ext <<_ACEOF
16005 /* end confdefs.h. */
16006 $ac_includes_default
16007 #include <$ac_header>
16009 rm -f conftest.$ac_objext
16010 if { (ac_try="$ac_compile"
16011 case "(($ac_try" in
16012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16013 *) ac_try_echo=$ac_try;;
16015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16016 (eval "$ac_compile") 2>conftest.er1
16018 grep -v '^ *+' conftest.er1 >conftest.err
16020 cat conftest.err >&5
16021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16022 (exit $ac_status); } && {
16023 test -z "$ac_c_werror_flag" ||
16024 test ! -s conftest.err
16025 } && test -s conftest.$ac_objext; then
16026 ac_header_compiler=yes
16028 echo "$as_me: failed program was:" >&5
16029 sed 's/^/| /' conftest.$ac_ext >&5
16031 ac_header_compiler=no
16034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16035 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16036 echo "${ECHO_T}$ac_header_compiler" >&6; }
16038 # Is the header present?
16039 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
16040 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
16041 cat >conftest.$ac_ext <<_ACEOF
16044 cat confdefs.h >>conftest.$ac_ext
16045 cat >>conftest.$ac_ext <<_ACEOF
16046 /* end confdefs.h. */
16047 #include <$ac_header>
16049 if { (ac_try="$ac_cpp conftest.$ac_ext"
16050 case "(($ac_try" in
16051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16052 *) ac_try_echo=$ac_try;;
16054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16055 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16057 grep -v '^ *+' conftest.er1 >conftest.err
16059 cat conftest.err >&5
16060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16061 (exit $ac_status); } >/dev/null && {
16062 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16063 test ! -s conftest.err
16065 ac_header_preproc=yes
16067 echo "$as_me: failed program was:" >&5
16068 sed 's/^/| /' conftest.$ac_ext >&5
16070 ac_header_preproc=no
16073 rm -f conftest.err conftest.$ac_ext
16074 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16075 echo "${ECHO_T}$ac_header_preproc" >&6; }
16077 # So? What about this header?
16078 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16080 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16081 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16082 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16083 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16084 ac_header_preproc=yes
16087 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16088 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16089 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16090 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16091 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16092 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16093 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16094 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16095 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16096 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16097 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16098 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16100 ## ----------------------------------- ##
16101 ## Report this to http://www.yassl.com ##
16102 ## ----------------------------------- ##
16104 ) | sed "s/^/$as_me: WARNING: /" >&2
16107 { echo "$as_me:$LINENO: checking for $ac_header" >&5
16108 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
16109 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16110 echo $ECHO_N "(cached) $ECHO_C" >&6
16112 eval "$as_ac_Header=\$ac_header_preproc"
16114 ac_res=`eval echo '${'$as_ac_Header'}'`
16115 { echo "$as_me:$LINENO: result: $ac_res" >&5
16116 echo "${ECHO_T}$ac_res" >&6; }
16119 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16120 cat >>confdefs.h <<_ACEOF
16121 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16129 for ac_header in fcntl.h
16131 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16132 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16133 { echo "$as_me:$LINENO: checking for $ac_header" >&5
16134 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
16135 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16136 echo $ECHO_N "(cached) $ECHO_C" >&6
16138 ac_res=`eval echo '${'$as_ac_Header'}'`
16139 { echo "$as_me:$LINENO: result: $ac_res" >&5
16140 echo "${ECHO_T}$ac_res" >&6; }
16142 # Is the header compilable?
16143 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
16144 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
16145 cat >conftest.$ac_ext <<_ACEOF
16148 cat confdefs.h >>conftest.$ac_ext
16149 cat >>conftest.$ac_ext <<_ACEOF
16150 /* end confdefs.h. */
16151 $ac_includes_default
16152 #include <$ac_header>
16154 rm -f conftest.$ac_objext
16155 if { (ac_try="$ac_compile"
16156 case "(($ac_try" in
16157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16158 *) ac_try_echo=$ac_try;;
16160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16161 (eval "$ac_compile") 2>conftest.er1
16163 grep -v '^ *+' conftest.er1 >conftest.err
16165 cat conftest.err >&5
16166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16167 (exit $ac_status); } && {
16168 test -z "$ac_c_werror_flag" ||
16169 test ! -s conftest.err
16170 } && test -s conftest.$ac_objext; then
16171 ac_header_compiler=yes
16173 echo "$as_me: failed program was:" >&5
16174 sed 's/^/| /' conftest.$ac_ext >&5
16176 ac_header_compiler=no
16179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16180 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16181 echo "${ECHO_T}$ac_header_compiler" >&6; }
16183 # Is the header present?
16184 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
16185 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
16186 cat >conftest.$ac_ext <<_ACEOF
16189 cat confdefs.h >>conftest.$ac_ext
16190 cat >>conftest.$ac_ext <<_ACEOF
16191 /* end confdefs.h. */
16192 #include <$ac_header>
16194 if { (ac_try="$ac_cpp conftest.$ac_ext"
16195 case "(($ac_try" in
16196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16197 *) ac_try_echo=$ac_try;;
16199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16200 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16202 grep -v '^ *+' conftest.er1 >conftest.err
16204 cat conftest.err >&5
16205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16206 (exit $ac_status); } >/dev/null && {
16207 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16208 test ! -s conftest.err
16210 ac_header_preproc=yes
16212 echo "$as_me: failed program was:" >&5
16213 sed 's/^/| /' conftest.$ac_ext >&5
16215 ac_header_preproc=no
16218 rm -f conftest.err conftest.$ac_ext
16219 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16220 echo "${ECHO_T}$ac_header_preproc" >&6; }
16222 # So? What about this header?
16223 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16225 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16226 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16227 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16228 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16229 ac_header_preproc=yes
16232 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16233 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16234 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16235 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16236 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16237 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16238 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16239 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16240 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16241 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16242 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16243 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16245 ## ----------------------------------- ##
16246 ## Report this to http://www.yassl.com ##
16247 ## ----------------------------------- ##
16249 ) | sed "s/^/$as_me: WARNING: /" >&2
16252 { echo "$as_me:$LINENO: checking for $ac_header" >&5
16253 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
16254 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16255 echo $ECHO_N "(cached) $ECHO_C" >&6
16257 eval "$as_ac_Header=\$ac_header_preproc"
16259 ac_res=`eval echo '${'$as_ac_Header'}'`
16260 { echo "$as_me:$LINENO: result: $ac_res" >&5
16261 echo "${ECHO_T}$ac_res" >&6; }
16264 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16265 cat >>confdefs.h <<_ACEOF
16266 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16274 for ac_header in limits.h
16276 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16277 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16278 { echo "$as_me:$LINENO: checking for $ac_header" >&5
16279 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
16280 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16281 echo $ECHO_N "(cached) $ECHO_C" >&6
16283 ac_res=`eval echo '${'$as_ac_Header'}'`
16284 { echo "$as_me:$LINENO: result: $ac_res" >&5
16285 echo "${ECHO_T}$ac_res" >&6; }
16287 # Is the header compilable?
16288 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
16289 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
16290 cat >conftest.$ac_ext <<_ACEOF
16293 cat confdefs.h >>conftest.$ac_ext
16294 cat >>conftest.$ac_ext <<_ACEOF
16295 /* end confdefs.h. */
16296 $ac_includes_default
16297 #include <$ac_header>
16299 rm -f conftest.$ac_objext
16300 if { (ac_try="$ac_compile"
16301 case "(($ac_try" in
16302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16303 *) ac_try_echo=$ac_try;;
16305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16306 (eval "$ac_compile") 2>conftest.er1
16308 grep -v '^ *+' conftest.er1 >conftest.err
16310 cat conftest.err >&5
16311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16312 (exit $ac_status); } && {
16313 test -z "$ac_c_werror_flag" ||
16314 test ! -s conftest.err
16315 } && test -s conftest.$ac_objext; then
16316 ac_header_compiler=yes
16318 echo "$as_me: failed program was:" >&5
16319 sed 's/^/| /' conftest.$ac_ext >&5
16321 ac_header_compiler=no
16324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16325 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16326 echo "${ECHO_T}$ac_header_compiler" >&6; }
16328 # Is the header present?
16329 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
16330 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
16331 cat >conftest.$ac_ext <<_ACEOF
16334 cat confdefs.h >>conftest.$ac_ext
16335 cat >>conftest.$ac_ext <<_ACEOF
16336 /* end confdefs.h. */
16337 #include <$ac_header>
16339 if { (ac_try="$ac_cpp conftest.$ac_ext"
16340 case "(($ac_try" in
16341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16342 *) ac_try_echo=$ac_try;;
16344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16345 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16347 grep -v '^ *+' conftest.er1 >conftest.err
16349 cat conftest.err >&5
16350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16351 (exit $ac_status); } >/dev/null && {
16352 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16353 test ! -s conftest.err
16355 ac_header_preproc=yes
16357 echo "$as_me: failed program was:" >&5
16358 sed 's/^/| /' conftest.$ac_ext >&5
16360 ac_header_preproc=no
16363 rm -f conftest.err conftest.$ac_ext
16364 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16365 echo "${ECHO_T}$ac_header_preproc" >&6; }
16367 # So? What about this header?
16368 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16370 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16371 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16372 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16373 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16374 ac_header_preproc=yes
16377 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16378 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16379 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16380 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16381 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16382 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16383 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16384 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16385 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16386 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16387 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16388 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16390 ## ----------------------------------- ##
16391 ## Report this to http://www.yassl.com ##
16392 ## ----------------------------------- ##
16394 ) | sed "s/^/$as_me: WARNING: /" >&2
16397 { echo "$as_me:$LINENO: checking for $ac_header" >&5
16398 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
16399 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16400 echo $ECHO_N "(cached) $ECHO_C" >&6
16402 eval "$as_ac_Header=\$ac_header_preproc"
16404 ac_res=`eval echo '${'$as_ac_Header'}'`
16405 { echo "$as_me:$LINENO: result: $ac_res" >&5
16406 echo "${ECHO_T}$ac_res" >&6; }
16409 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16410 cat >>confdefs.h <<_ACEOF
16411 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16419 for ac_header in netdb.h
16421 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16422 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16423 { echo "$as_me:$LINENO: checking for $ac_header" >&5
16424 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
16425 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16426 echo $ECHO_N "(cached) $ECHO_C" >&6
16428 ac_res=`eval echo '${'$as_ac_Header'}'`
16429 { echo "$as_me:$LINENO: result: $ac_res" >&5
16430 echo "${ECHO_T}$ac_res" >&6; }
16432 # Is the header compilable?
16433 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
16434 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
16435 cat >conftest.$ac_ext <<_ACEOF
16438 cat confdefs.h >>conftest.$ac_ext
16439 cat >>conftest.$ac_ext <<_ACEOF
16440 /* end confdefs.h. */
16441 $ac_includes_default
16442 #include <$ac_header>
16444 rm -f conftest.$ac_objext
16445 if { (ac_try="$ac_compile"
16446 case "(($ac_try" in
16447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16448 *) ac_try_echo=$ac_try;;
16450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16451 (eval "$ac_compile") 2>conftest.er1
16453 grep -v '^ *+' conftest.er1 >conftest.err
16455 cat conftest.err >&5
16456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16457 (exit $ac_status); } && {
16458 test -z "$ac_c_werror_flag" ||
16459 test ! -s conftest.err
16460 } && test -s conftest.$ac_objext; then
16461 ac_header_compiler=yes
16463 echo "$as_me: failed program was:" >&5
16464 sed 's/^/| /' conftest.$ac_ext >&5
16466 ac_header_compiler=no
16469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16470 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16471 echo "${ECHO_T}$ac_header_compiler" >&6; }
16473 # Is the header present?
16474 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
16475 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
16476 cat >conftest.$ac_ext <<_ACEOF
16479 cat confdefs.h >>conftest.$ac_ext
16480 cat >>conftest.$ac_ext <<_ACEOF
16481 /* end confdefs.h. */
16482 #include <$ac_header>
16484 if { (ac_try="$ac_cpp conftest.$ac_ext"
16485 case "(($ac_try" in
16486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16487 *) ac_try_echo=$ac_try;;
16489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16490 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16492 grep -v '^ *+' conftest.er1 >conftest.err
16494 cat conftest.err >&5
16495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16496 (exit $ac_status); } >/dev/null && {
16497 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16498 test ! -s conftest.err
16500 ac_header_preproc=yes
16502 echo "$as_me: failed program was:" >&5
16503 sed 's/^/| /' conftest.$ac_ext >&5
16505 ac_header_preproc=no
16508 rm -f conftest.err conftest.$ac_ext
16509 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16510 echo "${ECHO_T}$ac_header_preproc" >&6; }
16512 # So? What about this header?
16513 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16515 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16516 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16517 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16518 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16519 ac_header_preproc=yes
16522 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16523 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16524 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16525 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16526 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16527 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16528 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16529 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16530 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16531 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16532 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16533 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16535 ## ----------------------------------- ##
16536 ## Report this to http://www.yassl.com ##
16537 ## ----------------------------------- ##
16539 ) | sed "s/^/$as_me: WARNING: /" >&2
16542 { echo "$as_me:$LINENO: checking for $ac_header" >&5
16543 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
16544 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16545 echo $ECHO_N "(cached) $ECHO_C" >&6
16547 eval "$as_ac_Header=\$ac_header_preproc"
16549 ac_res=`eval echo '${'$as_ac_Header'}'`
16550 { echo "$as_me:$LINENO: result: $ac_res" >&5
16551 echo "${ECHO_T}$ac_res" >&6; }
16554 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16555 cat >>confdefs.h <<_ACEOF
16556 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16564 for ac_header in netinet/in.h
16566 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16567 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16568 { echo "$as_me:$LINENO: checking for $ac_header" >&5
16569 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
16570 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16571 echo $ECHO_N "(cached) $ECHO_C" >&6
16573 ac_res=`eval echo '${'$as_ac_Header'}'`
16574 { echo "$as_me:$LINENO: result: $ac_res" >&5
16575 echo "${ECHO_T}$ac_res" >&6; }
16577 # Is the header compilable?
16578 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
16579 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
16580 cat >conftest.$ac_ext <<_ACEOF
16583 cat confdefs.h >>conftest.$ac_ext
16584 cat >>conftest.$ac_ext <<_ACEOF
16585 /* end confdefs.h. */
16586 $ac_includes_default
16587 #include <$ac_header>
16589 rm -f conftest.$ac_objext
16590 if { (ac_try="$ac_compile"
16591 case "(($ac_try" in
16592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16593 *) ac_try_echo=$ac_try;;
16595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16596 (eval "$ac_compile") 2>conftest.er1
16598 grep -v '^ *+' conftest.er1 >conftest.err
16600 cat conftest.err >&5
16601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16602 (exit $ac_status); } && {
16603 test -z "$ac_c_werror_flag" ||
16604 test ! -s conftest.err
16605 } && test -s conftest.$ac_objext; then
16606 ac_header_compiler=yes
16608 echo "$as_me: failed program was:" >&5
16609 sed 's/^/| /' conftest.$ac_ext >&5
16611 ac_header_compiler=no
16614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16615 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16616 echo "${ECHO_T}$ac_header_compiler" >&6; }
16618 # Is the header present?
16619 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
16620 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
16621 cat >conftest.$ac_ext <<_ACEOF
16624 cat confdefs.h >>conftest.$ac_ext
16625 cat >>conftest.$ac_ext <<_ACEOF
16626 /* end confdefs.h. */
16627 #include <$ac_header>
16629 if { (ac_try="$ac_cpp conftest.$ac_ext"
16630 case "(($ac_try" in
16631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16632 *) ac_try_echo=$ac_try;;
16634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16635 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16637 grep -v '^ *+' conftest.er1 >conftest.err
16639 cat conftest.err >&5
16640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16641 (exit $ac_status); } >/dev/null && {
16642 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16643 test ! -s conftest.err
16645 ac_header_preproc=yes
16647 echo "$as_me: failed program was:" >&5
16648 sed 's/^/| /' conftest.$ac_ext >&5
16650 ac_header_preproc=no
16653 rm -f conftest.err conftest.$ac_ext
16654 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16655 echo "${ECHO_T}$ac_header_preproc" >&6; }
16657 # So? What about this header?
16658 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16660 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16661 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16662 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16663 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16664 ac_header_preproc=yes
16667 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16668 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16669 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16670 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16671 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16672 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16673 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16674 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16675 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16676 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16677 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16678 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16680 ## ----------------------------------- ##
16681 ## Report this to http://www.yassl.com ##
16682 ## ----------------------------------- ##
16684 ) | sed "s/^/$as_me: WARNING: /" >&2
16687 { echo "$as_me:$LINENO: checking for $ac_header" >&5
16688 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
16689 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16690 echo $ECHO_N "(cached) $ECHO_C" >&6
16692 eval "$as_ac_Header=\$ac_header_preproc"
16694 ac_res=`eval echo '${'$as_ac_Header'}'`
16695 { echo "$as_me:$LINENO: result: $ac_res" >&5
16696 echo "${ECHO_T}$ac_res" >&6; }
16699 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16700 cat >>confdefs.h <<_ACEOF
16701 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16709 for ac_header in stddef.h
16711 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16712 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16713 { echo "$as_me:$LINENO: checking for $ac_header" >&5
16714 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
16715 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16716 echo $ECHO_N "(cached) $ECHO_C" >&6
16718 ac_res=`eval echo '${'$as_ac_Header'}'`
16719 { echo "$as_me:$LINENO: result: $ac_res" >&5
16720 echo "${ECHO_T}$ac_res" >&6; }
16722 # Is the header compilable?
16723 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
16724 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
16725 cat >conftest.$ac_ext <<_ACEOF
16728 cat confdefs.h >>conftest.$ac_ext
16729 cat >>conftest.$ac_ext <<_ACEOF
16730 /* end confdefs.h. */
16731 $ac_includes_default
16732 #include <$ac_header>
16734 rm -f conftest.$ac_objext
16735 if { (ac_try="$ac_compile"
16736 case "(($ac_try" in
16737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16738 *) ac_try_echo=$ac_try;;
16740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16741 (eval "$ac_compile") 2>conftest.er1
16743 grep -v '^ *+' conftest.er1 >conftest.err
16745 cat conftest.err >&5
16746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16747 (exit $ac_status); } && {
16748 test -z "$ac_c_werror_flag" ||
16749 test ! -s conftest.err
16750 } && test -s conftest.$ac_objext; then
16751 ac_header_compiler=yes
16753 echo "$as_me: failed program was:" >&5
16754 sed 's/^/| /' conftest.$ac_ext >&5
16756 ac_header_compiler=no
16759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16760 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16761 echo "${ECHO_T}$ac_header_compiler" >&6; }
16763 # Is the header present?
16764 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
16765 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
16766 cat >conftest.$ac_ext <<_ACEOF
16769 cat confdefs.h >>conftest.$ac_ext
16770 cat >>conftest.$ac_ext <<_ACEOF
16771 /* end confdefs.h. */
16772 #include <$ac_header>
16774 if { (ac_try="$ac_cpp conftest.$ac_ext"
16775 case "(($ac_try" in
16776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16777 *) ac_try_echo=$ac_try;;
16779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16780 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16782 grep -v '^ *+' conftest.er1 >conftest.err
16784 cat conftest.err >&5
16785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16786 (exit $ac_status); } >/dev/null && {
16787 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16788 test ! -s conftest.err
16790 ac_header_preproc=yes
16792 echo "$as_me: failed program was:" >&5
16793 sed 's/^/| /' conftest.$ac_ext >&5
16795 ac_header_preproc=no
16798 rm -f conftest.err conftest.$ac_ext
16799 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16800 echo "${ECHO_T}$ac_header_preproc" >&6; }
16802 # So? What about this header?
16803 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16805 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16806 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16807 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16808 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16809 ac_header_preproc=yes
16812 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16813 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16814 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16815 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16816 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16817 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16818 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16819 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16820 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16821 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16822 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16823 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16825 ## ----------------------------------- ##
16826 ## Report this to http://www.yassl.com ##
16827 ## ----------------------------------- ##
16829 ) | sed "s/^/$as_me: WARNING: /" >&2
16832 { echo "$as_me:$LINENO: checking for $ac_header" >&5
16833 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
16834 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16835 echo $ECHO_N "(cached) $ECHO_C" >&6
16837 eval "$as_ac_Header=\$ac_header_preproc"
16839 ac_res=`eval echo '${'$as_ac_Header'}'`
16840 { echo "$as_me:$LINENO: result: $ac_res" >&5
16841 echo "${ECHO_T}$ac_res" >&6; }
16844 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16845 cat >>confdefs.h <<_ACEOF
16846 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16854 for ac_header in sys/ioctl.h
16856 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16857 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16858 { echo "$as_me:$LINENO: checking for $ac_header" >&5
16859 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
16860 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16861 echo $ECHO_N "(cached) $ECHO_C" >&6
16863 ac_res=`eval echo '${'$as_ac_Header'}'`
16864 { echo "$as_me:$LINENO: result: $ac_res" >&5
16865 echo "${ECHO_T}$ac_res" >&6; }
16867 # Is the header compilable?
16868 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
16869 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
16870 cat >conftest.$ac_ext <<_ACEOF
16873 cat confdefs.h >>conftest.$ac_ext
16874 cat >>conftest.$ac_ext <<_ACEOF
16875 /* end confdefs.h. */
16876 $ac_includes_default
16877 #include <$ac_header>
16879 rm -f conftest.$ac_objext
16880 if { (ac_try="$ac_compile"
16881 case "(($ac_try" in
16882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16883 *) ac_try_echo=$ac_try;;
16885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16886 (eval "$ac_compile") 2>conftest.er1
16888 grep -v '^ *+' conftest.er1 >conftest.err
16890 cat conftest.err >&5
16891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16892 (exit $ac_status); } && {
16893 test -z "$ac_c_werror_flag" ||
16894 test ! -s conftest.err
16895 } && test -s conftest.$ac_objext; then
16896 ac_header_compiler=yes
16898 echo "$as_me: failed program was:" >&5
16899 sed 's/^/| /' conftest.$ac_ext >&5
16901 ac_header_compiler=no
16904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16905 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16906 echo "${ECHO_T}$ac_header_compiler" >&6; }
16908 # Is the header present?
16909 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
16910 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
16911 cat >conftest.$ac_ext <<_ACEOF
16914 cat confdefs.h >>conftest.$ac_ext
16915 cat >>conftest.$ac_ext <<_ACEOF
16916 /* end confdefs.h. */
16917 #include <$ac_header>
16919 if { (ac_try="$ac_cpp conftest.$ac_ext"
16920 case "(($ac_try" in
16921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16922 *) ac_try_echo=$ac_try;;
16924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16925 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16927 grep -v '^ *+' conftest.er1 >conftest.err
16929 cat conftest.err >&5
16930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16931 (exit $ac_status); } >/dev/null && {
16932 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16933 test ! -s conftest.err
16935 ac_header_preproc=yes
16937 echo "$as_me: failed program was:" >&5
16938 sed 's/^/| /' conftest.$ac_ext >&5
16940 ac_header_preproc=no
16943 rm -f conftest.err conftest.$ac_ext
16944 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16945 echo "${ECHO_T}$ac_header_preproc" >&6; }
16947 # So? What about this header?
16948 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16950 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16951 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16952 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16953 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16954 ac_header_preproc=yes
16957 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16958 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16959 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16960 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16961 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16962 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16963 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16964 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16965 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16966 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16967 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16968 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16970 ## ----------------------------------- ##
16971 ## Report this to http://www.yassl.com ##
16972 ## ----------------------------------- ##
16974 ) | sed "s/^/$as_me: WARNING: /" >&2
16977 { echo "$as_me:$LINENO: checking for $ac_header" >&5
16978 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
16979 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16980 echo $ECHO_N "(cached) $ECHO_C" >&6
16982 eval "$as_ac_Header=\$ac_header_preproc"
16984 ac_res=`eval echo '${'$as_ac_Header'}'`
16985 { echo "$as_me:$LINENO: result: $ac_res" >&5
16986 echo "${ECHO_T}$ac_res" >&6; }
16989 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16990 cat >>confdefs.h <<_ACEOF
16991 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16999 for ac_header in sys/socket.h
17001 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17002 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17003 { echo "$as_me:$LINENO: checking for $ac_header" >&5
17004 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17005 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17006 echo $ECHO_N "(cached) $ECHO_C" >&6
17008 ac_res=`eval echo '${'$as_ac_Header'}'`
17009 { echo "$as_me:$LINENO: result: $ac_res" >&5
17010 echo "${ECHO_T}$ac_res" >&6; }
17012 # Is the header compilable?
17013 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
17014 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
17015 cat >conftest.$ac_ext <<_ACEOF
17018 cat confdefs.h >>conftest.$ac_ext
17019 cat >>conftest.$ac_ext <<_ACEOF
17020 /* end confdefs.h. */
17021 $ac_includes_default
17022 #include <$ac_header>
17024 rm -f conftest.$ac_objext
17025 if { (ac_try="$ac_compile"
17026 case "(($ac_try" in
17027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17028 *) ac_try_echo=$ac_try;;
17030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17031 (eval "$ac_compile") 2>conftest.er1
17033 grep -v '^ *+' conftest.er1 >conftest.err
17035 cat conftest.err >&5
17036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17037 (exit $ac_status); } && {
17038 test -z "$ac_c_werror_flag" ||
17039 test ! -s conftest.err
17040 } && test -s conftest.$ac_objext; then
17041 ac_header_compiler=yes
17043 echo "$as_me: failed program was:" >&5
17044 sed 's/^/| /' conftest.$ac_ext >&5
17046 ac_header_compiler=no
17049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17050 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17051 echo "${ECHO_T}$ac_header_compiler" >&6; }
17053 # Is the header present?
17054 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
17055 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
17056 cat >conftest.$ac_ext <<_ACEOF
17059 cat confdefs.h >>conftest.$ac_ext
17060 cat >>conftest.$ac_ext <<_ACEOF
17061 /* end confdefs.h. */
17062 #include <$ac_header>
17064 if { (ac_try="$ac_cpp conftest.$ac_ext"
17065 case "(($ac_try" in
17066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17067 *) ac_try_echo=$ac_try;;
17069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17070 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17072 grep -v '^ *+' conftest.er1 >conftest.err
17074 cat conftest.err >&5
17075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17076 (exit $ac_status); } >/dev/null && {
17077 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17078 test ! -s conftest.err
17080 ac_header_preproc=yes
17082 echo "$as_me: failed program was:" >&5
17083 sed 's/^/| /' conftest.$ac_ext >&5
17085 ac_header_preproc=no
17088 rm -f conftest.err conftest.$ac_ext
17089 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17090 echo "${ECHO_T}$ac_header_preproc" >&6; }
17092 # So? What about this header?
17093 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17095 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17096 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17097 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17098 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17099 ac_header_preproc=yes
17102 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17103 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17104 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17105 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17106 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17107 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17108 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17109 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17110 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17111 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17112 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17113 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17115 ## ----------------------------------- ##
17116 ## Report this to http://www.yassl.com ##
17117 ## ----------------------------------- ##
17119 ) | sed "s/^/$as_me: WARNING: /" >&2
17122 { echo "$as_me:$LINENO: checking for $ac_header" >&5
17123 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17124 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17125 echo $ECHO_N "(cached) $ECHO_C" >&6
17127 eval "$as_ac_Header=\$ac_header_preproc"
17129 ac_res=`eval echo '${'$as_ac_Header'}'`
17130 { echo "$as_me:$LINENO: result: $ac_res" >&5
17131 echo "${ECHO_T}$ac_res" >&6; }
17134 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17135 cat >>confdefs.h <<_ACEOF
17136 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17144 for ac_header in sys/time.h
17146 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17147 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17148 { echo "$as_me:$LINENO: checking for $ac_header" >&5
17149 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17150 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17151 echo $ECHO_N "(cached) $ECHO_C" >&6
17153 ac_res=`eval echo '${'$as_ac_Header'}'`
17154 { echo "$as_me:$LINENO: result: $ac_res" >&5
17155 echo "${ECHO_T}$ac_res" >&6; }
17157 # Is the header compilable?
17158 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
17159 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
17160 cat >conftest.$ac_ext <<_ACEOF
17163 cat confdefs.h >>conftest.$ac_ext
17164 cat >>conftest.$ac_ext <<_ACEOF
17165 /* end confdefs.h. */
17166 $ac_includes_default
17167 #include <$ac_header>
17169 rm -f conftest.$ac_objext
17170 if { (ac_try="$ac_compile"
17171 case "(($ac_try" in
17172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17173 *) ac_try_echo=$ac_try;;
17175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17176 (eval "$ac_compile") 2>conftest.er1
17178 grep -v '^ *+' conftest.er1 >conftest.err
17180 cat conftest.err >&5
17181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17182 (exit $ac_status); } && {
17183 test -z "$ac_c_werror_flag" ||
17184 test ! -s conftest.err
17185 } && test -s conftest.$ac_objext; then
17186 ac_header_compiler=yes
17188 echo "$as_me: failed program was:" >&5
17189 sed 's/^/| /' conftest.$ac_ext >&5
17191 ac_header_compiler=no
17194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17195 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17196 echo "${ECHO_T}$ac_header_compiler" >&6; }
17198 # Is the header present?
17199 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
17200 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
17201 cat >conftest.$ac_ext <<_ACEOF
17204 cat confdefs.h >>conftest.$ac_ext
17205 cat >>conftest.$ac_ext <<_ACEOF
17206 /* end confdefs.h. */
17207 #include <$ac_header>
17209 if { (ac_try="$ac_cpp conftest.$ac_ext"
17210 case "(($ac_try" in
17211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17212 *) ac_try_echo=$ac_try;;
17214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17215 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17217 grep -v '^ *+' conftest.er1 >conftest.err
17219 cat conftest.err >&5
17220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17221 (exit $ac_status); } >/dev/null && {
17222 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17223 test ! -s conftest.err
17225 ac_header_preproc=yes
17227 echo "$as_me: failed program was:" >&5
17228 sed 's/^/| /' conftest.$ac_ext >&5
17230 ac_header_preproc=no
17233 rm -f conftest.err conftest.$ac_ext
17234 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17235 echo "${ECHO_T}$ac_header_preproc" >&6; }
17237 # So? What about this header?
17238 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17240 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17241 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17242 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17243 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17244 ac_header_preproc=yes
17247 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17248 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17249 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17250 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17251 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17252 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17253 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17254 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17255 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17256 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17257 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17258 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17260 ## ----------------------------------- ##
17261 ## Report this to http://www.yassl.com ##
17262 ## ----------------------------------- ##
17264 ) | sed "s/^/$as_me: WARNING: /" >&2
17267 { echo "$as_me:$LINENO: checking for $ac_header" >&5
17268 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17269 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17270 echo $ECHO_N "(cached) $ECHO_C" >&6
17272 eval "$as_ac_Header=\$ac_header_preproc"
17274 ac_res=`eval echo '${'$as_ac_Header'}'`
17275 { echo "$as_me:$LINENO: result: $ac_res" >&5
17276 echo "${ECHO_T}$ac_res" >&6; }
17279 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17280 cat >>confdefs.h <<_ACEOF
17281 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17289 for ac_header in errno.h
17291 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17292 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17293 { echo "$as_me:$LINENO: checking for $ac_header" >&5
17294 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17295 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17296 echo $ECHO_N "(cached) $ECHO_C" >&6
17298 ac_res=`eval echo '${'$as_ac_Header'}'`
17299 { echo "$as_me:$LINENO: result: $ac_res" >&5
17300 echo "${ECHO_T}$ac_res" >&6; }
17302 # Is the header compilable?
17303 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
17304 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
17305 cat >conftest.$ac_ext <<_ACEOF
17308 cat confdefs.h >>conftest.$ac_ext
17309 cat >>conftest.$ac_ext <<_ACEOF
17310 /* end confdefs.h. */
17311 $ac_includes_default
17312 #include <$ac_header>
17314 rm -f conftest.$ac_objext
17315 if { (ac_try="$ac_compile"
17316 case "(($ac_try" in
17317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17318 *) ac_try_echo=$ac_try;;
17320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17321 (eval "$ac_compile") 2>conftest.er1
17323 grep -v '^ *+' conftest.er1 >conftest.err
17325 cat conftest.err >&5
17326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17327 (exit $ac_status); } && {
17328 test -z "$ac_c_werror_flag" ||
17329 test ! -s conftest.err
17330 } && test -s conftest.$ac_objext; then
17331 ac_header_compiler=yes
17333 echo "$as_me: failed program was:" >&5
17334 sed 's/^/| /' conftest.$ac_ext >&5
17336 ac_header_compiler=no
17339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17340 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17341 echo "${ECHO_T}$ac_header_compiler" >&6; }
17343 # Is the header present?
17344 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
17345 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
17346 cat >conftest.$ac_ext <<_ACEOF
17349 cat confdefs.h >>conftest.$ac_ext
17350 cat >>conftest.$ac_ext <<_ACEOF
17351 /* end confdefs.h. */
17352 #include <$ac_header>
17354 if { (ac_try="$ac_cpp conftest.$ac_ext"
17355 case "(($ac_try" in
17356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17357 *) ac_try_echo=$ac_try;;
17359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17360 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17362 grep -v '^ *+' conftest.er1 >conftest.err
17364 cat conftest.err >&5
17365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17366 (exit $ac_status); } >/dev/null && {
17367 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17368 test ! -s conftest.err
17370 ac_header_preproc=yes
17372 echo "$as_me: failed program was:" >&5
17373 sed 's/^/| /' conftest.$ac_ext >&5
17375 ac_header_preproc=no
17378 rm -f conftest.err conftest.$ac_ext
17379 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17380 echo "${ECHO_T}$ac_header_preproc" >&6; }
17382 # So? What about this header?
17383 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17385 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17386 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17387 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17388 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17389 ac_header_preproc=yes
17392 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17393 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17394 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17395 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17396 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17397 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17398 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17399 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17400 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17401 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17402 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17403 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17405 ## ----------------------------------- ##
17406 ## Report this to http://www.yassl.com ##
17407 ## ----------------------------------- ##
17409 ) | sed "s/^/$as_me: WARNING: /" >&2
17412 { echo "$as_me:$LINENO: checking for $ac_header" >&5
17413 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17414 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17415 echo $ECHO_N "(cached) $ECHO_C" >&6
17417 eval "$as_ac_Header=\$ac_header_preproc"
17419 ac_res=`eval echo '${'$as_ac_Header'}'`
17420 { echo "$as_me:$LINENO: result: $ac_res" >&5
17421 echo "${ECHO_T}$ac_res" >&6; }
17424 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17425 cat >>confdefs.h <<_ACEOF
17426 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17434 { echo "$as_me:$LINENO: checking for socket in -lnetwork" >&5
17435 echo $ECHO_N "checking for socket in -lnetwork... $ECHO_C" >&6; }
17436 if test "${ac_cv_lib_network_socket+set}" = set; then
17437 echo $ECHO_N "(cached) $ECHO_C" >&6
17439 ac_check_lib_save_LIBS=$LIBS
17440 LIBS="-lnetwork $LIBS"
17441 cat >conftest.$ac_ext <<_ACEOF
17444 cat confdefs.h >>conftest.$ac_ext
17445 cat >>conftest.$ac_ext <<_ACEOF
17446 /* end confdefs.h. */
17448 /* Override any GCC internal prototype to avoid an error.
17449 Use char because int might match the return type of a GCC
17450 builtin and then its argument prototype would still apply. */
17463 rm -f conftest.$ac_objext conftest$ac_exeext
17464 if { (ac_try="$ac_link"
17465 case "(($ac_try" in
17466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17467 *) ac_try_echo=$ac_try;;
17469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17470 (eval "$ac_link") 2>conftest.er1
17472 grep -v '^ *+' conftest.er1 >conftest.err
17474 cat conftest.err >&5
17475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17476 (exit $ac_status); } && {
17477 test -z "$ac_c_werror_flag" ||
17478 test ! -s conftest.err
17479 } && test -s conftest$ac_exeext &&
17480 $as_test_x conftest$ac_exeext; then
17481 ac_cv_lib_network_socket=yes
17483 echo "$as_me: failed program was:" >&5
17484 sed 's/^/| /' conftest.$ac_ext >&5
17486 ac_cv_lib_network_socket=no
17489 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17490 conftest$ac_exeext conftest.$ac_ext
17491 LIBS=$ac_check_lib_save_LIBS
17493 { echo "$as_me:$LINENO: result: $ac_cv_lib_network_socket" >&5
17494 echo "${ECHO_T}$ac_cv_lib_network_socket" >&6; }
17495 if test $ac_cv_lib_network_socket = yes; then
17496 cat >>confdefs.h <<_ACEOF
17497 #define HAVE_LIBNETWORK 1
17500 LIBS="-lnetwork $LIBS"
17504 { echo "$as_me:$LINENO: checking for long long" >&5
17505 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
17506 if test "${ac_cv_type_long_long+set}" = set; then
17507 echo $ECHO_N "(cached) $ECHO_C" >&6
17509 cat >conftest.$ac_ext <<_ACEOF
17512 cat confdefs.h >>conftest.$ac_ext
17513 cat >>conftest.$ac_ext <<_ACEOF
17514 /* end confdefs.h. */
17515 $ac_includes_default
17516 typedef long long ac__type_new_;
17520 if ((ac__type_new_ *) 0)
17522 if (sizeof (ac__type_new_))
17528 rm -f conftest.$ac_objext
17529 if { (ac_try="$ac_compile"
17530 case "(($ac_try" in
17531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17532 *) ac_try_echo=$ac_try;;
17534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17535 (eval "$ac_compile") 2>conftest.er1
17537 grep -v '^ *+' conftest.er1 >conftest.err
17539 cat conftest.err >&5
17540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17541 (exit $ac_status); } && {
17542 test -z "$ac_c_werror_flag" ||
17543 test ! -s conftest.err
17544 } && test -s conftest.$ac_objext; then
17545 ac_cv_type_long_long=yes
17547 echo "$as_me: failed program was:" >&5
17548 sed 's/^/| /' conftest.$ac_ext >&5
17550 ac_cv_type_long_long=no
17553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17555 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17556 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
17558 # The cast to long int works around a bug in the HP C Compiler
17559 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17560 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17561 # This bug is HP SR number 8606223364.
17562 { echo "$as_me:$LINENO: checking size of long long" >&5
17563 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
17564 if test "${ac_cv_sizeof_long_long+set}" = set; then
17565 echo $ECHO_N "(cached) $ECHO_C" >&6
17567 if test "$cross_compiling" = yes; then
17568 # Depending upon the size, compute the lo and hi bounds.
17569 cat >conftest.$ac_ext <<_ACEOF
17572 cat confdefs.h >>conftest.$ac_ext
17573 cat >>conftest.$ac_ext <<_ACEOF
17574 /* end confdefs.h. */
17575 $ac_includes_default
17576 typedef long long ac__type_sizeof_;
17580 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
17587 rm -f conftest.$ac_objext
17588 if { (ac_try="$ac_compile"
17589 case "(($ac_try" in
17590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17591 *) ac_try_echo=$ac_try;;
17593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17594 (eval "$ac_compile") 2>conftest.er1
17596 grep -v '^ *+' conftest.er1 >conftest.err
17598 cat conftest.err >&5
17599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17600 (exit $ac_status); } && {
17601 test -z "$ac_c_werror_flag" ||
17602 test ! -s conftest.err
17603 } && test -s conftest.$ac_objext; then
17606 cat >conftest.$ac_ext <<_ACEOF
17609 cat confdefs.h >>conftest.$ac_ext
17610 cat >>conftest.$ac_ext <<_ACEOF
17611 /* end confdefs.h. */
17612 $ac_includes_default
17613 typedef long long ac__type_sizeof_;
17617 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
17624 rm -f conftest.$ac_objext
17625 if { (ac_try="$ac_compile"
17626 case "(($ac_try" in
17627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17628 *) ac_try_echo=$ac_try;;
17630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17631 (eval "$ac_compile") 2>conftest.er1
17633 grep -v '^ *+' conftest.er1 >conftest.err
17635 cat conftest.err >&5
17636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17637 (exit $ac_status); } && {
17638 test -z "$ac_c_werror_flag" ||
17639 test ! -s conftest.err
17640 } && test -s conftest.$ac_objext; then
17641 ac_hi=$ac_mid; break
17643 echo "$as_me: failed program was:" >&5
17644 sed 's/^/| /' conftest.$ac_ext >&5
17646 ac_lo=`expr $ac_mid + 1`
17647 if test $ac_lo -le $ac_mid; then
17651 ac_mid=`expr 2 '*' $ac_mid + 1`
17654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17657 echo "$as_me: failed program was:" >&5
17658 sed 's/^/| /' conftest.$ac_ext >&5
17660 cat >conftest.$ac_ext <<_ACEOF
17663 cat confdefs.h >>conftest.$ac_ext
17664 cat >>conftest.$ac_ext <<_ACEOF
17665 /* end confdefs.h. */
17666 $ac_includes_default
17667 typedef long long ac__type_sizeof_;
17671 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
17678 rm -f conftest.$ac_objext
17679 if { (ac_try="$ac_compile"
17680 case "(($ac_try" in
17681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17682 *) ac_try_echo=$ac_try;;
17684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17685 (eval "$ac_compile") 2>conftest.er1
17687 grep -v '^ *+' conftest.er1 >conftest.err
17689 cat conftest.err >&5
17690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17691 (exit $ac_status); } && {
17692 test -z "$ac_c_werror_flag" ||
17693 test ! -s conftest.err
17694 } && test -s conftest.$ac_objext; then
17697 cat >conftest.$ac_ext <<_ACEOF
17700 cat confdefs.h >>conftest.$ac_ext
17701 cat >>conftest.$ac_ext <<_ACEOF
17702 /* end confdefs.h. */
17703 $ac_includes_default
17704 typedef long long ac__type_sizeof_;
17708 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
17715 rm -f conftest.$ac_objext
17716 if { (ac_try="$ac_compile"
17717 case "(($ac_try" in
17718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17719 *) ac_try_echo=$ac_try;;
17721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17722 (eval "$ac_compile") 2>conftest.er1
17724 grep -v '^ *+' conftest.er1 >conftest.err
17726 cat conftest.err >&5
17727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17728 (exit $ac_status); } && {
17729 test -z "$ac_c_werror_flag" ||
17730 test ! -s conftest.err
17731 } && test -s conftest.$ac_objext; then
17732 ac_lo=$ac_mid; break
17734 echo "$as_me: failed program was:" >&5
17735 sed 's/^/| /' conftest.$ac_ext >&5
17737 ac_hi=`expr '(' $ac_mid ')' - 1`
17738 if test $ac_mid -le $ac_hi; then
17742 ac_mid=`expr 2 '*' $ac_mid`
17745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17748 echo "$as_me: failed program was:" >&5
17749 sed 's/^/| /' conftest.$ac_ext >&5
17754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17758 # Binary search between lo and hi bounds.
17759 while test "x$ac_lo" != "x$ac_hi"; do
17760 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17761 cat >conftest.$ac_ext <<_ACEOF
17764 cat confdefs.h >>conftest.$ac_ext
17765 cat >>conftest.$ac_ext <<_ACEOF
17766 /* end confdefs.h. */
17767 $ac_includes_default
17768 typedef long long ac__type_sizeof_;
17772 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
17779 rm -f conftest.$ac_objext
17780 if { (ac_try="$ac_compile"
17781 case "(($ac_try" in
17782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17783 *) ac_try_echo=$ac_try;;
17785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17786 (eval "$ac_compile") 2>conftest.er1
17788 grep -v '^ *+' conftest.er1 >conftest.err
17790 cat conftest.err >&5
17791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17792 (exit $ac_status); } && {
17793 test -z "$ac_c_werror_flag" ||
17794 test ! -s conftest.err
17795 } && test -s conftest.$ac_objext; then
17798 echo "$as_me: failed program was:" >&5
17799 sed 's/^/| /' conftest.$ac_ext >&5
17801 ac_lo=`expr '(' $ac_mid ')' + 1`
17804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17807 ?*) ac_cv_sizeof_long_long=$ac_lo;;
17808 '') if test "$ac_cv_type_long_long" = yes; then
17809 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
17810 See \`config.log' for more details." >&5
17811 echo "$as_me: error: cannot compute sizeof (long long)
17812 See \`config.log' for more details." >&2;}
17813 { (exit 77); exit 77; }; }
17815 ac_cv_sizeof_long_long=0
17819 cat >conftest.$ac_ext <<_ACEOF
17822 cat confdefs.h >>conftest.$ac_ext
17823 cat >>conftest.$ac_ext <<_ACEOF
17824 /* end confdefs.h. */
17825 $ac_includes_default
17826 typedef long long ac__type_sizeof_;
17827 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
17828 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
17830 #include <stdlib.h>
17835 FILE *f = fopen ("conftest.val", "w");
17838 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
17840 long int i = longval ();
17841 if (i != ((long int) (sizeof (ac__type_sizeof_))))
17843 fprintf (f, "%ld\n", i);
17847 unsigned long int i = ulongval ();
17848 if (i != ((long int) (sizeof (ac__type_sizeof_))))
17850 fprintf (f, "%lu\n", i);
17852 return ferror (f) || fclose (f) != 0;
17858 rm -f conftest$ac_exeext
17859 if { (ac_try="$ac_link"
17860 case "(($ac_try" in
17861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17862 *) ac_try_echo=$ac_try;;
17864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17865 (eval "$ac_link") 2>&5
17867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17868 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17869 { (case "(($ac_try" in
17870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17871 *) ac_try_echo=$ac_try;;
17873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17874 (eval "$ac_try") 2>&5
17876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17877 (exit $ac_status); }; }; then
17878 ac_cv_sizeof_long_long=`cat conftest.val`
17880 echo "$as_me: program exited with status $ac_status" >&5
17881 echo "$as_me: failed program was:" >&5
17882 sed 's/^/| /' conftest.$ac_ext >&5
17884 ( exit $ac_status )
17885 if test "$ac_cv_type_long_long" = yes; then
17886 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
17887 See \`config.log' for more details." >&5
17888 echo "$as_me: error: cannot compute sizeof (long long)
17889 See \`config.log' for more details." >&2;}
17890 { (exit 77); exit 77; }; }
17892 ac_cv_sizeof_long_long=0
17895 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17899 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17900 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
17904 cat >>confdefs.h <<_ACEOF
17905 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17909 { echo "$as_me:$LINENO: checking for long" >&5
17910 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
17911 if test "${ac_cv_type_long+set}" = set; then
17912 echo $ECHO_N "(cached) $ECHO_C" >&6
17914 cat >conftest.$ac_ext <<_ACEOF
17917 cat confdefs.h >>conftest.$ac_ext
17918 cat >>conftest.$ac_ext <<_ACEOF
17919 /* end confdefs.h. */
17920 $ac_includes_default
17921 typedef long ac__type_new_;
17925 if ((ac__type_new_ *) 0)
17927 if (sizeof (ac__type_new_))
17933 rm -f conftest.$ac_objext
17934 if { (ac_try="$ac_compile"
17935 case "(($ac_try" in
17936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17937 *) ac_try_echo=$ac_try;;
17939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17940 (eval "$ac_compile") 2>conftest.er1
17942 grep -v '^ *+' conftest.er1 >conftest.err
17944 cat conftest.err >&5
17945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17946 (exit $ac_status); } && {
17947 test -z "$ac_c_werror_flag" ||
17948 test ! -s conftest.err
17949 } && test -s conftest.$ac_objext; then
17950 ac_cv_type_long=yes
17952 echo "$as_me: failed program was:" >&5
17953 sed 's/^/| /' conftest.$ac_ext >&5
17958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17960 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
17961 echo "${ECHO_T}$ac_cv_type_long" >&6; }
17963 # The cast to long int works around a bug in the HP C Compiler
17964 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17965 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17966 # This bug is HP SR number 8606223364.
17967 { echo "$as_me:$LINENO: checking size of long" >&5
17968 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
17969 if test "${ac_cv_sizeof_long+set}" = set; then
17970 echo $ECHO_N "(cached) $ECHO_C" >&6
17972 if test "$cross_compiling" = yes; then
17973 # Depending upon the size, compute the lo and hi bounds.
17974 cat >conftest.$ac_ext <<_ACEOF
17977 cat confdefs.h >>conftest.$ac_ext
17978 cat >>conftest.$ac_ext <<_ACEOF
17979 /* end confdefs.h. */
17980 $ac_includes_default
17981 typedef long ac__type_sizeof_;
17985 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
17992 rm -f conftest.$ac_objext
17993 if { (ac_try="$ac_compile"
17994 case "(($ac_try" in
17995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17996 *) ac_try_echo=$ac_try;;
17998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17999 (eval "$ac_compile") 2>conftest.er1
18001 grep -v '^ *+' conftest.er1 >conftest.err
18003 cat conftest.err >&5
18004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18005 (exit $ac_status); } && {
18006 test -z "$ac_c_werror_flag" ||
18007 test ! -s conftest.err
18008 } && test -s conftest.$ac_objext; then
18011 cat >conftest.$ac_ext <<_ACEOF
18014 cat confdefs.h >>conftest.$ac_ext
18015 cat >>conftest.$ac_ext <<_ACEOF
18016 /* end confdefs.h. */
18017 $ac_includes_default
18018 typedef long ac__type_sizeof_;
18022 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18029 rm -f conftest.$ac_objext
18030 if { (ac_try="$ac_compile"
18031 case "(($ac_try" in
18032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18033 *) ac_try_echo=$ac_try;;
18035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18036 (eval "$ac_compile") 2>conftest.er1
18038 grep -v '^ *+' conftest.er1 >conftest.err
18040 cat conftest.err >&5
18041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18042 (exit $ac_status); } && {
18043 test -z "$ac_c_werror_flag" ||
18044 test ! -s conftest.err
18045 } && test -s conftest.$ac_objext; then
18046 ac_hi=$ac_mid; break
18048 echo "$as_me: failed program was:" >&5
18049 sed 's/^/| /' conftest.$ac_ext >&5
18051 ac_lo=`expr $ac_mid + 1`
18052 if test $ac_lo -le $ac_mid; then
18056 ac_mid=`expr 2 '*' $ac_mid + 1`
18059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18062 echo "$as_me: failed program was:" >&5
18063 sed 's/^/| /' conftest.$ac_ext >&5
18065 cat >conftest.$ac_ext <<_ACEOF
18068 cat confdefs.h >>conftest.$ac_ext
18069 cat >>conftest.$ac_ext <<_ACEOF
18070 /* end confdefs.h. */
18071 $ac_includes_default
18072 typedef long ac__type_sizeof_;
18076 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
18083 rm -f conftest.$ac_objext
18084 if { (ac_try="$ac_compile"
18085 case "(($ac_try" in
18086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18087 *) ac_try_echo=$ac_try;;
18089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18090 (eval "$ac_compile") 2>conftest.er1
18092 grep -v '^ *+' conftest.er1 >conftest.err
18094 cat conftest.err >&5
18095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18096 (exit $ac_status); } && {
18097 test -z "$ac_c_werror_flag" ||
18098 test ! -s conftest.err
18099 } && test -s conftest.$ac_objext; then
18102 cat >conftest.$ac_ext <<_ACEOF
18105 cat confdefs.h >>conftest.$ac_ext
18106 cat >>conftest.$ac_ext <<_ACEOF
18107 /* end confdefs.h. */
18108 $ac_includes_default
18109 typedef long ac__type_sizeof_;
18113 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
18120 rm -f conftest.$ac_objext
18121 if { (ac_try="$ac_compile"
18122 case "(($ac_try" in
18123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18124 *) ac_try_echo=$ac_try;;
18126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18127 (eval "$ac_compile") 2>conftest.er1
18129 grep -v '^ *+' conftest.er1 >conftest.err
18131 cat conftest.err >&5
18132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18133 (exit $ac_status); } && {
18134 test -z "$ac_c_werror_flag" ||
18135 test ! -s conftest.err
18136 } && test -s conftest.$ac_objext; then
18137 ac_lo=$ac_mid; break
18139 echo "$as_me: failed program was:" >&5
18140 sed 's/^/| /' conftest.$ac_ext >&5
18142 ac_hi=`expr '(' $ac_mid ')' - 1`
18143 if test $ac_mid -le $ac_hi; then
18147 ac_mid=`expr 2 '*' $ac_mid`
18150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18153 echo "$as_me: failed program was:" >&5
18154 sed 's/^/| /' conftest.$ac_ext >&5
18159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18163 # Binary search between lo and hi bounds.
18164 while test "x$ac_lo" != "x$ac_hi"; do
18165 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18166 cat >conftest.$ac_ext <<_ACEOF
18169 cat confdefs.h >>conftest.$ac_ext
18170 cat >>conftest.$ac_ext <<_ACEOF
18171 /* end confdefs.h. */
18172 $ac_includes_default
18173 typedef long ac__type_sizeof_;
18177 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18184 rm -f conftest.$ac_objext
18185 if { (ac_try="$ac_compile"
18186 case "(($ac_try" in
18187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18188 *) ac_try_echo=$ac_try;;
18190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18191 (eval "$ac_compile") 2>conftest.er1
18193 grep -v '^ *+' conftest.er1 >conftest.err
18195 cat conftest.err >&5
18196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18197 (exit $ac_status); } && {
18198 test -z "$ac_c_werror_flag" ||
18199 test ! -s conftest.err
18200 } && test -s conftest.$ac_objext; then
18203 echo "$as_me: failed program was:" >&5
18204 sed 's/^/| /' conftest.$ac_ext >&5
18206 ac_lo=`expr '(' $ac_mid ')' + 1`
18209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18212 ?*) ac_cv_sizeof_long=$ac_lo;;
18213 '') if test "$ac_cv_type_long" = yes; then
18214 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
18215 See \`config.log' for more details." >&5
18216 echo "$as_me: error: cannot compute sizeof (long)
18217 See \`config.log' for more details." >&2;}
18218 { (exit 77); exit 77; }; }
18220 ac_cv_sizeof_long=0
18224 cat >conftest.$ac_ext <<_ACEOF
18227 cat confdefs.h >>conftest.$ac_ext
18228 cat >>conftest.$ac_ext <<_ACEOF
18229 /* end confdefs.h. */
18230 $ac_includes_default
18231 typedef long ac__type_sizeof_;
18232 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
18233 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
18235 #include <stdlib.h>
18240 FILE *f = fopen ("conftest.val", "w");
18243 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
18245 long int i = longval ();
18246 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18248 fprintf (f, "%ld\n", i);
18252 unsigned long int i = ulongval ();
18253 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18255 fprintf (f, "%lu\n", i);
18257 return ferror (f) || fclose (f) != 0;
18263 rm -f conftest$ac_exeext
18264 if { (ac_try="$ac_link"
18265 case "(($ac_try" in
18266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18267 *) ac_try_echo=$ac_try;;
18269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18270 (eval "$ac_link") 2>&5
18272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18273 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18274 { (case "(($ac_try" in
18275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18276 *) ac_try_echo=$ac_try;;
18278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18279 (eval "$ac_try") 2>&5
18281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18282 (exit $ac_status); }; }; then
18283 ac_cv_sizeof_long=`cat conftest.val`
18285 echo "$as_me: program exited with status $ac_status" >&5
18286 echo "$as_me: failed program was:" >&5
18287 sed 's/^/| /' conftest.$ac_ext >&5
18289 ( exit $ac_status )
18290 if test "$ac_cv_type_long" = yes; then
18291 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
18292 See \`config.log' for more details." >&5
18293 echo "$as_me: error: cannot compute sizeof (long)
18294 See \`config.log' for more details." >&2;}
18295 { (exit 77); exit 77; }; }
18297 ac_cv_sizeof_long=0
18300 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18304 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
18305 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
18309 cat >>confdefs.h <<_ACEOF
18310 #define SIZEOF_LONG $ac_cv_sizeof_long
18314 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
18315 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
18316 if test "${ac_cv_c_bigendian+set}" = set; then
18317 echo $ECHO_N "(cached) $ECHO_C" >&6
18319 # See if sys/param.h defines the BYTE_ORDER macro.
18320 cat >conftest.$ac_ext <<_ACEOF
18323 cat confdefs.h >>conftest.$ac_ext
18324 cat >>conftest.$ac_ext <<_ACEOF
18325 /* end confdefs.h. */
18326 #include <sys/types.h>
18327 #include <sys/param.h>
18332 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
18333 && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
18334 bogus endian macros
18341 rm -f conftest.$ac_objext
18342 if { (ac_try="$ac_compile"
18343 case "(($ac_try" in
18344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18345 *) ac_try_echo=$ac_try;;
18347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18348 (eval "$ac_compile") 2>conftest.er1
18350 grep -v '^ *+' conftest.er1 >conftest.err
18352 cat conftest.err >&5
18353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18354 (exit $ac_status); } && {
18355 test -z "$ac_c_werror_flag" ||
18356 test ! -s conftest.err
18357 } && test -s conftest.$ac_objext; then
18358 # It does; now see whether it defined to BIG_ENDIAN or not.
18359 cat >conftest.$ac_ext <<_ACEOF
18362 cat confdefs.h >>conftest.$ac_ext
18363 cat >>conftest.$ac_ext <<_ACEOF
18364 /* end confdefs.h. */
18365 #include <sys/types.h>
18366 #include <sys/param.h>
18371 #if BYTE_ORDER != BIG_ENDIAN
18379 rm -f conftest.$ac_objext
18380 if { (ac_try="$ac_compile"
18381 case "(($ac_try" in
18382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18383 *) ac_try_echo=$ac_try;;
18385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18386 (eval "$ac_compile") 2>conftest.er1
18388 grep -v '^ *+' conftest.er1 >conftest.err
18390 cat conftest.err >&5
18391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18392 (exit $ac_status); } && {
18393 test -z "$ac_c_werror_flag" ||
18394 test ! -s conftest.err
18395 } && test -s conftest.$ac_objext; then
18396 ac_cv_c_bigendian=yes
18398 echo "$as_me: failed program was:" >&5
18399 sed 's/^/| /' conftest.$ac_ext >&5
18401 ac_cv_c_bigendian=no
18404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18406 echo "$as_me: failed program was:" >&5
18407 sed 's/^/| /' conftest.$ac_ext >&5
18409 # It does not; compile a test program.
18410 if test "$cross_compiling" = yes; then
18411 # try to guess the endianness by grepping values into an object file
18412 ac_cv_c_bigendian=unknown
18413 cat >conftest.$ac_ext <<_ACEOF
18416 cat confdefs.h >>conftest.$ac_ext
18417 cat >>conftest.$ac_ext <<_ACEOF
18418 /* end confdefs.h. */
18419 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
18420 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
18421 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
18422 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
18423 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
18424 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
18428 _ascii (); _ebcdic ();
18433 rm -f conftest.$ac_objext
18434 if { (ac_try="$ac_compile"
18435 case "(($ac_try" in
18436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18437 *) ac_try_echo=$ac_try;;
18439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18440 (eval "$ac_compile") 2>conftest.er1
18442 grep -v '^ *+' conftest.er1 >conftest.err
18444 cat conftest.err >&5
18445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18446 (exit $ac_status); } && {
18447 test -z "$ac_c_werror_flag" ||
18448 test ! -s conftest.err
18449 } && test -s conftest.$ac_objext; then
18450 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
18451 ac_cv_c_bigendian=yes
18453 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
18454 if test "$ac_cv_c_bigendian" = unknown; then
18455 ac_cv_c_bigendian=no
18457 # finding both strings is unlikely to happen, but who knows?
18458 ac_cv_c_bigendian=unknown
18462 echo "$as_me: failed program was:" >&5
18463 sed 's/^/| /' conftest.$ac_ext >&5
18468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18470 cat >conftest.$ac_ext <<_ACEOF
18473 cat confdefs.h >>conftest.$ac_ext
18474 cat >>conftest.$ac_ext <<_ACEOF
18475 /* end confdefs.h. */
18476 $ac_includes_default
18481 /* Are we little or big endian? From Harbison&Steele. */
18485 char c[sizeof (long int)];
18488 return u.c[sizeof (long int) - 1] == 1;
18494 rm -f conftest$ac_exeext
18495 if { (ac_try="$ac_link"
18496 case "(($ac_try" in
18497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18498 *) ac_try_echo=$ac_try;;
18500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18501 (eval "$ac_link") 2>&5
18503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18504 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18505 { (case "(($ac_try" in
18506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18507 *) ac_try_echo=$ac_try;;
18509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18510 (eval "$ac_try") 2>&5
18512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18513 (exit $ac_status); }; }; then
18514 ac_cv_c_bigendian=no
18516 echo "$as_me: program exited with status $ac_status" >&5
18517 echo "$as_me: failed program was:" >&5
18518 sed 's/^/| /' conftest.$ac_ext >&5
18520 ( exit $ac_status )
18521 ac_cv_c_bigendian=yes
18523 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18531 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
18532 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
18533 case $ac_cv_c_bigendian in
18536 cat >>confdefs.h <<\_ACEOF
18537 #define WORDS_BIGENDIAN 1
18543 { { echo "$as_me:$LINENO: error: unknown endianness
18544 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
18545 echo "$as_me: error: unknown endianness
18546 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
18547 { (exit 1); exit 1; }; } ;;
18550 # Check whether --enable-static was given.
18551 if test "${enable_static+set}" = set; then
18552 enableval=$enable_static; p=${PACKAGE-default}
18554 yes) enable_static=yes ;;
18555 no) enable_static=no ;;
18558 # Look at the argument we got. We use all the common list separators.
18559 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
18560 for pkg in $enableval; do
18562 if test "X$pkg" = "X$p"; then
18578 # Check whether --enable-static was given.
18579 if test "${enable_static+set}" = set; then
18580 enableval=$enable_static; p=${PACKAGE-default}
18582 yes) enable_static=yes ;;
18583 no) enable_static=no ;;
18586 # Look at the argument we got. We use all the common list separators.
18587 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
18588 for pkg in $enableval; do
18590 if test "X$pkg" = "X$p"; then
18607 for ac_header in stdlib.h
18609 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18610 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18611 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18612 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18613 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18614 echo $ECHO_N "(cached) $ECHO_C" >&6
18616 ac_res=`eval echo '${'$as_ac_Header'}'`
18617 { echo "$as_me:$LINENO: result: $ac_res" >&5
18618 echo "${ECHO_T}$ac_res" >&6; }
18620 # Is the header compilable?
18621 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
18622 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
18623 cat >conftest.$ac_ext <<_ACEOF
18626 cat confdefs.h >>conftest.$ac_ext
18627 cat >>conftest.$ac_ext <<_ACEOF
18628 /* end confdefs.h. */
18629 $ac_includes_default
18630 #include <$ac_header>
18632 rm -f conftest.$ac_objext
18633 if { (ac_try="$ac_compile"
18634 case "(($ac_try" in
18635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18636 *) ac_try_echo=$ac_try;;
18638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18639 (eval "$ac_compile") 2>conftest.er1
18641 grep -v '^ *+' conftest.er1 >conftest.err
18643 cat conftest.err >&5
18644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18645 (exit $ac_status); } && {
18646 test -z "$ac_c_werror_flag" ||
18647 test ! -s conftest.err
18648 } && test -s conftest.$ac_objext; then
18649 ac_header_compiler=yes
18651 echo "$as_me: failed program was:" >&5
18652 sed 's/^/| /' conftest.$ac_ext >&5
18654 ac_header_compiler=no
18657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18658 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18659 echo "${ECHO_T}$ac_header_compiler" >&6; }
18661 # Is the header present?
18662 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
18663 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
18664 cat >conftest.$ac_ext <<_ACEOF
18667 cat confdefs.h >>conftest.$ac_ext
18668 cat >>conftest.$ac_ext <<_ACEOF
18669 /* end confdefs.h. */
18670 #include <$ac_header>
18672 if { (ac_try="$ac_cpp conftest.$ac_ext"
18673 case "(($ac_try" in
18674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18675 *) ac_try_echo=$ac_try;;
18677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18678 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18680 grep -v '^ *+' conftest.er1 >conftest.err
18682 cat conftest.err >&5
18683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18684 (exit $ac_status); } >/dev/null && {
18685 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18686 test ! -s conftest.err
18688 ac_header_preproc=yes
18690 echo "$as_me: failed program was:" >&5
18691 sed 's/^/| /' conftest.$ac_ext >&5
18693 ac_header_preproc=no
18696 rm -f conftest.err conftest.$ac_ext
18697 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18698 echo "${ECHO_T}$ac_header_preproc" >&6; }
18700 # So? What about this header?
18701 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18703 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18704 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18705 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18706 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18707 ac_header_preproc=yes
18710 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18711 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18712 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18713 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18714 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18715 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18716 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18717 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18718 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18719 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18720 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18721 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18723 ## ----------------------------------- ##
18724 ## Report this to http://www.yassl.com ##
18725 ## ----------------------------------- ##
18727 ) | sed "s/^/$as_me: WARNING: /" >&2
18730 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18731 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18732 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18733 echo $ECHO_N "(cached) $ECHO_C" >&6
18735 eval "$as_ac_Header=\$ac_header_preproc"
18737 ac_res=`eval echo '${'$as_ac_Header'}'`
18738 { echo "$as_me:$LINENO: result: $ac_res" >&5
18739 echo "${ECHO_T}$ac_res" >&6; }
18742 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18743 cat >>confdefs.h <<_ACEOF
18744 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18751 { echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
18752 echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6; }
18753 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
18754 echo $ECHO_N "(cached) $ECHO_C" >&6
18756 if test "$cross_compiling" = yes; then
18757 ac_cv_func_malloc_0_nonnull=no
18759 cat >conftest.$ac_ext <<_ACEOF
18762 cat confdefs.h >>conftest.$ac_ext
18763 cat >>conftest.$ac_ext <<_ACEOF
18764 /* end confdefs.h. */
18765 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
18766 # include <stdlib.h>
18774 return ! malloc (0);
18779 rm -f conftest$ac_exeext
18780 if { (ac_try="$ac_link"
18781 case "(($ac_try" in
18782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18783 *) ac_try_echo=$ac_try;;
18785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18786 (eval "$ac_link") 2>&5
18788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18789 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18790 { (case "(($ac_try" in
18791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18792 *) ac_try_echo=$ac_try;;
18794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18795 (eval "$ac_try") 2>&5
18797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18798 (exit $ac_status); }; }; then
18799 ac_cv_func_malloc_0_nonnull=yes
18801 echo "$as_me: program exited with status $ac_status" >&5
18802 echo "$as_me: failed program was:" >&5
18803 sed 's/^/| /' conftest.$ac_ext >&5
18805 ( exit $ac_status )
18806 ac_cv_func_malloc_0_nonnull=no
18808 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18813 { echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
18814 echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6; }
18815 if test $ac_cv_func_malloc_0_nonnull = yes; then
18817 cat >>confdefs.h <<\_ACEOF
18818 #define HAVE_MALLOC 1
18822 cat >>confdefs.h <<\_ACEOF
18823 #define HAVE_MALLOC 0
18826 case " $LIBOBJS " in
18827 *" malloc.$ac_objext "* ) ;;
18828 *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
18833 cat >>confdefs.h <<\_ACEOF
18834 #define malloc rpl_malloc
18841 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
18842 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
18843 if test "${ac_cv_header_time+set}" = set; then
18844 echo $ECHO_N "(cached) $ECHO_C" >&6
18846 cat >conftest.$ac_ext <<_ACEOF
18849 cat confdefs.h >>conftest.$ac_ext
18850 cat >>conftest.$ac_ext <<_ACEOF
18851 /* end confdefs.h. */
18852 #include <sys/types.h>
18853 #include <sys/time.h>
18859 if ((struct tm *) 0)
18865 rm -f conftest.$ac_objext
18866 if { (ac_try="$ac_compile"
18867 case "(($ac_try" in
18868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18869 *) ac_try_echo=$ac_try;;
18871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18872 (eval "$ac_compile") 2>conftest.er1
18874 grep -v '^ *+' conftest.er1 >conftest.err
18876 cat conftest.err >&5
18877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18878 (exit $ac_status); } && {
18879 test -z "$ac_c_werror_flag" ||
18880 test ! -s conftest.err
18881 } && test -s conftest.$ac_objext; then
18882 ac_cv_header_time=yes
18884 echo "$as_me: failed program was:" >&5
18885 sed 's/^/| /' conftest.$ac_ext >&5
18887 ac_cv_header_time=no
18890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18892 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
18893 echo "${ECHO_T}$ac_cv_header_time" >&6; }
18894 if test $ac_cv_header_time = yes; then
18896 cat >>confdefs.h <<\_ACEOF
18897 #define TIME_WITH_SYS_TIME 1
18906 for ac_header in $ac_header_list
18908 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18909 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18910 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18911 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18912 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18913 echo $ECHO_N "(cached) $ECHO_C" >&6
18915 ac_res=`eval echo '${'$as_ac_Header'}'`
18916 { echo "$as_me:$LINENO: result: $ac_res" >&5
18917 echo "${ECHO_T}$ac_res" >&6; }
18919 # Is the header compilable?
18920 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
18921 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
18922 cat >conftest.$ac_ext <<_ACEOF
18925 cat confdefs.h >>conftest.$ac_ext
18926 cat >>conftest.$ac_ext <<_ACEOF
18927 /* end confdefs.h. */
18928 $ac_includes_default
18929 #include <$ac_header>
18931 rm -f conftest.$ac_objext
18932 if { (ac_try="$ac_compile"
18933 case "(($ac_try" in
18934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18935 *) ac_try_echo=$ac_try;;
18937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18938 (eval "$ac_compile") 2>conftest.er1
18940 grep -v '^ *+' conftest.er1 >conftest.err
18942 cat conftest.err >&5
18943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18944 (exit $ac_status); } && {
18945 test -z "$ac_c_werror_flag" ||
18946 test ! -s conftest.err
18947 } && test -s conftest.$ac_objext; then
18948 ac_header_compiler=yes
18950 echo "$as_me: failed program was:" >&5
18951 sed 's/^/| /' conftest.$ac_ext >&5
18953 ac_header_compiler=no
18956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18957 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18958 echo "${ECHO_T}$ac_header_compiler" >&6; }
18960 # Is the header present?
18961 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
18962 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
18963 cat >conftest.$ac_ext <<_ACEOF
18966 cat confdefs.h >>conftest.$ac_ext
18967 cat >>conftest.$ac_ext <<_ACEOF
18968 /* end confdefs.h. */
18969 #include <$ac_header>
18971 if { (ac_try="$ac_cpp conftest.$ac_ext"
18972 case "(($ac_try" in
18973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18974 *) ac_try_echo=$ac_try;;
18976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18977 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18979 grep -v '^ *+' conftest.er1 >conftest.err
18981 cat conftest.err >&5
18982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18983 (exit $ac_status); } >/dev/null && {
18984 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18985 test ! -s conftest.err
18987 ac_header_preproc=yes
18989 echo "$as_me: failed program was:" >&5
18990 sed 's/^/| /' conftest.$ac_ext >&5
18992 ac_header_preproc=no
18995 rm -f conftest.err conftest.$ac_ext
18996 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18997 echo "${ECHO_T}$ac_header_preproc" >&6; }
18999 # So? What about this header?
19000 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19002 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19003 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19004 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19005 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19006 ac_header_preproc=yes
19009 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19010 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19011 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19012 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19013 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19014 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19015 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19016 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19017 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19018 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19019 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19020 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19022 ## ----------------------------------- ##
19023 ## Report this to http://www.yassl.com ##
19024 ## ----------------------------------- ##
19026 ) | sed "s/^/$as_me: WARNING: /" >&2
19029 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19030 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19031 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19032 echo $ECHO_N "(cached) $ECHO_C" >&6
19034 eval "$as_ac_Header=\$ac_header_preproc"
19036 ac_res=`eval echo '${'$as_ac_Header'}'`
19037 { echo "$as_me:$LINENO: result: $ac_res" >&5
19038 echo "${ECHO_T}$ac_res" >&6; }
19041 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19042 cat >>confdefs.h <<_ACEOF
19043 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19058 for ac_func in $ac_func_list
19060 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19061 { echo "$as_me:$LINENO: checking for $ac_func" >&5
19062 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
19063 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19064 echo $ECHO_N "(cached) $ECHO_C" >&6
19066 cat >conftest.$ac_ext <<_ACEOF
19069 cat confdefs.h >>conftest.$ac_ext
19070 cat >>conftest.$ac_ext <<_ACEOF
19071 /* end confdefs.h. */
19072 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19073 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19074 #define $ac_func innocuous_$ac_func
19076 /* System header to define __stub macros and hopefully few prototypes,
19077 which can conflict with char $ac_func (); below.
19078 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19079 <limits.h> exists even on freestanding compilers. */
19082 # include <limits.h>
19084 # include <assert.h>
19089 /* Override any GCC internal prototype to avoid an error.
19090 Use char because int might match the return type of a GCC
19091 builtin and then its argument prototype would still apply. */
19096 /* The GNU C library defines this for functions which it implements
19097 to always fail with ENOSYS. Some functions are actually named
19098 something starting with __ and the normal name is an alias. */
19099 #if defined __stub_$ac_func || defined __stub___$ac_func
19106 return $ac_func ();
19111 rm -f conftest.$ac_objext conftest$ac_exeext
19112 if { (ac_try="$ac_link"
19113 case "(($ac_try" in
19114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19115 *) ac_try_echo=$ac_try;;
19117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19118 (eval "$ac_link") 2>conftest.er1
19120 grep -v '^ *+' conftest.er1 >conftest.err
19122 cat conftest.err >&5
19123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19124 (exit $ac_status); } && {
19125 test -z "$ac_c_werror_flag" ||
19126 test ! -s conftest.err
19127 } && test -s conftest$ac_exeext &&
19128 $as_test_x conftest$ac_exeext; then
19129 eval "$as_ac_var=yes"
19131 echo "$as_me: failed program was:" >&5
19132 sed 's/^/| /' conftest.$ac_ext >&5
19134 eval "$as_ac_var=no"
19137 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19138 conftest$ac_exeext conftest.$ac_ext
19140 ac_res=`eval echo '${'$as_ac_var'}'`
19141 { echo "$as_me:$LINENO: result: $ac_res" >&5
19142 echo "${ECHO_T}$ac_res" >&6; }
19143 if test `eval echo '${'$as_ac_var'}'` = yes; then
19144 cat >>confdefs.h <<_ACEOF
19145 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19167 { echo "$as_me:$LINENO: checking for working mktime" >&5
19168 echo $ECHO_N "checking for working mktime... $ECHO_C" >&6; }
19169 if test "${ac_cv_func_working_mktime+set}" = set; then
19170 echo $ECHO_N "(cached) $ECHO_C" >&6
19172 if test "$cross_compiling" = yes; then
19173 ac_cv_func_working_mktime=no
19175 cat >conftest.$ac_ext <<_ACEOF
19178 cat confdefs.h >>conftest.$ac_ext
19179 cat >>conftest.$ac_ext <<_ACEOF
19180 /* end confdefs.h. */
19181 /* Test program from Paul Eggert and Tony Leneis. */
19182 #ifdef TIME_WITH_SYS_TIME
19183 # include <sys/time.h>
19186 # ifdef HAVE_SYS_TIME_H
19187 # include <sys/time.h>
19193 #include <stdlib.h>
19195 #ifdef HAVE_UNISTD_H
19196 # include <unistd.h>
19200 # define alarm(X) /* empty */
19203 /* Work around redefinition to rpl_putenv by other config tests. */
19206 static time_t time_t_max;
19207 static time_t time_t_min;
19209 /* Values we'll use to set the TZ environment variable. */
19210 static char *tz_strings[] = {
19211 (char *) 0, "TZ=GMT0", "TZ=JST-9",
19212 "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00"
19214 #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0]))
19216 /* Return 0 if mktime fails to convert a date in the spring-forward gap.
19217 Based on a problem report from Andreas Jaeger. */
19219 spring_forward_gap ()
19221 /* glibc (up to about 1998-10-07) failed this test. */
19224 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0"
19225 instead of "TZ=America/Vancouver" in order to detect the bug even
19226 on systems that don't support the Olson extension, or don't have the
19227 full zoneinfo tables installed. */
19228 putenv ("TZ=PST8PDT,M4.1.0,M10.5.0");
19237 return mktime (&tm) != (time_t) -1;
19245 return ! (lt = localtime (&now)) || mktime (lt) == now;
19252 return (mktime_test1 (now)
19253 && mktime_test1 ((time_t) (time_t_max - now))
19254 && mktime_test1 ((time_t) (time_t_min + now)));
19260 /* Based on code from Ariel Faigon. */
19270 return tm.tm_mon == 2 && tm.tm_mday == 31;
19279 tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j;
19280 now = mktime (&tm);
19281 if (now != (time_t) -1)
19283 struct tm *lt = localtime (&now);
19285 && lt->tm_year == tm.tm_year
19286 && lt->tm_mon == tm.tm_mon
19287 && lt->tm_mday == tm.tm_mday
19288 && lt->tm_hour == tm.tm_hour
19289 && lt->tm_min == tm.tm_min
19290 && lt->tm_sec == tm.tm_sec
19291 && lt->tm_yday == tm.tm_yday
19292 && lt->tm_wday == tm.tm_wday
19293 && ((lt->tm_isdst < 0 ? -1 : 0 < lt->tm_isdst)
19294 == (tm.tm_isdst < 0 ? -1 : 0 < tm.tm_isdst))))
19303 /* The correct answer for 2050-02-01 00:00:00 in Pacific time,
19304 ignoring leap seconds. */
19305 unsigned long int answer = 2527315200UL;
19309 tm.tm_year = 2050 - 1900;
19312 tm.tm_hour = tm.tm_min = tm.tm_sec = 0;
19315 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0"
19316 instead of "TZ=America/Vancouver" in order to detect the bug even
19317 on systems that don't support the Olson extension, or don't have the
19318 full zoneinfo tables installed. */
19319 putenv ("TZ=PST8PDT,M4.1.0,M10.5.0");
19323 /* Check that the result is either a failure, or close enough
19324 to the correct answer that we can assume the discrepancy is
19325 due to leap seconds. */
19326 return (t == (time_t) -1
19327 || (0 < t && answer - 120 <= t && t <= answer + 120));
19336 /* This test makes some buggy mktime implementations loop.
19337 Give up after 60 seconds; a mktime slower than that
19338 isn't worth using anyway. */
19341 for (time_t_max = 1; 0 < time_t_max; time_t_max *= 2)
19344 if ((time_t) -1 < 0)
19345 for (time_t_min = -1; (time_t) (time_t_min * 2) < 0; time_t_min *= 2)
19347 delta = time_t_max / 997; /* a suitable prime number */
19348 for (i = 0; i < N_STRINGS; i++)
19351 putenv (tz_strings[i]);
19353 for (t = 0; t <= time_t_max - delta; t += delta)
19354 if (! mktime_test (t))
19356 if (! (mktime_test ((time_t) 1)
19357 && mktime_test ((time_t) (60 * 60))
19358 && mktime_test ((time_t) (60 * 60 * 24))))
19361 for (j = 1; 0 < j; j *= 2)
19362 if (! bigtime_test (j))
19364 if (! bigtime_test (j - 1))
19367 return ! (irix_6_4_bug () && spring_forward_gap () && year_2050_test ());
19370 rm -f conftest$ac_exeext
19371 if { (ac_try="$ac_link"
19372 case "(($ac_try" in
19373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19374 *) ac_try_echo=$ac_try;;
19376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19377 (eval "$ac_link") 2>&5
19379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19380 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19381 { (case "(($ac_try" in
19382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19383 *) ac_try_echo=$ac_try;;
19385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19386 (eval "$ac_try") 2>&5
19388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19389 (exit $ac_status); }; }; then
19390 ac_cv_func_working_mktime=yes
19392 echo "$as_me: program exited with status $ac_status" >&5
19393 echo "$as_me: failed program was:" >&5
19394 sed 's/^/| /' conftest.$ac_ext >&5
19396 ( exit $ac_status )
19397 ac_cv_func_working_mktime=no
19399 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19404 { echo "$as_me:$LINENO: result: $ac_cv_func_working_mktime" >&5
19405 echo "${ECHO_T}$ac_cv_func_working_mktime" >&6; }
19406 if test $ac_cv_func_working_mktime = no; then
19407 case " $LIBOBJS " in
19408 *" mktime.$ac_objext "* ) ;;
19409 *) LIBOBJS="$LIBOBJS mktime.$ac_objext"
19416 for ac_header in stdlib.h
19418 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19419 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19420 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19421 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19422 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19423 echo $ECHO_N "(cached) $ECHO_C" >&6
19425 ac_res=`eval echo '${'$as_ac_Header'}'`
19426 { echo "$as_me:$LINENO: result: $ac_res" >&5
19427 echo "${ECHO_T}$ac_res" >&6; }
19429 # Is the header compilable?
19430 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
19431 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
19432 cat >conftest.$ac_ext <<_ACEOF
19435 cat confdefs.h >>conftest.$ac_ext
19436 cat >>conftest.$ac_ext <<_ACEOF
19437 /* end confdefs.h. */
19438 $ac_includes_default
19439 #include <$ac_header>
19441 rm -f conftest.$ac_objext
19442 if { (ac_try="$ac_compile"
19443 case "(($ac_try" in
19444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19445 *) ac_try_echo=$ac_try;;
19447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19448 (eval "$ac_compile") 2>conftest.er1
19450 grep -v '^ *+' conftest.er1 >conftest.err
19452 cat conftest.err >&5
19453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19454 (exit $ac_status); } && {
19455 test -z "$ac_c_werror_flag" ||
19456 test ! -s conftest.err
19457 } && test -s conftest.$ac_objext; then
19458 ac_header_compiler=yes
19460 echo "$as_me: failed program was:" >&5
19461 sed 's/^/| /' conftest.$ac_ext >&5
19463 ac_header_compiler=no
19466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19467 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19468 echo "${ECHO_T}$ac_header_compiler" >&6; }
19470 # Is the header present?
19471 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
19472 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
19473 cat >conftest.$ac_ext <<_ACEOF
19476 cat confdefs.h >>conftest.$ac_ext
19477 cat >>conftest.$ac_ext <<_ACEOF
19478 /* end confdefs.h. */
19479 #include <$ac_header>
19481 if { (ac_try="$ac_cpp conftest.$ac_ext"
19482 case "(($ac_try" in
19483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19484 *) ac_try_echo=$ac_try;;
19486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19487 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19489 grep -v '^ *+' conftest.er1 >conftest.err
19491 cat conftest.err >&5
19492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19493 (exit $ac_status); } >/dev/null && {
19494 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19495 test ! -s conftest.err
19497 ac_header_preproc=yes
19499 echo "$as_me: failed program was:" >&5
19500 sed 's/^/| /' conftest.$ac_ext >&5
19502 ac_header_preproc=no
19505 rm -f conftest.err conftest.$ac_ext
19506 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19507 echo "${ECHO_T}$ac_header_preproc" >&6; }
19509 # So? What about this header?
19510 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19512 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19513 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19514 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19515 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19516 ac_header_preproc=yes
19519 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19520 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19521 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19522 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19523 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19524 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19525 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19526 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19527 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19528 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19529 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19530 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19532 ## ----------------------------------- ##
19533 ## Report this to http://www.yassl.com ##
19534 ## ----------------------------------- ##
19536 ) | sed "s/^/$as_me: WARNING: /" >&2
19539 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19540 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19541 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19542 echo $ECHO_N "(cached) $ECHO_C" >&6
19544 eval "$as_ac_Header=\$ac_header_preproc"
19546 ac_res=`eval echo '${'$as_ac_Header'}'`
19547 { echo "$as_me:$LINENO: result: $ac_res" >&5
19548 echo "${ECHO_T}$ac_res" >&6; }
19551 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19552 cat >>confdefs.h <<_ACEOF
19553 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19560 { echo "$as_me:$LINENO: checking for GNU libc compatible realloc" >&5
19561 echo $ECHO_N "checking for GNU libc compatible realloc... $ECHO_C" >&6; }
19562 if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then
19563 echo $ECHO_N "(cached) $ECHO_C" >&6
19565 if test "$cross_compiling" = yes; then
19566 ac_cv_func_realloc_0_nonnull=no
19568 cat >conftest.$ac_ext <<_ACEOF
19571 cat confdefs.h >>conftest.$ac_ext
19572 cat >>conftest.$ac_ext <<_ACEOF
19573 /* end confdefs.h. */
19574 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
19575 # include <stdlib.h>
19583 return ! realloc (0, 0);
19588 rm -f conftest$ac_exeext
19589 if { (ac_try="$ac_link"
19590 case "(($ac_try" in
19591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19592 *) ac_try_echo=$ac_try;;
19594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19595 (eval "$ac_link") 2>&5
19597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19598 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19599 { (case "(($ac_try" in
19600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19601 *) ac_try_echo=$ac_try;;
19603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19604 (eval "$ac_try") 2>&5
19606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19607 (exit $ac_status); }; }; then
19608 ac_cv_func_realloc_0_nonnull=yes
19610 echo "$as_me: program exited with status $ac_status" >&5
19611 echo "$as_me: failed program was:" >&5
19612 sed 's/^/| /' conftest.$ac_ext >&5
19614 ( exit $ac_status )
19615 ac_cv_func_realloc_0_nonnull=no
19617 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19622 { echo "$as_me:$LINENO: result: $ac_cv_func_realloc_0_nonnull" >&5
19623 echo "${ECHO_T}$ac_cv_func_realloc_0_nonnull" >&6; }
19624 if test $ac_cv_func_realloc_0_nonnull = yes; then
19626 cat >>confdefs.h <<\_ACEOF
19627 #define HAVE_REALLOC 1
19631 cat >>confdefs.h <<\_ACEOF
19632 #define HAVE_REALLOC 0
19635 case " $LIBOBJS " in
19636 *" realloc.$ac_objext "* ) ;;
19637 *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
19642 cat >>confdefs.h <<\_ACEOF
19643 #define realloc rpl_realloc
19652 ac_cpp='$CPP $CPPFLAGS'
19653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19656 if test -n "$ac_tool_prefix"; then
19657 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
19658 set dummy ${ac_tool_prefix}gcc; ac_word=$2
19659 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19660 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19661 if test "${ac_cv_prog_CC+set}" = set; then
19662 echo $ECHO_N "(cached) $ECHO_C" >&6
19664 if test -n "$CC"; then
19665 ac_cv_prog_CC="$CC" # Let the user override the test.
19667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19668 for as_dir in $PATH
19671 test -z "$as_dir" && as_dir=.
19672 for ac_exec_ext in '' $ac_executable_extensions; do
19673 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19674 ac_cv_prog_CC="${ac_tool_prefix}gcc"
19675 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19685 if test -n "$CC"; then
19686 { echo "$as_me:$LINENO: result: $CC" >&5
19687 echo "${ECHO_T}$CC" >&6; }
19689 { echo "$as_me:$LINENO: result: no" >&5
19690 echo "${ECHO_T}no" >&6; }
19695 if test -z "$ac_cv_prog_CC"; then
19697 # Extract the first word of "gcc", so it can be a program name with args.
19698 set dummy gcc; ac_word=$2
19699 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19700 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19701 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
19702 echo $ECHO_N "(cached) $ECHO_C" >&6
19704 if test -n "$ac_ct_CC"; then
19705 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
19707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19708 for as_dir in $PATH
19711 test -z "$as_dir" && as_dir=.
19712 for ac_exec_ext in '' $ac_executable_extensions; do
19713 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19714 ac_cv_prog_ac_ct_CC="gcc"
19715 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19724 ac_ct_CC=$ac_cv_prog_ac_ct_CC
19725 if test -n "$ac_ct_CC"; then
19726 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
19727 echo "${ECHO_T}$ac_ct_CC" >&6; }
19729 { echo "$as_me:$LINENO: result: no" >&5
19730 echo "${ECHO_T}no" >&6; }
19733 if test "x$ac_ct_CC" = x; then
19736 case $cross_compiling:$ac_tool_warned in
19738 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19739 whose name does not start with the host triplet. If you think this
19740 configuration is useful to you, please write to autoconf@gnu.org." >&5
19741 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19742 whose name does not start with the host triplet. If you think this
19743 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19744 ac_tool_warned=yes ;;
19749 CC="$ac_cv_prog_CC"
19752 if test -z "$CC"; then
19753 if test -n "$ac_tool_prefix"; then
19754 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
19755 set dummy ${ac_tool_prefix}cc; ac_word=$2
19756 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19757 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19758 if test "${ac_cv_prog_CC+set}" = set; then
19759 echo $ECHO_N "(cached) $ECHO_C" >&6
19761 if test -n "$CC"; then
19762 ac_cv_prog_CC="$CC" # Let the user override the test.
19764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19765 for as_dir in $PATH
19768 test -z "$as_dir" && as_dir=.
19769 for ac_exec_ext in '' $ac_executable_extensions; do
19770 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19771 ac_cv_prog_CC="${ac_tool_prefix}cc"
19772 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19782 if test -n "$CC"; then
19783 { echo "$as_me:$LINENO: result: $CC" >&5
19784 echo "${ECHO_T}$CC" >&6; }
19786 { echo "$as_me:$LINENO: result: no" >&5
19787 echo "${ECHO_T}no" >&6; }
19793 if test -z "$CC"; then
19794 # Extract the first word of "cc", so it can be a program name with args.
19795 set dummy cc; ac_word=$2
19796 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19797 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19798 if test "${ac_cv_prog_CC+set}" = set; then
19799 echo $ECHO_N "(cached) $ECHO_C" >&6
19801 if test -n "$CC"; then
19802 ac_cv_prog_CC="$CC" # Let the user override the test.
19804 ac_prog_rejected=no
19805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19806 for as_dir in $PATH
19809 test -z "$as_dir" && as_dir=.
19810 for ac_exec_ext in '' $ac_executable_extensions; do
19811 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19812 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
19813 ac_prog_rejected=yes
19817 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19824 if test $ac_prog_rejected = yes; then
19825 # We found a bogon in the path, so make sure we never use it.
19826 set dummy $ac_cv_prog_CC
19828 if test $# != 0; then
19829 # We chose a different compiler from the bogus one.
19830 # However, it has the same basename, so the bogon will be chosen
19831 # first if we set CC to just the basename; use the full file name.
19833 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
19839 if test -n "$CC"; then
19840 { echo "$as_me:$LINENO: result: $CC" >&5
19841 echo "${ECHO_T}$CC" >&6; }
19843 { echo "$as_me:$LINENO: result: no" >&5
19844 echo "${ECHO_T}no" >&6; }
19849 if test -z "$CC"; then
19850 if test -n "$ac_tool_prefix"; then
19851 for ac_prog in cl.exe
19853 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
19854 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
19855 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19856 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19857 if test "${ac_cv_prog_CC+set}" = set; then
19858 echo $ECHO_N "(cached) $ECHO_C" >&6
19860 if test -n "$CC"; then
19861 ac_cv_prog_CC="$CC" # Let the user override the test.
19863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19864 for as_dir in $PATH
19867 test -z "$as_dir" && as_dir=.
19868 for ac_exec_ext in '' $ac_executable_extensions; do
19869 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19870 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
19871 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19881 if test -n "$CC"; then
19882 { echo "$as_me:$LINENO: result: $CC" >&5
19883 echo "${ECHO_T}$CC" >&6; }
19885 { echo "$as_me:$LINENO: result: no" >&5
19886 echo "${ECHO_T}no" >&6; }
19890 test -n "$CC" && break
19893 if test -z "$CC"; then
19895 for ac_prog in cl.exe
19897 # Extract the first word of "$ac_prog", so it can be a program name with args.
19898 set dummy $ac_prog; ac_word=$2
19899 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19900 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19901 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
19902 echo $ECHO_N "(cached) $ECHO_C" >&6
19904 if test -n "$ac_ct_CC"; then
19905 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
19907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19908 for as_dir in $PATH
19911 test -z "$as_dir" && as_dir=.
19912 for ac_exec_ext in '' $ac_executable_extensions; do
19913 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19914 ac_cv_prog_ac_ct_CC="$ac_prog"
19915 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19924 ac_ct_CC=$ac_cv_prog_ac_ct_CC
19925 if test -n "$ac_ct_CC"; then
19926 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
19927 echo "${ECHO_T}$ac_ct_CC" >&6; }
19929 { echo "$as_me:$LINENO: result: no" >&5
19930 echo "${ECHO_T}no" >&6; }
19934 test -n "$ac_ct_CC" && break
19937 if test "x$ac_ct_CC" = x; then
19940 case $cross_compiling:$ac_tool_warned in
19942 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19943 whose name does not start with the host triplet. If you think this
19944 configuration is useful to you, please write to autoconf@gnu.org." >&5
19945 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19946 whose name does not start with the host triplet. If you think this
19947 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19948 ac_tool_warned=yes ;;
19957 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
19958 See \`config.log' for more details." >&5
19959 echo "$as_me: error: no acceptable C compiler found in \$PATH
19960 See \`config.log' for more details." >&2;}
19961 { (exit 1); exit 1; }; }
19963 # Provide some information about the compiler.
19964 echo "$as_me:$LINENO: checking for C compiler version" >&5
19965 ac_compiler=`set X $ac_compile; echo $2`
19966 { (ac_try="$ac_compiler --version >&5"
19967 case "(($ac_try" in
19968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19969 *) ac_try_echo=$ac_try;;
19971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19972 (eval "$ac_compiler --version >&5") 2>&5
19974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19975 (exit $ac_status); }
19976 { (ac_try="$ac_compiler -v >&5"
19977 case "(($ac_try" in
19978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19979 *) ac_try_echo=$ac_try;;
19981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19982 (eval "$ac_compiler -v >&5") 2>&5
19984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19985 (exit $ac_status); }
19986 { (ac_try="$ac_compiler -V >&5"
19987 case "(($ac_try" in
19988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19989 *) ac_try_echo=$ac_try;;
19991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19992 (eval "$ac_compiler -V >&5") 2>&5
19994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19995 (exit $ac_status); }
19997 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
19998 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
19999 if test "${ac_cv_c_compiler_gnu+set}" = set; then
20000 echo $ECHO_N "(cached) $ECHO_C" >&6
20002 cat >conftest.$ac_ext <<_ACEOF
20005 cat confdefs.h >>conftest.$ac_ext
20006 cat >>conftest.$ac_ext <<_ACEOF
20007 /* end confdefs.h. */
20020 rm -f conftest.$ac_objext
20021 if { (ac_try="$ac_compile"
20022 case "(($ac_try" in
20023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20024 *) ac_try_echo=$ac_try;;
20026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20027 (eval "$ac_compile") 2>conftest.er1
20029 grep -v '^ *+' conftest.er1 >conftest.err
20031 cat conftest.err >&5
20032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20033 (exit $ac_status); } && {
20034 test -z "$ac_c_werror_flag" ||
20035 test ! -s conftest.err
20036 } && test -s conftest.$ac_objext; then
20037 ac_compiler_gnu=yes
20039 echo "$as_me: failed program was:" >&5
20040 sed 's/^/| /' conftest.$ac_ext >&5
20045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20046 ac_cv_c_compiler_gnu=$ac_compiler_gnu
20049 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
20050 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
20051 GCC=`test $ac_compiler_gnu = yes && echo yes`
20052 ac_test_CFLAGS=${CFLAGS+set}
20053 ac_save_CFLAGS=$CFLAGS
20054 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
20055 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
20056 if test "${ac_cv_prog_cc_g+set}" = set; then
20057 echo $ECHO_N "(cached) $ECHO_C" >&6
20059 ac_save_c_werror_flag=$ac_c_werror_flag
20060 ac_c_werror_flag=yes
20063 cat >conftest.$ac_ext <<_ACEOF
20066 cat confdefs.h >>conftest.$ac_ext
20067 cat >>conftest.$ac_ext <<_ACEOF
20068 /* end confdefs.h. */
20078 rm -f conftest.$ac_objext
20079 if { (ac_try="$ac_compile"
20080 case "(($ac_try" in
20081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20082 *) ac_try_echo=$ac_try;;
20084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20085 (eval "$ac_compile") 2>conftest.er1
20087 grep -v '^ *+' conftest.er1 >conftest.err
20089 cat conftest.err >&5
20090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20091 (exit $ac_status); } && {
20092 test -z "$ac_c_werror_flag" ||
20093 test ! -s conftest.err
20094 } && test -s conftest.$ac_objext; then
20095 ac_cv_prog_cc_g=yes
20097 echo "$as_me: failed program was:" >&5
20098 sed 's/^/| /' conftest.$ac_ext >&5
20101 cat >conftest.$ac_ext <<_ACEOF
20104 cat confdefs.h >>conftest.$ac_ext
20105 cat >>conftest.$ac_ext <<_ACEOF
20106 /* end confdefs.h. */
20116 rm -f conftest.$ac_objext
20117 if { (ac_try="$ac_compile"
20118 case "(($ac_try" in
20119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20120 *) ac_try_echo=$ac_try;;
20122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20123 (eval "$ac_compile") 2>conftest.er1
20125 grep -v '^ *+' conftest.er1 >conftest.err
20127 cat conftest.err >&5
20128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20129 (exit $ac_status); } && {
20130 test -z "$ac_c_werror_flag" ||
20131 test ! -s conftest.err
20132 } && test -s conftest.$ac_objext; then
20135 echo "$as_me: failed program was:" >&5
20136 sed 's/^/| /' conftest.$ac_ext >&5
20138 ac_c_werror_flag=$ac_save_c_werror_flag
20140 cat >conftest.$ac_ext <<_ACEOF
20143 cat confdefs.h >>conftest.$ac_ext
20144 cat >>conftest.$ac_ext <<_ACEOF
20145 /* end confdefs.h. */
20155 rm -f conftest.$ac_objext
20156 if { (ac_try="$ac_compile"
20157 case "(($ac_try" in
20158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20159 *) ac_try_echo=$ac_try;;
20161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20162 (eval "$ac_compile") 2>conftest.er1
20164 grep -v '^ *+' conftest.er1 >conftest.err
20166 cat conftest.err >&5
20167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20168 (exit $ac_status); } && {
20169 test -z "$ac_c_werror_flag" ||
20170 test ! -s conftest.err
20171 } && test -s conftest.$ac_objext; then
20172 ac_cv_prog_cc_g=yes
20174 echo "$as_me: failed program was:" >&5
20175 sed 's/^/| /' conftest.$ac_ext >&5
20180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20187 ac_c_werror_flag=$ac_save_c_werror_flag
20189 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
20190 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
20191 if test "$ac_test_CFLAGS" = set; then
20192 CFLAGS=$ac_save_CFLAGS
20193 elif test $ac_cv_prog_cc_g = yes; then
20194 if test "$GCC" = yes; then
20200 if test "$GCC" = yes; then
20206 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
20207 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
20208 if test "${ac_cv_prog_cc_c89+set}" = set; then
20209 echo $ECHO_N "(cached) $ECHO_C" >&6
20211 ac_cv_prog_cc_c89=no
20213 cat >conftest.$ac_ext <<_ACEOF
20216 cat confdefs.h >>conftest.$ac_ext
20217 cat >>conftest.$ac_ext <<_ACEOF
20218 /* end confdefs.h. */
20219 #include <stdarg.h>
20221 #include <sys/types.h>
20222 #include <sys/stat.h>
20223 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
20224 struct buf { int x; };
20225 FILE * (*rcsopen) (struct buf *, struct stat *, int);
20226 static char *e (p, i)
20232 static char *f (char * (*g) (char **, int), char **p, ...)
20237 s = g (p, va_arg (v,int));
20242 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
20243 function prototypes and stuff, but not '\xHH' hex character constants.
20244 These don't provoke an error unfortunately, instead are silently treated
20245 as 'x'. The following induces an error, until -std is added to get
20246 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
20247 array size at least. It's necessary to write '\x00'==0 to get something
20248 that's true only with -std. */
20249 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
20251 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
20252 inside strings and character constants. */
20254 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
20256 int test (int i, double x);
20257 struct s1 {int (*f) (int a);};
20258 struct s2 {int (*f) (double a);};
20259 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
20265 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
20270 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
20271 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
20273 CC="$ac_save_CC $ac_arg"
20274 rm -f conftest.$ac_objext
20275 if { (ac_try="$ac_compile"
20276 case "(($ac_try" in
20277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20278 *) ac_try_echo=$ac_try;;
20280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20281 (eval "$ac_compile") 2>conftest.er1
20283 grep -v '^ *+' conftest.er1 >conftest.err
20285 cat conftest.err >&5
20286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20287 (exit $ac_status); } && {
20288 test -z "$ac_c_werror_flag" ||
20289 test ! -s conftest.err
20290 } && test -s conftest.$ac_objext; then
20291 ac_cv_prog_cc_c89=$ac_arg
20293 echo "$as_me: failed program was:" >&5
20294 sed 's/^/| /' conftest.$ac_ext >&5
20299 rm -f core conftest.err conftest.$ac_objext
20300 test "x$ac_cv_prog_cc_c89" != "xno" && break
20302 rm -f conftest.$ac_ext
20307 case "x$ac_cv_prog_cc_c89" in
20309 { echo "$as_me:$LINENO: result: none needed" >&5
20310 echo "${ECHO_T}none needed" >&6; } ;;
20312 { echo "$as_me:$LINENO: result: unsupported" >&5
20313 echo "${ECHO_T}unsupported" >&6; } ;;
20315 CC="$CC $ac_cv_prog_cc_c89"
20316 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
20317 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
20322 ac_cpp='$CPP $CPPFLAGS'
20323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20327 depcc="$CC" am_compiler_list=
20329 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
20330 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
20331 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
20332 echo $ECHO_N "(cached) $ECHO_C" >&6
20334 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
20335 # We make a subdir and do the tests there. Otherwise we can end up
20336 # making bogus files that we don't know about and never remove. For
20337 # instance it was reported that on HP-UX the gcc test will end up
20338 # making a dummy file named `D' -- because `-MD' means `put the output
20341 # Copy depcomp to subdir because otherwise we won't find it if we're
20342 # using a relative directory.
20343 cp "$am_depcomp" conftest.dir
20345 # We will build objects and dependencies in a subdirectory because
20346 # it helps to detect inapplicable dependency modes. For instance
20347 # both Tru64's cc and ICC support -MD to output dependencies as a
20348 # side effect of compilation, but ICC will put the dependencies in
20349 # the current directory while Tru64 will put them in the object
20353 am_cv_CC_dependencies_compiler_type=none
20354 if test "$am_compiler_list" = ""; then
20355 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
20357 for depmode in $am_compiler_list; do
20358 # Setup a source with many dependencies, because some compilers
20359 # like to wrap large dependency lists on column 80 (with \), and
20360 # we should not choose a depcomp mode which is confused by this.
20362 # We need to recreate these files for each test, as the compiler may
20363 # overwrite some of them when testing with obscure command lines.
20364 # This happens at least with the AIX C compiler.
20366 for i in 1 2 3 4 5 6; do
20367 echo '#include "conftst'$i'.h"' >> sub/conftest.c
20368 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
20369 # Solaris 8's {/usr,}/bin/sh.
20370 touch sub/conftst$i.h
20372 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
20376 # after this tag, mechanisms are not by side-effect, so they'll
20377 # only be used when explicitly requested
20378 if test "x$enable_dependency_tracking" = xyes; then
20386 # We check with `-c' and `-o' for the sake of the "dashmstdout"
20387 # mode. It turns out that the SunPro C++ compiler does not properly
20388 # handle `-M -o', and we need to detect this.
20389 if depmode=$depmode \
20390 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
20391 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
20392 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
20393 >/dev/null 2>conftest.err &&
20394 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
20395 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
20396 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
20397 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
20398 # icc doesn't choke on unknown options, it will just issue warnings
20399 # or remarks (even with -Werror). So we grep stderr for any message
20400 # that says an option was ignored or not supported.
20401 # When given -MP, icc 7.0 and 7.1 complain thusly:
20402 # icc: Command line warning: ignoring option '-M'; no argument required
20403 # The diagnosis changed in icc 8.0:
20404 # icc: Command line remark: option '-MP' not supported
20405 if (grep 'ignoring option' conftest.err ||
20406 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
20407 am_cv_CC_dependencies_compiler_type=$depmode
20414 rm -rf conftest.dir
20416 am_cv_CC_dependencies_compiler_type=none
20420 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
20421 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
20422 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
20425 test "x$enable_dependency_tracking" != xno \
20426 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
20427 am__fastdepCC_TRUE=
20428 am__fastdepCC_FALSE='#'
20430 am__fastdepCC_TRUE='#'
20431 am__fastdepCC_FALSE=
20435 if test "x$CC" != xcc; then
20436 { echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
20437 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6; }
20439 { echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
20440 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6; }
20442 set dummy $CC; ac_cc=`echo $2 |
20443 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
20444 if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
20445 echo $ECHO_N "(cached) $ECHO_C" >&6
20447 cat >conftest.$ac_ext <<_ACEOF
20450 cat confdefs.h >>conftest.$ac_ext
20451 cat >>conftest.$ac_ext <<_ACEOF
20452 /* end confdefs.h. */
20462 # Make sure it works both with $CC and with simple cc.
20463 # We do the test twice because some compilers refuse to overwrite an
20464 # existing .o file with -o, though they will create one.
20465 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
20467 if { (case "(($ac_try" in
20468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20469 *) ac_try_echo=$ac_try;;
20471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20472 (eval "$ac_try") 2>&5
20474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20475 (exit $ac_status); } &&
20476 test -f conftest2.$ac_objext && { (case "(($ac_try" in
20477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20478 *) ac_try_echo=$ac_try;;
20480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20481 (eval "$ac_try") 2>&5
20483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20484 (exit $ac_status); };
20486 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
20487 if test "x$CC" != xcc; then
20488 # Test first that cc exists at all.
20489 if { ac_try='cc -c conftest.$ac_ext >&5'
20490 { (case "(($ac_try" in
20491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20492 *) ac_try_echo=$ac_try;;
20494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20495 (eval "$ac_try") 2>&5
20497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20498 (exit $ac_status); }; }; then
20499 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
20501 if { (case "(($ac_try" in
20502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20503 *) ac_try_echo=$ac_try;;
20505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20506 (eval "$ac_try") 2>&5
20508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20509 (exit $ac_status); } &&
20510 test -f conftest2.$ac_objext && { (case "(($ac_try" in
20511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20512 *) ac_try_echo=$ac_try;;
20514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20515 (eval "$ac_try") 2>&5
20517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20518 (exit $ac_status); };
20523 # cc exists but doesn't like -o.
20524 eval ac_cv_prog_cc_${ac_cc}_c_o=no
20529 eval ac_cv_prog_cc_${ac_cc}_c_o=no
20531 rm -f -r core conftest*
20534 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
20535 { echo "$as_me:$LINENO: result: yes" >&5
20536 echo "${ECHO_T}yes" >&6; }
20538 { echo "$as_me:$LINENO: result: no" >&5
20539 echo "${ECHO_T}no" >&6; }
20541 cat >>confdefs.h <<\_ACEOF
20542 #define NO_MINUS_C_MINUS_O 1
20548 ac_cpp='$CXXCPP $CPPFLAGS'
20549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20552 if test -z "$CXX"; then
20553 if test -n "$CCC"; then
20556 if test -n "$ac_tool_prefix"; then
20557 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
20559 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
20560 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
20561 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20562 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20563 if test "${ac_cv_prog_CXX+set}" = set; then
20564 echo $ECHO_N "(cached) $ECHO_C" >&6
20566 if test -n "$CXX"; then
20567 ac_cv_prog_CXX="$CXX" # Let the user override the test.
20569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20570 for as_dir in $PATH
20573 test -z "$as_dir" && as_dir=.
20574 for ac_exec_ext in '' $ac_executable_extensions; do
20575 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20576 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
20577 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20586 CXX=$ac_cv_prog_CXX
20587 if test -n "$CXX"; then
20588 { echo "$as_me:$LINENO: result: $CXX" >&5
20589 echo "${ECHO_T}$CXX" >&6; }
20591 { echo "$as_me:$LINENO: result: no" >&5
20592 echo "${ECHO_T}no" >&6; }
20596 test -n "$CXX" && break
20599 if test -z "$CXX"; then
20601 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
20603 # Extract the first word of "$ac_prog", so it can be a program name with args.
20604 set dummy $ac_prog; ac_word=$2
20605 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20606 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20607 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
20608 echo $ECHO_N "(cached) $ECHO_C" >&6
20610 if test -n "$ac_ct_CXX"; then
20611 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
20613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20614 for as_dir in $PATH
20617 test -z "$as_dir" && as_dir=.
20618 for ac_exec_ext in '' $ac_executable_extensions; do
20619 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20620 ac_cv_prog_ac_ct_CXX="$ac_prog"
20621 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20630 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
20631 if test -n "$ac_ct_CXX"; then
20632 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
20633 echo "${ECHO_T}$ac_ct_CXX" >&6; }
20635 { echo "$as_me:$LINENO: result: no" >&5
20636 echo "${ECHO_T}no" >&6; }
20640 test -n "$ac_ct_CXX" && break
20643 if test "x$ac_ct_CXX" = x; then
20646 case $cross_compiling:$ac_tool_warned in
20648 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20649 whose name does not start with the host triplet. If you think this
20650 configuration is useful to you, please write to autoconf@gnu.org." >&5
20651 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20652 whose name does not start with the host triplet. If you think this
20653 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20654 ac_tool_warned=yes ;;
20662 # Provide some information about the compiler.
20663 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
20664 ac_compiler=`set X $ac_compile; echo $2`
20665 { (ac_try="$ac_compiler --version >&5"
20666 case "(($ac_try" in
20667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20668 *) ac_try_echo=$ac_try;;
20670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20671 (eval "$ac_compiler --version >&5") 2>&5
20673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20674 (exit $ac_status); }
20675 { (ac_try="$ac_compiler -v >&5"
20676 case "(($ac_try" in
20677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20678 *) ac_try_echo=$ac_try;;
20680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20681 (eval "$ac_compiler -v >&5") 2>&5
20683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20684 (exit $ac_status); }
20685 { (ac_try="$ac_compiler -V >&5"
20686 case "(($ac_try" in
20687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20688 *) ac_try_echo=$ac_try;;
20690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20691 (eval "$ac_compiler -V >&5") 2>&5
20693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20694 (exit $ac_status); }
20696 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
20697 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
20698 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
20699 echo $ECHO_N "(cached) $ECHO_C" >&6
20701 cat >conftest.$ac_ext <<_ACEOF
20704 cat confdefs.h >>conftest.$ac_ext
20705 cat >>conftest.$ac_ext <<_ACEOF
20706 /* end confdefs.h. */
20719 rm -f conftest.$ac_objext
20720 if { (ac_try="$ac_compile"
20721 case "(($ac_try" in
20722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20723 *) ac_try_echo=$ac_try;;
20725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20726 (eval "$ac_compile") 2>conftest.er1
20728 grep -v '^ *+' conftest.er1 >conftest.err
20730 cat conftest.err >&5
20731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20732 (exit $ac_status); } && {
20733 test -z "$ac_cxx_werror_flag" ||
20734 test ! -s conftest.err
20735 } && test -s conftest.$ac_objext; then
20736 ac_compiler_gnu=yes
20738 echo "$as_me: failed program was:" >&5
20739 sed 's/^/| /' conftest.$ac_ext >&5
20744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20745 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
20748 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
20749 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
20750 GXX=`test $ac_compiler_gnu = yes && echo yes`
20751 ac_test_CXXFLAGS=${CXXFLAGS+set}
20752 ac_save_CXXFLAGS=$CXXFLAGS
20753 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
20754 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
20755 if test "${ac_cv_prog_cxx_g+set}" = set; then
20756 echo $ECHO_N "(cached) $ECHO_C" >&6
20758 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
20759 ac_cxx_werror_flag=yes
20760 ac_cv_prog_cxx_g=no
20762 cat >conftest.$ac_ext <<_ACEOF
20765 cat confdefs.h >>conftest.$ac_ext
20766 cat >>conftest.$ac_ext <<_ACEOF
20767 /* end confdefs.h. */
20777 rm -f conftest.$ac_objext
20778 if { (ac_try="$ac_compile"
20779 case "(($ac_try" in
20780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20781 *) ac_try_echo=$ac_try;;
20783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20784 (eval "$ac_compile") 2>conftest.er1
20786 grep -v '^ *+' conftest.er1 >conftest.err
20788 cat conftest.err >&5
20789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20790 (exit $ac_status); } && {
20791 test -z "$ac_cxx_werror_flag" ||
20792 test ! -s conftest.err
20793 } && test -s conftest.$ac_objext; then
20794 ac_cv_prog_cxx_g=yes
20796 echo "$as_me: failed program was:" >&5
20797 sed 's/^/| /' conftest.$ac_ext >&5
20800 cat >conftest.$ac_ext <<_ACEOF
20803 cat confdefs.h >>conftest.$ac_ext
20804 cat >>conftest.$ac_ext <<_ACEOF
20805 /* end confdefs.h. */
20815 rm -f conftest.$ac_objext
20816 if { (ac_try="$ac_compile"
20817 case "(($ac_try" in
20818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20819 *) ac_try_echo=$ac_try;;
20821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20822 (eval "$ac_compile") 2>conftest.er1
20824 grep -v '^ *+' conftest.er1 >conftest.err
20826 cat conftest.err >&5
20827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20828 (exit $ac_status); } && {
20829 test -z "$ac_cxx_werror_flag" ||
20830 test ! -s conftest.err
20831 } && test -s conftest.$ac_objext; then
20834 echo "$as_me: failed program was:" >&5
20835 sed 's/^/| /' conftest.$ac_ext >&5
20837 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
20839 cat >conftest.$ac_ext <<_ACEOF
20842 cat confdefs.h >>conftest.$ac_ext
20843 cat >>conftest.$ac_ext <<_ACEOF
20844 /* end confdefs.h. */
20854 rm -f conftest.$ac_objext
20855 if { (ac_try="$ac_compile"
20856 case "(($ac_try" in
20857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20858 *) ac_try_echo=$ac_try;;
20860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20861 (eval "$ac_compile") 2>conftest.er1
20863 grep -v '^ *+' conftest.er1 >conftest.err
20865 cat conftest.err >&5
20866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20867 (exit $ac_status); } && {
20868 test -z "$ac_cxx_werror_flag" ||
20869 test ! -s conftest.err
20870 } && test -s conftest.$ac_objext; then
20871 ac_cv_prog_cxx_g=yes
20873 echo "$as_me: failed program was:" >&5
20874 sed 's/^/| /' conftest.$ac_ext >&5
20879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20886 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
20888 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
20889 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
20890 if test "$ac_test_CXXFLAGS" = set; then
20891 CXXFLAGS=$ac_save_CXXFLAGS
20892 elif test $ac_cv_prog_cxx_g = yes; then
20893 if test "$GXX" = yes; then
20899 if test "$GXX" = yes; then
20906 ac_cpp='$CPP $CPPFLAGS'
20907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20911 depcc="$CXX" am_compiler_list=
20913 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
20914 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
20915 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
20916 echo $ECHO_N "(cached) $ECHO_C" >&6
20918 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
20919 # We make a subdir and do the tests there. Otherwise we can end up
20920 # making bogus files that we don't know about and never remove. For
20921 # instance it was reported that on HP-UX the gcc test will end up
20922 # making a dummy file named `D' -- because `-MD' means `put the output
20925 # Copy depcomp to subdir because otherwise we won't find it if we're
20926 # using a relative directory.
20927 cp "$am_depcomp" conftest.dir
20929 # We will build objects and dependencies in a subdirectory because
20930 # it helps to detect inapplicable dependency modes. For instance
20931 # both Tru64's cc and ICC support -MD to output dependencies as a
20932 # side effect of compilation, but ICC will put the dependencies in
20933 # the current directory while Tru64 will put them in the object
20937 am_cv_CXX_dependencies_compiler_type=none
20938 if test "$am_compiler_list" = ""; then
20939 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
20941 for depmode in $am_compiler_list; do
20942 # Setup a source with many dependencies, because some compilers
20943 # like to wrap large dependency lists on column 80 (with \), and
20944 # we should not choose a depcomp mode which is confused by this.
20946 # We need to recreate these files for each test, as the compiler may
20947 # overwrite some of them when testing with obscure command lines.
20948 # This happens at least with the AIX C compiler.
20950 for i in 1 2 3 4 5 6; do
20951 echo '#include "conftst'$i'.h"' >> sub/conftest.c
20952 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
20953 # Solaris 8's {/usr,}/bin/sh.
20954 touch sub/conftst$i.h
20956 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
20960 # after this tag, mechanisms are not by side-effect, so they'll
20961 # only be used when explicitly requested
20962 if test "x$enable_dependency_tracking" = xyes; then
20970 # We check with `-c' and `-o' for the sake of the "dashmstdout"
20971 # mode. It turns out that the SunPro C++ compiler does not properly
20972 # handle `-M -o', and we need to detect this.
20973 if depmode=$depmode \
20974 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
20975 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
20976 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
20977 >/dev/null 2>conftest.err &&
20978 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
20979 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
20980 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
20981 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
20982 # icc doesn't choke on unknown options, it will just issue warnings
20983 # or remarks (even with -Werror). So we grep stderr for any message
20984 # that says an option was ignored or not supported.
20985 # When given -MP, icc 7.0 and 7.1 complain thusly:
20986 # icc: Command line warning: ignoring option '-M'; no argument required
20987 # The diagnosis changed in icc 8.0:
20988 # icc: Command line remark: option '-MP' not supported
20989 if (grep 'ignoring option' conftest.err ||
20990 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
20991 am_cv_CXX_dependencies_compiler_type=$depmode
20998 rm -rf conftest.dir
21000 am_cv_CXX_dependencies_compiler_type=none
21004 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
21005 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
21006 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
21009 test "x$enable_dependency_tracking" != xno \
21010 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
21011 am__fastdepCXX_TRUE=
21012 am__fastdepCXX_FALSE='#'
21014 am__fastdepCXX_TRUE='#'
21015 am__fastdepCXX_FALSE=
21019 # Find a good install program. We prefer a C program (faster),
21020 # so one script is as good as another. But avoid the broken or
21021 # incompatible versions:
21022 # SysV /etc/install, /usr/sbin/install
21023 # SunOS /usr/etc/install
21024 # IRIX /sbin/install
21026 # AmigaOS /C/install, which installs bootblocks on floppy discs
21027 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
21028 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
21029 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
21030 # OS/2's system install, which has a completely different semantic
21031 # ./install, which can be erroneously created by make from ./install.sh.
21032 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
21033 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
21034 if test -z "$INSTALL"; then
21035 if test "${ac_cv_path_install+set}" = set; then
21036 echo $ECHO_N "(cached) $ECHO_C" >&6
21038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21039 for as_dir in $PATH
21042 test -z "$as_dir" && as_dir=.
21043 # Account for people who put trailing slashes in PATH elements.
21045 ./ | .// | /cC/* | \
21046 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
21047 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
21050 # OSF1 and SCO ODT 3.0 have their own names for install.
21051 # Don't use installbsd from OSF since it installs stuff as root
21053 for ac_prog in ginstall scoinst install; do
21054 for ac_exec_ext in '' $ac_executable_extensions; do
21055 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
21056 if test $ac_prog = install &&
21057 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
21058 # AIX install. It has an incompatible calling convention.
21060 elif test $ac_prog = install &&
21061 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
21062 # program-specific install script used by HP pwplus--don't use.
21065 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
21078 if test "${ac_cv_path_install+set}" = set; then
21079 INSTALL=$ac_cv_path_install
21081 # As a last resort, use the slow shell script. Don't cache a
21082 # value for INSTALL within a source directory, because that will
21083 # break other packages using the cache if that directory is
21084 # removed, or if the value is a relative name.
21085 INSTALL=$ac_install_sh
21088 { echo "$as_me:$LINENO: result: $INSTALL" >&5
21089 echo "${ECHO_T}$INSTALL" >&6; }
21091 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
21092 # It thinks the first close brace ends the variable substitution.
21093 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
21095 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
21097 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
21100 { echo "$as_me:$LINENO: checking for size_t" >&5
21101 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21102 if test "${ac_cv_type_size_t+set}" = set; then
21103 echo $ECHO_N "(cached) $ECHO_C" >&6
21105 cat >conftest.$ac_ext <<_ACEOF
21108 cat confdefs.h >>conftest.$ac_ext
21109 cat >>conftest.$ac_ext <<_ACEOF
21110 /* end confdefs.h. */
21111 $ac_includes_default
21112 typedef size_t ac__type_new_;
21116 if ((ac__type_new_ *) 0)
21118 if (sizeof (ac__type_new_))
21124 rm -f conftest.$ac_objext
21125 if { (ac_try="$ac_compile"
21126 case "(($ac_try" in
21127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21128 *) ac_try_echo=$ac_try;;
21130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21131 (eval "$ac_compile") 2>conftest.er1
21133 grep -v '^ *+' conftest.er1 >conftest.err
21135 cat conftest.err >&5
21136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21137 (exit $ac_status); } && {
21138 test -z "$ac_c_werror_flag" ||
21139 test ! -s conftest.err
21140 } && test -s conftest.$ac_objext; then
21141 ac_cv_type_size_t=yes
21143 echo "$as_me: failed program was:" >&5
21144 sed 's/^/| /' conftest.$ac_ext >&5
21146 ac_cv_type_size_t=no
21149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21151 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21152 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21153 if test $ac_cv_type_size_t = yes; then
21157 cat >>confdefs.h <<_ACEOF
21158 #define size_t unsigned int
21164 { echo "$as_me:$LINENO: checking for uint8_t" >&5
21165 echo $ECHO_N "checking for uint8_t... $ECHO_C" >&6; }
21166 if test "${ac_cv_c_uint8_t+set}" = set; then
21167 echo $ECHO_N "(cached) $ECHO_C" >&6
21170 for ac_type in 'uint8_t' 'unsigned int' 'unsigned long int' \
21171 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
21172 cat >conftest.$ac_ext <<_ACEOF
21175 cat confdefs.h >>conftest.$ac_ext
21176 cat >>conftest.$ac_ext <<_ACEOF
21177 /* end confdefs.h. */
21178 $ac_includes_default
21182 static int test_array [1 - 2 * !(($ac_type) -1 >> (8 - 1) == 1)];
21189 rm -f conftest.$ac_objext
21190 if { (ac_try="$ac_compile"
21191 case "(($ac_try" in
21192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21193 *) ac_try_echo=$ac_try;;
21195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21196 (eval "$ac_compile") 2>conftest.er1
21198 grep -v '^ *+' conftest.er1 >conftest.err
21200 cat conftest.err >&5
21201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21202 (exit $ac_status); } && {
21203 test -z "$ac_c_werror_flag" ||
21204 test ! -s conftest.err
21205 } && test -s conftest.$ac_objext; then
21207 uint8_t) ac_cv_c_uint8_t=yes ;;
21208 *) ac_cv_c_uint8_t=$ac_type ;;
21212 echo "$as_me: failed program was:" >&5
21213 sed 's/^/| /' conftest.$ac_ext >&5
21218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21219 test "$ac_cv_c_uint8_t" != no && break
21222 { echo "$as_me:$LINENO: result: $ac_cv_c_uint8_t" >&5
21223 echo "${ECHO_T}$ac_cv_c_uint8_t" >&6; }
21224 case $ac_cv_c_uint8_t in #(
21228 cat >>confdefs.h <<\_ACEOF
21233 cat >>confdefs.h <<_ACEOF
21234 #define uint8_t $ac_cv_c_uint8_t
21239 # By default we simply use the C compiler to build assembly code.
21241 test "${CCAS+set}" = set || CCAS=$CC
21242 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
21246 depcc="$CCAS" am_compiler_list=
21248 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
21249 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
21250 if test "${am_cv_CCAS_dependencies_compiler_type+set}" = set; then
21251 echo $ECHO_N "(cached) $ECHO_C" >&6
21253 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
21254 # We make a subdir and do the tests there. Otherwise we can end up
21255 # making bogus files that we don't know about and never remove. For
21256 # instance it was reported that on HP-UX the gcc test will end up
21257 # making a dummy file named `D' -- because `-MD' means `put the output
21260 # Copy depcomp to subdir because otherwise we won't find it if we're
21261 # using a relative directory.
21262 cp "$am_depcomp" conftest.dir
21264 # We will build objects and dependencies in a subdirectory because
21265 # it helps to detect inapplicable dependency modes. For instance
21266 # both Tru64's cc and ICC support -MD to output dependencies as a
21267 # side effect of compilation, but ICC will put the dependencies in
21268 # the current directory while Tru64 will put them in the object
21272 am_cv_CCAS_dependencies_compiler_type=none
21273 if test "$am_compiler_list" = ""; then
21274 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
21276 for depmode in $am_compiler_list; do
21277 # Setup a source with many dependencies, because some compilers
21278 # like to wrap large dependency lists on column 80 (with \), and
21279 # we should not choose a depcomp mode which is confused by this.
21281 # We need to recreate these files for each test, as the compiler may
21282 # overwrite some of them when testing with obscure command lines.
21283 # This happens at least with the AIX C compiler.
21285 for i in 1 2 3 4 5 6; do
21286 echo '#include "conftst'$i'.h"' >> sub/conftest.c
21287 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
21288 # Solaris 8's {/usr,}/bin/sh.
21289 touch sub/conftst$i.h
21291 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
21295 # after this tag, mechanisms are not by side-effect, so they'll
21296 # only be used when explicitly requested
21297 if test "x$enable_dependency_tracking" = xyes; then
21305 # We check with `-c' and `-o' for the sake of the "dashmstdout"
21306 # mode. It turns out that the SunPro C++ compiler does not properly
21307 # handle `-M -o', and we need to detect this.
21308 if depmode=$depmode \
21309 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
21310 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
21311 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
21312 >/dev/null 2>conftest.err &&
21313 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
21314 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
21315 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
21316 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
21317 # icc doesn't choke on unknown options, it will just issue warnings
21318 # or remarks (even with -Werror). So we grep stderr for any message
21319 # that says an option was ignored or not supported.
21320 # When given -MP, icc 7.0 and 7.1 complain thusly:
21321 # icc: Command line warning: ignoring option '-M'; no argument required
21322 # The diagnosis changed in icc 8.0:
21323 # icc: Command line remark: option '-MP' not supported
21324 if (grep 'ignoring option' conftest.err ||
21325 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
21326 am_cv_CCAS_dependencies_compiler_type=$depmode
21333 rm -rf conftest.dir
21335 am_cv_CCAS_dependencies_compiler_type=none
21339 { echo "$as_me:$LINENO: result: $am_cv_CCAS_dependencies_compiler_type" >&5
21340 echo "${ECHO_T}$am_cv_CCAS_dependencies_compiler_type" >&6; }
21341 CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
21344 test "x$enable_dependency_tracking" != xno \
21345 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
21346 am__fastdepCCAS_TRUE=
21347 am__fastdepCCAS_FALSE='#'
21349 am__fastdepCCAS_TRUE='#'
21350 am__fastdepCCAS_FALSE=
21354 # FIXME: we rely on the cache variable name because
21355 # there is no other way.
21357 ac_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
21358 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
21359 # Losing compiler, so override with the script.
21360 # FIXME: It is wrong to rewrite CC.
21361 # But if we don't then we get into trouble of one sort or another.
21362 # A longer-term fix would be to have automake use am__CC in this case,
21363 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
21364 CC="$am_aux_dir/compile $CC"
21370 *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
21371 # These system don't have libm, or don't need it
21374 { echo "$as_me:$LINENO: checking for _mwvalidcheckl in -lmw" >&5
21375 echo $ECHO_N "checking for _mwvalidcheckl in -lmw... $ECHO_C" >&6; }
21376 if test "${ac_cv_lib_mw__mwvalidcheckl+set}" = set; then
21377 echo $ECHO_N "(cached) $ECHO_C" >&6
21379 ac_check_lib_save_LIBS=$LIBS
21381 cat >conftest.$ac_ext <<_ACEOF
21384 cat confdefs.h >>conftest.$ac_ext
21385 cat >>conftest.$ac_ext <<_ACEOF
21386 /* end confdefs.h. */
21388 /* Override any GCC internal prototype to avoid an error.
21389 Use char because int might match the return type of a GCC
21390 builtin and then its argument prototype would still apply. */
21394 char _mwvalidcheckl ();
21398 return _mwvalidcheckl ();
21403 rm -f conftest.$ac_objext conftest$ac_exeext
21404 if { (ac_try="$ac_link"
21405 case "(($ac_try" in
21406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21407 *) ac_try_echo=$ac_try;;
21409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21410 (eval "$ac_link") 2>conftest.er1
21412 grep -v '^ *+' conftest.er1 >conftest.err
21414 cat conftest.err >&5
21415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21416 (exit $ac_status); } && {
21417 test -z "$ac_c_werror_flag" ||
21418 test ! -s conftest.err
21419 } && test -s conftest$ac_exeext &&
21420 $as_test_x conftest$ac_exeext; then
21421 ac_cv_lib_mw__mwvalidcheckl=yes
21423 echo "$as_me: failed program was:" >&5
21424 sed 's/^/| /' conftest.$ac_ext >&5
21426 ac_cv_lib_mw__mwvalidcheckl=no
21429 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21430 conftest$ac_exeext conftest.$ac_ext
21431 LIBS=$ac_check_lib_save_LIBS
21433 { echo "$as_me:$LINENO: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
21434 echo "${ECHO_T}$ac_cv_lib_mw__mwvalidcheckl" >&6; }
21435 if test $ac_cv_lib_mw__mwvalidcheckl = yes; then
21439 { echo "$as_me:$LINENO: checking for cos in -lm" >&5
21440 echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6; }
21441 if test "${ac_cv_lib_m_cos+set}" = set; then
21442 echo $ECHO_N "(cached) $ECHO_C" >&6
21444 ac_check_lib_save_LIBS=$LIBS
21446 cat >conftest.$ac_ext <<_ACEOF
21449 cat confdefs.h >>conftest.$ac_ext
21450 cat >>conftest.$ac_ext <<_ACEOF
21451 /* end confdefs.h. */
21453 /* Override any GCC internal prototype to avoid an error.
21454 Use char because int might match the return type of a GCC
21455 builtin and then its argument prototype would still apply. */
21468 rm -f conftest.$ac_objext conftest$ac_exeext
21469 if { (ac_try="$ac_link"
21470 case "(($ac_try" in
21471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21472 *) ac_try_echo=$ac_try;;
21474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21475 (eval "$ac_link") 2>conftest.er1
21477 grep -v '^ *+' conftest.er1 >conftest.err
21479 cat conftest.err >&5
21480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21481 (exit $ac_status); } && {
21482 test -z "$ac_c_werror_flag" ||
21483 test ! -s conftest.err
21484 } && test -s conftest$ac_exeext &&
21485 $as_test_x conftest$ac_exeext; then
21486 ac_cv_lib_m_cos=yes
21488 echo "$as_me: failed program was:" >&5
21489 sed 's/^/| /' conftest.$ac_ext >&5
21494 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21495 conftest$ac_exeext conftest.$ac_ext
21496 LIBS=$ac_check_lib_save_LIBS
21498 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
21499 echo "${ECHO_T}$ac_cv_lib_m_cos" >&6; }
21500 if test $ac_cv_lib_m_cos = yes; then
21506 { echo "$as_me:$LINENO: checking for cos in -lm" >&5
21507 echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6; }
21508 if test "${ac_cv_lib_m_cos+set}" = set; then
21509 echo $ECHO_N "(cached) $ECHO_C" >&6
21511 ac_check_lib_save_LIBS=$LIBS
21513 cat >conftest.$ac_ext <<_ACEOF
21516 cat confdefs.h >>conftest.$ac_ext
21517 cat >>conftest.$ac_ext <<_ACEOF
21518 /* end confdefs.h. */
21520 /* Override any GCC internal prototype to avoid an error.
21521 Use char because int might match the return type of a GCC
21522 builtin and then its argument prototype would still apply. */
21535 rm -f conftest.$ac_objext conftest$ac_exeext
21536 if { (ac_try="$ac_link"
21537 case "(($ac_try" in
21538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21539 *) ac_try_echo=$ac_try;;
21541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21542 (eval "$ac_link") 2>conftest.er1
21544 grep -v '^ *+' conftest.er1 >conftest.err
21546 cat conftest.err >&5
21547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21548 (exit $ac_status); } && {
21549 test -z "$ac_c_werror_flag" ||
21550 test ! -s conftest.err
21551 } && test -s conftest$ac_exeext &&
21552 $as_test_x conftest$ac_exeext; then
21553 ac_cv_lib_m_cos=yes
21555 echo "$as_me: failed program was:" >&5
21556 sed 's/^/| /' conftest.$ac_ext >&5
21561 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21562 conftest$ac_exeext conftest.$ac_ext
21563 LIBS=$ac_check_lib_save_LIBS
21565 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
21566 echo "${ECHO_T}$ac_cv_lib_m_cos" >&6; }
21567 if test $ac_cv_lib_m_cos = yes; then
21576 OPTIMIZE_CFLAGS="-Os -fomit-frame-pointer"
21577 OPTIMIZE_FAST_CFLAGS="-O3 -fomit-frame-pointer"
21578 OPTIMIZE_HUGE_CFLAGS="-funroll-loops -DTFM_SMALL_SET"
21579 DEBUG_CFLAGS="-g -DDEBUG -DDEBUG_CYASSL"
21583 # Check whether --enable-debug was given.
21584 if test "${enable_debug+set}" = set; then
21585 enableval=$enable_debug; ENABLED_DEBUG=$enableval
21591 if test "$ENABLED_DEBUG" = "yes"
21593 # Full debug. Very slow in some cases
21594 AM_CFLAGS="$DEBUG_CFLAGS $AM_CFLAGS"
21596 # Optimized version. No debug
21597 AM_CFLAGS="$AM_CFLAGS -DNDEBUG"
21602 # Check whether --enable-small was given.
21603 if test "${enable_small+set}" = set; then
21604 enableval=$enable_small; ENABLED_SMALL=$enableval
21610 if test "$ENABLED_SMALL" = "yes"
21612 # make small no tls build with smallest cipher
21613 # if you only want server or client you can define NO_CYASSL_SERVER or
21614 # NO_CYASSL_CLIENT but then some of the examples and testsuite won't build
21615 # note that TLS needs HMAC
21616 AM_CFLAGS="-DNO_TLS -DNO_HMAC -DNO_AES -DNO_DES3 -DNO_SHA256 -DNO_ERROR_STRINGS -DNO_RABBIT -DNO_PSK -DNO_DSA -DNO_DH -DNO_PWDBASED $AM_CFLAGS"
21621 # Check whether --enable-singleThreaded was given.
21622 if test "${enable_singleThreaded+set}" = set; then
21623 enableval=$enable_singleThreaded; ENABLED_SINGLETHREADED=$enableval
21625 ENABLED_SINGLETHREADED=no
21629 if test "$ENABLED_SINGLETHREADED" = "yes"
21631 AM_CFLAGS="-DSINGLE_THREADED $AM_CFLAGS"
21636 # Check whether --enable-dtls was given.
21637 if test "${enable_dtls+set}" = set; then
21638 enableval=$enable_dtls; ENABLED_DTLS=$enableval
21644 if test "$ENABLED_DTLS" = "yes"
21646 AM_CFLAGS="-DCYASSL_DTLS $AM_CFLAGS"
21650 # OPENSSL Extra Compatibility
21651 # Check whether --enable-opensslExtra was given.
21652 if test "${enable_opensslExtra+set}" = set; then
21653 enableval=$enable_opensslExtra; ENABLED_OPENSSLEXTRA=$enableval
21655 ENABLED_OPENSSLEXTRA=no
21659 if test "$ENABLED_OPENSSLEXTRA" = "yes"
21661 AM_CFLAGS="-DOPENSSL_EXTRA $AM_CFLAGS"
21664 if test "$ENABLED_OPENSSLEXTRA" = "yes" && test "$ENABLED_SMALL" = "yes"
21666 { { echo "$as_me:$LINENO: error: cannot enable small and opensslExtra, only one or the other." >&5
21667 echo "$as_me: error: cannot enable small and opensslExtra, only one or the other." >&2;}
21668 { (exit 1); exit 1; }; }
21673 # Check whether --enable-ipv6 was given.
21674 if test "${enable_ipv6+set}" = set; then
21675 enableval=$enable_ipv6; ENABLED_IPV6=$enableval
21682 if test "$ENABLED_IPV6" = "yes"
21684 AM_CFLAGS="$AM_CFLAGS -DTEST_IPV6"
21689 # Check whether --enable-fortress was given.
21690 if test "${enable_fortress+set}" = set; then
21691 enableval=$enable_fortress; ENABLED_FORTRESS=$enableval
21693 ENABLED_FORTRESS=no
21698 if test "$ENABLED_FORTRESS" = "yes"
21700 AM_CFLAGS="$AM_CFLAGS -DFORTRESS -DOPENSSL_EXTRA -DCYASSL_DES_ECB -DCYASSL_AES_COUNTER -DCYASSL_AES_DIRECT -DCYASSL_DER_LOAD -DCYASSL_SHA512 -DCYASSL_SHA384 -DCYASSL_KEY_GEN"
21705 # Check whether --enable-bump was given.
21706 if test "${enable_bump+set}" = set; then
21707 enableval=$enable_bump; ENABLED_BUMP=$enableval
21714 if test "$ENABLED_BUMP" = "yes"
21716 AM_CFLAGS="$AM_CFLAGS -DLARGE_STATIC_BUFFERS -DCYASSL_CERT_GEN -DCYASSL_KEY_GEN -DHUGE_SESSION_CACHE -DOPENSSL_EXTRA -DFP_MAX_BITS=8192 -DCYASSL_DER_LOAD -DCYASSL_ALT_NAMES -DCYASSL_TEST_CERT"
21720 # Check whether --enable-fastmath was given.
21721 if test "${enable_fastmath+set}" = set; then
21722 enableval=$enable_fastmath; ENABLED_FASTMATH=$enableval
21724 ENABLED_FASTMATH=no
21729 if test "x$ENABLED_FASTMATH" = "xyes"
21731 AM_CFLAGS="$AM_CFLAGS -DUSE_FAST_MATH"
21736 # Check whether --enable-fasthugemath was given.
21737 if test "${enable_fasthugemath+set}" = set; then
21738 enableval=$enable_fasthugemath; ENABLED_FASTHUGEMATH=$enableval
21740 ENABLED_FASTHUGEMATH=no
21745 if test "$ENABLED_BUMP" = "yes"
21747 ENABLED_FASTHUGEMATH="yes"
21750 if test "$ENABLED_FASTHUGEMATH" = "yes"
21752 ENABLED_FASTMATH="yes"
21753 AM_CFLAGS="$AM_CFLAGS -DUSE_FAST_MATH"
21756 if test "x$ENABLED_FASTMATH" = "xyes"; then
21757 BUILD_FASTMATH_TRUE=
21758 BUILD_FASTMATH_FALSE='#'
21760 BUILD_FASTMATH_TRUE='#'
21761 BUILD_FASTMATH_FALSE=
21767 # Check whether --enable-bigcache was given.
21768 if test "${enable_bigcache+set}" = set; then
21769 enableval=$enable_bigcache; ENABLED_BIGCACHE=$enableval
21771 ENABLED_BIGCACHE=no
21776 if test "$ENABLED_BIGCACHE" = "yes"
21778 AM_CFLAGS="$AM_CFLAGS -DBIG_SESSION_CACHE"
21783 # Check whether --enable-hugecache was given.
21784 if test "${enable_hugecache+set}" = set; then
21785 enableval=$enable_hugecache; ENABLED_HUGECACHE=$enableval
21787 ENABLED_HUGECACHE=no
21792 if test "$ENABLED_HUGECACHE" = "yes"
21794 AM_CFLAGS="$AM_CFLAGS -DHUGE_SESSION_CACHE"
21799 # Check whether --enable-smallcache was given.
21800 if test "${enable_smallcache+set}" = set; then
21801 enableval=$enable_smallcache; ENABLED_SMALLCACHE=$enableval
21803 ENABLED_SMALLCACHE=no
21808 if test "$ENABLED_SMALLCACHE" = "yes"
21810 AM_CFLAGS="$AM_CFLAGS -DSMALL_SESSION_CACHE"
21815 # Check whether --enable-sniffer was given.
21816 if test "${enable_sniffer+set}" = set; then
21817 enableval=$enable_sniffer; ENABLED_SNIFFER=$enableval
21824 if test "$ENABLED_SNIFFER" = "yes"
21826 AM_CFLAGS="$AM_CFLAGS -DCYASSL_SNIFFER -DOPENSSL_EXTRA"
21829 if test "x$ENABLED_SNIFFER" = "xyes"; then
21830 BUILD_SNIFFER_TRUE=
21831 BUILD_SNIFFER_FALSE='#'
21833 BUILD_SNIFFER_TRUE='#'
21834 BUILD_SNIFFER_FALSE=
21839 # Check whether --enable-aesgcm was given.
21840 if test "${enable_aesgcm+set}" = set; then
21841 enableval=$enable_aesgcm; ENABLED_AESGCM=$enableval
21848 if test "$ENABLED_AESGCM" = "word32"
21850 AM_CFLAGS="$AM_CFLAGS -DGCM_WORD32"
21854 if test "$ENABLED_AESGCM" = "small"
21856 AM_CFLAGS="$AM_CFLAGS -DGCM_SMALL"
21860 if test "$ENABLED_AESGCM" = "table"
21862 AM_CFLAGS="$AM_CFLAGS -DGCM_TABLE"
21866 if test "$ENABLED_AESGCM" = "yes"
21868 AM_CFLAGS="$AM_CFLAGS -DHAVE_AESGCM -DCYASSL_SHA384 -DCYASSL_SHA512"
21871 if test "x$ENABLED_AESGCM" = "xyes"; then
21873 BUILD_AESGCM_FALSE='#'
21875 BUILD_AESGCM_TRUE='#'
21876 BUILD_AESGCM_FALSE=
21881 # Check whether --enable-aesni was given.
21882 if test "${enable_aesni+set}" = set; then
21883 enableval=$enable_aesni; ENABLED_AESNI=$enableval
21890 if test "$ENABLED_AESNI" = "yes"
21892 AM_CFLAGS="$AM_CFLAGS -DCYASSL_AESNI"
21893 if test "$GCC" = "yes"
21895 # GCC needs these flags, icc doesn't
21896 AM_CFLAGS="$AM_CFLAGS -maes -msse4"
21900 if test "x$ENABLED_AESNI" = "xyes"; then
21902 BUILD_AESNI_FALSE='#'
21904 BUILD_AESNI_TRUE='#'
21911 # Check whether --enable-md2 was given.
21912 if test "${enable_md2+set}" = set; then
21913 enableval=$enable_md2; ENABLED_MD2=$enableval
21920 if test "$ENABLED_BUMP" = "yes"
21925 if test "$ENABLED_MD2" = "yes"
21927 AM_CFLAGS="$AM_CFLAGS -DCYASSL_MD2"
21930 if test "x$ENABLED_MD2" = "xyes"; then
21932 BUILD_MD2_FALSE='#'
21941 # Check whether --enable-ripemd was given.
21942 if test "${enable_ripemd+set}" = set; then
21943 enableval=$enable_ripemd; ENABLED_RIPEMD=$enableval
21950 if test "$ENABLED_RIPEMD" = "yes"
21952 AM_CFLAGS="$AM_CFLAGS -DCYASSL_RIPEMD"
21955 if test "x$ENABLED_RIPEMD" = "xyes"; then
21957 BUILD_RIPEMD_FALSE='#'
21959 BUILD_RIPEMD_TRUE='#'
21960 BUILD_RIPEMD_FALSE=
21966 # Check whether --enable-sha512 was given.
21967 if test "${enable_sha512+set}" = set; then
21968 enableval=$enable_sha512; ENABLED_SHA512=$enableval
21975 if test "$ENABLED_SHA512" = "yes"
21977 AM_CFLAGS="$AM_CFLAGS -DCYASSL_SHA512"
21980 if test "$ENABLED_FORTRESS" = "yes"
21982 ENABLED_SHA512="yes"
21985 if test "$ENABLED_AESGCM" = "yes"
21987 ENABLED_SHA512="yes"
21991 if test "x$ENABLED_SHA512" = "xyes"; then
21993 BUILD_SHA512_FALSE='#'
21995 BUILD_SHA512_TRUE='#'
21996 BUILD_SHA512_FALSE=
22002 # Check whether --enable-sessioncerts was given.
22003 if test "${enable_sessioncerts+set}" = set; then
22004 enableval=$enable_sessioncerts; ENABLED_SESSIONCERTS=$enableval
22006 ENABLED_SESSIONCERTS=no
22011 if test "$ENABLED_SESSIONCERTS" = "yes"
22013 AM_CFLAGS="$AM_CFLAGS -DSESSION_CERTS"
22018 # Check whether --enable-keygen was given.
22019 if test "${enable_keygen+set}" = set; then
22020 enableval=$enable_keygen; ENABLED_KEYGEN=$enableval
22027 if test "$ENABLED_KEYGEN" = "yes"
22029 AM_CFLAGS="$AM_CFLAGS -DCYASSL_KEY_GEN"
22034 # Check whether --enable-certgen was given.
22035 if test "${enable_certgen+set}" = set; then
22036 enableval=$enable_certgen; ENABLED_CERTGEN=$enableval
22043 if test "$ENABLED_CERTGEN" = "yes"
22045 AM_CFLAGS="$AM_CFLAGS -DCYASSL_CERT_GEN"
22050 # Check whether --enable-hc128 was given.
22051 if test "${enable_hc128+set}" = set; then
22052 enableval=$enable_hc128; ENABLED_HC128=$enableval
22059 if test "$ENABLED_HC128" = "no"
22061 AM_CFLAGS="$AM_CFLAGS -DNO_HC128"
22063 AM_CFLAGS="$AM_CFLAGS -DHAVE_HC128"
22066 if test "x$ENABLED_HC128" = "xyes"; then
22068 BUILD_HC128_FALSE='#'
22070 BUILD_HC128_TRUE='#'
22077 # Check whether --enable-psk was given.
22078 if test "${enable_psk+set}" = set; then
22079 enableval=$enable_psk; ENABLED_PSK=$enableval
22086 if test "$ENABLED_PSK" = "no"
22088 AM_CFLAGS="$AM_CFLAGS -DNO_PSK"
22093 # Check whether --enable-webServer was given.
22094 if test "${enable_webServer+set}" = set; then
22095 enableval=$enable_webServer; ENABLED_WEBSERVER=$enableval
22097 ENABLED_WEBSERVER=no
22102 if test "$ENABLED_WEBSERVER" = "yes"
22104 AM_CFLAGS="$AM_CFLAGS -DHAVE_WEBSERVER"
22108 # No Filesystem Build
22109 # Check whether --enable-noFilesystem was given.
22110 if test "${enable_noFilesystem+set}" = set; then
22111 enableval=$enable_noFilesystem; ENABLED_NOFILESYSTEM=$enableval
22113 ENABLED_NOFILESYSTEM=no
22118 if test "$ENABLED_NOFILESYSTEM" = "yes"
22120 AM_CFLAGS="$AM_CFLAGS -DNO_FILESYSTEM"
22125 # Check whether --enable-noInline was given.
22126 if test "${enable_noInline+set}" = set; then
22127 enableval=$enable_noInline; ENABLED_NOINLINE=$enableval
22129 ENABLED_NOINLINE=no
22134 if test "$ENABLED_NOINLINE" = "yes"
22136 AM_CFLAGS="$AM_CFLAGS -DNO_INLINE"
22139 if test "x$ENABLED_NOINLINE" = "xyes"; then
22140 BUILD_NOINLINE_TRUE=
22141 BUILD_NOINLINE_FALSE='#'
22143 BUILD_NOINLINE_TRUE='#'
22144 BUILD_NOINLINE_FALSE=
22150 # Check whether --enable-ecc was given.
22151 if test "${enable_ecc+set}" = set; then
22152 enableval=$enable_ecc; ENABLED_ECC=$enableval
22159 if test "$ENABLED_ECC" = "yes"
22161 AM_CFLAGS="$AM_CFLAGS -DHAVE_ECC"
22164 if test "x$ENABLED_ECC" = "xyes"; then
22166 BUILD_ECC_FALSE='#'
22174 if test "$ENABLED_ECC" = "yes" && test "$ENABLED_SMALL" = "yes"
22176 { { echo "$as_me:$LINENO: error: cannot enable ecc and small, ecc requires TLS which small turns off." >&5
22177 echo "$as_me: error: cannot enable ecc and small, ecc requires TLS which small turns off." >&2;}
22178 { (exit 1); exit 1; }; }
22183 # Check whether --enable-ocsp was given.
22184 if test "${enable_ocsp+set}" = set; then
22185 enableval=$enable_ocsp; ENABLED_OCSP=$enableval
22191 if test "$ENABLED_OCSP" = "yes"
22193 AM_CFLAGS="$AM_CFLAGS -DHAVE_OCSP"
22196 if test "x$ENABLED_OCSP" = "xyes"; then
22198 BUILD_OCSP_FALSE='#'
22200 BUILD_OCSP_TRUE='#'
22207 # Check whether --enable-crl was given.
22208 if test "${enable_crl+set}" = set; then
22209 enableval=$enable_crl; ENABLED_CRL=$enableval
22215 if test "$ENABLED_CRL" = "yes"
22217 AM_CFLAGS="$AM_CFLAGS -DHAVE_CRL"
22220 if test "x$ENABLED_CRL" = "xyes"; then
22222 BUILD_CRL_FALSE='#'
22231 # Check whether --enable-crl-monitor was given.
22232 if test "${enable_crl_monitor+set}" = set; then
22233 enableval=$enable_crl_monitor; ENABLED_CRL_MONITOR=$enableval
22235 ENABLED_CRL_MONITOR=no
22239 if test "$ENABLED_CRL_MONITOR" = "yes"
22241 AM_CFLAGS="$AM_CFLAGS -DHAVE_CRL_MONITOR"
22244 if test "x$ENABLED_CRL_MONITOR" = "xyes"; then
22245 BUILD_CRL_MONITOR_TRUE=
22246 BUILD_CRL_MONITOR_FALSE='#'
22248 BUILD_CRL_MONITOR_TRUE='#'
22249 BUILD_CRL_MONITOR_FALSE=
22255 ntruHome=`pwd`/NTRU_algorithm
22256 ntruInclude=$ntruHome/cryptolib
22258 # Check whether --enable-ntru was given.
22259 if test "${enable_ntru+set}" = set; then
22260 enableval=$enable_ntru; ENABLED_NTRU=$enableval
22267 if test "$ENABLED_NTRU" = "yes"
22269 AM_CFLAGS="$AM_CFLAGS -DHAVE_NTRU -I$ntruInclude"
22270 AM_LDFLAGS="$AM_LDFLAGS -L$ntruLib"
22271 LIBS="$LIBS -lntru_encrypt"
22274 if test "x$ENABLED_NTRU" = "xyes"; then
22276 BUILD_NTRU_FALSE='#'
22278 BUILD_NTRU_TRUE='#'
22283 if test "$ENABLED_NTRU" = "yes" && test "$ENABLED_SMALL" = "yes"
22285 { { echo "$as_me:$LINENO: error: cannot enable ntru and small, ntru requires TLS which small turns off." >&5
22286 echo "$as_me: error: cannot enable ntru and small, ntru requires TLS which small turns off." >&2;}
22287 { (exit 1); exit 1; }; }
22291 # Test certs, use internal cert functions for extra testing
22292 # Check whether --enable-testcert was given.
22293 if test "${enable_testcert+set}" = set; then
22294 enableval=$enable_testcert; ENABLED_TESTCERT=$enableval
22296 ENABLED_TESTCERT=no
22301 if test "$ENABLED_TESTCERT" = "yes"
22303 AM_CFLAGS="$AM_CFLAGS -DCYASSL_TEST_CERT"
22310 # Check whether --with-libz was given.
22311 if test "${with_libz+set}" = set; then
22312 withval=$with_libz;
22313 { echo "$as_me:$LINENO: checking for libz" >&5
22314 echo $ECHO_N "checking for libz... $ECHO_C" >&6; }
22315 CPPFLAGS="$CPPFLAGS -DHAVE_LIBZ"
22318 cat >conftest.$ac_ext <<_ACEOF
22321 cat confdefs.h >>conftest.$ac_ext
22322 cat >>conftest.$ac_ext <<_ACEOF
22323 /* end confdefs.h. */
22333 rm -f conftest.$ac_objext conftest$ac_exeext
22334 if { (ac_try="$ac_link"
22335 case "(($ac_try" in
22336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22337 *) ac_try_echo=$ac_try;;
22339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22340 (eval "$ac_link") 2>conftest.er1
22342 grep -v '^ *+' conftest.er1 >conftest.err
22344 cat conftest.err >&5
22345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22346 (exit $ac_status); } && {
22347 test -z "$ac_c_werror_flag" ||
22348 test ! -s conftest.err
22349 } && test -s conftest$ac_exeext &&
22350 $as_test_x conftest$ac_exeext; then
22353 echo "$as_me: failed program was:" >&5
22354 sed 's/^/| /' conftest.$ac_ext >&5
22359 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22360 conftest$ac_exeext conftest.$ac_ext
22362 if test "x$libz_linked" == "xno" ; then
22363 if test "x$withval" != "xno" ; then
22364 trylibzdir=$withval
22366 if test "x$withval" == "xyes" ; then
22370 AM_LDFLAGS="$AM_LDFLAGS -L$trylibzdir/lib"
22371 CPPFLAGS="$CPPFLAGS -I$trylibzdir/include"
22373 cat >conftest.$ac_ext <<_ACEOF
22376 cat confdefs.h >>conftest.$ac_ext
22377 cat >>conftest.$ac_ext <<_ACEOF
22378 /* end confdefs.h. */
22388 rm -f conftest.$ac_objext conftest$ac_exeext
22389 if { (ac_try="$ac_link"
22390 case "(($ac_try" in
22391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22392 *) ac_try_echo=$ac_try;;
22394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22395 (eval "$ac_link") 2>conftest.er1
22397 grep -v '^ *+' conftest.er1 >conftest.err
22399 cat conftest.err >&5
22400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22401 (exit $ac_status); } && {
22402 test -z "$ac_c_werror_flag" ||
22403 test ! -s conftest.err
22404 } && test -s conftest$ac_exeext &&
22405 $as_test_x conftest$ac_exeext; then
22408 echo "$as_me: failed program was:" >&5
22409 sed 's/^/| /' conftest.$ac_ext >&5
22414 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22415 conftest$ac_exeext conftest.$ac_ext
22417 if test "x$libz_linked" == "xno" ; then
22418 { { echo "$as_me:$LINENO: error: libz isn't found.
22419 If it's already installed, specify its path using --with-libz=/dir/" >&5
22420 echo "$as_me: error: libz isn't found.
22421 If it's already installed, specify its path using --with-libz=/dir/" >&2;}
22422 { (exit 1); exit 1; }; }
22424 { echo "$as_me:$LINENO: result: yes" >&5
22425 echo "${ECHO_T}yes" >&6; }
22427 { echo "$as_me:$LINENO: result: yes" >&5
22428 echo "${ECHO_T}yes" >&6; }
22438 if test "$GCC" = "yes"
22440 AM_CFLAGS="$AM_CFLAGS -Wall -Wno-unused"
22441 if test "$ENABLED_DEBUG" = "no"
22443 if test "$ENABLED_FASTMATH" = "yes"
22445 AM_CFLAGS="$AM_CFLAGS $OPTIMIZE_FAST_CFLAGS"
22446 if test "$ENABLED_FASTHUGEMATH" = "yes"
22448 AM_CFLAGS="$AM_CFLAGS $OPTIMIZE_HUGE_CFLAGS"
22451 AM_CFLAGS="$AM_CFLAGS $OPTIMIZE_CFLAGS"
22459 ac_cpp='$CPP $CPPFLAGS'
22460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22466 # We used to check for pthread.h first, but this fails if pthread.h
22467 # requires special compiler flags (e.g. on True64 or Sequent).
22468 # It gets checked for in the link test anyway.
22470 # First of all, check if the user has set any of the PTHREAD_LIBS,
22471 # etcetera environment variables, and if threads linking works using
22473 if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then
22474 save_CFLAGS="$CFLAGS"
22475 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
22477 LIBS="$PTHREAD_LIBS $LIBS"
22478 { echo "$as_me:$LINENO: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
22479 echo $ECHO_N "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... $ECHO_C" >&6; }
22480 cat >conftest.$ac_ext <<_ACEOF
22483 cat confdefs.h >>conftest.$ac_ext
22484 cat >>conftest.$ac_ext <<_ACEOF
22485 /* end confdefs.h. */
22487 /* Override any GCC internal prototype to avoid an error.
22488 Use char because int might match the return type of a GCC
22489 builtin and then its argument prototype would still apply. */
22493 char pthread_join ();
22497 return pthread_join ();
22502 rm -f conftest.$ac_objext conftest$ac_exeext
22503 if { (ac_try="$ac_link"
22504 case "(($ac_try" in
22505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22506 *) ac_try_echo=$ac_try;;
22508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22509 (eval "$ac_link") 2>conftest.er1
22511 grep -v '^ *+' conftest.er1 >conftest.err
22513 cat conftest.err >&5
22514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22515 (exit $ac_status); } && {
22516 test -z "$ac_c_werror_flag" ||
22517 test ! -s conftest.err
22518 } && test -s conftest$ac_exeext &&
22519 $as_test_x conftest$ac_exeext; then
22522 echo "$as_me: failed program was:" >&5
22523 sed 's/^/| /' conftest.$ac_ext >&5
22528 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22529 conftest$ac_exeext conftest.$ac_ext
22530 { echo "$as_me:$LINENO: result: $ax_pthread_ok" >&5
22531 echo "${ECHO_T}$ax_pthread_ok" >&6; }
22532 if test x"$ax_pthread_ok" = xno; then
22537 CFLAGS="$save_CFLAGS"
22540 # We must check for the threads library under a number of different
22541 # names; the ordering is very important because some systems
22542 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
22543 # libraries is broken (non-POSIX).
22545 # Create a list of thread flags to try. Items starting with a "-" are
22546 # C compiler flags, and other items are library names, except for "none"
22547 # which indicates that we try without any flags at all, and "pthread-config"
22548 # which is a program returning the flags for the Pth emulation library.
22550 ax_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
22552 # The ordering *is* (sometimes) important. Some notes on the
22553 # individual items follow:
22555 # pthreads: AIX (must check this before -lpthread)
22556 # none: in case threads are in libc; should be tried before -Kthread and
22557 # other compiler flags to prevent continual compiler warnings
22558 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
22559 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
22560 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
22561 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
22562 # -pthreads: Solaris/gcc
22563 # -mthreads: Mingw32/gcc, Lynx/gcc
22564 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
22565 # doesn't hurt to check since this sometimes defines pthreads too;
22566 # also defines -D_REENTRANT)
22567 # ... -mt is also the pthreads flag for HP/aCC
22568 # pthread: Linux, etcetera
22569 # --thread-safe: KAI C++
22570 # pthread-config: use pthread-config program (for GNU Pth library)
22572 case "${host_cpu}-${host_os}" in
22575 # On Solaris (at least, for some versions), libc contains stubbed
22576 # (non-functional) versions of the pthreads routines, so link-based
22577 # tests will erroneously succeed. (We need to link with -pthreads/-mt/
22578 # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
22579 # a function called by this macro, so we could check for that, but
22580 # who knows whether they'll stub that too in a future libc.) So,
22581 # we'll just look for -pthreads and -lpthread first:
22583 ax_pthread_flags="-pthreads pthread -mt -pthread $ax_pthread_flags"
22587 ax_pthread_flags="-pthread $ax_pthread_flags"
22591 if test x"$ax_pthread_ok" = xno; then
22592 for flag in $ax_pthread_flags; do
22596 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
22597 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
22601 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
22602 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
22603 PTHREAD_CFLAGS="$flag"
22607 # Extract the first word of "pthread-config", so it can be a program name with args.
22608 set dummy pthread-config; ac_word=$2
22609 { echo "$as_me:$LINENO: checking for $ac_word" >&5
22610 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22611 if test "${ac_cv_prog_ax_pthread_config+set}" = set; then
22612 echo $ECHO_N "(cached) $ECHO_C" >&6
22614 if test -n "$ax_pthread_config"; then
22615 ac_cv_prog_ax_pthread_config="$ax_pthread_config" # Let the user override the test.
22617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22618 for as_dir in $PATH
22621 test -z "$as_dir" && as_dir=.
22622 for ac_exec_ext in '' $ac_executable_extensions; do
22623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22624 ac_cv_prog_ax_pthread_config="yes"
22625 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22632 test -z "$ac_cv_prog_ax_pthread_config" && ac_cv_prog_ax_pthread_config="no"
22635 ax_pthread_config=$ac_cv_prog_ax_pthread_config
22636 if test -n "$ax_pthread_config"; then
22637 { echo "$as_me:$LINENO: result: $ax_pthread_config" >&5
22638 echo "${ECHO_T}$ax_pthread_config" >&6; }
22640 { echo "$as_me:$LINENO: result: no" >&5
22641 echo "${ECHO_T}no" >&6; }
22645 if test x"$ax_pthread_config" = xno; then continue; fi
22646 PTHREAD_CFLAGS="`pthread-config --cflags`"
22647 PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
22651 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
22652 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
22653 PTHREAD_LIBS="-l$flag"
22658 save_CFLAGS="$CFLAGS"
22659 LIBS="$PTHREAD_LIBS $LIBS"
22660 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
22662 # Check for various functions. We must include pthread.h,
22663 # since some functions may be macros. (On the Sequent, we
22664 # need a special flag -Kthread to make this header compile.)
22665 # We check for pthread_join because it is in -lpthread on IRIX
22666 # while pthread_create is in libc. We check for pthread_attr_init
22667 # due to DEC craziness with -lpthreads. We check for
22668 # pthread_cleanup_push because it is one of the few pthread
22669 # functions on Solaris that doesn't have a non-functional libc stub.
22670 # We try pthread_create on general principles.
22671 cat >conftest.$ac_ext <<_ACEOF
22674 cat confdefs.h >>conftest.$ac_ext
22675 cat >>conftest.$ac_ext <<_ACEOF
22676 /* end confdefs.h. */
22677 #include <pthread.h>
22678 static void routine(void *a) { a = 0; }
22679 static void *start_routine(void *a) { return a; }
22683 pthread_t th; pthread_attr_t attr;
22684 pthread_create(&th, 0, start_routine, 0);
22685 pthread_join(th, 0);
22686 pthread_attr_init(&attr);
22687 pthread_cleanup_push(routine, 0);
22688 pthread_cleanup_pop(0) /* ; */
22693 rm -f conftest.$ac_objext conftest$ac_exeext
22694 if { (ac_try="$ac_link"
22695 case "(($ac_try" in
22696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22697 *) ac_try_echo=$ac_try;;
22699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22700 (eval "$ac_link") 2>conftest.er1
22702 grep -v '^ *+' conftest.er1 >conftest.err
22704 cat conftest.err >&5
22705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22706 (exit $ac_status); } && {
22707 test -z "$ac_c_werror_flag" ||
22708 test ! -s conftest.err
22709 } && test -s conftest$ac_exeext &&
22710 $as_test_x conftest$ac_exeext; then
22713 echo "$as_me: failed program was:" >&5
22714 sed 's/^/| /' conftest.$ac_ext >&5
22719 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22720 conftest$ac_exeext conftest.$ac_ext
22723 CFLAGS="$save_CFLAGS"
22725 { echo "$as_me:$LINENO: result: $ax_pthread_ok" >&5
22726 echo "${ECHO_T}$ax_pthread_ok" >&6; }
22727 if test "x$ax_pthread_ok" = xyes; then
22736 # Various other checks:
22737 if test "x$ax_pthread_ok" = xyes; then
22739 LIBS="$PTHREAD_LIBS $LIBS"
22740 save_CFLAGS="$CFLAGS"
22741 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
22743 # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
22744 { echo "$as_me:$LINENO: checking for joinable pthread attribute" >&5
22745 echo $ECHO_N "checking for joinable pthread attribute... $ECHO_C" >&6; }
22747 for attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
22748 cat >conftest.$ac_ext <<_ACEOF
22751 cat confdefs.h >>conftest.$ac_ext
22752 cat >>conftest.$ac_ext <<_ACEOF
22753 /* end confdefs.h. */
22754 #include <pthread.h>
22758 int attr = $attr; return attr /* ; */
22763 rm -f conftest.$ac_objext conftest$ac_exeext
22764 if { (ac_try="$ac_link"
22765 case "(($ac_try" in
22766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22767 *) ac_try_echo=$ac_try;;
22769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22770 (eval "$ac_link") 2>conftest.er1
22772 grep -v '^ *+' conftest.er1 >conftest.err
22774 cat conftest.err >&5
22775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22776 (exit $ac_status); } && {
22777 test -z "$ac_c_werror_flag" ||
22778 test ! -s conftest.err
22779 } && test -s conftest$ac_exeext &&
22780 $as_test_x conftest$ac_exeext; then
22781 attr_name=$attr; break
22783 echo "$as_me: failed program was:" >&5
22784 sed 's/^/| /' conftest.$ac_ext >&5
22789 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22790 conftest$ac_exeext conftest.$ac_ext
22792 { echo "$as_me:$LINENO: result: $attr_name" >&5
22793 echo "${ECHO_T}$attr_name" >&6; }
22794 if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then
22796 cat >>confdefs.h <<_ACEOF
22797 #define PTHREAD_CREATE_JOINABLE $attr_name
22802 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
22803 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
22805 case "${host_cpu}-${host_os}" in
22806 *-aix* | *-freebsd* | *-darwin*) flag="-D_THREAD_SAFE";;
22807 *solaris* | *-osf* | *-hpux*) flag="-D_REENTRANT";;
22809 { echo "$as_me:$LINENO: result: ${flag}" >&5
22810 echo "${ECHO_T}${flag}" >&6; }
22811 if test "x$flag" != xno; then
22812 PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
22815 { echo "$as_me:$LINENO: checking for PTHREAD_PRIO_INHERIT" >&5
22816 echo $ECHO_N "checking for PTHREAD_PRIO_INHERIT... $ECHO_C" >&6; }
22817 if test "${ax_cv_PTHREAD_PRIO_INHERIT+set}" = set; then
22818 echo $ECHO_N "(cached) $ECHO_C" >&6
22821 cat >conftest.$ac_ext <<_ACEOF
22825 cat confdefs.h >>conftest.$ac_ext
22826 cat >>conftest.$ac_ext <<_ACEOF
22827 /* end confdefs.h. */
22828 #include <pthread.h>
22832 int i = PTHREAD_PRIO_INHERIT;
22837 rm -f conftest.$ac_objext conftest$ac_exeext
22838 if { (ac_try="$ac_link"
22839 case "(($ac_try" in
22840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22841 *) ac_try_echo=$ac_try;;
22843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22844 (eval "$ac_link") 2>conftest.er1
22846 grep -v '^ *+' conftest.er1 >conftest.err
22848 cat conftest.err >&5
22849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22850 (exit $ac_status); } && {
22851 test -z "$ac_c_werror_flag" ||
22852 test ! -s conftest.err
22853 } && test -s conftest$ac_exeext &&
22854 $as_test_x conftest$ac_exeext; then
22855 ax_cv_PTHREAD_PRIO_INHERIT=yes
22857 echo "$as_me: failed program was:" >&5
22858 sed 's/^/| /' conftest.$ac_ext >&5
22860 ax_cv_PTHREAD_PRIO_INHERIT=no
22863 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22864 conftest$ac_exeext conftest.$ac_ext
22867 { echo "$as_me:$LINENO: result: $ax_cv_PTHREAD_PRIO_INHERIT" >&5
22868 echo "${ECHO_T}$ax_cv_PTHREAD_PRIO_INHERIT" >&6; }
22869 if test "x$ax_cv_PTHREAD_PRIO_INHERIT" = "xyes"; then
22871 cat >>confdefs.h <<\_ACEOF
22872 #define HAVE_PTHREAD_PRIO_INHERIT 1
22879 CFLAGS="$save_CFLAGS"
22881 # More AIX lossage: must compile with xlc_r or cc_r
22882 if test x"$GCC" != xyes; then
22883 for ac_prog in xlc_r cc_r
22885 # Extract the first word of "$ac_prog", so it can be a program name with args.
22886 set dummy $ac_prog; ac_word=$2
22887 { echo "$as_me:$LINENO: checking for $ac_word" >&5
22888 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22889 if test "${ac_cv_prog_PTHREAD_CC+set}" = set; then
22890 echo $ECHO_N "(cached) $ECHO_C" >&6
22892 if test -n "$PTHREAD_CC"; then
22893 ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
22895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22896 for as_dir in $PATH
22899 test -z "$as_dir" && as_dir=.
22900 for ac_exec_ext in '' $ac_executable_extensions; do
22901 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22902 ac_cv_prog_PTHREAD_CC="$ac_prog"
22903 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22912 PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
22913 if test -n "$PTHREAD_CC"; then
22914 { echo "$as_me:$LINENO: result: $PTHREAD_CC" >&5
22915 echo "${ECHO_T}$PTHREAD_CC" >&6; }
22917 { echo "$as_me:$LINENO: result: no" >&5
22918 echo "${ECHO_T}no" >&6; }
22922 test -n "$PTHREAD_CC" && break
22924 test -n "$PTHREAD_CC" || PTHREAD_CC="${CC}"
22937 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
22938 if test x"$ax_pthread_ok" = xyes; then
22941 cat >>confdefs.h <<\_ACEOF
22942 #define HAVE_PTHREAD 1
22951 cat >>confdefs.h <<\_ACEOF
22952 #define HAVE_PTHREAD 0
22958 ac_cpp='$CPP $CPPFLAGS'
22959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22966 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
22967 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
22968 if test "${ac_cv_search_gethostbyname+set}" = set; then
22969 echo $ECHO_N "(cached) $ECHO_C" >&6
22971 ac_func_search_save_LIBS=$LIBS
22972 cat >conftest.$ac_ext <<_ACEOF
22975 cat confdefs.h >>conftest.$ac_ext
22976 cat >>conftest.$ac_ext <<_ACEOF
22977 /* end confdefs.h. */
22979 /* Override any GCC internal prototype to avoid an error.
22980 Use char because int might match the return type of a GCC
22981 builtin and then its argument prototype would still apply. */
22985 char gethostbyname ();
22989 return gethostbyname ();
22994 for ac_lib in '' nsl; do
22995 if test -z "$ac_lib"; then
22996 ac_res="none required"
22999 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
23001 rm -f conftest.$ac_objext conftest$ac_exeext
23002 if { (ac_try="$ac_link"
23003 case "(($ac_try" in
23004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23005 *) ac_try_echo=$ac_try;;
23007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23008 (eval "$ac_link") 2>conftest.er1
23010 grep -v '^ *+' conftest.er1 >conftest.err
23012 cat conftest.err >&5
23013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23014 (exit $ac_status); } && {
23015 test -z "$ac_c_werror_flag" ||
23016 test ! -s conftest.err
23017 } && test -s conftest$ac_exeext &&
23018 $as_test_x conftest$ac_exeext; then
23019 ac_cv_search_gethostbyname=$ac_res
23021 echo "$as_me: failed program was:" >&5
23022 sed 's/^/| /' conftest.$ac_ext >&5
23027 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23029 if test "${ac_cv_search_gethostbyname+set}" = set; then
23033 if test "${ac_cv_search_gethostbyname+set}" = set; then
23036 ac_cv_search_gethostbyname=no
23038 rm conftest.$ac_ext
23039 LIBS=$ac_func_search_save_LIBS
23041 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
23042 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
23043 ac_res=$ac_cv_search_gethostbyname
23044 if test "$ac_res" != no; then
23045 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
23049 { echo "$as_me:$LINENO: checking for library containing socket" >&5
23050 echo $ECHO_N "checking for library containing socket... $ECHO_C" >&6; }
23051 if test "${ac_cv_search_socket+set}" = set; then
23052 echo $ECHO_N "(cached) $ECHO_C" >&6
23054 ac_func_search_save_LIBS=$LIBS
23055 cat >conftest.$ac_ext <<_ACEOF
23058 cat confdefs.h >>conftest.$ac_ext
23059 cat >>conftest.$ac_ext <<_ACEOF
23060 /* end confdefs.h. */
23062 /* Override any GCC internal prototype to avoid an error.
23063 Use char because int might match the return type of a GCC
23064 builtin and then its argument prototype would still apply. */
23077 for ac_lib in '' socket; do
23078 if test -z "$ac_lib"; then
23079 ac_res="none required"
23082 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
23084 rm -f conftest.$ac_objext conftest$ac_exeext
23085 if { (ac_try="$ac_link"
23086 case "(($ac_try" in
23087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23088 *) ac_try_echo=$ac_try;;
23090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23091 (eval "$ac_link") 2>conftest.er1
23093 grep -v '^ *+' conftest.er1 >conftest.err
23095 cat conftest.err >&5
23096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23097 (exit $ac_status); } && {
23098 test -z "$ac_c_werror_flag" ||
23099 test ! -s conftest.err
23100 } && test -s conftest$ac_exeext &&
23101 $as_test_x conftest$ac_exeext; then
23102 ac_cv_search_socket=$ac_res
23104 echo "$as_me: failed program was:" >&5
23105 sed 's/^/| /' conftest.$ac_ext >&5
23110 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23112 if test "${ac_cv_search_socket+set}" = set; then
23116 if test "${ac_cv_search_socket+set}" = set; then
23119 ac_cv_search_socket=no
23121 rm conftest.$ac_ext
23122 LIBS=$ac_func_search_save_LIBS
23124 { echo "$as_me:$LINENO: result: $ac_cv_search_socket" >&5
23125 echo "${ECHO_T}$ac_cv_search_socket" >&6; }
23126 ac_res=$ac_cv_search_socket
23127 if test "$ac_res" != no; then
23128 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
23132 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
23133 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
23134 if test "${ac_cv_lib_socket_socket+set}" = set; then
23135 echo $ECHO_N "(cached) $ECHO_C" >&6
23137 ac_check_lib_save_LIBS=$LIBS
23138 LIBS="-lsocket -lnsl $LIBS"
23139 cat >conftest.$ac_ext <<_ACEOF
23142 cat confdefs.h >>conftest.$ac_ext
23143 cat >>conftest.$ac_ext <<_ACEOF
23144 /* end confdefs.h. */
23146 /* Override any GCC internal prototype to avoid an error.
23147 Use char because int might match the return type of a GCC
23148 builtin and then its argument prototype would still apply. */
23161 rm -f conftest.$ac_objext conftest$ac_exeext
23162 if { (ac_try="$ac_link"
23163 case "(($ac_try" in
23164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23165 *) ac_try_echo=$ac_try;;
23167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23168 (eval "$ac_link") 2>conftest.er1
23170 grep -v '^ *+' conftest.er1 >conftest.err
23172 cat conftest.err >&5
23173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23174 (exit $ac_status); } && {
23175 test -z "$ac_c_werror_flag" ||
23176 test ! -s conftest.err
23177 } && test -s conftest$ac_exeext &&
23178 $as_test_x conftest$ac_exeext; then
23179 ac_cv_lib_socket_socket=yes
23181 echo "$as_me: failed program was:" >&5
23182 sed 's/^/| /' conftest.$ac_ext >&5
23184 ac_cv_lib_socket_socket=no
23187 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23188 conftest$ac_exeext conftest.$ac_ext
23189 LIBS=$ac_check_lib_save_LIBS
23191 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
23192 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
23193 if test $ac_cv_lib_socket_socket = yes; then
23194 LIBS="-lsocket -lnsl $LIBS"
23201 GCCWARNINGS="-Wall -fno-strict-aliasing -W -Wfloat-equal -Wundef \
23202 -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
23203 -Wwrite-strings -Wredundant-decls -Wchar-subscripts -Wcomment \
23204 -Wformat=2 -Wwrite-strings -Wmissing-declarations -Wredundant-decls \
23205 -Wnested-externs -Wbad-function-cast -Wswitch-enum -Winit-self \
23206 -Wmissing-field-initializers -Wdeclaration-after-statement \
23207 -Wold-style-definition -Waddress -Wmissing-noreturn -Wnormalized=id \
23208 -Woverride-init -Wstrict-overflow=1 -Wextra -Wstack-protector -Wformat \
23209 -Wformat-security -Wpointer-sign -Wshadow -Wswitch-default"
23213 GCCWARNINGS="$GCCWARNINGS -Warray-bounds"
23217 # Check whether --enable-gcc-lots-o-warnings was given.
23218 if test "${enable_gcc_lots_o_warnings+set}" = set; then
23219 enableval=$enable_gcc_lots_o_warnings; if test x$enableval = xyes; then
23220 AM_CFLAGS="$AM_CFLAGS $GCCWARNINGS"
23225 # Check whether --enable-gcc-hardening was given.
23226 if test "${enable_gcc_hardening+set}" = set; then
23227 enableval=$enable_gcc_hardening; if test x$enableval = xyes; then
23228 AM_CFLAGS="$AM_CFLAGS -D_FORTIFY_SOURCE=2 -fstack-protector-all"
23229 AM_CFLAGS="$AM_CFLAGS -fwrapv -fPIE -Wstack-protector"
23230 AM_CFLAGS="$AM_CFLAGS --param ssp-buffer-size=1"
23231 LDFLAGS="$LDFLAGS -pie"
23236 # Check whether --enable-linker-hardening was given.
23237 if test "${enable_linker_hardening+set}" = set; then
23238 enableval=$enable_linker_hardening; if test x$enableval = xyes; then
23239 LDFLAGS="$LDFLAGS -z relro -z now"
23246 HEX_VERSION=`echo $VERSION | sed 's|\-a-z0-9*$||' | \
23247 awk -F. '{printf "0x%0.2d%0.3d%0.3d", $1, $2, $3}'`
23250 AM_CFLAGS="$AM_CFLAGS $CFLAG_VISIBILITY"
23255 ac_config_files="$ac_config_files stamp-h"
23257 ac_config_files="$ac_config_files Makefile"
23259 ac_config_files="$ac_config_files cyassl/version.h"
23261 ac_config_files="$ac_config_files support/libcyassl.pc"
23264 cat >confcache <<\_ACEOF
23265 # This file is a shell script that caches the results of configure
23266 # tests run on this system so they can be shared between configure
23267 # scripts and configure runs, see configure's option --config-cache.
23268 # It is not useful on other systems. If it contains results you don't
23269 # want to keep, you may remove or edit it.
23271 # config.status only pays attention to the cache file if you give it
23272 # the --recheck option to rerun configure.
23274 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23275 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23276 # following values.
23280 # The following way of writing the cache mishandles newlines in values,
23281 # but we know of no workaround that is simple, portable, and efficient.
23282 # So, we kill variables containing newlines.
23283 # Ultrix sh set writes to stderr and can't be redirected directly,
23284 # and sets the high bit in the cache file unless we assign to the vars.
23286 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
23287 eval ac_val=\$$ac_var
23291 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
23292 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
23295 _ | IFS | as_nl) ;; #(
23296 *) $as_unset $ac_var ;;
23302 case $as_nl`(ac_space=' '; set) 2>&1` in #(
23303 *${as_nl}ac_space=\ *)
23304 # `set' does not quote correctly, so add quotes (double-quote
23305 # substitution turns \\\\ into \\, and sed turns \\ into \).
23308 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23311 # `set' quotes correctly as required by POSIX, so do not add quotes.
23312 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
23321 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23323 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23325 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
23326 if test -w "$cache_file"; then
23327 test "x$cache_file" != "x/dev/null" &&
23328 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
23329 echo "$as_me: updating cache $cache_file" >&6;}
23330 cat confcache >$cache_file
23332 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
23333 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
23338 test "x$prefix" = xNONE && prefix=$ac_default_prefix
23339 # Let make expand exec_prefix.
23340 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
23342 DEFS=-DHAVE_CONFIG_H
23346 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
23347 # 1. Remove the extension, and $U if already installed.
23348 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
23349 ac_i=`echo "$ac_i" | sed "$ac_script"`
23350 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
23351 # will be set to the directory where LIBOBJS objects are built.
23352 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
23353 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
23355 LIBOBJS=$ac_libobjs
23357 LTLIBOBJS=$ac_ltlibobjs
23360 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
23361 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
23362 Usually this means the macro was only invoked conditionally." >&5
23363 echo "$as_me: error: conditional \"AMDEP\" was never defined.
23364 Usually this means the macro was only invoked conditionally." >&2;}
23365 { (exit 1); exit 1; }; }
23367 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
23368 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
23369 Usually this means the macro was only invoked conditionally." >&5
23370 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
23371 Usually this means the macro was only invoked conditionally." >&2;}
23372 { (exit 1); exit 1; }; }
23374 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
23375 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
23376 Usually this means the macro was only invoked conditionally." >&5
23377 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
23378 Usually this means the macro was only invoked conditionally." >&2;}
23379 { (exit 1); exit 1; }; }
23381 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
23382 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
23383 Usually this means the macro was only invoked conditionally." >&5
23384 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
23385 Usually this means the macro was only invoked conditionally." >&2;}
23386 { (exit 1); exit 1; }; }
23388 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
23389 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
23390 Usually this means the macro was only invoked conditionally." >&5
23391 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
23392 Usually this means the macro was only invoked conditionally." >&2;}
23393 { (exit 1); exit 1; }; }
23395 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
23396 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCCAS\" was never defined.
23397 Usually this means the macro was only invoked conditionally." >&5
23398 echo "$as_me: error: conditional \"am__fastdepCCAS\" was never defined.
23399 Usually this means the macro was only invoked conditionally." >&2;}
23400 { (exit 1); exit 1; }; }
23402 if test -z "${BUILD_FASTMATH_TRUE}" && test -z "${BUILD_FASTMATH_FALSE}"; then
23403 { { echo "$as_me:$LINENO: error: conditional \"BUILD_FASTMATH\" was never defined.
23404 Usually this means the macro was only invoked conditionally." >&5
23405 echo "$as_me: error: conditional \"BUILD_FASTMATH\" was never defined.
23406 Usually this means the macro was only invoked conditionally." >&2;}
23407 { (exit 1); exit 1; }; }
23409 if test -z "${BUILD_SNIFFER_TRUE}" && test -z "${BUILD_SNIFFER_FALSE}"; then
23410 { { echo "$as_me:$LINENO: error: conditional \"BUILD_SNIFFER\" was never defined.
23411 Usually this means the macro was only invoked conditionally." >&5
23412 echo "$as_me: error: conditional \"BUILD_SNIFFER\" was never defined.
23413 Usually this means the macro was only invoked conditionally." >&2;}
23414 { (exit 1); exit 1; }; }
23416 if test -z "${BUILD_AESGCM_TRUE}" && test -z "${BUILD_AESGCM_FALSE}"; then
23417 { { echo "$as_me:$LINENO: error: conditional \"BUILD_AESGCM\" was never defined.
23418 Usually this means the macro was only invoked conditionally." >&5
23419 echo "$as_me: error: conditional \"BUILD_AESGCM\" was never defined.
23420 Usually this means the macro was only invoked conditionally." >&2;}
23421 { (exit 1); exit 1; }; }
23423 if test -z "${BUILD_AESNI_TRUE}" && test -z "${BUILD_AESNI_FALSE}"; then
23424 { { echo "$as_me:$LINENO: error: conditional \"BUILD_AESNI\" was never defined.
23425 Usually this means the macro was only invoked conditionally." >&5
23426 echo "$as_me: error: conditional \"BUILD_AESNI\" was never defined.
23427 Usually this means the macro was only invoked conditionally." >&2;}
23428 { (exit 1); exit 1; }; }
23430 if test -z "${BUILD_MD2_TRUE}" && test -z "${BUILD_MD2_FALSE}"; then
23431 { { echo "$as_me:$LINENO: error: conditional \"BUILD_MD2\" was never defined.
23432 Usually this means the macro was only invoked conditionally." >&5
23433 echo "$as_me: error: conditional \"BUILD_MD2\" was never defined.
23434 Usually this means the macro was only invoked conditionally." >&2;}
23435 { (exit 1); exit 1; }; }
23437 if test -z "${BUILD_RIPEMD_TRUE}" && test -z "${BUILD_RIPEMD_FALSE}"; then
23438 { { echo "$as_me:$LINENO: error: conditional \"BUILD_RIPEMD\" was never defined.
23439 Usually this means the macro was only invoked conditionally." >&5
23440 echo "$as_me: error: conditional \"BUILD_RIPEMD\" was never defined.
23441 Usually this means the macro was only invoked conditionally." >&2;}
23442 { (exit 1); exit 1; }; }
23444 if test -z "${BUILD_SHA512_TRUE}" && test -z "${BUILD_SHA512_FALSE}"; then
23445 { { echo "$as_me:$LINENO: error: conditional \"BUILD_SHA512\" was never defined.
23446 Usually this means the macro was only invoked conditionally." >&5
23447 echo "$as_me: error: conditional \"BUILD_SHA512\" was never defined.
23448 Usually this means the macro was only invoked conditionally." >&2;}
23449 { (exit 1); exit 1; }; }
23451 if test -z "${BUILD_HC128_TRUE}" && test -z "${BUILD_HC128_FALSE}"; then
23452 { { echo "$as_me:$LINENO: error: conditional \"BUILD_HC128\" was never defined.
23453 Usually this means the macro was only invoked conditionally." >&5
23454 echo "$as_me: error: conditional \"BUILD_HC128\" was never defined.
23455 Usually this means the macro was only invoked conditionally." >&2;}
23456 { (exit 1); exit 1; }; }
23458 if test -z "${BUILD_NOINLINE_TRUE}" && test -z "${BUILD_NOINLINE_FALSE}"; then
23459 { { echo "$as_me:$LINENO: error: conditional \"BUILD_NOINLINE\" was never defined.
23460 Usually this means the macro was only invoked conditionally." >&5
23461 echo "$as_me: error: conditional \"BUILD_NOINLINE\" was never defined.
23462 Usually this means the macro was only invoked conditionally." >&2;}
23463 { (exit 1); exit 1; }; }
23465 if test -z "${BUILD_ECC_TRUE}" && test -z "${BUILD_ECC_FALSE}"; then
23466 { { echo "$as_me:$LINENO: error: conditional \"BUILD_ECC\" was never defined.
23467 Usually this means the macro was only invoked conditionally." >&5
23468 echo "$as_me: error: conditional \"BUILD_ECC\" was never defined.
23469 Usually this means the macro was only invoked conditionally." >&2;}
23470 { (exit 1); exit 1; }; }
23472 if test -z "${BUILD_OCSP_TRUE}" && test -z "${BUILD_OCSP_FALSE}"; then
23473 { { echo "$as_me:$LINENO: error: conditional \"BUILD_OCSP\" was never defined.
23474 Usually this means the macro was only invoked conditionally." >&5
23475 echo "$as_me: error: conditional \"BUILD_OCSP\" was never defined.
23476 Usually this means the macro was only invoked conditionally." >&2;}
23477 { (exit 1); exit 1; }; }
23479 if test -z "${BUILD_CRL_TRUE}" && test -z "${BUILD_CRL_FALSE}"; then
23480 { { echo "$as_me:$LINENO: error: conditional \"BUILD_CRL\" was never defined.
23481 Usually this means the macro was only invoked conditionally." >&5
23482 echo "$as_me: error: conditional \"BUILD_CRL\" was never defined.
23483 Usually this means the macro was only invoked conditionally." >&2;}
23484 { (exit 1); exit 1; }; }
23486 if test -z "${BUILD_CRL_MONITOR_TRUE}" && test -z "${BUILD_CRL_MONITOR_FALSE}"; then
23487 { { echo "$as_me:$LINENO: error: conditional \"BUILD_CRL_MONITOR\" was never defined.
23488 Usually this means the macro was only invoked conditionally." >&5
23489 echo "$as_me: error: conditional \"BUILD_CRL_MONITOR\" was never defined.
23490 Usually this means the macro was only invoked conditionally." >&2;}
23491 { (exit 1); exit 1; }; }
23493 if test -z "${BUILD_NTRU_TRUE}" && test -z "${BUILD_NTRU_FALSE}"; then
23494 { { echo "$as_me:$LINENO: error: conditional \"BUILD_NTRU\" was never defined.
23495 Usually this means the macro was only invoked conditionally." >&5
23496 echo "$as_me: error: conditional \"BUILD_NTRU\" was never defined.
23497 Usually this means the macro was only invoked conditionally." >&2;}
23498 { (exit 1); exit 1; }; }
23501 : ${CONFIG_STATUS=./config.status}
23502 ac_clean_files_save=$ac_clean_files
23503 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
23504 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
23505 echo "$as_me: creating $CONFIG_STATUS" >&6;}
23506 cat >$CONFIG_STATUS <<_ACEOF
23508 # Generated by $as_me.
23509 # Run this file to recreate the current configuration.
23510 # Compiler output produced by configure, useful for debugging
23511 # configure, is in config.log if it exists.
23514 ac_cs_recheck=false
23516 SHELL=\${CONFIG_SHELL-$SHELL}
23519 cat >>$CONFIG_STATUS <<\_ACEOF
23520 ## --------------------- ##
23521 ## M4sh Initialization. ##
23522 ## --------------------- ##
23524 # Be more Bourne compatible
23525 DUALCASE=1; export DUALCASE # for MKS sh
23526 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
23529 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
23530 # is contrary to our usage. Disable this feature.
23531 alias -g '${1+"$@"}'='"$@"'
23532 setopt NO_GLOB_SUBST
23534 case `(set -o) 2>/dev/null` in
23535 *posix*) set -o posix ;;
23544 # Avoid depending upon Character Ranges.
23545 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
23546 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23547 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
23548 as_cr_digits='0123456789'
23549 as_cr_alnum=$as_cr_Letters$as_cr_digits
23551 # The user is always right.
23552 if test "${PATH_SEPARATOR+set}" != set; then
23553 echo "#! /bin/sh" >conf$$.sh
23554 echo "exit 0" >>conf$$.sh
23556 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
23564 # Support unset when possible.
23565 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
23573 # We need space, tab and new line, in precisely that order. Quoting is
23574 # there to prevent editors from complaining about space-tab.
23575 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
23576 # splitting by setting IFS to empty value.)
23581 # Find who we are. Look in the path if we contain no directory separator.
23583 *[\\/]* ) as_myself=$0 ;;
23584 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23585 for as_dir in $PATH
23588 test -z "$as_dir" && as_dir=.
23589 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
23595 # We did not find ourselves, most probably we were run as `sh COMMAND'
23596 # in which case we are not to be found in the path.
23597 if test "x$as_myself" = x; then
23600 if test ! -f "$as_myself"; then
23601 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
23602 { (exit 1); exit 1; }
23605 # Work around bugs in pre-3.0 UWIN ksh.
23606 for as_var in ENV MAIL MAILPATH
23607 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
23615 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
23616 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
23617 LC_TELEPHONE LC_TIME
23619 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
23620 eval $as_var=C; export $as_var
23622 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
23626 # Required to use basename.
23627 if expr a : '\(a\)' >/dev/null 2>&1 &&
23628 test "X`expr 00001 : '.*\(...\)'`" = X001; then
23634 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
23635 as_basename=basename
23641 # Name of the executable.
23642 as_me=`$as_basename -- "$0" ||
23643 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23644 X"$0" : 'X\(//\)$' \| \
23645 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
23647 sed '/^.*\/\([^/][^/]*\)\/*$/{
23666 as_lineno_1=$LINENO
23667 as_lineno_2=$LINENO
23668 test "x$as_lineno_1" != "x$as_lineno_2" &&
23669 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
23671 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
23672 # uniformly replaced by the line number. The first 'sed' inserts a
23673 # line-number line after each line using $LINENO; the second 'sed'
23674 # does the real work. The second script uses 'N' to pair each
23675 # line-number line with the line containing $LINENO, and appends
23676 # trailing '-' during substitution so that $LINENO is not a special
23677 # case at line end.
23678 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
23679 # scripts with optimization help from Paolo Bonzini. Blame Lee
23680 # E. McMahon (1931-1989) for sed's syntax. :-)
23692 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
23695 ' >$as_me.lineno &&
23696 chmod +x "$as_me.lineno" ||
23697 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
23698 { (exit 1); exit 1; }; }
23700 # Don't try to exec as it changes $[0], causing all sort of problems
23701 # (the dirname of $[0] is not the place where we might find the
23702 # original and so on. Autoconf is especially sensitive to this).
23703 . "./$as_me.lineno"
23704 # Exit status is that of the last command.
23709 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
23715 ECHO_C= ECHO_N= ECHO_T=
23716 case `echo -n x` in
23718 case `echo 'x\c'` in
23719 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
23726 if expr a : '\(a\)' >/dev/null 2>&1 &&
23727 test "X`expr 00001 : '.*\(...\)'`" = X001; then
23733 rm -f conf$$ conf$$.exe conf$$.file
23734 if test -d conf$$.dir; then
23735 rm -f conf$$.dir/conf$$.file
23741 if ln -s conf$$.file conf$$ 2>/dev/null; then
23743 # ... but there are two gotchas:
23744 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
23745 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
23746 # In both cases, we have to default to `cp -p'.
23747 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
23749 elif ln conf$$.file conf$$ 2>/dev/null; then
23754 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
23755 rmdir conf$$.dir 2>/dev/null
23757 if mkdir -p . 2>/dev/null; then
23760 test -d ./-p && rmdir ./-p
23764 if test -x / >/dev/null 2>&1; then
23765 as_test_x='test -x'
23767 if ls -dL / >/dev/null 2>&1; then
23774 if test -d "$1"; then
23780 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
23781 ???[sx]*):;;*)false;;esac;fi
23785 as_executable_p=$as_test_x
23787 # Sed expression to map a string onto a valid CPP name.
23788 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23790 # Sed expression to map a string onto a valid variable name.
23791 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23796 # Save the log message, to keep $[0] and so on meaningful, and to
23797 # report actual input values of CONFIG_FILES etc. instead of their
23798 # values after options handling.
23800 This file was extended by cyassl $as_me 2.3.0, which was
23801 generated by GNU Autoconf 2.61. Invocation command line was
23803 CONFIG_FILES = $CONFIG_FILES
23804 CONFIG_HEADERS = $CONFIG_HEADERS
23805 CONFIG_LINKS = $CONFIG_LINKS
23806 CONFIG_COMMANDS = $CONFIG_COMMANDS
23809 on `(hostname || uname -n) 2>/dev/null | sed 1q`
23814 cat >>$CONFIG_STATUS <<_ACEOF
23815 # Files that config.status was made for.
23816 config_files="$ac_config_files"
23817 config_headers="$ac_config_headers"
23818 config_commands="$ac_config_commands"
23822 cat >>$CONFIG_STATUS <<\_ACEOF
23824 \`$as_me' instantiates files from templates according to the
23825 current configuration.
23827 Usage: $0 [OPTIONS] [FILE]...
23829 -h, --help print this help, then exit
23830 -V, --version print version number and configuration settings, then exit
23831 -q, --quiet do not print progress messages
23832 -d, --debug don't remove temporary files
23833 --recheck update $as_me by reconfiguring in the same conditions
23834 --file=FILE[:TEMPLATE]
23835 instantiate the configuration file FILE
23836 --header=FILE[:TEMPLATE]
23837 instantiate the configuration header FILE
23839 Configuration files:
23842 Configuration headers:
23845 Configuration commands:
23848 Report bugs to <bug-autoconf@gnu.org>."
23851 cat >>$CONFIG_STATUS <<_ACEOF
23853 cyassl config.status 2.3.0
23854 configured by $0, generated by GNU Autoconf 2.61,
23855 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
23857 Copyright (C) 2006 Free Software Foundation, Inc.
23858 This config.status script is free software; the Free Software Foundation
23859 gives unlimited permission to copy, distribute and modify it."
23867 cat >>$CONFIG_STATUS <<\_ACEOF
23868 # If no file are specified by the user, then we need to provide default
23869 # value. By we need to know if files were specified by the user.
23875 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23876 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
23887 # Handling of the options.
23888 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23890 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
23891 echo "$ac_cs_version"; exit ;;
23892 --debug | --debu | --deb | --de | --d | -d )
23894 --file | --fil | --fi | --f )
23896 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
23897 ac_need_defaults=false;;
23898 --header | --heade | --head | --hea )
23900 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
23901 ac_need_defaults=false;;
23903 # Conflict between --help and --header
23904 { echo "$as_me: error: ambiguous option: $1
23905 Try \`$0 --help' for more information." >&2
23906 { (exit 1); exit 1; }; };;
23907 --help | --hel | -h )
23908 echo "$ac_cs_usage"; exit ;;
23909 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23910 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23913 # This is an error.
23914 -*) { echo "$as_me: error: unrecognized option: $1
23915 Try \`$0 --help' for more information." >&2
23916 { (exit 1); exit 1; }; } ;;
23918 *) ac_config_targets="$ac_config_targets $1"
23919 ac_need_defaults=false ;;
23925 ac_configure_extra_args=
23927 if $ac_cs_silent; then
23929 ac_configure_extra_args="$ac_configure_extra_args --silent"
23933 cat >>$CONFIG_STATUS <<_ACEOF
23934 if \$ac_cs_recheck; then
23935 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
23936 CONFIG_SHELL=$SHELL
23937 export CONFIG_SHELL
23938 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23942 cat >>$CONFIG_STATUS <<\_ACEOF
23946 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23947 ## Running $as_me. ##
23953 cat >>$CONFIG_STATUS <<_ACEOF
23957 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
23960 # The HP-UX ksh and POSIX shell print the target directory to stdout
23961 # if CDPATH is set.
23962 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
23964 sed_quote_subst='$sed_quote_subst'
23965 double_quote_subst='$double_quote_subst'
23966 delay_variable_subst='$delay_variable_subst'
23967 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
23968 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
23969 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
23970 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
23971 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
23972 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
23973 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
23974 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
23975 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
23976 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
23977 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
23978 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
23979 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
23980 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
23981 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
23982 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
23983 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
23984 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
23985 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
23986 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
23987 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
23988 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
23989 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
23990 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
23991 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
23992 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
23993 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
23994 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
23995 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
23996 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
23997 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
23998 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
23999 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
24000 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
24001 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
24002 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
24003 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
24004 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
24005 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
24006 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
24007 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
24008 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
24009 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
24010 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
24011 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
24012 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
24013 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
24014 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
24015 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
24016 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
24017 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
24018 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
24019 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
24020 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
24021 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
24022 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
24023 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
24024 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
24025 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
24026 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
24027 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
24028 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
24029 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
24030 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
24031 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
24032 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
24033 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
24034 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
24035 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
24036 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
24037 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
24038 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
24039 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
24040 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
24041 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
24042 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
24043 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
24044 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
24045 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
24046 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
24047 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
24048 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
24049 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
24050 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
24051 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
24052 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
24053 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
24054 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
24055 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
24056 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
24057 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
24058 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
24059 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
24060 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
24061 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
24062 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
24063 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
24064 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
24065 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
24066 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
24067 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
24068 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
24069 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
24070 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
24071 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
24072 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
24073 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
24074 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
24075 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
24076 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
24077 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
24078 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
24079 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
24080 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
24081 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
24082 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
24083 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
24084 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
24085 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
24086 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
24087 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
24088 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
24089 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
24090 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
24091 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
24092 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
24093 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
24094 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
24095 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
24096 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
24097 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24098 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24099 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
24100 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
24101 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
24102 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
24103 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
24104 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
24105 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
24106 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
24107 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
24108 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
24109 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
24110 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
24111 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24112 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24113 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24114 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24115 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24116 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24117 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
24118 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
24119 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
24120 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
24121 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
24122 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
24123 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
24124 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
24125 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
24126 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
24127 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
24128 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
24129 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
24130 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
24131 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
24132 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24133 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
24134 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
24135 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24136 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
24137 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
24138 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
24139 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
24140 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
24141 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
24142 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
24143 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
24146 LTCFLAGS='$LTCFLAGS'
24147 compiler='$compiler_DEFAULT'
24149 # A function that is used when there is no print builtin or printf.
24150 func_fallback_echo ()
24152 eval 'cat <<_LTECHO_EOF
24157 # Quote evaled strings.
24173 deplibs_check_method \
24182 lt_cv_sys_global_symbol_pipe \
24183 lt_cv_sys_global_symbol_to_cdecl \
24184 lt_cv_sys_global_symbol_to_c_name_address \
24185 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
24186 lt_prog_compiler_no_builtin_flag \
24187 lt_prog_compiler_wl \
24188 lt_prog_compiler_pic \
24189 lt_prog_compiler_static \
24190 lt_cv_prog_compiler_c_o \
24198 export_dynamic_flag_spec \
24199 whole_archive_flag_spec \
24200 compiler_needs_object \
24202 allow_undefined_flag \
24203 no_undefined_flag \
24204 hardcode_libdir_flag_spec \
24205 hardcode_libdir_flag_spec_ld \
24206 hardcode_libdir_separator \
24211 variables_saved_for_relink \
24213 library_names_spec \
24215 install_override_mode \
24219 compiler_lib_search_dirs \
24224 compiler_lib_search_path \
24228 lt_prog_compiler_no_builtin_flag_CXX \
24229 lt_prog_compiler_wl_CXX \
24230 lt_prog_compiler_pic_CXX \
24231 lt_prog_compiler_static_CXX \
24232 lt_cv_prog_compiler_c_o_CXX \
24233 export_dynamic_flag_spec_CXX \
24234 whole_archive_flag_spec_CXX \
24235 compiler_needs_object_CXX \
24237 allow_undefined_flag_CXX \
24238 no_undefined_flag_CXX \
24239 hardcode_libdir_flag_spec_CXX \
24240 hardcode_libdir_flag_spec_ld_CXX \
24241 hardcode_libdir_separator_CXX \
24242 fix_srcfile_path_CXX \
24243 exclude_expsyms_CXX \
24244 include_expsyms_CXX \
24245 file_list_spec_CXX \
24246 compiler_lib_search_dirs_CXX \
24247 predep_objects_CXX \
24248 postdep_objects_CXX \
24251 compiler_lib_search_path_CXX; do
24252 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
24253 *[\\\\\\\`\\"\\\$]*)
24254 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
24257 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
24262 # Double-quote double-evaled strings.
24263 for var in reload_cmds \
24264 old_postinstall_cmds \
24265 old_postuninstall_cmds \
24267 extract_expsyms_cmds \
24268 old_archive_from_new_cmds \
24269 old_archive_from_expsyms_cmds \
24271 archive_expsym_cmds \
24273 module_expsym_cmds \
24274 export_symbols_cmds \
24277 postuninstall_cmds \
24279 sys_lib_search_path_spec \
24280 sys_lib_dlsearch_path_spec \
24282 old_archive_cmds_CXX \
24283 old_archive_from_new_cmds_CXX \
24284 old_archive_from_expsyms_cmds_CXX \
24286 archive_expsym_cmds_CXX \
24288 module_expsym_cmds_CXX \
24289 export_symbols_cmds_CXX \
24290 prelink_cmds_CXX; do
24291 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
24292 *[\\\\\\\`\\"\\\$]*)
24293 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
24296 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
24301 ac_aux_dir='$ac_aux_dir'
24302 xsi_shell='$xsi_shell'
24303 lt_shell_append='$lt_shell_append'
24305 # See if we are running on zsh, and set the options which allow our
24306 # commands through without removal of \ escapes INIT.
24307 if test -n "\${ZSH_VERSION+set}" ; then
24308 setopt NO_GLOB_SUBST
24314 TIMESTAMP='$TIMESTAMP'
24325 cat >>$CONFIG_STATUS <<\_ACEOF
24327 # Handling of arguments.
24328 for ac_config_target in $ac_config_targets
24330 case $ac_config_target in
24331 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
24332 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
24333 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
24334 "stamp-h") CONFIG_FILES="$CONFIG_FILES stamp-h" ;;
24335 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
24336 "cyassl/version.h") CONFIG_FILES="$CONFIG_FILES cyassl/version.h" ;;
24337 "support/libcyassl.pc") CONFIG_FILES="$CONFIG_FILES support/libcyassl.pc" ;;
24339 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
24340 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
24341 { (exit 1); exit 1; }; };;
24346 # If the user did not use the arguments to specify the items to instantiate,
24347 # then the envvar interface is used. Set only those that are not.
24348 # We use the long form for the default assignment because of an extremely
24349 # bizarre bug on SunOS 4.1.3.
24350 if $ac_need_defaults; then
24351 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
24352 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
24353 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
24356 # Have a temporary directory for convenience. Make it in the build tree
24357 # simply because there is no reason against having it here, and in addition,
24358 # creating and moving files from /tmp can sometimes cause problems.
24359 # Hook for its removal unless debugging.
24360 # Note that there is a small window in which the directory will not be cleaned:
24361 # after its creation but before its name has been assigned to `$tmp'.
24365 trap 'exit_status=$?
24366 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
24368 trap '{ (exit 1); exit 1; }' 1 2 13 15
24370 # Create a (secure) tmp directory for tmp files.
24373 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
24374 test -n "$tmp" && test -d "$tmp"
24377 tmp=./conf$$-$RANDOM
24378 (umask 077 && mkdir "$tmp")
24381 echo "$me: cannot create a temporary directory in ." >&2
24382 { (exit 1); exit 1; }
24386 # Set up the sed scripts for CONFIG_FILES section.
24389 # No need to generate the scripts if there are no CONFIG_FILES.
24390 # This happens for instance when ./config.status config.h
24391 if test -n "$CONFIG_FILES"; then
24398 for ac_last_try in false false false false false :; do
24399 cat >conf$$subs.sed <<_ACEOF
24400 SHELL!$SHELL$ac_delim
24401 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
24402 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
24403 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
24404 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
24405 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
24406 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
24407 exec_prefix!$exec_prefix$ac_delim
24408 prefix!$prefix$ac_delim
24409 program_transform_name!$program_transform_name$ac_delim
24410 bindir!$bindir$ac_delim
24411 sbindir!$sbindir$ac_delim
24412 libexecdir!$libexecdir$ac_delim
24413 datarootdir!$datarootdir$ac_delim
24414 datadir!$datadir$ac_delim
24415 sysconfdir!$sysconfdir$ac_delim
24416 sharedstatedir!$sharedstatedir$ac_delim
24417 localstatedir!$localstatedir$ac_delim
24418 includedir!$includedir$ac_delim
24419 oldincludedir!$oldincludedir$ac_delim
24420 docdir!$docdir$ac_delim
24421 infodir!$infodir$ac_delim
24422 htmldir!$htmldir$ac_delim
24423 dvidir!$dvidir$ac_delim
24424 pdfdir!$pdfdir$ac_delim
24425 psdir!$psdir$ac_delim
24426 libdir!$libdir$ac_delim
24427 localedir!$localedir$ac_delim
24428 mandir!$mandir$ac_delim
24429 DEFS!$DEFS$ac_delim
24430 ECHO_C!$ECHO_C$ac_delim
24431 ECHO_N!$ECHO_N$ac_delim
24432 ECHO_T!$ECHO_T$ac_delim
24433 LIBS!$LIBS$ac_delim
24434 build_alias!$build_alias$ac_delim
24435 host_alias!$host_alias$ac_delim
24436 target_alias!$target_alias$ac_delim
24437 build!$build$ac_delim
24438 build_cpu!$build_cpu$ac_delim
24439 build_vendor!$build_vendor$ac_delim
24440 build_os!$build_os$ac_delim
24441 host!$host$ac_delim
24442 host_cpu!$host_cpu$ac_delim
24443 host_vendor!$host_vendor$ac_delim
24444 host_os!$host_os$ac_delim
24445 target!$target$ac_delim
24446 target_cpu!$target_cpu$ac_delim
24447 target_vendor!$target_vendor$ac_delim
24448 target_os!$target_os$ac_delim
24449 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
24450 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
24451 INSTALL_DATA!$INSTALL_DATA$ac_delim
24452 am__isrc!$am__isrc$ac_delim
24453 CYGPATH_W!$CYGPATH_W$ac_delim
24454 PACKAGE!$PACKAGE$ac_delim
24455 VERSION!$VERSION$ac_delim
24456 ACLOCAL!$ACLOCAL$ac_delim
24457 AUTOCONF!$AUTOCONF$ac_delim
24458 AUTOMAKE!$AUTOMAKE$ac_delim
24459 AUTOHEADER!$AUTOHEADER$ac_delim
24460 MAKEINFO!$MAKEINFO$ac_delim
24461 install_sh!$install_sh$ac_delim
24462 STRIP!$STRIP$ac_delim
24463 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
24464 mkdir_p!$mkdir_p$ac_delim
24466 SET_MAKE!$SET_MAKE$ac_delim
24467 am__leading_dot!$am__leading_dot$ac_delim
24468 AMTAR!$AMTAR$ac_delim
24469 am__tar!$am__tar$ac_delim
24470 am__untar!$am__untar$ac_delim
24471 CYASSL_LIBRARY_VERSION!$CYASSL_LIBRARY_VERSION$ac_delim
24473 DLLTOOL!$DLLTOOL$ac_delim
24474 OBJDUMP!$OBJDUMP$ac_delim
24475 LIBTOOL!$LIBTOOL$ac_delim
24477 CFLAGS!$CFLAGS$ac_delim
24478 LDFLAGS!$LDFLAGS$ac_delim
24479 CPPFLAGS!$CPPFLAGS$ac_delim
24480 ac_ct_CC!$ac_ct_CC$ac_delim
24481 EXEEXT!$EXEEXT$ac_delim
24482 OBJEXT!$OBJEXT$ac_delim
24483 DEPDIR!$DEPDIR$ac_delim
24484 am__include!$am__include$ac_delim
24485 am__quote!$am__quote$ac_delim
24486 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
24487 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
24488 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
24489 CCDEPMODE!$CCDEPMODE$ac_delim
24490 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
24491 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
24493 GREP!$GREP$ac_delim
24494 EGREP!$EGREP$ac_delim
24495 FGREP!$FGREP$ac_delim
24499 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
24501 elif $ac_last_try; then
24502 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
24503 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
24504 { (exit 1); exit 1; }; }
24506 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
24510 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
24511 if test -n "$ac_eof"; then
24512 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
24513 ac_eof=`expr $ac_eof + 1`
24516 cat >>$CONFIG_STATUS <<_ACEOF
24517 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
24518 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24521 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
24522 s/^/s,@/; s/!/@,|#_!!_#|/
24525 s/'"$ac_delim"'$/,g/; t
24527 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
24528 ' >>$CONFIG_STATUS <conf$$subs.sed
24529 rm -f conf$$subs.sed
24530 cat >>$CONFIG_STATUS <<_ACEOF
24536 for ac_last_try in false false false false false :; do
24537 cat >conf$$subs.sed <<_ACEOF
24538 DUMPBIN!$DUMPBIN$ac_delim
24539 ac_ct_DUMPBIN!$ac_ct_DUMPBIN$ac_delim
24541 LN_S!$LN_S$ac_delim
24543 RANLIB!$RANLIB$ac_delim
24544 DSYMUTIL!$DSYMUTIL$ac_delim
24545 NMEDIT!$NMEDIT$ac_delim
24546 LIPO!$LIPO$ac_delim
24547 OTOOL!$OTOOL$ac_delim
24548 OTOOL64!$OTOOL64$ac_delim
24551 CXXFLAGS!$CXXFLAGS$ac_delim
24552 ac_ct_CXX!$ac_ct_CXX$ac_delim
24553 CXXDEPMODE!$CXXDEPMODE$ac_delim
24554 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
24555 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
24556 CXXCPP!$CXXCPP$ac_delim
24557 CFLAG_VISIBILITY!$CFLAG_VISIBILITY$ac_delim
24558 HAVE_VISIBILITY!$HAVE_VISIBILITY$ac_delim
24559 LIBOBJS!$LIBOBJS$ac_delim
24560 CCAS!$CCAS$ac_delim
24561 CCASFLAGS!$CCASFLAGS$ac_delim
24562 CCASDEPMODE!$CCASDEPMODE$ac_delim
24563 am__fastdepCCAS_TRUE!$am__fastdepCCAS_TRUE$ac_delim
24564 am__fastdepCCAS_FALSE!$am__fastdepCCAS_FALSE$ac_delim
24565 LIBM!$LIBM$ac_delim
24566 BUILD_FASTMATH_TRUE!$BUILD_FASTMATH_TRUE$ac_delim
24567 BUILD_FASTMATH_FALSE!$BUILD_FASTMATH_FALSE$ac_delim
24568 BUILD_SNIFFER_TRUE!$BUILD_SNIFFER_TRUE$ac_delim
24569 BUILD_SNIFFER_FALSE!$BUILD_SNIFFER_FALSE$ac_delim
24570 BUILD_AESGCM_TRUE!$BUILD_AESGCM_TRUE$ac_delim
24571 BUILD_AESGCM_FALSE!$BUILD_AESGCM_FALSE$ac_delim
24572 BUILD_AESNI_TRUE!$BUILD_AESNI_TRUE$ac_delim
24573 BUILD_AESNI_FALSE!$BUILD_AESNI_FALSE$ac_delim
24574 BUILD_MD2_TRUE!$BUILD_MD2_TRUE$ac_delim
24575 BUILD_MD2_FALSE!$BUILD_MD2_FALSE$ac_delim
24576 BUILD_RIPEMD_TRUE!$BUILD_RIPEMD_TRUE$ac_delim
24577 BUILD_RIPEMD_FALSE!$BUILD_RIPEMD_FALSE$ac_delim
24578 BUILD_SHA512_TRUE!$BUILD_SHA512_TRUE$ac_delim
24579 BUILD_SHA512_FALSE!$BUILD_SHA512_FALSE$ac_delim
24580 BUILD_HC128_TRUE!$BUILD_HC128_TRUE$ac_delim
24581 BUILD_HC128_FALSE!$BUILD_HC128_FALSE$ac_delim
24582 BUILD_NOINLINE_TRUE!$BUILD_NOINLINE_TRUE$ac_delim
24583 BUILD_NOINLINE_FALSE!$BUILD_NOINLINE_FALSE$ac_delim
24584 BUILD_ECC_TRUE!$BUILD_ECC_TRUE$ac_delim
24585 BUILD_ECC_FALSE!$BUILD_ECC_FALSE$ac_delim
24586 BUILD_OCSP_TRUE!$BUILD_OCSP_TRUE$ac_delim
24587 BUILD_OCSP_FALSE!$BUILD_OCSP_FALSE$ac_delim
24588 BUILD_CRL_TRUE!$BUILD_CRL_TRUE$ac_delim
24589 BUILD_CRL_FALSE!$BUILD_CRL_FALSE$ac_delim
24590 BUILD_CRL_MONITOR_TRUE!$BUILD_CRL_MONITOR_TRUE$ac_delim
24591 BUILD_CRL_MONITOR_FALSE!$BUILD_CRL_MONITOR_FALSE$ac_delim
24592 BUILD_NTRU_TRUE!$BUILD_NTRU_TRUE$ac_delim
24593 BUILD_NTRU_FALSE!$BUILD_NTRU_FALSE$ac_delim
24594 ax_pthread_config!$ax_pthread_config$ac_delim
24595 PTHREAD_CC!$PTHREAD_CC$ac_delim
24596 PTHREAD_LIBS!$PTHREAD_LIBS$ac_delim
24597 PTHREAD_CFLAGS!$PTHREAD_CFLAGS$ac_delim
24598 HEX_VERSION!$HEX_VERSION$ac_delim
24599 AM_CFLAGS!$AM_CFLAGS$ac_delim
24600 AM_LDFLAGS!$AM_LDFLAGS$ac_delim
24601 LTLIBOBJS!$LTLIBOBJS$ac_delim
24604 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 64; then
24606 elif $ac_last_try; then
24607 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
24608 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
24609 { (exit 1); exit 1; }; }
24611 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
24615 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
24616 if test -n "$ac_eof"; then
24617 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
24618 ac_eof=`expr $ac_eof + 1`
24621 cat >>$CONFIG_STATUS <<_ACEOF
24622 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
24623 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
24626 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
24627 s/^/s,@/; s/!/@,|#_!!_#|/
24630 s/'"$ac_delim"'$/,g/; t
24632 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
24633 ' >>$CONFIG_STATUS <conf$$subs.sed
24634 rm -f conf$$subs.sed
24635 cat >>$CONFIG_STATUS <<_ACEOF
24642 # VPATH may cause trouble with some makes, so we remove $(srcdir),
24643 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
24644 # trailing colons and then remove the whole line if VPATH becomes empty
24645 # (actually we leave an empty line to preserve line numbers).
24646 if test "x$srcdir" = x.; then
24647 ac_vpsub='/^[ ]*VPATH[ ]*=/{
24648 s/:*\$(srcdir):*/:/
24649 s/:*\${srcdir}:*/:/
24651 s/^\([^=]*=[ ]*\):*/\1/
24657 cat >>$CONFIG_STATUS <<\_ACEOF
24658 fi # test -n "$CONFIG_FILES"
24661 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
24664 :[FHLC]) ac_mode=$ac_tag; continue;;
24666 case $ac_mode$ac_tag in
24668 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
24669 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
24670 { (exit 1); exit 1; }; };;
24671 :[FH]-) ac_tag=-:-;;
24672 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
24689 -) ac_f="$tmp/stdin";;
24690 *) # Look for the file first in the build tree, then in the source tree
24691 # (if the path is not absolute). The absolute path cannot be DOS-style,
24692 # because $ac_f cannot contain `:'.
24696 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
24698 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
24699 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
24700 { (exit 1); exit 1; }; };;
24702 ac_file_inputs="$ac_file_inputs $ac_f"
24705 # Let's still pretend it is `configure' which instantiates (i.e., don't
24706 # use $as_me), people would be surprised to read:
24707 # /* config.h. Generated by config.status. */
24708 configure_input="Generated from "`IFS=:
24709 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
24710 if test x"$ac_file" != x-; then
24711 configure_input="$ac_file. $configure_input"
24712 { echo "$as_me:$LINENO: creating $ac_file" >&5
24713 echo "$as_me: creating $ac_file" >&6;}
24717 *:-:* | *:-) cat >"$tmp/stdin";;
24722 ac_dir=`$as_dirname -- "$ac_file" ||
24723 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24724 X"$ac_file" : 'X\(//\)[^/]' \| \
24725 X"$ac_file" : 'X\(//\)$' \| \
24726 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
24728 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24732 /^X\(\/\/\)[^/].*/{
24747 -*) as_dir=./$as_dir;;
24749 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
24753 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
24754 *) as_qdir=$as_dir;;
24756 as_dirs="'$as_qdir' $as_dirs"
24757 as_dir=`$as_dirname -- "$as_dir" ||
24758 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24759 X"$as_dir" : 'X\(//\)[^/]' \| \
24760 X"$as_dir" : 'X\(//\)$' \| \
24761 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
24763 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24767 /^X\(\/\/\)[^/].*/{
24780 test -d "$as_dir" && break
24782 test -z "$as_dirs" || eval "mkdir $as_dirs"
24783 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
24784 echo "$as_me: error: cannot create directory $as_dir" >&2;}
24785 { (exit 1); exit 1; }; }; }
24789 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
24791 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24792 # A ".." for each directory in $ac_dir_suffix.
24793 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
24794 case $ac_top_builddir_sub in
24795 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
24796 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
24799 ac_abs_top_builddir=$ac_pwd
24800 ac_abs_builddir=$ac_pwd$ac_dir_suffix
24801 # for backward compatibility:
24802 ac_top_builddir=$ac_top_build_prefix
24805 .) # We are building in place.
24807 ac_top_srcdir=$ac_top_builddir_sub
24808 ac_abs_top_srcdir=$ac_pwd ;;
24809 [\\/]* | ?:[\\/]* ) # Absolute name.
24810 ac_srcdir=$srcdir$ac_dir_suffix;
24811 ac_top_srcdir=$srcdir
24812 ac_abs_top_srcdir=$srcdir ;;
24813 *) # Relative name.
24814 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
24815 ac_top_srcdir=$ac_top_build_prefix$srcdir
24816 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
24818 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
24828 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
24829 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
24831 ac_MKDIR_P=$MKDIR_P
24833 [\\/$]* | ?:[\\/]* ) ;;
24834 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
24838 cat >>$CONFIG_STATUS <<\_ACEOF
24839 # If the template does not know about datarootdir, expand it.
24840 # FIXME: This hack should be removed a few years after 2.60.
24841 ac_datarootdir_hack=; ac_datarootdir_seen=
24843 case `sed -n '/datarootdir/ {
24852 ' $ac_file_inputs` in
24853 *datarootdir*) ac_datarootdir_seen=yes;;
24854 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
24855 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
24856 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
24858 cat >>$CONFIG_STATUS <<_ACEOF
24859 ac_datarootdir_hack='
24860 s&@datadir@&$datadir&g
24861 s&@docdir@&$docdir&g
24862 s&@infodir@&$infodir&g
24863 s&@localedir@&$localedir&g
24864 s&@mandir@&$mandir&g
24865 s&\\\${datarootdir}&$datarootdir&g' ;;
24869 # Neutralize VPATH when `$srcdir' = `.'.
24870 # Shell code in configure.ac might set extrasub.
24871 # FIXME: do we really want to maintain this feature?
24872 cat >>$CONFIG_STATUS <<_ACEOF
24876 cat >>$CONFIG_STATUS <<\_ACEOF
24878 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24879 s&@configure_input@&$configure_input&;t t
24880 s&@top_builddir@&$ac_top_builddir_sub&;t t
24881 s&@srcdir@&$ac_srcdir&;t t
24882 s&@abs_srcdir@&$ac_abs_srcdir&;t t
24883 s&@top_srcdir@&$ac_top_srcdir&;t t
24884 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
24885 s&@builddir@&$ac_builddir&;t t
24886 s&@abs_builddir@&$ac_abs_builddir&;t t
24887 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
24888 s&@INSTALL@&$ac_INSTALL&;t t
24889 s&@MKDIR_P@&$ac_MKDIR_P&;t t
24890 $ac_datarootdir_hack
24891 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
24893 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
24894 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
24895 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
24896 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
24897 which seems to be undefined. Please make sure it is defined." >&5
24898 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
24899 which seems to be undefined. Please make sure it is defined." >&2;}
24903 -) cat "$tmp/out"; rm -f "$tmp/out";;
24904 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
24913 # Transform confdefs.h into a sed script `conftest.defines', that
24914 # substitutes the proper values into config.h.in to produce config.h.
24915 rm -f conftest.defines conftest.tail
24916 # First, append a space to every undef/define line, to ease matching.
24917 echo 's/$/ /' >conftest.defines
24918 # Then, protect against being on the right side of a sed subst, or in
24919 # an unquoted here document, in config.status. If some macros were
24920 # called several times there might be several #defines for the same
24921 # symbol, which is useless. But do not sort them, since the last
24922 # AC_DEFINE must be honored.
24923 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
24924 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
24925 # NAME is the cpp macro being defined, VALUE is the value it is being given.
24926 # PARAMS is the parameter list in the macro definition--in most cases, it's
24927 # just an empty string.
24928 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
24929 ac_dB='\\)[ (].*,\\1define\\2'
24937 s/^[ ]*#[ ]*define[ ][ ]*//
24942 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
24943 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
24944 ' >>conftest.defines
24946 # Remove the space that was appended to ease matching.
24947 # Then replace #undef with comments. This is necessary, for
24948 # example, in the case of _POSIX_SOURCE, which is predefined and required
24949 # on some systems where configure will not decide to define it.
24950 # (The regexp can be short, since the line contains either #define or #undef.)
24952 s,^[ #]*u.*,/* & */,' >>conftest.defines
24954 # Break up conftest.defines:
24955 ac_max_sed_lines=50
24957 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
24958 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
24959 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
24961 ac_in='$ac_file_inputs'
24962 ac_out='"$tmp/out1"'
24963 ac_nxt='"$tmp/out2"'
24967 # Write a here document:
24968 cat >>$CONFIG_STATUS <<_ACEOF
24969 # First, check the format of the line:
24970 cat >"\$tmp/defines.sed" <<\\CEOF
24971 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*/b def
24972 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
24976 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
24978 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
24979 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
24980 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
24981 grep . conftest.tail >/dev/null || break
24982 rm -f conftest.defines
24983 mv conftest.tail conftest.defines
24985 rm -f conftest.defines conftest.tail
24987 echo "ac_result=$ac_in" >>$CONFIG_STATUS
24988 cat >>$CONFIG_STATUS <<\_ACEOF
24989 if test x"$ac_file" != x-; then
24990 echo "/* $configure_input */" >"$tmp/config.h"
24991 cat "$ac_result" >>"$tmp/config.h"
24992 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
24993 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24994 echo "$as_me: $ac_file is unchanged" >&6;}
24997 mv "$tmp/config.h" $ac_file
25000 echo "/* $configure_input */"
25004 # Compute $ac_file's index in $config_headers.
25006 for _am_header in $config_headers :; do
25007 case $_am_header in
25008 $ac_file | $ac_file:* )
25011 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
25014 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
25015 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25016 X$ac_file : 'X\(//\)[^/]' \| \
25017 X$ac_file : 'X\(//\)$' \| \
25018 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
25020 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25024 /^X\(\/\/\)[^/].*/{
25036 s/.*/./; q'`/stamp-h$_am_stamp_count
25039 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
25040 echo "$as_me: executing $ac_file commands" >&6;}
25045 case $ac_file$ac_mode in
25046 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
25047 # Strip MF so we end up with the name of the file.
25048 mf=`echo "$mf" | sed -e 's/:.*$//'`
25049 # Check whether this is an Automake generated Makefile or not.
25050 # We used to match only the files named `Makefile.in', but
25051 # some people rename them; so instead we look at the file content.
25052 # Grep'ing the first line is not enough: some people post-process
25053 # each Makefile.in and add a new line on top of each file to say so.
25054 # Grep'ing the whole file is not good either: AIX grep has a line
25055 # limit of 2048, but all sed's we know have understand at least 4000.
25056 if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
25057 dirpart=`$as_dirname -- "$mf" ||
25058 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25059 X"$mf" : 'X\(//\)[^/]' \| \
25060 X"$mf" : 'X\(//\)$' \| \
25061 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
25063 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25067 /^X\(\/\/\)[^/].*/{
25083 # Extract the definition of DEPDIR, am__include, and am__quote
25084 # from the Makefile without running `make'.
25085 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
25086 test -z "$DEPDIR" && continue
25087 am__include=`sed -n 's/^am__include = //p' < "$mf"`
25088 test -z "am__include" && continue
25089 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
25090 # When using ansi2knr, U may be empty or an underscore; expand it
25091 U=`sed -n 's/^U = //p' < "$mf"`
25092 # Find all dependency output files, they are included files with
25093 # $(DEPDIR) in their names. We invoke sed twice because it is the
25094 # simplest approach to changing $(DEPDIR) to its actual value in the
25096 for file in `sed -n "
25097 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
25098 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
25099 # Make sure the directory exists.
25100 test -f "$dirpart/$file" && continue
25101 fdir=`$as_dirname -- "$file" ||
25102 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25103 X"$file" : 'X\(//\)[^/]' \| \
25104 X"$file" : 'X\(//\)$' \| \
25105 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
25107 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25111 /^X\(\/\/\)[^/].*/{
25124 { as_dir=$dirpart/$fdir
25126 -*) as_dir=./$as_dir;;
25128 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
25132 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
25133 *) as_qdir=$as_dir;;
25135 as_dirs="'$as_qdir' $as_dirs"
25136 as_dir=`$as_dirname -- "$as_dir" ||
25137 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25138 X"$as_dir" : 'X\(//\)[^/]' \| \
25139 X"$as_dir" : 'X\(//\)$' \| \
25140 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25142 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25146 /^X\(\/\/\)[^/].*/{
25159 test -d "$as_dir" && break
25161 test -z "$as_dirs" || eval "mkdir $as_dirs"
25162 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
25163 echo "$as_me: error: cannot create directory $as_dir" >&2;}
25164 { (exit 1); exit 1; }; }; }
25165 # echo "creating $dirpart/$file"
25166 echo '# dummy' > "$dirpart/$file"
25172 # See if we are running on zsh, and set the options which allow our
25173 # commands through without removal of \ escapes.
25174 if test -n "${ZSH_VERSION+set}" ; then
25175 setopt NO_GLOB_SUBST
25178 cfgfile="${ofile}T"
25179 trap "$RM -f \"$cfgfile\"; exit 1" 1 2 15
25182 cat <<_LT_EOF >> "$cfgfile"
25185 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
25186 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
25187 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
25188 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
25190 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
25191 # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
25193 # Written by Gordon Matzigkeit, 1996
25195 # This file is part of GNU Libtool.
25197 # GNU Libtool is free software; you can redistribute it and/or
25198 # modify it under the terms of the GNU General Public License as
25199 # published by the Free Software Foundation; either version 2 of
25200 # the License, or (at your option) any later version.
25202 # As a special exception to the GNU General Public License,
25203 # if you distribute this file as part of a program or library that
25204 # is built using GNU Libtool, you may include this file under the
25205 # same distribution terms that you use for the rest of that program.
25207 # GNU Libtool is distributed in the hope that it will be useful,
25208 # but WITHOUT ANY WARRANTY; without even the implied warranty of
25209 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25210 # GNU General Public License for more details.
25212 # You should have received a copy of the GNU General Public License
25213 # along with GNU Libtool; see the file COPYING. If not, a copy
25214 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
25215 # obtained by writing to the Free Software Foundation, Inc.,
25216 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
25219 # The names of the tagged configurations supported by this script.
25220 available_tags="CXX "
25222 # ### BEGIN LIBTOOL CONFIG
25224 # Which release of libtool.m4 was used?
25225 macro_version=$macro_version
25226 macro_revision=$macro_revision
25228 # Assembler program.
25231 # DLL creation program.
25232 DLLTOOL=$lt_DLLTOOL
25234 # Object dumper program.
25235 OBJDUMP=$lt_OBJDUMP
25237 # Whether or not to build shared libraries.
25238 build_libtool_libs=$enable_shared
25240 # Whether or not to build static libraries.
25241 build_old_libs=$enable_static
25243 # What type of objects to build.
25246 # Whether or not to optimize for fast installation.
25247 fast_install=$enable_fast_install
25249 # Shell to use when invoking shell scripts.
25252 # An echo program that protects backslashes.
25256 host_alias=$host_alias
25260 # The build system.
25261 build_alias=$build_alias
25265 # A sed program that does not truncate output.
25268 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
25269 Xsed="\$SED -e 1s/^X//"
25271 # A grep program that handles long lines.
25277 # A literal string matcher.
25280 # A BSD- or MS-compatible name lister.
25283 # Whether we need soft or hard links.
25286 # What is the maximum length of a command?
25287 max_cmd_len=$max_cmd_len
25289 # Object file suffix (normally "o").
25292 # Executable file suffix (normally "").
25295 # whether the shell understands "unset".
25298 # turn spaces into newlines.
25301 # turn newlines into spaces.
25304 # Method to check whether dependent libraries are shared objects.
25305 deplibs_check_method=$lt_deplibs_check_method
25307 # Command to use when deplibs_check_method == "file_magic".
25308 file_magic_cmd=$lt_file_magic_cmd
25312 AR_FLAGS=$lt_AR_FLAGS
25314 # A symbol stripping program.
25317 # Commands used to install an old-style archive.
25319 old_postinstall_cmds=$lt_old_postinstall_cmds
25320 old_postuninstall_cmds=$lt_old_postuninstall_cmds
25322 # Whether to use a lock for old archive extraction.
25323 lock_old_archive_extraction=$lock_old_archive_extraction
25328 # LTCC compiler flags.
25329 LTCFLAGS=$lt_CFLAGS
25331 # Take the output of nm and produce a listing of raw symbols and C names.
25332 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
25334 # Transform the output of nm in a proper C declaration.
25335 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
25337 # Transform the output of nm in a C name address pair.
25338 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
25340 # Transform the output of nm in a C name address pair when lib prefix is needed.
25341 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
25343 # The name of the directory that contains temporary libtool files.
25346 # Used to examine libraries when file_magic_cmd begins with "file".
25347 MAGIC_CMD=$MAGIC_CMD
25349 # Must we lock files when doing compilation?
25350 need_locks=$lt_need_locks
25352 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
25353 DSYMUTIL=$lt_DSYMUTIL
25355 # Tool to change global to local symbols on Mac OS X.
25358 # Tool to manipulate fat objects and archives on Mac OS X.
25361 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
25364 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
25365 OTOOL64=$lt_OTOOL64
25367 # Old archive suffix (normally "a").
25370 # Shared library suffix (normally ".so").
25371 shrext_cmds=$lt_shrext_cmds
25373 # The commands to extract the exported symbol list from a shared archive.
25374 extract_expsyms_cmds=$lt_extract_expsyms_cmds
25376 # Variables whose values should be saved in libtool wrapper scripts and
25377 # restored at link time.
25378 variables_saved_for_relink=$lt_variables_saved_for_relink
25380 # Do we need the "lib" prefix for modules?
25381 need_lib_prefix=$need_lib_prefix
25383 # Do we need a version for libraries?
25384 need_version=$need_version
25386 # Library versioning type.
25387 version_type=$version_type
25389 # Shared library runtime path variable.
25390 runpath_var=$runpath_var
25392 # Shared library path variable.
25393 shlibpath_var=$shlibpath_var
25395 # Is shlibpath searched before the hard-coded library search path?
25396 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
25398 # Format of library name prefix.
25399 libname_spec=$lt_libname_spec
25401 # List of archive names. First name is the real one, the rest are links.
25402 # The last name is the one that the linker finds with -lNAME
25403 library_names_spec=$lt_library_names_spec
25405 # The coded name of the library, if different from the real name.
25406 soname_spec=$lt_soname_spec
25408 # Permission mode override for installation of shared libraries.
25409 install_override_mode=$lt_install_override_mode
25411 # Command to use after installation of a shared archive.
25412 postinstall_cmds=$lt_postinstall_cmds
25414 # Command to use after uninstallation of a shared archive.
25415 postuninstall_cmds=$lt_postuninstall_cmds
25417 # Commands used to finish a libtool library installation in a directory.
25418 finish_cmds=$lt_finish_cmds
25420 # As "finish_cmds", except a single script fragment to be evaled but
25422 finish_eval=$lt_finish_eval
25424 # Whether we should hardcode library paths into libraries.
25425 hardcode_into_libs=$hardcode_into_libs
25427 # Compile-time system search path for libraries.
25428 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
25430 # Run-time system search path for libraries.
25431 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
25433 # Whether dlopen is supported.
25434 dlopen_support=$enable_dlopen
25436 # Whether dlopen of programs is supported.
25437 dlopen_self=$enable_dlopen_self
25439 # Whether dlopen of statically linked programs is supported.
25440 dlopen_self_static=$enable_dlopen_self_static
25442 # Commands to strip libraries.
25443 old_striplib=$lt_old_striplib
25444 striplib=$lt_striplib
25447 # The linker used to build libraries.
25450 # How to create reloadable object files.
25451 reload_flag=$lt_reload_flag
25452 reload_cmds=$lt_reload_cmds
25454 # Commands used to build an old-style archive.
25455 old_archive_cmds=$lt_old_archive_cmds
25457 # A language specific compiler.
25460 # Is the compiler the GNU compiler?
25463 # Compiler flag to turn off builtin functions.
25464 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
25466 # How to pass a linker flag through the compiler.
25467 wl=$lt_lt_prog_compiler_wl
25469 # Additional compiler flags for building library objects.
25470 pic_flag=$lt_lt_prog_compiler_pic
25472 # Compiler flag to prevent dynamic linking.
25473 link_static_flag=$lt_lt_prog_compiler_static
25475 # Does compiler simultaneously support -c and -o options?
25476 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
25478 # Whether or not to add -lc for building shared libraries.
25479 build_libtool_need_lc=$archive_cmds_need_lc
25481 # Whether or not to disallow shared libs when runtime libs are static.
25482 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
25484 # Compiler flag to allow reflexive dlopens.
25485 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
25487 # Compiler flag to generate shared objects directly from archives.
25488 whole_archive_flag_spec=$lt_whole_archive_flag_spec
25490 # Whether the compiler copes with passing no objects directly.
25491 compiler_needs_object=$lt_compiler_needs_object
25493 # Create an old-style archive from a shared archive.
25494 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
25496 # Create a temporary old-style archive to link instead of a shared archive.
25497 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
25499 # Commands used to build a shared archive.
25500 archive_cmds=$lt_archive_cmds
25501 archive_expsym_cmds=$lt_archive_expsym_cmds
25503 # Commands used to build a loadable module if different from building
25504 # a shared archive.
25505 module_cmds=$lt_module_cmds
25506 module_expsym_cmds=$lt_module_expsym_cmds
25508 # Whether we are building with GNU ld or not.
25509 with_gnu_ld=$lt_with_gnu_ld
25511 # Flag that allows shared libraries with undefined symbols to be built.
25512 allow_undefined_flag=$lt_allow_undefined_flag
25514 # Flag that enforces no undefined symbols.
25515 no_undefined_flag=$lt_no_undefined_flag
25517 # Flag to hardcode \$libdir into a binary during linking.
25518 # This must work even if \$libdir does not exist
25519 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
25521 # If ld is used when linking, flag to hardcode \$libdir into a binary
25522 # during linking. This must work even if \$libdir does not exist.
25523 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
25525 # Whether we need a single "-rpath" flag with a separated argument.
25526 hardcode_libdir_separator=$lt_hardcode_libdir_separator
25528 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
25529 # DIR into the resulting binary.
25530 hardcode_direct=$hardcode_direct
25532 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
25533 # DIR into the resulting binary and the resulting library dependency is
25534 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
25535 # library is relocated.
25536 hardcode_direct_absolute=$hardcode_direct_absolute
25538 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
25539 # into the resulting binary.
25540 hardcode_minus_L=$hardcode_minus_L
25542 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
25543 # into the resulting binary.
25544 hardcode_shlibpath_var=$hardcode_shlibpath_var
25546 # Set to "yes" if building a shared library automatically hardcodes DIR
25547 # into the library and all subsequent libraries and executables linked
25549 hardcode_automatic=$hardcode_automatic
25551 # Set to yes if linker adds runtime paths of dependent libraries
25552 # to runtime path list.
25553 inherit_rpath=$inherit_rpath
25555 # Whether libtool must link a program against all its dependency libraries.
25556 link_all_deplibs=$link_all_deplibs
25558 # Fix the shell variable \$srcfile for the compiler.
25559 fix_srcfile_path=$lt_fix_srcfile_path
25561 # Set to "yes" if exported symbols are required.
25562 always_export_symbols=$always_export_symbols
25564 # The commands to list exported symbols.
25565 export_symbols_cmds=$lt_export_symbols_cmds
25567 # Symbols that should not be listed in the preloaded symbols.
25568 exclude_expsyms=$lt_exclude_expsyms
25570 # Symbols that must always be exported.
25571 include_expsyms=$lt_include_expsyms
25573 # Commands necessary for linking programs (against libraries) with templates.
25574 prelink_cmds=$lt_prelink_cmds
25576 # Specify filename containing input files.
25577 file_list_spec=$lt_file_list_spec
25579 # How to hardcode a shared library path into an executable.
25580 hardcode_action=$hardcode_action
25582 # The directories searched by this compiler when creating a shared library.
25583 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
25585 # Dependencies to place before and after the objects being linked to
25586 # create a shared library.
25587 predep_objects=$lt_predep_objects
25588 postdep_objects=$lt_postdep_objects
25589 predeps=$lt_predeps
25590 postdeps=$lt_postdeps
25592 # The library search path used internally by the compiler when linking
25593 # a shared library.
25594 compiler_lib_search_path=$lt_compiler_lib_search_path
25596 # ### END LIBTOOL CONFIG
25602 cat <<\_LT_EOF >> "$cfgfile"
25603 # AIX sometimes has problems with the GCC collect2 program. For some
25604 # reason, if we set the COLLECT_NAMES environment variable, the problems
25605 # vanish in a puff of smoke.
25606 if test "X${COLLECT_NAMES+set}" != Xset; then
25608 export COLLECT_NAMES
25615 ltmain="$ac_aux_dir/ltmain.sh"
25618 # We use sed instead of cat because bash on DJGPP gets confused if
25619 # if finds mixed CR/LF and LF-only lines. Since sed operates in
25620 # text mode, it properly converts lines to CR/LF. This bash problem
25621 # is reportedly fixed, but why not run on old versions too?
25622 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
25623 || (rm -f "$cfgfile"; exit 1)
25627 cat << \_LT_EOF >> "$cfgfile"
25629 # func_dirname file append nondir_replacement
25630 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
25631 # otherwise set result to NONDIR_REPLACEMENT.
25635 */*) func_dirname_result="${1%/*}${2}" ;;
25636 * ) func_dirname_result="${3}" ;;
25640 # func_basename file
25643 func_basename_result="${1##*/}"
25646 # func_dirname_and_basename file append nondir_replacement
25647 # perform func_basename and func_dirname in a single function
25649 # dirname: Compute the dirname of FILE. If nonempty,
25650 # add APPEND to the result, otherwise set result
25651 # to NONDIR_REPLACEMENT.
25652 # value returned in "$func_dirname_result"
25653 # basename: Compute filename of FILE.
25654 # value retuned in "$func_basename_result"
25655 # Implementation must be kept synchronized with func_dirname
25656 # and func_basename. For efficiency, we do not delegate to
25657 # those functions but instead duplicate the functionality here.
25658 func_dirname_and_basename ()
25661 */*) func_dirname_result="${1%/*}${2}" ;;
25662 * ) func_dirname_result="${3}" ;;
25664 func_basename_result="${1##*/}"
25667 # func_stripname prefix suffix name
25668 # strip PREFIX and SUFFIX off of NAME.
25669 # PREFIX and SUFFIX must not contain globbing or regex special
25670 # characters, hashes, percent signs, but SUFFIX may contain a leading
25671 # dot (in which case that matches only a dot).
25674 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
25675 # positional parameters, so assign one to ordinary parameter first.
25676 func_stripname_result=${3}
25677 func_stripname_result=${func_stripname_result#"${1}"}
25678 func_stripname_result=${func_stripname_result%"${2}"}
25684 func_opt_split_opt=${1%%=*}
25685 func_opt_split_arg=${1#*=}
25692 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
25693 *) func_lo2o_result=${1} ;;
25697 # func_xform libobj-or-source
25700 func_xform_result=${1%.*}.lo
25703 # func_arith arithmetic-term...
25706 func_arith_result=$(( $* ))
25710 # STRING may not start with a hyphen.
25713 func_len_result=${#1}
25718 *) # Bourne compatible functions.
25719 cat << \_LT_EOF >> "$cfgfile"
25721 # func_dirname file append nondir_replacement
25722 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
25723 # otherwise set result to NONDIR_REPLACEMENT.
25726 # Extract subdirectory from the argument.
25727 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
25728 if test "X$func_dirname_result" = "X${1}"; then
25729 func_dirname_result="${3}"
25731 func_dirname_result="$func_dirname_result${2}"
25735 # func_basename file
25738 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
25742 # func_stripname prefix suffix name
25743 # strip PREFIX and SUFFIX off of NAME.
25744 # PREFIX and SUFFIX must not contain globbing or regex special
25745 # characters, hashes, percent signs, but SUFFIX may contain a leading
25746 # dot (in which case that matches only a dot).
25747 # func_strip_suffix prefix name
25751 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
25752 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
25757 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
25758 my_sed_long_arg='1s/^-[^=]*=//'
25763 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
25764 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
25770 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
25773 # func_xform libobj-or-source
25776 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
25779 # func_arith arithmetic-term...
25782 func_arith_result=`expr "$@"`
25786 # STRING may not start with a hyphen.
25789 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
25795 case $lt_shell_append in
25797 cat << \_LT_EOF >> "$cfgfile"
25799 # func_append var value
25800 # Append VALUE to the end of shell variable VAR.
25808 cat << \_LT_EOF >> "$cfgfile"
25810 # func_append var value
25811 # Append VALUE to the end of shell variable VAR.
25822 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
25823 || (rm -f "$cfgfile"; exit 1)
25825 mv -f "$cfgfile" "$ofile" ||
25826 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
25830 cat <<_LT_EOF >> "$ofile"
25832 # ### BEGIN LIBTOOL TAG CONFIG: CXX
25834 # The linker used to build libraries.
25837 # How to create reloadable object files.
25838 reload_flag=$lt_reload_flag_CXX
25839 reload_cmds=$lt_reload_cmds_CXX
25841 # Commands used to build an old-style archive.
25842 old_archive_cmds=$lt_old_archive_cmds_CXX
25844 # A language specific compiler.
25845 CC=$lt_compiler_CXX
25847 # Is the compiler the GNU compiler?
25850 # Compiler flag to turn off builtin functions.
25851 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
25853 # How to pass a linker flag through the compiler.
25854 wl=$lt_lt_prog_compiler_wl_CXX
25856 # Additional compiler flags for building library objects.
25857 pic_flag=$lt_lt_prog_compiler_pic_CXX
25859 # Compiler flag to prevent dynamic linking.
25860 link_static_flag=$lt_lt_prog_compiler_static_CXX
25862 # Does compiler simultaneously support -c and -o options?
25863 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
25865 # Whether or not to add -lc for building shared libraries.
25866 build_libtool_need_lc=$archive_cmds_need_lc_CXX
25868 # Whether or not to disallow shared libs when runtime libs are static.
25869 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
25871 # Compiler flag to allow reflexive dlopens.
25872 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
25874 # Compiler flag to generate shared objects directly from archives.
25875 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
25877 # Whether the compiler copes with passing no objects directly.
25878 compiler_needs_object=$lt_compiler_needs_object_CXX
25880 # Create an old-style archive from a shared archive.
25881 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
25883 # Create a temporary old-style archive to link instead of a shared archive.
25884 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
25886 # Commands used to build a shared archive.
25887 archive_cmds=$lt_archive_cmds_CXX
25888 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
25890 # Commands used to build a loadable module if different from building
25891 # a shared archive.
25892 module_cmds=$lt_module_cmds_CXX
25893 module_expsym_cmds=$lt_module_expsym_cmds_CXX
25895 # Whether we are building with GNU ld or not.
25896 with_gnu_ld=$lt_with_gnu_ld_CXX
25898 # Flag that allows shared libraries with undefined symbols to be built.
25899 allow_undefined_flag=$lt_allow_undefined_flag_CXX
25901 # Flag that enforces no undefined symbols.
25902 no_undefined_flag=$lt_no_undefined_flag_CXX
25904 # Flag to hardcode \$libdir into a binary during linking.
25905 # This must work even if \$libdir does not exist
25906 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
25908 # If ld is used when linking, flag to hardcode \$libdir into a binary
25909 # during linking. This must work even if \$libdir does not exist.
25910 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
25912 # Whether we need a single "-rpath" flag with a separated argument.
25913 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
25915 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
25916 # DIR into the resulting binary.
25917 hardcode_direct=$hardcode_direct_CXX
25919 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
25920 # DIR into the resulting binary and the resulting library dependency is
25921 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
25922 # library is relocated.
25923 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
25925 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
25926 # into the resulting binary.
25927 hardcode_minus_L=$hardcode_minus_L_CXX
25929 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
25930 # into the resulting binary.
25931 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
25933 # Set to "yes" if building a shared library automatically hardcodes DIR
25934 # into the library and all subsequent libraries and executables linked
25936 hardcode_automatic=$hardcode_automatic_CXX
25938 # Set to yes if linker adds runtime paths of dependent libraries
25939 # to runtime path list.
25940 inherit_rpath=$inherit_rpath_CXX
25942 # Whether libtool must link a program against all its dependency libraries.
25943 link_all_deplibs=$link_all_deplibs_CXX
25945 # Fix the shell variable \$srcfile for the compiler.
25946 fix_srcfile_path=$lt_fix_srcfile_path_CXX
25948 # Set to "yes" if exported symbols are required.
25949 always_export_symbols=$always_export_symbols_CXX
25951 # The commands to list exported symbols.
25952 export_symbols_cmds=$lt_export_symbols_cmds_CXX
25954 # Symbols that should not be listed in the preloaded symbols.
25955 exclude_expsyms=$lt_exclude_expsyms_CXX
25957 # Symbols that must always be exported.
25958 include_expsyms=$lt_include_expsyms_CXX
25960 # Commands necessary for linking programs (against libraries) with templates.
25961 prelink_cmds=$lt_prelink_cmds_CXX
25963 # Specify filename containing input files.
25964 file_list_spec=$lt_file_list_spec_CXX
25966 # How to hardcode a shared library path into an executable.
25967 hardcode_action=$hardcode_action_CXX
25969 # The directories searched by this compiler when creating a shared library.
25970 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
25972 # Dependencies to place before and after the objects being linked to
25973 # create a shared library.
25974 predep_objects=$lt_predep_objects_CXX
25975 postdep_objects=$lt_postdep_objects_CXX
25976 predeps=$lt_predeps_CXX
25977 postdeps=$lt_postdeps_CXX
25979 # The library search path used internally by the compiler when linking
25980 # a shared library.
25981 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
25983 # ### END LIBTOOL TAG CONFIG: CXX
25987 "stamp-h":F) echo timestamp > stamp-h ;;
25993 { (exit 0); exit 0; }
25995 chmod +x $CONFIG_STATUS
25996 ac_clean_files=$ac_clean_files_save
25999 # configure is writing to config.log, and then calls config.status.
26000 # config.status does its own redirection, appending to config.log.
26001 # Unfortunately, on DOS this fails, as config.log is still kept open
26002 # by configure, so config.status won't be able to write to it; its
26003 # output is simply discarded. So we exec the FD to /dev/null,
26004 # effectively closing config.log, so it can be properly (re)opened and
26005 # appended to by config.status. When coming back to configure, we
26006 # need to make the FD available again.
26007 if test "$no_create" != yes; then
26009 ac_config_status_args=
26010 test "$silent" = yes &&
26011 ac_config_status_args="$ac_config_status_args --quiet"
26013 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
26015 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
26016 # would make configure fail if this is the last instruction.
26017 $ac_cs_success || { (exit 1); exit 1; }