2 # From configure.in Id: configure.in 1961 2007-05-08 00:29:15Z sirvulcan .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for X3 2.0-rc1.
6 # Report bugs to <evilnet-devel@lists.sourceforge.net>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
16 # Be more Bourne compatible
17 DUALCASE
=1; export DUALCASE
# for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
26 case `(set -o) 2>/dev/null` in
27 *posix
*) set -o posix
;;
36 # Avoid depending upon Character Ranges.
37 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits
='0123456789'
41 as_cr_alnum
=$as_cr_Letters$as_cr_digits
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
48 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
56 # Support unset when possible.
57 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
73 # Find who we are. Look in the path if we contain no directory separator.
75 *[\\/]* ) as_myself
=$0 ;;
76 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
80 test -z "$as_dir" && as_dir
=.
81 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x
; then
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var
in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
111 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C
; export $as_var
114 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
118 # Required to use basename.
119 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
126 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
133 # Name of the executable.
134 as_me
=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
157 if test "x$CONFIG_SHELL" = x
; then
158 if (eval ":") 2>/dev
/null
; then
164 if test $as_have_required = yes && (eval ":
174 as_func_ret_success () {
177 as_func_ret_failure () {
182 if as_func_success; then
186 echo as_func_success failed.
189 if as_func_failure; then
191 echo as_func_failure succeeded.
194 if as_func_ret_success; then
198 echo as_func_ret_success failed.
201 if as_func_ret_failure; then
203 echo as_func_ret_failure succeeded.
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
210 echo positional parameters were not saved.
213 test \$exitcode = 0) || { (exit 1); exit 1; }
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev
/null
; then
224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
225 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
228 test -z "$as_dir" && as_dir
=.
231 for as_base
in sh bash ksh sh5
; do
232 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
239 for as_shell
in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
251 case `(set -o) 2>/dev/null` in
252 *posix
*) set -o posix
;;
261 CONFIG_SHELL
=$as_shell
263 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
272 case `(set -o) 2>/dev/null` in
273 *posix
*) set -o posix
;;
289 as_func_ret_success
() {
292 as_func_ret_failure
() {
297 if as_func_success
; then
301 echo as_func_success failed.
304 if as_func_failure
; then
306 echo as_func_failure succeeded.
309 if as_func_ret_success
; then
313 echo as_func_ret_success failed.
316 if as_func_ret_failure
; then
318 echo as_func_ret_failure succeeded.
321 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
325 echo positional parameters were not saved.
328 test $exitcode = 0) || { (exit 1); exit 1; }
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
345 if test "x$CONFIG_SHELL" != x
; then
346 for as_var
in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
354 if test $as_have_required = no
; then
355 echo This
script requires a shell
more modern than all the
356 echo shells that I found on your system. Please
install a
357 echo modern shell
, or manually run the
script under such a
358 echo shell
if you
do have one.
359 { (exit 1); exit 1; }
369 (eval "as_func_return () {
378 as_func_ret_success () {
381 as_func_ret_failure () {
386 if as_func_success; then
390 echo as_func_success failed.
393 if as_func_failure; then
395 echo as_func_failure succeeded.
398 if as_func_ret_success; then
402 echo as_func_ret_success failed.
405 if as_func_ret_failure; then
407 echo as_func_ret_failure succeeded.
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
414 echo positional parameters were not saved.
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system
,
420 echo including any error possibly output before this
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
456 chmod +x
"$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
464 # Exit status is that of the last command.
469 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
475 ECHO_C
= ECHO_N
= ECHO_T
=
479 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
486 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
493 rm -f conf$$ conf$$.exe conf$$.
file
494 if test -d conf$$.dir
; then
495 rm -f conf$$.dir
/conf$$.
file
501 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
509 elif ln conf$$.
file conf$$
2>/dev
/null
; then
514 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
515 rmdir conf$$.dir
2>/dev
/null
517 if mkdir -p .
2>/dev
/null
; then
520 test -d .
/-p && rmdir .
/-p
524 if test -x / >/dev
/null
2>&1; then
527 if ls -dL / >/dev
/null
2>&1; then
534 if test -d "$1"; then
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
545 as_executable_p
=$as_test_x
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
556 # Check that we are running under the correct shell.
557 SHELL
=${CONFIG_SHELL-/bin/sh}
561 # Remove one level of quotation (which was required for Make).
562 ECHO
=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
567 if test "X$1" = X
--no-reexec; then
568 # Discard the --no-reexec flag, and continue.
570 elif test "X$1" = X
--fallback-echo; then
571 # Avoid inline document here, it may be left over
573 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
574 # Yippee, $echo works!
577 # Restart under the correct shell.
578 exec $SHELL "$0" --no-reexec ${1+"$@"}
581 if test "X$1" = X
--fallback-echo; then
582 # used as fallback echo
590 # The HP-UX ksh and POSIX shell print the target directory to stdout
592 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
594 if test -z "$ECHO"; then
595 if test "X${echo_test_string+set}" != Xset
; then
596 # find a string as large as possible, as long as the shell can cope with it
597 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
598 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
599 if (echo_test_string
=`eval $cmd`) 2>/dev
/null
&&
600 echo_test_string
=`eval $cmd` &&
601 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev
/null
608 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
609 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
610 test "X$echo_testing_string" = "X$echo_test_string"; then
613 # The Solaris, AIX, and Digital Unix default echo programs unquote
614 # backslashes. This makes it impossible to quote backslashes using
615 # echo "$something" | sed 's/\\/\\\\/g'
617 # So, first we look for a working echo in the user's PATH.
619 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
620 for dir
in $PATH /usr
/ucb
; do
622 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
623 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
624 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
625 test "X$echo_testing_string" = "X$echo_test_string"; then
632 if test "X$echo" = Xecho
; then
633 # We didn't find a better echo, so look for alternatives.
634 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
635 echo_testing_string
=`(print -r "$echo_test_string") 2>/dev/null` &&
636 test "X$echo_testing_string" = "X$echo_test_string"; then
637 # This shell has a builtin print -r that does the trick.
639 elif (test -f /bin
/ksh
|| test -f /bin
/ksh
$ac_exeext) &&
640 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
641 # If we have ksh, try running configure again with it.
642 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
643 export ORIGINAL_CONFIG_SHELL
644 CONFIG_SHELL
=/bin
/ksh
646 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
650 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
651 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
652 test "X$echo_testing_string" = "X$echo_test_string"; then
655 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
656 test "X$echo_testing_string" = 'X\t' &&
657 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
658 test "X$echo_testing_string" = "X$echo_test_string"; then
659 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
661 SHELL
="$CONFIG_SHELL"
663 echo="$CONFIG_SHELL $0 --fallback-echo"
664 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
665 test "X$echo_testing_string" = 'X\t' &&
666 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
667 test "X$echo_testing_string" = "X$echo_test_string"; then
668 echo="$CONFIG_SHELL $0 --fallback-echo"
670 # maybe with a smaller string...
673 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
674 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev
/null
681 if test "$prev" != 'sed 50q "$0"'; then
682 echo_test_string
=`eval $prev`
683 export echo_test_string
684 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
686 # Oops. We lost completely, so just stick with echo.
695 # Copy echo and quote the copy suitably for passing to libtool from
696 # the Makefile, instead of quoting the original, which is used later.
698 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
699 ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
705 tagnames
=${tagnames+${tagnames},}CXX
707 tagnames
=${tagnames+${tagnames},}F77
709 exec 7<&0 </dev
/null
6>&1
712 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
713 # so uname gets run too.
714 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
719 ac_default_prefix
=/usr
/local
721 ac_config_libobj_dir
=.
727 SHELL
=${CONFIG_SHELL-/bin/sh}
729 # Identity of this package.
732 PACKAGE_VERSION
='2.0-rc1'
733 PACKAGE_STRING
='X3 2.0-rc1'
734 PACKAGE_BUGREPORT
='evilnet-devel@lists.sourceforge.net'
736 ac_unique_file
="src/opserv.c"
737 # Factoring default headers for most tests.
738 ac_includes_default
="\
740 #ifdef HAVE_SYS_TYPES_H
741 # include <sys/types.h>
743 #ifdef HAVE_SYS_STAT_H
744 # include <sys/stat.h>
750 # ifdef HAVE_STDLIB_H
755 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
760 #ifdef HAVE_STRINGS_H
761 # include <strings.h>
763 #ifdef HAVE_INTTYPES_H
764 # include <inttypes.h>
782 program_transform_name
836 INSTALL_STRIP_PROGRAM
845 MAINTAINER_MODE_FALSE
892 ac_precious_vars
='build_alias
909 # Initialize some variables set by options.
911 ac_init_version
=false
912 # The variables have the same names as the options, with
913 # dashes changed to underlines.
921 program_transform_name
=s
,x
,x
,
929 # Installation directory options.
930 # These are left unexpanded so users can "make install exec_prefix=/foo"
931 # and all the variables that are supposed to be based on exec_prefix
932 # by default will actually change.
933 # Use braces instead of parens because sh, perl, etc. also accept them.
934 # (The list follows the same order as the GNU Coding Standards.)
935 bindir
='${exec_prefix}/bin'
936 sbindir
='${exec_prefix}/sbin'
937 libexecdir
='${exec_prefix}/libexec'
938 datarootdir
='${prefix}/share'
939 datadir
='${datarootdir}'
940 sysconfdir
='${prefix}/etc'
941 sharedstatedir
='${prefix}/com'
942 localstatedir
='${prefix}/var'
943 includedir
='${prefix}/include'
944 oldincludedir
='/usr/include'
945 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
946 infodir
='${datarootdir}/info'
951 libdir
='${exec_prefix}/lib'
952 localedir
='${datarootdir}/locale'
953 mandir
='${datarootdir}/man'
959 # If the previous option needs an argument, assign it.
960 if test -n "$ac_prev"; then
961 eval $ac_prev=\
$ac_option
967 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
971 # Accept the important Cygnus configure options, so we can diagnose typos.
973 case $ac_dashdash$ac_option in
977 -bindir | --bindir | --bindi | --bind | --bin | --bi)
979 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
982 -build | --build | --buil | --bui | --bu)
983 ac_prev
=build_alias
;;
984 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
985 build_alias
=$ac_optarg ;;
987 -cache-file | --cache-file | --cache-fil | --cache-fi \
988 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
989 ac_prev
=cache_file
;;
990 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
991 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
992 cache_file
=$ac_optarg ;;
995 cache_file
=config.cache
;;
997 -datadir | --datadir | --datadi | --datad)
999 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1000 datadir
=$ac_optarg ;;
1002 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1003 | --dataroo | --dataro | --datar)
1004 ac_prev
=datarootdir
;;
1005 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1006 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1007 datarootdir
=$ac_optarg ;;
1009 -disable-* | --disable-*)
1010 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1011 # Reject names that are not valid shell variable names.
1012 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1013 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1014 { (exit 1); exit 1; }; }
1015 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1016 eval enable_
$ac_feature=no
;;
1018 -docdir | --docdir | --docdi | --doc | --do)
1020 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1021 docdir
=$ac_optarg ;;
1023 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1025 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1026 dvidir
=$ac_optarg ;;
1028 -enable-* | --enable-*)
1029 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1030 # Reject names that are not valid shell variable names.
1031 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1032 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1033 { (exit 1); exit 1; }; }
1034 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1035 eval enable_
$ac_feature=\
$ac_optarg ;;
1037 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1038 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1039 | --exec | --exe | --ex)
1040 ac_prev
=exec_prefix
;;
1041 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1042 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1043 | --exec=* | --exe=* | --ex=*)
1044 exec_prefix
=$ac_optarg ;;
1046 -gas | --gas | --ga | --g)
1047 # Obsolete; use --with-gas.
1050 -help | --help | --hel | --he | -h)
1051 ac_init_help
=long
;;
1052 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1053 ac_init_help
=recursive
;;
1054 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1055 ac_init_help
=short
;;
1057 -host | --host | --hos | --ho)
1058 ac_prev
=host_alias
;;
1059 -host=* | --host=* | --hos=* | --ho=*)
1060 host_alias
=$ac_optarg ;;
1062 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1064 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1066 htmldir
=$ac_optarg ;;
1068 -includedir | --includedir | --includedi | --included | --include \
1069 | --includ | --inclu | --incl | --inc)
1070 ac_prev
=includedir
;;
1071 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1072 | --includ=* | --inclu=* | --incl=* | --inc=*)
1073 includedir
=$ac_optarg ;;
1075 -infodir | --infodir | --infodi | --infod | --info | --inf)
1077 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1078 infodir
=$ac_optarg ;;
1080 -libdir | --libdir | --libdi | --libd)
1082 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1083 libdir
=$ac_optarg ;;
1085 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1086 | --libexe | --libex | --libe)
1087 ac_prev
=libexecdir
;;
1088 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1089 | --libexe=* | --libex=* | --libe=*)
1090 libexecdir
=$ac_optarg ;;
1092 -localedir | --localedir | --localedi | --localed | --locale)
1093 ac_prev
=localedir
;;
1094 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1095 localedir
=$ac_optarg ;;
1097 -localstatedir | --localstatedir | --localstatedi | --localstated \
1098 | --localstate | --localstat | --localsta | --localst | --locals)
1099 ac_prev
=localstatedir
;;
1100 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1101 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1102 localstatedir
=$ac_optarg ;;
1104 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1106 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1107 mandir
=$ac_optarg ;;
1109 -nfp | --nfp | --nf)
1110 # Obsolete; use --without-fp.
1113 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1114 | --no-cr | --no-c | -n)
1117 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1118 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1121 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1122 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1123 | --oldin | --oldi | --old | --ol | --o)
1124 ac_prev
=oldincludedir
;;
1125 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1126 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1127 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1128 oldincludedir
=$ac_optarg ;;
1130 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1132 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1133 prefix
=$ac_optarg ;;
1135 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1136 | --program-pre | --program-pr | --program-p)
1137 ac_prev
=program_prefix
;;
1138 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1139 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1140 program_prefix
=$ac_optarg ;;
1142 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1143 | --program-suf | --program-su | --program-s)
1144 ac_prev
=program_suffix
;;
1145 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1146 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1147 program_suffix
=$ac_optarg ;;
1149 -program-transform-name | --program-transform-name \
1150 | --program-transform-nam | --program-transform-na \
1151 | --program-transform-n | --program-transform- \
1152 | --program-transform | --program-transfor \
1153 | --program-transfo | --program-transf \
1154 | --program-trans | --program-tran \
1155 | --progr-tra | --program-tr | --program-t)
1156 ac_prev
=program_transform_name
;;
1157 -program-transform-name=* | --program-transform-name=* \
1158 | --program-transform-nam=* | --program-transform-na=* \
1159 | --program-transform-n=* | --program-transform-=* \
1160 | --program-transform=* | --program-transfor=* \
1161 | --program-transfo=* | --program-transf=* \
1162 | --program-trans=* | --program-tran=* \
1163 | --progr-tra=* | --program-tr=* | --program-t=*)
1164 program_transform_name
=$ac_optarg ;;
1166 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1168 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1169 pdfdir
=$ac_optarg ;;
1171 -psdir | --psdir | --psdi | --psd | --ps)
1173 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1176 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1177 | -silent | --silent | --silen | --sile | --sil)
1180 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1182 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1184 sbindir
=$ac_optarg ;;
1186 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1187 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1188 | --sharedst | --shareds | --shared | --share | --shar \
1190 ac_prev
=sharedstatedir
;;
1191 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1192 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1193 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1195 sharedstatedir
=$ac_optarg ;;
1197 -site | --site | --sit)
1199 -site=* | --site=* | --sit=*)
1202 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1204 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1205 srcdir
=$ac_optarg ;;
1207 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1208 | --syscon | --sysco | --sysc | --sys | --sy)
1209 ac_prev
=sysconfdir
;;
1210 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1211 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1212 sysconfdir
=$ac_optarg ;;
1214 -target | --target | --targe | --targ | --tar | --ta | --t)
1215 ac_prev
=target_alias
;;
1216 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1217 target_alias
=$ac_optarg ;;
1219 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1222 -version | --version | --versio | --versi | --vers | -V)
1223 ac_init_version
=: ;;
1226 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1227 # Reject names that are not valid shell variable names.
1228 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1229 { echo "$as_me: error: invalid package name: $ac_package" >&2
1230 { (exit 1); exit 1; }; }
1231 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1232 eval with_
$ac_package=\
$ac_optarg ;;
1234 -without-* | --without-*)
1235 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1236 # Reject names that are not valid shell variable names.
1237 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1238 { echo "$as_me: error: invalid package name: $ac_package" >&2
1239 { (exit 1); exit 1; }; }
1240 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1241 eval with_
$ac_package=no
;;
1244 # Obsolete; use --with-x.
1247 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1248 | --x-incl | --x-inc | --x-in | --x-i)
1249 ac_prev
=x_includes
;;
1250 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1251 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1252 x_includes
=$ac_optarg ;;
1254 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1255 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1256 ac_prev
=x_libraries
;;
1257 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1258 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1259 x_libraries
=$ac_optarg ;;
1261 -*) { echo "$as_me: error: unrecognized option: $ac_option
1262 Try \`$0 --help' for more information." >&2
1263 { (exit 1); exit 1; }; }
1267 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1268 # Reject names that are not valid shell variable names.
1269 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1270 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1271 { (exit 1); exit 1; }; }
1272 eval $ac_envvar=\
$ac_optarg
1273 export $ac_envvar ;;
1276 # FIXME: should be removed in autoconf 3.0.
1277 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1278 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1279 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1280 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1286 if test -n "$ac_prev"; then
1287 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1288 { echo "$as_me: error: missing argument to $ac_option" >&2
1289 { (exit 1); exit 1; }; }
1292 # Be sure to have absolute directory names.
1293 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1294 datadir sysconfdir sharedstatedir localstatedir includedir \
1295 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1296 libdir localedir mandir
1298 eval ac_val
=\$
$ac_var
1300 [\\/$
]* | ?
:[\\/]* ) continue;;
1301 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1303 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1304 { (exit 1); exit 1; }; }
1307 # There might be people who depend on the old broken behavior: `$host'
1308 # used to hold the argument of --host etc.
1309 # FIXME: To remove some day.
1312 target
=$target_alias
1314 # FIXME: To remove some day.
1315 if test "x$host_alias" != x
; then
1316 if test "x$build_alias" = x
; then
1317 cross_compiling
=maybe
1318 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1319 If a cross compiler is detected then cross compile mode will be used." >&2
1320 elif test "x$build_alias" != "x$host_alias"; then
1326 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1328 test "$silent" = yes && exec 6>/dev
/null
1331 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1332 ac_ls_di
=`ls -di .` &&
1333 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1334 { echo "$as_me: error: Working directory cannot be determined" >&2
1335 { (exit 1); exit 1; }; }
1336 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1337 { echo "$as_me: error: pwd does not report name of working directory" >&2
1338 { (exit 1); exit 1; }; }
1341 # Find the source files, if location was not specified.
1342 if test -z "$srcdir"; then
1343 ac_srcdir_defaulted
=yes
1344 # Try the directory containing this script, then the parent directory.
1345 ac_confdir
=`$as_dirname -- "$0" ||
1346 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1347 X"$0" : 'X\(//\)[^/]' \| \
1348 X"$0" : 'X\(//\)$' \| \
1349 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1351 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1369 if test ! -r "$srcdir/$ac_unique_file"; then
1373 ac_srcdir_defaulted
=no
1375 if test ! -r "$srcdir/$ac_unique_file"; then
1376 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1377 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1378 { (exit 1); exit 1; }; }
1380 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1382 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1383 { (exit 1); exit 1; }; }
1385 # When building in place, set srcdir=.
1386 if test "$ac_abs_confdir" = "$ac_pwd"; then
1389 # Remove unnecessary trailing slashes from srcdir.
1390 # Double slashes in file names in object file debugging info
1391 # mess up M-x gdb in Emacs.
1393 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1395 for ac_var
in $ac_precious_vars; do
1396 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1397 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1398 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1399 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1403 # Report the --help message.
1405 if test "$ac_init_help" = "long"; then
1406 # Omit some internal or obsolete options to make the list less imposing.
1407 # This message is too long to be a string in the A/UX 3.1 sh.
1409 \`configure' configures X3 2.0-rc1 to adapt to many kinds of systems.
1411 Usage: $0 [OPTION]... [VAR=VALUE]...
1413 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1414 VAR=VALUE. See below for descriptions of some of the useful variables.
1416 Defaults for the options are specified in brackets.
1419 -h, --help display this help and exit
1420 --help=short display options specific to this package
1421 --help=recursive display the short help of all the included packages
1422 -V, --version display version information and exit
1423 -q, --quiet, --silent do not print \`checking...' messages
1424 --cache-file=FILE cache test results in FILE [disabled]
1425 -C, --config-cache alias for \`--cache-file=config.cache'
1426 -n, --no-create do not create output files
1427 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1429 Installation directories:
1430 --prefix=PREFIX install architecture-independent files in PREFIX
1431 [$ac_default_prefix]
1432 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1435 By default, \`make install' will install all the files in
1436 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1437 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1438 for instance \`--prefix=\$HOME'.
1440 For better control, use the options below.
1442 Fine tuning of the installation directories:
1443 --bindir=DIR user executables [EPREFIX/bin]
1444 --sbindir=DIR system admin executables [EPREFIX/sbin]
1445 --libexecdir=DIR program executables [EPREFIX/libexec]
1446 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1447 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1448 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1449 --libdir=DIR object code libraries [EPREFIX/lib]
1450 --includedir=DIR C header files [PREFIX/include]
1451 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1452 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1453 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1454 --infodir=DIR info documentation [DATAROOTDIR/info]
1455 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1456 --mandir=DIR man documentation [DATAROOTDIR/man]
1457 --docdir=DIR documentation root [DATAROOTDIR/doc/x3]
1458 --htmldir=DIR html documentation [DOCDIR]
1459 --dvidir=DIR dvi documentation [DOCDIR]
1460 --pdfdir=DIR pdf documentation [DOCDIR]
1461 --psdir=DIR ps documentation [DOCDIR]
1467 --program-prefix=PREFIX prepend PREFIX to installed program names
1468 --program-suffix=SUFFIX append SUFFIX to installed program names
1469 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1472 --build=BUILD configure
for building on BUILD
[guessed
]
1473 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1474 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1478 if test -n "$ac_init_help"; then
1479 case $ac_init_help in
1480 short
| recursive
) echo "Configuration of X3 2.0-rc1:";;
1485 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1486 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1487 --enable-maintainer-mode enable make rules and dependencies not useful
1488 (and sometimes confusing
) to the casual installer
1489 --disable-dependency-tracking speeds up one
-time build
1490 --enable-dependency-tracking do not reject slow dependency extractors
1491 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1492 --enable-static[=PKGS
] build static libraries
[default
=yes]
1493 --enable-fast-install[=PKGS
]
1494 optimize
for fast installation
[default
=yes]
1495 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1496 --disable-tokens Disables tokenization of P10 protocol output
1497 (tokens required
if linking to ircu
2.10.11)
1498 --enable-debug Enables debugging behaviors
1499 --enable-modules=list
,of
,modules Enable extra modules
1502 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1503 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1504 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1505 --with-pic try to use only PIC
/non
-PIC objects
[default
=use
1507 --with-tags[=TAGS
] include additional configurations
[automatic
]
1508 --with-malloc=type Enables use of a special malloc library
; one of
:
1509 system
(the default
), boehm
-gc, dmalloc
, mpatrol
, x3
, slab
1510 --with-protocol=name Choose IRC dialect to support
; one of
:
1512 --with-mail=name How to send
mail; one of
:
1513 sendmail
(the default
)
1514 --without-epoll Disables the epoll_
*() I
/O backend
1515 --without-getopt Disables building of the GNU getopt library
1516 --with-tre=PATH Base path to where libtre is installed
, such that
1517 PATH
/lib
/libtre.so and PATH
/include
/tre
/regex.h exist.
1518 --with-coredumper=PATH Base path to where core dumper is installed
, such
1519 that PATH
/lib
/libcoredumper.so and
1520 PATH
/include
/google
/coredumper.h exist.
1521 --with-ssl=PATH Base path to where openssl is installed
1522 --with-ldap=PATH Base path to where the ldap library and headers are installed
,
1523 such that PATH
/include
/ldap.h and PATH
/lib
/libldap.so exist.
1525 Some influential environment variables
:
1526 CC C compiler
command
1527 CFLAGS C compiler flags
1528 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1529 nonstandard directory
<lib dir
>
1530 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1531 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1532 you have headers
in a nonstandard directory
<include dir
>
1534 CXX C
++ compiler
command
1535 CXXFLAGS C
++ compiler flags
1536 CXXCPP C
++ preprocessor
1537 F77 Fortran
77 compiler
command
1538 FFLAGS Fortran
77 compiler flags
1540 Use these variables to override the choices made by
`configure' or to help
1541 it to find libraries and programs with nonstandard names/locations.
1543 Report bugs to <evilnet-devel@lists.sourceforge.net>.
1548 if test "$ac_init_help" = "recursive"; then
1549 # If there are subdirs, report their specific --help.
1550 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1551 test -d "$ac_dir" || continue
1555 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1557 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1558 # A ".." for each directory in $ac_dir_suffix.
1559 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1560 case $ac_top_builddir_sub in
1561 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1562 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1565 ac_abs_top_builddir=$ac_pwd
1566 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1567 # for backward compatibility:
1568 ac_top_builddir=$ac_top_build_prefix
1571 .) # We are building in place.
1573 ac_top_srcdir=$ac_top_builddir_sub
1574 ac_abs_top_srcdir=$ac_pwd ;;
1575 [\\/]* | ?:[\\/]* ) # Absolute name.
1576 ac_srcdir=$srcdir$ac_dir_suffix;
1577 ac_top_srcdir=$srcdir
1578 ac_abs_top_srcdir=$srcdir ;;
1580 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1581 ac_top_srcdir=$ac_top_build_prefix$srcdir
1582 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1584 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1586 cd "$ac_dir" || { ac_status=$?; continue; }
1587 # Check for guested configure.
1588 if test -f "$ac_srcdir/configure.gnu"; then
1590 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1591 elif test -f "$ac_srcdir/configure"; then
1593 $SHELL "$ac_srcdir/configure" --help=recursive
1595 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1597 cd "$ac_pwd" || { ac_status=$?; break; }
1601 test -n "$ac_init_help" && exit $ac_status
1602 if $ac_init_version; then
1604 X3 configure 2.0-rc1
1605 generated by GNU Autoconf 2.61
1607 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1608 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1609 This configure script is free software; the Free Software Foundation
1610 gives unlimited permission to copy, distribute and modify it.
1614 cat >config.log <<_ACEOF
1615 This file contains any messages produced by compilers while
1616 running configure, to aid debugging if configure makes a mistake.
1618 It was created by X3 $as_me 2.0-rc1, which was
1619 generated by GNU Autoconf 2.61. Invocation command line was
1631 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
1632 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
1633 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
1634 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
1635 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
1637 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
1638 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
1640 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
1641 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
1642 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
1643 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null
|| echo unknown
`
1644 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
1645 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
1646 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
1650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1654 test -z "$as_dir" && as_dir=.
1655 echo "PATH: $as_dir"
1671 # Keep a trace of the command line.
1672 # Strip out --no-create and --no-recursion so they do not pile up.
1673 # Strip out --silent because we don't want to record it for future runs.
1674 # Also quote any args containing shell meta-characters.
1675 # Make two passes to allow for proper duplicate-argument suppression.
1679 ac_must_keep_next=false
1685 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1686 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1687 | -silent | --silent | --silen | --sile | --sil)
1690 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1693 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1695 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1696 if test $ac_must_keep_next = true; then
1697 ac_must_keep_next=false # Got value, back to normal.
1700 *=* | --config-cache | -C | -disable-* | --disable-* \
1701 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1702 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1703 | -with-* | --with-* | -without-* | --without-* | --x)
1704 case "$ac_configure_args0 " in
1705 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1708 -* ) ac_must_keep_next=true ;;
1711 ac_configure_args="$ac_configure_args '$ac_arg'"
1716 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1717 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1719 # When interrupted or exit'd, cleanup temporary files, and complete
1720 # config.log. We remove comments because anyway the quotes in there
1721 # would cause problems or look ugly.
1722 # WARNING: Use '\'' to represent an apostrophe within the trap.
1723 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1724 trap 'exit_status=$?
1725 # Save into config.log some information that might help in debugging.
1730 ## ---------------- ##
1731 ## Cache variables. ##
1732 ## ---------------- ##
1735 # The following way of writing the cache mishandles newlines in values,
1737 for ac_var in `(set) 2>&1 | sed -n '\''s
/^\
([a
-zA-Z_][a
-zA-Z0-9_]*\
)=.
*/\
1/p
'\''`; do
1738 eval ac_val=\$$ac_var
1742 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1743 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1746 _ | IFS | as_nl) ;; #(
1747 *) $as_unset $ac_var ;;
1752 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1753 *${as_nl}ac_space=\ *)
1755 "s/'\''/'\''\\\\'\'''\''/g;
1756 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1759 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1767 ## ----------------- ##
1768 ## Output variables. ##
1769 ## ----------------- ##
1772 for ac_var in $ac_subst_vars
1774 eval ac_val=\$$ac_var
1776 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1778 echo "$ac_var='\''$ac_val'\''"
1782 if test -n "$ac_subst_files"; then
1784 ## ------------------- ##
1785 ## File substitutions. ##
1786 ## ------------------- ##
1789 for ac_var in $ac_subst_files
1791 eval ac_val=\$$ac_var
1793 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1795 echo "$ac_var='\''$ac_val'\''"
1800 if test -s confdefs.h; then
1810 test "$ac_signal" != 0 &&
1811 echo "$as_me: caught signal $ac_signal"
1812 echo "$as_me: exit $exit_status"
1814 rm -f core *.core core.conftest.* &&
1815 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1818 for ac_signal in 1 2 13 15; do
1819 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1823 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1824 rm -f -r conftest* confdefs.h
1826 # Predefined preprocessor variables.
1828 cat >>confdefs.h <<_ACEOF
1829 #define PACKAGE_NAME "$PACKAGE_NAME"
1833 cat >>confdefs.h <<_ACEOF
1834 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1838 cat >>confdefs.h <<_ACEOF
1839 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1843 cat >>confdefs.h <<_ACEOF
1844 #define PACKAGE_STRING "$PACKAGE_STRING"
1848 cat >>confdefs.h <<_ACEOF
1849 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1853 # Let the site file select an alternate cache file if it wants to.
1854 # Prefer explicitly selected file to automatically selected ones.
1855 if test -n "$CONFIG_SITE"; then
1856 set x "$CONFIG_SITE"
1857 elif test "x$prefix" != xNONE; then
1858 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1860 set x "$ac_default_prefix/share/config.site" \
1861 "$ac_default_prefix/etc/config.site"
1866 if test -r "$ac_site_file"; then
1867 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1868 echo "$as_me: loading site script $ac_site_file" >&6;}
1869 sed 's/^/| /' "$ac_site_file" >&5
1874 if test -r "$cache_file"; then
1875 # Some versions of bash will fail to source /dev/null (special
1876 # files actually), so we avoid doing that.
1877 if test -f "$cache_file"; then
1878 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1879 echo "$as_me: loading cache $cache_file" >&6;}
1881 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1882 *) . "./$cache_file";;
1886 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1887 echo "$as_me: creating cache $cache_file" >&6;}
1891 # Check that the precious variables saved in the cache have kept the same
1893 ac_cache_corrupted=false
1894 for ac_var in $ac_precious_vars; do
1895 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1896 eval ac_new_set=\$ac_env_${ac_var}_set
1897 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1898 eval ac_new_val=\$ac_env_${ac_var}_value
1899 case $ac_old_set,$ac_new_set in
1901 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1902 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1903 ac_cache_corrupted=: ;;
1905 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1906 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1907 ac_cache_corrupted=: ;;
1910 if test "x$ac_old_val" != "x$ac_new_val"; then
1911 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1912 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1913 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1914 echo "$as_me: former value
: $ac_old_val" >&2;}
1915 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1916 echo "$as_me: current value
: $ac_new_val" >&2;}
1917 ac_cache_corrupted=:
1920 # Pass precious variables to config.status.
1921 if test "$ac_new_set" = set; then
1923 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1924 *) ac_arg=$ac_var=$ac_new_val ;;
1926 case " $ac_configure_args " in
1927 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1928 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1932 if $ac_cache_corrupted; then
1933 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1934 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1935 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1936 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1937 { (exit 1); exit 1; }; }
1965 ac_cpp='$CPP $CPPFLAGS'
1966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1972 ac_config_headers="$ac_config_headers src/config.h"
1976 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1977 if test -f "$ac_dir/install-sh"; then
1979 ac_install_sh="$ac_aux_dir/install-sh -c"
1981 elif test -f "$ac_dir/install.sh"; then
1983 ac_install_sh="$ac_aux_dir/install.sh -c"
1985 elif test -f "$ac_dir/shtool"; then
1987 ac_install_sh="$ac_aux_dir/shtool install -c"
1991 if test -z "$ac_aux_dir"; then
1992 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1993 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1994 { (exit 1); exit 1; }; }
1997 # These three variables are undocumented and unsupported,
1998 # and are intended to be withdrawn in a future Autoconf release.
1999 # They can cause serious problems if a builder's source tree is in a directory
2000 # whose full name contains unusual characters.
2001 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2002 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2003 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2006 # Make sure we can run config.sub.
2007 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2008 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2009 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2010 { (exit 1); exit 1; }; }
2012 { echo "$as_me:$LINENO: checking build system type" >&5
2013 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2014 if test "${ac_cv_build+set}" = set; then
2015 echo $ECHO_N "(cached) $ECHO_C" >&6
2017 ac_build_alias=$build_alias
2018 test "x$ac_build_alias" = x &&
2019 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2020 test "x$ac_build_alias" = x &&
2021 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2022 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2023 { (exit 1); exit 1; }; }
2024 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2025 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2026 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2027 { (exit 1); exit 1; }; }
2030 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2031 echo "${ECHO_T}$ac_cv_build" >&6; }
2032 case $ac_cv_build in
2034 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2035 echo "$as_me: error: invalid value of canonical build" >&2;}
2036 { (exit 1); exit 1; }; };;
2039 ac_save_IFS=$IFS; IFS='-'
2045 # Remember, the first character of IFS is used to create $*,
2046 # except with old shells:
2049 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2052 { echo "$as_me:$LINENO: checking host system type" >&5
2053 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2054 if test "${ac_cv_host+set}" = set; then
2055 echo $ECHO_N "(cached) $ECHO_C" >&6
2057 if test "x$host_alias" = x; then
2058 ac_cv_host=$ac_cv_build
2060 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2061 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2062 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2063 { (exit 1); exit 1; }; }
2067 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2068 echo "${ECHO_T}$ac_cv_host" >&6; }
2071 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2072 echo "$as_me: error: invalid value of canonical host" >&2;}
2073 { (exit 1); exit 1; }; };;
2076 ac_save_IFS=$IFS; IFS='-'
2082 # Remember, the first character of IFS is used to create $*,
2083 # except with old shells:
2086 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2089 { echo "$as_me:$LINENO: checking target system type" >&5
2090 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2091 if test "${ac_cv_target+set}" = set; then
2092 echo $ECHO_N "(cached) $ECHO_C" >&6
2094 if test "x$target_alias" = x; then
2095 ac_cv_target=$ac_cv_host
2097 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2098 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2099 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2100 { (exit 1); exit 1; }; }
2104 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2105 echo "${ECHO_T}$ac_cv_target" >&6; }
2106 case $ac_cv_target in
2108 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2109 echo "$as_me: error: invalid value of canonical target" >&2;}
2110 { (exit 1); exit 1; }; };;
2112 target=$ac_cv_target
2113 ac_save_IFS=$IFS; IFS='-'
2119 # Remember, the first character of IFS is used to create $*,
2120 # except with old shells:
2123 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2126 # The aliases save the names the user supplied, while $host etc.
2127 # will get canonicalized.
2128 test -n "$target_alias" &&
2129 test "$program_prefix$program_suffix$program_transform_name" = \
2131 program_prefix=${target_alias}-
2132 am__api_version='1.10'
2134 # Find a good install program. We prefer a C program (faster),
2135 # so one script is as good as another. But avoid the broken or
2136 # incompatible versions:
2137 # SysV /etc/install, /usr/sbin/install
2138 # SunOS /usr/etc/install
2139 # IRIX /sbin/install
2141 # AmigaOS /C/install, which installs bootblocks on floppy discs
2142 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2143 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2144 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2145 # OS/2's system install, which has a completely different semantic
2146 # ./install, which can be erroneously created by make from ./install.sh.
2147 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2148 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2149 if test -z "$INSTALL"; then
2150 if test "${ac_cv_path_install+set}" = set; then
2151 echo $ECHO_N "(cached) $ECHO_C" >&6
2153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2157 test -z "$as_dir" && as_dir=.
2158 # Account for people who put trailing slashes in PATH elements.
2160 ./ | .// | /cC/* | \
2161 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2162 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2165 # OSF1 and SCO ODT 3.0 have their own names for install.
2166 # Don't use installbsd from OSF since it installs stuff as root
2168 for ac_prog in ginstall scoinst install; do
2169 for ac_exec_ext in '' $ac_executable_extensions; do
2170 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2171 if test $ac_prog = install &&
2172 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2173 # AIX install. It has an incompatible calling convention.
2175 elif test $ac_prog = install &&
2176 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2177 # program-specific install script used by HP pwplus--don't use.
2180 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2193 if test "${ac_cv_path_install+set}" = set; then
2194 INSTALL=$ac_cv_path_install
2196 # As a last resort, use the slow shell script. Don't cache a
2197 # value for INSTALL within a source directory, because that will
2198 # break other packages using the cache if that directory is
2199 # removed, or if the value is a relative name.
2200 INSTALL=$ac_install_sh
2203 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2204 echo "${ECHO_T}$INSTALL" >&6; }
2206 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2207 # It thinks the first close brace ends the variable substitution.
2208 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2210 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2212 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2214 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2215 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2218 echo timestamp > conftest.file
2219 # Do `set' in a subshell so we don't clobber the current shell
's
2220 # arguments. Must try -L first in case configure is actually a
2221 # symlink; some systems play weird games with the mod time of symlinks
2222 # (eg FreeBSD returns the mod time of the symlink's containing
2225 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2226 if test "$*" = "X"; then
2228 set X
`ls -t $srcdir/configure conftest.file`
2231 if test "$*" != "X $srcdir/configure conftest.file" \
2232 && test "$*" != "X conftest.file $srcdir/configure"; then
2234 # If neither matched, then we have a broken ls. This can happen
2235 # if, for instance, CONFIG_SHELL is bash and it inherits a
2236 # broken ls alias from the environment. This has actually
2237 # happened. Such a system could not be considered "sane".
2238 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2239 alias in your environment" >&5
2240 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2241 alias in your environment" >&2;}
2242 { (exit 1); exit 1; }; }
2245 test "$2" = conftest.
file
2251 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2252 Check your system clock" >&5
2253 echo "$as_me: error: newly created file is older than distributed files!
2254 Check your system clock" >&2;}
2255 { (exit 1); exit 1; }; }
2257 { echo "$as_me:$LINENO: result: yes" >&5
2258 echo "${ECHO_T}yes" >&6; }
2259 test "$program_prefix" != NONE
&&
2260 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2261 # Use a double $ so make ignores it.
2262 test "$program_suffix" != NONE
&&
2263 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2264 # Double any \ or $. echo might interpret backslashes.
2265 # By default was `s,x,x', remove it if useless.
2266 cat <<\_ACEOF
>conftest.
sed
2267 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2269 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2272 # expand $ac_aux_dir to an absolute path
2273 am_aux_dir
=`cd $ac_aux_dir && pwd`
2275 test x
"${MISSING+set}" = xset
|| MISSING
="\${SHELL} $am_aux_dir/missing"
2276 # Use eval to expand $SHELL
2277 if eval "$MISSING --run true"; then
2278 am_missing_run
="$MISSING --run "
2281 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2282 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2285 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2286 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2287 if test -z "$MKDIR_P"; then
2288 if test "${ac_cv_path_mkdir+set}" = set; then
2289 echo $ECHO_N "(cached) $ECHO_C" >&6
2291 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2292 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2295 test -z "$as_dir" && as_dir
=.
2296 for ac_prog
in mkdir gmkdir
; do
2297 for ac_exec_ext
in '' $ac_executable_extensions; do
2298 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2299 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2300 'mkdir (GNU coreutils) '* | \
2301 'mkdir (coreutils) '* | \
2302 'mkdir (fileutils) '4.1*)
2303 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2313 if test "${ac_cv_path_mkdir+set}" = set; then
2314 MKDIR_P
="$ac_cv_path_mkdir -p"
2316 # As a last resort, use the slow shell script. Don't cache a
2317 # value for MKDIR_P within a source directory, because that will
2318 # break other packages using the cache if that directory is
2319 # removed, or if the value is a relative name.
2320 test -d .
/--version && rmdir .
/--version
2321 MKDIR_P
="$ac_install_sh -d"
2324 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2325 echo "${ECHO_T}$MKDIR_P" >&6; }
2329 [\\/$
]* | ?
:[\\/]*) ;;
2330 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2333 for ac_prog
in gawk mawk nawk
awk
2335 # Extract the first word of "$ac_prog", so it can be a program name with args.
2336 set dummy
$ac_prog; ac_word
=$2
2337 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2338 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2339 if test "${ac_cv_prog_AWK+set}" = set; then
2340 echo $ECHO_N "(cached) $ECHO_C" >&6
2342 if test -n "$AWK"; then
2343 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2345 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2349 test -z "$as_dir" && as_dir
=.
2350 for ac_exec_ext
in '' $ac_executable_extensions; do
2351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2352 ac_cv_prog_AWK
="$ac_prog"
2353 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2363 if test -n "$AWK"; then
2364 { echo "$as_me:$LINENO: result: $AWK" >&5
2365 echo "${ECHO_T}$AWK" >&6; }
2367 { echo "$as_me:$LINENO: result: no" >&5
2368 echo "${ECHO_T}no" >&6; }
2372 test -n "$AWK" && break
2375 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2376 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2377 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2378 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
2379 echo $ECHO_N "(cached) $ECHO_C" >&6
2381 cat >conftest.
make <<\_ACEOF
2384 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2386 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2387 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2389 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2391 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2395 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2396 { echo "$as_me:$LINENO: result: yes" >&5
2397 echo "${ECHO_T}yes" >&6; }
2400 { echo "$as_me:$LINENO: result: no" >&5
2401 echo "${ECHO_T}no" >&6; }
2402 SET_MAKE
="MAKE=${MAKE-make}"
2405 rm -rf .tst
2>/dev
/null
2406 mkdir .tst
2>/dev
/null
2407 if test -d .tst
; then
2412 rmdir .tst
2>/dev
/null
2414 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2415 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2416 # is not polluted with repeated "-I."
2417 am__isrc
=' -I$(srcdir)'
2418 # test to see if srcdir already configured
2419 if test -f $srcdir/config.status
; then
2420 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2421 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2422 { (exit 1); exit 1; }; }
2426 # test whether we have cygpath
2427 if test -z "$CYGPATH_W"; then
2428 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2429 CYGPATH_W
='cygpath -w'
2436 # Define the identity of the package.
2441 cat >>confdefs.h
<<_ACEOF
2442 #define PACKAGE "$PACKAGE"
2446 cat >>confdefs.h
<<_ACEOF
2447 #define VERSION "$VERSION"
2450 # Some tools Automake needs.
2452 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2455 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2458 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2461 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2464 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2466 install_sh
=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2468 # Installed binaries are usually stripped using `strip' when the user
2469 # run `make install-strip'. However `strip' might not be the right
2470 # tool to use in cross-compilation environments, therefore Automake
2471 # will honor the `STRIP' environment variable to overrule this program.
2472 if test "$cross_compiling" != no
; then
2473 if test -n "$ac_tool_prefix"; then
2474 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2475 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2476 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2477 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2478 if test "${ac_cv_prog_STRIP+set}" = set; then
2479 echo $ECHO_N "(cached) $ECHO_C" >&6
2481 if test -n "$STRIP"; then
2482 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2484 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2488 test -z "$as_dir" && as_dir
=.
2489 for ac_exec_ext
in '' $ac_executable_extensions; do
2490 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2491 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2492 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2501 STRIP
=$ac_cv_prog_STRIP
2502 if test -n "$STRIP"; then
2503 { echo "$as_me:$LINENO: result: $STRIP" >&5
2504 echo "${ECHO_T}$STRIP" >&6; }
2506 { echo "$as_me:$LINENO: result: no" >&5
2507 echo "${ECHO_T}no" >&6; }
2512 if test -z "$ac_cv_prog_STRIP"; then
2514 # Extract the first word of "strip", so it can be a program name with args.
2515 set dummy strip
; ac_word
=$2
2516 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2517 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2518 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2519 echo $ECHO_N "(cached) $ECHO_C" >&6
2521 if test -n "$ac_ct_STRIP"; then
2522 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2524 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2528 test -z "$as_dir" && as_dir
=.
2529 for ac_exec_ext
in '' $ac_executable_extensions; do
2530 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2531 ac_cv_prog_ac_ct_STRIP
="strip"
2532 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2541 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2542 if test -n "$ac_ct_STRIP"; then
2543 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2544 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2546 { echo "$as_me:$LINENO: result: no" >&5
2547 echo "${ECHO_T}no" >&6; }
2550 if test "x$ac_ct_STRIP" = x
; then
2553 case $cross_compiling:$ac_tool_warned in
2555 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2556 whose name does not start with the host triplet. If you think this
2557 configuration is useful to you, please write to autoconf@gnu.org." >&5
2558 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2559 whose name does not start with the host triplet. If you think this
2560 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2561 ac_tool_warned
=yes ;;
2566 STRIP
="$ac_cv_prog_STRIP"
2570 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2572 # We need awk for the "check" target. The system "awk" is bad on
2574 # Always define AMTAR for backward compatibility.
2576 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2578 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2584 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2585 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
2586 # Check whether --enable-maintainer-mode was given.
2587 if test "${enable_maintainer_mode+set}" = set; then
2588 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2590 USE_MAINTAINER_MODE
=no
2593 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2594 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2595 if test $USE_MAINTAINER_MODE = yes; then
2596 MAINTAINER_MODE_TRUE
=
2597 MAINTAINER_MODE_FALSE
='#'
2599 MAINTAINER_MODE_TRUE
='#'
2600 MAINTAINER_MODE_FALSE
=
2603 MAINT
=$MAINTAINER_MODE_TRUE
2607 DEPDIR
="${am__leading_dot}deps"
2609 ac_config_commands
="$ac_config_commands depfiles"
2612 am_make
=${MAKE-make}
2613 cat > confinc
<< 'END'
2618 # If we don't find an include directive, just comment out the code.
2619 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2620 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2624 # First try GNU make style include.
2625 echo "include confinc" > confmf
2626 # We grep out `Entering directory' and `Leaving directory'
2627 # messages which can occur if `w' ends up in MAKEFLAGS.
2628 # In particular we don't look at `^make:' because GNU make might
2629 # be invoked under some other name (usually "gmake"), in which
2630 # case it prints its new name instead of `make'.
2631 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2636 # Now try BSD make style include.
2637 if test "$am__include" = "#"; then
2638 echo '.include "confinc"' > confmf
2639 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2640 am__include
=.include
2647 { echo "$as_me:$LINENO: result: $_am_result" >&5
2648 echo "${ECHO_T}$_am_result" >&6; }
2649 rm -f confinc confmf
2651 # Check whether --enable-dependency-tracking was given.
2652 if test "${enable_dependency_tracking+set}" = set; then
2653 enableval
=$enable_dependency_tracking;
2656 if test "x$enable_dependency_tracking" != xno
; then
2657 am_depcomp
="$ac_aux_dir/depcomp"
2660 if test "x$enable_dependency_tracking" != xno; then
2670 ac_cpp
='$CPP $CPPFLAGS'
2671 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2672 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2673 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2674 if test -n "$ac_tool_prefix"; then
2675 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2676 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2677 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2678 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2679 if test "${ac_cv_prog_CC+set}" = set; then
2680 echo $ECHO_N "(cached) $ECHO_C" >&6
2682 if test -n "$CC"; then
2683 ac_cv_prog_CC
="$CC" # Let the user override the test.
2685 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2689 test -z "$as_dir" && as_dir
=.
2690 for ac_exec_ext
in '' $ac_executable_extensions; do
2691 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2692 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2693 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2703 if test -n "$CC"; then
2704 { echo "$as_me:$LINENO: result: $CC" >&5
2705 echo "${ECHO_T}$CC" >&6; }
2707 { echo "$as_me:$LINENO: result: no" >&5
2708 echo "${ECHO_T}no" >&6; }
2713 if test -z "$ac_cv_prog_CC"; then
2715 # Extract the first word of "gcc", so it can be a program name with args.
2716 set dummy gcc
; ac_word
=$2
2717 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2718 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2719 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2720 echo $ECHO_N "(cached) $ECHO_C" >&6
2722 if test -n "$ac_ct_CC"; then
2723 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2725 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2729 test -z "$as_dir" && as_dir
=.
2730 for ac_exec_ext
in '' $ac_executable_extensions; do
2731 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2732 ac_cv_prog_ac_ct_CC
="gcc"
2733 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2742 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2743 if test -n "$ac_ct_CC"; then
2744 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2745 echo "${ECHO_T}$ac_ct_CC" >&6; }
2747 { echo "$as_me:$LINENO: result: no" >&5
2748 echo "${ECHO_T}no" >&6; }
2751 if test "x$ac_ct_CC" = x
; then
2754 case $cross_compiling:$ac_tool_warned in
2756 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2757 whose name does not start with the host triplet. If you think this
2758 configuration is useful to you, please write to autoconf@gnu.org." >&5
2759 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2760 whose name does not start with the host triplet. If you think this
2761 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2762 ac_tool_warned
=yes ;;
2770 if test -z "$CC"; then
2771 if test -n "$ac_tool_prefix"; then
2772 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2773 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2774 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2775 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2776 if test "${ac_cv_prog_CC+set}" = set; then
2777 echo $ECHO_N "(cached) $ECHO_C" >&6
2779 if test -n "$CC"; then
2780 ac_cv_prog_CC
="$CC" # Let the user override the test.
2782 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2786 test -z "$as_dir" && as_dir
=.
2787 for ac_exec_ext
in '' $ac_executable_extensions; do
2788 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2789 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2790 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2800 if test -n "$CC"; then
2801 { echo "$as_me:$LINENO: result: $CC" >&5
2802 echo "${ECHO_T}$CC" >&6; }
2804 { echo "$as_me:$LINENO: result: no" >&5
2805 echo "${ECHO_T}no" >&6; }
2811 if test -z "$CC"; then
2812 # Extract the first word of "cc", so it can be a program name with args.
2813 set dummy cc
; ac_word
=$2
2814 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2815 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2816 if test "${ac_cv_prog_CC+set}" = set; then
2817 echo $ECHO_N "(cached) $ECHO_C" >&6
2819 if test -n "$CC"; then
2820 ac_cv_prog_CC
="$CC" # Let the user override the test.
2823 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2827 test -z "$as_dir" && as_dir
=.
2828 for ac_exec_ext
in '' $ac_executable_extensions; do
2829 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2830 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2831 ac_prog_rejected
=yes
2835 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2842 if test $ac_prog_rejected = yes; then
2843 # We found a bogon in the path, so make sure we never use it.
2844 set dummy
$ac_cv_prog_CC
2846 if test $# != 0; then
2847 # We chose a different compiler from the bogus one.
2848 # However, it has the same basename, so the bogon will be chosen
2849 # first if we set CC to just the basename; use the full file name.
2851 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2857 if test -n "$CC"; then
2858 { echo "$as_me:$LINENO: result: $CC" >&5
2859 echo "${ECHO_T}$CC" >&6; }
2861 { echo "$as_me:$LINENO: result: no" >&5
2862 echo "${ECHO_T}no" >&6; }
2867 if test -z "$CC"; then
2868 if test -n "$ac_tool_prefix"; then
2869 for ac_prog
in cl.exe
2871 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2872 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2873 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2874 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2875 if test "${ac_cv_prog_CC+set}" = set; then
2876 echo $ECHO_N "(cached) $ECHO_C" >&6
2878 if test -n "$CC"; then
2879 ac_cv_prog_CC
="$CC" # Let the user override the test.
2881 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2885 test -z "$as_dir" && as_dir
=.
2886 for ac_exec_ext
in '' $ac_executable_extensions; do
2887 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2888 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2889 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2899 if test -n "$CC"; then
2900 { echo "$as_me:$LINENO: result: $CC" >&5
2901 echo "${ECHO_T}$CC" >&6; }
2903 { echo "$as_me:$LINENO: result: no" >&5
2904 echo "${ECHO_T}no" >&6; }
2908 test -n "$CC" && break
2911 if test -z "$CC"; then
2913 for ac_prog
in cl.exe
2915 # Extract the first word of "$ac_prog", so it can be a program name with args.
2916 set dummy
$ac_prog; ac_word
=$2
2917 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2918 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2919 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2920 echo $ECHO_N "(cached) $ECHO_C" >&6
2922 if test -n "$ac_ct_CC"; then
2923 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2925 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2929 test -z "$as_dir" && as_dir
=.
2930 for ac_exec_ext
in '' $ac_executable_extensions; do
2931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2932 ac_cv_prog_ac_ct_CC
="$ac_prog"
2933 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2942 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2943 if test -n "$ac_ct_CC"; then
2944 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2945 echo "${ECHO_T}$ac_ct_CC" >&6; }
2947 { echo "$as_me:$LINENO: result: no" >&5
2948 echo "${ECHO_T}no" >&6; }
2952 test -n "$ac_ct_CC" && break
2955 if test "x$ac_ct_CC" = x
; then
2958 case $cross_compiling:$ac_tool_warned in
2960 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2961 whose name does not start with the host triplet. If you think this
2962 configuration is useful to you, please write to autoconf@gnu.org." >&5
2963 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2964 whose name does not start with the host triplet. If you think this
2965 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2966 ac_tool_warned
=yes ;;
2975 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2976 See \`config.log' for more details." >&5
2977 echo "$as_me: error: no acceptable C compiler found in \$PATH
2978 See \`config.log' for more details." >&2;}
2979 { (exit 1); exit 1; }; }
2981 # Provide some information about the compiler.
2982 echo "$as_me:$LINENO: checking for C compiler version" >&5
2983 ac_compiler
=`set X $ac_compile; echo $2`
2984 { (ac_try
="$ac_compiler --version >&5"
2986 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2987 *) ac_try_echo=$ac_try;;
2989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2990 (eval "$ac_compiler --version >&5") 2>&5
2992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2993 (exit $ac_status); }
2994 { (ac_try="$ac_compiler -v >&5"
2996 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2997 *) ac_try_echo
=$ac_try;;
2999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3000 (eval "$ac_compiler -v >&5") 2>&5
3002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3003 (exit $ac_status); }
3004 { (ac_try
="$ac_compiler -V >&5"
3006 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3007 *) ac_try_echo=$ac_try;;
3009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3010 (eval "$ac_compiler -V >&5") 2>&5
3012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3013 (exit $ac_status); }
3015 cat >conftest.$ac_ext <<_ACEOF
3018 cat confdefs.h >>conftest.$ac_ext
3019 cat >>conftest.$ac_ext <<_ACEOF
3020 /* end confdefs.h. */
3030 ac_clean_files_save=$ac_clean_files
3031 ac_clean_files="$ac_clean_files a.out a.exe b.out"
3032 # Try to create an executable without -o first, disregard a.out.
3033 # It will help us diagnose broken compilers, and finding out an intuition
3035 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3036 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
3037 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3039 # List of possible output files, starting from the most likely.
3040 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
3041 # only as a last resort. b.out is created by i960 compilers.
3042 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
3044 # The IRIX 6 linker writes into existing files which may not be
3045 # executable, retaining their permissions. Remove them first so a
3046 # subsequent execution test works.
3048 for ac_file in $ac_files
3051 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3052 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3057 if { (ac_try="$ac_link_default"
3059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3060 *) ac_try_echo=$ac_try;;
3062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3063 (eval "$ac_link_default") 2>&5
3065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3066 (exit $ac_status); }; then
3067 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3068 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3069 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3070 # so that the user can short-circuit this test for compilers unknown to
3072 for ac_file
in $ac_files ''
3074 test -f "$ac_file" || continue
3076 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
)
3079 # We found the default executable, but exeext='' is most
3083 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3085 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3087 # We set ac_cv_exeext here because the later test for it is not
3088 # safe: cross compilers may not add the suffix if given an `-o'
3089 # argument, so we may need to know it at that point already.
3090 # Even if this section looks crufty: it has the advantage of
3097 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3103 { echo "$as_me:$LINENO: result: $ac_file" >&5
3104 echo "${ECHO_T}$ac_file" >&6; }
3105 if test -z "$ac_file"; then
3106 echo "$as_me: failed program was:" >&5
3107 sed 's/^/| /' conftest.
$ac_ext >&5
3109 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3110 See \`config.log' for more details." >&5
3111 echo "$as_me: error: C compiler cannot create executables
3112 See \`config.log' for more details." >&2;}
3113 { (exit 77); exit 77; }; }
3116 ac_exeext
=$ac_cv_exeext
3118 # Check that the compiler produces executables we can run. If not, either
3119 # the compiler is broken, or we cross compile.
3120 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3121 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3122 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3123 # If not cross compiling, check that we can run a simple program.
3124 if test "$cross_compiling" != yes; then
3125 if { ac_try
='./$ac_file'
3126 { (case "(($ac_try" in
3127 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3128 *) ac_try_echo=$ac_try;;
3130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3131 (eval "$ac_try") 2>&5
3133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3134 (exit $ac_status); }; }; then
3137 if test "$cross_compiling" = maybe; then
3140 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3141 If you meant to cross compile, use \`--host'.
3142 See \`config.log' for more details.
" >&5
3143 echo "$as_me: error
: cannot run C compiled programs.
3144 If you meant to cross compile
, use \
`--host'.
3145 See \`config.log
' for more details." >&2;}
3146 { (exit 1); exit 1; }; }
3150 { echo "$as_me:$LINENO: result: yes" >&5
3151 echo "${ECHO_T}yes" >&6; }
3153 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3154 ac_clean_files=$ac_clean_files_save
3155 # Check that the compiler produces executables we can run. If not, either
3156 # the compiler is broken, or we cross compile.
3157 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3158 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3159 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
3160 echo "${ECHO_T}$cross_compiling" >&6; }
3162 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
3163 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3164 if { (ac_try="$ac_link"
3166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3167 *) ac_try_echo=$ac_try;;
3169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3170 (eval "$ac_link") 2>&5
3172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3173 (exit $ac_status); }; then
3174 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3175 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3176 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3178 for ac_file
in conftest.exe conftest conftest.
*; do
3179 test -f "$ac_file" || continue
3181 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
3182 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3188 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3189 See \`config.log' for more details." >&5
3190 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3191 See \`config.log' for more details." >&2;}
3192 { (exit 1); exit 1; }; }
3195 rm -f conftest
$ac_cv_exeext
3196 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3197 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3199 rm -f conftest.
$ac_ext
3200 EXEEXT
=$ac_cv_exeext
3202 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3203 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3204 if test "${ac_cv_objext+set}" = set; then
3205 echo $ECHO_N "(cached) $ECHO_C" >&6
3207 cat >conftest.
$ac_ext <<_ACEOF
3210 cat confdefs.h
>>conftest.
$ac_ext
3211 cat >>conftest.
$ac_ext <<_ACEOF
3212 /* end confdefs.h. */
3222 rm -f conftest.o conftest.obj
3223 if { (ac_try
="$ac_compile"
3225 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3226 *) ac_try_echo=$ac_try;;
3228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3229 (eval "$ac_compile") 2>&5
3231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3232 (exit $ac_status); }; then
3233 for ac_file in conftest.o conftest.obj conftest.*; do
3234 test -f "$ac_file" || continue;
3236 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3237 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3242 echo "$as_me: failed program was:" >&5
3243 sed 's/^/| /' conftest.$ac_ext >&5
3245 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3246 See \`config.log
' for more details." >&5
3247 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3248 See \`config.log' for more details.
" >&2;}
3249 { (exit 1); exit 1; }; }
3252 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3254 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
3255 echo "${ECHO_T}$ac_cv_objext" >&6; }
3256 OBJEXT=$ac_cv_objext
3258 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
3259 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
3260 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3261 echo $ECHO_N "(cached
) $ECHO_C" >&6
3263 cat >conftest.$ac_ext <<_ACEOF
3266 cat confdefs.h >>conftest.$ac_ext
3267 cat >>conftest.$ac_ext <<_ACEOF
3268 /* end confdefs.h. */
3281 rm -f conftest.$ac_objext
3282 if { (ac_try="$ac_compile"
3284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3285 *) ac_try_echo=$ac_try;;
3287 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3288 (eval "$ac_compile") 2>conftest.er1
3290 grep -v '^ *+' conftest.er1 >conftest.err
3292 cat conftest.err >&5
3293 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3294 (exit $ac_status); } && {
3295 test -z "$ac_c_werror_flag" ||
3296 test ! -s conftest.err
3297 } && test -s conftest.$ac_objext; then
3300 echo "$as_me: failed program was
:" >&5
3301 sed 's/^/| /' conftest.$ac_ext >&5
3306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3307 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3310 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
3311 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3312 GCC=`test $ac_compiler_gnu = yes && echo yes`
3313 ac_test_CFLAGS=${CFLAGS+set}
3314 ac_save_CFLAGS=$CFLAGS
3315 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
3316 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
3317 if test "${ac_cv_prog_cc_g+set}" = set; then
3318 echo $ECHO_N "(cached
) $ECHO_C" >&6
3320 ac_save_c_werror_flag=$ac_c_werror_flag
3321 ac_c_werror_flag=yes
3324 cat >conftest.$ac_ext <<_ACEOF
3327 cat confdefs.h >>conftest.$ac_ext
3328 cat >>conftest.$ac_ext <<_ACEOF
3329 /* end confdefs.h. */
3339 rm -f conftest.$ac_objext
3340 if { (ac_try="$ac_compile"
3342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3343 *) ac_try_echo=$ac_try;;
3345 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3346 (eval "$ac_compile") 2>conftest.er1
3348 grep -v '^ *+' conftest.er1 >conftest.err
3350 cat conftest.err >&5
3351 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3352 (exit $ac_status); } && {
3353 test -z "$ac_c_werror_flag" ||
3354 test ! -s conftest.err
3355 } && test -s conftest.$ac_objext; then
3358 echo "$as_me: failed program was
:" >&5
3359 sed 's/^/| /' conftest.$ac_ext >&5
3362 cat >conftest.$ac_ext <<_ACEOF
3365 cat confdefs.h >>conftest.$ac_ext
3366 cat >>conftest.$ac_ext <<_ACEOF
3367 /* end confdefs.h. */
3377 rm -f conftest.$ac_objext
3378 if { (ac_try="$ac_compile"
3380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3381 *) ac_try_echo=$ac_try;;
3383 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3384 (eval "$ac_compile") 2>conftest.er1
3386 grep -v '^ *+' conftest.er1 >conftest.err
3388 cat conftest.err >&5
3389 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3390 (exit $ac_status); } && {
3391 test -z "$ac_c_werror_flag" ||
3392 test ! -s conftest.err
3393 } && test -s conftest.$ac_objext; then
3396 echo "$as_me: failed program was
:" >&5
3397 sed 's/^/| /' conftest.$ac_ext >&5
3399 ac_c_werror_flag=$ac_save_c_werror_flag
3401 cat >conftest.$ac_ext <<_ACEOF
3404 cat confdefs.h >>conftest.$ac_ext
3405 cat >>conftest.$ac_ext <<_ACEOF
3406 /* end confdefs.h. */
3416 rm -f conftest.$ac_objext
3417 if { (ac_try="$ac_compile"
3419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3420 *) ac_try_echo=$ac_try;;
3422 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3423 (eval "$ac_compile") 2>conftest.er1
3425 grep -v '^ *+' conftest.er1 >conftest.err
3427 cat conftest.err >&5
3428 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3429 (exit $ac_status); } && {
3430 test -z "$ac_c_werror_flag" ||
3431 test ! -s conftest.err
3432 } && test -s conftest.$ac_objext; then
3435 echo "$as_me: failed program was
:" >&5
3436 sed 's/^/| /' conftest.$ac_ext >&5
3441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3448 ac_c_werror_flag=$ac_save_c_werror_flag
3450 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3451 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3452 if test "$ac_test_CFLAGS" = set; then
3453 CFLAGS=$ac_save_CFLAGS
3454 elif test $ac_cv_prog_cc_g = yes; then
3455 if test "$GCC" = yes; then
3461 if test "$GCC" = yes; then
3467 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3468 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3469 if test "${ac_cv_prog_cc_c89+set}" = set; then
3470 echo $ECHO_N "(cached
) $ECHO_C" >&6
3472 ac_cv_prog_cc_c89=no
3474 cat >conftest.$ac_ext <<_ACEOF
3477 cat confdefs.h >>conftest.$ac_ext
3478 cat >>conftest.$ac_ext <<_ACEOF
3479 /* end confdefs.h. */
3482 #include <sys/types.h>
3483 #include <sys/stat.h>
3484 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3485 struct buf { int x; };
3486 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3487 static char *e (p, i)
3493 static char *f (char * (*g) (char **, int), char **p, ...)
3498 s = g (p, va_arg (v,int));
3503 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3504 function prototypes and stuff, but not '\xHH' hex character constants.
3505 These don't provoke an error unfortunately, instead are silently treated
3506 as 'x'. The following induces an error, until -std is added to get
3507 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3508 array size at least. It's necessary to write '\x00'==0 to get something
3509 that's true only with -std. */
3510 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3512 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3513 inside strings and character constants. */
3515 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3517 int test (int i, double x);
3518 struct s1 {int (*f) (int a);};
3519 struct s2 {int (*f) (double a);};
3520 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3526 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3531 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3532 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3534 CC="$ac_save_CC $ac_arg"
3535 rm -f conftest.$ac_objext
3536 if { (ac_try="$ac_compile"
3538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3539 *) ac_try_echo=$ac_try;;
3541 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3542 (eval "$ac_compile") 2>conftest.er1
3544 grep -v '^ *+' conftest.er1 >conftest.err
3546 cat conftest.err >&5
3547 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3548 (exit $ac_status); } && {
3549 test -z "$ac_c_werror_flag" ||
3550 test ! -s conftest.err
3551 } && test -s conftest.$ac_objext; then
3552 ac_cv_prog_cc_c89=$ac_arg
3554 echo "$as_me: failed program was
:" >&5
3555 sed 's/^/| /' conftest.$ac_ext >&5
3560 rm -f core conftest.err conftest.$ac_objext
3561 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3563 rm -f conftest.$ac_ext
3568 case "x
$ac_cv_prog_cc_c89" in
3570 { echo "$as_me:$LINENO: result
: none needed
" >&5
3571 echo "${ECHO_T}none needed
" >&6; } ;;
3573 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3574 echo "${ECHO_T}unsupported
" >&6; } ;;
3576 CC="$CC $ac_cv_prog_cc_c89"
3577 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3578 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3583 ac_cpp='$CPP $CPPFLAGS'
3584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3588 depcc="$CC" am_compiler_list=
3590 { echo "$as_me:$LINENO: checking dependency style of
$depcc" >&5
3591 echo $ECHO_N "checking dependency style of
$depcc...
$ECHO_C" >&6; }
3592 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3593 echo $ECHO_N "(cached
) $ECHO_C" >&6
3595 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3596 # We make a subdir and do the tests there. Otherwise we can end up
3597 # making bogus files that we don't know about and never remove. For
3598 # instance it was reported that on HP-UX the gcc test will end up
3599 # making a dummy file named `D' -- because `-MD' means `put the output
3602 # Copy depcomp to subdir because otherwise we won't find it if we're
3603 # using a relative directory.
3604 cp "$am_depcomp" conftest.dir
3606 # We will build objects and dependencies in a subdirectory because
3607 # it helps to detect inapplicable dependency modes. For instance
3608 # both Tru64's cc and ICC support -MD to output dependencies as a
3609 # side effect of compilation, but ICC will put the dependencies in
3610 # the current directory while Tru64 will put them in the object
3614 am_cv_CC_dependencies_compiler_type=none
3615 if test "$am_compiler_list" = ""; then
3616 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3618 for depmode in $am_compiler_list; do
3619 # Setup a source with many dependencies, because some compilers
3620 # like to wrap large dependency lists on column 80 (with \), and
3621 # we should not choose a depcomp mode which is confused by this.
3623 # We need to recreate these files for each test, as the compiler may
3624 # overwrite some of them when testing with obscure command lines.
3625 # This happens at least with the AIX C compiler.
3627 for i in 1 2 3 4 5 6; do
3628 echo '#include "conftst
'$i'.h
"' >> sub/conftest.c
3629 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3630 # Solaris 8's {/usr,}/bin/sh.
3631 touch sub/conftst$i.h
3633 echo "${am__include} ${am__quote}sub
/conftest.Po
${am__quote}" > confmf
3637 # after this tag, mechanisms are not by side-effect, so they'll
3638 # only be used when explicitly requested
3639 if test "x
$enable_dependency_tracking" = xyes; then
3647 # We check with `-c' and `-o' for the sake of the "dashmstdout
"
3648 # mode. It turns out that the SunPro C++ compiler does not properly
3649 # handle `-M -o', and we need to detect this.
3650 if depmode=$depmode \
3651 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3652 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3653 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3654 >/dev/null 2>conftest.err &&
3655 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3656 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3657 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3658 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3659 # icc doesn't choke on unknown options, it will just issue warnings
3660 # or remarks (even with -Werror). So we grep stderr for any message
3661 # that says an option was ignored or not supported.
3662 # When given -MP, icc 7.0 and 7.1 complain thusly:
3663 # icc: Command line warning: ignoring option '-M'; no argument required
3664 # The diagnosis changed in icc 8.0:
3665 # icc: Command line remark: option '-MP' not supported
3666 if (grep 'ignoring option' conftest.err ||
3667 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3668 am_cv_CC_dependencies_compiler_type=$depmode
3677 am_cv_CC_dependencies_compiler_type=none
3681 { echo "$as_me:$LINENO: result
: $am_cv_CC_dependencies_compiler_type" >&5
3682 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3683 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3686 test "x
$enable_dependency_tracking" != xno \
3687 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3689 am__fastdepCC_FALSE='#'
3691 am__fastdepCC_TRUE='#'
3692 am__fastdepCC_FALSE=
3697 { echo "$as_me:$LINENO: checking
return type of signal handlers
" >&5
3698 echo $ECHO_N "checking
return type of signal handlers...
$ECHO_C" >&6; }
3699 if test "${ac_cv_type_signal+set}" = set; then
3700 echo $ECHO_N "(cached
) $ECHO_C" >&6
3702 cat >conftest.$ac_ext <<_ACEOF
3705 cat confdefs.h >>conftest.$ac_ext
3706 cat >>conftest.$ac_ext <<_ACEOF
3707 /* end confdefs.h. */
3708 #include <sys/types.h>
3714 return *(signal (0, 0)) (0) == 1;
3719 rm -f conftest.$ac_objext
3720 if { (ac_try="$ac_compile"
3722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3723 *) ac_try_echo=$ac_try;;
3725 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3726 (eval "$ac_compile") 2>conftest.er1
3728 grep -v '^ *+' conftest.er1 >conftest.err
3730 cat conftest.err >&5
3731 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3732 (exit $ac_status); } && {
3733 test -z "$ac_c_werror_flag" ||
3734 test ! -s conftest.err
3735 } && test -s conftest.$ac_objext; then
3736 ac_cv_type_signal=int
3738 echo "$as_me: failed program was
:" >&5
3739 sed 's/^/| /' conftest.$ac_ext >&5
3741 ac_cv_type_signal=void
3744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3746 { echo "$as_me:$LINENO: result
: $ac_cv_type_signal" >&5
3747 echo "${ECHO_T}$ac_cv_type_signal" >&6; }
3749 cat >>confdefs.h <<_ACEOF
3750 #define RETSIGTYPE $ac_cv_type_signal
3754 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
3755 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
3756 if test "${ac_cv_c_const+set}" = set; then
3757 echo $ECHO_N "(cached
) $ECHO_C" >&6
3759 cat >conftest.$ac_ext <<_ACEOF
3762 cat confdefs.h >>conftest.$ac_ext
3763 cat >>conftest.$ac_ext <<_ACEOF
3764 /* end confdefs.h. */
3769 /* FIXME: Include the comments suggested by Paul. */
3771 /* Ultrix mips cc rejects this. */
3772 typedef int charset[2];
3774 /* SunOS 4.1.1 cc rejects this. */
3775 char const *const *pcpcc;
3777 /* NEC SVR4.0.2 mips cc rejects this. */
3778 struct point {int x, y;};
3779 static struct point const zero = {0,0};
3780 /* AIX XL C 1.02.0.0 rejects this.
3781 It does not let you subtract one const X* pointer from another in
3782 an arm of an if-expression whose if-part is not a constant
3784 const char *g = "string
";
3785 pcpcc = &g + (g ? g-g : 0);
3786 /* HPUX 7.0 cc rejects these. */
3788 ppc = (char**) pcpcc;
3789 pcpcc = (char const *const *) ppc;
3790 { /* SCO 3.2v4 cc rejects this. */
3792 char const *s = 0 ? (char *) 0 : (char const *) 0;
3797 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3799 const int *foo = &x[0];
3802 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3803 typedef const int *iptr;
3807 { /* AIX XL C 1.02.0.0 rejects this saying
3808 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3809 struct s { int j; const int *ap[3]; };
3810 struct s *b; b->j = 5;
3812 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3816 return !cs[0] && !zero.x;
3823 rm -f conftest.$ac_objext
3824 if { (ac_try="$ac_compile"
3826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3827 *) ac_try_echo=$ac_try;;
3829 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3830 (eval "$ac_compile") 2>conftest.er1
3832 grep -v '^ *+' conftest.er1 >conftest.err
3834 cat conftest.err >&5
3835 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3836 (exit $ac_status); } && {
3837 test -z "$ac_c_werror_flag" ||
3838 test ! -s conftest.err
3839 } && test -s conftest.$ac_objext; then
3842 echo "$as_me: failed program was
:" >&5
3843 sed 's/^/| /' conftest.$ac_ext >&5
3848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3850 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
3851 echo "${ECHO_T}$ac_cv_c_const" >&6; }
3852 if test $ac_cv_c_const = no; then
3854 cat >>confdefs.h <<\_ACEOF
3861 for ac_prog in gawk mawk nawk awk
3863 # Extract the first word of "$ac_prog", so it can be a program name with args.
3864 set dummy $ac_prog; ac_word=$2
3865 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3866 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3867 if test "${ac_cv_prog_AWK+set}" = set; then
3868 echo $ECHO_N "(cached
) $ECHO_C" >&6
3870 if test -n "$AWK"; then
3871 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3877 test -z "$as_dir" && as_dir=.
3878 for ac_exec_ext in '' $ac_executable_extensions; do
3879 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3880 ac_cv_prog_AWK="$ac_prog"
3881 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3891 if test -n "$AWK"; then
3892 { echo "$as_me:$LINENO: result
: $AWK" >&5
3893 echo "${ECHO_T}$AWK" >&6; }
3895 { echo "$as_me:$LINENO: result
: no
" >&5
3896 echo "${ECHO_T}no
" >&6; }
3900 test -n "$AWK" && break
3904 ac_cpp='$CPP $CPPFLAGS'
3905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3908 if test -n "$ac_tool_prefix"; then
3909 # Extract the first word of "${ac_tool_prefix}gcc
", so it can be a program name with args.
3910 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3911 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3912 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3913 if test "${ac_cv_prog_CC+set}" = set; then
3914 echo $ECHO_N "(cached
) $ECHO_C" >&6
3916 if test -n "$CC"; then
3917 ac_cv_prog_CC="$CC" # Let the user override the test.
3919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3923 test -z "$as_dir" && as_dir=.
3924 for ac_exec_ext in '' $ac_executable_extensions; do
3925 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3926 ac_cv_prog_CC="${ac_tool_prefix}gcc
"
3927 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3937 if test -n "$CC"; then
3938 { echo "$as_me:$LINENO: result
: $CC" >&5
3939 echo "${ECHO_T}$CC" >&6; }
3941 { echo "$as_me:$LINENO: result
: no
" >&5
3942 echo "${ECHO_T}no
" >&6; }
3947 if test -z "$ac_cv_prog_CC"; then
3949 # Extract the first word of "gcc
", so it can be a program name with args.
3950 set dummy gcc; ac_word=$2
3951 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3952 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3953 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3954 echo $ECHO_N "(cached
) $ECHO_C" >&6
3956 if test -n "$ac_ct_CC"; then
3957 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3963 test -z "$as_dir" && as_dir=.
3964 for ac_exec_ext in '' $ac_executable_extensions; do
3965 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3966 ac_cv_prog_ac_ct_CC="gcc
"
3967 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3976 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3977 if test -n "$ac_ct_CC"; then
3978 { echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
3979 echo "${ECHO_T}$ac_ct_CC" >&6; }
3981 { echo "$as_me:$LINENO: result
: no
" >&5
3982 echo "${ECHO_T}no
" >&6; }
3985 if test "x
$ac_ct_CC" = x; then
3988 case $cross_compiling:$ac_tool_warned in
3990 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross
-tools
3991 whose name does not start with the
host triplet. If you think this
3992 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3993 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross
-tools
3994 whose name does not start with the
host triplet. If you think this
3995 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3996 ac_tool_warned=yes ;;
4004 if test -z "$CC"; then
4005 if test -n "$ac_tool_prefix"; then
4006 # Extract the first word of "${ac_tool_prefix}cc
", so it can be a program name with args.
4007 set dummy ${ac_tool_prefix}cc; ac_word=$2
4008 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
4009 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
4010 if test "${ac_cv_prog_CC+set}" = set; then
4011 echo $ECHO_N "(cached
) $ECHO_C" >&6
4013 if test -n "$CC"; then
4014 ac_cv_prog_CC="$CC" # Let the user override the test.
4016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4020 test -z "$as_dir" && as_dir=.
4021 for ac_exec_ext in '' $ac_executable_extensions; do
4022 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4023 ac_cv_prog_CC="${ac_tool_prefix}cc
"
4024 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4034 if test -n "$CC"; then
4035 { echo "$as_me:$LINENO: result
: $CC" >&5
4036 echo "${ECHO_T}$CC" >&6; }
4038 { echo "$as_me:$LINENO: result
: no
" >&5
4039 echo "${ECHO_T}no
" >&6; }
4045 if test -z "$CC"; then
4046 # Extract the first word of "cc
", so it can be a program name with args.
4047 set dummy cc; ac_word=$2
4048 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
4049 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
4050 if test "${ac_cv_prog_CC+set}" = set; then
4051 echo $ECHO_N "(cached
) $ECHO_C" >&6
4053 if test -n "$CC"; then
4054 ac_cv_prog_CC="$CC" # Let the user override the test.
4057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4061 test -z "$as_dir" && as_dir=.
4062 for ac_exec_ext in '' $ac_executable_extensions; do
4063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4064 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr
/ucb
/cc
"; then
4065 ac_prog_rejected=yes
4069 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4076 if test $ac_prog_rejected = yes; then
4077 # We found a bogon in the path, so make sure we never use it.
4078 set dummy $ac_cv_prog_CC
4080 if test $# != 0; then
4081 # We chose a different compiler from the bogus one.
4082 # However, it has the same basename, so the bogon will be chosen
4083 # first if we set CC to just the basename; use the full file name.
4085 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@
"
4091 if test -n "$CC"; then
4092 { echo "$as_me:$LINENO: result
: $CC" >&5
4093 echo "${ECHO_T}$CC" >&6; }
4095 { echo "$as_me:$LINENO: result
: no
" >&5
4096 echo "${ECHO_T}no
" >&6; }
4101 if test -z "$CC"; then
4102 if test -n "$ac_tool_prefix"; then
4103 for ac_prog in cl.exe
4105 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4106 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4107 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
4108 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
4109 if test "${ac_cv_prog_CC+set}" = set; then
4110 echo $ECHO_N "(cached
) $ECHO_C" >&6
4112 if test -n "$CC"; then
4113 ac_cv_prog_CC="$CC" # Let the user override the test.
4115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4119 test -z "$as_dir" && as_dir=.
4120 for ac_exec_ext in '' $ac_executable_extensions; do
4121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4122 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4123 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4133 if test -n "$CC"; then
4134 { echo "$as_me:$LINENO: result
: $CC" >&5
4135 echo "${ECHO_T}$CC" >&6; }
4137 { echo "$as_me:$LINENO: result
: no
" >&5
4138 echo "${ECHO_T}no
" >&6; }
4142 test -n "$CC" && break
4145 if test -z "$CC"; then
4147 for ac_prog in cl.exe
4149 # Extract the first word of "$ac_prog", so it can be a program name with args.
4150 set dummy $ac_prog; ac_word=$2
4151 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
4152 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
4153 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4154 echo $ECHO_N "(cached
) $ECHO_C" >&6
4156 if test -n "$ac_ct_CC"; then
4157 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4163 test -z "$as_dir" && as_dir=.
4164 for ac_exec_ext in '' $ac_executable_extensions; do
4165 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4166 ac_cv_prog_ac_ct_CC="$ac_prog"
4167 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4176 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4177 if test -n "$ac_ct_CC"; then
4178 { echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
4179 echo "${ECHO_T}$ac_ct_CC" >&6; }
4181 { echo "$as_me:$LINENO: result
: no
" >&5
4182 echo "${ECHO_T}no
" >&6; }
4186 test -n "$ac_ct_CC" && break
4189 if test "x
$ac_ct_CC" = x; then
4192 case $cross_compiling:$ac_tool_warned in
4194 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross
-tools
4195 whose name does not start with the
host triplet. If you think this
4196 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
4197 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross
-tools
4198 whose name does not start with the
host triplet. If you think this
4199 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
4200 ac_tool_warned=yes ;;
4209 test -z "$CC" && { { echo "$as_me:$LINENO: error
: no acceptable C compiler found
in \
$PATH
4210 See \
`config.log' for more details." >&5
4211 echo "$as_me: error: no acceptable C compiler found in \$PATH
4212 See \`config.log
' for more details." >&2;}
4213 { (exit 1); exit 1; }; }
4215 # Provide some information about the compiler.
4216 echo "$as_me:$LINENO: checking for C compiler version" >&5
4217 ac_compiler=`set X $ac_compile; echo $2`
4218 { (ac_try="$ac_compiler --version >&5"
4220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4221 *) ac_try_echo=$ac_try;;
4223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4224 (eval "$ac_compiler --version >&5") 2>&5
4226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4227 (exit $ac_status); }
4228 { (ac_try="$ac_compiler -v >&5"
4230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4231 *) ac_try_echo=$ac_try;;
4233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4234 (eval "$ac_compiler -v >&5") 2>&5
4236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4237 (exit $ac_status); }
4238 { (ac_try="$ac_compiler -V >&5"
4240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4241 *) ac_try_echo=$ac_try;;
4243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4244 (eval "$ac_compiler -V >&5") 2>&5
4246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4247 (exit $ac_status); }
4249 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4250 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
4251 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4252 echo $ECHO_N "(cached) $ECHO_C" >&6
4254 cat >conftest.$ac_ext <<_ACEOF
4257 cat confdefs.h >>conftest.$ac_ext
4258 cat >>conftest.$ac_ext <<_ACEOF
4259 /* end confdefs.h. */
4272 rm -f conftest.$ac_objext
4273 if { (ac_try="$ac_compile"
4275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4276 *) ac_try_echo=$ac_try;;
4278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4279 (eval "$ac_compile") 2>conftest.er1
4281 grep -v '^
*+' conftest.er1 >conftest.err
4283 cat conftest.err >&5
4284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4285 (exit $ac_status); } && {
4286 test -z "$ac_c_werror_flag" ||
4287 test ! -s conftest.err
4288 } && test -s conftest.$ac_objext; then
4291 echo "$as_me: failed program was:" >&5
4292 sed 's
/^
/| /' conftest.$ac_ext >&5
4297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4298 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4301 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4302 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
4303 GCC=`test $ac_compiler_gnu = yes && echo yes`
4304 ac_test_CFLAGS=${CFLAGS+set}
4305 ac_save_CFLAGS=$CFLAGS
4306 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4307 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
4308 if test "${ac_cv_prog_cc_g+set}" = set; then
4309 echo $ECHO_N "(cached) $ECHO_C" >&6
4311 ac_save_c_werror_flag=$ac_c_werror_flag
4312 ac_c_werror_flag=yes
4315 cat >conftest.$ac_ext <<_ACEOF
4318 cat confdefs.h >>conftest.$ac_ext
4319 cat >>conftest.$ac_ext <<_ACEOF
4320 /* end confdefs.h. */
4330 rm -f conftest.$ac_objext
4331 if { (ac_try="$ac_compile"
4333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4334 *) ac_try_echo=$ac_try;;
4336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4337 (eval "$ac_compile") 2>conftest.er1
4339 grep -v '^
*+' conftest.er1 >conftest.err
4341 cat conftest.err >&5
4342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4343 (exit $ac_status); } && {
4344 test -z "$ac_c_werror_flag" ||
4345 test ! -s conftest.err
4346 } && test -s conftest.$ac_objext; then
4349 echo "$as_me: failed program was:" >&5
4350 sed 's
/^
/| /' conftest.$ac_ext >&5
4353 cat >conftest.$ac_ext <<_ACEOF
4356 cat confdefs.h >>conftest.$ac_ext
4357 cat >>conftest.$ac_ext <<_ACEOF
4358 /* end confdefs.h. */
4368 rm -f conftest.$ac_objext
4369 if { (ac_try="$ac_compile"
4371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4372 *) ac_try_echo=$ac_try;;
4374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4375 (eval "$ac_compile") 2>conftest.er1
4377 grep -v '^
*+' conftest.er1 >conftest.err
4379 cat conftest.err >&5
4380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4381 (exit $ac_status); } && {
4382 test -z "$ac_c_werror_flag" ||
4383 test ! -s conftest.err
4384 } && test -s conftest.$ac_objext; then
4387 echo "$as_me: failed program was:" >&5
4388 sed 's
/^
/| /' conftest.$ac_ext >&5
4390 ac_c_werror_flag=$ac_save_c_werror_flag
4392 cat >conftest.$ac_ext <<_ACEOF
4395 cat confdefs.h >>conftest.$ac_ext
4396 cat >>conftest.$ac_ext <<_ACEOF
4397 /* end confdefs.h. */
4407 rm -f conftest.$ac_objext
4408 if { (ac_try="$ac_compile"
4410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4411 *) ac_try_echo=$ac_try;;
4413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4414 (eval "$ac_compile") 2>conftest.er1
4416 grep -v '^
*+' conftest.er1 >conftest.err
4418 cat conftest.err >&5
4419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4420 (exit $ac_status); } && {
4421 test -z "$ac_c_werror_flag" ||
4422 test ! -s conftest.err
4423 } && test -s conftest.$ac_objext; then
4426 echo "$as_me: failed program was:" >&5
4427 sed 's
/^
/| /' conftest.$ac_ext >&5
4432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4439 ac_c_werror_flag=$ac_save_c_werror_flag
4441 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4442 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
4443 if test "$ac_test_CFLAGS" = set; then
4444 CFLAGS=$ac_save_CFLAGS
4445 elif test $ac_cv_prog_cc_g = yes; then
4446 if test "$GCC" = yes; then
4452 if test "$GCC" = yes; then
4458 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4459 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
4460 if test "${ac_cv_prog_cc_c89+set}" = set; then
4461 echo $ECHO_N "(cached) $ECHO_C" >&6
4463 ac_cv_prog_cc_c89=no
4465 cat >conftest.$ac_ext <<_ACEOF
4468 cat confdefs.h >>conftest.$ac_ext
4469 cat >>conftest.$ac_ext <<_ACEOF
4470 /* end confdefs.h. */
4473 #include <sys/types.h>
4474 #include <sys/stat.h>
4475 /* Most of the following tests are stolen from RCS 5.7's src
/conf.sh.
*/
4476 struct buf
{ int x
; };
4477 FILE
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
4478 static char
*e
(p
, i
)
4484 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
4489 s
= g
(p
, va_arg
(v
,int
));
4494 /* OSF
4.0 Compaq cc is some
sort of almost
-ANSI by default. It has
4495 function prototypes and stuff
, but not
'\xHH' hex character constants.
4496 These don
't provoke an error unfortunately, instead are silently treated
4497 as 'x
'. The following induces an error, until -std is added to get
4498 proper ANSI mode. Curiously '\x00'!='x
' always comes out true, for an
4499 array size at least. It's necessary to
write '\x00'==0 to get something
4500 that
's true only with -std. */
4501 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4503 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4504 inside strings and character constants. */
4506 int xlc6_cc_array[FOO(a) == 'x
' ? 1 : -1];
4508 int test (int i, double x);
4509 struct s1 {int (*f) (int a);};
4510 struct s2 {int (*f) (double a);};
4511 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4517 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4522 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4523 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4525 CC="$ac_save_CC $ac_arg"
4526 rm -f conftest.$ac_objext
4527 if { (ac_try="$ac_compile"
4529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4530 *) ac_try_echo=$ac_try;;
4532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4533 (eval "$ac_compile") 2>conftest.er1
4535 grep -v '^
*+' conftest.er1 >conftest.err
4537 cat conftest.err >&5
4538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4539 (exit $ac_status); } && {
4540 test -z "$ac_c_werror_flag" ||
4541 test ! -s conftest.err
4542 } && test -s conftest.$ac_objext; then
4543 ac_cv_prog_cc_c89=$ac_arg
4545 echo "$as_me: failed program was:" >&5
4546 sed 's
/^
/| /' conftest.$ac_ext >&5
4551 rm -f core conftest.err conftest.$ac_objext
4552 test "x$ac_cv_prog_cc_c89" != "xno" && break
4554 rm -f conftest.$ac_ext
4559 case "x$ac_cv_prog_cc_c89" in
4561 { echo "$as_me:$LINENO: result: none needed" >&5
4562 echo "${ECHO_T}none needed" >&6; } ;;
4564 { echo "$as_me:$LINENO: result: unsupported" >&5
4565 echo "${ECHO_T}unsupported" >&6; } ;;
4567 CC="$CC $ac_cv_prog_cc_c89"
4568 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4569 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
4574 ac_cpp='$CPP $CPPFLAGS'
4575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
4576 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
4577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4579 depcc="$CC" am_compiler_list=
4581 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4582 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4583 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4584 echo $ECHO_N "(cached) $ECHO_C" >&6
4586 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4587 # We make a subdir and do the tests there. Otherwise we can end up
4588 # making bogus files that we don't know about and never remove. For
4589 # instance it was reported that on HP-UX the gcc test will end up
4590 # making a dummy file named `D' -- because `-MD' means `put the output
4593 # Copy depcomp to subdir because otherwise we won't find it if we're
4594 # using a relative directory.
4595 cp "$am_depcomp" conftest.dir
4597 # We will build objects and dependencies in a subdirectory because
4598 # it helps to detect inapplicable dependency modes. For instance
4599 # both Tru64's cc and ICC support -MD to output dependencies as a
4600 # side effect of compilation, but ICC will put the dependencies in
4601 # the current directory while Tru64 will put them in the object
4605 am_cv_CC_dependencies_compiler_type
=none
4606 if test "$am_compiler_list" = ""; then
4607 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4609 for depmode
in $am_compiler_list; do
4610 # Setup a source with many dependencies, because some compilers
4611 # like to wrap large dependency lists on column 80 (with \), and
4612 # we should not choose a depcomp mode which is confused by this.
4614 # We need to recreate these files for each test, as the compiler may
4615 # overwrite some of them when testing with obscure command lines.
4616 # This happens at least with the AIX C compiler.
4618 for i
in 1 2 3 4 5 6; do
4619 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4620 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4621 # Solaris 8's {/usr,}/bin/sh.
4622 touch sub
/conftst
$i.h
4624 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4628 # after this tag, mechanisms are not by side-effect, so they'll
4629 # only be used when explicitly requested
4630 if test "x$enable_dependency_tracking" = xyes
; then
4638 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4639 # mode. It turns out that the SunPro C++ compiler does not properly
4640 # handle `-M -o', and we need to detect this.
4641 if depmode
=$depmode \
4642 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
4643 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4644 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
4645 >/dev
/null
2>conftest.err
&&
4646 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4647 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4648 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
4649 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4650 # icc doesn't choke on unknown options, it will just issue warnings
4651 # or remarks (even with -Werror). So we grep stderr for any message
4652 # that says an option was ignored or not supported.
4653 # When given -MP, icc 7.0 and 7.1 complain thusly:
4654 # icc: Command line warning: ignoring option '-M'; no argument required
4655 # The diagnosis changed in icc 8.0:
4656 # icc: Command line remark: option '-MP' not supported
4657 if (grep 'ignoring option' conftest.err
||
4658 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4659 am_cv_CC_dependencies_compiler_type
=$depmode
4668 am_cv_CC_dependencies_compiler_type
=none
4672 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4673 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
4674 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4677 test "x$enable_dependency_tracking" != xno \
4678 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4680 am__fastdepCC_FALSE
='#'
4682 am__fastdepCC_TRUE
='#'
4683 am__fastdepCC_FALSE
=
4687 # Find a good install program. We prefer a C program (faster),
4688 # so one script is as good as another. But avoid the broken or
4689 # incompatible versions:
4690 # SysV /etc/install, /usr/sbin/install
4691 # SunOS /usr/etc/install
4692 # IRIX /sbin/install
4694 # AmigaOS /C/install, which installs bootblocks on floppy discs
4695 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4696 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4697 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4698 # OS/2's system install, which has a completely different semantic
4699 # ./install, which can be erroneously created by make from ./install.sh.
4700 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4701 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
4702 if test -z "$INSTALL"; then
4703 if test "${ac_cv_path_install+set}" = set; then
4704 echo $ECHO_N "(cached) $ECHO_C" >&6
4706 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4710 test -z "$as_dir" && as_dir
=.
4711 # Account for people who put trailing slashes in PATH elements.
4713 .
/ | .
// | /cC
/* | \
4714 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
4715 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
4718 # OSF1 and SCO ODT 3.0 have their own names for install.
4719 # Don't use installbsd from OSF since it installs stuff as root
4721 for ac_prog
in ginstall scoinst
install; do
4722 for ac_exec_ext
in '' $ac_executable_extensions; do
4723 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4724 if test $ac_prog = install &&
4725 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4726 # AIX install. It has an incompatible calling convention.
4728 elif test $ac_prog = install &&
4729 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4730 # program-specific install script used by HP pwplus--don't use.
4733 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4746 if test "${ac_cv_path_install+set}" = set; then
4747 INSTALL
=$ac_cv_path_install
4749 # As a last resort, use the slow shell script. Don't cache a
4750 # value for INSTALL within a source directory, because that will
4751 # break other packages using the cache if that directory is
4752 # removed, or if the value is a relative name.
4753 INSTALL
=$ac_install_sh
4756 { echo "$as_me:$LINENO: result: $INSTALL" >&5
4757 echo "${ECHO_T}$INSTALL" >&6; }
4759 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4760 # It thinks the first close brace ends the variable substitution.
4761 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4763 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4765 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4767 if test -n "$ac_tool_prefix"; then
4768 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4769 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4770 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4771 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4772 if test "${ac_cv_prog_RANLIB+set}" = set; then
4773 echo $ECHO_N "(cached) $ECHO_C" >&6
4775 if test -n "$RANLIB"; then
4776 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4778 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4782 test -z "$as_dir" && as_dir
=.
4783 for ac_exec_ext
in '' $ac_executable_extensions; do
4784 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4785 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4786 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4795 RANLIB
=$ac_cv_prog_RANLIB
4796 if test -n "$RANLIB"; then
4797 { echo "$as_me:$LINENO: result: $RANLIB" >&5
4798 echo "${ECHO_T}$RANLIB" >&6; }
4800 { echo "$as_me:$LINENO: result: no" >&5
4801 echo "${ECHO_T}no" >&6; }
4806 if test -z "$ac_cv_prog_RANLIB"; then
4807 ac_ct_RANLIB
=$RANLIB
4808 # Extract the first word of "ranlib", so it can be a program name with args.
4809 set dummy ranlib
; ac_word
=$2
4810 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4811 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4812 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4813 echo $ECHO_N "(cached) $ECHO_C" >&6
4815 if test -n "$ac_ct_RANLIB"; then
4816 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4818 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4822 test -z "$as_dir" && as_dir
=.
4823 for ac_exec_ext
in '' $ac_executable_extensions; do
4824 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4825 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4826 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4835 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4836 if test -n "$ac_ct_RANLIB"; then
4837 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4838 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
4840 { echo "$as_me:$LINENO: result: no" >&5
4841 echo "${ECHO_T}no" >&6; }
4844 if test "x$ac_ct_RANLIB" = x
; then
4847 case $cross_compiling:$ac_tool_warned in
4849 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4850 whose name does not start with the host triplet. If you think this
4851 configuration is useful to you, please write to autoconf@gnu.org." >&5
4852 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4853 whose name does not start with the host triplet. If you think this
4854 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4855 ac_tool_warned
=yes ;;
4857 RANLIB
=$ac_ct_RANLIB
4860 RANLIB
="$ac_cv_prog_RANLIB"
4863 # Check whether --enable-shared was given.
4864 if test "${enable_shared+set}" = set; then
4865 enableval
=$enable_shared; p
=${PACKAGE-default}
4867 yes) enable_shared
=yes ;;
4868 no
) enable_shared
=no
;;
4871 # Look at the argument we got. We use all the common list separators.
4872 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4873 for pkg
in $enableval; do
4875 if test "X$pkg" = "X$p"; then
4887 # Check whether --enable-static was given.
4888 if test "${enable_static+set}" = set; then
4889 enableval
=$enable_static; p
=${PACKAGE-default}
4891 yes) enable_static
=yes ;;
4892 no
) enable_static
=no
;;
4895 # Look at the argument we got. We use all the common list separators.
4896 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4897 for pkg
in $enableval; do
4899 if test "X$pkg" = "X$p"; then
4911 # Check whether --enable-fast-install was given.
4912 if test "${enable_fast_install+set}" = set; then
4913 enableval
=$enable_fast_install; p
=${PACKAGE-default}
4915 yes) enable_fast_install
=yes ;;
4916 no
) enable_fast_install
=no
;;
4918 enable_fast_install
=no
4919 # Look at the argument we got. We use all the common list separators.
4920 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4921 for pkg
in $enableval; do
4923 if test "X$pkg" = "X$p"; then
4924 enable_fast_install
=yes
4931 enable_fast_install
=yes
4935 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4936 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
4937 if test "${lt_cv_path_SED+set}" = set; then
4938 echo $ECHO_N "(cached) $ECHO_C" >&6
4940 # Loop through the user's path and test for sed and gsed.
4941 # Then use that list of sed's as ones to test for truncation.
4942 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4946 test -z "$as_dir" && as_dir
=.
4947 for lt_ac_prog
in sed gsed
; do
4948 for ac_exec_ext
in '' $ac_executable_extensions; do
4949 if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
4950 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4958 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4959 # along with /bin/sed that truncates output.
4960 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
4961 test ! -f $lt_ac_sed && continue
4962 cat /dev
/null
> conftest.
in
4964 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
4965 # Check for GNU sed and select it if it is found.
4966 if "$lt_ac_sed" --version 2>&1 < /dev
/null
| grep 'GNU' > /dev
/null
; then
4967 lt_cv_path_SED
=$lt_ac_sed
4971 cat conftest.
in conftest.
in >conftest.tmp
4972 mv conftest.tmp conftest.
in
4973 cp conftest.
in conftest.
nl
4975 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out
|| break
4976 cmp -s conftest.out conftest.
nl || break
4977 # 10000 chars as input seems more than enough
4978 test $lt_ac_count -gt 10 && break
4979 lt_ac_count
=`expr $lt_ac_count + 1`
4980 if test $lt_ac_count -gt $lt_ac_max; then
4981 lt_ac_max
=$lt_ac_count
4982 lt_cv_path_SED
=$lt_ac_sed
4991 { echo "$as_me:$LINENO: result: $SED" >&5
4992 echo "${ECHO_T}$SED" >&6; }
4994 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4995 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4996 if test "${ac_cv_path_GREP+set}" = set; then
4997 echo $ECHO_N "(cached) $ECHO_C" >&6
4999 # Extract the first word of "grep ggrep" to use in msg output
5000 if test -z "$GREP"; then
5001 set dummy
grep ggrep
; ac_prog_name
=$2
5002 if test "${ac_cv_path_GREP+set}" = set; then
5003 echo $ECHO_N "(cached) $ECHO_C" >&6
5005 ac_path_GREP_found
=false
5006 # Loop through the user's path and test for each of PROGNAME-LIST
5007 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5008 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5011 test -z "$as_dir" && as_dir
=.
5012 for ac_prog
in grep ggrep
; do
5013 for ac_exec_ext
in '' $ac_executable_extensions; do
5014 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5015 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5016 # Check for GNU ac_path_GREP and select it if it is found.
5017 # Check for GNU $ac_path_GREP
5018 case `"$ac_path_GREP" --version 2>&1` in
5020 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5023 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5026 cat "conftest.in" "conftest.in" >"conftest.tmp"
5027 mv "conftest.tmp" "conftest.in"
5028 cp "conftest.in" "conftest.nl"
5029 echo 'GREP' >> "conftest.nl"
5030 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
5031 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
5032 ac_count
=`expr $ac_count + 1`
5033 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5034 # Best one so far, save it but keep looking for a better one
5035 ac_cv_path_GREP
="$ac_path_GREP"
5036 ac_path_GREP_max
=$ac_count
5038 # 10*(2^10) chars as input seems more than enough
5039 test $ac_count -gt 10 && break
5041 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5045 $ac_path_GREP_found && break 3
5055 GREP
="$ac_cv_path_GREP"
5056 if test -z "$GREP"; then
5057 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5058 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5059 { (exit 1); exit 1; }; }
5063 ac_cv_path_GREP
=$GREP
5068 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5069 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5070 GREP
="$ac_cv_path_GREP"
5073 { echo "$as_me:$LINENO: checking for egrep" >&5
5074 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5075 if test "${ac_cv_path_EGREP+set}" = set; then
5076 echo $ECHO_N "(cached) $ECHO_C" >&6
5078 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
5079 then ac_cv_path_EGREP
="$GREP -E"
5081 # Extract the first word of "egrep" to use in msg output
5082 if test -z "$EGREP"; then
5083 set dummy
egrep; ac_prog_name
=$2
5084 if test "${ac_cv_path_EGREP+set}" = set; then
5085 echo $ECHO_N "(cached) $ECHO_C" >&6
5087 ac_path_EGREP_found
=false
5088 # Loop through the user's path and test for each of PROGNAME-LIST
5089 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5090 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5093 test -z "$as_dir" && as_dir
=.
5094 for ac_prog
in egrep; do
5095 for ac_exec_ext
in '' $ac_executable_extensions; do
5096 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5097 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5098 # Check for GNU ac_path_EGREP and select it if it is found.
5099 # Check for GNU $ac_path_EGREP
5100 case `"$ac_path_EGREP" --version 2>&1` in
5102 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5105 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5108 cat "conftest.in" "conftest.in" >"conftest.tmp"
5109 mv "conftest.tmp" "conftest.in"
5110 cp "conftest.in" "conftest.nl"
5111 echo 'EGREP' >> "conftest.nl"
5112 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
5113 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
5114 ac_count
=`expr $ac_count + 1`
5115 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5116 # Best one so far, save it but keep looking for a better one
5117 ac_cv_path_EGREP
="$ac_path_EGREP"
5118 ac_path_EGREP_max
=$ac_count
5120 # 10*(2^10) chars as input seems more than enough
5121 test $ac_count -gt 10 && break
5123 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5127 $ac_path_EGREP_found && break 3
5137 EGREP
="$ac_cv_path_EGREP"
5138 if test -z "$EGREP"; then
5139 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5140 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5141 { (exit 1); exit 1; }; }
5145 ac_cv_path_EGREP
=$EGREP
5151 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5152 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5153 EGREP
="$ac_cv_path_EGREP"
5157 # Check whether --with-gnu-ld was given.
5158 if test "${with_gnu_ld+set}" = set; then
5159 withval
=$with_gnu_ld; test "$withval" = no
|| with_gnu_ld
=yes
5165 if test "$GCC" = yes; then
5166 # Check if gcc -print-prog-name=ld gives a path.
5167 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
5168 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
5171 # gcc leaves a trailing carriage return which upsets mingw
5172 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5174 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5177 # Accept absolute paths.
5179 re_direlt
='/[^/][^/]*/\.\./'
5180 # Canonicalize the pathname of ld
5181 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
5182 while echo $ac_prog | grep "$re_direlt" > /dev
/null
2>&1; do
5183 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
5185 test -z "$LD" && LD
="$ac_prog"
5188 # If it fails, then pretend we aren't using GCC.
5192 # If it is relative, then search for the first ld in PATH.
5196 elif test "$with_gnu_ld" = yes; then
5197 { echo "$as_me:$LINENO: checking for GNU ld" >&5
5198 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
5200 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5201 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
5203 if test "${lt_cv_path_LD+set}" = set; then
5204 echo $ECHO_N "(cached) $ECHO_C" >&6
5206 if test -z "$LD"; then
5207 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5208 for ac_dir
in $PATH; do
5210 test -z "$ac_dir" && ac_dir
=.
5211 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5212 lt_cv_path_LD
="$ac_dir/$ac_prog"
5213 # Check to see if the program is GNU ld. I'd rather use --version,
5214 # but apparently some variants of GNU ld only accept -v.
5215 # Break only if it was the GNU/non-GNU ld that we prefer.
5216 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5217 *GNU
* | *'with BFD'*)
5218 test "$with_gnu_ld" != no
&& break
5221 test "$with_gnu_ld" != yes && break
5228 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5233 if test -n "$LD"; then
5234 { echo "$as_me:$LINENO: result: $LD" >&5
5235 echo "${ECHO_T}$LD" >&6; }
5237 { echo "$as_me:$LINENO: result: no" >&5
5238 echo "${ECHO_T}no" >&6; }
5240 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5241 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5242 { (exit 1); exit 1; }; }
5243 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5244 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
5245 if test "${lt_cv_prog_gnu_ld+set}" = set; then
5246 echo $ECHO_N "(cached) $ECHO_C" >&6
5248 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5249 case `$LD -v 2>&1 </dev/null` in
5250 *GNU
* | *'with BFD'*)
5251 lt_cv_prog_gnu_ld
=yes
5254 lt_cv_prog_gnu_ld
=no
5258 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5259 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
5260 with_gnu_ld
=$lt_cv_prog_gnu_ld
5263 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
5264 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
5265 if test "${lt_cv_ld_reload_flag+set}" = set; then
5266 echo $ECHO_N "(cached) $ECHO_C" >&6
5268 lt_cv_ld_reload_flag
='-r'
5270 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
5271 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
5272 reload_flag
=$lt_cv_ld_reload_flag
5273 case $reload_flag in
5275 *) reload_flag
=" $reload_flag" ;;
5277 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5280 if test "$GCC" = yes; then
5281 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5283 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5288 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
5289 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
5290 if test "${lt_cv_path_NM+set}" = set; then
5291 echo $ECHO_N "(cached) $ECHO_C" >&6
5293 if test -n "$NM"; then
5294 # Let the user override the test.
5297 lt_nm_to_check
="${ac_tool_prefix}nm"
5298 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5299 lt_nm_to_check
="$lt_nm_to_check nm"
5301 for lt_tmp_nm
in $lt_nm_to_check; do
5302 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5303 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5305 test -z "$ac_dir" && ac_dir
=.
5306 tmp_nm
="$ac_dir/$lt_tmp_nm"
5307 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5308 # Check to see if the nm accepts a BSD-compat flag.
5309 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5310 # nm: unknown option "B" ignored
5311 # Tru64's nm complains that /dev/null is an invalid object file
5312 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5313 */dev
/null
* | *'Invalid file or object type'*)
5314 lt_cv_path_NM
="$tmp_nm -B"
5318 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5320 lt_cv_path_NM
="$tmp_nm -p"
5324 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5325 continue # so that we can try to find one that supports BSD flags
5334 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
5337 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5338 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
5341 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5342 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5344 if test "$LN_S" = "ln -s"; then
5345 { echo "$as_me:$LINENO: result: yes" >&5
5346 echo "${ECHO_T}yes" >&6; }
5348 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5349 echo "${ECHO_T}no, using $LN_S" >&6; }
5352 { echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
5353 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
5354 if test "${lt_cv_deplibs_check_method+set}" = set; then
5355 echo $ECHO_N "(cached) $ECHO_C" >&6
5357 lt_cv_file_magic_cmd
='$MAGIC_CMD'
5358 lt_cv_file_magic_test_file
=
5359 lt_cv_deplibs_check_method
='unknown'
5360 # Need to set the preceding variable on all platforms that support
5361 # interlibrary dependencies.
5362 # 'none' -- dependencies not supported.
5363 # `unknown' -- same as none, but documents that we really don't know.
5364 # 'pass_all' -- all dependencies passed with no checks.
5365 # 'test_compile' -- check by making test program.
5366 # 'file_magic [[regex]]' -- check by looking for files in library path
5367 # which responds to the $file_magic_cmd with a given extended regex.
5368 # If you have `file' or equivalent on your system and you're not sure
5369 # whether `pass_all' will *always* work, you probably want this one.
5373 lt_cv_deplibs_check_method
=pass_all
5377 lt_cv_deplibs_check_method
=pass_all
5381 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5382 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5383 lt_cv_file_magic_test_file
=/shlib
/libc.so
5387 # func_win32_libid is a shell function defined in ltmain.sh
5388 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5389 lt_cv_file_magic_cmd
='func_win32_libid'
5393 # Base MSYS/MinGW do not provide the 'file' command needed by
5394 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5395 # unless we find 'file', for example because we are cross-compiling.
5396 if ( file / ) >/dev
/null
2>&1; then
5397 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5398 lt_cv_file_magic_cmd
='func_win32_libid'
5400 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
5401 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5405 darwin
* | rhapsody
*)
5406 lt_cv_deplibs_check_method
=pass_all
5409 freebsd
* | dragonfly
*)
5410 if echo __ELF__
| $CC -E - | grep __ELF__
> /dev
/null
; then
5413 # Not sure whether the presence of OpenBSD here was a mistake.
5414 # Let's accept both of them until this is cleared up.
5415 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5416 lt_cv_file_magic_cmd
=/usr
/bin
/file
5417 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
5421 lt_cv_deplibs_check_method
=pass_all
5426 lt_cv_deplibs_check_method
=pass_all
5429 hpux10.20
* | hpux11
*)
5430 lt_cv_file_magic_cmd
=/usr
/bin
/file
5433 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5434 lt_cv_file_magic_test_file
=/usr
/lib
/hpux
32/libc.so
5437 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]'
5438 lt_cv_file_magic_test_file
=/usr
/lib
/pa
20_
64/libc.sl
5441 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5442 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
5448 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5449 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
5452 irix5
* | irix6
* | nonstopux
*)
5454 *-32|*"-32 ") libmagic
=32-bit;;
5455 *-n32|*"-n32 ") libmagic
=N32
;;
5456 *-64|*"-64 ") libmagic
=64-bit;;
5457 *) libmagic
=never
-match;;
5459 lt_cv_deplibs_check_method
=pass_all
5462 # This must be Linux ELF.
5463 linux
* | k
*bsd
*-gnu)
5464 lt_cv_deplibs_check_method
=pass_all
5468 if echo __ELF__
| $CC -E - | grep __ELF__
> /dev
/null
; then
5469 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5471 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5476 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5477 lt_cv_file_magic_cmd
=/usr
/bin
/file
5478 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
5482 lt_cv_deplibs_check_method
=unknown
5486 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5487 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5489 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5493 osf3
* | osf4
* | osf5
*)
5494 lt_cv_deplibs_check_method
=pass_all
5498 lt_cv_deplibs_check_method
=pass_all
5502 lt_cv_deplibs_check_method
=pass_all
5506 case $host_vendor in
5508 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]'
5509 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
5512 lt_cv_deplibs_check_method
=pass_all
5515 lt_cv_file_magic_cmd
='/bin/file'
5516 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5519 lt_cv_file_magic_cmd
='/bin/file'
5520 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5521 lt_cv_file_magic_test_file
=/lib
/libc.so
5524 lt_cv_deplibs_check_method
=pass_all
5527 lt_cv_deplibs_check_method
=pass_all
5532 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
5533 lt_cv_deplibs_check_method
=pass_all
5538 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5539 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
5540 file_magic_cmd
=$lt_cv_file_magic_cmd
5541 deplibs_check_method
=$lt_cv_deplibs_check_method
5542 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
5547 # If no C compiler was specified, use CC.
5550 # If no C compiler flags were specified, use CFLAGS.
5551 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
5553 # Allow CC to be a program name with arguments.
5556 # Check whether --enable-libtool-lock was given.
5557 if test "${enable_libtool_lock+set}" = set; then
5558 enableval
=$enable_libtool_lock;
5561 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
5563 # Some flags need to be propagated to the compiler or linker for good
5567 # Find out which ABI we are using.
5568 echo 'int i;' > conftest.
$ac_ext
5569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5570 (eval $ac_compile) 2>&5
5572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5573 (exit $ac_status); }; then
5574 case `/usr/bin/file conftest.$ac_objext` in
5586 # Find out which ABI we are using.
5587 echo '#line 5587 "configure"' > conftest.
$ac_ext
5588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5589 (eval $ac_compile) 2>&5
5591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5592 (exit $ac_status); }; then
5593 if test "$lt_cv_prog_gnu_ld" = yes; then
5594 case `/usr/bin/file conftest.$ac_objext` in
5596 LD
="${LD-ld} -melf32bsmip"
5599 LD
="${LD-ld} -melf32bmipn32"
5602 LD
="${LD-ld} -melf64bmip"
5606 case `/usr/bin/file conftest.$ac_objext` in
5622 x86_64
-*kfreebsd
*-gnu|x86_64
-*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
5623 s390
*-*linux
*|sparc
*-*linux
*)
5624 # Find out which ABI we are using.
5625 echo 'int i;' > conftest.
$ac_ext
5626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5627 (eval $ac_compile) 2>&5
5629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5630 (exit $ac_status); }; then
5631 case `/usr/bin/file conftest.o` in
5634 x86_64
-*kfreebsd
*-gnu)
5635 LD
="${LD-ld} -m elf_i386_fbsd"
5638 LD
="${LD-ld} -m elf_i386"
5640 ppc64
-*linux
*|powerpc64
-*linux
*)
5641 LD
="${LD-ld} -m elf32ppclinux"
5644 LD
="${LD-ld} -m elf_s390"
5647 LD
="${LD-ld} -m elf32_sparc"
5653 x86_64
-*kfreebsd
*-gnu)
5654 LD
="${LD-ld} -m elf_x86_64_fbsd"
5657 LD
="${LD-ld} -m elf_x86_64"
5659 ppc
*-*linux
*|powerpc
*-*linux
*)
5660 LD
="${LD-ld} -m elf64ppc"
5663 LD
="${LD-ld} -m elf64_s390"
5666 LD
="${LD-ld} -m elf64_sparc"
5676 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5677 SAVE_CFLAGS
="$CFLAGS"
5678 CFLAGS
="$CFLAGS -belf"
5679 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5680 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
5681 if test "${lt_cv_cc_needs_belf+set}" = set; then
5682 echo $ECHO_N "(cached) $ECHO_C" >&6
5685 ac_cpp
='$CPP $CPPFLAGS'
5686 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5687 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5688 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5690 cat >conftest.
$ac_ext <<_ACEOF
5693 cat confdefs.h
>>conftest.
$ac_ext
5694 cat >>conftest.
$ac_ext <<_ACEOF
5695 /* end confdefs.h. */
5705 rm -f conftest.
$ac_objext conftest
$ac_exeext
5706 if { (ac_try
="$ac_link"
5708 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5709 *) ac_try_echo=$ac_try;;
5711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5712 (eval "$ac_link") 2>conftest.er1
5714 grep -v '^ *+' conftest.er1 >conftest.err
5716 cat conftest.err >&5
5717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5718 (exit $ac_status); } && {
5719 test -z "$ac_c_werror_flag" ||
5720 test ! -s conftest.err
5721 } && test -s conftest$ac_exeext &&
5722 $as_test_x conftest$ac_exeext; then
5723 lt_cv_cc_needs_belf=yes
5725 echo "$as_me: failed program was:" >&5
5726 sed 's/^/| /' conftest.$ac_ext >&5
5728 lt_cv_cc_needs_belf=no
5731 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5732 conftest$ac_exeext conftest.$ac_ext
5734 ac_cpp='$CPP $CPPFLAGS'
5735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5740 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5741 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
5742 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5743 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5744 CFLAGS="$SAVE_CFLAGS"
5748 # Find out which ABI we are using.
5749 echo 'int i;' > conftest.$ac_ext
5750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5751 (eval $ac_compile) 2>&5
5753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5754 (exit $ac_status); }; then
5755 case `/usr
/bin
/file conftest.o
` in
5757 case $lt_cv_prog_gnu_ld in
5758 yes*) LD="${LD-ld} -m elf64_sparc" ;;
5759 *) LD="${LD-ld} -64" ;;
5770 need_locks="$enable_libtool_lock"
5774 ac_cpp='$CPP $CPPFLAGS'
5775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5778 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5779 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
5780 # On Suns, sometimes $CPP names a directory.
5781 if test -n "$CPP" && test -d "$CPP"; then
5784 if test -z "$CPP"; then
5785 if test "${ac_cv_prog_CPP+set}" = set; then
5786 echo $ECHO_N "(cached) $ECHO_C" >&6
5788 # Double quotes because CPP needs to be expanded
5789 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5792 for ac_c_preproc_warn_flag in '' yes
5794 # Use a header file that comes with gcc, so configuring glibc
5795 # with a fresh cross-compiler works.
5796 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5797 # <limits.h> exists even on freestanding compilers.
5798 # On the NeXT, cc -E runs the code through the compiler's parser,
5799 # not just through cpp. "Syntax error" is here to catch this case.
5800 cat >conftest.$ac_ext <<_ACEOF
5803 cat confdefs.h >>conftest.$ac_ext
5804 cat >>conftest.$ac_ext <<_ACEOF
5805 /* end confdefs.h. */
5807 # include <limits.h>
5809 # include <assert.h>
5813 if { (ac_try="$ac_cpp conftest.$ac_ext"
5815 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5816 *) ac_try_echo
=$ac_try;;
5818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5819 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5821 grep -v '^ *+' conftest.er1
>conftest.err
5823 cat conftest.err
>&5
5824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5825 (exit $ac_status); } >/dev
/null
&& {
5826 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5827 test ! -s conftest.err
5831 echo "$as_me: failed program was:" >&5
5832 sed 's/^/| /' conftest.
$ac_ext >&5
5834 # Broken: fails on valid input.
5838 rm -f conftest.err conftest.
$ac_ext
5840 # OK, works on sane cases. Now check whether nonexistent headers
5841 # can be detected and how.
5842 cat >conftest.
$ac_ext <<_ACEOF
5845 cat confdefs.h
>>conftest.
$ac_ext
5846 cat >>conftest.
$ac_ext <<_ACEOF
5847 /* end confdefs.h. */
5848 #include <ac_nonexistent.h>
5850 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5852 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5853 *) ac_try_echo=$ac_try;;
5855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5856 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5858 grep -v '^ *+' conftest.er1 >conftest.err
5860 cat conftest.err >&5
5861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5862 (exit $ac_status); } >/dev/null && {
5863 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5864 test ! -s conftest.err
5866 # Broken: success on invalid input.
5869 echo "$as_me: failed program was:" >&5
5870 sed 's/^/| /' conftest.$ac_ext >&5
5872 # Passes both tests.
5877 rm -f conftest.err conftest.$ac_ext
5880 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5881 rm -f conftest.err conftest.
$ac_ext
5882 if $ac_preproc_ok; then
5894 { echo "$as_me:$LINENO: result: $CPP" >&5
5895 echo "${ECHO_T}$CPP" >&6; }
5897 for ac_c_preproc_warn_flag
in '' yes
5899 # Use a header file that comes with gcc, so configuring glibc
5900 # with a fresh cross-compiler works.
5901 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5902 # <limits.h> exists even on freestanding compilers.
5903 # On the NeXT, cc -E runs the code through the compiler's parser,
5904 # not just through cpp. "Syntax error" is here to catch this case.
5905 cat >conftest.
$ac_ext <<_ACEOF
5908 cat confdefs.h
>>conftest.
$ac_ext
5909 cat >>conftest.
$ac_ext <<_ACEOF
5910 /* end confdefs.h. */
5912 # include <limits.h>
5914 # include <assert.h>
5918 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5920 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5921 *) ac_try_echo=$ac_try;;
5923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5924 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5926 grep -v '^ *+' conftest.er1 >conftest.err
5928 cat conftest.err >&5
5929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5930 (exit $ac_status); } >/dev/null && {
5931 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5932 test ! -s conftest.err
5936 echo "$as_me: failed program was:" >&5
5937 sed 's/^/| /' conftest.$ac_ext >&5
5939 # Broken: fails on valid input.
5943 rm -f conftest.err conftest.$ac_ext
5945 # OK, works on sane cases. Now check whether nonexistent headers
5946 # can be detected and how.
5947 cat >conftest.$ac_ext <<_ACEOF
5950 cat confdefs.h >>conftest.$ac_ext
5951 cat >>conftest.$ac_ext <<_ACEOF
5952 /* end confdefs.h. */
5953 #include <ac_nonexistent.h>
5955 if { (ac_try="$ac_cpp conftest.$ac_ext"
5957 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5958 *) ac_try_echo
=$ac_try;;
5960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5961 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5963 grep -v '^ *+' conftest.er1
>conftest.err
5965 cat conftest.err
>&5
5966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5967 (exit $ac_status); } >/dev
/null
&& {
5968 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5969 test ! -s conftest.err
5971 # Broken: success on invalid input.
5974 echo "$as_me: failed program was:" >&5
5975 sed 's/^/| /' conftest.
$ac_ext >&5
5977 # Passes both tests.
5982 rm -f conftest.err conftest.
$ac_ext
5985 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5986 rm -f conftest.err conftest.
$ac_ext
5987 if $ac_preproc_ok; then
5990 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5991 See \`config.log' for more details." >&5
5992 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5993 See \`config.log' for more details." >&2;}
5994 { (exit 1); exit 1; }; }
5998 ac_cpp
='$CPP $CPPFLAGS'
5999 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6000 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6001 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6004 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6005 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6006 if test "${ac_cv_header_stdc+set}" = set; then
6007 echo $ECHO_N "(cached) $ECHO_C" >&6
6009 cat >conftest.
$ac_ext <<_ACEOF
6012 cat confdefs.h
>>conftest.
$ac_ext
6013 cat >>conftest.
$ac_ext <<_ACEOF
6014 /* end confdefs.h. */
6028 rm -f conftest.
$ac_objext
6029 if { (ac_try
="$ac_compile"
6031 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6032 *) ac_try_echo=$ac_try;;
6034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6035 (eval "$ac_compile") 2>conftest.er1
6037 grep -v '^ *+' conftest.er1 >conftest.err
6039 cat conftest.err >&5
6040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6041 (exit $ac_status); } && {
6042 test -z "$ac_c_werror_flag" ||
6043 test ! -s conftest.err
6044 } && test -s conftest.$ac_objext; then
6045 ac_cv_header_stdc=yes
6047 echo "$as_me: failed program was:" >&5
6048 sed 's/^/| /' conftest.$ac_ext >&5
6050 ac_cv_header_stdc=no
6053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6055 if test $ac_cv_header_stdc = yes; then
6056 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6057 cat >conftest.$ac_ext <<_ACEOF
6060 cat confdefs.h >>conftest.$ac_ext
6061 cat >>conftest.$ac_ext <<_ACEOF
6062 /* end confdefs.h. */
6066 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6067 $EGREP "memchr" >/dev/null 2>&1; then
6070 ac_cv_header_stdc=no
6076 if test $ac_cv_header_stdc = yes; then
6077 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6078 cat >conftest.$ac_ext <<_ACEOF
6081 cat confdefs.h >>conftest.$ac_ext
6082 cat >>conftest.$ac_ext <<_ACEOF
6083 /* end confdefs.h. */
6087 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6088 $EGREP "free" >/dev/null 2>&1; then
6091 ac_cv_header_stdc=no
6097 if test $ac_cv_header_stdc = yes; then
6098 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6099 if test "$cross_compiling" = yes; then
6102 cat >conftest.$ac_ext <<_ACEOF
6105 cat confdefs.h >>conftest.$ac_ext
6106 cat >>conftest.$ac_ext <<_ACEOF
6107 /* end confdefs.h. */
6110 #if ((' ' & 0x0FF) == 0x020)
6111 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6112 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6114 # define ISLOWER(c) \
6115 (('a' <= (c) && (c) <= 'i') \
6116 || ('j' <= (c) && (c) <= 'r') \
6117 || ('s' <= (c) && (c) <= 'z'))
6118 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6121 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6126 for (i = 0; i < 256; i++)
6127 if (XOR (islower (i), ISLOWER (i))
6128 || toupper (i) != TOUPPER (i))
6133 rm -f conftest$ac_exeext
6134 if { (ac_try="$ac_link"
6136 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6137 *) ac_try_echo
=$ac_try;;
6139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6140 (eval "$ac_link") 2>&5
6142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6143 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6144 { (case "(($ac_try" in
6145 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6146 *) ac_try_echo=$ac_try;;
6148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6149 (eval "$ac_try") 2>&5
6151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6152 (exit $ac_status); }; }; then
6155 echo "$as_me: program exited with status $ac_status" >&5
6156 echo "$as_me: failed program was:" >&5
6157 sed 's/^/| /' conftest.$ac_ext >&5
6160 ac_cv_header_stdc=no
6162 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6168 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6169 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6170 if test $ac_cv_header_stdc = yes; then
6172 cat >>confdefs.h <<\_ACEOF
6173 #define STDC_HEADERS 1
6178 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6188 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6189 inttypes.h stdint.h unistd.h
6191 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6192 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6193 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6194 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6195 echo $ECHO_N "(cached) $ECHO_C" >&6
6197 cat >conftest.$ac_ext <<_ACEOF
6200 cat confdefs.h >>conftest.$ac_ext
6201 cat >>conftest.$ac_ext <<_ACEOF
6202 /* end confdefs.h. */
6203 $ac_includes_default
6205 #include <$ac_header>
6207 rm -f conftest.$ac_objext
6208 if { (ac_try="$ac_compile"
6210 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6211 *) ac_try_echo
=$ac_try;;
6213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6214 (eval "$ac_compile") 2>conftest.er1
6216 grep -v '^ *+' conftest.er1
>conftest.err
6218 cat conftest.err
>&5
6219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6220 (exit $ac_status); } && {
6221 test -z "$ac_c_werror_flag" ||
6222 test ! -s conftest.err
6223 } && test -s conftest.
$ac_objext; then
6224 eval "$as_ac_Header=yes"
6226 echo "$as_me: failed program was:" >&5
6227 sed 's/^/| /' conftest.
$ac_ext >&5
6229 eval "$as_ac_Header=no"
6232 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6234 ac_res
=`eval echo '${'$as_ac_Header'}'`
6235 { echo "$as_me:$LINENO: result: $ac_res" >&5
6236 echo "${ECHO_T}$ac_res" >&6; }
6237 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6238 cat >>confdefs.h
<<_ACEOF
6239 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6248 for ac_header
in dlfcn.h
6250 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6251 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6252 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6253 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6254 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6255 echo $ECHO_N "(cached) $ECHO_C" >&6
6257 ac_res
=`eval echo '${'$as_ac_Header'}'`
6258 { echo "$as_me:$LINENO: result: $ac_res" >&5
6259 echo "${ECHO_T}$ac_res" >&6; }
6261 # Is the header compilable?
6262 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6263 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6264 cat >conftest.
$ac_ext <<_ACEOF
6267 cat confdefs.h
>>conftest.
$ac_ext
6268 cat >>conftest.
$ac_ext <<_ACEOF
6269 /* end confdefs.h. */
6270 $ac_includes_default
6271 #include <$ac_header>
6273 rm -f conftest.
$ac_objext
6274 if { (ac_try
="$ac_compile"
6276 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6277 *) ac_try_echo=$ac_try;;
6279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6280 (eval "$ac_compile") 2>conftest.er1
6282 grep -v '^ *+' conftest.er1 >conftest.err
6284 cat conftest.err >&5
6285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6286 (exit $ac_status); } && {
6287 test -z "$ac_c_werror_flag" ||
6288 test ! -s conftest.err
6289 } && test -s conftest.$ac_objext; then
6290 ac_header_compiler=yes
6292 echo "$as_me: failed program was:" >&5
6293 sed 's/^/| /' conftest.$ac_ext >&5
6295 ac_header_compiler=no
6298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6299 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6300 echo "${ECHO_T}$ac_header_compiler" >&6; }
6302 # Is the header present?
6303 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6304 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6305 cat >conftest.$ac_ext <<_ACEOF
6308 cat confdefs.h >>conftest.$ac_ext
6309 cat >>conftest.$ac_ext <<_ACEOF
6310 /* end confdefs.h. */
6311 #include <$ac_header>
6313 if { (ac_try="$ac_cpp conftest.$ac_ext"
6315 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6316 *) ac_try_echo
=$ac_try;;
6318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6319 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6321 grep -v '^ *+' conftest.er1
>conftest.err
6323 cat conftest.err
>&5
6324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6325 (exit $ac_status); } >/dev
/null
&& {
6326 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6327 test ! -s conftest.err
6329 ac_header_preproc
=yes
6331 echo "$as_me: failed program was:" >&5
6332 sed 's/^/| /' conftest.
$ac_ext >&5
6334 ac_header_preproc
=no
6337 rm -f conftest.err conftest.
$ac_ext
6338 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6339 echo "${ECHO_T}$ac_header_preproc" >&6; }
6341 # So? What about this header?
6342 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6344 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6345 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6346 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6347 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6348 ac_header_preproc
=yes
6351 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6352 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6353 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6354 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6355 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6356 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6357 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6358 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6359 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6360 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6361 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6362 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6364 ## -------------------------------------------------- ##
6365 ## Report this to evilnet-devel@lists.sourceforge.net ##
6366 ## -------------------------------------------------- ##
6368 ) | sed "s/^/$as_me: WARNING: /" >&2
6371 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6372 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6373 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6374 echo $ECHO_N "(cached) $ECHO_C" >&6
6376 eval "$as_ac_Header=\$ac_header_preproc"
6378 ac_res
=`eval echo '${'$as_ac_Header'}'`
6379 { echo "$as_me:$LINENO: result: $ac_res" >&5
6380 echo "${ECHO_T}$ac_res" >&6; }
6383 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6384 cat >>confdefs.h
<<_ACEOF
6385 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6393 ac_cpp
='$CXXCPP $CPPFLAGS'
6394 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6395 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6396 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6397 if test -z "$CXX"; then
6398 if test -n "$CCC"; then
6401 if test -n "$ac_tool_prefix"; then
6402 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
6404 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6405 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6406 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6407 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6408 if test "${ac_cv_prog_CXX+set}" = set; then
6409 echo $ECHO_N "(cached) $ECHO_C" >&6
6411 if test -n "$CXX"; then
6412 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
6414 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6418 test -z "$as_dir" && as_dir
=.
6419 for ac_exec_ext
in '' $ac_executable_extensions; do
6420 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6421 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
6422 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6432 if test -n "$CXX"; then
6433 { echo "$as_me:$LINENO: result: $CXX" >&5
6434 echo "${ECHO_T}$CXX" >&6; }
6436 { echo "$as_me:$LINENO: result: no" >&5
6437 echo "${ECHO_T}no" >&6; }
6441 test -n "$CXX" && break
6444 if test -z "$CXX"; then
6446 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
6448 # Extract the first word of "$ac_prog", so it can be a program name with args.
6449 set dummy
$ac_prog; ac_word
=$2
6450 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6451 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6452 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
6453 echo $ECHO_N "(cached) $ECHO_C" >&6
6455 if test -n "$ac_ct_CXX"; then
6456 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
6458 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6462 test -z "$as_dir" && as_dir
=.
6463 for ac_exec_ext
in '' $ac_executable_extensions; do
6464 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6465 ac_cv_prog_ac_ct_CXX
="$ac_prog"
6466 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6475 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
6476 if test -n "$ac_ct_CXX"; then
6477 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
6478 echo "${ECHO_T}$ac_ct_CXX" >&6; }
6480 { echo "$as_me:$LINENO: result: no" >&5
6481 echo "${ECHO_T}no" >&6; }
6485 test -n "$ac_ct_CXX" && break
6488 if test "x$ac_ct_CXX" = x
; then
6491 case $cross_compiling:$ac_tool_warned in
6493 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6494 whose name does not start with the host triplet. If you think this
6495 configuration is useful to you, please write to autoconf@gnu.org." >&5
6496 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6497 whose name does not start with the host triplet. If you think this
6498 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6499 ac_tool_warned
=yes ;;
6507 # Provide some information about the compiler.
6508 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
6509 ac_compiler
=`set X $ac_compile; echo $2`
6510 { (ac_try
="$ac_compiler --version >&5"
6512 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6513 *) ac_try_echo=$ac_try;;
6515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6516 (eval "$ac_compiler --version >&5") 2>&5
6518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6519 (exit $ac_status); }
6520 { (ac_try="$ac_compiler -v >&5"
6522 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6523 *) ac_try_echo
=$ac_try;;
6525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6526 (eval "$ac_compiler -v >&5") 2>&5
6528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6529 (exit $ac_status); }
6530 { (ac_try
="$ac_compiler -V >&5"
6532 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6533 *) ac_try_echo=$ac_try;;
6535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6536 (eval "$ac_compiler -V >&5") 2>&5
6538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6539 (exit $ac_status); }
6541 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
6542 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
6543 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
6544 echo $ECHO_N "(cached) $ECHO_C" >&6
6546 cat >conftest.$ac_ext <<_ACEOF
6549 cat confdefs.h >>conftest.$ac_ext
6550 cat >>conftest.$ac_ext <<_ACEOF
6551 /* end confdefs.h. */
6564 rm -f conftest.$ac_objext
6565 if { (ac_try="$ac_compile"
6567 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6568 *) ac_try_echo
=$ac_try;;
6570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6571 (eval "$ac_compile") 2>conftest.er1
6573 grep -v '^ *+' conftest.er1
>conftest.err
6575 cat conftest.err
>&5
6576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6577 (exit $ac_status); } && {
6578 test -z "$ac_cxx_werror_flag" ||
6579 test ! -s conftest.err
6580 } && test -s conftest.
$ac_objext; then
6583 echo "$as_me: failed program was:" >&5
6584 sed 's/^/| /' conftest.
$ac_ext >&5
6589 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6590 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
6593 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6594 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
6595 GXX
=`test $ac_compiler_gnu = yes && echo yes`
6596 ac_test_CXXFLAGS
=${CXXFLAGS+set}
6597 ac_save_CXXFLAGS
=$CXXFLAGS
6598 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
6599 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
6600 if test "${ac_cv_prog_cxx_g+set}" = set; then
6601 echo $ECHO_N "(cached) $ECHO_C" >&6
6603 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
6604 ac_cxx_werror_flag
=yes
6607 cat >conftest.
$ac_ext <<_ACEOF
6610 cat confdefs.h
>>conftest.
$ac_ext
6611 cat >>conftest.
$ac_ext <<_ACEOF
6612 /* end confdefs.h. */
6622 rm -f conftest.
$ac_objext
6623 if { (ac_try
="$ac_compile"
6625 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6626 *) ac_try_echo=$ac_try;;
6628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6629 (eval "$ac_compile") 2>conftest.er1
6631 grep -v '^ *+' conftest.er1 >conftest.err
6633 cat conftest.err >&5
6634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6635 (exit $ac_status); } && {
6636 test -z "$ac_cxx_werror_flag" ||
6637 test ! -s conftest.err
6638 } && test -s conftest.$ac_objext; then
6639 ac_cv_prog_cxx_g=yes
6641 echo "$as_me: failed program was:" >&5
6642 sed 's/^/| /' conftest.$ac_ext >&5
6645 cat >conftest.$ac_ext <<_ACEOF
6648 cat confdefs.h >>conftest.$ac_ext
6649 cat >>conftest.$ac_ext <<_ACEOF
6650 /* end confdefs.h. */
6660 rm -f conftest.$ac_objext
6661 if { (ac_try="$ac_compile"
6663 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6664 *) ac_try_echo
=$ac_try;;
6666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6667 (eval "$ac_compile") 2>conftest.er1
6669 grep -v '^ *+' conftest.er1
>conftest.err
6671 cat conftest.err
>&5
6672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6673 (exit $ac_status); } && {
6674 test -z "$ac_cxx_werror_flag" ||
6675 test ! -s conftest.err
6676 } && test -s conftest.
$ac_objext; then
6679 echo "$as_me: failed program was:" >&5
6680 sed 's/^/| /' conftest.
$ac_ext >&5
6682 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
6684 cat >conftest.
$ac_ext <<_ACEOF
6687 cat confdefs.h
>>conftest.
$ac_ext
6688 cat >>conftest.
$ac_ext <<_ACEOF
6689 /* end confdefs.h. */
6699 rm -f conftest.
$ac_objext
6700 if { (ac_try
="$ac_compile"
6702 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6703 *) ac_try_echo=$ac_try;;
6705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6706 (eval "$ac_compile") 2>conftest.er1
6708 grep -v '^ *+' conftest.er1 >conftest.err
6710 cat conftest.err >&5
6711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6712 (exit $ac_status); } && {
6713 test -z "$ac_cxx_werror_flag" ||
6714 test ! -s conftest.err
6715 } && test -s conftest.$ac_objext; then
6716 ac_cv_prog_cxx_g=yes
6718 echo "$as_me: failed program was:" >&5
6719 sed 's/^/| /' conftest.$ac_ext >&5
6724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6731 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6733 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6734 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
6735 if test "$ac_test_CXXFLAGS" = set; then
6736 CXXFLAGS=$ac_save_CXXFLAGS
6737 elif test $ac_cv_prog_cxx_g = yes; then
6738 if test "$GXX" = yes; then
6744 if test "$GXX" = yes; then
6751 ac_cpp='$CXXCPP $CPPFLAGS'
6752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6756 depcc="$CXX" am_compiler_list=
6758 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6759 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
6760 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
6761 echo $ECHO_N "(cached) $ECHO_C" >&6
6763 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6764 # We make a subdir and do the tests there. Otherwise we can end up
6765 # making bogus files that we don't know about and never remove. For
6766 # instance it was reported that on HP-UX the gcc test will end up
6767 # making a dummy file named `D
' -- because `-MD' means
`put the output
6770 # Copy depcomp to subdir because otherwise we won't find it if we're
6771 # using a relative directory.
6772 cp "$am_depcomp" conftest.dir
6774 # We will build objects and dependencies in a subdirectory because
6775 # it helps to detect inapplicable dependency modes. For instance
6776 # both Tru64's cc and ICC support -MD to output dependencies as a
6777 # side effect of compilation, but ICC will put the dependencies in
6778 # the current directory while Tru64 will put them in the object
6782 am_cv_CXX_dependencies_compiler_type=none
6783 if test "$am_compiler_list" = ""; then
6784 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
6786 for depmode in $am_compiler_list; do
6787 # Setup a source with many dependencies, because some compilers
6788 # like to wrap large dependency lists on column 80 (with \), and
6789 # we should not choose a depcomp mode which is confused by this.
6791 # We need to recreate these files for each test, as the compiler may
6792 # overwrite some of them when testing with obscure command lines.
6793 # This happens at least with the AIX C compiler.
6795 for i in 1 2 3 4 5 6; do
6796 echo '#include "conftst'$i'.h"' >> sub/conftest.c
6797 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
6798 # Solaris 8's
{/usr
,}/bin
/sh.
6799 touch sub
/conftst
$i.h
6801 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6805 # after this tag, mechanisms are not by side-effect, so they'll
6806 # only be used when explicitly requested
6807 if test "x$enable_dependency_tracking" = xyes
; then
6815 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6816 # mode. It turns out that the SunPro C++ compiler does not properly
6817 # handle `-M -o', and we need to detect this.
6818 if depmode
=$depmode \
6819 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
6820 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
6821 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
6822 >/dev
/null
2>conftest.err
&&
6823 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6824 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6825 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
6826 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
6827 # icc doesn't choke on unknown options, it will just issue warnings
6828 # or remarks (even with -Werror). So we grep stderr for any message
6829 # that says an option was ignored or not supported.
6830 # When given -MP, icc 7.0 and 7.1 complain thusly:
6831 # icc: Command line warning: ignoring option '-M'; no argument required
6832 # The diagnosis changed in icc 8.0:
6833 # icc: Command line remark: option '-MP' not supported
6834 if (grep 'ignoring option' conftest.err
||
6835 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
6836 am_cv_CXX_dependencies_compiler_type
=$depmode
6845 am_cv_CXX_dependencies_compiler_type
=none
6849 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
6850 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
6851 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
6854 test "x$enable_dependency_tracking" != xno \
6855 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
6856 am__fastdepCXX_TRUE
=
6857 am__fastdepCXX_FALSE
='#'
6859 am__fastdepCXX_TRUE
='#'
6860 am__fastdepCXX_FALSE
=
6866 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
6867 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
6868 (test "X$CXX" != "Xg++"))) ; then
6870 ac_cpp
='$CXXCPP $CPPFLAGS'
6871 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6872 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6873 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6874 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6875 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
6876 if test -z "$CXXCPP"; then
6877 if test "${ac_cv_prog_CXXCPP+set}" = set; then
6878 echo $ECHO_N "(cached) $ECHO_C" >&6
6880 # Double quotes because CXXCPP needs to be expanded
6881 for CXXCPP
in "$CXX -E" "/lib/cpp"
6884 for ac_cxx_preproc_warn_flag
in '' yes
6886 # Use a header file that comes with gcc, so configuring glibc
6887 # with a fresh cross-compiler works.
6888 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6889 # <limits.h> exists even on freestanding compilers.
6890 # On the NeXT, cc -E runs the code through the compiler's parser,
6891 # not just through cpp. "Syntax error" is here to catch this case.
6892 cat >conftest.
$ac_ext <<_ACEOF
6895 cat confdefs.h
>>conftest.
$ac_ext
6896 cat >>conftest.
$ac_ext <<_ACEOF
6897 /* end confdefs.h. */
6899 # include <limits.h>
6901 # include <assert.h>
6905 if { (ac_try
="$ac_cpp conftest.$ac_ext"
6907 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6908 *) ac_try_echo=$ac_try;;
6910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6911 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6913 grep -v '^ *+' conftest.er1 >conftest.err
6915 cat conftest.err >&5
6916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6917 (exit $ac_status); } >/dev/null && {
6918 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6919 test ! -s conftest.err
6923 echo "$as_me: failed program was:" >&5
6924 sed 's/^/| /' conftest.$ac_ext >&5
6926 # Broken: fails on valid input.
6930 rm -f conftest.err conftest.$ac_ext
6932 # OK, works on sane cases. Now check whether nonexistent headers
6933 # can be detected and how.
6934 cat >conftest.$ac_ext <<_ACEOF
6937 cat confdefs.h >>conftest.$ac_ext
6938 cat >>conftest.$ac_ext <<_ACEOF
6939 /* end confdefs.h. */
6940 #include <ac_nonexistent.h>
6942 if { (ac_try="$ac_cpp conftest.$ac_ext"
6944 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6945 *) ac_try_echo
=$ac_try;;
6947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6948 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6950 grep -v '^ *+' conftest.er1
>conftest.err
6952 cat conftest.err
>&5
6953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6954 (exit $ac_status); } >/dev
/null
&& {
6955 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6956 test ! -s conftest.err
6958 # Broken: success on invalid input.
6961 echo "$as_me: failed program was:" >&5
6962 sed 's/^/| /' conftest.
$ac_ext >&5
6964 # Passes both tests.
6969 rm -f conftest.err conftest.
$ac_ext
6972 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6973 rm -f conftest.err conftest.
$ac_ext
6974 if $ac_preproc_ok; then
6979 ac_cv_prog_CXXCPP
=$CXXCPP
6982 CXXCPP
=$ac_cv_prog_CXXCPP
6984 ac_cv_prog_CXXCPP
=$CXXCPP
6986 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
6987 echo "${ECHO_T}$CXXCPP" >&6; }
6989 for ac_cxx_preproc_warn_flag
in '' yes
6991 # Use a header file that comes with gcc, so configuring glibc
6992 # with a fresh cross-compiler works.
6993 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6994 # <limits.h> exists even on freestanding compilers.
6995 # On the NeXT, cc -E runs the code through the compiler's parser,
6996 # not just through cpp. "Syntax error" is here to catch this case.
6997 cat >conftest.
$ac_ext <<_ACEOF
7000 cat confdefs.h
>>conftest.
$ac_ext
7001 cat >>conftest.
$ac_ext <<_ACEOF
7002 /* end confdefs.h. */
7004 # include <limits.h>
7006 # include <assert.h>
7010 if { (ac_try
="$ac_cpp conftest.$ac_ext"
7012 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
7013 *) ac_try_echo=$ac_try;;
7015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7016 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7018 grep -v '^ *+' conftest.er1 >conftest.err
7020 cat conftest.err >&5
7021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7022 (exit $ac_status); } >/dev/null && {
7023 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7024 test ! -s conftest.err
7028 echo "$as_me: failed program was:" >&5
7029 sed 's/^/| /' conftest.$ac_ext >&5
7031 # Broken: fails on valid input.
7035 rm -f conftest.err conftest.$ac_ext
7037 # OK, works on sane cases. Now check whether nonexistent headers
7038 # can be detected and how.
7039 cat >conftest.$ac_ext <<_ACEOF
7042 cat confdefs.h >>conftest.$ac_ext
7043 cat >>conftest.$ac_ext <<_ACEOF
7044 /* end confdefs.h. */
7045 #include <ac_nonexistent.h>
7047 if { (ac_try="$ac_cpp conftest.$ac_ext"
7049 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
7050 *) ac_try_echo
=$ac_try;;
7052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7053 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7055 grep -v '^ *+' conftest.er1
>conftest.err
7057 cat conftest.err
>&5
7058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7059 (exit $ac_status); } >/dev
/null
&& {
7060 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7061 test ! -s conftest.err
7063 # Broken: success on invalid input.
7066 echo "$as_me: failed program was:" >&5
7067 sed 's/^/| /' conftest.
$ac_ext >&5
7069 # Passes both tests.
7074 rm -f conftest.err conftest.
$ac_ext
7077 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7078 rm -f conftest.err conftest.
$ac_ext
7079 if $ac_preproc_ok; then
7082 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7083 See \`config.log' for more details." >&5
7084 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7085 See \`config.log' for more details." >&2;}
7086 { (exit 1); exit 1; }; }
7090 ac_cpp
='$CXXCPP $CPPFLAGS'
7091 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7092 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7093 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
7099 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
7100 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7101 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
7102 if test -n "$ac_tool_prefix"; then
7103 for ac_prog
in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
7105 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7106 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
7107 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7108 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7109 if test "${ac_cv_prog_F77+set}" = set; then
7110 echo $ECHO_N "(cached) $ECHO_C" >&6
7112 if test -n "$F77"; then
7113 ac_cv_prog_F77
="$F77" # Let the user override the test.
7115 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7119 test -z "$as_dir" && as_dir
=.
7120 for ac_exec_ext
in '' $ac_executable_extensions; do
7121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7122 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
7123 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7133 if test -n "$F77"; then
7134 { echo "$as_me:$LINENO: result: $F77" >&5
7135 echo "${ECHO_T}$F77" >&6; }
7137 { echo "$as_me:$LINENO: result: no" >&5
7138 echo "${ECHO_T}no" >&6; }
7142 test -n "$F77" && break
7145 if test -z "$F77"; then
7147 for ac_prog
in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
7149 # Extract the first word of "$ac_prog", so it can be a program name with args.
7150 set dummy
$ac_prog; ac_word
=$2
7151 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7152 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7153 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
7154 echo $ECHO_N "(cached) $ECHO_C" >&6
7156 if test -n "$ac_ct_F77"; then
7157 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
7159 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7163 test -z "$as_dir" && as_dir
=.
7164 for ac_exec_ext
in '' $ac_executable_extensions; do
7165 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7166 ac_cv_prog_ac_ct_F77
="$ac_prog"
7167 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7176 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
7177 if test -n "$ac_ct_F77"; then
7178 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
7179 echo "${ECHO_T}$ac_ct_F77" >&6; }
7181 { echo "$as_me:$LINENO: result: no" >&5
7182 echo "${ECHO_T}no" >&6; }
7186 test -n "$ac_ct_F77" && break
7189 if test "x$ac_ct_F77" = x
; then
7192 case $cross_compiling:$ac_tool_warned in
7194 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7195 whose name does not start with the host triplet. If you think this
7196 configuration is useful to you, please write to autoconf@gnu.org." >&5
7197 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7198 whose name does not start with the host triplet. If you think this
7199 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7200 ac_tool_warned
=yes ;;
7207 # Provide some information about the compiler.
7208 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
7209 ac_compiler
=`set X $ac_compile; echo $2`
7210 { (ac_try
="$ac_compiler --version >&5"
7212 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
7213 *) ac_try_echo=$ac_try;;
7215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7216 (eval "$ac_compiler --version >&5") 2>&5
7218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7219 (exit $ac_status); }
7220 { (ac_try="$ac_compiler -v >&5"
7222 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
7223 *) ac_try_echo
=$ac_try;;
7225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7226 (eval "$ac_compiler -v >&5") 2>&5
7228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7229 (exit $ac_status); }
7230 { (ac_try
="$ac_compiler -V >&5"
7232 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
7233 *) ac_try_echo=$ac_try;;
7235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7236 (eval "$ac_compiler -V >&5") 2>&5
7238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7239 (exit $ac_status); }
7242 # If we don't use `.F
' as extension, the preprocessor is not run on the
7243 # input file. (Note that this only needs to work for GNU compilers.)
7246 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
7247 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
7248 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
7249 echo $ECHO_N "(cached) $ECHO_C" >&6
7251 cat >conftest.$ac_ext <<_ACEOF
7259 rm -f conftest.$ac_objext
7260 if { (ac_try="$ac_compile"
7262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7263 *) ac_try_echo=$ac_try;;
7265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7266 (eval "$ac_compile") 2>conftest.er1
7268 grep -v '^
*+' conftest.er1 >conftest.err
7270 cat conftest.err >&5
7271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7272 (exit $ac_status); } && {
7273 test -z "$ac_f77_werror_flag" ||
7274 test ! -s conftest.err
7275 } && test -s conftest.$ac_objext; then
7278 echo "$as_me: failed program was:" >&5
7279 sed 's
/^
/| /' conftest.$ac_ext >&5
7284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7285 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
7288 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
7289 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
7291 ac_test_FFLAGS=${FFLAGS+set}
7292 ac_save_FFLAGS=$FFLAGS
7294 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
7295 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
7296 if test "${ac_cv_prog_f77_g+set}" = set; then
7297 echo $ECHO_N "(cached) $ECHO_C" >&6
7300 cat >conftest.$ac_ext <<_ACEOF
7305 rm -f conftest.$ac_objext
7306 if { (ac_try="$ac_compile"
7308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7309 *) ac_try_echo=$ac_try;;
7311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7312 (eval "$ac_compile") 2>conftest.er1
7314 grep -v '^
*+' conftest.er1 >conftest.err
7316 cat conftest.err >&5
7317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7318 (exit $ac_status); } && {
7319 test -z "$ac_f77_werror_flag" ||
7320 test ! -s conftest.err
7321 } && test -s conftest.$ac_objext; then
7322 ac_cv_prog_f77_g=yes
7324 echo "$as_me: failed program was:" >&5
7325 sed 's
/^
/| /' conftest.$ac_ext >&5
7330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7333 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
7334 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
7335 if test "$ac_test_FFLAGS" = set; then
7336 FFLAGS=$ac_save_FFLAGS
7337 elif test $ac_cv_prog_f77_g = yes; then
7338 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
7344 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
7351 G77=`test $ac_compiler_gnu = yes && echo yes`
7353 ac_cpp='$CPP $CPPFLAGS'
7354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
7355 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
7356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7360 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works
for C compilers
!
7362 # find the maximum length of command line arguments
7363 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
7364 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
7365 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
7366 echo $ECHO_N "(cached) $ECHO_C" >&6
7373 # On DJGPP, this test can blow up pretty badly due to problems in libc
7374 # (any single argument exceeding 2000 bytes causes a buffer overrun
7375 # during glob expansion). Even if it were fixed, the result of this
7376 # check would be larger than it should be.
7377 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
7381 # Under GNU Hurd, this test is not required because there is
7382 # no limit to the length of command line arguments.
7383 # Libtool will interpret -1 as no limit whatsoever
7384 lt_cv_sys_max_cmd_len
=-1;
7388 # On Win9x/ME, this test blows up -- it succeeds, but takes
7389 # about 5 minutes as the teststring grows exponentially.
7390 # Worse, since 9x/ME are not pre-emptively multitasking,
7391 # you end up with a "frozen" computer, even though with patience
7392 # the test eventually succeeds (with a max line length of 256k).
7393 # Instead, let's just punt: use the minimum linelength reported by
7394 # all of the supported platforms: 8192 (on NT/2K/XP).
7395 lt_cv_sys_max_cmd_len
=8192;
7399 # On AmigaOS with pdksh, this test takes hours, literally.
7400 # So we just punt and use a minimum line length of 8192.
7401 lt_cv_sys_max_cmd_len
=8192;
7404 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
7405 # This has been around since 386BSD, at least. Likely further.
7406 if test -x /sbin
/sysctl
; then
7407 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
7408 elif test -x /usr
/sbin
/sysctl
; then
7409 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
7411 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
7413 # And add a safety zone
7414 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
7415 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
7419 # We know the value 262144 and hardcode it with a safety zone (like BSD)
7420 lt_cv_sys_max_cmd_len
=196608
7424 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7425 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7426 # nice to cause kernel panics so lets avoid the loop below.
7427 # First set a reasonable default.
7428 lt_cv_sys_max_cmd_len
=16384
7430 if test -x /sbin
/sysconfig
; then
7431 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7432 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
7437 lt_cv_sys_max_cmd_len
=102400
7439 sysv5
* | sco5v6
* | sysv4.2uw2
*)
7440 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7441 if test -n "$kargmax"; then
7442 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
7444 lt_cv_sys_max_cmd_len
=32768
7448 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
7449 if test -n "$lt_cv_sys_max_cmd_len"; then
7450 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
7451 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
7453 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
7454 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
7455 = "XX$teststring") >/dev
/null
2>&1 &&
7456 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
7457 lt_cv_sys_max_cmd_len
=$new_result &&
7458 test $i != 17 # 1/2 MB should be enough
7461 teststring
=$teststring$teststring
7464 # Add a significant safety factor because C++ compilers can tack on massive
7465 # amounts of additional arguments before passing them to the linker.
7466 # It appears as though 1/2 is a usable value.
7467 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
7474 if test -n $lt_cv_sys_max_cmd_len ; then
7475 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
7476 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
7478 { echo "$as_me:$LINENO: result: none" >&5
7479 echo "${ECHO_T}none" >&6; }
7486 # Check for command to grab the raw symbol name followed by C symbol from nm.
7487 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
7488 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
7489 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
7490 echo $ECHO_N "(cached) $ECHO_C" >&6
7493 # These are sane defaults that work on at least a few old systems.
7494 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7496 # Character class describing NM global symbol codes.
7497 symcode
='[BCDEGRST]'
7499 # Regexp to match symbols that can be accessed directly from C.
7500 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
7502 # Transform an extracted symbol line into a proper C declaration
7503 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
7505 # Transform an extracted symbol line into symbol name and symbol address
7506 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
7508 # Define system-specific variables.
7513 cygwin
* | mingw
* | pw32
*)
7514 symcode
='[ABCDGISTW]'
7516 hpux
*) # Its linker distinguishes data from code symbols
7517 if test "$host_cpu" = ia64
; then
7518 symcode
='[ABCDEGRST]'
7520 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7521 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
7523 linux
* | k
*bsd
*-gnu)
7524 if test "$host_cpu" = ia64
; then
7525 symcode
='[ABCDGIRSTW]'
7526 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7527 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
7531 symcode
='[BCDEGRST]'
7534 symcode
='[BCDEGQRST]'
7545 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7553 # Handle CRLF in mingw tool chain
7557 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7561 # If we're using GNU nm, then use its standard symbol codes.
7562 case `$NM -V 2>&1` in
7563 *GNU
* | *'with BFD'*)
7564 symcode
='[ABCDGIRSTW]' ;;
7567 # Try without a prefix undercore, then with it.
7568 for ac_symprfx
in "" "_"; do
7570 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7571 symxfrm
="\\1 $ac_symprfx\\2 \\2"
7573 # Write the raw and C identifiers.
7574 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7576 # Check to see that the pipe works correctly.
7580 cat > conftest.
$ac_ext <<EOF
7585 void nm_test_func(){}
7589 int main(){nm_test_var='a';nm_test_func();return(0);}
7592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7593 (eval $ac_compile) 2>&5
7595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7596 (exit $ac_status); }; then
7597 # Now try to grab the symbols.
7599 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
7600 (eval $NM conftest.
$ac_objext \
| $lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
7602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7603 (exit $ac_status); } && test -s "$nlist"; then
7604 # Try sorting and uniquifying the output.
7605 if sort "$nlist" | uniq > "$nlist"T
; then
7606 mv -f "$nlist"T
"$nlist"
7611 # Make sure that we snagged all the symbols we need.
7612 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
7613 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
7614 cat <<EOF > conftest.$ac_ext
7620 # Now generate the symbol file.
7621 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
7623 cat <<EOF >> conftest.$ac_ext
7624 #if defined (__STDC__) && __STDC__
7625 # define lt_ptr_t void *
7627 # define lt_ptr_t char *
7631 /* The mapping between symbol names and symbols. */
7636 lt_preloaded_symbols[] =
7639 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main
>> conftest.
$ac_ext
7640 cat <<\EOF
>> conftest.
$ac_ext
7648 # Now try linking the two files.
7649 mv conftest.
$ac_objext conftstm.
$ac_objext
7650 lt_save_LIBS
="$LIBS"
7651 lt_save_CFLAGS
="$CFLAGS"
7652 LIBS
="conftstm.$ac_objext"
7653 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7655 (eval $ac_link) 2>&5
7657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7658 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
7661 LIBS
="$lt_save_LIBS"
7662 CFLAGS
="$lt_save_CFLAGS"
7664 echo "cannot find nm_test_func in $nlist" >&5
7667 echo "cannot find nm_test_var in $nlist" >&5
7670 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7673 echo "$progname: failed program was:" >&5
7674 cat conftest.
$ac_ext >&5
7676 rm -f conftest
* conftst
*
7678 # Do not use the global_symbol_pipe unless it works.
7679 if test "$pipe_works" = yes; then
7682 lt_cv_sys_global_symbol_pipe
=
7688 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7689 lt_cv_sys_global_symbol_to_cdecl
=
7691 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7692 { echo "$as_me:$LINENO: result: failed" >&5
7693 echo "${ECHO_T}failed" >&6; }
7695 { echo "$as_me:$LINENO: result: ok" >&5
7696 echo "${ECHO_T}ok" >&6; }
7699 { echo "$as_me:$LINENO: checking for objdir" >&5
7700 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
7701 if test "${lt_cv_objdir+set}" = set; then
7702 echo $ECHO_N "(cached) $ECHO_C" >&6
7704 rm -f .libs
2>/dev
/null
7705 mkdir .libs
2>/dev
/null
7706 if test -d .libs
; then
7709 # MS-DOS does not allow filenames that begin with a dot.
7712 rmdir .libs
2>/dev
/null
7714 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7715 echo "${ECHO_T}$lt_cv_objdir" >&6; }
7716 objdir
=$lt_cv_objdir
7724 # AIX sometimes has problems with the GCC collect2 program. For some
7725 # reason, if we set the COLLECT_NAMES environment variable, the problems
7726 # vanish in a puff of smoke.
7727 if test "X${COLLECT_NAMES+set}" != Xset
; then
7729 export COLLECT_NAMES
7734 # Sed substitution that helps us do robust quoting. It backslashifies
7735 # metacharacters that are still active within double-quoted strings.
7736 Xsed
='sed -e 1s/^X//'
7737 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
7739 # Same as above, but do not quote variable references.
7740 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
7742 # Sed substitution to delay expansion of an escaped shell variable in a
7743 # double_quote_subst'ed string.
7744 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
7746 # Sed substitution to avoid accidental globbing in evaled expressions
7747 no_glob_subst
='s/\*/\\\*/g'
7753 default_ofile
=libtool
7754 can_build_shared
=yes
7756 # All known linkers require a `.a' archive for static linking (except MSVC,
7757 # which needs '.lib').
7759 ltmain
="$ac_aux_dir/ltmain.sh"
7760 ofile
="$default_ofile"
7761 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7763 if test -n "$ac_tool_prefix"; then
7764 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7765 set dummy
${ac_tool_prefix}ar; ac_word
=$2
7766 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7767 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7768 if test "${ac_cv_prog_AR+set}" = set; then
7769 echo $ECHO_N "(cached) $ECHO_C" >&6
7771 if test -n "$AR"; then
7772 ac_cv_prog_AR
="$AR" # Let the user override the test.
7774 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7778 test -z "$as_dir" && as_dir
=.
7779 for ac_exec_ext
in '' $ac_executable_extensions; do
7780 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7781 ac_cv_prog_AR
="${ac_tool_prefix}ar"
7782 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7792 if test -n "$AR"; then
7793 { echo "$as_me:$LINENO: result: $AR" >&5
7794 echo "${ECHO_T}$AR" >&6; }
7796 { echo "$as_me:$LINENO: result: no" >&5
7797 echo "${ECHO_T}no" >&6; }
7802 if test -z "$ac_cv_prog_AR"; then
7804 # Extract the first word of "ar", so it can be a program name with args.
7805 set dummy
ar; ac_word
=$2
7806 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7807 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7808 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
7809 echo $ECHO_N "(cached) $ECHO_C" >&6
7811 if test -n "$ac_ct_AR"; then
7812 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
7814 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7818 test -z "$as_dir" && as_dir
=.
7819 for ac_exec_ext
in '' $ac_executable_extensions; do
7820 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7821 ac_cv_prog_ac_ct_AR
="ar"
7822 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7831 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
7832 if test -n "$ac_ct_AR"; then
7833 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
7834 echo "${ECHO_T}$ac_ct_AR" >&6; }
7836 { echo "$as_me:$LINENO: result: no" >&5
7837 echo "${ECHO_T}no" >&6; }
7840 if test "x$ac_ct_AR" = x
; then
7843 case $cross_compiling:$ac_tool_warned in
7845 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7846 whose name does not start with the host triplet. If you think this
7847 configuration is useful to you, please write to autoconf@gnu.org." >&5
7848 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7849 whose name does not start with the host triplet. If you think this
7850 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7851 ac_tool_warned
=yes ;;
7859 if test -n "$ac_tool_prefix"; then
7860 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7861 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
7862 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7863 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7864 if test "${ac_cv_prog_RANLIB+set}" = set; then
7865 echo $ECHO_N "(cached) $ECHO_C" >&6
7867 if test -n "$RANLIB"; then
7868 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
7870 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7874 test -z "$as_dir" && as_dir
=.
7875 for ac_exec_ext
in '' $ac_executable_extensions; do
7876 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7877 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
7878 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7887 RANLIB
=$ac_cv_prog_RANLIB
7888 if test -n "$RANLIB"; then
7889 { echo "$as_me:$LINENO: result: $RANLIB" >&5
7890 echo "${ECHO_T}$RANLIB" >&6; }
7892 { echo "$as_me:$LINENO: result: no" >&5
7893 echo "${ECHO_T}no" >&6; }
7898 if test -z "$ac_cv_prog_RANLIB"; then
7899 ac_ct_RANLIB
=$RANLIB
7900 # Extract the first word of "ranlib", so it can be a program name with args.
7901 set dummy ranlib
; ac_word
=$2
7902 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7903 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7904 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
7905 echo $ECHO_N "(cached) $ECHO_C" >&6
7907 if test -n "$ac_ct_RANLIB"; then
7908 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
7910 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7914 test -z "$as_dir" && as_dir
=.
7915 for ac_exec_ext
in '' $ac_executable_extensions; do
7916 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7917 ac_cv_prog_ac_ct_RANLIB
="ranlib"
7918 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7927 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
7928 if test -n "$ac_ct_RANLIB"; then
7929 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
7930 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
7932 { echo "$as_me:$LINENO: result: no" >&5
7933 echo "${ECHO_T}no" >&6; }
7936 if test "x$ac_ct_RANLIB" = x
; then
7939 case $cross_compiling:$ac_tool_warned in
7941 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7942 whose name does not start with the host triplet. If you think this
7943 configuration is useful to you, please write to autoconf@gnu.org." >&5
7944 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7945 whose name does not start with the host triplet. If you think this
7946 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7947 ac_tool_warned
=yes ;;
7949 RANLIB
=$ac_ct_RANLIB
7952 RANLIB
="$ac_cv_prog_RANLIB"
7955 if test -n "$ac_tool_prefix"; then
7956 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7957 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
7958 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7959 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7960 if test "${ac_cv_prog_STRIP+set}" = set; then
7961 echo $ECHO_N "(cached) $ECHO_C" >&6
7963 if test -n "$STRIP"; then
7964 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
7966 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7970 test -z "$as_dir" && as_dir
=.
7971 for ac_exec_ext
in '' $ac_executable_extensions; do
7972 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7973 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
7974 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7983 STRIP
=$ac_cv_prog_STRIP
7984 if test -n "$STRIP"; then
7985 { echo "$as_me:$LINENO: result: $STRIP" >&5
7986 echo "${ECHO_T}$STRIP" >&6; }
7988 { echo "$as_me:$LINENO: result: no" >&5
7989 echo "${ECHO_T}no" >&6; }
7994 if test -z "$ac_cv_prog_STRIP"; then
7996 # Extract the first word of "strip", so it can be a program name with args.
7997 set dummy strip
; ac_word
=$2
7998 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7999 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8000 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
8001 echo $ECHO_N "(cached) $ECHO_C" >&6
8003 if test -n "$ac_ct_STRIP"; then
8004 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
8006 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8010 test -z "$as_dir" && as_dir
=.
8011 for ac_exec_ext
in '' $ac_executable_extensions; do
8012 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8013 ac_cv_prog_ac_ct_STRIP
="strip"
8014 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8023 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
8024 if test -n "$ac_ct_STRIP"; then
8025 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
8026 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
8028 { echo "$as_me:$LINENO: result: no" >&5
8029 echo "${ECHO_T}no" >&6; }
8032 if test "x$ac_ct_STRIP" = x
; then
8035 case $cross_compiling:$ac_tool_warned in
8037 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8038 whose name does not start with the host triplet. If you think this
8039 configuration is useful to you, please write to autoconf@gnu.org." >&5
8040 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8041 whose name does not start with the host triplet. If you think this
8042 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8043 ac_tool_warned
=yes ;;
8048 STRIP
="$ac_cv_prog_STRIP"
8053 old_CFLAGS
="$CFLAGS"
8055 # Set sane defaults for various variables
8056 test -z "$AR" && AR
=ar
8057 test -z "$AR_FLAGS" && AR_FLAGS
=cru
8058 test -z "$AS" && AS
=as
8059 test -z "$CC" && CC
=cc
8060 test -z "$LTCC" && LTCC
=$CC
8061 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8062 test -z "$DLLTOOL" && DLLTOOL
=dlltool
8063 test -z "$LD" && LD
=ld
8064 test -z "$LN_S" && LN_S
="ln -s"
8065 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8066 test -z "$NM" && NM
=nm
8067 test -z "$SED" && SED
=sed
8068 test -z "$OBJDUMP" && OBJDUMP
=objdump
8069 test -z "$RANLIB" && RANLIB
=:
8070 test -z "$STRIP" && STRIP
=:
8071 test -z "$ac_objext" && ac_objext
=o
8073 # Determine commands to create old-style static archives.
8074 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
8075 old_postinstall_cmds
='chmod 644 $oldlib'
8076 old_postuninstall_cmds
=
8078 if test -n "$RANLIB"; then
8081 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
8084 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
8087 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
8090 for cc_temp
in $compiler""; do
8092 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
8093 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
8098 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8101 # Only perform the check for file, if the check method requires it
8102 case $deplibs_check_method in
8104 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8105 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
8106 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
8107 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8108 echo $ECHO_N "(cached) $ECHO_C" >&6
8112 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8115 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8116 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8117 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8118 for ac_dir
in $ac_dummy; do
8120 test -z "$ac_dir" && ac_dir
=.
8121 if test -f $ac_dir/${ac_tool_prefix}file; then
8122 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8123 if test -n "$file_magic_test_file"; then
8124 case $deplibs_check_method in
8126 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8127 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8128 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
8129 $EGREP "$file_magic_regex" > /dev
/null
; then
8134 *** Warning: the command libtool uses to detect shared libraries,
8135 *** $file_magic_cmd, produces output that libtool cannot recognize.
8136 *** The result is that libtool may fail to recognize shared libraries
8137 *** as such. This will affect the creation of libtool libraries that
8138 *** depend on shared libraries, but programs linked with such libtool
8139 *** libraries will work regardless of this problem. Nevertheless, you
8140 *** may want to report the problem to your system manager and/or to
8141 *** bug-libtool@gnu.org
8151 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8156 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8157 if test -n "$MAGIC_CMD"; then
8158 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8159 echo "${ECHO_T}$MAGIC_CMD" >&6; }
8161 { echo "$as_me:$LINENO: result: no" >&5
8162 echo "${ECHO_T}no" >&6; }
8165 if test -z "$lt_cv_path_MAGIC_CMD"; then
8166 if test -n "$ac_tool_prefix"; then
8167 { echo "$as_me:$LINENO: checking for file" >&5
8168 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
8169 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8170 echo $ECHO_N "(cached) $ECHO_C" >&6
8174 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8177 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8178 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8179 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8180 for ac_dir
in $ac_dummy; do
8182 test -z "$ac_dir" && ac_dir
=.
8183 if test -f $ac_dir/file; then
8184 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8185 if test -n "$file_magic_test_file"; then
8186 case $deplibs_check_method in
8188 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8189 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8190 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
8191 $EGREP "$file_magic_regex" > /dev
/null
; then
8196 *** Warning: the command libtool uses to detect shared libraries,
8197 *** $file_magic_cmd, produces output that libtool cannot recognize.
8198 *** The result is that libtool may fail to recognize shared libraries
8199 *** as such. This will affect the creation of libtool libraries that
8200 *** depend on shared libraries, but programs linked with such libtool
8201 *** libraries will work regardless of this problem. Nevertheless, you
8202 *** may want to report the problem to your system manager and/or to
8203 *** bug-libtool@gnu.org
8213 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8218 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8219 if test -n "$MAGIC_CMD"; then
8220 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8221 echo "${ECHO_T}$MAGIC_CMD" >&6; }
8223 { echo "$as_me:$LINENO: result: no" >&5
8224 echo "${ECHO_T}no" >&6; }
8239 # Check whether --enable-libtool-lock was given.
8240 if test "${enable_libtool_lock+set}" = set; then
8241 enableval
=$enable_libtool_lock;
8244 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
8247 # Check whether --with-pic was given.
8248 if test "${with_pic+set}" = set; then
8249 withval
=$with_pic; pic_mode
="$withval"
8254 test -z "$pic_mode" && pic_mode
=default
8256 # Use C for the default configuration in the libtool script
8260 ac_cpp
='$CPP $CPPFLAGS'
8261 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8262 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8263 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8266 # Source file extension for C test sources.
8269 # Object file extension for compiled C test sources.
8273 # Code to be used in simple compile tests
8274 lt_simple_compile_test_code
="int some_variable = 0;"
8276 # Code to be used in simple link tests
8277 lt_simple_link_test_code
='int main(){return(0);}'
8280 # If no C compiler was specified, use CC.
8283 # If no C compiler flags were specified, use CFLAGS.
8284 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8286 # Allow CC to be a program name with arguments.
8290 # save warnings/boilerplate of simple test code
8291 ac_outfile
=conftest.
$ac_objext
8292 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8293 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
8294 _lt_compiler_boilerplate
=`cat conftest.err`
8297 ac_outfile
=conftest.
$ac_objext
8298 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8299 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
8300 _lt_linker_boilerplate
=`cat conftest.err`
8305 lt_prog_compiler_no_builtin_flag
=
8307 if test "$GCC" = yes; then
8308 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
8311 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8312 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
8313 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
8314 echo $ECHO_N "(cached) $ECHO_C" >&6
8316 lt_cv_prog_compiler_rtti_exceptions
=no
8317 ac_outfile
=conftest.
$ac_objext
8318 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8319 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8320 # Insert the option either (1) after the last *FLAGS variable, or
8321 # (2) before a word containing "conftest.", or (3) at the end.
8322 # Note that $ac_compile itself does not contain backslashes and begins
8323 # with a dollar sign (not a hyphen), so the echo should work correctly.
8324 # The option is referenced via a variable to avoid confusing sed.
8325 lt_compile
=`echo "$ac_compile" | $SED \
8326 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8327 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8328 -e 's:$: $lt_compiler_flag:'`
8329 (eval echo "\"\$as_me:8329: $lt_compile\"" >&5)
8330 (eval "$lt_compile" 2>conftest.err
)
8332 cat conftest.err
>&5
8333 echo "$as_me:8333: \$? = $ac_status" >&5
8334 if (exit $ac_status) && test -s "$ac_outfile"; then
8335 # The compiler can only warn and ignore the option if not recognized
8336 # So say no if there are warnings other than the usual output.
8337 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8338 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8339 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
8340 lt_cv_prog_compiler_rtti_exceptions
=yes
8346 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8347 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8349 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8350 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8357 lt_prog_compiler_wl
=
8358 lt_prog_compiler_pic
=
8359 lt_prog_compiler_static
=
8361 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
8362 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
8364 if test "$GCC" = yes; then
8365 lt_prog_compiler_wl
='-Wl,'
8366 lt_prog_compiler_static
='-static'
8370 # All AIX code is PIC.
8371 if test "$host_cpu" = ia64
; then
8372 # AIX 5 now supports IA64 processor
8373 lt_prog_compiler_static
='-Bstatic'
8378 # FIXME: we need at least 68020 code to build shared libraries, but
8379 # adding the `-m68020' flag to GCC prevents building anything better,
8381 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8384 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8385 # PIC is the default for these OSes.
8388 mingw
* | cygwin
* | pw32
* | os2
*)
8389 # This hack is so that the source file can tell whether it is being
8390 # built for inclusion in a dll (and should export symbols for example).
8391 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8392 # (--disable-auto-import) libraries
8393 lt_prog_compiler_pic
='-DDLL_EXPORT'
8396 darwin
* | rhapsody
*)
8397 # PIC is the default on this platform
8398 # Common symbols not allowed in MH_DYLIB files
8399 lt_prog_compiler_pic
='-fno-common'
8403 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8404 # Instead, we relocate shared libraries at runtime.
8408 # Just because we use GCC doesn't mean we suddenly get shared libraries
8409 # on systems that don't support them.
8410 lt_prog_compiler_can_build_shared
=no
8415 if test -d /usr
/nec
; then
8416 lt_prog_compiler_pic
=-Kconform_pic
8421 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8428 lt_prog_compiler_pic
='-fPIC'
8434 lt_prog_compiler_pic
='-fPIC'
8438 # PORTME Check for flag to pass linker flags through the system compiler.
8441 lt_prog_compiler_wl
='-Wl,'
8442 if test "$host_cpu" = ia64
; then
8443 # AIX 5 now supports IA64 processor
8444 lt_prog_compiler_static
='-Bstatic'
8446 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8450 # PIC is the default on this platform
8451 # Common symbols not allowed in MH_DYLIB files
8452 case $cc_basename in
8454 lt_prog_compiler_pic
='-qnocommon'
8455 lt_prog_compiler_wl
='-Wl,'
8460 mingw
* | cygwin
* | pw32
* | os2
*)
8461 # This hack is so that the source file can tell whether it is being
8462 # built for inclusion in a dll (and should export symbols for example).
8463 lt_prog_compiler_pic
='-DDLL_EXPORT'
8466 hpux9
* | hpux10
* | hpux11
*)
8467 lt_prog_compiler_wl
='-Wl,'
8468 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8475 lt_prog_compiler_pic
='+Z'
8478 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8479 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8482 irix5
* | irix6
* | nonstopux
*)
8483 lt_prog_compiler_wl
='-Wl,'
8484 # PIC (with -KPIC) is the default.
8485 lt_prog_compiler_static
='-non_shared'
8489 lt_prog_compiler_pic
='-KPIC'
8490 lt_prog_compiler_static
='-Bstatic'
8493 linux
* | k
*bsd
*-gnu)
8494 case $cc_basename in
8496 lt_prog_compiler_wl
='-Wl,'
8497 lt_prog_compiler_pic
='-KPIC'
8498 lt_prog_compiler_static
='-static'
8500 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
8501 # Portland Group compilers (*not* the Pentium gcc compiler,
8502 # which looks to be a dead project)
8503 lt_prog_compiler_wl
='-Wl,'
8504 lt_prog_compiler_pic
='-fpic'
8505 lt_prog_compiler_static
='-Bstatic'
8508 lt_prog_compiler_wl
='-Wl,'
8509 # All Alpha code is PIC.
8510 lt_prog_compiler_static
='-non_shared'
8513 case `$CC -V 2>&1 | sed 5q` in
8516 lt_prog_compiler_pic
='-KPIC'
8517 lt_prog_compiler_static
='-Bstatic'
8518 lt_prog_compiler_wl
='-Wl,'
8521 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8522 lt_prog_compiler_pic
='-KPIC'
8523 lt_prog_compiler_static
='-Bstatic'
8524 lt_prog_compiler_wl
=''
8531 osf3
* | osf4
* | osf5
*)
8532 lt_prog_compiler_wl
='-Wl,'
8533 # All OSF/1 code is PIC.
8534 lt_prog_compiler_static
='-non_shared'
8538 lt_prog_compiler_static
='-non_shared'
8542 lt_prog_compiler_pic
='-KPIC'
8543 lt_prog_compiler_static
='-Bstatic'
8544 case $cc_basename in
8546 lt_prog_compiler_wl
='-Qoption ld ';;
8548 lt_prog_compiler_wl
='-Wl,';;
8553 lt_prog_compiler_wl
='-Qoption ld '
8554 lt_prog_compiler_pic
='-PIC'
8555 lt_prog_compiler_static
='-Bstatic'
8558 sysv4
| sysv4.2uw2
* | sysv4.3
*)
8559 lt_prog_compiler_wl
='-Wl,'
8560 lt_prog_compiler_pic
='-KPIC'
8561 lt_prog_compiler_static
='-Bstatic'
8565 if test -d /usr
/nec
;then
8566 lt_prog_compiler_pic
='-Kconform_pic'
8567 lt_prog_compiler_static
='-Bstatic'
8571 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8572 lt_prog_compiler_wl
='-Wl,'
8573 lt_prog_compiler_pic
='-KPIC'
8574 lt_prog_compiler_static
='-Bstatic'
8578 lt_prog_compiler_wl
='-Wl,'
8579 lt_prog_compiler_can_build_shared
=no
8583 lt_prog_compiler_pic
='-pic'
8584 lt_prog_compiler_static
='-Bstatic'
8588 lt_prog_compiler_can_build_shared
=no
8593 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8594 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
8597 # Check to make sure the PIC flag actually works.
8599 if test -n "$lt_prog_compiler_pic"; then
8601 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8602 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
8603 if test "${lt_prog_compiler_pic_works+set}" = set; then
8604 echo $ECHO_N "(cached) $ECHO_C" >&6
8606 lt_prog_compiler_pic_works
=no
8607 ac_outfile
=conftest.
$ac_objext
8608 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8609 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8610 # Insert the option either (1) after the last *FLAGS variable, or
8611 # (2) before a word containing "conftest.", or (3) at the end.
8612 # Note that $ac_compile itself does not contain backslashes and begins
8613 # with a dollar sign (not a hyphen), so the echo should work correctly.
8614 # The option is referenced via a variable to avoid confusing sed.
8615 lt_compile
=`echo "$ac_compile" | $SED \
8616 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8617 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8618 -e 's:$: $lt_compiler_flag:'`
8619 (eval echo "\"\$as_me:8619: $lt_compile\"" >&5)
8620 (eval "$lt_compile" 2>conftest.err
)
8622 cat conftest.err
>&5
8623 echo "$as_me:8623: \$? = $ac_status" >&5
8624 if (exit $ac_status) && test -s "$ac_outfile"; then
8625 # The compiler can only warn and ignore the option if not recognized
8626 # So say no if there are warnings other than the usual output.
8627 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8628 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8629 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
8630 lt_prog_compiler_pic_works
=yes
8636 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
8637 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
8639 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
8640 case $lt_prog_compiler_pic in
8642 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8645 lt_prog_compiler_pic
=
8646 lt_prog_compiler_can_build_shared
=no
8651 # For platforms which do not support PIC, -DPIC is meaningless:
8653 lt_prog_compiler_pic
=
8656 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8661 # Check to make sure the static flag actually works.
8663 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8664 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8665 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
8666 if test "${lt_prog_compiler_static_works+set}" = set; then
8667 echo $ECHO_N "(cached) $ECHO_C" >&6
8669 lt_prog_compiler_static_works
=no
8670 save_LDFLAGS
="$LDFLAGS"
8671 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8672 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8673 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8674 # The linker can only warn and ignore the option if not recognized
8675 # So say no if there are warnings
8676 if test -s conftest.err
; then
8677 # Append any errors to the config.log.
8678 cat conftest.err
1>&5
8679 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8680 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8681 if diff conftest.exp conftest.er2
>/dev
/null
; then
8682 lt_prog_compiler_static_works
=yes
8685 lt_prog_compiler_static_works
=yes
8689 LDFLAGS
="$save_LDFLAGS"
8692 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
8693 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
8695 if test x
"$lt_prog_compiler_static_works" = xyes
; then
8698 lt_prog_compiler_static
=
8702 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8703 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
8704 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8705 echo $ECHO_N "(cached) $ECHO_C" >&6
8707 lt_cv_prog_compiler_c_o
=no
8708 $rm -r conftest
2>/dev
/null
8712 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8714 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8715 # Insert the option either (1) after the last *FLAGS variable, or
8716 # (2) before a word containing "conftest.", or (3) at the end.
8717 # Note that $ac_compile itself does not contain backslashes and begins
8718 # with a dollar sign (not a hyphen), so the echo should work correctly.
8719 lt_compile
=`echo "$ac_compile" | $SED \
8720 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8721 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8722 -e 's:$: $lt_compiler_flag:'`
8723 (eval echo "\"\$as_me:8723: $lt_compile\"" >&5)
8724 (eval "$lt_compile" 2>out
/conftest.err
)
8726 cat out
/conftest.err
>&5
8727 echo "$as_me:8727: \$? = $ac_status" >&5
8728 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8730 # The compiler can only warn and ignore the option if not recognized
8731 # So say no if there are warnings
8732 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
8733 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8734 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8735 lt_cv_prog_compiler_c_o
=yes
8740 # SGI C++ compiler will create directory out/ii_files/ for
8741 # template instantiation
8742 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
8743 $rm out
/* && rmdir out
8749 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8750 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
8753 hard_links
="nottested"
8754 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8755 # do not overwrite the value of need_locks provided by the user
8756 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8757 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
8760 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8762 ln conftest.a conftest.b
2>&5 || hard_links
=no
8763 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8764 { echo "$as_me:$LINENO: result: $hard_links" >&5
8765 echo "${ECHO_T}$hard_links" >&6; }
8766 if test "$hard_links" = no
; then
8767 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8768 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8775 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8776 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
8779 allow_undefined_flag
=
8780 enable_shared_with_static_runtimes
=no
8782 archive_expsym_cmds
=
8783 old_archive_From_new_cmds
=
8784 old_archive_from_expsyms_cmds
=
8785 export_dynamic_flag_spec
=
8786 whole_archive_flag_spec
=
8787 thread_safe_flag_spec
=
8788 hardcode_libdir_flag_spec
=
8789 hardcode_libdir_flag_spec_ld
=
8790 hardcode_libdir_separator
=
8793 hardcode_shlibpath_var
=unsupported
8794 link_all_deplibs
=unknown
8795 hardcode_automatic
=no
8798 always_export_symbols
=no
8799 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8800 # include_expsyms should be a list of space-separated symbols to be *always*
8801 # included in the symbol list
8803 # exclude_expsyms can be an extended regexp of symbols to exclude
8804 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8805 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8806 # as well as any symbol that contains `d'.
8807 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
8808 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8809 # platforms (ab)use it in PIC code, but their linkers get confused if
8810 # the symbol is explicitly referenced. Since portable code cannot
8811 # rely on this symbol name, it's probably fine to never include it in
8812 # preloaded symbol tables.
8813 extract_expsyms_cmds
=
8814 # Just being paranoid about ensuring that cc_basename is set.
8815 for cc_temp
in $compiler""; do
8817 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
8818 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
8823 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8826 cygwin
* | mingw
* | pw32
*)
8827 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8828 # When not using gcc, we currently assume that we are using
8829 # Microsoft Visual C++.
8830 if test "$GCC" != yes; then
8835 # we just hope/assume this is gcc and not c89 (= MSVC++)
8844 if test "$with_gnu_ld" = yes; then
8845 # If archive_cmds runs LD, not CC, wlarc should be empty
8848 # Set some defaults for GNU ld with shared library support. These
8849 # are reset later if shared libraries are not supported. Putting them
8850 # here allows them to be overridden if necessary.
8851 runpath_var
=LD_RUN_PATH
8852 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
8853 export_dynamic_flag_spec
='${wl}--export-dynamic'
8854 # ancient GNU ld didn't support --whole-archive et. al.
8855 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev
/null
; then
8856 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8858 whole_archive_flag_spec
=
8860 supports_anon_versioning
=no
8861 case `$LD -v 2>/dev/null` in
8862 *\
[01].
* | *\
2.
[0-9].
* | *\
2.10.
*) ;; # catch versions < 2.11
8863 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8864 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8865 *\
2.11.
*) ;; # other 2.11 versions
8866 *) supports_anon_versioning
=yes ;;
8869 # See if GNU ld supports shared libraries.
8871 aix3
* | aix4
* | aix5
*)
8872 # On AIX/PPC, the GNU linker is very broken
8873 if test "$host_cpu" != ia64
; then
8877 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8878 *** to be unable to reliably create shared libraries on AIX.
8879 *** Therefore, libtool is disabling shared libraries support. If you
8880 *** really care for shared libraries, you may want to modify your PATH
8881 *** so that a non-GNU linker is found, and then restart.
8888 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)'
8889 hardcode_libdir_flag_spec
='-L$libdir'
8890 hardcode_minus_L
=yes
8892 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
8893 # that the semantics of dynamic libraries on AmigaOS, at least up
8894 # to version 4, is to share data among multiple programs linked
8895 # with the same dynamic library. Since this doesn't match the
8896 # behavior of shared libraries on other platforms, we can't use
8902 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev
/null
; then
8903 allow_undefined_flag
=unsupported
8904 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8905 # support --undefined. This deserves some investigation. FIXME
8906 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8912 cygwin
* | mingw
* | pw32
*)
8913 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8914 # as there is no search path for DLLs.
8915 hardcode_libdir_flag_spec
='-L$libdir'
8916 allow_undefined_flag
=unsupported
8917 always_export_symbols
=no
8918 enable_shared_with_static_runtimes
=yes
8919 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8921 if $LD --help 2>&1 | grep 'auto-import' > /dev
/null
; then
8922 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8923 # If the export-symbols file already is a .def file (1st line
8924 # is EXPORTS), use it as is; otherwise, prepend...
8925 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8926 cp $export_symbols $output_objdir/$soname.def;
8928 echo EXPORTS > $output_objdir/$soname.def;
8929 cat $export_symbols >> $output_objdir/$soname.def;
8931 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8939 hardcode_shlibpath_var
=no
8940 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8941 export_dynamic_flag_spec
='${wl}-E'
8942 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8943 # Instead, shared libraries are loaded at an image base (0x10000000 by
8944 # default) and relocated if they conflict, which is a slow very memory
8945 # consuming and fragmenting process. To avoid this, we pick a random,
8946 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8947 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8948 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8949 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'
8952 gnu
* | linux
* | k
*bsd
*-gnu)
8953 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev
/null
; then
8955 case $cc_basename,$host_cpu in
8956 pgcc
*) # Portland Group C compiler
8957 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'
8958 tmp_addflag
=' $pic_flag'
8960 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
8961 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'
8962 tmp_addflag
=' $pic_flag -Mnomain' ;;
8963 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8964 tmp_addflag
=' -i_dynamic' ;;
8965 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8966 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8967 ifc
* | ifort
*) # Intel Fortran compiler
8968 tmp_addflag
=' -nofor_main' ;;
8970 case `$CC -V 2>&1 | sed 5q` in
8971 *Sun\ C
*) # Sun C 5.9
8972 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'
8973 tmp_sharedflag
='-G' ;;
8974 *Sun\ F
*) # Sun Fortran 8.3
8975 tmp_sharedflag
='-G' ;;
8977 tmp_sharedflag
='-shared' ;;
8979 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8981 if test $supports_anon_versioning = yes; then
8982 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
8983 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8984 $echo "local: *; };" >> $output_objdir/$libname.ver~
8985 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8993 if echo __ELF__
| $CC -E - | grep __ELF__
>/dev
/null
; then
8994 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8997 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8998 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9003 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev
/null
; then
9007 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9008 *** create shared libraries on Solaris systems. Therefore, libtool
9009 *** is disabling shared libraries support. We urge you to upgrade GNU
9010 *** binutils to release 2.9.1 or newer. Another option is to modify
9011 *** your PATH or compiler configuration so that the native linker is
9012 *** used, and then restart.
9015 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev
/null
; then
9016 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9017 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9023 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9024 case `$LD -v 2>&1` in
9025 *\
[01].
* | *\
2.
[0-9].
* | *\
2.1[0-5].
*)
9029 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9030 *** reliably create shared libraries on SCO systems. Therefore, libtool
9031 *** is disabling shared libraries support. We urge you to upgrade GNU
9032 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9033 *** your PATH or compiler configuration so that the native linker is
9034 *** used, and then restart.
9039 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev
/null
; then
9040 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
9041 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
9042 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
9051 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9054 hardcode_shlibpath_var
=no
9058 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev
/null
; then
9059 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9060 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9067 if test "$ld_shlibs" = no
; then
9069 hardcode_libdir_flag_spec
=
9070 export_dynamic_flag_spec
=
9071 whole_archive_flag_spec
=
9074 # PORTME fill in a description of your system's linker (not GNU ld)
9077 allow_undefined_flag
=unsupported
9078 always_export_symbols
=yes
9079 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'
9080 # Note: this linker hardcodes the directories in LIBPATH if there
9081 # are no directories specified by -L.
9082 hardcode_minus_L
=yes
9083 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9084 # Neither direct hardcoding nor static linking is supported with a
9086 hardcode_direct
=unsupported
9091 if test "$host_cpu" = ia64
; then
9092 # On IA64, the linker does run time linking by default, so we don't
9093 # have to do anything special.
9094 aix_use_runtimelinking
=no
9095 exp_sym_flag
='-Bexport'
9098 # If we're using GNU nm, then we don't want the "-C" option.
9099 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9100 if $NM -V 2>&1 | grep 'GNU' > /dev
/null
; then
9101 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'
9103 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'
9105 aix_use_runtimelinking
=no
9107 # Test if we are trying to use run time linking or normal
9108 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9109 # need to do runtime linking.
9110 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
9111 for ld_flag
in $LDFLAGS; do
9112 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9113 aix_use_runtimelinking
=yes
9120 exp_sym_flag
='-bexport'
9121 no_entry_flag
='-bnoentry'
9124 # When large executables or shared objects are built, AIX ld can
9125 # have problems creating the table of contents. If linking a library
9126 # or program results in "error TOC overflow" add -mminimal-toc to
9127 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9128 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9132 hardcode_libdir_separator
=':'
9133 link_all_deplibs
=yes
9135 if test "$GCC" = yes; then
9136 case $host_os in aix4.
[012]|aix4.
[012].
*)
9137 # We only want to do this on AIX 4.2 and lower, the check
9138 # below for broken collect2 doesn't work under 4.3+
9139 collect2name
=`${CC} -print-prog-name=collect2`
9140 if test -f "$collect2name" && \
9141 strings "$collect2name" | grep resolve_lib_name
>/dev
/null
9143 # We have reworked collect2
9146 # We have old collect2
9147 hardcode_direct
=unsupported
9148 # It fails to find uninstalled libraries when the uninstalled
9149 # path is not listed in the libpath. Setting hardcode_minus_L
9150 # to unsupported forces relinking
9151 hardcode_minus_L
=yes
9152 hardcode_libdir_flag_spec
='-L$libdir'
9153 hardcode_libdir_separator
=
9157 shared_flag
='-shared'
9158 if test "$aix_use_runtimelinking" = yes; then
9159 shared_flag
="$shared_flag "'${wl}-G'
9163 if test "$host_cpu" = ia64
; then
9164 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9165 # chokes on -Wl,-G. The following line is correct:
9168 if test "$aix_use_runtimelinking" = yes; then
9169 shared_flag
='${wl}-G'
9171 shared_flag
='${wl}-bM:SRE'
9176 # It seems that -bexpall does not export symbols beginning with
9177 # underscore (_), so it is better to generate a list of symbols to export.
9178 always_export_symbols
=yes
9179 if test "$aix_use_runtimelinking" = yes; then
9180 # Warning - without using the other runtime loading flags (-brtl),
9181 # -berok will link without error, but may produce a broken library.
9182 allow_undefined_flag
='-berok'
9183 # Determine the default libpath from the value encoded in an empty executable.
9184 cat >conftest.
$ac_ext <<_ACEOF
9187 cat confdefs.h
>>conftest.
$ac_ext
9188 cat >>conftest.
$ac_ext <<_ACEOF
9189 /* end confdefs.h. */
9199 rm -f conftest.
$ac_objext conftest
$ac_exeext
9200 if { (ac_try
="$ac_link"
9202 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
9203 *) ac_try_echo=$ac_try;;
9205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9206 (eval "$ac_link") 2>conftest.er1
9208 grep -v '^ *+' conftest.er1 >conftest.err
9210 cat conftest.err >&5
9211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9212 (exit $ac_status); } && {
9213 test -z "$ac_c_werror_flag" ||
9214 test ! -s conftest.err
9215 } && test -s conftest$ac_exeext &&
9216 $as_test_x conftest$ac_exeext; then
9218 lt_aix_libpath_sed='
9219 /Import File Strings/,/^$/ {
9225 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null
| $SED -n -e "$lt_aix_libpath_sed"`
9226 # Check for a 64-bit object if we didn't find anything.
9227 if test -z "$aix_libpath"; then
9228 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null
| $SED -n -e "$lt_aix_libpath_sed"`
9231 echo "$as_me: failed program was:" >&5
9232 sed 's/^/| /' conftest.$ac_ext >&5
9237 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9238 conftest$ac_exeext conftest.$ac_ext
9239 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9241 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9242 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 "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9244 if test "$host_cpu" = ia64; then
9245 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9246 allow_undefined_flag="-z nodefs"
9247 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"
9249 # Determine the default libpath from the value encoded in an empty executable.
9250 cat >conftest.$ac_ext <<_ACEOF
9253 cat confdefs.h >>conftest.$ac_ext
9254 cat >>conftest.$ac_ext <<_ACEOF
9255 /* end confdefs.h. */
9265 rm -f conftest.$ac_objext conftest$ac_exeext
9266 if { (ac_try="$ac_link"
9268 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
9269 *) ac_try_echo
=$ac_try;;
9271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9272 (eval "$ac_link") 2>conftest.er1
9274 grep -v '^ *+' conftest.er1
>conftest.err
9276 cat conftest.err
>&5
9277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9278 (exit $ac_status); } && {
9279 test -z "$ac_c_werror_flag" ||
9280 test ! -s conftest.err
9281 } && test -s conftest
$ac_exeext &&
9282 $as_test_x conftest
$ac_exeext; then
9284 lt_aix_libpath_sed
='
9285 /Import File Strings/,/^$/ {
9291 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9292 # Check for a 64-bit object if we didn't find anything.
9293 if test -z "$aix_libpath"; then
9294 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9297 echo "$as_me: failed program was:" >&5
9298 sed 's/^/| /' conftest.
$ac_ext >&5
9303 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9304 conftest
$ac_exeext conftest.
$ac_ext
9305 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9307 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9308 # Warning - without using the other run time loading flags,
9309 # -berok will link without error, but may produce a broken library.
9310 no_undefined_flag
=' ${wl}-bernotok'
9311 allow_undefined_flag
=' ${wl}-berok'
9312 # Exported symbols can be pulled into shared objects from archives
9313 whole_archive_flag_spec
='$convenience'
9314 archive_cmds_need_lc
=yes
9315 # This is similar to how AIX traditionally builds its shared libraries.
9316 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'
9322 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)'
9323 hardcode_libdir_flag_spec
='-L$libdir'
9324 hardcode_minus_L
=yes
9325 # see comment about different semantics on the GNU ld section
9330 export_dynamic_flag_spec
=-rdynamic
9333 cygwin
* | mingw
* | pw32
*)
9334 # When not using gcc, we currently assume that we are using
9335 # Microsoft Visual C++.
9336 # hardcode_libdir_flag_spec is actually meaningless, as there is
9337 # no search path for DLLs.
9338 hardcode_libdir_flag_spec
=' '
9339 allow_undefined_flag
=unsupported
9340 # Tell ltmain to make .lib files, not .a files.
9342 # Tell ltmain to make .dll files, not .so files.
9344 # FIXME: Setting linknames here is a bad hack.
9345 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
9346 # The linker will automatically build a .lib file if we build a DLL.
9347 old_archive_From_new_cmds
='true'
9348 # FIXME: Should let the user specify the lib program.
9349 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9350 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9351 enable_shared_with_static_runtimes
=yes
9354 darwin
* | rhapsody
*)
9356 rhapsody
* | darwin1.
[012])
9357 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
9360 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
9361 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9363 case ${MACOSX_DEPLOYMENT_TARGET} in
9365 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9368 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
9374 archive_cmds_need_lc
=no
9376 hardcode_automatic
=yes
9377 hardcode_shlibpath_var
=unsupported
9378 whole_archive_flag_spec
=''
9379 link_all_deplibs
=yes
9380 if test "$GCC" = yes ; then
9381 output_verbose_link_cmd
='echo'
9382 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
9383 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9384 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
9385 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
9386 module_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
9388 case $cc_basename in
9390 output_verbose_link_cmd
='echo'
9391 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
9392 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9393 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
9394 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
9395 module_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
9405 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9406 hardcode_libdir_flag_spec
='-L$libdir'
9407 hardcode_shlibpath_var
=no
9414 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9415 # support. Future versions do this automatically, but an explicit c++rt0.o
9416 # does not break anything, and helps significantly (at the cost of a little
9419 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9420 hardcode_libdir_flag_spec
='-R$libdir'
9422 hardcode_shlibpath_var
=no
9425 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9427 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9429 hardcode_minus_L
=yes
9430 hardcode_shlibpath_var
=no
9433 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9434 freebsd
* | dragonfly
*)
9435 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9436 hardcode_libdir_flag_spec
='-R$libdir'
9438 hardcode_shlibpath_var
=no
9442 if test "$GCC" = yes; then
9443 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'
9445 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'
9447 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9448 hardcode_libdir_separator
=:
9451 # hardcode_minus_L: Not really in the search PATH,
9452 # but as the default location of the library.
9453 hardcode_minus_L
=yes
9454 export_dynamic_flag_spec
='${wl}-E'
9458 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9459 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9461 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9463 if test "$with_gnu_ld" = no
; then
9464 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9465 hardcode_libdir_separator
=:
9468 export_dynamic_flag_spec
='${wl}-E'
9470 # hardcode_minus_L: Not really in the search PATH,
9471 # but as the default location of the library.
9472 hardcode_minus_L
=yes
9477 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9480 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9483 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9486 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9492 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9495 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9498 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9502 if test "$with_gnu_ld" = no
; then
9503 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9504 hardcode_libdir_separator
=:
9508 hardcode_libdir_flag_spec_ld
='+b $libdir'
9510 hardcode_shlibpath_var
=no
9514 export_dynamic_flag_spec
='${wl}-E'
9516 # hardcode_minus_L: Not really in the search PATH,
9517 # but as the default location of the library.
9518 hardcode_minus_L
=yes
9524 irix5
* | irix6
* | nonstopux
*)
9525 if test "$GCC" = yes; then
9526 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9528 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
9529 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9531 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9532 hardcode_libdir_separator
=:
9533 link_all_deplibs
=yes
9537 if echo __ELF__
| $CC -E - | grep __ELF__
>/dev
/null
; then
9538 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9540 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9542 hardcode_libdir_flag_spec
='-R$libdir'
9544 hardcode_shlibpath_var
=no
9548 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9550 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9551 hardcode_libdir_separator
=:
9552 hardcode_shlibpath_var
=no
9556 if test -f /usr
/libexec
/ld.so
; then
9558 hardcode_shlibpath_var
=no
9559 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9560 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9561 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9562 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9563 export_dynamic_flag_spec
='${wl}-E'
9566 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9567 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9568 hardcode_libdir_flag_spec
='-R$libdir'
9571 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9572 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9582 hardcode_libdir_flag_spec
='-L$libdir'
9583 hardcode_minus_L
=yes
9584 allow_undefined_flag
=unsupported
9585 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'
9586 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9590 if test "$GCC" = yes; then
9591 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9592 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9594 allow_undefined_flag
=' -expect_unresolved \*'
9595 archive_cmds
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
9597 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9598 hardcode_libdir_separator
=:
9601 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9602 if test "$GCC" = yes; then
9603 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9604 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9605 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9607 allow_undefined_flag
=' -expect_unresolved \*'
9608 archive_cmds
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
9609 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
9610 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
9612 # Both c and cxx compiler support -rpath directly
9613 hardcode_libdir_flag_spec
='-rpath $libdir'
9615 hardcode_libdir_separator
=:
9619 no_undefined_flag
=' -z text'
9620 if test "$GCC" = yes; then
9622 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9623 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
9624 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
9627 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9628 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
9629 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
9631 hardcode_libdir_flag_spec
='-R$libdir'
9632 hardcode_shlibpath_var
=no
9634 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9636 # The compiler driver will combine and reorder linker options,
9637 # but understands `-z linker_flag'. GCC discards it without `$wl',
9638 # but is careful enough not to reorder.
9639 # Supported since Solaris 2.6 (maybe 2.5.1?)
9640 if test "$GCC" = yes; then
9641 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9643 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9647 link_all_deplibs
=yes
9651 if test "x$host_vendor" = xsequent
; then
9652 # Use $CC to link under sequent, because it throws in some extra .o
9653 # files that make .init and .fini sections work.
9654 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9656 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9658 hardcode_libdir_flag_spec
='-L$libdir'
9660 hardcode_minus_L
=yes
9661 hardcode_shlibpath_var
=no
9665 case $host_vendor in
9667 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9668 hardcode_direct
=yes # is this really true???
9671 ## LD is ld it makes a PLAMLIB
9672 ## CC just makes a GrossModule.
9673 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9674 reload_cmds
='$CC -r -o $output$reload_objs'
9678 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9679 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9682 runpath_var
='LD_RUN_PATH'
9683 hardcode_shlibpath_var
=no
9687 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9688 hardcode_shlibpath_var
=no
9689 export_dynamic_flag_spec
='-Bexport'
9693 if test -d /usr
/nec
; then
9694 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9695 hardcode_shlibpath_var
=no
9696 runpath_var
=LD_RUN_PATH
9697 hardcode_runpath_var
=yes
9702 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9703 no_undefined_flag
='${wl}-z,text'
9704 archive_cmds_need_lc
=no
9705 hardcode_shlibpath_var
=no
9706 runpath_var
='LD_RUN_PATH'
9708 if test "$GCC" = yes; then
9709 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9710 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9712 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9713 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9717 sysv5
* | sco3.2v5
* | sco5v6
*)
9718 # Note: We can NOT use -z defs as we might desire, because we do not
9719 # link with -lc, and that would cause any symbols used from libc to
9720 # always be unresolved, which means just about no library would
9721 # ever link correctly. If we're not using GNU ld we use -z text
9722 # though, which does catch some bad symbols but isn't as heavy-handed
9724 no_undefined_flag
='${wl}-z,text'
9725 allow_undefined_flag
='${wl}-z,nodefs'
9726 archive_cmds_need_lc
=no
9727 hardcode_shlibpath_var
=no
9728 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
9729 hardcode_libdir_separator
=':'
9730 link_all_deplibs
=yes
9731 export_dynamic_flag_spec
='${wl}-Bexport'
9732 runpath_var
='LD_RUN_PATH'
9734 if test "$GCC" = yes; then
9735 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9736 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9738 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9739 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9744 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9745 hardcode_libdir_flag_spec
='-L$libdir'
9746 hardcode_shlibpath_var
=no
9755 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9756 echo "${ECHO_T}$ld_shlibs" >&6; }
9757 test "$ld_shlibs" = no
&& can_build_shared
=no
9760 # Do we need to explicitly link libc?
9762 case "x$archive_cmds_need_lc" in
9764 # Assume -lc should be added
9765 archive_cmds_need_lc
=yes
9767 if test "$enable_shared" = yes && test "$GCC" = yes; then
9768 case $archive_cmds in
9770 # FIXME: we may have to deal with multi-command sequences.
9773 # Test whether the compiler implicitly links with -lc since on some
9774 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9775 # to ld, don't add -lc before -lgcc.
9776 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9777 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
9779 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9782 (eval $ac_compile) 2>&5
9784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9785 (exit $ac_status); } 2>conftest.err
; then
9788 libobjs
=conftest.
$ac_objext
9790 wl
=$lt_prog_compiler_wl
9791 pic_flag
=$lt_prog_compiler_pic
9797 lt_save_allow_undefined_flag
=$allow_undefined_flag
9798 allow_undefined_flag
=
9799 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
9800 (eval $archive_cmds 2\
>\
&1 \
| grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9803 (exit $ac_status); }
9805 archive_cmds_need_lc
=no
9807 archive_cmds_need_lc
=yes
9809 allow_undefined_flag
=$lt_save_allow_undefined_flag
9811 cat conftest.err
1>&5
9814 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9815 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
9822 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9823 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
9825 libname_spec
='lib$name'
9833 shlibpath_overrides_runpath
=unknown
9835 dynamic_linker
="$host_os ld.so"
9836 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9838 if test "$GCC" = yes; then
9840 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9841 *) lt_awk_arg
="/^libraries:/" ;;
9843 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9844 if echo "$lt_search_path_spec" | grep ';' >/dev
/null
; then
9845 # if the path contains ";" then we assume it to be the separator
9846 # otherwise default to the standard path separator (i.e. ":") - it is
9847 # assumed that no part of a normal pathname contains ";" but that should
9848 # okay in the real world where ";" in dirpaths is itself problematic.
9849 lt_search_path_spec
=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9851 lt_search_path_spec
=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9853 # Ok, now we have the path, separated by spaces, we can step through it
9854 # and add multilib dir if necessary.
9855 lt_tmp_lt_search_path_spec
=
9856 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9857 for lt_sys_path
in $lt_search_path_spec; do
9858 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9859 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9861 test -d "$lt_sys_path" && \
9862 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9865 lt_search_path_spec
=`echo $lt_tmp_lt_search_path_spec | awk '
9866 BEGIN {RS=" "; FS="/|\n";} {
9869 for (lt_i = NF; lt_i > 0; lt_i--) {
9870 if ($lt_i != "" && $lt_i != ".") {
9871 if ($lt_i == "..") {
9874 if (lt_count == 0) {
9875 lt_foo="/" $lt_i lt_foo;
9882 if (lt_foo != "") { lt_freq[lt_foo]++; }
9883 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9885 sys_lib_search_path_spec
=`echo $lt_search_path_spec`
9887 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9889 need_lib_prefix
=unknown
9890 hardcode_into_libs
=no
9892 # when you set need_version to no, make sure it does not cause -set_version
9893 # flags to be left without arguments
9894 need_version
=unknown
9899 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9900 shlibpath_var
=LIBPATH
9902 # AIX 3 has no versioning support, so we append a major version to the name.
9903 soname_spec
='${libname}${release}${shared_ext}$major'
9910 hardcode_into_libs
=yes
9911 if test "$host_cpu" = ia64
; then
9912 # AIX 5 supports IA64
9913 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9914 shlibpath_var
=LD_LIBRARY_PATH
9916 # With GCC up to 2.95.x, collect2 would create an import file
9917 # for dependence libraries. The import file would start with
9918 # the line `#! .'. This would cause the generated library to
9919 # depend on `.', always an invalid library. This was fixed in
9920 # development snapshots of GCC prior to 3.0.
9922 aix4
| aix4.
[01] | aix4.
[01].
*)
9923 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9925 echo '#endif'; } | ${CC} -E - | grep yes > /dev
/null
; then
9932 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9933 # soname into executable. Probably we can add versioning support to
9934 # collect2, so additional links can be useful in future.
9935 if test "$aix_use_runtimelinking" = yes; then
9936 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9937 # instead of lib<name>.a to let people know that these are not
9938 # typical AIX shared libraries.
9939 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9941 # We preserve .a as extension for shared libraries through AIX4.2
9942 # and later when we are not doing run time linking.
9943 library_names_spec
='${libname}${release}.a $libname.a'
9944 soname_spec
='${libname}${release}${shared_ext}$major'
9946 shlibpath_var
=LIBPATH
9951 library_names_spec
='$libname.ixlibrary $libname.a'
9952 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9953 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'
9957 library_names_spec
='${libname}${shared_ext}'
9958 dynamic_linker
="$host_os ld.so"
9959 shlibpath_var
=LIBRARY_PATH
9965 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9966 soname_spec
='${libname}${release}${shared_ext}$major'
9967 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9968 shlibpath_var
=LD_LIBRARY_PATH
9969 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9970 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9971 # the default ld.so.conf also contains /usr/contrib/lib and
9972 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9973 # libtool to hard-code these into programs
9976 cygwin
* | mingw
* | pw32
*)
9977 version_type
=windows
9982 case $GCC,$host_os in
9983 yes,cygwin
* | yes,mingw
* | yes,pw32
*)
9984 library_names_spec
='$libname.dll.a'
9985 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9986 postinstall_cmds
='base_file=`basename \${file}`~
9987 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
9988 dldir=$destdir/`dirname \$dlpath`~
9989 test -d \$dldir || mkdir -p \$dldir~
9990 $install_prog $dir/$dlname \$dldir/$dlname~
9991 chmod a+x \$dldir/$dlname'
9992 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9993 dlpath=$dir/\$dldll~
9995 shlibpath_overrides_runpath
=yes
9999 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10000 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
10001 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
10004 # MinGW DLLs use traditional 'lib' prefix
10005 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
10006 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10007 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev
/null
; then
10008 # It is most probably a Windows format PATH printed by
10009 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10010 # path with ; separators, and with drive letters. We can handle the
10011 # drive letters (cygwin fileutils understands them), so leave them,
10012 # especially as we might pass files found there to a mingw objdump,
10013 # which wouldn't understand a cygwinified path. Ahh.
10014 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10016 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10020 # pw32 DLLs use 'pw' prefix rather than 'lib'
10021 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
10027 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
10030 dynamic_linker
='Win32 ld.exe'
10031 # FIXME: first we should search . and the directory the executable is in
10035 darwin
* | rhapsody
*)
10036 dynamic_linker
="$host_os dyld"
10037 version_type
=darwin
10040 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10041 soname_spec
='${libname}${release}${major}$shared_ext'
10042 shlibpath_overrides_runpath
=yes
10043 shlibpath_var
=DYLD_LIBRARY_PATH
10044 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10046 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10047 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10054 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10055 soname_spec
='${libname}${release}${shared_ext}$major'
10056 shlibpath_var
=LD_LIBRARY_PATH
10063 freebsd
* | dragonfly
*)
10064 # DragonFly does not have aout. When/if they implement a new
10065 # versioning mechanism, adjust this.
10066 if test -x /usr
/bin
/objformat
; then
10067 objformat
=`/usr/bin/objformat`
10070 freebsd
[123]*) objformat
=aout
;;
10071 *) objformat
=elf
;;
10074 version_type
=freebsd
-$objformat
10075 case $version_type in
10077 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10082 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10086 shlibpath_var
=LD_LIBRARY_PATH
10089 shlibpath_overrides_runpath
=yes
10091 freebsd3.
[01]* | freebsdelf3.
[01]*)
10092 shlibpath_overrides_runpath
=yes
10093 hardcode_into_libs
=yes
10095 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10096 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10097 shlibpath_overrides_runpath
=no
10098 hardcode_into_libs
=yes
10100 *) # from 4.6 on, and DragonFly
10101 shlibpath_overrides_runpath
=yes
10102 hardcode_into_libs
=yes
10111 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10112 soname_spec
='${libname}${release}${shared_ext}$major'
10113 shlibpath_var
=LD_LIBRARY_PATH
10114 hardcode_into_libs
=yes
10117 hpux9
* | hpux10
* | hpux11
*)
10118 # Give a soname corresponding to the major version so that dld.sl refuses to
10119 # link against other versions.
10126 hardcode_into_libs
=yes
10127 dynamic_linker
="$host_os dld.so"
10128 shlibpath_var
=LD_LIBRARY_PATH
10129 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10130 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10131 soname_spec
='${libname}${release}${shared_ext}$major'
10132 if test "X$HPUX_IA64_MODE" = X32
; then
10133 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10135 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10137 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10141 hardcode_into_libs
=yes
10142 dynamic_linker
="$host_os dld.sl"
10143 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10144 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10145 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10146 soname_spec
='${libname}${release}${shared_ext}$major'
10147 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10148 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10152 dynamic_linker
="$host_os dld.sl"
10153 shlibpath_var
=SHLIB_PATH
10154 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10155 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10156 soname_spec
='${libname}${release}${shared_ext}$major'
10159 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10160 postinstall_cmds
='chmod 555 $lib'
10167 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10168 soname_spec
='${libname}${release}${shared_ext}$major'
10169 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10170 shlibpath_var
=LD_LIBRARY_PATH
10171 shlibpath_overrides_runpath
=no
10172 hardcode_into_libs
=yes
10175 irix5
* | irix6
* | nonstopux
*)
10177 nonstopux
*) version_type
=nonstopux
;;
10179 if test "$lt_cv_prog_gnu_ld" = yes; then
10187 soname_spec
='${libname}${release}${shared_ext}$major'
10188 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10190 irix5
* | nonstopux
*)
10191 libsuff
= shlibsuff
=
10194 case $LD in # libtool.m4 will add one of these switches to LD
10195 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10196 libsuff
= shlibsuff
= libmagic
=32-bit;;
10197 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10198 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10199 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10200 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10201 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
10205 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10206 shlibpath_overrides_runpath
=no
10207 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10208 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10209 hardcode_into_libs
=yes
10212 # No shared lib support for Linux oldld, aout, or coff.
10213 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10217 # This must be Linux ELF.
10218 linux
* | k
*bsd
*-gnu)
10222 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10223 soname_spec
='${libname}${release}${shared_ext}$major'
10224 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10225 shlibpath_var
=LD_LIBRARY_PATH
10226 shlibpath_overrides_runpath
=no
10227 # This implies no fast_install, which is unacceptable.
10228 # Some rework will be needed to allow for fast_install
10229 # before this can be enabled.
10230 hardcode_into_libs
=yes
10232 # Append ld.so.conf contents to the search path
10233 if test -f /etc
/ld.so.conf
; then
10234 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' ' '`
10235 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10238 # We used to test for /lib/ld.so.1 and disable shared libraries on
10239 # powerpc, because MkLinux only supported shared libraries with the
10240 # GNU dynamic linker. Since this was broken with cross compilers,
10241 # most powerpc-linux boxes support dynamic linking these days and
10242 # people can always --disable-shared, the test was removed, and we
10243 # assume the GNU/Linux dynamic linker is in use.
10244 dynamic_linker
='GNU/Linux ld.so'
10251 if echo __ELF__
| $CC -E - | grep __ELF__
>/dev
/null
; then
10252 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10253 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10254 dynamic_linker
='NetBSD (a.out) ld.so'
10256 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10257 soname_spec
='${libname}${release}${shared_ext}$major'
10258 dynamic_linker
='NetBSD ld.elf_so'
10260 shlibpath_var
=LD_LIBRARY_PATH
10261 shlibpath_overrides_runpath
=yes
10262 hardcode_into_libs
=yes
10267 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10268 shlibpath_var
=LD_LIBRARY_PATH
10269 shlibpath_overrides_runpath
=yes
10276 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10277 soname_spec
='${libname}${release}${shared_ext}$major'
10278 shlibpath_var
=LD_LIBRARY_PATH
10279 shlibpath_overrides_runpath
=yes
10284 sys_lib_dlsearch_path_spec
="/usr/lib"
10286 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10288 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
10289 *) need_version
=no
;;
10291 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10292 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10293 shlibpath_var
=LD_LIBRARY_PATH
10294 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10296 openbsd2.
[89] | openbsd2.
[89].
*)
10297 shlibpath_overrides_runpath
=no
10300 shlibpath_overrides_runpath
=yes
10304 shlibpath_overrides_runpath
=yes
10309 libname_spec
='$name'
10312 library_names_spec
='$libname${shared_ext} $libname.a'
10313 dynamic_linker
='OS/2 ld.exe'
10314 shlibpath_var
=LIBPATH
10317 osf3
* | osf4
* | osf5
*)
10321 soname_spec
='${libname}${release}${shared_ext}$major'
10322 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10323 shlibpath_var
=LD_LIBRARY_PATH
10324 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10325 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10336 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10337 soname_spec
='${libname}${release}${shared_ext}$major'
10338 shlibpath_var
=LD_LIBRARY_PATH
10339 shlibpath_overrides_runpath
=yes
10340 hardcode_into_libs
=yes
10341 # ldd complains unless libraries are executable
10342 postinstall_cmds
='chmod +x $lib'
10347 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10348 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10349 shlibpath_var
=LD_LIBRARY_PATH
10350 shlibpath_overrides_runpath
=yes
10351 if test "$with_gnu_ld" = yes; then
10359 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10360 soname_spec
='${libname}${release}${shared_ext}$major'
10361 shlibpath_var
=LD_LIBRARY_PATH
10362 case $host_vendor in
10364 shlibpath_overrides_runpath
=no
10366 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10367 runpath_var
=LD_RUN_PATH
10375 shlibpath_overrides_runpath
=no
10376 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10382 if test -d /usr
/nec
;then
10384 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10385 soname_spec
='$libname${shared_ext}.$major'
10386 shlibpath_var
=LD_LIBRARY_PATH
10390 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10391 version_type
=freebsd
-elf
10394 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10395 soname_spec
='${libname}${release}${shared_ext}$major'
10396 shlibpath_var
=LD_LIBRARY_PATH
10397 hardcode_into_libs
=yes
10398 if test "$with_gnu_ld" = yes; then
10399 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10400 shlibpath_overrides_runpath
=no
10402 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10403 shlibpath_overrides_runpath
=yes
10406 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10410 sys_lib_dlsearch_path_spec
='/usr/lib'
10415 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10416 soname_spec
='${libname}${release}${shared_ext}$major'
10417 shlibpath_var
=LD_LIBRARY_PATH
10424 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10425 echo "${ECHO_T}$dynamic_linker" >&6; }
10426 test "$dynamic_linker" = no
&& can_build_shared
=no
10428 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10429 if test "$GCC" = yes; then
10430 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10433 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10434 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
10436 if test -n "$hardcode_libdir_flag_spec" || \
10437 test -n "$runpath_var" || \
10438 test "X$hardcode_automatic" = "Xyes" ; then
10440 # We can hardcode non-existant directories.
10441 if test "$hardcode_direct" != no
&&
10442 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10443 # have to relink, otherwise we might link with an installed library
10444 # when we should be linking with a yet-to-be-installed one
10445 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
10446 test "$hardcode_minus_L" != no
; then
10447 # Linking always hardcodes the temporary library directory.
10448 hardcode_action
=relink
10450 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10451 hardcode_action
=immediate
10454 # We cannot hardcode anything, or else we can only hardcode existing
10456 hardcode_action
=unsupported
10458 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
10459 echo "${ECHO_T}$hardcode_action" >&6; }
10461 if test "$hardcode_action" = relink
; then
10462 # Fast installation is not supported
10463 enable_fast_install
=no
10464 elif test "$shlibpath_overrides_runpath" = yes ||
10465 test "$enable_shared" = no
; then
10466 # Fast installation is not necessary
10467 enable_fast_install
=needless
10472 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10473 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
10474 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev
/null
; then
10475 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
10476 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
10477 { echo "$as_me:$LINENO: result: yes" >&5
10478 echo "${ECHO_T}yes" >&6; }
10480 # FIXME - insert some real tests, host_os isn't really good enough
10483 if test -n "$STRIP" ; then
10484 striplib
="$STRIP -x"
10485 old_striplib
="$STRIP -S"
10486 { echo "$as_me:$LINENO: result: yes" >&5
10487 echo "${ECHO_T}yes" >&6; }
10489 { echo "$as_me:$LINENO: result: no" >&5
10490 echo "${ECHO_T}no" >&6; }
10494 { echo "$as_me:$LINENO: result: no" >&5
10495 echo "${ECHO_T}no" >&6; }
10500 if test "x$enable_dlopen" != xyes
; then
10501 enable_dlopen
=unknown
10502 enable_dlopen_self
=unknown
10503 enable_dlopen_self_static
=unknown
10510 lt_cv_dlopen
="load_add_on"
10512 lt_cv_dlopen_self
=yes
10516 lt_cv_dlopen
="LoadLibrary"
10521 lt_cv_dlopen
="dlopen"
10526 # if libdl is installed we need to link against it
10527 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10528 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10529 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10530 echo $ECHO_N "(cached) $ECHO_C" >&6
10532 ac_check_lib_save_LIBS
=$LIBS
10534 cat >conftest.
$ac_ext <<_ACEOF
10537 cat confdefs.h
>>conftest.
$ac_ext
10538 cat >>conftest.
$ac_ext <<_ACEOF
10539 /* end confdefs.h. */
10541 /* Override any GCC internal prototype to avoid an error.
10542 Use char because int might match the return type of a GCC
10543 builtin and then its argument prototype would still apply. */
10556 rm -f conftest.
$ac_objext conftest
$ac_exeext
10557 if { (ac_try
="$ac_link"
10558 case "(($ac_try" in
10559 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
10560 *) ac_try_echo=$ac_try;;
10562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10563 (eval "$ac_link") 2>conftest.er1
10565 grep -v '^ *+' conftest.er1 >conftest.err
10567 cat conftest.err >&5
10568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10569 (exit $ac_status); } && {
10570 test -z "$ac_c_werror_flag" ||
10571 test ! -s conftest.err
10572 } && test -s conftest$ac_exeext &&
10573 $as_test_x conftest$ac_exeext; then
10574 ac_cv_lib_dl_dlopen=yes
10576 echo "$as_me: failed program was:" >&5
10577 sed 's/^/| /' conftest.$ac_ext >&5
10579 ac_cv_lib_dl_dlopen=no
10582 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10583 conftest$ac_exeext conftest.$ac_ext
10584 LIBS=$ac_check_lib_save_LIBS
10586 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10587 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10588 if test $ac_cv_lib_dl_dlopen = yes; then
10589 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10592 lt_cv_dlopen="dyld"
10594 lt_cv_dlopen_self=yes
10601 { echo "$as_me:$LINENO: checking for shl_load" >&5
10602 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
10603 if test "${ac_cv_func_shl_load+set}" = set; then
10604 echo $ECHO_N "(cached) $ECHO_C" >&6
10606 cat >conftest.$ac_ext <<_ACEOF
10609 cat confdefs.h >>conftest.$ac_ext
10610 cat >>conftest.$ac_ext <<_ACEOF
10611 /* end confdefs.h. */
10612 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10613 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10614 #define shl_load innocuous_shl_load
10616 /* System header to define __stub macros and hopefully few prototypes,
10617 which can conflict with char shl_load (); below.
10618 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10619 <limits.h> exists even on freestanding compilers. */
10622 # include <limits.h>
10624 # include <assert.h>
10629 /* Override any GCC internal prototype to avoid an error.
10630 Use char because int might match the return type of a GCC
10631 builtin and then its argument prototype would still apply. */
10636 /* The GNU C library defines this for functions which it implements
10637 to always fail with ENOSYS. Some functions are actually named
10638 something starting with __ and the normal name is an alias. */
10639 #if defined __stub_shl_load || defined __stub___shl_load
10646 return shl_load ();
10651 rm -f conftest.$ac_objext conftest$ac_exeext
10652 if { (ac_try="$ac_link"
10653 case "(($ac_try" in
10654 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
10655 *) ac_try_echo
=$ac_try;;
10657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10658 (eval "$ac_link") 2>conftest.er1
10660 grep -v '^ *+' conftest.er1
>conftest.err
10662 cat conftest.err
>&5
10663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10664 (exit $ac_status); } && {
10665 test -z "$ac_c_werror_flag" ||
10666 test ! -s conftest.err
10667 } && test -s conftest
$ac_exeext &&
10668 $as_test_x conftest
$ac_exeext; then
10669 ac_cv_func_shl_load
=yes
10671 echo "$as_me: failed program was:" >&5
10672 sed 's/^/| /' conftest.
$ac_ext >&5
10674 ac_cv_func_shl_load
=no
10677 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10678 conftest
$ac_exeext conftest.
$ac_ext
10680 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10681 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
10682 if test $ac_cv_func_shl_load = yes; then
10683 lt_cv_dlopen
="shl_load"
10685 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10686 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
10687 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10688 echo $ECHO_N "(cached) $ECHO_C" >&6
10690 ac_check_lib_save_LIBS
=$LIBS
10692 cat >conftest.
$ac_ext <<_ACEOF
10695 cat confdefs.h
>>conftest.
$ac_ext
10696 cat >>conftest.
$ac_ext <<_ACEOF
10697 /* end confdefs.h. */
10699 /* Override any GCC internal prototype to avoid an error.
10700 Use char because int might match the return type of a GCC
10701 builtin and then its argument prototype would still apply. */
10709 return shl_load ();
10714 rm -f conftest.
$ac_objext conftest
$ac_exeext
10715 if { (ac_try
="$ac_link"
10716 case "(($ac_try" in
10717 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
10718 *) ac_try_echo=$ac_try;;
10720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10721 (eval "$ac_link") 2>conftest.er1
10723 grep -v '^ *+' conftest.er1 >conftest.err
10725 cat conftest.err >&5
10726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10727 (exit $ac_status); } && {
10728 test -z "$ac_c_werror_flag" ||
10729 test ! -s conftest.err
10730 } && test -s conftest$ac_exeext &&
10731 $as_test_x conftest$ac_exeext; then
10732 ac_cv_lib_dld_shl_load=yes
10734 echo "$as_me: failed program was:" >&5
10735 sed 's/^/| /' conftest.$ac_ext >&5
10737 ac_cv_lib_dld_shl_load=no
10740 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10741 conftest$ac_exeext conftest.$ac_ext
10742 LIBS=$ac_check_lib_save_LIBS
10744 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10745 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
10746 if test $ac_cv_lib_dld_shl_load = yes; then
10747 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
10749 { echo "$as_me:$LINENO: checking for dlopen" >&5
10750 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
10751 if test "${ac_cv_func_dlopen+set}" = set; then
10752 echo $ECHO_N "(cached) $ECHO_C" >&6
10754 cat >conftest.$ac_ext <<_ACEOF
10757 cat confdefs.h >>conftest.$ac_ext
10758 cat >>conftest.$ac_ext <<_ACEOF
10759 /* end confdefs.h. */
10760 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10761 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10762 #define dlopen innocuous_dlopen
10764 /* System header to define __stub macros and hopefully few prototypes,
10765 which can conflict with char dlopen (); below.
10766 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10767 <limits.h> exists even on freestanding compilers. */
10770 # include <limits.h>
10772 # include <assert.h>
10777 /* Override any GCC internal prototype to avoid an error.
10778 Use char because int might match the return type of a GCC
10779 builtin and then its argument prototype would still apply. */
10784 /* The GNU C library defines this for functions which it implements
10785 to always fail with ENOSYS. Some functions are actually named
10786 something starting with __ and the normal name is an alias. */
10787 #if defined __stub_dlopen || defined __stub___dlopen
10799 rm -f conftest.$ac_objext conftest$ac_exeext
10800 if { (ac_try="$ac_link"
10801 case "(($ac_try" in
10802 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
10803 *) ac_try_echo
=$ac_try;;
10805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10806 (eval "$ac_link") 2>conftest.er1
10808 grep -v '^ *+' conftest.er1
>conftest.err
10810 cat conftest.err
>&5
10811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10812 (exit $ac_status); } && {
10813 test -z "$ac_c_werror_flag" ||
10814 test ! -s conftest.err
10815 } && test -s conftest
$ac_exeext &&
10816 $as_test_x conftest
$ac_exeext; then
10817 ac_cv_func_dlopen
=yes
10819 echo "$as_me: failed program was:" >&5
10820 sed 's/^/| /' conftest.
$ac_ext >&5
10822 ac_cv_func_dlopen
=no
10825 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10826 conftest
$ac_exeext conftest.
$ac_ext
10828 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10829 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
10830 if test $ac_cv_func_dlopen = yes; then
10831 lt_cv_dlopen
="dlopen"
10833 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10834 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10835 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10836 echo $ECHO_N "(cached) $ECHO_C" >&6
10838 ac_check_lib_save_LIBS
=$LIBS
10840 cat >conftest.
$ac_ext <<_ACEOF
10843 cat confdefs.h
>>conftest.
$ac_ext
10844 cat >>conftest.
$ac_ext <<_ACEOF
10845 /* end confdefs.h. */
10847 /* Override any GCC internal prototype to avoid an error.
10848 Use char because int might match the return type of a GCC
10849 builtin and then its argument prototype would still apply. */
10862 rm -f conftest.
$ac_objext conftest
$ac_exeext
10863 if { (ac_try
="$ac_link"
10864 case "(($ac_try" in
10865 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
10866 *) ac_try_echo=$ac_try;;
10868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10869 (eval "$ac_link") 2>conftest.er1
10871 grep -v '^ *+' conftest.er1 >conftest.err
10873 cat conftest.err >&5
10874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10875 (exit $ac_status); } && {
10876 test -z "$ac_c_werror_flag" ||
10877 test ! -s conftest.err
10878 } && test -s conftest$ac_exeext &&
10879 $as_test_x conftest$ac_exeext; then
10880 ac_cv_lib_dl_dlopen=yes
10882 echo "$as_me: failed program was:" >&5
10883 sed 's/^/| /' conftest.$ac_ext >&5
10885 ac_cv_lib_dl_dlopen=no
10888 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10889 conftest$ac_exeext conftest.$ac_ext
10890 LIBS=$ac_check_lib_save_LIBS
10892 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10893 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10894 if test $ac_cv_lib_dl_dlopen = yes; then
10895 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10897 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10898 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
10899 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10900 echo $ECHO_N "(cached) $ECHO_C" >&6
10902 ac_check_lib_save_LIBS=$LIBS
10903 LIBS="-lsvld $LIBS"
10904 cat >conftest.$ac_ext <<_ACEOF
10907 cat confdefs.h >>conftest.$ac_ext
10908 cat >>conftest.$ac_ext <<_ACEOF
10909 /* end confdefs.h. */
10911 /* Override any GCC internal prototype to avoid an error.
10912 Use char because int might match the return type of a GCC
10913 builtin and then its argument prototype would still apply. */
10926 rm -f conftest.$ac_objext conftest$ac_exeext
10927 if { (ac_try="$ac_link"
10928 case "(($ac_try" in
10929 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
10930 *) ac_try_echo
=$ac_try;;
10932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10933 (eval "$ac_link") 2>conftest.er1
10935 grep -v '^ *+' conftest.er1
>conftest.err
10937 cat conftest.err
>&5
10938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10939 (exit $ac_status); } && {
10940 test -z "$ac_c_werror_flag" ||
10941 test ! -s conftest.err
10942 } && test -s conftest
$ac_exeext &&
10943 $as_test_x conftest
$ac_exeext; then
10944 ac_cv_lib_svld_dlopen
=yes
10946 echo "$as_me: failed program was:" >&5
10947 sed 's/^/| /' conftest.
$ac_ext >&5
10949 ac_cv_lib_svld_dlopen
=no
10952 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10953 conftest
$ac_exeext conftest.
$ac_ext
10954 LIBS
=$ac_check_lib_save_LIBS
10956 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10957 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
10958 if test $ac_cv_lib_svld_dlopen = yes; then
10959 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10961 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10962 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
10963 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10964 echo $ECHO_N "(cached) $ECHO_C" >&6
10966 ac_check_lib_save_LIBS
=$LIBS
10968 cat >conftest.
$ac_ext <<_ACEOF
10971 cat confdefs.h
>>conftest.
$ac_ext
10972 cat >>conftest.
$ac_ext <<_ACEOF
10973 /* end confdefs.h. */
10975 /* Override any GCC internal prototype to avoid an error.
10976 Use char because int might match the return type of a GCC
10977 builtin and then its argument prototype would still apply. */
10985 return dld_link ();
10990 rm -f conftest.
$ac_objext conftest
$ac_exeext
10991 if { (ac_try
="$ac_link"
10992 case "(($ac_try" in
10993 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
10994 *) ac_try_echo=$ac_try;;
10996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10997 (eval "$ac_link") 2>conftest.er1
10999 grep -v '^ *+' conftest.er1 >conftest.err
11001 cat conftest.err >&5
11002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11003 (exit $ac_status); } && {
11004 test -z "$ac_c_werror_flag" ||
11005 test ! -s conftest.err
11006 } && test -s conftest$ac_exeext &&
11007 $as_test_x conftest$ac_exeext; then
11008 ac_cv_lib_dld_dld_link=yes
11010 echo "$as_me: failed program was:" >&5
11011 sed 's/^/| /' conftest.$ac_ext >&5
11013 ac_cv_lib_dld_dld_link=no
11016 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11017 conftest$ac_exeext conftest.$ac_ext
11018 LIBS=$ac_check_lib_save_LIBS
11020 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11021 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
11022 if test $ac_cv_lib_dld_dld_link = yes; then
11023 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
11044 if test "x$lt_cv_dlopen" != xno; then
11050 case $lt_cv_dlopen in
11052 save_CPPFLAGS="$CPPFLAGS"
11053 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11055 save_LDFLAGS="$LDFLAGS"
11056 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11059 LIBS="$lt_cv_dlopen_libs $LIBS"
11061 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11062 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
11063 if test "${lt_cv_dlopen_self+set}" = set; then
11064 echo $ECHO_N "(cached) $ECHO_C" >&6
11066 if test "$cross_compiling" = yes; then :
11067 lt_cv_dlopen_self=cross
11069 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11070 lt_status=$lt_dlunknown
11071 cat > conftest.$ac_ext <<EOF
11072 #line 11072 "configure"
11073 #include "confdefs.h"
11082 # define LT_DLGLOBAL RTLD_GLOBAL
11085 # define LT_DLGLOBAL DL_GLOBAL
11087 # define LT_DLGLOBAL 0
11091 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11092 find out it does not work in some platform. */
11093 #ifndef LT_DLLAZY_OR_NOW
11095 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11098 # define LT_DLLAZY_OR_NOW DL_LAZY
11101 # define LT_DLLAZY_OR_NOW RTLD_NOW
11104 # define LT_DLLAZY_OR_NOW DL_NOW
11106 # define LT_DLLAZY_OR_NOW 0
11114 extern "C" void exit (int);
11117 void fnord() { int i=42;}
11120 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11121 int status = $lt_dlunknown;
11125 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11126 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11127 /* dlclose (self); */
11135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11136 (eval $ac_link) 2>&5
11138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11139 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11140 (./conftest; exit; ) >&5 2>/dev/null
11142 case x$lt_status in
11143 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11144 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11145 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11148 # compilation failed
11149 lt_cv_dlopen_self=no
11156 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11157 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
11159 if test "x$lt_cv_dlopen_self" = xyes; then
11160 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11161 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11162 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
11163 if test "${lt_cv_dlopen_self_static+set}" = set; then
11164 echo $ECHO_N "(cached) $ECHO_C" >&6
11166 if test "$cross_compiling" = yes; then :
11167 lt_cv_dlopen_self_static=cross
11169 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11170 lt_status=$lt_dlunknown
11171 cat > conftest.$ac_ext <<EOF
11172 #line 11172 "configure"
11173 #include "confdefs.h"
11182 # define LT_DLGLOBAL RTLD_GLOBAL
11185 # define LT_DLGLOBAL DL_GLOBAL
11187 # define LT_DLGLOBAL 0
11191 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11192 find out it does not work in some platform. */
11193 #ifndef LT_DLLAZY_OR_NOW
11195 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11198 # define LT_DLLAZY_OR_NOW DL_LAZY
11201 # define LT_DLLAZY_OR_NOW RTLD_NOW
11204 # define LT_DLLAZY_OR_NOW DL_NOW
11206 # define LT_DLLAZY_OR_NOW 0
11214 extern "C" void exit (int);
11217 void fnord() { int i=42;}
11220 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11221 int status = $lt_dlunknown;
11225 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11226 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11227 /* dlclose (self); */
11235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11236 (eval $ac_link) 2>&5
11238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11239 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11240 (./conftest; exit; ) >&5 2>/dev/null
11242 case x$lt_status in
11243 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11244 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11245 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11248 # compilation failed
11249 lt_cv_dlopen_self_static=no
11256 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11257 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
11260 CPPFLAGS="$save_CPPFLAGS"
11261 LDFLAGS="$save_LDFLAGS"
11266 case $lt_cv_dlopen_self in
11267 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11268 *) enable_dlopen_self=unknown ;;
11271 case $lt_cv_dlopen_self_static in
11272 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11273 *) enable_dlopen_self_static=unknown ;;
11278 # Report which library types will actually be built
11279 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11280 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
11281 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
11282 echo "${ECHO_T}$can_build_shared" >&6; }
11284 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11285 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
11286 test "$can_build_shared" = "no" && enable_shared=no
11288 # On AIX, shared libraries and static libraries use the same namespace, and
11289 # are all built from PIC.
11292 test "$enable_shared" = yes && enable_static=no
11293 if test -n "$RANLIB"; then
11294 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11295 postinstall_cmds='$RANLIB $lib'
11300 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11301 test "$enable_shared" = yes && enable_static=no
11305 { echo "$as_me:$LINENO: result: $enable_shared" >&5
11306 echo "${ECHO_T}$enable_shared" >&6; }
11308 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11309 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
11310 # Make sure either enable_shared or enable_static is yes.
11311 test "$enable_shared" = yes || enable_static=yes
11312 { echo "$as_me:$LINENO: result: $enable_static" >&5
11313 echo "${ECHO_T}$enable_static" >&6; }
11315 # The else clause should only fire when bootstrapping the
11316 # libtool distribution, otherwise you forgot to ship ltmain.sh
11317 # with your package, and you will get complaints that there are
11318 # no rules to generate ltmain.sh.
11319 if test -f "$ltmain"; then
11320 # See if we are running on zsh, and set the options which allow our commands through
11321 # without removal of \ escapes.
11322 if test -n "${ZSH_VERSION+set}" ; then
11323 setopt NO_GLOB_SUBST
11325 # Now quote all the things that may contain metacharacters while being
11326 # careful not to overquote the AC_SUBSTed values. We take copies of the
11327 # variables and quote the copies for generation of the libtool script.
11328 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
11330 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
11331 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
11332 deplibs_check_method reload_flag reload_cmds need_locks \
11333 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
11334 lt_cv_sys_global_symbol_to_c_name_address \
11335 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
11336 old_postinstall_cmds old_postuninstall_cmds \
11340 lt_prog_compiler_wl \
11341 lt_prog_compiler_pic \
11342 lt_prog_compiler_static \
11343 lt_prog_compiler_no_builtin_flag \
11344 export_dynamic_flag_spec \
11345 thread_safe_flag_spec \
11346 whole_archive_flag_spec \
11347 enable_shared_with_static_runtimes \
11349 old_archive_from_new_cmds \
11354 compiler_lib_search_path \
11356 archive_expsym_cmds \
11358 postuninstall_cmds \
11359 old_archive_from_expsyms_cmds \
11360 allow_undefined_flag \
11361 no_undefined_flag \
11362 export_symbols_cmds \
11363 hardcode_libdir_flag_spec \
11364 hardcode_libdir_flag_spec_ld \
11365 hardcode_libdir_separator \
11366 hardcode_automatic \
11368 module_expsym_cmds \
11369 lt_cv_prog_compiler_c_o \
11372 include_expsyms; do
11375 old_archive_cmds | \
11376 old_archive_from_new_cmds | \
11378 archive_expsym_cmds | \
11380 module_expsym_cmds | \
11381 old_archive_from_expsyms_cmds | \
11382 export_symbols_cmds | \
11383 extract_expsyms_cmds | reload_cmds | finish_cmds | \
11384 postinstall_cmds | postuninstall_cmds | \
11385 old_postinstall_cmds | old_postuninstall_cmds | \
11386 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
11387 # Double-quote double-evaled strings.
11388 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
11391 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
11397 *'\$0 --fallback-echo"')
11398 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
11402 cfgfile="${ofile}T"
11403 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
11405 { echo "$as_me:$LINENO: creating $ofile" >&5
11406 echo "$as_me: creating $ofile" >&6;}
11408 cat <<__EOF__ >> "$cfgfile"
11411 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
11412 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
11413 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
11415 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
11416 # Free Software Foundation, Inc.
11418 # This file is part of GNU Libtool:
11419 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
11421 # This program is free software; you can redistribute it and/or modify
11422 # it under the terms of the GNU General Public License as published by
11423 # the Free Software Foundation; either version 2 of the License, or
11424 # (at your option) any later version.
11426 # This program is distributed in the hope that it will be useful, but
11427 # WITHOUT ANY WARRANTY; without even the implied warranty of
11428 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11429 # General Public License for more details.
11431 # You should have received a copy of the GNU General Public License
11432 # along with this program; if not, write to the Free Software
11433 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
11435 # As a special exception to the GNU General Public License, if you
11436 # distribute this file as part of a program that contains a
11437 # configuration script generated by Autoconf, you may include it under
11438 # the same distribution terms that you use for the rest of that program.
11440 # A sed program that does not truncate output.
11443 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
11444 Xsed="$SED -e 1s/^X//"
11446 # The HP-UX ksh and POSIX shell print the target directory to stdout
11447 # if CDPATH is set.
11448 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11450 # The names of the tagged configurations supported by this script.
11453 # ### BEGIN LIBTOOL CONFIG
11455 # Libtool was configured on host `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`:
11457 # Shell to use when invoking shell scripts.
11460 # Whether or not to build shared libraries.
11461 build_libtool_libs=$enable_shared
11463 # Whether or not to build static libraries.
11464 build_old_libs=$enable_static
11466 # Whether or not to add -lc for building shared libraries.
11467 build_libtool_need_lc=$archive_cmds_need_lc
11469 # Whether or not to disallow shared libs when runtime libs are static
11470 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
11472 # Whether or not to optimize for fast installation.
11473 fast_install=$enable_fast_install
11476 host_alias=$host_alias
11480 # The build system.
11481 build_alias=$build_alias
11485 # An echo program that does not interpret backslashes.
11490 AR_FLAGS=$lt_AR_FLAGS
11495 # LTCC compiler flags.
11496 LTCFLAGS=$lt_LTCFLAGS
11498 # A language-specific compiler.
11501 # Is the compiler the GNU C compiler?
11507 # The linker used to build libraries.
11510 # Whether we need hard or soft links.
11513 # A BSD-compatible nm program.
11516 # A symbol stripping program
11519 # Used to examine libraries when file_magic_cmd begins "file"
11520 MAGIC_CMD=$MAGIC_CMD
11522 # Used on cygwin: DLL creation program.
11525 # Used on cygwin: object dumper.
11528 # Used on cygwin: assembler.
11531 # The name of the directory that contains temporary libtool files.
11534 # How to create reloadable object files.
11535 reload_flag=$lt_reload_flag
11536 reload_cmds=$lt_reload_cmds
11538 # How to pass a linker flag through the compiler.
11539 wl=$lt_lt_prog_compiler_wl
11541 # Object file suffix (normally "o").
11542 objext="$ac_objext"
11544 # Old archive suffix (normally "a").
11547 # Shared library suffix (normally ".so").
11548 shrext_cmds='$shrext_cmds'
11550 # Executable file suffix (normally "").
11553 # Additional compiler flags for building library objects.
11554 pic_flag=$lt_lt_prog_compiler_pic
11557 # What is the maximum length of a command?
11558 max_cmd_len=$lt_cv_sys_max_cmd_len
11560 # Does compiler simultaneously support -c and -o options?
11561 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
11563 # Must we lock files when doing compilation?
11564 need_locks=$lt_need_locks
11566 # Do we need the lib prefix for modules?
11567 need_lib_prefix=$need_lib_prefix
11569 # Do we need a version for libraries?
11570 need_version=$need_version
11572 # Whether dlopen is supported.
11573 dlopen_support=$enable_dlopen
11575 # Whether dlopen of programs is supported.
11576 dlopen_self=$enable_dlopen_self
11578 # Whether dlopen of statically linked programs is supported.
11579 dlopen_self_static=$enable_dlopen_self_static
11581 # Compiler flag to prevent dynamic linking.
11582 link_static_flag=$lt_lt_prog_compiler_static
11584 # Compiler flag to turn off builtin functions.
11585 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
11587 # Compiler flag to allow reflexive dlopens.
11588 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
11590 # Compiler flag to generate shared objects directly from archives.
11591 whole_archive_flag_spec=$lt_whole_archive_flag_spec
11593 # Compiler flag to generate thread-safe objects.
11594 thread_safe_flag_spec=$lt_thread_safe_flag_spec
11596 # Library versioning type.
11597 version_type=$version_type
11599 # Format of library name prefix.
11600 libname_spec=$lt_libname_spec
11602 # List of archive names. First name is the real one, the rest are links.
11603 # The last name is the one that the linker finds with -lNAME.
11604 library_names_spec=$lt_library_names_spec
11606 # The coded name of the library, if different from the real name.
11607 soname_spec=$lt_soname_spec
11609 # Commands used to build and install an old-style archive.
11611 old_archive_cmds=$lt_old_archive_cmds
11612 old_postinstall_cmds=$lt_old_postinstall_cmds
11613 old_postuninstall_cmds=$lt_old_postuninstall_cmds
11615 # Create an old-style archive from a shared archive.
11616 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
11618 # Create a temporary old-style archive to link instead of a shared archive.
11619 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
11621 # Commands used to build and install a shared archive.
11622 archive_cmds=$lt_archive_cmds
11623 archive_expsym_cmds=$lt_archive_expsym_cmds
11624 postinstall_cmds=$lt_postinstall_cmds
11625 postuninstall_cmds=$lt_postuninstall_cmds
11627 # Commands used to build a loadable module (assumed same as above if empty)
11628 module_cmds=$lt_module_cmds
11629 module_expsym_cmds=$lt_module_expsym_cmds
11631 # Commands to strip libraries.
11632 old_striplib=$lt_old_striplib
11633 striplib=$lt_striplib
11635 # Dependencies to place before the objects being linked to create a
11637 predep_objects=$lt_predep_objects
11639 # Dependencies to place after the objects being linked to create a
11641 postdep_objects=$lt_postdep_objects
11643 # Dependencies to place before the objects being linked to create a
11645 predeps=$lt_predeps
11647 # Dependencies to place after the objects being linked to create a
11649 postdeps=$lt_postdeps
11651 # The library search path used internally by the compiler when linking
11652 # a shared library.
11653 compiler_lib_search_path=$lt_compiler_lib_search_path
11655 # Method to check whether dependent libraries are shared objects.
11656 deplibs_check_method=$lt_deplibs_check_method
11658 # Command to use when deplibs_check_method == file_magic.
11659 file_magic_cmd=$lt_file_magic_cmd
11661 # Flag that allows shared libraries with undefined symbols to be built.
11662 allow_undefined_flag=$lt_allow_undefined_flag
11664 # Flag that forces no undefined symbols.
11665 no_undefined_flag=$lt_no_undefined_flag
11667 # Commands used to finish a libtool library installation in a directory.
11668 finish_cmds=$lt_finish_cmds
11670 # Same as above, but a single script fragment to be evaled but not shown.
11671 finish_eval=$lt_finish_eval
11673 # Take the output of nm and produce a listing of raw symbols and C names.
11674 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
11676 # Transform the output of nm in a proper C declaration
11677 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
11679 # Transform the output of nm in a C name address pair
11680 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
11682 # This is the shared library runtime path variable.
11683 runpath_var=$runpath_var
11685 # This is the shared library path variable.
11686 shlibpath_var=$shlibpath_var
11688 # Is shlibpath searched before the hard-coded library search path?
11689 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
11691 # How to hardcode a shared library path into an executable.
11692 hardcode_action=$hardcode_action
11694 # Whether we should hardcode library paths into libraries.
11695 hardcode_into_libs=$hardcode_into_libs
11697 # Flag to hardcode \$libdir into a binary during linking.
11698 # This must work even if \$libdir does not exist.
11699 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
11701 # If ld is used when linking, flag to hardcode \$libdir into
11702 # a binary during linking. This must work even if \$libdir does
11704 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
11706 # Whether we need a single -rpath flag with a separated argument.
11707 hardcode_libdir_separator=$lt_hardcode_libdir_separator
11709 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
11710 # resulting binary.
11711 hardcode_direct=$hardcode_direct
11713 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
11714 # resulting binary.
11715 hardcode_minus_L=$hardcode_minus_L
11717 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
11718 # the resulting binary.
11719 hardcode_shlibpath_var=$hardcode_shlibpath_var
11721 # Set to yes if building a shared library automatically hardcodes DIR into the library
11722 # and all subsequent libraries and executables linked against it.
11723 hardcode_automatic=$hardcode_automatic
11725 # Variables whose values should be saved in libtool wrapper scripts and
11726 # restored at relink time.
11727 variables_saved_for_relink="$variables_saved_for_relink"
11729 # Whether libtool must link a program against all its dependency libraries.
11730 link_all_deplibs=$link_all_deplibs
11732 # Compile-time system search path for libraries
11733 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
11735 # Run-time system search path for libraries
11736 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
11738 # Fix the shell variable \$srcfile for the compiler.
11739 fix_srcfile_path=$lt_fix_srcfile_path
11741 # Set to yes if exported symbols are required.
11742 always_export_symbols=$always_export_symbols
11744 # The commands to list exported symbols.
11745 export_symbols_cmds=$lt_export_symbols_cmds
11747 # The commands to extract the exported symbol list from a shared archive.
11748 extract_expsyms_cmds=$lt_extract_expsyms_cmds
11750 # Symbols that should not be listed in the preloaded symbols.
11751 exclude_expsyms=$lt_exclude_expsyms
11753 # Symbols that must always be exported.
11754 include_expsyms=$lt_include_expsyms
11756 # ### END LIBTOOL CONFIG
11763 cat <<\EOF >> "$cfgfile"
11765 # AIX sometimes has problems with the GCC collect2 program. For some
11766 # reason, if we set the COLLECT_NAMES environment variable, the problems
11767 # vanish in a puff of smoke.
11768 if test "X${COLLECT_NAMES+set}" != Xset; then
11770 export COLLECT_NAMES
11776 # We use sed instead of cat because bash on DJGPP gets confused if
11777 # if finds mixed CR/LF and LF-only lines. Since sed operates in
11778 # text mode, it properly converts lines to CR/LF. This bash problem
11779 # is reportedly fixed, but why not run on old versions too?
11780 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
11782 mv -f "$cfgfile" "$ofile" || \
11783 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
11787 # If there is no Makefile yet, we rely on a make rule to execute
11788 # `config.status
--recheck' to rerun these tests and create the
11789 # libtool script then.
11790 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
11791 if test -f "$ltmain_in"; then
11792 test -f Makefile && make "$ltmain"
11798 ac_cpp='$CPP $CPPFLAGS'
11799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
11800 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
11801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11806 # Check whether --with-tags was given.
11807 if test "${with_tags+set}" = set; then
11808 withval=$with_tags; tagnames="$withval"
11812 if test -f "$ltmain" && test -n "$tagnames"; then
11813 if test ! -f "${ofile}"; then
11814 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist
" >&5
11815 echo "$as_me: WARNING
: output
file \
`$ofile' does not exist" >&2;}
11818 if test -z "$LTCC"; then
11819 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
11820 if test -z "$LTCC"; then
11821 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
11822 echo "$as_me: WARNING: output file \`$ofile' does not
look like a libtool
script" >&2;}
11824 { echo "$as_me:$LINENO: WARNING
: using \
`LTCC=$LTCC', extracted from \`$ofile'" >&5
11825 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \
`$ofile'" >&2;}
11828 if test -z "$LTCFLAGS"; then
11829 eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
11832 # Extract list of available tagged configurations in $ofile.
11833 # Note that this assumes the entire list is on one line.
11834 available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
11836 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
11837 for tagname in $tagnames; do
11839 # Check whether tagname contains only valid characters
11840 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
11842 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
11843 echo "$as_me: error: invalid tag name: $tagname" >&2;}
11844 { (exit 1); exit 1; }; }
11848 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
11850 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
11851 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
11852 { (exit 1); exit 1; }; }
11855 # Update the list of available tags.
11856 if test -n "$tagname"; then
11857 echo appending configuration tag \"$tagname\" to $ofile
11861 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11862 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
11863 (test "X$CXX" != "Xg++"))) ; then
11865 ac_cpp='$CXXCPP $CPPFLAGS'
11866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11873 archive_cmds_need_lc_CXX=no
11874 allow_undefined_flag_CXX=
11875 always_export_symbols_CXX=no
11876 archive_expsym_cmds_CXX=
11877 export_dynamic_flag_spec_CXX=
11878 hardcode_direct_CXX=no
11879 hardcode_libdir_flag_spec_CXX=
11880 hardcode_libdir_flag_spec_ld_CXX=
11881 hardcode_libdir_separator_CXX=
11882 hardcode_minus_L_CXX=no
11883 hardcode_shlibpath_var_CXX=unsupported
11884 hardcode_automatic_CXX=no
11886 module_expsym_cmds_CXX=
11887 link_all_deplibs_CXX=unknown
11888 old_archive_cmds_CXX=$old_archive_cmds
11889 no_undefined_flag_CXX=
11890 whole_archive_flag_spec_CXX=
11891 enable_shared_with_static_runtimes_CXX=no
11893 # Dependencies to place before and after the object being linked:
11894 predep_objects_CXX=
11895 postdep_objects_CXX=
11898 compiler_lib_search_path_CXX=
11900 # Source file extension for C++ test sources.
11903 # Object file extension for compiled C++ test sources.
11907 # Code to be used in simple compile tests
11908 lt_simple_compile_test_code="int some_variable = 0;"
11910 # Code to be used in simple link tests
11911 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11913 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11915 # If no C compiler was specified, use CC.
11918 # If no C compiler flags were specified, use CFLAGS.
11919 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11921 # Allow CC to be a program name with arguments.
11925 # save warnings/boilerplate of simple test code
11926 ac_outfile=conftest.$ac_objext
11927 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11928 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11929 _lt_compiler_boilerplate=`cat conftest.err
`
11932 ac_outfile=conftest.$ac_objext
11933 echo "$lt_simple_link_test_code" >conftest.$ac_ext
11934 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11935 _lt_linker_boilerplate=`cat conftest.err
`
11939 # Allow CC to be a program name with arguments.
11944 lt_save_with_gnu_ld=$with_gnu_ld
11945 lt_save_path_LD=$lt_cv_path_LD
11946 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11947 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11949 $as_unset lt_cv_prog_gnu_ld
11951 if test -n "${lt_cv_path_LDCXX+set}"; then
11952 lt_cv_path_LD=$lt_cv_path_LDCXX
11954 $as_unset lt_cv_path_LD
11956 test -z "${LDCXX+set}" || LD=$LDCXX
11960 for cc_temp in $compiler""; do
11962 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11963 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11968 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11971 # We don't want -fno-exception wen compiling C++ code, so set the
11972 # no_builtin_flag separately
11973 if test "$GXX" = yes; then
11974 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
11976 lt_prog_compiler_no_builtin_flag_CXX=
11979 if test "$GXX" = yes; then
11980 # Set up default GNU C++ configuration
11983 # Check whether --with-gnu-ld was given.
11984 if test "${with_gnu_ld+set}" = set; then
11985 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
11991 if test "$GCC" = yes; then
11992 # Check if gcc -print-prog-name=ld gives a path.
11993 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
11994 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
11997 # gcc leaves a trailing carriage return which upsets mingw
11998 ac_prog=`($CC -print-prog-name=ld
) 2>&5 | tr -d '\015'` ;;
12000 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
12003 # Accept absolute paths.
12005 re_direlt='/[^/][^/]*/\.\./'
12006 # Canonicalize the pathname of ld
12007 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
12008 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
12009 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
12011 test -z "$LD" && LD="$ac_prog"
12014 # If it fails, then pretend we aren't using GCC.
12018 # If it is relative, then search for the first ld in PATH.
12019 with_gnu_ld=unknown
12022 elif test "$with_gnu_ld" = yes; then
12023 { echo "$as_me:$LINENO: checking for GNU ld" >&5
12024 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
12026 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
12027 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
12029 if test "${lt_cv_path_LD+set}" = set; then
12030 echo $ECHO_N "(cached) $ECHO_C" >&6
12032 if test -z "$LD"; then
12033 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12034 for ac_dir in $PATH; do
12036 test -z "$ac_dir" && ac_dir=.
12037 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12038 lt_cv_path_LD="$ac_dir/$ac_prog"
12039 # Check to see if the program is GNU ld. I'd rather use --version,
12040 # but apparently some variants of GNU ld only accept -v.
12041 # Break only if it was the GNU/non-GNU ld that we prefer.
12042 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
12043 *GNU* | *'with BFD'*)
12044 test "$with_gnu_ld" != no && break
12047 test "$with_gnu_ld" != yes && break
12054 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12058 LD="$lt_cv_path_LD"
12059 if test -n "$LD"; then
12060 { echo "$as_me:$LINENO: result: $LD" >&5
12061 echo "${ECHO_T}$LD" >&6; }
12063 { echo "$as_me:$LINENO: result: no" >&5
12064 echo "${ECHO_T}no" >&6; }
12066 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
12067 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
12068 { (exit 1); exit 1; }; }
12069 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
12070 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
12071 if test "${lt_cv_prog_gnu_ld+set}" = set; then
12072 echo $ECHO_N "(cached) $ECHO_C" >&6
12074 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12075 case `$LD -v 2>&1 </dev
/null
` in
12076 *GNU* | *'with BFD'*)
12077 lt_cv_prog_gnu_ld=yes
12080 lt_cv_prog_gnu_ld=no
12084 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
12085 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
12086 with_gnu_ld=$lt_cv_prog_gnu_ld
12090 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12091 # archiving commands below assume that GNU ld is being used.
12092 if test "$with_gnu_ld" = yes; then
12093 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12094 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'
12096 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12097 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12099 # If archive_cmds runs LD, not CC, wlarc should be empty
12100 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12101 # investigate it a little bit more. (MM)
12104 # ancient GNU ld didn't support --whole-archive et. al.
12105 if eval "`$CC -print-prog-name=ld
` --help 2>&1" | \
12106 grep 'no-whole-archive' > /dev/null; then
12107 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12109 whole_archive_flag_spec_CXX=
12115 # A generic and very simple default shared library creation
12116 # command for GNU C++ for the case where it uses the native
12117 # linker, instead of GNU ld. If possible, this setting should
12118 # overridden to take advantage of the native linker features on
12119 # the platform it is being used on.
12120 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12123 # Commands to make compiler produce verbose output that lists
12124 # what "hidden" libraries, object files and flags are used when
12125 # linking a shared library.
12126 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12134 # PORTME: fill in a description of your system's C++ link characteristics
12135 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12136 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12140 # FIXME: insert proper C++ library support
12144 if test "$host_cpu" = ia64; then
12145 # On IA64, the linker does run time linking by default, so we don't
12146 # have to do anything special.
12147 aix_use_runtimelinking=no
12148 exp_sym_flag='-Bexport'
12151 aix_use_runtimelinking=no
12153 # Test if we are trying to use run time linking or normal
12154 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12155 # need to do runtime linking.
12156 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
12157 for ld_flag in $LDFLAGS; do
12160 aix_use_runtimelinking=yes
12168 exp_sym_flag='-bexport'
12169 no_entry_flag='-bnoentry'
12172 # When large executables or shared objects are built, AIX ld can
12173 # have problems creating the table of contents. If linking a library
12174 # or program results in "error TOC overflow" add -mminimal-toc to
12175 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12176 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12178 archive_cmds_CXX=''
12179 hardcode_direct_CXX=yes
12180 hardcode_libdir_separator_CXX=':'
12181 link_all_deplibs_CXX=yes
12183 if test "$GXX" = yes; then
12184 case $host_os in aix4.[012]|aix4.[012].*)
12185 # We only want to do this on AIX 4.2 and lower, the check
12186 # below for broken collect2 doesn't work under 4.3+
12187 collect2name=`${CC} -print-prog-name=collect2
`
12188 if test -f "$collect2name" && \
12189 strings "$collect2name" | grep resolve_lib_name >/dev/null
12191 # We have reworked collect2
12194 # We have old collect2
12195 hardcode_direct_CXX=unsupported
12196 # It fails to find uninstalled libraries when the uninstalled
12197 # path is not listed in the libpath. Setting hardcode_minus_L
12198 # to unsupported forces relinking
12199 hardcode_minus_L_CXX=yes
12200 hardcode_libdir_flag_spec_CXX='-L$libdir'
12201 hardcode_libdir_separator_CXX=
12205 shared_flag='-shared'
12206 if test "$aix_use_runtimelinking" = yes; then
12207 shared_flag="$shared_flag "'${wl}-G'
12211 if test "$host_cpu" = ia64; then
12212 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12213 # chokes on -Wl,-G. The following line is correct:
12216 if test "$aix_use_runtimelinking" = yes; then
12217 shared_flag='${wl}-G'
12219 shared_flag='${wl}-bM:SRE'
12224 # It seems that -bexpall does not export symbols beginning with
12225 # underscore (_), so it is better to generate a list of symbols to export.
12226 always_export_symbols_CXX=yes
12227 if test "$aix_use_runtimelinking" = yes; then
12228 # Warning - without using the other runtime loading flags (-brtl),
12229 # -berok will link without error, but may produce a broken library.
12230 allow_undefined_flag_CXX='-berok'
12231 # Determine the default libpath from the value encoded in an empty executable.
12232 cat >conftest.$ac_ext <<_ACEOF
12235 cat confdefs.h >>conftest.$ac_ext
12236 cat >>conftest.$ac_ext <<_ACEOF
12237 /* end confdefs.h. */
12247 rm -f conftest.$ac_objext conftest$ac_exeext
12248 if { (ac_try="$ac_link"
12249 case "(($ac_try" in
12250 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
12251 *) ac_try_echo
=$ac_try;;
12253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12254 (eval "$ac_link") 2>conftest.er1
12256 grep -v '^ *+' conftest.er1
>conftest.err
12258 cat conftest.err
>&5
12259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12260 (exit $ac_status); } && {
12261 test -z "$ac_cxx_werror_flag" ||
12262 test ! -s conftest.err
12263 } && test -s conftest
$ac_exeext &&
12264 $as_test_x conftest
$ac_exeext; then
12266 lt_aix_libpath_sed
='
12267 /Import File Strings/,/^$/ {
12273 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12274 # Check for a 64-bit object if we didn't find anything.
12275 if test -z "$aix_libpath"; then
12276 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12279 echo "$as_me: failed program was:" >&5
12280 sed 's/^/| /' conftest.
$ac_ext >&5
12285 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12286 conftest
$ac_exeext conftest.
$ac_ext
12287 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12289 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12291 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 "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12293 if test "$host_cpu" = ia64
; then
12294 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
12295 allow_undefined_flag_CXX
="-z nodefs"
12296 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"
12298 # Determine the default libpath from the value encoded in an empty executable.
12299 cat >conftest.
$ac_ext <<_ACEOF
12302 cat confdefs.h
>>conftest.
$ac_ext
12303 cat >>conftest.
$ac_ext <<_ACEOF
12304 /* end confdefs.h. */
12314 rm -f conftest.
$ac_objext conftest
$ac_exeext
12315 if { (ac_try
="$ac_link"
12316 case "(($ac_try" in
12317 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
12318 *) ac_try_echo=$ac_try;;
12320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12321 (eval "$ac_link") 2>conftest.er1
12323 grep -v '^ *+' conftest.er1 >conftest.err
12325 cat conftest.err >&5
12326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12327 (exit $ac_status); } && {
12328 test -z "$ac_cxx_werror_flag" ||
12329 test ! -s conftest.err
12330 } && test -s conftest$ac_exeext &&
12331 $as_test_x conftest$ac_exeext; then
12333 lt_aix_libpath_sed='
12334 /Import File Strings/,/^$/ {
12340 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null
| $SED -n -e "$lt_aix_libpath_sed"`
12341 # Check for a 64-bit object if we didn't find anything.
12342 if test -z "$aix_libpath"; then
12343 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null
| $SED -n -e "$lt_aix_libpath_sed"`
12346 echo "$as_me: failed program was:" >&5
12347 sed 's/^/| /' conftest.$ac_ext >&5
12352 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12353 conftest$ac_exeext conftest.$ac_ext
12354 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12356 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12357 # Warning - without using the other run time loading flags,
12358 # -berok will link without error, but may produce a broken library.
12359 no_undefined_flag_CXX=' ${wl}-bernotok'
12360 allow_undefined_flag_CXX=' ${wl}-berok'
12361 # Exported symbols can be pulled into shared objects from archives
12362 whole_archive_flag_spec_CXX='$convenience'
12363 archive_cmds_need_lc_CXX=yes
12364 # This is similar to how AIX traditionally builds its shared libraries.
12365 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'
12371 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
12372 allow_undefined_flag_CXX=unsupported
12373 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12374 # support --undefined. This deserves some investigation. FIXME
12375 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12382 case $cc_basename in
12384 # FIXME: insert proper C++ library support
12390 cygwin* | mingw* | pw32*)
12391 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12392 # as there is no search path for DLLs.
12393 hardcode_libdir_flag_spec_CXX='-L$libdir'
12394 allow_undefined_flag_CXX=unsupported
12395 always_export_symbols_CXX=no
12396 enable_shared_with_static_runtimes_CXX=yes
12398 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
12399 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'
12400 # If the export-symbols file already is a .def file (1st line
12401 # is EXPORTS), use it as is; otherwise, prepend...
12402 archive_expsym_cmds_CXX='if test "x`$SED 1q
$export_symbols`" = xEXPORTS; then
12403 cp $export_symbols $output_objdir/$soname.def;
12405 echo EXPORTS > $output_objdir/$soname.def;
12406 cat $export_symbols >> $output_objdir/$soname.def;
12408 $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'
12413 darwin* | rhapsody*)
12415 rhapsody* | darwin1.[012])
12416 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
12419 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
12420 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
12422 case ${MACOSX_DEPLOYMENT_TARGET} in
12424 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
12427 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
12433 archive_cmds_need_lc_CXX=no
12434 hardcode_direct_CXX=no
12435 hardcode_automatic_CXX=yes
12436 hardcode_shlibpath_var_CXX=unsupported
12437 whole_archive_flag_spec_CXX=''
12438 link_all_deplibs_CXX=yes
12440 if test "$GXX" = yes ; then
12441 lt_int_apple_cc_single_mod=no
12442 output_verbose_link_cmd='echo'
12443 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
12444 lt_int_apple_cc_single_mod=yes
12446 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
12447 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
12449 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'
12451 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12452 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
12453 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
12454 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12456 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "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~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12458 module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12460 case $cc_basename in
12462 output_verbose_link_cmd='echo'
12463 archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
12464 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12465 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
12466 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12467 module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12477 case $cc_basename in
12479 # FIXME: insert proper C++ library support
12483 # Green Hills C++ Compiler
12484 # FIXME: insert proper C++ library support
12488 # FIXME: insert proper C++ library support
12494 # C++ shared libraries reported to be fairly broken before switch to ELF
12498 archive_cmds_need_lc_CXX=no
12500 freebsd* | dragonfly*)
12501 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12508 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12509 hardcode_libdir_separator_CXX=:
12510 export_dynamic_flag_spec_CXX='${wl}-E'
12511 hardcode_direct_CXX=yes
12512 hardcode_minus_L_CXX=yes # Not in the search PATH,
12513 # but as the default
12514 # location of the library.
12516 case $cc_basename in
12518 # FIXME: insert proper C++ library support
12522 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'
12523 # Commands to make compiler produce verbose output that lists
12524 # what "hidden" libraries, object files and flags are used when
12525 # linking a shared library.
12527 # There doesn't appear to be a way to prevent this compiler from
12528 # explicitly linking system object files so we need to strip them
12529 # from the output so that they don't get included in the library
12531 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 $list'
12534 if test "$GXX" = yes; then
12535 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'
12537 # FIXME: insert proper C++ library support
12544 if test $with_gnu_ld = no; then
12545 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12546 hardcode_libdir_separator_CXX=:
12551 export_dynamic_flag_spec_CXX='${wl}-E'
12557 hardcode_direct_CXX=no
12558 hardcode_shlibpath_var_CXX=no
12561 hardcode_direct_CXX=yes
12562 hardcode_minus_L_CXX=yes # Not in the search PATH,
12563 # but as the default
12564 # location of the library.
12568 case $cc_basename in
12570 # FIXME: insert proper C++ library support
12576 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12579 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12582 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12585 # Commands to make compiler produce verbose output that lists
12586 # what "hidden" libraries, object files and flags are used when
12587 # linking a shared library.
12589 # There doesn't appear to be a way to prevent this compiler from
12590 # explicitly linking system object files so we need to strip them
12591 # from the output so that they don't get included in the library
12593 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 $list'
12596 if test "$GXX" = yes; then
12597 if test $with_gnu_ld = no; then
12600 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12603 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12606 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'
12611 # FIXME: insert proper C++ library support
12618 hardcode_direct_CXX=no
12619 hardcode_shlibpath_var_CXX=no
12620 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12621 export_dynamic_flag_spec_CXX='${wl}-E'
12622 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12623 # Instead, shared libraries are loaded at an image base (0x10000000 by
12624 # default) and relocated if they conflict, which is a slow very memory
12625 # consuming and fragmenting process. To avoid this, we pick a random,
12626 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12627 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12628 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'
12629 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'
12632 case $cc_basename in
12635 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
12637 # Archives containing C++ object files must be created using
12638 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12639 # necessary to make sure instantiated templates are included
12641 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12644 if test "$GXX" = yes; then
12645 if test "$with_gnu_ld" = no; then
12646 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12648 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
12651 link_all_deplibs_CXX=yes
12654 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12655 hardcode_libdir_separator_CXX=:
12657 linux* | k*bsd*-gnu)
12658 case $cc_basename in
12660 # Kuck and Associates, Inc. (KAI) C++ Compiler
12662 # KCC will only create a shared library if the output file
12663 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12664 # to its proper name (with version) after linking.
12665 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'
12666 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'
12667 # Commands to make compiler produce verbose output that lists
12668 # what "hidden" libraries, object files and flags are used when
12669 # linking a shared library.
12671 # There doesn't appear to be a way to prevent this compiler from
12672 # explicitly linking system object files so we need to strip them
12673 # from the output so that they don't get included in the library
12675 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 $list'
12677 hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
12678 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12680 # Archives containing C++ object files must be created using
12681 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12682 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12687 # version 8.0 and above of icpc choke on multiply defined symbols
12688 # if we add $predep_objects and $postdep_objects, however 7.1 and
12689 # earlier do not add the objects themselves.
12690 case `$CC -V 2>&1` in
12692 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12693 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'
12695 *) # Version 8.0 or newer
12698 ia64*) tmp_idyn=' -i_dynamic';;
12700 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12701 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'
12704 archive_cmds_need_lc_CXX=no
12705 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12706 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12707 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12710 # Portland Group C++ compiler
12711 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12712 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'
12714 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12715 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12716 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'
12720 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12721 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'
12723 runpath_var=LD_RUN_PATH
12724 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12725 hardcode_libdir_separator_CXX=:
12727 # Commands to make compiler produce verbose output that lists
12728 # what "hidden" libraries, object files and flags are used when
12729 # linking a shared library.
12731 # There doesn't appear to be a way to prevent this compiler from
12732 # explicitly linking system object files so we need to strip them
12733 # from the output so that they don't get included in the library
12735 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.
$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
12738 case `$CC -V 2>&1 | sed 5q
` in
12741 no_undefined_flag_CXX=' -zdefs'
12742 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12743 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'
12744 hardcode_libdir_flag_spec_CXX='-R$libdir'
12745 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'
12747 # Not sure whether something based on
12748 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12750 output_verbose_link_cmd='echo'
12752 # Archives containing C++ object files must be created using
12753 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12754 # necessary to make sure instantiated templates are included
12756 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12763 # FIXME: insert proper C++ library support
12767 # FIXME: insert proper C++ library support
12771 case $cc_basename in
12773 # FIXME: insert proper C++ library support
12777 # FIXME: insert proper C++ library support
12783 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
12784 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12786 hardcode_libdir_flag_spec_CXX='-R$libdir'
12787 hardcode_direct_CXX=yes
12788 hardcode_shlibpath_var_CXX=no
12790 # Workaround some broken pre-1.5 toolchains
12791 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12794 # C++ shared libraries are fairly broken
12798 if test -f /usr/libexec/ld.so; then
12799 hardcode_direct_CXX=yes
12800 hardcode_shlibpath_var_CXX=no
12801 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12802 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12803 if test -z "`echo __ELF__
| $CC -E - | grep __ELF__
`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12804 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12805 export_dynamic_flag_spec_CXX='${wl}-E'
12806 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12808 output_verbose_link_cmd='echo'
12814 case $cc_basename in
12816 # Kuck and Associates, Inc. (KAI) C++ Compiler
12818 # KCC will only create a shared library if the output file
12819 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12820 # to its proper name (with version) after linking.
12821 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'
12823 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12824 hardcode_libdir_separator_CXX=:
12826 # Archives containing C++ object files must be created using
12827 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12828 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12832 # Rational C++ 2.4.1
12833 # FIXME: insert proper C++ library support
12837 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12838 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
12840 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12841 hardcode_libdir_separator_CXX=:
12843 # Commands to make compiler produce verbose output that lists
12844 # what "hidden" libraries, object files and flags are used when
12845 # linking a shared library.
12847 # There doesn't appear to be a way to prevent this compiler from
12848 # explicitly linking system object files so we need to strip them
12849 # from the output so that they don't get included in the library
12851 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.
$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
12854 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12855 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12856 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 ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12858 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12859 hardcode_libdir_separator_CXX=:
12861 # Commands to make compiler produce verbose output that lists
12862 # what "hidden" libraries, object files and flags are used when
12863 # linking a shared library.
12864 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12867 # FIXME: insert proper C++ library support
12874 case $cc_basename in
12876 # Kuck and Associates, Inc. (KAI) C++ Compiler
12878 # KCC will only create a shared library if the output file
12879 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12880 # to its proper name (with version) after linking.
12881 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'
12883 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12884 hardcode_libdir_separator_CXX=:
12886 # Archives containing C++ object files must be created using
12887 # the KAI C++ compiler.
12888 old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
12891 # Rational C++ 2.4.1
12892 # FIXME: insert proper C++ library support
12896 allow_undefined_flag_CXX=' -expect_unresolved \*'
12897 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
12898 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12899 echo "-hidden">> $lib.exp~
12900 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~
12903 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12904 hardcode_libdir_separator_CXX=:
12906 # Commands to make compiler produce verbose output that lists
12907 # what "hidden" libraries, object files and flags are used when
12908 # linking a shared library.
12910 # There doesn't appear to be a way to prevent this compiler from
12911 # explicitly linking system object files so we need to strip them
12912 # from the output so that they don't get included in the library
12914 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.
$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
12917 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12918 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12919 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` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12921 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12922 hardcode_libdir_separator_CXX=:
12924 # Commands to make compiler produce verbose output that lists
12925 # what "hidden" libraries, object files and flags are used when
12926 # linking a shared library.
12927 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12930 # FIXME: insert proper C++ library support
12937 # FIXME: insert proper C++ library support
12941 case $cc_basename in
12944 # FIXME: insert proper C++ library support
12949 # FIXME: insert proper C++ library support
12953 # FIXME: insert proper C++ library support
12959 case $cc_basename in
12961 # Sun C++ 4.2, 5.x and Centerline C++
12962 archive_cmds_need_lc_CXX=yes
12963 no_undefined_flag_CXX=' -zdefs'
12964 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12965 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12966 $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'
12968 hardcode_libdir_flag_spec_CXX='-R$libdir'
12969 hardcode_shlibpath_var_CXX=no
12971 solaris2.[0-5] | solaris2.[0-5].*) ;;
12973 # The compiler driver will combine and reorder linker options,
12974 # but understands `-z linker_flag
'.
12975 # Supported since Solaris 2.6 (maybe 2.5.1?)
12976 whole_archive_flag_spec_CXX='-z allextract
$convenience -z defaultextract
'
12979 link_all_deplibs_CXX=yes
12981 output_verbose_link_cmd='echo'
12983 # Archives containing C++ object files must be created using
12984 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12985 # necessary to make sure instantiated templates are included
12987 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12990 # Green Hills C++ Compiler
12991 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12993 # The C++ compiler must be used to create the archive.
12994 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12997 # GNU C++ compiler with Solaris linker
12998 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12999 no_undefined_flag_CXX=' ${wl}-z ${wl}defs
'
13000 if $CC --version | grep -v '^
2\
.7' > /dev/null; then
13001 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13002 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~
cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~
$echo "local: *; };" >> $lib.exp~
13003 $CC -shared -nostdlib ${wl}-M $wl$lib.exp
-o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~
$rm $lib.exp
'
13005 # Commands to make compiler produce verbose output that lists
13006 # what "hidden" libraries, object files and flags are used when
13007 # linking a shared library.
13008 output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
13010 # g++ 2.7 appears to require `-G' NOT
`-shared' on this
13012 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13013 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13014 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
13016 # Commands to make compiler produce verbose output that lists
13017 # what "hidden" libraries, object files and flags are used when
13018 # linking a shared library.
13019 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
13022 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13024 solaris2.[0-5] | solaris2.[0-5].*) ;;
13026 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13033 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13034 no_undefined_flag_CXX='${wl}-z,text'
13035 archive_cmds_need_lc_CXX=no
13036 hardcode_shlibpath_var_CXX=no
13037 runpath_var='LD_RUN_PATH'
13039 case $cc_basename in
13041 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13042 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13045 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13046 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13050 sysv5* | sco3.2v5* | sco5v6*)
13051 # Note: We can NOT use -z defs as we might desire, because we do not
13052 # link with -lc, and that would cause any symbols used from libc to
13053 # always be unresolved, which means just about no library would
13054 # ever link correctly. If we're not using GNU ld we use -z text
13055 # though, which does catch some bad symbols but isn't as heavy-handed
13057 # For security reasons, it is highly recommended that you always
13058 # use absolute paths for naming shared libraries, and exclude the
13059 # DT_RUNPATH tag from executables and libraries. But doing so
13060 # requires that you compile everything twice, which is a pain.
13061 # So that behaviour is only enabled if SCOABSPATH is set to a
13062 # non-empty value in the environment. Most likely only useful for
13063 # creating official distributions of packages.
13064 # This is a hack until libtool officially supports absolute path
13065 # names for shared libraries.
13066 no_undefined_flag_CXX='${wl}-z,text'
13067 allow_undefined_flag_CXX='${wl}-z,nodefs'
13068 archive_cmds_need_lc_CXX=no
13069 hardcode_shlibpath_var_CXX=no
13070 hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
13071 hardcode_libdir_separator_CXX=':'
13072 link_all_deplibs_CXX=yes
13073 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13074 runpath_var='LD_RUN_PATH'
13076 case $cc_basename in
13078 archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
13079 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
13082 archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
13083 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
13088 case $cc_basename in
13090 # NonStop-UX NCC 3.20
13091 # FIXME: insert proper C++ library support
13095 # FIXME: insert proper C++ library support
13101 # FIXME: insert proper C++ library support
13105 # FIXME: insert proper C++ library support
13109 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13110 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
13111 test "$ld_shlibs_CXX" = no && can_build_shared=no
13117 cat > conftest.$ac_ext <<EOF
13121 Foo (void) { a = 0; }
13127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13128 (eval $ac_compile) 2>&5
13130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13131 (exit $ac_status); }; then
13132 # Parse the compiler output and extract the necessary
13133 # objects, libraries and library flags.
13135 # Sentinel used to keep track of whether or not we are before
13136 # the conftest object file.
13137 pre_test_object_deps_done=no
13139 # The `*' in the case matches for architectures that use `case' in
13140 # $output_verbose_cmd can trigger glob expansion during the loop
13141 # eval without this substitution.
13142 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
13144 for p
in `eval $output_verbose_link_cmd`; do
13148 # Some compilers place space between "-{L,R}" and the path.
13149 # Remove the space.
13150 if test $p = "-L" \
13151 || test $p = "-R"; then
13158 if test "$pre_test_object_deps_done" = no
; then
13161 # Internal compiler library paths should come after those
13162 # provided the user. The postdeps already come after the
13163 # user supplied libs so there is no need to process them.
13164 if test -z "$compiler_lib_search_path_CXX"; then
13165 compiler_lib_search_path_CXX
="${prev}${p}"
13167 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
13170 # The "-l" case would never come before the object being
13171 # linked, so don't bother handling this case.
13174 if test -z "$postdeps_CXX"; then
13175 postdeps_CXX
="${prev}${p}"
13177 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
13183 # This assumes that the test object file only shows up
13184 # once in the compiler output.
13185 if test "$p" = "conftest.$objext"; then
13186 pre_test_object_deps_done
=yes
13190 if test "$pre_test_object_deps_done" = no
; then
13191 if test -z "$predep_objects_CXX"; then
13192 predep_objects_CXX
="$p"
13194 predep_objects_CXX
="$predep_objects_CXX $p"
13197 if test -z "$postdep_objects_CXX"; then
13198 postdep_objects_CXX
="$p"
13200 postdep_objects_CXX
="$postdep_objects_CXX $p"
13205 *) ;; # Ignore the rest.
13213 echo "libtool.m4: error: problem compiling CXX test program"
13216 $rm -f confest.
$objext
13218 # PORTME: override above test on systems where it is broken
13221 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13222 # hack all around it, let's just trust "g++" to DTRT.
13223 predep_objects_CXX
=
13224 postdep_objects_CXX
=
13229 case `$CC -V 2>&1 | sed 5q` in
13233 # The more standards-conforming stlport4 library is
13234 # incompatible with the Cstd library. Avoid specifying
13235 # it if it's in CXXFLAGS. Ignore libCrun as
13236 # -library=stlport4 depends on it.
13237 case " $CXX $CXXFLAGS " in
13238 *" -library=stlport4 "*)
13239 solaris_use_stlport4
=yes
13242 if test "$solaris_use_stlport4" != yes; then
13243 postdeps_CXX
='-library=Cstd -library=Crun'
13250 case $cc_basename in
13252 # The more standards-conforming stlport4 library is
13253 # incompatible with the Cstd library. Avoid specifying
13254 # it if it's in CXXFLAGS. Ignore libCrun as
13255 # -library=stlport4 depends on it.
13256 case " $CXX $CXXFLAGS " in
13257 *" -library=stlport4 "*)
13258 solaris_use_stlport4
=yes
13262 # Adding this requires a known-good setup of shared libraries for
13263 # Sun compiler versions before 5.6, else PIC objects from an old
13264 # archive will be linked into the output, leading to subtle bugs.
13265 if test "$solaris_use_stlport4" != yes; then
13266 postdeps_CXX
='-library=Cstd -library=Crun'
13274 case " $postdeps_CXX " in
13275 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
13278 lt_prog_compiler_wl_CXX
=
13279 lt_prog_compiler_pic_CXX
=
13280 lt_prog_compiler_static_CXX
=
13282 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13283 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
13285 # C++ specific cases for pic, static, wl, etc.
13286 if test "$GXX" = yes; then
13287 lt_prog_compiler_wl_CXX
='-Wl,'
13288 lt_prog_compiler_static_CXX
='-static'
13292 # All AIX code is PIC.
13293 if test "$host_cpu" = ia64
; then
13294 # AIX 5 now supports IA64 processor
13295 lt_prog_compiler_static_CXX
='-Bstatic'
13299 # FIXME: we need at least 68020 code to build shared libraries, but
13300 # adding the `-m68020' flag to GCC prevents building anything better,
13302 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
13304 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13305 # PIC is the default for these OSes.
13307 mingw
* | cygwin
* | os2
* | pw32
*)
13308 # This hack is so that the source file can tell whether it is being
13309 # built for inclusion in a dll (and should export symbols for example).
13310 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13311 # (--disable-auto-import) libraries
13312 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
13314 darwin
* | rhapsody
*)
13315 # PIC is the default on this platform
13316 # Common symbols not allowed in MH_DYLIB files
13317 lt_prog_compiler_pic_CXX
='-fno-common'
13320 # DJGPP does not support shared libraries at all
13321 lt_prog_compiler_pic_CXX
=
13324 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13325 # Instead, we relocate shared libraries at runtime.
13328 if test -d /usr
/nec
; then
13329 lt_prog_compiler_pic_CXX
=-Kconform_pic
13333 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13334 # not for PA HP-UX.
13339 lt_prog_compiler_pic_CXX
='-fPIC'
13344 lt_prog_compiler_pic_CXX
='-fPIC'
13350 # All AIX code is PIC.
13351 if test "$host_cpu" = ia64
; then
13352 # AIX 5 now supports IA64 processor
13353 lt_prog_compiler_static_CXX
='-Bstatic'
13355 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
13359 case $cc_basename in
13361 # Green Hills C++ Compiler
13362 # _LT_AC_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"
13367 # PIC is the default on this platform
13368 # Common symbols not allowed in MH_DYLIB files
13369 case $cc_basename in
13371 lt_prog_compiler_pic_CXX
='-qnocommon'
13372 lt_prog_compiler_wl_CXX
='-Wl,'
13377 case $cc_basename in
13379 lt_prog_compiler_pic_CXX
='-KPIC'
13382 # Green Hills C++ Compiler
13383 lt_prog_compiler_pic_CXX
='-pic'
13389 freebsd
* | dragonfly
*)
13390 # FreeBSD uses GNU C++
13392 hpux9
* | hpux10
* | hpux11
*)
13393 case $cc_basename in
13395 lt_prog_compiler_wl_CXX
='-Wl,'
13396 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13397 if test "$host_cpu" != ia64
; then
13398 lt_prog_compiler_pic_CXX
='+Z'
13402 lt_prog_compiler_wl_CXX
='-Wl,'
13403 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13409 lt_prog_compiler_pic_CXX
='+Z'
13418 # This is c89, which is MS Visual C++ (no shared libs)
13419 # Anyone wants to do a port?
13421 irix5
* | irix6
* | nonstopux
*)
13422 case $cc_basename in
13424 lt_prog_compiler_wl_CXX
='-Wl,'
13425 lt_prog_compiler_static_CXX
='-non_shared'
13426 # CC pic flag -KPIC is the default.
13432 linux
* | k
*bsd
*-gnu)
13433 case $cc_basename in
13436 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13437 lt_prog_compiler_pic_CXX
='-fPIC'
13441 lt_prog_compiler_wl_CXX
='-Wl,'
13442 lt_prog_compiler_pic_CXX
='-KPIC'
13443 lt_prog_compiler_static_CXX
='-static'
13446 # Portland Group C++ compiler.
13447 lt_prog_compiler_wl_CXX
='-Wl,'
13448 lt_prog_compiler_pic_CXX
='-fpic'
13449 lt_prog_compiler_static_CXX
='-Bstatic'
13453 # Make sure the PIC flag is empty. It appears that all Alpha
13454 # Linux and Compaq Tru64 Unix objects are PIC.
13455 lt_prog_compiler_pic_CXX
=
13456 lt_prog_compiler_static_CXX
='-non_shared'
13459 case `$CC -V 2>&1 | sed 5q` in
13462 lt_prog_compiler_pic_CXX
='-KPIC'
13463 lt_prog_compiler_static_CXX
='-Bstatic'
13464 lt_prog_compiler_wl_CXX
='-Qoption ld '
13475 case $cc_basename in
13477 lt_prog_compiler_pic_CXX
='-W c,exportall'
13485 osf3
* | osf4
* | osf5
*)
13486 case $cc_basename in
13488 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13491 # Rational C++ 2.4.1
13492 lt_prog_compiler_pic_CXX
='-pic'
13495 # Digital/Compaq C++
13496 lt_prog_compiler_wl_CXX
='-Wl,'
13497 # Make sure the PIC flag is empty. It appears that all Alpha
13498 # Linux and Compaq Tru64 Unix objects are PIC.
13499 lt_prog_compiler_pic_CXX
=
13500 lt_prog_compiler_static_CXX
='-non_shared'
13509 case $cc_basename in
13511 # Sun C++ 4.2, 5.x and Centerline C++
13512 lt_prog_compiler_pic_CXX
='-KPIC'
13513 lt_prog_compiler_static_CXX
='-Bstatic'
13514 lt_prog_compiler_wl_CXX
='-Qoption ld '
13517 # Green Hills C++ Compiler
13518 lt_prog_compiler_pic_CXX
='-PIC'
13525 case $cc_basename in
13528 lt_prog_compiler_pic_CXX
='-pic'
13529 lt_prog_compiler_static_CXX
='-Bstatic'
13533 lt_prog_compiler_pic_CXX
='-pic'
13540 case $cc_basename in
13542 # NonStop-UX NCC 3.20
13543 lt_prog_compiler_pic_CXX
='-KPIC'
13549 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13550 case $cc_basename in
13552 lt_prog_compiler_wl_CXX
='-Wl,'
13553 lt_prog_compiler_pic_CXX
='-KPIC'
13554 lt_prog_compiler_static_CXX
='-Bstatic'
13561 lt_prog_compiler_can_build_shared_CXX
=no
13566 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
13567 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
13570 # Check to make sure the PIC flag actually works.
13572 if test -n "$lt_prog_compiler_pic_CXX"; then
13574 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13575 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
13576 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
13577 echo $ECHO_N "(cached) $ECHO_C" >&6
13579 lt_prog_compiler_pic_works_CXX
=no
13580 ac_outfile
=conftest.
$ac_objext
13581 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13582 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
13583 # Insert the option either (1) after the last *FLAGS variable, or
13584 # (2) before a word containing "conftest.", or (3) at the end.
13585 # Note that $ac_compile itself does not contain backslashes and begins
13586 # with a dollar sign (not a hyphen), so the echo should work correctly.
13587 # The option is referenced via a variable to avoid confusing sed.
13588 lt_compile
=`echo "$ac_compile" | $SED \
13589 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13590 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13591 -e 's:$: $lt_compiler_flag:'`
13592 (eval echo "\"\$as_me:13592: $lt_compile\"" >&5)
13593 (eval "$lt_compile" 2>conftest.err
)
13595 cat conftest.err
>&5
13596 echo "$as_me:13596: \$? = $ac_status" >&5
13597 if (exit $ac_status) && test -s "$ac_outfile"; then
13598 # The compiler can only warn and ignore the option if not recognized
13599 # So say no if there are warnings other than the usual output.
13600 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13601 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13602 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
13603 lt_prog_compiler_pic_works_CXX
=yes
13609 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
13610 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
13612 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
13613 case $lt_prog_compiler_pic_CXX in
13615 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
13618 lt_prog_compiler_pic_CXX
=
13619 lt_prog_compiler_can_build_shared_CXX
=no
13624 # For platforms which do not support PIC, -DPIC is meaningless:
13626 lt_prog_compiler_pic_CXX
=
13629 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
13634 # Check to make sure the static flag actually works.
13636 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
13637 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13638 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
13639 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
13640 echo $ECHO_N "(cached) $ECHO_C" >&6
13642 lt_prog_compiler_static_works_CXX
=no
13643 save_LDFLAGS
="$LDFLAGS"
13644 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13645 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13646 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13647 # The linker can only warn and ignore the option if not recognized
13648 # So say no if there are warnings
13649 if test -s conftest.err
; then
13650 # Append any errors to the config.log.
13651 cat conftest.err
1>&5
13652 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
13653 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13654 if diff conftest.exp conftest.er2
>/dev
/null
; then
13655 lt_prog_compiler_static_works_CXX
=yes
13658 lt_prog_compiler_static_works_CXX
=yes
13662 LDFLAGS
="$save_LDFLAGS"
13665 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
13666 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
13668 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
13671 lt_prog_compiler_static_CXX
=
13675 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13676 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
13677 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
13678 echo $ECHO_N "(cached) $ECHO_C" >&6
13680 lt_cv_prog_compiler_c_o_CXX
=no
13681 $rm -r conftest
2>/dev
/null
13685 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13687 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13688 # Insert the option either (1) after the last *FLAGS variable, or
13689 # (2) before a word containing "conftest.", or (3) at the end.
13690 # Note that $ac_compile itself does not contain backslashes and begins
13691 # with a dollar sign (not a hyphen), so the echo should work correctly.
13692 lt_compile
=`echo "$ac_compile" | $SED \
13693 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13694 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13695 -e 's:$: $lt_compiler_flag:'`
13696 (eval echo "\"\$as_me:13696: $lt_compile\"" >&5)
13697 (eval "$lt_compile" 2>out
/conftest.err
)
13699 cat out
/conftest.err
>&5
13700 echo "$as_me:13700: \$? = $ac_status" >&5
13701 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13703 # The compiler can only warn and ignore the option if not recognized
13704 # So say no if there are warnings
13705 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
13706 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13707 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13708 lt_cv_prog_compiler_c_o_CXX
=yes
13713 # SGI C++ compiler will create directory out/ii_files/ for
13714 # template instantiation
13715 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
13716 $rm out
/* && rmdir out
13722 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13723 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
13726 hard_links
="nottested"
13727 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
13728 # do not overwrite the value of need_locks provided by the user
13729 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13730 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
13733 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13735 ln conftest.a conftest.b
2>&5 || hard_links
=no
13736 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13737 { echo "$as_me:$LINENO: result: $hard_links" >&5
13738 echo "${ECHO_T}$hard_links" >&6; }
13739 if test "$hard_links" = no
; then
13740 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13741 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13748 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13749 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
13751 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13754 # If we're using GNU nm, then we don't want the "-C" option.
13755 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13756 if $NM -V 2>&1 | grep 'GNU' > /dev
/null
; then
13757 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'
13759 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'
13763 export_symbols_cmds_CXX
="$ltdll_cmds"
13766 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'
13769 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13773 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13774 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
13775 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13778 # Do we need to explicitly link libc?
13780 case "x$archive_cmds_need_lc_CXX" in
13782 # Assume -lc should be added
13783 archive_cmds_need_lc_CXX
=yes
13785 if test "$enable_shared" = yes && test "$GCC" = yes; then
13786 case $archive_cmds_CXX in
13788 # FIXME: we may have to deal with multi-command sequences.
13791 # Test whether the compiler implicitly links with -lc since on some
13792 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13793 # to ld, don't add -lc before -lgcc.
13794 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13795 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
13797 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13800 (eval $ac_compile) 2>&5
13802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13803 (exit $ac_status); } 2>conftest.err
; then
13806 libobjs
=conftest.
$ac_objext
13808 wl
=$lt_prog_compiler_wl_CXX
13809 pic_flag
=$lt_prog_compiler_pic_CXX
13815 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
13816 allow_undefined_flag_CXX
=
13817 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
13818 (eval $archive_cmds_CXX 2\
>\
&1 \
| grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13821 (exit $ac_status); }
13823 archive_cmds_need_lc_CXX
=no
13825 archive_cmds_need_lc_CXX
=yes
13827 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
13829 cat conftest.err
1>&5
13832 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
13833 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
13840 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13841 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
13842 library_names_spec
=
13843 libname_spec
='lib$name'
13847 postuninstall_cmds
=
13851 shlibpath_overrides_runpath
=unknown
13853 dynamic_linker
="$host_os ld.so"
13854 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
13856 need_lib_prefix
=unknown
13857 hardcode_into_libs
=no
13859 # when you set need_version to no, make sure it does not cause -set_version
13860 # flags to be left without arguments
13861 need_version
=unknown
13866 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
13867 shlibpath_var
=LIBPATH
13869 # AIX 3 has no versioning support, so we append a major version to the name.
13870 soname_spec
='${libname}${release}${shared_ext}$major'
13877 hardcode_into_libs
=yes
13878 if test "$host_cpu" = ia64
; then
13879 # AIX 5 supports IA64
13880 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13881 shlibpath_var
=LD_LIBRARY_PATH
13883 # With GCC up to 2.95.x, collect2 would create an import file
13884 # for dependence libraries. The import file would start with
13885 # the line `#! .'. This would cause the generated library to
13886 # depend on `.', always an invalid library. This was fixed in
13887 # development snapshots of GCC prior to 3.0.
13889 aix4
| aix4.
[01] | aix4.
[01].
*)
13890 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13892 echo '#endif'; } | ${CC} -E - | grep yes > /dev
/null
; then
13895 can_build_shared
=no
13899 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13900 # soname into executable. Probably we can add versioning support to
13901 # collect2, so additional links can be useful in future.
13902 if test "$aix_use_runtimelinking" = yes; then
13903 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13904 # instead of lib<name>.a to let people know that these are not
13905 # typical AIX shared libraries.
13906 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13908 # We preserve .a as extension for shared libraries through AIX4.2
13909 # and later when we are not doing run time linking.
13910 library_names_spec
='${libname}${release}.a $libname.a'
13911 soname_spec
='${libname}${release}${shared_ext}$major'
13913 shlibpath_var
=LIBPATH
13918 library_names_spec
='$libname.ixlibrary $libname.a'
13919 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13920 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'
13924 library_names_spec
='${libname}${shared_ext}'
13925 dynamic_linker
="$host_os ld.so"
13926 shlibpath_var
=LIBRARY_PATH
13932 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13933 soname_spec
='${libname}${release}${shared_ext}$major'
13934 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13935 shlibpath_var
=LD_LIBRARY_PATH
13936 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13937 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13938 # the default ld.so.conf also contains /usr/contrib/lib and
13939 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13940 # libtool to hard-code these into programs
13943 cygwin
* | mingw
* | pw32
*)
13944 version_type
=windows
13949 case $GCC,$host_os in
13950 yes,cygwin
* | yes,mingw
* | yes,pw32
*)
13951 library_names_spec
='$libname.dll.a'
13952 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13953 postinstall_cmds
='base_file=`basename \${file}`~
13954 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
13955 dldir=$destdir/`dirname \$dlpath`~
13956 test -d \$dldir || mkdir -p \$dldir~
13957 $install_prog $dir/$dlname \$dldir/$dlname~
13958 chmod a+x \$dldir/$dlname'
13959 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13960 dlpath=$dir/\$dldll~
13962 shlibpath_overrides_runpath
=yes
13966 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13967 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
13968 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
13971 # MinGW DLLs use traditional 'lib' prefix
13972 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
13973 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13974 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev
/null
; then
13975 # It is most probably a Windows format PATH printed by
13976 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13977 # path with ; separators, and with drive letters. We can handle the
13978 # drive letters (cygwin fileutils understands them), so leave them,
13979 # especially as we might pass files found there to a mingw objdump,
13980 # which wouldn't understand a cygwinified path. Ahh.
13981 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13983 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13987 # pw32 DLLs use 'pw' prefix rather than 'lib'
13988 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
13994 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
13997 dynamic_linker
='Win32 ld.exe'
13998 # FIXME: first we should search . and the directory the executable is in
14002 darwin
* | rhapsody
*)
14003 dynamic_linker
="$host_os dyld"
14004 version_type
=darwin
14007 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14008 soname_spec
='${libname}${release}${major}$shared_ext'
14009 shlibpath_overrides_runpath
=yes
14010 shlibpath_var
=DYLD_LIBRARY_PATH
14011 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14013 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14020 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14021 soname_spec
='${libname}${release}${shared_ext}$major'
14022 shlibpath_var
=LD_LIBRARY_PATH
14029 freebsd
* | dragonfly
*)
14030 # DragonFly does not have aout. When/if they implement a new
14031 # versioning mechanism, adjust this.
14032 if test -x /usr
/bin
/objformat
; then
14033 objformat
=`/usr/bin/objformat`
14036 freebsd
[123]*) objformat
=aout
;;
14037 *) objformat
=elf
;;
14040 version_type
=freebsd
-$objformat
14041 case $version_type in
14043 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14048 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14052 shlibpath_var
=LD_LIBRARY_PATH
14055 shlibpath_overrides_runpath
=yes
14057 freebsd3.
[01]* | freebsdelf3.
[01]*)
14058 shlibpath_overrides_runpath
=yes
14059 hardcode_into_libs
=yes
14061 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14062 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14063 shlibpath_overrides_runpath
=no
14064 hardcode_into_libs
=yes
14066 *) # from 4.6 on, and DragonFly
14067 shlibpath_overrides_runpath
=yes
14068 hardcode_into_libs
=yes
14077 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14078 soname_spec
='${libname}${release}${shared_ext}$major'
14079 shlibpath_var
=LD_LIBRARY_PATH
14080 hardcode_into_libs
=yes
14083 hpux9
* | hpux10
* | hpux11
*)
14084 # Give a soname corresponding to the major version so that dld.sl refuses to
14085 # link against other versions.
14092 hardcode_into_libs
=yes
14093 dynamic_linker
="$host_os dld.so"
14094 shlibpath_var
=LD_LIBRARY_PATH
14095 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14096 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14097 soname_spec
='${libname}${release}${shared_ext}$major'
14098 if test "X$HPUX_IA64_MODE" = X32
; then
14099 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14101 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14103 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14107 hardcode_into_libs
=yes
14108 dynamic_linker
="$host_os dld.sl"
14109 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14110 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14111 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14112 soname_spec
='${libname}${release}${shared_ext}$major'
14113 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14114 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14118 dynamic_linker
="$host_os dld.sl"
14119 shlibpath_var
=SHLIB_PATH
14120 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14121 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14122 soname_spec
='${libname}${release}${shared_ext}$major'
14125 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14126 postinstall_cmds
='chmod 555 $lib'
14133 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14134 soname_spec
='${libname}${release}${shared_ext}$major'
14135 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14136 shlibpath_var
=LD_LIBRARY_PATH
14137 shlibpath_overrides_runpath
=no
14138 hardcode_into_libs
=yes
14141 irix5
* | irix6
* | nonstopux
*)
14143 nonstopux
*) version_type
=nonstopux
;;
14145 if test "$lt_cv_prog_gnu_ld" = yes; then
14153 soname_spec
='${libname}${release}${shared_ext}$major'
14154 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14156 irix5
* | nonstopux
*)
14157 libsuff
= shlibsuff
=
14160 case $LD in # libtool.m4 will add one of these switches to LD
14161 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14162 libsuff
= shlibsuff
= libmagic
=32-bit;;
14163 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14164 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14165 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14166 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14167 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
14171 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14172 shlibpath_overrides_runpath
=no
14173 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14174 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14175 hardcode_into_libs
=yes
14178 # No shared lib support for Linux oldld, aout, or coff.
14179 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14183 # This must be Linux ELF.
14184 linux
* | k
*bsd
*-gnu)
14188 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14189 soname_spec
='${libname}${release}${shared_ext}$major'
14190 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14191 shlibpath_var
=LD_LIBRARY_PATH
14192 shlibpath_overrides_runpath
=no
14193 # This implies no fast_install, which is unacceptable.
14194 # Some rework will be needed to allow for fast_install
14195 # before this can be enabled.
14196 hardcode_into_libs
=yes
14198 # Append ld.so.conf contents to the search path
14199 if test -f /etc
/ld.so.conf
; then
14200 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' ' '`
14201 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
14204 # We used to test for /lib/ld.so.1 and disable shared libraries on
14205 # powerpc, because MkLinux only supported shared libraries with the
14206 # GNU dynamic linker. Since this was broken with cross compilers,
14207 # most powerpc-linux boxes support dynamic linking these days and
14208 # people can always --disable-shared, the test was removed, and we
14209 # assume the GNU/Linux dynamic linker is in use.
14210 dynamic_linker
='GNU/Linux ld.so'
14217 if echo __ELF__
| $CC -E - | grep __ELF__
>/dev
/null
; then
14218 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14219 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14220 dynamic_linker
='NetBSD (a.out) ld.so'
14222 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14223 soname_spec
='${libname}${release}${shared_ext}$major'
14224 dynamic_linker
='NetBSD ld.elf_so'
14226 shlibpath_var
=LD_LIBRARY_PATH
14227 shlibpath_overrides_runpath
=yes
14228 hardcode_into_libs
=yes
14233 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14234 shlibpath_var
=LD_LIBRARY_PATH
14235 shlibpath_overrides_runpath
=yes
14242 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14243 soname_spec
='${libname}${release}${shared_ext}$major'
14244 shlibpath_var
=LD_LIBRARY_PATH
14245 shlibpath_overrides_runpath
=yes
14250 sys_lib_dlsearch_path_spec
="/usr/lib"
14252 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14254 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
14255 *) need_version
=no
;;
14257 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14258 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14259 shlibpath_var
=LD_LIBRARY_PATH
14260 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14262 openbsd2.
[89] | openbsd2.
[89].
*)
14263 shlibpath_overrides_runpath
=no
14266 shlibpath_overrides_runpath
=yes
14270 shlibpath_overrides_runpath
=yes
14275 libname_spec
='$name'
14278 library_names_spec
='$libname${shared_ext} $libname.a'
14279 dynamic_linker
='OS/2 ld.exe'
14280 shlibpath_var
=LIBPATH
14283 osf3
* | osf4
* | osf5
*)
14287 soname_spec
='${libname}${release}${shared_ext}$major'
14288 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14289 shlibpath_var
=LD_LIBRARY_PATH
14290 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14291 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
14302 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14303 soname_spec
='${libname}${release}${shared_ext}$major'
14304 shlibpath_var
=LD_LIBRARY_PATH
14305 shlibpath_overrides_runpath
=yes
14306 hardcode_into_libs
=yes
14307 # ldd complains unless libraries are executable
14308 postinstall_cmds
='chmod +x $lib'
14313 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14314 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14315 shlibpath_var
=LD_LIBRARY_PATH
14316 shlibpath_overrides_runpath
=yes
14317 if test "$with_gnu_ld" = yes; then
14325 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14326 soname_spec
='${libname}${release}${shared_ext}$major'
14327 shlibpath_var
=LD_LIBRARY_PATH
14328 case $host_vendor in
14330 shlibpath_overrides_runpath
=no
14332 export_dynamic_flag_spec
='${wl}-Blargedynsym'
14333 runpath_var
=LD_RUN_PATH
14341 shlibpath_overrides_runpath
=no
14342 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14348 if test -d /usr
/nec
;then
14350 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14351 soname_spec
='$libname${shared_ext}.$major'
14352 shlibpath_var
=LD_LIBRARY_PATH
14356 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
14357 version_type
=freebsd
-elf
14360 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14361 soname_spec
='${libname}${release}${shared_ext}$major'
14362 shlibpath_var
=LD_LIBRARY_PATH
14363 hardcode_into_libs
=yes
14364 if test "$with_gnu_ld" = yes; then
14365 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14366 shlibpath_overrides_runpath
=no
14368 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14369 shlibpath_overrides_runpath
=yes
14372 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14376 sys_lib_dlsearch_path_spec
='/usr/lib'
14381 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14382 soname_spec
='${libname}${release}${shared_ext}$major'
14383 shlibpath_var
=LD_LIBRARY_PATH
14390 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14391 echo "${ECHO_T}$dynamic_linker" >&6; }
14392 test "$dynamic_linker" = no
&& can_build_shared
=no
14394 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14395 if test "$GCC" = yes; then
14396 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14399 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14400 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
14401 hardcode_action_CXX
=
14402 if test -n "$hardcode_libdir_flag_spec_CXX" || \
14403 test -n "$runpath_var_CXX" || \
14404 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14406 # We can hardcode non-existant directories.
14407 if test "$hardcode_direct_CXX" != no
&&
14408 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14409 # have to relink, otherwise we might link with an installed library
14410 # when we should be linking with a yet-to-be-installed one
14411 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14412 test "$hardcode_minus_L_CXX" != no
; then
14413 # Linking always hardcodes the temporary library directory.
14414 hardcode_action_CXX
=relink
14416 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14417 hardcode_action_CXX
=immediate
14420 # We cannot hardcode anything, or else we can only hardcode existing
14422 hardcode_action_CXX
=unsupported
14424 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
14425 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
14427 if test "$hardcode_action_CXX" = relink
; then
14428 # Fast installation is not supported
14429 enable_fast_install
=no
14430 elif test "$shlibpath_overrides_runpath" = yes ||
14431 test "$enable_shared" = no
; then
14432 # Fast installation is not necessary
14433 enable_fast_install
=needless
14437 # The else clause should only fire when bootstrapping the
14438 # libtool distribution, otherwise you forgot to ship ltmain.sh
14439 # with your package, and you will get complaints that there are
14440 # no rules to generate ltmain.sh.
14441 if test -f "$ltmain"; then
14442 # See if we are running on zsh, and set the options which allow our commands through
14443 # without removal of \ escapes.
14444 if test -n "${ZSH_VERSION+set}" ; then
14445 setopt NO_GLOB_SUBST
14447 # Now quote all the things that may contain metacharacters while being
14448 # careful not to overquote the AC_SUBSTed values. We take copies of the
14449 # variables and quote the copies for generation of the libtool script.
14450 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
14452 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
14453 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
14454 deplibs_check_method reload_flag reload_cmds need_locks \
14455 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
14456 lt_cv_sys_global_symbol_to_c_name_address \
14457 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
14458 old_postinstall_cmds old_postuninstall_cmds \
14462 lt_prog_compiler_wl_CXX \
14463 lt_prog_compiler_pic_CXX \
14464 lt_prog_compiler_static_CXX \
14465 lt_prog_compiler_no_builtin_flag_CXX \
14466 export_dynamic_flag_spec_CXX \
14467 thread_safe_flag_spec_CXX \
14468 whole_archive_flag_spec_CXX \
14469 enable_shared_with_static_runtimes_CXX \
14470 old_archive_cmds_CXX \
14471 old_archive_from_new_cmds_CXX \
14472 predep_objects_CXX \
14473 postdep_objects_CXX \
14476 compiler_lib_search_path_CXX \
14478 archive_expsym_cmds_CXX \
14479 postinstall_cmds_CXX \
14480 postuninstall_cmds_CXX \
14481 old_archive_from_expsyms_cmds_CXX \
14482 allow_undefined_flag_CXX \
14483 no_undefined_flag_CXX \
14484 export_symbols_cmds_CXX \
14485 hardcode_libdir_flag_spec_CXX \
14486 hardcode_libdir_flag_spec_ld_CXX \
14487 hardcode_libdir_separator_CXX \
14488 hardcode_automatic_CXX \
14490 module_expsym_cmds_CXX \
14491 lt_cv_prog_compiler_c_o_CXX \
14492 fix_srcfile_path_CXX \
14493 exclude_expsyms_CXX \
14494 include_expsyms_CXX
; do
14497 old_archive_cmds_CXX
| \
14498 old_archive_from_new_cmds_CXX
| \
14499 archive_cmds_CXX
| \
14500 archive_expsym_cmds_CXX
| \
14501 module_cmds_CXX
| \
14502 module_expsym_cmds_CXX
| \
14503 old_archive_from_expsyms_cmds_CXX
| \
14504 export_symbols_cmds_CXX
| \
14505 extract_expsyms_cmds
| reload_cmds
| finish_cmds
| \
14506 postinstall_cmds
| postuninstall_cmds
| \
14507 old_postinstall_cmds
| old_postuninstall_cmds
| \
14508 sys_lib_search_path_spec
| sys_lib_dlsearch_path_spec
)
14509 # Double-quote double-evaled strings.
14510 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
14513 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
14519 *'\$0 --fallback-echo"')
14520 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
14526 cat <<__EOF__ >> "$cfgfile"
14527 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
14529 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14531 # Shell to use when invoking shell scripts.
14534 # Whether or not to build shared libraries.
14535 build_libtool_libs=$enable_shared
14537 # Whether or not to build static libraries.
14538 build_old_libs=$enable_static
14540 # Whether or not to add -lc for building shared libraries.
14541 build_libtool_need_lc=$archive_cmds_need_lc_CXX
14543 # Whether or not to disallow shared libs when runtime libs are static
14544 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
14546 # Whether or not to optimize for fast installation.
14547 fast_install=$enable_fast_install
14550 host_alias=$host_alias
14554 # The build system.
14555 build_alias=$build_alias
14559 # An echo program that does not interpret backslashes.
14564 AR_FLAGS=$lt_AR_FLAGS
14569 # LTCC compiler flags.
14570 LTCFLAGS=$lt_LTCFLAGS
14572 # A language-specific compiler.
14573 CC=$lt_compiler_CXX
14575 # Is the compiler the GNU C compiler?
14581 # The linker used to build libraries.
14584 # Whether we need hard or soft links.
14587 # A BSD-compatible nm program.
14590 # A symbol stripping program
14593 # Used to examine libraries when file_magic_cmd begins "file"
14594 MAGIC_CMD=$MAGIC_CMD
14596 # Used on cygwin: DLL creation program.
14599 # Used on cygwin: object dumper.
14602 # Used on cygwin: assembler.
14605 # The name of the directory that contains temporary libtool files.
14608 # How to create reloadable object files.
14609 reload_flag=$lt_reload_flag
14610 reload_cmds=$lt_reload_cmds
14612 # How to pass a linker flag through the compiler.
14613 wl=$lt_lt_prog_compiler_wl_CXX
14615 # Object file suffix (normally "o").
14616 objext="$ac_objext"
14618 # Old archive suffix (normally "a").
14621 # Shared library suffix (normally ".so").
14622 shrext_cmds='$shrext_cmds'
14624 # Executable file suffix (normally "").
14627 # Additional compiler flags for building library objects.
14628 pic_flag=$lt_lt_prog_compiler_pic_CXX
14631 # What is the maximum length of a command?
14632 max_cmd_len=$lt_cv_sys_max_cmd_len
14634 # Does compiler simultaneously support -c and -o options?
14635 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
14637 # Must we lock files when doing compilation?
14638 need_locks=$lt_need_locks
14640 # Do we need the lib prefix for modules?
14641 need_lib_prefix=$need_lib_prefix
14643 # Do we need a version for libraries?
14644 need_version=$need_version
14646 # Whether dlopen is supported.
14647 dlopen_support=$enable_dlopen
14649 # Whether dlopen of programs is supported.
14650 dlopen_self=$enable_dlopen_self
14652 # Whether dlopen of statically linked programs is supported.
14653 dlopen_self_static=$enable_dlopen_self_static
14655 # Compiler flag to prevent dynamic linking.
14656 link_static_flag=$lt_lt_prog_compiler_static_CXX
14658 # Compiler flag to turn off builtin functions.
14659 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
14661 # Compiler flag to allow reflexive dlopens.
14662 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
14664 # Compiler flag to generate shared objects directly from archives.
14665 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
14667 # Compiler flag to generate thread-safe objects.
14668 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
14670 # Library versioning type.
14671 version_type=$version_type
14673 # Format of library name prefix.
14674 libname_spec=$lt_libname_spec
14676 # List of archive names. First name is the real one, the rest are links.
14677 # The last name is the one that the linker finds with -lNAME.
14678 library_names_spec=$lt_library_names_spec
14680 # The coded name of the library, if different from the real name.
14681 soname_spec=$lt_soname_spec
14683 # Commands used to build and install an old-style archive.
14685 old_archive_cmds=$lt_old_archive_cmds_CXX
14686 old_postinstall_cmds=$lt_old_postinstall_cmds
14687 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14689 # Create an old-style archive from a shared archive.
14690 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
14692 # Create a temporary old-style archive to link instead of a shared archive.
14693 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
14695 # Commands used to build and install a shared archive.
14696 archive_cmds=$lt_archive_cmds_CXX
14697 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
14698 postinstall_cmds=$lt_postinstall_cmds
14699 postuninstall_cmds=$lt_postuninstall_cmds
14701 # Commands used to build a loadable module (assumed same as above if empty)
14702 module_cmds=$lt_module_cmds_CXX
14703 module_expsym_cmds=$lt_module_expsym_cmds_CXX
14705 # Commands to strip libraries.
14706 old_striplib=$lt_old_striplib
14707 striplib=$lt_striplib
14709 # Dependencies to place before the objects being linked to create a
14711 predep_objects=$lt_predep_objects_CXX
14713 # Dependencies to place after the objects being linked to create a
14715 postdep_objects=$lt_postdep_objects_CXX
14717 # Dependencies to place before the objects being linked to create a
14719 predeps=$lt_predeps_CXX
14721 # Dependencies to place after the objects being linked to create a
14723 postdeps=$lt_postdeps_CXX
14725 # The library search path used internally by the compiler when linking
14726 # a shared library.
14727 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
14729 # Method to check whether dependent libraries are shared objects.
14730 deplibs_check_method=$lt_deplibs_check_method
14732 # Command to use when deplibs_check_method == file_magic.
14733 file_magic_cmd=$lt_file_magic_cmd
14735 # Flag that allows shared libraries with undefined symbols to be built.
14736 allow_undefined_flag=$lt_allow_undefined_flag_CXX
14738 # Flag that forces no undefined symbols.
14739 no_undefined_flag=$lt_no_undefined_flag_CXX
14741 # Commands used to finish a libtool library installation in a directory.
14742 finish_cmds=$lt_finish_cmds
14744 # Same as above, but a single script fragment to be evaled but not shown.
14745 finish_eval=$lt_finish_eval
14747 # Take the output of nm and produce a listing of raw symbols and C names.
14748 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14750 # Transform the output of nm in a proper C declaration
14751 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14753 # Transform the output of nm in a C name address pair
14754 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14756 # This is the shared library runtime path variable.
14757 runpath_var=$runpath_var
14759 # This is the shared library path variable.
14760 shlibpath_var=$shlibpath_var
14762 # Is shlibpath searched before the hard-coded library search path?
14763 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14765 # How to hardcode a shared library path into an executable.
14766 hardcode_action=$hardcode_action_CXX
14768 # Whether we should hardcode library paths into libraries.
14769 hardcode_into_libs=$hardcode_into_libs
14771 # Flag to hardcode \$libdir into a binary during linking.
14772 # This must work even if \$libdir does not exist.
14773 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
14775 # If ld is used when linking, flag to hardcode \$libdir into
14776 # a binary during linking. This must work even if \$libdir does
14778 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
14780 # Whether we need a single -rpath flag with a separated argument.
14781 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
14783 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
14784 # resulting binary.
14785 hardcode_direct=$hardcode_direct_CXX
14787 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
14788 # resulting binary.
14789 hardcode_minus_L=$hardcode_minus_L_CXX
14791 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
14792 # the resulting binary.
14793 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
14795 # Set to yes if building a shared library automatically hardcodes DIR into the library
14796 # and all subsequent libraries and executables linked against it.
14797 hardcode_automatic=$hardcode_automatic_CXX
14799 # Variables whose values should be saved in libtool wrapper scripts and
14800 # restored at relink time.
14801 variables_saved_for_relink="$variables_saved_for_relink"
14803 # Whether libtool must link a program against all its dependency libraries.
14804 link_all_deplibs=$link_all_deplibs_CXX
14806 # Compile-time system search path for libraries
14807 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14809 # Run-time system search path for libraries
14810 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14812 # Fix the shell variable \$srcfile for the compiler.
14813 fix_srcfile_path=$lt_fix_srcfile_path
14815 # Set to yes if exported symbols are required.
14816 always_export_symbols=$always_export_symbols_CXX
14818 # The commands to list exported symbols.
14819 export_symbols_cmds=$lt_export_symbols_cmds_CXX
14821 # The commands to extract the exported symbol list from a shared archive.
14822 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14824 # Symbols that should not be listed in the preloaded symbols.
14825 exclude_expsyms=$lt_exclude_expsyms_CXX
14827 # Symbols that must always be exported.
14828 include_expsyms=$lt_include_expsyms_CXX
14830 # ### END LIBTOOL TAG CONFIG: $tagname
14836 # If there is no Makefile yet, we rely on a make rule to execute
14837 # `config.status --recheck' to rerun these tests and create the
14838 # libtool script then.
14839 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
14840 if test -f "$ltmain_in"; then
14841 test -f Makefile
&& make "$ltmain"
14847 ac_cpp
='$CPP $CPPFLAGS'
14848 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14849 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14850 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14856 with_gnu_ldcxx
=$with_gnu_ld
14857 with_gnu_ld
=$lt_save_with_gnu_ld
14858 lt_cv_path_LDCXX
=$lt_cv_path_LD
14859 lt_cv_path_LD
=$lt_save_path_LD
14860 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
14861 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
14869 if test -n "$F77" && test "X$F77" != "Xno"; then
14872 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
14873 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14874 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
14877 archive_cmds_need_lc_F77
=no
14878 allow_undefined_flag_F77
=
14879 always_export_symbols_F77
=no
14880 archive_expsym_cmds_F77
=
14881 export_dynamic_flag_spec_F77
=
14882 hardcode_direct_F77
=no
14883 hardcode_libdir_flag_spec_F77
=
14884 hardcode_libdir_flag_spec_ld_F77
=
14885 hardcode_libdir_separator_F77
=
14886 hardcode_minus_L_F77
=no
14887 hardcode_automatic_F77
=no
14889 module_expsym_cmds_F77
=
14890 link_all_deplibs_F77
=unknown
14891 old_archive_cmds_F77
=$old_archive_cmds
14892 no_undefined_flag_F77
=
14893 whole_archive_flag_spec_F77
=
14894 enable_shared_with_static_runtimes_F77
=no
14896 # Source file extension for f77 test sources.
14899 # Object file extension for compiled f77 test sources.
14903 # Code to be used in simple compile tests
14904 lt_simple_compile_test_code
="\
14910 # Code to be used in simple link tests
14911 lt_simple_link_test_code
="\
14916 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14918 # If no C compiler was specified, use CC.
14921 # If no C compiler flags were specified, use CFLAGS.
14922 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
14924 # Allow CC to be a program name with arguments.
14928 # save warnings/boilerplate of simple test code
14929 ac_outfile
=conftest.
$ac_objext
14930 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
14931 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
14932 _lt_compiler_boilerplate
=`cat conftest.err`
14935 ac_outfile
=conftest.
$ac_objext
14936 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
14937 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
14938 _lt_linker_boilerplate
=`cat conftest.err`
14942 # Allow CC to be a program name with arguments.
14947 for cc_temp
in $compiler""; do
14949 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
14950 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
14955 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14958 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
14959 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
14960 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
14961 echo "${ECHO_T}$can_build_shared" >&6; }
14963 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
14964 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
14965 test "$can_build_shared" = "no" && enable_shared
=no
14967 # On AIX, shared libraries and static libraries use the same namespace, and
14968 # are all built from PIC.
14971 test "$enable_shared" = yes && enable_static
=no
14972 if test -n "$RANLIB"; then
14973 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
14974 postinstall_cmds
='$RANLIB $lib'
14978 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
14979 test "$enable_shared" = yes && enable_static
=no
14983 { echo "$as_me:$LINENO: result: $enable_shared" >&5
14984 echo "${ECHO_T}$enable_shared" >&6; }
14986 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
14987 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
14988 # Make sure either enable_shared or enable_static is yes.
14989 test "$enable_shared" = yes || enable_static
=yes
14990 { echo "$as_me:$LINENO: result: $enable_static" >&5
14991 echo "${ECHO_T}$enable_static" >&6; }
14996 lt_prog_compiler_wl_F77
=
14997 lt_prog_compiler_pic_F77
=
14998 lt_prog_compiler_static_F77
=
15000 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15001 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
15003 if test "$GCC" = yes; then
15004 lt_prog_compiler_wl_F77
='-Wl,'
15005 lt_prog_compiler_static_F77
='-static'
15009 # All AIX code is PIC.
15010 if test "$host_cpu" = ia64
; then
15011 # AIX 5 now supports IA64 processor
15012 lt_prog_compiler_static_F77
='-Bstatic'
15017 # FIXME: we need at least 68020 code to build shared libraries, but
15018 # adding the `-m68020' flag to GCC prevents building anything better,
15020 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
15023 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
15024 # PIC is the default for these OSes.
15027 mingw
* | cygwin
* | pw32
* | os2
*)
15028 # This hack is so that the source file can tell whether it is being
15029 # built for inclusion in a dll (and should export symbols for example).
15030 # Although the cygwin gcc ignores -fPIC, still need this for old-style
15031 # (--disable-auto-import) libraries
15032 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
15035 darwin
* | rhapsody
*)
15036 # PIC is the default on this platform
15037 # Common symbols not allowed in MH_DYLIB files
15038 lt_prog_compiler_pic_F77
='-fno-common'
15042 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15043 # Instead, we relocate shared libraries at runtime.
15047 # Just because we use GCC doesn't mean we suddenly get shared libraries
15048 # on systems that don't support them.
15049 lt_prog_compiler_can_build_shared_F77
=no
15054 if test -d /usr
/nec
; then
15055 lt_prog_compiler_pic_F77
=-Kconform_pic
15060 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15061 # not for PA HP-UX.
15067 lt_prog_compiler_pic_F77
='-fPIC'
15073 lt_prog_compiler_pic_F77
='-fPIC'
15077 # PORTME Check for flag to pass linker flags through the system compiler.
15080 lt_prog_compiler_wl_F77
='-Wl,'
15081 if test "$host_cpu" = ia64
; then
15082 # AIX 5 now supports IA64 processor
15083 lt_prog_compiler_static_F77
='-Bstatic'
15085 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
15089 # PIC is the default on this platform
15090 # Common symbols not allowed in MH_DYLIB files
15091 case $cc_basename in
15093 lt_prog_compiler_pic_F77
='-qnocommon'
15094 lt_prog_compiler_wl_F77
='-Wl,'
15099 mingw
* | cygwin
* | pw32
* | os2
*)
15100 # This hack is so that the source file can tell whether it is being
15101 # built for inclusion in a dll (and should export symbols for example).
15102 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
15105 hpux9
* | hpux10
* | hpux11
*)
15106 lt_prog_compiler_wl_F77
='-Wl,'
15107 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15108 # not for PA HP-UX.
15114 lt_prog_compiler_pic_F77
='+Z'
15117 # Is there a better lt_prog_compiler_static that works with the bundled CC?
15118 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
15121 irix5
* | irix6
* | nonstopux
*)
15122 lt_prog_compiler_wl_F77
='-Wl,'
15123 # PIC (with -KPIC) is the default.
15124 lt_prog_compiler_static_F77
='-non_shared'
15128 lt_prog_compiler_pic_F77
='-KPIC'
15129 lt_prog_compiler_static_F77
='-Bstatic'
15132 linux
* | k
*bsd
*-gnu)
15133 case $cc_basename in
15135 lt_prog_compiler_wl_F77
='-Wl,'
15136 lt_prog_compiler_pic_F77
='-KPIC'
15137 lt_prog_compiler_static_F77
='-static'
15139 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
15140 # Portland Group compilers (*not* the Pentium gcc compiler,
15141 # which looks to be a dead project)
15142 lt_prog_compiler_wl_F77
='-Wl,'
15143 lt_prog_compiler_pic_F77
='-fpic'
15144 lt_prog_compiler_static_F77
='-Bstatic'
15147 lt_prog_compiler_wl_F77
='-Wl,'
15148 # All Alpha code is PIC.
15149 lt_prog_compiler_static_F77
='-non_shared'
15152 case `$CC -V 2>&1 | sed 5q` in
15155 lt_prog_compiler_pic_F77
='-KPIC'
15156 lt_prog_compiler_static_F77
='-Bstatic'
15157 lt_prog_compiler_wl_F77
='-Wl,'
15160 # Sun Fortran 8.3 passes all unrecognized flags to the linker
15161 lt_prog_compiler_pic_F77
='-KPIC'
15162 lt_prog_compiler_static_F77
='-Bstatic'
15163 lt_prog_compiler_wl_F77
=''
15170 osf3
* | osf4
* | osf5
*)
15171 lt_prog_compiler_wl_F77
='-Wl,'
15172 # All OSF/1 code is PIC.
15173 lt_prog_compiler_static_F77
='-non_shared'
15177 lt_prog_compiler_static_F77
='-non_shared'
15181 lt_prog_compiler_pic_F77
='-KPIC'
15182 lt_prog_compiler_static_F77
='-Bstatic'
15183 case $cc_basename in
15184 f77
* | f90
* | f95
*)
15185 lt_prog_compiler_wl_F77
='-Qoption ld ';;
15187 lt_prog_compiler_wl_F77
='-Wl,';;
15192 lt_prog_compiler_wl_F77
='-Qoption ld '
15193 lt_prog_compiler_pic_F77
='-PIC'
15194 lt_prog_compiler_static_F77
='-Bstatic'
15197 sysv4
| sysv4.2uw2
* | sysv4.3
*)
15198 lt_prog_compiler_wl_F77
='-Wl,'
15199 lt_prog_compiler_pic_F77
='-KPIC'
15200 lt_prog_compiler_static_F77
='-Bstatic'
15204 if test -d /usr
/nec
;then
15205 lt_prog_compiler_pic_F77
='-Kconform_pic'
15206 lt_prog_compiler_static_F77
='-Bstatic'
15210 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
15211 lt_prog_compiler_wl_F77
='-Wl,'
15212 lt_prog_compiler_pic_F77
='-KPIC'
15213 lt_prog_compiler_static_F77
='-Bstatic'
15217 lt_prog_compiler_wl_F77
='-Wl,'
15218 lt_prog_compiler_can_build_shared_F77
=no
15222 lt_prog_compiler_pic_F77
='-pic'
15223 lt_prog_compiler_static_F77
='-Bstatic'
15227 lt_prog_compiler_can_build_shared_F77
=no
15232 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
15233 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
15236 # Check to make sure the PIC flag actually works.
15238 if test -n "$lt_prog_compiler_pic_F77"; then
15240 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
15241 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
15242 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
15243 echo $ECHO_N "(cached) $ECHO_C" >&6
15245 lt_prog_compiler_pic_works_F77
=no
15246 ac_outfile
=conftest.
$ac_objext
15247 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15248 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
15249 # Insert the option either (1) after the last *FLAGS variable, or
15250 # (2) before a word containing "conftest.", or (3) at the end.
15251 # Note that $ac_compile itself does not contain backslashes and begins
15252 # with a dollar sign (not a hyphen), so the echo should work correctly.
15253 # The option is referenced via a variable to avoid confusing sed.
15254 lt_compile
=`echo "$ac_compile" | $SED \
15255 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15256 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15257 -e 's:$: $lt_compiler_flag:'`
15258 (eval echo "\"\$as_me:15258: $lt_compile\"" >&5)
15259 (eval "$lt_compile" 2>conftest.err
)
15261 cat conftest.err
>&5
15262 echo "$as_me:15262: \$? = $ac_status" >&5
15263 if (exit $ac_status) && test -s "$ac_outfile"; then
15264 # The compiler can only warn and ignore the option if not recognized
15265 # So say no if there are warnings other than the usual output.
15266 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
15267 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15268 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
15269 lt_prog_compiler_pic_works_F77
=yes
15275 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
15276 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
15278 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
15279 case $lt_prog_compiler_pic_F77 in
15281 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
15284 lt_prog_compiler_pic_F77
=
15285 lt_prog_compiler_can_build_shared_F77
=no
15290 # For platforms which do not support PIC, -DPIC is meaningless:
15292 lt_prog_compiler_pic_F77
=
15295 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
15300 # Check to make sure the static flag actually works.
15302 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
15303 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15304 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
15305 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
15306 echo $ECHO_N "(cached) $ECHO_C" >&6
15308 lt_prog_compiler_static_works_F77
=no
15309 save_LDFLAGS
="$LDFLAGS"
15310 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
15311 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
15312 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
15313 # The linker can only warn and ignore the option if not recognized
15314 # So say no if there are warnings
15315 if test -s conftest.err
; then
15316 # Append any errors to the config.log.
15317 cat conftest.err
1>&5
15318 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
15319 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15320 if diff conftest.exp conftest.er2
>/dev
/null
; then
15321 lt_prog_compiler_static_works_F77
=yes
15324 lt_prog_compiler_static_works_F77
=yes
15328 LDFLAGS
="$save_LDFLAGS"
15331 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
15332 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
15334 if test x
"$lt_prog_compiler_static_works_F77" = xyes
; then
15337 lt_prog_compiler_static_F77
=
15341 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15342 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
15343 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
15344 echo $ECHO_N "(cached) $ECHO_C" >&6
15346 lt_cv_prog_compiler_c_o_F77
=no
15347 $rm -r conftest
2>/dev
/null
15351 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15353 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15354 # Insert the option either (1) after the last *FLAGS variable, or
15355 # (2) before a word containing "conftest.", or (3) at the end.
15356 # Note that $ac_compile itself does not contain backslashes and begins
15357 # with a dollar sign (not a hyphen), so the echo should work correctly.
15358 lt_compile
=`echo "$ac_compile" | $SED \
15359 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15360 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15361 -e 's:$: $lt_compiler_flag:'`
15362 (eval echo "\"\$as_me:15362: $lt_compile\"" >&5)
15363 (eval "$lt_compile" 2>out
/conftest.err
)
15365 cat out
/conftest.err
>&5
15366 echo "$as_me:15366: \$? = $ac_status" >&5
15367 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15369 # The compiler can only warn and ignore the option if not recognized
15370 # So say no if there are warnings
15371 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
15372 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15373 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15374 lt_cv_prog_compiler_c_o_F77
=yes
15379 # SGI C++ compiler will create directory out/ii_files/ for
15380 # template instantiation
15381 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
15382 $rm out
/* && rmdir out
15388 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
15389 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
15392 hard_links
="nottested"
15393 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
15394 # do not overwrite the value of need_locks provided by the user
15395 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15396 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
15399 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15401 ln conftest.a conftest.b
2>&5 || hard_links
=no
15402 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15403 { echo "$as_me:$LINENO: result: $hard_links" >&5
15404 echo "${ECHO_T}$hard_links" >&6; }
15405 if test "$hard_links" = no
; then
15406 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15407 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15414 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15415 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
15418 allow_undefined_flag_F77
=
15419 enable_shared_with_static_runtimes_F77
=no
15421 archive_expsym_cmds_F77
=
15422 old_archive_From_new_cmds_F77
=
15423 old_archive_from_expsyms_cmds_F77
=
15424 export_dynamic_flag_spec_F77
=
15425 whole_archive_flag_spec_F77
=
15426 thread_safe_flag_spec_F77
=
15427 hardcode_libdir_flag_spec_F77
=
15428 hardcode_libdir_flag_spec_ld_F77
=
15429 hardcode_libdir_separator_F77
=
15430 hardcode_direct_F77
=no
15431 hardcode_minus_L_F77
=no
15432 hardcode_shlibpath_var_F77
=unsupported
15433 link_all_deplibs_F77
=unknown
15434 hardcode_automatic_F77
=no
15436 module_expsym_cmds_F77
=
15437 always_export_symbols_F77
=no
15438 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15439 # include_expsyms should be a list of space-separated symbols to be *always*
15440 # included in the symbol list
15441 include_expsyms_F77
=
15442 # exclude_expsyms can be an extended regexp of symbols to exclude
15443 # it will be wrapped by ` (' and `)$', so one must not match beginning or
15444 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15445 # as well as any symbol that contains `d'.
15446 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
15447 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15448 # platforms (ab)use it in PIC code, but their linkers get confused if
15449 # the symbol is explicitly referenced. Since portable code cannot
15450 # rely on this symbol name, it's probably fine to never include it in
15451 # preloaded symbol tables.
15452 extract_expsyms_cmds
=
15453 # Just being paranoid about ensuring that cc_basename is set.
15454 for cc_temp
in $compiler""; do
15456 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
15457 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
15462 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15465 cygwin
* | mingw
* | pw32
*)
15466 # FIXME: the MSVC++ port hasn't been tested in a loooong time
15467 # When not using gcc, we currently assume that we are using
15468 # Microsoft Visual C++.
15469 if test "$GCC" != yes; then
15474 # we just hope/assume this is gcc and not c89 (= MSVC++)
15483 if test "$with_gnu_ld" = yes; then
15484 # If archive_cmds runs LD, not CC, wlarc should be empty
15487 # Set some defaults for GNU ld with shared library support. These
15488 # are reset later if shared libraries are not supported. Putting them
15489 # here allows them to be overridden if necessary.
15490 runpath_var
=LD_RUN_PATH
15491 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
15492 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
15493 # ancient GNU ld didn't support --whole-archive et. al.
15494 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev
/null
; then
15495 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15497 whole_archive_flag_spec_F77
=
15499 supports_anon_versioning
=no
15500 case `$LD -v 2>/dev/null` in
15501 *\
[01].
* | *\
2.
[0-9].
* | *\
2.10.
*) ;; # catch versions < 2.11
15502 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
15503 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
15504 *\
2.11.
*) ;; # other 2.11 versions
15505 *) supports_anon_versioning
=yes ;;
15508 # See if GNU ld supports shared libraries.
15510 aix3
* | aix4
* | aix5
*)
15511 # On AIX/PPC, the GNU linker is very broken
15512 if test "$host_cpu" != ia64
; then
15516 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
15517 *** to be unable to reliably create shared libraries on AIX.
15518 *** Therefore, libtool is disabling shared libraries support. If you
15519 *** really care for shared libraries, you may want to modify your PATH
15520 *** so that a non-GNU linker is found, and then restart.
15527 archive_cmds_F77
='$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)'
15528 hardcode_libdir_flag_spec_F77
='-L$libdir'
15529 hardcode_minus_L_F77
=yes
15531 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15532 # that the semantics of dynamic libraries on AmigaOS, at least up
15533 # to version 4, is to share data among multiple programs linked
15534 # with the same dynamic library. Since this doesn't match the
15535 # behavior of shared libraries on other platforms, we can't use
15541 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev
/null
; then
15542 allow_undefined_flag_F77
=unsupported
15543 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15544 # support --undefined. This deserves some investigation. FIXME
15545 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15551 cygwin
* | mingw
* | pw32
*)
15552 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
15553 # as there is no search path for DLLs.
15554 hardcode_libdir_flag_spec_F77
='-L$libdir'
15555 allow_undefined_flag_F77
=unsupported
15556 always_export_symbols_F77
=no
15557 enable_shared_with_static_runtimes_F77
=yes
15558 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
15560 if $LD --help 2>&1 | grep 'auto-import' > /dev
/null
; then
15561 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15562 # If the export-symbols file already is a .def file (1st line
15563 # is EXPORTS), use it as is; otherwise, prepend...
15564 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15565 cp $export_symbols $output_objdir/$soname.def;
15567 echo EXPORTS > $output_objdir/$soname.def;
15568 cat $export_symbols >> $output_objdir/$soname.def;
15570 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15577 hardcode_direct_F77
=no
15578 hardcode_shlibpath_var_F77
=no
15579 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15580 export_dynamic_flag_spec_F77
='${wl}-E'
15581 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15582 # Instead, shared libraries are loaded at an image base (0x10000000 by
15583 # default) and relocated if they conflict, which is a slow very memory
15584 # consuming and fragmenting process. To avoid this, we pick a random,
15585 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15586 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
15587 archive_cmds_F77
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
15588 archive_expsym_cmds_F77
='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'
15591 gnu
* | linux
* | k
*bsd
*-gnu)
15592 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev
/null
; then
15594 case $cc_basename,$host_cpu in
15595 pgcc
*) # Portland Group C compiler
15596 whole_archive_flag_spec_F77
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
15597 tmp_addflag
=' $pic_flag'
15599 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
15600 whole_archive_flag_spec_F77
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
15601 tmp_addflag
=' $pic_flag -Mnomain' ;;
15602 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
15603 tmp_addflag
=' -i_dynamic' ;;
15604 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
15605 tmp_addflag
=' -i_dynamic -nofor_main' ;;
15606 ifc
* | ifort
*) # Intel Fortran compiler
15607 tmp_addflag
=' -nofor_main' ;;
15609 case `$CC -V 2>&1 | sed 5q` in
15610 *Sun\ C
*) # Sun C 5.9
15611 whole_archive_flag_spec_F77
='${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'
15612 tmp_sharedflag
='-G' ;;
15613 *Sun\ F
*) # Sun Fortran 8.3
15614 tmp_sharedflag
='-G' ;;
15616 tmp_sharedflag
='-shared' ;;
15618 archive_cmds_F77
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15620 if test $supports_anon_versioning = yes; then
15621 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
15622 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15623 $echo "local: *; };" >> $output_objdir/$libname.ver~
15624 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15632 if echo __ELF__
| $CC -E - | grep __ELF__
>/dev
/null
; then
15633 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15636 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15637 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15642 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev
/null
; then
15646 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
15647 *** create shared libraries on Solaris systems. Therefore, libtool
15648 *** is disabling shared libraries support. We urge you to upgrade GNU
15649 *** binutils to release 2.9.1 or newer. Another option is to modify
15650 *** your PATH or compiler configuration so that the native linker is
15651 *** used, and then restart.
15654 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev
/null
; then
15655 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15656 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15662 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
15663 case `$LD -v 2>&1` in
15664 *\
[01].
* | *\
2.
[0-9].
* | *\
2.1[0-5].
*)
15668 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
15669 *** reliably create shared libraries on SCO systems. Therefore, libtool
15670 *** is disabling shared libraries support. We urge you to upgrade GNU
15671 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
15672 *** your PATH or compiler configuration so that the native linker is
15673 *** used, and then restart.
15678 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev
/null
; then
15679 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
15680 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
15681 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
15690 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15692 hardcode_direct_F77
=yes
15693 hardcode_shlibpath_var_F77
=no
15697 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev
/null
; then
15698 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15699 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15706 if test "$ld_shlibs_F77" = no
; then
15708 hardcode_libdir_flag_spec_F77
=
15709 export_dynamic_flag_spec_F77
=
15710 whole_archive_flag_spec_F77
=
15713 # PORTME fill in a description of your system's linker (not GNU ld)
15716 allow_undefined_flag_F77
=unsupported
15717 always_export_symbols_F77
=yes
15718 archive_expsym_cmds_F77
='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
15719 # Note: this linker hardcodes the directories in LIBPATH if there
15720 # are no directories specified by -L.
15721 hardcode_minus_L_F77
=yes
15722 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
15723 # Neither direct hardcoding nor static linking is supported with a
15725 hardcode_direct_F77
=unsupported
15730 if test "$host_cpu" = ia64
; then
15731 # On IA64, the linker does run time linking by default, so we don't
15732 # have to do anything special.
15733 aix_use_runtimelinking
=no
15734 exp_sym_flag
='-Bexport'
15737 # If we're using GNU nm, then we don't want the "-C" option.
15738 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15739 if $NM -V 2>&1 | grep 'GNU' > /dev
/null
; then
15740 export_symbols_cmds_F77
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
15742 export_symbols_cmds_F77
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
15744 aix_use_runtimelinking
=no
15746 # Test if we are trying to use run time linking or normal
15747 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15748 # need to do runtime linking.
15749 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
15750 for ld_flag
in $LDFLAGS; do
15751 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
15752 aix_use_runtimelinking
=yes
15759 exp_sym_flag
='-bexport'
15760 no_entry_flag
='-bnoentry'
15763 # When large executables or shared objects are built, AIX ld can
15764 # have problems creating the table of contents. If linking a library
15765 # or program results in "error TOC overflow" add -mminimal-toc to
15766 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15767 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15769 archive_cmds_F77
=''
15770 hardcode_direct_F77
=yes
15771 hardcode_libdir_separator_F77
=':'
15772 link_all_deplibs_F77
=yes
15774 if test "$GCC" = yes; then
15775 case $host_os in aix4.
[012]|aix4.
[012].
*)
15776 # We only want to do this on AIX 4.2 and lower, the check
15777 # below for broken collect2 doesn't work under 4.3+
15778 collect2name
=`${CC} -print-prog-name=collect2`
15779 if test -f "$collect2name" && \
15780 strings "$collect2name" | grep resolve_lib_name
>/dev
/null
15782 # We have reworked collect2
15785 # We have old collect2
15786 hardcode_direct_F77
=unsupported
15787 # It fails to find uninstalled libraries when the uninstalled
15788 # path is not listed in the libpath. Setting hardcode_minus_L
15789 # to unsupported forces relinking
15790 hardcode_minus_L_F77
=yes
15791 hardcode_libdir_flag_spec_F77
='-L$libdir'
15792 hardcode_libdir_separator_F77
=
15796 shared_flag
='-shared'
15797 if test "$aix_use_runtimelinking" = yes; then
15798 shared_flag
="$shared_flag "'${wl}-G'
15802 if test "$host_cpu" = ia64
; then
15803 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15804 # chokes on -Wl,-G. The following line is correct:
15807 if test "$aix_use_runtimelinking" = yes; then
15808 shared_flag
='${wl}-G'
15810 shared_flag
='${wl}-bM:SRE'
15815 # It seems that -bexpall does not export symbols beginning with
15816 # underscore (_), so it is better to generate a list of symbols to export.
15817 always_export_symbols_F77
=yes
15818 if test "$aix_use_runtimelinking" = yes; then
15819 # Warning - without using the other runtime loading flags (-brtl),
15820 # -berok will link without error, but may produce a broken library.
15821 allow_undefined_flag_F77
='-berok'
15822 # Determine the default libpath from the value encoded in an empty executable.
15823 cat >conftest.
$ac_ext <<_ACEOF
15828 rm -f conftest.
$ac_objext conftest
$ac_exeext
15829 if { (ac_try
="$ac_link"
15830 case "(($ac_try" in
15831 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15832 *) ac_try_echo=$ac_try;;
15834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15835 (eval "$ac_link") 2>conftest.er1
15837 grep -v '^ *+' conftest.er1 >conftest.err
15839 cat conftest.err >&5
15840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15841 (exit $ac_status); } && {
15842 test -z "$ac_f77_werror_flag" ||
15843 test ! -s conftest.err
15844 } && test -s conftest$ac_exeext &&
15845 $as_test_x conftest$ac_exeext; then
15847 lt_aix_libpath_sed='
15848 /Import File Strings/,/^$/ {
15854 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null
| $SED -n -e "$lt_aix_libpath_sed"`
15855 # Check for a 64-bit object if we didn't find anything.
15856 if test -z "$aix_libpath"; then
15857 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null
| $SED -n -e "$lt_aix_libpath_sed"`
15860 echo "$as_me: failed program was:" >&5
15861 sed 's/^/| /' conftest.$ac_ext >&5
15866 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15867 conftest$ac_exeext conftest.$ac_ext
15868 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15870 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
15871 archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
15873 if test "$host_cpu" = ia64; then
15874 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
15875 allow_undefined_flag_F77="-z nodefs"
15876 archive_expsym_cmds_F77="\$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"
15878 # Determine the default libpath from the value encoded in an empty executable.
15879 cat >conftest.$ac_ext <<_ACEOF
15884 rm -f conftest.$ac_objext conftest$ac_exeext
15885 if { (ac_try="$ac_link"
15886 case "(($ac_try" in
15887 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15888 *) ac_try_echo
=$ac_try;;
15890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15891 (eval "$ac_link") 2>conftest.er1
15893 grep -v '^ *+' conftest.er1
>conftest.err
15895 cat conftest.err
>&5
15896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15897 (exit $ac_status); } && {
15898 test -z "$ac_f77_werror_flag" ||
15899 test ! -s conftest.err
15900 } && test -s conftest
$ac_exeext &&
15901 $as_test_x conftest
$ac_exeext; then
15903 lt_aix_libpath_sed
='
15904 /Import File Strings/,/^$/ {
15910 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15911 # Check for a 64-bit object if we didn't find anything.
15912 if test -z "$aix_libpath"; then
15913 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15916 echo "$as_me: failed program was:" >&5
15917 sed 's/^/| /' conftest.
$ac_ext >&5
15922 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15923 conftest
$ac_exeext conftest.
$ac_ext
15924 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
15926 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
15927 # Warning - without using the other run time loading flags,
15928 # -berok will link without error, but may produce a broken library.
15929 no_undefined_flag_F77
=' ${wl}-bernotok'
15930 allow_undefined_flag_F77
=' ${wl}-berok'
15931 # Exported symbols can be pulled into shared objects from archives
15932 whole_archive_flag_spec_F77
='$convenience'
15933 archive_cmds_need_lc_F77
=yes
15934 # This is similar to how AIX traditionally builds its shared libraries.
15935 archive_expsym_cmds_F77
="\$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'
15941 archive_cmds_F77
='$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)'
15942 hardcode_libdir_flag_spec_F77
='-L$libdir'
15943 hardcode_minus_L_F77
=yes
15944 # see comment about different semantics on the GNU ld section
15949 export_dynamic_flag_spec_F77
=-rdynamic
15952 cygwin
* | mingw
* | pw32
*)
15953 # When not using gcc, we currently assume that we are using
15954 # Microsoft Visual C++.
15955 # hardcode_libdir_flag_spec is actually meaningless, as there is
15956 # no search path for DLLs.
15957 hardcode_libdir_flag_spec_F77
=' '
15958 allow_undefined_flag_F77
=unsupported
15959 # Tell ltmain to make .lib files, not .a files.
15961 # Tell ltmain to make .dll files, not .so files.
15963 # FIXME: Setting linknames here is a bad hack.
15964 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15965 # The linker will automatically build a .lib file if we build a DLL.
15966 old_archive_From_new_cmds_F77
='true'
15967 # FIXME: Should let the user specify the lib program.
15968 old_archive_cmds_F77
='lib -OUT:$oldlib$oldobjs$old_deplibs'
15969 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
15970 enable_shared_with_static_runtimes_F77
=yes
15973 darwin
* | rhapsody
*)
15975 rhapsody
* | darwin1.
[012])
15976 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
15979 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15980 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15982 case ${MACOSX_DEPLOYMENT_TARGET} in
15984 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15987 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
15993 archive_cmds_need_lc_F77
=no
15994 hardcode_direct_F77
=no
15995 hardcode_automatic_F77
=yes
15996 hardcode_shlibpath_var_F77
=unsupported
15997 whole_archive_flag_spec_F77
=''
15998 link_all_deplibs_F77
=yes
15999 if test "$GCC" = yes ; then
16000 output_verbose_link_cmd
='echo'
16001 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16002 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16003 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16004 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16005 module_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16007 case $cc_basename in
16009 output_verbose_link_cmd
='echo'
16010 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
16011 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16012 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16013 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16014 module_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16024 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16025 hardcode_libdir_flag_spec_F77
='-L$libdir'
16026 hardcode_shlibpath_var_F77
=no
16033 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
16034 # support. Future versions do this automatically, but an explicit c++rt0.o
16035 # does not break anything, and helps significantly (at the cost of a little
16038 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
16039 hardcode_libdir_flag_spec_F77
='-R$libdir'
16040 hardcode_direct_F77
=yes
16041 hardcode_shlibpath_var_F77
=no
16044 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
16046 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16047 hardcode_direct_F77
=yes
16048 hardcode_minus_L_F77
=yes
16049 hardcode_shlibpath_var_F77
=no
16052 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16053 freebsd
* | dragonfly
*)
16054 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16055 hardcode_libdir_flag_spec_F77
='-R$libdir'
16056 hardcode_direct_F77
=yes
16057 hardcode_shlibpath_var_F77
=no
16061 if test "$GCC" = yes; then
16062 archive_cmds_F77
='$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'
16064 archive_cmds_F77
='$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'
16066 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
16067 hardcode_libdir_separator_F77
=:
16068 hardcode_direct_F77
=yes
16070 # hardcode_minus_L: Not really in the search PATH,
16071 # but as the default location of the library.
16072 hardcode_minus_L_F77
=yes
16073 export_dynamic_flag_spec_F77
='${wl}-E'
16077 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
16078 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16080 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
16082 if test "$with_gnu_ld" = no
; then
16083 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
16084 hardcode_libdir_separator_F77
=:
16086 hardcode_direct_F77
=yes
16087 export_dynamic_flag_spec_F77
='${wl}-E'
16089 # hardcode_minus_L: Not really in the search PATH,
16090 # but as the default location of the library.
16091 hardcode_minus_L_F77
=yes
16096 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
16099 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16102 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16105 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16111 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16114 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16117 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16121 if test "$with_gnu_ld" = no
; then
16122 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
16123 hardcode_libdir_separator_F77
=:
16127 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
16128 hardcode_direct_F77
=no
16129 hardcode_shlibpath_var_F77
=no
16132 hardcode_direct_F77
=yes
16133 export_dynamic_flag_spec_F77
='${wl}-E'
16135 # hardcode_minus_L: Not really in the search PATH,
16136 # but as the default location of the library.
16137 hardcode_minus_L_F77
=yes
16143 irix5
* | irix6
* | nonstopux
*)
16144 if test "$GCC" = yes; then
16145 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16147 archive_cmds_F77
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
16148 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
16150 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
16151 hardcode_libdir_separator_F77
=:
16152 link_all_deplibs_F77
=yes
16156 if echo __ELF__
| $CC -E - | grep __ELF__
>/dev
/null
; then
16157 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
16159 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
16161 hardcode_libdir_flag_spec_F77
='-R$libdir'
16162 hardcode_direct_F77
=yes
16163 hardcode_shlibpath_var_F77
=no
16167 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16168 hardcode_direct_F77
=yes
16169 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
16170 hardcode_libdir_separator_F77
=:
16171 hardcode_shlibpath_var_F77
=no
16175 if test -f /usr
/libexec
/ld.so
; then
16176 hardcode_direct_F77
=yes
16177 hardcode_shlibpath_var_F77
=no
16178 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16179 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16180 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
16181 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
16182 export_dynamic_flag_spec_F77
='${wl}-E'
16185 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
16186 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16187 hardcode_libdir_flag_spec_F77
='-R$libdir'
16190 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16191 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
16201 hardcode_libdir_flag_spec_F77
='-L$libdir'
16202 hardcode_minus_L_F77
=yes
16203 allow_undefined_flag_F77
=unsupported
16204 archive_cmds_F77
='$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'
16205 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16209 if test "$GCC" = yes; then
16210 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
16211 archive_cmds_F77
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16213 allow_undefined_flag_F77
=' -expect_unresolved \*'
16214 archive_cmds_F77
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
16216 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
16217 hardcode_libdir_separator_F77
=:
16220 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
16221 if test "$GCC" = yes; then
16222 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
16223 archive_cmds_F77
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16224 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
16226 allow_undefined_flag_F77
=' -expect_unresolved \*'
16227 archive_cmds_F77
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
16228 archive_expsym_cmds_F77
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
16229 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
16231 # Both c and cxx compiler support -rpath directly
16232 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
16234 hardcode_libdir_separator_F77
=:
16238 no_undefined_flag_F77
=' -z text'
16239 if test "$GCC" = yes; then
16241 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16242 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16243 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16246 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16247 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16248 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16250 hardcode_libdir_flag_spec_F77
='-R$libdir'
16251 hardcode_shlibpath_var_F77
=no
16253 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
16255 # The compiler driver will combine and reorder linker options,
16256 # but understands `-z linker_flag'. GCC discards it without `$wl',
16257 # but is careful enough not to reorder.
16258 # Supported since Solaris 2.6 (maybe 2.5.1?)
16259 if test "$GCC" = yes; then
16260 whole_archive_flag_spec_F77
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
16262 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract'
16266 link_all_deplibs_F77
=yes
16270 if test "x$host_vendor" = xsequent
; then
16271 # Use $CC to link under sequent, because it throws in some extra .o
16272 # files that make .init and .fini sections work.
16273 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16275 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16277 hardcode_libdir_flag_spec_F77
='-L$libdir'
16278 hardcode_direct_F77
=yes
16279 hardcode_minus_L_F77
=yes
16280 hardcode_shlibpath_var_F77
=no
16284 case $host_vendor in
16286 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16287 hardcode_direct_F77
=yes # is this really true???
16290 ## LD is ld it makes a PLAMLIB
16291 ## CC just makes a GrossModule.
16292 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16293 reload_cmds_F77
='$CC -r -o $output$reload_objs'
16294 hardcode_direct_F77
=no
16297 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16298 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
16301 runpath_var
='LD_RUN_PATH'
16302 hardcode_shlibpath_var_F77
=no
16306 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16307 hardcode_shlibpath_var_F77
=no
16308 export_dynamic_flag_spec_F77
='-Bexport'
16312 if test -d /usr
/nec
; then
16313 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16314 hardcode_shlibpath_var_F77
=no
16315 runpath_var
=LD_RUN_PATH
16316 hardcode_runpath_var
=yes
16321 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
16322 no_undefined_flag_F77
='${wl}-z,text'
16323 archive_cmds_need_lc_F77
=no
16324 hardcode_shlibpath_var_F77
=no
16325 runpath_var
='LD_RUN_PATH'
16327 if test "$GCC" = yes; then
16328 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16329 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16331 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16332 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16336 sysv5
* | sco3.2v5
* | sco5v6
*)
16337 # Note: We can NOT use -z defs as we might desire, because we do not
16338 # link with -lc, and that would cause any symbols used from libc to
16339 # always be unresolved, which means just about no library would
16340 # ever link correctly. If we're not using GNU ld we use -z text
16341 # though, which does catch some bad symbols but isn't as heavy-handed
16343 no_undefined_flag_F77
='${wl}-z,text'
16344 allow_undefined_flag_F77
='${wl}-z,nodefs'
16345 archive_cmds_need_lc_F77
=no
16346 hardcode_shlibpath_var_F77
=no
16347 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
16348 hardcode_libdir_separator_F77
=':'
16349 link_all_deplibs_F77
=yes
16350 export_dynamic_flag_spec_F77
='${wl}-Bexport'
16351 runpath_var
='LD_RUN_PATH'
16353 if test "$GCC" = yes; then
16354 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16355 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16357 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16358 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16363 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16364 hardcode_libdir_flag_spec_F77
='-L$libdir'
16365 hardcode_shlibpath_var_F77
=no
16374 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
16375 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
16376 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
16379 # Do we need to explicitly link libc?
16381 case "x$archive_cmds_need_lc_F77" in
16383 # Assume -lc should be added
16384 archive_cmds_need_lc_F77
=yes
16386 if test "$enable_shared" = yes && test "$GCC" = yes; then
16387 case $archive_cmds_F77 in
16389 # FIXME: we may have to deal with multi-command sequences.
16392 # Test whether the compiler implicitly links with -lc since on some
16393 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16394 # to ld, don't add -lc before -lgcc.
16395 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16396 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
16398 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16401 (eval $ac_compile) 2>&5
16403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16404 (exit $ac_status); } 2>conftest.err
; then
16407 libobjs
=conftest.
$ac_objext
16409 wl
=$lt_prog_compiler_wl_F77
16410 pic_flag
=$lt_prog_compiler_pic_F77
16416 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
16417 allow_undefined_flag_F77
=
16418 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16419 (eval $archive_cmds_F77 2\
>\
&1 \
| grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
16421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16422 (exit $ac_status); }
16424 archive_cmds_need_lc_F77
=no
16426 archive_cmds_need_lc_F77
=yes
16428 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
16430 cat conftest.err
1>&5
16433 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
16434 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
16441 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16442 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
16443 library_names_spec
=
16444 libname_spec
='lib$name'
16448 postuninstall_cmds
=
16452 shlibpath_overrides_runpath
=unknown
16454 dynamic_linker
="$host_os ld.so"
16455 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
16457 need_lib_prefix
=unknown
16458 hardcode_into_libs
=no
16460 # when you set need_version to no, make sure it does not cause -set_version
16461 # flags to be left without arguments
16462 need_version
=unknown
16467 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
16468 shlibpath_var
=LIBPATH
16470 # AIX 3 has no versioning support, so we append a major version to the name.
16471 soname_spec
='${libname}${release}${shared_ext}$major'
16478 hardcode_into_libs
=yes
16479 if test "$host_cpu" = ia64
; then
16480 # AIX 5 supports IA64
16481 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16482 shlibpath_var
=LD_LIBRARY_PATH
16484 # With GCC up to 2.95.x, collect2 would create an import file
16485 # for dependence libraries. The import file would start with
16486 # the line `#! .'. This would cause the generated library to
16487 # depend on `.', always an invalid library. This was fixed in
16488 # development snapshots of GCC prior to 3.0.
16490 aix4
| aix4.
[01] | aix4.
[01].
*)
16491 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16493 echo '#endif'; } | ${CC} -E - | grep yes > /dev
/null
; then
16496 can_build_shared
=no
16500 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16501 # soname into executable. Probably we can add versioning support to
16502 # collect2, so additional links can be useful in future.
16503 if test "$aix_use_runtimelinking" = yes; then
16504 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16505 # instead of lib<name>.a to let people know that these are not
16506 # typical AIX shared libraries.
16507 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16509 # We preserve .a as extension for shared libraries through AIX4.2
16510 # and later when we are not doing run time linking.
16511 library_names_spec
='${libname}${release}.a $libname.a'
16512 soname_spec
='${libname}${release}${shared_ext}$major'
16514 shlibpath_var
=LIBPATH
16519 library_names_spec
='$libname.ixlibrary $libname.a'
16520 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16521 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'
16525 library_names_spec
='${libname}${shared_ext}'
16526 dynamic_linker
="$host_os ld.so"
16527 shlibpath_var
=LIBRARY_PATH
16533 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16534 soname_spec
='${libname}${release}${shared_ext}$major'
16535 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
16536 shlibpath_var
=LD_LIBRARY_PATH
16537 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16538 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
16539 # the default ld.so.conf also contains /usr/contrib/lib and
16540 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16541 # libtool to hard-code these into programs
16544 cygwin
* | mingw
* | pw32
*)
16545 version_type
=windows
16550 case $GCC,$host_os in
16551 yes,cygwin
* | yes,mingw
* | yes,pw32
*)
16552 library_names_spec
='$libname.dll.a'
16553 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16554 postinstall_cmds
='base_file=`basename \${file}`~
16555 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16556 dldir=$destdir/`dirname \$dlpath`~
16557 test -d \$dldir || mkdir -p \$dldir~
16558 $install_prog $dir/$dlname \$dldir/$dlname~
16559 chmod a+x \$dldir/$dlname'
16560 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16561 dlpath=$dir/\$dldll~
16563 shlibpath_overrides_runpath
=yes
16567 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16568 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
16569 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
16572 # MinGW DLLs use traditional 'lib' prefix
16573 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
16574 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16575 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev
/null
; then
16576 # It is most probably a Windows format PATH printed by
16577 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16578 # path with ; separators, and with drive letters. We can handle the
16579 # drive letters (cygwin fileutils understands them), so leave them,
16580 # especially as we might pass files found there to a mingw objdump,
16581 # which wouldn't understand a cygwinified path. Ahh.
16582 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16584 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16588 # pw32 DLLs use 'pw' prefix rather than 'lib'
16589 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
16595 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
16598 dynamic_linker
='Win32 ld.exe'
16599 # FIXME: first we should search . and the directory the executable is in
16603 darwin
* | rhapsody
*)
16604 dynamic_linker
="$host_os dyld"
16605 version_type
=darwin
16608 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16609 soname_spec
='${libname}${release}${major}$shared_ext'
16610 shlibpath_overrides_runpath
=yes
16611 shlibpath_var
=DYLD_LIBRARY_PATH
16612 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
16614 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
16621 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16622 soname_spec
='${libname}${release}${shared_ext}$major'
16623 shlibpath_var
=LD_LIBRARY_PATH
16630 freebsd
* | dragonfly
*)
16631 # DragonFly does not have aout. When/if they implement a new
16632 # versioning mechanism, adjust this.
16633 if test -x /usr
/bin
/objformat
; then
16634 objformat
=`/usr/bin/objformat`
16637 freebsd
[123]*) objformat
=aout
;;
16638 *) objformat
=elf
;;
16641 version_type
=freebsd
-$objformat
16642 case $version_type in
16644 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16649 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16653 shlibpath_var
=LD_LIBRARY_PATH
16656 shlibpath_overrides_runpath
=yes
16658 freebsd3.
[01]* | freebsdelf3.
[01]*)
16659 shlibpath_overrides_runpath
=yes
16660 hardcode_into_libs
=yes
16662 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
16663 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
16664 shlibpath_overrides_runpath
=no
16665 hardcode_into_libs
=yes
16667 *) # from 4.6 on, and DragonFly
16668 shlibpath_overrides_runpath
=yes
16669 hardcode_into_libs
=yes
16678 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16679 soname_spec
='${libname}${release}${shared_ext}$major'
16680 shlibpath_var
=LD_LIBRARY_PATH
16681 hardcode_into_libs
=yes
16684 hpux9
* | hpux10
* | hpux11
*)
16685 # Give a soname corresponding to the major version so that dld.sl refuses to
16686 # link against other versions.
16693 hardcode_into_libs
=yes
16694 dynamic_linker
="$host_os dld.so"
16695 shlibpath_var
=LD_LIBRARY_PATH
16696 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16697 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16698 soname_spec
='${libname}${release}${shared_ext}$major'
16699 if test "X$HPUX_IA64_MODE" = X32
; then
16700 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16702 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
16704 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16708 hardcode_into_libs
=yes
16709 dynamic_linker
="$host_os dld.sl"
16710 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
16711 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16712 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16713 soname_spec
='${libname}${release}${shared_ext}$major'
16714 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16715 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16719 dynamic_linker
="$host_os dld.sl"
16720 shlibpath_var
=SHLIB_PATH
16721 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
16722 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16723 soname_spec
='${libname}${release}${shared_ext}$major'
16726 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16727 postinstall_cmds
='chmod 555 $lib'
16734 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16735 soname_spec
='${libname}${release}${shared_ext}$major'
16736 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
16737 shlibpath_var
=LD_LIBRARY_PATH
16738 shlibpath_overrides_runpath
=no
16739 hardcode_into_libs
=yes
16742 irix5
* | irix6
* | nonstopux
*)
16744 nonstopux
*) version_type
=nonstopux
;;
16746 if test "$lt_cv_prog_gnu_ld" = yes; then
16754 soname_spec
='${libname}${release}${shared_ext}$major'
16755 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16757 irix5
* | nonstopux
*)
16758 libsuff
= shlibsuff
=
16761 case $LD in # libtool.m4 will add one of these switches to LD
16762 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16763 libsuff
= shlibsuff
= libmagic
=32-bit;;
16764 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16765 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
16766 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16767 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
16768 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
16772 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
16773 shlibpath_overrides_runpath
=no
16774 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16775 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
16776 hardcode_into_libs
=yes
16779 # No shared lib support for Linux oldld, aout, or coff.
16780 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
16784 # This must be Linux ELF.
16785 linux
* | k
*bsd
*-gnu)
16789 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16790 soname_spec
='${libname}${release}${shared_ext}$major'
16791 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16792 shlibpath_var
=LD_LIBRARY_PATH
16793 shlibpath_overrides_runpath
=no
16794 # This implies no fast_install, which is unacceptable.
16795 # Some rework will be needed to allow for fast_install
16796 # before this can be enabled.
16797 hardcode_into_libs
=yes
16799 # Append ld.so.conf contents to the search path
16800 if test -f /etc
/ld.so.conf
; then
16801 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' ' '`
16802 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
16805 # We used to test for /lib/ld.so.1 and disable shared libraries on
16806 # powerpc, because MkLinux only supported shared libraries with the
16807 # GNU dynamic linker. Since this was broken with cross compilers,
16808 # most powerpc-linux boxes support dynamic linking these days and
16809 # people can always --disable-shared, the test was removed, and we
16810 # assume the GNU/Linux dynamic linker is in use.
16811 dynamic_linker
='GNU/Linux ld.so'
16818 if echo __ELF__
| $CC -E - | grep __ELF__
>/dev
/null
; then
16819 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16820 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16821 dynamic_linker
='NetBSD (a.out) ld.so'
16823 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16824 soname_spec
='${libname}${release}${shared_ext}$major'
16825 dynamic_linker
='NetBSD ld.elf_so'
16827 shlibpath_var
=LD_LIBRARY_PATH
16828 shlibpath_overrides_runpath
=yes
16829 hardcode_into_libs
=yes
16834 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16835 shlibpath_var
=LD_LIBRARY_PATH
16836 shlibpath_overrides_runpath
=yes
16843 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16844 soname_spec
='${libname}${release}${shared_ext}$major'
16845 shlibpath_var
=LD_LIBRARY_PATH
16846 shlibpath_overrides_runpath
=yes
16851 sys_lib_dlsearch_path_spec
="/usr/lib"
16853 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16855 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
16856 *) need_version
=no
;;
16858 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16859 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16860 shlibpath_var
=LD_LIBRARY_PATH
16861 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16863 openbsd2.
[89] | openbsd2.
[89].
*)
16864 shlibpath_overrides_runpath
=no
16867 shlibpath_overrides_runpath
=yes
16871 shlibpath_overrides_runpath
=yes
16876 libname_spec
='$name'
16879 library_names_spec
='$libname${shared_ext} $libname.a'
16880 dynamic_linker
='OS/2 ld.exe'
16881 shlibpath_var
=LIBPATH
16884 osf3
* | osf4
* | osf5
*)
16888 soname_spec
='${libname}${release}${shared_ext}$major'
16889 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16890 shlibpath_var
=LD_LIBRARY_PATH
16891 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16892 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
16903 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16904 soname_spec
='${libname}${release}${shared_ext}$major'
16905 shlibpath_var
=LD_LIBRARY_PATH
16906 shlibpath_overrides_runpath
=yes
16907 hardcode_into_libs
=yes
16908 # ldd complains unless libraries are executable
16909 postinstall_cmds
='chmod +x $lib'
16914 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16915 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16916 shlibpath_var
=LD_LIBRARY_PATH
16917 shlibpath_overrides_runpath
=yes
16918 if test "$with_gnu_ld" = yes; then
16926 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16927 soname_spec
='${libname}${release}${shared_ext}$major'
16928 shlibpath_var
=LD_LIBRARY_PATH
16929 case $host_vendor in
16931 shlibpath_overrides_runpath
=no
16933 export_dynamic_flag_spec
='${wl}-Blargedynsym'
16934 runpath_var
=LD_RUN_PATH
16942 shlibpath_overrides_runpath
=no
16943 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
16949 if test -d /usr
/nec
;then
16951 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16952 soname_spec
='$libname${shared_ext}.$major'
16953 shlibpath_var
=LD_LIBRARY_PATH
16957 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
16958 version_type
=freebsd
-elf
16961 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16962 soname_spec
='${libname}${release}${shared_ext}$major'
16963 shlibpath_var
=LD_LIBRARY_PATH
16964 hardcode_into_libs
=yes
16965 if test "$with_gnu_ld" = yes; then
16966 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16967 shlibpath_overrides_runpath
=no
16969 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
16970 shlibpath_overrides_runpath
=yes
16973 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
16977 sys_lib_dlsearch_path_spec
='/usr/lib'
16982 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16983 soname_spec
='${libname}${release}${shared_ext}$major'
16984 shlibpath_var
=LD_LIBRARY_PATH
16991 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16992 echo "${ECHO_T}$dynamic_linker" >&6; }
16993 test "$dynamic_linker" = no
&& can_build_shared
=no
16995 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16996 if test "$GCC" = yes; then
16997 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17000 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17001 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
17002 hardcode_action_F77
=
17003 if test -n "$hardcode_libdir_flag_spec_F77" || \
17004 test -n "$runpath_var_F77" || \
17005 test "X$hardcode_automatic_F77" = "Xyes" ; then
17007 # We can hardcode non-existant directories.
17008 if test "$hardcode_direct_F77" != no
&&
17009 # If the only mechanism to avoid hardcoding is shlibpath_var, we
17010 # have to relink, otherwise we might link with an installed library
17011 # when we should be linking with a yet-to-be-installed one
17012 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
17013 test "$hardcode_minus_L_F77" != no
; then
17014 # Linking always hardcodes the temporary library directory.
17015 hardcode_action_F77
=relink
17017 # We can link without hardcoding, and we can hardcode nonexisting dirs.
17018 hardcode_action_F77
=immediate
17021 # We cannot hardcode anything, or else we can only hardcode existing
17023 hardcode_action_F77
=unsupported
17025 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
17026 echo "${ECHO_T}$hardcode_action_F77" >&6; }
17028 if test "$hardcode_action_F77" = relink
; then
17029 # Fast installation is not supported
17030 enable_fast_install
=no
17031 elif test "$shlibpath_overrides_runpath" = yes ||
17032 test "$enable_shared" = no
; then
17033 # Fast installation is not necessary
17034 enable_fast_install
=needless
17038 # The else clause should only fire when bootstrapping the
17039 # libtool distribution, otherwise you forgot to ship ltmain.sh
17040 # with your package, and you will get complaints that there are
17041 # no rules to generate ltmain.sh.
17042 if test -f "$ltmain"; then
17043 # See if we are running on zsh, and set the options which allow our commands through
17044 # without removal of \ escapes.
17045 if test -n "${ZSH_VERSION+set}" ; then
17046 setopt NO_GLOB_SUBST
17048 # Now quote all the things that may contain metacharacters while being
17049 # careful not to overquote the AC_SUBSTed values. We take copies of the
17050 # variables and quote the copies for generation of the libtool script.
17051 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
17053 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17054 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17055 deplibs_check_method reload_flag reload_cmds need_locks \
17056 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17057 lt_cv_sys_global_symbol_to_c_name_address \
17058 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17059 old_postinstall_cmds old_postuninstall_cmds \
17063 lt_prog_compiler_wl_F77 \
17064 lt_prog_compiler_pic_F77 \
17065 lt_prog_compiler_static_F77 \
17066 lt_prog_compiler_no_builtin_flag_F77 \
17067 export_dynamic_flag_spec_F77 \
17068 thread_safe_flag_spec_F77 \
17069 whole_archive_flag_spec_F77 \
17070 enable_shared_with_static_runtimes_F77 \
17071 old_archive_cmds_F77 \
17072 old_archive_from_new_cmds_F77 \
17073 predep_objects_F77 \
17074 postdep_objects_F77 \
17077 compiler_lib_search_path_F77 \
17079 archive_expsym_cmds_F77 \
17080 postinstall_cmds_F77 \
17081 postuninstall_cmds_F77 \
17082 old_archive_from_expsyms_cmds_F77 \
17083 allow_undefined_flag_F77 \
17084 no_undefined_flag_F77 \
17085 export_symbols_cmds_F77 \
17086 hardcode_libdir_flag_spec_F77 \
17087 hardcode_libdir_flag_spec_ld_F77 \
17088 hardcode_libdir_separator_F77 \
17089 hardcode_automatic_F77 \
17091 module_expsym_cmds_F77 \
17092 lt_cv_prog_compiler_c_o_F77 \
17093 fix_srcfile_path_F77 \
17094 exclude_expsyms_F77 \
17095 include_expsyms_F77
; do
17098 old_archive_cmds_F77
| \
17099 old_archive_from_new_cmds_F77
| \
17100 archive_cmds_F77
| \
17101 archive_expsym_cmds_F77
| \
17102 module_cmds_F77
| \
17103 module_expsym_cmds_F77
| \
17104 old_archive_from_expsyms_cmds_F77
| \
17105 export_symbols_cmds_F77
| \
17106 extract_expsyms_cmds
| reload_cmds
| finish_cmds
| \
17107 postinstall_cmds
| postuninstall_cmds
| \
17108 old_postinstall_cmds
| old_postuninstall_cmds
| \
17109 sys_lib_search_path_spec
| sys_lib_dlsearch_path_spec
)
17110 # Double-quote double-evaled strings.
17111 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17114 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17120 *'\$0 --fallback-echo"')
17121 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17127 cat <<__EOF__ >> "$cfgfile"
17128 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
17130 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17132 # Shell to use when invoking shell scripts.
17135 # Whether or not to build shared libraries.
17136 build_libtool_libs=$enable_shared
17138 # Whether or not to build static libraries.
17139 build_old_libs=$enable_static
17141 # Whether or not to add -lc for building shared libraries.
17142 build_libtool_need_lc=$archive_cmds_need_lc_F77
17144 # Whether or not to disallow shared libs when runtime libs are static
17145 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
17147 # Whether or not to optimize for fast installation.
17148 fast_install=$enable_fast_install
17151 host_alias=$host_alias
17155 # The build system.
17156 build_alias=$build_alias
17160 # An echo program that does not interpret backslashes.
17165 AR_FLAGS=$lt_AR_FLAGS
17170 # LTCC compiler flags.
17171 LTCFLAGS=$lt_LTCFLAGS
17173 # A language-specific compiler.
17174 CC=$lt_compiler_F77
17176 # Is the compiler the GNU C compiler?
17182 # The linker used to build libraries.
17185 # Whether we need hard or soft links.
17188 # A BSD-compatible nm program.
17191 # A symbol stripping program
17194 # Used to examine libraries when file_magic_cmd begins "file"
17195 MAGIC_CMD=$MAGIC_CMD
17197 # Used on cygwin: DLL creation program.
17200 # Used on cygwin: object dumper.
17203 # Used on cygwin: assembler.
17206 # The name of the directory that contains temporary libtool files.
17209 # How to create reloadable object files.
17210 reload_flag=$lt_reload_flag
17211 reload_cmds=$lt_reload_cmds
17213 # How to pass a linker flag through the compiler.
17214 wl=$lt_lt_prog_compiler_wl_F77
17216 # Object file suffix (normally "o").
17217 objext="$ac_objext"
17219 # Old archive suffix (normally "a").
17222 # Shared library suffix (normally ".so").
17223 shrext_cmds='$shrext_cmds'
17225 # Executable file suffix (normally "").
17228 # Additional compiler flags for building library objects.
17229 pic_flag=$lt_lt_prog_compiler_pic_F77
17232 # What is the maximum length of a command?
17233 max_cmd_len=$lt_cv_sys_max_cmd_len
17235 # Does compiler simultaneously support -c and -o options?
17236 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
17238 # Must we lock files when doing compilation?
17239 need_locks=$lt_need_locks
17241 # Do we need the lib prefix for modules?
17242 need_lib_prefix=$need_lib_prefix
17244 # Do we need a version for libraries?
17245 need_version=$need_version
17247 # Whether dlopen is supported.
17248 dlopen_support=$enable_dlopen
17250 # Whether dlopen of programs is supported.
17251 dlopen_self=$enable_dlopen_self
17253 # Whether dlopen of statically linked programs is supported.
17254 dlopen_self_static=$enable_dlopen_self_static
17256 # Compiler flag to prevent dynamic linking.
17257 link_static_flag=$lt_lt_prog_compiler_static_F77
17259 # Compiler flag to turn off builtin functions.
17260 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
17262 # Compiler flag to allow reflexive dlopens.
17263 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
17265 # Compiler flag to generate shared objects directly from archives.
17266 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
17268 # Compiler flag to generate thread-safe objects.
17269 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
17271 # Library versioning type.
17272 version_type=$version_type
17274 # Format of library name prefix.
17275 libname_spec=$lt_libname_spec
17277 # List of archive names. First name is the real one, the rest are links.
17278 # The last name is the one that the linker finds with -lNAME.
17279 library_names_spec=$lt_library_names_spec
17281 # The coded name of the library, if different from the real name.
17282 soname_spec=$lt_soname_spec
17284 # Commands used to build and install an old-style archive.
17286 old_archive_cmds=$lt_old_archive_cmds_F77
17287 old_postinstall_cmds=$lt_old_postinstall_cmds
17288 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17290 # Create an old-style archive from a shared archive.
17291 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
17293 # Create a temporary old-style archive to link instead of a shared archive.
17294 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
17296 # Commands used to build and install a shared archive.
17297 archive_cmds=$lt_archive_cmds_F77
17298 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
17299 postinstall_cmds=$lt_postinstall_cmds
17300 postuninstall_cmds=$lt_postuninstall_cmds
17302 # Commands used to build a loadable module (assumed same as above if empty)
17303 module_cmds=$lt_module_cmds_F77
17304 module_expsym_cmds=$lt_module_expsym_cmds_F77
17306 # Commands to strip libraries.
17307 old_striplib=$lt_old_striplib
17308 striplib=$lt_striplib
17310 # Dependencies to place before the objects being linked to create a
17312 predep_objects=$lt_predep_objects_F77
17314 # Dependencies to place after the objects being linked to create a
17316 postdep_objects=$lt_postdep_objects_F77
17318 # Dependencies to place before the objects being linked to create a
17320 predeps=$lt_predeps_F77
17322 # Dependencies to place after the objects being linked to create a
17324 postdeps=$lt_postdeps_F77
17326 # The library search path used internally by the compiler when linking
17327 # a shared library.
17328 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
17330 # Method to check whether dependent libraries are shared objects.
17331 deplibs_check_method=$lt_deplibs_check_method
17333 # Command to use when deplibs_check_method == file_magic.
17334 file_magic_cmd=$lt_file_magic_cmd
17336 # Flag that allows shared libraries with undefined symbols to be built.
17337 allow_undefined_flag=$lt_allow_undefined_flag_F77
17339 # Flag that forces no undefined symbols.
17340 no_undefined_flag=$lt_no_undefined_flag_F77
17342 # Commands used to finish a libtool library installation in a directory.
17343 finish_cmds=$lt_finish_cmds
17345 # Same as above, but a single script fragment to be evaled but not shown.
17346 finish_eval=$lt_finish_eval
17348 # Take the output of nm and produce a listing of raw symbols and C names.
17349 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17351 # Transform the output of nm in a proper C declaration
17352 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17354 # Transform the output of nm in a C name address pair
17355 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17357 # This is the shared library runtime path variable.
17358 runpath_var=$runpath_var
17360 # This is the shared library path variable.
17361 shlibpath_var=$shlibpath_var
17363 # Is shlibpath searched before the hard-coded library search path?
17364 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17366 # How to hardcode a shared library path into an executable.
17367 hardcode_action=$hardcode_action_F77
17369 # Whether we should hardcode library paths into libraries.
17370 hardcode_into_libs=$hardcode_into_libs
17372 # Flag to hardcode \$libdir into a binary during linking.
17373 # This must work even if \$libdir does not exist.
17374 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
17376 # If ld is used when linking, flag to hardcode \$libdir into
17377 # a binary during linking. This must work even if \$libdir does
17379 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
17381 # Whether we need a single -rpath flag with a separated argument.
17382 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
17384 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17385 # resulting binary.
17386 hardcode_direct=$hardcode_direct_F77
17388 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17389 # resulting binary.
17390 hardcode_minus_L=$hardcode_minus_L_F77
17392 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17393 # the resulting binary.
17394 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
17396 # Set to yes if building a shared library automatically hardcodes DIR into the library
17397 # and all subsequent libraries and executables linked against it.
17398 hardcode_automatic=$hardcode_automatic_F77
17400 # Variables whose values should be saved in libtool wrapper scripts and
17401 # restored at relink time.
17402 variables_saved_for_relink="$variables_saved_for_relink"
17404 # Whether libtool must link a program against all its dependency libraries.
17405 link_all_deplibs=$link_all_deplibs_F77
17407 # Compile-time system search path for libraries
17408 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17410 # Run-time system search path for libraries
17411 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17413 # Fix the shell variable \$srcfile for the compiler.
17414 fix_srcfile_path=$lt_fix_srcfile_path
17416 # Set to yes if exported symbols are required.
17417 always_export_symbols=$always_export_symbols_F77
17419 # The commands to list exported symbols.
17420 export_symbols_cmds=$lt_export_symbols_cmds_F77
17422 # The commands to extract the exported symbol list from a shared archive.
17423 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17425 # Symbols that should not be listed in the preloaded symbols.
17426 exclude_expsyms=$lt_exclude_expsyms_F77
17428 # Symbols that must always be exported.
17429 include_expsyms=$lt_include_expsyms_F77
17431 # ### END LIBTOOL TAG CONFIG: $tagname
17437 # If there is no Makefile yet, we rely on a make rule to execute
17438 # `config.status --recheck' to rerun these tests and create the
17439 # libtool script then.
17440 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
17441 if test -f "$ltmain_in"; then
17442 test -f Makefile
&& make "$ltmain"
17448 ac_cpp
='$CPP $CPPFLAGS'
17449 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17450 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17451 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17461 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
17464 # Source file extension for Java test sources.
17467 # Object file extension for compiled Java test sources.
17471 # Code to be used in simple compile tests
17472 lt_simple_compile_test_code
="class foo {}"
17474 # Code to be used in simple link tests
17475 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }'
17477 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
17479 # If no C compiler was specified, use CC.
17482 # If no C compiler flags were specified, use CFLAGS.
17483 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
17485 # Allow CC to be a program name with arguments.
17489 # save warnings/boilerplate of simple test code
17490 ac_outfile
=conftest.
$ac_objext
17491 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
17492 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
17493 _lt_compiler_boilerplate
=`cat conftest.err`
17496 ac_outfile
=conftest.
$ac_objext
17497 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
17498 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
17499 _lt_linker_boilerplate
=`cat conftest.err`
17503 # Allow CC to be a program name with arguments.
17508 for cc_temp
in $compiler""; do
17510 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
17511 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
17516 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17519 # GCJ did not exist at the time GCC didn't implicitly link libc in.
17520 archive_cmds_need_lc_GCJ
=no
17522 old_archive_cmds_GCJ
=$old_archive_cmds
17525 lt_prog_compiler_no_builtin_flag_GCJ
=
17527 if test "$GCC" = yes; then
17528 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
17531 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
17532 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
17533 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
17534 echo $ECHO_N "(cached) $ECHO_C" >&6
17536 lt_cv_prog_compiler_rtti_exceptions
=no
17537 ac_outfile
=conftest.
$ac_objext
17538 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17539 lt_compiler_flag
="-fno-rtti -fno-exceptions"
17540 # Insert the option either (1) after the last *FLAGS variable, or
17541 # (2) before a word containing "conftest.", or (3) at the end.
17542 # Note that $ac_compile itself does not contain backslashes and begins
17543 # with a dollar sign (not a hyphen), so the echo should work correctly.
17544 # The option is referenced via a variable to avoid confusing sed.
17545 lt_compile
=`echo "$ac_compile" | $SED \
17546 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17547 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17548 -e 's:$: $lt_compiler_flag:'`
17549 (eval echo "\"\$as_me:17549: $lt_compile\"" >&5)
17550 (eval "$lt_compile" 2>conftest.err
)
17552 cat conftest.err
>&5
17553 echo "$as_me:17553: \$? = $ac_status" >&5
17554 if (exit $ac_status) && test -s "$ac_outfile"; then
17555 # The compiler can only warn and ignore the option if not recognized
17556 # So say no if there are warnings other than the usual output.
17557 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
17558 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17559 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
17560 lt_cv_prog_compiler_rtti_exceptions
=yes
17566 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
17567 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
17569 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
17570 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
17577 lt_prog_compiler_wl_GCJ
=
17578 lt_prog_compiler_pic_GCJ
=
17579 lt_prog_compiler_static_GCJ
=
17581 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
17582 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
17584 if test "$GCC" = yes; then
17585 lt_prog_compiler_wl_GCJ
='-Wl,'
17586 lt_prog_compiler_static_GCJ
='-static'
17590 # All AIX code is PIC.
17591 if test "$host_cpu" = ia64
; then
17592 # AIX 5 now supports IA64 processor
17593 lt_prog_compiler_static_GCJ
='-Bstatic'
17598 # FIXME: we need at least 68020 code to build shared libraries, but
17599 # adding the `-m68020' flag to GCC prevents building anything better,
17601 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
17604 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
17605 # PIC is the default for these OSes.
17608 mingw
* | cygwin
* | pw32
* | os2
*)
17609 # This hack is so that the source file can tell whether it is being
17610 # built for inclusion in a dll (and should export symbols for example).
17611 # Although the cygwin gcc ignores -fPIC, still need this for old-style
17612 # (--disable-auto-import) libraries
17613 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
17616 darwin
* | rhapsody
*)
17617 # PIC is the default on this platform
17618 # Common symbols not allowed in MH_DYLIB files
17619 lt_prog_compiler_pic_GCJ
='-fno-common'
17623 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
17624 # Instead, we relocate shared libraries at runtime.
17628 # Just because we use GCC doesn't mean we suddenly get shared libraries
17629 # on systems that don't support them.
17630 lt_prog_compiler_can_build_shared_GCJ
=no
17635 if test -d /usr
/nec
; then
17636 lt_prog_compiler_pic_GCJ
=-Kconform_pic
17641 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17642 # not for PA HP-UX.
17648 lt_prog_compiler_pic_GCJ
='-fPIC'
17654 lt_prog_compiler_pic_GCJ
='-fPIC'
17658 # PORTME Check for flag to pass linker flags through the system compiler.
17661 lt_prog_compiler_wl_GCJ
='-Wl,'
17662 if test "$host_cpu" = ia64
; then
17663 # AIX 5 now supports IA64 processor
17664 lt_prog_compiler_static_GCJ
='-Bstatic'
17666 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
17670 # PIC is the default on this platform
17671 # Common symbols not allowed in MH_DYLIB files
17672 case $cc_basename in
17674 lt_prog_compiler_pic_GCJ
='-qnocommon'
17675 lt_prog_compiler_wl_GCJ
='-Wl,'
17680 mingw
* | cygwin
* | pw32
* | os2
*)
17681 # This hack is so that the source file can tell whether it is being
17682 # built for inclusion in a dll (and should export symbols for example).
17683 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
17686 hpux9
* | hpux10
* | hpux11
*)
17687 lt_prog_compiler_wl_GCJ
='-Wl,'
17688 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17689 # not for PA HP-UX.
17695 lt_prog_compiler_pic_GCJ
='+Z'
17698 # Is there a better lt_prog_compiler_static that works with the bundled CC?
17699 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
17702 irix5
* | irix6
* | nonstopux
*)
17703 lt_prog_compiler_wl_GCJ
='-Wl,'
17704 # PIC (with -KPIC) is the default.
17705 lt_prog_compiler_static_GCJ
='-non_shared'
17709 lt_prog_compiler_pic_GCJ
='-KPIC'
17710 lt_prog_compiler_static_GCJ
='-Bstatic'
17713 linux
* | k
*bsd
*-gnu)
17714 case $cc_basename in
17716 lt_prog_compiler_wl_GCJ
='-Wl,'
17717 lt_prog_compiler_pic_GCJ
='-KPIC'
17718 lt_prog_compiler_static_GCJ
='-static'
17720 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
17721 # Portland Group compilers (*not* the Pentium gcc compiler,
17722 # which looks to be a dead project)
17723 lt_prog_compiler_wl_GCJ
='-Wl,'
17724 lt_prog_compiler_pic_GCJ
='-fpic'
17725 lt_prog_compiler_static_GCJ
='-Bstatic'
17728 lt_prog_compiler_wl_GCJ
='-Wl,'
17729 # All Alpha code is PIC.
17730 lt_prog_compiler_static_GCJ
='-non_shared'
17733 case `$CC -V 2>&1 | sed 5q` in
17736 lt_prog_compiler_pic_GCJ
='-KPIC'
17737 lt_prog_compiler_static_GCJ
='-Bstatic'
17738 lt_prog_compiler_wl_GCJ
='-Wl,'
17741 # Sun Fortran 8.3 passes all unrecognized flags to the linker
17742 lt_prog_compiler_pic_GCJ
='-KPIC'
17743 lt_prog_compiler_static_GCJ
='-Bstatic'
17744 lt_prog_compiler_wl_GCJ
=''
17751 osf3
* | osf4
* | osf5
*)
17752 lt_prog_compiler_wl_GCJ
='-Wl,'
17753 # All OSF/1 code is PIC.
17754 lt_prog_compiler_static_GCJ
='-non_shared'
17758 lt_prog_compiler_static_GCJ
='-non_shared'
17762 lt_prog_compiler_pic_GCJ
='-KPIC'
17763 lt_prog_compiler_static_GCJ
='-Bstatic'
17764 case $cc_basename in
17765 f77
* | f90
* | f95
*)
17766 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
17768 lt_prog_compiler_wl_GCJ
='-Wl,';;
17773 lt_prog_compiler_wl_GCJ
='-Qoption ld '
17774 lt_prog_compiler_pic_GCJ
='-PIC'
17775 lt_prog_compiler_static_GCJ
='-Bstatic'
17778 sysv4
| sysv4.2uw2
* | sysv4.3
*)
17779 lt_prog_compiler_wl_GCJ
='-Wl,'
17780 lt_prog_compiler_pic_GCJ
='-KPIC'
17781 lt_prog_compiler_static_GCJ
='-Bstatic'
17785 if test -d /usr
/nec
;then
17786 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
17787 lt_prog_compiler_static_GCJ
='-Bstatic'
17791 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
17792 lt_prog_compiler_wl_GCJ
='-Wl,'
17793 lt_prog_compiler_pic_GCJ
='-KPIC'
17794 lt_prog_compiler_static_GCJ
='-Bstatic'
17798 lt_prog_compiler_wl_GCJ
='-Wl,'
17799 lt_prog_compiler_can_build_shared_GCJ
=no
17803 lt_prog_compiler_pic_GCJ
='-pic'
17804 lt_prog_compiler_static_GCJ
='-Bstatic'
17808 lt_prog_compiler_can_build_shared_GCJ
=no
17813 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
17814 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
17817 # Check to make sure the PIC flag actually works.
17819 if test -n "$lt_prog_compiler_pic_GCJ"; then
17821 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
17822 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
17823 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
17824 echo $ECHO_N "(cached) $ECHO_C" >&6
17826 lt_prog_compiler_pic_works_GCJ
=no
17827 ac_outfile
=conftest.
$ac_objext
17828 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17829 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
17830 # Insert the option either (1) after the last *FLAGS variable, or
17831 # (2) before a word containing "conftest.", or (3) at the end.
17832 # Note that $ac_compile itself does not contain backslashes and begins
17833 # with a dollar sign (not a hyphen), so the echo should work correctly.
17834 # The option is referenced via a variable to avoid confusing sed.
17835 lt_compile
=`echo "$ac_compile" | $SED \
17836 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17837 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17838 -e 's:$: $lt_compiler_flag:'`
17839 (eval echo "\"\$as_me:17839: $lt_compile\"" >&5)
17840 (eval "$lt_compile" 2>conftest.err
)
17842 cat conftest.err
>&5
17843 echo "$as_me:17843: \$? = $ac_status" >&5
17844 if (exit $ac_status) && test -s "$ac_outfile"; then
17845 # The compiler can only warn and ignore the option if not recognized
17846 # So say no if there are warnings other than the usual output.
17847 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
17848 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17849 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
17850 lt_prog_compiler_pic_works_GCJ
=yes
17856 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
17857 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
17859 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
17860 case $lt_prog_compiler_pic_GCJ in
17862 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
17865 lt_prog_compiler_pic_GCJ
=
17866 lt_prog_compiler_can_build_shared_GCJ
=no
17871 # For platforms which do not support PIC, -DPIC is meaningless:
17873 lt_prog_compiler_pic_GCJ
=
17876 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
17881 # Check to make sure the static flag actually works.
17883 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
17884 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
17885 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
17886 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
17887 echo $ECHO_N "(cached) $ECHO_C" >&6
17889 lt_prog_compiler_static_works_GCJ
=no
17890 save_LDFLAGS
="$LDFLAGS"
17891 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
17892 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
17893 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
17894 # The linker can only warn and ignore the option if not recognized
17895 # So say no if there are warnings
17896 if test -s conftest.err
; then
17897 # Append any errors to the config.log.
17898 cat conftest.err
1>&5
17899 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
17900 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17901 if diff conftest.exp conftest.er2
>/dev
/null
; then
17902 lt_prog_compiler_static_works_GCJ
=yes
17905 lt_prog_compiler_static_works_GCJ
=yes
17909 LDFLAGS
="$save_LDFLAGS"
17912 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
17913 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
17915 if test x
"$lt_prog_compiler_static_works_GCJ" = xyes
; then
17918 lt_prog_compiler_static_GCJ
=
17922 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
17923 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
17924 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
17925 echo $ECHO_N "(cached) $ECHO_C" >&6
17927 lt_cv_prog_compiler_c_o_GCJ
=no
17928 $rm -r conftest
2>/dev
/null
17932 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17934 lt_compiler_flag
="-o out/conftest2.$ac_objext"
17935 # Insert the option either (1) after the last *FLAGS variable, or
17936 # (2) before a word containing "conftest.", or (3) at the end.
17937 # Note that $ac_compile itself does not contain backslashes and begins
17938 # with a dollar sign (not a hyphen), so the echo should work correctly.
17939 lt_compile
=`echo "$ac_compile" | $SED \
17940 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17941 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17942 -e 's:$: $lt_compiler_flag:'`
17943 (eval echo "\"\$as_me:17943: $lt_compile\"" >&5)
17944 (eval "$lt_compile" 2>out
/conftest.err
)
17946 cat out
/conftest.err
>&5
17947 echo "$as_me:17947: \$? = $ac_status" >&5
17948 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
17950 # The compiler can only warn and ignore the option if not recognized
17951 # So say no if there are warnings
17952 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
17953 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
17954 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
17955 lt_cv_prog_compiler_c_o_GCJ
=yes
17960 # SGI C++ compiler will create directory out/ii_files/ for
17961 # template instantiation
17962 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
17963 $rm out
/* && rmdir out
17969 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
17970 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
17973 hard_links
="nottested"
17974 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
17975 # do not overwrite the value of need_locks provided by the user
17976 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17977 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
17980 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17982 ln conftest.a conftest.b
2>&5 || hard_links
=no
17983 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17984 { echo "$as_me:$LINENO: result: $hard_links" >&5
17985 echo "${ECHO_T}$hard_links" >&6; }
17986 if test "$hard_links" = no
; then
17987 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17988 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17995 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17996 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
17999 allow_undefined_flag_GCJ
=
18000 enable_shared_with_static_runtimes_GCJ
=no
18002 archive_expsym_cmds_GCJ
=
18003 old_archive_From_new_cmds_GCJ
=
18004 old_archive_from_expsyms_cmds_GCJ
=
18005 export_dynamic_flag_spec_GCJ
=
18006 whole_archive_flag_spec_GCJ
=
18007 thread_safe_flag_spec_GCJ
=
18008 hardcode_libdir_flag_spec_GCJ
=
18009 hardcode_libdir_flag_spec_ld_GCJ
=
18010 hardcode_libdir_separator_GCJ
=
18011 hardcode_direct_GCJ
=no
18012 hardcode_minus_L_GCJ
=no
18013 hardcode_shlibpath_var_GCJ
=unsupported
18014 link_all_deplibs_GCJ
=unknown
18015 hardcode_automatic_GCJ
=no
18017 module_expsym_cmds_GCJ
=
18018 always_export_symbols_GCJ
=no
18019 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
18020 # include_expsyms should be a list of space-separated symbols to be *always*
18021 # included in the symbol list
18022 include_expsyms_GCJ
=
18023 # exclude_expsyms can be an extended regexp of symbols to exclude
18024 # it will be wrapped by ` (' and `)$', so one must not match beginning or
18025 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
18026 # as well as any symbol that contains `d'.
18027 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
18028 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
18029 # platforms (ab)use it in PIC code, but their linkers get confused if
18030 # the symbol is explicitly referenced. Since portable code cannot
18031 # rely on this symbol name, it's probably fine to never include it in
18032 # preloaded symbol tables.
18033 extract_expsyms_cmds
=
18034 # Just being paranoid about ensuring that cc_basename is set.
18035 for cc_temp
in $compiler""; do
18037 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
18038 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
18043 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18046 cygwin
* | mingw
* | pw32
*)
18047 # FIXME: the MSVC++ port hasn't been tested in a loooong time
18048 # When not using gcc, we currently assume that we are using
18049 # Microsoft Visual C++.
18050 if test "$GCC" != yes; then
18055 # we just hope/assume this is gcc and not c89 (= MSVC++)
18064 if test "$with_gnu_ld" = yes; then
18065 # If archive_cmds runs LD, not CC, wlarc should be empty
18068 # Set some defaults for GNU ld with shared library support. These
18069 # are reset later if shared libraries are not supported. Putting them
18070 # here allows them to be overridden if necessary.
18071 runpath_var
=LD_RUN_PATH
18072 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
18073 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
18074 # ancient GNU ld didn't support --whole-archive et. al.
18075 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev
/null
; then
18076 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18078 whole_archive_flag_spec_GCJ
=
18080 supports_anon_versioning
=no
18081 case `$LD -v 2>/dev/null` in
18082 *\
[01].
* | *\
2.
[0-9].
* | *\
2.10.
*) ;; # catch versions < 2.11
18083 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
18084 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
18085 *\
2.11.
*) ;; # other 2.11 versions
18086 *) supports_anon_versioning
=yes ;;
18089 # See if GNU ld supports shared libraries.
18091 aix3
* | aix4
* | aix5
*)
18092 # On AIX/PPC, the GNU linker is very broken
18093 if test "$host_cpu" != ia64
; then
18097 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
18098 *** to be unable to reliably create shared libraries on AIX.
18099 *** Therefore, libtool is disabling shared libraries support. If you
18100 *** really care for shared libraries, you may want to modify your PATH
18101 *** so that a non-GNU linker is found, and then restart.
18108 archive_cmds_GCJ
='$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)'
18109 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18110 hardcode_minus_L_GCJ
=yes
18112 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
18113 # that the semantics of dynamic libraries on AmigaOS, at least up
18114 # to version 4, is to share data among multiple programs linked
18115 # with the same dynamic library. Since this doesn't match the
18116 # behavior of shared libraries on other platforms, we can't use
18122 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev
/null
; then
18123 allow_undefined_flag_GCJ
=unsupported
18124 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
18125 # support --undefined. This deserves some investigation. FIXME
18126 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18132 cygwin
* | mingw
* | pw32
*)
18133 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
18134 # as there is no search path for DLLs.
18135 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18136 allow_undefined_flag_GCJ
=unsupported
18137 always_export_symbols_GCJ
=no
18138 enable_shared_with_static_runtimes_GCJ
=yes
18139 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
18141 if $LD --help 2>&1 | grep 'auto-import' > /dev
/null
; then
18142 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18143 # If the export-symbols file already is a .def file (1st line
18144 # is EXPORTS), use it as is; otherwise, prepend...
18145 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
18146 cp $export_symbols $output_objdir/$soname.def;
18148 echo EXPORTS > $output_objdir/$soname.def;
18149 cat $export_symbols >> $output_objdir/$soname.def;
18151 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18158 hardcode_direct_GCJ
=no
18159 hardcode_shlibpath_var_GCJ
=no
18160 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
18161 export_dynamic_flag_spec_GCJ
='${wl}-E'
18162 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
18163 # Instead, shared libraries are loaded at an image base (0x10000000 by
18164 # default) and relocated if they conflict, which is a slow very memory
18165 # consuming and fragmenting process. To avoid this, we pick a random,
18166 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
18167 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
18168 archive_cmds_GCJ
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
18169 archive_expsym_cmds_GCJ
='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'
18172 gnu
* | linux
* | k
*bsd
*-gnu)
18173 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev
/null
; then
18175 case $cc_basename,$host_cpu in
18176 pgcc
*) # Portland Group C compiler
18177 whole_archive_flag_spec_GCJ
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
18178 tmp_addflag
=' $pic_flag'
18180 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
18181 whole_archive_flag_spec_GCJ
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
18182 tmp_addflag
=' $pic_flag -Mnomain' ;;
18183 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
18184 tmp_addflag
=' -i_dynamic' ;;
18185 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
18186 tmp_addflag
=' -i_dynamic -nofor_main' ;;
18187 ifc
* | ifort
*) # Intel Fortran compiler
18188 tmp_addflag
=' -nofor_main' ;;
18190 case `$CC -V 2>&1 | sed 5q` in
18191 *Sun\ C
*) # Sun C 5.9
18192 whole_archive_flag_spec_GCJ
='${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'
18193 tmp_sharedflag
='-G' ;;
18194 *Sun\ F
*) # Sun Fortran 8.3
18195 tmp_sharedflag
='-G' ;;
18197 tmp_sharedflag
='-shared' ;;
18199 archive_cmds_GCJ
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18201 if test $supports_anon_versioning = yes; then
18202 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
18203 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
18204 $echo "local: *; };" >> $output_objdir/$libname.ver~
18205 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
18213 if echo __ELF__
| $CC -E - | grep __ELF__
>/dev
/null
; then
18214 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
18217 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18218 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18223 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev
/null
; then
18227 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
18228 *** create shared libraries on Solaris systems. Therefore, libtool
18229 *** is disabling shared libraries support. We urge you to upgrade GNU
18230 *** binutils to release 2.9.1 or newer. Another option is to modify
18231 *** your PATH or compiler configuration so that the native linker is
18232 *** used, and then restart.
18235 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev
/null
; then
18236 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18237 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18243 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
18244 case `$LD -v 2>&1` in
18245 *\
[01].
* | *\
2.
[0-9].
* | *\
2.1[0-5].
*)
18249 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
18250 *** reliably create shared libraries on SCO systems. Therefore, libtool
18251 *** is disabling shared libraries support. We urge you to upgrade GNU
18252 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
18253 *** your PATH or compiler configuration so that the native linker is
18254 *** used, and then restart.
18259 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev
/null
; then
18260 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
18261 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
18262 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
18271 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18273 hardcode_direct_GCJ
=yes
18274 hardcode_shlibpath_var_GCJ
=no
18278 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev
/null
; then
18279 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18280 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18287 if test "$ld_shlibs_GCJ" = no
; then
18289 hardcode_libdir_flag_spec_GCJ
=
18290 export_dynamic_flag_spec_GCJ
=
18291 whole_archive_flag_spec_GCJ
=
18294 # PORTME fill in a description of your system's linker (not GNU ld)
18297 allow_undefined_flag_GCJ
=unsupported
18298 always_export_symbols_GCJ
=yes
18299 archive_expsym_cmds_GCJ
='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
18300 # Note: this linker hardcodes the directories in LIBPATH if there
18301 # are no directories specified by -L.
18302 hardcode_minus_L_GCJ
=yes
18303 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
18304 # Neither direct hardcoding nor static linking is supported with a
18306 hardcode_direct_GCJ
=unsupported
18311 if test "$host_cpu" = ia64
; then
18312 # On IA64, the linker does run time linking by default, so we don't
18313 # have to do anything special.
18314 aix_use_runtimelinking
=no
18315 exp_sym_flag
='-Bexport'
18318 # If we're using GNU nm, then we don't want the "-C" option.
18319 # -C means demangle to AIX nm, but means don't demangle with GNU nm
18320 if $NM -V 2>&1 | grep 'GNU' > /dev
/null
; then
18321 export_symbols_cmds_GCJ
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
18323 export_symbols_cmds_GCJ
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
18325 aix_use_runtimelinking
=no
18327 # Test if we are trying to use run time linking or normal
18328 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
18329 # need to do runtime linking.
18330 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
18331 for ld_flag
in $LDFLAGS; do
18332 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
18333 aix_use_runtimelinking
=yes
18340 exp_sym_flag
='-bexport'
18341 no_entry_flag
='-bnoentry'
18344 # When large executables or shared objects are built, AIX ld can
18345 # have problems creating the table of contents. If linking a library
18346 # or program results in "error TOC overflow" add -mminimal-toc to
18347 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
18348 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
18350 archive_cmds_GCJ
=''
18351 hardcode_direct_GCJ
=yes
18352 hardcode_libdir_separator_GCJ
=':'
18353 link_all_deplibs_GCJ
=yes
18355 if test "$GCC" = yes; then
18356 case $host_os in aix4.
[012]|aix4.
[012].
*)
18357 # We only want to do this on AIX 4.2 and lower, the check
18358 # below for broken collect2 doesn't work under 4.3+
18359 collect2name
=`${CC} -print-prog-name=collect2`
18360 if test -f "$collect2name" && \
18361 strings "$collect2name" | grep resolve_lib_name
>/dev
/null
18363 # We have reworked collect2
18366 # We have old collect2
18367 hardcode_direct_GCJ
=unsupported
18368 # It fails to find uninstalled libraries when the uninstalled
18369 # path is not listed in the libpath. Setting hardcode_minus_L
18370 # to unsupported forces relinking
18371 hardcode_minus_L_GCJ
=yes
18372 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18373 hardcode_libdir_separator_GCJ
=
18377 shared_flag
='-shared'
18378 if test "$aix_use_runtimelinking" = yes; then
18379 shared_flag
="$shared_flag "'${wl}-G'
18383 if test "$host_cpu" = ia64
; then
18384 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
18385 # chokes on -Wl,-G. The following line is correct:
18388 if test "$aix_use_runtimelinking" = yes; then
18389 shared_flag
='${wl}-G'
18391 shared_flag
='${wl}-bM:SRE'
18396 # It seems that -bexpall does not export symbols beginning with
18397 # underscore (_), so it is better to generate a list of symbols to export.
18398 always_export_symbols_GCJ
=yes
18399 if test "$aix_use_runtimelinking" = yes; then
18400 # Warning - without using the other runtime loading flags (-brtl),
18401 # -berok will link without error, but may produce a broken library.
18402 allow_undefined_flag_GCJ
='-berok'
18403 # Determine the default libpath from the value encoded in an empty executable.
18404 cat >conftest.
$ac_ext <<_ACEOF
18407 cat confdefs.h
>>conftest.
$ac_ext
18408 cat >>conftest.
$ac_ext <<_ACEOF
18409 /* end confdefs.h. */
18419 rm -f conftest.
$ac_objext conftest
$ac_exeext
18420 if { (ac_try
="$ac_link"
18421 case "(($ac_try" in
18422 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18423 *) ac_try_echo=$ac_try;;
18425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18426 (eval "$ac_link") 2>conftest.er1
18428 grep -v '^ *+' conftest.er1 >conftest.err
18430 cat conftest.err >&5
18431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18432 (exit $ac_status); } && {
18433 test -z "$ac_c_werror_flag" ||
18434 test ! -s conftest.err
18435 } && test -s conftest$ac_exeext &&
18436 $as_test_x conftest$ac_exeext; then
18438 lt_aix_libpath_sed='
18439 /Import File Strings/,/^$/ {
18445 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null
| $SED -n -e "$lt_aix_libpath_sed"`
18446 # Check for a 64-bit object if we didn't find anything.
18447 if test -z "$aix_libpath"; then
18448 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null
| $SED -n -e "$lt_aix_libpath_sed"`
18451 echo "$as_me: failed program was:" >&5
18452 sed 's/^/| /' conftest.$ac_ext >&5
18457 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18458 conftest$ac_exeext conftest.$ac_ext
18459 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18461 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
18462 archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
18464 if test "$host_cpu" = ia64; then
18465 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
18466 allow_undefined_flag_GCJ="-z nodefs"
18467 archive_expsym_cmds_GCJ="\$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"
18469 # Determine the default libpath from the value encoded in an empty executable.
18470 cat >conftest.$ac_ext <<_ACEOF
18473 cat confdefs.h >>conftest.$ac_ext
18474 cat >>conftest.$ac_ext <<_ACEOF
18475 /* end confdefs.h. */
18485 rm -f conftest.$ac_objext conftest$ac_exeext
18486 if { (ac_try="$ac_link"
18487 case "(($ac_try" in
18488 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18489 *) ac_try_echo
=$ac_try;;
18491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18492 (eval "$ac_link") 2>conftest.er1
18494 grep -v '^ *+' conftest.er1
>conftest.err
18496 cat conftest.err
>&5
18497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18498 (exit $ac_status); } && {
18499 test -z "$ac_c_werror_flag" ||
18500 test ! -s conftest.err
18501 } && test -s conftest
$ac_exeext &&
18502 $as_test_x conftest
$ac_exeext; then
18504 lt_aix_libpath_sed
='
18505 /Import File Strings/,/^$/ {
18511 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18512 # Check for a 64-bit object if we didn't find anything.
18513 if test -z "$aix_libpath"; then
18514 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18517 echo "$as_me: failed program was:" >&5
18518 sed 's/^/| /' conftest.
$ac_ext >&5
18523 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
18524 conftest
$ac_exeext conftest.
$ac_ext
18525 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
18527 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
18528 # Warning - without using the other run time loading flags,
18529 # -berok will link without error, but may produce a broken library.
18530 no_undefined_flag_GCJ
=' ${wl}-bernotok'
18531 allow_undefined_flag_GCJ
=' ${wl}-berok'
18532 # Exported symbols can be pulled into shared objects from archives
18533 whole_archive_flag_spec_GCJ
='$convenience'
18534 archive_cmds_need_lc_GCJ
=yes
18535 # This is similar to how AIX traditionally builds its shared libraries.
18536 archive_expsym_cmds_GCJ
="\$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'
18542 archive_cmds_GCJ
='$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)'
18543 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18544 hardcode_minus_L_GCJ
=yes
18545 # see comment about different semantics on the GNU ld section
18550 export_dynamic_flag_spec_GCJ
=-rdynamic
18553 cygwin
* | mingw
* | pw32
*)
18554 # When not using gcc, we currently assume that we are using
18555 # Microsoft Visual C++.
18556 # hardcode_libdir_flag_spec is actually meaningless, as there is
18557 # no search path for DLLs.
18558 hardcode_libdir_flag_spec_GCJ
=' '
18559 allow_undefined_flag_GCJ
=unsupported
18560 # Tell ltmain to make .lib files, not .a files.
18562 # Tell ltmain to make .dll files, not .so files.
18564 # FIXME: Setting linknames here is a bad hack.
18565 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
18566 # The linker will automatically build a .lib file if we build a DLL.
18567 old_archive_From_new_cmds_GCJ
='true'
18568 # FIXME: Should let the user specify the lib program.
18569 old_archive_cmds_GCJ
='lib -OUT:$oldlib$oldobjs$old_deplibs'
18570 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
18571 enable_shared_with_static_runtimes_GCJ
=yes
18574 darwin
* | rhapsody
*)
18576 rhapsody
* | darwin1.
[012])
18577 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
18580 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
18581 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18583 case ${MACOSX_DEPLOYMENT_TARGET} in
18585 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18588 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
18594 archive_cmds_need_lc_GCJ
=no
18595 hardcode_direct_GCJ
=no
18596 hardcode_automatic_GCJ
=yes
18597 hardcode_shlibpath_var_GCJ
=unsupported
18598 whole_archive_flag_spec_GCJ
=''
18599 link_all_deplibs_GCJ
=yes
18600 if test "$GCC" = yes ; then
18601 output_verbose_link_cmd
='echo'
18602 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
18603 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18604 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18605 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18606 module_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18608 case $cc_basename in
18610 output_verbose_link_cmd
='echo'
18611 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
18612 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18613 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18614 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18615 module_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18625 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18626 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18627 hardcode_shlibpath_var_GCJ
=no
18634 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
18635 # support. Future versions do this automatically, but an explicit c++rt0.o
18636 # does not break anything, and helps significantly (at the cost of a little
18639 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
18640 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18641 hardcode_direct_GCJ
=yes
18642 hardcode_shlibpath_var_GCJ
=no
18645 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
18647 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18648 hardcode_direct_GCJ
=yes
18649 hardcode_minus_L_GCJ
=yes
18650 hardcode_shlibpath_var_GCJ
=no
18653 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
18654 freebsd
* | dragonfly
*)
18655 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
18656 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18657 hardcode_direct_GCJ
=yes
18658 hardcode_shlibpath_var_GCJ
=no
18662 if test "$GCC" = yes; then
18663 archive_cmds_GCJ
='$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'
18665 archive_cmds_GCJ
='$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'
18667 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
18668 hardcode_libdir_separator_GCJ
=:
18669 hardcode_direct_GCJ
=yes
18671 # hardcode_minus_L: Not really in the search PATH,
18672 # but as the default location of the library.
18673 hardcode_minus_L_GCJ
=yes
18674 export_dynamic_flag_spec_GCJ
='${wl}-E'
18678 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
18679 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18681 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
18683 if test "$with_gnu_ld" = no
; then
18684 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
18685 hardcode_libdir_separator_GCJ
=:
18687 hardcode_direct_GCJ
=yes
18688 export_dynamic_flag_spec_GCJ
='${wl}-E'
18690 # hardcode_minus_L: Not really in the search PATH,
18691 # but as the default location of the library.
18692 hardcode_minus_L_GCJ
=yes
18697 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
18700 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18703 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18706 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18712 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18715 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18718 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18722 if test "$with_gnu_ld" = no
; then
18723 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
18724 hardcode_libdir_separator_GCJ
=:
18728 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
18729 hardcode_direct_GCJ
=no
18730 hardcode_shlibpath_var_GCJ
=no
18733 hardcode_direct_GCJ
=yes
18734 export_dynamic_flag_spec_GCJ
='${wl}-E'
18736 # hardcode_minus_L: Not really in the search PATH,
18737 # but as the default location of the library.
18738 hardcode_minus_L_GCJ
=yes
18744 irix5
* | irix6
* | nonstopux
*)
18745 if test "$GCC" = yes; then
18746 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18748 archive_cmds_GCJ
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
18749 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
18751 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18752 hardcode_libdir_separator_GCJ
=:
18753 link_all_deplibs_GCJ
=yes
18757 if echo __ELF__
| $CC -E - | grep __ELF__
>/dev
/null
; then
18758 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
18760 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
18762 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18763 hardcode_direct_GCJ
=yes
18764 hardcode_shlibpath_var_GCJ
=no
18768 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18769 hardcode_direct_GCJ
=yes
18770 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18771 hardcode_libdir_separator_GCJ
=:
18772 hardcode_shlibpath_var_GCJ
=no
18776 if test -f /usr
/libexec
/ld.so
; then
18777 hardcode_direct_GCJ
=yes
18778 hardcode_shlibpath_var_GCJ
=no
18779 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18780 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18781 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
18782 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
18783 export_dynamic_flag_spec_GCJ
='${wl}-E'
18786 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
18787 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18788 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18791 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18792 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
18802 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18803 hardcode_minus_L_GCJ
=yes
18804 allow_undefined_flag_GCJ
=unsupported
18805 archive_cmds_GCJ
='$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'
18806 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
18810 if test "$GCC" = yes; then
18811 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
18812 archive_cmds_GCJ
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18814 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
18815 archive_cmds_GCJ
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
18817 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18818 hardcode_libdir_separator_GCJ
=:
18821 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
18822 if test "$GCC" = yes; then
18823 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
18824 archive_cmds_GCJ
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18825 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18827 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
18828 archive_cmds_GCJ
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
18829 archive_expsym_cmds_GCJ
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
18830 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
18832 # Both c and cxx compiler support -rpath directly
18833 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
18835 hardcode_libdir_separator_GCJ
=:
18839 no_undefined_flag_GCJ
=' -z text'
18840 if test "$GCC" = yes; then
18842 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18843 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18844 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
18847 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
18848 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18849 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
18851 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18852 hardcode_shlibpath_var_GCJ
=no
18854 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
18856 # The compiler driver will combine and reorder linker options,
18857 # but understands `-z linker_flag'. GCC discards it without `$wl',
18858 # but is careful enough not to reorder.
18859 # Supported since Solaris 2.6 (maybe 2.5.1?)
18860 if test "$GCC" = yes; then
18861 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
18863 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract'
18867 link_all_deplibs_GCJ
=yes
18871 if test "x$host_vendor" = xsequent
; then
18872 # Use $CC to link under sequent, because it throws in some extra .o
18873 # files that make .init and .fini sections work.
18874 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
18876 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
18878 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18879 hardcode_direct_GCJ
=yes
18880 hardcode_minus_L_GCJ
=yes
18881 hardcode_shlibpath_var_GCJ
=no
18885 case $host_vendor in
18887 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18888 hardcode_direct_GCJ
=yes # is this really true???
18891 ## LD is ld it makes a PLAMLIB
18892 ## CC just makes a GrossModule.
18893 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
18894 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
18895 hardcode_direct_GCJ
=no
18898 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18899 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
18902 runpath_var
='LD_RUN_PATH'
18903 hardcode_shlibpath_var_GCJ
=no
18907 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18908 hardcode_shlibpath_var_GCJ
=no
18909 export_dynamic_flag_spec_GCJ
='-Bexport'
18913 if test -d /usr
/nec
; then
18914 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18915 hardcode_shlibpath_var_GCJ
=no
18916 runpath_var
=LD_RUN_PATH
18917 hardcode_runpath_var
=yes
18922 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
18923 no_undefined_flag_GCJ
='${wl}-z,text'
18924 archive_cmds_need_lc_GCJ
=no
18925 hardcode_shlibpath_var_GCJ
=no
18926 runpath_var
='LD_RUN_PATH'
18928 if test "$GCC" = yes; then
18929 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18930 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18932 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18933 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18937 sysv5
* | sco3.2v5
* | sco5v6
*)
18938 # Note: We can NOT use -z defs as we might desire, because we do not
18939 # link with -lc, and that would cause any symbols used from libc to
18940 # always be unresolved, which means just about no library would
18941 # ever link correctly. If we're not using GNU ld we use -z text
18942 # though, which does catch some bad symbols but isn't as heavy-handed
18944 no_undefined_flag_GCJ
='${wl}-z,text'
18945 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
18946 archive_cmds_need_lc_GCJ
=no
18947 hardcode_shlibpath_var_GCJ
=no
18948 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
18949 hardcode_libdir_separator_GCJ
=':'
18950 link_all_deplibs_GCJ
=yes
18951 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
18952 runpath_var
='LD_RUN_PATH'
18954 if test "$GCC" = yes; then
18955 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18956 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18958 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18959 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18964 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18965 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18966 hardcode_shlibpath_var_GCJ
=no
18975 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
18976 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
18977 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
18980 # Do we need to explicitly link libc?
18982 case "x$archive_cmds_need_lc_GCJ" in
18984 # Assume -lc should be added
18985 archive_cmds_need_lc_GCJ
=yes
18987 if test "$enable_shared" = yes && test "$GCC" = yes; then
18988 case $archive_cmds_GCJ in
18990 # FIXME: we may have to deal with multi-command sequences.
18993 # Test whether the compiler implicitly links with -lc since on some
18994 # systems, -lgcc has to come before -lc. If gcc already passes -lc
18995 # to ld, don't add -lc before -lgcc.
18996 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18997 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
18999 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
19001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19002 (eval $ac_compile) 2>&5
19004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19005 (exit $ac_status); } 2>conftest.err
; then
19008 libobjs
=conftest.
$ac_objext
19010 wl
=$lt_prog_compiler_wl_GCJ
19011 pic_flag
=$lt_prog_compiler_pic_GCJ
19017 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
19018 allow_undefined_flag_GCJ
=
19019 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
19020 (eval $archive_cmds_GCJ 2\
>\
&1 \
| grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
19022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19023 (exit $ac_status); }
19025 archive_cmds_need_lc_GCJ
=no
19027 archive_cmds_need_lc_GCJ
=yes
19029 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
19031 cat conftest.err
1>&5
19034 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
19035 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
19042 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
19043 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
19044 library_names_spec
=
19045 libname_spec
='lib$name'
19049 postuninstall_cmds
=
19053 shlibpath_overrides_runpath
=unknown
19055 dynamic_linker
="$host_os ld.so"
19056 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
19058 need_lib_prefix
=unknown
19059 hardcode_into_libs
=no
19061 # when you set need_version to no, make sure it does not cause -set_version
19062 # flags to be left without arguments
19063 need_version
=unknown
19068 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
19069 shlibpath_var
=LIBPATH
19071 # AIX 3 has no versioning support, so we append a major version to the name.
19072 soname_spec
='${libname}${release}${shared_ext}$major'
19079 hardcode_into_libs
=yes
19080 if test "$host_cpu" = ia64
; then
19081 # AIX 5 supports IA64
19082 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
19083 shlibpath_var
=LD_LIBRARY_PATH
19085 # With GCC up to 2.95.x, collect2 would create an import file
19086 # for dependence libraries. The import file would start with
19087 # the line `#! .'. This would cause the generated library to
19088 # depend on `.', always an invalid library. This was fixed in
19089 # development snapshots of GCC prior to 3.0.
19091 aix4
| aix4.
[01] | aix4.
[01].
*)
19092 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
19094 echo '#endif'; } | ${CC} -E - | grep yes > /dev
/null
; then
19097 can_build_shared
=no
19101 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
19102 # soname into executable. Probably we can add versioning support to
19103 # collect2, so additional links can be useful in future.
19104 if test "$aix_use_runtimelinking" = yes; then
19105 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
19106 # instead of lib<name>.a to let people know that these are not
19107 # typical AIX shared libraries.
19108 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19110 # We preserve .a as extension for shared libraries through AIX4.2
19111 # and later when we are not doing run time linking.
19112 library_names_spec
='${libname}${release}.a $libname.a'
19113 soname_spec
='${libname}${release}${shared_ext}$major'
19115 shlibpath_var
=LIBPATH
19120 library_names_spec
='$libname.ixlibrary $libname.a'
19121 # Create ${libname}_ixlibrary.a entries in /sys/libs.
19122 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'
19126 library_names_spec
='${libname}${shared_ext}'
19127 dynamic_linker
="$host_os ld.so"
19128 shlibpath_var
=LIBRARY_PATH
19134 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19135 soname_spec
='${libname}${release}${shared_ext}$major'
19136 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
19137 shlibpath_var
=LD_LIBRARY_PATH
19138 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
19139 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
19140 # the default ld.so.conf also contains /usr/contrib/lib and
19141 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
19142 # libtool to hard-code these into programs
19145 cygwin
* | mingw
* | pw32
*)
19146 version_type
=windows
19151 case $GCC,$host_os in
19152 yes,cygwin
* | yes,mingw
* | yes,pw32
*)
19153 library_names_spec
='$libname.dll.a'
19154 # DLL is installed to $(libdir)/../bin by postinstall_cmds
19155 postinstall_cmds
='base_file=`basename \${file}`~
19156 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
19157 dldir=$destdir/`dirname \$dlpath`~
19158 test -d \$dldir || mkdir -p \$dldir~
19159 $install_prog $dir/$dlname \$dldir/$dlname~
19160 chmod a+x \$dldir/$dlname'
19161 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
19162 dlpath=$dir/\$dldll~
19164 shlibpath_overrides_runpath
=yes
19168 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
19169 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
19170 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
19173 # MinGW DLLs use traditional 'lib' prefix
19174 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
19175 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
19176 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev
/null
; then
19177 # It is most probably a Windows format PATH printed by
19178 # mingw gcc, but we are running on Cygwin. Gcc prints its search
19179 # path with ; separators, and with drive letters. We can handle the
19180 # drive letters (cygwin fileutils understands them), so leave them,
19181 # especially as we might pass files found there to a mingw objdump,
19182 # which wouldn't understand a cygwinified path. Ahh.
19183 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
19185 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
19189 # pw32 DLLs use 'pw' prefix rather than 'lib'
19190 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
19196 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
19199 dynamic_linker
='Win32 ld.exe'
19200 # FIXME: first we should search . and the directory the executable is in
19204 darwin
* | rhapsody
*)
19205 dynamic_linker
="$host_os dyld"
19206 version_type
=darwin
19209 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
19210 soname_spec
='${libname}${release}${major}$shared_ext'
19211 shlibpath_overrides_runpath
=yes
19212 shlibpath_var
=DYLD_LIBRARY_PATH
19213 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
19215 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
19222 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
19223 soname_spec
='${libname}${release}${shared_ext}$major'
19224 shlibpath_var
=LD_LIBRARY_PATH
19231 freebsd
* | dragonfly
*)
19232 # DragonFly does not have aout. When/if they implement a new
19233 # versioning mechanism, adjust this.
19234 if test -x /usr
/bin
/objformat
; then
19235 objformat
=`/usr/bin/objformat`
19238 freebsd
[123]*) objformat
=aout
;;
19239 *) objformat
=elf
;;
19242 version_type
=freebsd
-$objformat
19243 case $version_type in
19245 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19250 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
19254 shlibpath_var
=LD_LIBRARY_PATH
19257 shlibpath_overrides_runpath
=yes
19259 freebsd3.
[01]* | freebsdelf3.
[01]*)
19260 shlibpath_overrides_runpath
=yes
19261 hardcode_into_libs
=yes
19263 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
19264 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
19265 shlibpath_overrides_runpath
=no
19266 hardcode_into_libs
=yes
19268 *) # from 4.6 on, and DragonFly
19269 shlibpath_overrides_runpath
=yes
19270 hardcode_into_libs
=yes
19279 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
19280 soname_spec
='${libname}${release}${shared_ext}$major'
19281 shlibpath_var
=LD_LIBRARY_PATH
19282 hardcode_into_libs
=yes
19285 hpux9
* | hpux10
* | hpux11
*)
19286 # Give a soname corresponding to the major version so that dld.sl refuses to
19287 # link against other versions.
19294 hardcode_into_libs
=yes
19295 dynamic_linker
="$host_os dld.so"
19296 shlibpath_var
=LD_LIBRARY_PATH
19297 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
19298 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19299 soname_spec
='${libname}${release}${shared_ext}$major'
19300 if test "X$HPUX_IA64_MODE" = X32
; then
19301 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
19303 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
19305 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
19309 hardcode_into_libs
=yes
19310 dynamic_linker
="$host_os dld.sl"
19311 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
19312 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
19313 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19314 soname_spec
='${libname}${release}${shared_ext}$major'
19315 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
19316 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
19320 dynamic_linker
="$host_os dld.sl"
19321 shlibpath_var
=SHLIB_PATH
19322 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
19323 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19324 soname_spec
='${libname}${release}${shared_ext}$major'
19327 # HP-UX runs *really* slowly unless shared libraries are mode 555.
19328 postinstall_cmds
='chmod 555 $lib'
19335 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19336 soname_spec
='${libname}${release}${shared_ext}$major'
19337 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
19338 shlibpath_var
=LD_LIBRARY_PATH
19339 shlibpath_overrides_runpath
=no
19340 hardcode_into_libs
=yes
19343 irix5
* | irix6
* | nonstopux
*)
19345 nonstopux
*) version_type
=nonstopux
;;
19347 if test "$lt_cv_prog_gnu_ld" = yes; then
19355 soname_spec
='${libname}${release}${shared_ext}$major'
19356 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
19358 irix5
* | nonstopux
*)
19359 libsuff
= shlibsuff
=
19362 case $LD in # libtool.m4 will add one of these switches to LD
19363 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
19364 libsuff
= shlibsuff
= libmagic
=32-bit;;
19365 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
19366 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
19367 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
19368 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
19369 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
19373 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
19374 shlibpath_overrides_runpath
=no
19375 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
19376 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
19377 hardcode_into_libs
=yes
19380 # No shared lib support for Linux oldld, aout, or coff.
19381 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
19385 # This must be Linux ELF.
19386 linux
* | k
*bsd
*-gnu)
19390 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19391 soname_spec
='${libname}${release}${shared_ext}$major'
19392 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
19393 shlibpath_var
=LD_LIBRARY_PATH
19394 shlibpath_overrides_runpath
=no
19395 # This implies no fast_install, which is unacceptable.
19396 # Some rework will be needed to allow for fast_install
19397 # before this can be enabled.
19398 hardcode_into_libs
=yes
19400 # Append ld.so.conf contents to the search path
19401 if test -f /etc
/ld.so.conf
; then
19402 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' ' '`
19403 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
19406 # We used to test for /lib/ld.so.1 and disable shared libraries on
19407 # powerpc, because MkLinux only supported shared libraries with the
19408 # GNU dynamic linker. Since this was broken with cross compilers,
19409 # most powerpc-linux boxes support dynamic linking these days and
19410 # people can always --disable-shared, the test was removed, and we
19411 # assume the GNU/Linux dynamic linker is in use.
19412 dynamic_linker
='GNU/Linux ld.so'
19419 if echo __ELF__
| $CC -E - | grep __ELF__
>/dev
/null
; then
19420 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19421 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19422 dynamic_linker
='NetBSD (a.out) ld.so'
19424 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19425 soname_spec
='${libname}${release}${shared_ext}$major'
19426 dynamic_linker
='NetBSD ld.elf_so'
19428 shlibpath_var
=LD_LIBRARY_PATH
19429 shlibpath_overrides_runpath
=yes
19430 hardcode_into_libs
=yes
19435 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19436 shlibpath_var
=LD_LIBRARY_PATH
19437 shlibpath_overrides_runpath
=yes
19444 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19445 soname_spec
='${libname}${release}${shared_ext}$major'
19446 shlibpath_var
=LD_LIBRARY_PATH
19447 shlibpath_overrides_runpath
=yes
19452 sys_lib_dlsearch_path_spec
="/usr/lib"
19454 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
19456 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
19457 *) need_version
=no
;;
19459 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19460 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19461 shlibpath_var
=LD_LIBRARY_PATH
19462 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19464 openbsd2.
[89] | openbsd2.
[89].
*)
19465 shlibpath_overrides_runpath
=no
19468 shlibpath_overrides_runpath
=yes
19472 shlibpath_overrides_runpath
=yes
19477 libname_spec
='$name'
19480 library_names_spec
='$libname${shared_ext} $libname.a'
19481 dynamic_linker
='OS/2 ld.exe'
19482 shlibpath_var
=LIBPATH
19485 osf3
* | osf4
* | osf5
*)
19489 soname_spec
='${libname}${release}${shared_ext}$major'
19490 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19491 shlibpath_var
=LD_LIBRARY_PATH
19492 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
19493 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
19504 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19505 soname_spec
='${libname}${release}${shared_ext}$major'
19506 shlibpath_var
=LD_LIBRARY_PATH
19507 shlibpath_overrides_runpath
=yes
19508 hardcode_into_libs
=yes
19509 # ldd complains unless libraries are executable
19510 postinstall_cmds
='chmod +x $lib'
19515 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19516 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
19517 shlibpath_var
=LD_LIBRARY_PATH
19518 shlibpath_overrides_runpath
=yes
19519 if test "$with_gnu_ld" = yes; then
19527 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19528 soname_spec
='${libname}${release}${shared_ext}$major'
19529 shlibpath_var
=LD_LIBRARY_PATH
19530 case $host_vendor in
19532 shlibpath_overrides_runpath
=no
19534 export_dynamic_flag_spec
='${wl}-Blargedynsym'
19535 runpath_var
=LD_RUN_PATH
19543 shlibpath_overrides_runpath
=no
19544 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
19550 if test -d /usr
/nec
;then
19552 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
19553 soname_spec
='$libname${shared_ext}.$major'
19554 shlibpath_var
=LD_LIBRARY_PATH
19558 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
19559 version_type
=freebsd
-elf
19562 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19563 soname_spec
='${libname}${release}${shared_ext}$major'
19564 shlibpath_var
=LD_LIBRARY_PATH
19565 hardcode_into_libs
=yes
19566 if test "$with_gnu_ld" = yes; then
19567 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
19568 shlibpath_overrides_runpath
=no
19570 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
19571 shlibpath_overrides_runpath
=yes
19574 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
19578 sys_lib_dlsearch_path_spec
='/usr/lib'
19583 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19584 soname_spec
='${libname}${release}${shared_ext}$major'
19585 shlibpath_var
=LD_LIBRARY_PATH
19592 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
19593 echo "${ECHO_T}$dynamic_linker" >&6; }
19594 test "$dynamic_linker" = no
&& can_build_shared
=no
19596 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
19597 if test "$GCC" = yes; then
19598 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
19601 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
19602 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
19603 hardcode_action_GCJ
=
19604 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
19605 test -n "$runpath_var_GCJ" || \
19606 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
19608 # We can hardcode non-existant directories.
19609 if test "$hardcode_direct_GCJ" != no
&&
19610 # If the only mechanism to avoid hardcoding is shlibpath_var, we
19611 # have to relink, otherwise we might link with an installed library
19612 # when we should be linking with a yet-to-be-installed one
19613 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
19614 test "$hardcode_minus_L_GCJ" != no
; then
19615 # Linking always hardcodes the temporary library directory.
19616 hardcode_action_GCJ
=relink
19618 # We can link without hardcoding, and we can hardcode nonexisting dirs.
19619 hardcode_action_GCJ
=immediate
19622 # We cannot hardcode anything, or else we can only hardcode existing
19624 hardcode_action_GCJ
=unsupported
19626 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
19627 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
19629 if test "$hardcode_action_GCJ" = relink
; then
19630 # Fast installation is not supported
19631 enable_fast_install
=no
19632 elif test "$shlibpath_overrides_runpath" = yes ||
19633 test "$enable_shared" = no
; then
19634 # Fast installation is not necessary
19635 enable_fast_install
=needless
19639 # The else clause should only fire when bootstrapping the
19640 # libtool distribution, otherwise you forgot to ship ltmain.sh
19641 # with your package, and you will get complaints that there are
19642 # no rules to generate ltmain.sh.
19643 if test -f "$ltmain"; then
19644 # See if we are running on zsh, and set the options which allow our commands through
19645 # without removal of \ escapes.
19646 if test -n "${ZSH_VERSION+set}" ; then
19647 setopt NO_GLOB_SUBST
19649 # Now quote all the things that may contain metacharacters while being
19650 # careful not to overquote the AC_SUBSTed values. We take copies of the
19651 # variables and quote the copies for generation of the libtool script.
19652 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19654 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19655 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19656 deplibs_check_method reload_flag reload_cmds need_locks \
19657 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19658 lt_cv_sys_global_symbol_to_c_name_address \
19659 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19660 old_postinstall_cmds old_postuninstall_cmds \
19664 lt_prog_compiler_wl_GCJ \
19665 lt_prog_compiler_pic_GCJ \
19666 lt_prog_compiler_static_GCJ \
19667 lt_prog_compiler_no_builtin_flag_GCJ \
19668 export_dynamic_flag_spec_GCJ \
19669 thread_safe_flag_spec_GCJ \
19670 whole_archive_flag_spec_GCJ \
19671 enable_shared_with_static_runtimes_GCJ \
19672 old_archive_cmds_GCJ \
19673 old_archive_from_new_cmds_GCJ \
19674 predep_objects_GCJ \
19675 postdep_objects_GCJ \
19678 compiler_lib_search_path_GCJ \
19680 archive_expsym_cmds_GCJ \
19681 postinstall_cmds_GCJ \
19682 postuninstall_cmds_GCJ \
19683 old_archive_from_expsyms_cmds_GCJ \
19684 allow_undefined_flag_GCJ \
19685 no_undefined_flag_GCJ \
19686 export_symbols_cmds_GCJ \
19687 hardcode_libdir_flag_spec_GCJ \
19688 hardcode_libdir_flag_spec_ld_GCJ \
19689 hardcode_libdir_separator_GCJ \
19690 hardcode_automatic_GCJ \
19692 module_expsym_cmds_GCJ \
19693 lt_cv_prog_compiler_c_o_GCJ \
19694 fix_srcfile_path_GCJ \
19695 exclude_expsyms_GCJ \
19696 include_expsyms_GCJ
; do
19699 old_archive_cmds_GCJ
| \
19700 old_archive_from_new_cmds_GCJ
| \
19701 archive_cmds_GCJ
| \
19702 archive_expsym_cmds_GCJ
| \
19703 module_cmds_GCJ
| \
19704 module_expsym_cmds_GCJ
| \
19705 old_archive_from_expsyms_cmds_GCJ
| \
19706 export_symbols_cmds_GCJ
| \
19707 extract_expsyms_cmds
| reload_cmds
| finish_cmds
| \
19708 postinstall_cmds
| postuninstall_cmds
| \
19709 old_postinstall_cmds
| old_postuninstall_cmds
| \
19710 sys_lib_search_path_spec
| sys_lib_dlsearch_path_spec
)
19711 # Double-quote double-evaled strings.
19712 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19715 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19721 *'\$0 --fallback-echo"')
19722 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19728 cat <<__EOF__ >> "$cfgfile"
19729 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19731 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19733 # Shell to use when invoking shell scripts.
19736 # Whether or not to build shared libraries.
19737 build_libtool_libs=$enable_shared
19739 # Whether or not to build static libraries.
19740 build_old_libs=$enable_static
19742 # Whether or not to add -lc for building shared libraries.
19743 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
19745 # Whether or not to disallow shared libs when runtime libs are static
19746 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
19748 # Whether or not to optimize for fast installation.
19749 fast_install=$enable_fast_install
19752 host_alias=$host_alias
19756 # The build system.
19757 build_alias=$build_alias
19761 # An echo program that does not interpret backslashes.
19766 AR_FLAGS=$lt_AR_FLAGS
19771 # LTCC compiler flags.
19772 LTCFLAGS=$lt_LTCFLAGS
19774 # A language-specific compiler.
19775 CC=$lt_compiler_GCJ
19777 # Is the compiler the GNU C compiler?
19783 # The linker used to build libraries.
19786 # Whether we need hard or soft links.
19789 # A BSD-compatible nm program.
19792 # A symbol stripping program
19795 # Used to examine libraries when file_magic_cmd begins "file"
19796 MAGIC_CMD=$MAGIC_CMD
19798 # Used on cygwin: DLL creation program.
19801 # Used on cygwin: object dumper.
19804 # Used on cygwin: assembler.
19807 # The name of the directory that contains temporary libtool files.
19810 # How to create reloadable object files.
19811 reload_flag=$lt_reload_flag
19812 reload_cmds=$lt_reload_cmds
19814 # How to pass a linker flag through the compiler.
19815 wl=$lt_lt_prog_compiler_wl_GCJ
19817 # Object file suffix (normally "o").
19818 objext="$ac_objext"
19820 # Old archive suffix (normally "a").
19823 # Shared library suffix (normally ".so").
19824 shrext_cmds='$shrext_cmds'
19826 # Executable file suffix (normally "").
19829 # Additional compiler flags for building library objects.
19830 pic_flag=$lt_lt_prog_compiler_pic_GCJ
19833 # What is the maximum length of a command?
19834 max_cmd_len=$lt_cv_sys_max_cmd_len
19836 # Does compiler simultaneously support -c and -o options?
19837 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
19839 # Must we lock files when doing compilation?
19840 need_locks=$lt_need_locks
19842 # Do we need the lib prefix for modules?
19843 need_lib_prefix=$need_lib_prefix
19845 # Do we need a version for libraries?
19846 need_version=$need_version
19848 # Whether dlopen is supported.
19849 dlopen_support=$enable_dlopen
19851 # Whether dlopen of programs is supported.
19852 dlopen_self=$enable_dlopen_self
19854 # Whether dlopen of statically linked programs is supported.
19855 dlopen_self_static=$enable_dlopen_self_static
19857 # Compiler flag to prevent dynamic linking.
19858 link_static_flag=$lt_lt_prog_compiler_static_GCJ
19860 # Compiler flag to turn off builtin functions.
19861 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
19863 # Compiler flag to allow reflexive dlopens.
19864 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
19866 # Compiler flag to generate shared objects directly from archives.
19867 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
19869 # Compiler flag to generate thread-safe objects.
19870 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
19872 # Library versioning type.
19873 version_type=$version_type
19875 # Format of library name prefix.
19876 libname_spec=$lt_libname_spec
19878 # List of archive names. First name is the real one, the rest are links.
19879 # The last name is the one that the linker finds with -lNAME.
19880 library_names_spec=$lt_library_names_spec
19882 # The coded name of the library, if different from the real name.
19883 soname_spec=$lt_soname_spec
19885 # Commands used to build and install an old-style archive.
19887 old_archive_cmds=$lt_old_archive_cmds_GCJ
19888 old_postinstall_cmds=$lt_old_postinstall_cmds
19889 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19891 # Create an old-style archive from a shared archive.
19892 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
19894 # Create a temporary old-style archive to link instead of a shared archive.
19895 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
19897 # Commands used to build and install a shared archive.
19898 archive_cmds=$lt_archive_cmds_GCJ
19899 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
19900 postinstall_cmds=$lt_postinstall_cmds
19901 postuninstall_cmds=$lt_postuninstall_cmds
19903 # Commands used to build a loadable module (assumed same as above if empty)
19904 module_cmds=$lt_module_cmds_GCJ
19905 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
19907 # Commands to strip libraries.
19908 old_striplib=$lt_old_striplib
19909 striplib=$lt_striplib
19911 # Dependencies to place before the objects being linked to create a
19913 predep_objects=$lt_predep_objects_GCJ
19915 # Dependencies to place after the objects being linked to create a
19917 postdep_objects=$lt_postdep_objects_GCJ
19919 # Dependencies to place before the objects being linked to create a
19921 predeps=$lt_predeps_GCJ
19923 # Dependencies to place after the objects being linked to create a
19925 postdeps=$lt_postdeps_GCJ
19927 # The library search path used internally by the compiler when linking
19928 # a shared library.
19929 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
19931 # Method to check whether dependent libraries are shared objects.
19932 deplibs_check_method=$lt_deplibs_check_method
19934 # Command to use when deplibs_check_method == file_magic.
19935 file_magic_cmd=$lt_file_magic_cmd
19937 # Flag that allows shared libraries with undefined symbols to be built.
19938 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
19940 # Flag that forces no undefined symbols.
19941 no_undefined_flag=$lt_no_undefined_flag_GCJ
19943 # Commands used to finish a libtool library installation in a directory.
19944 finish_cmds=$lt_finish_cmds
19946 # Same as above, but a single script fragment to be evaled but not shown.
19947 finish_eval=$lt_finish_eval
19949 # Take the output of nm and produce a listing of raw symbols and C names.
19950 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19952 # Transform the output of nm in a proper C declaration
19953 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19955 # Transform the output of nm in a C name address pair
19956 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19958 # This is the shared library runtime path variable.
19959 runpath_var=$runpath_var
19961 # This is the shared library path variable.
19962 shlibpath_var=$shlibpath_var
19964 # Is shlibpath searched before the hard-coded library search path?
19965 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19967 # How to hardcode a shared library path into an executable.
19968 hardcode_action=$hardcode_action_GCJ
19970 # Whether we should hardcode library paths into libraries.
19971 hardcode_into_libs=$hardcode_into_libs
19973 # Flag to hardcode \$libdir into a binary during linking.
19974 # This must work even if \$libdir does not exist.
19975 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
19977 # If ld is used when linking, flag to hardcode \$libdir into
19978 # a binary during linking. This must work even if \$libdir does
19980 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
19982 # Whether we need a single -rpath flag with a separated argument.
19983 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
19985 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19986 # resulting binary.
19987 hardcode_direct=$hardcode_direct_GCJ
19989 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19990 # resulting binary.
19991 hardcode_minus_L=$hardcode_minus_L_GCJ
19993 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19994 # the resulting binary.
19995 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
19997 # Set to yes if building a shared library automatically hardcodes DIR into the library
19998 # and all subsequent libraries and executables linked against it.
19999 hardcode_automatic=$hardcode_automatic_GCJ
20001 # Variables whose values should be saved in libtool wrapper scripts and
20002 # restored at relink time.
20003 variables_saved_for_relink="$variables_saved_for_relink"
20005 # Whether libtool must link a program against all its dependency libraries.
20006 link_all_deplibs=$link_all_deplibs_GCJ
20008 # Compile-time system search path for libraries
20009 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20011 # Run-time system search path for libraries
20012 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20014 # Fix the shell variable \$srcfile for the compiler.
20015 fix_srcfile_path=$lt_fix_srcfile_path
20017 # Set to yes if exported symbols are required.
20018 always_export_symbols=$always_export_symbols_GCJ
20020 # The commands to list exported symbols.
20021 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
20023 # The commands to extract the exported symbol list from a shared archive.
20024 extract_expsyms_cmds=$lt_extract_expsyms_cmds
20026 # Symbols that should not be listed in the preloaded symbols.
20027 exclude_expsyms=$lt_exclude_expsyms_GCJ
20029 # Symbols that must always be exported.
20030 include_expsyms=$lt_include_expsyms_GCJ
20032 # ### END LIBTOOL TAG CONFIG: $tagname
20038 # If there is no Makefile yet, we rely on a make rule to execute
20039 # `config.status --recheck' to rerun these tests and create the
20040 # libtool script then.
20041 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
20042 if test -f "$ltmain_in"; then
20043 test -f Makefile
&& make "$ltmain"
20049 ac_cpp
='$CPP $CPPFLAGS'
20050 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20051 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20052 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20064 # Source file extension for RC test sources.
20067 # Object file extension for compiled RC test sources.
20071 # Code to be used in simple compile tests
20072 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
20074 # Code to be used in simple link tests
20075 lt_simple_link_test_code
="$lt_simple_compile_test_code"
20077 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
20079 # If no C compiler was specified, use CC.
20082 # If no C compiler flags were specified, use CFLAGS.
20083 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
20085 # Allow CC to be a program name with arguments.
20089 # save warnings/boilerplate of simple test code
20090 ac_outfile
=conftest.
$ac_objext
20091 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
20092 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
20093 _lt_compiler_boilerplate
=`cat conftest.err`
20096 ac_outfile
=conftest.
$ac_objext
20097 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
20098 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
20099 _lt_linker_boilerplate
=`cat conftest.err`
20103 # Allow CC to be a program name with arguments.
20108 for cc_temp
in $compiler""; do
20110 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
20111 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
20116 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
20118 lt_cv_prog_compiler_c_o_RC
=yes
20120 # The else clause should only fire when bootstrapping the
20121 # libtool distribution, otherwise you forgot to ship ltmain.sh
20122 # with your package, and you will get complaints that there are
20123 # no rules to generate ltmain.sh.
20124 if test -f "$ltmain"; then
20125 # See if we are running on zsh, and set the options which allow our commands through
20126 # without removal of \ escapes.
20127 if test -n "${ZSH_VERSION+set}" ; then
20128 setopt NO_GLOB_SUBST
20130 # Now quote all the things that may contain metacharacters while being
20131 # careful not to overquote the AC_SUBSTed values. We take copies of the
20132 # variables and quote the copies for generation of the libtool script.
20133 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
20135 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
20136 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
20137 deplibs_check_method reload_flag reload_cmds need_locks \
20138 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
20139 lt_cv_sys_global_symbol_to_c_name_address \
20140 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
20141 old_postinstall_cmds old_postuninstall_cmds \
20145 lt_prog_compiler_wl_RC \
20146 lt_prog_compiler_pic_RC \
20147 lt_prog_compiler_static_RC \
20148 lt_prog_compiler_no_builtin_flag_RC \
20149 export_dynamic_flag_spec_RC \
20150 thread_safe_flag_spec_RC \
20151 whole_archive_flag_spec_RC \
20152 enable_shared_with_static_runtimes_RC \
20153 old_archive_cmds_RC \
20154 old_archive_from_new_cmds_RC \
20155 predep_objects_RC \
20156 postdep_objects_RC \
20159 compiler_lib_search_path_RC \
20161 archive_expsym_cmds_RC \
20162 postinstall_cmds_RC \
20163 postuninstall_cmds_RC \
20164 old_archive_from_expsyms_cmds_RC \
20165 allow_undefined_flag_RC \
20166 no_undefined_flag_RC \
20167 export_symbols_cmds_RC \
20168 hardcode_libdir_flag_spec_RC \
20169 hardcode_libdir_flag_spec_ld_RC \
20170 hardcode_libdir_separator_RC \
20171 hardcode_automatic_RC \
20173 module_expsym_cmds_RC \
20174 lt_cv_prog_compiler_c_o_RC \
20175 fix_srcfile_path_RC \
20176 exclude_expsyms_RC \
20177 include_expsyms_RC
; do
20180 old_archive_cmds_RC
| \
20181 old_archive_from_new_cmds_RC
| \
20182 archive_cmds_RC
| \
20183 archive_expsym_cmds_RC
| \
20185 module_expsym_cmds_RC
| \
20186 old_archive_from_expsyms_cmds_RC
| \
20187 export_symbols_cmds_RC
| \
20188 extract_expsyms_cmds
| reload_cmds
| finish_cmds
| \
20189 postinstall_cmds
| postuninstall_cmds
| \
20190 old_postinstall_cmds
| old_postuninstall_cmds
| \
20191 sys_lib_search_path_spec
| sys_lib_dlsearch_path_spec
)
20192 # Double-quote double-evaled strings.
20193 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
20196 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
20202 *'\$0 --fallback-echo"')
20203 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
20209 cat <<__EOF__ >> "$cfgfile"
20210 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
20212 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20214 # Shell to use when invoking shell scripts.
20217 # Whether or not to build shared libraries.
20218 build_libtool_libs=$enable_shared
20220 # Whether or not to build static libraries.
20221 build_old_libs=$enable_static
20223 # Whether or not to add -lc for building shared libraries.
20224 build_libtool_need_lc=$archive_cmds_need_lc_RC
20226 # Whether or not to disallow shared libs when runtime libs are static
20227 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
20229 # Whether or not to optimize for fast installation.
20230 fast_install=$enable_fast_install
20233 host_alias=$host_alias
20237 # The build system.
20238 build_alias=$build_alias
20242 # An echo program that does not interpret backslashes.
20247 AR_FLAGS=$lt_AR_FLAGS
20252 # LTCC compiler flags.
20253 LTCFLAGS=$lt_LTCFLAGS
20255 # A language-specific compiler.
20258 # Is the compiler the GNU C compiler?
20264 # The linker used to build libraries.
20267 # Whether we need hard or soft links.
20270 # A BSD-compatible nm program.
20273 # A symbol stripping program
20276 # Used to examine libraries when file_magic_cmd begins "file"
20277 MAGIC_CMD=$MAGIC_CMD
20279 # Used on cygwin: DLL creation program.
20282 # Used on cygwin: object dumper.
20285 # Used on cygwin: assembler.
20288 # The name of the directory that contains temporary libtool files.
20291 # How to create reloadable object files.
20292 reload_flag=$lt_reload_flag
20293 reload_cmds=$lt_reload_cmds
20295 # How to pass a linker flag through the compiler.
20296 wl=$lt_lt_prog_compiler_wl_RC
20298 # Object file suffix (normally "o").
20299 objext="$ac_objext"
20301 # Old archive suffix (normally "a").
20304 # Shared library suffix (normally ".so").
20305 shrext_cmds='$shrext_cmds'
20307 # Executable file suffix (normally "").
20310 # Additional compiler flags for building library objects.
20311 pic_flag=$lt_lt_prog_compiler_pic_RC
20314 # What is the maximum length of a command?
20315 max_cmd_len=$lt_cv_sys_max_cmd_len
20317 # Does compiler simultaneously support -c and -o options?
20318 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
20320 # Must we lock files when doing compilation?
20321 need_locks=$lt_need_locks
20323 # Do we need the lib prefix for modules?
20324 need_lib_prefix=$need_lib_prefix
20326 # Do we need a version for libraries?
20327 need_version=$need_version
20329 # Whether dlopen is supported.
20330 dlopen_support=$enable_dlopen
20332 # Whether dlopen of programs is supported.
20333 dlopen_self=$enable_dlopen_self
20335 # Whether dlopen of statically linked programs is supported.
20336 dlopen_self_static=$enable_dlopen_self_static
20338 # Compiler flag to prevent dynamic linking.
20339 link_static_flag=$lt_lt_prog_compiler_static_RC
20341 # Compiler flag to turn off builtin functions.
20342 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
20344 # Compiler flag to allow reflexive dlopens.
20345 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
20347 # Compiler flag to generate shared objects directly from archives.
20348 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
20350 # Compiler flag to generate thread-safe objects.
20351 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
20353 # Library versioning type.
20354 version_type=$version_type
20356 # Format of library name prefix.
20357 libname_spec=$lt_libname_spec
20359 # List of archive names. First name is the real one, the rest are links.
20360 # The last name is the one that the linker finds with -lNAME.
20361 library_names_spec=$lt_library_names_spec
20363 # The coded name of the library, if different from the real name.
20364 soname_spec=$lt_soname_spec
20366 # Commands used to build and install an old-style archive.
20368 old_archive_cmds=$lt_old_archive_cmds_RC
20369 old_postinstall_cmds=$lt_old_postinstall_cmds
20370 old_postuninstall_cmds=$lt_old_postuninstall_cmds
20372 # Create an old-style archive from a shared archive.
20373 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
20375 # Create a temporary old-style archive to link instead of a shared archive.
20376 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
20378 # Commands used to build and install a shared archive.
20379 archive_cmds=$lt_archive_cmds_RC
20380 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
20381 postinstall_cmds=$lt_postinstall_cmds
20382 postuninstall_cmds=$lt_postuninstall_cmds
20384 # Commands used to build a loadable module (assumed same as above if empty)
20385 module_cmds=$lt_module_cmds_RC
20386 module_expsym_cmds=$lt_module_expsym_cmds_RC
20388 # Commands to strip libraries.
20389 old_striplib=$lt_old_striplib
20390 striplib=$lt_striplib
20392 # Dependencies to place before the objects being linked to create a
20394 predep_objects=$lt_predep_objects_RC
20396 # Dependencies to place after the objects being linked to create a
20398 postdep_objects=$lt_postdep_objects_RC
20400 # Dependencies to place before the objects being linked to create a
20402 predeps=$lt_predeps_RC
20404 # Dependencies to place after the objects being linked to create a
20406 postdeps=$lt_postdeps_RC
20408 # The library search path used internally by the compiler when linking
20409 # a shared library.
20410 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
20412 # Method to check whether dependent libraries are shared objects.
20413 deplibs_check_method=$lt_deplibs_check_method
20415 # Command to use when deplibs_check_method == file_magic.
20416 file_magic_cmd=$lt_file_magic_cmd
20418 # Flag that allows shared libraries with undefined symbols to be built.
20419 allow_undefined_flag=$lt_allow_undefined_flag_RC
20421 # Flag that forces no undefined symbols.
20422 no_undefined_flag=$lt_no_undefined_flag_RC
20424 # Commands used to finish a libtool library installation in a directory.
20425 finish_cmds=$lt_finish_cmds
20427 # Same as above, but a single script fragment to be evaled but not shown.
20428 finish_eval=$lt_finish_eval
20430 # Take the output of nm and produce a listing of raw symbols and C names.
20431 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20433 # Transform the output of nm in a proper C declaration
20434 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20436 # Transform the output of nm in a C name address pair
20437 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20439 # This is the shared library runtime path variable.
20440 runpath_var=$runpath_var
20442 # This is the shared library path variable.
20443 shlibpath_var=$shlibpath_var
20445 # Is shlibpath searched before the hard-coded library search path?
20446 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20448 # How to hardcode a shared library path into an executable.
20449 hardcode_action=$hardcode_action_RC
20451 # Whether we should hardcode library paths into libraries.
20452 hardcode_into_libs=$hardcode_into_libs
20454 # Flag to hardcode \$libdir into a binary during linking.
20455 # This must work even if \$libdir does not exist.
20456 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
20458 # If ld is used when linking, flag to hardcode \$libdir into
20459 # a binary during linking. This must work even if \$libdir does
20461 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
20463 # Whether we need a single -rpath flag with a separated argument.
20464 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
20466 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
20467 # resulting binary.
20468 hardcode_direct=$hardcode_direct_RC
20470 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
20471 # resulting binary.
20472 hardcode_minus_L=$hardcode_minus_L_RC
20474 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
20475 # the resulting binary.
20476 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
20478 # Set to yes if building a shared library automatically hardcodes DIR into the library
20479 # and all subsequent libraries and executables linked against it.
20480 hardcode_automatic=$hardcode_automatic_RC
20482 # Variables whose values should be saved in libtool wrapper scripts and
20483 # restored at relink time.
20484 variables_saved_for_relink="$variables_saved_for_relink"
20486 # Whether libtool must link a program against all its dependency libraries.
20487 link_all_deplibs=$link_all_deplibs_RC
20489 # Compile-time system search path for libraries
20490 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20492 # Run-time system search path for libraries
20493 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20495 # Fix the shell variable \$srcfile for the compiler.
20496 fix_srcfile_path=$lt_fix_srcfile_path
20498 # Set to yes if exported symbols are required.
20499 always_export_symbols=$always_export_symbols_RC
20501 # The commands to list exported symbols.
20502 export_symbols_cmds=$lt_export_symbols_cmds_RC
20504 # The commands to extract the exported symbol list from a shared archive.
20505 extract_expsyms_cmds=$lt_extract_expsyms_cmds
20507 # Symbols that should not be listed in the preloaded symbols.
20508 exclude_expsyms=$lt_exclude_expsyms_RC
20510 # Symbols that must always be exported.
20511 include_expsyms=$lt_include_expsyms_RC
20513 # ### END LIBTOOL TAG CONFIG: $tagname
20519 # If there is no Makefile yet, we rely on a make rule to execute
20520 # `config.status --recheck' to rerun these tests and create the
20521 # libtool script then.
20522 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
20523 if test -f "$ltmain_in"; then
20524 test -f Makefile
&& make "$ltmain"
20530 ac_cpp
='$CPP $CPPFLAGS'
20531 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20532 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20533 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20540 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
20541 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
20542 { (exit 1); exit 1; }; }
20546 # Append the new tag name to the list of available tags.
20547 if test -n "$tagname" ; then
20548 available_tags
="$available_tags $tagname"
20554 # Now substitute the updated list of available tags.
20555 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
20556 mv "${ofile}T" "$ofile"
20560 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
20561 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
20562 { (exit 1); exit 1; }; }
20568 # This can be used to rebuild libtool when needed
20569 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
20571 # Always use our own libtool.
20572 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
20574 # Prevent multiple expansion
20596 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
20597 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
20599 if test "$LN_S" = "ln -s"; then
20600 { echo "$as_me:$LINENO: result: yes" >&5
20601 echo "${ECHO_T}yes" >&6; }
20603 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
20604 echo "${ECHO_T}no, using $LN_S" >&6; }
20607 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
20608 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
20609 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
20610 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
20611 echo $ECHO_N "(cached) $ECHO_C" >&6
20613 cat >conftest.
make <<\_ACEOF
20616 @
echo '@@@%%%=$(MAKE)=@@@%%%'
20618 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
20619 case `${MAKE-make} -f conftest.make 2>/dev/null` in
20620 *@@@
%%%=?
*=@@@
%%%*)
20621 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
20623 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
20625 rm -f conftest.
make
20627 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
20628 { echo "$as_me:$LINENO: result: yes" >&5
20629 echo "${ECHO_T}yes" >&6; }
20632 { echo "$as_me:$LINENO: result: no" >&5
20633 echo "${ECHO_T}no" >&6; }
20634 SET_MAKE
="MAKE=${MAKE-make}"
20637 if test $ac_cv_c_compiler_gnu = yes; then
20638 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
20639 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
20640 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
20641 echo $ECHO_N "(cached) $ECHO_C" >&6
20643 ac_pattern
="Autoconf.*'x'"
20644 cat >conftest.
$ac_ext <<_ACEOF
20647 cat confdefs.h
>>conftest.
$ac_ext
20648 cat >>conftest.
$ac_ext <<_ACEOF
20649 /* end confdefs.h. */
20653 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20654 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
20655 ac_cv_prog_gcc_traditional
=yes
20657 ac_cv_prog_gcc_traditional
=no
20662 if test $ac_cv_prog_gcc_traditional = no
; then
20663 cat >conftest.
$ac_ext <<_ACEOF
20666 cat confdefs.h
>>conftest.
$ac_ext
20667 cat >>conftest.
$ac_ext <<_ACEOF
20668 /* end confdefs.h. */
20669 #include <termio.h>
20672 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20673 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
20674 ac_cv_prog_gcc_traditional
=yes
20680 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
20681 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
20682 if test $ac_cv_prog_gcc_traditional = yes; then
20683 CC
="$CC -traditional"
20687 # Extract the first word of "gmake", so it can be a program name with args.
20688 set dummy gmake
; ac_word
=$2
20689 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20690 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20691 if test "${ac_cv_prog_MAKER+set}" = set; then
20692 echo $ECHO_N "(cached) $ECHO_C" >&6
20694 if test -n "$MAKER"; then
20695 ac_cv_prog_MAKER
="$MAKER" # Let the user override the test.
20697 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20698 for as_dir
in $PATH
20701 test -z "$as_dir" && as_dir
=.
20702 for ac_exec_ext
in '' $ac_executable_extensions; do
20703 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20704 ac_cv_prog_MAKER
="gmake"
20705 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20712 test -z "$ac_cv_prog_MAKER" && ac_cv_prog_MAKER
="make"
20715 MAKER
=$ac_cv_prog_MAKER
20716 if test -n "$MAKER"; then
20717 { echo "$as_me:$LINENO: result: $MAKER" >&5
20718 echo "${ECHO_T}$MAKER" >&6; }
20720 { echo "$as_me:$LINENO: result: no" >&5
20721 echo "${ECHO_T}no" >&6; }
20727 *-freebsd2* | *-freebsdelf2* | *-freebsd*out3
*)
20730 *-freebsd3* | *-freebsdelf3* | *-freebsd*out3
*)
20734 EXTRA_DEFINE
="-D__SOLARIS__"
20735 ANSI_SRC
="-fno-builtin"
20738 ANSI_SRC
="-fno-builtin"
20741 EXTRA_DEFINE
="-D_GNU_SOURCE"
20748 CFLAGS
="$CFLAGS $EXTRA_DEFINE"
20751 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
20752 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
20753 if test "${ac_cv_lib_socket_socket+set}" = set; then
20754 echo $ECHO_N "(cached) $ECHO_C" >&6
20756 ac_check_lib_save_LIBS
=$LIBS
20757 LIBS
="-lsocket $LIBS"
20758 cat >conftest.
$ac_ext <<_ACEOF
20761 cat confdefs.h
>>conftest.
$ac_ext
20762 cat >>conftest.
$ac_ext <<_ACEOF
20763 /* end confdefs.h. */
20765 /* Override any GCC internal prototype to avoid an error.
20766 Use char because int might match the return type of a GCC
20767 builtin and then its argument prototype would still apply. */
20780 rm -f conftest.
$ac_objext conftest
$ac_exeext
20781 if { (ac_try
="$ac_link"
20782 case "(($ac_try" in
20783 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20784 *) ac_try_echo=$ac_try;;
20786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20787 (eval "$ac_link") 2>conftest.er1
20789 grep -v '^ *+' conftest.er1 >conftest.err
20791 cat conftest.err >&5
20792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20793 (exit $ac_status); } && {
20794 test -z "$ac_c_werror_flag" ||
20795 test ! -s conftest.err
20796 } && test -s conftest$ac_exeext &&
20797 $as_test_x conftest$ac_exeext; then
20798 ac_cv_lib_socket_socket=yes
20800 echo "$as_me: failed program was:" >&5
20801 sed 's/^/| /' conftest.$ac_ext >&5
20803 ac_cv_lib_socket_socket=no
20806 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20807 conftest$ac_exeext conftest.$ac_ext
20808 LIBS=$ac_check_lib_save_LIBS
20810 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
20811 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
20812 if test $ac_cv_lib_socket_socket = yes; then
20813 cat >>confdefs.h <<_ACEOF
20814 #define HAVE_LIBSOCKET 1
20817 LIBS="-lsocket $LIBS"
20822 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
20823 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
20824 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
20825 echo $ECHO_N "(cached) $ECHO_C" >&6
20827 ac_check_lib_save_LIBS=$LIBS
20829 cat >conftest.$ac_ext <<_ACEOF
20832 cat confdefs.h >>conftest.$ac_ext
20833 cat >>conftest.$ac_ext <<_ACEOF
20834 /* end confdefs.h. */
20836 /* Override any GCC internal prototype to avoid an error.
20837 Use char because int might match the return type of a GCC
20838 builtin and then its argument prototype would still apply. */
20842 char gethostbyname ();
20846 return gethostbyname ();
20851 rm -f conftest.$ac_objext conftest$ac_exeext
20852 if { (ac_try="$ac_link"
20853 case "(($ac_try" in
20854 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20855 *) ac_try_echo
=$ac_try;;
20857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20858 (eval "$ac_link") 2>conftest.er1
20860 grep -v '^ *+' conftest.er1
>conftest.err
20862 cat conftest.err
>&5
20863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20864 (exit $ac_status); } && {
20865 test -z "$ac_c_werror_flag" ||
20866 test ! -s conftest.err
20867 } && test -s conftest
$ac_exeext &&
20868 $as_test_x conftest
$ac_exeext; then
20869 ac_cv_lib_nsl_gethostbyname
=yes
20871 echo "$as_me: failed program was:" >&5
20872 sed 's/^/| /' conftest.
$ac_ext >&5
20874 ac_cv_lib_nsl_gethostbyname
=no
20877 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
20878 conftest
$ac_exeext conftest.
$ac_ext
20879 LIBS
=$ac_check_lib_save_LIBS
20881 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
20882 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
20883 if test $ac_cv_lib_nsl_gethostbyname = yes; then
20884 cat >>confdefs.h
<<_ACEOF
20885 #define HAVE_LIBNSL 1
20893 { echo "$as_me:$LINENO: checking for main in -lm" >&5
20894 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6; }
20895 if test "${ac_cv_lib_m_main+set}" = set; then
20896 echo $ECHO_N "(cached) $ECHO_C" >&6
20898 ac_check_lib_save_LIBS
=$LIBS
20900 cat >conftest.
$ac_ext <<_ACEOF
20903 cat confdefs.h
>>conftest.
$ac_ext
20904 cat >>conftest.
$ac_ext <<_ACEOF
20905 /* end confdefs.h. */
20916 rm -f conftest.
$ac_objext conftest
$ac_exeext
20917 if { (ac_try
="$ac_link"
20918 case "(($ac_try" in
20919 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20920 *) ac_try_echo=$ac_try;;
20922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20923 (eval "$ac_link") 2>conftest.er1
20925 grep -v '^ *+' conftest.er1 >conftest.err
20927 cat conftest.err >&5
20928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20929 (exit $ac_status); } && {
20930 test -z "$ac_c_werror_flag" ||
20931 test ! -s conftest.err
20932 } && test -s conftest$ac_exeext &&
20933 $as_test_x conftest$ac_exeext; then
20934 ac_cv_lib_m_main=yes
20936 echo "$as_me: failed program was:" >&5
20937 sed 's/^/| /' conftest.$ac_ext >&5
20939 ac_cv_lib_m_main=no
20942 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20943 conftest$ac_exeext conftest.$ac_ext
20944 LIBS=$ac_check_lib_save_LIBS
20946 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
20947 echo "${ECHO_T}$ac_cv_lib_m_main" >&6; }
20948 if test $ac_cv_lib_m_main = yes; then
20949 cat >>confdefs.h <<_ACEOF
20950 #define HAVE_LIBM 1
20958 { echo "$as_me:$LINENO: checking for GeoIP_open in -lGeoIP" >&5
20959 echo $ECHO_N "checking for GeoIP_open in -lGeoIP... $ECHO_C" >&6; }
20960 if test "${ac_cv_lib_GeoIP_GeoIP_open+set}" = set; then
20961 echo $ECHO_N "(cached) $ECHO_C" >&6
20963 ac_check_lib_save_LIBS=$LIBS
20964 LIBS="-lGeoIP $LIBS"
20965 cat >conftest.$ac_ext <<_ACEOF
20968 cat confdefs.h >>conftest.$ac_ext
20969 cat >>conftest.$ac_ext <<_ACEOF
20970 /* end confdefs.h. */
20972 /* Override any GCC internal prototype to avoid an error.
20973 Use char because int might match the return type of a GCC
20974 builtin and then its argument prototype would still apply. */
20978 char GeoIP_open ();
20982 return GeoIP_open ();
20987 rm -f conftest.$ac_objext conftest$ac_exeext
20988 if { (ac_try="$ac_link"
20989 case "(($ac_try" in
20990 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20991 *) ac_try_echo
=$ac_try;;
20993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20994 (eval "$ac_link") 2>conftest.er1
20996 grep -v '^ *+' conftest.er1
>conftest.err
20998 cat conftest.err
>&5
20999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21000 (exit $ac_status); } && {
21001 test -z "$ac_c_werror_flag" ||
21002 test ! -s conftest.err
21003 } && test -s conftest
$ac_exeext &&
21004 $as_test_x conftest
$ac_exeext; then
21005 ac_cv_lib_GeoIP_GeoIP_open
=yes
21007 echo "$as_me: failed program was:" >&5
21008 sed 's/^/| /' conftest.
$ac_ext >&5
21010 ac_cv_lib_GeoIP_GeoIP_open
=no
21013 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
21014 conftest
$ac_exeext conftest.
$ac_ext
21015 LIBS
=$ac_check_lib_save_LIBS
21017 { echo "$as_me:$LINENO: result: $ac_cv_lib_GeoIP_GeoIP_open" >&5
21018 echo "${ECHO_T}$ac_cv_lib_GeoIP_GeoIP_open" >&6; }
21019 if test $ac_cv_lib_GeoIP_GeoIP_open = yes; then
21020 cat >>confdefs.h
<<_ACEOF
21021 #define HAVE_LIBGEOIP 1
21024 LIBS
="-lGeoIP $LIBS"
21029 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
21030 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
21031 if test "${ac_cv_header_stdc+set}" = set; then
21032 echo $ECHO_N "(cached) $ECHO_C" >&6
21034 cat >conftest.
$ac_ext <<_ACEOF
21037 cat confdefs.h
>>conftest.
$ac_ext
21038 cat >>conftest.
$ac_ext <<_ACEOF
21039 /* end confdefs.h. */
21040 #include <stdlib.h>
21041 #include <stdarg.h>
21042 #include <string.h>
21053 rm -f conftest.
$ac_objext
21054 if { (ac_try
="$ac_compile"
21055 case "(($ac_try" in
21056 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21057 *) ac_try_echo=$ac_try;;
21059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21060 (eval "$ac_compile") 2>conftest.er1
21062 grep -v '^ *+' conftest.er1 >conftest.err
21064 cat conftest.err >&5
21065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21066 (exit $ac_status); } && {
21067 test -z "$ac_c_werror_flag" ||
21068 test ! -s conftest.err
21069 } && test -s conftest.$ac_objext; then
21070 ac_cv_header_stdc=yes
21072 echo "$as_me: failed program was:" >&5
21073 sed 's/^/| /' conftest.$ac_ext >&5
21075 ac_cv_header_stdc=no
21078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21080 if test $ac_cv_header_stdc = yes; then
21081 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
21082 cat >conftest.$ac_ext <<_ACEOF
21085 cat confdefs.h >>conftest.$ac_ext
21086 cat >>conftest.$ac_ext <<_ACEOF
21087 /* end confdefs.h. */
21088 #include <string.h>
21091 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21092 $EGREP "memchr" >/dev/null 2>&1; then
21095 ac_cv_header_stdc=no
21101 if test $ac_cv_header_stdc = yes; then
21102 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
21103 cat >conftest.$ac_ext <<_ACEOF
21106 cat confdefs.h >>conftest.$ac_ext
21107 cat >>conftest.$ac_ext <<_ACEOF
21108 /* end confdefs.h. */
21109 #include <stdlib.h>
21112 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21113 $EGREP "free" >/dev/null 2>&1; then
21116 ac_cv_header_stdc=no
21122 if test $ac_cv_header_stdc = yes; then
21123 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
21124 if test "$cross_compiling" = yes; then
21127 cat >conftest.$ac_ext <<_ACEOF
21130 cat confdefs.h >>conftest.$ac_ext
21131 cat >>conftest.$ac_ext <<_ACEOF
21132 /* end confdefs.h. */
21134 #include <stdlib.h>
21135 #if ((' ' & 0x0FF) == 0x020)
21136 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
21137 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
21139 # define ISLOWER(c) \
21140 (('a' <= (c) && (c) <= 'i') \
21141 || ('j' <= (c) && (c) <= 'r') \
21142 || ('s' <= (c) && (c) <= 'z'))
21143 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
21146 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
21151 for (i = 0; i < 256; i++)
21152 if (XOR (islower (i), ISLOWER (i))
21153 || toupper (i) != TOUPPER (i))
21158 rm -f conftest$ac_exeext
21159 if { (ac_try="$ac_link"
21160 case "(($ac_try" in
21161 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21162 *) ac_try_echo
=$ac_try;;
21164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21165 (eval "$ac_link") 2>&5
21167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21168 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21169 { (case "(($ac_try" in
21170 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21171 *) ac_try_echo=$ac_try;;
21173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21174 (eval "$ac_try") 2>&5
21176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21177 (exit $ac_status); }; }; then
21180 echo "$as_me: program exited with status $ac_status" >&5
21181 echo "$as_me: failed program was:" >&5
21182 sed 's/^/| /' conftest.$ac_ext >&5
21184 ( exit $ac_status )
21185 ac_cv_header_stdc=no
21187 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21193 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
21194 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
21195 if test $ac_cv_header_stdc = yes; then
21197 cat >>confdefs.h <<\_ACEOF
21198 #define STDC_HEADERS 1
21204 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
21205 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
21206 if test "${ac_cv_header_time+set}" = set; then
21207 echo $ECHO_N "(cached) $ECHO_C" >&6
21209 cat >conftest.$ac_ext <<_ACEOF
21212 cat confdefs.h >>conftest.$ac_ext
21213 cat >>conftest.$ac_ext <<_ACEOF
21214 /* end confdefs.h. */
21215 #include <sys/types.h>
21216 #include <sys/time.h>
21222 if ((struct tm *) 0)
21228 rm -f conftest.$ac_objext
21229 if { (ac_try="$ac_compile"
21230 case "(($ac_try" in
21231 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21232 *) ac_try_echo
=$ac_try;;
21234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21235 (eval "$ac_compile") 2>conftest.er1
21237 grep -v '^ *+' conftest.er1
>conftest.err
21239 cat conftest.err
>&5
21240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21241 (exit $ac_status); } && {
21242 test -z "$ac_c_werror_flag" ||
21243 test ! -s conftest.err
21244 } && test -s conftest.
$ac_objext; then
21245 ac_cv_header_time
=yes
21247 echo "$as_me: failed program was:" >&5
21248 sed 's/^/| /' conftest.
$ac_ext >&5
21250 ac_cv_header_time
=no
21253 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21255 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
21256 echo "${ECHO_T}$ac_cv_header_time" >&6; }
21257 if test $ac_cv_header_time = yes; then
21259 cat >>confdefs.h
<<\_ACEOF
21260 #define TIME_WITH_SYS_TIME 1
21265 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
21266 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
21267 if test "${ac_cv_struct_tm+set}" = set; then
21268 echo $ECHO_N "(cached) $ECHO_C" >&6
21270 cat >conftest.
$ac_ext <<_ACEOF
21273 cat confdefs.h
>>conftest.
$ac_ext
21274 cat >>conftest.
$ac_ext <<_ACEOF
21275 /* end confdefs.h. */
21276 #include <sys/types.h>
21283 int *p = &tm.tm_sec;
21289 rm -f conftest.
$ac_objext
21290 if { (ac_try
="$ac_compile"
21291 case "(($ac_try" in
21292 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21293 *) ac_try_echo=$ac_try;;
21295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21296 (eval "$ac_compile") 2>conftest.er1
21298 grep -v '^ *+' conftest.er1 >conftest.err
21300 cat conftest.err >&5
21301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21302 (exit $ac_status); } && {
21303 test -z "$ac_c_werror_flag" ||
21304 test ! -s conftest.err
21305 } && test -s conftest.$ac_objext; then
21306 ac_cv_struct_tm=time.h
21308 echo "$as_me: failed program was:" >&5
21309 sed 's/^/| /' conftest.$ac_ext >&5
21311 ac_cv_struct_tm=sys/time.h
21314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21316 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
21317 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
21318 if test $ac_cv_struct_tm = sys/time.h; then
21320 cat >>confdefs.h <<\_ACEOF
21321 #define TM_IN_SYS_TIME 1
21353 for ac_header in GeoIP.h GeoIPCity.h tgmath.h netdb.h fcntl.h malloc.h netdb.h arpa/inet.h netinet/in.h sys/resource.h sys/timeb.h sys/times.h sys/param.h sys/socket.h sys/time.h sys/types.h sys/wait.h unistd.h getopt.h memory.h regex.h arpa/inet.h sys/mman.h sys/stat.h dirent.h sys/epoll.h
21355 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21356 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21357 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21358 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21359 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21360 echo $ECHO_N "(cached) $ECHO_C" >&6
21362 ac_res=`eval echo '${'$as_ac_Header'}'`
21363 { echo "$as_me:$LINENO: result: $ac_res" >&5
21364 echo "${ECHO_T}$ac_res" >&6; }
21366 # Is the header compilable?
21367 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
21368 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
21369 cat >conftest.$ac_ext <<_ACEOF
21372 cat confdefs.h >>conftest.$ac_ext
21373 cat >>conftest.$ac_ext <<_ACEOF
21374 /* end confdefs.h. */
21375 $ac_includes_default
21376 #include <$ac_header>
21378 rm -f conftest.$ac_objext
21379 if { (ac_try="$ac_compile"
21380 case "(($ac_try" in
21381 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21382 *) ac_try_echo
=$ac_try;;
21384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21385 (eval "$ac_compile") 2>conftest.er1
21387 grep -v '^ *+' conftest.er1
>conftest.err
21389 cat conftest.err
>&5
21390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21391 (exit $ac_status); } && {
21392 test -z "$ac_c_werror_flag" ||
21393 test ! -s conftest.err
21394 } && test -s conftest.
$ac_objext; then
21395 ac_header_compiler
=yes
21397 echo "$as_me: failed program was:" >&5
21398 sed 's/^/| /' conftest.
$ac_ext >&5
21400 ac_header_compiler
=no
21403 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21404 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21405 echo "${ECHO_T}$ac_header_compiler" >&6; }
21407 # Is the header present?
21408 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
21409 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
21410 cat >conftest.
$ac_ext <<_ACEOF
21413 cat confdefs.h
>>conftest.
$ac_ext
21414 cat >>conftest.
$ac_ext <<_ACEOF
21415 /* end confdefs.h. */
21416 #include <$ac_header>
21418 if { (ac_try
="$ac_cpp conftest.$ac_ext"
21419 case "(($ac_try" in
21420 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21421 *) ac_try_echo=$ac_try;;
21423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21424 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21426 grep -v '^ *+' conftest.er1 >conftest.err
21428 cat conftest.err >&5
21429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21430 (exit $ac_status); } >/dev/null && {
21431 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21432 test ! -s conftest.err
21434 ac_header_preproc=yes
21436 echo "$as_me: failed program was:" >&5
21437 sed 's/^/| /' conftest.$ac_ext >&5
21439 ac_header_preproc=no
21442 rm -f conftest.err conftest.$ac_ext
21443 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21444 echo "${ECHO_T}$ac_header_preproc" >&6; }
21446 # So? What about this header?
21447 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21449 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21450 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21451 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21452 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21453 ac_header_preproc=yes
21456 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21457 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21458 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21459 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21460 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21461 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21462 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21463 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21464 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21465 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21466 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21467 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21469 ## -------------------------------------------------- ##
21470 ## Report this to evilnet-devel@lists.sourceforge.net ##
21471 ## -------------------------------------------------- ##
21473 ) | sed "s/^/$as_me: WARNING: /" >&2
21476 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21477 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21478 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21479 echo $ECHO_N "(cached) $ECHO_C" >&6
21481 eval "$as_ac_Header=\$ac_header_preproc"
21483 ac_res=`eval echo '${'$as_ac_Header'}'`
21484 { echo "$as_me:$LINENO: result: $ac_res" >&5
21485 echo "${ECHO_T}$ac_res" >&6; }
21488 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21489 cat >>confdefs.h <<_ACEOF
21490 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21499 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
21500 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
21501 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
21502 echo $ECHO_N "(cached) $ECHO_C" >&6
21504 cat >conftest.$ac_ext <<_ACEOF
21507 cat confdefs.h >>conftest.$ac_ext
21508 cat >>conftest.$ac_ext <<_ACEOF
21509 /* end confdefs.h. */
21510 #include <sys/types.h>
21511 #include <sys/socket.h>
21516 static struct sockaddr ac_aggr;
21517 if (ac_aggr.sa_len)
21523 rm -f conftest.$ac_objext
21524 if { (ac_try="$ac_compile"
21525 case "(($ac_try" in
21526 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21527 *) ac_try_echo
=$ac_try;;
21529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21530 (eval "$ac_compile") 2>conftest.er1
21532 grep -v '^ *+' conftest.er1
>conftest.err
21534 cat conftest.err
>&5
21535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21536 (exit $ac_status); } && {
21537 test -z "$ac_c_werror_flag" ||
21538 test ! -s conftest.err
21539 } && test -s conftest.
$ac_objext; then
21540 ac_cv_member_struct_sockaddr_sa_len
=yes
21542 echo "$as_me: failed program was:" >&5
21543 sed 's/^/| /' conftest.
$ac_ext >&5
21545 cat >conftest.
$ac_ext <<_ACEOF
21548 cat confdefs.h
>>conftest.
$ac_ext
21549 cat >>conftest.
$ac_ext <<_ACEOF
21550 /* end confdefs.h. */
21551 #include <sys/types.h>
21552 #include <sys/socket.h>
21557 static struct sockaddr ac_aggr;
21558 if (sizeof ac_aggr.sa_len)
21564 rm -f conftest.
$ac_objext
21565 if { (ac_try
="$ac_compile"
21566 case "(($ac_try" in
21567 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21568 *) ac_try_echo=$ac_try;;
21570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21571 (eval "$ac_compile") 2>conftest.er1
21573 grep -v '^ *+' conftest.er1 >conftest.err
21575 cat conftest.err >&5
21576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21577 (exit $ac_status); } && {
21578 test -z "$ac_c_werror_flag" ||
21579 test ! -s conftest.err
21580 } && test -s conftest.$ac_objext; then
21581 ac_cv_member_struct_sockaddr_sa_len=yes
21583 echo "$as_me: failed program was:" >&5
21584 sed 's/^/| /' conftest.$ac_ext >&5
21586 ac_cv_member_struct_sockaddr_sa_len=no
21589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21594 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
21595 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
21596 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
21598 cat >>confdefs.h <<\_ACEOF
21599 #define HAVE_SOCKADDR_SA_LEN
21604 { echo "$as_me:$LINENO: checking for struct addrinfo.ai_flags" >&5
21605 echo $ECHO_N "checking for struct addrinfo.ai_flags... $ECHO_C" >&6; }
21606 if test "${ac_cv_member_struct_addrinfo_ai_flags+set}" = set; then
21607 echo $ECHO_N "(cached) $ECHO_C" >&6
21609 cat >conftest.$ac_ext <<_ACEOF
21612 cat confdefs.h >>conftest.$ac_ext
21613 cat >>conftest.$ac_ext <<_ACEOF
21614 /* end confdefs.h. */
21615 #include <sys/types.h>
21616 #include <sys/socket.h>
21622 static struct addrinfo ac_aggr;
21623 if (ac_aggr.ai_flags)
21629 rm -f conftest.$ac_objext
21630 if { (ac_try="$ac_compile"
21631 case "(($ac_try" in
21632 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21633 *) ac_try_echo
=$ac_try;;
21635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21636 (eval "$ac_compile") 2>conftest.er1
21638 grep -v '^ *+' conftest.er1
>conftest.err
21640 cat conftest.err
>&5
21641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21642 (exit $ac_status); } && {
21643 test -z "$ac_c_werror_flag" ||
21644 test ! -s conftest.err
21645 } && test -s conftest.
$ac_objext; then
21646 ac_cv_member_struct_addrinfo_ai_flags
=yes
21648 echo "$as_me: failed program was:" >&5
21649 sed 's/^/| /' conftest.
$ac_ext >&5
21651 cat >conftest.
$ac_ext <<_ACEOF
21654 cat confdefs.h
>>conftest.
$ac_ext
21655 cat >>conftest.
$ac_ext <<_ACEOF
21656 /* end confdefs.h. */
21657 #include <sys/types.h>
21658 #include <sys/socket.h>
21664 static struct addrinfo ac_aggr;
21665 if (sizeof ac_aggr.ai_flags)
21671 rm -f conftest.
$ac_objext
21672 if { (ac_try
="$ac_compile"
21673 case "(($ac_try" in
21674 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21675 *) ac_try_echo=$ac_try;;
21677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21678 (eval "$ac_compile") 2>conftest.er1
21680 grep -v '^ *+' conftest.er1 >conftest.err
21682 cat conftest.err >&5
21683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21684 (exit $ac_status); } && {
21685 test -z "$ac_c_werror_flag" ||
21686 test ! -s conftest.err
21687 } && test -s conftest.$ac_objext; then
21688 ac_cv_member_struct_addrinfo_ai_flags=yes
21690 echo "$as_me: failed program was:" >&5
21691 sed 's/^/| /' conftest.$ac_ext >&5
21693 ac_cv_member_struct_addrinfo_ai_flags=no
21696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21701 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_addrinfo_ai_flags" >&5
21702 echo "${ECHO_T}$ac_cv_member_struct_addrinfo_ai_flags" >&6; }
21703 if test $ac_cv_member_struct_addrinfo_ai_flags = yes; then
21705 cat >>confdefs.h <<\_ACEOF
21706 #define HAVE_STRUCT_ADDRINFO
21736 for ac_func in freeaddrinfo getaddrinfo gai_strerror getnameinfo getpagesize memcpy memset strdup strerror strsignal localtime_r setrlimit getopt getopt_long regcomp regexec regfree sysconf inet_aton epoll_create select gettimeofday times GetProcessTimes
21738 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21739 { echo "$as_me:$LINENO: checking for $ac_func" >&5
21740 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
21741 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
21742 echo $ECHO_N "(cached) $ECHO_C" >&6
21744 cat >conftest.$ac_ext <<_ACEOF
21747 cat confdefs.h >>conftest.$ac_ext
21748 cat >>conftest.$ac_ext <<_ACEOF
21749 /* end confdefs.h. */
21750 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21751 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21752 #define $ac_func innocuous_$ac_func
21754 /* System header to define __stub macros and hopefully few prototypes,
21755 which can conflict with char $ac_func (); below.
21756 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21757 <limits.h> exists even on freestanding compilers. */
21760 # include <limits.h>
21762 # include <assert.h>
21767 /* Override any GCC internal prototype to avoid an error.
21768 Use char because int might match the return type of a GCC
21769 builtin and then its argument prototype would still apply. */
21774 /* The GNU C library defines this for functions which it implements
21775 to always fail with ENOSYS. Some functions are actually named
21776 something starting with __ and the normal name is an alias. */
21777 #if defined __stub_$ac_func || defined __stub___$ac_func
21784 return $ac_func ();
21789 rm -f conftest.$ac_objext conftest$ac_exeext
21790 if { (ac_try="$ac_link"
21791 case "(($ac_try" in
21792 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21793 *) ac_try_echo
=$ac_try;;
21795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21796 (eval "$ac_link") 2>conftest.er1
21798 grep -v '^ *+' conftest.er1
>conftest.err
21800 cat conftest.err
>&5
21801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21802 (exit $ac_status); } && {
21803 test -z "$ac_c_werror_flag" ||
21804 test ! -s conftest.err
21805 } && test -s conftest
$ac_exeext &&
21806 $as_test_x conftest
$ac_exeext; then
21807 eval "$as_ac_var=yes"
21809 echo "$as_me: failed program was:" >&5
21810 sed 's/^/| /' conftest.
$ac_ext >&5
21812 eval "$as_ac_var=no"
21815 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
21816 conftest
$ac_exeext conftest.
$ac_ext
21818 ac_res
=`eval echo '${'$as_ac_var'}'`
21819 { echo "$as_me:$LINENO: result: $ac_res" >&5
21820 echo "${ECHO_T}$ac_res" >&6; }
21821 if test `eval echo '${'$as_ac_var'}'` = yes; then
21822 cat >>confdefs.h
<<_ACEOF
21823 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21830 if test $ac_cv_func_gettimeofday = no
; then
21832 for ac_func
in ftime
21834 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21835 { echo "$as_me:$LINENO: checking for $ac_func" >&5
21836 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
21837 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
21838 echo $ECHO_N "(cached) $ECHO_C" >&6
21840 cat >conftest.
$ac_ext <<_ACEOF
21843 cat confdefs.h
>>conftest.
$ac_ext
21844 cat >>conftest.
$ac_ext <<_ACEOF
21845 /* end confdefs.h. */
21846 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21847 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21848 #define $ac_func innocuous_$ac_func
21850 /* System header to define __stub macros and hopefully few prototypes,
21851 which can conflict with char $ac_func (); below.
21852 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21853 <limits.h> exists even on freestanding compilers. */
21856 # include <limits.h>
21858 # include <assert.h>
21863 /* Override any GCC internal prototype to avoid an error.
21864 Use char because int might match the return type of a GCC
21865 builtin and then its argument prototype would still apply. */
21870 /* The GNU C library defines this for functions which it implements
21871 to always fail with ENOSYS. Some functions are actually named
21872 something starting with __ and the normal name is an alias. */
21873 #if defined __stub_$ac_func || defined __stub___$ac_func
21880 return $ac_func ();
21885 rm -f conftest.
$ac_objext conftest
$ac_exeext
21886 if { (ac_try
="$ac_link"
21887 case "(($ac_try" in
21888 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21889 *) ac_try_echo=$ac_try;;
21891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21892 (eval "$ac_link") 2>conftest.er1
21894 grep -v '^ *+' conftest.er1 >conftest.err
21896 cat conftest.err >&5
21897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21898 (exit $ac_status); } && {
21899 test -z "$ac_c_werror_flag" ||
21900 test ! -s conftest.err
21901 } && test -s conftest$ac_exeext &&
21902 $as_test_x conftest$ac_exeext; then
21903 eval "$as_ac_var=yes"
21905 echo "$as_me: failed program was:" >&5
21906 sed 's/^/| /' conftest.$ac_ext >&5
21908 eval "$as_ac_var=no"
21911 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21912 conftest$ac_exeext conftest.$ac_ext
21914 ac_res=`eval echo '${'$as_ac_var'}'`
21915 { echo "$as_me:$LINENO: result: $ac_res" >&5
21916 echo "${ECHO_T}$ac_res" >&6; }
21917 if test `eval echo '${'$as_ac_var'}'` = yes; then
21918 cat >>confdefs.h <<_ACEOF
21919 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21923 { { echo "$as_me:$LINENO: error: ftime or gettimeofday required. X3 build will fail." >&5
21924 echo "$as_me: error: ftime or gettimeofday required. X3 build will fail." >&2;}
21925 { (exit 1); exit 1; }; }
21936 for ac_func in socket strcspn strspn strtod strtoul
21938 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21939 { echo "$as_me:$LINENO: checking for $ac_func" >&5
21940 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
21941 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
21942 echo $ECHO_N "(cached) $ECHO_C" >&6
21944 cat >conftest.$ac_ext <<_ACEOF
21947 cat confdefs.h >>conftest.$ac_ext
21948 cat >>conftest.$ac_ext <<_ACEOF
21949 /* end confdefs.h. */
21950 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21951 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21952 #define $ac_func innocuous_$ac_func
21954 /* System header to define __stub macros and hopefully few prototypes,
21955 which can conflict with char $ac_func (); below.
21956 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21957 <limits.h> exists even on freestanding compilers. */
21960 # include <limits.h>
21962 # include <assert.h>
21967 /* Override any GCC internal prototype to avoid an error.
21968 Use char because int might match the return type of a GCC
21969 builtin and then its argument prototype would still apply. */
21974 /* The GNU C library defines this for functions which it implements
21975 to always fail with ENOSYS. Some functions are actually named
21976 something starting with __ and the normal name is an alias. */
21977 #if defined __stub_$ac_func || defined __stub___$ac_func
21984 return $ac_func ();
21989 rm -f conftest.$ac_objext conftest$ac_exeext
21990 if { (ac_try="$ac_link"
21991 case "(($ac_try" in
21992 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21993 *) ac_try_echo
=$ac_try;;
21995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21996 (eval "$ac_link") 2>conftest.er1
21998 grep -v '^ *+' conftest.er1
>conftest.err
22000 cat conftest.err
>&5
22001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22002 (exit $ac_status); } && {
22003 test -z "$ac_c_werror_flag" ||
22004 test ! -s conftest.err
22005 } && test -s conftest
$ac_exeext &&
22006 $as_test_x conftest
$ac_exeext; then
22007 eval "$as_ac_var=yes"
22009 echo "$as_me: failed program was:" >&5
22010 sed 's/^/| /' conftest.
$ac_ext >&5
22012 eval "$as_ac_var=no"
22015 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
22016 conftest
$ac_exeext conftest.
$ac_ext
22018 ac_res
=`eval echo '${'$as_ac_var'}'`
22019 { echo "$as_me:$LINENO: result: $ac_res" >&5
22020 echo "${ECHO_T}$ac_res" >&6; }
22021 if test `eval echo '${'$as_ac_var'}'` = yes; then
22022 cat >>confdefs.h
<<_ACEOF
22023 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22027 { { echo "$as_me:$LINENO: error: a required function was not found. X3 build will fail." >&5
22028 echo "$as_me: error: a required function was not found. X3 build will fail." >&2;}
22029 { (exit 1); exit 1; }; }
22034 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
22035 # for constant arguments. Useless!
22036 { echo "$as_me:$LINENO: checking for working alloca.h" >&5
22037 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
22038 if test "${ac_cv_working_alloca_h+set}" = set; then
22039 echo $ECHO_N "(cached) $ECHO_C" >&6
22041 cat >conftest.
$ac_ext <<_ACEOF
22044 cat confdefs.h
>>conftest.
$ac_ext
22045 cat >>conftest.
$ac_ext <<_ACEOF
22046 /* end confdefs.h. */
22047 #include <alloca.h>
22051 char *p = (char *) alloca (2 * sizeof (int));
22057 rm -f conftest.
$ac_objext conftest
$ac_exeext
22058 if { (ac_try
="$ac_link"
22059 case "(($ac_try" in
22060 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22061 *) ac_try_echo=$ac_try;;
22063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22064 (eval "$ac_link") 2>conftest.er1
22066 grep -v '^ *+' conftest.er1 >conftest.err
22068 cat conftest.err >&5
22069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22070 (exit $ac_status); } && {
22071 test -z "$ac_c_werror_flag" ||
22072 test ! -s conftest.err
22073 } && test -s conftest$ac_exeext &&
22074 $as_test_x conftest$ac_exeext; then
22075 ac_cv_working_alloca_h=yes
22077 echo "$as_me: failed program was:" >&5
22078 sed 's/^/| /' conftest.$ac_ext >&5
22080 ac_cv_working_alloca_h=no
22083 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22084 conftest$ac_exeext conftest.$ac_ext
22086 { echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
22087 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
22088 if test $ac_cv_working_alloca_h = yes; then
22090 cat >>confdefs.h <<\_ACEOF
22091 #define HAVE_ALLOCA_H 1
22096 { echo "$as_me:$LINENO: checking for alloca" >&5
22097 echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
22098 if test "${ac_cv_func_alloca_works+set}" = set; then
22099 echo $ECHO_N "(cached) $ECHO_C" >&6
22101 cat >conftest.$ac_ext <<_ACEOF
22104 cat confdefs.h >>conftest.$ac_ext
22105 cat >>conftest.$ac_ext <<_ACEOF
22106 /* end confdefs.h. */
22108 # define alloca __builtin_alloca
22111 # include <malloc.h>
22112 # define alloca _alloca
22114 # ifdef HAVE_ALLOCA_H
22115 # include <alloca.h>
22120 # ifndef alloca /* predefined by HP cc +Olibcalls */
22131 char *p = (char *) alloca (1);
22137 rm -f conftest.$ac_objext conftest$ac_exeext
22138 if { (ac_try="$ac_link"
22139 case "(($ac_try" in
22140 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22141 *) ac_try_echo
=$ac_try;;
22143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22144 (eval "$ac_link") 2>conftest.er1
22146 grep -v '^ *+' conftest.er1
>conftest.err
22148 cat conftest.err
>&5
22149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22150 (exit $ac_status); } && {
22151 test -z "$ac_c_werror_flag" ||
22152 test ! -s conftest.err
22153 } && test -s conftest
$ac_exeext &&
22154 $as_test_x conftest
$ac_exeext; then
22155 ac_cv_func_alloca_works
=yes
22157 echo "$as_me: failed program was:" >&5
22158 sed 's/^/| /' conftest.
$ac_ext >&5
22160 ac_cv_func_alloca_works
=no
22163 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
22164 conftest
$ac_exeext conftest.
$ac_ext
22166 { echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
22167 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
22169 if test $ac_cv_func_alloca_works = yes; then
22171 cat >>confdefs.h
<<\_ACEOF
22172 #define HAVE_ALLOCA 1
22176 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
22177 # that cause trouble. Some versions do not even contain alloca or
22178 # contain a buggy version. If you still want to use their alloca,
22179 # use ar to extract alloca.o from them instead of compiling alloca.c.
22181 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
22183 cat >>confdefs.h
<<\_ACEOF
22188 { echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
22189 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; }
22190 if test "${ac_cv_os_cray+set}" = set; then
22191 echo $ECHO_N "(cached) $ECHO_C" >&6
22193 cat >conftest.
$ac_ext <<_ACEOF
22196 cat confdefs.h
>>conftest.
$ac_ext
22197 cat >>conftest.
$ac_ext <<_ACEOF
22198 /* end confdefs.h. */
22199 #if defined CRAY && ! defined CRAY2
22206 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22207 $EGREP "webecray" >/dev
/null
2>&1; then
22215 { echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
22216 echo "${ECHO_T}$ac_cv_os_cray" >&6; }
22217 if test $ac_cv_os_cray = yes; then
22218 for ac_func
in _getb67 GETB67 getb67
; do
22219 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22220 { echo "$as_me:$LINENO: checking for $ac_func" >&5
22221 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
22222 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
22223 echo $ECHO_N "(cached) $ECHO_C" >&6
22225 cat >conftest.
$ac_ext <<_ACEOF
22228 cat confdefs.h
>>conftest.
$ac_ext
22229 cat >>conftest.
$ac_ext <<_ACEOF
22230 /* end confdefs.h. */
22231 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22232 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22233 #define $ac_func innocuous_$ac_func
22235 /* System header to define __stub macros and hopefully few prototypes,
22236 which can conflict with char $ac_func (); below.
22237 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22238 <limits.h> exists even on freestanding compilers. */
22241 # include <limits.h>
22243 # include <assert.h>
22248 /* Override any GCC internal prototype to avoid an error.
22249 Use char because int might match the return type of a GCC
22250 builtin and then its argument prototype would still apply. */
22255 /* The GNU C library defines this for functions which it implements
22256 to always fail with ENOSYS. Some functions are actually named
22257 something starting with __ and the normal name is an alias. */
22258 #if defined __stub_$ac_func || defined __stub___$ac_func
22265 return $ac_func ();
22270 rm -f conftest.
$ac_objext conftest
$ac_exeext
22271 if { (ac_try
="$ac_link"
22272 case "(($ac_try" in
22273 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22274 *) ac_try_echo=$ac_try;;
22276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22277 (eval "$ac_link") 2>conftest.er1
22279 grep -v '^ *+' conftest.er1 >conftest.err
22281 cat conftest.err >&5
22282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22283 (exit $ac_status); } && {
22284 test -z "$ac_c_werror_flag" ||
22285 test ! -s conftest.err
22286 } && test -s conftest$ac_exeext &&
22287 $as_test_x conftest$ac_exeext; then
22288 eval "$as_ac_var=yes"
22290 echo "$as_me: failed program was:" >&5
22291 sed 's/^/| /' conftest.$ac_ext >&5
22293 eval "$as_ac_var=no"
22296 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22297 conftest$ac_exeext conftest.$ac_ext
22299 ac_res=`eval echo '${'$as_ac_var'}'`
22300 { echo "$as_me:$LINENO: result: $ac_res" >&5
22301 echo "${ECHO_T}$ac_res" >&6; }
22302 if test `eval echo '${'$as_ac_var'}'` = yes; then
22304 cat >>confdefs.h <<_ACEOF
22305 #define CRAY_STACKSEG_END $ac_func
22314 { echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
22315 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; }
22316 if test "${ac_cv_c_stack_direction+set}" = set; then
22317 echo $ECHO_N "(cached) $ECHO_C" >&6
22319 if test "$cross_compiling" = yes; then
22320 ac_cv_c_stack_direction=0
22322 cat >conftest.$ac_ext <<_ACEOF
22325 cat confdefs.h >>conftest.$ac_ext
22326 cat >>conftest.$ac_ext <<_ACEOF
22327 /* end confdefs.h. */
22328 $ac_includes_default
22330 find_stack_direction ()
22332 static char *addr = 0;
22337 return find_stack_direction ();
22340 return (&dummy > addr) ? 1 : -1;
22346 return find_stack_direction () < 0;
22349 rm -f conftest$ac_exeext
22350 if { (ac_try="$ac_link"
22351 case "(($ac_try" in
22352 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22353 *) ac_try_echo
=$ac_try;;
22355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22356 (eval "$ac_link") 2>&5
22358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22359 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22360 { (case "(($ac_try" in
22361 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22362 *) ac_try_echo=$ac_try;;
22364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22365 (eval "$ac_try") 2>&5
22367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22368 (exit $ac_status); }; }; then
22369 ac_cv_c_stack_direction=1
22371 echo "$as_me: program exited with status $ac_status" >&5
22372 echo "$as_me: failed program was:" >&5
22373 sed 's/^/| /' conftest.$ac_ext >&5
22375 ( exit $ac_status )
22376 ac_cv_c_stack_direction=-1
22378 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22383 { echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
22384 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
22386 cat >>confdefs.h <<_ACEOF
22387 #define STACK_DIRECTION $ac_cv_c_stack_direction
22395 for ac_header in stdlib.h unistd.h
22397 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22398 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22399 { echo "$as_me:$LINENO: checking for $ac_header" >&5
22400 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
22401 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22402 echo $ECHO_N "(cached) $ECHO_C" >&6
22404 ac_res=`eval echo '${'$as_ac_Header'}'`
22405 { echo "$as_me:$LINENO: result: $ac_res" >&5
22406 echo "${ECHO_T}$ac_res" >&6; }
22408 # Is the header compilable?
22409 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
22410 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
22411 cat >conftest.$ac_ext <<_ACEOF
22414 cat confdefs.h >>conftest.$ac_ext
22415 cat >>conftest.$ac_ext <<_ACEOF
22416 /* end confdefs.h. */
22417 $ac_includes_default
22418 #include <$ac_header>
22420 rm -f conftest.$ac_objext
22421 if { (ac_try="$ac_compile"
22422 case "(($ac_try" in
22423 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22424 *) ac_try_echo
=$ac_try;;
22426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22427 (eval "$ac_compile") 2>conftest.er1
22429 grep -v '^ *+' conftest.er1
>conftest.err
22431 cat conftest.err
>&5
22432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22433 (exit $ac_status); } && {
22434 test -z "$ac_c_werror_flag" ||
22435 test ! -s conftest.err
22436 } && test -s conftest.
$ac_objext; then
22437 ac_header_compiler
=yes
22439 echo "$as_me: failed program was:" >&5
22440 sed 's/^/| /' conftest.
$ac_ext >&5
22442 ac_header_compiler
=no
22445 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22446 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22447 echo "${ECHO_T}$ac_header_compiler" >&6; }
22449 # Is the header present?
22450 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
22451 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
22452 cat >conftest.
$ac_ext <<_ACEOF
22455 cat confdefs.h
>>conftest.
$ac_ext
22456 cat >>conftest.
$ac_ext <<_ACEOF
22457 /* end confdefs.h. */
22458 #include <$ac_header>
22460 if { (ac_try
="$ac_cpp conftest.$ac_ext"
22461 case "(($ac_try" in
22462 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22463 *) ac_try_echo=$ac_try;;
22465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22466 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
22468 grep -v '^ *+' conftest.er1 >conftest.err
22470 cat conftest.err >&5
22471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22472 (exit $ac_status); } >/dev/null && {
22473 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22474 test ! -s conftest.err
22476 ac_header_preproc=yes
22478 echo "$as_me: failed program was:" >&5
22479 sed 's/^/| /' conftest.$ac_ext >&5
22481 ac_header_preproc=no
22484 rm -f conftest.err conftest.$ac_ext
22485 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22486 echo "${ECHO_T}$ac_header_preproc" >&6; }
22488 # So? What about this header?
22489 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22491 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22492 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22493 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22494 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22495 ac_header_preproc=yes
22498 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22499 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22500 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22501 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22502 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22503 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22504 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22505 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22506 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22507 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22508 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22509 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22511 ## -------------------------------------------------- ##
22512 ## Report this to evilnet-devel@lists.sourceforge.net ##
22513 ## -------------------------------------------------- ##
22515 ) | sed "s/^/$as_me: WARNING: /" >&2
22518 { echo "$as_me:$LINENO: checking for $ac_header" >&5
22519 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
22520 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22521 echo $ECHO_N "(cached) $ECHO_C" >&6
22523 eval "$as_ac_Header=\$ac_header_preproc"
22525 ac_res=`eval echo '${'$as_ac_Header'}'`
22526 { echo "$as_me:$LINENO: result: $ac_res" >&5
22527 echo "${ECHO_T}$ac_res" >&6; }
22530 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22531 cat >>confdefs.h <<_ACEOF
22532 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22540 for ac_func in getpagesize
22542 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22543 { echo "$as_me:$LINENO: checking for $ac_func" >&5
22544 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
22545 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
22546 echo $ECHO_N "(cached) $ECHO_C" >&6
22548 cat >conftest.$ac_ext <<_ACEOF
22551 cat confdefs.h >>conftest.$ac_ext
22552 cat >>conftest.$ac_ext <<_ACEOF
22553 /* end confdefs.h. */
22554 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22555 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22556 #define $ac_func innocuous_$ac_func
22558 /* System header to define __stub macros and hopefully few prototypes,
22559 which can conflict with char $ac_func (); below.
22560 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22561 <limits.h> exists even on freestanding compilers. */
22564 # include <limits.h>
22566 # include <assert.h>
22571 /* Override any GCC internal prototype to avoid an error.
22572 Use char because int might match the return type of a GCC
22573 builtin and then its argument prototype would still apply. */
22578 /* The GNU C library defines this for functions which it implements
22579 to always fail with ENOSYS. Some functions are actually named
22580 something starting with __ and the normal name is an alias. */
22581 #if defined __stub_$ac_func || defined __stub___$ac_func
22588 return $ac_func ();
22593 rm -f conftest.$ac_objext conftest$ac_exeext
22594 if { (ac_try="$ac_link"
22595 case "(($ac_try" in
22596 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22597 *) ac_try_echo
=$ac_try;;
22599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22600 (eval "$ac_link") 2>conftest.er1
22602 grep -v '^ *+' conftest.er1
>conftest.err
22604 cat conftest.err
>&5
22605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22606 (exit $ac_status); } && {
22607 test -z "$ac_c_werror_flag" ||
22608 test ! -s conftest.err
22609 } && test -s conftest
$ac_exeext &&
22610 $as_test_x conftest
$ac_exeext; then
22611 eval "$as_ac_var=yes"
22613 echo "$as_me: failed program was:" >&5
22614 sed 's/^/| /' conftest.
$ac_ext >&5
22616 eval "$as_ac_var=no"
22619 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
22620 conftest
$ac_exeext conftest.
$ac_ext
22622 ac_res
=`eval echo '${'$as_ac_var'}'`
22623 { echo "$as_me:$LINENO: result: $ac_res" >&5
22624 echo "${ECHO_T}$ac_res" >&6; }
22625 if test `eval echo '${'$as_ac_var'}'` = yes; then
22626 cat >>confdefs.h
<<_ACEOF
22627 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22633 { echo "$as_me:$LINENO: checking for working mmap" >&5
22634 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
22635 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
22636 echo $ECHO_N "(cached) $ECHO_C" >&6
22638 if test "$cross_compiling" = yes; then
22639 ac_cv_func_mmap_fixed_mapped
=no
22641 cat >conftest.
$ac_ext <<_ACEOF
22644 cat confdefs.h
>>conftest.
$ac_ext
22645 cat >>conftest.
$ac_ext <<_ACEOF
22646 /* end confdefs.h. */
22647 $ac_includes_default
22648 /* malloc might have been renamed as rpl_malloc. */
22651 /* Thanks to Mike Haertel and Jim Avera for this test.
22652 Here is a matrix of mmap possibilities:
22653 mmap private not fixed
22654 mmap private fixed at somewhere currently unmapped
22655 mmap private fixed at somewhere already mapped
22656 mmap shared not fixed
22657 mmap shared fixed at somewhere currently unmapped
22658 mmap shared fixed at somewhere already mapped
22659 For private mappings, we should verify that changes cannot be read()
22660 back from the file, nor mmap's back from the file at a different
22661 address. (There have been systems where private was not correctly
22662 implemented like the infamous i386 svr4.0, and systems where the
22663 VM page cache was not coherent with the file system buffer cache
22664 like early versions of FreeBSD and possibly contemporary NetBSD.)
22665 For shared mappings, we should conversely verify that changes get
22666 propagated back to all the places they're supposed to be.
22668 Grep wants private fixed already mapped.
22669 The main things grep needs to know about mmap are:
22670 * does it exist and is it safe to write into the mmap'd area
22671 * how to use it (BSD variants) */
22674 #include <sys/mman.h>
22676 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
22680 /* This mess was copied from the GNU getpagesize.h. */
22681 #ifndef HAVE_GETPAGESIZE
22682 /* Assume that all systems that can run configure have sys/param.h. */
22683 # ifndef HAVE_SYS_PARAM_H
22684 # define HAVE_SYS_PARAM_H 1
22687 # ifdef _SC_PAGESIZE
22688 # define getpagesize() sysconf(_SC_PAGESIZE)
22689 # else /* no _SC_PAGESIZE */
22690 # ifdef HAVE_SYS_PARAM_H
22691 # include <sys/param.h>
22692 # ifdef EXEC_PAGESIZE
22693 # define getpagesize() EXEC_PAGESIZE
22694 # else /* no EXEC_PAGESIZE */
22696 # define getpagesize() NBPG * CLSIZE
22699 # endif /* no CLSIZE */
22700 # else /* no NBPG */
22702 # define getpagesize() NBPC
22703 # else /* no NBPC */
22705 # define getpagesize() PAGESIZE
22706 # endif /* PAGESIZE */
22707 # endif /* no NBPC */
22708 # endif /* no NBPG */
22709 # endif /* no EXEC_PAGESIZE */
22710 # else /* no HAVE_SYS_PARAM_H */
22711 # define getpagesize() 8192 /* punt totally */
22712 # endif /* no HAVE_SYS_PARAM_H */
22713 # endif /* no _SC_PAGESIZE */
22715 #endif /* no HAVE_GETPAGESIZE */
22720 char *data, *data2, *data3;
22724 pagesize = getpagesize ();
22726 /* First, make a file with some known garbage in it. */
22727 data = (char *) malloc (pagesize);
22730 for (i = 0; i < pagesize; ++i)
22731 *(data + i) = rand ();
22733 fd = creat ("conftest.mmap", 0600);
22736 if (write (fd, data, pagesize) != pagesize)
22740 /* Next, try to mmap the file at a fixed address which already has
22741 something else allocated at it. If we can, also make sure that
22742 we see the same garbage. */
22743 fd = open ("conftest.mmap", O_RDWR);
22746 data2 = (char *) malloc (2 * pagesize);
22749 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
22750 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
22751 MAP_PRIVATE | MAP_FIXED, fd, 0L))
22753 for (i = 0; i < pagesize; ++i)
22754 if (*(data + i) != *(data2 + i))
22757 /* Finally, make sure that changes to the mapped area do not
22758 percolate back to the file as seen by read(). (This is a bug on
22759 some variants of i386 svr4.0.) */
22760 for (i = 0; i < pagesize; ++i)
22761 *(data2 + i) = *(data2 + i) + 1;
22762 data3 = (char *) malloc (pagesize);
22765 if (read (fd, data3, pagesize) != pagesize)
22767 for (i = 0; i < pagesize; ++i)
22768 if (*(data + i) != *(data3 + i))
22774 rm -f conftest
$ac_exeext
22775 if { (ac_try
="$ac_link"
22776 case "(($ac_try" in
22777 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22778 *) ac_try_echo=$ac_try;;
22780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22781 (eval "$ac_link") 2>&5
22783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22784 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22785 { (case "(($ac_try" in
22786 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22787 *) ac_try_echo
=$ac_try;;
22789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22790 (eval "$ac_try") 2>&5
22792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22793 (exit $ac_status); }; }; then
22794 ac_cv_func_mmap_fixed_mapped
=yes
22796 echo "$as_me: program exited with status $ac_status" >&5
22797 echo "$as_me: failed program was:" >&5
22798 sed 's/^/| /' conftest.
$ac_ext >&5
22800 ( exit $ac_status )
22801 ac_cv_func_mmap_fixed_mapped
=no
22803 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22808 { echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
22809 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
22810 if test $ac_cv_func_mmap_fixed_mapped = yes; then
22812 cat >>confdefs.h
<<\_ACEOF
22813 #define HAVE_MMAP 1
22817 rm -f conftest.mmap
22820 { echo "$as_me:$LINENO: checking for sin_len" >&5
22821 echo $ECHO_N "checking for sin_len... $ECHO_C" >&6; }
22822 if test "${ac_cv_sin_len+set}" = set; then
22823 echo $ECHO_N "(cached) $ECHO_C" >&6
22825 cat >conftest.
$ac_ext <<_ACEOF
22828 cat confdefs.h
>>conftest.
$ac_ext
22829 cat >>conftest.
$ac_ext <<_ACEOF
22830 /* end confdefs.h. */
22831 #include <sys/types.h>
22832 #include <netinet/in.h>
22836 struct sockaddr_in *sin; sin->sin_len = 0;
22841 rm -f conftest.
$ac_objext
22842 if { (ac_try
="$ac_compile"
22843 case "(($ac_try" in
22844 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22845 *) ac_try_echo=$ac_try;;
22847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22848 (eval "$ac_compile") 2>conftest.er1
22850 grep -v '^ *+' conftest.er1 >conftest.err
22852 cat conftest.err >&5
22853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22854 (exit $ac_status); } && {
22855 test -z "$ac_c_werror_flag" ||
22856 test ! -s conftest.err
22857 } && test -s conftest.$ac_objext; then
22858 ac_cv_sin_len="yes"
22860 echo "$as_me: failed program was:" >&5
22861 sed 's/^/| /' conftest.$ac_ext >&5
22866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22868 { echo "$as_me:$LINENO: result: $ac_cv_sin_len" >&5
22869 echo "${ECHO_T}$ac_cv_sin_len" >&6; }
22870 if test $ac_cv_sin_len = yes ; then
22872 cat >>confdefs.h <<\_ACEOF
22873 #define HAVE_SIN_LEN 1
22878 { echo "$as_me:$LINENO: checking for socklen_t" >&5
22879 echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6; }
22880 if test "${ac_cv_type_socklen_t+set}" = set; then
22881 echo $ECHO_N "(cached) $ECHO_C" >&6
22883 cat >conftest.$ac_ext <<_ACEOF
22886 cat confdefs.h >>conftest.$ac_ext
22887 cat >>conftest.$ac_ext <<_ACEOF
22888 /* end confdefs.h. */
22889 #include <sys/types.h>
22890 #include<sys/socket.h>
22892 typedef socklen_t ac__type_new_;
22896 if ((ac__type_new_ *) 0)
22898 if (sizeof (ac__type_new_))
22904 rm -f conftest.$ac_objext
22905 if { (ac_try="$ac_compile"
22906 case "(($ac_try" in
22907 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22908 *) ac_try_echo
=$ac_try;;
22910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22911 (eval "$ac_compile") 2>conftest.er1
22913 grep -v '^ *+' conftest.er1
>conftest.err
22915 cat conftest.err
>&5
22916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22917 (exit $ac_status); } && {
22918 test -z "$ac_c_werror_flag" ||
22919 test ! -s conftest.err
22920 } && test -s conftest.
$ac_objext; then
22921 ac_cv_type_socklen_t
=yes
22923 echo "$as_me: failed program was:" >&5
22924 sed 's/^/| /' conftest.
$ac_ext >&5
22926 ac_cv_type_socklen_t
=no
22929 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22931 { echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
22932 echo "${ECHO_T}$ac_cv_type_socklen_t" >&6; }
22933 if test $ac_cv_type_socklen_t = yes; then
22937 { echo "$as_me:$LINENO: checking for socklen_t equivalent" >&5
22938 echo $ECHO_N "checking for socklen_t equivalent... $ECHO_C" >&6; }
22939 if test "${curl_cv_socklen_t_equiv+set}" = set; then
22940 echo $ECHO_N "(cached) $ECHO_C" >&6
22943 curl_cv_socklen_t_equiv
=
22944 for arg2
in "struct sockaddr" void
; do
22945 for t
in int size_t unsigned long
"unsigned long" ; do
22946 cat >conftest.
$ac_ext <<_ACEOF
22949 cat confdefs.h
>>conftest.
$ac_ext
22950 cat >>conftest.
$ac_ext <<_ACEOF
22951 /* end confdefs.h. */
22952 #include <sys/types.h>
22953 #include <sys/socket.h>
22954 int getpeername (int $arg2 *, $t *);
22959 getpeername(0, 0, &len);
22964 rm -f conftest.
$ac_objext
22965 if { (ac_try
="$ac_compile"
22966 case "(($ac_try" in
22967 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22968 *) ac_try_echo=$ac_try;;
22970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22971 (eval "$ac_compile") 2>conftest.er1
22973 grep -v '^ *+' conftest.er1 >conftest.err
22975 cat conftest.err >&5
22976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22977 (exit $ac_status); } && {
22978 test -z "$ac_c_werror_flag" ||
22979 test ! -s conftest.err
22980 } && test -s conftest.$ac_objext; then
22981 curl_cv_socklen_t_equiv="$t"
22984 echo "$as_me: failed program was:" >&5
22985 sed 's/^/| /' conftest.$ac_ext >&5
22990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22996 { echo "$as_me:$LINENO: result: $curl_cv_socklen_t_equiv" >&5
22997 echo "${ECHO_T}$curl_cv_socklen_t_equiv" >&6; }
22999 cat >>confdefs.h <<_ACEOF
23000 #define socklen_t $curl_cv_socklen_t_equiv
23007 CFLAGS="$CFLAGS -W -Wall -Werror"
23008 if test "z$USE_MAINTAINER_MODE" = zyes ; then
23009 CFLAGS="$CFLAGS -ansi"
23012 { echo "$as_me:$LINENO: checking for inline" >&5
23013 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
23014 if test "${ac_cv_c_inline+set}" = set; then
23015 echo $ECHO_N "(cached) $ECHO_C" >&6
23018 for ac_kw in inline __inline__ __inline; do
23019 cat >conftest.$ac_ext <<_ACEOF
23022 cat confdefs.h >>conftest.$ac_ext
23023 cat >>conftest.$ac_ext <<_ACEOF
23024 /* end confdefs.h. */
23025 #ifndef __cplusplus
23027 static $ac_kw foo_t static_foo () {return 0; }
23028 $ac_kw foo_t foo () {return 0; }
23032 rm -f conftest.$ac_objext
23033 if { (ac_try="$ac_compile"
23034 case "(($ac_try" in
23035 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23036 *) ac_try_echo
=$ac_try;;
23038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23039 (eval "$ac_compile") 2>conftest.er1
23041 grep -v '^ *+' conftest.er1
>conftest.err
23043 cat conftest.err
>&5
23044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23045 (exit $ac_status); } && {
23046 test -z "$ac_c_werror_flag" ||
23047 test ! -s conftest.err
23048 } && test -s conftest.
$ac_objext; then
23049 ac_cv_c_inline
=$ac_kw
23051 echo "$as_me: failed program was:" >&5
23052 sed 's/^/| /' conftest.
$ac_ext >&5
23057 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23058 test "$ac_cv_c_inline" != no
&& break
23062 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
23063 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
23066 case $ac_cv_c_inline in
23069 case $ac_cv_c_inline in
23071 *) ac_val
=$ac_cv_c_inline;;
23073 cat >>confdefs.h
<<_ACEOF
23074 #ifndef __cplusplus
23075 #define inline $ac_val
23082 { echo "$as_me:$LINENO: checking for time_t format" >&5
23083 echo $ECHO_N "checking for time_t format... $ECHO_C" >&6; }
23084 if test "${ac_cv_fmt_time_t+set}" = set; then
23085 echo $ECHO_N "(cached) $ECHO_C" >&6
23088 ac_cv_fmt_time_t
=no
23089 cat >conftest.
$ac_ext <<_ACEOF
23090 #include <sys/types.h>
23092 void myfunc(void) {
23094 printf("%li", test);
23097 rm -f conftest.
$ac_objext
23098 if { (ac_try
="$ac_compile"
23099 case "(($ac_try" in
23100 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23101 *) ac_try_echo=$ac_try;;
23103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23104 (eval "$ac_compile") 2>conftest.er1
23106 grep -v '^ *+' conftest.er1 >conftest.err
23108 cat conftest.err >&5
23109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23110 (exit $ac_status); } && {
23111 test -z "$ac_c_werror_flag" ||
23112 test ! -s conftest.err
23113 } && test -s conftest.$ac_objext; then
23114 ac_cv_fmt_time_t="\"%li\""
23116 echo "$as_me: failed program was:" >&5
23117 sed 's/^/| /' conftest.$ac_ext >&5
23122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23123 if test $ac_cv_fmt_time_t = no; then
23124 cat >conftest.$ac_ext <<_ACEOF
23125 #include <sys/types.h>
23127 void myfunc(void) {
23129 printf("%i", test);
23132 rm -f conftest.$ac_objext
23133 if { (ac_try="$ac_compile"
23134 case "(($ac_try" in
23135 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23136 *) ac_try_echo
=$ac_try;;
23138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23139 (eval "$ac_compile") 2>conftest.er1
23141 grep -v '^ *+' conftest.er1
>conftest.err
23143 cat conftest.err
>&5
23144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23145 (exit $ac_status); } && {
23146 test -z "$ac_c_werror_flag" ||
23147 test ! -s conftest.err
23148 } && test -s conftest.
$ac_objext; then
23149 ac_cv_fmt_time_t
="\"%i\""
23151 echo "$as_me: failed program was:" >&5
23152 sed 's/^/| /' conftest.
$ac_ext >&5
23157 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23159 if test $ac_cv_fmt_time_t = no
; then
23160 { { echo "$as_me:$LINENO: error: Cannot detect format string for time_t
23161 Please check sys/types.h for the typedef of time_t and submit to a developer" >&5
23162 echo "$as_me: error: Cannot detect format string for time_t
23163 Please check sys/types.h for the typedef of time_t and submit to a developer" >&2;}
23164 { (exit 1); exit 1; }; }
23170 cat >>confdefs.h
<<_ACEOF
23171 #define FMT_TIME_T $ac_cv_fmt_time_t
23174 { echo "$as_me:$LINENO: result: $ac_cv_fmt_time_t" >&5
23175 echo "${ECHO_T}$ac_cv_fmt_time_t" >&6; }
23177 { echo "$as_me:$LINENO: checking for va_copy" >&5
23178 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
23179 if test "${ac_cv_c_va_copy+set}" = set; then
23180 echo $ECHO_N "(cached) $ECHO_C" >&6
23182 cat >conftest.
$ac_ext <<_ACEOF
23185 cat confdefs.h
>>conftest.
$ac_ext
23186 cat >>conftest.
$ac_ext <<_ACEOF
23187 /* end confdefs.h. */
23188 #include <stdarg.h>
23192 va_list ap1, ap2; va_copy(ap1, ap2);
23197 rm -f conftest.
$ac_objext conftest
$ac_exeext
23198 if { (ac_try
="$ac_link"
23199 case "(($ac_try" in
23200 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23201 *) ac_try_echo=$ac_try;;
23203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23204 (eval "$ac_link") 2>conftest.er1
23206 grep -v '^ *+' conftest.er1 >conftest.err
23208 cat conftest.err >&5
23209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23210 (exit $ac_status); } && {
23211 test -z "$ac_c_werror_flag" ||
23212 test ! -s conftest.err
23213 } && test -s conftest$ac_exeext &&
23214 $as_test_x conftest$ac_exeext; then
23215 ac_cv_c_va_copy="yes"
23217 echo "$as_me: failed program was:" >&5
23218 sed 's/^/| /' conftest.$ac_ext >&5
23220 ac_cv_c_va_copy="no"
23224 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23225 conftest$ac_exeext conftest.$ac_ext
23227 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
23228 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
23229 if test "$ac_cv_c_va_copy" = "yes" ; then
23231 cat >>confdefs.h <<\_ACEOF
23232 #define HAVE_VA_COPY 1
23237 { echo "$as_me:$LINENO: checking for __va_copy" >&5
23238 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
23239 if test "${ac_cv_c___va_copy+set}" = set; then
23240 echo $ECHO_N "(cached) $ECHO_C" >&6
23242 cat >conftest.$ac_ext <<_ACEOF
23245 cat confdefs.h >>conftest.$ac_ext
23246 cat >>conftest.$ac_ext <<_ACEOF
23247 /* end confdefs.h. */
23248 #include <stdarg.h>
23252 va_list ap1, ap2; __va_copy(ap1, ap2);
23257 rm -f conftest.$ac_objext conftest$ac_exeext
23258 if { (ac_try="$ac_link"
23259 case "(($ac_try" in
23260 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23261 *) ac_try_echo
=$ac_try;;
23263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23264 (eval "$ac_link") 2>conftest.er1
23266 grep -v '^ *+' conftest.er1
>conftest.err
23268 cat conftest.err
>&5
23269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23270 (exit $ac_status); } && {
23271 test -z "$ac_c_werror_flag" ||
23272 test ! -s conftest.err
23273 } && test -s conftest
$ac_exeext &&
23274 $as_test_x conftest
$ac_exeext; then
23275 ac_cv_c___va_copy
="yes"
23277 echo "$as_me: failed program was:" >&5
23278 sed 's/^/| /' conftest.
$ac_ext >&5
23280 ac_cv_c___va_copy
="no"
23284 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
23285 conftest
$ac_exeext conftest.
$ac_ext
23287 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
23288 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
23289 if test "$ac_cv_c___va_copy" = "yes" ; then
23291 cat >>confdefs.h
<<\_ACEOF
23292 #define HAVE___VA_COPY 1
23299 { echo "$as_me:$LINENO: checking which malloc to use" >&5
23300 echo $ECHO_N "checking which malloc to use... $ECHO_C" >&6; }
23302 # Check whether --with-malloc was given.
23303 if test "${with_malloc+set}" = set; then
23304 withval
=$with_malloc;
23309 if test "x$withval" = "xsystem" ; then
23310 { echo "$as_me:$LINENO: result: system" >&5
23311 echo "${ECHO_T}system" >&6; }
23313 cat >>confdefs.h
<<\_ACEOF
23314 #define WITH_MALLOC_SYSTEM 1
23318 elif test "x$withval" = "xdmalloc" ; then
23319 { echo "$as_me:$LINENO: result: dmalloc" >&5
23320 echo "${ECHO_T}dmalloc" >&6; }
23322 for ac_header
in dmalloc.h
23324 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23325 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23326 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23327 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23328 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23329 echo $ECHO_N "(cached) $ECHO_C" >&6
23331 ac_res
=`eval echo '${'$as_ac_Header'}'`
23332 { echo "$as_me:$LINENO: result: $ac_res" >&5
23333 echo "${ECHO_T}$ac_res" >&6; }
23335 # Is the header compilable?
23336 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
23337 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
23338 cat >conftest.
$ac_ext <<_ACEOF
23341 cat confdefs.h
>>conftest.
$ac_ext
23342 cat >>conftest.
$ac_ext <<_ACEOF
23343 /* end confdefs.h. */
23344 $ac_includes_default
23345 #include <$ac_header>
23347 rm -f conftest.
$ac_objext
23348 if { (ac_try
="$ac_compile"
23349 case "(($ac_try" in
23350 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23351 *) ac_try_echo=$ac_try;;
23353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23354 (eval "$ac_compile") 2>conftest.er1
23356 grep -v '^ *+' conftest.er1 >conftest.err
23358 cat conftest.err >&5
23359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23360 (exit $ac_status); } && {
23361 test -z "$ac_c_werror_flag" ||
23362 test ! -s conftest.err
23363 } && test -s conftest.$ac_objext; then
23364 ac_header_compiler=yes
23366 echo "$as_me: failed program was:" >&5
23367 sed 's/^/| /' conftest.$ac_ext >&5
23369 ac_header_compiler=no
23372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23373 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23374 echo "${ECHO_T}$ac_header_compiler" >&6; }
23376 # Is the header present?
23377 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
23378 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
23379 cat >conftest.$ac_ext <<_ACEOF
23382 cat confdefs.h >>conftest.$ac_ext
23383 cat >>conftest.$ac_ext <<_ACEOF
23384 /* end confdefs.h. */
23385 #include <$ac_header>
23387 if { (ac_try="$ac_cpp conftest.$ac_ext"
23388 case "(($ac_try" in
23389 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23390 *) ac_try_echo
=$ac_try;;
23392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23393 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23395 grep -v '^ *+' conftest.er1
>conftest.err
23397 cat conftest.err
>&5
23398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23399 (exit $ac_status); } >/dev
/null
&& {
23400 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23401 test ! -s conftest.err
23403 ac_header_preproc
=yes
23405 echo "$as_me: failed program was:" >&5
23406 sed 's/^/| /' conftest.
$ac_ext >&5
23408 ac_header_preproc
=no
23411 rm -f conftest.err conftest.
$ac_ext
23412 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23413 echo "${ECHO_T}$ac_header_preproc" >&6; }
23415 # So? What about this header?
23416 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23418 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23419 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23420 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23421 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23422 ac_header_preproc
=yes
23425 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23426 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23427 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23428 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23429 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23430 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23431 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23432 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23433 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23434 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23435 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23436 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23438 ## -------------------------------------------------- ##
23439 ## Report this to evilnet-devel@lists.sourceforge.net ##
23440 ## -------------------------------------------------- ##
23442 ) | sed "s/^/$as_me: WARNING: /" >&2
23445 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23446 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23447 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23448 echo $ECHO_N "(cached) $ECHO_C" >&6
23450 eval "$as_ac_Header=\$ac_header_preproc"
23452 ac_res
=`eval echo '${'$as_ac_Header'}'`
23453 { echo "$as_me:$LINENO: result: $ac_res" >&5
23454 echo "${ECHO_T}$ac_res" >&6; }
23457 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23458 cat >>confdefs.h
<<_ACEOF
23459 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23463 { { echo "$as_me:$LINENO: error: dmalloc header file missing. dmalloc build will fail." >&5
23464 echo "$as_me: error: dmalloc header file missing. dmalloc build will fail." >&2;}
23465 { (exit 1); exit 1; }; }
23471 { echo "$as_me:$LINENO: checking for malloc in -ldmalloc" >&5
23472 echo $ECHO_N "checking for malloc in -ldmalloc... $ECHO_C" >&6; }
23473 if test "${ac_cv_lib_dmalloc_malloc+set}" = set; then
23474 echo $ECHO_N "(cached) $ECHO_C" >&6
23476 ac_check_lib_save_LIBS
=$LIBS
23477 LIBS
="-ldmalloc $LIBS"
23478 cat >conftest.
$ac_ext <<_ACEOF
23481 cat confdefs.h
>>conftest.
$ac_ext
23482 cat >>conftest.
$ac_ext <<_ACEOF
23483 /* end confdefs.h. */
23485 /* Override any GCC internal prototype to avoid an error.
23486 Use char because int might match the return type of a GCC
23487 builtin and then its argument prototype would still apply. */
23500 rm -f conftest.
$ac_objext conftest
$ac_exeext
23501 if { (ac_try
="$ac_link"
23502 case "(($ac_try" in
23503 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23504 *) ac_try_echo=$ac_try;;
23506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23507 (eval "$ac_link") 2>conftest.er1
23509 grep -v '^ *+' conftest.er1 >conftest.err
23511 cat conftest.err >&5
23512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23513 (exit $ac_status); } && {
23514 test -z "$ac_c_werror_flag" ||
23515 test ! -s conftest.err
23516 } && test -s conftest$ac_exeext &&
23517 $as_test_x conftest$ac_exeext; then
23518 ac_cv_lib_dmalloc_malloc=yes
23520 echo "$as_me: failed program was:" >&5
23521 sed 's/^/| /' conftest.$ac_ext >&5
23523 ac_cv_lib_dmalloc_malloc=no
23526 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23527 conftest$ac_exeext conftest.$ac_ext
23528 LIBS=$ac_check_lib_save_LIBS
23530 { echo "$as_me:$LINENO: result: $ac_cv_lib_dmalloc_malloc" >&5
23531 echo "${ECHO_T}$ac_cv_lib_dmalloc_malloc" >&6; }
23532 if test $ac_cv_lib_dmalloc_malloc = yes; then
23533 cat >>confdefs.h <<_ACEOF
23534 #define HAVE_LIBDMALLOC 1
23537 LIBS="-ldmalloc $LIBS"
23540 { { echo "$as_me:$LINENO: error: dmalloc library is missing. dmalloc build will fail." >&5
23541 echo "$as_me: error: dmalloc library is missing. dmalloc build will fail." >&2;}
23542 { (exit 1); exit 1; }; }
23546 cat >>confdefs.h <<\_ACEOF
23547 #define WITH_MALLOC_DMALLOC 1
23550 x3_malloc="DMalloc"
23551 elif test "x$withval" = "xmpatrol" ; then
23552 { echo "$as_me:$LINENO: result: mpatrol" >&5
23553 echo "${ECHO_T}mpatrol" >&6; }
23555 for ac_header in mpatrol.h
23557 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23558 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23559 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23560 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23561 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23562 echo $ECHO_N "(cached) $ECHO_C" >&6
23564 ac_res=`eval echo '${'$as_ac_Header'}'`
23565 { echo "$as_me:$LINENO: result: $ac_res" >&5
23566 echo "${ECHO_T}$ac_res" >&6; }
23568 # Is the header compilable?
23569 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
23570 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
23571 cat >conftest.$ac_ext <<_ACEOF
23574 cat confdefs.h >>conftest.$ac_ext
23575 cat >>conftest.$ac_ext <<_ACEOF
23576 /* end confdefs.h. */
23577 $ac_includes_default
23578 #include <$ac_header>
23580 rm -f conftest.$ac_objext
23581 if { (ac_try="$ac_compile"
23582 case "(($ac_try" in
23583 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23584 *) ac_try_echo
=$ac_try;;
23586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23587 (eval "$ac_compile") 2>conftest.er1
23589 grep -v '^ *+' conftest.er1
>conftest.err
23591 cat conftest.err
>&5
23592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23593 (exit $ac_status); } && {
23594 test -z "$ac_c_werror_flag" ||
23595 test ! -s conftest.err
23596 } && test -s conftest.
$ac_objext; then
23597 ac_header_compiler
=yes
23599 echo "$as_me: failed program was:" >&5
23600 sed 's/^/| /' conftest.
$ac_ext >&5
23602 ac_header_compiler
=no
23605 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23606 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23607 echo "${ECHO_T}$ac_header_compiler" >&6; }
23609 # Is the header present?
23610 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
23611 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
23612 cat >conftest.
$ac_ext <<_ACEOF
23615 cat confdefs.h
>>conftest.
$ac_ext
23616 cat >>conftest.
$ac_ext <<_ACEOF
23617 /* end confdefs.h. */
23618 #include <$ac_header>
23620 if { (ac_try
="$ac_cpp conftest.$ac_ext"
23621 case "(($ac_try" in
23622 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23623 *) ac_try_echo=$ac_try;;
23625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23626 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23628 grep -v '^ *+' conftest.er1 >conftest.err
23630 cat conftest.err >&5
23631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23632 (exit $ac_status); } >/dev/null && {
23633 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23634 test ! -s conftest.err
23636 ac_header_preproc=yes
23638 echo "$as_me: failed program was:" >&5
23639 sed 's/^/| /' conftest.$ac_ext >&5
23641 ac_header_preproc=no
23644 rm -f conftest.err conftest.$ac_ext
23645 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23646 echo "${ECHO_T}$ac_header_preproc" >&6; }
23648 # So? What about this header?
23649 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23651 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23652 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23653 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23654 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23655 ac_header_preproc=yes
23658 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23659 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23660 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23661 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23662 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23663 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23664 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23665 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23666 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23667 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23668 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23669 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23671 ## -------------------------------------------------- ##
23672 ## Report this to evilnet-devel@lists.sourceforge.net ##
23673 ## -------------------------------------------------- ##
23675 ) | sed "s/^/$as_me: WARNING: /" >&2
23678 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23679 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23680 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23681 echo $ECHO_N "(cached) $ECHO_C" >&6
23683 eval "$as_ac_Header=\$ac_header_preproc"
23685 ac_res=`eval echo '${'$as_ac_Header'}'`
23686 { echo "$as_me:$LINENO: result: $ac_res" >&5
23687 echo "${ECHO_T}$ac_res" >&6; }
23690 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23691 cat >>confdefs.h <<_ACEOF
23692 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23696 { { echo "$as_me:$LINENO: error: mpatrol header file missing. mpatrol build will fail." >&5
23697 echo "$as_me: error: mpatrol header file missing. mpatrol build will fail." >&2;}
23698 { (exit 1); exit 1; }; }
23704 { echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5
23705 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6; }
23706 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
23707 echo $ECHO_N "(cached) $ECHO_C" >&6
23709 ac_check_lib_save_LIBS=$LIBS
23711 cat >conftest.$ac_ext <<_ACEOF
23714 cat confdefs.h >>conftest.$ac_ext
23715 cat >>conftest.$ac_ext <<_ACEOF
23716 /* end confdefs.h. */
23718 /* Override any GCC internal prototype to avoid an error.
23719 Use char because int might match the return type of a GCC
23720 builtin and then its argument prototype would still apply. */
23728 return elf_begin ();
23733 rm -f conftest.$ac_objext conftest$ac_exeext
23734 if { (ac_try="$ac_link"
23735 case "(($ac_try" in
23736 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23737 *) ac_try_echo
=$ac_try;;
23739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23740 (eval "$ac_link") 2>conftest.er1
23742 grep -v '^ *+' conftest.er1
>conftest.err
23744 cat conftest.err
>&5
23745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23746 (exit $ac_status); } && {
23747 test -z "$ac_c_werror_flag" ||
23748 test ! -s conftest.err
23749 } && test -s conftest
$ac_exeext &&
23750 $as_test_x conftest
$ac_exeext; then
23751 ac_cv_lib_elf_elf_begin
=yes
23753 echo "$as_me: failed program was:" >&5
23754 sed 's/^/| /' conftest.
$ac_ext >&5
23756 ac_cv_lib_elf_elf_begin
=no
23759 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
23760 conftest
$ac_exeext conftest.
$ac_ext
23761 LIBS
=$ac_check_lib_save_LIBS
23763 { echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5
23764 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6; }
23765 if test $ac_cv_lib_elf_elf_begin = yes; then
23766 cat >>confdefs.h
<<_ACEOF
23767 #define HAVE_LIBELF 1
23775 { echo "$as_me:$LINENO: checking for __mp_atexit in -lmpatrol" >&5
23776 echo $ECHO_N "checking for __mp_atexit in -lmpatrol... $ECHO_C" >&6; }
23777 if test "${ac_cv_lib_mpatrol___mp_atexit+set}" = set; then
23778 echo $ECHO_N "(cached) $ECHO_C" >&6
23780 ac_check_lib_save_LIBS
=$LIBS
23781 LIBS
="-lmpatrol $LIBS"
23782 cat >conftest.
$ac_ext <<_ACEOF
23785 cat confdefs.h
>>conftest.
$ac_ext
23786 cat >>conftest.
$ac_ext <<_ACEOF
23787 /* end confdefs.h. */
23789 /* Override any GCC internal prototype to avoid an error.
23790 Use char because int might match the return type of a GCC
23791 builtin and then its argument prototype would still apply. */
23795 char __mp_atexit ();
23799 return __mp_atexit ();
23804 rm -f conftest.
$ac_objext conftest
$ac_exeext
23805 if { (ac_try
="$ac_link"
23806 case "(($ac_try" in
23807 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23808 *) ac_try_echo=$ac_try;;
23810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23811 (eval "$ac_link") 2>conftest.er1
23813 grep -v '^ *+' conftest.er1 >conftest.err
23815 cat conftest.err >&5
23816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23817 (exit $ac_status); } && {
23818 test -z "$ac_c_werror_flag" ||
23819 test ! -s conftest.err
23820 } && test -s conftest$ac_exeext &&
23821 $as_test_x conftest$ac_exeext; then
23822 ac_cv_lib_mpatrol___mp_atexit=yes
23824 echo "$as_me: failed program was:" >&5
23825 sed 's/^/| /' conftest.$ac_ext >&5
23827 ac_cv_lib_mpatrol___mp_atexit=no
23830 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23831 conftest$ac_exeext conftest.$ac_ext
23832 LIBS=$ac_check_lib_save_LIBS
23834 { echo "$as_me:$LINENO: result: $ac_cv_lib_mpatrol___mp_atexit" >&5
23835 echo "${ECHO_T}$ac_cv_lib_mpatrol___mp_atexit" >&6; }
23836 if test $ac_cv_lib_mpatrol___mp_atexit = yes; then
23837 cat >>confdefs.h <<_ACEOF
23838 #define HAVE_LIBMPATROL 1
23841 LIBS="-lmpatrol $LIBS"
23844 { { echo "$as_me:$LINENO: error: mpatrol library is missing completely. mpatrol build will fail." >&5
23845 echo "$as_me: error: mpatrol library is missing completely. mpatrol build will fail." >&2;}
23846 { (exit 1); exit 1; }; }
23850 cat >>confdefs.h <<\_ACEOF
23851 #define WITH_MALLOC_MPATROL 1
23854 x3_malloc="MPatrol"
23855 elif test "x$withval" = "xboehm-gc" ; then
23856 { echo "$as_me:$LINENO: result: boehm-gc" >&5
23857 echo "${ECHO_T}boehm-gc" >&6; }
23859 for ac_header in gc/gc.h
23861 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23862 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23863 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23864 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23865 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23866 echo $ECHO_N "(cached) $ECHO_C" >&6
23868 ac_res=`eval echo '${'$as_ac_Header'}'`
23869 { echo "$as_me:$LINENO: result: $ac_res" >&5
23870 echo "${ECHO_T}$ac_res" >&6; }
23872 # Is the header compilable?
23873 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
23874 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
23875 cat >conftest.$ac_ext <<_ACEOF
23878 cat confdefs.h >>conftest.$ac_ext
23879 cat >>conftest.$ac_ext <<_ACEOF
23880 /* end confdefs.h. */
23881 $ac_includes_default
23882 #include <$ac_header>
23884 rm -f conftest.$ac_objext
23885 if { (ac_try="$ac_compile"
23886 case "(($ac_try" in
23887 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23888 *) ac_try_echo
=$ac_try;;
23890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23891 (eval "$ac_compile") 2>conftest.er1
23893 grep -v '^ *+' conftest.er1
>conftest.err
23895 cat conftest.err
>&5
23896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23897 (exit $ac_status); } && {
23898 test -z "$ac_c_werror_flag" ||
23899 test ! -s conftest.err
23900 } && test -s conftest.
$ac_objext; then
23901 ac_header_compiler
=yes
23903 echo "$as_me: failed program was:" >&5
23904 sed 's/^/| /' conftest.
$ac_ext >&5
23906 ac_header_compiler
=no
23909 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23910 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23911 echo "${ECHO_T}$ac_header_compiler" >&6; }
23913 # Is the header present?
23914 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
23915 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
23916 cat >conftest.
$ac_ext <<_ACEOF
23919 cat confdefs.h
>>conftest.
$ac_ext
23920 cat >>conftest.
$ac_ext <<_ACEOF
23921 /* end confdefs.h. */
23922 #include <$ac_header>
23924 if { (ac_try
="$ac_cpp conftest.$ac_ext"
23925 case "(($ac_try" in
23926 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23927 *) ac_try_echo=$ac_try;;
23929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23930 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23932 grep -v '^ *+' conftest.er1 >conftest.err
23934 cat conftest.err >&5
23935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23936 (exit $ac_status); } >/dev/null && {
23937 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23938 test ! -s conftest.err
23940 ac_header_preproc=yes
23942 echo "$as_me: failed program was:" >&5
23943 sed 's/^/| /' conftest.$ac_ext >&5
23945 ac_header_preproc=no
23948 rm -f conftest.err conftest.$ac_ext
23949 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23950 echo "${ECHO_T}$ac_header_preproc" >&6; }
23952 # So? What about this header?
23953 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23955 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23956 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23957 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23958 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23959 ac_header_preproc=yes
23962 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23963 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23964 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23965 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23966 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23967 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23968 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23969 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23970 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23971 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23972 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23973 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23975 ## -------------------------------------------------- ##
23976 ## Report this to evilnet-devel@lists.sourceforge.net ##
23977 ## -------------------------------------------------- ##
23979 ) | sed "s/^/$as_me: WARNING: /" >&2
23982 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23983 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23984 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23985 echo $ECHO_N "(cached) $ECHO_C" >&6
23987 eval "$as_ac_Header=\$ac_header_preproc"
23989 ac_res=`eval echo '${'$as_ac_Header'}'`
23990 { echo "$as_me:$LINENO: result: $ac_res" >&5
23991 echo "${ECHO_T}$ac_res" >&6; }
23994 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23995 cat >>confdefs.h <<_ACEOF
23996 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24000 { { echo "$as_me:$LINENO: error: Boehm GC header file missing. boehm-gc build will fail." >&5
24001 echo "$as_me: error: Boehm GC header file missing. boehm-gc build will fail." >&2;}
24002 { (exit 1); exit 1; }; }
24008 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
24009 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
24010 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
24011 echo $ECHO_N "(cached) $ECHO_C" >&6
24013 ac_check_lib_save_LIBS=$LIBS
24015 cat >conftest.$ac_ext <<_ACEOF
24018 cat confdefs.h >>conftest.$ac_ext
24019 cat >>conftest.$ac_ext <<_ACEOF
24020 /* end confdefs.h. */
24022 /* Override any GCC internal prototype to avoid an error.
24023 Use char because int might match the return type of a GCC
24024 builtin and then its argument prototype would still apply. */
24037 rm -f conftest.$ac_objext conftest$ac_exeext
24038 if { (ac_try="$ac_link"
24039 case "(($ac_try" in
24040 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24041 *) ac_try_echo
=$ac_try;;
24043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24044 (eval "$ac_link") 2>conftest.er1
24046 grep -v '^ *+' conftest.er1
>conftest.err
24048 cat conftest.err
>&5
24049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24050 (exit $ac_status); } && {
24051 test -z "$ac_c_werror_flag" ||
24052 test ! -s conftest.err
24053 } && test -s conftest
$ac_exeext &&
24054 $as_test_x conftest
$ac_exeext; then
24055 ac_cv_lib_dl_dlopen
=yes
24057 echo "$as_me: failed program was:" >&5
24058 sed 's/^/| /' conftest.
$ac_ext >&5
24060 ac_cv_lib_dl_dlopen
=no
24063 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
24064 conftest
$ac_exeext conftest.
$ac_ext
24065 LIBS
=$ac_check_lib_save_LIBS
24067 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
24068 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
24069 if test $ac_cv_lib_dl_dlopen = yes; then
24070 cat >>confdefs.h
<<_ACEOF
24071 #define HAVE_LIBDL 1
24077 { { echo "$as_me:$LINENO: error: libdl library is missing. boehm-gc build will fail." >&5
24078 echo "$as_me: error: libdl library is missing. boehm-gc build will fail." >&2;}
24079 { (exit 1); exit 1; }; }
24083 { echo "$as_me:$LINENO: checking for GC_gcollect in -lgc" >&5
24084 echo $ECHO_N "checking for GC_gcollect in -lgc... $ECHO_C" >&6; }
24085 if test "${ac_cv_lib_gc_GC_gcollect+set}" = set; then
24086 echo $ECHO_N "(cached) $ECHO_C" >&6
24088 ac_check_lib_save_LIBS
=$LIBS
24090 cat >conftest.
$ac_ext <<_ACEOF
24093 cat confdefs.h
>>conftest.
$ac_ext
24094 cat >>conftest.
$ac_ext <<_ACEOF
24095 /* end confdefs.h. */
24097 /* Override any GCC internal prototype to avoid an error.
24098 Use char because int might match the return type of a GCC
24099 builtin and then its argument prototype would still apply. */
24103 char GC_gcollect ();
24107 return GC_gcollect ();
24112 rm -f conftest.
$ac_objext conftest
$ac_exeext
24113 if { (ac_try
="$ac_link"
24114 case "(($ac_try" in
24115 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24116 *) ac_try_echo=$ac_try;;
24118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24119 (eval "$ac_link") 2>conftest.er1
24121 grep -v '^ *+' conftest.er1 >conftest.err
24123 cat conftest.err >&5
24124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24125 (exit $ac_status); } && {
24126 test -z "$ac_c_werror_flag" ||
24127 test ! -s conftest.err
24128 } && test -s conftest$ac_exeext &&
24129 $as_test_x conftest$ac_exeext; then
24130 ac_cv_lib_gc_GC_gcollect=yes
24132 echo "$as_me: failed program was:" >&5
24133 sed 's/^/| /' conftest.$ac_ext >&5
24135 ac_cv_lib_gc_GC_gcollect=no
24138 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24139 conftest$ac_exeext conftest.$ac_ext
24140 LIBS=$ac_check_lib_save_LIBS
24142 { echo "$as_me:$LINENO: result: $ac_cv_lib_gc_GC_gcollect" >&5
24143 echo "${ECHO_T}$ac_cv_lib_gc_GC_gcollect" >&6; }
24144 if test $ac_cv_lib_gc_GC_gcollect = yes; then
24145 cat >>confdefs.h <<_ACEOF
24146 #define HAVE_LIBGC 1
24152 { { echo "$as_me:$LINENO: error: Boehm GC library is missing. boehm-gc build will fail." >&5
24153 echo "$as_me: error: Boehm GC library is missing. boehm-gc build will fail." >&2;}
24154 { (exit 1); exit 1; }; }
24158 cat >>confdefs.h <<\_ACEOF
24159 #define WITH_MALLOC_BOEHM_GC 1
24163 elif test "x$withval" = "xx3" ; then
24164 { echo "$as_me:$LINENO: result: x3" >&5
24165 echo "${ECHO_T}x3" >&6; }
24167 cat >>confdefs.h <<\_ACEOF
24168 #define WITH_MALLOC_X3 1
24171 MODULE_OBJS="$MODULE_OBJS alloc-x3.\$(OBJEXT)"
24173 elif test "x$withval" = "xslab" ; then
24174 { echo "$as_me:$LINENO: result: slab" >&5
24175 echo "${ECHO_T}slab" >&6; }
24177 cat >>confdefs.h <<\_ACEOF
24178 #define WITH_MALLOC_SLAB 1
24181 MODULE_OBJS="$MODULE_OBJS alloc-slab.\$(OBJEXT)"
24184 { { echo "$as_me:$LINENO: error: Unknown malloc type $withval" >&5
24185 echo "$as_me: error: Unknown malloc type $withval" >&2;}
24186 { (exit 1); exit 1; }; }
24189 { echo "$as_me:$LINENO: checking which protocol to use" >&5
24190 echo $ECHO_N "checking which protocol to use... $ECHO_C" >&6; }
24192 # Check whether --with-protocol was given.
24193 if test "${with_protocol+set}" = set; then
24194 withval=$with_protocol;
24199 if test "x$withval" = "xp10" ; then
24200 { echo "$as_me:$LINENO: result: P10" >&5
24201 echo "${ECHO_T}P10" >&6; }
24203 cat >>confdefs.h <<\_ACEOF
24204 #define WITH_PROTOCOL_P10 1
24207 MODULE_OBJS="$MODULE_OBJS proto-p10.\$(OBJEXT)"
24209 elif test -r "${srcdir}/src/proto-${withval}.c" ; then
24210 { echo "$as_me:$LINENO: result: $withval" >&5
24211 echo "${ECHO_T}$withval" >&6; }
24212 MODULE_OBJS="$MODULE_OBJS proto-${withval}.\$(OBJEXT)"
24214 { { echo "$as_me:$LINENO: error: Unknown IRC dialect $withval" >&5
24215 echo "$as_me: error: Unknown IRC dialect $withval" >&2;}
24216 { (exit 1); exit 1; }; }
24219 { echo "$as_me:$LINENO: checking how to send mail" >&5
24220 echo $ECHO_N "checking how to send mail... $ECHO_C" >&6; }
24222 # Check whether --with-mail was given.
24223 if test "${with_mail+set}" = set; then
24224 withval=$with_mail;
24229 if test -r "${srcdir}/src/mail-${withval}.c" ; then
24230 { echo "$as_me:$LINENO: result: $withval" >&5
24231 echo "${ECHO_T}$withval" >&6; }
24232 MODULE_OBJS="$MODULE_OBJS mail-${withval}.\$(OBJEXT)"
24234 { { echo "$as_me:$LINENO: error: Unknown mail method $withval" >&5
24235 echo "$as_me: error: Unknown mail method $withval" >&2;}
24236 { (exit 1); exit 1; }; }
24239 { echo "$as_me:$LINENO: checking I/O multiplexing backends" >&5
24240 echo $ECHO_N "checking I/O multiplexing backends... $ECHO_C" >&6; }
24243 if test "x$ac_cv_func_select" = xyes ; then
24245 cat >>confdefs.h <<\_ACEOF
24246 #define WITH_IOSET_SELECT 1
24249 MODULE_OBJS="$MODULE_OBJS ioset-select.\$(OBJEXT)"
24250 IOMUXES="$IOMUXES select"
24254 # Check whether --with-epoll was given.
24255 if test "${with_epoll+set}" = set; then
24256 withval=$with_epoll;
24258 withval="$ac_cv_func_epoll_create"
24261 if test "x$withval" = xyes ; then
24263 cat >>confdefs.h <<\_ACEOF
24264 #define WITH_IOSET_EPOLL 1
24267 MODULE_OBJS="$MODULE_OBJS ioset-epoll.\$(OBJEXT)"
24268 IOMUXES="$IOMUXES epoll"
24271 IOMUXES=`echo $IOMUXES | sed 's/^ +//'`
24272 if test "x$IOMUXES" = "x" ; then
24273 { { echo "$as_me:$LINENO: error: No supported I/O multiplexing backend found" >&5
24274 echo "$as_me: error: No supported I/O multiplexing backend found" >&2;}
24275 { (exit 1); exit 1; }; }
24277 { echo "$as_me:$LINENO: result: $IOMUXES" >&5
24278 echo "${ECHO_T}$IOMUXES" >&6; }
24282 # Check whether --with-getopt was given.
24283 if test "${with_getopt+set}" = set; then
24284 withval=$with_getopt; if test "$withval" = no; then
24286 cat >>confdefs.h <<\_ACEOF
24287 #define IGNORE_GETOPT 1
24294 { echo "$as_me:$LINENO: checking whether to enable tokenization" >&5
24295 echo $ECHO_N "checking whether to enable tokenization... $ECHO_C" >&6; }
24296 # Check whether --enable-tokens was given.
24297 if test "${enable_tokens+set}" = set; then
24298 enableval=$enable_tokens;
24303 if test "z$enableval" = zno ; then
24304 { echo "$as_me:$LINENO: result: no" >&5
24305 echo "${ECHO_T}no" >&6; }
24308 cat >>confdefs.h <<\_ACEOF
24309 #define ENABLE_TOKENS 1
24312 { echo "$as_me:$LINENO: result: yes" >&5
24313 echo "${ECHO_T}yes" >&6; }
24316 { echo "$as_me:$LINENO: checking whether to enable debug behaviors" >&5
24317 echo $ECHO_N "checking whether to enable debug behaviors... $ECHO_C" >&6; }
24318 # Check whether --enable-debug was given.
24319 if test "${enable_debug+set}" = set; then
24320 enableval=$enable_debug;
24321 CPPFLAGS="$CPPFLAGS"
24322 { echo "$as_me:$LINENO: result: yes" >&5
24323 echo "${ECHO_T}yes" >&6; }
24328 CPPFLAGS="$CPPFLAGS -DNDEBUG"
24329 { echo "$as_me:$LINENO: result: no" >&5
24330 echo "${ECHO_T}no" >&6; }
24331 x3_debug="Disabled"
24336 if test -e src ; then
24337 if test ! -d src ; then
24338 { { echo "$as_me:$LINENO: error: src exists but is not a directory; please move it out of the way." >&5
24339 echo "$as_me: error: src exists but is not a directory; please move it out of the way." >&2;}
24340 { (exit 1); exit 1; }; }
24345 { echo "$as_me:$LINENO: checking for extra module files" >&5
24346 echo $ECHO_N "checking for extra module files... $ECHO_C" >&6; }
24347 MODULE_DEFINES="src/modules-list.h"
24348 echo > $MODULE_DEFINES
24349 touch $MODULE_DEFINES
24350 # Check whether --enable-modules was given.
24351 if test "${enable_modules+set}" = set; then
24352 enableval=$enable_modules;
24355 EXTRA_MODULE_OBJS=""
24357 for module in $enableval ; do
24358 module=`echo $module | sed -e s
/^mod
-// -e s
/\.c\$
//`
24359 EXTRA_MODULE_OBJS="$EXTRA_MODULE_OBJS mod-$module.\$(OBJEXT)"
24360 module_list="$module_list $module"
24361 echo "WITH_MODULE($module)" >> $MODULE_DEFINES
24362 if test "x$module" = "xtrack" ; then
24363 TRACK="-D HAVE_TRACK"
24365 cat >>confdefs.h <<\_ACEOF
24366 #define HAVE_TRACK 1
24370 if test "x$module" = "xhelpserv" ; then
24371 TRACK="-D HAVE_HELPSERV"
24373 cat >>confdefs.h <<\_ACEOF
24374 #define HAVE_HELPSERV 1
24380 MODULE_OBJS="$MODULE_OBJS $EXTRA_MODULE_OBJS"
24381 { echo "$as_me:$LINENO: result: $module_list" >&5
24382 echo "${ECHO_T}$module_list" >&6; }
24386 { echo "$as_me:$LINENO: result: none" >&5
24387 echo "${ECHO_T}none" >&6; }
24395 if test "${BROKEN_REGEX}" = yes -o "${ac_cv_func_regcomp}" = no; then
24396 MY_SUBDIRS="rx $MY_SUBDIRS"
24397 RX_INCLUDES="-I../rx"
24398 RX_LIBS="../rx/librx.a"
24400 MY_SUBDIRS="$MY_SUBDIRS src"
24401 CFLAGS="$CFLAGS $ANSI_SRC -W -Wall"
24402 if test "z$USE_MAINTAINER_MODE" = zyes ; then
24403 CFLAGS="$CFLAGS -Werror -ansi"
24407 tre_version="0.7.5"
24410 # Check whether --with-tre was given.
24411 if test "${with_tre+set}" = set; then
24415 if test "x$withval" != "x"; then
24416 { echo "$as_me:$LINENO: result: Using include dir $withval to find libtre" >&5
24417 echo "${ECHO_T}Using include dir $withval to find libtre" >&6; }
24418 CPPFLAGS="$CPPFLAGS -I$withval/include -L$withval/lib"
24419 LIBS="$LIBS -L$withval/lib"
24421 { echo "$as_me:$LINENO: result: Looking for tre in system and home dirs (${HOME})..." >&5
24422 echo "${ECHO_T}Looking for tre in system and home dirs (${HOME})..." >&6; }
24423 CPPFLAGS="$CPPFLAGS -I${HOME}/include -L${HOME}/lib"
24424 LIBS="$LIBS -L${HOME}/lib"
24426 if test "${ac_cv_header_tre_regex_h+set}" = set; then
24427 { echo "$as_me:$LINENO: checking for tre/regex.h" >&5
24428 echo $ECHO_N "checking for tre/regex.h... $ECHO_C" >&6; }
24429 if test "${ac_cv_header_tre_regex_h+set}" = set; then
24430 echo $ECHO_N "(cached) $ECHO_C" >&6
24432 { echo "$as_me:$LINENO: result: $ac_cv_header_tre_regex_h" >&5
24433 echo "${ECHO_T}$ac_cv_header_tre_regex_h" >&6; }
24435 # Is the header compilable?
24436 { echo "$as_me:$LINENO: checking tre/regex.h usability" >&5
24437 echo $ECHO_N "checking tre/regex.h usability... $ECHO_C" >&6; }
24438 cat >conftest.$ac_ext <<_ACEOF
24441 cat confdefs.h >>conftest.$ac_ext
24442 cat >>conftest.$ac_ext <<_ACEOF
24443 /* end confdefs.h. */
24444 $ac_includes_default
24445 #include <tre/regex.h>
24447 rm -f conftest.$ac_objext
24448 if { (ac_try="$ac_compile"
24449 case "(($ac_try" in
24450 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24451 *) ac_try_echo
=$ac_try;;
24453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24454 (eval "$ac_compile") 2>conftest.er1
24456 grep -v '^ *+' conftest.er1
>conftest.err
24458 cat conftest.err
>&5
24459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24460 (exit $ac_status); } && {
24461 test -z "$ac_c_werror_flag" ||
24462 test ! -s conftest.err
24463 } && test -s conftest.
$ac_objext; then
24464 ac_header_compiler
=yes
24466 echo "$as_me: failed program was:" >&5
24467 sed 's/^/| /' conftest.
$ac_ext >&5
24469 ac_header_compiler
=no
24472 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24473 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24474 echo "${ECHO_T}$ac_header_compiler" >&6; }
24476 # Is the header present?
24477 { echo "$as_me:$LINENO: checking tre/regex.h presence" >&5
24478 echo $ECHO_N "checking tre/regex.h presence... $ECHO_C" >&6; }
24479 cat >conftest.
$ac_ext <<_ACEOF
24482 cat confdefs.h
>>conftest.
$ac_ext
24483 cat >>conftest.
$ac_ext <<_ACEOF
24484 /* end confdefs.h. */
24485 #include <tre/regex.h>
24487 if { (ac_try
="$ac_cpp conftest.$ac_ext"
24488 case "(($ac_try" in
24489 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24490 *) ac_try_echo=$ac_try;;
24492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24493 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24495 grep -v '^ *+' conftest.er1 >conftest.err
24497 cat conftest.err >&5
24498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24499 (exit $ac_status); } >/dev/null && {
24500 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24501 test ! -s conftest.err
24503 ac_header_preproc=yes
24505 echo "$as_me: failed program was:" >&5
24506 sed 's/^/| /' conftest.$ac_ext >&5
24508 ac_header_preproc=no
24511 rm -f conftest.err conftest.$ac_ext
24512 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24513 echo "${ECHO_T}$ac_header_preproc" >&6; }
24515 # So? What about this header?
24516 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24518 { echo "$as_me:$LINENO: WARNING: tre/regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
24519 echo "$as_me: WARNING: tre/regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24520 { echo "$as_me:$LINENO: WARNING: tre/regex.h: proceeding with the compiler's result" >&5
24521 echo "$as_me: WARNING: tre/regex.h: proceeding with the compiler's result" >&2;}
24522 ac_header_preproc=yes
24525 { echo "$as_me:$LINENO: WARNING: tre/regex.h: present but cannot be compiled" >&5
24526 echo "$as_me: WARNING: tre/regex.h: present but cannot be compiled" >&2;}
24527 { echo "$as_me:$LINENO: WARNING: tre/regex.h: check for missing prerequisite headers?" >&5
24528 echo "$as_me: WARNING: tre/regex.h: check for missing prerequisite headers?" >&2;}
24529 { echo "$as_me:$LINENO: WARNING: tre/regex.h: see the Autoconf documentation" >&5
24530 echo "$as_me: WARNING: tre/regex.h: see the Autoconf documentation" >&2;}
24531 { echo "$as_me:$LINENO: WARNING: tre/regex.h: section \"Present But Cannot Be Compiled\"" >&5
24532 echo "$as_me: WARNING: tre/regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
24533 { echo "$as_me:$LINENO: WARNING: tre/regex.h: proceeding with the preprocessor's result" >&5
24534 echo "$as_me: WARNING: tre/regex.h: proceeding with the preprocessor's result" >&2;}
24535 { echo "$as_me:$LINENO: WARNING: tre/regex.h: in the future, the compiler will take precedence" >&5
24536 echo "$as_me: WARNING: tre/regex.h: in the future, the compiler will take precedence" >&2;}
24538 ## -------------------------------------------------- ##
24539 ## Report this to evilnet-devel@lists.sourceforge.net ##
24540 ## -------------------------------------------------- ##
24542 ) | sed "s/^/$as_me: WARNING: /" >&2
24545 { echo "$as_me:$LINENO: checking for tre/regex.h" >&5
24546 echo $ECHO_N "checking for tre/regex.h... $ECHO_C" >&6; }
24547 if test "${ac_cv_header_tre_regex_h+set}" = set; then
24548 echo $ECHO_N "(cached) $ECHO_C" >&6
24550 ac_cv_header_tre_regex_h=$ac_header_preproc
24552 { echo "$as_me:$LINENO: result: $ac_cv_header_tre_regex_h" >&5
24553 echo "${ECHO_T}$ac_cv_header_tre_regex_h" >&6; }
24556 if test $ac_cv_header_tre_regex_h = yes; then
24559 { { echo "$as_me:$LINENO: error: tre/regex.h, the TRE regex headers, were not found. Install tre or use --with-tre=PATH to tell me how to find it, where PATH/include/tre/regex.h exists. For conveniance, just type 'tools/tre_install.sh' now, to install tre in your home directory." >&5
24560 echo "$as_me: error: tre/regex.h, the TRE regex headers, were not found. Install tre or use --with-tre=PATH to tell me how to find it, where PATH/include/tre/regex.h exists. For conveniance, just type 'tools/tre_install.sh' now, to install tre in your home directory." >&2;}
24561 { (exit 1); exit 1; }; }
24566 { echo "$as_me:$LINENO: checking for regexec in -ltre" >&5
24567 echo $ECHO_N "checking for regexec in -ltre... $ECHO_C" >&6; }
24568 if test "${ac_cv_lib_tre_regexec+set}" = set; then
24569 echo $ECHO_N "(cached) $ECHO_C" >&6
24571 ac_check_lib_save_LIBS=$LIBS
24573 cat >conftest.$ac_ext <<_ACEOF
24576 cat confdefs.h >>conftest.$ac_ext
24577 cat >>conftest.$ac_ext <<_ACEOF
24578 /* end confdefs.h. */
24580 /* Override any GCC internal prototype to avoid an error.
24581 Use char because int might match the return type of a GCC
24582 builtin and then its argument prototype would still apply. */
24595 rm -f conftest.$ac_objext conftest$ac_exeext
24596 if { (ac_try="$ac_link"
24597 case "(($ac_try" in
24598 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24599 *) ac_try_echo
=$ac_try;;
24601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24602 (eval "$ac_link") 2>conftest.er1
24604 grep -v '^ *+' conftest.er1
>conftest.err
24606 cat conftest.err
>&5
24607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24608 (exit $ac_status); } && {
24609 test -z "$ac_c_werror_flag" ||
24610 test ! -s conftest.err
24611 } && test -s conftest
$ac_exeext &&
24612 $as_test_x conftest
$ac_exeext; then
24613 ac_cv_lib_tre_regexec
=yes
24615 echo "$as_me: failed program was:" >&5
24616 sed 's/^/| /' conftest.
$ac_ext >&5
24618 ac_cv_lib_tre_regexec
=no
24621 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
24622 conftest
$ac_exeext conftest.
$ac_ext
24623 LIBS
=$ac_check_lib_save_LIBS
24625 { echo "$as_me:$LINENO: result: $ac_cv_lib_tre_regexec" >&5
24626 echo "${ECHO_T}$ac_cv_lib_tre_regexec" >&6; }
24627 if test $ac_cv_lib_tre_regexec = yes; then
24628 cat >>confdefs.h
<<_ACEOF
24629 #define HAVE_LIBTRE 1
24635 { { echo "$as_me:$LINENO: error: TRE regex library not found. Install tre, or use --with-tre=PATH to tell me how to find it, where PATH/lib/libtre.so exists. For conveniance, just type 'tools/tre_install.sh' now, to install tre in your home directory." >&5
24636 echo "$as_me: error: TRE regex library not found. Install tre, or use --with-tre=PATH to tell me how to find it, where PATH/lib/libtre.so exists. For conveniance, just type 'tools/tre_install.sh' now, to install tre in your home directory." >&2;}
24637 { (exit 1); exit 1; }; }
24644 # Check whether --with-coredumper was given.
24645 if test "${with_coredumper+set}" = set; then
24646 withval
=$with_coredumper;
24649 if test "x$withval" != "x"; then
24650 { echo "$as_me:$LINENO: result: Using include dir $withval to find coredumper" >&5
24651 echo "${ECHO_T}Using include dir $withval to find coredumper" >&6; }
24652 CPPFLAGS
="$CPPFLAGS -I$withval/include -L$withval/lib"
24653 LIBS
="$LIBS -L$withval/lib"
24655 { echo "$as_me:$LINENO: result: Looking for coredumper in system and home dirs (${HOME})..." >&5
24656 echo "${ECHO_T}Looking for coredumper in system and home dirs (${HOME})..." >&6; }
24657 CPPFLAGS
="$CPPFLAGS -I${HOME}/include -L${HOME}/lib"
24658 LIBS
="$LIBS -Wl,--rpath -Wl,${HOME}/lib"
24660 if test "${ac_cv_header_google_coredumper_h+set}" = set; then
24661 { echo "$as_me:$LINENO: checking for google/coredumper.h" >&5
24662 echo $ECHO_N "checking for google/coredumper.h... $ECHO_C" >&6; }
24663 if test "${ac_cv_header_google_coredumper_h+set}" = set; then
24664 echo $ECHO_N "(cached) $ECHO_C" >&6
24666 { echo "$as_me:$LINENO: result: $ac_cv_header_google_coredumper_h" >&5
24667 echo "${ECHO_T}$ac_cv_header_google_coredumper_h" >&6; }
24669 # Is the header compilable?
24670 { echo "$as_me:$LINENO: checking google/coredumper.h usability" >&5
24671 echo $ECHO_N "checking google/coredumper.h usability... $ECHO_C" >&6; }
24672 cat >conftest.
$ac_ext <<_ACEOF
24675 cat confdefs.h
>>conftest.
$ac_ext
24676 cat >>conftest.
$ac_ext <<_ACEOF
24677 /* end confdefs.h. */
24678 $ac_includes_default
24679 #include <google/coredumper.h>
24681 rm -f conftest.
$ac_objext
24682 if { (ac_try
="$ac_compile"
24683 case "(($ac_try" in
24684 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24685 *) ac_try_echo=$ac_try;;
24687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24688 (eval "$ac_compile") 2>conftest.er1
24690 grep -v '^ *+' conftest.er1 >conftest.err
24692 cat conftest.err >&5
24693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24694 (exit $ac_status); } && {
24695 test -z "$ac_c_werror_flag" ||
24696 test ! -s conftest.err
24697 } && test -s conftest.$ac_objext; then
24698 ac_header_compiler=yes
24700 echo "$as_me: failed program was:" >&5
24701 sed 's/^/| /' conftest.$ac_ext >&5
24703 ac_header_compiler=no
24706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24707 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24708 echo "${ECHO_T}$ac_header_compiler" >&6; }
24710 # Is the header present?
24711 { echo "$as_me:$LINENO: checking google/coredumper.h presence" >&5
24712 echo $ECHO_N "checking google/coredumper.h presence... $ECHO_C" >&6; }
24713 cat >conftest.$ac_ext <<_ACEOF
24716 cat confdefs.h >>conftest.$ac_ext
24717 cat >>conftest.$ac_ext <<_ACEOF
24718 /* end confdefs.h. */
24719 #include <google/coredumper.h>
24721 if { (ac_try="$ac_cpp conftest.$ac_ext"
24722 case "(($ac_try" in
24723 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24724 *) ac_try_echo
=$ac_try;;
24726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24727 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24729 grep -v '^ *+' conftest.er1
>conftest.err
24731 cat conftest.err
>&5
24732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24733 (exit $ac_status); } >/dev
/null
&& {
24734 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24735 test ! -s conftest.err
24737 ac_header_preproc
=yes
24739 echo "$as_me: failed program was:" >&5
24740 sed 's/^/| /' conftest.
$ac_ext >&5
24742 ac_header_preproc
=no
24745 rm -f conftest.err conftest.
$ac_ext
24746 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24747 echo "${ECHO_T}$ac_header_preproc" >&6; }
24749 # So? What about this header?
24750 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24752 { echo "$as_me:$LINENO: WARNING: google/coredumper.h: accepted by the compiler, rejected by the preprocessor!" >&5
24753 echo "$as_me: WARNING: google/coredumper.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24754 { echo "$as_me:$LINENO: WARNING: google/coredumper.h: proceeding with the compiler's result" >&5
24755 echo "$as_me: WARNING: google/coredumper.h: proceeding with the compiler's result" >&2;}
24756 ac_header_preproc
=yes
24759 { echo "$as_me:$LINENO: WARNING: google/coredumper.h: present but cannot be compiled" >&5
24760 echo "$as_me: WARNING: google/coredumper.h: present but cannot be compiled" >&2;}
24761 { echo "$as_me:$LINENO: WARNING: google/coredumper.h: check for missing prerequisite headers?" >&5
24762 echo "$as_me: WARNING: google/coredumper.h: check for missing prerequisite headers?" >&2;}
24763 { echo "$as_me:$LINENO: WARNING: google/coredumper.h: see the Autoconf documentation" >&5
24764 echo "$as_me: WARNING: google/coredumper.h: see the Autoconf documentation" >&2;}
24765 { echo "$as_me:$LINENO: WARNING: google/coredumper.h: section \"Present But Cannot Be Compiled\"" >&5
24766 echo "$as_me: WARNING: google/coredumper.h: section \"Present But Cannot Be Compiled\"" >&2;}
24767 { echo "$as_me:$LINENO: WARNING: google/coredumper.h: proceeding with the preprocessor's result" >&5
24768 echo "$as_me: WARNING: google/coredumper.h: proceeding with the preprocessor's result" >&2;}
24769 { echo "$as_me:$LINENO: WARNING: google/coredumper.h: in the future, the compiler will take precedence" >&5
24770 echo "$as_me: WARNING: google/coredumper.h: in the future, the compiler will take precedence" >&2;}
24772 ## -------------------------------------------------- ##
24773 ## Report this to evilnet-devel@lists.sourceforge.net ##
24774 ## -------------------------------------------------- ##
24776 ) | sed "s/^/$as_me: WARNING: /" >&2
24779 { echo "$as_me:$LINENO: checking for google/coredumper.h" >&5
24780 echo $ECHO_N "checking for google/coredumper.h... $ECHO_C" >&6; }
24781 if test "${ac_cv_header_google_coredumper_h+set}" = set; then
24782 echo $ECHO_N "(cached) $ECHO_C" >&6
24784 ac_cv_header_google_coredumper_h
=$ac_header_preproc
24786 { echo "$as_me:$LINENO: result: $ac_cv_header_google_coredumper_h" >&5
24787 echo "${ECHO_T}$ac_cv_header_google_coredumper_h" >&6; }
24790 if test $ac_cv_header_google_coredumper_h = yes; then
24793 { echo "$as_me:$LINENO: result: google/coredumper.h, the coredumper headers, were not found. Install coredumper or use --with-coredumper=PATH to tell me how to find it, where PATH/include/google/coredumper.h exists. For conveniance, just type 'tools/core_install.sh' now, to install coredumper in your home directory." >&5
24794 echo "${ECHO_T}google/coredumper.h, the coredumper headers, were not found. Install coredumper or use --with-coredumper=PATH to tell me how to find it, where PATH/include/google/coredumper.h exists. For conveniance, just type 'tools/core_install.sh' now, to install coredumper in your home directory." >&6; }
24799 { echo "$as_me:$LINENO: checking for WriteCoreDump in -lcoredumper" >&5
24800 echo $ECHO_N "checking for WriteCoreDump in -lcoredumper... $ECHO_C" >&6; }
24801 if test "${ac_cv_lib_coredumper_WriteCoreDump+set}" = set; then
24802 echo $ECHO_N "(cached) $ECHO_C" >&6
24804 ac_check_lib_save_LIBS
=$LIBS
24805 LIBS
="-lcoredumper $LIBS"
24806 cat >conftest.
$ac_ext <<_ACEOF
24809 cat confdefs.h
>>conftest.
$ac_ext
24810 cat >>conftest.
$ac_ext <<_ACEOF
24811 /* end confdefs.h. */
24813 /* Override any GCC internal prototype to avoid an error.
24814 Use char because int might match the return type of a GCC
24815 builtin and then its argument prototype would still apply. */
24819 char WriteCoreDump ();
24823 return WriteCoreDump ();
24828 rm -f conftest.
$ac_objext conftest
$ac_exeext
24829 if { (ac_try
="$ac_link"
24830 case "(($ac_try" in
24831 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24832 *) ac_try_echo=$ac_try;;
24834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24835 (eval "$ac_link") 2>conftest.er1
24837 grep -v '^ *+' conftest.er1 >conftest.err
24839 cat conftest.err >&5
24840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24841 (exit $ac_status); } && {
24842 test -z "$ac_c_werror_flag" ||
24843 test ! -s conftest.err
24844 } && test -s conftest$ac_exeext &&
24845 $as_test_x conftest$ac_exeext; then
24846 ac_cv_lib_coredumper_WriteCoreDump=yes
24848 echo "$as_me: failed program was:" >&5
24849 sed 's/^/| /' conftest.$ac_ext >&5
24851 ac_cv_lib_coredumper_WriteCoreDump=no
24854 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24855 conftest$ac_exeext conftest.$ac_ext
24856 LIBS=$ac_check_lib_save_LIBS
24858 { echo "$as_me:$LINENO: result: $ac_cv_lib_coredumper_WriteCoreDump" >&5
24859 echo "${ECHO_T}$ac_cv_lib_coredumper_WriteCoreDump" >&6; }
24860 if test $ac_cv_lib_coredumper_WriteCoreDump = yes; then
24861 cat >>confdefs.h <<_ACEOF
24862 #define HAVE_LIBCOREDUMPER 1
24865 LIBS="-lcoredumper $LIBS"
24868 { echo "$as_me:$LINENO: result: Coredumper library not found. Install coredumper, or use --with-coredumper=PATH to tell me how to find it, where PATH/lib/libcoredumper.so exists. For conveniance, just type 'tools/core_install.sh' now, to install coredumper in your home directory." >&5
24869 echo "${ECHO_T}Coredumper library not found. Install coredumper, or use --with-coredumper=PATH to tell me how to find it, where PATH/lib/libcoredumper.so exists. For conveniance, just type 'tools/core_install.sh' now, to install coredumper in your home directory." >&6; }
24875 # Check whether --with-ssl was given.
24876 if test "${with_ssl+set}" = set; then
24880 if test "x$withval" != "x"; then
24881 { echo "$as_me:$LINENO: result: Using include dir $withval to find openssl" >&5
24882 echo "${ECHO_T}Using include dir $withval to find openssl" >&6; }
24883 CPPFLAGS="$CPPFLAGS -I$withval/include -L$withval/lib"
24884 LIBS="$LIBS -L$withval/lib"
24886 { echo "$as_me:$LINENO: result: Looking for openssl in system " >&5
24887 echo "${ECHO_T}Looking for openssl in system " >&6; }
24890 { echo "$as_me:$LINENO: checking for BIO_new in -lssl" >&5
24891 echo $ECHO_N "checking for BIO_new in -lssl... $ECHO_C" >&6; }
24892 if test "${ac_cv_lib_ssl_BIO_new+set}" = set; then
24893 echo $ECHO_N "(cached) $ECHO_C" >&6
24895 ac_check_lib_save_LIBS=$LIBS
24897 cat >conftest.$ac_ext <<_ACEOF
24900 cat confdefs.h >>conftest.$ac_ext
24901 cat >>conftest.$ac_ext <<_ACEOF
24902 /* end confdefs.h. */
24904 /* Override any GCC internal prototype to avoid an error.
24905 Use char because int might match the return type of a GCC
24906 builtin and then its argument prototype would still apply. */
24919 rm -f conftest.$ac_objext conftest$ac_exeext
24920 if { (ac_try="$ac_link"
24921 case "(($ac_try" in
24922 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24923 *) ac_try_echo
=$ac_try;;
24925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24926 (eval "$ac_link") 2>conftest.er1
24928 grep -v '^ *+' conftest.er1
>conftest.err
24930 cat conftest.err
>&5
24931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24932 (exit $ac_status); } && {
24933 test -z "$ac_c_werror_flag" ||
24934 test ! -s conftest.err
24935 } && test -s conftest
$ac_exeext &&
24936 $as_test_x conftest
$ac_exeext; then
24937 ac_cv_lib_ssl_BIO_new
=yes
24939 echo "$as_me: failed program was:" >&5
24940 sed 's/^/| /' conftest.
$ac_ext >&5
24942 ac_cv_lib_ssl_BIO_new
=no
24945 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
24946 conftest
$ac_exeext conftest.
$ac_ext
24947 LIBS
=$ac_check_lib_save_LIBS
24949 { echo "$as_me:$LINENO: result: $ac_cv_lib_ssl_BIO_new" >&5
24950 echo "${ECHO_T}$ac_cv_lib_ssl_BIO_new" >&6; }
24951 if test $ac_cv_lib_ssl_BIO_new = yes; then
24955 for ac_header
in openssl
/bio.h
24957 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24958 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24959 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24960 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24961 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24962 echo $ECHO_N "(cached) $ECHO_C" >&6
24964 ac_res
=`eval echo '${'$as_ac_Header'}'`
24965 { echo "$as_me:$LINENO: result: $ac_res" >&5
24966 echo "${ECHO_T}$ac_res" >&6; }
24968 # Is the header compilable?
24969 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
24970 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
24971 cat >conftest.
$ac_ext <<_ACEOF
24974 cat confdefs.h
>>conftest.
$ac_ext
24975 cat >>conftest.
$ac_ext <<_ACEOF
24976 /* end confdefs.h. */
24977 $ac_includes_default
24978 #include <$ac_header>
24980 rm -f conftest.
$ac_objext
24981 if { (ac_try
="$ac_compile"
24982 case "(($ac_try" in
24983 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24984 *) ac_try_echo=$ac_try;;
24986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24987 (eval "$ac_compile") 2>conftest.er1
24989 grep -v '^ *+' conftest.er1 >conftest.err
24991 cat conftest.err >&5
24992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24993 (exit $ac_status); } && {
24994 test -z "$ac_c_werror_flag" ||
24995 test ! -s conftest.err
24996 } && test -s conftest.$ac_objext; then
24997 ac_header_compiler=yes
24999 echo "$as_me: failed program was:" >&5
25000 sed 's/^/| /' conftest.$ac_ext >&5
25002 ac_header_compiler=no
25005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25006 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25007 echo "${ECHO_T}$ac_header_compiler" >&6; }
25009 # Is the header present?
25010 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
25011 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
25012 cat >conftest.$ac_ext <<_ACEOF
25015 cat confdefs.h >>conftest.$ac_ext
25016 cat >>conftest.$ac_ext <<_ACEOF
25017 /* end confdefs.h. */
25018 #include <$ac_header>
25020 if { (ac_try="$ac_cpp conftest.$ac_ext"
25021 case "(($ac_try" in
25022 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25023 *) ac_try_echo
=$ac_try;;
25025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25026 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25028 grep -v '^ *+' conftest.er1
>conftest.err
25030 cat conftest.err
>&5
25031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25032 (exit $ac_status); } >/dev
/null
&& {
25033 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
25034 test ! -s conftest.err
25036 ac_header_preproc
=yes
25038 echo "$as_me: failed program was:" >&5
25039 sed 's/^/| /' conftest.
$ac_ext >&5
25041 ac_header_preproc
=no
25044 rm -f conftest.err conftest.
$ac_ext
25045 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25046 echo "${ECHO_T}$ac_header_preproc" >&6; }
25048 # So? What about this header?
25049 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25051 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
25052 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
25053 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
25054 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
25055 ac_header_preproc
=yes
25058 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
25059 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
25060 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
25061 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
25062 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
25063 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
25064 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
25065 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
25066 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
25067 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
25068 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
25069 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
25071 ## -------------------------------------------------- ##
25072 ## Report this to evilnet-devel@lists.sourceforge.net ##
25073 ## -------------------------------------------------- ##
25075 ) | sed "s/^/$as_me: WARNING: /" >&2
25078 { echo "$as_me:$LINENO: checking for $ac_header" >&5
25079 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
25080 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25081 echo $ECHO_N "(cached) $ECHO_C" >&6
25083 eval "$as_ac_Header=\$ac_header_preproc"
25085 ac_res
=`eval echo '${'$as_ac_Header'}'`
25086 { echo "$as_me:$LINENO: result: $ac_res" >&5
25087 echo "${ECHO_T}$ac_res" >&6; }
25090 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25091 cat >>confdefs.h
<<_ACEOF
25092 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25096 cat >>confdefs.h
<<\_ACEOF
25100 ssl_message
="LDAP library: enabled"
25104 if test "x$withval" != "x"; then
25105 { { echo "$as_me:$LINENO: error: ssl headers not found" >&5
25106 echo "$as_me: error: ssl headers not found" >&2;}
25107 { (exit 1); exit 1; }; }
25117 if test "x$withval" != "x"; then
25118 { { echo "$as_me:$LINENO: error: libldap not found or not valid" >&5
25119 echo "$as_me: error: libldap not found or not valid" >&2;}
25120 { (exit 1); exit 1; }; }
25126 { echo "$as_me:$LINENO: result: $LIBS" >&5
25127 echo "${ECHO_T}$LIBS" >&6; }
25132 # Check whether --with-ldap was given.
25133 if test "${with_ldap+set}" = set; then
25134 withval
=$with_ldap;
25137 if test "x$withval" != "x"; then
25138 { echo "$as_me:$LINENO: result: Using include dir $withval to find libldap" >&5
25139 echo "${ECHO_T}Using include dir $withval to find libldap" >&6; }
25140 CPPFLAGS
="$CPPFLAGS -I$withval/include -L$withval/lib"
25141 LIBS
="$LIBS -L$withval/lib"
25143 { echo "$as_me:$LINENO: result: Looking for ldap in system " >&5
25144 echo "${ECHO_T}Looking for ldap in system " >&6; }
25147 { echo "$as_me:$LINENO: checking for ldap_simple_bind_s in -lldap" >&5
25148 echo $ECHO_N "checking for ldap_simple_bind_s in -lldap... $ECHO_C" >&6; }
25149 if test "${ac_cv_lib_ldap_ldap_simple_bind_s+set}" = set; then
25150 echo $ECHO_N "(cached) $ECHO_C" >&6
25152 ac_check_lib_save_LIBS
=$LIBS
25153 LIBS
="-lldap $LIBS"
25154 cat >conftest.
$ac_ext <<_ACEOF
25157 cat confdefs.h
>>conftest.
$ac_ext
25158 cat >>conftest.
$ac_ext <<_ACEOF
25159 /* end confdefs.h. */
25161 /* Override any GCC internal prototype to avoid an error.
25162 Use char because int might match the return type of a GCC
25163 builtin and then its argument prototype would still apply. */
25167 char ldap_simple_bind_s ();
25171 return ldap_simple_bind_s ();
25176 rm -f conftest.
$ac_objext conftest
$ac_exeext
25177 if { (ac_try
="$ac_link"
25178 case "(($ac_try" in
25179 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25180 *) ac_try_echo=$ac_try;;
25182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25183 (eval "$ac_link") 2>conftest.er1
25185 grep -v '^ *+' conftest.er1 >conftest.err
25187 cat conftest.err >&5
25188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25189 (exit $ac_status); } && {
25190 test -z "$ac_c_werror_flag" ||
25191 test ! -s conftest.err
25192 } && test -s conftest$ac_exeext &&
25193 $as_test_x conftest$ac_exeext; then
25194 ac_cv_lib_ldap_ldap_simple_bind_s=yes
25196 echo "$as_me: failed program was:" >&5
25197 sed 's/^/| /' conftest.$ac_ext >&5
25199 ac_cv_lib_ldap_ldap_simple_bind_s=no
25202 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25203 conftest$ac_exeext conftest.$ac_ext
25204 LIBS=$ac_check_lib_save_LIBS
25206 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_ldap_simple_bind_s" >&5
25207 echo "${ECHO_T}$ac_cv_lib_ldap_ldap_simple_bind_s" >&6; }
25208 if test $ac_cv_lib_ldap_ldap_simple_bind_s = yes; then
25210 LIBS="-lldap $LIBS"
25212 for ac_header in ldap.h
25214 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25215 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25216 { echo "$as_me:$LINENO: checking for $ac_header" >&5
25217 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
25218 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25219 echo $ECHO_N "(cached) $ECHO_C" >&6
25221 ac_res=`eval echo '${'$as_ac_Header'}'`
25222 { echo "$as_me:$LINENO: result: $ac_res" >&5
25223 echo "${ECHO_T}$ac_res" >&6; }
25225 # Is the header compilable?
25226 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
25227 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
25228 cat >conftest.$ac_ext <<_ACEOF
25231 cat confdefs.h >>conftest.$ac_ext
25232 cat >>conftest.$ac_ext <<_ACEOF
25233 /* end confdefs.h. */
25234 $ac_includes_default
25235 #include <$ac_header>
25237 rm -f conftest.$ac_objext
25238 if { (ac_try="$ac_compile"
25239 case "(($ac_try" in
25240 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25241 *) ac_try_echo
=$ac_try;;
25243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25244 (eval "$ac_compile") 2>conftest.er1
25246 grep -v '^ *+' conftest.er1
>conftest.err
25248 cat conftest.err
>&5
25249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25250 (exit $ac_status); } && {
25251 test -z "$ac_c_werror_flag" ||
25252 test ! -s conftest.err
25253 } && test -s conftest.
$ac_objext; then
25254 ac_header_compiler
=yes
25256 echo "$as_me: failed program was:" >&5
25257 sed 's/^/| /' conftest.
$ac_ext >&5
25259 ac_header_compiler
=no
25262 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25263 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25264 echo "${ECHO_T}$ac_header_compiler" >&6; }
25266 # Is the header present?
25267 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
25268 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
25269 cat >conftest.
$ac_ext <<_ACEOF
25272 cat confdefs.h
>>conftest.
$ac_ext
25273 cat >>conftest.
$ac_ext <<_ACEOF
25274 /* end confdefs.h. */
25275 #include <$ac_header>
25277 if { (ac_try
="$ac_cpp conftest.$ac_ext"
25278 case "(($ac_try" in
25279 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25280 *) ac_try_echo=$ac_try;;
25282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25283 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25285 grep -v '^ *+' conftest.er1 >conftest.err
25287 cat conftest.err >&5
25288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25289 (exit $ac_status); } >/dev/null && {
25290 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
25291 test ! -s conftest.err
25293 ac_header_preproc=yes
25295 echo "$as_me: failed program was:" >&5
25296 sed 's/^/| /' conftest.$ac_ext >&5
25298 ac_header_preproc=no
25301 rm -f conftest.err conftest.$ac_ext
25302 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25303 echo "${ECHO_T}$ac_header_preproc" >&6; }
25305 # So? What about this header?
25306 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25308 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
25309 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
25310 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
25311 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
25312 ac_header_preproc=yes
25315 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
25316 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
25317 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
25318 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
25319 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
25320 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
25321 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
25322 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
25323 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
25324 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
25325 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
25326 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
25328 ## -------------------------------------------------- ##
25329 ## Report this to evilnet-devel@lists.sourceforge.net ##
25330 ## -------------------------------------------------- ##
25332 ) | sed "s/^/$as_me: WARNING: /" >&2
25335 { echo "$as_me:$LINENO: checking for $ac_header" >&5
25336 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
25337 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25338 echo $ECHO_N "(cached) $ECHO_C" >&6
25340 eval "$as_ac_Header=\$ac_header_preproc"
25342 ac_res=`eval echo '${'$as_ac_Header'}'`
25343 { echo "$as_me:$LINENO: result: $ac_res" >&5
25344 echo "${ECHO_T}$ac_res" >&6; }
25347 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25348 cat >>confdefs.h <<_ACEOF
25349 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25353 cat >>confdefs.h <<\_ACEOF
25354 #define WITH_LDAP 1
25357 ldap_message="LDAP library: enabled"
25361 if test "x$withval" != "x"; then
25362 { { echo "$as_me:$LINENO: error: ldap.h not found" >&5
25363 echo "$as_me: error: ldap.h not found" >&2;}
25364 { (exit 1); exit 1; }; }
25374 if test "x$withval" != "x"; then
25375 { { echo "$as_me:$LINENO: error: libldap not found or not valid" >&5
25376 echo "$as_me: error: libldap not found or not valid" >&2;}
25377 { (exit 1); exit 1; }; }
25383 { echo "$as_me:$LINENO: result: $LIBS" >&5
25384 echo "${ECHO_T}$LIBS" >&6; }
25387 cat >>confdefs.h <<_ACEOF
25388 #define CODENAME "${CODENAME}"
25396 ac_config_files="$ac_config_files Makefile rx/Makefile src/Makefile"
25398 cat >confcache <<\_ACEOF
25399 # This file is a shell script that caches the results of configure
25400 # tests run on this system so they can be shared between configure
25401 # scripts and configure runs, see configure's option --config-cache.
25402 # It is not useful on other systems. If it contains results you don't
25403 # want to keep, you may remove or edit it.
25405 # config.status only pays attention to the cache file if you give it
25406 # the --recheck option to rerun configure.
25408 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
25409 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25410 # following values.
25414 # The following way of writing the cache mishandles newlines in values,
25415 # but we know of no workaround that is simple, portable, and efficient.
25416 # So, we kill variables containing newlines.
25417 # Ultrix sh set writes to stderr and can't be redirected directly,
25418 # and sets the high bit in the cache file unless we assign to the vars.
25420 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25421 eval ac_val
=\$
$ac_var
25425 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25426 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25429 _
| IFS
| as_nl
) ;; #(
25430 *) $as_unset $ac_var ;;
25436 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25437 *${as_nl}ac_space
=\
*)
25438 # `set' does not quote correctly, so add quotes (double-quote
25439 # substitution turns \\\\ into \\, and sed turns \\ into \).
25442 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25445 # `set' quotes correctly as required by POSIX, so do not add quotes.
25446 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25455 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25457 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25459 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
25460 if test -w "$cache_file"; then
25461 test "x$cache_file" != "x/dev/null" &&
25462 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25463 echo "$as_me: updating cache $cache_file" >&6;}
25464 cat confcache
>$cache_file
25466 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25467 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25472 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
25473 # Let make expand exec_prefix.
25474 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
25476 DEFS
=-DHAVE_CONFIG_H
25480 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
25481 # 1. Remove the extension, and $U if already installed.
25482 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
25483 ac_i
=`echo "$ac_i" | sed "$ac_script"`
25484 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
25485 # will be set to the directory where LIBOBJS objects are built.
25486 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
25487 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
25489 LIBOBJS
=$ac_libobjs
25491 LTLIBOBJS
=$ac_ltlibobjs
25494 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
25495 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
25496 Usually this means the macro was only invoked conditionally." >&5
25497 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
25498 Usually this means the macro was only invoked conditionally." >&2;}
25499 { (exit 1); exit 1; }; }
25501 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
25502 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
25503 Usually this means the macro was only invoked conditionally." >&5
25504 echo "$as_me: error: conditional \"AMDEP\" was never defined.
25505 Usually this means the macro was only invoked conditionally." >&2;}
25506 { (exit 1); exit 1; }; }
25508 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
25509 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
25510 Usually this means the macro was only invoked conditionally." >&5
25511 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
25512 Usually this means the macro was only invoked conditionally." >&2;}
25513 { (exit 1); exit 1; }; }
25515 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
25516 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
25517 Usually this means the macro was only invoked conditionally." >&5
25518 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
25519 Usually this means the macro was only invoked conditionally." >&2;}
25520 { (exit 1); exit 1; }; }
25522 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
25523 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
25524 Usually this means the macro was only invoked conditionally." >&5
25525 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
25526 Usually this means the macro was only invoked conditionally." >&2;}
25527 { (exit 1); exit 1; }; }
25530 : ${CONFIG_STATUS=./config.status}
25531 ac_clean_files_save
=$ac_clean_files
25532 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
25533 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
25534 echo "$as_me: creating $CONFIG_STATUS" >&6;}
25535 cat >$CONFIG_STATUS <<_ACEOF
25537 # Generated by $as_me.
25538 # Run this file to recreate the current configuration.
25539 # Compiler output produced by configure, useful for debugging
25540 # configure, is in config.log if it exists.
25543 ac_cs_recheck=false
25545 SHELL=\${CONFIG_SHELL-$SHELL}
25548 cat >>$CONFIG_STATUS <<\_ACEOF
25549 ## --------------------- ##
25550 ## M4sh Initialization. ##
25551 ## --------------------- ##
25553 # Be more Bourne compatible
25554 DUALCASE
=1; export DUALCASE
# for MKS sh
25555 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
25558 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
25559 # is contrary to our usage. Disable this feature.
25560 alias -g '${1+"$@"}'='"$@"'
25561 setopt NO_GLOB_SUBST
25563 case `(set -o) 2>/dev/null` in
25564 *posix
*) set -o posix
;;
25573 # Avoid depending upon Character Ranges.
25574 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
25575 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
25576 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
25577 as_cr_digits
='0123456789'
25578 as_cr_alnum
=$as_cr_Letters$as_cr_digits
25580 # The user is always right.
25581 if test "${PATH_SEPARATOR+set}" != set; then
25582 echo "#! /bin/sh" >conf$$.sh
25583 echo "exit 0" >>conf$$.sh
25585 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
25593 # Support unset when possible.
25594 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
25602 # We need space, tab and new line, in precisely that order. Quoting is
25603 # there to prevent editors from complaining about space-tab.
25604 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
25605 # splitting by setting IFS to empty value.)
25610 # Find who we are. Look in the path if we contain no directory separator.
25612 *[\\/]* ) as_myself
=$0 ;;
25613 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25614 for as_dir
in $PATH
25617 test -z "$as_dir" && as_dir
=.
25618 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
25624 # We did not find ourselves, most probably we were run as `sh COMMAND'
25625 # in which case we are not to be found in the path.
25626 if test "x$as_myself" = x
; then
25629 if test ! -f "$as_myself"; then
25630 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
25631 { (exit 1); exit 1; }
25634 # Work around bugs in pre-3.0 UWIN ksh.
25635 for as_var
in ENV MAIL MAILPATH
25636 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
25644 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
25645 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
25646 LC_TELEPHONE LC_TIME
25648 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
25649 eval $as_var=C
; export $as_var
25651 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
25655 # Required to use basename.
25656 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
25657 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
25663 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
25664 as_basename
=basename
25670 # Name of the executable.
25671 as_me
=`$as_basename -- "$0" ||
25672 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
25673 X"$0" : 'X\(//\)$' \| \
25674 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
25676 sed '/^.*\/\([^/][^/]*\)\/*$/{
25695 as_lineno_1
=$LINENO
25696 as_lineno_2
=$LINENO
25697 test "x$as_lineno_1" != "x$as_lineno_2" &&
25698 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
25700 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
25701 # uniformly replaced by the line number. The first 'sed' inserts a
25702 # line-number line after each line using $LINENO; the second 'sed'
25703 # does the real work. The second script uses 'N' to pair each
25704 # line-number line with the line containing $LINENO, and appends
25705 # trailing '-' during substitution so that $LINENO is not a special
25706 # case at line end.
25707 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
25708 # scripts with optimization help from Paolo Bonzini. Blame Lee
25709 # E. McMahon (1931-1989) for sed's syntax. :-)
25721 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
25724 ' >$as_me.lineno
&&
25725 chmod +x
"$as_me.lineno" ||
25726 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
25727 { (exit 1); exit 1; }; }
25729 # Don't try to exec as it changes $[0], causing all sort of problems
25730 # (the dirname of $[0] is not the place where we might find the
25731 # original and so on. Autoconf is especially sensitive to this).
25732 .
"./$as_me.lineno"
25733 # Exit status is that of the last command.
25738 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
25744 ECHO_C
= ECHO_N
= ECHO_T
=
25745 case `echo -n x` in
25747 case `echo 'x\c'` in
25748 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
25755 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
25756 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
25762 rm -f conf$$ conf$$.exe conf$$.
file
25763 if test -d conf$$.dir
; then
25764 rm -f conf$$.dir
/conf$$.
file
25770 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
25772 # ... but there are two gotchas:
25773 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
25774 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
25775 # In both cases, we have to default to `cp -p'.
25776 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
25778 elif ln conf$$.
file conf$$
2>/dev
/null
; then
25783 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
25784 rmdir conf$$.dir
2>/dev
/null
25786 if mkdir -p .
2>/dev
/null
; then
25789 test -d .
/-p && rmdir .
/-p
25793 if test -x / >/dev
/null
2>&1; then
25794 as_test_x
='test -x'
25796 if ls -dL / >/dev
/null
2>&1; then
25803 if test -d "$1"; then
25809 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
25810 ???[sx]*):;;*)false;;esac;fi
25814 as_executable_p
=$as_test_x
25816 # Sed expression to map a string onto a valid CPP name.
25817 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
25819 # Sed expression to map a string onto a valid variable name.
25820 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
25825 # Save the log message, to keep $[0] and so on meaningful, and to
25826 # report actual input values of CONFIG_FILES etc. instead of their
25827 # values after options handling.
25829 This file was extended by X3 $as_me 2.0-rc1, which was
25830 generated by GNU Autoconf 2.61. Invocation command line was
25832 CONFIG_FILES = $CONFIG_FILES
25833 CONFIG_HEADERS = $CONFIG_HEADERS
25834 CONFIG_LINKS = $CONFIG_LINKS
25835 CONFIG_COMMANDS = $CONFIG_COMMANDS
25838 on `(hostname || uname -n) 2>/dev/null | sed 1q`
25843 cat >>$CONFIG_STATUS <<_ACEOF
25844 # Files that config.status was made for.
25845 config_files="$ac_config_files"
25846 config_headers="$ac_config_headers"
25847 config_commands="$ac_config_commands"
25851 cat >>$CONFIG_STATUS <<\_ACEOF
25853 \`$as_me' instantiates files from templates according to the
25854 current configuration.
25856 Usage: $0 [OPTIONS] [FILE]...
25858 -h, --help print this help, then exit
25859 -V, --version print version number and configuration settings, then exit
25860 -q, --quiet do not print progress messages
25861 -d, --debug don't remove temporary files
25862 --recheck update $as_me by reconfiguring in the same conditions
25863 --file=FILE[:TEMPLATE]
25864 instantiate the configuration file FILE
25865 --header=FILE[:TEMPLATE]
25866 instantiate the configuration header FILE
25868 Configuration files:
25871 Configuration headers:
25874 Configuration commands:
25877 Report bugs to <bug-autoconf@gnu.org>."
25880 cat >>$CONFIG_STATUS <<_ACEOF
25882 X3 config.status 2.0-rc1
25883 configured by $0, generated by GNU Autoconf 2.61,
25884 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
25886 Copyright (C) 2006 Free Software Foundation, Inc.
25887 This config.status script is free software; the Free Software Foundation
25888 gives unlimited permission to copy, distribute and modify it."
25896 cat >>$CONFIG_STATUS <<\_ACEOF
25897 # If no file are specified by the user, then we need to provide default
25898 # value. By we need to know if files were specified by the user.
25904 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
25905 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
25916 # Handling of the options.
25917 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
25919 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
25920 echo "$ac_cs_version"; exit ;;
25921 --debug | --debu | --deb | --de | --d | -d )
25923 --file | --fil | --fi | --f )
25925 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
25926 ac_need_defaults
=false
;;
25927 --header | --heade | --head | --hea )
25929 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
25930 ac_need_defaults
=false
;;
25932 # Conflict between --help and --header
25933 { echo "$as_me: error: ambiguous option: $1
25934 Try \`$0 --help' for more information." >&2
25935 { (exit 1); exit 1; }; };;
25936 --help | --hel | -h )
25937 echo "$ac_cs_usage"; exit ;;
25938 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
25939 | -silent | --silent | --silen | --sile | --sil | --si | --s)
25942 # This is an error.
25943 -*) { echo "$as_me: error: unrecognized option: $1
25944 Try \`$0 --help' for more information." >&2
25945 { (exit 1); exit 1; }; } ;;
25947 *) ac_config_targets
="$ac_config_targets $1"
25948 ac_need_defaults
=false
;;
25954 ac_configure_extra_args
=
25956 if $ac_cs_silent; then
25958 ac_configure_extra_args
="$ac_configure_extra_args --silent"
25962 cat >>$CONFIG_STATUS <<_ACEOF
25963 if \$ac_cs_recheck; then
25964 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
25965 CONFIG_SHELL=$SHELL
25966 export CONFIG_SHELL
25967 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
25971 cat >>$CONFIG_STATUS <<\_ACEOF
25975 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
25976 ## Running $as_me. ##
25982 cat >>$CONFIG_STATUS <<_ACEOF
25986 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
25990 cat >>$CONFIG_STATUS <<\_ACEOF
25992 # Handling of arguments.
25993 for ac_config_target
in $ac_config_targets
25995 case $ac_config_target in
25996 "src/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS src/config.h" ;;
25997 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
25998 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
25999 "rx/Makefile") CONFIG_FILES
="$CONFIG_FILES rx/Makefile" ;;
26000 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
26002 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
26003 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
26004 { (exit 1); exit 1; }; };;
26009 # If the user did not use the arguments to specify the items to instantiate,
26010 # then the envvar interface is used. Set only those that are not.
26011 # We use the long form for the default assignment because of an extremely
26012 # bizarre bug on SunOS 4.1.3.
26013 if $ac_need_defaults; then
26014 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
26015 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
26016 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
26019 # Have a temporary directory for convenience. Make it in the build tree
26020 # simply because there is no reason against having it here, and in addition,
26021 # creating and moving files from /tmp can sometimes cause problems.
26022 # Hook for its removal unless debugging.
26023 # Note that there is a small window in which the directory will not be cleaned:
26024 # after its creation but before its name has been assigned to `$tmp'.
26028 trap 'exit_status=$?
26029 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
26031 trap '{ (exit 1); exit 1; }' 1 2 13 15
26033 # Create a (secure) tmp directory for tmp files.
26036 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
26037 test -n "$tmp" && test -d "$tmp"
26040 tmp
=.
/conf$$
-$RANDOM
26041 (umask 077 && mkdir "$tmp")
26044 echo "$me: cannot create a temporary directory in ." >&2
26045 { (exit 1); exit 1; }
26049 # Set up the sed scripts for CONFIG_FILES section.
26052 # No need to generate the scripts if there are no CONFIG_FILES.
26053 # This happens for instance when ./config.status config.h
26054 if test -n "$CONFIG_FILES"; then
26061 for ac_last_try
in false false false false false
:; do
26062 cat >conf$
$subs.
sed <<_ACEOF
26063 SHELL!$SHELL$ac_delim
26064 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
26065 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
26066 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
26067 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
26068 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
26069 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
26070 exec_prefix!$exec_prefix$ac_delim
26071 prefix!$prefix$ac_delim
26072 program_transform_name!$program_transform_name$ac_delim
26073 bindir!$bindir$ac_delim
26074 sbindir!$sbindir$ac_delim
26075 libexecdir!$libexecdir$ac_delim
26076 datarootdir!$datarootdir$ac_delim
26077 datadir!$datadir$ac_delim
26078 sysconfdir!$sysconfdir$ac_delim
26079 sharedstatedir!$sharedstatedir$ac_delim
26080 localstatedir!$localstatedir$ac_delim
26081 includedir!$includedir$ac_delim
26082 oldincludedir!$oldincludedir$ac_delim
26083 docdir!$docdir$ac_delim
26084 infodir!$infodir$ac_delim
26085 htmldir!$htmldir$ac_delim
26086 dvidir!$dvidir$ac_delim
26087 pdfdir!$pdfdir$ac_delim
26088 psdir!$psdir$ac_delim
26089 libdir!$libdir$ac_delim
26090 localedir!$localedir$ac_delim
26091 mandir!$mandir$ac_delim
26092 DEFS!$DEFS$ac_delim
26093 ECHO_C!$ECHO_C$ac_delim
26094 ECHO_N!$ECHO_N$ac_delim
26095 ECHO_T!$ECHO_T$ac_delim
26096 LIBS!$LIBS$ac_delim
26097 build_alias!$build_alias$ac_delim
26098 host_alias!$host_alias$ac_delim
26099 target_alias!$target_alias$ac_delim
26100 build!$build$ac_delim
26101 build_cpu!$build_cpu$ac_delim
26102 build_vendor!$build_vendor$ac_delim
26103 build_os!$build_os$ac_delim
26104 host!$host$ac_delim
26105 host_cpu!$host_cpu$ac_delim
26106 host_vendor!$host_vendor$ac_delim
26107 host_os!$host_os$ac_delim
26108 target!$target$ac_delim
26109 target_cpu!$target_cpu$ac_delim
26110 target_vendor!$target_vendor$ac_delim
26111 target_os!$target_os$ac_delim
26112 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
26113 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
26114 INSTALL_DATA!$INSTALL_DATA$ac_delim
26115 am__isrc!$am__isrc$ac_delim
26116 CYGPATH_W!$CYGPATH_W$ac_delim
26117 PACKAGE!$PACKAGE$ac_delim
26118 VERSION!$VERSION$ac_delim
26119 ACLOCAL!$ACLOCAL$ac_delim
26120 AUTOCONF!$AUTOCONF$ac_delim
26121 AUTOMAKE!$AUTOMAKE$ac_delim
26122 AUTOHEADER!$AUTOHEADER$ac_delim
26123 MAKEINFO!$MAKEINFO$ac_delim
26124 install_sh!$install_sh$ac_delim
26125 STRIP!$STRIP$ac_delim
26126 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
26127 mkdir_p!$mkdir_p$ac_delim
26129 SET_MAKE!$SET_MAKE$ac_delim
26130 am__leading_dot!$am__leading_dot$ac_delim
26131 AMTAR!$AMTAR$ac_delim
26132 am__tar!$am__tar$ac_delim
26133 am__untar!$am__untar$ac_delim
26134 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
26135 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
26136 MAINT!$MAINT$ac_delim
26138 CFLAGS!$CFLAGS$ac_delim
26139 LDFLAGS!$LDFLAGS$ac_delim
26140 CPPFLAGS!$CPPFLAGS$ac_delim
26141 ac_ct_CC!$ac_ct_CC$ac_delim
26142 EXEEXT!$EXEEXT$ac_delim
26143 OBJEXT!$OBJEXT$ac_delim
26144 DEPDIR!$DEPDIR$ac_delim
26145 am__include!$am__include$ac_delim
26146 am__quote!$am__quote$ac_delim
26147 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
26148 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
26149 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
26150 CCDEPMODE!$CCDEPMODE$ac_delim
26151 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
26152 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
26153 RANLIB!$RANLIB$ac_delim
26155 GREP!$GREP$ac_delim
26156 EGREP!$EGREP$ac_delim
26157 LN_S!$LN_S$ac_delim
26158 ECHO!$ECHO$ac_delim
26162 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
26164 elif $ac_last_try; then
26165 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
26166 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
26167 { (exit 1); exit 1; }; }
26169 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
26173 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
26174 if test -n "$ac_eof"; then
26175 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
26176 ac_eof
=`expr $ac_eof + 1`
26179 cat >>$CONFIG_STATUS <<_ACEOF
26180 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
26181 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
26184 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
26185 s/^/s,@/; s/!/@,|#_!!_#|/
26188 s/'"$ac_delim"'$/,g/; t
26190 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
26191 ' >>$CONFIG_STATUS <conf$
$subs.
sed
26192 rm -f conf$
$subs.
sed
26193 cat >>$CONFIG_STATUS <<_ACEOF
26199 for ac_last_try
in false false false false false
:; do
26200 cat >conf$
$subs.
sed <<_ACEOF
26203 CXXFLAGS!$CXXFLAGS$ac_delim
26204 ac_ct_CXX!$ac_ct_CXX$ac_delim
26205 CXXDEPMODE!$CXXDEPMODE$ac_delim
26206 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
26207 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
26208 CXXCPP!$CXXCPP$ac_delim
26210 FFLAGS!$FFLAGS$ac_delim
26211 ac_ct_F77!$ac_ct_F77$ac_delim
26212 LIBTOOL!$LIBTOOL$ac_delim
26213 MAKER!$MAKER$ac_delim
26214 ALLOCA!$ALLOCA$ac_delim
26215 MODULE_OBJS!$MODULE_OBJS$ac_delim
26216 MY_SUBDIRS!$MY_SUBDIRS$ac_delim
26217 RX_INCLUDES!$RX_INCLUDES$ac_delim
26218 RX_LIBS!$RX_LIBS$ac_delim
26219 TRACK!$TRACK$ac_delim
26220 LIBOBJS!$LIBOBJS$ac_delim
26221 LTLIBOBJS!$LTLIBOBJS$ac_delim
26224 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 21; then
26226 elif $ac_last_try; then
26227 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
26228 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
26229 { (exit 1); exit 1; }; }
26231 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
26235 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
26236 if test -n "$ac_eof"; then
26237 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
26238 ac_eof
=`expr $ac_eof + 1`
26241 cat >>$CONFIG_STATUS <<_ACEOF
26242 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
26243 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
26246 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
26247 s/^/s,@/; s/!/@,|#_!!_#|/
26250 s/'"$ac_delim"'$/,g/; t
26252 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
26253 ' >>$CONFIG_STATUS <conf$
$subs.
sed
26254 rm -f conf$
$subs.
sed
26255 cat >>$CONFIG_STATUS <<_ACEOF
26262 # VPATH may cause trouble with some makes, so we remove $(srcdir),
26263 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
26264 # trailing colons and then remove the whole line if VPATH becomes empty
26265 # (actually we leave an empty line to preserve line numbers).
26266 if test "x$srcdir" = x.
; then
26267 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
26268 s/:*\$(srcdir):*/:/
26269 s/:*\${srcdir}:*/:/
26271 s/^\([^=]*=[ ]*\):*/\1/
26277 cat >>$CONFIG_STATUS <<\_ACEOF
26278 fi # test -n "$CONFIG_FILES"
26281 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
26284 :[FHLC
]) ac_mode
=$ac_tag; continue;;
26286 case $ac_mode$ac_tag in
26288 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
26289 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
26290 { (exit 1); exit 1; }; };;
26291 :[FH
]-) ac_tag
=-:-;;
26292 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
26309 -) ac_f
="$tmp/stdin";;
26310 *) # Look for the file first in the build tree, then in the source tree
26311 # (if the path is not absolute). The absolute path cannot be DOS-style,
26312 # because $ac_f cannot contain `:'.
26316 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
26318 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
26319 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
26320 { (exit 1); exit 1; }; };;
26322 ac_file_inputs
="$ac_file_inputs $ac_f"
26325 # Let's still pretend it is `configure' which instantiates (i.e., don't
26326 # use $as_me), people would be surprised to read:
26327 # /* config.h. Generated by config.status. */
26328 configure_input
="Generated from "`IFS=:
26329 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
26330 if test x
"$ac_file" != x
-; then
26331 configure_input
="$ac_file. $configure_input"
26332 { echo "$as_me:$LINENO: creating $ac_file" >&5
26333 echo "$as_me: creating $ac_file" >&6;}
26337 *:-:* | *:-) cat >"$tmp/stdin";;
26342 ac_dir
=`$as_dirname -- "$ac_file" ||
26343 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26344 X"$ac_file" : 'X\(//\)[^/]' \| \
26345 X"$ac_file" : 'X\(//\)$' \| \
26346 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
26348 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26352 /^X\(\/\/\)[^/].*/{
26367 -*) as_dir
=.
/$as_dir;;
26369 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
26373 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
26374 *) as_qdir
=$as_dir;;
26376 as_dirs
="'$as_qdir' $as_dirs"
26377 as_dir
=`$as_dirname -- "$as_dir" ||
26378 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26379 X"$as_dir" : 'X\(//\)[^/]' \| \
26380 X"$as_dir" : 'X\(//\)$' \| \
26381 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
26383 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26387 /^X\(\/\/\)[^/].*/{
26400 test -d "$as_dir" && break
26402 test -z "$as_dirs" || eval "mkdir $as_dirs"
26403 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
26404 echo "$as_me: error: cannot create directory $as_dir" >&2;}
26405 { (exit 1); exit 1; }; }; }
26409 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
26411 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
26412 # A ".." for each directory in $ac_dir_suffix.
26413 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
26414 case $ac_top_builddir_sub in
26415 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
26416 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
26419 ac_abs_top_builddir
=$ac_pwd
26420 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
26421 # for backward compatibility:
26422 ac_top_builddir
=$ac_top_build_prefix
26425 .
) # We are building in place.
26427 ac_top_srcdir
=$ac_top_builddir_sub
26428 ac_abs_top_srcdir
=$ac_pwd ;;
26429 [\\/]* | ?
:[\\/]* ) # Absolute name.
26430 ac_srcdir
=$srcdir$ac_dir_suffix;
26431 ac_top_srcdir
=$srcdir
26432 ac_abs_top_srcdir
=$srcdir ;;
26433 *) # Relative name.
26434 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
26435 ac_top_srcdir
=$ac_top_build_prefix$srcdir
26436 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
26438 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
26448 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
26449 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
26451 ac_MKDIR_P
=$MKDIR_P
26453 [\\/$
]* | ?
:[\\/]* ) ;;
26454 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
26458 cat >>$CONFIG_STATUS <<\_ACEOF
26459 # If the template does not know about datarootdir, expand it.
26460 # FIXME: This hack should be removed a few years after 2.60.
26461 ac_datarootdir_hack
=; ac_datarootdir_seen
=
26463 case `sed -n '/datarootdir/ {
26472 ' $ac_file_inputs` in
26473 *datarootdir
*) ac_datarootdir_seen
=yes;;
26474 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
26475 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
26476 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
26478 cat >>$CONFIG_STATUS <<_ACEOF
26479 ac_datarootdir_hack='
26480 s&@datadir@&$datadir&g
26481 s&@docdir@&$docdir&g
26482 s&@infodir@&$infodir&g
26483 s&@localedir@&$localedir&g
26484 s&@mandir@&$mandir&g
26485 s&\\\${datarootdir}&$datarootdir&g' ;;
26489 # Neutralize VPATH when `$srcdir' = `.'.
26490 # Shell code in configure.ac might set extrasub.
26491 # FIXME: do we really want to maintain this feature?
26492 cat >>$CONFIG_STATUS <<_ACEOF
26496 cat >>$CONFIG_STATUS <<\_ACEOF
26498 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
26499 s
&@configure_input@
&$configure_input&;t t
26500 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
26501 s
&@srcdir@
&$ac_srcdir&;t t
26502 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
26503 s
&@top_srcdir@
&$ac_top_srcdir&;t t
26504 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
26505 s
&@builddir@
&$ac_builddir&;t t
26506 s
&@abs_builddir@
&$ac_abs_builddir&;t t
26507 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
26508 s
&@INSTALL@
&$ac_INSTALL&;t t
26509 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
26510 $ac_datarootdir_hack
26511 " $ac_file_inputs | sed -f "$tmp/subs
-1.
sed" | sed -f "$tmp/subs
-2.
sed" >$tmp/out
26513 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
26514 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
26515 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
26516 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
26517 which seems to be undefined. Please make sure it is defined." >&5
26518 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
26519 which seems to be undefined. Please make sure it is defined." >&2;}
26523 -) cat "$tmp/out"; rm -f "$tmp/out";;
26524 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
26533 # Transform confdefs.h into a sed script `conftest.defines', that
26534 # substitutes the proper values into config.h.in to produce config.h.
26535 rm -f conftest.defines conftest.
tail
26536 # First, append a space to every undef/define line, to ease matching.
26537 echo 's/$/ /' >conftest.defines
26538 # Then, protect against being on the right side of a sed subst, or in
26539 # an unquoted here document, in config.status. If some macros were
26540 # called several times there might be several #defines for the same
26541 # symbol, which is useless. But do not sort them, since the last
26542 # AC_DEFINE must be honored.
26543 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
26544 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
26545 # NAME is the cpp macro being defined, VALUE is the value it is being given.
26546 # PARAMS is the parameter list in the macro definition--in most cases, it's
26547 # just an empty string.
26548 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
26549 ac_dB
='\\)[ (].*,\\1define\\2'
26557 s/^[ ]*#[ ]*define[ ][ ]*//
26562 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
26563 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
26564 ' >>conftest.defines
26566 # Remove the space that was appended to ease matching.
26567 # Then replace #undef with comments. This is necessary, for
26568 # example, in the case of _POSIX_SOURCE, which is predefined and required
26569 # on some systems where configure will not decide to define it.
26570 # (The regexp can be short, since the line contains either #define or #undef.)
26572 s,^[ #]*u.*,/* & */,' >>conftest.defines
26574 # Break up conftest.defines:
26575 ac_max_sed_lines
=50
26577 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
26578 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
26579 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
26581 ac_in
='$ac_file_inputs'
26582 ac_out
='"$tmp/out1"'
26583 ac_nxt
='"$tmp/out2"'
26587 # Write a here document:
26588 cat >>$CONFIG_STATUS <<_ACEOF
26589 # First, check the format of the line:
26590 cat >"\$tmp/defines.sed" <<\\CEOF
26591 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
26592 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
26596 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
26598 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
26599 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
26600 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
26601 grep . conftest.
tail >/dev
/null
|| break
26602 rm -f conftest.defines
26603 mv conftest.
tail conftest.defines
26605 rm -f conftest.defines conftest.
tail
26607 echo "ac_result=$ac_in" >>$CONFIG_STATUS
26608 cat >>$CONFIG_STATUS <<\_ACEOF
26609 if test x
"$ac_file" != x
-; then
26610 echo "/* $configure_input */" >"$tmp/config.h"
26611 cat "$ac_result" >>"$tmp/config.h"
26612 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
26613 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
26614 echo "$as_me: $ac_file is unchanged" >&6;}
26617 mv "$tmp/config.h" $ac_file
26620 echo "/* $configure_input */"
26624 # Compute $ac_file's index in $config_headers.
26626 for _am_header
in $config_headers :; do
26627 case $_am_header in
26628 $ac_file | $ac_file:* )
26631 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
26634 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
26635 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26636 X$ac_file : 'X\(//\)[^/]' \| \
26637 X$ac_file : 'X\(//\)$' \| \
26638 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
26640 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26644 /^X\(\/\/\)[^/].*/{
26656 s/.*/./; q'`/stamp
-h$_am_stamp_count
26659 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
26660 echo "$as_me: executing $ac_file commands" >&6;}
26665 case $ac_file$ac_mode in
26666 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" || for mf
in $CONFIG_FILES; do
26667 # Strip MF so we end up with the name of the file.
26668 mf
=`echo "$mf" | sed -e 's/:.*$//'`
26669 # Check whether this is an Automake generated Makefile or not.
26670 # We used to match only the files named `Makefile.in', but
26671 # some people rename them; so instead we look at the file content.
26672 # Grep'ing the first line is not enough: some people post-process
26673 # each Makefile.in and add a new line on top of each file to say so.
26674 # Grep'ing the whole file is not good either: AIX grep has a line
26675 # limit of 2048, but all sed's we know have understand at least 4000.
26676 if sed 10q
"$mf" | grep '^#.*generated by automake' > /dev
/null
2>&1; then
26677 dirpart
=`$as_dirname -- "$mf" ||
26678 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26679 X"$mf" : 'X\(//\)[^/]' \| \
26680 X"$mf" : 'X\(//\)$' \| \
26681 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
26683 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26687 /^X\(\/\/\)[^/].*/{
26703 # Extract the definition of DEPDIR, am__include, and am__quote
26704 # from the Makefile without running `make'.
26705 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
26706 test -z "$DEPDIR" && continue
26707 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
26708 test -z "am__include" && continue
26709 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
26710 # When using ansi2knr, U may be empty or an underscore; expand it
26711 U
=`sed -n 's/^U = //p' < "$mf"`
26712 # Find all dependency output files, they are included files with
26713 # $(DEPDIR) in their names. We invoke sed twice because it is the
26714 # simplest approach to changing $(DEPDIR) to its actual value in the
26716 for file in `sed -n "
26717 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
26718 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
26719 # Make sure the directory exists.
26720 test -f "$dirpart/$file" && continue
26721 fdir
=`$as_dirname -- "$file" ||
26722 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26723 X"$file" : 'X\(//\)[^/]' \| \
26724 X"$file" : 'X\(//\)$' \| \
26725 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
26727 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26731 /^X\(\/\/\)[^/].*/{
26744 { as_dir
=$dirpart/$fdir
26746 -*) as_dir
=.
/$as_dir;;
26748 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
26752 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
26753 *) as_qdir
=$as_dir;;
26755 as_dirs
="'$as_qdir' $as_dirs"
26756 as_dir
=`$as_dirname -- "$as_dir" ||
26757 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26758 X"$as_dir" : 'X\(//\)[^/]' \| \
26759 X"$as_dir" : 'X\(//\)$' \| \
26760 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
26762 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26766 /^X\(\/\/\)[^/].*/{
26779 test -d "$as_dir" && break
26781 test -z "$as_dirs" || eval "mkdir $as_dirs"
26782 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
26783 echo "$as_me: error: cannot create directory $as_dir" >&2;}
26784 { (exit 1); exit 1; }; }; }
26785 # echo "creating $dirpart/$file"
26786 echo '# dummy' > "$dirpart/$file"
26795 { (exit 0); exit 0; }
26797 chmod +x
$CONFIG_STATUS
26798 ac_clean_files
=$ac_clean_files_save
26801 # configure is writing to config.log, and then calls config.status.
26802 # config.status does its own redirection, appending to config.log.
26803 # Unfortunately, on DOS this fails, as config.log is still kept open
26804 # by configure, so config.status won't be able to write to it; its
26805 # output is simply discarded. So we exec the FD to /dev/null,
26806 # effectively closing config.log, so it can be properly (re)opened and
26807 # appended to by config.status. When coming back to configure, we
26808 # need to make the FD available again.
26809 if test "$no_create" != yes; then
26811 ac_config_status_args
=
26812 test "$silent" = yes &&
26813 ac_config_status_args
="$ac_config_status_args --quiet"
26815 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
26817 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
26818 # would make configure fail if this is the last instruction.
26819 $ac_cs_success || { (exit 1); exit 1; }
26827 Configuration summary
26828 =====================
26830 X3 is now configured as follows:
26832 * Compilation environment
26837 CPPFLAGS = $CPPFLAGS
26845 Extra Modules: $module_list
26848 Regexp Library TRE $tre_version
26849 Coredumper Library Coredumper $core_version
26852 Install to: $prefix
26854 Now you can proceed with compiling X3