2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE=1; export DUALCASE # for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix*) set -o posix ;;
33 # Avoid depending upon Character Ranges.
34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits='0123456789'
38 as_cr_alnum=$as_cr_Letters$as_cr_digits
43 # Printing a long string crashes Solaris 7 /usr/bin/printf.
44 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 as_echo_n='sh -c $as_echo_n_body as_echo'
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81 # Support unset when possible.
82 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
90 # We need space, tab and new line, in precisely that order. Quoting is
91 # there to prevent editors from complaining about space-tab.
92 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
93 # splitting by setting IFS to empty value.)
96 # Find who we are. Look in the path if we contain no directory separator.
98 *[\\/]* ) as_myself=$0 ;;
99 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
103 test -z "$as_dir" && as_dir=.
104 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
110 # We did not find ourselves, most probably we were run as `sh COMMAND'
111 # in which case we are not to be found in the path.
112 if test "x$as_myself" = x; then
115 if test ! -f "$as_myself"; then
116 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 { (exit 1); exit 1; }
120 # Work around bugs in pre-3.0 UWIN ksh.
121 for as_var in ENV MAIL MAILPATH
122 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
134 # Required to use basename.
135 if expr a : '\(a\)' >/dev/null 2>&1 &&
136 test "X`expr 00001 : '.*\(...\)'`" = X001; then
142 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
149 # Name of the executable.
150 as_me=`$as_basename -- "$0" ||
151 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
152 X"$0" : 'X\(//\)$' \| \
153 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
155 sed '/^.*\/\([^/][^/]*\)\/*$/{
173 if test "x$CONFIG_SHELL" = x; then
174 if (eval ":") 2>/dev/null; then
180 if test $as_have_required = yes && (eval ":
190 as_func_ret_success () {
193 as_func_ret_failure () {
198 if as_func_success; then
202 echo as_func_success failed.
205 if as_func_failure; then
207 echo as_func_failure succeeded.
210 if as_func_ret_success; then
214 echo as_func_ret_success failed.
217 if as_func_ret_failure; then
219 echo as_func_ret_failure succeeded.
222 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
226 echo positional parameters were not saved.
229 test \$exitcode = 0) || { (exit 1); exit 1; }
234 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
235 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
236 ") 2> /dev/null; then
240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
241 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
244 test -z "$as_dir" && as_dir=.
247 for as_base in sh bash ksh sh5; do
248 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
255 for as_shell in $as_candidate_shells $SHELL; do
256 # Try only shells that exist, to save several forks.
257 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
258 { ("$as_shell") 2> /dev/null <<\_ASEOF
259 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
263 # is contrary to our usage. Disable this feature.
264 alias -g '${1+"$@"}'='"$@"'
267 case `(set -o) 2>/dev/null` in
268 *posix*) set -o posix ;;
277 CONFIG_SHELL=$as_shell
279 if { "$as_shell" 2> /dev/null <<\_ASEOF
280 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
283 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
284 # is contrary to our usage. Disable this feature.
285 alias -g '${1+"$@"}'='"$@"'
288 case `(set -o) 2>/dev/null` in
289 *posix*) set -o posix ;;
305 as_func_ret_success () {
308 as_func_ret_failure () {
313 if as_func_success; then
317 echo as_func_success failed.
320 if as_func_failure; then
322 echo as_func_failure succeeded.
325 if as_func_ret_success; then
329 echo as_func_ret_success failed.
332 if as_func_ret_failure; then
334 echo as_func_ret_failure succeeded.
337 if ( set x; as_func_ret_success y && test x = "$1" ); then
341 echo positional parameters were not saved.
344 test $exitcode = 0) || { (exit 1); exit 1; }
349 test "x$as_lineno_1" != "x$as_lineno_2" &&
350 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
361 if test "x$CONFIG_SHELL" != x; then
362 for as_var in BASH_ENV ENV
363 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
366 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
370 if test $as_have_required = no; then
371 echo This script requires a shell more modern than all the
372 echo shells that I found on your system. Please install a
373 echo modern shell, or manually run the script under such a
374 echo shell if you do have one.
375 { (exit 1); exit 1; }
385 (eval "as_func_return () {
394 as_func_ret_success () {
397 as_func_ret_failure () {
402 if as_func_success; then
406 echo as_func_success failed.
409 if as_func_failure; then
411 echo as_func_failure succeeded.
414 if as_func_ret_success; then
418 echo as_func_ret_success failed.
421 if as_func_ret_failure; then
423 echo as_func_ret_failure succeeded.
426 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
430 echo positional parameters were not saved.
433 test \$exitcode = 0") || {
434 echo No shell found that supports shell functions.
435 echo Please tell bug-autoconf@gnu.org about your system,
436 echo including any error possibly output before this message.
437 echo This can help us improve future autoconf versions.
438 echo Configuration will now proceed without shell functions.
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 { $as_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.
502 if expr a : '\(a\)' >/dev/null 2>&1 &&
503 test "X`expr 00001 : '.*\(...\)'`" = X001; then
509 rm -f conf$$ conf$$.exe conf$$.file
510 if test -d conf$$.dir; then
511 rm -f conf$$.dir/conf$$.file
514 mkdir conf$$.dir 2>/dev/null
516 if (echo >conf$$.file) 2>/dev/null; then
517 if ln -s conf$$.file conf$$ 2>/dev/null; then
519 # ... but there are two gotchas:
520 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
521 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
522 # In both cases, we have to default to `cp -p'.
523 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
525 elif ln conf$$.file conf$$ 2>/dev/null; then
533 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
534 rmdir conf$$.dir 2>/dev/null
536 if mkdir -p . 2>/dev/null; then
539 test -d ./-p && rmdir ./-p
543 if test -x / >/dev/null 2>&1; then
546 if ls -dL / >/dev/null 2>&1; then
553 if test -d "$1"; then
559 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
560 ???[sx]*):;;*)false;;esac;fi
564 as_executable_p=$as_test_x
566 # Sed expression to map a string onto a valid CPP name.
567 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
569 # Sed expression to map a string onto a valid variable name.
570 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
575 # Check that we are running under the correct shell.
576 SHELL=${CONFIG_SHELL-/bin/sh}
580 # Remove one level of quotation (which was required for Make).
581 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
586 if test "X$1" = X--no-reexec; then
587 # Discard the --no-reexec flag, and continue.
589 elif test "X$1" = X--fallback-echo; then
590 # Avoid inline document here, it may be left over
592 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
593 # Yippee, $ECHO works!
596 # Restart under the correct shell.
597 exec $SHELL "$0" --no-reexec ${1+"$@"}
600 if test "X$1" = X--fallback-echo; then
601 # used as fallback echo
609 # The HP-UX ksh and POSIX shell print the target directory to stdout
611 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
613 if test -z "$lt_ECHO"; then
614 if test "X${echo_test_string+set}" != Xset; then
615 # find a string as large as possible, as long as the shell can cope with it
616 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
617 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
618 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
619 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
626 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
627 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
628 test "X$echo_testing_string" = "X$echo_test_string"; then
631 # The Solaris, AIX, and Digital Unix default echo programs unquote
632 # backslashes. This makes it impossible to quote backslashes using
633 # echo "$something" | sed 's/\\/\\\\/g'
635 # So, first we look for a working echo in the user's PATH.
637 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
638 for dir in $PATH /usr/ucb; do
640 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
641 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
642 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
643 test "X$echo_testing_string" = "X$echo_test_string"; then
650 if test "X$ECHO" = Xecho; then
651 # We didn't find a better echo, so look for alternatives.
652 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
653 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
654 test "X$echo_testing_string" = "X$echo_test_string"; then
655 # This shell has a builtin print -r that does the trick.
657 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
658 test "X$CONFIG_SHELL" != X/bin/ksh; then
659 # If we have ksh, try running configure again with it.
660 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
661 export ORIGINAL_CONFIG_SHELL
662 CONFIG_SHELL=/bin/ksh
664 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
668 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
669 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
670 test "X$echo_testing_string" = "X$echo_test_string"; then
673 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
674 test "X$echo_testing_string" = 'X\t' &&
675 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
676 test "X$echo_testing_string" = "X$echo_test_string"; then
677 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
679 SHELL="$CONFIG_SHELL"
681 ECHO="$CONFIG_SHELL $0 --fallback-echo"
682 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
683 test "X$echo_testing_string" = 'X\t' &&
684 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
685 test "X$echo_testing_string" = "X$echo_test_string"; then
686 ECHO="$CONFIG_SHELL $0 --fallback-echo"
688 # maybe with a smaller string...
691 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
692 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
699 if test "$prev" != 'sed 50q "$0"'; then
700 echo_test_string=`eval $prev`
701 export echo_test_string
702 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
704 # Oops. We lost completely, so just stick with echo.
713 # Copy echo and quote the copy suitably for passing to libtool from
714 # the Makefile, instead of quoting the original, which is used later.
716 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
717 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
723 exec 7<&0 </dev/null 6>&1
726 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
727 # so uname gets run too.
728 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
733 ac_default_prefix=/usr/local
735 ac_config_libobj_dir=.
741 SHELL=${CONFIG_SHELL-/bin/sh}
743 # Identity of this package.
750 ac_unique_file="l7vsd"
751 ac_unique_file="config.h.in"
752 # Factoring default headers for most tests.
753 ac_includes_default="\
755 #ifdef HAVE_SYS_TYPES_H
756 # include <sys/types.h>
758 #ifdef HAVE_SYS_STAT_H
759 # include <sys/stat.h>
765 # ifdef HAVE_STDLIB_H
770 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
775 #ifdef HAVE_STRINGS_H
776 # include <strings.h>
778 #ifdef HAVE_INTTYPES_H
779 # include <inttypes.h>
790 ac_subst_vars='am__EXEEXT_FALSE
793 ultramonkeyl7_version
860 INSTALL_STRIP_PROGRAM
902 program_transform_name
914 enable_option_checking
915 enable_dependency_tracking
924 with_l7vs_buffer_size
927 ac_precious_vars='build_alias
942 # Initialize some variables set by options.
944 ac_init_version=false
945 ac_unrecognized_opts=
947 # The variables have the same names as the options, with
948 # dashes changed to underlines.
956 program_transform_name=s,x,x,
964 # Installation directory options.
965 # These are left unexpanded so users can "make install exec_prefix=/foo"
966 # and all the variables that are supposed to be based on exec_prefix
967 # by default will actually change.
968 # Use braces instead of parens because sh, perl, etc. also accept them.
969 # (The list follows the same order as the GNU Coding Standards.)
970 bindir='${exec_prefix}/bin'
971 sbindir='${exec_prefix}/sbin'
972 libexecdir='${exec_prefix}/libexec'
973 datarootdir='${prefix}/share'
974 datadir='${datarootdir}'
975 sysconfdir='${prefix}/etc'
976 sharedstatedir='${prefix}/com'
977 localstatedir='${prefix}/var'
978 includedir='${prefix}/include'
979 oldincludedir='/usr/include'
980 docdir='${datarootdir}/doc/${PACKAGE}'
981 infodir='${datarootdir}/info'
986 libdir='${exec_prefix}/lib'
987 localedir='${datarootdir}/locale'
988 mandir='${datarootdir}/man'
994 # If the previous option needs an argument, assign it.
995 if test -n "$ac_prev"; then
996 eval $ac_prev=\$ac_option
1002 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1006 # Accept the important Cygnus configure options, so we can diagnose typos.
1008 case $ac_dashdash$ac_option in
1012 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1014 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1015 bindir=$ac_optarg ;;
1017 -build | --build | --buil | --bui | --bu)
1018 ac_prev=build_alias ;;
1019 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1020 build_alias=$ac_optarg ;;
1022 -cache-file | --cache-file | --cache-fil | --cache-fi \
1023 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1024 ac_prev=cache_file ;;
1025 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1026 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1027 cache_file=$ac_optarg ;;
1029 --config-cache | -C)
1030 cache_file=config.cache ;;
1032 -datadir | --datadir | --datadi | --datad)
1034 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1035 datadir=$ac_optarg ;;
1037 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1038 | --dataroo | --dataro | --datar)
1039 ac_prev=datarootdir ;;
1040 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1041 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1042 datarootdir=$ac_optarg ;;
1044 -disable-* | --disable-*)
1045 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1046 # Reject names that are not valid shell variable names.
1047 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1048 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1049 { (exit 1); exit 1; }; }
1050 ac_useropt_orig=$ac_useropt
1051 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1052 case $ac_user_opts in
1054 "enable_$ac_useropt"
1056 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1057 ac_unrecognized_sep=', ';;
1059 eval enable_$ac_useropt=no ;;
1061 -docdir | --docdir | --docdi | --doc | --do)
1063 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1064 docdir=$ac_optarg ;;
1066 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1068 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1069 dvidir=$ac_optarg ;;
1071 -enable-* | --enable-*)
1072 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1073 # Reject names that are not valid shell variable names.
1074 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1075 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1076 { (exit 1); exit 1; }; }
1077 ac_useropt_orig=$ac_useropt
1078 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1079 case $ac_user_opts in
1081 "enable_$ac_useropt"
1083 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1084 ac_unrecognized_sep=', ';;
1086 eval enable_$ac_useropt=\$ac_optarg ;;
1088 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1089 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1090 | --exec | --exe | --ex)
1091 ac_prev=exec_prefix ;;
1092 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1093 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1094 | --exec=* | --exe=* | --ex=*)
1095 exec_prefix=$ac_optarg ;;
1097 -gas | --gas | --ga | --g)
1098 # Obsolete; use --with-gas.
1101 -help | --help | --hel | --he | -h)
1102 ac_init_help=long ;;
1103 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1104 ac_init_help=recursive ;;
1105 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1106 ac_init_help=short ;;
1108 -host | --host | --hos | --ho)
1109 ac_prev=host_alias ;;
1110 -host=* | --host=* | --hos=* | --ho=*)
1111 host_alias=$ac_optarg ;;
1113 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1115 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1117 htmldir=$ac_optarg ;;
1119 -includedir | --includedir | --includedi | --included | --include \
1120 | --includ | --inclu | --incl | --inc)
1121 ac_prev=includedir ;;
1122 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1123 | --includ=* | --inclu=* | --incl=* | --inc=*)
1124 includedir=$ac_optarg ;;
1126 -infodir | --infodir | --infodi | --infod | --info | --inf)
1128 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1129 infodir=$ac_optarg ;;
1131 -libdir | --libdir | --libdi | --libd)
1133 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1134 libdir=$ac_optarg ;;
1136 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1137 | --libexe | --libex | --libe)
1138 ac_prev=libexecdir ;;
1139 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1140 | --libexe=* | --libex=* | --libe=*)
1141 libexecdir=$ac_optarg ;;
1143 -localedir | --localedir | --localedi | --localed | --locale)
1144 ac_prev=localedir ;;
1145 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1146 localedir=$ac_optarg ;;
1148 -localstatedir | --localstatedir | --localstatedi | --localstated \
1149 | --localstate | --localstat | --localsta | --localst | --locals)
1150 ac_prev=localstatedir ;;
1151 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1152 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1153 localstatedir=$ac_optarg ;;
1155 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1157 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1158 mandir=$ac_optarg ;;
1160 -nfp | --nfp | --nf)
1161 # Obsolete; use --without-fp.
1164 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1165 | --no-cr | --no-c | -n)
1168 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1169 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1172 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1173 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1174 | --oldin | --oldi | --old | --ol | --o)
1175 ac_prev=oldincludedir ;;
1176 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1177 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1178 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1179 oldincludedir=$ac_optarg ;;
1181 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1183 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1184 prefix=$ac_optarg ;;
1186 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1187 | --program-pre | --program-pr | --program-p)
1188 ac_prev=program_prefix ;;
1189 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1190 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1191 program_prefix=$ac_optarg ;;
1193 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1194 | --program-suf | --program-su | --program-s)
1195 ac_prev=program_suffix ;;
1196 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1197 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1198 program_suffix=$ac_optarg ;;
1200 -program-transform-name | --program-transform-name \
1201 | --program-transform-nam | --program-transform-na \
1202 | --program-transform-n | --program-transform- \
1203 | --program-transform | --program-transfor \
1204 | --program-transfo | --program-transf \
1205 | --program-trans | --program-tran \
1206 | --progr-tra | --program-tr | --program-t)
1207 ac_prev=program_transform_name ;;
1208 -program-transform-name=* | --program-transform-name=* \
1209 | --program-transform-nam=* | --program-transform-na=* \
1210 | --program-transform-n=* | --program-transform-=* \
1211 | --program-transform=* | --program-transfor=* \
1212 | --program-transfo=* | --program-transf=* \
1213 | --program-trans=* | --program-tran=* \
1214 | --progr-tra=* | --program-tr=* | --program-t=*)
1215 program_transform_name=$ac_optarg ;;
1217 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1219 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1220 pdfdir=$ac_optarg ;;
1222 -psdir | --psdir | --psdi | --psd | --ps)
1224 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1227 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1228 | -silent | --silent | --silen | --sile | --sil)
1231 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1233 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1235 sbindir=$ac_optarg ;;
1237 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1238 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1239 | --sharedst | --shareds | --shared | --share | --shar \
1241 ac_prev=sharedstatedir ;;
1242 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1243 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1244 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1246 sharedstatedir=$ac_optarg ;;
1248 -site | --site | --sit)
1250 -site=* | --site=* | --sit=*)
1253 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1255 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1256 srcdir=$ac_optarg ;;
1258 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1259 | --syscon | --sysco | --sysc | --sys | --sy)
1260 ac_prev=sysconfdir ;;
1261 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1262 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1263 sysconfdir=$ac_optarg ;;
1265 -target | --target | --targe | --targ | --tar | --ta | --t)
1266 ac_prev=target_alias ;;
1267 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1268 target_alias=$ac_optarg ;;
1270 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1273 -version | --version | --versio | --versi | --vers | -V)
1274 ac_init_version=: ;;
1277 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1278 # Reject names that are not valid shell variable names.
1279 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1280 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1281 { (exit 1); exit 1; }; }
1282 ac_useropt_orig=$ac_useropt
1283 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1284 case $ac_user_opts in
1288 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1289 ac_unrecognized_sep=', ';;
1291 eval with_$ac_useropt=\$ac_optarg ;;
1293 -without-* | --without-*)
1294 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1295 # Reject names that are not valid shell variable names.
1296 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1297 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1298 { (exit 1); exit 1; }; }
1299 ac_useropt_orig=$ac_useropt
1300 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1301 case $ac_user_opts in
1305 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1306 ac_unrecognized_sep=', ';;
1308 eval with_$ac_useropt=no ;;
1311 # Obsolete; use --with-x.
1314 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1315 | --x-incl | --x-inc | --x-in | --x-i)
1316 ac_prev=x_includes ;;
1317 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1318 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1319 x_includes=$ac_optarg ;;
1321 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1322 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1323 ac_prev=x_libraries ;;
1324 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1325 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1326 x_libraries=$ac_optarg ;;
1328 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1329 Try \`$0 --help' for more information." >&2
1330 { (exit 1); exit 1; }; }
1334 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1335 # Reject names that are not valid shell variable names.
1336 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1337 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1338 { (exit 1); exit 1; }; }
1339 eval $ac_envvar=\$ac_optarg
1340 export $ac_envvar ;;
1343 # FIXME: should be removed in autoconf 3.0.
1344 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1345 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1346 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1347 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1353 if test -n "$ac_prev"; then
1354 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1355 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1356 { (exit 1); exit 1; }; }
1359 if test -n "$ac_unrecognized_opts"; then
1360 case $enable_option_checking in
1362 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1363 { (exit 1); exit 1; }; } ;;
1364 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1368 # Check all directory arguments for consistency.
1369 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1370 datadir sysconfdir sharedstatedir localstatedir includedir \
1371 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1372 libdir localedir mandir
1374 eval ac_val=\$$ac_var
1375 # Remove trailing slashes.
1378 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1379 eval $ac_var=\$ac_val;;
1381 # Be sure to have absolute directory names.
1383 [\\/$]* | ?:[\\/]* ) continue;;
1384 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1386 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1387 { (exit 1); exit 1; }; }
1390 # There might be people who depend on the old broken behavior: `$host'
1391 # used to hold the argument of --host etc.
1392 # FIXME: To remove some day.
1395 target=$target_alias
1397 # FIXME: To remove some day.
1398 if test "x$host_alias" != x; then
1399 if test "x$build_alias" = x; then
1400 cross_compiling=maybe
1401 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1402 If a cross compiler is detected then cross compile mode will be used." >&2
1403 elif test "x$build_alias" != "x$host_alias"; then
1409 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1411 test "$silent" = yes && exec 6>/dev/null
1414 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1415 ac_ls_di=`ls -di .` &&
1416 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1417 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1418 { (exit 1); exit 1; }; }
1419 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1420 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1421 { (exit 1); exit 1; }; }
1424 # Find the source files, if location was not specified.
1425 if test -z "$srcdir"; then
1426 ac_srcdir_defaulted=yes
1427 # Try the directory containing this script, then the parent directory.
1428 ac_confdir=`$as_dirname -- "$as_myself" ||
1429 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1430 X"$as_myself" : 'X\(//\)[^/]' \| \
1431 X"$as_myself" : 'X\(//\)$' \| \
1432 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1433 $as_echo X"$as_myself" |
1434 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1452 if test ! -r "$srcdir/$ac_unique_file"; then
1456 ac_srcdir_defaulted=no
1458 if test ! -r "$srcdir/$ac_unique_file"; then
1459 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1460 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1461 { (exit 1); exit 1; }; }
1463 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1465 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1466 { (exit 1); exit 1; }; }
1468 # When building in place, set srcdir=.
1469 if test "$ac_abs_confdir" = "$ac_pwd"; then
1472 # Remove unnecessary trailing slashes from srcdir.
1473 # Double slashes in file names in object file debugging info
1474 # mess up M-x gdb in Emacs.
1476 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1478 for ac_var in $ac_precious_vars; do
1479 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1480 eval ac_env_${ac_var}_value=\$${ac_var}
1481 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1482 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1486 # Report the --help message.
1488 if test "$ac_init_help" = "long"; then
1489 # Omit some internal or obsolete options to make the list less imposing.
1490 # This message is too long to be a string in the A/UX 3.1 sh.
1492 \`configure' configures this package to adapt to many kinds of systems.
1494 Usage: $0 [OPTION]... [VAR=VALUE]...
1496 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1497 VAR=VALUE. See below for descriptions of some of the useful variables.
1499 Defaults for the options are specified in brackets.
1502 -h, --help display this help and exit
1503 --help=short display options specific to this package
1504 --help=recursive display the short help of all the included packages
1505 -V, --version display version information and exit
1506 -q, --quiet, --silent do not print \`checking...' messages
1507 --cache-file=FILE cache test results in FILE [disabled]
1508 -C, --config-cache alias for \`--cache-file=config.cache'
1509 -n, --no-create do not create output files
1510 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1512 Installation directories:
1513 --prefix=PREFIX install architecture-independent files in PREFIX
1514 [$ac_default_prefix]
1515 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1518 By default, \`make install' will install all the files in
1519 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1520 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1521 for instance \`--prefix=\$HOME'.
1523 For better control, use the options below.
1525 Fine tuning of the installation directories:
1526 --bindir=DIR user executables [EPREFIX/bin]
1527 --sbindir=DIR system admin executables [EPREFIX/sbin]
1528 --libexecdir=DIR program executables [EPREFIX/libexec]
1529 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1530 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1531 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1532 --libdir=DIR object code libraries [EPREFIX/lib]
1533 --includedir=DIR C header files [PREFIX/include]
1534 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1535 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1536 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1537 --infodir=DIR info documentation [DATAROOTDIR/info]
1538 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1539 --mandir=DIR man documentation [DATAROOTDIR/man]
1540 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1541 --htmldir=DIR html documentation [DOCDIR]
1542 --dvidir=DIR dvi documentation [DOCDIR]
1543 --pdfdir=DIR pdf documentation [DOCDIR]
1544 --psdir=DIR ps documentation [DOCDIR]
1550 --program-prefix=PREFIX prepend PREFIX to installed program names
1551 --program-suffix=SUFFIX append SUFFIX to installed program names
1552 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1555 --build=BUILD configure for building on BUILD [guessed]
1556 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1560 if test -n "$ac_init_help"; then
1565 --disable-option-checking ignore unrecognized --enable/--with options
1566 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1567 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1568 --disable-dependency-tracking speeds up one-time build
1569 --enable-dependency-tracking do not reject slow dependency extractors
1570 --enable-shared[=PKGS] build shared libraries [default=yes]
1571 --enable-static[=PKGS] build static libraries [default=yes]
1572 --enable-fast-install[=PKGS]
1573 optimize for fast installation [default=yes]
1574 --disable-libtool-lock avoid locking (might break parallel builds)
1577 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1578 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1579 --with-pic try to use only PIC/non-PIC objects [default=use
1581 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1582 --with-l7vs-moddir=DIR l7vs module is to be installed in DIR.
1584 --with-l7vsadm-sockdir=DIR l7vsadm sockfile PATH.
1585 default=/var/run/l7vs
1586 --with-l7vs-buffer-size=NUM l7vsd using heap buffer size.
1588 --with-l7vs-config-dir=DIR l7vs configfile PATH.
1589 default=/etc/l7vs/l7vs.cf
1591 Some influential environment variables:
1592 CXX C++ compiler command
1593 CXXFLAGS C++ compiler flags
1594 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1595 nonstandard directory <lib dir>
1596 LIBS libraries to pass to the linker, e.g. -l<library>
1597 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1598 you have headers in a nonstandard directory <include dir>
1599 CC C compiler command
1600 CFLAGS C compiler flags
1602 CXXCPP C++ preprocessor
1604 Use these variables to override the choices made by `configure' or to help
1605 it to find libraries and programs with nonstandard names/locations.
1611 if test "$ac_init_help" = "recursive"; then
1612 # If there are subdirs, report their specific --help.
1613 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1614 test -d "$ac_dir" ||
1615 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1620 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1622 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1623 # A ".." for each directory in $ac_dir_suffix.
1624 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1625 case $ac_top_builddir_sub in
1626 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1627 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1630 ac_abs_top_builddir=$ac_pwd
1631 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1632 # for backward compatibility:
1633 ac_top_builddir=$ac_top_build_prefix
1636 .) # We are building in place.
1638 ac_top_srcdir=$ac_top_builddir_sub
1639 ac_abs_top_srcdir=$ac_pwd ;;
1640 [\\/]* | ?:[\\/]* ) # Absolute name.
1641 ac_srcdir=$srcdir$ac_dir_suffix;
1642 ac_top_srcdir=$srcdir
1643 ac_abs_top_srcdir=$srcdir ;;
1645 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1646 ac_top_srcdir=$ac_top_build_prefix$srcdir
1647 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1649 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1651 cd "$ac_dir" || { ac_status=$?; continue; }
1652 # Check for guested configure.
1653 if test -f "$ac_srcdir/configure.gnu"; then
1655 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1656 elif test -f "$ac_srcdir/configure"; then
1658 $SHELL "$ac_srcdir/configure" --help=recursive
1660 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1662 cd "$ac_pwd" || { ac_status=$?; break; }
1666 test -n "$ac_init_help" && exit $ac_status
1667 if $ac_init_version; then
1670 generated by GNU Autoconf 2.63
1672 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1673 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1674 This configure script is free software; the Free Software Foundation
1675 gives unlimited permission to copy, distribute and modify it.
1679 cat >config.log <<_ACEOF
1680 This file contains any messages produced by compilers while
1681 running configure, to aid debugging if configure makes a mistake.
1683 It was created by $as_me, which was
1684 generated by GNU Autoconf 2.63. Invocation command line was
1696 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1697 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1698 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1699 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1700 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1702 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1703 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1705 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1706 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1707 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1708 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1709 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1710 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1711 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1719 test -z "$as_dir" && as_dir=.
1720 $as_echo "PATH: $as_dir"
1736 # Keep a trace of the command line.
1737 # Strip out --no-create and --no-recursion so they do not pile up.
1738 # Strip out --silent because we don't want to record it for future runs.
1739 # Also quote any args containing shell meta-characters.
1740 # Make two passes to allow for proper duplicate-argument suppression.
1744 ac_must_keep_next=false
1750 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1751 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1752 | -silent | --silent | --silen | --sile | --sil)
1755 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1758 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1760 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1761 if test $ac_must_keep_next = true; then
1762 ac_must_keep_next=false # Got value, back to normal.
1765 *=* | --config-cache | -C | -disable-* | --disable-* \
1766 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1767 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1768 | -with-* | --with-* | -without-* | --without-* | --x)
1769 case "$ac_configure_args0 " in
1770 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1773 -* ) ac_must_keep_next=true ;;
1776 ac_configure_args="$ac_configure_args '$ac_arg'"
1781 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1782 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1784 # When interrupted or exit'd, cleanup temporary files, and complete
1785 # config.log. We remove comments because anyway the quotes in there
1786 # would cause problems or look ugly.
1787 # WARNING: Use '\'' to represent an apostrophe within the trap.
1788 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1789 trap 'exit_status=$?
1790 # Save into config.log some information that might help in debugging.
1795 ## ---------------- ##
1796 ## Cache variables. ##
1797 ## ---------------- ##
1800 # The following way of writing the cache mishandles newlines in values,
1802 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1803 eval ac_val=\$$ac_var
1807 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1808 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1811 _ | IFS | as_nl) ;; #(
1812 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1813 *) $as_unset $ac_var ;;
1818 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1819 *${as_nl}ac_space=\ *)
1821 "s/'\''/'\''\\\\'\'''\''/g;
1822 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1825 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1833 ## ----------------- ##
1834 ## Output variables. ##
1835 ## ----------------- ##
1838 for ac_var in $ac_subst_vars
1840 eval ac_val=\$$ac_var
1842 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1844 $as_echo "$ac_var='\''$ac_val'\''"
1848 if test -n "$ac_subst_files"; then
1850 ## ------------------- ##
1851 ## File substitutions. ##
1852 ## ------------------- ##
1855 for ac_var in $ac_subst_files
1857 eval ac_val=\$$ac_var
1859 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1861 $as_echo "$ac_var='\''$ac_val'\''"
1866 if test -s confdefs.h; then
1876 test "$ac_signal" != 0 &&
1877 $as_echo "$as_me: caught signal $ac_signal"
1878 $as_echo "$as_me: exit $exit_status"
1880 rm -f core *.core core.conftest.* &&
1881 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1884 for ac_signal in 1 2 13 15; do
1885 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1889 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1890 rm -f -r conftest* confdefs.h
1892 # Predefined preprocessor variables.
1894 cat >>confdefs.h <<_ACEOF
1895 #define PACKAGE_NAME "$PACKAGE_NAME"
1899 cat >>confdefs.h <<_ACEOF
1900 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1904 cat >>confdefs.h <<_ACEOF
1905 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1909 cat >>confdefs.h <<_ACEOF
1910 #define PACKAGE_STRING "$PACKAGE_STRING"
1914 cat >>confdefs.h <<_ACEOF
1915 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1919 # Let the site file select an alternate cache file if it wants to.
1920 # Prefer an explicitly selected file to automatically selected ones.
1923 if test -n "$CONFIG_SITE"; then
1924 ac_site_file1=$CONFIG_SITE
1925 elif test "x$prefix" != xNONE; then
1926 ac_site_file1=$prefix/share/config.site
1927 ac_site_file2=$prefix/etc/config.site
1929 ac_site_file1=$ac_default_prefix/share/config.site
1930 ac_site_file2=$ac_default_prefix/etc/config.site
1932 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1934 test "x$ac_site_file" = xNONE && continue
1935 if test -r "$ac_site_file"; then
1936 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1937 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1938 sed 's/^/| /' "$ac_site_file" >&5
1943 if test -r "$cache_file"; then
1944 # Some versions of bash will fail to source /dev/null (special
1945 # files actually), so we avoid doing that.
1946 if test -f "$cache_file"; then
1947 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1948 $as_echo "$as_me: loading cache $cache_file" >&6;}
1950 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1951 *) . "./$cache_file";;
1955 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1956 $as_echo "$as_me: creating cache $cache_file" >&6;}
1960 ac_header_list="$ac_header_list sys/time.h"
1961 ac_header_list="$ac_header_list unistd.h"
1962 ac_func_list="$ac_func_list alarm"
1963 # Check that the precious variables saved in the cache have kept the same
1965 ac_cache_corrupted=false
1966 for ac_var in $ac_precious_vars; do
1967 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1968 eval ac_new_set=\$ac_env_${ac_var}_set
1969 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1970 eval ac_new_val=\$ac_env_${ac_var}_value
1971 case $ac_old_set,$ac_new_set in
1973 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1974 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1975 ac_cache_corrupted=: ;;
1977 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1978 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1979 ac_cache_corrupted=: ;;
1982 if test "x$ac_old_val" != "x$ac_new_val"; then
1983 # differences in whitespace do not lead to failure.
1984 ac_old_val_w=`echo x $ac_old_val`
1985 ac_new_val_w=`echo x $ac_new_val`
1986 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1987 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1988 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1989 ac_cache_corrupted=:
1991 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1992 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1993 eval $ac_var=\$ac_old_val
1995 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1996 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1997 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1998 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2001 # Pass precious variables to config.status.
2002 if test "$ac_new_set" = set; then
2004 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2005 *) ac_arg=$ac_var=$ac_new_val ;;
2007 case " $ac_configure_args " in
2008 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2009 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2013 if $ac_cache_corrupted; then
2014 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2015 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2016 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2017 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2018 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2019 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2020 { (exit 1); exit 1; }; }
2040 ac_cpp='$CPP $CPPFLAGS'
2041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2049 am__api_version='1.11'
2052 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2053 if test -f "$ac_dir/install-sh"; then
2055 ac_install_sh="$ac_aux_dir/install-sh -c"
2057 elif test -f "$ac_dir/install.sh"; then
2059 ac_install_sh="$ac_aux_dir/install.sh -c"
2061 elif test -f "$ac_dir/shtool"; then
2063 ac_install_sh="$ac_aux_dir/shtool install -c"
2067 if test -z "$ac_aux_dir"; then
2068 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2069 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2070 { (exit 1); exit 1; }; }
2073 # These three variables are undocumented and unsupported,
2074 # and are intended to be withdrawn in a future Autoconf release.
2075 # They can cause serious problems if a builder's source tree is in a directory
2076 # whose full name contains unusual characters.
2077 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2078 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2079 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2082 # Find a good install program. We prefer a C program (faster),
2083 # so one script is as good as another. But avoid the broken or
2084 # incompatible versions:
2085 # SysV /etc/install, /usr/sbin/install
2086 # SunOS /usr/etc/install
2087 # IRIX /sbin/install
2089 # AmigaOS /C/install, which installs bootblocks on floppy discs
2090 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2091 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2092 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2093 # OS/2's system install, which has a completely different semantic
2094 # ./install, which can be erroneously created by make from ./install.sh.
2095 # Reject install programs that cannot install multiple files.
2096 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2097 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2098 if test -z "$INSTALL"; then
2099 if test "${ac_cv_path_install+set}" = set; then
2100 $as_echo_n "(cached) " >&6
2102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2106 test -z "$as_dir" && as_dir=.
2107 # Account for people who put trailing slashes in PATH elements.
2109 ./ | .// | /cC/* | \
2110 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2111 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2114 # OSF1 and SCO ODT 3.0 have their own names for install.
2115 # Don't use installbsd from OSF since it installs stuff as root
2117 for ac_prog in ginstall scoinst install; do
2118 for ac_exec_ext in '' $ac_executable_extensions; do
2119 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2120 if test $ac_prog = install &&
2121 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2122 # AIX install. It has an incompatible calling convention.
2124 elif test $ac_prog = install &&
2125 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2126 # program-specific install script used by HP pwplus--don't use.
2129 rm -rf conftest.one conftest.two conftest.dir
2130 echo one > conftest.one
2131 echo two > conftest.two
2133 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2134 test -s conftest.one && test -s conftest.two &&
2135 test -s conftest.dir/conftest.one &&
2136 test -s conftest.dir/conftest.two
2138 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2151 rm -rf conftest.one conftest.two conftest.dir
2154 if test "${ac_cv_path_install+set}" = set; then
2155 INSTALL=$ac_cv_path_install
2157 # As a last resort, use the slow shell script. Don't cache a
2158 # value for INSTALL within a source directory, because that will
2159 # break other packages using the cache if that directory is
2160 # removed, or if the value is a relative name.
2161 INSTALL=$ac_install_sh
2164 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2165 $as_echo "$INSTALL" >&6; }
2167 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2168 # It thinks the first close brace ends the variable substitution.
2169 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2171 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2173 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2175 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2176 $as_echo_n "checking whether build environment is sane... " >&6; }
2179 echo timestamp > conftest.file
2180 # Reject unsafe characters in $srcdir or the absolute working directory
2181 # name. Accept space and tab only in the latter.
2185 *[\\\"\#\$\&\'\`$am_lf]*)
2186 { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
2187 $as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
2188 { (exit 1); exit 1; }; };;
2191 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2192 { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
2193 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
2194 { (exit 1); exit 1; }; };;
2197 # Do `set' in a subshell so we don't clobber the current shell's
2198 # arguments. Must try -L first in case configure is actually a
2199 # symlink; some systems play weird games with the mod time of symlinks
2200 # (eg FreeBSD returns the mod time of the symlink's containing
2203 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2204 if test "$*" = "X"; then
2206 set X `ls -t "$srcdir/configure" conftest.file`
2209 if test "$*" != "X $srcdir/configure conftest.file" \
2210 && test "$*" != "X conftest.file $srcdir/configure"; then
2212 # If neither matched, then we have a broken ls. This can happen
2213 # if, for instance, CONFIG_SHELL is bash and it inherits a
2214 # broken ls alias from the environment. This has actually
2215 # happened. Such a system could not be considered "sane".
2216 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2217 alias in your environment" >&5
2218 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2219 alias in your environment" >&2;}
2220 { (exit 1); exit 1; }; }
2223 test "$2" = conftest.file
2229 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2230 Check your system clock" >&5
2231 $as_echo "$as_me: error: newly created file is older than distributed files!
2232 Check your system clock" >&2;}
2233 { (exit 1); exit 1; }; }
2235 { $as_echo "$as_me:$LINENO: result: yes" >&5
2236 $as_echo "yes" >&6; }
2237 test "$program_prefix" != NONE &&
2238 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2239 # Use a double $ so make ignores it.
2240 test "$program_suffix" != NONE &&
2241 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2242 # Double any \ or $.
2243 # By default was `s,x,x', remove it if useless.
2244 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2245 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2247 # expand $ac_aux_dir to an absolute path
2248 am_aux_dir=`cd $ac_aux_dir && pwd`
2250 if test x"${MISSING+set}" != xset; then
2253 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2255 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2258 # Use eval to expand $SHELL
2259 if eval "$MISSING --run true"; then
2260 am_missing_run="$MISSING --run "
2263 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2264 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2267 if test x"${install_sh}" != xset; then
2270 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2272 install_sh="\${SHELL} $am_aux_dir/install-sh"
2276 # Installed binaries are usually stripped using `strip' when the user
2277 # run `make install-strip'. However `strip' might not be the right
2278 # tool to use in cross-compilation environments, therefore Automake
2279 # will honor the `STRIP' environment variable to overrule this program.
2280 if test "$cross_compiling" != no; then
2281 if test -n "$ac_tool_prefix"; then
2282 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2283 set dummy ${ac_tool_prefix}strip; ac_word=$2
2284 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2285 $as_echo_n "checking for $ac_word... " >&6; }
2286 if test "${ac_cv_prog_STRIP+set}" = set; then
2287 $as_echo_n "(cached) " >&6
2289 if test -n "$STRIP"; then
2290 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2296 test -z "$as_dir" && as_dir=.
2297 for ac_exec_ext in '' $ac_executable_extensions; do
2298 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2299 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2300 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2309 STRIP=$ac_cv_prog_STRIP
2310 if test -n "$STRIP"; then
2311 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2312 $as_echo "$STRIP" >&6; }
2314 { $as_echo "$as_me:$LINENO: result: no" >&5
2315 $as_echo "no" >&6; }
2320 if test -z "$ac_cv_prog_STRIP"; then
2322 # Extract the first word of "strip", so it can be a program name with args.
2323 set dummy strip; ac_word=$2
2324 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2325 $as_echo_n "checking for $ac_word... " >&6; }
2326 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2327 $as_echo_n "(cached) " >&6
2329 if test -n "$ac_ct_STRIP"; then
2330 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2336 test -z "$as_dir" && as_dir=.
2337 for ac_exec_ext in '' $ac_executable_extensions; do
2338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2339 ac_cv_prog_ac_ct_STRIP="strip"
2340 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2349 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2350 if test -n "$ac_ct_STRIP"; then
2351 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2352 $as_echo "$ac_ct_STRIP" >&6; }
2354 { $as_echo "$as_me:$LINENO: result: no" >&5
2355 $as_echo "no" >&6; }
2358 if test "x$ac_ct_STRIP" = x; then
2361 case $cross_compiling:$ac_tool_warned in
2363 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2364 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2365 ac_tool_warned=yes ;;
2370 STRIP="$ac_cv_prog_STRIP"
2374 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2376 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2377 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2378 if test -z "$MKDIR_P"; then
2379 if test "${ac_cv_path_mkdir+set}" = set; then
2380 $as_echo_n "(cached) " >&6
2382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2383 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2386 test -z "$as_dir" && as_dir=.
2387 for ac_prog in mkdir gmkdir; do
2388 for ac_exec_ext in '' $ac_executable_extensions; do
2389 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2390 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2391 'mkdir (GNU coreutils) '* | \
2392 'mkdir (coreutils) '* | \
2393 'mkdir (fileutils) '4.1*)
2394 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2404 if test "${ac_cv_path_mkdir+set}" = set; then
2405 MKDIR_P="$ac_cv_path_mkdir -p"
2407 # As a last resort, use the slow shell script. Don't cache a
2408 # value for MKDIR_P within a source directory, because that will
2409 # break other packages using the cache if that directory is
2410 # removed, or if the value is a relative name.
2411 test -d ./--version && rmdir ./--version
2412 MKDIR_P="$ac_install_sh -d"
2415 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2416 $as_echo "$MKDIR_P" >&6; }
2420 [\\/$]* | ?:[\\/]*) ;;
2421 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2424 for ac_prog in gawk mawk nawk awk
2426 # Extract the first word of "$ac_prog", so it can be a program name with args.
2427 set dummy $ac_prog; ac_word=$2
2428 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2429 $as_echo_n "checking for $ac_word... " >&6; }
2430 if test "${ac_cv_prog_AWK+set}" = set; then
2431 $as_echo_n "(cached) " >&6
2433 if test -n "$AWK"; then
2434 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2440 test -z "$as_dir" && as_dir=.
2441 for ac_exec_ext in '' $ac_executable_extensions; do
2442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2443 ac_cv_prog_AWK="$ac_prog"
2444 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2454 if test -n "$AWK"; then
2455 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2456 $as_echo "$AWK" >&6; }
2458 { $as_echo "$as_me:$LINENO: result: no" >&5
2459 $as_echo "no" >&6; }
2463 test -n "$AWK" && break
2466 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2467 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2469 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2470 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2471 $as_echo_n "(cached) " >&6
2473 cat >conftest.make <<\_ACEOF
2476 @echo '@@@%%%=$(MAKE)=@@@%%%'
2478 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2479 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2481 eval ac_cv_prog_make_${ac_make}_set=yes;;
2483 eval ac_cv_prog_make_${ac_make}_set=no;;
2487 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2488 { $as_echo "$as_me:$LINENO: result: yes" >&5
2489 $as_echo "yes" >&6; }
2492 { $as_echo "$as_me:$LINENO: result: no" >&5
2493 $as_echo "no" >&6; }
2494 SET_MAKE="MAKE=${MAKE-make}"
2497 rm -rf .tst 2>/dev/null
2498 mkdir .tst 2>/dev/null
2499 if test -d .tst; then
2504 rmdir .tst 2>/dev/null
2506 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2507 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2508 # is not polluted with repeated "-I."
2509 am__isrc=' -I$(srcdir)'
2510 # test to see if srcdir already configured
2511 if test -f $srcdir/config.status; then
2512 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2513 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2514 { (exit 1); exit 1; }; }
2518 # test whether we have cygpath
2519 if test -z "$CYGPATH_W"; then
2520 if (cygpath --version) >/dev/null 2>/dev/null; then
2521 CYGPATH_W='cygpath -w'
2528 # Define the identity of the package.
2529 PACKAGE=$PACKAGENAME
2533 # Some tools Automake needs.
2535 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2538 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2541 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2544 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2547 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2549 # We need awk for the "check" target. The system "awk" is bad on
2551 # Always define AMTAR for backward compatibility.
2553 AMTAR=${AMTAR-"${am_missing_run}tar"}
2555 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2562 ac_config_headers="$ac_config_headers config.h"
2565 # Checks for programs.
2567 ac_cpp='$CXXCPP $CPPFLAGS'
2568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2571 if test -z "$CXX"; then
2572 if test -n "$CCC"; then
2575 if test -n "$ac_tool_prefix"; then
2576 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2578 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2579 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2580 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2581 $as_echo_n "checking for $ac_word... " >&6; }
2582 if test "${ac_cv_prog_CXX+set}" = set; then
2583 $as_echo_n "(cached) " >&6
2585 if test -n "$CXX"; then
2586 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2592 test -z "$as_dir" && as_dir=.
2593 for ac_exec_ext in '' $ac_executable_extensions; do
2594 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2595 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2596 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2606 if test -n "$CXX"; then
2607 { $as_echo "$as_me:$LINENO: result: $CXX" >&5
2608 $as_echo "$CXX" >&6; }
2610 { $as_echo "$as_me:$LINENO: result: no" >&5
2611 $as_echo "no" >&6; }
2615 test -n "$CXX" && break
2618 if test -z "$CXX"; then
2620 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2622 # Extract the first word of "$ac_prog", so it can be a program name with args.
2623 set dummy $ac_prog; ac_word=$2
2624 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2625 $as_echo_n "checking for $ac_word... " >&6; }
2626 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2627 $as_echo_n "(cached) " >&6
2629 if test -n "$ac_ct_CXX"; then
2630 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2636 test -z "$as_dir" && as_dir=.
2637 for ac_exec_ext in '' $ac_executable_extensions; do
2638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2639 ac_cv_prog_ac_ct_CXX="$ac_prog"
2640 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2649 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2650 if test -n "$ac_ct_CXX"; then
2651 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2652 $as_echo "$ac_ct_CXX" >&6; }
2654 { $as_echo "$as_me:$LINENO: result: no" >&5
2655 $as_echo "no" >&6; }
2659 test -n "$ac_ct_CXX" && break
2662 if test "x$ac_ct_CXX" = x; then
2665 case $cross_compiling:$ac_tool_warned in
2667 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2668 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2669 ac_tool_warned=yes ;;
2677 # Provide some information about the compiler.
2678 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
2681 { (ac_try="$ac_compiler --version >&5"
2683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2684 *) ac_try_echo=$ac_try;;
2686 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2687 $as_echo "$ac_try_echo") >&5
2688 (eval "$ac_compiler --version >&5") 2>&5
2690 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2691 (exit $ac_status); }
2692 { (ac_try="$ac_compiler -v >&5"
2694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2695 *) ac_try_echo=$ac_try;;
2697 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2698 $as_echo "$ac_try_echo") >&5
2699 (eval "$ac_compiler -v >&5") 2>&5
2701 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2702 (exit $ac_status); }
2703 { (ac_try="$ac_compiler -V >&5"
2705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2706 *) ac_try_echo=$ac_try;;
2708 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2709 $as_echo "$ac_try_echo") >&5
2710 (eval "$ac_compiler -V >&5") 2>&5
2712 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2713 (exit $ac_status); }
2715 cat >conftest.$ac_ext <<_ACEOF
2718 cat confdefs.h >>conftest.$ac_ext
2719 cat >>conftest.$ac_ext <<_ACEOF
2720 /* end confdefs.h. */
2730 ac_clean_files_save=$ac_clean_files
2731 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2732 # Try to create an executable without -o first, disregard a.out.
2733 # It will help us diagnose broken compilers, and finding out an intuition
2735 { $as_echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
2736 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
2737 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2739 # The possible output files:
2740 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2743 for ac_file in $ac_files
2746 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2747 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2752 if { (ac_try="$ac_link_default"
2754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2755 *) ac_try_echo=$ac_try;;
2757 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2758 $as_echo "$ac_try_echo") >&5
2759 (eval "$ac_link_default") 2>&5
2761 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2762 (exit $ac_status); }; then
2763 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2764 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2765 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2766 # so that the user can short-circuit this test for compilers unknown to
2768 for ac_file in $ac_files ''
2770 test -f "$ac_file" || continue
2772 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2775 # We found the default executable, but exeext='' is most
2779 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2781 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2783 # We set ac_cv_exeext here because the later test for it is not
2784 # safe: cross compilers may not add the suffix if given an `-o'
2785 # argument, so we may need to know it at that point already.
2786 # Even if this section looks crufty: it has the advantage of
2793 test "$ac_cv_exeext" = no && ac_cv_exeext=
2799 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2800 $as_echo "$ac_file" >&6; }
2801 if test -z "$ac_file"; then
2802 $as_echo "$as_me: failed program was:" >&5
2803 sed 's/^/| /' conftest.$ac_ext >&5
2805 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2806 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2807 { { $as_echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2808 See \`config.log' for more details." >&5
2809 $as_echo "$as_me: error: C++ compiler cannot create executables
2810 See \`config.log' for more details." >&2;}
2811 { (exit 77); exit 77; }; }; }
2814 ac_exeext=$ac_cv_exeext
2816 # Check that the compiler produces executables we can run. If not, either
2817 # the compiler is broken, or we cross compile.
2818 { $as_echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2819 $as_echo_n "checking whether the C++ compiler works... " >&6; }
2820 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2821 # If not cross compiling, check that we can run a simple program.
2822 if test "$cross_compiling" != yes; then
2823 if { ac_try='./$ac_file'
2824 { (case "(($ac_try" in
2825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2826 *) ac_try_echo=$ac_try;;
2828 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2829 $as_echo "$ac_try_echo") >&5
2830 (eval "$ac_try") 2>&5
2832 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2833 (exit $ac_status); }; }; then
2836 if test "$cross_compiling" = maybe; then
2839 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2840 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2841 { { $as_echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2842 If you meant to cross compile, use \`--host'.
2843 See \`config.log' for more details." >&5
2844 $as_echo "$as_me: error: cannot run C++ compiled programs.
2845 If you meant to cross compile, use \`--host'.
2846 See \`config.log' for more details." >&2;}
2847 { (exit 1); exit 1; }; }; }
2851 { $as_echo "$as_me:$LINENO: result: yes" >&5
2852 $as_echo "yes" >&6; }
2854 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2855 ac_clean_files=$ac_clean_files_save
2856 # Check that the compiler produces executables we can run. If not, either
2857 # the compiler is broken, or we cross compile.
2858 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2859 $as_echo_n "checking whether we are cross compiling... " >&6; }
2860 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2861 $as_echo "$cross_compiling" >&6; }
2863 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2864 $as_echo_n "checking for suffix of executables... " >&6; }
2865 if { (ac_try="$ac_link"
2867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2868 *) ac_try_echo=$ac_try;;
2870 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2871 $as_echo "$ac_try_echo") >&5
2872 (eval "$ac_link") 2>&5
2874 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2875 (exit $ac_status); }; then
2876 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2877 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2878 # work properly (i.e., refer to `conftest.exe'), while it won't with
2880 for ac_file in conftest.exe conftest conftest.*; do
2881 test -f "$ac_file" || continue
2883 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2884 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2890 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2891 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2892 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2893 See \`config.log' for more details." >&5
2894 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2895 See \`config.log' for more details." >&2;}
2896 { (exit 1); exit 1; }; }; }
2899 rm -f conftest$ac_cv_exeext
2900 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2901 $as_echo "$ac_cv_exeext" >&6; }
2903 rm -f conftest.$ac_ext
2904 EXEEXT=$ac_cv_exeext
2906 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2907 $as_echo_n "checking for suffix of object files... " >&6; }
2908 if test "${ac_cv_objext+set}" = set; then
2909 $as_echo_n "(cached) " >&6
2911 cat >conftest.$ac_ext <<_ACEOF
2914 cat confdefs.h >>conftest.$ac_ext
2915 cat >>conftest.$ac_ext <<_ACEOF
2916 /* end confdefs.h. */
2926 rm -f conftest.o conftest.obj
2927 if { (ac_try="$ac_compile"
2929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2930 *) ac_try_echo=$ac_try;;
2932 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2933 $as_echo "$ac_try_echo") >&5
2934 (eval "$ac_compile") 2>&5
2936 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2937 (exit $ac_status); }; then
2938 for ac_file in conftest.o conftest.obj conftest.*; do
2939 test -f "$ac_file" || continue;
2941 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2942 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2947 $as_echo "$as_me: failed program was:" >&5
2948 sed 's/^/| /' conftest.$ac_ext >&5
2950 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2951 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2952 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2953 See \`config.log' for more details." >&5
2954 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2955 See \`config.log' for more details." >&2;}
2956 { (exit 1); exit 1; }; }; }
2959 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2961 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2962 $as_echo "$ac_cv_objext" >&6; }
2963 OBJEXT=$ac_cv_objext
2965 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2966 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
2967 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2968 $as_echo_n "(cached) " >&6
2970 cat >conftest.$ac_ext <<_ACEOF
2973 cat confdefs.h >>conftest.$ac_ext
2974 cat >>conftest.$ac_ext <<_ACEOF
2975 /* end confdefs.h. */
2988 rm -f conftest.$ac_objext
2989 if { (ac_try="$ac_compile"
2991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2992 *) ac_try_echo=$ac_try;;
2994 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2995 $as_echo "$ac_try_echo") >&5
2996 (eval "$ac_compile") 2>conftest.er1
2998 grep -v '^ *+' conftest.er1 >conftest.err
3000 cat conftest.err >&5
3001 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3002 (exit $ac_status); } && {
3003 test -z "$ac_cxx_werror_flag" ||
3004 test ! -s conftest.err
3005 } && test -s conftest.$ac_objext; then
3008 $as_echo "$as_me: failed program was:" >&5
3009 sed 's/^/| /' conftest.$ac_ext >&5
3014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3015 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3018 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3019 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3020 if test $ac_compiler_gnu = yes; then
3025 ac_test_CXXFLAGS=${CXXFLAGS+set}
3026 ac_save_CXXFLAGS=$CXXFLAGS
3027 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3028 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3029 if test "${ac_cv_prog_cxx_g+set}" = set; then
3030 $as_echo_n "(cached) " >&6
3032 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3033 ac_cxx_werror_flag=yes
3036 cat >conftest.$ac_ext <<_ACEOF
3039 cat confdefs.h >>conftest.$ac_ext
3040 cat >>conftest.$ac_ext <<_ACEOF
3041 /* end confdefs.h. */
3051 rm -f conftest.$ac_objext
3052 if { (ac_try="$ac_compile"
3054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3055 *) ac_try_echo=$ac_try;;
3057 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3058 $as_echo "$ac_try_echo") >&5
3059 (eval "$ac_compile") 2>conftest.er1
3061 grep -v '^ *+' conftest.er1 >conftest.err
3063 cat conftest.err >&5
3064 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3065 (exit $ac_status); } && {
3066 test -z "$ac_cxx_werror_flag" ||
3067 test ! -s conftest.err
3068 } && test -s conftest.$ac_objext; then
3069 ac_cv_prog_cxx_g=yes
3071 $as_echo "$as_me: failed program was:" >&5
3072 sed 's/^/| /' conftest.$ac_ext >&5
3075 cat >conftest.$ac_ext <<_ACEOF
3078 cat confdefs.h >>conftest.$ac_ext
3079 cat >>conftest.$ac_ext <<_ACEOF
3080 /* end confdefs.h. */
3090 rm -f conftest.$ac_objext
3091 if { (ac_try="$ac_compile"
3093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3094 *) ac_try_echo=$ac_try;;
3096 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3097 $as_echo "$ac_try_echo") >&5
3098 (eval "$ac_compile") 2>conftest.er1
3100 grep -v '^ *+' conftest.er1 >conftest.err
3102 cat conftest.err >&5
3103 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3104 (exit $ac_status); } && {
3105 test -z "$ac_cxx_werror_flag" ||
3106 test ! -s conftest.err
3107 } && test -s conftest.$ac_objext; then
3110 $as_echo "$as_me: failed program was:" >&5
3111 sed 's/^/| /' conftest.$ac_ext >&5
3113 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3115 cat >conftest.$ac_ext <<_ACEOF
3118 cat confdefs.h >>conftest.$ac_ext
3119 cat >>conftest.$ac_ext <<_ACEOF
3120 /* end confdefs.h. */
3130 rm -f conftest.$ac_objext
3131 if { (ac_try="$ac_compile"
3133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3134 *) ac_try_echo=$ac_try;;
3136 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3137 $as_echo "$ac_try_echo") >&5
3138 (eval "$ac_compile") 2>conftest.er1
3140 grep -v '^ *+' conftest.er1 >conftest.err
3142 cat conftest.err >&5
3143 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3144 (exit $ac_status); } && {
3145 test -z "$ac_cxx_werror_flag" ||
3146 test ! -s conftest.err
3147 } && test -s conftest.$ac_objext; then
3148 ac_cv_prog_cxx_g=yes
3150 $as_echo "$as_me: failed program was:" >&5
3151 sed 's/^/| /' conftest.$ac_ext >&5
3156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3163 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3165 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3166 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3167 if test "$ac_test_CXXFLAGS" = set; then
3168 CXXFLAGS=$ac_save_CXXFLAGS
3169 elif test $ac_cv_prog_cxx_g = yes; then
3170 if test "$GXX" = yes; then
3176 if test "$GXX" = yes; then
3183 ac_cpp='$CPP $CPPFLAGS'
3184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3187 DEPDIR="${am__leading_dot}deps"
3189 ac_config_commands="$ac_config_commands depfiles"
3192 am_make=${MAKE-make}
3193 cat > confinc << 'END'
3195 @echo this is the am__doit target
3198 # If we don't find an include directive, just comment out the code.
3199 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3200 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3204 # First try GNU make style include.
3205 echo "include confinc" > confmf
3206 # Ignore all kinds of additional output from `make'.
3207 case `$am_make -s -f confmf 2> /dev/null` in #(
3208 *the\ am__doit\ target*)
3214 # Now try BSD make style include.
3215 if test "$am__include" = "#"; then
3216 echo '.include "confinc"' > confmf
3217 case `$am_make -s -f confmf 2> /dev/null` in #(
3218 *the\ am__doit\ target*)
3219 am__include=.include
3227 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
3228 $as_echo "$_am_result" >&6; }
3229 rm -f confinc confmf
3231 # Check whether --enable-dependency-tracking was given.
3232 if test "${enable_dependency_tracking+set}" = set; then
3233 enableval=$enable_dependency_tracking;
3236 if test "x$enable_dependency_tracking" != xno; then
3237 am_depcomp="$ac_aux_dir/depcomp"
3240 if test "x$enable_dependency_tracking" != xno; then
3250 depcc="$CXX" am_compiler_list=
3252 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3253 $as_echo_n "checking dependency style of $depcc... " >&6; }
3254 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3255 $as_echo_n "(cached) " >&6
3257 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3258 # We make a subdir and do the tests there. Otherwise we can end up
3259 # making bogus files that we don't know about and never remove. For
3260 # instance it was reported that on HP-UX the gcc test will end up
3261 # making a dummy file named `D' -- because `-MD' means `put the output
3264 # Copy depcomp to subdir because otherwise we won't find it if we're
3265 # using a relative directory.
3266 cp "$am_depcomp" conftest.dir
3268 # We will build objects and dependencies in a subdirectory because
3269 # it helps to detect inapplicable dependency modes. For instance
3270 # both Tru64's cc and ICC support -MD to output dependencies as a
3271 # side effect of compilation, but ICC will put the dependencies in
3272 # the current directory while Tru64 will put them in the object
3276 am_cv_CXX_dependencies_compiler_type=none
3277 if test "$am_compiler_list" = ""; then
3278 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3281 case " $depcc " in #(
3282 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3285 for depmode in $am_compiler_list; do
3286 # Setup a source with many dependencies, because some compilers
3287 # like to wrap large dependency lists on column 80 (with \), and
3288 # we should not choose a depcomp mode which is confused by this.
3290 # We need to recreate these files for each test, as the compiler may
3291 # overwrite some of them when testing with obscure command lines.
3292 # This happens at least with the AIX C compiler.
3294 for i in 1 2 3 4 5 6; do
3295 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3296 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3297 # Solaris 8's {/usr,}/bin/sh.
3298 touch sub/conftst$i.h
3300 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3302 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3303 # mode. It turns out that the SunPro C++ compiler does not properly
3304 # handle `-M -o', and we need to detect this. Also, some Intel
3305 # versions had trouble with output in subdirs
3306 am__obj=sub/conftest.${OBJEXT-o}
3307 am__minus_obj="-o $am__obj"
3310 # This depmode causes a compiler race in universal mode.
3311 test "$am__universal" = false || continue
3314 # after this tag, mechanisms are not by side-effect, so they'll
3315 # only be used when explicitly requested
3316 if test "x$enable_dependency_tracking" = xyes; then
3322 msvisualcpp | msvcmsys)
3323 # This compiler won't grok `-c -o', but also, the minuso test has
3324 # not run yet. These depmodes are late enough in the game, and
3325 # so weak that their functioning should not be impacted.
3326 am__obj=conftest.${OBJEXT-o}
3331 if depmode=$depmode \
3332 source=sub/conftest.c object=$am__obj \
3333 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3334 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3335 >/dev/null 2>conftest.err &&
3336 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3337 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3338 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3339 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3340 # icc doesn't choke on unknown options, it will just issue warnings
3341 # or remarks (even with -Werror). So we grep stderr for any message
3342 # that says an option was ignored or not supported.
3343 # When given -MP, icc 7.0 and 7.1 complain thusly:
3344 # icc: Command line warning: ignoring option '-M'; no argument required
3345 # The diagnosis changed in icc 8.0:
3346 # icc: Command line remark: option '-MP' not supported
3347 if (grep 'ignoring option' conftest.err ||
3348 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3349 am_cv_CXX_dependencies_compiler_type=$depmode
3358 am_cv_CXX_dependencies_compiler_type=none
3362 { $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3363 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3364 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3367 test "x$enable_dependency_tracking" != xno \
3368 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3369 am__fastdepCXX_TRUE=
3370 am__fastdepCXX_FALSE='#'
3372 am__fastdepCXX_TRUE='#'
3373 am__fastdepCXX_FALSE=
3379 { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3380 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3385 macro_version='2.2.6b'
3386 macro_revision='1.3017'
3400 ltmain="$ac_aux_dir/ltmain.sh"
3402 # Make sure we can run config.sub.
3403 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3404 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3405 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3406 { (exit 1); exit 1; }; }
3408 { $as_echo "$as_me:$LINENO: checking build system type" >&5
3409 $as_echo_n "checking build system type... " >&6; }
3410 if test "${ac_cv_build+set}" = set; then
3411 $as_echo_n "(cached) " >&6
3413 ac_build_alias=$build_alias
3414 test "x$ac_build_alias" = x &&
3415 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3416 test "x$ac_build_alias" = x &&
3417 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3418 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3419 { (exit 1); exit 1; }; }
3420 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3421 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3422 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3423 { (exit 1); exit 1; }; }
3426 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3427 $as_echo "$ac_cv_build" >&6; }
3428 case $ac_cv_build in
3430 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3431 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
3432 { (exit 1); exit 1; }; };;
3435 ac_save_IFS=$IFS; IFS='-'
3441 # Remember, the first character of IFS is used to create $*,
3442 # except with old shells:
3445 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3448 { $as_echo "$as_me:$LINENO: checking host system type" >&5
3449 $as_echo_n "checking host system type... " >&6; }
3450 if test "${ac_cv_host+set}" = set; then
3451 $as_echo_n "(cached) " >&6
3453 if test "x$host_alias" = x; then
3454 ac_cv_host=$ac_cv_build
3456 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3457 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3458 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3459 { (exit 1); exit 1; }; }
3463 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3464 $as_echo "$ac_cv_host" >&6; }
3467 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3468 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
3469 { (exit 1); exit 1; }; };;
3472 ac_save_IFS=$IFS; IFS='-'
3478 # Remember, the first character of IFS is used to create $*,
3479 # except with old shells:
3482 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3486 ac_cpp='$CPP $CPPFLAGS'
3487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3490 if test -n "$ac_tool_prefix"; then
3491 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3492 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3493 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3494 $as_echo_n "checking for $ac_word... " >&6; }
3495 if test "${ac_cv_prog_CC+set}" = set; then
3496 $as_echo_n "(cached) " >&6
3498 if test -n "$CC"; then
3499 ac_cv_prog_CC="$CC" # Let the user override the test.
3501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3505 test -z "$as_dir" && as_dir=.
3506 for ac_exec_ext in '' $ac_executable_extensions; do
3507 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3508 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3509 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3519 if test -n "$CC"; then
3520 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3521 $as_echo "$CC" >&6; }
3523 { $as_echo "$as_me:$LINENO: result: no" >&5
3524 $as_echo "no" >&6; }
3529 if test -z "$ac_cv_prog_CC"; then
3531 # Extract the first word of "gcc", so it can be a program name with args.
3532 set dummy gcc; ac_word=$2
3533 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3534 $as_echo_n "checking for $ac_word... " >&6; }
3535 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3536 $as_echo_n "(cached) " >&6
3538 if test -n "$ac_ct_CC"; then
3539 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3545 test -z "$as_dir" && as_dir=.
3546 for ac_exec_ext in '' $ac_executable_extensions; do
3547 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3548 ac_cv_prog_ac_ct_CC="gcc"
3549 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3558 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3559 if test -n "$ac_ct_CC"; then
3560 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3561 $as_echo "$ac_ct_CC" >&6; }
3563 { $as_echo "$as_me:$LINENO: result: no" >&5
3564 $as_echo "no" >&6; }
3567 if test "x$ac_ct_CC" = x; then
3570 case $cross_compiling:$ac_tool_warned in
3572 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3573 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3574 ac_tool_warned=yes ;;
3582 if test -z "$CC"; then
3583 if test -n "$ac_tool_prefix"; then
3584 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3585 set dummy ${ac_tool_prefix}cc; ac_word=$2
3586 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3587 $as_echo_n "checking for $ac_word... " >&6; }
3588 if test "${ac_cv_prog_CC+set}" = set; then
3589 $as_echo_n "(cached) " >&6
3591 if test -n "$CC"; then
3592 ac_cv_prog_CC="$CC" # Let the user override the test.
3594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3598 test -z "$as_dir" && as_dir=.
3599 for ac_exec_ext in '' $ac_executable_extensions; do
3600 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3601 ac_cv_prog_CC="${ac_tool_prefix}cc"
3602 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3612 if test -n "$CC"; then
3613 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3614 $as_echo "$CC" >&6; }
3616 { $as_echo "$as_me:$LINENO: result: no" >&5
3617 $as_echo "no" >&6; }
3623 if test -z "$CC"; then
3624 # Extract the first word of "cc", so it can be a program name with args.
3625 set dummy cc; ac_word=$2
3626 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3627 $as_echo_n "checking for $ac_word... " >&6; }
3628 if test "${ac_cv_prog_CC+set}" = set; then
3629 $as_echo_n "(cached) " >&6
3631 if test -n "$CC"; then
3632 ac_cv_prog_CC="$CC" # Let the user override the test.
3635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3639 test -z "$as_dir" && as_dir=.
3640 for ac_exec_ext in '' $ac_executable_extensions; do
3641 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3642 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3643 ac_prog_rejected=yes
3647 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3654 if test $ac_prog_rejected = yes; then
3655 # We found a bogon in the path, so make sure we never use it.
3656 set dummy $ac_cv_prog_CC
3658 if test $# != 0; then
3659 # We chose a different compiler from the bogus one.
3660 # However, it has the same basename, so the bogon will be chosen
3661 # first if we set CC to just the basename; use the full file name.
3663 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3669 if test -n "$CC"; then
3670 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3671 $as_echo "$CC" >&6; }
3673 { $as_echo "$as_me:$LINENO: result: no" >&5
3674 $as_echo "no" >&6; }
3679 if test -z "$CC"; then
3680 if test -n "$ac_tool_prefix"; then
3681 for ac_prog in cl.exe
3683 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3684 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3685 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3686 $as_echo_n "checking for $ac_word... " >&6; }
3687 if test "${ac_cv_prog_CC+set}" = set; then
3688 $as_echo_n "(cached) " >&6
3690 if test -n "$CC"; then
3691 ac_cv_prog_CC="$CC" # Let the user override the test.
3693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3697 test -z "$as_dir" && as_dir=.
3698 for ac_exec_ext in '' $ac_executable_extensions; do
3699 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3700 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3701 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3711 if test -n "$CC"; then
3712 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3713 $as_echo "$CC" >&6; }
3715 { $as_echo "$as_me:$LINENO: result: no" >&5
3716 $as_echo "no" >&6; }
3720 test -n "$CC" && break
3723 if test -z "$CC"; then
3725 for ac_prog in cl.exe
3727 # Extract the first word of "$ac_prog", so it can be a program name with args.
3728 set dummy $ac_prog; ac_word=$2
3729 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3730 $as_echo_n "checking for $ac_word... " >&6; }
3731 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3732 $as_echo_n "(cached) " >&6
3734 if test -n "$ac_ct_CC"; then
3735 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3741 test -z "$as_dir" && as_dir=.
3742 for ac_exec_ext in '' $ac_executable_extensions; do
3743 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3744 ac_cv_prog_ac_ct_CC="$ac_prog"
3745 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3754 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3755 if test -n "$ac_ct_CC"; then
3756 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3757 $as_echo "$ac_ct_CC" >&6; }
3759 { $as_echo "$as_me:$LINENO: result: no" >&5
3760 $as_echo "no" >&6; }
3764 test -n "$ac_ct_CC" && break
3767 if test "x$ac_ct_CC" = x; then
3770 case $cross_compiling:$ac_tool_warned in
3772 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3773 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3774 ac_tool_warned=yes ;;
3783 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3784 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3785 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3786 See \`config.log' for more details." >&5
3787 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3788 See \`config.log' for more details." >&2;}
3789 { (exit 1); exit 1; }; }; }
3791 # Provide some information about the compiler.
3792 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3795 { (ac_try="$ac_compiler --version >&5"
3797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3798 *) ac_try_echo=$ac_try;;
3800 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3801 $as_echo "$ac_try_echo") >&5
3802 (eval "$ac_compiler --version >&5") 2>&5
3804 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3805 (exit $ac_status); }
3806 { (ac_try="$ac_compiler -v >&5"
3808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3809 *) ac_try_echo=$ac_try;;
3811 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3812 $as_echo "$ac_try_echo") >&5
3813 (eval "$ac_compiler -v >&5") 2>&5
3815 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3816 (exit $ac_status); }
3817 { (ac_try="$ac_compiler -V >&5"
3819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3820 *) ac_try_echo=$ac_try;;
3822 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3823 $as_echo "$ac_try_echo") >&5
3824 (eval "$ac_compiler -V >&5") 2>&5
3826 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3827 (exit $ac_status); }
3829 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3830 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3831 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3832 $as_echo_n "(cached) " >&6
3834 cat >conftest.$ac_ext <<_ACEOF
3837 cat confdefs.h >>conftest.$ac_ext
3838 cat >>conftest.$ac_ext <<_ACEOF
3839 /* end confdefs.h. */
3852 rm -f conftest.$ac_objext
3853 if { (ac_try="$ac_compile"
3855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3856 *) ac_try_echo=$ac_try;;
3858 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3859 $as_echo "$ac_try_echo") >&5
3860 (eval "$ac_compile") 2>conftest.er1
3862 grep -v '^ *+' conftest.er1 >conftest.err
3864 cat conftest.err >&5
3865 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3866 (exit $ac_status); } && {
3867 test -z "$ac_c_werror_flag" ||
3868 test ! -s conftest.err
3869 } && test -s conftest.$ac_objext; then
3872 $as_echo "$as_me: failed program was:" >&5
3873 sed 's/^/| /' conftest.$ac_ext >&5
3878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3879 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3882 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3883 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3884 if test $ac_compiler_gnu = yes; then
3889 ac_test_CFLAGS=${CFLAGS+set}
3890 ac_save_CFLAGS=$CFLAGS
3891 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3892 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3893 if test "${ac_cv_prog_cc_g+set}" = set; then
3894 $as_echo_n "(cached) " >&6
3896 ac_save_c_werror_flag=$ac_c_werror_flag
3897 ac_c_werror_flag=yes
3900 cat >conftest.$ac_ext <<_ACEOF
3903 cat confdefs.h >>conftest.$ac_ext
3904 cat >>conftest.$ac_ext <<_ACEOF
3905 /* end confdefs.h. */
3915 rm -f conftest.$ac_objext
3916 if { (ac_try="$ac_compile"
3918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3919 *) ac_try_echo=$ac_try;;
3921 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3922 $as_echo "$ac_try_echo") >&5
3923 (eval "$ac_compile") 2>conftest.er1
3925 grep -v '^ *+' conftest.er1 >conftest.err
3927 cat conftest.err >&5
3928 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3929 (exit $ac_status); } && {
3930 test -z "$ac_c_werror_flag" ||
3931 test ! -s conftest.err
3932 } && test -s conftest.$ac_objext; then
3935 $as_echo "$as_me: failed program was:" >&5
3936 sed 's/^/| /' conftest.$ac_ext >&5
3939 cat >conftest.$ac_ext <<_ACEOF
3942 cat confdefs.h >>conftest.$ac_ext
3943 cat >>conftest.$ac_ext <<_ACEOF
3944 /* end confdefs.h. */
3954 rm -f conftest.$ac_objext
3955 if { (ac_try="$ac_compile"
3957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3958 *) ac_try_echo=$ac_try;;
3960 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3961 $as_echo "$ac_try_echo") >&5
3962 (eval "$ac_compile") 2>conftest.er1
3964 grep -v '^ *+' conftest.er1 >conftest.err
3966 cat conftest.err >&5
3967 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3968 (exit $ac_status); } && {
3969 test -z "$ac_c_werror_flag" ||
3970 test ! -s conftest.err
3971 } && test -s conftest.$ac_objext; then
3974 $as_echo "$as_me: failed program was:" >&5
3975 sed 's/^/| /' conftest.$ac_ext >&5
3977 ac_c_werror_flag=$ac_save_c_werror_flag
3979 cat >conftest.$ac_ext <<_ACEOF
3982 cat confdefs.h >>conftest.$ac_ext
3983 cat >>conftest.$ac_ext <<_ACEOF
3984 /* end confdefs.h. */
3994 rm -f conftest.$ac_objext
3995 if { (ac_try="$ac_compile"
3997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3998 *) ac_try_echo=$ac_try;;
4000 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4001 $as_echo "$ac_try_echo") >&5
4002 (eval "$ac_compile") 2>conftest.er1
4004 grep -v '^ *+' conftest.er1 >conftest.err
4006 cat conftest.err >&5
4007 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4008 (exit $ac_status); } && {
4009 test -z "$ac_c_werror_flag" ||
4010 test ! -s conftest.err
4011 } && test -s conftest.$ac_objext; then
4014 $as_echo "$as_me: failed program was:" >&5
4015 sed 's/^/| /' conftest.$ac_ext >&5
4020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4027 ac_c_werror_flag=$ac_save_c_werror_flag
4029 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4030 $as_echo "$ac_cv_prog_cc_g" >&6; }
4031 if test "$ac_test_CFLAGS" = set; then
4032 CFLAGS=$ac_save_CFLAGS
4033 elif test $ac_cv_prog_cc_g = yes; then
4034 if test "$GCC" = yes; then
4040 if test "$GCC" = yes; then
4046 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4047 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4048 if test "${ac_cv_prog_cc_c89+set}" = set; then
4049 $as_echo_n "(cached) " >&6
4051 ac_cv_prog_cc_c89=no
4053 cat >conftest.$ac_ext <<_ACEOF
4056 cat confdefs.h >>conftest.$ac_ext
4057 cat >>conftest.$ac_ext <<_ACEOF
4058 /* end confdefs.h. */
4061 #include <sys/types.h>
4062 #include <sys/stat.h>
4063 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4064 struct buf { int x; };
4065 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4066 static char *e (p, i)
4072 static char *f (char * (*g) (char **, int), char **p, ...)
4077 s = g (p, va_arg (v,int));
4082 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4083 function prototypes and stuff, but not '\xHH' hex character constants.
4084 These don't provoke an error unfortunately, instead are silently treated
4085 as 'x'. The following induces an error, until -std is added to get
4086 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4087 array size at least. It's necessary to write '\x00'==0 to get something
4088 that's true only with -std. */
4089 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4091 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4092 inside strings and character constants. */
4094 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4096 int test (int i, double x);
4097 struct s1 {int (*f) (int a);};
4098 struct s2 {int (*f) (double a);};
4099 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4105 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4110 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4111 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4113 CC="$ac_save_CC $ac_arg"
4114 rm -f conftest.$ac_objext
4115 if { (ac_try="$ac_compile"
4117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4118 *) ac_try_echo=$ac_try;;
4120 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4121 $as_echo "$ac_try_echo") >&5
4122 (eval "$ac_compile") 2>conftest.er1
4124 grep -v '^ *+' conftest.er1 >conftest.err
4126 cat conftest.err >&5
4127 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4128 (exit $ac_status); } && {
4129 test -z "$ac_c_werror_flag" ||
4130 test ! -s conftest.err
4131 } && test -s conftest.$ac_objext; then
4132 ac_cv_prog_cc_c89=$ac_arg
4134 $as_echo "$as_me: failed program was:" >&5
4135 sed 's/^/| /' conftest.$ac_ext >&5
4140 rm -f core conftest.err conftest.$ac_objext
4141 test "x$ac_cv_prog_cc_c89" != "xno" && break
4143 rm -f conftest.$ac_ext
4148 case "x$ac_cv_prog_cc_c89" in
4150 { $as_echo "$as_me:$LINENO: result: none needed" >&5
4151 $as_echo "none needed" >&6; } ;;
4153 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
4154 $as_echo "unsupported" >&6; } ;;
4156 CC="$CC $ac_cv_prog_cc_c89"
4157 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4158 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4163 ac_cpp='$CPP $CPPFLAGS'
4164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4168 depcc="$CC" am_compiler_list=
4170 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4171 $as_echo_n "checking dependency style of $depcc... " >&6; }
4172 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4173 $as_echo_n "(cached) " >&6
4175 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4176 # We make a subdir and do the tests there. Otherwise we can end up
4177 # making bogus files that we don't know about and never remove. For
4178 # instance it was reported that on HP-UX the gcc test will end up
4179 # making a dummy file named `D' -- because `-MD' means `put the output
4182 # Copy depcomp to subdir because otherwise we won't find it if we're
4183 # using a relative directory.
4184 cp "$am_depcomp" conftest.dir
4186 # We will build objects and dependencies in a subdirectory because
4187 # it helps to detect inapplicable dependency modes. For instance
4188 # both Tru64's cc and ICC support -MD to output dependencies as a
4189 # side effect of compilation, but ICC will put the dependencies in
4190 # the current directory while Tru64 will put them in the object
4194 am_cv_CC_dependencies_compiler_type=none
4195 if test "$am_compiler_list" = ""; then
4196 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4199 case " $depcc " in #(
4200 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4203 for depmode in $am_compiler_list; do
4204 # Setup a source with many dependencies, because some compilers
4205 # like to wrap large dependency lists on column 80 (with \), and
4206 # we should not choose a depcomp mode which is confused by this.
4208 # We need to recreate these files for each test, as the compiler may
4209 # overwrite some of them when testing with obscure command lines.
4210 # This happens at least with the AIX C compiler.
4212 for i in 1 2 3 4 5 6; do
4213 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4214 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4215 # Solaris 8's {/usr,}/bin/sh.
4216 touch sub/conftst$i.h
4218 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4220 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4221 # mode. It turns out that the SunPro C++ compiler does not properly
4222 # handle `-M -o', and we need to detect this. Also, some Intel
4223 # versions had trouble with output in subdirs
4224 am__obj=sub/conftest.${OBJEXT-o}
4225 am__minus_obj="-o $am__obj"
4228 # This depmode causes a compiler race in universal mode.
4229 test "$am__universal" = false || continue
4232 # after this tag, mechanisms are not by side-effect, so they'll
4233 # only be used when explicitly requested
4234 if test "x$enable_dependency_tracking" = xyes; then
4240 msvisualcpp | msvcmsys)
4241 # This compiler won't grok `-c -o', but also, the minuso test has
4242 # not run yet. These depmodes are late enough in the game, and
4243 # so weak that their functioning should not be impacted.
4244 am__obj=conftest.${OBJEXT-o}
4249 if depmode=$depmode \
4250 source=sub/conftest.c object=$am__obj \
4251 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4252 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4253 >/dev/null 2>conftest.err &&
4254 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4255 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4256 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4257 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4258 # icc doesn't choke on unknown options, it will just issue warnings
4259 # or remarks (even with -Werror). So we grep stderr for any message
4260 # that says an option was ignored or not supported.
4261 # When given -MP, icc 7.0 and 7.1 complain thusly:
4262 # icc: Command line warning: ignoring option '-M'; no argument required
4263 # The diagnosis changed in icc 8.0:
4264 # icc: Command line remark: option '-MP' not supported
4265 if (grep 'ignoring option' conftest.err ||
4266 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4267 am_cv_CC_dependencies_compiler_type=$depmode
4276 am_cv_CC_dependencies_compiler_type=none
4280 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4281 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4282 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4285 test "x$enable_dependency_tracking" != xno \
4286 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4288 am__fastdepCC_FALSE='#'
4290 am__fastdepCC_TRUE='#'
4291 am__fastdepCC_FALSE=
4295 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4296 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4297 if test "${ac_cv_path_SED+set}" = set; then
4298 $as_echo_n "(cached) " >&6
4300 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4301 for ac_i in 1 2 3 4 5 6 7; do
4302 ac_script="$ac_script$as_nl$ac_script"
4304 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4305 $as_unset ac_script || ac_script=
4306 if test -z "$SED"; then
4307 ac_path_SED_found=false
4308 # Loop through the user's path and test for each of PROGNAME-LIST
4309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4313 test -z "$as_dir" && as_dir=.
4314 for ac_prog in sed gsed; do
4315 for ac_exec_ext in '' $ac_executable_extensions; do
4316 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4317 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4318 # Check for GNU ac_path_SED and select it if it is found.
4319 # Check for GNU $ac_path_SED
4320 case `"$ac_path_SED" --version 2>&1` in
4322 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4325 $as_echo_n 0123456789 >"conftest.in"
4328 cat "conftest.in" "conftest.in" >"conftest.tmp"
4329 mv "conftest.tmp" "conftest.in"
4330 cp "conftest.in" "conftest.nl"
4331 $as_echo '' >> "conftest.nl"
4332 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4333 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4334 ac_count=`expr $ac_count + 1`
4335 if test $ac_count -gt ${ac_path_SED_max-0}; then
4336 # Best one so far, save it but keep looking for a better one
4337 ac_cv_path_SED="$ac_path_SED"
4338 ac_path_SED_max=$ac_count
4340 # 10*(2^10) chars as input seems more than enough
4341 test $ac_count -gt 10 && break
4343 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4346 $ac_path_SED_found && break 3
4351 if test -z "$ac_cv_path_SED"; then
4352 { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
4353 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
4354 { (exit 1); exit 1; }; }
4361 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
4362 $as_echo "$ac_cv_path_SED" >&6; }
4363 SED="$ac_cv_path_SED"
4366 test -z "$SED" && SED=sed
4367 Xsed="$SED -e 1s/^X//"
4379 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4380 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4381 if test "${ac_cv_path_GREP+set}" = set; then
4382 $as_echo_n "(cached) " >&6
4384 if test -z "$GREP"; then
4385 ac_path_GREP_found=false
4386 # Loop through the user's path and test for each of PROGNAME-LIST
4387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4388 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4391 test -z "$as_dir" && as_dir=.
4392 for ac_prog in grep ggrep; do
4393 for ac_exec_ext in '' $ac_executable_extensions; do
4394 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4395 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4396 # Check for GNU ac_path_GREP and select it if it is found.
4397 # Check for GNU $ac_path_GREP
4398 case `"$ac_path_GREP" --version 2>&1` in
4400 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4403 $as_echo_n 0123456789 >"conftest.in"
4406 cat "conftest.in" "conftest.in" >"conftest.tmp"
4407 mv "conftest.tmp" "conftest.in"
4408 cp "conftest.in" "conftest.nl"
4409 $as_echo 'GREP' >> "conftest.nl"
4410 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4411 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4412 ac_count=`expr $ac_count + 1`
4413 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4414 # Best one so far, save it but keep looking for a better one
4415 ac_cv_path_GREP="$ac_path_GREP"
4416 ac_path_GREP_max=$ac_count
4418 # 10*(2^10) chars as input seems more than enough
4419 test $ac_count -gt 10 && break
4421 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4424 $ac_path_GREP_found && break 3
4429 if test -z "$ac_cv_path_GREP"; then
4430 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4431 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4432 { (exit 1); exit 1; }; }
4435 ac_cv_path_GREP=$GREP
4439 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4440 $as_echo "$ac_cv_path_GREP" >&6; }
4441 GREP="$ac_cv_path_GREP"
4444 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
4445 $as_echo_n "checking for egrep... " >&6; }
4446 if test "${ac_cv_path_EGREP+set}" = set; then
4447 $as_echo_n "(cached) " >&6
4449 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4450 then ac_cv_path_EGREP="$GREP -E"
4452 if test -z "$EGREP"; then
4453 ac_path_EGREP_found=false
4454 # Loop through the user's path and test for each of PROGNAME-LIST
4455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4456 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4459 test -z "$as_dir" && as_dir=.
4460 for ac_prog in egrep; do
4461 for ac_exec_ext in '' $ac_executable_extensions; do
4462 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4463 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4464 # Check for GNU ac_path_EGREP and select it if it is found.
4465 # Check for GNU $ac_path_EGREP
4466 case `"$ac_path_EGREP" --version 2>&1` in
4468 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4471 $as_echo_n 0123456789 >"conftest.in"
4474 cat "conftest.in" "conftest.in" >"conftest.tmp"
4475 mv "conftest.tmp" "conftest.in"
4476 cp "conftest.in" "conftest.nl"
4477 $as_echo 'EGREP' >> "conftest.nl"
4478 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4479 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4480 ac_count=`expr $ac_count + 1`
4481 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4482 # Best one so far, save it but keep looking for a better one
4483 ac_cv_path_EGREP="$ac_path_EGREP"
4484 ac_path_EGREP_max=$ac_count
4486 # 10*(2^10) chars as input seems more than enough
4487 test $ac_count -gt 10 && break
4489 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4492 $ac_path_EGREP_found && break 3
4497 if test -z "$ac_cv_path_EGREP"; then
4498 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4499 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4500 { (exit 1); exit 1; }; }
4503 ac_cv_path_EGREP=$EGREP
4508 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4509 $as_echo "$ac_cv_path_EGREP" >&6; }
4510 EGREP="$ac_cv_path_EGREP"
4513 { $as_echo "$as_me:$LINENO: checking for fgrep" >&5
4514 $as_echo_n "checking for fgrep... " >&6; }
4515 if test "${ac_cv_path_FGREP+set}" = set; then
4516 $as_echo_n "(cached) " >&6
4518 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4519 then ac_cv_path_FGREP="$GREP -F"
4521 if test -z "$FGREP"; then
4522 ac_path_FGREP_found=false
4523 # Loop through the user's path and test for each of PROGNAME-LIST
4524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4525 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4528 test -z "$as_dir" && as_dir=.
4529 for ac_prog in fgrep; do
4530 for ac_exec_ext in '' $ac_executable_extensions; do
4531 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4532 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4533 # Check for GNU ac_path_FGREP and select it if it is found.
4534 # Check for GNU $ac_path_FGREP
4535 case `"$ac_path_FGREP" --version 2>&1` in
4537 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4540 $as_echo_n 0123456789 >"conftest.in"
4543 cat "conftest.in" "conftest.in" >"conftest.tmp"
4544 mv "conftest.tmp" "conftest.in"
4545 cp "conftest.in" "conftest.nl"
4546 $as_echo 'FGREP' >> "conftest.nl"
4547 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4548 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4549 ac_count=`expr $ac_count + 1`
4550 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4551 # Best one so far, save it but keep looking for a better one
4552 ac_cv_path_FGREP="$ac_path_FGREP"
4553 ac_path_FGREP_max=$ac_count
4555 # 10*(2^10) chars as input seems more than enough
4556 test $ac_count -gt 10 && break
4558 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4561 $ac_path_FGREP_found && break 3
4566 if test -z "$ac_cv_path_FGREP"; then
4567 { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4568 $as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4569 { (exit 1); exit 1; }; }
4572 ac_cv_path_FGREP=$FGREP
4577 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
4578 $as_echo "$ac_cv_path_FGREP" >&6; }
4579 FGREP="$ac_cv_path_FGREP"
4582 test -z "$GREP" && GREP=grep
4602 # Check whether --with-gnu-ld was given.
4603 if test "${with_gnu_ld+set}" = set; then
4604 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4610 if test "$GCC" = yes; then
4611 # Check if gcc -print-prog-name=ld gives a path.
4612 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4613 $as_echo_n "checking for ld used by $CC... " >&6; }
4616 # gcc leaves a trailing carriage return which upsets mingw
4617 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4619 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4622 # Accept absolute paths.
4624 re_direlt='/[^/][^/]*/\.\./'
4625 # Canonicalize the pathname of ld
4626 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4627 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4628 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4630 test -z "$LD" && LD="$ac_prog"
4633 # If it fails, then pretend we aren't using GCC.
4637 # If it is relative, then search for the first ld in PATH.
4641 elif test "$with_gnu_ld" = yes; then
4642 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
4643 $as_echo_n "checking for GNU ld... " >&6; }
4645 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4646 $as_echo_n "checking for non-GNU ld... " >&6; }
4648 if test "${lt_cv_path_LD+set}" = set; then
4649 $as_echo_n "(cached) " >&6
4651 if test -z "$LD"; then
4652 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4653 for ac_dir in $PATH; do
4655 test -z "$ac_dir" && ac_dir=.
4656 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4657 lt_cv_path_LD="$ac_dir/$ac_prog"
4658 # Check to see if the program is GNU ld. I'd rather use --version,
4659 # but apparently some variants of GNU ld only accept -v.
4660 # Break only if it was the GNU/non-GNU ld that we prefer.
4661 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4662 *GNU* | *'with BFD'*)
4663 test "$with_gnu_ld" != no && break
4666 test "$with_gnu_ld" != yes && break
4673 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4678 if test -n "$LD"; then
4679 { $as_echo "$as_me:$LINENO: result: $LD" >&5
4680 $as_echo "$LD" >&6; }
4682 { $as_echo "$as_me:$LINENO: result: no" >&5
4683 $as_echo "no" >&6; }
4685 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4686 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4687 { (exit 1); exit 1; }; }
4688 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4689 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4690 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4691 $as_echo_n "(cached) " >&6
4693 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4694 case `$LD -v 2>&1 </dev/null` in
4695 *GNU* | *'with BFD'*)
4696 lt_cv_prog_gnu_ld=yes
4699 lt_cv_prog_gnu_ld=no
4703 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4704 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4705 with_gnu_ld=$lt_cv_prog_gnu_ld
4715 { $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4716 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4717 if test "${lt_cv_path_NM+set}" = set; then
4718 $as_echo_n "(cached) " >&6
4720 if test -n "$NM"; then
4721 # Let the user override the test.
4724 lt_nm_to_check="${ac_tool_prefix}nm"
4725 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4726 lt_nm_to_check="$lt_nm_to_check nm"
4728 for lt_tmp_nm in $lt_nm_to_check; do
4729 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4730 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4732 test -z "$ac_dir" && ac_dir=.
4733 tmp_nm="$ac_dir/$lt_tmp_nm"
4734 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4735 # Check to see if the nm accepts a BSD-compat flag.
4736 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4737 # nm: unknown option "B" ignored
4738 # Tru64's nm complains that /dev/null is an invalid object file
4739 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4740 */dev/null* | *'Invalid file or object type'*)
4741 lt_cv_path_NM="$tmp_nm -B"
4745 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4747 lt_cv_path_NM="$tmp_nm -p"
4751 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4752 continue # so that we can try to find one that supports BSD flags
4761 : ${lt_cv_path_NM=no}
4764 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4765 $as_echo "$lt_cv_path_NM" >&6; }
4766 if test "$lt_cv_path_NM" != "no"; then
4769 # Didn't find any BSD compatible name lister, look for dumpbin.
4770 if test -n "$ac_tool_prefix"; then
4771 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4773 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4774 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4775 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4776 $as_echo_n "checking for $ac_word... " >&6; }
4777 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4778 $as_echo_n "(cached) " >&6
4780 if test -n "$DUMPBIN"; then
4781 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4787 test -z "$as_dir" && as_dir=.
4788 for ac_exec_ext in '' $ac_executable_extensions; do
4789 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4790 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4791 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4800 DUMPBIN=$ac_cv_prog_DUMPBIN
4801 if test -n "$DUMPBIN"; then
4802 { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4803 $as_echo "$DUMPBIN" >&6; }
4805 { $as_echo "$as_me:$LINENO: result: no" >&5
4806 $as_echo "no" >&6; }
4810 test -n "$DUMPBIN" && break
4813 if test -z "$DUMPBIN"; then
4814 ac_ct_DUMPBIN=$DUMPBIN
4815 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4817 # Extract the first word of "$ac_prog", so it can be a program name with args.
4818 set dummy $ac_prog; ac_word=$2
4819 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4820 $as_echo_n "checking for $ac_word... " >&6; }
4821 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4822 $as_echo_n "(cached) " >&6
4824 if test -n "$ac_ct_DUMPBIN"; then
4825 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4831 test -z "$as_dir" && as_dir=.
4832 for ac_exec_ext in '' $ac_executable_extensions; do
4833 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4834 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4835 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4844 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4845 if test -n "$ac_ct_DUMPBIN"; then
4846 { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4847 $as_echo "$ac_ct_DUMPBIN" >&6; }
4849 { $as_echo "$as_me:$LINENO: result: no" >&5
4850 $as_echo "no" >&6; }
4854 test -n "$ac_ct_DUMPBIN" && break
4857 if test "x$ac_ct_DUMPBIN" = x; then
4860 case $cross_compiling:$ac_tool_warned in
4862 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4863 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4864 ac_tool_warned=yes ;;
4866 DUMPBIN=$ac_ct_DUMPBIN
4871 if test "$DUMPBIN" != ":"; then
4875 test -z "$NM" && NM=nm
4882 { $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4883 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4884 if test "${lt_cv_nm_interface+set}" = set; then
4885 $as_echo_n "(cached) " >&6
4887 lt_cv_nm_interface="BSD nm"
4888 echo "int some_variable = 0;" > conftest.$ac_ext
4889 (eval echo "\"\$as_me:4889: $ac_compile\"" >&5)
4890 (eval "$ac_compile" 2>conftest.err)
4891 cat conftest.err >&5
4892 (eval echo "\"\$as_me:4892: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4893 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4894 cat conftest.err >&5
4895 (eval echo "\"\$as_me:4895: output\"" >&5)
4896 cat conftest.out >&5
4897 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4898 lt_cv_nm_interface="MS dumpbin"
4902 { $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4903 $as_echo "$lt_cv_nm_interface" >&6; }
4905 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
4906 $as_echo_n "checking whether ln -s works... " >&6; }
4908 if test "$LN_S" = "ln -s"; then
4909 { $as_echo "$as_me:$LINENO: result: yes" >&5
4910 $as_echo "yes" >&6; }
4912 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4913 $as_echo "no, using $LN_S" >&6; }
4916 # find the maximum length of command line arguments
4917 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4918 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4919 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4920 $as_echo_n "(cached) " >&6
4927 # On DJGPP, this test can blow up pretty badly due to problems in libc
4928 # (any single argument exceeding 2000 bytes causes a buffer overrun
4929 # during glob expansion). Even if it were fixed, the result of this
4930 # check would be larger than it should be.
4931 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4935 # Under GNU Hurd, this test is not required because there is
4936 # no limit to the length of command line arguments.
4937 # Libtool will interpret -1 as no limit whatsoever
4938 lt_cv_sys_max_cmd_len=-1;
4941 cygwin* | mingw* | cegcc*)
4942 # On Win9x/ME, this test blows up -- it succeeds, but takes
4943 # about 5 minutes as the teststring grows exponentially.
4944 # Worse, since 9x/ME are not pre-emptively multitasking,
4945 # you end up with a "frozen" computer, even though with patience
4946 # the test eventually succeeds (with a max line length of 256k).
4947 # Instead, let's just punt: use the minimum linelength reported by
4948 # all of the supported platforms: 8192 (on NT/2K/XP).
4949 lt_cv_sys_max_cmd_len=8192;
4953 # On AmigaOS with pdksh, this test takes hours, literally.
4954 # So we just punt and use a minimum line length of 8192.
4955 lt_cv_sys_max_cmd_len=8192;
4958 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4959 # This has been around since 386BSD, at least. Likely further.
4960 if test -x /sbin/sysctl; then
4961 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4962 elif test -x /usr/sbin/sysctl; then
4963 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4965 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4967 # And add a safety zone
4968 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4969 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4973 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4974 lt_cv_sys_max_cmd_len=196608
4978 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4979 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4980 # nice to cause kernel panics so lets avoid the loop below.
4981 # First set a reasonable default.
4982 lt_cv_sys_max_cmd_len=16384
4984 if test -x /sbin/sysconfig; then
4985 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4986 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4991 lt_cv_sys_max_cmd_len=102400
4993 sysv5* | sco5v6* | sysv4.2uw2*)
4994 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4995 if test -n "$kargmax"; then
4996 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4998 lt_cv_sys_max_cmd_len=32768
5002 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5003 if test -n "$lt_cv_sys_max_cmd_len"; then
5004 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5005 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5007 # Make teststring a little bigger before we do anything with it.
5008 # a 1K string should be a reasonable start.
5009 for i in 1 2 3 4 5 6 7 8 ; do
5010 teststring=$teststring$teststring
5012 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5013 # If test is not a shell built-in, we'll probably end up computing a
5014 # maximum length that is only half of the actual maximum length, but
5016 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5017 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5018 test $i != 17 # 1/2 MB should be enough
5021 teststring=$teststring$teststring
5023 # Only check the string length outside the loop.
5024 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5026 # Add a significant safety factor because C++ compilers can tack on
5027 # massive amounts of additional arguments before passing them to the
5028 # linker. It appears as though 1/2 is a usable value.
5029 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5036 if test -n $lt_cv_sys_max_cmd_len ; then
5037 { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5038 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5040 { $as_echo "$as_me:$LINENO: result: none" >&5
5041 $as_echo "none" >&6; }
5043 max_cmd_len=$lt_cv_sys_max_cmd_len
5054 { $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
5055 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5056 # Try some XSI features
5059 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5061 && eval 'test $(( 1 + 1 )) -eq 2 \
5062 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5064 { $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
5065 $as_echo "$xsi_shell" >&6; }
5068 { $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
5069 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5071 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5073 && lt_shell_append=yes
5074 { $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
5075 $as_echo "$lt_shell_append" >&6; }
5078 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5088 # test EBCDIC or ASCII
5089 case `echo X|tr X '\101'` in
5090 A) # ASCII based system
5091 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5092 lt_SP2NL='tr \040 \012'
5093 lt_NL2SP='tr \015\012 \040\040'
5095 *) # EBCDIC based system
5096 lt_SP2NL='tr \100 \n'
5097 lt_NL2SP='tr \r\n \100\100'
5109 { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
5110 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5111 if test "${lt_cv_ld_reload_flag+set}" = set; then
5112 $as_echo_n "(cached) " >&6
5114 lt_cv_ld_reload_flag='-r'
5116 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
5117 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5118 reload_flag=$lt_cv_ld_reload_flag
5119 case $reload_flag in
5121 *) reload_flag=" $reload_flag" ;;
5123 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5126 if test "$GCC" = yes; then
5127 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5129 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5142 if test -n "$ac_tool_prefix"; then
5143 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5144 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5145 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5146 $as_echo_n "checking for $ac_word... " >&6; }
5147 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
5148 $as_echo_n "(cached) " >&6
5150 if test -n "$OBJDUMP"; then
5151 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5157 test -z "$as_dir" && as_dir=.
5158 for ac_exec_ext in '' $ac_executable_extensions; do
5159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5160 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5161 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5170 OBJDUMP=$ac_cv_prog_OBJDUMP
5171 if test -n "$OBJDUMP"; then
5172 { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
5173 $as_echo "$OBJDUMP" >&6; }
5175 { $as_echo "$as_me:$LINENO: result: no" >&5
5176 $as_echo "no" >&6; }
5181 if test -z "$ac_cv_prog_OBJDUMP"; then
5182 ac_ct_OBJDUMP=$OBJDUMP
5183 # Extract the first word of "objdump", so it can be a program name with args.
5184 set dummy objdump; ac_word=$2
5185 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5186 $as_echo_n "checking for $ac_word... " >&6; }
5187 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
5188 $as_echo_n "(cached) " >&6
5190 if test -n "$ac_ct_OBJDUMP"; then
5191 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5197 test -z "$as_dir" && as_dir=.
5198 for ac_exec_ext in '' $ac_executable_extensions; do
5199 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5200 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5201 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5210 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5211 if test -n "$ac_ct_OBJDUMP"; then
5212 { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
5213 $as_echo "$ac_ct_OBJDUMP" >&6; }
5215 { $as_echo "$as_me:$LINENO: result: no" >&5
5216 $as_echo "no" >&6; }
5219 if test "x$ac_ct_OBJDUMP" = x; then
5222 case $cross_compiling:$ac_tool_warned in
5224 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5225 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5226 ac_tool_warned=yes ;;
5228 OBJDUMP=$ac_ct_OBJDUMP
5231 OBJDUMP="$ac_cv_prog_OBJDUMP"
5234 test -z "$OBJDUMP" && OBJDUMP=objdump
5244 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
5245 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5246 if test "${lt_cv_deplibs_check_method+set}" = set; then
5247 $as_echo_n "(cached) " >&6
5249 lt_cv_file_magic_cmd='$MAGIC_CMD'
5250 lt_cv_file_magic_test_file=
5251 lt_cv_deplibs_check_method='unknown'
5252 # Need to set the preceding variable on all platforms that support
5253 # interlibrary dependencies.
5254 # 'none' -- dependencies not supported.
5255 # `unknown' -- same as none, but documents that we really don't know.
5256 # 'pass_all' -- all dependencies passed with no checks.
5257 # 'test_compile' -- check by making test program.
5258 # 'file_magic [[regex]]' -- check by looking for files in library path
5259 # which responds to the $file_magic_cmd with a given extended regex.
5260 # If you have `file' or equivalent on your system and you're not sure
5261 # whether `pass_all' will *always* work, you probably want this one.
5265 lt_cv_deplibs_check_method=pass_all
5269 lt_cv_deplibs_check_method=pass_all
5273 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5274 lt_cv_file_magic_cmd='/usr/bin/file -L'
5275 lt_cv_file_magic_test_file=/shlib/libc.so
5279 # func_win32_libid is a shell function defined in ltmain.sh
5280 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5281 lt_cv_file_magic_cmd='func_win32_libid'
5285 # Base MSYS/MinGW do not provide the 'file' command needed by
5286 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5287 # unless we find 'file', for example because we are cross-compiling.
5288 if ( file / ) >/dev/null 2>&1; then
5289 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5290 lt_cv_file_magic_cmd='func_win32_libid'
5292 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5293 lt_cv_file_magic_cmd='$OBJDUMP -f'
5298 # use the weaker test based on 'objdump'. See mingw*.
5299 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5300 lt_cv_file_magic_cmd='$OBJDUMP -f'
5303 darwin* | rhapsody*)
5304 lt_cv_deplibs_check_method=pass_all
5307 freebsd* | dragonfly*)
5308 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5311 # Not sure whether the presence of OpenBSD here was a mistake.
5312 # Let's accept both of them until this is cleared up.
5313 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5314 lt_cv_file_magic_cmd=/usr/bin/file
5315 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5319 lt_cv_deplibs_check_method=pass_all
5324 lt_cv_deplibs_check_method=pass_all
5327 hpux10.20* | hpux11*)
5328 lt_cv_file_magic_cmd=/usr/bin/file
5331 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5332 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5335 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
5336 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5339 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5340 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5346 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5347 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5350 irix5* | irix6* | nonstopux*)
5352 *-32|*"-32 ") libmagic=32-bit;;
5353 *-n32|*"-n32 ") libmagic=N32;;
5354 *-64|*"-64 ") libmagic=64-bit;;
5355 *) libmagic=never-match;;
5357 lt_cv_deplibs_check_method=pass_all
5360 # This must be Linux ELF.
5361 linux* | k*bsd*-gnu)
5362 lt_cv_deplibs_check_method=pass_all
5366 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5367 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5369 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5374 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5375 lt_cv_file_magic_cmd=/usr/bin/file
5376 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5380 lt_cv_deplibs_check_method=pass_all
5384 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5385 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5387 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5391 osf3* | osf4* | osf5*)
5392 lt_cv_deplibs_check_method=pass_all
5396 lt_cv_deplibs_check_method=pass_all
5400 lt_cv_deplibs_check_method=pass_all
5403 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5404 lt_cv_deplibs_check_method=pass_all
5408 case $host_vendor in
5410 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]'
5411 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5414 lt_cv_deplibs_check_method=pass_all
5417 lt_cv_file_magic_cmd='/bin/file'
5418 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5421 lt_cv_file_magic_cmd='/bin/file'
5422 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5423 lt_cv_file_magic_test_file=/lib/libc.so
5426 lt_cv_deplibs_check_method=pass_all
5429 lt_cv_deplibs_check_method=pass_all
5435 lt_cv_deplibs_check_method=pass_all
5440 { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5441 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5442 file_magic_cmd=$lt_cv_file_magic_cmd
5443 deplibs_check_method=$lt_cv_deplibs_check_method
5444 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5457 if test -n "$ac_tool_prefix"; then
5458 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5459 set dummy ${ac_tool_prefix}ar; ac_word=$2
5460 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5461 $as_echo_n "checking for $ac_word... " >&6; }
5462 if test "${ac_cv_prog_AR+set}" = set; then
5463 $as_echo_n "(cached) " >&6
5465 if test -n "$AR"; then
5466 ac_cv_prog_AR="$AR" # Let the user override the test.
5468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5472 test -z "$as_dir" && as_dir=.
5473 for ac_exec_ext in '' $ac_executable_extensions; do
5474 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5475 ac_cv_prog_AR="${ac_tool_prefix}ar"
5476 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5486 if test -n "$AR"; then
5487 { $as_echo "$as_me:$LINENO: result: $AR" >&5
5488 $as_echo "$AR" >&6; }
5490 { $as_echo "$as_me:$LINENO: result: no" >&5
5491 $as_echo "no" >&6; }
5496 if test -z "$ac_cv_prog_AR"; then
5498 # Extract the first word of "ar", so it can be a program name with args.
5499 set dummy ar; ac_word=$2
5500 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5501 $as_echo_n "checking for $ac_word... " >&6; }
5502 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5503 $as_echo_n "(cached) " >&6
5505 if test -n "$ac_ct_AR"; then
5506 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5512 test -z "$as_dir" && as_dir=.
5513 for ac_exec_ext in '' $ac_executable_extensions; do
5514 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5515 ac_cv_prog_ac_ct_AR="ar"
5516 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5525 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5526 if test -n "$ac_ct_AR"; then
5527 { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5528 $as_echo "$ac_ct_AR" >&6; }
5530 { $as_echo "$as_me:$LINENO: result: no" >&5
5531 $as_echo "no" >&6; }
5534 if test "x$ac_ct_AR" = x; then
5537 case $cross_compiling:$ac_tool_warned in
5539 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5540 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5541 ac_tool_warned=yes ;;
5549 test -z "$AR" && AR=ar
5550 test -z "$AR_FLAGS" && AR_FLAGS=cru
5562 if test -n "$ac_tool_prefix"; then
5563 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5564 set dummy ${ac_tool_prefix}strip; ac_word=$2
5565 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5566 $as_echo_n "checking for $ac_word... " >&6; }
5567 if test "${ac_cv_prog_STRIP+set}" = set; then
5568 $as_echo_n "(cached) " >&6
5570 if test -n "$STRIP"; then
5571 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5577 test -z "$as_dir" && as_dir=.
5578 for ac_exec_ext in '' $ac_executable_extensions; do
5579 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5580 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5581 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5590 STRIP=$ac_cv_prog_STRIP
5591 if test -n "$STRIP"; then
5592 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
5593 $as_echo "$STRIP" >&6; }
5595 { $as_echo "$as_me:$LINENO: result: no" >&5
5596 $as_echo "no" >&6; }
5601 if test -z "$ac_cv_prog_STRIP"; then
5603 # Extract the first word of "strip", so it can be a program name with args.
5604 set dummy strip; ac_word=$2
5605 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5606 $as_echo_n "checking for $ac_word... " >&6; }
5607 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5608 $as_echo_n "(cached) " >&6
5610 if test -n "$ac_ct_STRIP"; then
5611 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5617 test -z "$as_dir" && as_dir=.
5618 for ac_exec_ext in '' $ac_executable_extensions; do
5619 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5620 ac_cv_prog_ac_ct_STRIP="strip"
5621 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5630 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5631 if test -n "$ac_ct_STRIP"; then
5632 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5633 $as_echo "$ac_ct_STRIP" >&6; }
5635 { $as_echo "$as_me:$LINENO: result: no" >&5
5636 $as_echo "no" >&6; }
5639 if test "x$ac_ct_STRIP" = x; then
5642 case $cross_compiling:$ac_tool_warned in
5644 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5645 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5646 ac_tool_warned=yes ;;
5651 STRIP="$ac_cv_prog_STRIP"
5654 test -z "$STRIP" && STRIP=:
5661 if test -n "$ac_tool_prefix"; then
5662 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5663 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5664 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5665 $as_echo_n "checking for $ac_word... " >&6; }
5666 if test "${ac_cv_prog_RANLIB+set}" = set; then
5667 $as_echo_n "(cached) " >&6
5669 if test -n "$RANLIB"; then
5670 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5676 test -z "$as_dir" && as_dir=.
5677 for ac_exec_ext in '' $ac_executable_extensions; do
5678 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5679 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5680 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5689 RANLIB=$ac_cv_prog_RANLIB
5690 if test -n "$RANLIB"; then
5691 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
5692 $as_echo "$RANLIB" >&6; }
5694 { $as_echo "$as_me:$LINENO: result: no" >&5
5695 $as_echo "no" >&6; }
5700 if test -z "$ac_cv_prog_RANLIB"; then
5701 ac_ct_RANLIB=$RANLIB
5702 # Extract the first word of "ranlib", so it can be a program name with args.
5703 set dummy ranlib; ac_word=$2
5704 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5705 $as_echo_n "checking for $ac_word... " >&6; }
5706 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5707 $as_echo_n "(cached) " >&6
5709 if test -n "$ac_ct_RANLIB"; then
5710 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5716 test -z "$as_dir" && as_dir=.
5717 for ac_exec_ext in '' $ac_executable_extensions; do
5718 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5719 ac_cv_prog_ac_ct_RANLIB="ranlib"
5720 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5729 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5730 if test -n "$ac_ct_RANLIB"; then
5731 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5732 $as_echo "$ac_ct_RANLIB" >&6; }
5734 { $as_echo "$as_me:$LINENO: result: no" >&5
5735 $as_echo "no" >&6; }
5738 if test "x$ac_ct_RANLIB" = x; then
5741 case $cross_compiling:$ac_tool_warned in
5743 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5744 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5745 ac_tool_warned=yes ;;
5747 RANLIB=$ac_ct_RANLIB
5750 RANLIB="$ac_cv_prog_RANLIB"
5753 test -z "$RANLIB" && RANLIB=:
5760 # Determine commands to create old-style static archives.
5761 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5762 old_postinstall_cmds='chmod 644 $oldlib'
5763 old_postuninstall_cmds=
5765 if test -n "$RANLIB"; then
5768 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5771 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5774 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5810 # If no C compiler was specified, use CC.
5813 # If no C compiler flags were specified, use CFLAGS.
5814 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5816 # Allow CC to be a program name with arguments.
5820 # Check for command to grab the raw symbol name followed by C symbol from nm.
5821 { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5822 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5823 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5824 $as_echo_n "(cached) " >&6
5827 # These are sane defaults that work on at least a few old systems.
5828 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5830 # Character class describing NM global symbol codes.
5831 symcode='[BCDEGRST]'
5833 # Regexp to match symbols that can be accessed directly from C.
5834 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5836 # Define system-specific variables.
5841 cygwin* | mingw* | pw32* | cegcc*)
5842 symcode='[ABCDGISTW]'
5845 if test "$host_cpu" = ia64; then
5846 symcode='[ABCDEGRST]'
5850 symcode='[BCDEGRST]'
5853 symcode='[BCDEGQRST]'
5864 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5872 # If we're using GNU nm, then use its standard symbol codes.
5873 case `$NM -V 2>&1` in
5874 *GNU* | *'with BFD'*)
5875 symcode='[ABCDGIRSTW]' ;;
5878 # Transform an extracted symbol line into a proper C declaration.
5879 # Some systems (esp. on ia64) link data and code symbols differently,
5880 # so use this general approach.
5881 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5883 # Transform an extracted symbol line into symbol name and symbol address
5884 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5885 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'"
5887 # Handle CRLF in mingw tool chain
5891 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5895 # Try without a prefix underscore, then with it.
5896 for ac_symprfx in "" "_"; do
5898 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5899 symxfrm="\\1 $ac_symprfx\\2 \\2"
5901 # Write the raw and C identifiers.
5902 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5903 # Fake it for dumpbin and say T for any non-static function
5904 # and D for any global variable.
5905 # Also find C++ and __fastcall symbols from MSVC++,
5906 # which start with @ or ?.
5907 lt_cv_sys_global_symbol_pipe="$AWK '"\
5908 " {last_section=section; section=\$ 3};"\
5909 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5910 " \$ 0!~/External *\|/{next};"\
5911 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5912 " {if(hide[section]) next};"\
5913 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5914 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5915 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5916 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5917 " ' prfx=^$ac_symprfx"
5919 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5922 # Check to see that the pipe works correctly.
5926 cat > conftest.$ac_ext <<_LT_EOF
5931 void nm_test_func(void);
5932 void nm_test_func(void){}
5936 int main(){nm_test_var='a';nm_test_func();return(0);}
5939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5940 (eval $ac_compile) 2>&5
5942 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5943 (exit $ac_status); }; then
5944 # Now try to grab the symbols.
5946 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5947 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5949 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5950 (exit $ac_status); } && test -s "$nlist"; then
5951 # Try sorting and uniquifying the output.
5952 if sort "$nlist" | uniq > "$nlist"T; then
5953 mv -f "$nlist"T "$nlist"
5958 # Make sure that we snagged all the symbols we need.
5959 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5960 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5961 cat <<_LT_EOF > conftest.$ac_ext
5967 # Now generate the symbol file.
5968 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5970 cat <<_LT_EOF >> conftest.$ac_ext
5972 /* The mapping between symbol names and symbols. */
5977 lt__PROGRAM__LTX_preloaded_symbols[] =
5979 { "@PROGRAM@", (void *) 0 },
5981 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5982 cat <<\_LT_EOF >> conftest.$ac_ext
5986 /* This works around a problem in FreeBSD linker */
5987 #ifdef FREEBSD_WORKAROUND
5988 static const void *lt_preloaded_setup() {
5989 return lt__PROGRAM__LTX_preloaded_symbols;
5997 # Now try linking the two files.
5998 mv conftest.$ac_objext conftstm.$ac_objext
5999 lt_save_LIBS="$LIBS"
6000 lt_save_CFLAGS="$CFLAGS"
6001 LIBS="conftstm.$ac_objext"
6002 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6004 (eval $ac_link) 2>&5
6006 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6007 (exit $ac_status); } && test -s conftest${ac_exeext}; then
6010 LIBS="$lt_save_LIBS"
6011 CFLAGS="$lt_save_CFLAGS"
6013 echo "cannot find nm_test_func in $nlist" >&5
6016 echo "cannot find nm_test_var in $nlist" >&5
6019 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6022 echo "$progname: failed program was:" >&5
6023 cat conftest.$ac_ext >&5
6025 rm -rf conftest* conftst*
6027 # Do not use the global_symbol_pipe unless it works.
6028 if test "$pipe_works" = yes; then
6031 lt_cv_sys_global_symbol_pipe=
6037 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6038 lt_cv_sys_global_symbol_to_cdecl=
6040 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6041 { $as_echo "$as_me:$LINENO: result: failed" >&5
6042 $as_echo "failed" >&6; }
6044 { $as_echo "$as_me:$LINENO: result: ok" >&5
6045 $as_echo "ok" >&6; }
6070 # Check whether --enable-libtool-lock was given.
6071 if test "${enable_libtool_lock+set}" = set; then
6072 enableval=$enable_libtool_lock;
6075 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6077 # Some flags need to be propagated to the compiler or linker for good
6081 # Find out which ABI we are using.
6082 echo 'int i;' > conftest.$ac_ext
6083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6084 (eval $ac_compile) 2>&5
6086 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6087 (exit $ac_status); }; then
6088 case `/usr/bin/file conftest.$ac_objext` in
6100 # Find out which ABI we are using.
6101 echo '#line 6101 "configure"' > conftest.$ac_ext
6102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6103 (eval $ac_compile) 2>&5
6105 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6106 (exit $ac_status); }; then
6107 if test "$lt_cv_prog_gnu_ld" = yes; then
6108 case `/usr/bin/file conftest.$ac_objext` in
6110 LD="${LD-ld} -melf32bsmip"
6113 LD="${LD-ld} -melf32bmipn32"
6116 LD="${LD-ld} -melf64bmip"
6120 case `/usr/bin/file conftest.$ac_objext` in
6136 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6137 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6138 # Find out which ABI we are using.
6139 echo 'int i;' > conftest.$ac_ext
6140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6141 (eval $ac_compile) 2>&5
6143 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6144 (exit $ac_status); }; then
6145 case `/usr/bin/file conftest.o` in
6148 x86_64-*kfreebsd*-gnu)
6149 LD="${LD-ld} -m elf_i386_fbsd"
6152 LD="${LD-ld} -m elf_i386"
6154 ppc64-*linux*|powerpc64-*linux*)
6155 LD="${LD-ld} -m elf32ppclinux"
6158 LD="${LD-ld} -m elf_s390"
6161 LD="${LD-ld} -m elf32_sparc"
6167 x86_64-*kfreebsd*-gnu)
6168 LD="${LD-ld} -m elf_x86_64_fbsd"
6171 LD="${LD-ld} -m elf_x86_64"
6173 ppc*-*linux*|powerpc*-*linux*)
6174 LD="${LD-ld} -m elf64ppc"
6176 s390*-*linux*|s390*-*tpf*)
6177 LD="${LD-ld} -m elf64_s390"
6180 LD="${LD-ld} -m elf64_sparc"
6190 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6191 SAVE_CFLAGS="$CFLAGS"
6192 CFLAGS="$CFLAGS -belf"
6193 { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
6194 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6195 if test "${lt_cv_cc_needs_belf+set}" = set; then
6196 $as_echo_n "(cached) " >&6
6199 ac_cpp='$CPP $CPPFLAGS'
6200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6204 cat >conftest.$ac_ext <<_ACEOF
6207 cat confdefs.h >>conftest.$ac_ext
6208 cat >>conftest.$ac_ext <<_ACEOF
6209 /* end confdefs.h. */
6219 rm -f conftest.$ac_objext conftest$ac_exeext
6220 if { (ac_try="$ac_link"
6222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6223 *) ac_try_echo=$ac_try;;
6225 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6226 $as_echo "$ac_try_echo") >&5
6227 (eval "$ac_link") 2>conftest.er1
6229 grep -v '^ *+' conftest.er1 >conftest.err
6231 cat conftest.err >&5
6232 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6233 (exit $ac_status); } && {
6234 test -z "$ac_c_werror_flag" ||
6235 test ! -s conftest.err
6236 } && test -s conftest$ac_exeext && {
6237 test "$cross_compiling" = yes ||
6238 $as_test_x conftest$ac_exeext
6240 lt_cv_cc_needs_belf=yes
6242 $as_echo "$as_me: failed program was:" >&5
6243 sed 's/^/| /' conftest.$ac_ext >&5
6245 lt_cv_cc_needs_belf=no
6248 rm -rf conftest.dSYM
6249 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6250 conftest$ac_exeext conftest.$ac_ext
6252 ac_cpp='$CPP $CPPFLAGS'
6253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6258 { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
6259 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6260 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6261 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6262 CFLAGS="$SAVE_CFLAGS"
6266 # Find out which ABI we are using.
6267 echo 'int i;' > conftest.$ac_ext
6268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6269 (eval $ac_compile) 2>&5
6271 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6272 (exit $ac_status); }; then
6273 case `/usr/bin/file conftest.o` in
6275 case $lt_cv_prog_gnu_ld in
6276 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6278 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6290 need_locks="$enable_libtool_lock"
6294 rhapsody* | darwin*)
6295 if test -n "$ac_tool_prefix"; then
6296 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6297 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6298 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6299 $as_echo_n "checking for $ac_word... " >&6; }
6300 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
6301 $as_echo_n "(cached) " >&6
6303 if test -n "$DSYMUTIL"; then
6304 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6310 test -z "$as_dir" && as_dir=.
6311 for ac_exec_ext in '' $ac_executable_extensions; do
6312 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6313 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6314 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6323 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6324 if test -n "$DSYMUTIL"; then
6325 { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
6326 $as_echo "$DSYMUTIL" >&6; }
6328 { $as_echo "$as_me:$LINENO: result: no" >&5
6329 $as_echo "no" >&6; }
6334 if test -z "$ac_cv_prog_DSYMUTIL"; then
6335 ac_ct_DSYMUTIL=$DSYMUTIL
6336 # Extract the first word of "dsymutil", so it can be a program name with args.
6337 set dummy dsymutil; ac_word=$2
6338 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6339 $as_echo_n "checking for $ac_word... " >&6; }
6340 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
6341 $as_echo_n "(cached) " >&6
6343 if test -n "$ac_ct_DSYMUTIL"; then
6344 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6350 test -z "$as_dir" && as_dir=.
6351 for ac_exec_ext in '' $ac_executable_extensions; do
6352 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6353 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6354 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6363 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6364 if test -n "$ac_ct_DSYMUTIL"; then
6365 { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
6366 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6368 { $as_echo "$as_me:$LINENO: result: no" >&5
6369 $as_echo "no" >&6; }
6372 if test "x$ac_ct_DSYMUTIL" = x; then
6375 case $cross_compiling:$ac_tool_warned in
6377 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6378 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6379 ac_tool_warned=yes ;;
6381 DSYMUTIL=$ac_ct_DSYMUTIL
6384 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6387 if test -n "$ac_tool_prefix"; then
6388 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6389 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6390 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6391 $as_echo_n "checking for $ac_word... " >&6; }
6392 if test "${ac_cv_prog_NMEDIT+set}" = set; then
6393 $as_echo_n "(cached) " >&6
6395 if test -n "$NMEDIT"; then
6396 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6402 test -z "$as_dir" && as_dir=.
6403 for ac_exec_ext in '' $ac_executable_extensions; do
6404 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6405 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6406 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6415 NMEDIT=$ac_cv_prog_NMEDIT
6416 if test -n "$NMEDIT"; then
6417 { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
6418 $as_echo "$NMEDIT" >&6; }
6420 { $as_echo "$as_me:$LINENO: result: no" >&5
6421 $as_echo "no" >&6; }
6426 if test -z "$ac_cv_prog_NMEDIT"; then
6427 ac_ct_NMEDIT=$NMEDIT
6428 # Extract the first word of "nmedit", so it can be a program name with args.
6429 set dummy nmedit; ac_word=$2
6430 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6431 $as_echo_n "checking for $ac_word... " >&6; }
6432 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
6433 $as_echo_n "(cached) " >&6
6435 if test -n "$ac_ct_NMEDIT"; then
6436 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6442 test -z "$as_dir" && as_dir=.
6443 for ac_exec_ext in '' $ac_executable_extensions; do
6444 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6445 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6446 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6455 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6456 if test -n "$ac_ct_NMEDIT"; then
6457 { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
6458 $as_echo "$ac_ct_NMEDIT" >&6; }
6460 { $as_echo "$as_me:$LINENO: result: no" >&5
6461 $as_echo "no" >&6; }
6464 if test "x$ac_ct_NMEDIT" = x; then
6467 case $cross_compiling:$ac_tool_warned in
6469 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6470 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6471 ac_tool_warned=yes ;;
6473 NMEDIT=$ac_ct_NMEDIT
6476 NMEDIT="$ac_cv_prog_NMEDIT"
6479 if test -n "$ac_tool_prefix"; then
6480 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6481 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6482 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6483 $as_echo_n "checking for $ac_word... " >&6; }
6484 if test "${ac_cv_prog_LIPO+set}" = set; then
6485 $as_echo_n "(cached) " >&6
6487 if test -n "$LIPO"; then
6488 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6494 test -z "$as_dir" && as_dir=.
6495 for ac_exec_ext in '' $ac_executable_extensions; do
6496 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6497 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6498 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6507 LIPO=$ac_cv_prog_LIPO
6508 if test -n "$LIPO"; then
6509 { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
6510 $as_echo "$LIPO" >&6; }
6512 { $as_echo "$as_me:$LINENO: result: no" >&5
6513 $as_echo "no" >&6; }
6518 if test -z "$ac_cv_prog_LIPO"; then
6520 # Extract the first word of "lipo", so it can be a program name with args.
6521 set dummy lipo; ac_word=$2
6522 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6523 $as_echo_n "checking for $ac_word... " >&6; }
6524 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
6525 $as_echo_n "(cached) " >&6
6527 if test -n "$ac_ct_LIPO"; then
6528 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6534 test -z "$as_dir" && as_dir=.
6535 for ac_exec_ext in '' $ac_executable_extensions; do
6536 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6537 ac_cv_prog_ac_ct_LIPO="lipo"
6538 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6547 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6548 if test -n "$ac_ct_LIPO"; then
6549 { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
6550 $as_echo "$ac_ct_LIPO" >&6; }
6552 { $as_echo "$as_me:$LINENO: result: no" >&5
6553 $as_echo "no" >&6; }
6556 if test "x$ac_ct_LIPO" = x; then
6559 case $cross_compiling:$ac_tool_warned in
6561 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6562 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6563 ac_tool_warned=yes ;;
6568 LIPO="$ac_cv_prog_LIPO"
6571 if test -n "$ac_tool_prefix"; then
6572 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6573 set dummy ${ac_tool_prefix}otool; ac_word=$2
6574 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6575 $as_echo_n "checking for $ac_word... " >&6; }
6576 if test "${ac_cv_prog_OTOOL+set}" = set; then
6577 $as_echo_n "(cached) " >&6
6579 if test -n "$OTOOL"; then
6580 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6586 test -z "$as_dir" && as_dir=.
6587 for ac_exec_ext in '' $ac_executable_extensions; do
6588 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6589 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6590 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6599 OTOOL=$ac_cv_prog_OTOOL
6600 if test -n "$OTOOL"; then
6601 { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
6602 $as_echo "$OTOOL" >&6; }
6604 { $as_echo "$as_me:$LINENO: result: no" >&5
6605 $as_echo "no" >&6; }
6610 if test -z "$ac_cv_prog_OTOOL"; then
6612 # Extract the first word of "otool", so it can be a program name with args.
6613 set dummy otool; ac_word=$2
6614 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6615 $as_echo_n "checking for $ac_word... " >&6; }
6616 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
6617 $as_echo_n "(cached) " >&6
6619 if test -n "$ac_ct_OTOOL"; then
6620 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6626 test -z "$as_dir" && as_dir=.
6627 for ac_exec_ext in '' $ac_executable_extensions; do
6628 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6629 ac_cv_prog_ac_ct_OTOOL="otool"
6630 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6639 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6640 if test -n "$ac_ct_OTOOL"; then
6641 { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
6642 $as_echo "$ac_ct_OTOOL" >&6; }
6644 { $as_echo "$as_me:$LINENO: result: no" >&5
6645 $as_echo "no" >&6; }
6648 if test "x$ac_ct_OTOOL" = x; then
6651 case $cross_compiling:$ac_tool_warned in
6653 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6654 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6655 ac_tool_warned=yes ;;
6660 OTOOL="$ac_cv_prog_OTOOL"
6663 if test -n "$ac_tool_prefix"; then
6664 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6665 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6666 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6667 $as_echo_n "checking for $ac_word... " >&6; }
6668 if test "${ac_cv_prog_OTOOL64+set}" = set; then
6669 $as_echo_n "(cached) " >&6
6671 if test -n "$OTOOL64"; then
6672 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6678 test -z "$as_dir" && as_dir=.
6679 for ac_exec_ext in '' $ac_executable_extensions; do
6680 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6681 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6682 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6691 OTOOL64=$ac_cv_prog_OTOOL64
6692 if test -n "$OTOOL64"; then
6693 { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
6694 $as_echo "$OTOOL64" >&6; }
6696 { $as_echo "$as_me:$LINENO: result: no" >&5
6697 $as_echo "no" >&6; }
6702 if test -z "$ac_cv_prog_OTOOL64"; then
6703 ac_ct_OTOOL64=$OTOOL64
6704 # Extract the first word of "otool64", so it can be a program name with args.
6705 set dummy otool64; ac_word=$2
6706 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6707 $as_echo_n "checking for $ac_word... " >&6; }
6708 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
6709 $as_echo_n "(cached) " >&6
6711 if test -n "$ac_ct_OTOOL64"; then
6712 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6718 test -z "$as_dir" && as_dir=.
6719 for ac_exec_ext in '' $ac_executable_extensions; do
6720 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6721 ac_cv_prog_ac_ct_OTOOL64="otool64"
6722 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6731 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6732 if test -n "$ac_ct_OTOOL64"; then
6733 { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
6734 $as_echo "$ac_ct_OTOOL64" >&6; }
6736 { $as_echo "$as_me:$LINENO: result: no" >&5
6737 $as_echo "no" >&6; }
6740 if test "x$ac_ct_OTOOL64" = x; then
6743 case $cross_compiling:$ac_tool_warned in
6745 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6746 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6747 ac_tool_warned=yes ;;
6749 OTOOL64=$ac_ct_OTOOL64
6752 OTOOL64="$ac_cv_prog_OTOOL64"
6781 { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
6782 $as_echo_n "checking for -single_module linker flag... " >&6; }
6783 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
6784 $as_echo_n "(cached) " >&6
6786 lt_cv_apple_cc_single_mod=no
6787 if test -z "${LT_MULTI_MODULE}"; then
6788 # By default we will add the -single_module flag. You can override
6789 # by either setting the environment variable LT_MULTI_MODULE
6790 # non-empty at configure time, or by adding -multi_module to the
6792 rm -rf libconftest.dylib*
6793 echo "int foo(void){return 1;}" > conftest.c
6794 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6795 -dynamiclib -Wl,-single_module conftest.c" >&5
6796 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6797 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6799 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6800 lt_cv_apple_cc_single_mod=yes
6802 cat conftest.err >&5
6804 rm -rf libconftest.dylib*
6808 { $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
6809 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6810 { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
6811 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6812 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
6813 $as_echo_n "(cached) " >&6
6815 lt_cv_ld_exported_symbols_list=no
6816 save_LDFLAGS=$LDFLAGS
6817 echo "_main" > conftest.sym
6818 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6819 cat >conftest.$ac_ext <<_ACEOF
6822 cat confdefs.h >>conftest.$ac_ext
6823 cat >>conftest.$ac_ext <<_ACEOF
6824 /* end confdefs.h. */
6834 rm -f conftest.$ac_objext conftest$ac_exeext
6835 if { (ac_try="$ac_link"
6837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6838 *) ac_try_echo=$ac_try;;
6840 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6841 $as_echo "$ac_try_echo") >&5
6842 (eval "$ac_link") 2>conftest.er1
6844 grep -v '^ *+' conftest.er1 >conftest.err
6846 cat conftest.err >&5
6847 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6848 (exit $ac_status); } && {
6849 test -z "$ac_c_werror_flag" ||
6850 test ! -s conftest.err
6851 } && test -s conftest$ac_exeext && {
6852 test "$cross_compiling" = yes ||
6853 $as_test_x conftest$ac_exeext
6855 lt_cv_ld_exported_symbols_list=yes
6857 $as_echo "$as_me: failed program was:" >&5
6858 sed 's/^/| /' conftest.$ac_ext >&5
6860 lt_cv_ld_exported_symbols_list=no
6863 rm -rf conftest.dSYM
6864 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6865 conftest$ac_exeext conftest.$ac_ext
6866 LDFLAGS="$save_LDFLAGS"
6869 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
6870 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6872 rhapsody* | darwin1.[012])
6873 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6875 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6876 darwin*) # darwin 5.x on
6877 # if running on 10.5 or later, the deployment target defaults
6878 # to the OS version, if on x86, and 10.4, the deployment
6879 # target defaults to 10.4. Don't you love it?
6880 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6881 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6882 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6884 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6886 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6890 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6891 _lt_dar_single_mod='$single_module'
6893 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6894 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6896 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6898 if test "$DSYMUTIL" != ":"; then
6899 _lt_dsymutil='~$DSYMUTIL $lib || :'
6907 ac_cpp='$CPP $CPPFLAGS'
6908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6911 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
6912 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6913 # On Suns, sometimes $CPP names a directory.
6914 if test -n "$CPP" && test -d "$CPP"; then
6917 if test -z "$CPP"; then
6918 if test "${ac_cv_prog_CPP+set}" = set; then
6919 $as_echo_n "(cached) " >&6
6921 # Double quotes because CPP needs to be expanded
6922 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6925 for ac_c_preproc_warn_flag in '' yes
6927 # Use a header file that comes with gcc, so configuring glibc
6928 # with a fresh cross-compiler works.
6929 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6930 # <limits.h> exists even on freestanding compilers.
6931 # On the NeXT, cc -E runs the code through the compiler's parser,
6932 # not just through cpp. "Syntax error" is here to catch this case.
6933 cat >conftest.$ac_ext <<_ACEOF
6936 cat confdefs.h >>conftest.$ac_ext
6937 cat >>conftest.$ac_ext <<_ACEOF
6938 /* end confdefs.h. */
6940 # include <limits.h>
6942 # include <assert.h>
6946 if { (ac_try="$ac_cpp conftest.$ac_ext"
6948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6949 *) ac_try_echo=$ac_try;;
6951 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6952 $as_echo "$ac_try_echo") >&5
6953 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6955 grep -v '^ *+' conftest.er1 >conftest.err
6957 cat conftest.err >&5
6958 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6959 (exit $ac_status); } >/dev/null && {
6960 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6961 test ! -s conftest.err
6965 $as_echo "$as_me: failed program was:" >&5
6966 sed 's/^/| /' conftest.$ac_ext >&5
6968 # Broken: fails on valid input.
6972 rm -f conftest.err conftest.$ac_ext
6974 # OK, works on sane cases. Now check whether nonexistent headers
6975 # can be detected and how.
6976 cat >conftest.$ac_ext <<_ACEOF
6979 cat confdefs.h >>conftest.$ac_ext
6980 cat >>conftest.$ac_ext <<_ACEOF
6981 /* end confdefs.h. */
6982 #include <ac_nonexistent.h>
6984 if { (ac_try="$ac_cpp conftest.$ac_ext"
6986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6987 *) ac_try_echo=$ac_try;;
6989 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6990 $as_echo "$ac_try_echo") >&5
6991 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6993 grep -v '^ *+' conftest.er1 >conftest.err
6995 cat conftest.err >&5
6996 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6997 (exit $ac_status); } >/dev/null && {
6998 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6999 test ! -s conftest.err
7001 # Broken: success on invalid input.
7004 $as_echo "$as_me: failed program was:" >&5
7005 sed 's/^/| /' conftest.$ac_ext >&5
7007 # Passes both tests.
7012 rm -f conftest.err conftest.$ac_ext
7015 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7016 rm -f conftest.err conftest.$ac_ext
7017 if $ac_preproc_ok; then
7029 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
7030 $as_echo "$CPP" >&6; }
7032 for ac_c_preproc_warn_flag in '' yes
7034 # Use a header file that comes with gcc, so configuring glibc
7035 # with a fresh cross-compiler works.
7036 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7037 # <limits.h> exists even on freestanding compilers.
7038 # On the NeXT, cc -E runs the code through the compiler's parser,
7039 # not just through cpp. "Syntax error" is here to catch this case.
7040 cat >conftest.$ac_ext <<_ACEOF
7043 cat confdefs.h >>conftest.$ac_ext
7044 cat >>conftest.$ac_ext <<_ACEOF
7045 /* end confdefs.h. */
7047 # include <limits.h>
7049 # include <assert.h>
7053 if { (ac_try="$ac_cpp conftest.$ac_ext"
7055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7056 *) ac_try_echo=$ac_try;;
7058 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7059 $as_echo "$ac_try_echo") >&5
7060 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7062 grep -v '^ *+' conftest.er1 >conftest.err
7064 cat conftest.err >&5
7065 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7066 (exit $ac_status); } >/dev/null && {
7067 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7068 test ! -s conftest.err
7072 $as_echo "$as_me: failed program was:" >&5
7073 sed 's/^/| /' conftest.$ac_ext >&5
7075 # Broken: fails on valid input.
7079 rm -f conftest.err conftest.$ac_ext
7081 # OK, works on sane cases. Now check whether nonexistent headers
7082 # can be detected and how.
7083 cat >conftest.$ac_ext <<_ACEOF
7086 cat confdefs.h >>conftest.$ac_ext
7087 cat >>conftest.$ac_ext <<_ACEOF
7088 /* end confdefs.h. */
7089 #include <ac_nonexistent.h>
7091 if { (ac_try="$ac_cpp conftest.$ac_ext"
7093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7094 *) ac_try_echo=$ac_try;;
7096 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7097 $as_echo "$ac_try_echo") >&5
7098 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7100 grep -v '^ *+' conftest.er1 >conftest.err
7102 cat conftest.err >&5
7103 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7104 (exit $ac_status); } >/dev/null && {
7105 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7106 test ! -s conftest.err
7108 # Broken: success on invalid input.
7111 $as_echo "$as_me: failed program was:" >&5
7112 sed 's/^/| /' conftest.$ac_ext >&5
7114 # Passes both tests.
7119 rm -f conftest.err conftest.$ac_ext
7122 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7123 rm -f conftest.err conftest.$ac_ext
7124 if $ac_preproc_ok; then
7127 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
7128 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7129 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
7130 See \`config.log' for more details." >&5
7131 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
7132 See \`config.log' for more details." >&2;}
7133 { (exit 1); exit 1; }; }; }
7137 ac_cpp='$CPP $CPPFLAGS'
7138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7143 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7144 $as_echo_n "checking for ANSI C header files... " >&6; }
7145 if test "${ac_cv_header_stdc+set}" = set; then
7146 $as_echo_n "(cached) " >&6
7148 cat >conftest.$ac_ext <<_ACEOF
7151 cat confdefs.h >>conftest.$ac_ext
7152 cat >>conftest.$ac_ext <<_ACEOF
7153 /* end confdefs.h. */
7167 rm -f conftest.$ac_objext
7168 if { (ac_try="$ac_compile"
7170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7171 *) ac_try_echo=$ac_try;;
7173 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7174 $as_echo "$ac_try_echo") >&5
7175 (eval "$ac_compile") 2>conftest.er1
7177 grep -v '^ *+' conftest.er1 >conftest.err
7179 cat conftest.err >&5
7180 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7181 (exit $ac_status); } && {
7182 test -z "$ac_c_werror_flag" ||
7183 test ! -s conftest.err
7184 } && test -s conftest.$ac_objext; then
7185 ac_cv_header_stdc=yes
7187 $as_echo "$as_me: failed program was:" >&5
7188 sed 's/^/| /' conftest.$ac_ext >&5
7190 ac_cv_header_stdc=no
7193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7195 if test $ac_cv_header_stdc = yes; then
7196 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7197 cat >conftest.$ac_ext <<_ACEOF
7200 cat confdefs.h >>conftest.$ac_ext
7201 cat >>conftest.$ac_ext <<_ACEOF
7202 /* end confdefs.h. */
7206 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7207 $EGREP "memchr" >/dev/null 2>&1; then
7210 ac_cv_header_stdc=no
7216 if test $ac_cv_header_stdc = yes; then
7217 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7218 cat >conftest.$ac_ext <<_ACEOF
7221 cat confdefs.h >>conftest.$ac_ext
7222 cat >>conftest.$ac_ext <<_ACEOF
7223 /* end confdefs.h. */
7227 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7228 $EGREP "free" >/dev/null 2>&1; then
7231 ac_cv_header_stdc=no
7237 if test $ac_cv_header_stdc = yes; then
7238 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7239 if test "$cross_compiling" = yes; then
7242 cat >conftest.$ac_ext <<_ACEOF
7245 cat confdefs.h >>conftest.$ac_ext
7246 cat >>conftest.$ac_ext <<_ACEOF
7247 /* end confdefs.h. */
7250 #if ((' ' & 0x0FF) == 0x020)
7251 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7252 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7254 # define ISLOWER(c) \
7255 (('a' <= (c) && (c) <= 'i') \
7256 || ('j' <= (c) && (c) <= 'r') \
7257 || ('s' <= (c) && (c) <= 'z'))
7258 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7261 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7266 for (i = 0; i < 256; i++)
7267 if (XOR (islower (i), ISLOWER (i))
7268 || toupper (i) != TOUPPER (i))
7273 rm -f conftest$ac_exeext
7274 if { (ac_try="$ac_link"
7276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7277 *) ac_try_echo=$ac_try;;
7279 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7280 $as_echo "$ac_try_echo") >&5
7281 (eval "$ac_link") 2>&5
7283 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7284 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7285 { (case "(($ac_try" in
7286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7287 *) ac_try_echo=$ac_try;;
7289 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7290 $as_echo "$ac_try_echo") >&5
7291 (eval "$ac_try") 2>&5
7293 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7294 (exit $ac_status); }; }; then
7297 $as_echo "$as_me: program exited with status $ac_status" >&5
7298 $as_echo "$as_me: failed program was:" >&5
7299 sed 's/^/| /' conftest.$ac_ext >&5
7302 ac_cv_header_stdc=no
7304 rm -rf conftest.dSYM
7305 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7311 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7312 $as_echo "$ac_cv_header_stdc" >&6; }
7313 if test $ac_cv_header_stdc = yes; then
7315 cat >>confdefs.h <<\_ACEOF
7316 #define STDC_HEADERS 1
7321 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7331 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7332 inttypes.h stdint.h unistd.h
7334 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7335 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7336 $as_echo_n "checking for $ac_header... " >&6; }
7337 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7338 $as_echo_n "(cached) " >&6
7340 cat >conftest.$ac_ext <<_ACEOF
7343 cat confdefs.h >>conftest.$ac_ext
7344 cat >>conftest.$ac_ext <<_ACEOF
7345 /* end confdefs.h. */
7346 $ac_includes_default
7348 #include <$ac_header>
7350 rm -f conftest.$ac_objext
7351 if { (ac_try="$ac_compile"
7353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7354 *) ac_try_echo=$ac_try;;
7356 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7357 $as_echo "$ac_try_echo") >&5
7358 (eval "$ac_compile") 2>conftest.er1
7360 grep -v '^ *+' conftest.er1 >conftest.err
7362 cat conftest.err >&5
7363 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7364 (exit $ac_status); } && {
7365 test -z "$ac_c_werror_flag" ||
7366 test ! -s conftest.err
7367 } && test -s conftest.$ac_objext; then
7368 eval "$as_ac_Header=yes"
7370 $as_echo "$as_me: failed program was:" >&5
7371 sed 's/^/| /' conftest.$ac_ext >&5
7373 eval "$as_ac_Header=no"
7376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7378 ac_res=`eval 'as_val=${'$as_ac_Header'}
7379 $as_echo "$as_val"'`
7380 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7381 $as_echo "$ac_res" >&6; }
7382 as_val=`eval 'as_val=${'$as_ac_Header'}
7383 $as_echo "$as_val"'`
7384 if test "x$as_val" = x""yes; then
7385 cat >>confdefs.h <<_ACEOF
7386 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7395 for ac_header in dlfcn.h
7397 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7398 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7399 $as_echo_n "checking for $ac_header... " >&6; }
7400 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7401 $as_echo_n "(cached) " >&6
7403 cat >conftest.$ac_ext <<_ACEOF
7406 cat confdefs.h >>conftest.$ac_ext
7407 cat >>conftest.$ac_ext <<_ACEOF
7408 /* end confdefs.h. */
7409 $ac_includes_default
7411 #include <$ac_header>
7413 rm -f conftest.$ac_objext
7414 if { (ac_try="$ac_compile"
7416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7417 *) ac_try_echo=$ac_try;;
7419 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7420 $as_echo "$ac_try_echo") >&5
7421 (eval "$ac_compile") 2>conftest.er1
7423 grep -v '^ *+' conftest.er1 >conftest.err
7425 cat conftest.err >&5
7426 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7427 (exit $ac_status); } && {
7428 test -z "$ac_c_werror_flag" ||
7429 test ! -s conftest.err
7430 } && test -s conftest.$ac_objext; then
7431 eval "$as_ac_Header=yes"
7433 $as_echo "$as_me: failed program was:" >&5
7434 sed 's/^/| /' conftest.$ac_ext >&5
7436 eval "$as_ac_Header=no"
7439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7441 ac_res=`eval 'as_val=${'$as_ac_Header'}
7442 $as_echo "$as_val"'`
7443 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7444 $as_echo "$ac_res" >&6; }
7445 as_val=`eval 'as_val=${'$as_ac_Header'}
7446 $as_echo "$as_val"'`
7447 if test "x$as_val" = x""yes; then
7448 cat >>confdefs.h <<_ACEOF
7449 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7459 ac_cpp='$CXXCPP $CPPFLAGS'
7460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7463 if test -z "$CXX"; then
7464 if test -n "$CCC"; then
7467 if test -n "$ac_tool_prefix"; then
7468 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
7470 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7471 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7472 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7473 $as_echo_n "checking for $ac_word... " >&6; }
7474 if test "${ac_cv_prog_CXX+set}" = set; then
7475 $as_echo_n "(cached) " >&6
7477 if test -n "$CXX"; then
7478 ac_cv_prog_CXX="$CXX" # Let the user override the test.
7480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7484 test -z "$as_dir" && as_dir=.
7485 for ac_exec_ext in '' $ac_executable_extensions; do
7486 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7487 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
7488 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7498 if test -n "$CXX"; then
7499 { $as_echo "$as_me:$LINENO: result: $CXX" >&5
7500 $as_echo "$CXX" >&6; }
7502 { $as_echo "$as_me:$LINENO: result: no" >&5
7503 $as_echo "no" >&6; }
7507 test -n "$CXX" && break
7510 if test -z "$CXX"; then
7512 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
7514 # Extract the first word of "$ac_prog", so it can be a program name with args.
7515 set dummy $ac_prog; ac_word=$2
7516 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7517 $as_echo_n "checking for $ac_word... " >&6; }
7518 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
7519 $as_echo_n "(cached) " >&6
7521 if test -n "$ac_ct_CXX"; then
7522 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
7524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7528 test -z "$as_dir" && as_dir=.
7529 for ac_exec_ext in '' $ac_executable_extensions; do
7530 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7531 ac_cv_prog_ac_ct_CXX="$ac_prog"
7532 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7541 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
7542 if test -n "$ac_ct_CXX"; then
7543 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
7544 $as_echo "$ac_ct_CXX" >&6; }
7546 { $as_echo "$as_me:$LINENO: result: no" >&5
7547 $as_echo "no" >&6; }
7551 test -n "$ac_ct_CXX" && break
7554 if test "x$ac_ct_CXX" = x; then
7557 case $cross_compiling:$ac_tool_warned in
7559 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7560 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7561 ac_tool_warned=yes ;;
7569 # Provide some information about the compiler.
7570 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
7573 { (ac_try="$ac_compiler --version >&5"
7575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7576 *) ac_try_echo=$ac_try;;
7578 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7579 $as_echo "$ac_try_echo") >&5
7580 (eval "$ac_compiler --version >&5") 2>&5
7582 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7583 (exit $ac_status); }
7584 { (ac_try="$ac_compiler -v >&5"
7586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7587 *) ac_try_echo=$ac_try;;
7589 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7590 $as_echo "$ac_try_echo") >&5
7591 (eval "$ac_compiler -v >&5") 2>&5
7593 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7594 (exit $ac_status); }
7595 { (ac_try="$ac_compiler -V >&5"
7597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7598 *) ac_try_echo=$ac_try;;
7600 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7601 $as_echo "$ac_try_echo") >&5
7602 (eval "$ac_compiler -V >&5") 2>&5
7604 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7605 (exit $ac_status); }
7607 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
7608 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
7609 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
7610 $as_echo_n "(cached) " >&6
7612 cat >conftest.$ac_ext <<_ACEOF
7615 cat confdefs.h >>conftest.$ac_ext
7616 cat >>conftest.$ac_ext <<_ACEOF
7617 /* end confdefs.h. */
7630 rm -f conftest.$ac_objext
7631 if { (ac_try="$ac_compile"
7633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7634 *) ac_try_echo=$ac_try;;
7636 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7637 $as_echo "$ac_try_echo") >&5
7638 (eval "$ac_compile") 2>conftest.er1
7640 grep -v '^ *+' conftest.er1 >conftest.err
7642 cat conftest.err >&5
7643 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7644 (exit $ac_status); } && {
7645 test -z "$ac_cxx_werror_flag" ||
7646 test ! -s conftest.err
7647 } && test -s conftest.$ac_objext; then
7650 $as_echo "$as_me: failed program was:" >&5
7651 sed 's/^/| /' conftest.$ac_ext >&5
7656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7657 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
7660 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
7661 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
7662 if test $ac_compiler_gnu = yes; then
7667 ac_test_CXXFLAGS=${CXXFLAGS+set}
7668 ac_save_CXXFLAGS=$CXXFLAGS
7669 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
7670 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
7671 if test "${ac_cv_prog_cxx_g+set}" = set; then
7672 $as_echo_n "(cached) " >&6
7674 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
7675 ac_cxx_werror_flag=yes
7678 cat >conftest.$ac_ext <<_ACEOF
7681 cat confdefs.h >>conftest.$ac_ext
7682 cat >>conftest.$ac_ext <<_ACEOF
7683 /* end confdefs.h. */
7693 rm -f conftest.$ac_objext
7694 if { (ac_try="$ac_compile"
7696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7697 *) ac_try_echo=$ac_try;;
7699 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7700 $as_echo "$ac_try_echo") >&5
7701 (eval "$ac_compile") 2>conftest.er1
7703 grep -v '^ *+' conftest.er1 >conftest.err
7705 cat conftest.err >&5
7706 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7707 (exit $ac_status); } && {
7708 test -z "$ac_cxx_werror_flag" ||
7709 test ! -s conftest.err
7710 } && test -s conftest.$ac_objext; then
7711 ac_cv_prog_cxx_g=yes
7713 $as_echo "$as_me: failed program was:" >&5
7714 sed 's/^/| /' conftest.$ac_ext >&5
7717 cat >conftest.$ac_ext <<_ACEOF
7720 cat confdefs.h >>conftest.$ac_ext
7721 cat >>conftest.$ac_ext <<_ACEOF
7722 /* end confdefs.h. */
7732 rm -f conftest.$ac_objext
7733 if { (ac_try="$ac_compile"
7735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7736 *) ac_try_echo=$ac_try;;
7738 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7739 $as_echo "$ac_try_echo") >&5
7740 (eval "$ac_compile") 2>conftest.er1
7742 grep -v '^ *+' conftest.er1 >conftest.err
7744 cat conftest.err >&5
7745 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7746 (exit $ac_status); } && {
7747 test -z "$ac_cxx_werror_flag" ||
7748 test ! -s conftest.err
7749 } && test -s conftest.$ac_objext; then
7752 $as_echo "$as_me: failed program was:" >&5
7753 sed 's/^/| /' conftest.$ac_ext >&5
7755 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
7757 cat >conftest.$ac_ext <<_ACEOF
7760 cat confdefs.h >>conftest.$ac_ext
7761 cat >>conftest.$ac_ext <<_ACEOF
7762 /* end confdefs.h. */
7772 rm -f conftest.$ac_objext
7773 if { (ac_try="$ac_compile"
7775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7776 *) ac_try_echo=$ac_try;;
7778 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7779 $as_echo "$ac_try_echo") >&5
7780 (eval "$ac_compile") 2>conftest.er1
7782 grep -v '^ *+' conftest.er1 >conftest.err
7784 cat conftest.err >&5
7785 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7786 (exit $ac_status); } && {
7787 test -z "$ac_cxx_werror_flag" ||
7788 test ! -s conftest.err
7789 } && test -s conftest.$ac_objext; then
7790 ac_cv_prog_cxx_g=yes
7792 $as_echo "$as_me: failed program was:" >&5
7793 sed 's/^/| /' conftest.$ac_ext >&5
7798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7805 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
7807 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
7808 $as_echo "$ac_cv_prog_cxx_g" >&6; }
7809 if test "$ac_test_CXXFLAGS" = set; then
7810 CXXFLAGS=$ac_save_CXXFLAGS
7811 elif test $ac_cv_prog_cxx_g = yes; then
7812 if test "$GXX" = yes; then
7818 if test "$GXX" = yes; then
7825 ac_cpp='$CPP $CPPFLAGS'
7826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7830 depcc="$CXX" am_compiler_list=
7832 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
7833 $as_echo_n "checking dependency style of $depcc... " >&6; }
7834 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
7835 $as_echo_n "(cached) " >&6
7837 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
7838 # We make a subdir and do the tests there. Otherwise we can end up
7839 # making bogus files that we don't know about and never remove. For
7840 # instance it was reported that on HP-UX the gcc test will end up
7841 # making a dummy file named `D' -- because `-MD' means `put the output
7844 # Copy depcomp to subdir because otherwise we won't find it if we're
7845 # using a relative directory.
7846 cp "$am_depcomp" conftest.dir
7848 # We will build objects and dependencies in a subdirectory because
7849 # it helps to detect inapplicable dependency modes. For instance
7850 # both Tru64's cc and ICC support -MD to output dependencies as a
7851 # side effect of compilation, but ICC will put the dependencies in
7852 # the current directory while Tru64 will put them in the object
7856 am_cv_CXX_dependencies_compiler_type=none
7857 if test "$am_compiler_list" = ""; then
7858 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
7861 case " $depcc " in #(
7862 *\ -arch\ *\ -arch\ *) am__universal=true ;;
7865 for depmode in $am_compiler_list; do
7866 # Setup a source with many dependencies, because some compilers
7867 # like to wrap large dependency lists on column 80 (with \), and
7868 # we should not choose a depcomp mode which is confused by this.
7870 # We need to recreate these files for each test, as the compiler may
7871 # overwrite some of them when testing with obscure command lines.
7872 # This happens at least with the AIX C compiler.
7874 for i in 1 2 3 4 5 6; do
7875 echo '#include "conftst'$i'.h"' >> sub/conftest.c
7876 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
7877 # Solaris 8's {/usr,}/bin/sh.
7878 touch sub/conftst$i.h
7880 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
7882 # We check with `-c' and `-o' for the sake of the "dashmstdout"
7883 # mode. It turns out that the SunPro C++ compiler does not properly
7884 # handle `-M -o', and we need to detect this. Also, some Intel
7885 # versions had trouble with output in subdirs
7886 am__obj=sub/conftest.${OBJEXT-o}
7887 am__minus_obj="-o $am__obj"
7890 # This depmode causes a compiler race in universal mode.
7891 test "$am__universal" = false || continue
7894 # after this tag, mechanisms are not by side-effect, so they'll
7895 # only be used when explicitly requested
7896 if test "x$enable_dependency_tracking" = xyes; then
7902 msvisualcpp | msvcmsys)
7903 # This compiler won't grok `-c -o', but also, the minuso test has
7904 # not run yet. These depmodes are late enough in the game, and
7905 # so weak that their functioning should not be impacted.
7906 am__obj=conftest.${OBJEXT-o}
7911 if depmode=$depmode \
7912 source=sub/conftest.c object=$am__obj \
7913 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
7914 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
7915 >/dev/null 2>conftest.err &&
7916 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
7917 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
7918 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
7919 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
7920 # icc doesn't choke on unknown options, it will just issue warnings
7921 # or remarks (even with -Werror). So we grep stderr for any message
7922 # that says an option was ignored or not supported.
7923 # When given -MP, icc 7.0 and 7.1 complain thusly:
7924 # icc: Command line warning: ignoring option '-M'; no argument required
7925 # The diagnosis changed in icc 8.0:
7926 # icc: Command line remark: option '-MP' not supported
7927 if (grep 'ignoring option' conftest.err ||
7928 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
7929 am_cv_CXX_dependencies_compiler_type=$depmode
7938 am_cv_CXX_dependencies_compiler_type=none
7942 { $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
7943 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
7944 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
7947 test "x$enable_dependency_tracking" != xno \
7948 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
7949 am__fastdepCXX_TRUE=
7950 am__fastdepCXX_FALSE='#'
7952 am__fastdepCXX_TRUE='#'
7953 am__fastdepCXX_FALSE=
7957 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
7958 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
7959 (test "X$CXX" != "Xg++"))) ; then
7961 ac_cpp='$CXXCPP $CPPFLAGS'
7962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7965 { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
7966 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
7967 if test -z "$CXXCPP"; then
7968 if test "${ac_cv_prog_CXXCPP+set}" = set; then
7969 $as_echo_n "(cached) " >&6
7971 # Double quotes because CXXCPP needs to be expanded
7972 for CXXCPP in "$CXX -E" "/lib/cpp"
7975 for ac_cxx_preproc_warn_flag in '' yes
7977 # Use a header file that comes with gcc, so configuring glibc
7978 # with a fresh cross-compiler works.
7979 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7980 # <limits.h> exists even on freestanding compilers.
7981 # On the NeXT, cc -E runs the code through the compiler's parser,
7982 # not just through cpp. "Syntax error" is here to catch this case.
7983 cat >conftest.$ac_ext <<_ACEOF
7986 cat confdefs.h >>conftest.$ac_ext
7987 cat >>conftest.$ac_ext <<_ACEOF
7988 /* end confdefs.h. */
7990 # include <limits.h>
7992 # include <assert.h>
7996 if { (ac_try="$ac_cpp conftest.$ac_ext"
7998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7999 *) ac_try_echo=$ac_try;;
8001 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8002 $as_echo "$ac_try_echo") >&5
8003 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8005 grep -v '^ *+' conftest.er1 >conftest.err
8007 cat conftest.err >&5
8008 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8009 (exit $ac_status); } >/dev/null && {
8010 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
8011 test ! -s conftest.err
8015 $as_echo "$as_me: failed program was:" >&5
8016 sed 's/^/| /' conftest.$ac_ext >&5
8018 # Broken: fails on valid input.
8022 rm -f conftest.err conftest.$ac_ext
8024 # OK, works on sane cases. Now check whether nonexistent headers
8025 # can be detected and how.
8026 cat >conftest.$ac_ext <<_ACEOF
8029 cat confdefs.h >>conftest.$ac_ext
8030 cat >>conftest.$ac_ext <<_ACEOF
8031 /* end confdefs.h. */
8032 #include <ac_nonexistent.h>
8034 if { (ac_try="$ac_cpp conftest.$ac_ext"
8036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8037 *) ac_try_echo=$ac_try;;
8039 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8040 $as_echo "$ac_try_echo") >&5
8041 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8043 grep -v '^ *+' conftest.er1 >conftest.err
8045 cat conftest.err >&5
8046 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8047 (exit $ac_status); } >/dev/null && {
8048 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
8049 test ! -s conftest.err
8051 # Broken: success on invalid input.
8054 $as_echo "$as_me: failed program was:" >&5
8055 sed 's/^/| /' conftest.$ac_ext >&5
8057 # Passes both tests.
8062 rm -f conftest.err conftest.$ac_ext
8065 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8066 rm -f conftest.err conftest.$ac_ext
8067 if $ac_preproc_ok; then
8072 ac_cv_prog_CXXCPP=$CXXCPP
8075 CXXCPP=$ac_cv_prog_CXXCPP
8077 ac_cv_prog_CXXCPP=$CXXCPP
8079 { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
8080 $as_echo "$CXXCPP" >&6; }
8082 for ac_cxx_preproc_warn_flag in '' yes
8084 # Use a header file that comes with gcc, so configuring glibc
8085 # with a fresh cross-compiler works.
8086 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8087 # <limits.h> exists even on freestanding compilers.
8088 # On the NeXT, cc -E runs the code through the compiler's parser,
8089 # not just through cpp. "Syntax error" is here to catch this case.
8090 cat >conftest.$ac_ext <<_ACEOF
8093 cat confdefs.h >>conftest.$ac_ext
8094 cat >>conftest.$ac_ext <<_ACEOF
8095 /* end confdefs.h. */
8097 # include <limits.h>
8099 # include <assert.h>
8103 if { (ac_try="$ac_cpp conftest.$ac_ext"
8105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8106 *) ac_try_echo=$ac_try;;
8108 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8109 $as_echo "$ac_try_echo") >&5
8110 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8112 grep -v '^ *+' conftest.er1 >conftest.err
8114 cat conftest.err >&5
8115 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8116 (exit $ac_status); } >/dev/null && {
8117 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
8118 test ! -s conftest.err
8122 $as_echo "$as_me: failed program was:" >&5
8123 sed 's/^/| /' conftest.$ac_ext >&5
8125 # Broken: fails on valid input.
8129 rm -f conftest.err conftest.$ac_ext
8131 # OK, works on sane cases. Now check whether nonexistent headers
8132 # can be detected and how.
8133 cat >conftest.$ac_ext <<_ACEOF
8136 cat confdefs.h >>conftest.$ac_ext
8137 cat >>conftest.$ac_ext <<_ACEOF
8138 /* end confdefs.h. */
8139 #include <ac_nonexistent.h>
8141 if { (ac_try="$ac_cpp conftest.$ac_ext"
8143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8144 *) ac_try_echo=$ac_try;;
8146 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8147 $as_echo "$ac_try_echo") >&5
8148 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8150 grep -v '^ *+' conftest.er1 >conftest.err
8152 cat conftest.err >&5
8153 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8154 (exit $ac_status); } >/dev/null && {
8155 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
8156 test ! -s conftest.err
8158 # Broken: success on invalid input.
8161 $as_echo "$as_me: failed program was:" >&5
8162 sed 's/^/| /' conftest.$ac_ext >&5
8164 # Passes both tests.
8169 rm -f conftest.err conftest.$ac_ext
8172 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8173 rm -f conftest.err conftest.$ac_ext
8174 if $ac_preproc_ok; then
8177 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
8178 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8179 _lt_caught_CXX_error=yes; }
8183 ac_cpp='$CPP $CPPFLAGS'
8184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8189 _lt_caught_CXX_error=yes
8206 # Check whether --enable-shared was given.
8207 if test "${enable_shared+set}" = set; then
8208 enableval=$enable_shared; p=${PACKAGE-default}
8210 yes) enable_shared=yes ;;
8211 no) enable_shared=no ;;
8214 # Look at the argument we got. We use all the common list separators.
8215 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8216 for pkg in $enableval; do
8218 if test "X$pkg" = "X$p"; then
8237 # Check whether --enable-static was given.
8238 if test "${enable_static+set}" = set; then
8239 enableval=$enable_static; p=${PACKAGE-default}
8241 yes) enable_static=yes ;;
8242 no) enable_static=no ;;
8245 # Look at the argument we got. We use all the common list separators.
8246 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8247 for pkg in $enableval; do
8249 if test "X$pkg" = "X$p"; then
8269 # Check whether --with-pic was given.
8270 if test "${with_pic+set}" = set; then
8271 withval=$with_pic; pic_mode="$withval"
8277 test -z "$pic_mode" && pic_mode=default
8285 # Check whether --enable-fast-install was given.
8286 if test "${enable_fast_install+set}" = set; then
8287 enableval=$enable_fast_install; p=${PACKAGE-default}
8289 yes) enable_fast_install=yes ;;
8290 no) enable_fast_install=no ;;
8292 enable_fast_install=no
8293 # Look at the argument we got. We use all the common list separators.
8294 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8295 for pkg in $enableval; do
8297 if test "X$pkg" = "X$p"; then
8298 enable_fast_install=yes
8305 enable_fast_install=yes
8318 # This can be used to rebuild libtool when needed
8319 LIBTOOL_DEPS="$ltmain"
8321 # Always use our own libtool.
8322 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8348 test -z "$LN_S" && LN_S="ln -s"
8363 if test -n "${ZSH_VERSION+set}" ; then
8364 setopt NO_GLOB_SUBST
8367 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
8368 $as_echo_n "checking for objdir... " >&6; }
8369 if test "${lt_cv_objdir+set}" = set; then
8370 $as_echo_n "(cached) " >&6
8372 rm -f .libs 2>/dev/null
8373 mkdir .libs 2>/dev/null
8374 if test -d .libs; then
8377 # MS-DOS does not allow filenames that begin with a dot.
8380 rmdir .libs 2>/dev/null
8382 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
8383 $as_echo "$lt_cv_objdir" >&6; }
8384 objdir=$lt_cv_objdir
8390 cat >>confdefs.h <<_ACEOF
8391 #define LT_OBJDIR "$lt_cv_objdir/"
8412 # AIX sometimes has problems with the GCC collect2 program. For some
8413 # reason, if we set the COLLECT_NAMES environment variable, the problems
8414 # vanish in a puff of smoke.
8415 if test "X${COLLECT_NAMES+set}" != Xset; then
8417 export COLLECT_NAMES
8422 # Sed substitution that helps us do robust quoting. It backslashifies
8423 # metacharacters that are still active within double-quoted strings.
8424 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8426 # Same as above, but do not quote variable references.
8427 double_quote_subst='s/\(["`\\]\)/\\\1/g'
8429 # Sed substitution to delay expansion of an escaped shell variable in a
8430 # double_quote_subst'ed string.
8431 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8433 # Sed substitution to delay expansion of an escaped single quote.
8434 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
8436 # Sed substitution to avoid accidental globbing in evaled expressions
8437 no_glob_subst='s/\*/\\\*/g'
8441 can_build_shared=yes
8443 # All known linkers require a `.a' archive for static linking (except MSVC,
8444 # which needs '.lib').
8447 with_gnu_ld="$lt_cv_prog_gnu_ld"
8450 old_CFLAGS="$CFLAGS"
8452 # Set sane defaults for various variables
8453 test -z "$CC" && CC=cc
8454 test -z "$LTCC" && LTCC=$CC
8455 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8456 test -z "$LD" && LD=ld
8457 test -z "$ac_objext" && ac_objext=o
8459 for cc_temp in $compiler""; do
8461 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8462 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8467 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8470 # Only perform the check for file, if the check method requires it
8471 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8472 case $deplibs_check_method in
8474 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8475 { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
8476 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8477 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8478 $as_echo_n "(cached) " >&6
8482 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8485 lt_save_MAGIC_CMD="$MAGIC_CMD"
8486 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8487 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8488 for ac_dir in $ac_dummy; do
8490 test -z "$ac_dir" && ac_dir=.
8491 if test -f $ac_dir/${ac_tool_prefix}file; then
8492 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8493 if test -n "$file_magic_test_file"; then
8494 case $deplibs_check_method in
8496 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8497 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8498 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8499 $EGREP "$file_magic_regex" > /dev/null; then
8504 *** Warning: the command libtool uses to detect shared libraries,
8505 *** $file_magic_cmd, produces output that libtool cannot recognize.
8506 *** The result is that libtool may fail to recognize shared libraries
8507 *** as such. This will affect the creation of libtool libraries that
8508 *** depend on shared libraries, but programs linked with such libtool
8509 *** libraries will work regardless of this problem. Nevertheless, you
8510 *** may want to report the problem to your system manager and/or to
8511 *** bug-libtool@gnu.org
8521 MAGIC_CMD="$lt_save_MAGIC_CMD"
8526 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8527 if test -n "$MAGIC_CMD"; then
8528 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8529 $as_echo "$MAGIC_CMD" >&6; }
8531 { $as_echo "$as_me:$LINENO: result: no" >&5
8532 $as_echo "no" >&6; }
8539 if test -z "$lt_cv_path_MAGIC_CMD"; then
8540 if test -n "$ac_tool_prefix"; then
8541 { $as_echo "$as_me:$LINENO: checking for file" >&5
8542 $as_echo_n "checking for file... " >&6; }
8543 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8544 $as_echo_n "(cached) " >&6
8548 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8551 lt_save_MAGIC_CMD="$MAGIC_CMD"
8552 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8553 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8554 for ac_dir in $ac_dummy; do
8556 test -z "$ac_dir" && ac_dir=.
8557 if test -f $ac_dir/file; then
8558 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8559 if test -n "$file_magic_test_file"; then
8560 case $deplibs_check_method in
8562 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8563 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8564 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8565 $EGREP "$file_magic_regex" > /dev/null; then
8570 *** Warning: the command libtool uses to detect shared libraries,
8571 *** $file_magic_cmd, produces output that libtool cannot recognize.
8572 *** The result is that libtool may fail to recognize shared libraries
8573 *** as such. This will affect the creation of libtool libraries that
8574 *** depend on shared libraries, but programs linked with such libtool
8575 *** libraries will work regardless of this problem. Nevertheless, you
8576 *** may want to report the problem to your system manager and/or to
8577 *** bug-libtool@gnu.org
8587 MAGIC_CMD="$lt_save_MAGIC_CMD"
8592 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8593 if test -n "$MAGIC_CMD"; then
8594 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8595 $as_echo "$MAGIC_CMD" >&6; }
8597 { $as_echo "$as_me:$LINENO: result: no" >&5
8598 $as_echo "no" >&6; }
8611 # Use C for the default configuration in the libtool script
8615 ac_cpp='$CPP $CPPFLAGS'
8616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8621 # Source file extension for C test sources.
8624 # Object file extension for compiled C test sources.
8628 # Code to be used in simple compile tests
8629 lt_simple_compile_test_code="int some_variable = 0;"
8631 # Code to be used in simple link tests
8632 lt_simple_link_test_code='int main(){return(0);}'
8640 # If no C compiler was specified, use CC.
8643 # If no C compiler flags were specified, use CFLAGS.
8644 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8646 # Allow CC to be a program name with arguments.
8649 # Save the default compiler, since it gets overwritten when the other
8650 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8651 compiler_DEFAULT=$CC
8653 # save warnings/boilerplate of simple test code
8654 ac_outfile=conftest.$ac_objext
8655 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8656 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8657 _lt_compiler_boilerplate=`cat conftest.err`
8660 ac_outfile=conftest.$ac_objext
8661 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8662 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8663 _lt_linker_boilerplate=`cat conftest.err`
8667 if test -n "$compiler"; then
8669 lt_prog_compiler_no_builtin_flag=
8671 if test "$GCC" = yes; then
8672 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8674 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8675 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8676 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
8677 $as_echo_n "(cached) " >&6
8679 lt_cv_prog_compiler_rtti_exceptions=no
8680 ac_outfile=conftest.$ac_objext
8681 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8682 lt_compiler_flag="-fno-rtti -fno-exceptions"
8683 # Insert the option either (1) after the last *FLAGS variable, or
8684 # (2) before a word containing "conftest.", or (3) at the end.
8685 # Note that $ac_compile itself does not contain backslashes and begins
8686 # with a dollar sign (not a hyphen), so the echo should work correctly.
8687 # The option is referenced via a variable to avoid confusing sed.
8688 lt_compile=`echo "$ac_compile" | $SED \
8689 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8690 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8691 -e 's:$: $lt_compiler_flag:'`
8692 (eval echo "\"\$as_me:8692: $lt_compile\"" >&5)
8693 (eval "$lt_compile" 2>conftest.err)
8695 cat conftest.err >&5
8696 echo "$as_me:8696: \$? = $ac_status" >&5
8697 if (exit $ac_status) && test -s "$ac_outfile"; then
8698 # The compiler can only warn and ignore the option if not recognized
8699 # So say no if there are warnings other than the usual output.
8700 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8701 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8702 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8703 lt_cv_prog_compiler_rtti_exceptions=yes
8709 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8710 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8712 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8713 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8725 lt_prog_compiler_wl=
8726 lt_prog_compiler_pic=
8727 lt_prog_compiler_static=
8729 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
8730 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8732 if test "$GCC" = yes; then
8733 lt_prog_compiler_wl='-Wl,'
8734 lt_prog_compiler_static='-static'
8738 # All AIX code is PIC.
8739 if test "$host_cpu" = ia64; then
8740 # AIX 5 now supports IA64 processor
8741 lt_prog_compiler_static='-Bstatic'
8748 # see comment about AmigaOS4 .so support
8749 lt_prog_compiler_pic='-fPIC'
8752 # FIXME: we need at least 68020 code to build shared libraries, but
8753 # adding the `-m68020' flag to GCC prevents building anything better,
8755 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8760 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8761 # PIC is the default for these OSes.
8764 mingw* | cygwin* | pw32* | os2* | cegcc*)
8765 # This hack is so that the source file can tell whether it is being
8766 # built for inclusion in a dll (and should export symbols for example).
8767 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8768 # (--disable-auto-import) libraries
8769 lt_prog_compiler_pic='-DDLL_EXPORT'
8772 darwin* | rhapsody*)
8773 # PIC is the default on this platform
8774 # Common symbols not allowed in MH_DYLIB files
8775 lt_prog_compiler_pic='-fno-common'
8779 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8780 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8781 # sets the default TLS model and affects inlining.
8787 lt_prog_compiler_pic='-fPIC'
8793 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8794 # Instead, we relocate shared libraries at runtime.
8798 # Just because we use GCC doesn't mean we suddenly get shared libraries
8799 # on systems that don't support them.
8800 lt_prog_compiler_can_build_shared=no
8805 # QNX uses GNU C++, but need to define -shared option too, otherwise
8807 lt_prog_compiler_pic='-fPIC -shared'
8811 if test -d /usr/nec; then
8812 lt_prog_compiler_pic=-Kconform_pic
8817 lt_prog_compiler_pic='-fPIC'
8821 # PORTME Check for flag to pass linker flags through the system compiler.
8824 lt_prog_compiler_wl='-Wl,'
8825 if test "$host_cpu" = ia64; then
8826 # AIX 5 now supports IA64 processor
8827 lt_prog_compiler_static='-Bstatic'
8829 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8833 mingw* | cygwin* | pw32* | os2* | cegcc*)
8834 # This hack is so that the source file can tell whether it is being
8835 # built for inclusion in a dll (and should export symbols for example).
8836 lt_prog_compiler_pic='-DDLL_EXPORT'
8839 hpux9* | hpux10* | hpux11*)
8840 lt_prog_compiler_wl='-Wl,'
8841 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8848 lt_prog_compiler_pic='+Z'
8851 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8852 lt_prog_compiler_static='${wl}-a ${wl}archive'
8855 irix5* | irix6* | nonstopux*)
8856 lt_prog_compiler_wl='-Wl,'
8857 # PIC (with -KPIC) is the default.
8858 lt_prog_compiler_static='-non_shared'
8861 linux* | k*bsd*-gnu)
8862 case $cc_basename in
8863 # old Intel for x86_64 which still supported -KPIC.
8865 lt_prog_compiler_wl='-Wl,'
8866 lt_prog_compiler_pic='-KPIC'
8867 lt_prog_compiler_static='-static'
8869 # icc used to be incompatible with GCC.
8870 # ICC 10 doesn't accept -KPIC any more.
8872 lt_prog_compiler_wl='-Wl,'
8873 lt_prog_compiler_pic='-fPIC'
8874 lt_prog_compiler_static='-static'
8876 # Lahey Fortran 8.1.
8878 lt_prog_compiler_wl='-Wl,'
8879 lt_prog_compiler_pic='--shared'
8880 lt_prog_compiler_static='--static'
8882 pgcc* | pgf77* | pgf90* | pgf95*)
8883 # Portland Group compilers (*not* the Pentium gcc compiler,
8884 # which looks to be a dead project)
8885 lt_prog_compiler_wl='-Wl,'
8886 lt_prog_compiler_pic='-fpic'
8887 lt_prog_compiler_static='-Bstatic'
8890 lt_prog_compiler_wl='-Wl,'
8891 # All Alpha code is PIC.
8892 lt_prog_compiler_static='-non_shared'
8895 # IBM XL C 8.0/Fortran 10.1 on PPC
8896 lt_prog_compiler_wl='-Wl,'
8897 lt_prog_compiler_pic='-qpic'
8898 lt_prog_compiler_static='-qstaticlink'
8901 case `$CC -V 2>&1 | sed 5q` in
8904 lt_prog_compiler_pic='-KPIC'
8905 lt_prog_compiler_static='-Bstatic'
8906 lt_prog_compiler_wl='-Wl,'
8909 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8910 lt_prog_compiler_pic='-KPIC'
8911 lt_prog_compiler_static='-Bstatic'
8912 lt_prog_compiler_wl=''
8920 lt_prog_compiler_pic='-KPIC'
8921 lt_prog_compiler_static='-Bstatic'
8925 # QNX uses GNU C++, but need to define -shared option too, otherwise
8927 lt_prog_compiler_pic='-fPIC -shared'
8930 osf3* | osf4* | osf5*)
8931 lt_prog_compiler_wl='-Wl,'
8932 # All OSF/1 code is PIC.
8933 lt_prog_compiler_static='-non_shared'
8937 lt_prog_compiler_static='-non_shared'
8941 lt_prog_compiler_pic='-KPIC'
8942 lt_prog_compiler_static='-Bstatic'
8943 case $cc_basename in
8945 lt_prog_compiler_wl='-Qoption ld ';;
8947 lt_prog_compiler_wl='-Wl,';;
8952 lt_prog_compiler_wl='-Qoption ld '
8953 lt_prog_compiler_pic='-PIC'
8954 lt_prog_compiler_static='-Bstatic'
8957 sysv4 | sysv4.2uw2* | sysv4.3*)
8958 lt_prog_compiler_wl='-Wl,'
8959 lt_prog_compiler_pic='-KPIC'
8960 lt_prog_compiler_static='-Bstatic'
8964 if test -d /usr/nec ;then
8965 lt_prog_compiler_pic='-Kconform_pic'
8966 lt_prog_compiler_static='-Bstatic'
8970 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8971 lt_prog_compiler_wl='-Wl,'
8972 lt_prog_compiler_pic='-KPIC'
8973 lt_prog_compiler_static='-Bstatic'
8977 lt_prog_compiler_wl='-Wl,'
8978 lt_prog_compiler_can_build_shared=no
8982 lt_prog_compiler_pic='-pic'
8983 lt_prog_compiler_static='-Bstatic'
8987 lt_prog_compiler_can_build_shared=no
8993 # For platforms which do not support PIC, -DPIC is meaningless:
8995 lt_prog_compiler_pic=
8998 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9001 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
9002 $as_echo "$lt_prog_compiler_pic" >&6; }
9010 # Check to make sure the PIC flag actually works.
9012 if test -n "$lt_prog_compiler_pic"; then
9013 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9014 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9015 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
9016 $as_echo_n "(cached) " >&6
9018 lt_cv_prog_compiler_pic_works=no
9019 ac_outfile=conftest.$ac_objext
9020 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9021 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9022 # Insert the option either (1) after the last *FLAGS variable, or
9023 # (2) before a word containing "conftest.", or (3) at the end.
9024 # Note that $ac_compile itself does not contain backslashes and begins
9025 # with a dollar sign (not a hyphen), so the echo should work correctly.
9026 # The option is referenced via a variable to avoid confusing sed.
9027 lt_compile=`echo "$ac_compile" | $SED \
9028 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9029 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9030 -e 's:$: $lt_compiler_flag:'`
9031 (eval echo "\"\$as_me:9031: $lt_compile\"" >&5)
9032 (eval "$lt_compile" 2>conftest.err)
9034 cat conftest.err >&5
9035 echo "$as_me:9035: \$? = $ac_status" >&5
9036 if (exit $ac_status) && test -s "$ac_outfile"; then
9037 # The compiler can only warn and ignore the option if not recognized
9038 # So say no if there are warnings other than the usual output.
9039 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9040 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9041 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9042 lt_cv_prog_compiler_pic_works=yes
9048 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
9049 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9051 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9052 case $lt_prog_compiler_pic in
9054 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9057 lt_prog_compiler_pic=
9058 lt_prog_compiler_can_build_shared=no
9069 # Check to make sure the static flag actually works.
9071 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9072 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9073 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9074 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
9075 $as_echo_n "(cached) " >&6
9077 lt_cv_prog_compiler_static_works=no
9078 save_LDFLAGS="$LDFLAGS"
9079 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9080 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9081 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9082 # The linker can only warn and ignore the option if not recognized
9083 # So say no if there are warnings
9084 if test -s conftest.err; then
9085 # Append any errors to the config.log.
9086 cat conftest.err 1>&5
9087 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
9088 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9089 if diff conftest.exp conftest.er2 >/dev/null; then
9090 lt_cv_prog_compiler_static_works=yes
9093 lt_cv_prog_compiler_static_works=yes
9097 LDFLAGS="$save_LDFLAGS"
9100 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
9101 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9103 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9106 lt_prog_compiler_static=
9115 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9116 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9117 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9118 $as_echo_n "(cached) " >&6
9120 lt_cv_prog_compiler_c_o=no
9121 $RM -r conftest 2>/dev/null
9125 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9127 lt_compiler_flag="-o out/conftest2.$ac_objext"
9128 # Insert the option either (1) after the last *FLAGS variable, or
9129 # (2) before a word containing "conftest.", or (3) at the end.
9130 # Note that $ac_compile itself does not contain backslashes and begins
9131 # with a dollar sign (not a hyphen), so the echo should work correctly.
9132 lt_compile=`echo "$ac_compile" | $SED \
9133 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9134 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9135 -e 's:$: $lt_compiler_flag:'`
9136 (eval echo "\"\$as_me:9136: $lt_compile\"" >&5)
9137 (eval "$lt_compile" 2>out/conftest.err)
9139 cat out/conftest.err >&5
9140 echo "$as_me:9140: \$? = $ac_status" >&5
9141 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9143 # The compiler can only warn and ignore the option if not recognized
9144 # So say no if there are warnings
9145 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9146 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9147 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9148 lt_cv_prog_compiler_c_o=yes
9153 # SGI C++ compiler will create directory out/ii_files/ for
9154 # template instantiation
9155 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9156 $RM out/* && rmdir out
9162 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9163 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9170 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9171 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9172 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9173 $as_echo_n "(cached) " >&6
9175 lt_cv_prog_compiler_c_o=no
9176 $RM -r conftest 2>/dev/null
9180 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9182 lt_compiler_flag="-o out/conftest2.$ac_objext"
9183 # Insert the option either (1) after the last *FLAGS variable, or
9184 # (2) before a word containing "conftest.", or (3) at the end.
9185 # Note that $ac_compile itself does not contain backslashes and begins
9186 # with a dollar sign (not a hyphen), so the echo should work correctly.
9187 lt_compile=`echo "$ac_compile" | $SED \
9188 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9189 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9190 -e 's:$: $lt_compiler_flag:'`
9191 (eval echo "\"\$as_me:9191: $lt_compile\"" >&5)
9192 (eval "$lt_compile" 2>out/conftest.err)
9194 cat out/conftest.err >&5
9195 echo "$as_me:9195: \$? = $ac_status" >&5
9196 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9198 # The compiler can only warn and ignore the option if not recognized
9199 # So say no if there are warnings
9200 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9201 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9202 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9203 lt_cv_prog_compiler_c_o=yes
9208 # SGI C++ compiler will create directory out/ii_files/ for
9209 # template instantiation
9210 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9211 $RM out/* && rmdir out
9217 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9218 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9223 hard_links="nottested"
9224 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9225 # do not overwrite the value of need_locks provided by the user
9226 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
9227 $as_echo_n "checking if we can lock with hard links... " >&6; }
9230 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9232 ln conftest.a conftest.b 2>&5 || hard_links=no
9233 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9234 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
9235 $as_echo "$hard_links" >&6; }
9236 if test "$hard_links" = no; then
9237 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9238 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9250 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9251 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9254 allow_undefined_flag=
9255 always_export_symbols=no
9257 archive_expsym_cmds=
9258 compiler_needs_object=no
9259 enable_shared_with_static_runtimes=no
9260 export_dynamic_flag_spec=
9261 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9262 hardcode_automatic=no
9264 hardcode_direct_absolute=no
9265 hardcode_libdir_flag_spec=
9266 hardcode_libdir_flag_spec_ld=
9267 hardcode_libdir_separator=
9269 hardcode_shlibpath_var=unsupported
9271 link_all_deplibs=unknown
9274 old_archive_from_new_cmds=
9275 old_archive_from_expsyms_cmds=
9276 thread_safe_flag_spec=
9277 whole_archive_flag_spec=
9278 # include_expsyms should be a list of space-separated symbols to be *always*
9279 # included in the symbol list
9281 # exclude_expsyms can be an extended regexp of symbols to exclude
9282 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9283 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9284 # as well as any symbol that contains `d'.
9285 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9286 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9287 # platforms (ab)use it in PIC code, but their linkers get confused if
9288 # the symbol is explicitly referenced. Since portable code cannot
9289 # rely on this symbol name, it's probably fine to never include it in
9290 # preloaded symbol tables.
9291 # Exclude shared library initialization/finalization symbols.
9292 extract_expsyms_cmds=
9295 cygwin* | mingw* | pw32* | cegcc*)
9296 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9297 # When not using gcc, we currently assume that we are using
9298 # Microsoft Visual C++.
9299 if test "$GCC" != yes; then
9304 # we just hope/assume this is gcc and not c89 (= MSVC++)
9313 if test "$with_gnu_ld" = yes; then
9314 # If archive_cmds runs LD, not CC, wlarc should be empty
9317 # Set some defaults for GNU ld with shared library support. These
9318 # are reset later if shared libraries are not supported. Putting them
9319 # here allows them to be overridden if necessary.
9320 runpath_var=LD_RUN_PATH
9321 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9322 export_dynamic_flag_spec='${wl}--export-dynamic'
9323 # ancient GNU ld didn't support --whole-archive et. al.
9324 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9325 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9327 whole_archive_flag_spec=
9329 supports_anon_versioning=no
9330 case `$LD -v 2>&1` in
9331 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9332 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9333 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9334 *\ 2.11.*) ;; # other 2.11 versions
9335 *) supports_anon_versioning=yes ;;
9338 # See if GNU ld supports shared libraries.
9341 # On AIX/PPC, the GNU linker is very broken
9342 if test "$host_cpu" != ia64; then
9346 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9347 *** to be unable to reliably create shared libraries on AIX.
9348 *** Therefore, libtool is disabling shared libraries support. If you
9349 *** really care for shared libraries, you may want to modify your PATH
9350 *** so that a non-GNU linker is found, and then restart.
9359 # see comment about AmigaOS4 .so support
9360 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9361 archive_expsym_cmds=''
9364 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)'
9365 hardcode_libdir_flag_spec='-L$libdir'
9366 hardcode_minus_L=yes
9372 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9373 allow_undefined_flag=unsupported
9374 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9375 # support --undefined. This deserves some investigation. FIXME
9376 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9382 cygwin* | mingw* | pw32* | cegcc*)
9383 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9384 # as there is no search path for DLLs.
9385 hardcode_libdir_flag_spec='-L$libdir'
9386 allow_undefined_flag=unsupported
9387 always_export_symbols=no
9388 enable_shared_with_static_runtimes=yes
9389 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9391 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9392 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9393 # If the export-symbols file already is a .def file (1st line
9394 # is EXPORTS), use it as is; otherwise, prepend...
9395 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9396 cp $export_symbols $output_objdir/$soname.def;
9398 echo EXPORTS > $output_objdir/$soname.def;
9399 cat $export_symbols >> $output_objdir/$soname.def;
9401 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9409 hardcode_shlibpath_var=no
9410 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9411 export_dynamic_flag_spec='${wl}-E'
9412 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9413 # Instead, shared libraries are loaded at an image base (0x10000000 by
9414 # default) and relocated if they conflict, which is a slow very memory
9415 # consuming and fragmenting process. To avoid this, we pick a random,
9416 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9417 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9418 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9419 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'
9422 gnu* | linux* | tpf* | k*bsd*-gnu)
9424 if test "$host_os" = linux-dietlibc; then
9425 case $cc_basename in
9426 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9429 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9430 && test "$tmp_diet" = no
9433 tmp_sharedflag='-shared'
9434 case $cc_basename,$host_cpu in
9435 pgcc*) # Portland Group C compiler
9436 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9437 tmp_addflag=' $pic_flag'
9439 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
9440 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9441 tmp_addflag=' $pic_flag -Mnomain' ;;
9442 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9443 tmp_addflag=' -i_dynamic' ;;
9444 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9445 tmp_addflag=' -i_dynamic -nofor_main' ;;
9446 ifc* | ifort*) # Intel Fortran compiler
9447 tmp_addflag=' -nofor_main' ;;
9448 lf95*) # Lahey Fortran 8.1
9449 whole_archive_flag_spec=
9450 tmp_sharedflag='--shared' ;;
9451 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9452 tmp_sharedflag='-qmkshrobj'
9455 case `$CC -V 2>&1 | sed 5q` in
9456 *Sun\ C*) # Sun C 5.9
9457 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9458 compiler_needs_object=yes
9459 tmp_sharedflag='-G' ;;
9460 *Sun\ F*) # Sun Fortran 8.3
9461 tmp_sharedflag='-G' ;;
9463 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9465 if test "x$supports_anon_versioning" = xyes; then
9466 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9467 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9468 echo "local: *; };" >> $output_objdir/$libname.ver~
9469 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9472 case $cc_basename in
9474 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9475 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9476 hardcode_libdir_flag_spec=
9477 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9478 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9479 if test "x$supports_anon_versioning" = xyes; then
9480 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9481 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9482 echo "local: *; };" >> $output_objdir/$libname.ver~
9483 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9493 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9494 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9497 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9498 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9503 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9507 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9508 *** create shared libraries on Solaris systems. Therefore, libtool
9509 *** is disabling shared libraries support. We urge you to upgrade GNU
9510 *** binutils to release 2.9.1 or newer. Another option is to modify
9511 *** your PATH or compiler configuration so that the native linker is
9512 *** used, and then restart.
9515 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9516 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9517 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9523 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9524 case `$LD -v 2>&1` in
9525 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9529 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9530 *** reliably create shared libraries on SCO systems. Therefore, libtool
9531 *** is disabling shared libraries support. We urge you to upgrade GNU
9532 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9533 *** your PATH or compiler configuration so that the native linker is
9534 *** used, and then restart.
9539 # For security reasons, it is highly recommended that you always
9540 # use absolute paths for naming shared libraries, and exclude the
9541 # DT_RUNPATH tag from executables and libraries. But doing so
9542 # requires that you compile everything twice, which is a pain.
9543 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9544 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9545 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9546 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9555 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9558 hardcode_shlibpath_var=no
9562 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9563 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9564 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9571 if test "$ld_shlibs" = no; then
9573 hardcode_libdir_flag_spec=
9574 export_dynamic_flag_spec=
9575 whole_archive_flag_spec=
9578 # PORTME fill in a description of your system's linker (not GNU ld)
9581 allow_undefined_flag=unsupported
9582 always_export_symbols=yes
9583 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'
9584 # Note: this linker hardcodes the directories in LIBPATH if there
9585 # are no directories specified by -L.
9586 hardcode_minus_L=yes
9587 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9588 # Neither direct hardcoding nor static linking is supported with a
9590 hardcode_direct=unsupported
9595 if test "$host_cpu" = ia64; then
9596 # On IA64, the linker does run time linking by default, so we don't
9597 # have to do anything special.
9598 aix_use_runtimelinking=no
9599 exp_sym_flag='-Bexport'
9602 # If we're using GNU nm, then we don't want the "-C" option.
9603 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9604 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9605 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9607 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'
9609 aix_use_runtimelinking=no
9611 # Test if we are trying to use run time linking or normal
9612 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9613 # need to do runtime linking.
9614 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9615 for ld_flag in $LDFLAGS; do
9616 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9617 aix_use_runtimelinking=yes
9624 exp_sym_flag='-bexport'
9625 no_entry_flag='-bnoentry'
9628 # When large executables or shared objects are built, AIX ld can
9629 # have problems creating the table of contents. If linking a library
9630 # or program results in "error TOC overflow" add -mminimal-toc to
9631 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9632 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9636 hardcode_direct_absolute=yes
9637 hardcode_libdir_separator=':'
9638 link_all_deplibs=yes
9639 file_list_spec='${wl}-f,'
9641 if test "$GCC" = yes; then
9642 case $host_os in aix4.[012]|aix4.[012].*)
9643 # We only want to do this on AIX 4.2 and lower, the check
9644 # below for broken collect2 doesn't work under 4.3+
9645 collect2name=`${CC} -print-prog-name=collect2`
9646 if test -f "$collect2name" &&
9647 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9649 # We have reworked collect2
9652 # We have old collect2
9653 hardcode_direct=unsupported
9654 # It fails to find uninstalled libraries when the uninstalled
9655 # path is not listed in the libpath. Setting hardcode_minus_L
9656 # to unsupported forces relinking
9657 hardcode_minus_L=yes
9658 hardcode_libdir_flag_spec='-L$libdir'
9659 hardcode_libdir_separator=
9663 shared_flag='-shared'
9664 if test "$aix_use_runtimelinking" = yes; then
9665 shared_flag="$shared_flag "'${wl}-G'
9669 if test "$host_cpu" = ia64; then
9670 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9671 # chokes on -Wl,-G. The following line is correct:
9674 if test "$aix_use_runtimelinking" = yes; then
9675 shared_flag='${wl}-G'
9677 shared_flag='${wl}-bM:SRE'
9682 export_dynamic_flag_spec='${wl}-bexpall'
9683 # It seems that -bexpall does not export symbols beginning with
9684 # underscore (_), so it is better to generate a list of symbols to export.
9685 always_export_symbols=yes
9686 if test "$aix_use_runtimelinking" = yes; then
9687 # Warning - without using the other runtime loading flags (-brtl),
9688 # -berok will link without error, but may produce a broken library.
9689 allow_undefined_flag='-berok'
9690 # Determine the default libpath from the value encoded in an
9692 cat >conftest.$ac_ext <<_ACEOF
9695 cat confdefs.h >>conftest.$ac_ext
9696 cat >>conftest.$ac_ext <<_ACEOF
9697 /* end confdefs.h. */
9707 rm -f conftest.$ac_objext conftest$ac_exeext
9708 if { (ac_try="$ac_link"
9710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9711 *) ac_try_echo=$ac_try;;
9713 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9714 $as_echo "$ac_try_echo") >&5
9715 (eval "$ac_link") 2>conftest.er1
9717 grep -v '^ *+' conftest.er1 >conftest.err
9719 cat conftest.err >&5
9720 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9721 (exit $ac_status); } && {
9722 test -z "$ac_c_werror_flag" ||
9723 test ! -s conftest.err
9724 } && test -s conftest$ac_exeext && {
9725 test "$cross_compiling" = yes ||
9726 $as_test_x conftest$ac_exeext
9729 lt_aix_libpath_sed='
9730 /Import File Strings/,/^$/ {
9736 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9737 # Check for a 64-bit object if we didn't find anything.
9738 if test -z "$aix_libpath"; then
9739 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9742 $as_echo "$as_me: failed program was:" >&5
9743 sed 's/^/| /' conftest.$ac_ext >&5
9748 rm -rf conftest.dSYM
9749 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9750 conftest$ac_exeext conftest.$ac_ext
9751 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9753 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9754 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9756 if test "$host_cpu" = ia64; then
9757 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9758 allow_undefined_flag="-z nodefs"
9759 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"
9761 # Determine the default libpath from the value encoded in an
9763 cat >conftest.$ac_ext <<_ACEOF
9766 cat confdefs.h >>conftest.$ac_ext
9767 cat >>conftest.$ac_ext <<_ACEOF
9768 /* end confdefs.h. */
9778 rm -f conftest.$ac_objext conftest$ac_exeext
9779 if { (ac_try="$ac_link"
9781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9782 *) ac_try_echo=$ac_try;;
9784 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9785 $as_echo "$ac_try_echo") >&5
9786 (eval "$ac_link") 2>conftest.er1
9788 grep -v '^ *+' conftest.er1 >conftest.err
9790 cat conftest.err >&5
9791 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9792 (exit $ac_status); } && {
9793 test -z "$ac_c_werror_flag" ||
9794 test ! -s conftest.err
9795 } && test -s conftest$ac_exeext && {
9796 test "$cross_compiling" = yes ||
9797 $as_test_x conftest$ac_exeext
9800 lt_aix_libpath_sed='
9801 /Import File Strings/,/^$/ {
9807 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9808 # Check for a 64-bit object if we didn't find anything.
9809 if test -z "$aix_libpath"; then
9810 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9813 $as_echo "$as_me: failed program was:" >&5
9814 sed 's/^/| /' conftest.$ac_ext >&5
9819 rm -rf conftest.dSYM
9820 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9821 conftest$ac_exeext conftest.$ac_ext
9822 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9824 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9825 # Warning - without using the other run time loading flags,
9826 # -berok will link without error, but may produce a broken library.
9827 no_undefined_flag=' ${wl}-bernotok'
9828 allow_undefined_flag=' ${wl}-berok'
9829 # Exported symbols can be pulled into shared objects from archives
9830 whole_archive_flag_spec='$convenience'
9831 archive_cmds_need_lc=yes
9832 # This is similar to how AIX traditionally builds its shared libraries.
9833 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'
9841 # see comment about AmigaOS4 .so support
9842 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9843 archive_expsym_cmds=''
9846 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)'
9847 hardcode_libdir_flag_spec='-L$libdir'
9848 hardcode_minus_L=yes
9854 export_dynamic_flag_spec=-rdynamic
9857 cygwin* | mingw* | pw32* | cegcc*)
9858 # When not using gcc, we currently assume that we are using
9859 # Microsoft Visual C++.
9860 # hardcode_libdir_flag_spec is actually meaningless, as there is
9861 # no search path for DLLs.
9862 hardcode_libdir_flag_spec=' '
9863 allow_undefined_flag=unsupported
9864 # Tell ltmain to make .lib files, not .a files.
9866 # Tell ltmain to make .dll files, not .so files.
9868 # FIXME: Setting linknames here is a bad hack.
9869 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9870 # The linker will automatically build a .lib file if we build a DLL.
9871 old_archive_from_new_cmds='true'
9872 # FIXME: Should let the user specify the lib program.
9873 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9874 fix_srcfile_path='`cygpath -w "$srcfile"`'
9875 enable_shared_with_static_runtimes=yes
9878 darwin* | rhapsody*)
9881 archive_cmds_need_lc=no
9883 hardcode_automatic=yes
9884 hardcode_shlibpath_var=unsupported
9885 whole_archive_flag_spec=''
9886 link_all_deplibs=yes
9887 allow_undefined_flag="$_lt_dar_allow_undefined"
9888 case $cc_basename in
9889 ifort*) _lt_dar_can_shared=yes ;;
9890 *) _lt_dar_can_shared=$GCC ;;
9892 if test "$_lt_dar_can_shared" = "yes"; then
9893 output_verbose_link_cmd=echo
9894 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9895 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9896 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}"
9897 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}"
9906 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9907 hardcode_libdir_flag_spec='-L$libdir'
9908 hardcode_shlibpath_var=no
9915 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9916 # support. Future versions do this automatically, but an explicit c++rt0.o
9917 # does not break anything, and helps significantly (at the cost of a little
9920 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9921 hardcode_libdir_flag_spec='-R$libdir'
9923 hardcode_shlibpath_var=no
9926 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9928 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9930 hardcode_minus_L=yes
9931 hardcode_shlibpath_var=no
9934 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9935 freebsd* | dragonfly*)
9936 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9937 hardcode_libdir_flag_spec='-R$libdir'
9939 hardcode_shlibpath_var=no
9943 if test "$GCC" = yes; then
9944 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'
9946 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'
9948 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9949 hardcode_libdir_separator=:
9952 # hardcode_minus_L: Not really in the search PATH,
9953 # but as the default location of the library.
9954 hardcode_minus_L=yes
9955 export_dynamic_flag_spec='${wl}-E'
9959 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9960 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9962 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9964 if test "$with_gnu_ld" = no; then
9965 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9966 hardcode_libdir_flag_spec_ld='+b $libdir'
9967 hardcode_libdir_separator=:
9969 hardcode_direct_absolute=yes
9970 export_dynamic_flag_spec='${wl}-E'
9971 # hardcode_minus_L: Not really in the search PATH,
9972 # but as the default location of the library.
9973 hardcode_minus_L=yes
9978 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9981 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9984 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9987 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9993 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9996 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9999 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10003 if test "$with_gnu_ld" = no; then
10004 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10005 hardcode_libdir_separator=:
10010 hardcode_shlibpath_var=no
10013 hardcode_direct=yes
10014 hardcode_direct_absolute=yes
10015 export_dynamic_flag_spec='${wl}-E'
10017 # hardcode_minus_L: Not really in the search PATH,
10018 # but as the default location of the library.
10019 hardcode_minus_L=yes
10025 irix5* | irix6* | nonstopux*)
10026 if test "$GCC" = yes; then
10027 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10028 # Try to use the -exported_symbol ld option, if it does not
10029 # work, assume that -exports_file does not work either and
10030 # implicitly export all symbols.
10031 save_LDFLAGS="$LDFLAGS"
10032 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10033 cat >conftest.$ac_ext <<_ACEOF
10036 rm -f conftest.$ac_objext conftest$ac_exeext
10037 if { (ac_try="$ac_link"
10038 case "(($ac_try" in
10039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10040 *) ac_try_echo=$ac_try;;
10042 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10043 $as_echo "$ac_try_echo") >&5
10044 (eval "$ac_link") 2>conftest.er1
10046 grep -v '^ *+' conftest.er1 >conftest.err
10048 cat conftest.err >&5
10049 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10050 (exit $ac_status); } && {
10051 test -z "$ac_c_werror_flag" ||
10052 test ! -s conftest.err
10053 } && test -s conftest$ac_exeext && {
10054 test "$cross_compiling" = yes ||
10055 $as_test_x conftest$ac_exeext
10057 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10060 $as_echo "$as_me: failed program was:" >&5
10061 sed 's/^/| /' conftest.$ac_ext >&5
10066 rm -rf conftest.dSYM
10067 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10068 conftest$ac_exeext conftest.$ac_ext
10069 LDFLAGS="$save_LDFLAGS"
10071 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10072 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10074 archive_cmds_need_lc='no'
10075 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10076 hardcode_libdir_separator=:
10078 link_all_deplibs=yes
10082 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10083 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10085 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10087 hardcode_libdir_flag_spec='-R$libdir'
10088 hardcode_direct=yes
10089 hardcode_shlibpath_var=no
10093 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10094 hardcode_direct=yes
10095 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10096 hardcode_libdir_separator=:
10097 hardcode_shlibpath_var=no
10104 if test -f /usr/libexec/ld.so; then
10105 hardcode_direct=yes
10106 hardcode_shlibpath_var=no
10107 hardcode_direct_absolute=yes
10108 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10109 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10110 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10111 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10112 export_dynamic_flag_spec='${wl}-E'
10115 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10116 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10117 hardcode_libdir_flag_spec='-R$libdir'
10120 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10121 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10131 hardcode_libdir_flag_spec='-L$libdir'
10132 hardcode_minus_L=yes
10133 allow_undefined_flag=unsupported
10134 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'
10135 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10139 if test "$GCC" = yes; then
10140 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10141 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10143 allow_undefined_flag=' -expect_unresolved \*'
10144 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10146 archive_cmds_need_lc='no'
10147 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10148 hardcode_libdir_separator=:
10151 osf4* | osf5*) # as osf3* with the addition of -msym flag
10152 if test "$GCC" = yes; then
10153 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10154 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10155 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10157 allow_undefined_flag=' -expect_unresolved \*'
10158 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10159 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~
10160 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10162 # Both c and cxx compiler support -rpath directly
10163 hardcode_libdir_flag_spec='-rpath $libdir'
10165 archive_cmds_need_lc='no'
10166 hardcode_libdir_separator=:
10170 no_undefined_flag=' -z defs'
10171 if test "$GCC" = yes; then
10173 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10174 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10175 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10177 case `$CC -V 2>&1` in
10180 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10181 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10182 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10186 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10187 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10188 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10192 hardcode_libdir_flag_spec='-R$libdir'
10193 hardcode_shlibpath_var=no
10195 solaris2.[0-5] | solaris2.[0-5].*) ;;
10197 # The compiler driver will combine and reorder linker options,
10198 # but understands `-z linker_flag'. GCC discards it without `$wl',
10199 # but is careful enough not to reorder.
10200 # Supported since Solaris 2.6 (maybe 2.5.1?)
10201 if test "$GCC" = yes; then
10202 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10204 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10208 link_all_deplibs=yes
10212 if test "x$host_vendor" = xsequent; then
10213 # Use $CC to link under sequent, because it throws in some extra .o
10214 # files that make .init and .fini sections work.
10215 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10217 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10219 hardcode_libdir_flag_spec='-L$libdir'
10220 hardcode_direct=yes
10221 hardcode_minus_L=yes
10222 hardcode_shlibpath_var=no
10226 case $host_vendor in
10228 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10229 hardcode_direct=yes # is this really true???
10232 ## LD is ld it makes a PLAMLIB
10233 ## CC just makes a GrossModule.
10234 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10235 reload_cmds='$CC -r -o $output$reload_objs'
10239 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10240 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10243 runpath_var='LD_RUN_PATH'
10244 hardcode_shlibpath_var=no
10248 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10249 hardcode_shlibpath_var=no
10250 export_dynamic_flag_spec='-Bexport'
10254 if test -d /usr/nec; then
10255 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10256 hardcode_shlibpath_var=no
10257 runpath_var=LD_RUN_PATH
10258 hardcode_runpath_var=yes
10263 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10264 no_undefined_flag='${wl}-z,text'
10265 archive_cmds_need_lc=no
10266 hardcode_shlibpath_var=no
10267 runpath_var='LD_RUN_PATH'
10269 if test "$GCC" = yes; then
10270 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10271 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10273 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10274 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10278 sysv5* | sco3.2v5* | sco5v6*)
10279 # Note: We can NOT use -z defs as we might desire, because we do not
10280 # link with -lc, and that would cause any symbols used from libc to
10281 # always be unresolved, which means just about no library would
10282 # ever link correctly. If we're not using GNU ld we use -z text
10283 # though, which does catch some bad symbols but isn't as heavy-handed
10285 no_undefined_flag='${wl}-z,text'
10286 allow_undefined_flag='${wl}-z,nodefs'
10287 archive_cmds_need_lc=no
10288 hardcode_shlibpath_var=no
10289 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10290 hardcode_libdir_separator=':'
10291 link_all_deplibs=yes
10292 export_dynamic_flag_spec='${wl}-Bexport'
10293 runpath_var='LD_RUN_PATH'
10295 if test "$GCC" = yes; then
10296 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10297 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10299 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10300 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10305 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10306 hardcode_libdir_flag_spec='-L$libdir'
10307 hardcode_shlibpath_var=no
10315 if test x$host_vendor = xsni; then
10317 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10318 export_dynamic_flag_spec='${wl}-Blargedynsym'
10324 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
10325 $as_echo "$ld_shlibs" >&6; }
10326 test "$ld_shlibs" = no && can_build_shared=no
10328 with_gnu_ld=$with_gnu_ld
10345 # Do we need to explicitly link libc?
10347 case "x$archive_cmds_need_lc" in
10349 # Assume -lc should be added
10350 archive_cmds_need_lc=yes
10352 if test "$enable_shared" = yes && test "$GCC" = yes; then
10353 case $archive_cmds in
10355 # FIXME: we may have to deal with multi-command sequences.
10358 # Test whether the compiler implicitly links with -lc since on some
10359 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10360 # to ld, don't add -lc before -lgcc.
10361 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10362 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10364 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10367 (eval $ac_compile) 2>&5
10369 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10370 (exit $ac_status); } 2>conftest.err; then
10373 libobjs=conftest.$ac_objext
10375 wl=$lt_prog_compiler_wl
10376 pic_flag=$lt_prog_compiler_pic
10382 lt_save_allow_undefined_flag=$allow_undefined_flag
10383 allow_undefined_flag=
10384 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
10385 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10387 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10388 (exit $ac_status); }
10390 archive_cmds_need_lc=no
10392 archive_cmds_need_lc=yes
10394 allow_undefined_flag=$lt_save_allow_undefined_flag
10396 cat conftest.err 1>&5
10399 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
10400 $as_echo "$archive_cmds_need_lc" >&6; }
10563 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
10564 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10566 if test "$GCC" = yes; then
10568 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10569 *) lt_awk_arg="/^libraries:/" ;;
10571 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10572 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10573 # if the path contains ";" then we assume it to be the separator
10574 # otherwise default to the standard path separator (i.e. ":") - it is
10575 # assumed that no part of a normal pathname contains ";" but that should
10576 # okay in the real world where ";" in dirpaths is itself problematic.
10577 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10579 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10581 # Ok, now we have the path, separated by spaces, we can step through it
10582 # and add multilib dir if necessary.
10583 lt_tmp_lt_search_path_spec=
10584 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10585 for lt_sys_path in $lt_search_path_spec; do
10586 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10587 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10589 test -d "$lt_sys_path" && \
10590 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10593 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10594 BEGIN {RS=" "; FS="/|\n";} {
10597 for (lt_i = NF; lt_i > 0; lt_i--) {
10598 if ($lt_i != "" && $lt_i != ".") {
10599 if ($lt_i == "..") {
10602 if (lt_count == 0) {
10603 lt_foo="/" $lt_i lt_foo;
10610 if (lt_foo != "") { lt_freq[lt_foo]++; }
10611 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10613 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10615 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10617 library_names_spec=
10618 libname_spec='lib$name'
10622 postuninstall_cmds=
10626 shlibpath_overrides_runpath=unknown
10628 dynamic_linker="$host_os ld.so"
10629 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10630 need_lib_prefix=unknown
10631 hardcode_into_libs=no
10633 # when you set need_version to no, make sure it does not cause -set_version
10634 # flags to be left without arguments
10635 need_version=unknown
10640 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10641 shlibpath_var=LIBPATH
10643 # AIX 3 has no versioning support, so we append a major version to the name.
10644 soname_spec='${libname}${release}${shared_ext}$major'
10651 hardcode_into_libs=yes
10652 if test "$host_cpu" = ia64; then
10653 # AIX 5 supports IA64
10654 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10655 shlibpath_var=LD_LIBRARY_PATH
10657 # With GCC up to 2.95.x, collect2 would create an import file
10658 # for dependence libraries. The import file would start with
10659 # the line `#! .'. This would cause the generated library to
10660 # depend on `.', always an invalid library. This was fixed in
10661 # development snapshots of GCC prior to 3.0.
10663 aix4 | aix4.[01] | aix4.[01].*)
10664 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10666 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10669 can_build_shared=no
10673 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10674 # soname into executable. Probably we can add versioning support to
10675 # collect2, so additional links can be useful in future.
10676 if test "$aix_use_runtimelinking" = yes; then
10677 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10678 # instead of lib<name>.a to let people know that these are not
10679 # typical AIX shared libraries.
10680 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10682 # We preserve .a as extension for shared libraries through AIX4.2
10683 # and later when we are not doing run time linking.
10684 library_names_spec='${libname}${release}.a $libname.a'
10685 soname_spec='${libname}${release}${shared_ext}$major'
10687 shlibpath_var=LIBPATH
10694 # Since July 2007 AmigaOS4 officially supports .so libraries.
10695 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10696 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10699 library_names_spec='$libname.ixlibrary $libname.a'
10700 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10701 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10707 library_names_spec='${libname}${shared_ext}'
10708 dynamic_linker="$host_os ld.so"
10709 shlibpath_var=LIBRARY_PATH
10715 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10716 soname_spec='${libname}${release}${shared_ext}$major'
10717 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10718 shlibpath_var=LD_LIBRARY_PATH
10719 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10720 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10721 # the default ld.so.conf also contains /usr/contrib/lib and
10722 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10723 # libtool to hard-code these into programs
10726 cygwin* | mingw* | pw32* | cegcc*)
10727 version_type=windows
10732 case $GCC,$host_os in
10733 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10734 library_names_spec='$libname.dll.a'
10735 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10736 postinstall_cmds='base_file=`basename \${file}`~
10737 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10738 dldir=$destdir/`dirname \$dlpath`~
10739 test -d \$dldir || mkdir -p \$dldir~
10740 $install_prog $dir/$dlname \$dldir/$dlname~
10741 chmod a+x \$dldir/$dlname~
10742 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10743 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10745 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10746 dlpath=$dir/\$dldll~
10748 shlibpath_overrides_runpath=yes
10752 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10753 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10754 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10757 # MinGW DLLs use traditional 'lib' prefix
10758 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10759 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10760 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10761 # It is most probably a Windows format PATH printed by
10762 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10763 # path with ; separators, and with drive letters. We can handle the
10764 # drive letters (cygwin fileutils understands them), so leave them,
10765 # especially as we might pass files found there to a mingw objdump,
10766 # which wouldn't understand a cygwinified path. Ahh.
10767 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10769 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10773 # pw32 DLLs use 'pw' prefix rather than 'lib'
10774 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10780 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10783 dynamic_linker='Win32 ld.exe'
10784 # FIXME: first we should search . and the directory the executable is in
10788 darwin* | rhapsody*)
10789 dynamic_linker="$host_os dyld"
10790 version_type=darwin
10793 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10794 soname_spec='${libname}${release}${major}$shared_ext'
10795 shlibpath_overrides_runpath=yes
10796 shlibpath_var=DYLD_LIBRARY_PATH
10797 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10799 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10800 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10807 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10808 soname_spec='${libname}${release}${shared_ext}$major'
10809 shlibpath_var=LD_LIBRARY_PATH
10816 freebsd* | dragonfly*)
10817 # DragonFly does not have aout. When/if they implement a new
10818 # versioning mechanism, adjust this.
10819 if test -x /usr/bin/objformat; then
10820 objformat=`/usr/bin/objformat`
10823 freebsd[123]*) objformat=aout ;;
10824 *) objformat=elf ;;
10827 version_type=freebsd-$objformat
10828 case $version_type in
10830 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10835 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10839 shlibpath_var=LD_LIBRARY_PATH
10842 shlibpath_overrides_runpath=yes
10844 freebsd3.[01]* | freebsdelf3.[01]*)
10845 shlibpath_overrides_runpath=yes
10846 hardcode_into_libs=yes
10848 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10849 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10850 shlibpath_overrides_runpath=no
10851 hardcode_into_libs=yes
10853 *) # from 4.6 on, and DragonFly
10854 shlibpath_overrides_runpath=yes
10855 hardcode_into_libs=yes
10864 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10865 soname_spec='${libname}${release}${shared_ext}$major'
10866 shlibpath_var=LD_LIBRARY_PATH
10867 hardcode_into_libs=yes
10870 hpux9* | hpux10* | hpux11*)
10871 # Give a soname corresponding to the major version so that dld.sl refuses to
10872 # link against other versions.
10879 hardcode_into_libs=yes
10880 dynamic_linker="$host_os dld.so"
10881 shlibpath_var=LD_LIBRARY_PATH
10882 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10883 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10884 soname_spec='${libname}${release}${shared_ext}$major'
10885 if test "X$HPUX_IA64_MODE" = X32; then
10886 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10888 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10890 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10894 hardcode_into_libs=yes
10895 dynamic_linker="$host_os dld.sl"
10896 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10897 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10898 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10899 soname_spec='${libname}${release}${shared_ext}$major'
10900 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10901 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10905 dynamic_linker="$host_os dld.sl"
10906 shlibpath_var=SHLIB_PATH
10907 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10908 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10909 soname_spec='${libname}${release}${shared_ext}$major'
10912 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10913 postinstall_cmds='chmod 555 $lib'
10920 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10921 soname_spec='${libname}${release}${shared_ext}$major'
10922 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10923 shlibpath_var=LD_LIBRARY_PATH
10924 shlibpath_overrides_runpath=no
10925 hardcode_into_libs=yes
10928 irix5* | irix6* | nonstopux*)
10930 nonstopux*) version_type=nonstopux ;;
10932 if test "$lt_cv_prog_gnu_ld" = yes; then
10940 soname_spec='${libname}${release}${shared_ext}$major'
10941 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10943 irix5* | nonstopux*)
10944 libsuff= shlibsuff=
10947 case $LD in # libtool.m4 will add one of these switches to LD
10948 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10949 libsuff= shlibsuff= libmagic=32-bit;;
10950 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10951 libsuff=32 shlibsuff=N32 libmagic=N32;;
10952 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10953 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10954 *) libsuff= shlibsuff= libmagic=never-match;;
10958 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10959 shlibpath_overrides_runpath=no
10960 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10961 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10962 hardcode_into_libs=yes
10965 # No shared lib support for Linux oldld, aout, or coff.
10966 linux*oldld* | linux*aout* | linux*coff*)
10970 # This must be Linux ELF.
10971 linux* | k*bsd*-gnu)
10975 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10976 soname_spec='${libname}${release}${shared_ext}$major'
10977 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10978 shlibpath_var=LD_LIBRARY_PATH
10979 shlibpath_overrides_runpath=no
10980 # Some binutils ld are patched to set DT_RUNPATH
10981 save_LDFLAGS=$LDFLAGS
10982 save_libdir=$libdir
10983 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10984 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10985 cat >conftest.$ac_ext <<_ACEOF
10988 cat confdefs.h >>conftest.$ac_ext
10989 cat >>conftest.$ac_ext <<_ACEOF
10990 /* end confdefs.h. */
11000 rm -f conftest.$ac_objext conftest$ac_exeext
11001 if { (ac_try="$ac_link"
11002 case "(($ac_try" in
11003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11004 *) ac_try_echo=$ac_try;;
11006 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11007 $as_echo "$ac_try_echo") >&5
11008 (eval "$ac_link") 2>conftest.er1
11010 grep -v '^ *+' conftest.er1 >conftest.err
11012 cat conftest.err >&5
11013 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11014 (exit $ac_status); } && {
11015 test -z "$ac_c_werror_flag" ||
11016 test ! -s conftest.err
11017 } && test -s conftest$ac_exeext && {
11018 test "$cross_compiling" = yes ||
11019 $as_test_x conftest$ac_exeext
11021 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
11022 shlibpath_overrides_runpath=yes
11026 $as_echo "$as_me: failed program was:" >&5
11027 sed 's/^/| /' conftest.$ac_ext >&5
11032 rm -rf conftest.dSYM
11033 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11034 conftest$ac_exeext conftest.$ac_ext
11035 LDFLAGS=$save_LDFLAGS
11036 libdir=$save_libdir
11038 # This implies no fast_install, which is unacceptable.
11039 # Some rework will be needed to allow for fast_install
11040 # before this can be enabled.
11041 hardcode_into_libs=yes
11043 # Add ABI-specific directories to the system library path.
11044 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
11046 # Append ld.so.conf contents to the search path
11047 if test -f /etc/ld.so.conf; then
11048 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
11049 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11052 # We used to test for /lib/ld.so.1 and disable shared libraries on
11053 # powerpc, because MkLinux only supported shared libraries with the
11054 # GNU dynamic linker. Since this was broken with cross compilers,
11055 # most powerpc-linux boxes support dynamic linking these days and
11056 # people can always --disable-shared, the test was removed, and we
11057 # assume the GNU/Linux dynamic linker is in use.
11058 dynamic_linker='GNU/Linux ld.so'
11065 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11066 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11067 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11068 dynamic_linker='NetBSD (a.out) ld.so'
11070 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11071 soname_spec='${libname}${release}${shared_ext}$major'
11072 dynamic_linker='NetBSD ld.elf_so'
11074 shlibpath_var=LD_LIBRARY_PATH
11075 shlibpath_overrides_runpath=yes
11076 hardcode_into_libs=yes
11081 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11082 shlibpath_var=LD_LIBRARY_PATH
11083 shlibpath_overrides_runpath=yes
11090 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11091 soname_spec='${libname}${release}${shared_ext}$major'
11092 shlibpath_var=LD_LIBRARY_PATH
11093 shlibpath_overrides_runpath=no
11094 hardcode_into_libs=yes
11095 dynamic_linker='ldqnx.so'
11100 sys_lib_dlsearch_path_spec="/usr/lib"
11102 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11104 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11105 *) need_version=no ;;
11107 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11108 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11109 shlibpath_var=LD_LIBRARY_PATH
11110 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11112 openbsd2.[89] | openbsd2.[89].*)
11113 shlibpath_overrides_runpath=no
11116 shlibpath_overrides_runpath=yes
11120 shlibpath_overrides_runpath=yes
11125 libname_spec='$name'
11128 library_names_spec='$libname${shared_ext} $libname.a'
11129 dynamic_linker='OS/2 ld.exe'
11130 shlibpath_var=LIBPATH
11133 osf3* | osf4* | osf5*)
11137 soname_spec='${libname}${release}${shared_ext}$major'
11138 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11139 shlibpath_var=LD_LIBRARY_PATH
11140 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11141 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11152 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11153 soname_spec='${libname}${release}${shared_ext}$major'
11154 shlibpath_var=LD_LIBRARY_PATH
11155 shlibpath_overrides_runpath=yes
11156 hardcode_into_libs=yes
11157 # ldd complains unless libraries are executable
11158 postinstall_cmds='chmod +x $lib'
11163 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11164 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11165 shlibpath_var=LD_LIBRARY_PATH
11166 shlibpath_overrides_runpath=yes
11167 if test "$with_gnu_ld" = yes; then
11175 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11176 soname_spec='${libname}${release}${shared_ext}$major'
11177 shlibpath_var=LD_LIBRARY_PATH
11178 case $host_vendor in
11180 shlibpath_overrides_runpath=no
11182 runpath_var=LD_RUN_PATH
11190 shlibpath_overrides_runpath=no
11191 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11197 if test -d /usr/nec ;then
11199 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11200 soname_spec='$libname${shared_ext}.$major'
11201 shlibpath_var=LD_LIBRARY_PATH
11205 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11206 version_type=freebsd-elf
11209 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11210 soname_spec='${libname}${release}${shared_ext}$major'
11211 shlibpath_var=LD_LIBRARY_PATH
11212 shlibpath_overrides_runpath=yes
11213 hardcode_into_libs=yes
11214 if test "$with_gnu_ld" = yes; then
11215 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11217 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11220 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11224 sys_lib_dlsearch_path_spec='/usr/lib'
11228 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11232 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11233 shlibpath_var=LD_LIBRARY_PATH
11234 shlibpath_overrides_runpath=no
11235 hardcode_into_libs=yes
11240 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11241 soname_spec='${libname}${release}${shared_ext}$major'
11242 shlibpath_var=LD_LIBRARY_PATH
11249 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11250 $as_echo "$dynamic_linker" >&6; }
11251 test "$dynamic_linker" = no && can_build_shared=no
11253 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11254 if test "$GCC" = yes; then
11255 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11258 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11259 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11261 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11262 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11351 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11352 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11354 if test -n "$hardcode_libdir_flag_spec" ||
11355 test -n "$runpath_var" ||
11356 test "X$hardcode_automatic" = "Xyes" ; then
11358 # We can hardcode non-existent directories.
11359 if test "$hardcode_direct" != no &&
11360 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11361 # have to relink, otherwise we might link with an installed library
11362 # when we should be linking with a yet-to-be-installed one
11363 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11364 test "$hardcode_minus_L" != no; then
11365 # Linking always hardcodes the temporary library directory.
11366 hardcode_action=relink
11368 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11369 hardcode_action=immediate
11372 # We cannot hardcode anything, or else we can only hardcode existing
11374 hardcode_action=unsupported
11376 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
11377 $as_echo "$hardcode_action" >&6; }
11379 if test "$hardcode_action" = relink ||
11380 test "$inherit_rpath" = yes; then
11381 # Fast installation is not supported
11382 enable_fast_install=no
11383 elif test "$shlibpath_overrides_runpath" = yes ||
11384 test "$enable_shared" = no; then
11385 # Fast installation is not necessary
11386 enable_fast_install=needless
11394 if test "x$enable_dlopen" != xyes; then
11395 enable_dlopen=unknown
11396 enable_dlopen_self=unknown
11397 enable_dlopen_self_static=unknown
11404 lt_cv_dlopen="load_add_on"
11406 lt_cv_dlopen_self=yes
11409 mingw* | pw32* | cegcc*)
11410 lt_cv_dlopen="LoadLibrary"
11415 lt_cv_dlopen="dlopen"
11420 # if libdl is installed we need to link against it
11421 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11422 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11423 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11424 $as_echo_n "(cached) " >&6
11426 ac_check_lib_save_LIBS=$LIBS
11428 cat >conftest.$ac_ext <<_ACEOF
11431 cat confdefs.h >>conftest.$ac_ext
11432 cat >>conftest.$ac_ext <<_ACEOF
11433 /* end confdefs.h. */
11435 /* Override any GCC internal prototype to avoid an error.
11436 Use char because int might match the return type of a GCC
11437 builtin and then its argument prototype would still apply. */
11450 rm -f conftest.$ac_objext conftest$ac_exeext
11451 if { (ac_try="$ac_link"
11452 case "(($ac_try" in
11453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11454 *) ac_try_echo=$ac_try;;
11456 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11457 $as_echo "$ac_try_echo") >&5
11458 (eval "$ac_link") 2>conftest.er1
11460 grep -v '^ *+' conftest.er1 >conftest.err
11462 cat conftest.err >&5
11463 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11464 (exit $ac_status); } && {
11465 test -z "$ac_c_werror_flag" ||
11466 test ! -s conftest.err
11467 } && test -s conftest$ac_exeext && {
11468 test "$cross_compiling" = yes ||
11469 $as_test_x conftest$ac_exeext
11471 ac_cv_lib_dl_dlopen=yes
11473 $as_echo "$as_me: failed program was:" >&5
11474 sed 's/^/| /' conftest.$ac_ext >&5
11476 ac_cv_lib_dl_dlopen=no
11479 rm -rf conftest.dSYM
11480 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11481 conftest$ac_exeext conftest.$ac_ext
11482 LIBS=$ac_check_lib_save_LIBS
11484 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11485 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11486 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
11487 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11490 lt_cv_dlopen="dyld"
11492 lt_cv_dlopen_self=yes
11499 { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
11500 $as_echo_n "checking for shl_load... " >&6; }
11501 if test "${ac_cv_func_shl_load+set}" = set; then
11502 $as_echo_n "(cached) " >&6
11504 cat >conftest.$ac_ext <<_ACEOF
11507 cat confdefs.h >>conftest.$ac_ext
11508 cat >>conftest.$ac_ext <<_ACEOF
11509 /* end confdefs.h. */
11510 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
11511 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11512 #define shl_load innocuous_shl_load
11514 /* System header to define __stub macros and hopefully few prototypes,
11515 which can conflict with char shl_load (); below.
11516 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11517 <limits.h> exists even on freestanding compilers. */
11520 # include <limits.h>
11522 # include <assert.h>
11527 /* Override any GCC internal prototype to avoid an error.
11528 Use char because int might match the return type of a GCC
11529 builtin and then its argument prototype would still apply. */
11534 /* The GNU C library defines this for functions which it implements
11535 to always fail with ENOSYS. Some functions are actually named
11536 something starting with __ and the normal name is an alias. */
11537 #if defined __stub_shl_load || defined __stub___shl_load
11544 return shl_load ();
11549 rm -f conftest.$ac_objext conftest$ac_exeext
11550 if { (ac_try="$ac_link"
11551 case "(($ac_try" in
11552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11553 *) ac_try_echo=$ac_try;;
11555 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11556 $as_echo "$ac_try_echo") >&5
11557 (eval "$ac_link") 2>conftest.er1
11559 grep -v '^ *+' conftest.er1 >conftest.err
11561 cat conftest.err >&5
11562 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11563 (exit $ac_status); } && {
11564 test -z "$ac_c_werror_flag" ||
11565 test ! -s conftest.err
11566 } && test -s conftest$ac_exeext && {
11567 test "$cross_compiling" = yes ||
11568 $as_test_x conftest$ac_exeext
11570 ac_cv_func_shl_load=yes
11572 $as_echo "$as_me: failed program was:" >&5
11573 sed 's/^/| /' conftest.$ac_ext >&5
11575 ac_cv_func_shl_load=no
11578 rm -rf conftest.dSYM
11579 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11580 conftest$ac_exeext conftest.$ac_ext
11582 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11583 $as_echo "$ac_cv_func_shl_load" >&6; }
11584 if test "x$ac_cv_func_shl_load" = x""yes; then
11585 lt_cv_dlopen="shl_load"
11587 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11588 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11589 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11590 $as_echo_n "(cached) " >&6
11592 ac_check_lib_save_LIBS=$LIBS
11594 cat >conftest.$ac_ext <<_ACEOF
11597 cat confdefs.h >>conftest.$ac_ext
11598 cat >>conftest.$ac_ext <<_ACEOF
11599 /* end confdefs.h. */
11601 /* Override any GCC internal prototype to avoid an error.
11602 Use char because int might match the return type of a GCC
11603 builtin and then its argument prototype would still apply. */
11611 return shl_load ();
11616 rm -f conftest.$ac_objext conftest$ac_exeext
11617 if { (ac_try="$ac_link"
11618 case "(($ac_try" in
11619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11620 *) ac_try_echo=$ac_try;;
11622 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11623 $as_echo "$ac_try_echo") >&5
11624 (eval "$ac_link") 2>conftest.er1
11626 grep -v '^ *+' conftest.er1 >conftest.err
11628 cat conftest.err >&5
11629 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11630 (exit $ac_status); } && {
11631 test -z "$ac_c_werror_flag" ||
11632 test ! -s conftest.err
11633 } && test -s conftest$ac_exeext && {
11634 test "$cross_compiling" = yes ||
11635 $as_test_x conftest$ac_exeext
11637 ac_cv_lib_dld_shl_load=yes
11639 $as_echo "$as_me: failed program was:" >&5
11640 sed 's/^/| /' conftest.$ac_ext >&5
11642 ac_cv_lib_dld_shl_load=no
11645 rm -rf conftest.dSYM
11646 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11647 conftest$ac_exeext conftest.$ac_ext
11648 LIBS=$ac_check_lib_save_LIBS
11650 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11651 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11652 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
11653 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11655 { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
11656 $as_echo_n "checking for dlopen... " >&6; }
11657 if test "${ac_cv_func_dlopen+set}" = set; then
11658 $as_echo_n "(cached) " >&6
11660 cat >conftest.$ac_ext <<_ACEOF
11663 cat confdefs.h >>conftest.$ac_ext
11664 cat >>conftest.$ac_ext <<_ACEOF
11665 /* end confdefs.h. */
11666 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
11667 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11668 #define dlopen innocuous_dlopen
11670 /* System header to define __stub macros and hopefully few prototypes,
11671 which can conflict with char dlopen (); below.
11672 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11673 <limits.h> exists even on freestanding compilers. */
11676 # include <limits.h>
11678 # include <assert.h>
11683 /* Override any GCC internal prototype to avoid an error.
11684 Use char because int might match the return type of a GCC
11685 builtin and then its argument prototype would still apply. */
11690 /* The GNU C library defines this for functions which it implements
11691 to always fail with ENOSYS. Some functions are actually named
11692 something starting with __ and the normal name is an alias. */
11693 #if defined __stub_dlopen || defined __stub___dlopen
11705 rm -f conftest.$ac_objext conftest$ac_exeext
11706 if { (ac_try="$ac_link"
11707 case "(($ac_try" in
11708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11709 *) ac_try_echo=$ac_try;;
11711 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11712 $as_echo "$ac_try_echo") >&5
11713 (eval "$ac_link") 2>conftest.er1
11715 grep -v '^ *+' conftest.er1 >conftest.err
11717 cat conftest.err >&5
11718 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11719 (exit $ac_status); } && {
11720 test -z "$ac_c_werror_flag" ||
11721 test ! -s conftest.err
11722 } && test -s conftest$ac_exeext && {
11723 test "$cross_compiling" = yes ||
11724 $as_test_x conftest$ac_exeext
11726 ac_cv_func_dlopen=yes
11728 $as_echo "$as_me: failed program was:" >&5
11729 sed 's/^/| /' conftest.$ac_ext >&5
11731 ac_cv_func_dlopen=no
11734 rm -rf conftest.dSYM
11735 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11736 conftest$ac_exeext conftest.$ac_ext
11738 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11739 $as_echo "$ac_cv_func_dlopen" >&6; }
11740 if test "x$ac_cv_func_dlopen" = x""yes; then
11741 lt_cv_dlopen="dlopen"
11743 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11744 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11745 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11746 $as_echo_n "(cached) " >&6
11748 ac_check_lib_save_LIBS=$LIBS
11750 cat >conftest.$ac_ext <<_ACEOF
11753 cat confdefs.h >>conftest.$ac_ext
11754 cat >>conftest.$ac_ext <<_ACEOF
11755 /* end confdefs.h. */
11757 /* Override any GCC internal prototype to avoid an error.
11758 Use char because int might match the return type of a GCC
11759 builtin and then its argument prototype would still apply. */
11772 rm -f conftest.$ac_objext conftest$ac_exeext
11773 if { (ac_try="$ac_link"
11774 case "(($ac_try" in
11775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11776 *) ac_try_echo=$ac_try;;
11778 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11779 $as_echo "$ac_try_echo") >&5
11780 (eval "$ac_link") 2>conftest.er1
11782 grep -v '^ *+' conftest.er1 >conftest.err
11784 cat conftest.err >&5
11785 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11786 (exit $ac_status); } && {
11787 test -z "$ac_c_werror_flag" ||
11788 test ! -s conftest.err
11789 } && test -s conftest$ac_exeext && {
11790 test "$cross_compiling" = yes ||
11791 $as_test_x conftest$ac_exeext
11793 ac_cv_lib_dl_dlopen=yes
11795 $as_echo "$as_me: failed program was:" >&5
11796 sed 's/^/| /' conftest.$ac_ext >&5
11798 ac_cv_lib_dl_dlopen=no
11801 rm -rf conftest.dSYM
11802 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11803 conftest$ac_exeext conftest.$ac_ext
11804 LIBS=$ac_check_lib_save_LIBS
11806 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11807 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11808 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
11809 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11811 { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11812 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11813 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11814 $as_echo_n "(cached) " >&6
11816 ac_check_lib_save_LIBS=$LIBS
11817 LIBS="-lsvld $LIBS"
11818 cat >conftest.$ac_ext <<_ACEOF
11821 cat confdefs.h >>conftest.$ac_ext
11822 cat >>conftest.$ac_ext <<_ACEOF
11823 /* end confdefs.h. */
11825 /* Override any GCC internal prototype to avoid an error.
11826 Use char because int might match the return type of a GCC
11827 builtin and then its argument prototype would still apply. */
11840 rm -f conftest.$ac_objext conftest$ac_exeext
11841 if { (ac_try="$ac_link"
11842 case "(($ac_try" in
11843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11844 *) ac_try_echo=$ac_try;;
11846 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11847 $as_echo "$ac_try_echo") >&5
11848 (eval "$ac_link") 2>conftest.er1
11850 grep -v '^ *+' conftest.er1 >conftest.err
11852 cat conftest.err >&5
11853 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11854 (exit $ac_status); } && {
11855 test -z "$ac_c_werror_flag" ||
11856 test ! -s conftest.err
11857 } && test -s conftest$ac_exeext && {
11858 test "$cross_compiling" = yes ||
11859 $as_test_x conftest$ac_exeext
11861 ac_cv_lib_svld_dlopen=yes
11863 $as_echo "$as_me: failed program was:" >&5
11864 sed 's/^/| /' conftest.$ac_ext >&5
11866 ac_cv_lib_svld_dlopen=no
11869 rm -rf conftest.dSYM
11870 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11871 conftest$ac_exeext conftest.$ac_ext
11872 LIBS=$ac_check_lib_save_LIBS
11874 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11875 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11876 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
11877 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11879 { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11880 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11881 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11882 $as_echo_n "(cached) " >&6
11884 ac_check_lib_save_LIBS=$LIBS
11886 cat >conftest.$ac_ext <<_ACEOF
11889 cat confdefs.h >>conftest.$ac_ext
11890 cat >>conftest.$ac_ext <<_ACEOF
11891 /* end confdefs.h. */
11893 /* Override any GCC internal prototype to avoid an error.
11894 Use char because int might match the return type of a GCC
11895 builtin and then its argument prototype would still apply. */
11903 return dld_link ();
11908 rm -f conftest.$ac_objext conftest$ac_exeext
11909 if { (ac_try="$ac_link"
11910 case "(($ac_try" in
11911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11912 *) ac_try_echo=$ac_try;;
11914 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11915 $as_echo "$ac_try_echo") >&5
11916 (eval "$ac_link") 2>conftest.er1
11918 grep -v '^ *+' conftest.er1 >conftest.err
11920 cat conftest.err >&5
11921 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11922 (exit $ac_status); } && {
11923 test -z "$ac_c_werror_flag" ||
11924 test ! -s conftest.err
11925 } && test -s conftest$ac_exeext && {
11926 test "$cross_compiling" = yes ||
11927 $as_test_x conftest$ac_exeext
11929 ac_cv_lib_dld_dld_link=yes
11931 $as_echo "$as_me: failed program was:" >&5
11932 sed 's/^/| /' conftest.$ac_ext >&5
11934 ac_cv_lib_dld_dld_link=no
11937 rm -rf conftest.dSYM
11938 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11939 conftest$ac_exeext conftest.$ac_ext
11940 LIBS=$ac_check_lib_save_LIBS
11942 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11943 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11944 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
11945 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11966 if test "x$lt_cv_dlopen" != xno; then
11972 case $lt_cv_dlopen in
11974 save_CPPFLAGS="$CPPFLAGS"
11975 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11977 save_LDFLAGS="$LDFLAGS"
11978 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11981 LIBS="$lt_cv_dlopen_libs $LIBS"
11983 { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11984 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11985 if test "${lt_cv_dlopen_self+set}" = set; then
11986 $as_echo_n "(cached) " >&6
11988 if test "$cross_compiling" = yes; then :
11989 lt_cv_dlopen_self=cross
11991 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11992 lt_status=$lt_dlunknown
11993 cat > conftest.$ac_ext <<_LT_EOF
11994 #line 11994 "configure"
11995 #include "confdefs.h"
12004 # define LT_DLGLOBAL RTLD_GLOBAL
12007 # define LT_DLGLOBAL DL_GLOBAL
12009 # define LT_DLGLOBAL 0
12013 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12014 find out it does not work in some platform. */
12015 #ifndef LT_DLLAZY_OR_NOW
12017 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12020 # define LT_DLLAZY_OR_NOW DL_LAZY
12023 # define LT_DLLAZY_OR_NOW RTLD_NOW
12026 # define LT_DLLAZY_OR_NOW DL_NOW
12028 # define LT_DLLAZY_OR_NOW 0
12035 void fnord() { int i=42;}
12038 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12039 int status = $lt_dlunknown;
12043 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12044 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12045 /* dlclose (self); */
12053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12054 (eval $ac_link) 2>&5
12056 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12057 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12058 (./conftest; exit; ) >&5 2>/dev/null
12060 case x$lt_status in
12061 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12062 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12063 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12066 # compilation failed
12067 lt_cv_dlopen_self=no
12074 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12075 $as_echo "$lt_cv_dlopen_self" >&6; }
12077 if test "x$lt_cv_dlopen_self" = xyes; then
12078 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12079 { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12080 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12081 if test "${lt_cv_dlopen_self_static+set}" = set; then
12082 $as_echo_n "(cached) " >&6
12084 if test "$cross_compiling" = yes; then :
12085 lt_cv_dlopen_self_static=cross
12087 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12088 lt_status=$lt_dlunknown
12089 cat > conftest.$ac_ext <<_LT_EOF
12090 #line 12090 "configure"
12091 #include "confdefs.h"
12100 # define LT_DLGLOBAL RTLD_GLOBAL
12103 # define LT_DLGLOBAL DL_GLOBAL
12105 # define LT_DLGLOBAL 0
12109 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12110 find out it does not work in some platform. */
12111 #ifndef LT_DLLAZY_OR_NOW
12113 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12116 # define LT_DLLAZY_OR_NOW DL_LAZY
12119 # define LT_DLLAZY_OR_NOW RTLD_NOW
12122 # define LT_DLLAZY_OR_NOW DL_NOW
12124 # define LT_DLLAZY_OR_NOW 0
12131 void fnord() { int i=42;}
12134 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12135 int status = $lt_dlunknown;
12139 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12140 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12141 /* dlclose (self); */
12149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12150 (eval $ac_link) 2>&5
12152 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12153 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12154 (./conftest; exit; ) >&5 2>/dev/null
12156 case x$lt_status in
12157 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12158 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12159 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12162 # compilation failed
12163 lt_cv_dlopen_self_static=no
12170 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12171 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12174 CPPFLAGS="$save_CPPFLAGS"
12175 LDFLAGS="$save_LDFLAGS"
12180 case $lt_cv_dlopen_self in
12181 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12182 *) enable_dlopen_self=unknown ;;
12185 case $lt_cv_dlopen_self_static in
12186 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12187 *) enable_dlopen_self_static=unknown ;;
12209 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
12210 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12211 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12212 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12213 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12214 { $as_echo "$as_me:$LINENO: result: yes" >&5
12215 $as_echo "yes" >&6; }
12217 # FIXME - insert some real tests, host_os isn't really good enough
12220 if test -n "$STRIP" ; then
12221 striplib="$STRIP -x"
12222 old_striplib="$STRIP -S"
12223 { $as_echo "$as_me:$LINENO: result: yes" >&5
12224 $as_echo "yes" >&6; }
12226 { $as_echo "$as_me:$LINENO: result: no" >&5
12227 $as_echo "no" >&6; }
12231 { $as_echo "$as_me:$LINENO: result: no" >&5
12232 $as_echo "no" >&6; }
12248 # Report which library types will actually be built
12249 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12250 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12251 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
12252 $as_echo "$can_build_shared" >&6; }
12254 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12255 $as_echo_n "checking whether to build shared libraries... " >&6; }
12256 test "$can_build_shared" = "no" && enable_shared=no
12258 # On AIX, shared libraries and static libraries use the same namespace, and
12259 # are all built from PIC.
12262 test "$enable_shared" = yes && enable_static=no
12263 if test -n "$RANLIB"; then
12264 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12265 postinstall_cmds='$RANLIB $lib'
12270 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12271 test "$enable_shared" = yes && enable_static=no
12275 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
12276 $as_echo "$enable_shared" >&6; }
12278 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12279 $as_echo_n "checking whether to build static libraries... " >&6; }
12280 # Make sure either enable_shared or enable_static is yes.
12281 test "$enable_shared" = yes || enable_static=yes
12282 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
12283 $as_echo "$enable_static" >&6; }
12290 ac_cpp='$CPP $CPPFLAGS'
12291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12299 ac_cpp='$CXXCPP $CPPFLAGS'
12300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12304 archive_cmds_need_lc_CXX=no
12305 allow_undefined_flag_CXX=
12306 always_export_symbols_CXX=no
12307 archive_expsym_cmds_CXX=
12308 compiler_needs_object_CXX=no
12309 export_dynamic_flag_spec_CXX=
12310 hardcode_direct_CXX=no
12311 hardcode_direct_absolute_CXX=no
12312 hardcode_libdir_flag_spec_CXX=
12313 hardcode_libdir_flag_spec_ld_CXX=
12314 hardcode_libdir_separator_CXX=
12315 hardcode_minus_L_CXX=no
12316 hardcode_shlibpath_var_CXX=unsupported
12317 hardcode_automatic_CXX=no
12318 inherit_rpath_CXX=no
12320 module_expsym_cmds_CXX=
12321 link_all_deplibs_CXX=unknown
12322 old_archive_cmds_CXX=$old_archive_cmds
12323 no_undefined_flag_CXX=
12324 whole_archive_flag_spec_CXX=
12325 enable_shared_with_static_runtimes_CXX=no
12327 # Source file extension for C++ test sources.
12330 # Object file extension for compiled C++ test sources.
12334 # No sense in running all these tests if we already determined that
12335 # the CXX compiler isn't working. Some variables (like enable_shared)
12336 # are currently assumed to apply to all compilers on this platform,
12337 # and will be corrupted by setting them based on a non-working compiler.
12338 if test "$_lt_caught_CXX_error" != yes; then
12339 # Code to be used in simple compile tests
12340 lt_simple_compile_test_code="int some_variable = 0;"
12342 # Code to be used in simple link tests
12343 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12345 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12352 # If no C compiler was specified, use CC.
12355 # If no C compiler flags were specified, use CFLAGS.
12356 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12358 # Allow CC to be a program name with arguments.
12362 # save warnings/boilerplate of simple test code
12363 ac_outfile=conftest.$ac_objext
12364 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12365 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12366 _lt_compiler_boilerplate=`cat conftest.err`
12369 ac_outfile=conftest.$ac_objext
12370 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12371 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12372 _lt_linker_boilerplate=`cat conftest.err`
12376 # Allow CC to be a program name with arguments.
12381 lt_save_with_gnu_ld=$with_gnu_ld
12382 lt_save_path_LD=$lt_cv_path_LD
12383 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12384 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12386 $as_unset lt_cv_prog_gnu_ld
12388 if test -n "${lt_cv_path_LDCXX+set}"; then
12389 lt_cv_path_LD=$lt_cv_path_LDCXX
12391 $as_unset lt_cv_path_LD
12393 test -z "${LDCXX+set}" || LD=$LDCXX
12397 for cc_temp in $compiler""; do
12399 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12400 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12405 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
12408 if test -n "$compiler"; then
12409 # We don't want -fno-exception when compiling C++ code, so set the
12410 # no_builtin_flag separately
12411 if test "$GXX" = yes; then
12412 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12414 lt_prog_compiler_no_builtin_flag_CXX=
12417 if test "$GXX" = yes; then
12418 # Set up default GNU C++ configuration
12422 # Check whether --with-gnu-ld was given.
12423 if test "${with_gnu_ld+set}" = set; then
12424 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12430 if test "$GCC" = yes; then
12431 # Check if gcc -print-prog-name=ld gives a path.
12432 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
12433 $as_echo_n "checking for ld used by $CC... " >&6; }
12436 # gcc leaves a trailing carriage return which upsets mingw
12437 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12439 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12442 # Accept absolute paths.
12444 re_direlt='/[^/][^/]*/\.\./'
12445 # Canonicalize the pathname of ld
12446 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12447 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12448 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12450 test -z "$LD" && LD="$ac_prog"
12453 # If it fails, then pretend we aren't using GCC.
12457 # If it is relative, then search for the first ld in PATH.
12458 with_gnu_ld=unknown
12461 elif test "$with_gnu_ld" = yes; then
12462 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
12463 $as_echo_n "checking for GNU ld... " >&6; }
12465 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
12466 $as_echo_n "checking for non-GNU ld... " >&6; }
12468 if test "${lt_cv_path_LD+set}" = set; then
12469 $as_echo_n "(cached) " >&6
12471 if test -z "$LD"; then
12472 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12473 for ac_dir in $PATH; do
12475 test -z "$ac_dir" && ac_dir=.
12476 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12477 lt_cv_path_LD="$ac_dir/$ac_prog"
12478 # Check to see if the program is GNU ld. I'd rather use --version,
12479 # but apparently some variants of GNU ld only accept -v.
12480 # Break only if it was the GNU/non-GNU ld that we prefer.
12481 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12482 *GNU* | *'with BFD'*)
12483 test "$with_gnu_ld" != no && break
12486 test "$with_gnu_ld" != yes && break
12493 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12497 LD="$lt_cv_path_LD"
12498 if test -n "$LD"; then
12499 { $as_echo "$as_me:$LINENO: result: $LD" >&5
12500 $as_echo "$LD" >&6; }
12502 { $as_echo "$as_me:$LINENO: result: no" >&5
12503 $as_echo "no" >&6; }
12505 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
12506 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
12507 { (exit 1); exit 1; }; }
12508 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
12509 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12510 if test "${lt_cv_prog_gnu_ld+set}" = set; then
12511 $as_echo_n "(cached) " >&6
12513 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12514 case `$LD -v 2>&1 </dev/null` in
12515 *GNU* | *'with BFD'*)
12516 lt_cv_prog_gnu_ld=yes
12519 lt_cv_prog_gnu_ld=no
12523 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
12524 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12525 with_gnu_ld=$lt_cv_prog_gnu_ld
12533 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12534 # archiving commands below assume that GNU ld is being used.
12535 if test "$with_gnu_ld" = yes; then
12536 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12537 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'
12539 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12540 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12542 # If archive_cmds runs LD, not CC, wlarc should be empty
12543 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12544 # investigate it a little bit more. (MM)
12547 # ancient GNU ld didn't support --whole-archive et. al.
12548 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12549 $GREP 'no-whole-archive' > /dev/null; then
12550 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12552 whole_archive_flag_spec_CXX=
12558 # A generic and very simple default shared library creation
12559 # command for GNU C++ for the case where it uses the native
12560 # linker, instead of GNU ld. If possible, this setting should
12561 # overridden to take advantage of the native linker features on
12562 # the platform it is being used on.
12563 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12566 # Commands to make compiler produce verbose output that lists
12567 # what "hidden" libraries, object files and flags are used when
12568 # linking a shared library.
12569 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12577 # PORTME: fill in a description of your system's C++ link characteristics
12578 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12579 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12583 # FIXME: insert proper C++ library support
12587 if test "$host_cpu" = ia64; then
12588 # On IA64, the linker does run time linking by default, so we don't
12589 # have to do anything special.
12590 aix_use_runtimelinking=no
12591 exp_sym_flag='-Bexport'
12594 aix_use_runtimelinking=no
12596 # Test if we are trying to use run time linking or normal
12597 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12598 # need to do runtime linking.
12599 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12600 for ld_flag in $LDFLAGS; do
12603 aix_use_runtimelinking=yes
12611 exp_sym_flag='-bexport'
12612 no_entry_flag='-bnoentry'
12615 # When large executables or shared objects are built, AIX ld can
12616 # have problems creating the table of contents. If linking a library
12617 # or program results in "error TOC overflow" add -mminimal-toc to
12618 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12619 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12621 archive_cmds_CXX=''
12622 hardcode_direct_CXX=yes
12623 hardcode_direct_absolute_CXX=yes
12624 hardcode_libdir_separator_CXX=':'
12625 link_all_deplibs_CXX=yes
12626 file_list_spec_CXX='${wl}-f,'
12628 if test "$GXX" = yes; then
12629 case $host_os in aix4.[012]|aix4.[012].*)
12630 # We only want to do this on AIX 4.2 and lower, the check
12631 # below for broken collect2 doesn't work under 4.3+
12632 collect2name=`${CC} -print-prog-name=collect2`
12633 if test -f "$collect2name" &&
12634 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12636 # We have reworked collect2
12639 # We have old collect2
12640 hardcode_direct_CXX=unsupported
12641 # It fails to find uninstalled libraries when the uninstalled
12642 # path is not listed in the libpath. Setting hardcode_minus_L
12643 # to unsupported forces relinking
12644 hardcode_minus_L_CXX=yes
12645 hardcode_libdir_flag_spec_CXX='-L$libdir'
12646 hardcode_libdir_separator_CXX=
12649 shared_flag='-shared'
12650 if test "$aix_use_runtimelinking" = yes; then
12651 shared_flag="$shared_flag "'${wl}-G'
12655 if test "$host_cpu" = ia64; then
12656 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12657 # chokes on -Wl,-G. The following line is correct:
12660 if test "$aix_use_runtimelinking" = yes; then
12661 shared_flag='${wl}-G'
12663 shared_flag='${wl}-bM:SRE'
12668 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12669 # It seems that -bexpall does not export symbols beginning with
12670 # underscore (_), so it is better to generate a list of symbols to
12672 always_export_symbols_CXX=yes
12673 if test "$aix_use_runtimelinking" = yes; then
12674 # Warning - without using the other runtime loading flags (-brtl),
12675 # -berok will link without error, but may produce a broken library.
12676 allow_undefined_flag_CXX='-berok'
12677 # Determine the default libpath from the value encoded in an empty
12679 cat >conftest.$ac_ext <<_ACEOF
12682 cat confdefs.h >>conftest.$ac_ext
12683 cat >>conftest.$ac_ext <<_ACEOF
12684 /* end confdefs.h. */
12694 rm -f conftest.$ac_objext conftest$ac_exeext
12695 if { (ac_try="$ac_link"
12696 case "(($ac_try" in
12697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12698 *) ac_try_echo=$ac_try;;
12700 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12701 $as_echo "$ac_try_echo") >&5
12702 (eval "$ac_link") 2>conftest.er1
12704 grep -v '^ *+' conftest.er1 >conftest.err
12706 cat conftest.err >&5
12707 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12708 (exit $ac_status); } && {
12709 test -z "$ac_cxx_werror_flag" ||
12710 test ! -s conftest.err
12711 } && test -s conftest$ac_exeext && {
12712 test "$cross_compiling" = yes ||
12713 $as_test_x conftest$ac_exeext
12716 lt_aix_libpath_sed='
12717 /Import File Strings/,/^$/ {
12723 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12724 # Check for a 64-bit object if we didn't find anything.
12725 if test -z "$aix_libpath"; then
12726 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12729 $as_echo "$as_me: failed program was:" >&5
12730 sed 's/^/| /' conftest.$ac_ext >&5
12735 rm -rf conftest.dSYM
12736 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12737 conftest$ac_exeext conftest.$ac_ext
12738 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12740 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12742 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 $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12744 if test "$host_cpu" = ia64; then
12745 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12746 allow_undefined_flag_CXX="-z nodefs"
12747 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"
12749 # Determine the default libpath from the value encoded in an
12750 # empty executable.
12751 cat >conftest.$ac_ext <<_ACEOF
12754 cat confdefs.h >>conftest.$ac_ext
12755 cat >>conftest.$ac_ext <<_ACEOF
12756 /* end confdefs.h. */
12766 rm -f conftest.$ac_objext conftest$ac_exeext
12767 if { (ac_try="$ac_link"
12768 case "(($ac_try" in
12769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12770 *) ac_try_echo=$ac_try;;
12772 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12773 $as_echo "$ac_try_echo") >&5
12774 (eval "$ac_link") 2>conftest.er1
12776 grep -v '^ *+' conftest.er1 >conftest.err
12778 cat conftest.err >&5
12779 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12780 (exit $ac_status); } && {
12781 test -z "$ac_cxx_werror_flag" ||
12782 test ! -s conftest.err
12783 } && test -s conftest$ac_exeext && {
12784 test "$cross_compiling" = yes ||
12785 $as_test_x conftest$ac_exeext
12788 lt_aix_libpath_sed='
12789 /Import File Strings/,/^$/ {
12795 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12796 # Check for a 64-bit object if we didn't find anything.
12797 if test -z "$aix_libpath"; then
12798 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12801 $as_echo "$as_me: failed program was:" >&5
12802 sed 's/^/| /' conftest.$ac_ext >&5
12807 rm -rf conftest.dSYM
12808 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12809 conftest$ac_exeext conftest.$ac_ext
12810 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12812 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12813 # Warning - without using the other run time loading flags,
12814 # -berok will link without error, but may produce a broken library.
12815 no_undefined_flag_CXX=' ${wl}-bernotok'
12816 allow_undefined_flag_CXX=' ${wl}-berok'
12817 # Exported symbols can be pulled into shared objects from archives
12818 whole_archive_flag_spec_CXX='$convenience'
12819 archive_cmds_need_lc_CXX=yes
12820 # This is similar to how AIX traditionally builds its shared
12822 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'
12828 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12829 allow_undefined_flag_CXX=unsupported
12830 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12831 # support --undefined. This deserves some investigation. FIXME
12832 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12839 case $cc_basename in
12841 # FIXME: insert proper C++ library support
12847 cygwin* | mingw* | pw32* | cegcc*)
12848 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12849 # as there is no search path for DLLs.
12850 hardcode_libdir_flag_spec_CXX='-L$libdir'
12851 allow_undefined_flag_CXX=unsupported
12852 always_export_symbols_CXX=no
12853 enable_shared_with_static_runtimes_CXX=yes
12855 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12856 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'
12857 # If the export-symbols file already is a .def file (1st line
12858 # is EXPORTS), use it as is; otherwise, prepend...
12859 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12860 cp $export_symbols $output_objdir/$soname.def;
12862 echo EXPORTS > $output_objdir/$soname.def;
12863 cat $export_symbols >> $output_objdir/$soname.def;
12865 $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'
12870 darwin* | rhapsody*)
12873 archive_cmds_need_lc_CXX=no
12874 hardcode_direct_CXX=no
12875 hardcode_automatic_CXX=yes
12876 hardcode_shlibpath_var_CXX=unsupported
12877 whole_archive_flag_spec_CXX=''
12878 link_all_deplibs_CXX=yes
12879 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12880 case $cc_basename in
12881 ifort*) _lt_dar_can_shared=yes ;;
12882 *) _lt_dar_can_shared=$GCC ;;
12884 if test "$_lt_dar_can_shared" = "yes"; then
12885 output_verbose_link_cmd=echo
12886 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}"
12887 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12888 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}"
12889 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}"
12890 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12891 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}"
12892 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}"
12902 case $cc_basename in
12904 # FIXME: insert proper C++ library support
12908 # Green Hills C++ Compiler
12909 # FIXME: insert proper C++ library support
12913 # FIXME: insert proper C++ library support
12920 # C++ shared libraries reported to be fairly broken before
12926 archive_cmds_need_lc_CXX=no
12929 freebsd* | dragonfly*)
12930 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12939 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12940 hardcode_libdir_separator_CXX=:
12941 export_dynamic_flag_spec_CXX='${wl}-E'
12942 hardcode_direct_CXX=yes
12943 hardcode_minus_L_CXX=yes # Not in the search PATH,
12944 # but as the default
12945 # location of the library.
12947 case $cc_basename in
12949 # FIXME: insert proper C++ library support
12953 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'
12954 # Commands to make compiler produce verbose output that lists
12955 # what "hidden" libraries, object files and flags are used when
12956 # linking a shared library.
12958 # There doesn't appear to be a way to prevent this compiler from
12959 # explicitly linking system object files so we need to strip them
12960 # from the output so that they don't get included in the library
12962 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; $ECHO "X$list" | $Xsed'
12965 if test "$GXX" = yes; then
12966 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'
12968 # FIXME: insert proper C++ library support
12976 if test $with_gnu_ld = no; then
12977 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12978 hardcode_libdir_separator_CXX=:
12984 export_dynamic_flag_spec_CXX='${wl}-E'
12990 hardcode_direct_CXX=no
12991 hardcode_shlibpath_var_CXX=no
12994 hardcode_direct_CXX=yes
12995 hardcode_direct_absolute_CXX=yes
12996 hardcode_minus_L_CXX=yes # Not in the search PATH,
12997 # but as the default
12998 # location of the library.
13002 case $cc_basename in
13004 # FIXME: insert proper C++ library support
13010 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13013 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13016 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13019 # Commands to make compiler produce verbose output that lists
13020 # what "hidden" libraries, object files and flags are used when
13021 # linking a shared library.
13023 # There doesn't appear to be a way to prevent this compiler from
13024 # explicitly linking system object files so we need to strip them
13025 # from the output so that they don't get included in the library
13027 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; $ECHO "X$list" | $Xsed'
13030 if test "$GXX" = yes; then
13031 if test $with_gnu_ld = no; then
13034 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13037 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13040 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'
13045 # FIXME: insert proper C++ library support
13053 hardcode_direct_CXX=no
13054 hardcode_shlibpath_var_CXX=no
13055 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13056 export_dynamic_flag_spec_CXX='${wl}-E'
13057 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13058 # Instead, shared libraries are loaded at an image base (0x10000000 by
13059 # default) and relocated if they conflict, which is a slow very memory
13060 # consuming and fragmenting process. To avoid this, we pick a random,
13061 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13062 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13063 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'
13064 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'
13067 case $cc_basename in
13070 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
13072 # Archives containing C++ object files must be created using
13073 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13074 # necessary to make sure instantiated templates are included
13076 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13079 if test "$GXX" = yes; then
13080 if test "$with_gnu_ld" = no; then
13081 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13083 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
13086 link_all_deplibs_CXX=yes
13089 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13090 hardcode_libdir_separator_CXX=:
13091 inherit_rpath_CXX=yes
13094 linux* | k*bsd*-gnu)
13095 case $cc_basename in
13097 # Kuck and Associates, Inc. (KAI) C++ Compiler
13099 # KCC will only create a shared library if the output file
13100 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13101 # to its proper name (with version) after linking.
13102 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'
13103 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'
13104 # Commands to make compiler produce verbose output that lists
13105 # what "hidden" libraries, object files and flags are used when
13106 # linking a shared library.
13108 # There doesn't appear to be a way to prevent this compiler from
13109 # explicitly linking system object files so we need to strip them
13110 # from the output so that they don't get included in the library
13112 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; $ECHO "X$list" | $Xsed'
13114 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13115 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13117 # Archives containing C++ object files must be created using
13118 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13119 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13124 # version 8.0 and above of icpc choke on multiply defined symbols
13125 # if we add $predep_objects and $postdep_objects, however 7.1 and
13126 # earlier do not add the objects themselves.
13127 case `$CC -V 2>&1` in
13129 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13130 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'
13132 *) # Version 8.0 or newer
13135 ia64*) tmp_idyn=' -i_dynamic';;
13137 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13138 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'
13141 archive_cmds_need_lc_CXX=no
13142 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13143 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13144 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13147 # Portland Group C++ compiler
13149 *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
13150 prelink_cmds_CXX='tpldir=Template.dir~
13152 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13153 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
13154 old_archive_cmds_CXX='tpldir=Template.dir~
13156 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13157 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
13159 archive_cmds_CXX='tpldir=Template.dir~
13161 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13162 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13163 archive_expsym_cmds_CXX='tpldir=Template.dir~
13165 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13166 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13168 *) # Version 6 will use weak symbols
13169 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13170 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'
13174 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13175 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13176 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
13180 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13181 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'
13183 runpath_var=LD_RUN_PATH
13184 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13185 hardcode_libdir_separator_CXX=:
13187 # Commands to make compiler produce verbose output that lists
13188 # what "hidden" libraries, object files and flags are used when
13189 # linking a shared library.
13191 # There doesn't appear to be a way to prevent this compiler from
13192 # explicitly linking system object files so we need to strip them
13193 # from the output so that they don't get included in the library
13195 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
13198 # IBM XL 8.0 on PPC, with GNU ld
13199 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13200 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13201 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13202 if test "x$supports_anon_versioning" = xyes; then
13203 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13204 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13205 echo "local: *; };" >> $output_objdir/$libname.ver~
13206 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13210 case `$CC -V 2>&1 | sed 5q` in
13213 no_undefined_flag_CXX=' -zdefs'
13214 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13215 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'
13216 hardcode_libdir_flag_spec_CXX='-R$libdir'
13217 whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
13218 compiler_needs_object_CXX=yes
13220 # Not sure whether something based on
13221 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13223 output_verbose_link_cmd='echo'
13225 # Archives containing C++ object files must be created using
13226 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13227 # necessary to make sure instantiated templates are included
13229 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13237 # FIXME: insert proper C++ library support
13242 # FIXME: insert proper C++ library support
13247 case $cc_basename in
13249 # FIXME: insert proper C++ library support
13253 # FIXME: insert proper C++ library support
13260 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13261 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13263 hardcode_libdir_flag_spec_CXX='-R$libdir'
13264 hardcode_direct_CXX=yes
13265 hardcode_shlibpath_var_CXX=no
13267 # Workaround some broken pre-1.5 toolchains
13268 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13276 # C++ shared libraries are fairly broken
13281 if test -f /usr/libexec/ld.so; then
13282 hardcode_direct_CXX=yes
13283 hardcode_shlibpath_var_CXX=no
13284 hardcode_direct_absolute_CXX=yes
13285 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13286 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13287 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13288 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13289 export_dynamic_flag_spec_CXX='${wl}-E'
13290 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13292 output_verbose_link_cmd=echo
13298 osf3* | osf4* | osf5*)
13299 case $cc_basename in
13301 # Kuck and Associates, Inc. (KAI) C++ Compiler
13303 # KCC will only create a shared library if the output file
13304 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13305 # to its proper name (with version) after linking.
13306 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'
13308 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13309 hardcode_libdir_separator_CXX=:
13311 # Archives containing C++ object files must be created using
13312 # the KAI C++ compiler.
13314 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13315 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13319 # Rational C++ 2.4.1
13320 # FIXME: insert proper C++ library support
13326 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13327 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
13328 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13331 allow_undefined_flag_CXX=' -expect_unresolved \*'
13332 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
13333 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13334 echo "-hidden">> $lib.exp~
13335 $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 "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
13337 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13341 hardcode_libdir_separator_CXX=:
13343 # Commands to make compiler produce verbose output that lists
13344 # what "hidden" libraries, object files and flags are used when
13345 # linking a shared library.
13347 # There doesn't appear to be a way to prevent this compiler from
13348 # explicitly linking system object files so we need to strip them
13349 # from the output so that they don't get included in the library
13351 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
13354 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13355 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13358 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13361 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" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13365 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13366 hardcode_libdir_separator_CXX=:
13368 # Commands to make compiler produce verbose output that lists
13369 # what "hidden" libraries, object files and flags are used when
13370 # linking a shared library.
13371 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13374 # FIXME: insert proper C++ library support
13382 # FIXME: insert proper C++ library support
13387 case $cc_basename in
13390 # FIXME: insert proper C++ library support
13395 # FIXME: insert proper C++ library support
13399 # FIXME: insert proper C++ library support
13406 case $cc_basename in
13408 # Sun C++ 4.2, 5.x and Centerline C++
13409 archive_cmds_need_lc_CXX=yes
13410 no_undefined_flag_CXX=' -zdefs'
13411 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13412 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13413 $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'
13415 hardcode_libdir_flag_spec_CXX='-R$libdir'
13416 hardcode_shlibpath_var_CXX=no
13418 solaris2.[0-5] | solaris2.[0-5].*) ;;
13420 # The compiler driver will combine and reorder linker options,
13421 # but understands `-z linker_flag'.
13422 # Supported since Solaris 2.6 (maybe 2.5.1?)
13423 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13426 link_all_deplibs_CXX=yes
13428 output_verbose_link_cmd='echo'
13430 # Archives containing C++ object files must be created using
13431 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13432 # necessary to make sure instantiated templates are included
13434 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13437 # Green Hills C++ Compiler
13438 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13440 # The C++ compiler must be used to create the archive.
13441 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13444 # GNU C++ compiler with Solaris linker
13445 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13446 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13447 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13448 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13449 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13450 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13452 # Commands to make compiler produce verbose output that lists
13453 # what "hidden" libraries, object files and flags are used when
13454 # linking a shared library.
13455 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13457 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13459 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13460 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13461 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13463 # Commands to make compiler produce verbose output that lists
13464 # what "hidden" libraries, object files and flags are used when
13465 # linking a shared library.
13466 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13469 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13471 solaris2.[0-5] | solaris2.[0-5].*) ;;
13473 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13481 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13482 no_undefined_flag_CXX='${wl}-z,text'
13483 archive_cmds_need_lc_CXX=no
13484 hardcode_shlibpath_var_CXX=no
13485 runpath_var='LD_RUN_PATH'
13487 case $cc_basename in
13489 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13490 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13493 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13494 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13499 sysv5* | sco3.2v5* | sco5v6*)
13500 # Note: We can NOT use -z defs as we might desire, because we do not
13501 # link with -lc, and that would cause any symbols used from libc to
13502 # always be unresolved, which means just about no library would
13503 # ever link correctly. If we're not using GNU ld we use -z text
13504 # though, which does catch some bad symbols but isn't as heavy-handed
13506 no_undefined_flag_CXX='${wl}-z,text'
13507 allow_undefined_flag_CXX='${wl}-z,nodefs'
13508 archive_cmds_need_lc_CXX=no
13509 hardcode_shlibpath_var_CXX=no
13510 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13511 hardcode_libdir_separator_CXX=':'
13512 link_all_deplibs_CXX=yes
13513 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13514 runpath_var='LD_RUN_PATH'
13516 case $cc_basename in
13518 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13519 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13522 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13523 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13529 case $cc_basename in
13531 # NonStop-UX NCC 3.20
13532 # FIXME: insert proper C++ library support
13536 # FIXME: insert proper C++ library support
13543 # FIXME: insert proper C++ library support
13548 # FIXME: insert proper C++ library support
13553 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13554 $as_echo "$ld_shlibs_CXX" >&6; }
13555 test "$ld_shlibs_CXX" = no && can_build_shared=no
13561 ## There is no encapsulation within the following macros, do not change
13562 ## the running order or otherwise move them around unless you know exactly
13563 ## what you are doing...
13564 # Dependencies to place before and after the object being linked:
13565 predep_objects_CXX=
13566 postdep_objects_CXX=
13569 compiler_lib_search_path_CXX=
13571 cat > conftest.$ac_ext <<_LT_EOF
13575 Foo (void) { a = 0; }
13581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13582 (eval $ac_compile) 2>&5
13584 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13585 (exit $ac_status); }; then
13586 # Parse the compiler output and extract the necessary
13587 # objects, libraries and library flags.
13589 # Sentinel used to keep track of whether or not we are before
13590 # the conftest object file.
13591 pre_test_object_deps_done=no
13593 for p in `eval "$output_verbose_link_cmd"`; do
13597 # Some compilers place space between "-{L,R}" and the path.
13598 # Remove the space.
13599 if test $p = "-L" ||
13600 test $p = "-R"; then
13607 if test "$pre_test_object_deps_done" = no; then
13610 # Internal compiler library paths should come after those
13611 # provided the user. The postdeps already come after the
13612 # user supplied libs so there is no need to process them.
13613 if test -z "$compiler_lib_search_path_CXX"; then
13614 compiler_lib_search_path_CXX="${prev}${p}"
13616 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13619 # The "-l" case would never come before the object being
13620 # linked, so don't bother handling this case.
13623 if test -z "$postdeps_CXX"; then
13624 postdeps_CXX="${prev}${p}"
13626 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13632 # This assumes that the test object file only shows up
13633 # once in the compiler output.
13634 if test "$p" = "conftest.$objext"; then
13635 pre_test_object_deps_done=yes
13639 if test "$pre_test_object_deps_done" = no; then
13640 if test -z "$predep_objects_CXX"; then
13641 predep_objects_CXX="$p"
13643 predep_objects_CXX="$predep_objects_CXX $p"
13646 if test -z "$postdep_objects_CXX"; then
13647 postdep_objects_CXX="$p"
13649 postdep_objects_CXX="$postdep_objects_CXX $p"
13654 *) ;; # Ignore the rest.
13662 echo "libtool.m4: error: problem compiling CXX test program"
13665 $RM -f confest.$objext
13667 # PORTME: override above test on systems where it is broken
13670 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13671 # hack all around it, let's just trust "g++" to DTRT.
13672 predep_objects_CXX=
13673 postdep_objects_CXX=
13678 case `$CC -V 2>&1 | sed 5q` in
13682 # The more standards-conforming stlport4 library is
13683 # incompatible with the Cstd library. Avoid specifying
13684 # it if it's in CXXFLAGS. Ignore libCrun as
13685 # -library=stlport4 depends on it.
13686 case " $CXX $CXXFLAGS " in
13687 *" -library=stlport4 "*)
13688 solaris_use_stlport4=yes
13692 if test "$solaris_use_stlport4" != yes; then
13693 postdeps_CXX='-library=Cstd -library=Crun'
13700 case $cc_basename in
13702 # The more standards-conforming stlport4 library is
13703 # incompatible with the Cstd library. Avoid specifying
13704 # it if it's in CXXFLAGS. Ignore libCrun as
13705 # -library=stlport4 depends on it.
13706 case " $CXX $CXXFLAGS " in
13707 *" -library=stlport4 "*)
13708 solaris_use_stlport4=yes
13712 # Adding this requires a known-good setup of shared libraries for
13713 # Sun compiler versions before 5.6, else PIC objects from an old
13714 # archive will be linked into the output, leading to subtle bugs.
13715 if test "$solaris_use_stlport4" != yes; then
13716 postdeps_CXX='-library=Cstd -library=Crun'
13724 case " $postdeps_CXX " in
13725 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13727 compiler_lib_search_dirs_CXX=
13728 if test -n "${compiler_lib_search_path_CXX}"; then
13729 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13762 lt_prog_compiler_wl_CXX=
13763 lt_prog_compiler_pic_CXX=
13764 lt_prog_compiler_static_CXX=
13766 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13767 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13769 # C++ specific cases for pic, static, wl, etc.
13770 if test "$GXX" = yes; then
13771 lt_prog_compiler_wl_CXX='-Wl,'
13772 lt_prog_compiler_static_CXX='-static'
13776 # All AIX code is PIC.
13777 if test "$host_cpu" = ia64; then
13778 # AIX 5 now supports IA64 processor
13779 lt_prog_compiler_static_CXX='-Bstatic'
13786 # see comment about AmigaOS4 .so support
13787 lt_prog_compiler_pic_CXX='-fPIC'
13790 # FIXME: we need at least 68020 code to build shared libraries, but
13791 # adding the `-m68020' flag to GCC prevents building anything better,
13793 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13798 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13799 # PIC is the default for these OSes.
13801 mingw* | cygwin* | os2* | pw32* | cegcc*)
13802 # This hack is so that the source file can tell whether it is being
13803 # built for inclusion in a dll (and should export symbols for example).
13804 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13805 # (--disable-auto-import) libraries
13806 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13808 darwin* | rhapsody*)
13809 # PIC is the default on this platform
13810 # Common symbols not allowed in MH_DYLIB files
13811 lt_prog_compiler_pic_CXX='-fno-common'
13814 # DJGPP does not support shared libraries at all
13815 lt_prog_compiler_pic_CXX=
13818 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13819 # Instead, we relocate shared libraries at runtime.
13822 if test -d /usr/nec; then
13823 lt_prog_compiler_pic_CXX=-Kconform_pic
13827 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13828 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13829 # sets the default TLS model and affects inlining.
13834 lt_prog_compiler_pic_CXX='-fPIC'
13839 # QNX uses GNU C++, but need to define -shared option too, otherwise
13840 # it will coredump.
13841 lt_prog_compiler_pic_CXX='-fPIC -shared'
13844 lt_prog_compiler_pic_CXX='-fPIC'
13850 # All AIX code is PIC.
13851 if test "$host_cpu" = ia64; then
13852 # AIX 5 now supports IA64 processor
13853 lt_prog_compiler_static_CXX='-Bstatic'
13855 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13859 case $cc_basename in
13861 # Green Hills C++ Compiler
13862 # _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"
13867 case $cc_basename in
13869 lt_prog_compiler_pic_CXX='-KPIC'
13872 # Green Hills C++ Compiler
13873 lt_prog_compiler_pic_CXX='-pic'
13879 freebsd* | dragonfly*)
13880 # FreeBSD uses GNU C++
13882 hpux9* | hpux10* | hpux11*)
13883 case $cc_basename in
13885 lt_prog_compiler_wl_CXX='-Wl,'
13886 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13887 if test "$host_cpu" != ia64; then
13888 lt_prog_compiler_pic_CXX='+Z'
13892 lt_prog_compiler_wl_CXX='-Wl,'
13893 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13899 lt_prog_compiler_pic_CXX='+Z'
13908 # This is c89, which is MS Visual C++ (no shared libs)
13909 # Anyone wants to do a port?
13911 irix5* | irix6* | nonstopux*)
13912 case $cc_basename in
13914 lt_prog_compiler_wl_CXX='-Wl,'
13915 lt_prog_compiler_static_CXX='-non_shared'
13916 # CC pic flag -KPIC is the default.
13922 linux* | k*bsd*-gnu)
13923 case $cc_basename in
13926 lt_prog_compiler_wl_CXX='--backend -Wl,'
13927 lt_prog_compiler_pic_CXX='-fPIC'
13930 # old Intel C++ for x86_64 which still supported -KPIC.
13931 lt_prog_compiler_wl_CXX='-Wl,'
13932 lt_prog_compiler_pic_CXX='-KPIC'
13933 lt_prog_compiler_static_CXX='-static'
13936 # Intel C++, used to be incompatible with GCC.
13937 # ICC 10 doesn't accept -KPIC any more.
13938 lt_prog_compiler_wl_CXX='-Wl,'
13939 lt_prog_compiler_pic_CXX='-fPIC'
13940 lt_prog_compiler_static_CXX='-static'
13943 # Portland Group C++ compiler
13944 lt_prog_compiler_wl_CXX='-Wl,'
13945 lt_prog_compiler_pic_CXX='-fpic'
13946 lt_prog_compiler_static_CXX='-Bstatic'
13950 # Make sure the PIC flag is empty. It appears that all Alpha
13951 # Linux and Compaq Tru64 Unix objects are PIC.
13952 lt_prog_compiler_pic_CXX=
13953 lt_prog_compiler_static_CXX='-non_shared'
13956 # IBM XL 8.0 on PPC
13957 lt_prog_compiler_wl_CXX='-Wl,'
13958 lt_prog_compiler_pic_CXX='-qpic'
13959 lt_prog_compiler_static_CXX='-qstaticlink'
13962 case `$CC -V 2>&1 | sed 5q` in
13965 lt_prog_compiler_pic_CXX='-KPIC'
13966 lt_prog_compiler_static_CXX='-Bstatic'
13967 lt_prog_compiler_wl_CXX='-Qoption ld '
13978 case $cc_basename in
13980 lt_prog_compiler_pic_CXX='-W c,exportall'
13989 # QNX uses GNU C++, but need to define -shared option too, otherwise
13990 # it will coredump.
13991 lt_prog_compiler_pic_CXX='-fPIC -shared'
13993 osf3* | osf4* | osf5*)
13994 case $cc_basename in
13996 lt_prog_compiler_wl_CXX='--backend -Wl,'
13999 # Rational C++ 2.4.1
14000 lt_prog_compiler_pic_CXX='-pic'
14003 # Digital/Compaq C++
14004 lt_prog_compiler_wl_CXX='-Wl,'
14005 # Make sure the PIC flag is empty. It appears that all Alpha
14006 # Linux and Compaq Tru64 Unix objects are PIC.
14007 lt_prog_compiler_pic_CXX=
14008 lt_prog_compiler_static_CXX='-non_shared'
14017 case $cc_basename in
14019 # Sun C++ 4.2, 5.x and Centerline C++
14020 lt_prog_compiler_pic_CXX='-KPIC'
14021 lt_prog_compiler_static_CXX='-Bstatic'
14022 lt_prog_compiler_wl_CXX='-Qoption ld '
14025 # Green Hills C++ Compiler
14026 lt_prog_compiler_pic_CXX='-PIC'
14033 case $cc_basename in
14036 lt_prog_compiler_pic_CXX='-pic'
14037 lt_prog_compiler_static_CXX='-Bstatic'
14041 lt_prog_compiler_pic_CXX='-pic'
14047 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14048 case $cc_basename in
14050 lt_prog_compiler_wl_CXX='-Wl,'
14051 lt_prog_compiler_pic_CXX='-KPIC'
14052 lt_prog_compiler_static_CXX='-Bstatic'
14057 case $cc_basename in
14059 # NonStop-UX NCC 3.20
14060 lt_prog_compiler_pic_CXX='-KPIC'
14069 lt_prog_compiler_can_build_shared_CXX=no
14075 # For platforms which do not support PIC, -DPIC is meaningless:
14077 lt_prog_compiler_pic_CXX=
14080 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14083 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
14084 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14089 # Check to make sure the PIC flag actually works.
14091 if test -n "$lt_prog_compiler_pic_CXX"; then
14092 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14093 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14094 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
14095 $as_echo_n "(cached) " >&6
14097 lt_cv_prog_compiler_pic_works_CXX=no
14098 ac_outfile=conftest.$ac_objext
14099 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14100 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14101 # Insert the option either (1) after the last *FLAGS variable, or
14102 # (2) before a word containing "conftest.", or (3) at the end.
14103 # Note that $ac_compile itself does not contain backslashes and begins
14104 # with a dollar sign (not a hyphen), so the echo should work correctly.
14105 # The option is referenced via a variable to avoid confusing sed.
14106 lt_compile=`echo "$ac_compile" | $SED \
14107 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14108 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14109 -e 's:$: $lt_compiler_flag:'`
14110 (eval echo "\"\$as_me:14110: $lt_compile\"" >&5)
14111 (eval "$lt_compile" 2>conftest.err)
14113 cat conftest.err >&5
14114 echo "$as_me:14114: \$? = $ac_status" >&5
14115 if (exit $ac_status) && test -s "$ac_outfile"; then
14116 # The compiler can only warn and ignore the option if not recognized
14117 # So say no if there are warnings other than the usual output.
14118 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14119 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14120 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14121 lt_cv_prog_compiler_pic_works_CXX=yes
14127 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14128 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14130 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14131 case $lt_prog_compiler_pic_CXX in
14133 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14136 lt_prog_compiler_pic_CXX=
14137 lt_prog_compiler_can_build_shared_CXX=no
14145 # Check to make sure the static flag actually works.
14147 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14148 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14149 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14150 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
14151 $as_echo_n "(cached) " >&6
14153 lt_cv_prog_compiler_static_works_CXX=no
14154 save_LDFLAGS="$LDFLAGS"
14155 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14156 echo "$lt_simple_link_test_code" > conftest.$ac_ext
14157 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14158 # The linker can only warn and ignore the option if not recognized
14159 # So say no if there are warnings
14160 if test -s conftest.err; then
14161 # Append any errors to the config.log.
14162 cat conftest.err 1>&5
14163 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
14164 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14165 if diff conftest.exp conftest.er2 >/dev/null; then
14166 lt_cv_prog_compiler_static_works_CXX=yes
14169 lt_cv_prog_compiler_static_works_CXX=yes
14173 LDFLAGS="$save_LDFLAGS"
14176 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14177 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14179 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14182 lt_prog_compiler_static_CXX=
14188 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14189 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14190 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
14191 $as_echo_n "(cached) " >&6
14193 lt_cv_prog_compiler_c_o_CXX=no
14194 $RM -r conftest 2>/dev/null
14198 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14200 lt_compiler_flag="-o out/conftest2.$ac_objext"
14201 # Insert the option either (1) after the last *FLAGS variable, or
14202 # (2) before a word containing "conftest.", or (3) at the end.
14203 # Note that $ac_compile itself does not contain backslashes and begins
14204 # with a dollar sign (not a hyphen), so the echo should work correctly.
14205 lt_compile=`echo "$ac_compile" | $SED \
14206 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14207 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14208 -e 's:$: $lt_compiler_flag:'`
14209 (eval echo "\"\$as_me:14209: $lt_compile\"" >&5)
14210 (eval "$lt_compile" 2>out/conftest.err)
14212 cat out/conftest.err >&5
14213 echo "$as_me:14213: \$? = $ac_status" >&5
14214 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14216 # The compiler can only warn and ignore the option if not recognized
14217 # So say no if there are warnings
14218 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14219 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14220 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14221 lt_cv_prog_compiler_c_o_CXX=yes
14226 # SGI C++ compiler will create directory out/ii_files/ for
14227 # template instantiation
14228 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14229 $RM out/* && rmdir out
14235 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14236 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14240 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14241 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14242 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
14243 $as_echo_n "(cached) " >&6
14245 lt_cv_prog_compiler_c_o_CXX=no
14246 $RM -r conftest 2>/dev/null
14250 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14252 lt_compiler_flag="-o out/conftest2.$ac_objext"
14253 # Insert the option either (1) after the last *FLAGS variable, or
14254 # (2) before a word containing "conftest.", or (3) at the end.
14255 # Note that $ac_compile itself does not contain backslashes and begins
14256 # with a dollar sign (not a hyphen), so the echo should work correctly.
14257 lt_compile=`echo "$ac_compile" | $SED \
14258 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14259 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14260 -e 's:$: $lt_compiler_flag:'`
14261 (eval echo "\"\$as_me:14261: $lt_compile\"" >&5)
14262 (eval "$lt_compile" 2>out/conftest.err)
14264 cat out/conftest.err >&5
14265 echo "$as_me:14265: \$? = $ac_status" >&5
14266 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14268 # The compiler can only warn and ignore the option if not recognized
14269 # So say no if there are warnings
14270 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14271 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14272 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14273 lt_cv_prog_compiler_c_o_CXX=yes
14278 # SGI C++ compiler will create directory out/ii_files/ for
14279 # template instantiation
14280 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14281 $RM out/* && rmdir out
14287 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14288 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14293 hard_links="nottested"
14294 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14295 # do not overwrite the value of need_locks provided by the user
14296 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14297 $as_echo_n "checking if we can lock with hard links... " >&6; }
14300 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14302 ln conftest.a conftest.b 2>&5 || hard_links=no
14303 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14304 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
14305 $as_echo "$hard_links" >&6; }
14306 if test "$hard_links" = no; then
14307 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14308 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14317 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14318 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14320 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14323 # If we're using GNU nm, then we don't want the "-C" option.
14324 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14325 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14326 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14328 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'
14332 export_symbols_cmds_CXX="$ltdll_cmds"
14334 cygwin* | mingw* | cegcc*)
14335 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'
14338 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14341 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14343 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
14344 $as_echo "$ld_shlibs_CXX" >&6; }
14345 test "$ld_shlibs_CXX" = no && can_build_shared=no
14347 with_gnu_ld_CXX=$with_gnu_ld
14355 # Do we need to explicitly link libc?
14357 case "x$archive_cmds_need_lc_CXX" in
14359 # Assume -lc should be added
14360 archive_cmds_need_lc_CXX=yes
14362 if test "$enable_shared" = yes && test "$GCC" = yes; then
14363 case $archive_cmds_CXX in
14365 # FIXME: we may have to deal with multi-command sequences.
14368 # Test whether the compiler implicitly links with -lc since on some
14369 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14370 # to ld, don't add -lc before -lgcc.
14371 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14372 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14374 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14377 (eval $ac_compile) 2>&5
14379 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14380 (exit $ac_status); } 2>conftest.err; then
14383 libobjs=conftest.$ac_objext
14385 wl=$lt_prog_compiler_wl_CXX
14386 pic_flag=$lt_prog_compiler_pic_CXX
14392 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14393 allow_undefined_flag_CXX=
14394 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
14395 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14397 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14398 (exit $ac_status); }
14400 archive_cmds_need_lc_CXX=no
14402 archive_cmds_need_lc_CXX=yes
14404 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14406 cat conftest.err 1>&5
14409 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
14410 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
14480 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14481 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14483 library_names_spec=
14484 libname_spec='lib$name'
14488 postuninstall_cmds=
14492 shlibpath_overrides_runpath=unknown
14494 dynamic_linker="$host_os ld.so"
14495 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14496 need_lib_prefix=unknown
14497 hardcode_into_libs=no
14499 # when you set need_version to no, make sure it does not cause -set_version
14500 # flags to be left without arguments
14501 need_version=unknown
14506 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14507 shlibpath_var=LIBPATH
14509 # AIX 3 has no versioning support, so we append a major version to the name.
14510 soname_spec='${libname}${release}${shared_ext}$major'
14517 hardcode_into_libs=yes
14518 if test "$host_cpu" = ia64; then
14519 # AIX 5 supports IA64
14520 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14521 shlibpath_var=LD_LIBRARY_PATH
14523 # With GCC up to 2.95.x, collect2 would create an import file
14524 # for dependence libraries. The import file would start with
14525 # the line `#! .'. This would cause the generated library to
14526 # depend on `.', always an invalid library. This was fixed in
14527 # development snapshots of GCC prior to 3.0.
14529 aix4 | aix4.[01] | aix4.[01].*)
14530 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14532 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14535 can_build_shared=no
14539 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14540 # soname into executable. Probably we can add versioning support to
14541 # collect2, so additional links can be useful in future.
14542 if test "$aix_use_runtimelinking" = yes; then
14543 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14544 # instead of lib<name>.a to let people know that these are not
14545 # typical AIX shared libraries.
14546 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14548 # We preserve .a as extension for shared libraries through AIX4.2
14549 # and later when we are not doing run time linking.
14550 library_names_spec='${libname}${release}.a $libname.a'
14551 soname_spec='${libname}${release}${shared_ext}$major'
14553 shlibpath_var=LIBPATH
14560 # Since July 2007 AmigaOS4 officially supports .so libraries.
14561 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14562 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14565 library_names_spec='$libname.ixlibrary $libname.a'
14566 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14567 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
14573 library_names_spec='${libname}${shared_ext}'
14574 dynamic_linker="$host_os ld.so"
14575 shlibpath_var=LIBRARY_PATH
14581 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14582 soname_spec='${libname}${release}${shared_ext}$major'
14583 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14584 shlibpath_var=LD_LIBRARY_PATH
14585 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14586 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14587 # the default ld.so.conf also contains /usr/contrib/lib and
14588 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14589 # libtool to hard-code these into programs
14592 cygwin* | mingw* | pw32* | cegcc*)
14593 version_type=windows
14598 case $GCC,$host_os in
14599 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14600 library_names_spec='$libname.dll.a'
14601 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14602 postinstall_cmds='base_file=`basename \${file}`~
14603 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14604 dldir=$destdir/`dirname \$dlpath`~
14605 test -d \$dldir || mkdir -p \$dldir~
14606 $install_prog $dir/$dlname \$dldir/$dlname~
14607 chmod a+x \$dldir/$dlname~
14608 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14609 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14611 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14612 dlpath=$dir/\$dldll~
14614 shlibpath_overrides_runpath=yes
14618 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14619 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14620 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
14623 # MinGW DLLs use traditional 'lib' prefix
14624 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14625 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14626 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
14627 # It is most probably a Windows format PATH printed by
14628 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14629 # path with ; separators, and with drive letters. We can handle the
14630 # drive letters (cygwin fileutils understands them), so leave them,
14631 # especially as we might pass files found there to a mingw objdump,
14632 # which wouldn't understand a cygwinified path. Ahh.
14633 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14635 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14639 # pw32 DLLs use 'pw' prefix rather than 'lib'
14640 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14646 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14649 dynamic_linker='Win32 ld.exe'
14650 # FIXME: first we should search . and the directory the executable is in
14654 darwin* | rhapsody*)
14655 dynamic_linker="$host_os dyld"
14656 version_type=darwin
14659 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14660 soname_spec='${libname}${release}${major}$shared_ext'
14661 shlibpath_overrides_runpath=yes
14662 shlibpath_var=DYLD_LIBRARY_PATH
14663 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14665 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14672 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14673 soname_spec='${libname}${release}${shared_ext}$major'
14674 shlibpath_var=LD_LIBRARY_PATH
14681 freebsd* | dragonfly*)
14682 # DragonFly does not have aout. When/if they implement a new
14683 # versioning mechanism, adjust this.
14684 if test -x /usr/bin/objformat; then
14685 objformat=`/usr/bin/objformat`
14688 freebsd[123]*) objformat=aout ;;
14689 *) objformat=elf ;;
14692 version_type=freebsd-$objformat
14693 case $version_type in
14695 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14700 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14704 shlibpath_var=LD_LIBRARY_PATH
14707 shlibpath_overrides_runpath=yes
14709 freebsd3.[01]* | freebsdelf3.[01]*)
14710 shlibpath_overrides_runpath=yes
14711 hardcode_into_libs=yes
14713 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14714 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14715 shlibpath_overrides_runpath=no
14716 hardcode_into_libs=yes
14718 *) # from 4.6 on, and DragonFly
14719 shlibpath_overrides_runpath=yes
14720 hardcode_into_libs=yes
14729 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14730 soname_spec='${libname}${release}${shared_ext}$major'
14731 shlibpath_var=LD_LIBRARY_PATH
14732 hardcode_into_libs=yes
14735 hpux9* | hpux10* | hpux11*)
14736 # Give a soname corresponding to the major version so that dld.sl refuses to
14737 # link against other versions.
14744 hardcode_into_libs=yes
14745 dynamic_linker="$host_os dld.so"
14746 shlibpath_var=LD_LIBRARY_PATH
14747 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14748 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14749 soname_spec='${libname}${release}${shared_ext}$major'
14750 if test "X$HPUX_IA64_MODE" = X32; then
14751 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14753 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14755 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14759 hardcode_into_libs=yes
14760 dynamic_linker="$host_os dld.sl"
14761 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14762 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14763 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14764 soname_spec='${libname}${release}${shared_ext}$major'
14765 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14766 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14770 dynamic_linker="$host_os dld.sl"
14771 shlibpath_var=SHLIB_PATH
14772 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14773 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14774 soname_spec='${libname}${release}${shared_ext}$major'
14777 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14778 postinstall_cmds='chmod 555 $lib'
14785 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14786 soname_spec='${libname}${release}${shared_ext}$major'
14787 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14788 shlibpath_var=LD_LIBRARY_PATH
14789 shlibpath_overrides_runpath=no
14790 hardcode_into_libs=yes
14793 irix5* | irix6* | nonstopux*)
14795 nonstopux*) version_type=nonstopux ;;
14797 if test "$lt_cv_prog_gnu_ld" = yes; then
14805 soname_spec='${libname}${release}${shared_ext}$major'
14806 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14808 irix5* | nonstopux*)
14809 libsuff= shlibsuff=
14812 case $LD in # libtool.m4 will add one of these switches to LD
14813 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14814 libsuff= shlibsuff= libmagic=32-bit;;
14815 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14816 libsuff=32 shlibsuff=N32 libmagic=N32;;
14817 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14818 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14819 *) libsuff= shlibsuff= libmagic=never-match;;
14823 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14824 shlibpath_overrides_runpath=no
14825 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14826 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14827 hardcode_into_libs=yes
14830 # No shared lib support for Linux oldld, aout, or coff.
14831 linux*oldld* | linux*aout* | linux*coff*)
14835 # This must be Linux ELF.
14836 linux* | k*bsd*-gnu)
14840 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14841 soname_spec='${libname}${release}${shared_ext}$major'
14842 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14843 shlibpath_var=LD_LIBRARY_PATH
14844 shlibpath_overrides_runpath=no
14845 # Some binutils ld are patched to set DT_RUNPATH
14846 save_LDFLAGS=$LDFLAGS
14847 save_libdir=$libdir
14848 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14849 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14850 cat >conftest.$ac_ext <<_ACEOF
14853 cat confdefs.h >>conftest.$ac_ext
14854 cat >>conftest.$ac_ext <<_ACEOF
14855 /* end confdefs.h. */
14865 rm -f conftest.$ac_objext conftest$ac_exeext
14866 if { (ac_try="$ac_link"
14867 case "(($ac_try" in
14868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14869 *) ac_try_echo=$ac_try;;
14871 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14872 $as_echo "$ac_try_echo") >&5
14873 (eval "$ac_link") 2>conftest.er1
14875 grep -v '^ *+' conftest.er1 >conftest.err
14877 cat conftest.err >&5
14878 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14879 (exit $ac_status); } && {
14880 test -z "$ac_cxx_werror_flag" ||
14881 test ! -s conftest.err
14882 } && test -s conftest$ac_exeext && {
14883 test "$cross_compiling" = yes ||
14884 $as_test_x conftest$ac_exeext
14886 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
14887 shlibpath_overrides_runpath=yes
14891 $as_echo "$as_me: failed program was:" >&5
14892 sed 's/^/| /' conftest.$ac_ext >&5
14897 rm -rf conftest.dSYM
14898 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14899 conftest$ac_exeext conftest.$ac_ext
14900 LDFLAGS=$save_LDFLAGS
14901 libdir=$save_libdir
14903 # This implies no fast_install, which is unacceptable.
14904 # Some rework will be needed to allow for fast_install
14905 # before this can be enabled.
14906 hardcode_into_libs=yes
14908 # Add ABI-specific directories to the system library path.
14909 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
14911 # Append ld.so.conf contents to the search path
14912 if test -f /etc/ld.so.conf; then
14913 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
14914 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
14917 # We used to test for /lib/ld.so.1 and disable shared libraries on
14918 # powerpc, because MkLinux only supported shared libraries with the
14919 # GNU dynamic linker. Since this was broken with cross compilers,
14920 # most powerpc-linux boxes support dynamic linking these days and
14921 # people can always --disable-shared, the test was removed, and we
14922 # assume the GNU/Linux dynamic linker is in use.
14923 dynamic_linker='GNU/Linux ld.so'
14930 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14931 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14932 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14933 dynamic_linker='NetBSD (a.out) ld.so'
14935 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14936 soname_spec='${libname}${release}${shared_ext}$major'
14937 dynamic_linker='NetBSD ld.elf_so'
14939 shlibpath_var=LD_LIBRARY_PATH
14940 shlibpath_overrides_runpath=yes
14941 hardcode_into_libs=yes
14946 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14947 shlibpath_var=LD_LIBRARY_PATH
14948 shlibpath_overrides_runpath=yes
14955 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14956 soname_spec='${libname}${release}${shared_ext}$major'
14957 shlibpath_var=LD_LIBRARY_PATH
14958 shlibpath_overrides_runpath=no
14959 hardcode_into_libs=yes
14960 dynamic_linker='ldqnx.so'
14965 sys_lib_dlsearch_path_spec="/usr/lib"
14967 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14969 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14970 *) need_version=no ;;
14972 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14973 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14974 shlibpath_var=LD_LIBRARY_PATH
14975 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14977 openbsd2.[89] | openbsd2.[89].*)
14978 shlibpath_overrides_runpath=no
14981 shlibpath_overrides_runpath=yes
14985 shlibpath_overrides_runpath=yes
14990 libname_spec='$name'
14993 library_names_spec='$libname${shared_ext} $libname.a'
14994 dynamic_linker='OS/2 ld.exe'
14995 shlibpath_var=LIBPATH
14998 osf3* | osf4* | osf5*)
15002 soname_spec='${libname}${release}${shared_ext}$major'
15003 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15004 shlibpath_var=LD_LIBRARY_PATH
15005 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15006 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15017 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15018 soname_spec='${libname}${release}${shared_ext}$major'
15019 shlibpath_var=LD_LIBRARY_PATH
15020 shlibpath_overrides_runpath=yes
15021 hardcode_into_libs=yes
15022 # ldd complains unless libraries are executable
15023 postinstall_cmds='chmod +x $lib'
15028 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15029 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15030 shlibpath_var=LD_LIBRARY_PATH
15031 shlibpath_overrides_runpath=yes
15032 if test "$with_gnu_ld" = yes; then
15040 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15041 soname_spec='${libname}${release}${shared_ext}$major'
15042 shlibpath_var=LD_LIBRARY_PATH
15043 case $host_vendor in
15045 shlibpath_overrides_runpath=no
15047 runpath_var=LD_RUN_PATH
15055 shlibpath_overrides_runpath=no
15056 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15062 if test -d /usr/nec ;then
15064 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15065 soname_spec='$libname${shared_ext}.$major'
15066 shlibpath_var=LD_LIBRARY_PATH
15070 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15071 version_type=freebsd-elf
15074 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15075 soname_spec='${libname}${release}${shared_ext}$major'
15076 shlibpath_var=LD_LIBRARY_PATH
15077 shlibpath_overrides_runpath=yes
15078 hardcode_into_libs=yes
15079 if test "$with_gnu_ld" = yes; then
15080 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15082 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15085 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15089 sys_lib_dlsearch_path_spec='/usr/lib'
15093 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15097 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15098 shlibpath_var=LD_LIBRARY_PATH
15099 shlibpath_overrides_runpath=no
15100 hardcode_into_libs=yes
15105 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15106 soname_spec='${libname}${release}${shared_ext}$major'
15107 shlibpath_var=LD_LIBRARY_PATH
15114 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15115 $as_echo "$dynamic_linker" >&6; }
15116 test "$dynamic_linker" = no && can_build_shared=no
15118 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15119 if test "$GCC" = yes; then
15120 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15123 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15124 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15126 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15127 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15165 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15166 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15167 hardcode_action_CXX=
15168 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15169 test -n "$runpath_var_CXX" ||
15170 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15172 # We can hardcode non-existent directories.
15173 if test "$hardcode_direct_CXX" != no &&
15174 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15175 # have to relink, otherwise we might link with an installed library
15176 # when we should be linking with a yet-to-be-installed one
15177 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15178 test "$hardcode_minus_L_CXX" != no; then
15179 # Linking always hardcodes the temporary library directory.
15180 hardcode_action_CXX=relink
15182 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15183 hardcode_action_CXX=immediate
15186 # We cannot hardcode anything, or else we can only hardcode existing
15188 hardcode_action_CXX=unsupported
15190 { $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
15191 $as_echo "$hardcode_action_CXX" >&6; }
15193 if test "$hardcode_action_CXX" = relink ||
15194 test "$inherit_rpath_CXX" = yes; then
15195 # Fast installation is not supported
15196 enable_fast_install=no
15197 elif test "$shlibpath_overrides_runpath" = yes ||
15198 test "$enable_shared" = no; then
15199 # Fast installation is not necessary
15200 enable_fast_install=needless
15209 fi # test -n "$compiler"
15215 with_gnu_ld=$lt_save_with_gnu_ld
15216 lt_cv_path_LDCXX=$lt_cv_path_LD
15217 lt_cv_path_LD=$lt_save_path_LD
15218 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15219 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15220 fi # test "$_lt_caught_CXX_error" != yes
15223 ac_cpp='$CPP $CPPFLAGS'
15224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15240 ac_config_commands="$ac_config_commands libtool"
15245 # Only expand once:
15249 ac_cpp='$CPP $CPPFLAGS'
15250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15253 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
15254 $as_echo_n "checking how to run the C preprocessor... " >&6; }
15255 # On Suns, sometimes $CPP names a directory.
15256 if test -n "$CPP" && test -d "$CPP"; then
15259 if test -z "$CPP"; then
15260 if test "${ac_cv_prog_CPP+set}" = set; then
15261 $as_echo_n "(cached) " >&6
15263 # Double quotes because CPP needs to be expanded
15264 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
15266 ac_preproc_ok=false
15267 for ac_c_preproc_warn_flag in '' yes
15269 # Use a header file that comes with gcc, so configuring glibc
15270 # with a fresh cross-compiler works.
15271 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15272 # <limits.h> exists even on freestanding compilers.
15273 # On the NeXT, cc -E runs the code through the compiler's parser,
15274 # not just through cpp. "Syntax error" is here to catch this case.
15275 cat >conftest.$ac_ext <<_ACEOF
15278 cat confdefs.h >>conftest.$ac_ext
15279 cat >>conftest.$ac_ext <<_ACEOF
15280 /* end confdefs.h. */
15282 # include <limits.h>
15284 # include <assert.h>
15288 if { (ac_try="$ac_cpp conftest.$ac_ext"
15289 case "(($ac_try" in
15290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15291 *) ac_try_echo=$ac_try;;
15293 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15294 $as_echo "$ac_try_echo") >&5
15295 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15297 grep -v '^ *+' conftest.er1 >conftest.err
15299 cat conftest.err >&5
15300 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15301 (exit $ac_status); } >/dev/null && {
15302 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15303 test ! -s conftest.err
15307 $as_echo "$as_me: failed program was:" >&5
15308 sed 's/^/| /' conftest.$ac_ext >&5
15310 # Broken: fails on valid input.
15314 rm -f conftest.err conftest.$ac_ext
15316 # OK, works on sane cases. Now check whether nonexistent headers
15317 # can be detected and how.
15318 cat >conftest.$ac_ext <<_ACEOF
15321 cat confdefs.h >>conftest.$ac_ext
15322 cat >>conftest.$ac_ext <<_ACEOF
15323 /* end confdefs.h. */
15324 #include <ac_nonexistent.h>
15326 if { (ac_try="$ac_cpp conftest.$ac_ext"
15327 case "(($ac_try" in
15328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15329 *) ac_try_echo=$ac_try;;
15331 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15332 $as_echo "$ac_try_echo") >&5
15333 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15335 grep -v '^ *+' conftest.er1 >conftest.err
15337 cat conftest.err >&5
15338 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15339 (exit $ac_status); } >/dev/null && {
15340 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15341 test ! -s conftest.err
15343 # Broken: success on invalid input.
15346 $as_echo "$as_me: failed program was:" >&5
15347 sed 's/^/| /' conftest.$ac_ext >&5
15349 # Passes both tests.
15354 rm -f conftest.err conftest.$ac_ext
15357 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15358 rm -f conftest.err conftest.$ac_ext
15359 if $ac_preproc_ok; then
15364 ac_cv_prog_CPP=$CPP
15367 CPP=$ac_cv_prog_CPP
15369 ac_cv_prog_CPP=$CPP
15371 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
15372 $as_echo "$CPP" >&6; }
15373 ac_preproc_ok=false
15374 for ac_c_preproc_warn_flag in '' yes
15376 # Use a header file that comes with gcc, so configuring glibc
15377 # with a fresh cross-compiler works.
15378 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15379 # <limits.h> exists even on freestanding compilers.
15380 # On the NeXT, cc -E runs the code through the compiler's parser,
15381 # not just through cpp. "Syntax error" is here to catch this case.
15382 cat >conftest.$ac_ext <<_ACEOF
15385 cat confdefs.h >>conftest.$ac_ext
15386 cat >>conftest.$ac_ext <<_ACEOF
15387 /* end confdefs.h. */
15389 # include <limits.h>
15391 # include <assert.h>
15395 if { (ac_try="$ac_cpp conftest.$ac_ext"
15396 case "(($ac_try" in
15397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15398 *) ac_try_echo=$ac_try;;
15400 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15401 $as_echo "$ac_try_echo") >&5
15402 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15404 grep -v '^ *+' conftest.er1 >conftest.err
15406 cat conftest.err >&5
15407 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15408 (exit $ac_status); } >/dev/null && {
15409 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15410 test ! -s conftest.err
15414 $as_echo "$as_me: failed program was:" >&5
15415 sed 's/^/| /' conftest.$ac_ext >&5
15417 # Broken: fails on valid input.
15421 rm -f conftest.err conftest.$ac_ext
15423 # OK, works on sane cases. Now check whether nonexistent headers
15424 # can be detected and how.
15425 cat >conftest.$ac_ext <<_ACEOF
15428 cat confdefs.h >>conftest.$ac_ext
15429 cat >>conftest.$ac_ext <<_ACEOF
15430 /* end confdefs.h. */
15431 #include <ac_nonexistent.h>
15433 if { (ac_try="$ac_cpp conftest.$ac_ext"
15434 case "(($ac_try" in
15435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15436 *) ac_try_echo=$ac_try;;
15438 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15439 $as_echo "$ac_try_echo") >&5
15440 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15442 grep -v '^ *+' conftest.er1 >conftest.err
15444 cat conftest.err >&5
15445 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15446 (exit $ac_status); } >/dev/null && {
15447 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15448 test ! -s conftest.err
15450 # Broken: success on invalid input.
15453 $as_echo "$as_me: failed program was:" >&5
15454 sed 's/^/| /' conftest.$ac_ext >&5
15456 # Passes both tests.
15461 rm -f conftest.err conftest.$ac_ext
15464 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15465 rm -f conftest.err conftest.$ac_ext
15466 if $ac_preproc_ok; then
15469 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
15470 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15471 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
15472 See \`config.log' for more details." >&5
15473 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
15474 See \`config.log' for more details." >&2;}
15475 { (exit 1); exit 1; }; }; }
15479 ac_cpp='$CPP $CPPFLAGS'
15480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15484 # Find a good install program. We prefer a C program (faster),
15485 # so one script is as good as another. But avoid the broken or
15486 # incompatible versions:
15487 # SysV /etc/install, /usr/sbin/install
15488 # SunOS /usr/etc/install
15489 # IRIX /sbin/install
15491 # AmigaOS /C/install, which installs bootblocks on floppy discs
15492 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
15493 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
15494 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
15495 # OS/2's system install, which has a completely different semantic
15496 # ./install, which can be erroneously created by make from ./install.sh.
15497 # Reject install programs that cannot install multiple files.
15498 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
15499 $as_echo_n "checking for a BSD-compatible install... " >&6; }
15500 if test -z "$INSTALL"; then
15501 if test "${ac_cv_path_install+set}" = set; then
15502 $as_echo_n "(cached) " >&6
15504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15505 for as_dir in $PATH
15508 test -z "$as_dir" && as_dir=.
15509 # Account for people who put trailing slashes in PATH elements.
15511 ./ | .// | /cC/* | \
15512 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
15513 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
15516 # OSF1 and SCO ODT 3.0 have their own names for install.
15517 # Don't use installbsd from OSF since it installs stuff as root
15519 for ac_prog in ginstall scoinst install; do
15520 for ac_exec_ext in '' $ac_executable_extensions; do
15521 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
15522 if test $ac_prog = install &&
15523 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
15524 # AIX install. It has an incompatible calling convention.
15526 elif test $ac_prog = install &&
15527 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
15528 # program-specific install script used by HP pwplus--don't use.
15531 rm -rf conftest.one conftest.two conftest.dir
15532 echo one > conftest.one
15533 echo two > conftest.two
15535 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
15536 test -s conftest.one && test -s conftest.two &&
15537 test -s conftest.dir/conftest.one &&
15538 test -s conftest.dir/conftest.two
15540 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
15553 rm -rf conftest.one conftest.two conftest.dir
15556 if test "${ac_cv_path_install+set}" = set; then
15557 INSTALL=$ac_cv_path_install
15559 # As a last resort, use the slow shell script. Don't cache a
15560 # value for INSTALL within a source directory, because that will
15561 # break other packages using the cache if that directory is
15562 # removed, or if the value is a relative name.
15563 INSTALL=$ac_install_sh
15566 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
15567 $as_echo "$INSTALL" >&6; }
15569 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
15570 # It thinks the first close brace ends the variable substitution.
15571 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
15573 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
15575 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
15577 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
15578 $as_echo_n "checking whether ln -s works... " >&6; }
15580 if test "$LN_S" = "ln -s"; then
15581 { $as_echo "$as_me:$LINENO: result: yes" >&5
15582 $as_echo "yes" >&6; }
15584 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
15585 $as_echo "no, using $LN_S" >&6; }
15588 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
15589 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
15591 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
15592 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
15593 $as_echo_n "(cached) " >&6
15595 cat >conftest.make <<\_ACEOF
15598 @echo '@@@%%%=$(MAKE)=@@@%%%'
15600 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
15601 case `${MAKE-make} -f conftest.make 2>/dev/null` in
15602 *@@@%%%=?*=@@@%%%*)
15603 eval ac_cv_prog_make_${ac_make}_set=yes;;
15605 eval ac_cv_prog_make_${ac_make}_set=no;;
15607 rm -f conftest.make
15609 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
15610 { $as_echo "$as_me:$LINENO: result: yes" >&5
15611 $as_echo "yes" >&6; }
15614 { $as_echo "$as_me:$LINENO: result: no" >&5
15615 $as_echo "no" >&6; }
15616 SET_MAKE="MAKE=${MAKE-make}"
15620 # Checks for libraries.
15622 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15623 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15624 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15625 $as_echo_n "(cached) " >&6
15627 ac_check_lib_save_LIBS=$LIBS
15629 cat >conftest.$ac_ext <<_ACEOF
15632 cat confdefs.h >>conftest.$ac_ext
15633 cat >>conftest.$ac_ext <<_ACEOF
15634 /* end confdefs.h. */
15636 /* Override any GCC internal prototype to avoid an error.
15637 Use char because int might match the return type of a GCC
15638 builtin and then its argument prototype would still apply. */
15651 rm -f conftest.$ac_objext conftest$ac_exeext
15652 if { (ac_try="$ac_link"
15653 case "(($ac_try" in
15654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15655 *) ac_try_echo=$ac_try;;
15657 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15658 $as_echo "$ac_try_echo") >&5
15659 (eval "$ac_link") 2>conftest.er1
15661 grep -v '^ *+' conftest.er1 >conftest.err
15663 cat conftest.err >&5
15664 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15665 (exit $ac_status); } && {
15666 test -z "$ac_c_werror_flag" ||
15667 test ! -s conftest.err
15668 } && test -s conftest$ac_exeext && {
15669 test "$cross_compiling" = yes ||
15670 $as_test_x conftest$ac_exeext
15672 ac_cv_lib_dl_dlopen=yes
15674 $as_echo "$as_me: failed program was:" >&5
15675 sed 's/^/| /' conftest.$ac_ext >&5
15677 ac_cv_lib_dl_dlopen=no
15680 rm -rf conftest.dSYM
15681 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15682 conftest$ac_exeext conftest.$ac_ext
15683 LIBS=$ac_check_lib_save_LIBS
15685 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
15686 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15687 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
15688 cat >>confdefs.h <<_ACEOF
15689 #define HAVE_LIBDL 1
15696 { $as_echo "$as_me:$LINENO: checking for main in -llog4cxx" >&5
15697 $as_echo_n "checking for main in -llog4cxx... " >&6; }
15698 if test "${ac_cv_lib_log4cxx_main+set}" = set; then
15699 $as_echo_n "(cached) " >&6
15701 ac_check_lib_save_LIBS=$LIBS
15702 LIBS="-llog4cxx $LIBS"
15703 cat >conftest.$ac_ext <<_ACEOF
15706 cat confdefs.h >>conftest.$ac_ext
15707 cat >>conftest.$ac_ext <<_ACEOF
15708 /* end confdefs.h. */
15719 rm -f conftest.$ac_objext conftest$ac_exeext
15720 if { (ac_try="$ac_link"
15721 case "(($ac_try" in
15722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15723 *) ac_try_echo=$ac_try;;
15725 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15726 $as_echo "$ac_try_echo") >&5
15727 (eval "$ac_link") 2>conftest.er1
15729 grep -v '^ *+' conftest.er1 >conftest.err
15731 cat conftest.err >&5
15732 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15733 (exit $ac_status); } && {
15734 test -z "$ac_c_werror_flag" ||
15735 test ! -s conftest.err
15736 } && test -s conftest$ac_exeext && {
15737 test "$cross_compiling" = yes ||
15738 $as_test_x conftest$ac_exeext
15740 ac_cv_lib_log4cxx_main=yes
15742 $as_echo "$as_me: failed program was:" >&5
15743 sed 's/^/| /' conftest.$ac_ext >&5
15745 ac_cv_lib_log4cxx_main=no
15748 rm -rf conftest.dSYM
15749 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15750 conftest$ac_exeext conftest.$ac_ext
15751 LIBS=$ac_check_lib_save_LIBS
15753 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_log4cxx_main" >&5
15754 $as_echo "$ac_cv_lib_log4cxx_main" >&6; }
15755 if test "x$ac_cv_lib_log4cxx_main" = x""yes; then
15758 { { $as_echo "$as_me:$LINENO: error: l7vsd require log4cxx library. " >&5
15759 $as_echo "$as_me: error: l7vsd require log4cxx library. " >&2;}
15760 { (exit 1); exit 1; }; }
15763 { $as_echo "$as_me:$LINENO: checking for main in -lrt" >&5
15764 $as_echo_n "checking for main in -lrt... " >&6; }
15765 if test "${ac_cv_lib_rt_main+set}" = set; then
15766 $as_echo_n "(cached) " >&6
15768 ac_check_lib_save_LIBS=$LIBS
15770 cat >conftest.$ac_ext <<_ACEOF
15773 cat confdefs.h >>conftest.$ac_ext
15774 cat >>conftest.$ac_ext <<_ACEOF
15775 /* end confdefs.h. */
15786 rm -f conftest.$ac_objext conftest$ac_exeext
15787 if { (ac_try="$ac_link"
15788 case "(($ac_try" in
15789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15790 *) ac_try_echo=$ac_try;;
15792 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15793 $as_echo "$ac_try_echo") >&5
15794 (eval "$ac_link") 2>conftest.er1
15796 grep -v '^ *+' conftest.er1 >conftest.err
15798 cat conftest.err >&5
15799 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15800 (exit $ac_status); } && {
15801 test -z "$ac_c_werror_flag" ||
15802 test ! -s conftest.err
15803 } && test -s conftest$ac_exeext && {
15804 test "$cross_compiling" = yes ||
15805 $as_test_x conftest$ac_exeext
15807 ac_cv_lib_rt_main=yes
15809 $as_echo "$as_me: failed program was:" >&5
15810 sed 's/^/| /' conftest.$ac_ext >&5
15812 ac_cv_lib_rt_main=no
15815 rm -rf conftest.dSYM
15816 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15817 conftest$ac_exeext conftest.$ac_ext
15818 LIBS=$ac_check_lib_save_LIBS
15820 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_rt_main" >&5
15821 $as_echo "$ac_cv_lib_rt_main" >&6; }
15822 if test "x$ac_cv_lib_rt_main" = x""yes; then
15825 { { $as_echo "$as_me:$LINENO: error: l7vsd require rt library. " >&5
15826 $as_echo "$as_me: error: l7vsd require rt library. " >&2;}
15827 { (exit 1); exit 1; }; }
15830 { $as_echo "$as_me:$LINENO: checking for main in -lboost_thread-mt" >&5
15831 $as_echo_n "checking for main in -lboost_thread-mt... " >&6; }
15832 if test "${ac_cv_lib_boost_thread_mt_main+set}" = set; then
15833 $as_echo_n "(cached) " >&6
15835 ac_check_lib_save_LIBS=$LIBS
15836 LIBS="-lboost_thread-mt $LIBS"
15837 cat >conftest.$ac_ext <<_ACEOF
15840 cat confdefs.h >>conftest.$ac_ext
15841 cat >>conftest.$ac_ext <<_ACEOF
15842 /* end confdefs.h. */
15853 rm -f conftest.$ac_objext conftest$ac_exeext
15854 if { (ac_try="$ac_link"
15855 case "(($ac_try" in
15856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15857 *) ac_try_echo=$ac_try;;
15859 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15860 $as_echo "$ac_try_echo") >&5
15861 (eval "$ac_link") 2>conftest.er1
15863 grep -v '^ *+' conftest.er1 >conftest.err
15865 cat conftest.err >&5
15866 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15867 (exit $ac_status); } && {
15868 test -z "$ac_c_werror_flag" ||
15869 test ! -s conftest.err
15870 } && test -s conftest$ac_exeext && {
15871 test "$cross_compiling" = yes ||
15872 $as_test_x conftest$ac_exeext
15874 ac_cv_lib_boost_thread_mt_main=yes
15876 $as_echo "$as_me: failed program was:" >&5
15877 sed 's/^/| /' conftest.$ac_ext >&5
15879 ac_cv_lib_boost_thread_mt_main=no
15882 rm -rf conftest.dSYM
15883 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15884 conftest$ac_exeext conftest.$ac_ext
15885 LIBS=$ac_check_lib_save_LIBS
15887 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_boost_thread_mt_main" >&5
15888 $as_echo "$ac_cv_lib_boost_thread_mt_main" >&6; }
15889 if test "x$ac_cv_lib_boost_thread_mt_main" = x""yes; then
15892 { { $as_echo "$as_me:$LINENO: error: l7vsd require boost library. " >&5
15893 $as_echo "$as_me: error: l7vsd require boost library. " >&2;}
15894 { (exit 1); exit 1; }; }
15897 { $as_echo "$as_me:$LINENO: checking for main in -lboost_system-mt" >&5
15898 $as_echo_n "checking for main in -lboost_system-mt... " >&6; }
15899 if test "${ac_cv_lib_boost_system_mt_main+set}" = set; then
15900 $as_echo_n "(cached) " >&6
15902 ac_check_lib_save_LIBS=$LIBS
15903 LIBS="-lboost_system-mt $LIBS"
15904 cat >conftest.$ac_ext <<_ACEOF
15907 cat confdefs.h >>conftest.$ac_ext
15908 cat >>conftest.$ac_ext <<_ACEOF
15909 /* end confdefs.h. */
15920 rm -f conftest.$ac_objext conftest$ac_exeext
15921 if { (ac_try="$ac_link"
15922 case "(($ac_try" in
15923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15924 *) ac_try_echo=$ac_try;;
15926 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15927 $as_echo "$ac_try_echo") >&5
15928 (eval "$ac_link") 2>conftest.er1
15930 grep -v '^ *+' conftest.er1 >conftest.err
15932 cat conftest.err >&5
15933 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15934 (exit $ac_status); } && {
15935 test -z "$ac_c_werror_flag" ||
15936 test ! -s conftest.err
15937 } && test -s conftest$ac_exeext && {
15938 test "$cross_compiling" = yes ||
15939 $as_test_x conftest$ac_exeext
15941 ac_cv_lib_boost_system_mt_main=yes
15943 $as_echo "$as_me: failed program was:" >&5
15944 sed 's/^/| /' conftest.$ac_ext >&5
15946 ac_cv_lib_boost_system_mt_main=no
15949 rm -rf conftest.dSYM
15950 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15951 conftest$ac_exeext conftest.$ac_ext
15952 LIBS=$ac_check_lib_save_LIBS
15954 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_boost_system_mt_main" >&5
15955 $as_echo "$ac_cv_lib_boost_system_mt_main" >&6; }
15956 if test "x$ac_cv_lib_boost_system_mt_main" = x""yes; then
15959 { { $as_echo "$as_me:$LINENO: error: l7vsd require boost library. " >&5
15960 $as_echo "$as_me: error: l7vsd require boost library. " >&2;}
15961 { (exit 1); exit 1; }; }
15964 { $as_echo "$as_me:$LINENO: checking for main in -lnetsnmp" >&5
15965 $as_echo_n "checking for main in -lnetsnmp... " >&6; }
15966 if test "${ac_cv_lib_netsnmp_main+set}" = set; then
15967 $as_echo_n "(cached) " >&6
15969 ac_check_lib_save_LIBS=$LIBS
15970 LIBS="-lnetsnmp $LIBS"
15971 cat >conftest.$ac_ext <<_ACEOF
15974 cat confdefs.h >>conftest.$ac_ext
15975 cat >>conftest.$ac_ext <<_ACEOF
15976 /* end confdefs.h. */
15987 rm -f conftest.$ac_objext conftest$ac_exeext
15988 if { (ac_try="$ac_link"
15989 case "(($ac_try" in
15990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15991 *) ac_try_echo=$ac_try;;
15993 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15994 $as_echo "$ac_try_echo") >&5
15995 (eval "$ac_link") 2>conftest.er1
15997 grep -v '^ *+' conftest.er1 >conftest.err
15999 cat conftest.err >&5
16000 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16001 (exit $ac_status); } && {
16002 test -z "$ac_c_werror_flag" ||
16003 test ! -s conftest.err
16004 } && test -s conftest$ac_exeext && {
16005 test "$cross_compiling" = yes ||
16006 $as_test_x conftest$ac_exeext
16008 ac_cv_lib_netsnmp_main=yes
16010 $as_echo "$as_me: failed program was:" >&5
16011 sed 's/^/| /' conftest.$ac_ext >&5
16013 ac_cv_lib_netsnmp_main=no
16016 rm -rf conftest.dSYM
16017 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16018 conftest$ac_exeext conftest.$ac_ext
16019 LIBS=$ac_check_lib_save_LIBS
16021 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_netsnmp_main" >&5
16022 $as_echo "$ac_cv_lib_netsnmp_main" >&6; }
16023 if test "x$ac_cv_lib_netsnmp_main" = x""yes; then
16026 { { $as_echo "$as_me:$LINENO: error: l7vsd require netsnmp library. " >&5
16027 $as_echo "$as_me: error: l7vsd require netsnmp library. " >&2;}
16028 { (exit 1); exit 1; }; }
16032 # Checks for header files.
16035 for ac_header in limits.h unistd.h
16037 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16038 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16039 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
16040 $as_echo_n "checking for $ac_header... " >&6; }
16041 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16042 $as_echo_n "(cached) " >&6
16044 ac_res=`eval 'as_val=${'$as_ac_Header'}
16045 $as_echo "$as_val"'`
16046 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16047 $as_echo "$ac_res" >&6; }
16049 # Is the header compilable?
16050 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
16051 $as_echo_n "checking $ac_header usability... " >&6; }
16052 cat >conftest.$ac_ext <<_ACEOF
16055 cat confdefs.h >>conftest.$ac_ext
16056 cat >>conftest.$ac_ext <<_ACEOF
16057 /* end confdefs.h. */
16058 $ac_includes_default
16059 #include <$ac_header>
16061 rm -f conftest.$ac_objext
16062 if { (ac_try="$ac_compile"
16063 case "(($ac_try" in
16064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16065 *) ac_try_echo=$ac_try;;
16067 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16068 $as_echo "$ac_try_echo") >&5
16069 (eval "$ac_compile") 2>conftest.er1
16071 grep -v '^ *+' conftest.er1 >conftest.err
16073 cat conftest.err >&5
16074 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16075 (exit $ac_status); } && {
16076 test -z "$ac_c_werror_flag" ||
16077 test ! -s conftest.err
16078 } && test -s conftest.$ac_objext; then
16079 ac_header_compiler=yes
16081 $as_echo "$as_me: failed program was:" >&5
16082 sed 's/^/| /' conftest.$ac_ext >&5
16084 ac_header_compiler=no
16087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16088 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16089 $as_echo "$ac_header_compiler" >&6; }
16091 # Is the header present?
16092 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
16093 $as_echo_n "checking $ac_header presence... " >&6; }
16094 cat >conftest.$ac_ext <<_ACEOF
16097 cat confdefs.h >>conftest.$ac_ext
16098 cat >>conftest.$ac_ext <<_ACEOF
16099 /* end confdefs.h. */
16100 #include <$ac_header>
16102 if { (ac_try="$ac_cpp conftest.$ac_ext"
16103 case "(($ac_try" in
16104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16105 *) ac_try_echo=$ac_try;;
16107 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16108 $as_echo "$ac_try_echo") >&5
16109 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16111 grep -v '^ *+' conftest.er1 >conftest.err
16113 cat conftest.err >&5
16114 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16115 (exit $ac_status); } >/dev/null && {
16116 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16117 test ! -s conftest.err
16119 ac_header_preproc=yes
16121 $as_echo "$as_me: failed program was:" >&5
16122 sed 's/^/| /' conftest.$ac_ext >&5
16124 ac_header_preproc=no
16127 rm -f conftest.err conftest.$ac_ext
16128 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16129 $as_echo "$ac_header_preproc" >&6; }
16131 # So? What about this header?
16132 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16134 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16135 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16136 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16137 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16138 ac_header_preproc=yes
16141 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16142 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16143 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16144 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16145 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16146 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16147 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16148 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16149 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16150 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16151 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16152 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16156 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
16157 $as_echo_n "checking for $ac_header... " >&6; }
16158 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16159 $as_echo_n "(cached) " >&6
16161 eval "$as_ac_Header=\$ac_header_preproc"
16163 ac_res=`eval 'as_val=${'$as_ac_Header'}
16164 $as_echo "$as_val"'`
16165 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16166 $as_echo "$ac_res" >&6; }
16169 as_val=`eval 'as_val=${'$as_ac_Header'}
16170 $as_echo "$as_val"'`
16171 if test "x$as_val" = x""yes; then
16172 cat >>confdefs.h <<_ACEOF
16173 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16181 # Checks for declarations.
16182 { $as_echo "$as_me:$LINENO: checking whether IP_TRANSPARENT is declared" >&5
16183 $as_echo_n "checking whether IP_TRANSPARENT is declared... " >&6; }
16184 if test "${ac_cv_have_decl_IP_TRANSPARENT+set}" = set; then
16185 $as_echo_n "(cached) " >&6
16187 cat >conftest.$ac_ext <<_ACEOF
16190 cat confdefs.h >>conftest.$ac_ext
16191 cat >>conftest.$ac_ext <<_ACEOF
16192 /* end confdefs.h. */
16194 #include <sys/socket.h>
16195 #include <linux/in.h>
16201 #ifndef IP_TRANSPARENT
16202 (void) IP_TRANSPARENT;
16209 rm -f conftest.$ac_objext
16210 if { (ac_try="$ac_compile"
16211 case "(($ac_try" in
16212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16213 *) ac_try_echo=$ac_try;;
16215 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16216 $as_echo "$ac_try_echo") >&5
16217 (eval "$ac_compile") 2>conftest.er1
16219 grep -v '^ *+' conftest.er1 >conftest.err
16221 cat conftest.err >&5
16222 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16223 (exit $ac_status); } && {
16224 test -z "$ac_c_werror_flag" ||
16225 test ! -s conftest.err
16226 } && test -s conftest.$ac_objext; then
16227 ac_cv_have_decl_IP_TRANSPARENT=yes
16229 $as_echo "$as_me: failed program was:" >&5
16230 sed 's/^/| /' conftest.$ac_ext >&5
16232 ac_cv_have_decl_IP_TRANSPARENT=no
16235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16237 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_IP_TRANSPARENT" >&5
16238 $as_echo "$ac_cv_have_decl_IP_TRANSPARENT" >&6; }
16239 if test "x$ac_cv_have_decl_IP_TRANSPARENT" = x""yes; then
16241 cat >>confdefs.h <<_ACEOF
16242 #define HAVE_DECL_IP_TRANSPARENT 1
16247 cat >>confdefs.h <<_ACEOF
16248 #define HAVE_DECL_IP_TRANSPARENT 0
16256 # Checks for typedefs, structures, and compiler characteristics.
16257 { $as_echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
16258 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
16259 if test "${ac_cv_header_stdbool_h+set}" = set; then
16260 $as_echo_n "(cached) " >&6
16262 cat >conftest.$ac_ext <<_ACEOF
16265 cat confdefs.h >>conftest.$ac_ext
16266 cat >>conftest.$ac_ext <<_ACEOF
16267 /* end confdefs.h. */
16269 #include <stdbool.h>
16271 "error: bool is not defined"
16274 "error: false is not defined"
16277 "error: false is not 0"
16280 "error: true is not defined"
16283 "error: true is not 1"
16285 #ifndef __bool_true_false_are_defined
16286 "error: __bool_true_false_are_defined is not defined"
16289 struct s { _Bool s: 1; _Bool t; } s;
16291 char a[true == 1 ? 1 : -1];
16292 char b[false == 0 ? 1 : -1];
16293 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
16294 char d[(bool) 0.5 == true ? 1 : -1];
16296 char f[(_Bool) 0.0 == false ? 1 : -1];
16298 char h[sizeof (_Bool)];
16299 char i[sizeof s.t];
16300 enum { j = false, k = true, l = false * true, m = true * 256 };
16301 /* The following fails for
16302 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
16304 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
16305 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
16306 # if defined __xlc__ || defined __GNUC__
16307 /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0
16308 reported by James Lemley on 2005-10-05; see
16309 http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html
16310 This test is not quite right, since xlc is allowed to
16311 reject this program, as the initializer for xlcbug is
16312 not one of the forms that C requires support for.
16313 However, doing the test right would require a runtime
16314 test, and that would make cross-compilation harder.
16315 Let us hope that IBM fixes the xlc bug, and also adds
16316 support for this kind of constant expression. In the
16317 meantime, this test will reject xlc, which is OK, since
16318 our stdbool.h substitute should suffice. We also test
16319 this with GCC, where it should work, to detect more
16320 quickly whether someone messes up the test in the
16322 char digs[] = "0123456789";
16323 int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
16325 /* Catch a bug in an HP-UX C compiler. See
16326 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
16327 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
16338 /* Refer to every declared value, to avoid compiler optimizations. */
16339 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
16340 + !m + !n + !o + !p + !q + !pq);
16346 rm -f conftest.$ac_objext
16347 if { (ac_try="$ac_compile"
16348 case "(($ac_try" in
16349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16350 *) ac_try_echo=$ac_try;;
16352 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16353 $as_echo "$ac_try_echo") >&5
16354 (eval "$ac_compile") 2>conftest.er1
16356 grep -v '^ *+' conftest.er1 >conftest.err
16358 cat conftest.err >&5
16359 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16360 (exit $ac_status); } && {
16361 test -z "$ac_c_werror_flag" ||
16362 test ! -s conftest.err
16363 } && test -s conftest.$ac_objext; then
16364 ac_cv_header_stdbool_h=yes
16366 $as_echo "$as_me: failed program was:" >&5
16367 sed 's/^/| /' conftest.$ac_ext >&5
16369 ac_cv_header_stdbool_h=no
16372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16374 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
16375 $as_echo "$ac_cv_header_stdbool_h" >&6; }
16376 { $as_echo "$as_me:$LINENO: checking for _Bool" >&5
16377 $as_echo_n "checking for _Bool... " >&6; }
16378 if test "${ac_cv_type__Bool+set}" = set; then
16379 $as_echo_n "(cached) " >&6
16381 ac_cv_type__Bool=no
16382 cat >conftest.$ac_ext <<_ACEOF
16385 cat confdefs.h >>conftest.$ac_ext
16386 cat >>conftest.$ac_ext <<_ACEOF
16387 /* end confdefs.h. */
16388 $ac_includes_default
16392 if (sizeof (_Bool))
16398 rm -f conftest.$ac_objext
16399 if { (ac_try="$ac_compile"
16400 case "(($ac_try" in
16401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16402 *) ac_try_echo=$ac_try;;
16404 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16405 $as_echo "$ac_try_echo") >&5
16406 (eval "$ac_compile") 2>conftest.er1
16408 grep -v '^ *+' conftest.er1 >conftest.err
16410 cat conftest.err >&5
16411 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16412 (exit $ac_status); } && {
16413 test -z "$ac_c_werror_flag" ||
16414 test ! -s conftest.err
16415 } && test -s conftest.$ac_objext; then
16416 cat >conftest.$ac_ext <<_ACEOF
16419 cat confdefs.h >>conftest.$ac_ext
16420 cat >>conftest.$ac_ext <<_ACEOF
16421 /* end confdefs.h. */
16422 $ac_includes_default
16426 if (sizeof ((_Bool)))
16432 rm -f conftest.$ac_objext
16433 if { (ac_try="$ac_compile"
16434 case "(($ac_try" in
16435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16436 *) ac_try_echo=$ac_try;;
16438 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16439 $as_echo "$ac_try_echo") >&5
16440 (eval "$ac_compile") 2>conftest.er1
16442 grep -v '^ *+' conftest.er1 >conftest.err
16444 cat conftest.err >&5
16445 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16446 (exit $ac_status); } && {
16447 test -z "$ac_c_werror_flag" ||
16448 test ! -s conftest.err
16449 } && test -s conftest.$ac_objext; then
16452 $as_echo "$as_me: failed program was:" >&5
16453 sed 's/^/| /' conftest.$ac_ext >&5
16455 ac_cv_type__Bool=yes
16458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16460 $as_echo "$as_me: failed program was:" >&5
16461 sed 's/^/| /' conftest.$ac_ext >&5
16466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16468 { $as_echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
16469 $as_echo "$ac_cv_type__Bool" >&6; }
16470 if test "x$ac_cv_type__Bool" = x""yes; then
16472 cat >>confdefs.h <<_ACEOF
16473 #define HAVE__BOOL 1
16479 if test $ac_cv_header_stdbool_h = yes; then
16481 cat >>confdefs.h <<\_ACEOF
16482 #define HAVE_STDBOOL_H 1
16487 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16488 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
16489 if test "${ac_cv_c_const+set}" = set; then
16490 $as_echo_n "(cached) " >&6
16492 cat >conftest.$ac_ext <<_ACEOF
16495 cat confdefs.h >>conftest.$ac_ext
16496 cat >>conftest.$ac_ext <<_ACEOF
16497 /* end confdefs.h. */
16502 /* FIXME: Include the comments suggested by Paul. */
16503 #ifndef __cplusplus
16504 /* Ultrix mips cc rejects this. */
16505 typedef int charset[2];
16507 /* SunOS 4.1.1 cc rejects this. */
16508 char const *const *pcpcc;
16510 /* NEC SVR4.0.2 mips cc rejects this. */
16511 struct point {int x, y;};
16512 static struct point const zero = {0,0};
16513 /* AIX XL C 1.02.0.0 rejects this.
16514 It does not let you subtract one const X* pointer from another in
16515 an arm of an if-expression whose if-part is not a constant
16517 const char *g = "string";
16518 pcpcc = &g + (g ? g-g : 0);
16519 /* HPUX 7.0 cc rejects these. */
16521 ppc = (char**) pcpcc;
16522 pcpcc = (char const *const *) ppc;
16523 { /* SCO 3.2v4 cc rejects this. */
16525 char const *s = 0 ? (char *) 0 : (char const *) 0;
16530 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16531 int x[] = {25, 17};
16532 const int *foo = &x[0];
16535 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16536 typedef const int *iptr;
16540 { /* AIX XL C 1.02.0.0 rejects this saying
16541 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16542 struct s { int j; const int *ap[3]; };
16543 struct s *b; b->j = 5;
16545 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16546 const int foo = 10;
16547 if (!foo) return 0;
16549 return !cs[0] && !zero.x;
16556 rm -f conftest.$ac_objext
16557 if { (ac_try="$ac_compile"
16558 case "(($ac_try" in
16559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16560 *) ac_try_echo=$ac_try;;
16562 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16563 $as_echo "$ac_try_echo") >&5
16564 (eval "$ac_compile") 2>conftest.er1
16566 grep -v '^ *+' conftest.er1 >conftest.err
16568 cat conftest.err >&5
16569 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16570 (exit $ac_status); } && {
16571 test -z "$ac_c_werror_flag" ||
16572 test ! -s conftest.err
16573 } && test -s conftest.$ac_objext; then
16576 $as_echo "$as_me: failed program was:" >&5
16577 sed 's/^/| /' conftest.$ac_ext >&5
16582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16584 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16585 $as_echo "$ac_cv_c_const" >&6; }
16586 if test $ac_cv_c_const = no; then
16588 cat >>confdefs.h <<\_ACEOF
16594 { $as_echo "$as_me:$LINENO: checking for inline" >&5
16595 $as_echo_n "checking for inline... " >&6; }
16596 if test "${ac_cv_c_inline+set}" = set; then
16597 $as_echo_n "(cached) " >&6
16600 for ac_kw in inline __inline__ __inline; do
16601 cat >conftest.$ac_ext <<_ACEOF
16604 cat confdefs.h >>conftest.$ac_ext
16605 cat >>conftest.$ac_ext <<_ACEOF
16606 /* end confdefs.h. */
16607 #ifndef __cplusplus
16609 static $ac_kw foo_t static_foo () {return 0; }
16610 $ac_kw foo_t foo () {return 0; }
16614 rm -f conftest.$ac_objext
16615 if { (ac_try="$ac_compile"
16616 case "(($ac_try" in
16617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16618 *) ac_try_echo=$ac_try;;
16620 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16621 $as_echo "$ac_try_echo") >&5
16622 (eval "$ac_compile") 2>conftest.er1
16624 grep -v '^ *+' conftest.er1 >conftest.err
16626 cat conftest.err >&5
16627 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16628 (exit $ac_status); } && {
16629 test -z "$ac_c_werror_flag" ||
16630 test ! -s conftest.err
16631 } && test -s conftest.$ac_objext; then
16632 ac_cv_c_inline=$ac_kw
16634 $as_echo "$as_me: failed program was:" >&5
16635 sed 's/^/| /' conftest.$ac_ext >&5
16640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16641 test "$ac_cv_c_inline" != no && break
16645 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16646 $as_echo "$ac_cv_c_inline" >&6; }
16649 case $ac_cv_c_inline in
16652 case $ac_cv_c_inline in
16654 *) ac_val=$ac_cv_c_inline;;
16656 cat >>confdefs.h <<_ACEOF
16657 #ifndef __cplusplus
16658 #define inline $ac_val
16664 { $as_echo "$as_me:$LINENO: checking for size_t" >&5
16665 $as_echo_n "checking for size_t... " >&6; }
16666 if test "${ac_cv_type_size_t+set}" = set; then
16667 $as_echo_n "(cached) " >&6
16669 ac_cv_type_size_t=no
16670 cat >conftest.$ac_ext <<_ACEOF
16673 cat confdefs.h >>conftest.$ac_ext
16674 cat >>conftest.$ac_ext <<_ACEOF
16675 /* end confdefs.h. */
16676 $ac_includes_default
16680 if (sizeof (size_t))
16686 rm -f conftest.$ac_objext
16687 if { (ac_try="$ac_compile"
16688 case "(($ac_try" in
16689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16690 *) ac_try_echo=$ac_try;;
16692 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16693 $as_echo "$ac_try_echo") >&5
16694 (eval "$ac_compile") 2>conftest.er1
16696 grep -v '^ *+' conftest.er1 >conftest.err
16698 cat conftest.err >&5
16699 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16700 (exit $ac_status); } && {
16701 test -z "$ac_c_werror_flag" ||
16702 test ! -s conftest.err
16703 } && test -s conftest.$ac_objext; then
16704 cat >conftest.$ac_ext <<_ACEOF
16707 cat confdefs.h >>conftest.$ac_ext
16708 cat >>conftest.$ac_ext <<_ACEOF
16709 /* end confdefs.h. */
16710 $ac_includes_default
16714 if (sizeof ((size_t)))
16720 rm -f conftest.$ac_objext
16721 if { (ac_try="$ac_compile"
16722 case "(($ac_try" in
16723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16724 *) ac_try_echo=$ac_try;;
16726 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16727 $as_echo "$ac_try_echo") >&5
16728 (eval "$ac_compile") 2>conftest.er1
16730 grep -v '^ *+' conftest.er1 >conftest.err
16732 cat conftest.err >&5
16733 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16734 (exit $ac_status); } && {
16735 test -z "$ac_c_werror_flag" ||
16736 test ! -s conftest.err
16737 } && test -s conftest.$ac_objext; then
16740 $as_echo "$as_me: failed program was:" >&5
16741 sed 's/^/| /' conftest.$ac_ext >&5
16743 ac_cv_type_size_t=yes
16746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16748 $as_echo "$as_me: failed program was:" >&5
16749 sed 's/^/| /' conftest.$ac_ext >&5
16754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16756 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16757 $as_echo "$ac_cv_type_size_t" >&6; }
16758 if test "x$ac_cv_type_size_t" = x""yes; then
16762 cat >>confdefs.h <<_ACEOF
16763 #define size_t unsigned int
16768 { $as_echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
16769 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
16770 if test "${ac_cv_struct_tm+set}" = set; then
16771 $as_echo_n "(cached) " >&6
16773 cat >conftest.$ac_ext <<_ACEOF
16776 cat confdefs.h >>conftest.$ac_ext
16777 cat >>conftest.$ac_ext <<_ACEOF
16778 /* end confdefs.h. */
16779 #include <sys/types.h>
16786 int *p = &tm.tm_sec;
16792 rm -f conftest.$ac_objext
16793 if { (ac_try="$ac_compile"
16794 case "(($ac_try" in
16795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16796 *) ac_try_echo=$ac_try;;
16798 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16799 $as_echo "$ac_try_echo") >&5
16800 (eval "$ac_compile") 2>conftest.er1
16802 grep -v '^ *+' conftest.er1 >conftest.err
16804 cat conftest.err >&5
16805 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16806 (exit $ac_status); } && {
16807 test -z "$ac_c_werror_flag" ||
16808 test ! -s conftest.err
16809 } && test -s conftest.$ac_objext; then
16810 ac_cv_struct_tm=time.h
16812 $as_echo "$as_me: failed program was:" >&5
16813 sed 's/^/| /' conftest.$ac_ext >&5
16815 ac_cv_struct_tm=sys/time.h
16818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16820 { $as_echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
16821 $as_echo "$ac_cv_struct_tm" >&6; }
16822 if test $ac_cv_struct_tm = sys/time.h; then
16824 cat >>confdefs.h <<\_ACEOF
16825 #define TM_IN_SYS_TIME 1
16831 # Checks for library functions.
16832 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
16833 $as_echo_n "checking for ANSI C header files... " >&6; }
16834 if test "${ac_cv_header_stdc+set}" = set; then
16835 $as_echo_n "(cached) " >&6
16837 cat >conftest.$ac_ext <<_ACEOF
16840 cat confdefs.h >>conftest.$ac_ext
16841 cat >>conftest.$ac_ext <<_ACEOF
16842 /* end confdefs.h. */
16843 #include <stdlib.h>
16844 #include <stdarg.h>
16845 #include <string.h>
16856 rm -f conftest.$ac_objext
16857 if { (ac_try="$ac_compile"
16858 case "(($ac_try" in
16859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16860 *) ac_try_echo=$ac_try;;
16862 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16863 $as_echo "$ac_try_echo") >&5
16864 (eval "$ac_compile") 2>conftest.er1
16866 grep -v '^ *+' conftest.er1 >conftest.err
16868 cat conftest.err >&5
16869 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16870 (exit $ac_status); } && {
16871 test -z "$ac_c_werror_flag" ||
16872 test ! -s conftest.err
16873 } && test -s conftest.$ac_objext; then
16874 ac_cv_header_stdc=yes
16876 $as_echo "$as_me: failed program was:" >&5
16877 sed 's/^/| /' conftest.$ac_ext >&5
16879 ac_cv_header_stdc=no
16882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16884 if test $ac_cv_header_stdc = yes; then
16885 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16886 cat >conftest.$ac_ext <<_ACEOF
16889 cat confdefs.h >>conftest.$ac_ext
16890 cat >>conftest.$ac_ext <<_ACEOF
16891 /* end confdefs.h. */
16892 #include <string.h>
16895 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16896 $EGREP "memchr" >/dev/null 2>&1; then
16899 ac_cv_header_stdc=no
16905 if test $ac_cv_header_stdc = yes; then
16906 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16907 cat >conftest.$ac_ext <<_ACEOF
16910 cat confdefs.h >>conftest.$ac_ext
16911 cat >>conftest.$ac_ext <<_ACEOF
16912 /* end confdefs.h. */
16913 #include <stdlib.h>
16916 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16917 $EGREP "free" >/dev/null 2>&1; then
16920 ac_cv_header_stdc=no
16926 if test $ac_cv_header_stdc = yes; then
16927 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16928 if test "$cross_compiling" = yes; then
16931 cat >conftest.$ac_ext <<_ACEOF
16934 cat confdefs.h >>conftest.$ac_ext
16935 cat >>conftest.$ac_ext <<_ACEOF
16936 /* end confdefs.h. */
16938 #include <stdlib.h>
16939 #if ((' ' & 0x0FF) == 0x020)
16940 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16941 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16943 # define ISLOWER(c) \
16944 (('a' <= (c) && (c) <= 'i') \
16945 || ('j' <= (c) && (c) <= 'r') \
16946 || ('s' <= (c) && (c) <= 'z'))
16947 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16950 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16955 for (i = 0; i < 256; i++)
16956 if (XOR (islower (i), ISLOWER (i))
16957 || toupper (i) != TOUPPER (i))
16962 rm -f conftest$ac_exeext
16963 if { (ac_try="$ac_link"
16964 case "(($ac_try" in
16965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16966 *) ac_try_echo=$ac_try;;
16968 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16969 $as_echo "$ac_try_echo") >&5
16970 (eval "$ac_link") 2>&5
16972 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16973 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16974 { (case "(($ac_try" in
16975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16976 *) ac_try_echo=$ac_try;;
16978 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16979 $as_echo "$ac_try_echo") >&5
16980 (eval "$ac_try") 2>&5
16982 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16983 (exit $ac_status); }; }; then
16986 $as_echo "$as_me: program exited with status $ac_status" >&5
16987 $as_echo "$as_me: failed program was:" >&5
16988 sed 's/^/| /' conftest.$ac_ext >&5
16990 ( exit $ac_status )
16991 ac_cv_header_stdc=no
16993 rm -rf conftest.dSYM
16994 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17000 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
17001 $as_echo "$ac_cv_header_stdc" >&6; }
17002 if test $ac_cv_header_stdc = yes; then
17004 cat >>confdefs.h <<\_ACEOF
17005 #define STDC_HEADERS 1
17010 { $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
17011 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
17012 if test "${ac_cv_header_time+set}" = set; then
17013 $as_echo_n "(cached) " >&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 #include <sys/types.h>
17022 #include <sys/time.h>
17028 if ((struct tm *) 0)
17034 rm -f conftest.$ac_objext
17035 if { (ac_try="$ac_compile"
17036 case "(($ac_try" in
17037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17038 *) ac_try_echo=$ac_try;;
17040 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17041 $as_echo "$ac_try_echo") >&5
17042 (eval "$ac_compile") 2>conftest.er1
17044 grep -v '^ *+' conftest.er1 >conftest.err
17046 cat conftest.err >&5
17047 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17048 (exit $ac_status); } && {
17049 test -z "$ac_c_werror_flag" ||
17050 test ! -s conftest.err
17051 } && test -s conftest.$ac_objext; then
17052 ac_cv_header_time=yes
17054 $as_echo "$as_me: failed program was:" >&5
17055 sed 's/^/| /' conftest.$ac_ext >&5
17057 ac_cv_header_time=no
17060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17062 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
17063 $as_echo "$ac_cv_header_time" >&6; }
17064 if test $ac_cv_header_time = yes; then
17066 cat >>confdefs.h <<\_ACEOF
17067 #define TIME_WITH_SYS_TIME 1
17076 for ac_header in $ac_header_list
17078 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17079 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17080 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17081 $as_echo_n "checking for $ac_header... " >&6; }
17082 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17083 $as_echo_n "(cached) " >&6
17085 ac_res=`eval 'as_val=${'$as_ac_Header'}
17086 $as_echo "$as_val"'`
17087 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17088 $as_echo "$ac_res" >&6; }
17090 # Is the header compilable?
17091 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
17092 $as_echo_n "checking $ac_header usability... " >&6; }
17093 cat >conftest.$ac_ext <<_ACEOF
17096 cat confdefs.h >>conftest.$ac_ext
17097 cat >>conftest.$ac_ext <<_ACEOF
17098 /* end confdefs.h. */
17099 $ac_includes_default
17100 #include <$ac_header>
17102 rm -f conftest.$ac_objext
17103 if { (ac_try="$ac_compile"
17104 case "(($ac_try" in
17105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17106 *) ac_try_echo=$ac_try;;
17108 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17109 $as_echo "$ac_try_echo") >&5
17110 (eval "$ac_compile") 2>conftest.er1
17112 grep -v '^ *+' conftest.er1 >conftest.err
17114 cat conftest.err >&5
17115 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17116 (exit $ac_status); } && {
17117 test -z "$ac_c_werror_flag" ||
17118 test ! -s conftest.err
17119 } && test -s conftest.$ac_objext; then
17120 ac_header_compiler=yes
17122 $as_echo "$as_me: failed program was:" >&5
17123 sed 's/^/| /' conftest.$ac_ext >&5
17125 ac_header_compiler=no
17128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17129 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17130 $as_echo "$ac_header_compiler" >&6; }
17132 # Is the header present?
17133 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
17134 $as_echo_n "checking $ac_header presence... " >&6; }
17135 cat >conftest.$ac_ext <<_ACEOF
17138 cat confdefs.h >>conftest.$ac_ext
17139 cat >>conftest.$ac_ext <<_ACEOF
17140 /* end confdefs.h. */
17141 #include <$ac_header>
17143 if { (ac_try="$ac_cpp conftest.$ac_ext"
17144 case "(($ac_try" in
17145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17146 *) ac_try_echo=$ac_try;;
17148 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17149 $as_echo "$ac_try_echo") >&5
17150 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17152 grep -v '^ *+' conftest.er1 >conftest.err
17154 cat conftest.err >&5
17155 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17156 (exit $ac_status); } >/dev/null && {
17157 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17158 test ! -s conftest.err
17160 ac_header_preproc=yes
17162 $as_echo "$as_me: failed program was:" >&5
17163 sed 's/^/| /' conftest.$ac_ext >&5
17165 ac_header_preproc=no
17168 rm -f conftest.err conftest.$ac_ext
17169 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17170 $as_echo "$ac_header_preproc" >&6; }
17172 # So? What about this header?
17173 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17175 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17176 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17177 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17178 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17179 ac_header_preproc=yes
17182 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17183 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17184 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17185 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17186 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17187 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17188 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17189 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17190 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17191 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17192 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17193 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17197 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17198 $as_echo_n "checking for $ac_header... " >&6; }
17199 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17200 $as_echo_n "(cached) " >&6
17202 eval "$as_ac_Header=\$ac_header_preproc"
17204 ac_res=`eval 'as_val=${'$as_ac_Header'}
17205 $as_echo "$as_val"'`
17206 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17207 $as_echo "$ac_res" >&6; }
17210 as_val=`eval 'as_val=${'$as_ac_Header'}
17211 $as_echo "$as_val"'`
17212 if test "x$as_val" = x""yes; then
17213 cat >>confdefs.h <<_ACEOF
17214 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17229 for ac_func in $ac_func_list
17231 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17232 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
17233 $as_echo_n "checking for $ac_func... " >&6; }
17234 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17235 $as_echo_n "(cached) " >&6
17237 cat >conftest.$ac_ext <<_ACEOF
17240 cat confdefs.h >>conftest.$ac_ext
17241 cat >>conftest.$ac_ext <<_ACEOF
17242 /* end confdefs.h. */
17243 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17244 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17245 #define $ac_func innocuous_$ac_func
17247 /* System header to define __stub macros and hopefully few prototypes,
17248 which can conflict with char $ac_func (); below.
17249 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17250 <limits.h> exists even on freestanding compilers. */
17253 # include <limits.h>
17255 # include <assert.h>
17260 /* Override any GCC internal prototype to avoid an error.
17261 Use char because int might match the return type of a GCC
17262 builtin and then its argument prototype would still apply. */
17267 /* The GNU C library defines this for functions which it implements
17268 to always fail with ENOSYS. Some functions are actually named
17269 something starting with __ and the normal name is an alias. */
17270 #if defined __stub_$ac_func || defined __stub___$ac_func
17277 return $ac_func ();
17282 rm -f conftest.$ac_objext conftest$ac_exeext
17283 if { (ac_try="$ac_link"
17284 case "(($ac_try" in
17285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17286 *) ac_try_echo=$ac_try;;
17288 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17289 $as_echo "$ac_try_echo") >&5
17290 (eval "$ac_link") 2>conftest.er1
17292 grep -v '^ *+' conftest.er1 >conftest.err
17294 cat conftest.err >&5
17295 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17296 (exit $ac_status); } && {
17297 test -z "$ac_c_werror_flag" ||
17298 test ! -s conftest.err
17299 } && test -s conftest$ac_exeext && {
17300 test "$cross_compiling" = yes ||
17301 $as_test_x conftest$ac_exeext
17303 eval "$as_ac_var=yes"
17305 $as_echo "$as_me: failed program was:" >&5
17306 sed 's/^/| /' conftest.$ac_ext >&5
17308 eval "$as_ac_var=no"
17311 rm -rf conftest.dSYM
17312 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17313 conftest$ac_exeext conftest.$ac_ext
17315 ac_res=`eval 'as_val=${'$as_ac_var'}
17316 $as_echo "$as_val"'`
17317 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17318 $as_echo "$ac_res" >&6; }
17319 as_val=`eval 'as_val=${'$as_ac_var'}
17320 $as_echo "$as_val"'`
17321 if test "x$as_val" = x""yes; then
17322 cat >>confdefs.h <<_ACEOF
17323 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17345 { $as_echo "$as_me:$LINENO: checking for working mktime" >&5
17346 $as_echo_n "checking for working mktime... " >&6; }
17347 if test "${ac_cv_func_working_mktime+set}" = set; then
17348 $as_echo_n "(cached) " >&6
17350 if test "$cross_compiling" = yes; then
17351 ac_cv_func_working_mktime=no
17353 cat >conftest.$ac_ext <<_ACEOF
17356 cat confdefs.h >>conftest.$ac_ext
17357 cat >>conftest.$ac_ext <<_ACEOF
17358 /* end confdefs.h. */
17359 /* Test program from Paul Eggert and Tony Leneis. */
17360 #ifdef TIME_WITH_SYS_TIME
17361 # include <sys/time.h>
17364 # ifdef HAVE_SYS_TIME_H
17365 # include <sys/time.h>
17371 #include <limits.h>
17372 #include <stdlib.h>
17374 #ifdef HAVE_UNISTD_H
17375 # include <unistd.h>
17379 # define alarm(X) /* empty */
17382 /* Work around redefinition to rpl_putenv by other config tests. */
17385 static time_t time_t_max;
17386 static time_t time_t_min;
17388 /* Values we'll use to set the TZ environment variable. */
17389 static char *tz_strings[] = {
17390 (char *) 0, "TZ=GMT0", "TZ=JST-9",
17391 "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00"
17393 #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0]))
17395 /* Return 0 if mktime fails to convert a date in the spring-forward gap.
17396 Based on a problem report from Andreas Jaeger. */
17398 spring_forward_gap ()
17400 /* glibc (up to about 1998-10-07) failed this test. */
17403 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0"
17404 instead of "TZ=America/Vancouver" in order to detect the bug even
17405 on systems that don't support the Olson extension, or don't have the
17406 full zoneinfo tables installed. */
17407 putenv ("TZ=PST8PDT,M4.1.0,M10.5.0");
17416 return mktime (&tm) != (time_t) -1;
17424 return ! (lt = localtime (&now)) || mktime (lt) == now;
17431 return (mktime_test1 (now)
17432 && mktime_test1 ((time_t) (time_t_max - now))
17433 && mktime_test1 ((time_t) (time_t_min + now)));
17439 /* Based on code from Ariel Faigon. */
17449 return tm.tm_mon == 2 && tm.tm_mday == 31;
17458 tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j;
17459 now = mktime (&tm);
17460 if (now != (time_t) -1)
17462 struct tm *lt = localtime (&now);
17464 && lt->tm_year == tm.tm_year
17465 && lt->tm_mon == tm.tm_mon
17466 && lt->tm_mday == tm.tm_mday
17467 && lt->tm_hour == tm.tm_hour
17468 && lt->tm_min == tm.tm_min
17469 && lt->tm_sec == tm.tm_sec
17470 && lt->tm_yday == tm.tm_yday
17471 && lt->tm_wday == tm.tm_wday
17472 && ((lt->tm_isdst < 0 ? -1 : 0 < lt->tm_isdst)
17473 == (tm.tm_isdst < 0 ? -1 : 0 < tm.tm_isdst))))
17482 /* The correct answer for 2050-02-01 00:00:00 in Pacific time,
17483 ignoring leap seconds. */
17484 unsigned long int answer = 2527315200UL;
17488 tm.tm_year = 2050 - 1900;
17491 tm.tm_hour = tm.tm_min = tm.tm_sec = 0;
17494 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0"
17495 instead of "TZ=America/Vancouver" in order to detect the bug even
17496 on systems that don't support the Olson extension, or don't have the
17497 full zoneinfo tables installed. */
17498 putenv ("TZ=PST8PDT,M4.1.0,M10.5.0");
17502 /* Check that the result is either a failure, or close enough
17503 to the correct answer that we can assume the discrepancy is
17504 due to leap seconds. */
17505 return (t == (time_t) -1
17506 || (0 < t && answer - 120 <= t && t <= answer + 120));
17515 /* This test makes some buggy mktime implementations loop.
17516 Give up after 60 seconds; a mktime slower than that
17517 isn't worth using anyway. */
17522 t = (time_t_max << 1) + 1;
17523 if (t <= time_t_max)
17527 time_t_min = - ((time_t) ~ (time_t) 0 == (time_t) -1) - time_t_max;
17529 delta = time_t_max / 997; /* a suitable prime number */
17530 for (i = 0; i < N_STRINGS; i++)
17533 putenv (tz_strings[i]);
17535 for (t = 0; t <= time_t_max - delta; t += delta)
17536 if (! mktime_test (t))
17538 if (! (mktime_test ((time_t) 1)
17539 && mktime_test ((time_t) (60 * 60))
17540 && mktime_test ((time_t) (60 * 60 * 24))))
17543 for (j = 1; ; j <<= 1)
17544 if (! bigtime_test (j))
17546 else if (INT_MAX / 2 < j)
17548 if (! bigtime_test (INT_MAX))
17551 return ! (irix_6_4_bug () && spring_forward_gap () && year_2050_test ());
17554 rm -f conftest$ac_exeext
17555 if { (ac_try="$ac_link"
17556 case "(($ac_try" in
17557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17558 *) ac_try_echo=$ac_try;;
17560 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17561 $as_echo "$ac_try_echo") >&5
17562 (eval "$ac_link") 2>&5
17564 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17565 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17566 { (case "(($ac_try" in
17567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17568 *) ac_try_echo=$ac_try;;
17570 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17571 $as_echo "$ac_try_echo") >&5
17572 (eval "$ac_try") 2>&5
17574 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17575 (exit $ac_status); }; }; then
17576 ac_cv_func_working_mktime=yes
17578 $as_echo "$as_me: program exited with status $ac_status" >&5
17579 $as_echo "$as_me: failed program was:" >&5
17580 sed 's/^/| /' conftest.$ac_ext >&5
17582 ( exit $ac_status )
17583 ac_cv_func_working_mktime=no
17585 rm -rf conftest.dSYM
17586 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17591 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_working_mktime" >&5
17592 $as_echo "$ac_cv_func_working_mktime" >&6; }
17593 if test $ac_cv_func_working_mktime = no; then
17594 case " $LIBOBJS " in
17595 *" mktime.$ac_objext "* ) ;;
17596 *) LIBOBJS="$LIBOBJS mktime.$ac_objext"
17603 for ac_func in strftime
17605 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17606 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
17607 $as_echo_n "checking for $ac_func... " >&6; }
17608 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17609 $as_echo_n "(cached) " >&6
17611 cat >conftest.$ac_ext <<_ACEOF
17614 cat confdefs.h >>conftest.$ac_ext
17615 cat >>conftest.$ac_ext <<_ACEOF
17616 /* end confdefs.h. */
17617 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17618 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17619 #define $ac_func innocuous_$ac_func
17621 /* System header to define __stub macros and hopefully few prototypes,
17622 which can conflict with char $ac_func (); below.
17623 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17624 <limits.h> exists even on freestanding compilers. */
17627 # include <limits.h>
17629 # include <assert.h>
17634 /* Override any GCC internal prototype to avoid an error.
17635 Use char because int might match the return type of a GCC
17636 builtin and then its argument prototype would still apply. */
17641 /* The GNU C library defines this for functions which it implements
17642 to always fail with ENOSYS. Some functions are actually named
17643 something starting with __ and the normal name is an alias. */
17644 #if defined __stub_$ac_func || defined __stub___$ac_func
17651 return $ac_func ();
17656 rm -f conftest.$ac_objext conftest$ac_exeext
17657 if { (ac_try="$ac_link"
17658 case "(($ac_try" in
17659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17660 *) ac_try_echo=$ac_try;;
17662 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17663 $as_echo "$ac_try_echo") >&5
17664 (eval "$ac_link") 2>conftest.er1
17666 grep -v '^ *+' conftest.er1 >conftest.err
17668 cat conftest.err >&5
17669 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17670 (exit $ac_status); } && {
17671 test -z "$ac_c_werror_flag" ||
17672 test ! -s conftest.err
17673 } && test -s conftest$ac_exeext && {
17674 test "$cross_compiling" = yes ||
17675 $as_test_x conftest$ac_exeext
17677 eval "$as_ac_var=yes"
17679 $as_echo "$as_me: failed program was:" >&5
17680 sed 's/^/| /' conftest.$ac_ext >&5
17682 eval "$as_ac_var=no"
17685 rm -rf conftest.dSYM
17686 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17687 conftest$ac_exeext conftest.$ac_ext
17689 ac_res=`eval 'as_val=${'$as_ac_var'}
17690 $as_echo "$as_val"'`
17691 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17692 $as_echo "$ac_res" >&6; }
17693 as_val=`eval 'as_val=${'$as_ac_var'}
17694 $as_echo "$as_val"'`
17695 if test "x$as_val" = x""yes; then
17696 cat >>confdefs.h <<_ACEOF
17697 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17701 # strftime is in -lintl on SCO UNIX.
17702 { $as_echo "$as_me:$LINENO: checking for strftime in -lintl" >&5
17703 $as_echo_n "checking for strftime in -lintl... " >&6; }
17704 if test "${ac_cv_lib_intl_strftime+set}" = set; then
17705 $as_echo_n "(cached) " >&6
17707 ac_check_lib_save_LIBS=$LIBS
17708 LIBS="-lintl $LIBS"
17709 cat >conftest.$ac_ext <<_ACEOF
17712 cat confdefs.h >>conftest.$ac_ext
17713 cat >>conftest.$ac_ext <<_ACEOF
17714 /* end confdefs.h. */
17716 /* Override any GCC internal prototype to avoid an error.
17717 Use char because int might match the return type of a GCC
17718 builtin and then its argument prototype would still apply. */
17726 return strftime ();
17731 rm -f conftest.$ac_objext conftest$ac_exeext
17732 if { (ac_try="$ac_link"
17733 case "(($ac_try" in
17734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17735 *) ac_try_echo=$ac_try;;
17737 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17738 $as_echo "$ac_try_echo") >&5
17739 (eval "$ac_link") 2>conftest.er1
17741 grep -v '^ *+' conftest.er1 >conftest.err
17743 cat conftest.err >&5
17744 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17745 (exit $ac_status); } && {
17746 test -z "$ac_c_werror_flag" ||
17747 test ! -s conftest.err
17748 } && test -s conftest$ac_exeext && {
17749 test "$cross_compiling" = yes ||
17750 $as_test_x conftest$ac_exeext
17752 ac_cv_lib_intl_strftime=yes
17754 $as_echo "$as_me: failed program was:" >&5
17755 sed 's/^/| /' conftest.$ac_ext >&5
17757 ac_cv_lib_intl_strftime=no
17760 rm -rf conftest.dSYM
17761 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17762 conftest$ac_exeext conftest.$ac_ext
17763 LIBS=$ac_check_lib_save_LIBS
17765 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
17766 $as_echo "$ac_cv_lib_intl_strftime" >&6; }
17767 if test "x$ac_cv_lib_intl_strftime" = x""yes; then
17768 cat >>confdefs.h <<\_ACEOF
17769 #define HAVE_STRFTIME 1
17772 LIBS="-lintl $LIBS"
17781 for ac_func in gethostname localtime_r memset
17783 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17784 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
17785 $as_echo_n "checking for $ac_func... " >&6; }
17786 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17787 $as_echo_n "(cached) " >&6
17789 cat >conftest.$ac_ext <<_ACEOF
17792 cat confdefs.h >>conftest.$ac_ext
17793 cat >>conftest.$ac_ext <<_ACEOF
17794 /* end confdefs.h. */
17795 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17796 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17797 #define $ac_func innocuous_$ac_func
17799 /* System header to define __stub macros and hopefully few prototypes,
17800 which can conflict with char $ac_func (); below.
17801 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17802 <limits.h> exists even on freestanding compilers. */
17805 # include <limits.h>
17807 # include <assert.h>
17812 /* Override any GCC internal prototype to avoid an error.
17813 Use char because int might match the return type of a GCC
17814 builtin and then its argument prototype would still apply. */
17819 /* The GNU C library defines this for functions which it implements
17820 to always fail with ENOSYS. Some functions are actually named
17821 something starting with __ and the normal name is an alias. */
17822 #if defined __stub_$ac_func || defined __stub___$ac_func
17829 return $ac_func ();
17834 rm -f conftest.$ac_objext conftest$ac_exeext
17835 if { (ac_try="$ac_link"
17836 case "(($ac_try" in
17837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17838 *) ac_try_echo=$ac_try;;
17840 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17841 $as_echo "$ac_try_echo") >&5
17842 (eval "$ac_link") 2>conftest.er1
17844 grep -v '^ *+' conftest.er1 >conftest.err
17846 cat conftest.err >&5
17847 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17848 (exit $ac_status); } && {
17849 test -z "$ac_c_werror_flag" ||
17850 test ! -s conftest.err
17851 } && test -s conftest$ac_exeext && {
17852 test "$cross_compiling" = yes ||
17853 $as_test_x conftest$ac_exeext
17855 eval "$as_ac_var=yes"
17857 $as_echo "$as_me: failed program was:" >&5
17858 sed 's/^/| /' conftest.$ac_ext >&5
17860 eval "$as_ac_var=no"
17863 rm -rf conftest.dSYM
17864 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17865 conftest$ac_exeext conftest.$ac_ext
17867 ac_res=`eval 'as_val=${'$as_ac_var'}
17868 $as_echo "$as_val"'`
17869 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17870 $as_echo "$ac_res" >&6; }
17871 as_val=`eval 'as_val=${'$as_ac_var'}
17872 $as_echo "$as_val"'`
17873 if test "x$as_val" = x""yes; then
17874 cat >>confdefs.h <<_ACEOF
17875 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17882 # application-specific option
17883 if test `uname -m` == "x86_64"; then
17889 CXXFLAGS=-march=i686
17894 # Check whether --with-l7vs-moddir was given.
17895 if test "${with_l7vs_moddir+set}" = set; then
17896 withval=$with_l7vs_moddir; l7vs_moddir="$withval"
17898 l7vs_moddir="${libdir}/l7vs"
17904 # Check whether --with-l7vsadm-sockdir was given.
17905 if test "${with_l7vsadm_sockdir+set}" = set; then
17906 withval=$with_l7vsadm_sockdir; l7vsadm_sockdir="$withval"
17908 l7vsadm_sockdir="/var/run/l7vs"
17914 # Check whether --with-l7vs-buffer-size was given.
17915 if test "${with_l7vs_buffer_size+set}" = set; then
17916 withval=$with_l7vs_buffer_size; l7vs_max_buffer_size="$withval"
17918 l7vs_max_buffer_size=4096
17924 # Check whether --with-l7vs-config-dir was given.
17925 if test "${with_l7vs_config_dir+set}" = set; then
17926 withval=$with_l7vs_config_dir; l7vs_config="$withval"
17928 l7vs_config="/etc/l7vs/l7vs.cf"
17942 external_agent_libs=`net-snmp-config --external-agent-libs`
17944 ultramonkeyl7_version=ultramonkeyl7-$VERSION
17947 ac_config_files="$ac_config_files doc/Makefile doc/conf/Makefile doc/sslfiles/Makefile doc/heartbeat-ra/Makefile doc/mibs/Makefile l7directord/Makefile l7vsd/Makefile l7vsd/init.d/Makefile l7vsd/module/Makefile l7vsd/module/protocol/Makefile l7vsd/module/schedule/Makefile l7vsd/src/Makefile Makefile"
17950 ac_config_files="$ac_config_files l7vsd.spec"
17952 cat >confcache <<\_ACEOF
17953 # This file is a shell script that caches the results of configure
17954 # tests run on this system so they can be shared between configure
17955 # scripts and configure runs, see configure's option --config-cache.
17956 # It is not useful on other systems. If it contains results you don't
17957 # want to keep, you may remove or edit it.
17959 # config.status only pays attention to the cache file if you give it
17960 # the --recheck option to rerun configure.
17962 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17963 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17964 # following values.
17968 # The following way of writing the cache mishandles newlines in values,
17969 # but we know of no workaround that is simple, portable, and efficient.
17970 # So, we kill variables containing newlines.
17971 # Ultrix sh set writes to stderr and can't be redirected directly,
17972 # and sets the high bit in the cache file unless we assign to the vars.
17974 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17975 eval ac_val=\$$ac_var
17979 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
17980 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17983 _ | IFS | as_nl) ;; #(
17984 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17985 *) $as_unset $ac_var ;;
17991 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17992 *${as_nl}ac_space=\ *)
17993 # `set' does not quote correctly, so add quotes (double-quote
17994 # substitution turns \\\\ into \\, and sed turns \\ into \).
17997 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18000 # `set' quotes correctly as required by POSIX, so do not add quotes.
18001 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18010 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18012 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18014 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18015 if test -w "$cache_file"; then
18016 test "x$cache_file" != "x/dev/null" &&
18017 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
18018 $as_echo "$as_me: updating cache $cache_file" >&6;}
18019 cat confcache >$cache_file
18021 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
18022 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18027 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18028 # Let make expand exec_prefix.
18029 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18031 DEFS=-DHAVE_CONFIG_H
18035 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18036 # 1. Remove the extension, and $U if already installed.
18037 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18038 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18039 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18040 # will be set to the directory where LIBOBJS objects are built.
18041 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18042 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
18044 LIBOBJS=$ac_libobjs
18046 LTLIBOBJS=$ac_ltlibobjs
18049 if test -n "$EXEEXT"; then
18051 am__EXEEXT_FALSE='#'
18053 am__EXEEXT_TRUE='#'
18057 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
18058 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
18059 Usually this means the macro was only invoked conditionally." >&5
18060 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
18061 Usually this means the macro was only invoked conditionally." >&2;}
18062 { (exit 1); exit 1; }; }
18064 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
18065 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
18066 Usually this means the macro was only invoked conditionally." >&5
18067 $as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
18068 Usually this means the macro was only invoked conditionally." >&2;}
18069 { (exit 1); exit 1; }; }
18071 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
18072 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
18073 Usually this means the macro was only invoked conditionally." >&5
18074 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
18075 Usually this means the macro was only invoked conditionally." >&2;}
18076 { (exit 1); exit 1; }; }
18078 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
18079 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
18080 Usually this means the macro was only invoked conditionally." >&5
18081 $as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
18082 Usually this means the macro was only invoked conditionally." >&2;}
18083 { (exit 1); exit 1; }; }
18086 : ${CONFIG_STATUS=./config.status}
18088 ac_clean_files_save=$ac_clean_files
18089 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18090 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
18091 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18092 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18094 # Generated by $as_me.
18095 # Run this file to recreate the current configuration.
18096 # Compiler output produced by configure, useful for debugging
18097 # configure, is in config.log if it exists.
18100 ac_cs_recheck=false
18102 SHELL=\${CONFIG_SHELL-$SHELL}
18105 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18106 ## --------------------- ##
18107 ## M4sh Initialization. ##
18108 ## --------------------- ##
18110 # Be more Bourne compatible
18111 DUALCASE=1; export DUALCASE # for MKS sh
18112 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18115 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18116 # is contrary to our usage. Disable this feature.
18117 alias -g '${1+"$@"}'='"$@"'
18118 setopt NO_GLOB_SUBST
18120 case `(set -o) 2>/dev/null` in
18121 *posix*) set -o posix ;;
18130 # Avoid depending upon Character Ranges.
18131 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18132 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18133 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18134 as_cr_digits='0123456789'
18135 as_cr_alnum=$as_cr_Letters$as_cr_digits
18140 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18141 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18142 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18143 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18144 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18145 as_echo='printf %s\n'
18146 as_echo_n='printf %s'
18148 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18149 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18150 as_echo_n='/usr/ucb/echo -n'
18152 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18153 as_echo_n_body='eval
18157 expr "X$arg" : "X\\(.*\\)$as_nl";
18158 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18160 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18162 export as_echo_n_body
18163 as_echo_n='sh -c $as_echo_n_body as_echo'
18165 export as_echo_body
18166 as_echo='sh -c $as_echo_body as_echo'
18169 # The user is always right.
18170 if test "${PATH_SEPARATOR+set}" != set; then
18172 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18173 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18178 # Support unset when possible.
18179 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
18187 # We need space, tab and new line, in precisely that order. Quoting is
18188 # there to prevent editors from complaining about space-tab.
18189 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18190 # splitting by setting IFS to empty value.)
18193 # Find who we are. Look in the path if we contain no directory separator.
18195 *[\\/]* ) as_myself=$0 ;;
18196 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18197 for as_dir in $PATH
18200 test -z "$as_dir" && as_dir=.
18201 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18207 # We did not find ourselves, most probably we were run as `sh COMMAND'
18208 # in which case we are not to be found in the path.
18209 if test "x$as_myself" = x; then
18212 if test ! -f "$as_myself"; then
18213 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18214 { (exit 1); exit 1; }
18217 # Work around bugs in pre-3.0 UWIN ksh.
18218 for as_var in ENV MAIL MAILPATH
18219 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
18231 # Required to use basename.
18232 if expr a : '\(a\)' >/dev/null 2>&1 &&
18233 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18239 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18240 as_basename=basename
18246 # Name of the executable.
18247 as_me=`$as_basename -- "$0" ||
18248 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18249 X"$0" : 'X\(//\)$' \| \
18250 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18252 sed '/^.*\/\([^/][^/]*\)\/*$/{
18271 as_lineno_1=$LINENO
18272 as_lineno_2=$LINENO
18273 test "x$as_lineno_1" != "x$as_lineno_2" &&
18274 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
18276 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
18277 # uniformly replaced by the line number. The first 'sed' inserts a
18278 # line-number line after each line using $LINENO; the second 'sed'
18279 # does the real work. The second script uses 'N' to pair each
18280 # line-number line with the line containing $LINENO, and appends
18281 # trailing '-' during substitution so that $LINENO is not a special
18282 # case at line end.
18283 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
18284 # scripts with optimization help from Paolo Bonzini. Blame Lee
18285 # E. McMahon (1931-1989) for sed's syntax. :-)
18297 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
18300 ' >$as_me.lineno &&
18301 chmod +x "$as_me.lineno" ||
18302 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
18303 { (exit 1); exit 1; }; }
18305 # Don't try to exec as it changes $[0], causing all sort of problems
18306 # (the dirname of $[0] is not the place where we might find the
18307 # original and so on. Autoconf is especially sensitive to this).
18308 . "./$as_me.lineno"
18309 # Exit status is that of the last command.
18314 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18320 ECHO_C= ECHO_N= ECHO_T=
18321 case `echo -n x` in
18323 case `echo 'x\c'` in
18324 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18330 if expr a : '\(a\)' >/dev/null 2>&1 &&
18331 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18337 rm -f conf$$ conf$$.exe conf$$.file
18338 if test -d conf$$.dir; then
18339 rm -f conf$$.dir/conf$$.file
18342 mkdir conf$$.dir 2>/dev/null
18344 if (echo >conf$$.file) 2>/dev/null; then
18345 if ln -s conf$$.file conf$$ 2>/dev/null; then
18347 # ... but there are two gotchas:
18348 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18349 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18350 # In both cases, we have to default to `cp -p'.
18351 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18353 elif ln conf$$.file conf$$ 2>/dev/null; then
18361 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18362 rmdir conf$$.dir 2>/dev/null
18364 if mkdir -p . 2>/dev/null; then
18367 test -d ./-p && rmdir ./-p
18371 if test -x / >/dev/null 2>&1; then
18372 as_test_x='test -x'
18374 if ls -dL / >/dev/null 2>&1; then
18381 if test -d "$1"; then
18387 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
18388 ???[sx]*):;;*)false;;esac;fi
18392 as_executable_p=$as_test_x
18394 # Sed expression to map a string onto a valid CPP name.
18395 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18397 # Sed expression to map a string onto a valid variable name.
18398 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18403 # Save the log message, to keep $[0] and so on meaningful, and to
18404 # report actual input values of CONFIG_FILES etc. instead of their
18405 # values after options handling.
18407 This file was extended by $as_me, which was
18408 generated by GNU Autoconf 2.63. Invocation command line was
18410 CONFIG_FILES = $CONFIG_FILES
18411 CONFIG_HEADERS = $CONFIG_HEADERS
18412 CONFIG_LINKS = $CONFIG_LINKS
18413 CONFIG_COMMANDS = $CONFIG_COMMANDS
18416 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18421 case $ac_config_files in *"
18422 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18425 case $ac_config_headers in *"
18426 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18430 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18431 # Files that config.status was made for.
18432 config_files="$ac_config_files"
18433 config_headers="$ac_config_headers"
18434 config_commands="$ac_config_commands"
18438 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18440 \`$as_me' instantiates files from templates according to the
18441 current configuration.
18443 Usage: $0 [OPTION]... [FILE]...
18445 -h, --help print this help, then exit
18446 -V, --version print version number and configuration settings, then exit
18447 -q, --quiet, --silent
18448 do not print progress messages
18449 -d, --debug don't remove temporary files
18450 --recheck update $as_me by reconfiguring in the same conditions
18451 --file=FILE[:TEMPLATE]
18452 instantiate the configuration file FILE
18453 --header=FILE[:TEMPLATE]
18454 instantiate the configuration header FILE
18456 Configuration files:
18459 Configuration headers:
18462 Configuration commands:
18465 Report bugs to <bug-autoconf@gnu.org>."
18468 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18471 configured by $0, generated by GNU Autoconf 2.63,
18472 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
18474 Copyright (C) 2008 Free Software Foundation, Inc.
18475 This config.status script is free software; the Free Software Foundation
18476 gives unlimited permission to copy, distribute and modify it."
18483 test -n "\$AWK" || AWK=awk
18486 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18487 # The default lists apply if the user does not specify any file.
18493 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18494 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18505 # Handling of the options.
18506 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18508 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18509 $as_echo "$ac_cs_version"; exit ;;
18510 --debug | --debu | --deb | --de | --d | -d )
18512 --file | --fil | --fi | --f )
18515 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18517 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
18518 ac_need_defaults=false;;
18519 --header | --heade | --head | --hea )
18522 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18524 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
18525 ac_need_defaults=false;;
18527 # Conflict between --help and --header
18528 { $as_echo "$as_me: error: ambiguous option: $1
18529 Try \`$0 --help' for more information." >&2
18530 { (exit 1); exit 1; }; };;
18531 --help | --hel | -h )
18532 $as_echo "$ac_cs_usage"; exit ;;
18533 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18534 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18537 # This is an error.
18538 -*) { $as_echo "$as_me: error: unrecognized option: $1
18539 Try \`$0 --help' for more information." >&2
18540 { (exit 1); exit 1; }; } ;;
18542 *) ac_config_targets="$ac_config_targets $1"
18543 ac_need_defaults=false ;;
18549 ac_configure_extra_args=
18551 if $ac_cs_silent; then
18553 ac_configure_extra_args="$ac_configure_extra_args --silent"
18557 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18558 if \$ac_cs_recheck; then
18559 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18561 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18562 CONFIG_SHELL='$SHELL'
18563 export CONFIG_SHELL
18568 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18572 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18573 ## Running $as_me. ##
18579 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18583 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
18586 # The HP-UX ksh and POSIX shell print the target directory to stdout
18587 # if CDPATH is set.
18588 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18590 sed_quote_subst='$sed_quote_subst'
18591 double_quote_subst='$double_quote_subst'
18592 delay_variable_subst='$delay_variable_subst'
18593 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
18594 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
18595 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
18596 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
18597 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
18598 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
18599 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
18600 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
18601 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
18602 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
18603 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
18604 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
18605 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
18606 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
18607 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
18608 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
18609 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
18610 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
18611 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
18612 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
18613 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
18614 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
18615 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
18616 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
18617 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
18618 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
18619 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
18620 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18621 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
18622 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
18623 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
18624 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
18625 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
18626 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
18627 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
18628 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18629 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18630 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18631 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
18632 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
18633 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
18634 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
18635 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
18636 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
18637 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
18638 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
18639 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
18640 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
18641 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
18642 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
18643 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
18644 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
18645 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
18646 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
18647 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
18648 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
18649 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
18650 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
18651 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
18652 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
18653 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
18654 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
18655 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18656 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18657 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
18658 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
18659 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
18660 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
18661 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
18662 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18663 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18664 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18665 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18666 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18667 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18668 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
18669 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
18670 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
18671 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
18672 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
18673 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
18674 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
18675 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
18676 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
18677 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
18678 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
18679 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
18680 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
18681 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
18682 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
18683 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18684 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
18685 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
18686 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18687 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
18688 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
18689 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
18690 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
18691 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
18692 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
18693 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
18694 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
18695 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
18696 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
18697 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
18698 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18699 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18700 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18701 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
18702 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
18703 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
18704 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
18705 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
18706 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
18707 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
18708 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
18709 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
18710 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
18711 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
18712 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
18713 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
18714 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
18715 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
18716 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
18717 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18718 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18719 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18720 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18721 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18722 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18723 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18724 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18725 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18726 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18727 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18728 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18729 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18730 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18731 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18732 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18733 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18734 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18735 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18736 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18737 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18738 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18739 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18740 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18741 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18742 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18743 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18744 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18745 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18746 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18747 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18748 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18749 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18750 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18751 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18752 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18753 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18754 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18755 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18756 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18757 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18758 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18759 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18760 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18761 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18762 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18763 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18766 LTCFLAGS='$LTCFLAGS'
18767 compiler='$compiler_DEFAULT'
18769 # Quote evaled strings.
18781 deplibs_check_method \
18790 lt_cv_sys_global_symbol_pipe \
18791 lt_cv_sys_global_symbol_to_cdecl \
18792 lt_cv_sys_global_symbol_to_c_name_address \
18793 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18796 lt_prog_compiler_no_builtin_flag \
18797 lt_prog_compiler_wl \
18798 lt_prog_compiler_pic \
18799 lt_prog_compiler_static \
18800 lt_cv_prog_compiler_c_o \
18808 export_dynamic_flag_spec \
18809 whole_archive_flag_spec \
18810 compiler_needs_object \
18812 allow_undefined_flag \
18813 no_undefined_flag \
18814 hardcode_libdir_flag_spec \
18815 hardcode_libdir_flag_spec_ld \
18816 hardcode_libdir_separator \
18821 variables_saved_for_relink \
18823 library_names_spec \
18828 compiler_lib_search_dirs \
18833 compiler_lib_search_path \
18836 lt_prog_compiler_no_builtin_flag_CXX \
18837 lt_prog_compiler_wl_CXX \
18838 lt_prog_compiler_pic_CXX \
18839 lt_prog_compiler_static_CXX \
18840 lt_cv_prog_compiler_c_o_CXX \
18841 export_dynamic_flag_spec_CXX \
18842 whole_archive_flag_spec_CXX \
18843 compiler_needs_object_CXX \
18845 allow_undefined_flag_CXX \
18846 no_undefined_flag_CXX \
18847 hardcode_libdir_flag_spec_CXX \
18848 hardcode_libdir_flag_spec_ld_CXX \
18849 hardcode_libdir_separator_CXX \
18850 fix_srcfile_path_CXX \
18851 exclude_expsyms_CXX \
18852 include_expsyms_CXX \
18853 file_list_spec_CXX \
18854 compiler_lib_search_dirs_CXX \
18855 predep_objects_CXX \
18856 postdep_objects_CXX \
18859 compiler_lib_search_path_CXX; do
18860 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
18861 *[\\\\\\\`\\"\\\$]*)
18862 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
18865 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18870 # Double-quote double-evaled strings.
18871 for var in reload_cmds \
18872 old_postinstall_cmds \
18873 old_postuninstall_cmds \
18875 extract_expsyms_cmds \
18876 old_archive_from_new_cmds \
18877 old_archive_from_expsyms_cmds \
18879 archive_expsym_cmds \
18881 module_expsym_cmds \
18882 export_symbols_cmds \
18885 postuninstall_cmds \
18887 sys_lib_search_path_spec \
18888 sys_lib_dlsearch_path_spec \
18889 old_archive_cmds_CXX \
18890 old_archive_from_new_cmds_CXX \
18891 old_archive_from_expsyms_cmds_CXX \
18893 archive_expsym_cmds_CXX \
18895 module_expsym_cmds_CXX \
18896 export_symbols_cmds_CXX \
18897 prelink_cmds_CXX; do
18898 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
18899 *[\\\\\\\`\\"\\\$]*)
18900 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
18903 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18908 # Fix-up fallback echo if it was mangled by the above quoting rules.
18910 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
18914 ac_aux_dir='$ac_aux_dir'
18915 xsi_shell='$xsi_shell'
18916 lt_shell_append='$lt_shell_append'
18918 # See if we are running on zsh, and set the options which allow our
18919 # commands through without removal of \ escapes INIT.
18920 if test -n "\${ZSH_VERSION+set}" ; then
18921 setopt NO_GLOB_SUBST
18927 TIMESTAMP='$TIMESTAMP'
18938 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18940 # Handling of arguments.
18941 for ac_config_target in $ac_config_targets
18943 case $ac_config_target in
18944 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
18945 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
18946 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
18947 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
18948 "doc/conf/Makefile") CONFIG_FILES="$CONFIG_FILES doc/conf/Makefile" ;;
18949 "doc/sslfiles/Makefile") CONFIG_FILES="$CONFIG_FILES doc/sslfiles/Makefile" ;;
18950 "doc/heartbeat-ra/Makefile") CONFIG_FILES="$CONFIG_FILES doc/heartbeat-ra/Makefile" ;;
18951 "doc/mibs/Makefile") CONFIG_FILES="$CONFIG_FILES doc/mibs/Makefile" ;;
18952 "l7directord/Makefile") CONFIG_FILES="$CONFIG_FILES l7directord/Makefile" ;;
18953 "l7vsd/Makefile") CONFIG_FILES="$CONFIG_FILES l7vsd/Makefile" ;;
18954 "l7vsd/init.d/Makefile") CONFIG_FILES="$CONFIG_FILES l7vsd/init.d/Makefile" ;;
18955 "l7vsd/module/Makefile") CONFIG_FILES="$CONFIG_FILES l7vsd/module/Makefile" ;;
18956 "l7vsd/module/protocol/Makefile") CONFIG_FILES="$CONFIG_FILES l7vsd/module/protocol/Makefile" ;;
18957 "l7vsd/module/schedule/Makefile") CONFIG_FILES="$CONFIG_FILES l7vsd/module/schedule/Makefile" ;;
18958 "l7vsd/src/Makefile") CONFIG_FILES="$CONFIG_FILES l7vsd/src/Makefile" ;;
18959 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
18960 "l7vsd.spec") CONFIG_FILES="$CONFIG_FILES l7vsd.spec" ;;
18962 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
18963 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
18964 { (exit 1); exit 1; }; };;
18969 # If the user did not use the arguments to specify the items to instantiate,
18970 # then the envvar interface is used. Set only those that are not.
18971 # We use the long form for the default assignment because of an extremely
18972 # bizarre bug on SunOS 4.1.3.
18973 if $ac_need_defaults; then
18974 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18975 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18976 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18979 # Have a temporary directory for convenience. Make it in the build tree
18980 # simply because there is no reason against having it here, and in addition,
18981 # creating and moving files from /tmp can sometimes cause problems.
18982 # Hook for its removal unless debugging.
18983 # Note that there is a small window in which the directory will not be cleaned:
18984 # after its creation but before its name has been assigned to `$tmp'.
18988 trap 'exit_status=$?
18989 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
18991 trap '{ (exit 1); exit 1; }' 1 2 13 15
18993 # Create a (secure) tmp directory for tmp files.
18996 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18997 test -n "$tmp" && test -d "$tmp"
19000 tmp=./conf$$-$RANDOM
19001 (umask 077 && mkdir "$tmp")
19004 $as_echo "$as_me: cannot create a temporary directory in ." >&2
19005 { (exit 1); exit 1; }
19008 # Set up the scripts for CONFIG_FILES section.
19009 # No need to generate them if there are no CONFIG_FILES.
19010 # This happens for instance with `./config.status config.h'.
19011 if test -n "$CONFIG_FILES"; then
19015 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19016 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19019 ac_cs_awk_cr=$ac_cr
19022 echo 'BEGIN {' >"$tmp/subs1.awk" &&
19027 echo "cat >conf$$subs.awk <<_ACEOF" &&
19028 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19030 } >conf$$subs.sh ||
19031 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
19032 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
19033 { (exit 1); exit 1; }; }
19034 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
19036 for ac_last_try in false false false false false :; do
19037 . ./conf$$subs.sh ||
19038 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
19039 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
19040 { (exit 1); exit 1; }; }
19042 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19043 if test $ac_delim_n = $ac_delim_num; then
19045 elif $ac_last_try; then
19046 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
19047 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
19048 { (exit 1); exit 1; }; }
19050 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19053 rm -f conf$$subs.sh
19055 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19056 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
19060 s/^/S["/; s/!.*/"]=/
19070 s/\(.\{148\}\).*/\1/
19072 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19077 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19084 s/\(.\{148\}\).*/\1/
19086 s/["\\]/\\&/g; s/^/"/; s/$/"/
19090 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19095 ' <conf$$subs.awk | sed '
19100 ' >>$CONFIG_STATUS || ac_write_fail=1
19101 rm -f conf$$subs.awk
19102 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19104 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
19105 for (key in S) S_is_set[key] = 1
19111 nfields = split(line, field, "@")
19113 len = length(field[1])
19114 for (i = 2; i < nfields; i++) {
19116 keylen = length(key)
19117 if (S_is_set[key]) {
19119 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19120 len += length(value) + length(field[++i])
19131 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19132 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19133 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19136 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
19137 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
19138 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
19139 { (exit 1); exit 1; }; }
19142 # VPATH may cause trouble with some makes, so we remove $(srcdir),
19143 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
19144 # trailing colons and then remove the whole line if VPATH becomes empty
19145 # (actually we leave an empty line to preserve line numbers).
19146 if test "x$srcdir" = x.; then
19147 ac_vpsub='/^[ ]*VPATH[ ]*=/{
19148 s/:*\$(srcdir):*/:/
19149 s/:*\${srcdir}:*/:/
19151 s/^\([^=]*=[ ]*\):*/\1/
19157 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19158 fi # test -n "$CONFIG_FILES"
19160 # Set up the scripts for CONFIG_HEADERS section.
19161 # No need to generate them if there are no CONFIG_HEADERS.
19162 # This happens for instance with `./config.status Makefile'.
19163 if test -n "$CONFIG_HEADERS"; then
19164 cat >"$tmp/defines.awk" <<\_ACAWK ||
19168 # Transform confdefs.h into an awk script `defines.awk', embedded as
19169 # here-document in config.status, that substitutes the proper values into
19170 # config.h.in to produce config.h.
19172 # Create a delimiter string that does not exist in confdefs.h, to ease
19173 # handling of long lines.
19175 for ac_last_try in false false :; do
19176 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
19177 if test -z "$ac_t"; then
19179 elif $ac_last_try; then
19180 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
19181 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
19182 { (exit 1); exit 1; }; }
19184 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19188 # For the awk script, D is an array of macro values keyed by name,
19189 # likewise P contains macro parameters if any. Preserve backslash
19190 # newline sequences.
19192 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19194 s/.\{148\}/&'"$ac_delim"'/g
19197 s/^[ ]*#[ ]*define[ ][ ]*/ /
19204 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19206 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19210 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19211 D["\1"]=" \3\\\\\\n"\\/p
19213 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19218 s/.\{148\}/&'"$ac_delim"'/g
19223 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19226 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19228 ' <confdefs.h | sed '
19229 s/'"$ac_delim"'/"\\\
19230 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19232 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19233 for (key in D) D_is_set[key] = 1
19236 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19238 split(line, arg, " ")
19239 if (arg[1] == "#") {
19243 defundef = substr(arg[1], 2)
19246 split(mac1, mac2, "(") #)
19248 prefix = substr(line, 1, index(line, defundef) - 1)
19249 if (D_is_set[macro]) {
19250 # Preserve the white space surrounding the "#".
19251 print prefix "define", macro P[macro] D[macro]
19254 # Replace #undef with comments. This is necessary, for example,
19255 # in the case of _POSIX_SOURCE, which is predefined and required
19256 # on some systems where configure will not decide to define it.
19257 if (defundef == "undef") {
19258 print "/*", prefix defundef, macro, "*/"
19266 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19267 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
19268 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
19269 { (exit 1); exit 1; }; }
19270 fi # test -n "$CONFIG_HEADERS"
19273 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
19278 :[FHLC]) ac_mode=$ac_tag; continue;;
19280 case $ac_mode$ac_tag in
19282 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
19283 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
19284 { (exit 1); exit 1; }; };;
19285 :[FH]-) ac_tag=-:-;;
19286 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19303 -) ac_f="$tmp/stdin";;
19304 *) # Look for the file first in the build tree, then in the source tree
19305 # (if the path is not absolute). The absolute path cannot be DOS-style,
19306 # because $ac_f cannot contain `:'.
19310 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19312 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
19313 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
19314 { (exit 1); exit 1; }; };;
19316 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19317 ac_file_inputs="$ac_file_inputs '$ac_f'"
19320 # Let's still pretend it is `configure' which instantiates (i.e., don't
19321 # use $as_me), people would be surprised to read:
19322 # /* config.h. Generated by config.status. */
19323 configure_input='Generated from '`
19324 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19326 if test x"$ac_file" != x-; then
19327 configure_input="$ac_file. $configure_input"
19328 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
19329 $as_echo "$as_me: creating $ac_file" >&6;}
19331 # Neutralize special characters interpreted by sed in replacement strings.
19332 case $configure_input in #(
19333 *\&* | *\|* | *\\* )
19334 ac_sed_conf_input=`$as_echo "$configure_input" |
19335 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19336 *) ac_sed_conf_input=$configure_input;;
19340 *:-:* | *:-) cat >"$tmp/stdin" \
19341 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
19342 $as_echo "$as_me: error: could not create $ac_file" >&2;}
19343 { (exit 1); exit 1; }; } ;;
19348 ac_dir=`$as_dirname -- "$ac_file" ||
19349 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19350 X"$ac_file" : 'X\(//\)[^/]' \| \
19351 X"$ac_file" : 'X\(//\)$' \| \
19352 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19353 $as_echo X"$ac_file" |
19354 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19358 /^X\(\/\/\)[^/].*/{
19373 -*) as_dir=./$as_dir;;
19375 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
19379 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19380 *) as_qdir=$as_dir;;
19382 as_dirs="'$as_qdir' $as_dirs"
19383 as_dir=`$as_dirname -- "$as_dir" ||
19384 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19385 X"$as_dir" : 'X\(//\)[^/]' \| \
19386 X"$as_dir" : 'X\(//\)$' \| \
19387 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19388 $as_echo X"$as_dir" |
19389 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19393 /^X\(\/\/\)[^/].*/{
19406 test -d "$as_dir" && break
19408 test -z "$as_dirs" || eval "mkdir $as_dirs"
19409 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
19410 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
19411 { (exit 1); exit 1; }; }; }
19415 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19417 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19418 # A ".." for each directory in $ac_dir_suffix.
19419 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19420 case $ac_top_builddir_sub in
19421 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19422 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19425 ac_abs_top_builddir=$ac_pwd
19426 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19427 # for backward compatibility:
19428 ac_top_builddir=$ac_top_build_prefix
19431 .) # We are building in place.
19433 ac_top_srcdir=$ac_top_builddir_sub
19434 ac_abs_top_srcdir=$ac_pwd ;;
19435 [\\/]* | ?:[\\/]* ) # Absolute name.
19436 ac_srcdir=$srcdir$ac_dir_suffix;
19437 ac_top_srcdir=$srcdir
19438 ac_abs_top_srcdir=$srcdir ;;
19439 *) # Relative name.
19440 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19441 ac_top_srcdir=$ac_top_build_prefix$srcdir
19442 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19444 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19454 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
19455 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
19457 ac_MKDIR_P=$MKDIR_P
19459 [\\/$]* | ?:[\\/]* ) ;;
19460 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
19464 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19465 # If the template does not know about datarootdir, expand it.
19466 # FIXME: This hack should be removed a few years after 2.60.
19467 ac_datarootdir_hack=; ac_datarootdir_seen=
19480 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19481 *datarootdir*) ac_datarootdir_seen=yes;;
19482 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19483 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19484 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19486 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19487 ac_datarootdir_hack='
19488 s&@datadir@&$datadir&g
19489 s&@docdir@&$docdir&g
19490 s&@infodir@&$infodir&g
19491 s&@localedir@&$localedir&g
19492 s&@mandir@&$mandir&g
19493 s&\\\${datarootdir}&$datarootdir&g' ;;
19497 # Neutralize VPATH when `$srcdir' = `.'.
19498 # Shell code in configure.ac might set extrasub.
19499 # FIXME: do we really want to maintain this feature?
19500 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19501 ac_sed_extra="$ac_vpsub
19504 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19506 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19507 s|@configure_input@|$ac_sed_conf_input|;t t
19508 s&@top_builddir@&$ac_top_builddir_sub&;t t
19509 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19510 s&@srcdir@&$ac_srcdir&;t t
19511 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19512 s&@top_srcdir@&$ac_top_srcdir&;t t
19513 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19514 s&@builddir@&$ac_builddir&;t t
19515 s&@abs_builddir@&$ac_abs_builddir&;t t
19516 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19517 s&@INSTALL@&$ac_INSTALL&;t t
19518 s&@MKDIR_P@&$ac_MKDIR_P&;t t
19519 $ac_datarootdir_hack
19521 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
19522 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
19523 $as_echo "$as_me: error: could not create $ac_file" >&2;}
19524 { (exit 1); exit 1; }; }
19526 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19527 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
19528 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
19529 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19530 which seems to be undefined. Please make sure it is defined." >&5
19531 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19532 which seems to be undefined. Please make sure it is defined." >&2;}
19536 -) cat "$tmp/out" && rm -f "$tmp/out";;
19537 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
19539 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
19540 $as_echo "$as_me: error: could not create $ac_file" >&2;}
19541 { (exit 1); exit 1; }; }
19547 if test x"$ac_file" != x-; then
19549 $as_echo "/* $configure_input */" \
19550 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
19551 } >"$tmp/config.h" \
19552 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
19553 $as_echo "$as_me: error: could not create $ac_file" >&2;}
19554 { (exit 1); exit 1; }; }
19555 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
19556 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
19557 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19560 mv "$tmp/config.h" "$ac_file" \
19561 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
19562 $as_echo "$as_me: error: could not create $ac_file" >&2;}
19563 { (exit 1); exit 1; }; }
19566 $as_echo "/* $configure_input */" \
19567 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
19568 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
19569 $as_echo "$as_me: error: could not create -" >&2;}
19570 { (exit 1); exit 1; }; }
19572 # Compute "$ac_file"'s index in $config_headers.
19575 for _am_header in $config_headers :; do
19576 case $_am_header in
19577 $_am_arg | $_am_arg:* )
19580 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
19583 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
19584 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19585 X"$_am_arg" : 'X\(//\)[^/]' \| \
19586 X"$_am_arg" : 'X\(//\)$' \| \
19587 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
19588 $as_echo X"$_am_arg" |
19589 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19593 /^X\(\/\/\)[^/].*/{
19605 s/.*/./; q'`/stamp-h$_am_stamp_count
19608 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
19609 $as_echo "$as_me: executing $ac_file commands" >&6;}
19614 case $ac_file$ac_mode in
19615 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
19616 # Autoconf 2.62 quotes --file arguments for eval, but not when files
19617 # are listed without --file. Let's play safe and only enable the eval
19618 # if we detect the quoting.
19619 case $CONFIG_FILES in
19620 *\'*) eval set x "$CONFIG_FILES" ;;
19621 *) set x $CONFIG_FILES ;;
19626 # Strip MF so we end up with the name of the file.
19627 mf=`echo "$mf" | sed -e 's/:.*$//'`
19628 # Check whether this is an Automake generated Makefile or not.
19629 # We used to match only the files named `Makefile.in', but
19630 # some people rename them; so instead we look at the file content.
19631 # Grep'ing the first line is not enough: some people post-process
19632 # each Makefile.in and add a new line on top of each file to say so.
19633 # Grep'ing the whole file is not good either: AIX grep has a line
19634 # limit of 2048, but all sed's we know have understand at least 4000.
19635 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
19636 dirpart=`$as_dirname -- "$mf" ||
19637 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19638 X"$mf" : 'X\(//\)[^/]' \| \
19639 X"$mf" : 'X\(//\)$' \| \
19640 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
19642 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19646 /^X\(\/\/\)[^/].*/{
19662 # Extract the definition of DEPDIR, am__include, and am__quote
19663 # from the Makefile without running `make'.
19664 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
19665 test -z "$DEPDIR" && continue
19666 am__include=`sed -n 's/^am__include = //p' < "$mf"`
19667 test -z "am__include" && continue
19668 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
19669 # When using ansi2knr, U may be empty or an underscore; expand it
19670 U=`sed -n 's/^U = //p' < "$mf"`
19671 # Find all dependency output files, they are included files with
19672 # $(DEPDIR) in their names. We invoke sed twice because it is the
19673 # simplest approach to changing $(DEPDIR) to its actual value in the
19675 for file in `sed -n "
19676 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
19677 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
19678 # Make sure the directory exists.
19679 test -f "$dirpart/$file" && continue
19680 fdir=`$as_dirname -- "$file" ||
19681 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19682 X"$file" : 'X\(//\)[^/]' \| \
19683 X"$file" : 'X\(//\)$' \| \
19684 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
19685 $as_echo X"$file" |
19686 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19690 /^X\(\/\/\)[^/].*/{
19703 { as_dir=$dirpart/$fdir
19705 -*) as_dir=./$as_dir;;
19707 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
19711 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19712 *) as_qdir=$as_dir;;
19714 as_dirs="'$as_qdir' $as_dirs"
19715 as_dir=`$as_dirname -- "$as_dir" ||
19716 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19717 X"$as_dir" : 'X\(//\)[^/]' \| \
19718 X"$as_dir" : 'X\(//\)$' \| \
19719 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19720 $as_echo X"$as_dir" |
19721 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19725 /^X\(\/\/\)[^/].*/{
19738 test -d "$as_dir" && break
19740 test -z "$as_dirs" || eval "mkdir $as_dirs"
19741 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
19742 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
19743 { (exit 1); exit 1; }; }; }
19744 # echo "creating $dirpart/$file"
19745 echo '# dummy' > "$dirpart/$file"
19752 # See if we are running on zsh, and set the options which allow our
19753 # commands through without removal of \ escapes.
19754 if test -n "${ZSH_VERSION+set}" ; then
19755 setopt NO_GLOB_SUBST
19758 cfgfile="${ofile}T"
19759 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
19762 cat <<_LT_EOF >> "$cfgfile"
19765 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
19766 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
19767 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19768 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
19770 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
19771 # 2006, 2007, 2008 Free Software Foundation, Inc.
19772 # Written by Gordon Matzigkeit, 1996
19774 # This file is part of GNU Libtool.
19776 # GNU Libtool is free software; you can redistribute it and/or
19777 # modify it under the terms of the GNU General Public License as
19778 # published by the Free Software Foundation; either version 2 of
19779 # the License, or (at your option) any later version.
19781 # As a special exception to the GNU General Public License,
19782 # if you distribute this file as part of a program or library that
19783 # is built using GNU Libtool, you may include this file under the
19784 # same distribution terms that you use for the rest of that program.
19786 # GNU Libtool is distributed in the hope that it will be useful,
19787 # but WITHOUT ANY WARRANTY; without even the implied warranty of
19788 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19789 # GNU General Public License for more details.
19791 # You should have received a copy of the GNU General Public License
19792 # along with GNU Libtool; see the file COPYING. If not, a copy
19793 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
19794 # obtained by writing to the Free Software Foundation, Inc.,
19795 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19798 # The names of the tagged configurations supported by this script.
19799 available_tags="CXX "
19801 # ### BEGIN LIBTOOL CONFIG
19803 # Which release of libtool.m4 was used?
19804 macro_version=$macro_version
19805 macro_revision=$macro_revision
19807 # Whether or not to build shared libraries.
19808 build_libtool_libs=$enable_shared
19810 # Whether or not to build static libraries.
19811 build_old_libs=$enable_static
19813 # What type of objects to build.
19816 # Whether or not to optimize for fast installation.
19817 fast_install=$enable_fast_install
19820 host_alias=$host_alias
19824 # The build system.
19825 build_alias=$build_alias
19829 # A sed program that does not truncate output.
19832 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
19833 Xsed="\$SED -e 1s/^X//"
19835 # A grep program that handles long lines.
19841 # A literal string matcher.
19844 # A BSD- or MS-compatible name lister.
19847 # Whether we need soft or hard links.
19850 # What is the maximum length of a command?
19851 max_cmd_len=$max_cmd_len
19853 # Object file suffix (normally "o").
19856 # Executable file suffix (normally "").
19859 # whether the shell understands "unset".
19862 # turn spaces into newlines.
19865 # turn newlines into spaces.
19868 # How to create reloadable object files.
19869 reload_flag=$lt_reload_flag
19870 reload_cmds=$lt_reload_cmds
19872 # An object symbol dumper.
19873 OBJDUMP=$lt_OBJDUMP
19875 # Method to check whether dependent libraries are shared objects.
19876 deplibs_check_method=$lt_deplibs_check_method
19878 # Command to use when deplibs_check_method == "file_magic".
19879 file_magic_cmd=$lt_file_magic_cmd
19883 AR_FLAGS=$lt_AR_FLAGS
19885 # A symbol stripping program.
19888 # Commands used to install an old-style archive.
19890 old_postinstall_cmds=$lt_old_postinstall_cmds
19891 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19896 # LTCC compiler flags.
19897 LTCFLAGS=$lt_CFLAGS
19899 # Take the output of nm and produce a listing of raw symbols and C names.
19900 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19902 # Transform the output of nm in a proper C declaration.
19903 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19905 # Transform the output of nm in a C name address pair.
19906 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19908 # Transform the output of nm in a C name address pair when lib prefix is needed.
19909 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19911 # The name of the directory that contains temporary libtool files.
19914 # Shell to use when invoking shell scripts.
19917 # An echo program that does not interpret backslashes.
19920 # Used to examine libraries when file_magic_cmd begins with "file".
19921 MAGIC_CMD=$MAGIC_CMD
19923 # Must we lock files when doing compilation?
19924 need_locks=$lt_need_locks
19926 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19927 DSYMUTIL=$lt_DSYMUTIL
19929 # Tool to change global to local symbols on Mac OS X.
19932 # Tool to manipulate fat objects and archives on Mac OS X.
19935 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
19938 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
19939 OTOOL64=$lt_OTOOL64
19941 # Old archive suffix (normally "a").
19944 # Shared library suffix (normally ".so").
19945 shrext_cmds=$lt_shrext_cmds
19947 # The commands to extract the exported symbol list from a shared archive.
19948 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19950 # Variables whose values should be saved in libtool wrapper scripts and
19951 # restored at link time.
19952 variables_saved_for_relink=$lt_variables_saved_for_relink
19954 # Do we need the "lib" prefix for modules?
19955 need_lib_prefix=$need_lib_prefix
19957 # Do we need a version for libraries?
19958 need_version=$need_version
19960 # Library versioning type.
19961 version_type=$version_type
19963 # Shared library runtime path variable.
19964 runpath_var=$runpath_var
19966 # Shared library path variable.
19967 shlibpath_var=$shlibpath_var
19969 # Is shlibpath searched before the hard-coded library search path?
19970 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19972 # Format of library name prefix.
19973 libname_spec=$lt_libname_spec
19975 # List of archive names. First name is the real one, the rest are links.
19976 # The last name is the one that the linker finds with -lNAME
19977 library_names_spec=$lt_library_names_spec
19979 # The coded name of the library, if different from the real name.
19980 soname_spec=$lt_soname_spec
19982 # Command to use after installation of a shared archive.
19983 postinstall_cmds=$lt_postinstall_cmds
19985 # Command to use after uninstallation of a shared archive.
19986 postuninstall_cmds=$lt_postuninstall_cmds
19988 # Commands used to finish a libtool library installation in a directory.
19989 finish_cmds=$lt_finish_cmds
19991 # As "finish_cmds", except a single script fragment to be evaled but
19993 finish_eval=$lt_finish_eval
19995 # Whether we should hardcode library paths into libraries.
19996 hardcode_into_libs=$hardcode_into_libs
19998 # Compile-time system search path for libraries.
19999 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20001 # Run-time system search path for libraries.
20002 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20004 # Whether dlopen is supported.
20005 dlopen_support=$enable_dlopen
20007 # Whether dlopen of programs is supported.
20008 dlopen_self=$enable_dlopen_self
20010 # Whether dlopen of statically linked programs is supported.
20011 dlopen_self_static=$enable_dlopen_self_static
20013 # Commands to strip libraries.
20014 old_striplib=$lt_old_striplib
20015 striplib=$lt_striplib
20018 # The linker used to build libraries.
20021 # Commands used to build an old-style archive.
20022 old_archive_cmds=$lt_old_archive_cmds
20024 # A language specific compiler.
20027 # Is the compiler the GNU compiler?
20030 # Compiler flag to turn off builtin functions.
20031 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
20033 # How to pass a linker flag through the compiler.
20034 wl=$lt_lt_prog_compiler_wl
20036 # Additional compiler flags for building library objects.
20037 pic_flag=$lt_lt_prog_compiler_pic
20039 # Compiler flag to prevent dynamic linking.
20040 link_static_flag=$lt_lt_prog_compiler_static
20042 # Does compiler simultaneously support -c and -o options?
20043 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
20045 # Whether or not to add -lc for building shared libraries.
20046 build_libtool_need_lc=$archive_cmds_need_lc
20048 # Whether or not to disallow shared libs when runtime libs are static.
20049 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
20051 # Compiler flag to allow reflexive dlopens.
20052 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
20054 # Compiler flag to generate shared objects directly from archives.
20055 whole_archive_flag_spec=$lt_whole_archive_flag_spec
20057 # Whether the compiler copes with passing no objects directly.
20058 compiler_needs_object=$lt_compiler_needs_object
20060 # Create an old-style archive from a shared archive.
20061 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
20063 # Create a temporary old-style archive to link instead of a shared archive.
20064 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
20066 # Commands used to build a shared archive.
20067 archive_cmds=$lt_archive_cmds
20068 archive_expsym_cmds=$lt_archive_expsym_cmds
20070 # Commands used to build a loadable module if different from building
20071 # a shared archive.
20072 module_cmds=$lt_module_cmds
20073 module_expsym_cmds=$lt_module_expsym_cmds
20075 # Whether we are building with GNU ld or not.
20076 with_gnu_ld=$lt_with_gnu_ld
20078 # Flag that allows shared libraries with undefined symbols to be built.
20079 allow_undefined_flag=$lt_allow_undefined_flag
20081 # Flag that enforces no undefined symbols.
20082 no_undefined_flag=$lt_no_undefined_flag
20084 # Flag to hardcode \$libdir into a binary during linking.
20085 # This must work even if \$libdir does not exist
20086 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
20088 # If ld is used when linking, flag to hardcode \$libdir into a binary
20089 # during linking. This must work even if \$libdir does not exist.
20090 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
20092 # Whether we need a single "-rpath" flag with a separated argument.
20093 hardcode_libdir_separator=$lt_hardcode_libdir_separator
20095 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20096 # DIR into the resulting binary.
20097 hardcode_direct=$hardcode_direct
20099 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20100 # DIR into the resulting binary and the resulting library dependency is
20101 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
20102 # library is relocated.
20103 hardcode_direct_absolute=$hardcode_direct_absolute
20105 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
20106 # into the resulting binary.
20107 hardcode_minus_L=$hardcode_minus_L
20109 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
20110 # into the resulting binary.
20111 hardcode_shlibpath_var=$hardcode_shlibpath_var
20113 # Set to "yes" if building a shared library automatically hardcodes DIR
20114 # into the library and all subsequent libraries and executables linked
20116 hardcode_automatic=$hardcode_automatic
20118 # Set to yes if linker adds runtime paths of dependent libraries
20119 # to runtime path list.
20120 inherit_rpath=$inherit_rpath
20122 # Whether libtool must link a program against all its dependency libraries.
20123 link_all_deplibs=$link_all_deplibs
20125 # Fix the shell variable \$srcfile for the compiler.
20126 fix_srcfile_path=$lt_fix_srcfile_path
20128 # Set to "yes" if exported symbols are required.
20129 always_export_symbols=$always_export_symbols
20131 # The commands to list exported symbols.
20132 export_symbols_cmds=$lt_export_symbols_cmds
20134 # Symbols that should not be listed in the preloaded symbols.
20135 exclude_expsyms=$lt_exclude_expsyms
20137 # Symbols that must always be exported.
20138 include_expsyms=$lt_include_expsyms
20140 # Commands necessary for linking programs (against libraries) with templates.
20141 prelink_cmds=$lt_prelink_cmds
20143 # Specify filename containing input files.
20144 file_list_spec=$lt_file_list_spec
20146 # How to hardcode a shared library path into an executable.
20147 hardcode_action=$hardcode_action
20149 # The directories searched by this compiler when creating a shared library.
20150 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
20152 # Dependencies to place before and after the objects being linked to
20153 # create a shared library.
20154 predep_objects=$lt_predep_objects
20155 postdep_objects=$lt_postdep_objects
20156 predeps=$lt_predeps
20157 postdeps=$lt_postdeps
20159 # The library search path used internally by the compiler when linking
20160 # a shared library.
20161 compiler_lib_search_path=$lt_compiler_lib_search_path
20163 # ### END LIBTOOL CONFIG
20169 cat <<\_LT_EOF >> "$cfgfile"
20170 # AIX sometimes has problems with the GCC collect2 program. For some
20171 # reason, if we set the COLLECT_NAMES environment variable, the problems
20172 # vanish in a puff of smoke.
20173 if test "X${COLLECT_NAMES+set}" != Xset; then
20175 export COLLECT_NAMES
20182 ltmain="$ac_aux_dir/ltmain.sh"
20185 # We use sed instead of cat because bash on DJGPP gets confused if
20186 # if finds mixed CR/LF and LF-only lines. Since sed operates in
20187 # text mode, it properly converts lines to CR/LF. This bash problem
20188 # is reportedly fixed, but why not run on old versions too?
20189 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
20190 || (rm -f "$cfgfile"; exit 1)
20194 cat << \_LT_EOF >> "$cfgfile"
20196 # func_dirname file append nondir_replacement
20197 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
20198 # otherwise set result to NONDIR_REPLACEMENT.
20202 */*) func_dirname_result="${1%/*}${2}" ;;
20203 * ) func_dirname_result="${3}" ;;
20207 # func_basename file
20210 func_basename_result="${1##*/}"
20213 # func_dirname_and_basename file append nondir_replacement
20214 # perform func_basename and func_dirname in a single function
20216 # dirname: Compute the dirname of FILE. If nonempty,
20217 # add APPEND to the result, otherwise set result
20218 # to NONDIR_REPLACEMENT.
20219 # value returned in "$func_dirname_result"
20220 # basename: Compute filename of FILE.
20221 # value retuned in "$func_basename_result"
20222 # Implementation must be kept synchronized with func_dirname
20223 # and func_basename. For efficiency, we do not delegate to
20224 # those functions but instead duplicate the functionality here.
20225 func_dirname_and_basename ()
20228 */*) func_dirname_result="${1%/*}${2}" ;;
20229 * ) func_dirname_result="${3}" ;;
20231 func_basename_result="${1##*/}"
20234 # func_stripname prefix suffix name
20235 # strip PREFIX and SUFFIX off of NAME.
20236 # PREFIX and SUFFIX must not contain globbing or regex special
20237 # characters, hashes, percent signs, but SUFFIX may contain a leading
20238 # dot (in which case that matches only a dot).
20241 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
20242 # positional parameters, so assign one to ordinary parameter first.
20243 func_stripname_result=${3}
20244 func_stripname_result=${func_stripname_result#"${1}"}
20245 func_stripname_result=${func_stripname_result%"${2}"}
20251 func_opt_split_opt=${1%%=*}
20252 func_opt_split_arg=${1#*=}
20259 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
20260 *) func_lo2o_result=${1} ;;
20264 # func_xform libobj-or-source
20267 func_xform_result=${1%.*}.lo
20270 # func_arith arithmetic-term...
20273 func_arith_result=$(( $* ))
20277 # STRING may not start with a hyphen.
20280 func_len_result=${#1}
20285 *) # Bourne compatible functions.
20286 cat << \_LT_EOF >> "$cfgfile"
20288 # func_dirname file append nondir_replacement
20289 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
20290 # otherwise set result to NONDIR_REPLACEMENT.
20293 # Extract subdirectory from the argument.
20294 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
20295 if test "X$func_dirname_result" = "X${1}"; then
20296 func_dirname_result="${3}"
20298 func_dirname_result="$func_dirname_result${2}"
20302 # func_basename file
20305 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
20309 # func_stripname prefix suffix name
20310 # strip PREFIX and SUFFIX off of NAME.
20311 # PREFIX and SUFFIX must not contain globbing or regex special
20312 # characters, hashes, percent signs, but SUFFIX may contain a leading
20313 # dot (in which case that matches only a dot).
20314 # func_strip_suffix prefix name
20318 .*) func_stripname_result=`$ECHO "X${3}" \
20319 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
20320 *) func_stripname_result=`$ECHO "X${3}" \
20321 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
20326 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
20327 my_sed_long_arg='1s/^-[^=]*=//'
20332 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
20333 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
20339 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
20342 # func_xform libobj-or-source
20345 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
20348 # func_arith arithmetic-term...
20351 func_arith_result=`expr "$@"`
20355 # STRING may not start with a hyphen.
20358 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
20364 case $lt_shell_append in
20366 cat << \_LT_EOF >> "$cfgfile"
20368 # func_append var value
20369 # Append VALUE to the end of shell variable VAR.
20377 cat << \_LT_EOF >> "$cfgfile"
20379 # func_append var value
20380 # Append VALUE to the end of shell variable VAR.
20391 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
20392 || (rm -f "$cfgfile"; exit 1)
20394 mv -f "$cfgfile" "$ofile" ||
20395 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
20399 cat <<_LT_EOF >> "$ofile"
20401 # ### BEGIN LIBTOOL TAG CONFIG: CXX
20403 # The linker used to build libraries.
20406 # Commands used to build an old-style archive.
20407 old_archive_cmds=$lt_old_archive_cmds_CXX
20409 # A language specific compiler.
20410 CC=$lt_compiler_CXX
20412 # Is the compiler the GNU compiler?
20415 # Compiler flag to turn off builtin functions.
20416 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
20418 # How to pass a linker flag through the compiler.
20419 wl=$lt_lt_prog_compiler_wl_CXX
20421 # Additional compiler flags for building library objects.
20422 pic_flag=$lt_lt_prog_compiler_pic_CXX
20424 # Compiler flag to prevent dynamic linking.
20425 link_static_flag=$lt_lt_prog_compiler_static_CXX
20427 # Does compiler simultaneously support -c and -o options?
20428 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
20430 # Whether or not to add -lc for building shared libraries.
20431 build_libtool_need_lc=$archive_cmds_need_lc_CXX
20433 # Whether or not to disallow shared libs when runtime libs are static.
20434 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
20436 # Compiler flag to allow reflexive dlopens.
20437 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
20439 # Compiler flag to generate shared objects directly from archives.
20440 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
20442 # Whether the compiler copes with passing no objects directly.
20443 compiler_needs_object=$lt_compiler_needs_object_CXX
20445 # Create an old-style archive from a shared archive.
20446 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
20448 # Create a temporary old-style archive to link instead of a shared archive.
20449 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
20451 # Commands used to build a shared archive.
20452 archive_cmds=$lt_archive_cmds_CXX
20453 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
20455 # Commands used to build a loadable module if different from building
20456 # a shared archive.
20457 module_cmds=$lt_module_cmds_CXX
20458 module_expsym_cmds=$lt_module_expsym_cmds_CXX
20460 # Whether we are building with GNU ld or not.
20461 with_gnu_ld=$lt_with_gnu_ld_CXX
20463 # Flag that allows shared libraries with undefined symbols to be built.
20464 allow_undefined_flag=$lt_allow_undefined_flag_CXX
20466 # Flag that enforces no undefined symbols.
20467 no_undefined_flag=$lt_no_undefined_flag_CXX
20469 # Flag to hardcode \$libdir into a binary during linking.
20470 # This must work even if \$libdir does not exist
20471 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
20473 # If ld is used when linking, flag to hardcode \$libdir into a binary
20474 # during linking. This must work even if \$libdir does not exist.
20475 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
20477 # Whether we need a single "-rpath" flag with a separated argument.
20478 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
20480 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20481 # DIR into the resulting binary.
20482 hardcode_direct=$hardcode_direct_CXX
20484 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20485 # DIR into the resulting binary and the resulting library dependency is
20486 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
20487 # library is relocated.
20488 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
20490 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
20491 # into the resulting binary.
20492 hardcode_minus_L=$hardcode_minus_L_CXX
20494 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
20495 # into the resulting binary.
20496 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
20498 # Set to "yes" if building a shared library automatically hardcodes DIR
20499 # into the library and all subsequent libraries and executables linked
20501 hardcode_automatic=$hardcode_automatic_CXX
20503 # Set to yes if linker adds runtime paths of dependent libraries
20504 # to runtime path list.
20505 inherit_rpath=$inherit_rpath_CXX
20507 # Whether libtool must link a program against all its dependency libraries.
20508 link_all_deplibs=$link_all_deplibs_CXX
20510 # Fix the shell variable \$srcfile for the compiler.
20511 fix_srcfile_path=$lt_fix_srcfile_path_CXX
20513 # Set to "yes" if exported symbols are required.
20514 always_export_symbols=$always_export_symbols_CXX
20516 # The commands to list exported symbols.
20517 export_symbols_cmds=$lt_export_symbols_cmds_CXX
20519 # Symbols that should not be listed in the preloaded symbols.
20520 exclude_expsyms=$lt_exclude_expsyms_CXX
20522 # Symbols that must always be exported.
20523 include_expsyms=$lt_include_expsyms_CXX
20525 # Commands necessary for linking programs (against libraries) with templates.
20526 prelink_cmds=$lt_prelink_cmds_CXX
20528 # Specify filename containing input files.
20529 file_list_spec=$lt_file_list_spec_CXX
20531 # How to hardcode a shared library path into an executable.
20532 hardcode_action=$hardcode_action_CXX
20534 # The directories searched by this compiler when creating a shared library.
20535 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
20537 # Dependencies to place before and after the objects being linked to
20538 # create a shared library.
20539 predep_objects=$lt_predep_objects_CXX
20540 postdep_objects=$lt_postdep_objects_CXX
20541 predeps=$lt_predeps_CXX
20542 postdeps=$lt_postdeps_CXX
20544 # The library search path used internally by the compiler when linking
20545 # a shared library.
20546 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
20548 # ### END LIBTOOL TAG CONFIG: CXX
20557 { (exit 0); exit 0; }
20559 chmod +x $CONFIG_STATUS
20560 ac_clean_files=$ac_clean_files_save
20562 test $ac_write_fail = 0 ||
20563 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
20564 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
20565 { (exit 1); exit 1; }; }
20568 # configure is writing to config.log, and then calls config.status.
20569 # config.status does its own redirection, appending to config.log.
20570 # Unfortunately, on DOS this fails, as config.log is still kept open
20571 # by configure, so config.status won't be able to write to it; its
20572 # output is simply discarded. So we exec the FD to /dev/null,
20573 # effectively closing config.log, so it can be properly (re)opened and
20574 # appended to by config.status. When coming back to configure, we
20575 # need to make the FD available again.
20576 if test "$no_create" != yes; then
20578 ac_config_status_args=
20579 test "$silent" = yes &&
20580 ac_config_status_args="$ac_config_status_args --quiet"
20582 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20584 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20585 # would make configure fail if this is the last instruction.
20586 $ac_cs_success || { (exit 1); exit 1; }
20588 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20589 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20590 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}