2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for libltdl 1.2.
5 # Report bugs to <bug-libtool@gnu.org>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix
*) set -o posix
;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits
='0123456789'
40 as_cr_alnum
=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
47 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
55 # Support unset when possible.
56 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
72 # Find who we are. Look in the path if we contain no directory separator.
74 *[\\/]* ) as_myself
=$0 ;;
75 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
79 test -z "$as_dir" && as_dir
=.
80 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x
; then
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var
in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C
; export $as_var
113 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
117 # Required to use basename.
118 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
125 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
132 # Name of the executable.
133 as_me
=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
156 if test "x$CONFIG_SHELL" = x
; then
157 if (eval ":") 2>/dev
/null
; then
163 if test $as_have_required = yes && (eval ":
173 as_func_ret_success () {
176 as_func_ret_failure () {
181 if as_func_success; then
185 echo as_func_success failed.
188 if as_func_failure; then
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev
/null
; then
223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
224 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
227 test -z "$as_dir" && as_dir
=.
230 for as_base
in sh bash ksh sh5
; do
231 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
238 for as_shell
in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
250 case `(set -o) 2>/dev/null` in
251 *posix
*) set -o posix
;;
260 CONFIG_SHELL
=$as_shell
262 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
271 case `(set -o) 2>/dev/null` in
272 *posix
*) set -o posix
;;
288 as_func_ret_success
() {
291 as_func_ret_failure
() {
296 if as_func_success
; then
300 echo as_func_success failed.
303 if as_func_failure
; then
305 echo as_func_failure succeeded.
308 if as_func_ret_success
; then
312 echo as_func_ret_success failed.
315 if as_func_ret_failure
; then
317 echo as_func_ret_failure succeeded.
320 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
324 echo positional parameters were not saved.
327 test $exitcode = 0) ||
{ (exit 1); exit 1; }
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
344 if test "x$CONFIG_SHELL" != x
; then
345 for as_var
in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no
; then
354 echo This
script requires a shell
more modern than all the
355 echo shells that I found on your system. Please
install a
356 echo modern shell
, or manually run the
script under such a
357 echo shell
if you
do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
377 as_func_ret_success () {
380 as_func_ret_failure () {
385 if as_func_success; then
389 echo as_func_success failed.
392 if as_func_failure; then
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
413 echo positional parameters were not saved.
416 test \$exitcode = 0") ||
{
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system
,
419 echo including any error possibly output before this
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
455 chmod +x
"$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
463 # Exit status is that of the last command.
468 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
474 ECHO_C
= ECHO_N
= ECHO_T
=
478 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
485 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
492 rm -f conf$$ conf$$.exe conf$$.
file
493 if test -d conf$$.dir
; then
494 rm -f conf$$.dir
/conf$$.
file
500 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
508 elif ln conf$$.
file conf$$
2>/dev
/null
; then
513 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
514 rmdir conf$$.dir
2>/dev
/null
516 if mkdir
-p .
2>/dev
/null
; then
519 test -d .
/-p && rmdir .
/-p
523 if test -x / >/dev
/null
2>&1; then
526 if ls -dL / >/dev
/null
2>&1; then
533 if test -d "$1"; then
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
544 as_executable_p
=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555 # Check that we are running under the correct shell.
556 SHELL
=${CONFIG_SHELL-/bin/sh}
560 # Remove one level of quotation (which was required for Make).
561 ECHO
=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
566 if test "X$1" = X--no-reexec
; then
567 # Discard the --no-reexec flag, and continue.
569 elif test "X$1" = X--fallback-echo
; then
570 # Avoid inline document here, it may be left over
572 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
573 # Yippee, $echo works!
576 # Restart under the correct shell.
577 exec $SHELL "$0" --no-reexec ${1+"$@"}
580 if test "X$1" = X--fallback-echo
; then
581 # used as fallback echo
589 # The HP-UX ksh and POSIX shell print the target directory to stdout
591 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
593 if test -z "$ECHO"; then
594 if test "X${echo_test_string+set}" != Xset
; then
595 # find a string as large as possible, as long as the shell can cope with it
596 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
597 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
598 if (echo_test_string
=`eval $cmd`) 2>/dev
/null
&&
599 echo_test_string
=`eval $cmd` &&
600 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev
/null
607 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
608 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
609 test "X$echo_testing_string" = "X$echo_test_string"; then
612 # The Solaris, AIX, and Digital Unix default echo programs unquote
613 # backslashes. This makes it impossible to quote backslashes using
614 # echo "$something" | sed 's/\\/\\\\/g'
616 # So, first we look for a working echo in the user's PATH.
618 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
619 for dir
in $PATH /usr
/ucb
; do
621 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
622 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
623 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
624 test "X$echo_testing_string" = "X$echo_test_string"; then
631 if test "X$echo" = Xecho
; then
632 # We didn't find a better echo, so look for alternatives.
633 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
634 echo_testing_string
=`(print -r "$echo_test_string") 2>/dev/null` &&
635 test "X$echo_testing_string" = "X$echo_test_string"; then
636 # This shell has a builtin print -r that does the trick.
638 elif (test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext) &&
639 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
640 # If we have ksh, try running configure again with it.
641 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
642 export ORIGINAL_CONFIG_SHELL
643 CONFIG_SHELL
=/bin
/ksh
645 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
649 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
650 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
651 test "X$echo_testing_string" = "X$echo_test_string"; then
654 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
655 test "X$echo_testing_string" = 'X\t' &&
656 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
657 test "X$echo_testing_string" = "X$echo_test_string"; then
658 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
660 SHELL
="$CONFIG_SHELL"
662 echo="$CONFIG_SHELL $0 --fallback-echo"
663 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
664 test "X$echo_testing_string" = 'X\t' &&
665 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
666 test "X$echo_testing_string" = "X$echo_test_string"; then
667 echo="$CONFIG_SHELL $0 --fallback-echo"
669 # maybe with a smaller string...
672 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
673 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev
/null
680 if test "$prev" != 'sed 50q "$0"'; then
681 echo_test_string
=`eval $prev`
682 export echo_test_string
683 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
685 # Oops. We lost completely, so just stick with echo.
694 # Copy echo and quote the copy suitably for passing to libtool from
695 # the Makefile, instead of quoting the original, which is used later.
697 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
698 ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
704 tagnames
=${tagnames+${tagnames},}CXX
706 tagnames
=${tagnames+${tagnames},}F77
708 exec 7<&0 </dev
/null
6>&1
711 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
712 # so uname gets run too.
713 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
718 ac_default_prefix
=/usr
/local
720 ac_config_libobj_dir
=.
726 SHELL
=${CONFIG_SHELL-/bin/sh}
728 # Identity of this package.
729 PACKAGE_NAME
='libltdl'
730 PACKAGE_TARNAME
='libltdl'
731 PACKAGE_VERSION
='1.2'
732 PACKAGE_STRING
='libltdl 1.2'
733 PACKAGE_BUGREPORT
='bug-libtool@gnu.org'
735 ac_unique_file
="ltdl.c"
736 # Factoring default headers for most tests.
737 ac_includes_default
="\
739 #ifdef HAVE_SYS_TYPES_H
740 # include <sys/types.h>
742 #ifdef HAVE_SYS_STAT_H
743 # include <sys/stat.h>
749 # ifdef HAVE_STDLIB_H
754 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
759 #ifdef HAVE_STRINGS_H
760 # include <strings.h>
762 #ifdef HAVE_INTTYPES_H
763 # include <inttypes.h>
781 program_transform_name
823 INSTALL_STRIP_PROGRAM
880 CONVENIENCE_LTDL_TRUE
881 CONVENIENCE_LTDL_FALSE
886 ac_precious_vars
='build_alias
903 # Initialize some variables set by options.
905 ac_init_version
=false
906 # The variables have the same names as the options, with
907 # dashes changed to underlines.
915 program_transform_name
=s
,x
,x
,
923 # Installation directory options.
924 # These are left unexpanded so users can "make install exec_prefix=/foo"
925 # and all the variables that are supposed to be based on exec_prefix
926 # by default will actually change.
927 # Use braces instead of parens because sh, perl, etc. also accept them.
928 # (The list follows the same order as the GNU Coding Standards.)
929 bindir
='${exec_prefix}/bin'
930 sbindir
='${exec_prefix}/sbin'
931 libexecdir
='${exec_prefix}/libexec'
932 datarootdir
='${prefix}/share'
933 datadir
='${datarootdir}'
934 sysconfdir
='${prefix}/etc'
935 sharedstatedir
='${prefix}/com'
936 localstatedir
='${prefix}/var'
937 includedir
='${prefix}/include'
938 oldincludedir
='/usr/include'
939 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
940 infodir
='${datarootdir}/info'
945 libdir
='${exec_prefix}/lib'
946 localedir
='${datarootdir}/locale'
947 mandir
='${datarootdir}/man'
953 # If the previous option needs an argument, assign it.
954 if test -n "$ac_prev"; then
955 eval $ac_prev=\
$ac_option
961 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
965 # Accept the important Cygnus configure options, so we can diagnose typos.
967 case $ac_dashdash$ac_option in
971 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
973 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
976 -build |
--build |
--buil |
--bui |
--bu)
977 ac_prev
=build_alias
;;
978 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
979 build_alias
=$ac_optarg ;;
981 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
982 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
983 ac_prev
=cache_file
;;
984 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
985 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
986 cache_file
=$ac_optarg ;;
989 cache_file
=config.cache
;;
991 -datadir |
--datadir |
--datadi |
--datad)
993 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
994 datadir
=$ac_optarg ;;
996 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
997 |
--dataroo |
--dataro |
--datar)
998 ac_prev
=datarootdir
;;
999 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1000 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1001 datarootdir
=$ac_optarg ;;
1003 -disable-* |
--disable-*)
1004 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1005 # Reject names that are not valid shell variable names.
1006 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1007 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1008 { (exit 1); exit 1; }; }
1009 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1010 eval enable_
$ac_feature=no
;;
1012 -docdir |
--docdir |
--docdi |
--doc |
--do)
1014 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1015 docdir
=$ac_optarg ;;
1017 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1019 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1020 dvidir
=$ac_optarg ;;
1022 -enable-* |
--enable-*)
1023 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1024 # Reject names that are not valid shell variable names.
1025 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1026 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1027 { (exit 1); exit 1; }; }
1028 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1029 eval enable_
$ac_feature=\
$ac_optarg ;;
1031 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1032 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1033 |
--exec |
--exe |
--ex)
1034 ac_prev
=exec_prefix
;;
1035 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1036 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1037 |
--exec=* |
--exe=* |
--ex=*)
1038 exec_prefix
=$ac_optarg ;;
1040 -gas |
--gas |
--ga |
--g)
1041 # Obsolete; use --with-gas.
1044 -help |
--help |
--hel |
--he |
-h)
1045 ac_init_help
=long
;;
1046 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1047 ac_init_help
=recursive
;;
1048 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1049 ac_init_help
=short
;;
1051 -host |
--host |
--hos |
--ho)
1052 ac_prev
=host_alias
;;
1053 -host=* |
--host=* |
--hos=* |
--ho=*)
1054 host_alias
=$ac_optarg ;;
1056 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1058 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1060 htmldir
=$ac_optarg ;;
1062 -includedir |
--includedir |
--includedi |
--included |
--include \
1063 |
--includ |
--inclu |
--incl |
--inc)
1064 ac_prev
=includedir
;;
1065 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1066 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1067 includedir
=$ac_optarg ;;
1069 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1071 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1072 infodir
=$ac_optarg ;;
1074 -libdir |
--libdir |
--libdi |
--libd)
1076 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1077 libdir
=$ac_optarg ;;
1079 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1080 |
--libexe |
--libex |
--libe)
1081 ac_prev
=libexecdir
;;
1082 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1083 |
--libexe=* |
--libex=* |
--libe=*)
1084 libexecdir
=$ac_optarg ;;
1086 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1087 ac_prev
=localedir
;;
1088 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1089 localedir
=$ac_optarg ;;
1091 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1092 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1093 ac_prev
=localstatedir
;;
1094 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1095 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1096 localstatedir
=$ac_optarg ;;
1098 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1100 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1101 mandir
=$ac_optarg ;;
1103 -nfp |
--nfp |
--nf)
1104 # Obsolete; use --without-fp.
1107 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1108 |
--no-cr |
--no-c |
-n)
1111 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1112 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1115 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1116 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1117 |
--oldin |
--oldi |
--old |
--ol |
--o)
1118 ac_prev
=oldincludedir
;;
1119 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1120 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1121 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1122 oldincludedir
=$ac_optarg ;;
1124 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1126 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1127 prefix
=$ac_optarg ;;
1129 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1130 |
--program-pre |
--program-pr |
--program-p)
1131 ac_prev
=program_prefix
;;
1132 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1133 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1134 program_prefix
=$ac_optarg ;;
1136 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1137 |
--program-suf |
--program-su |
--program-s)
1138 ac_prev
=program_suffix
;;
1139 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1140 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1141 program_suffix
=$ac_optarg ;;
1143 -program-transform-name |
--program-transform-name \
1144 |
--program-transform-nam |
--program-transform-na \
1145 |
--program-transform-n |
--program-transform- \
1146 |
--program-transform |
--program-transfor \
1147 |
--program-transfo |
--program-transf \
1148 |
--program-trans |
--program-tran \
1149 |
--progr-tra |
--program-tr |
--program-t)
1150 ac_prev
=program_transform_name
;;
1151 -program-transform-name=* |
--program-transform-name=* \
1152 |
--program-transform-nam=* |
--program-transform-na=* \
1153 |
--program-transform-n=* |
--program-transform-=* \
1154 |
--program-transform=* |
--program-transfor=* \
1155 |
--program-transfo=* |
--program-transf=* \
1156 |
--program-trans=* |
--program-tran=* \
1157 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1158 program_transform_name
=$ac_optarg ;;
1160 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1162 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1163 pdfdir
=$ac_optarg ;;
1165 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1167 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1170 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1171 |
-silent |
--silent |
--silen |
--sile |
--sil)
1174 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1176 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1178 sbindir
=$ac_optarg ;;
1180 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1181 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1182 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1184 ac_prev
=sharedstatedir
;;
1185 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1186 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1187 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1189 sharedstatedir
=$ac_optarg ;;
1191 -site |
--site |
--sit)
1193 -site=* |
--site=* |
--sit=*)
1196 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1198 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1199 srcdir
=$ac_optarg ;;
1201 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1202 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1203 ac_prev
=sysconfdir
;;
1204 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1205 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1206 sysconfdir
=$ac_optarg ;;
1208 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1209 ac_prev
=target_alias
;;
1210 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1211 target_alias
=$ac_optarg ;;
1213 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1216 -version |
--version |
--versio |
--versi |
--vers |
-V)
1217 ac_init_version
=: ;;
1220 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1221 # Reject names that are not valid shell variable names.
1222 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1223 { echo "$as_me: error: invalid package name: $ac_package" >&2
1224 { (exit 1); exit 1; }; }
1225 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1226 eval with_
$ac_package=\
$ac_optarg ;;
1228 -without-* |
--without-*)
1229 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1230 # Reject names that are not valid shell variable names.
1231 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1232 { echo "$as_me: error: invalid package name: $ac_package" >&2
1233 { (exit 1); exit 1; }; }
1234 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1235 eval with_
$ac_package=no
;;
1238 # Obsolete; use --with-x.
1241 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1242 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1243 ac_prev
=x_includes
;;
1244 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1245 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1246 x_includes
=$ac_optarg ;;
1248 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1249 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1250 ac_prev
=x_libraries
;;
1251 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1252 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1253 x_libraries
=$ac_optarg ;;
1255 -*) { echo "$as_me: error: unrecognized option: $ac_option
1256 Try \`$0 --help' for more information." >&2
1257 { (exit 1); exit 1; }; }
1261 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1262 # Reject names that are not valid shell variable names.
1263 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1264 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1265 { (exit 1); exit 1; }; }
1266 eval $ac_envvar=\
$ac_optarg
1267 export $ac_envvar ;;
1270 # FIXME: should be removed in autoconf 3.0.
1271 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1272 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1273 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1274 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1280 if test -n "$ac_prev"; then
1281 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1282 { echo "$as_me: error: missing argument to $ac_option" >&2
1283 { (exit 1); exit 1; }; }
1286 # Be sure to have absolute directory names.
1287 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1288 datadir sysconfdir sharedstatedir localstatedir includedir \
1289 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1290 libdir localedir mandir
1292 eval ac_val
=\$
$ac_var
1294 [\\/$
]* | ?
:[\\/]* ) continue;;
1295 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1297 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1298 { (exit 1); exit 1; }; }
1301 # There might be people who depend on the old broken behavior: `$host'
1302 # used to hold the argument of --host etc.
1303 # FIXME: To remove some day.
1306 target
=$target_alias
1308 # FIXME: To remove some day.
1309 if test "x$host_alias" != x
; then
1310 if test "x$build_alias" = x
; then
1311 cross_compiling
=maybe
1312 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1313 If a cross compiler is detected then cross compile mode will be used." >&2
1314 elif test "x$build_alias" != "x$host_alias"; then
1320 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1322 test "$silent" = yes && exec 6>/dev
/null
1325 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1326 ac_ls_di
=`ls -di .` &&
1327 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1328 { echo "$as_me: error: Working directory cannot be determined" >&2
1329 { (exit 1); exit 1; }; }
1330 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1331 { echo "$as_me: error: pwd does not report name of working directory" >&2
1332 { (exit 1); exit 1; }; }
1335 # Find the source files, if location was not specified.
1336 if test -z "$srcdir"; then
1337 ac_srcdir_defaulted
=yes
1338 # Try the directory containing this script, then the parent directory.
1339 ac_confdir
=`$as_dirname -- "$0" ||
1340 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1341 X"$0" : 'X\(//\)[^/]' \| \
1342 X"$0" : 'X\(//\)$' \| \
1343 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1345 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1363 if test ! -r "$srcdir/$ac_unique_file"; then
1367 ac_srcdir_defaulted
=no
1369 if test ! -r "$srcdir/$ac_unique_file"; then
1370 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1371 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1372 { (exit 1); exit 1; }; }
1374 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1376 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1377 { (exit 1); exit 1; }; }
1379 # When building in place, set srcdir=.
1380 if test "$ac_abs_confdir" = "$ac_pwd"; then
1383 # Remove unnecessary trailing slashes from srcdir.
1384 # Double slashes in file names in object file debugging info
1385 # mess up M-x gdb in Emacs.
1387 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1389 for ac_var
in $ac_precious_vars; do
1390 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1391 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1392 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1393 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1397 # Report the --help message.
1399 if test "$ac_init_help" = "long"; then
1400 # Omit some internal or obsolete options to make the list less imposing.
1401 # This message is too long to be a string in the A/UX 3.1 sh.
1403 \`configure' configures libltdl 1.2 to adapt to many kinds of systems.
1405 Usage: $0 [OPTION]... [VAR=VALUE]...
1407 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1408 VAR=VALUE. See below for descriptions of some of the useful variables.
1410 Defaults for the options are specified in brackets.
1413 -h, --help display this help and exit
1414 --help=short display options specific to this package
1415 --help=recursive display the short help of all the included packages
1416 -V, --version display version information and exit
1417 -q, --quiet, --silent do not print \`checking...' messages
1418 --cache-file=FILE cache test results in FILE [disabled]
1419 -C, --config-cache alias for \`--cache-file=config.cache'
1420 -n, --no-create do not create output files
1421 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1423 Installation directories:
1424 --prefix=PREFIX install architecture-independent files in PREFIX
1425 [$ac_default_prefix]
1426 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1429 By default, \`make install' will install all the files in
1430 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1431 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1432 for instance \`--prefix=\$HOME'.
1434 For better control, use the options below.
1436 Fine tuning of the installation directories:
1437 --bindir=DIR user executables [EPREFIX/bin]
1438 --sbindir=DIR system admin executables [EPREFIX/sbin]
1439 --libexecdir=DIR program executables [EPREFIX/libexec]
1440 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1441 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1442 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1443 --libdir=DIR object code libraries [EPREFIX/lib]
1444 --includedir=DIR C header files [PREFIX/include]
1445 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1446 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1447 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1448 --infodir=DIR info documentation [DATAROOTDIR/info]
1449 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1450 --mandir=DIR man documentation [DATAROOTDIR/man]
1451 --docdir=DIR documentation root [DATAROOTDIR/doc/libltdl]
1452 --htmldir=DIR html documentation [DOCDIR]
1453 --dvidir=DIR dvi documentation [DOCDIR]
1454 --pdfdir=DIR pdf documentation [DOCDIR]
1455 --psdir=DIR ps documentation [DOCDIR]
1461 --program-prefix=PREFIX prepend PREFIX to installed program names
1462 --program-suffix=SUFFIX append SUFFIX to installed program names
1463 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1466 --build=BUILD configure
for building on BUILD
[guessed
]
1467 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1471 if test -n "$ac_init_help"; then
1472 case $ac_init_help in
1473 short | recursive
) echo "Configuration of libltdl 1.2:";;
1478 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1479 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1480 --disable-dependency-tracking speeds up one-time build
1481 --enable-dependency-tracking do not reject slow dependency extractors
1482 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1483 --enable-static[=PKGS
] build static libraries
[default
=yes]
1484 --enable-fast-install[=PKGS
]
1485 optimize
for fast installation
[default
=yes]
1486 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1487 --enable-ltdl-install install libltdl
1490 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1491 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1492 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1493 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1495 --with-tags[=TAGS
] include additional configurations
[automatic
]
1497 Some influential environment variables
:
1498 CC C compiler
command
1499 CFLAGS C compiler flags
1500 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1501 nonstandard directory
<lib dir
>
1502 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1503 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1504 you have headers
in a nonstandard directory
<include dir
>
1506 CXX C
++ compiler
command
1507 CXXFLAGS C
++ compiler flags
1508 CXXCPP C
++ preprocessor
1509 F77 Fortran
77 compiler
command
1510 FFLAGS Fortran
77 compiler flags
1512 Use these variables to override the choices made by
`configure' or to help
1513 it to find libraries and programs with nonstandard names/locations.
1515 Report bugs to <bug-libtool@gnu.org>.
1520 if test "$ac_init_help" = "recursive"; then
1521 # If there are subdirs, report their specific --help.
1522 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1523 test -d "$ac_dir" || continue
1527 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1529 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1530 # A ".." for each directory in $ac_dir_suffix.
1531 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1532 case $ac_top_builddir_sub in
1533 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1534 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1537 ac_abs_top_builddir=$ac_pwd
1538 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1539 # for backward compatibility:
1540 ac_top_builddir=$ac_top_build_prefix
1543 .) # We are building in place.
1545 ac_top_srcdir=$ac_top_builddir_sub
1546 ac_abs_top_srcdir=$ac_pwd ;;
1547 [\\/]* | ?:[\\/]* ) # Absolute name.
1548 ac_srcdir=$srcdir$ac_dir_suffix;
1549 ac_top_srcdir=$srcdir
1550 ac_abs_top_srcdir=$srcdir ;;
1552 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1553 ac_top_srcdir=$ac_top_build_prefix$srcdir
1554 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1556 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1558 cd "$ac_dir" || { ac_status=$?; continue; }
1559 # Check for guested configure.
1560 if test -f "$ac_srcdir/configure.gnu"; then
1562 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1563 elif test -f "$ac_srcdir/configure"; then
1565 $SHELL "$ac_srcdir/configure" --help=recursive
1567 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1569 cd "$ac_pwd" || { ac_status=$?; break; }
1573 test -n "$ac_init_help" && exit $ac_status
1574 if $ac_init_version; then
1576 libltdl configure 1.2
1577 generated by GNU Autoconf 2.61
1579 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1580 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1581 This configure script is free software; the Free Software Foundation
1582 gives unlimited permission to copy, distribute and modify it.
1586 cat >config.log <<_ACEOF
1587 This file contains any messages produced by compilers while
1588 running configure, to aid debugging if configure makes a mistake.
1590 It was created by libltdl $as_me 1.2, which was
1591 generated by GNU Autoconf 2.61. Invocation command line was
1603 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1604 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1605 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1606 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1607 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1609 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1610 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1612 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1613 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1614 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1615 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1616 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1617 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1618 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1626 test -z "$as_dir" && as_dir=.
1627 echo "PATH: $as_dir"
1643 # Keep a trace of the command line.
1644 # Strip out --no-create and --no-recursion so they do not pile up.
1645 # Strip out --silent because we don't want to record it for future runs.
1646 # Also quote any args containing shell meta-characters.
1647 # Make two passes to allow for proper duplicate-argument suppression.
1651 ac_must_keep_next=false
1657 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1658 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1659 | -silent | --silent | --silen | --sile | --sil)
1662 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1665 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1667 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1668 if test $ac_must_keep_next = true; then
1669 ac_must_keep_next=false # Got value, back to normal.
1672 *=* | --config-cache | -C | -disable-* | --disable-* \
1673 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1674 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1675 | -with-* | --with-* | -without-* | --without-* | --x)
1676 case "$ac_configure_args0 " in
1677 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1680 -* ) ac_must_keep_next=true ;;
1683 ac_configure_args="$ac_configure_args '$ac_arg'"
1688 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1689 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1691 # When interrupted or exit'd, cleanup temporary files, and complete
1692 # config.log. We remove comments because anyway the quotes in there
1693 # would cause problems or look ugly.
1694 # WARNING: Use '\'' to represent an apostrophe within the trap.
1695 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1696 trap 'exit_status=$?
1697 # Save into config.log some information that might help in debugging.
1702 ## ---------------- ##
1703 ## Cache variables. ##
1704 ## ---------------- ##
1707 # The following way of writing the cache mishandles newlines in values,
1709 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1710 eval ac_val=\$$ac_var
1714 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1715 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1718 _ | IFS | as_nl) ;; #(
1719 *) $as_unset $ac_var ;;
1724 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1725 *${as_nl}ac_space=\ *)
1727 "s/'\''/'\''\\\\'\'''\''/g;
1728 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1731 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1739 ## ----------------- ##
1740 ## Output variables. ##
1741 ## ----------------- ##
1744 for ac_var in $ac_subst_vars
1746 eval ac_val=\$$ac_var
1748 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1750 echo "$ac_var='\''$ac_val'\''"
1754 if test -n "$ac_subst_files"; then
1756 ## ------------------- ##
1757 ## File substitutions. ##
1758 ## ------------------- ##
1761 for ac_var in $ac_subst_files
1763 eval ac_val=\$$ac_var
1765 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1767 echo "$ac_var='\''$ac_val'\''"
1772 if test -s confdefs.h; then
1782 test "$ac_signal" != 0 &&
1783 echo "$as_me: caught signal $ac_signal"
1784 echo "$as_me: exit $exit_status"
1786 rm -f core *.core core.conftest.* &&
1787 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1790 for ac_signal in 1 2 13 15; do
1791 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1795 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1796 rm -f -r conftest* confdefs.h
1798 # Predefined preprocessor variables.
1800 cat >>confdefs.h <<_ACEOF
1801 #define PACKAGE_NAME "$PACKAGE_NAME"
1805 cat >>confdefs.h <<_ACEOF
1806 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1810 cat >>confdefs.h <<_ACEOF
1811 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1815 cat >>confdefs.h <<_ACEOF
1816 #define PACKAGE_STRING "$PACKAGE_STRING"
1820 cat >>confdefs.h <<_ACEOF
1821 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1825 # Let the site file select an alternate cache file if it wants to.
1826 # Prefer explicitly selected file to automatically selected ones.
1827 if test -n "$CONFIG_SITE"; then
1828 set x "$CONFIG_SITE"
1829 elif test "x$prefix" != xNONE; then
1830 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1832 set x "$ac_default_prefix/share/config.site" \
1833 "$ac_default_prefix/etc/config.site"
1838 if test -r "$ac_site_file"; then
1839 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1840 echo "$as_me: loading site script $ac_site_file" >&6;}
1841 sed 's/^/| /' "$ac_site_file" >&5
1846 if test -r "$cache_file"; then
1847 # Some versions of bash will fail to source /dev/null (special
1848 # files actually), so we avoid doing that.
1849 if test -f "$cache_file"; then
1850 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1851 echo "$as_me: loading cache $cache_file" >&6;}
1853 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1854 *) . "./$cache_file";;
1858 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1859 echo "$as_me: creating cache $cache_file" >&6;}
1863 # Check that the precious variables saved in the cache have kept the same
1865 ac_cache_corrupted=false
1866 for ac_var in $ac_precious_vars; do
1867 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1868 eval ac_new_set=\$ac_env_${ac_var}_set
1869 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1870 eval ac_new_val=\$ac_env_${ac_var}_value
1871 case $ac_old_set,$ac_new_set in
1873 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1874 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1875 ac_cache_corrupted=: ;;
1877 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1878 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1879 ac_cache_corrupted=: ;;
1882 if test "x$ac_old_val" != "x$ac_new_val"; then
1883 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1884 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1885 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1886 echo "$as_me: former value
: $ac_old_val" >&2;}
1887 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1888 echo "$as_me: current value
: $ac_new_val" >&2;}
1889 ac_cache_corrupted=:
1892 # Pass precious variables to config.status.
1893 if test "$ac_new_set" = set; then
1895 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1896 *) ac_arg=$ac_var=$ac_new_val ;;
1898 case " $ac_configure_args " in
1899 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1900 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1904 if $ac_cache_corrupted; then
1905 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1906 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1907 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1908 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1909 { (exit 1); exit 1; }; }
1937 ac_cpp='$CPP $CPPFLAGS'
1938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1946 ## ------------------------------- ##
1947 ## Libltdl specific configuration. ##
1948 ## ------------------------------- ##
1951 for ac_dir in . "$srcdir"/.; do
1952 if test -f "$ac_dir/install-sh"; then
1954 ac_install_sh="$ac_aux_dir/install-sh -c"
1956 elif test -f "$ac_dir/install.sh"; then
1958 ac_install_sh="$ac_aux_dir/install.sh -c"
1960 elif test -f "$ac_dir/shtool"; then
1962 ac_install_sh="$ac_aux_dir/shtool install -c"
1966 if test -z "$ac_aux_dir"; then
1967 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&5
1968 echo "$as_me: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&2;}
1969 { (exit 1); exit 1; }; }
1972 # These three variables are undocumented and unsupported,
1973 # and are intended to be withdrawn in a future Autoconf release.
1974 # They can cause serious problems if a builder's source tree is in a directory
1975 # whose full name contains unusual characters.
1976 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1977 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1978 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1982 if test -z "$enable_ltdl_install$enable_ltdl_convenience"; then
1983 if test -f ${srcdir}/ltmain.sh; then
1984 # if libltdl is libtoolized, it is assumed to be stand-alone and
1985 # installed unless the command line overrides it (tested above)
1986 enable_ltdl_install=yes
1988 { echo "$as_me:$LINENO: WARNING: *** The top-level configure must select either" >&5
1989 echo "$as_me: WARNING: *** The top-level configure must select either" >&2;}
1990 { echo "$as_me:$LINENO: WARNING: *** A\"\"C_LIBLTDL_INSTALLABLE or A\"\"C_LIBLTDL_CONVENIENCE." >&5
1991 echo "$as_me: WARNING: *** A\"\"C_LIBLTDL_INSTALLABLE or A\"\"C_LIBLTDL_CONVENIENCE." >&2;}
1992 { { echo "$as_me:$LINENO: error: *** Maybe you want to --enable-ltdl-install?" >&5
1993 echo "$as_me: error: *** Maybe you want to --enable-ltdl-install?" >&2;}
1994 { (exit 1); exit 1; }; }
1999 ## ------------------------ ##
2000 ## Automake Initialisation. ##
2001 ## ------------------------ ##
2002 am__api_version='1.10'
2004 # Find a good install program. We prefer a C program (faster),
2005 # so one script is as good as another. But avoid the broken or
2006 # incompatible versions:
2007 # SysV /etc/install, /usr/sbin/install
2008 # SunOS /usr/etc/install
2009 # IRIX /sbin/install
2011 # AmigaOS /C/install, which installs bootblocks on floppy discs
2012 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2013 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2014 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2015 # OS/2's system install, which has a completely different semantic
2016 # ./install, which can be erroneously created by make from ./install.sh.
2017 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2018 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2019 if test -z "$INSTALL"; then
2020 if test "${ac_cv_path_install+set}" = set; then
2021 echo $ECHO_N "(cached) $ECHO_C" >&6
2023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2027 test -z "$as_dir" && as_dir=.
2028 # Account for people who put trailing slashes in PATH elements.
2030 ./ | .// | /cC/* | \
2031 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2032 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2035 # OSF1 and SCO ODT 3.0 have their own names for install.
2036 # Don't use installbsd from OSF since it installs stuff as root
2038 for ac_prog in ginstall scoinst install; do
2039 for ac_exec_ext in '' $ac_executable_extensions; do
2040 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2041 if test $ac_prog = install &&
2042 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2043 # AIX install. It has an incompatible calling convention.
2045 elif test $ac_prog = install &&
2046 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2047 # program-specific install script used by HP pwplus--don't use.
2050 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2063 if test "${ac_cv_path_install+set}" = set; then
2064 INSTALL=$ac_cv_path_install
2066 # As a last resort, use the slow shell script. Don't cache a
2067 # value for INSTALL within a source directory, because that will
2068 # break other packages using the cache if that directory is
2069 # removed, or if the value is a relative name.
2070 INSTALL=$ac_install_sh
2073 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2074 echo "${ECHO_T}$INSTALL" >&6; }
2076 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2077 # It thinks the first close brace ends the variable substitution.
2078 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2080 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2082 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2084 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2085 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2088 echo timestamp > conftest.file
2089 # Do `set' in a subshell so we don't clobber the current shell
's
2090 # arguments. Must try -L first in case configure is actually a
2091 # symlink; some systems play weird games with the mod time of symlinks
2092 # (eg FreeBSD returns the mod time of the symlink's containing
2095 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2096 if test "$*" = "X"; then
2098 set X
`ls -t $srcdir/configure conftest.file`
2101 if test "$*" != "X $srcdir/configure conftest.file" \
2102 && test "$*" != "X conftest.file $srcdir/configure"; then
2104 # If neither matched, then we have a broken ls. This can happen
2105 # if, for instance, CONFIG_SHELL is bash and it inherits a
2106 # broken ls alias from the environment. This has actually
2107 # happened. Such a system could not be considered "sane".
2108 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2109 alias in your environment" >&5
2110 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2111 alias in your environment" >&2;}
2112 { (exit 1); exit 1; }; }
2115 test "$2" = conftest.
file
2121 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2122 Check your system clock" >&5
2123 echo "$as_me: error: newly created file is older than distributed files!
2124 Check your system clock" >&2;}
2125 { (exit 1); exit 1; }; }
2127 { echo "$as_me:$LINENO: result: yes" >&5
2128 echo "${ECHO_T}yes" >&6; }
2129 test "$program_prefix" != NONE
&&
2130 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2131 # Use a double $ so make ignores it.
2132 test "$program_suffix" != NONE
&&
2133 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2134 # Double any \ or $. echo might interpret backslashes.
2135 # By default was `s,x,x', remove it if useless.
2136 cat <<\_ACEOF
>conftest.
sed
2137 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2139 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2142 # expand $ac_aux_dir to an absolute path
2143 am_aux_dir
=`cd $ac_aux_dir && pwd`
2145 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2146 # Use eval to expand $SHELL
2147 if eval "$MISSING --run true"; then
2148 am_missing_run
="$MISSING --run "
2151 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2152 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2155 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2156 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2157 if test -z "$MKDIR_P"; then
2158 if test "${ac_cv_path_mkdir+set}" = set; then
2159 echo $ECHO_N "(cached) $ECHO_C" >&6
2161 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2162 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2165 test -z "$as_dir" && as_dir
=.
2166 for ac_prog
in mkdir gmkdir
; do
2167 for ac_exec_ext
in '' $ac_executable_extensions; do
2168 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2169 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2170 'mkdir (GNU coreutils) '* | \
2171 'mkdir (coreutils) '* | \
2172 'mkdir (fileutils) '4.1*)
2173 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2183 if test "${ac_cv_path_mkdir+set}" = set; then
2184 MKDIR_P
="$ac_cv_path_mkdir -p"
2186 # As a last resort, use the slow shell script. Don't cache a
2187 # value for MKDIR_P within a source directory, because that will
2188 # break other packages using the cache if that directory is
2189 # removed, or if the value is a relative name.
2190 test -d .
/--version && rmdir .
/--version
2191 MKDIR_P
="$ac_install_sh -d"
2194 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2195 echo "${ECHO_T}$MKDIR_P" >&6; }
2199 [\\/$
]* | ?
:[\\/]*) ;;
2200 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2203 for ac_prog
in gawk mawk nawk
awk
2205 # Extract the first word of "$ac_prog", so it can be a program name with args.
2206 set dummy
$ac_prog; ac_word
=$2
2207 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2208 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2209 if test "${ac_cv_prog_AWK+set}" = set; then
2210 echo $ECHO_N "(cached) $ECHO_C" >&6
2212 if test -n "$AWK"; then
2213 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2215 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2219 test -z "$as_dir" && as_dir
=.
2220 for ac_exec_ext
in '' $ac_executable_extensions; do
2221 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2222 ac_cv_prog_AWK
="$ac_prog"
2223 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2233 if test -n "$AWK"; then
2234 { echo "$as_me:$LINENO: result: $AWK" >&5
2235 echo "${ECHO_T}$AWK" >&6; }
2237 { echo "$as_me:$LINENO: result: no" >&5
2238 echo "${ECHO_T}no" >&6; }
2242 test -n "$AWK" && break
2245 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2246 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2247 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2248 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2249 echo $ECHO_N "(cached) $ECHO_C" >&6
2251 cat >conftest.
make <<\_ACEOF
2254 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2256 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2257 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2259 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2261 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2265 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2266 { echo "$as_me:$LINENO: result: yes" >&5
2267 echo "${ECHO_T}yes" >&6; }
2270 { echo "$as_me:$LINENO: result: no" >&5
2271 echo "${ECHO_T}no" >&6; }
2272 SET_MAKE
="MAKE=${MAKE-make}"
2275 rm -rf .tst
2>/dev
/null
2276 mkdir .tst
2>/dev
/null
2277 if test -d .tst
; then
2282 rmdir .tst
2>/dev
/null
2284 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2285 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2286 # is not polluted with repeated "-I."
2287 am__isrc
=' -I$(srcdir)'
2288 # test to see if srcdir already configured
2289 if test -f $srcdir/config.status
; then
2290 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2291 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2292 { (exit 1); exit 1; }; }
2296 # test whether we have cygpath
2297 if test -z "$CYGPATH_W"; then
2298 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2299 CYGPATH_W
='cygpath -w'
2306 # Define the identity of the package.
2311 # Some tools Automake needs.
2313 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2316 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2319 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2322 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2325 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2327 install_sh
=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2329 # Installed binaries are usually stripped using `strip' when the user
2330 # run `make install-strip'. However `strip' might not be the right
2331 # tool to use in cross-compilation environments, therefore Automake
2332 # will honor the `STRIP' environment variable to overrule this program.
2333 if test "$cross_compiling" != no
; then
2334 if test -n "$ac_tool_prefix"; then
2335 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2336 set dummy
${ac_tool_prefix}strip
; 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_STRIP+set}" = set; then
2340 echo $ECHO_N "(cached) $ECHO_C" >&6
2342 if test -n "$STRIP"; then
2343 ac_cv_prog_STRIP
="$STRIP" # 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_STRIP
="${ac_tool_prefix}strip"
2353 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2362 STRIP
=$ac_cv_prog_STRIP
2363 if test -n "$STRIP"; then
2364 { echo "$as_me:$LINENO: result: $STRIP" >&5
2365 echo "${ECHO_T}$STRIP" >&6; }
2367 { echo "$as_me:$LINENO: result: no" >&5
2368 echo "${ECHO_T}no" >&6; }
2373 if test -z "$ac_cv_prog_STRIP"; then
2375 # Extract the first word of "strip", so it can be a program name with args.
2376 set dummy strip
; ac_word
=$2
2377 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2378 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2379 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2380 echo $ECHO_N "(cached) $ECHO_C" >&6
2382 if test -n "$ac_ct_STRIP"; then
2383 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2385 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2389 test -z "$as_dir" && as_dir
=.
2390 for ac_exec_ext
in '' $ac_executable_extensions; do
2391 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2392 ac_cv_prog_ac_ct_STRIP
="strip"
2393 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2402 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2403 if test -n "$ac_ct_STRIP"; then
2404 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2405 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2407 { echo "$as_me:$LINENO: result: no" >&5
2408 echo "${ECHO_T}no" >&6; }
2411 if test "x$ac_ct_STRIP" = x
; then
2414 case $cross_compiling:$ac_tool_warned in
2416 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2417 whose name does not start with the host triplet. If you think this
2418 configuration is useful to you, please write to autoconf@gnu.org." >&5
2419 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2420 whose name does not start with the host triplet. If you think this
2421 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2422 ac_tool_warned
=yes ;;
2427 STRIP
="$ac_cv_prog_STRIP"
2431 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2433 # We need awk for the "check" target. The system "awk" is bad on
2435 # Always define AMTAR for backward compatibility.
2437 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2439 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2445 ac_config_headers
="$ac_config_headers config.h:config-h.in"
2449 ## ------------------ ##
2450 ## C compiler checks. ##
2451 ## ------------------ ##
2453 ac_cpp
='$CPP $CPPFLAGS'
2454 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2455 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2456 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2457 if test -n "$ac_tool_prefix"; then
2458 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2459 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2460 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2461 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2462 if test "${ac_cv_prog_CC+set}" = set; then
2463 echo $ECHO_N "(cached) $ECHO_C" >&6
2465 if test -n "$CC"; then
2466 ac_cv_prog_CC
="$CC" # Let the user override the test.
2468 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2472 test -z "$as_dir" && as_dir
=.
2473 for ac_exec_ext
in '' $ac_executable_extensions; do
2474 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2475 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2476 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2486 if test -n "$CC"; then
2487 { echo "$as_me:$LINENO: result: $CC" >&5
2488 echo "${ECHO_T}$CC" >&6; }
2490 { echo "$as_me:$LINENO: result: no" >&5
2491 echo "${ECHO_T}no" >&6; }
2496 if test -z "$ac_cv_prog_CC"; then
2498 # Extract the first word of "gcc", so it can be a program name with args.
2499 set dummy gcc
; ac_word
=$2
2500 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2501 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2502 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2503 echo $ECHO_N "(cached) $ECHO_C" >&6
2505 if test -n "$ac_ct_CC"; then
2506 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2508 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2512 test -z "$as_dir" && as_dir
=.
2513 for ac_exec_ext
in '' $ac_executable_extensions; do
2514 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2515 ac_cv_prog_ac_ct_CC
="gcc"
2516 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2525 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2526 if test -n "$ac_ct_CC"; then
2527 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2528 echo "${ECHO_T}$ac_ct_CC" >&6; }
2530 { echo "$as_me:$LINENO: result: no" >&5
2531 echo "${ECHO_T}no" >&6; }
2534 if test "x$ac_ct_CC" = x
; then
2537 case $cross_compiling:$ac_tool_warned in
2539 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2540 whose name does not start with the host triplet. If you think this
2541 configuration is useful to you, please write to autoconf@gnu.org." >&5
2542 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2543 whose name does not start with the host triplet. If you think this
2544 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2545 ac_tool_warned
=yes ;;
2553 if test -z "$CC"; then
2554 if test -n "$ac_tool_prefix"; then
2555 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2556 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2557 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2558 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2559 if test "${ac_cv_prog_CC+set}" = set; then
2560 echo $ECHO_N "(cached) $ECHO_C" >&6
2562 if test -n "$CC"; then
2563 ac_cv_prog_CC
="$CC" # Let the user override the test.
2565 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2569 test -z "$as_dir" && as_dir
=.
2570 for ac_exec_ext
in '' $ac_executable_extensions; do
2571 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2572 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2573 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2583 if test -n "$CC"; then
2584 { echo "$as_me:$LINENO: result: $CC" >&5
2585 echo "${ECHO_T}$CC" >&6; }
2587 { echo "$as_me:$LINENO: result: no" >&5
2588 echo "${ECHO_T}no" >&6; }
2594 if test -z "$CC"; then
2595 # Extract the first word of "cc", so it can be a program name with args.
2596 set dummy cc
; ac_word
=$2
2597 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2598 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2599 if test "${ac_cv_prog_CC+set}" = set; then
2600 echo $ECHO_N "(cached) $ECHO_C" >&6
2602 if test -n "$CC"; then
2603 ac_cv_prog_CC
="$CC" # Let the user override the test.
2606 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2610 test -z "$as_dir" && as_dir
=.
2611 for ac_exec_ext
in '' $ac_executable_extensions; do
2612 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2613 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2614 ac_prog_rejected
=yes
2618 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2625 if test $ac_prog_rejected = yes; then
2626 # We found a bogon in the path, so make sure we never use it.
2627 set dummy
$ac_cv_prog_CC
2629 if test $# != 0; then
2630 # We chose a different compiler from the bogus one.
2631 # However, it has the same basename, so the bogon will be chosen
2632 # first if we set CC to just the basename; use the full file name.
2634 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2640 if test -n "$CC"; then
2641 { echo "$as_me:$LINENO: result: $CC" >&5
2642 echo "${ECHO_T}$CC" >&6; }
2644 { echo "$as_me:$LINENO: result: no" >&5
2645 echo "${ECHO_T}no" >&6; }
2650 if test -z "$CC"; then
2651 if test -n "$ac_tool_prefix"; then
2652 for ac_prog
in cl.exe
2654 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2655 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2656 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2657 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2658 if test "${ac_cv_prog_CC+set}" = set; then
2659 echo $ECHO_N "(cached) $ECHO_C" >&6
2661 if test -n "$CC"; then
2662 ac_cv_prog_CC
="$CC" # Let the user override the test.
2664 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2668 test -z "$as_dir" && as_dir
=.
2669 for ac_exec_ext
in '' $ac_executable_extensions; do
2670 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2671 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2672 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2682 if test -n "$CC"; then
2683 { echo "$as_me:$LINENO: result: $CC" >&5
2684 echo "${ECHO_T}$CC" >&6; }
2686 { echo "$as_me:$LINENO: result: no" >&5
2687 echo "${ECHO_T}no" >&6; }
2691 test -n "$CC" && break
2694 if test -z "$CC"; then
2696 for ac_prog
in cl.exe
2698 # Extract the first word of "$ac_prog", so it can be a program name with args.
2699 set dummy
$ac_prog; ac_word
=$2
2700 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2701 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2702 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2703 echo $ECHO_N "(cached) $ECHO_C" >&6
2705 if test -n "$ac_ct_CC"; then
2706 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2708 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2712 test -z "$as_dir" && as_dir
=.
2713 for ac_exec_ext
in '' $ac_executable_extensions; do
2714 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2715 ac_cv_prog_ac_ct_CC
="$ac_prog"
2716 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2725 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2726 if test -n "$ac_ct_CC"; then
2727 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2728 echo "${ECHO_T}$ac_ct_CC" >&6; }
2730 { echo "$as_me:$LINENO: result: no" >&5
2731 echo "${ECHO_T}no" >&6; }
2735 test -n "$ac_ct_CC" && break
2738 if test "x$ac_ct_CC" = x
; then
2741 case $cross_compiling:$ac_tool_warned in
2743 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2744 whose name does not start with the host triplet. If you think this
2745 configuration is useful to you, please write to autoconf@gnu.org." >&5
2746 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2747 whose name does not start with the host triplet. If you think this
2748 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2749 ac_tool_warned
=yes ;;
2758 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2759 See \`config.log' for more details." >&5
2760 echo "$as_me: error: no acceptable C compiler found in \$PATH
2761 See \`config.log' for more details." >&2;}
2762 { (exit 1); exit 1; }; }
2764 # Provide some information about the compiler.
2765 echo "$as_me:$LINENO: checking for C compiler version" >&5
2766 ac_compiler
=`set X $ac_compile; echo $2`
2767 { (ac_try
="$ac_compiler --version >&5"
2769 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2770 *) ac_try_echo=$ac_try;;
2772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2773 (eval "$ac_compiler --version >&5") 2>&5
2775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2776 (exit $ac_status); }
2777 { (ac_try="$ac_compiler -v >&5"
2779 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2780 *) ac_try_echo
=$ac_try;;
2782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2783 (eval "$ac_compiler -v >&5") 2>&5
2785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2786 (exit $ac_status); }
2787 { (ac_try
="$ac_compiler -V >&5"
2789 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2790 *) ac_try_echo=$ac_try;;
2792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2793 (eval "$ac_compiler -V >&5") 2>&5
2795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2796 (exit $ac_status); }
2798 cat >conftest.$ac_ext <<_ACEOF
2801 cat confdefs.h >>conftest.$ac_ext
2802 cat >>conftest.$ac_ext <<_ACEOF
2803 /* end confdefs.h. */
2813 ac_clean_files_save=$ac_clean_files
2814 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2815 # Try to create an executable without -o first, disregard a.out.
2816 # It will help us diagnose broken compilers, and finding out an intuition
2818 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2819 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2820 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2822 # List of possible output files, starting from the most likely.
2823 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2824 # only as a last resort. b.out is created by i960 compilers.
2825 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2827 # The IRIX 6 linker writes into existing files which may not be
2828 # executable, retaining their permissions. Remove them first so a
2829 # subsequent execution test works.
2831 for ac_file in $ac_files
2834 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2835 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2840 if { (ac_try="$ac_link_default"
2842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2843 *) ac_try_echo=$ac_try;;
2845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2846 (eval "$ac_link_default") 2>&5
2848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2849 (exit $ac_status); }; then
2850 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2851 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2852 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2853 # so that the user can short-circuit this test for compilers unknown to
2855 for ac_file
in $ac_files ''
2857 test -f "$ac_file" ||
continue
2859 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2862 # We found the default executable, but exeext='' is most
2866 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2868 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2870 # We set ac_cv_exeext here because the later test for it is not
2871 # safe: cross compilers may not add the suffix if given an `-o'
2872 # argument, so we may need to know it at that point already.
2873 # Even if this section looks crufty: it has the advantage of
2880 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2886 { echo "$as_me:$LINENO: result: $ac_file" >&5
2887 echo "${ECHO_T}$ac_file" >&6; }
2888 if test -z "$ac_file"; then
2889 echo "$as_me: failed program was:" >&5
2890 sed 's/^/| /' conftest.
$ac_ext >&5
2892 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2893 See \`config.log' for more details." >&5
2894 echo "$as_me: error: C compiler cannot create executables
2895 See \`config.log' for more details." >&2;}
2896 { (exit 77); exit 77; }; }
2899 ac_exeext
=$ac_cv_exeext
2901 # Check that the compiler produces executables we can run. If not, either
2902 # the compiler is broken, or we cross compile.
2903 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2904 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2905 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2906 # If not cross compiling, check that we can run a simple program.
2907 if test "$cross_compiling" != yes; then
2908 if { ac_try
='./$ac_file'
2909 { (case "(($ac_try" in
2910 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2911 *) ac_try_echo=$ac_try;;
2913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2914 (eval "$ac_try") 2>&5
2916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2917 (exit $ac_status); }; }; then
2920 if test "$cross_compiling" = maybe; then
2923 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2924 If you meant to cross compile, use \`--host'.
2925 See \`config.log' for more details.
" >&5
2926 echo "$as_me: error
: cannot run C compiled programs.
2927 If you meant to cross compile
, use \
`--host'.
2928 See \`config.log
' for more details." >&2;}
2929 { (exit 1); exit 1; }; }
2933 { echo "$as_me:$LINENO: result: yes" >&5
2934 echo "${ECHO_T}yes" >&6; }
2936 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2937 ac_clean_files=$ac_clean_files_save
2938 # Check that the compiler produces executables we can run. If not, either
2939 # the compiler is broken, or we cross compile.
2940 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2941 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2942 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2943 echo "${ECHO_T}$cross_compiling" >&6; }
2945 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2946 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2947 if { (ac_try="$ac_link"
2949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2950 *) ac_try_echo=$ac_try;;
2952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2953 (eval "$ac_link") 2>&5
2955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2956 (exit $ac_status); }; then
2957 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2958 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2959 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2961 for ac_file
in conftest.exe conftest conftest.
*; do
2962 test -f "$ac_file" ||
continue
2964 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2965 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2971 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2972 See \`config.log' for more details." >&5
2973 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2974 See \`config.log' for more details." >&2;}
2975 { (exit 1); exit 1; }; }
2978 rm -f conftest
$ac_cv_exeext
2979 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2980 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2982 rm -f conftest.
$ac_ext
2983 EXEEXT
=$ac_cv_exeext
2985 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2986 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2987 if test "${ac_cv_objext+set}" = set; then
2988 echo $ECHO_N "(cached) $ECHO_C" >&6
2990 cat >conftest.
$ac_ext <<_ACEOF
2993 cat confdefs.h
>>conftest.
$ac_ext
2994 cat >>conftest.
$ac_ext <<_ACEOF
2995 /* end confdefs.h. */
3005 rm -f conftest.o conftest.obj
3006 if { (ac_try
="$ac_compile"
3008 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3009 *) ac_try_echo=$ac_try;;
3011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3012 (eval "$ac_compile") 2>&5
3014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3015 (exit $ac_status); }; then
3016 for ac_file in conftest.o conftest.obj conftest.*; do
3017 test -f "$ac_file" || continue;
3019 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3020 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3025 echo "$as_me: failed program was:" >&5
3026 sed 's/^/| /' conftest.$ac_ext >&5
3028 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3029 See \`config.log
' for more details." >&5
3030 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3031 See \`config.log' for more details.
" >&2;}
3032 { (exit 1); exit 1; }; }
3035 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3037 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
3038 echo "${ECHO_T}$ac_cv_objext" >&6; }
3039 OBJEXT=$ac_cv_objext
3041 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
3042 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
3043 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3044 echo $ECHO_N "(cached
) $ECHO_C" >&6
3046 cat >conftest.$ac_ext <<_ACEOF
3049 cat confdefs.h >>conftest.$ac_ext
3050 cat >>conftest.$ac_ext <<_ACEOF
3051 /* end confdefs.h. */
3064 rm -f conftest.$ac_objext
3065 if { (ac_try="$ac_compile"
3067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3068 *) ac_try_echo=$ac_try;;
3070 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3071 (eval "$ac_compile") 2>conftest.er1
3073 grep -v '^ *+' conftest.er1 >conftest.err
3075 cat conftest.err >&5
3076 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3077 (exit $ac_status); } && {
3078 test -z "$ac_c_werror_flag" ||
3079 test ! -s conftest.err
3080 } && test -s conftest.$ac_objext; then
3083 echo "$as_me: failed program was
:" >&5
3084 sed 's/^/| /' conftest.$ac_ext >&5
3089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3090 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3093 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
3094 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3095 GCC=`test $ac_compiler_gnu = yes && echo yes`
3096 ac_test_CFLAGS=${CFLAGS+set}
3097 ac_save_CFLAGS=$CFLAGS
3098 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
3099 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
3100 if test "${ac_cv_prog_cc_g+set}" = set; then
3101 echo $ECHO_N "(cached
) $ECHO_C" >&6
3103 ac_save_c_werror_flag=$ac_c_werror_flag
3104 ac_c_werror_flag=yes
3107 cat >conftest.$ac_ext <<_ACEOF
3110 cat confdefs.h >>conftest.$ac_ext
3111 cat >>conftest.$ac_ext <<_ACEOF
3112 /* end confdefs.h. */
3122 rm -f conftest.$ac_objext
3123 if { (ac_try="$ac_compile"
3125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3126 *) ac_try_echo=$ac_try;;
3128 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3129 (eval "$ac_compile") 2>conftest.er1
3131 grep -v '^ *+' conftest.er1 >conftest.err
3133 cat conftest.err >&5
3134 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3135 (exit $ac_status); } && {
3136 test -z "$ac_c_werror_flag" ||
3137 test ! -s conftest.err
3138 } && test -s conftest.$ac_objext; then
3141 echo "$as_me: failed program was
:" >&5
3142 sed 's/^/| /' conftest.$ac_ext >&5
3145 cat >conftest.$ac_ext <<_ACEOF
3148 cat confdefs.h >>conftest.$ac_ext
3149 cat >>conftest.$ac_ext <<_ACEOF
3150 /* end confdefs.h. */
3160 rm -f conftest.$ac_objext
3161 if { (ac_try="$ac_compile"
3163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3164 *) ac_try_echo=$ac_try;;
3166 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3167 (eval "$ac_compile") 2>conftest.er1
3169 grep -v '^ *+' conftest.er1 >conftest.err
3171 cat conftest.err >&5
3172 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3173 (exit $ac_status); } && {
3174 test -z "$ac_c_werror_flag" ||
3175 test ! -s conftest.err
3176 } && test -s conftest.$ac_objext; then
3179 echo "$as_me: failed program was
:" >&5
3180 sed 's/^/| /' conftest.$ac_ext >&5
3182 ac_c_werror_flag=$ac_save_c_werror_flag
3184 cat >conftest.$ac_ext <<_ACEOF
3187 cat confdefs.h >>conftest.$ac_ext
3188 cat >>conftest.$ac_ext <<_ACEOF
3189 /* end confdefs.h. */
3199 rm -f conftest.$ac_objext
3200 if { (ac_try="$ac_compile"
3202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3203 *) ac_try_echo=$ac_try;;
3205 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3206 (eval "$ac_compile") 2>conftest.er1
3208 grep -v '^ *+' conftest.er1 >conftest.err
3210 cat conftest.err >&5
3211 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3212 (exit $ac_status); } && {
3213 test -z "$ac_c_werror_flag" ||
3214 test ! -s conftest.err
3215 } && test -s conftest.$ac_objext; then
3218 echo "$as_me: failed program was
:" >&5
3219 sed 's/^/| /' conftest.$ac_ext >&5
3224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3231 ac_c_werror_flag=$ac_save_c_werror_flag
3233 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3234 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3235 if test "$ac_test_CFLAGS" = set; then
3236 CFLAGS=$ac_save_CFLAGS
3237 elif test $ac_cv_prog_cc_g = yes; then
3238 if test "$GCC" = yes; then
3244 if test "$GCC" = yes; then
3250 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3251 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3252 if test "${ac_cv_prog_cc_c89+set}" = set; then
3253 echo $ECHO_N "(cached
) $ECHO_C" >&6
3255 ac_cv_prog_cc_c89=no
3257 cat >conftest.$ac_ext <<_ACEOF
3260 cat confdefs.h >>conftest.$ac_ext
3261 cat >>conftest.$ac_ext <<_ACEOF
3262 /* end confdefs.h. */
3265 #include <sys/types.h>
3266 #include <sys/stat.h>
3267 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3268 struct buf { int x; };
3269 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3270 static char *e (p, i)
3276 static char *f (char * (*g) (char **, int), char **p, ...)
3281 s = g (p, va_arg (v,int));
3286 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3287 function prototypes and stuff, but not '\xHH' hex character constants.
3288 These don't provoke an error unfortunately, instead are silently treated
3289 as 'x'. The following induces an error, until -std is added to get
3290 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3291 array size at least. It's necessary to write '\x00'==0 to get something
3292 that's true only with -std. */
3293 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3295 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3296 inside strings and character constants. */
3298 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3300 int test (int i, double x);
3301 struct s1 {int (*f) (int a);};
3302 struct s2 {int (*f) (double a);};
3303 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3309 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3314 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3315 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3317 CC="$ac_save_CC $ac_arg"
3318 rm -f conftest.$ac_objext
3319 if { (ac_try="$ac_compile"
3321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3322 *) ac_try_echo=$ac_try;;
3324 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3325 (eval "$ac_compile") 2>conftest.er1
3327 grep -v '^ *+' conftest.er1 >conftest.err
3329 cat conftest.err >&5
3330 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3331 (exit $ac_status); } && {
3332 test -z "$ac_c_werror_flag" ||
3333 test ! -s conftest.err
3334 } && test -s conftest.$ac_objext; then
3335 ac_cv_prog_cc_c89=$ac_arg
3337 echo "$as_me: failed program was
:" >&5
3338 sed 's/^/| /' conftest.$ac_ext >&5
3343 rm -f core conftest.err conftest.$ac_objext
3344 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3346 rm -f conftest.$ac_ext
3351 case "x
$ac_cv_prog_cc_c89" in
3353 { echo "$as_me:$LINENO: result
: none needed
" >&5
3354 echo "${ECHO_T}none needed
" >&6; } ;;
3356 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3357 echo "${ECHO_T}unsupported
" >&6; } ;;
3359 CC="$CC $ac_cv_prog_cc_c89"
3360 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3361 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3366 ac_cpp='$CPP $CPPFLAGS'
3367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3370 DEPDIR="${am__leading_dot}deps
"
3372 ac_config_commands="$ac_config_commands depfiles
"
3375 am_make=${MAKE-make}
3376 cat > confinc << 'END'
3381 # If we don't find an include directive, just comment out the code.
3382 { echo "$as_me:$LINENO: checking
for style of include used by
$am_make" >&5
3383 echo $ECHO_N "checking
for style of include used by
$am_make...
$ECHO_C" >&6; }
3387 # First try GNU make style include.
3388 echo "include confinc" > confmf
3389 # We grep out `Entering directory' and `Leaving directory'
3390 # messages which can occur if `w' ends up in MAKEFLAGS.
3391 # In particular we don't look at `^make:' because GNU make might
3392 # be invoked under some other name (usually "gmake"), in which
3393 # case it prints its new name instead of `make'.
3394 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3399 # Now try BSD make style include.
3400 if test "$am__include" = "#"; then
3401 echo '.include "confinc"' > confmf
3402 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3403 am__include
=.include
3410 { echo "$as_me:$LINENO: result: $_am_result" >&5
3411 echo "${ECHO_T}$_am_result" >&6; }
3412 rm -f confinc confmf
3414 # Check whether --enable-dependency-tracking was given.
3415 if test "${enable_dependency_tracking+set}" = set; then
3416 enableval
=$enable_dependency_tracking;
3419 if test "x$enable_dependency_tracking" != xno
; then
3420 am_depcomp
="$ac_aux_dir/depcomp"
3423 if test "x$enable_dependency_tracking" != xno; then
3433 depcc
="$CC" am_compiler_list
=
3435 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3436 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3437 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3438 echo $ECHO_N "(cached) $ECHO_C" >&6
3440 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3441 # We make a subdir and do the tests there. Otherwise we can end up
3442 # making bogus files that we don't know about and never remove. For
3443 # instance it was reported that on HP-UX the gcc test will end up
3444 # making a dummy file named `D' -- because `-MD' means `put the output
3447 # Copy depcomp to subdir because otherwise we won't find it if we're
3448 # using a relative directory.
3449 cp "$am_depcomp" conftest.dir
3451 # We will build objects and dependencies in a subdirectory because
3452 # it helps to detect inapplicable dependency modes. For instance
3453 # both Tru64's cc and ICC support -MD to output dependencies as a
3454 # side effect of compilation, but ICC will put the dependencies in
3455 # the current directory while Tru64 will put them in the object
3459 am_cv_CC_dependencies_compiler_type
=none
3460 if test "$am_compiler_list" = ""; then
3461 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3463 for depmode
in $am_compiler_list; do
3464 # Setup a source with many dependencies, because some compilers
3465 # like to wrap large dependency lists on column 80 (with \), and
3466 # we should not choose a depcomp mode which is confused by this.
3468 # We need to recreate these files for each test, as the compiler may
3469 # overwrite some of them when testing with obscure command lines.
3470 # This happens at least with the AIX C compiler.
3472 for i
in 1 2 3 4 5 6; do
3473 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3474 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3475 # Solaris 8's {/usr,}/bin/sh.
3476 touch sub
/conftst
$i.h
3478 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3482 # after this tag, mechanisms are not by side-effect, so they'll
3483 # only be used when explicitly requested
3484 if test "x$enable_dependency_tracking" = xyes
; then
3492 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3493 # mode. It turns out that the SunPro C++ compiler does not properly
3494 # handle `-M -o', and we need to detect this.
3495 if depmode
=$depmode \
3496 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3497 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3498 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3499 >/dev
/null
2>conftest.err
&&
3500 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3501 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3502 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3503 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3504 # icc doesn't choke on unknown options, it will just issue warnings
3505 # or remarks (even with -Werror). So we grep stderr for any message
3506 # that says an option was ignored or not supported.
3507 # When given -MP, icc 7.0 and 7.1 complain thusly:
3508 # icc: Command line warning: ignoring option '-M'; no argument required
3509 # The diagnosis changed in icc 8.0:
3510 # icc: Command line remark: option '-MP' not supported
3511 if (grep 'ignoring option' conftest.err ||
3512 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3513 am_cv_CC_dependencies_compiler_type
=$depmode
3522 am_cv_CC_dependencies_compiler_type
=none
3526 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3527 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3528 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3531 test "x$enable_dependency_tracking" != xno \
3532 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3534 am__fastdepCC_FALSE
='#'
3536 am__fastdepCC_TRUE
='#'
3537 am__fastdepCC_FALSE
=
3542 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3543 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
3544 if test "${ac_cv_c_const+set}" = set; then
3545 echo $ECHO_N "(cached) $ECHO_C" >&6
3547 cat >conftest.
$ac_ext <<_ACEOF
3550 cat confdefs.h
>>conftest.
$ac_ext
3551 cat >>conftest.
$ac_ext <<_ACEOF
3552 /* end confdefs.h. */
3557 /* FIXME: Include the comments suggested by Paul. */
3559 /* Ultrix mips cc rejects this. */
3560 typedef int charset[2];
3562 /* SunOS 4.1.1 cc rejects this. */
3563 char const *const *pcpcc;
3565 /* NEC SVR4.0.2 mips cc rejects this. */
3566 struct point {int x, y;};
3567 static struct point const zero = {0,0};
3568 /* AIX XL C 1.02.0.0 rejects this.
3569 It does not let you subtract one const X* pointer from another in
3570 an arm of an if-expression whose if-part is not a constant
3572 const char *g = "string";
3573 pcpcc = &g + (g ? g-g : 0);
3574 /* HPUX 7.0 cc rejects these. */
3576 ppc = (char**) pcpcc;
3577 pcpcc = (char const *const *) ppc;
3578 { /* SCO 3.2v4 cc rejects this. */
3580 char const *s = 0 ? (char *) 0 : (char const *) 0;
3585 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3587 const int *foo = &x[0];
3590 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3591 typedef const int *iptr;
3595 { /* AIX XL C 1.02.0.0 rejects this saying
3596 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3597 struct s { int j; const int *ap[3]; };
3598 struct s *b; b->j = 5;
3600 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3604 return !cs[0] && !zero.x;
3611 rm -f conftest.
$ac_objext
3612 if { (ac_try
="$ac_compile"
3614 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3615 *) ac_try_echo=$ac_try;;
3617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3618 (eval "$ac_compile") 2>conftest.er1
3620 grep -v '^ *+' conftest.er1 >conftest.err
3622 cat conftest.err >&5
3623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3624 (exit $ac_status); } && {
3625 test -z "$ac_c_werror_flag" ||
3626 test ! -s conftest.err
3627 } && test -s conftest.$ac_objext; then
3630 echo "$as_me: failed program was:" >&5
3631 sed 's/^/| /' conftest.$ac_ext >&5
3636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3638 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3639 echo "${ECHO_T}$ac_cv_c_const" >&6; }
3640 if test $ac_cv_c_const = no; then
3642 cat >>confdefs.h <<\_ACEOF
3648 { echo "$as_me:$LINENO: checking for inline" >&5
3649 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
3650 if test "${ac_cv_c_inline+set}" = set; then
3651 echo $ECHO_N "(cached) $ECHO_C" >&6
3654 for ac_kw in inline __inline__ __inline; do
3655 cat >conftest.$ac_ext <<_ACEOF
3658 cat confdefs.h >>conftest.$ac_ext
3659 cat >>conftest.$ac_ext <<_ACEOF
3660 /* end confdefs.h. */
3663 static $ac_kw foo_t static_foo () {return 0; }
3664 $ac_kw foo_t foo () {return 0; }
3668 rm -f conftest.$ac_objext
3669 if { (ac_try="$ac_compile"
3671 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3672 *) ac_try_echo
=$ac_try;;
3674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3675 (eval "$ac_compile") 2>conftest.er1
3677 grep -v '^ *+' conftest.er1
>conftest.err
3679 cat conftest.err
>&5
3680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3681 (exit $ac_status); } && {
3682 test -z "$ac_c_werror_flag" ||
3683 test ! -s conftest.err
3684 } && test -s conftest.
$ac_objext; then
3685 ac_cv_c_inline
=$ac_kw
3687 echo "$as_me: failed program was:" >&5
3688 sed 's/^/| /' conftest.
$ac_ext >&5
3693 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3694 test "$ac_cv_c_inline" != no
&& break
3698 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
3699 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
3702 case $ac_cv_c_inline in
3705 case $ac_cv_c_inline in
3707 *) ac_val
=$ac_cv_c_inline;;
3709 cat >>confdefs.h
<<_ACEOF
3711 #define inline $ac_val
3719 ## ----------------------- ##
3720 ## Libtool initialisation. ##
3721 ## ----------------------- ##
3724 # Check whether --enable-shared was given.
3725 if test "${enable_shared+set}" = set; then
3726 enableval
=$enable_shared; p
=${PACKAGE-default}
3728 yes) enable_shared
=yes ;;
3729 no
) enable_shared
=no
;;
3732 # Look at the argument we got. We use all the common list separators.
3733 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3734 for pkg
in $enableval; do
3736 if test "X$pkg" = "X$p"; then
3748 # Check whether --enable-static was given.
3749 if test "${enable_static+set}" = set; then
3750 enableval
=$enable_static; p
=${PACKAGE-default}
3752 yes) enable_static
=yes ;;
3753 no
) enable_static
=no
;;
3756 # Look at the argument we got. We use all the common list separators.
3757 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3758 for pkg
in $enableval; do
3760 if test "X$pkg" = "X$p"; then
3772 # Check whether --enable-fast-install was given.
3773 if test "${enable_fast_install+set}" = set; then
3774 enableval
=$enable_fast_install; p
=${PACKAGE-default}
3776 yes) enable_fast_install
=yes ;;
3777 no
) enable_fast_install
=no
;;
3779 enable_fast_install
=no
3780 # Look at the argument we got. We use all the common list separators.
3781 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3782 for pkg
in $enableval; do
3784 if test "X$pkg" = "X$p"; then
3785 enable_fast_install
=yes
3792 enable_fast_install
=yes
3796 # Make sure we can run config.sub.
3797 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3798 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3799 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3800 { (exit 1); exit 1; }; }
3802 { echo "$as_me:$LINENO: checking build system type" >&5
3803 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
3804 if test "${ac_cv_build+set}" = set; then
3805 echo $ECHO_N "(cached) $ECHO_C" >&6
3807 ac_build_alias
=$build_alias
3808 test "x$ac_build_alias" = x
&&
3809 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3810 test "x$ac_build_alias" = x
&&
3811 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3812 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3813 { (exit 1); exit 1; }; }
3814 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3815 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3816 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3817 { (exit 1); exit 1; }; }
3820 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3821 echo "${ECHO_T}$ac_cv_build" >&6; }
3822 case $ac_cv_build in
3824 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3825 echo "$as_me: error: invalid value of canonical build" >&2;}
3826 { (exit 1); exit 1; }; };;
3829 ac_save_IFS
=$IFS; IFS
='-'
3835 # Remember, the first character of IFS is used to create $*,
3836 # except with old shells:
3839 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3842 { echo "$as_me:$LINENO: checking host system type" >&5
3843 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
3844 if test "${ac_cv_host+set}" = set; then
3845 echo $ECHO_N "(cached) $ECHO_C" >&6
3847 if test "x$host_alias" = x
; then
3848 ac_cv_host
=$ac_cv_build
3850 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3851 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3852 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3853 { (exit 1); exit 1; }; }
3857 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3858 echo "${ECHO_T}$ac_cv_host" >&6; }
3861 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3862 echo "$as_me: error: invalid value of canonical host" >&2;}
3863 { (exit 1); exit 1; }; };;
3866 ac_save_IFS
=$IFS; IFS
='-'
3872 # Remember, the first character of IFS is used to create $*,
3873 # except with old shells:
3876 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3879 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3880 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
3881 if test "${lt_cv_path_SED+set}" = set; then
3882 echo $ECHO_N "(cached) $ECHO_C" >&6
3884 # Loop through the user's path and test for sed and gsed.
3885 # Then use that list of sed's as ones to test for truncation.
3886 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3890 test -z "$as_dir" && as_dir
=.
3891 for lt_ac_prog
in sed gsed
; do
3892 for ac_exec_ext
in '' $ac_executable_extensions; do
3893 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3894 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3902 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3903 # along with /bin/sed that truncates output.
3904 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
3905 test ! -f $lt_ac_sed && continue
3906 cat /dev
/null
> conftest.
in
3908 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
3909 # Check for GNU sed and select it if it is found.
3910 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
3911 lt_cv_path_SED
=$lt_ac_sed
3915 cat conftest.
in conftest.
in >conftest.tmp
3916 mv conftest.tmp conftest.
in
3917 cp conftest.
in conftest.
nl
3919 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
3920 cmp -s conftest.out conftest.
nl ||
break
3921 # 10000 chars as input seems more than enough
3922 test $lt_ac_count -gt 10 && break
3923 lt_ac_count
=`expr $lt_ac_count + 1`
3924 if test $lt_ac_count -gt $lt_ac_max; then
3925 lt_ac_max
=$lt_ac_count
3926 lt_cv_path_SED
=$lt_ac_sed
3935 { echo "$as_me:$LINENO: result: $SED" >&5
3936 echo "${ECHO_T}$SED" >&6; }
3938 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3939 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3940 if test "${ac_cv_path_GREP+set}" = set; then
3941 echo $ECHO_N "(cached) $ECHO_C" >&6
3943 # Extract the first word of "grep ggrep" to use in msg output
3944 if test -z "$GREP"; then
3945 set dummy
grep ggrep
; ac_prog_name
=$2
3946 if test "${ac_cv_path_GREP+set}" = set; then
3947 echo $ECHO_N "(cached) $ECHO_C" >&6
3949 ac_path_GREP_found
=false
3950 # Loop through the user's path and test for each of PROGNAME-LIST
3951 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3952 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3955 test -z "$as_dir" && as_dir
=.
3956 for ac_prog
in grep ggrep
; do
3957 for ac_exec_ext
in '' $ac_executable_extensions; do
3958 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3959 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3960 # Check for GNU ac_path_GREP and select it if it is found.
3961 # Check for GNU $ac_path_GREP
3962 case `"$ac_path_GREP" --version 2>&1` in
3964 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3967 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3970 cat "conftest.in" "conftest.in" >"conftest.tmp"
3971 mv "conftest.tmp" "conftest.in"
3972 cp "conftest.in" "conftest.nl"
3973 echo 'GREP' >> "conftest.nl"
3974 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3975 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3976 ac_count
=`expr $ac_count + 1`
3977 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3978 # Best one so far, save it but keep looking for a better one
3979 ac_cv_path_GREP
="$ac_path_GREP"
3980 ac_path_GREP_max
=$ac_count
3982 # 10*(2^10) chars as input seems more than enough
3983 test $ac_count -gt 10 && break
3985 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3989 $ac_path_GREP_found && break 3
3999 GREP
="$ac_cv_path_GREP"
4000 if test -z "$GREP"; then
4001 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4002 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4003 { (exit 1); exit 1; }; }
4007 ac_cv_path_GREP
=$GREP
4012 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4013 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4014 GREP
="$ac_cv_path_GREP"
4017 { echo "$as_me:$LINENO: checking for egrep" >&5
4018 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4019 if test "${ac_cv_path_EGREP+set}" = set; then
4020 echo $ECHO_N "(cached) $ECHO_C" >&6
4022 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4023 then ac_cv_path_EGREP
="$GREP -E"
4025 # Extract the first word of "egrep" to use in msg output
4026 if test -z "$EGREP"; then
4027 set dummy
egrep; ac_prog_name
=$2
4028 if test "${ac_cv_path_EGREP+set}" = set; then
4029 echo $ECHO_N "(cached) $ECHO_C" >&6
4031 ac_path_EGREP_found
=false
4032 # Loop through the user's path and test for each of PROGNAME-LIST
4033 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4034 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4037 test -z "$as_dir" && as_dir
=.
4038 for ac_prog
in egrep; do
4039 for ac_exec_ext
in '' $ac_executable_extensions; do
4040 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4041 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4042 # Check for GNU ac_path_EGREP and select it if it is found.
4043 # Check for GNU $ac_path_EGREP
4044 case `"$ac_path_EGREP" --version 2>&1` in
4046 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4049 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4052 cat "conftest.in" "conftest.in" >"conftest.tmp"
4053 mv "conftest.tmp" "conftest.in"
4054 cp "conftest.in" "conftest.nl"
4055 echo 'EGREP' >> "conftest.nl"
4056 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4057 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4058 ac_count
=`expr $ac_count + 1`
4059 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4060 # Best one so far, save it but keep looking for a better one
4061 ac_cv_path_EGREP
="$ac_path_EGREP"
4062 ac_path_EGREP_max
=$ac_count
4064 # 10*(2^10) chars as input seems more than enough
4065 test $ac_count -gt 10 && break
4067 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4071 $ac_path_EGREP_found && break 3
4081 EGREP
="$ac_cv_path_EGREP"
4082 if test -z "$EGREP"; then
4083 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4084 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4085 { (exit 1); exit 1; }; }
4089 ac_cv_path_EGREP
=$EGREP
4095 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4096 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4097 EGREP
="$ac_cv_path_EGREP"
4101 # Check whether --with-gnu-ld was given.
4102 if test "${with_gnu_ld+set}" = set; then
4103 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4109 if test "$GCC" = yes; then
4110 # Check if gcc -print-prog-name=ld gives a path.
4111 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4112 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
4115 # gcc leaves a trailing carriage return which upsets mingw
4116 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4118 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4121 # Accept absolute paths.
4123 re_direlt
='/[^/][^/]*/\.\./'
4124 # Canonicalize the pathname of ld
4125 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
4126 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
4127 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4129 test -z "$LD" && LD
="$ac_prog"
4132 # If it fails, then pretend we aren't using GCC.
4136 # If it is relative, then search for the first ld in PATH.
4140 elif test "$with_gnu_ld" = yes; then
4141 { echo "$as_me:$LINENO: checking for GNU ld" >&5
4142 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
4144 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4145 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
4147 if test "${lt_cv_path_LD+set}" = set; then
4148 echo $ECHO_N "(cached) $ECHO_C" >&6
4150 if test -z "$LD"; then
4151 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4152 for ac_dir
in $PATH; do
4154 test -z "$ac_dir" && ac_dir
=.
4155 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4156 lt_cv_path_LD
="$ac_dir/$ac_prog"
4157 # Check to see if the program is GNU ld. I'd rather use --version,
4158 # but apparently some variants of GNU ld only accept -v.
4159 # Break only if it was the GNU/non-GNU ld that we prefer.
4160 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4161 *GNU
* |
*'with BFD'*)
4162 test "$with_gnu_ld" != no
&& break
4165 test "$with_gnu_ld" != yes && break
4172 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4177 if test -n "$LD"; then
4178 { echo "$as_me:$LINENO: result: $LD" >&5
4179 echo "${ECHO_T}$LD" >&6; }
4181 { echo "$as_me:$LINENO: result: no" >&5
4182 echo "${ECHO_T}no" >&6; }
4184 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4185 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4186 { (exit 1); exit 1; }; }
4187 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4188 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4189 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4190 echo $ECHO_N "(cached) $ECHO_C" >&6
4192 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4193 case `$LD -v 2>&1 </dev/null` in
4194 *GNU
* |
*'with BFD'*)
4195 lt_cv_prog_gnu_ld
=yes
4198 lt_cv_prog_gnu_ld
=no
4202 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4203 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4204 with_gnu_ld
=$lt_cv_prog_gnu_ld
4207 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4208 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4209 if test "${lt_cv_ld_reload_flag+set}" = set; then
4210 echo $ECHO_N "(cached) $ECHO_C" >&6
4212 lt_cv_ld_reload_flag
='-r'
4214 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4215 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4216 reload_flag
=$lt_cv_ld_reload_flag
4217 case $reload_flag in
4219 *) reload_flag
=" $reload_flag" ;;
4221 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4224 if test "$GCC" = yes; then
4225 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4227 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4232 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4233 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
4234 if test "${lt_cv_path_NM+set}" = set; then
4235 echo $ECHO_N "(cached) $ECHO_C" >&6
4237 if test -n "$NM"; then
4238 # Let the user override the test.
4241 lt_nm_to_check
="${ac_tool_prefix}nm"
4242 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4243 lt_nm_to_check
="$lt_nm_to_check nm"
4245 for lt_tmp_nm
in $lt_nm_to_check; do
4246 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4247 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4249 test -z "$ac_dir" && ac_dir
=.
4250 tmp_nm
="$ac_dir/$lt_tmp_nm"
4251 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4252 # Check to see if the nm accepts a BSD-compat flag.
4253 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4254 # nm: unknown option "B" ignored
4255 # Tru64's nm complains that /dev/null is an invalid object file
4256 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4257 */dev
/null
* |
*'Invalid file or object type'*)
4258 lt_cv_path_NM
="$tmp_nm -B"
4262 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4264 lt_cv_path_NM
="$tmp_nm -p"
4268 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4269 continue # so that we can try to find one that supports BSD flags
4278 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
4281 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4282 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4285 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
4286 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4288 if test "$LN_S" = "ln -s"; then
4289 { echo "$as_me:$LINENO: result: yes" >&5
4290 echo "${ECHO_T}yes" >&6; }
4292 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4293 echo "${ECHO_T}no, using $LN_S" >&6; }
4296 { echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4297 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
4298 if test "${lt_cv_deplibs_check_method+set}" = set; then
4299 echo $ECHO_N "(cached) $ECHO_C" >&6
4301 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4302 lt_cv_file_magic_test_file
=
4303 lt_cv_deplibs_check_method
='unknown'
4304 # Need to set the preceding variable on all platforms that support
4305 # interlibrary dependencies.
4306 # 'none' -- dependencies not supported.
4307 # `unknown' -- same as none, but documents that we really don't know.
4308 # 'pass_all' -- all dependencies passed with no checks.
4309 # 'test_compile' -- check by making test program.
4310 # 'file_magic [[regex]]' -- check by looking for files in library path
4311 # which responds to the $file_magic_cmd with a given extended regex.
4312 # If you have `file' or equivalent on your system and you're not sure
4313 # whether `pass_all' will *always* work, you probably want this one.
4317 lt_cv_deplibs_check_method
=pass_all
4321 lt_cv_deplibs_check_method
=pass_all
4325 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4326 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4327 lt_cv_file_magic_test_file
=/shlib
/libc.so
4331 # func_win32_libid is a shell function defined in ltmain.sh
4332 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4333 lt_cv_file_magic_cmd
='func_win32_libid'
4337 # Base MSYS/MinGW do not provide the 'file' command needed by
4338 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
4339 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
4340 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4343 darwin
* | rhapsody
*)
4344 lt_cv_deplibs_check_method
=pass_all
4347 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
4348 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4351 # Not sure whether the presence of OpenBSD here was a mistake.
4352 # Let's accept both of them until this is cleared up.
4353 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4354 lt_cv_file_magic_cmd
=/usr
/bin
/file
4355 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4359 lt_cv_deplibs_check_method
=pass_all
4364 lt_cv_deplibs_check_method
=pass_all
4367 hpux10.20
* | hpux11
*)
4368 lt_cv_file_magic_cmd
=/usr
/bin
/file
4371 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4372 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
4375 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]'
4376 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
4379 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4380 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4386 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4387 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
4390 irix5
* | irix6
* | nonstopux
*)
4392 *-32|
*"-32 ") libmagic
=32-bit;;
4393 *-n32|
*"-n32 ") libmagic
=N32
;;
4394 *-64|
*"-64 ") libmagic
=64-bit;;
4395 *) libmagic
=never-match
;;
4397 lt_cv_deplibs_check_method
=pass_all
4400 # This must be Linux ELF.
4402 lt_cv_deplibs_check_method
=pass_all
4406 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4407 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4409 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4414 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4415 lt_cv_file_magic_cmd
=/usr
/bin
/file
4416 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4420 lt_cv_deplibs_check_method
=unknown
4424 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4425 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4427 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4431 osf3
* | osf4
* | osf5
*)
4432 lt_cv_deplibs_check_method
=pass_all
4436 lt_cv_deplibs_check_method
=pass_all
4440 case $host_vendor in
4442 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]'
4443 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4446 lt_cv_deplibs_check_method
=pass_all
4449 lt_cv_file_magic_cmd
='/bin/file'
4450 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4453 lt_cv_file_magic_cmd
='/bin/file'
4454 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4455 lt_cv_file_magic_test_file
=/lib
/libc.so
4458 lt_cv_deplibs_check_method
=pass_all
4461 lt_cv_deplibs_check_method
=pass_all
4466 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
4467 lt_cv_deplibs_check_method
=pass_all
4472 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4473 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4474 file_magic_cmd
=$lt_cv_file_magic_cmd
4475 deplibs_check_method
=$lt_cv_deplibs_check_method
4476 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
4481 # If no C compiler was specified, use CC.
4484 # If no C compiler flags were specified, use CFLAGS.
4485 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
4487 # Allow CC to be a program name with arguments.
4490 # Check whether --enable-libtool-lock was given.
4491 if test "${enable_libtool_lock+set}" = set; then
4492 enableval
=$enable_libtool_lock;
4495 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
4497 # Some flags need to be propagated to the compiler or linker for good
4501 # Find out which ABI we are using.
4502 echo 'int i;' > conftest.
$ac_ext
4503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4504 (eval $ac_compile) 2>&5
4506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4507 (exit $ac_status); }; then
4508 case `/usr/bin/file conftest.$ac_objext` in
4520 # Find out which ABI we are using.
4521 echo '#line 4521 "configure"' > conftest.
$ac_ext
4522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4523 (eval $ac_compile) 2>&5
4525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4526 (exit $ac_status); }; then
4527 if test "$lt_cv_prog_gnu_ld" = yes; then
4528 case `/usr/bin/file conftest.$ac_objext` in
4530 LD
="${LD-ld} -melf32bsmip"
4533 LD
="${LD-ld} -melf32bmipn32"
4536 LD
="${LD-ld} -melf64bmip"
4540 case `/usr/bin/file conftest.$ac_objext` in
4556 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
4557 # Find out which ABI we are using.
4558 echo 'int i;' > conftest.
$ac_ext
4559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4560 (eval $ac_compile) 2>&5
4562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4563 (exit $ac_status); }; then
4564 case `/usr/bin/file conftest.o` in
4568 LD
="${LD-ld} -m elf_i386"
4570 ppc64-
*linux
*|powerpc64-
*linux
*)
4571 LD
="${LD-ld} -m elf32ppclinux"
4574 LD
="${LD-ld} -m elf_s390"
4577 LD
="${LD-ld} -m elf32_sparc"
4584 LD
="${LD-ld} -m elf_x86_64"
4586 ppc
*-*linux
*|powerpc
*-*linux
*)
4587 LD
="${LD-ld} -m elf64ppc"
4590 LD
="${LD-ld} -m elf64_s390"
4593 LD
="${LD-ld} -m elf64_sparc"
4603 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4604 SAVE_CFLAGS
="$CFLAGS"
4605 CFLAGS
="$CFLAGS -belf"
4606 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4607 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4608 if test "${lt_cv_cc_needs_belf+set}" = set; then
4609 echo $ECHO_N "(cached) $ECHO_C" >&6
4612 ac_cpp
='$CPP $CPPFLAGS'
4613 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4614 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4615 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4617 cat >conftest.
$ac_ext <<_ACEOF
4620 cat confdefs.h
>>conftest.
$ac_ext
4621 cat >>conftest.
$ac_ext <<_ACEOF
4622 /* end confdefs.h. */
4632 rm -f conftest.
$ac_objext conftest
$ac_exeext
4633 if { (ac_try
="$ac_link"
4635 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4636 *) ac_try_echo=$ac_try;;
4638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4639 (eval "$ac_link") 2>conftest.er1
4641 grep -v '^ *+' conftest.er1 >conftest.err
4643 cat conftest.err >&5
4644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4645 (exit $ac_status); } && {
4646 test -z "$ac_c_werror_flag" ||
4647 test ! -s conftest.err
4648 } && test -s conftest$ac_exeext &&
4649 $as_test_x conftest$ac_exeext; then
4650 lt_cv_cc_needs_belf=yes
4652 echo "$as_me: failed program was:" >&5
4653 sed 's/^/| /' conftest.$ac_ext >&5
4655 lt_cv_cc_needs_belf=no
4658 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4659 conftest$ac_exeext conftest.$ac_ext
4661 ac_cpp='$CPP $CPPFLAGS'
4662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4667 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4668 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
4669 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4670 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4671 CFLAGS="$SAVE_CFLAGS"
4675 # Find out which ABI we are using.
4676 echo 'int i;' > conftest.$ac_ext
4677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4678 (eval $ac_compile) 2>&5
4680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4681 (exit $ac_status); }; then
4682 case `/usr
/bin
/file conftest.o
` in
4684 case $lt_cv_prog_gnu_ld in
4685 yes*) LD="${LD-ld} -m elf64_sparc" ;;
4686 *) LD="${LD-ld} -64" ;;
4694 *-*-cygwin* | *-*-mingw* | *-*-pw32*)
4695 if test -n "$ac_tool_prefix"; then
4696 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4697 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
4698 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4699 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4700 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
4701 echo $ECHO_N "(cached) $ECHO_C" >&6
4703 if test -n "$DLLTOOL"; then
4704 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
4706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4710 test -z "$as_dir" && as_dir=.
4711 for ac_exec_ext in '' $ac_executable_extensions; do
4712 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4713 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
4714 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4723 DLLTOOL=$ac_cv_prog_DLLTOOL
4724 if test -n "$DLLTOOL"; then
4725 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
4726 echo "${ECHO_T}$DLLTOOL" >&6; }
4728 { echo "$as_me:$LINENO: result: no" >&5
4729 echo "${ECHO_T}no" >&6; }
4734 if test -z "$ac_cv_prog_DLLTOOL"; then
4735 ac_ct_DLLTOOL=$DLLTOOL
4736 # Extract the first word of "dlltool", so it can be a program name with args.
4737 set dummy dlltool; ac_word=$2
4738 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4739 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4740 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
4741 echo $ECHO_N "(cached) $ECHO_C" >&6
4743 if test -n "$ac_ct_DLLTOOL"; then
4744 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
4746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4750 test -z "$as_dir" && as_dir=.
4751 for ac_exec_ext in '' $ac_executable_extensions; do
4752 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4753 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
4754 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4763 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
4764 if test -n "$ac_ct_DLLTOOL"; then
4765 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
4766 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
4768 { echo "$as_me:$LINENO: result: no" >&5
4769 echo "${ECHO_T}no" >&6; }
4772 if test "x$ac_ct_DLLTOOL" = x; then
4775 case $cross_compiling:$ac_tool_warned in
4777 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4778 whose name does not start with the host triplet. If you think this
4779 configuration is useful to you, please write to autoconf@gnu.org." >&5
4780 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4781 whose name does not start with the host triplet. If you think this
4782 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4783 ac_tool_warned=yes ;;
4785 DLLTOOL=$ac_ct_DLLTOOL
4788 DLLTOOL="$ac_cv_prog_DLLTOOL"
4791 if test -n "$ac_tool_prefix"; then
4792 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4793 set dummy ${ac_tool_prefix}as; ac_word=$2
4794 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4795 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4796 if test "${ac_cv_prog_AS+set}" = set; then
4797 echo $ECHO_N "(cached) $ECHO_C" >&6
4799 if test -n "$AS"; then
4800 ac_cv_prog_AS="$AS" # Let the user override the test.
4802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4806 test -z "$as_dir" && as_dir=.
4807 for ac_exec_ext in '' $ac_executable_extensions; do
4808 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4809 ac_cv_prog_AS="${ac_tool_prefix}as"
4810 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4820 if test -n "$AS"; then
4821 { echo "$as_me:$LINENO: result: $AS" >&5
4822 echo "${ECHO_T}$AS" >&6; }
4824 { echo "$as_me:$LINENO: result: no" >&5
4825 echo "${ECHO_T}no" >&6; }
4830 if test -z "$ac_cv_prog_AS"; then
4832 # Extract the first word of "as", so it can be a program name with args.
4833 set dummy as; ac_word=$2
4834 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4835 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4836 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
4837 echo $ECHO_N "(cached) $ECHO_C" >&6
4839 if test -n "$ac_ct_AS"; then
4840 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4846 test -z "$as_dir" && as_dir=.
4847 for ac_exec_ext in '' $ac_executable_extensions; do
4848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4849 ac_cv_prog_ac_ct_AS="as"
4850 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4859 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4860 if test -n "$ac_ct_AS"; then
4861 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
4862 echo "${ECHO_T}$ac_ct_AS" >&6; }
4864 { echo "$as_me:$LINENO: result: no" >&5
4865 echo "${ECHO_T}no" >&6; }
4868 if test "x$ac_ct_AS" = x; then
4871 case $cross_compiling:$ac_tool_warned in
4873 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4874 whose name does not start with the host triplet. If you think this
4875 configuration is useful to you, please write to autoconf@gnu.org." >&5
4876 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4877 whose name does not start with the host triplet. If you think this
4878 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4879 ac_tool_warned=yes ;;
4887 if test -n "$ac_tool_prefix"; then
4888 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4889 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4890 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4891 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4892 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
4893 echo $ECHO_N "(cached) $ECHO_C" >&6
4895 if test -n "$OBJDUMP"; then
4896 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4902 test -z "$as_dir" && as_dir=.
4903 for ac_exec_ext in '' $ac_executable_extensions; do
4904 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4905 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4906 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4915 OBJDUMP=$ac_cv_prog_OBJDUMP
4916 if test -n "$OBJDUMP"; then
4917 { echo "$as_me:$LINENO: result: $OBJDUMP" >&5
4918 echo "${ECHO_T}$OBJDUMP" >&6; }
4920 { echo "$as_me:$LINENO: result: no" >&5
4921 echo "${ECHO_T}no" >&6; }
4926 if test -z "$ac_cv_prog_OBJDUMP"; then
4927 ac_ct_OBJDUMP=$OBJDUMP
4928 # Extract the first word of "objdump", so it can be a program name with args.
4929 set dummy objdump; ac_word=$2
4930 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4931 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4932 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
4933 echo $ECHO_N "(cached) $ECHO_C" >&6
4935 if test -n "$ac_ct_OBJDUMP"; then
4936 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4942 test -z "$as_dir" && as_dir=.
4943 for ac_exec_ext in '' $ac_executable_extensions; do
4944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4945 ac_cv_prog_ac_ct_OBJDUMP="objdump"
4946 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4955 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4956 if test -n "$ac_ct_OBJDUMP"; then
4957 { echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
4958 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6; }
4960 { echo "$as_me:$LINENO: result: no" >&5
4961 echo "${ECHO_T}no" >&6; }
4964 if test "x$ac_ct_OBJDUMP" = x; then
4967 case $cross_compiling:$ac_tool_warned in
4969 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4970 whose name does not start with the host triplet. If you think this
4971 configuration is useful to you, please write to autoconf@gnu.org." >&5
4972 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4973 whose name does not start with the host triplet. If you think this
4974 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4975 ac_tool_warned=yes ;;
4977 OBJDUMP=$ac_ct_OBJDUMP
4980 OBJDUMP="$ac_cv_prog_OBJDUMP"
4987 need_locks="$enable_libtool_lock"
4991 ac_cpp='$CPP $CPPFLAGS'
4992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4995 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4996 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4997 # On Suns, sometimes $CPP names a directory.
4998 if test -n "$CPP" && test -d "$CPP"; then
5001 if test -z "$CPP"; then
5002 if test "${ac_cv_prog_CPP+set}" = set; then
5003 echo $ECHO_N "(cached) $ECHO_C" >&6
5005 # Double quotes because CPP needs to be expanded
5006 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5009 for ac_c_preproc_warn_flag in '' yes
5011 # Use a header file that comes with gcc, so configuring glibc
5012 # with a fresh cross-compiler works.
5013 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5014 # <limits.h> exists even on freestanding compilers.
5015 # On the NeXT, cc -E runs the code through the compiler's parser,
5016 # not just through cpp. "Syntax error" is here to catch this case.
5017 cat >conftest.$ac_ext <<_ACEOF
5020 cat confdefs.h >>conftest.$ac_ext
5021 cat >>conftest.$ac_ext <<_ACEOF
5022 /* end confdefs.h. */
5024 # include <limits.h>
5026 # include <assert.h>
5030 if { (ac_try="$ac_cpp conftest.$ac_ext"
5032 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5033 *) ac_try_echo
=$ac_try;;
5035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5036 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5038 grep -v '^ *+' conftest.er1
>conftest.err
5040 cat conftest.err
>&5
5041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5042 (exit $ac_status); } >/dev
/null
&& {
5043 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5044 test ! -s conftest.err
5048 echo "$as_me: failed program was:" >&5
5049 sed 's/^/| /' conftest.
$ac_ext >&5
5051 # Broken: fails on valid input.
5055 rm -f conftest.err conftest.
$ac_ext
5057 # OK, works on sane cases. Now check whether nonexistent headers
5058 # can be detected and how.
5059 cat >conftest.
$ac_ext <<_ACEOF
5062 cat confdefs.h
>>conftest.
$ac_ext
5063 cat >>conftest.
$ac_ext <<_ACEOF
5064 /* end confdefs.h. */
5065 #include <ac_nonexistent.h>
5067 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5069 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5070 *) ac_try_echo=$ac_try;;
5072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5073 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5075 grep -v '^ *+' conftest.er1 >conftest.err
5077 cat conftest.err >&5
5078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5079 (exit $ac_status); } >/dev/null && {
5080 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5081 test ! -s conftest.err
5083 # Broken: success on invalid input.
5086 echo "$as_me: failed program was:" >&5
5087 sed 's/^/| /' conftest.$ac_ext >&5
5089 # Passes both tests.
5094 rm -f conftest.err conftest.$ac_ext
5097 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5098 rm -f conftest.err conftest.
$ac_ext
5099 if $ac_preproc_ok; then
5111 { echo "$as_me:$LINENO: result: $CPP" >&5
5112 echo "${ECHO_T}$CPP" >&6; }
5114 for ac_c_preproc_warn_flag
in '' yes
5116 # Use a header file that comes with gcc, so configuring glibc
5117 # with a fresh cross-compiler works.
5118 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5119 # <limits.h> exists even on freestanding compilers.
5120 # On the NeXT, cc -E runs the code through the compiler's parser,
5121 # not just through cpp. "Syntax error" is here to catch this case.
5122 cat >conftest.
$ac_ext <<_ACEOF
5125 cat confdefs.h
>>conftest.
$ac_ext
5126 cat >>conftest.
$ac_ext <<_ACEOF
5127 /* end confdefs.h. */
5129 # include <limits.h>
5131 # include <assert.h>
5135 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5137 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5138 *) ac_try_echo=$ac_try;;
5140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5141 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5143 grep -v '^ *+' conftest.er1 >conftest.err
5145 cat conftest.err >&5
5146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5147 (exit $ac_status); } >/dev/null && {
5148 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5149 test ! -s conftest.err
5153 echo "$as_me: failed program was:" >&5
5154 sed 's/^/| /' conftest.$ac_ext >&5
5156 # Broken: fails on valid input.
5160 rm -f conftest.err conftest.$ac_ext
5162 # OK, works on sane cases. Now check whether nonexistent headers
5163 # can be detected and how.
5164 cat >conftest.$ac_ext <<_ACEOF
5167 cat confdefs.h >>conftest.$ac_ext
5168 cat >>conftest.$ac_ext <<_ACEOF
5169 /* end confdefs.h. */
5170 #include <ac_nonexistent.h>
5172 if { (ac_try="$ac_cpp conftest.$ac_ext"
5174 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5175 *) ac_try_echo
=$ac_try;;
5177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5178 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5180 grep -v '^ *+' conftest.er1
>conftest.err
5182 cat conftest.err
>&5
5183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5184 (exit $ac_status); } >/dev
/null
&& {
5185 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5186 test ! -s conftest.err
5188 # Broken: success on invalid input.
5191 echo "$as_me: failed program was:" >&5
5192 sed 's/^/| /' conftest.
$ac_ext >&5
5194 # Passes both tests.
5199 rm -f conftest.err conftest.
$ac_ext
5202 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5203 rm -f conftest.err conftest.
$ac_ext
5204 if $ac_preproc_ok; then
5207 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5208 See \`config.log' for more details." >&5
5209 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5210 See \`config.log' for more details." >&2;}
5211 { (exit 1); exit 1; }; }
5215 ac_cpp
='$CPP $CPPFLAGS'
5216 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5217 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5218 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5221 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5222 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5223 if test "${ac_cv_header_stdc+set}" = set; then
5224 echo $ECHO_N "(cached) $ECHO_C" >&6
5226 cat >conftest.
$ac_ext <<_ACEOF
5229 cat confdefs.h
>>conftest.
$ac_ext
5230 cat >>conftest.
$ac_ext <<_ACEOF
5231 /* end confdefs.h. */
5245 rm -f conftest.
$ac_objext
5246 if { (ac_try
="$ac_compile"
5248 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5249 *) ac_try_echo=$ac_try;;
5251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5252 (eval "$ac_compile") 2>conftest.er1
5254 grep -v '^ *+' conftest.er1 >conftest.err
5256 cat conftest.err >&5
5257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5258 (exit $ac_status); } && {
5259 test -z "$ac_c_werror_flag" ||
5260 test ! -s conftest.err
5261 } && test -s conftest.$ac_objext; then
5262 ac_cv_header_stdc=yes
5264 echo "$as_me: failed program was:" >&5
5265 sed 's/^/| /' conftest.$ac_ext >&5
5267 ac_cv_header_stdc=no
5270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5272 if test $ac_cv_header_stdc = yes; then
5273 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5274 cat >conftest.$ac_ext <<_ACEOF
5277 cat confdefs.h >>conftest.$ac_ext
5278 cat >>conftest.$ac_ext <<_ACEOF
5279 /* end confdefs.h. */
5283 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5284 $EGREP "memchr" >/dev/null 2>&1; then
5287 ac_cv_header_stdc=no
5293 if test $ac_cv_header_stdc = yes; then
5294 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5295 cat >conftest.$ac_ext <<_ACEOF
5298 cat confdefs.h >>conftest.$ac_ext
5299 cat >>conftest.$ac_ext <<_ACEOF
5300 /* end confdefs.h. */
5304 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5305 $EGREP "free" >/dev/null 2>&1; then
5308 ac_cv_header_stdc=no
5314 if test $ac_cv_header_stdc = yes; then
5315 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5316 if test "$cross_compiling" = yes; then
5319 cat >conftest.$ac_ext <<_ACEOF
5322 cat confdefs.h >>conftest.$ac_ext
5323 cat >>conftest.$ac_ext <<_ACEOF
5324 /* end confdefs.h. */
5327 #if ((' ' & 0x0FF) == 0x020)
5328 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5329 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5331 # define ISLOWER(c) \
5332 (('a' <= (c) && (c) <= 'i') \
5333 || ('j' <= (c) && (c) <= 'r') \
5334 || ('s' <= (c) && (c) <= 'z'))
5335 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5338 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5343 for (i = 0; i < 256; i++)
5344 if (XOR (islower (i), ISLOWER (i))
5345 || toupper (i) != TOUPPER (i))
5350 rm -f conftest$ac_exeext
5351 if { (ac_try="$ac_link"
5353 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5354 *) ac_try_echo
=$ac_try;;
5356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5357 (eval "$ac_link") 2>&5
5359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5360 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5361 { (case "(($ac_try" in
5362 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5363 *) ac_try_echo=$ac_try;;
5365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5366 (eval "$ac_try") 2>&5
5368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5369 (exit $ac_status); }; }; then
5372 echo "$as_me: program exited with status $ac_status" >&5
5373 echo "$as_me: failed program was:" >&5
5374 sed 's/^/| /' conftest.$ac_ext >&5
5377 ac_cv_header_stdc=no
5379 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5385 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5386 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5387 if test $ac_cv_header_stdc = yes; then
5389 cat >>confdefs.h <<\_ACEOF
5390 #define STDC_HEADERS 1
5395 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5405 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5406 inttypes.h stdint.h unistd.h
5408 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5409 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5410 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5411 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5412 echo $ECHO_N "(cached) $ECHO_C" >&6
5414 cat >conftest.$ac_ext <<_ACEOF
5417 cat confdefs.h >>conftest.$ac_ext
5418 cat >>conftest.$ac_ext <<_ACEOF
5419 /* end confdefs.h. */
5420 $ac_includes_default
5422 #include <$ac_header>
5424 rm -f conftest.$ac_objext
5425 if { (ac_try="$ac_compile"
5427 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5428 *) ac_try_echo
=$ac_try;;
5430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5431 (eval "$ac_compile") 2>conftest.er1
5433 grep -v '^ *+' conftest.er1
>conftest.err
5435 cat conftest.err
>&5
5436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5437 (exit $ac_status); } && {
5438 test -z "$ac_c_werror_flag" ||
5439 test ! -s conftest.err
5440 } && test -s conftest.
$ac_objext; then
5441 eval "$as_ac_Header=yes"
5443 echo "$as_me: failed program was:" >&5
5444 sed 's/^/| /' conftest.
$ac_ext >&5
5446 eval "$as_ac_Header=no"
5449 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5451 ac_res
=`eval echo '${'$as_ac_Header'}'`
5452 { echo "$as_me:$LINENO: result: $ac_res" >&5
5453 echo "${ECHO_T}$ac_res" >&6; }
5454 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5455 cat >>confdefs.h
<<_ACEOF
5456 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5465 for ac_header
in dlfcn.h
5467 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5468 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5469 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5470 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5471 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5472 echo $ECHO_N "(cached) $ECHO_C" >&6
5474 ac_res
=`eval echo '${'$as_ac_Header'}'`
5475 { echo "$as_me:$LINENO: result: $ac_res" >&5
5476 echo "${ECHO_T}$ac_res" >&6; }
5478 # Is the header compilable?
5479 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5480 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5481 cat >conftest.
$ac_ext <<_ACEOF
5484 cat confdefs.h
>>conftest.
$ac_ext
5485 cat >>conftest.
$ac_ext <<_ACEOF
5486 /* end confdefs.h. */
5487 $ac_includes_default
5488 #include <$ac_header>
5490 rm -f conftest.
$ac_objext
5491 if { (ac_try
="$ac_compile"
5493 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5494 *) ac_try_echo=$ac_try;;
5496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5497 (eval "$ac_compile") 2>conftest.er1
5499 grep -v '^ *+' conftest.er1 >conftest.err
5501 cat conftest.err >&5
5502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5503 (exit $ac_status); } && {
5504 test -z "$ac_c_werror_flag" ||
5505 test ! -s conftest.err
5506 } && test -s conftest.$ac_objext; then
5507 ac_header_compiler=yes
5509 echo "$as_me: failed program was:" >&5
5510 sed 's/^/| /' conftest.$ac_ext >&5
5512 ac_header_compiler=no
5515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5516 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5517 echo "${ECHO_T}$ac_header_compiler" >&6; }
5519 # Is the header present?
5520 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5521 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5522 cat >conftest.$ac_ext <<_ACEOF
5525 cat confdefs.h >>conftest.$ac_ext
5526 cat >>conftest.$ac_ext <<_ACEOF
5527 /* end confdefs.h. */
5528 #include <$ac_header>
5530 if { (ac_try="$ac_cpp conftest.$ac_ext"
5532 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5533 *) ac_try_echo
=$ac_try;;
5535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5536 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5538 grep -v '^ *+' conftest.er1
>conftest.err
5540 cat conftest.err
>&5
5541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5542 (exit $ac_status); } >/dev
/null
&& {
5543 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5544 test ! -s conftest.err
5546 ac_header_preproc
=yes
5548 echo "$as_me: failed program was:" >&5
5549 sed 's/^/| /' conftest.
$ac_ext >&5
5551 ac_header_preproc
=no
5554 rm -f conftest.err conftest.
$ac_ext
5555 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5556 echo "${ECHO_T}$ac_header_preproc" >&6; }
5558 # So? What about this header?
5559 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5561 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5562 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5563 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5564 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5565 ac_header_preproc
=yes
5568 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5569 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5570 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5571 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5572 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5573 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5574 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5575 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5576 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5577 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5578 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5579 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5581 ## ---------------------------------- ##
5582 ## Report this to bug-libtool@gnu.org ##
5583 ## ---------------------------------- ##
5585 ) |
sed "s/^/$as_me: WARNING: /" >&2
5588 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5589 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5590 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5591 echo $ECHO_N "(cached) $ECHO_C" >&6
5593 eval "$as_ac_Header=\$ac_header_preproc"
5595 ac_res
=`eval echo '${'$as_ac_Header'}'`
5596 { echo "$as_me:$LINENO: result: $ac_res" >&5
5597 echo "${ECHO_T}$ac_res" >&6; }
5600 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5601 cat >>confdefs.h
<<_ACEOF
5602 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5610 ac_cpp
='$CXXCPP $CPPFLAGS'
5611 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5612 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5613 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5614 if test -z "$CXX"; then
5615 if test -n "$CCC"; then
5618 if test -n "$ac_tool_prefix"; then
5619 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
5621 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5622 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5623 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5624 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5625 if test "${ac_cv_prog_CXX+set}" = set; then
5626 echo $ECHO_N "(cached) $ECHO_C" >&6
5628 if test -n "$CXX"; then
5629 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
5631 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5635 test -z "$as_dir" && as_dir
=.
5636 for ac_exec_ext
in '' $ac_executable_extensions; do
5637 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5638 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
5639 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5649 if test -n "$CXX"; then
5650 { echo "$as_me:$LINENO: result: $CXX" >&5
5651 echo "${ECHO_T}$CXX" >&6; }
5653 { echo "$as_me:$LINENO: result: no" >&5
5654 echo "${ECHO_T}no" >&6; }
5658 test -n "$CXX" && break
5661 if test -z "$CXX"; then
5663 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
5665 # Extract the first word of "$ac_prog", so it can be a program name with args.
5666 set dummy
$ac_prog; ac_word
=$2
5667 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5668 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5669 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5670 echo $ECHO_N "(cached) $ECHO_C" >&6
5672 if test -n "$ac_ct_CXX"; then
5673 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
5675 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5679 test -z "$as_dir" && as_dir
=.
5680 for ac_exec_ext
in '' $ac_executable_extensions; do
5681 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5682 ac_cv_prog_ac_ct_CXX
="$ac_prog"
5683 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5692 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
5693 if test -n "$ac_ct_CXX"; then
5694 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5695 echo "${ECHO_T}$ac_ct_CXX" >&6; }
5697 { echo "$as_me:$LINENO: result: no" >&5
5698 echo "${ECHO_T}no" >&6; }
5702 test -n "$ac_ct_CXX" && break
5705 if test "x$ac_ct_CXX" = x
; then
5708 case $cross_compiling:$ac_tool_warned in
5710 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5711 whose name does not start with the host triplet. If you think this
5712 configuration is useful to you, please write to autoconf@gnu.org." >&5
5713 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5714 whose name does not start with the host triplet. If you think this
5715 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5716 ac_tool_warned
=yes ;;
5724 # Provide some information about the compiler.
5725 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
5726 ac_compiler
=`set X $ac_compile; echo $2`
5727 { (ac_try
="$ac_compiler --version >&5"
5729 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5730 *) ac_try_echo=$ac_try;;
5732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5733 (eval "$ac_compiler --version >&5") 2>&5
5735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5736 (exit $ac_status); }
5737 { (ac_try="$ac_compiler -v >&5"
5739 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5740 *) ac_try_echo
=$ac_try;;
5742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5743 (eval "$ac_compiler -v >&5") 2>&5
5745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5746 (exit $ac_status); }
5747 { (ac_try
="$ac_compiler -V >&5"
5749 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5750 *) ac_try_echo=$ac_try;;
5752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5753 (eval "$ac_compiler -V >&5") 2>&5
5755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5756 (exit $ac_status); }
5758 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5759 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
5760 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5761 echo $ECHO_N "(cached) $ECHO_C" >&6
5763 cat >conftest.$ac_ext <<_ACEOF
5766 cat confdefs.h >>conftest.$ac_ext
5767 cat >>conftest.$ac_ext <<_ACEOF
5768 /* end confdefs.h. */
5781 rm -f conftest.$ac_objext
5782 if { (ac_try="$ac_compile"
5784 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5785 *) ac_try_echo
=$ac_try;;
5787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5788 (eval "$ac_compile") 2>conftest.er1
5790 grep -v '^ *+' conftest.er1
>conftest.err
5792 cat conftest.err
>&5
5793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5794 (exit $ac_status); } && {
5795 test -z "$ac_cxx_werror_flag" ||
5796 test ! -s conftest.err
5797 } && test -s conftest.
$ac_objext; then
5800 echo "$as_me: failed program was:" >&5
5801 sed 's/^/| /' conftest.
$ac_ext >&5
5806 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5807 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5810 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5811 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
5812 GXX
=`test $ac_compiler_gnu = yes && echo yes`
5813 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5814 ac_save_CXXFLAGS
=$CXXFLAGS
5815 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5816 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
5817 if test "${ac_cv_prog_cxx_g+set}" = set; then
5818 echo $ECHO_N "(cached) $ECHO_C" >&6
5820 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5821 ac_cxx_werror_flag
=yes
5824 cat >conftest.
$ac_ext <<_ACEOF
5827 cat confdefs.h
>>conftest.
$ac_ext
5828 cat >>conftest.
$ac_ext <<_ACEOF
5829 /* end confdefs.h. */
5839 rm -f conftest.
$ac_objext
5840 if { (ac_try
="$ac_compile"
5842 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5843 *) ac_try_echo=$ac_try;;
5845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5846 (eval "$ac_compile") 2>conftest.er1
5848 grep -v '^ *+' conftest.er1 >conftest.err
5850 cat conftest.err >&5
5851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5852 (exit $ac_status); } && {
5853 test -z "$ac_cxx_werror_flag" ||
5854 test ! -s conftest.err
5855 } && test -s conftest.$ac_objext; then
5856 ac_cv_prog_cxx_g=yes
5858 echo "$as_me: failed program was:" >&5
5859 sed 's/^/| /' conftest.$ac_ext >&5
5862 cat >conftest.$ac_ext <<_ACEOF
5865 cat confdefs.h >>conftest.$ac_ext
5866 cat >>conftest.$ac_ext <<_ACEOF
5867 /* end confdefs.h. */
5877 rm -f conftest.$ac_objext
5878 if { (ac_try="$ac_compile"
5880 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5881 *) ac_try_echo
=$ac_try;;
5883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5884 (eval "$ac_compile") 2>conftest.er1
5886 grep -v '^ *+' conftest.er1
>conftest.err
5888 cat conftest.err
>&5
5889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5890 (exit $ac_status); } && {
5891 test -z "$ac_cxx_werror_flag" ||
5892 test ! -s conftest.err
5893 } && test -s conftest.
$ac_objext; then
5896 echo "$as_me: failed program was:" >&5
5897 sed 's/^/| /' conftest.
$ac_ext >&5
5899 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5901 cat >conftest.
$ac_ext <<_ACEOF
5904 cat confdefs.h
>>conftest.
$ac_ext
5905 cat >>conftest.
$ac_ext <<_ACEOF
5906 /* end confdefs.h. */
5916 rm -f conftest.
$ac_objext
5917 if { (ac_try
="$ac_compile"
5919 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5920 *) ac_try_echo=$ac_try;;
5922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5923 (eval "$ac_compile") 2>conftest.er1
5925 grep -v '^ *+' conftest.er1 >conftest.err
5927 cat conftest.err >&5
5928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5929 (exit $ac_status); } && {
5930 test -z "$ac_cxx_werror_flag" ||
5931 test ! -s conftest.err
5932 } && test -s conftest.$ac_objext; then
5933 ac_cv_prog_cxx_g=yes
5935 echo "$as_me: failed program was:" >&5
5936 sed 's/^/| /' conftest.$ac_ext >&5
5941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5948 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5950 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5951 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
5952 if test "$ac_test_CXXFLAGS" = set; then
5953 CXXFLAGS=$ac_save_CXXFLAGS
5954 elif test $ac_cv_prog_cxx_g = yes; then
5955 if test "$GXX" = yes; then
5961 if test "$GXX" = yes; then
5968 ac_cpp='$CXXCPP $CPPFLAGS'
5969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5973 depcc="$CXX" am_compiler_list=
5975 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5976 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
5977 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5978 echo $ECHO_N "(cached) $ECHO_C" >&6
5980 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5981 # We make a subdir and do the tests there. Otherwise we can end up
5982 # making bogus files that we don't know about and never remove. For
5983 # instance it was reported that on HP-UX the gcc test will end up
5984 # making a dummy file named `D
' -- because `-MD' means
`put the output
5987 # Copy depcomp to subdir because otherwise we won't find it if we're
5988 # using a relative directory.
5989 cp "$am_depcomp" conftest.dir
5991 # We will build objects and dependencies in a subdirectory because
5992 # it helps to detect inapplicable dependency modes. For instance
5993 # both Tru64's cc and ICC support -MD to output dependencies as a
5994 # side effect of compilation, but ICC will put the dependencies in
5995 # the current directory while Tru64 will put them in the object
5999 am_cv_CXX_dependencies_compiler_type=none
6000 if test "$am_compiler_list" = ""; then
6001 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
6003 for depmode in $am_compiler_list; do
6004 # Setup a source with many dependencies, because some compilers
6005 # like to wrap large dependency lists on column 80 (with \), and
6006 # we should not choose a depcomp mode which is confused by this.
6008 # We need to recreate these files for each test, as the compiler may
6009 # overwrite some of them when testing with obscure command lines.
6010 # This happens at least with the AIX C compiler.
6012 for i in 1 2 3 4 5 6; do
6013 echo '#include "conftst'$i'.h"' >> sub/conftest.c
6014 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
6015 # Solaris 8's
{/usr
,}/bin
/sh.
6016 touch sub
/conftst
$i.h
6018 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6022 # after this tag, mechanisms are not by side-effect, so they'll
6023 # only be used when explicitly requested
6024 if test "x$enable_dependency_tracking" = xyes
; then
6032 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6033 # mode. It turns out that the SunPro C++ compiler does not properly
6034 # handle `-M -o', and we need to detect this.
6035 if depmode
=$depmode \
6036 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
6037 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
6038 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
6039 >/dev
/null
2>conftest.err
&&
6040 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6041 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6042 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
6043 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
6044 # icc doesn't choke on unknown options, it will just issue warnings
6045 # or remarks (even with -Werror). So we grep stderr for any message
6046 # that says an option was ignored or not supported.
6047 # When given -MP, icc 7.0 and 7.1 complain thusly:
6048 # icc: Command line warning: ignoring option '-M'; no argument required
6049 # The diagnosis changed in icc 8.0:
6050 # icc: Command line remark: option '-MP' not supported
6051 if (grep 'ignoring option' conftest.err ||
6052 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
6053 am_cv_CXX_dependencies_compiler_type
=$depmode
6062 am_cv_CXX_dependencies_compiler_type
=none
6066 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
6067 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
6068 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
6071 test "x$enable_dependency_tracking" != xno \
6072 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
6073 am__fastdepCXX_TRUE
=
6074 am__fastdepCXX_FALSE
='#'
6076 am__fastdepCXX_TRUE
='#'
6077 am__fastdepCXX_FALSE
=
6083 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
6084 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
6085 (test "X$CXX" != "Xg++"))) ; then
6087 ac_cpp
='$CXXCPP $CPPFLAGS'
6088 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6089 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6090 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6091 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6092 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
6093 if test -z "$CXXCPP"; then
6094 if test "${ac_cv_prog_CXXCPP+set}" = set; then
6095 echo $ECHO_N "(cached) $ECHO_C" >&6
6097 # Double quotes because CXXCPP needs to be expanded
6098 for CXXCPP
in "$CXX -E" "/lib/cpp"
6101 for ac_cxx_preproc_warn_flag
in '' yes
6103 # Use a header file that comes with gcc, so configuring glibc
6104 # with a fresh cross-compiler works.
6105 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6106 # <limits.h> exists even on freestanding compilers.
6107 # On the NeXT, cc -E runs the code through the compiler's parser,
6108 # not just through cpp. "Syntax error" is here to catch this case.
6109 cat >conftest.
$ac_ext <<_ACEOF
6112 cat confdefs.h
>>conftest.
$ac_ext
6113 cat >>conftest.
$ac_ext <<_ACEOF
6114 /* end confdefs.h. */
6116 # include <limits.h>
6118 # include <assert.h>
6122 if { (ac_try
="$ac_cpp conftest.$ac_ext"
6124 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6125 *) ac_try_echo=$ac_try;;
6127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6128 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6130 grep -v '^ *+' conftest.er1 >conftest.err
6132 cat conftest.err >&5
6133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6134 (exit $ac_status); } >/dev/null && {
6135 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6136 test ! -s conftest.err
6140 echo "$as_me: failed program was:" >&5
6141 sed 's/^/| /' conftest.$ac_ext >&5
6143 # Broken: fails on valid input.
6147 rm -f conftest.err conftest.$ac_ext
6149 # OK, works on sane cases. Now check whether nonexistent headers
6150 # can be detected and how.
6151 cat >conftest.$ac_ext <<_ACEOF
6154 cat confdefs.h >>conftest.$ac_ext
6155 cat >>conftest.$ac_ext <<_ACEOF
6156 /* end confdefs.h. */
6157 #include <ac_nonexistent.h>
6159 if { (ac_try="$ac_cpp conftest.$ac_ext"
6161 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6162 *) ac_try_echo
=$ac_try;;
6164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6165 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6167 grep -v '^ *+' conftest.er1
>conftest.err
6169 cat conftest.err
>&5
6170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6171 (exit $ac_status); } >/dev
/null
&& {
6172 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6173 test ! -s conftest.err
6175 # Broken: success on invalid input.
6178 echo "$as_me: failed program was:" >&5
6179 sed 's/^/| /' conftest.
$ac_ext >&5
6181 # Passes both tests.
6186 rm -f conftest.err conftest.
$ac_ext
6189 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6190 rm -f conftest.err conftest.
$ac_ext
6191 if $ac_preproc_ok; then
6196 ac_cv_prog_CXXCPP
=$CXXCPP
6199 CXXCPP
=$ac_cv_prog_CXXCPP
6201 ac_cv_prog_CXXCPP
=$CXXCPP
6203 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
6204 echo "${ECHO_T}$CXXCPP" >&6; }
6206 for ac_cxx_preproc_warn_flag
in '' yes
6208 # Use a header file that comes with gcc, so configuring glibc
6209 # with a fresh cross-compiler works.
6210 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6211 # <limits.h> exists even on freestanding compilers.
6212 # On the NeXT, cc -E runs the code through the compiler's parser,
6213 # not just through cpp. "Syntax error" is here to catch this case.
6214 cat >conftest.
$ac_ext <<_ACEOF
6217 cat confdefs.h
>>conftest.
$ac_ext
6218 cat >>conftest.
$ac_ext <<_ACEOF
6219 /* end confdefs.h. */
6221 # include <limits.h>
6223 # include <assert.h>
6227 if { (ac_try
="$ac_cpp conftest.$ac_ext"
6229 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6230 *) ac_try_echo=$ac_try;;
6232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6233 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6235 grep -v '^ *+' conftest.er1 >conftest.err
6237 cat conftest.err >&5
6238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6239 (exit $ac_status); } >/dev/null && {
6240 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6241 test ! -s conftest.err
6245 echo "$as_me: failed program was:" >&5
6246 sed 's/^/| /' conftest.$ac_ext >&5
6248 # Broken: fails on valid input.
6252 rm -f conftest.err conftest.$ac_ext
6254 # OK, works on sane cases. Now check whether nonexistent headers
6255 # can be detected and how.
6256 cat >conftest.$ac_ext <<_ACEOF
6259 cat confdefs.h >>conftest.$ac_ext
6260 cat >>conftest.$ac_ext <<_ACEOF
6261 /* end confdefs.h. */
6262 #include <ac_nonexistent.h>
6264 if { (ac_try="$ac_cpp conftest.$ac_ext"
6266 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6267 *) ac_try_echo
=$ac_try;;
6269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6270 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6272 grep -v '^ *+' conftest.er1
>conftest.err
6274 cat conftest.err
>&5
6275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6276 (exit $ac_status); } >/dev
/null
&& {
6277 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6278 test ! -s conftest.err
6280 # Broken: success on invalid input.
6283 echo "$as_me: failed program was:" >&5
6284 sed 's/^/| /' conftest.
$ac_ext >&5
6286 # Passes both tests.
6291 rm -f conftest.err conftest.
$ac_ext
6294 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6295 rm -f conftest.err conftest.
$ac_ext
6296 if $ac_preproc_ok; then
6299 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6300 See \`config.log' for more details." >&5
6301 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6302 See \`config.log' for more details." >&2;}
6303 { (exit 1); exit 1; }; }
6307 ac_cpp
='$CXXCPP $CPPFLAGS'
6308 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6309 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6310 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6316 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
6317 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6318 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
6319 if test -n "$ac_tool_prefix"; then
6320 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
6322 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6323 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6324 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6326 if test "${ac_cv_prog_F77+set}" = set; then
6327 echo $ECHO_N "(cached) $ECHO_C" >&6
6329 if test -n "$F77"; then
6330 ac_cv_prog_F77
="$F77" # Let the user override the test.
6332 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6336 test -z "$as_dir" && as_dir
=.
6337 for ac_exec_ext
in '' $ac_executable_extensions; do
6338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6339 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
6340 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6350 if test -n "$F77"; then
6351 { echo "$as_me:$LINENO: result: $F77" >&5
6352 echo "${ECHO_T}$F77" >&6; }
6354 { echo "$as_me:$LINENO: result: no" >&5
6355 echo "${ECHO_T}no" >&6; }
6359 test -n "$F77" && break
6362 if test -z "$F77"; then
6364 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
6366 # Extract the first word of "$ac_prog", so it can be a program name with args.
6367 set dummy
$ac_prog; ac_word
=$2
6368 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6369 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6370 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
6371 echo $ECHO_N "(cached) $ECHO_C" >&6
6373 if test -n "$ac_ct_F77"; then
6374 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
6376 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6380 test -z "$as_dir" && as_dir
=.
6381 for ac_exec_ext
in '' $ac_executable_extensions; do
6382 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6383 ac_cv_prog_ac_ct_F77
="$ac_prog"
6384 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6393 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
6394 if test -n "$ac_ct_F77"; then
6395 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
6396 echo "${ECHO_T}$ac_ct_F77" >&6; }
6398 { echo "$as_me:$LINENO: result: no" >&5
6399 echo "${ECHO_T}no" >&6; }
6403 test -n "$ac_ct_F77" && break
6406 if test "x$ac_ct_F77" = x
; then
6409 case $cross_compiling:$ac_tool_warned in
6411 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6412 whose name does not start with the host triplet. If you think this
6413 configuration is useful to you, please write to autoconf@gnu.org." >&5
6414 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6415 whose name does not start with the host triplet. If you think this
6416 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6417 ac_tool_warned
=yes ;;
6424 # Provide some information about the compiler.
6425 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
6426 ac_compiler
=`set X $ac_compile; echo $2`
6427 { (ac_try
="$ac_compiler --version >&5"
6429 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6430 *) ac_try_echo=$ac_try;;
6432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6433 (eval "$ac_compiler --version >&5") 2>&5
6435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6436 (exit $ac_status); }
6437 { (ac_try="$ac_compiler -v >&5"
6439 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6440 *) ac_try_echo
=$ac_try;;
6442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6443 (eval "$ac_compiler -v >&5") 2>&5
6445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6446 (exit $ac_status); }
6447 { (ac_try
="$ac_compiler -V >&5"
6449 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6450 *) ac_try_echo=$ac_try;;
6452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6453 (eval "$ac_compiler -V >&5") 2>&5
6455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6456 (exit $ac_status); }
6459 # If we don't use `.F
' as extension, the preprocessor is not run on the
6460 # input file. (Note that this only needs to work for GNU compilers.)
6463 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6464 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
6465 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6466 echo $ECHO_N "(cached) $ECHO_C" >&6
6468 cat >conftest.$ac_ext <<_ACEOF
6476 rm -f conftest.$ac_objext
6477 if { (ac_try="$ac_compile"
6479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6480 *) ac_try_echo=$ac_try;;
6482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6483 (eval "$ac_compile") 2>conftest.er1
6485 grep -v '^
*+' conftest.er1 >conftest.err
6487 cat conftest.err >&5
6488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6489 (exit $ac_status); } && {
6490 test -z "$ac_f77_werror_flag" ||
6491 test ! -s conftest.err
6492 } && test -s conftest.$ac_objext; then
6495 echo "$as_me: failed program was:" >&5
6496 sed 's
/^
/|
/' conftest.$ac_ext >&5
6501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6502 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6505 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6506 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
6508 ac_test_FFLAGS=${FFLAGS+set}
6509 ac_save_FFLAGS=$FFLAGS
6511 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6512 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
6513 if test "${ac_cv_prog_f77_g+set}" = set; then
6514 echo $ECHO_N "(cached) $ECHO_C" >&6
6517 cat >conftest.$ac_ext <<_ACEOF
6522 rm -f conftest.$ac_objext
6523 if { (ac_try="$ac_compile"
6525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6526 *) ac_try_echo=$ac_try;;
6528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6529 (eval "$ac_compile") 2>conftest.er1
6531 grep -v '^
*+' conftest.er1 >conftest.err
6533 cat conftest.err >&5
6534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6535 (exit $ac_status); } && {
6536 test -z "$ac_f77_werror_flag" ||
6537 test ! -s conftest.err
6538 } && test -s conftest.$ac_objext; then
6539 ac_cv_prog_f77_g=yes
6541 echo "$as_me: failed program was:" >&5
6542 sed 's
/^
/|
/' conftest.$ac_ext >&5
6547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6550 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6551 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
6552 if test "$ac_test_FFLAGS" = set; then
6553 FFLAGS=$ac_save_FFLAGS
6554 elif test $ac_cv_prog_f77_g = yes; then
6555 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6561 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6568 G77=`test $ac_compiler_gnu = yes && echo yes`
6570 ac_cpp='$CPP $CPPFLAGS'
6571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
6572 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6577 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works
for C compilers
!
6579 # find the maximum length of command line arguments
6580 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6581 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
6582 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6583 echo $ECHO_N "(cached) $ECHO_C" >&6
6590 # On DJGPP, this test can blow up pretty badly due to problems in libc
6591 # (any single argument exceeding 2000 bytes causes a buffer overrun
6592 # during glob expansion). Even if it were fixed, the result of this
6593 # check would be larger than it should be.
6594 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6598 # Under GNU Hurd, this test is not required because there is
6599 # no limit to the length of command line arguments.
6600 # Libtool will interpret -1 as no limit whatsoever
6601 lt_cv_sys_max_cmd_len
=-1;
6605 # On Win9x/ME, this test blows up -- it succeeds, but takes
6606 # about 5 minutes as the teststring grows exponentially.
6607 # Worse, since 9x/ME are not pre-emptively multitasking,
6608 # you end up with a "frozen" computer, even though with patience
6609 # the test eventually succeeds (with a max line length of 256k).
6610 # Instead, let's just punt: use the minimum linelength reported by
6611 # all of the supported platforms: 8192 (on NT/2K/XP).
6612 lt_cv_sys_max_cmd_len
=8192;
6616 # On AmigaOS with pdksh, this test takes hours, literally.
6617 # So we just punt and use a minimum line length of 8192.
6618 lt_cv_sys_max_cmd_len
=8192;
6621 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6622 # This has been around since 386BSD, at least. Likely further.
6623 if test -x /sbin
/sysctl
; then
6624 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6625 elif test -x /usr
/sbin
/sysctl
; then
6626 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6628 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6630 # And add a safety zone
6631 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6632 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6636 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6637 lt_cv_sys_max_cmd_len
=196608
6641 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6642 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6643 # nice to cause kernel panics so lets avoid the loop below.
6644 # First set a reasonable default.
6645 lt_cv_sys_max_cmd_len
=16384
6647 if test -x /sbin
/sysconfig
; then
6648 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6649 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6654 lt_cv_sys_max_cmd_len
=102400
6656 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6657 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6658 if test -n "$kargmax"; then
6659 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6661 lt_cv_sys_max_cmd_len
=32768
6665 # If test is not a shell built-in, we'll probably end up computing a
6666 # maximum length that is only half of the actual maximum length, but
6668 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6669 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6670 = "XX$teststring") >/dev
/null
2>&1 &&
6671 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
6672 lt_cv_sys_max_cmd_len
=$new_result &&
6673 test $i != 17 # 1/2 MB should be enough
6676 teststring
=$teststring$teststring
6679 # Add a significant safety factor because C++ compilers can tack on massive
6680 # amounts of additional arguments before passing them to the linker.
6681 # It appears as though 1/2 is a usable value.
6682 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6688 if test -n $lt_cv_sys_max_cmd_len ; then
6689 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6690 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
6692 { echo "$as_me:$LINENO: result: none" >&5
6693 echo "${ECHO_T}none" >&6; }
6699 # Check for command to grab the raw symbol name followed by C symbol from nm.
6700 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6701 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
6702 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6703 echo $ECHO_N "(cached) $ECHO_C" >&6
6706 # These are sane defaults that work on at least a few old systems.
6707 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6709 # Character class describing NM global symbol codes.
6710 symcode
='[BCDEGRST]'
6712 # Regexp to match symbols that can be accessed directly from C.
6713 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6715 # Transform an extracted symbol line into a proper C declaration
6716 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6718 # Transform an extracted symbol line into symbol name and symbol address
6719 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'"
6721 # Define system-specific variables.
6726 cygwin
* | mingw
* | pw32
*)
6727 symcode
='[ABCDGISTW]'
6729 hpux
*) # Its linker distinguishes data from code symbols
6730 if test "$host_cpu" = ia64
; then
6731 symcode
='[ABCDEGRST]'
6733 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6734 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'"
6737 if test "$host_cpu" = ia64
; then
6738 symcode
='[ABCDGIRSTW]'
6739 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6740 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'"
6744 symcode
='[BCDEGRST]'
6747 symcode
='[BCDEGQRST]'
6758 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6766 # Handle CRLF in mingw tool chain
6770 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6774 # If we're using GNU nm, then use its standard symbol codes.
6775 case `$NM -V 2>&1` in
6776 *GNU
* |
*'with BFD'*)
6777 symcode
='[ABCDGIRSTW]' ;;
6780 # Try without a prefix undercore, then with it.
6781 for ac_symprfx
in "" "_"; do
6783 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6784 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6786 # Write the raw and C identifiers.
6787 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6789 # Check to see that the pipe works correctly.
6793 cat > conftest.
$ac_ext <<EOF
6798 void nm_test_func(){}
6802 int main(){nm_test_var='a';nm_test_func();return(0);}
6805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6806 (eval $ac_compile) 2>&5
6808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6809 (exit $ac_status); }; then
6810 # Now try to grab the symbols.
6812 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6813 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
6815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6816 (exit $ac_status); } && test -s "$nlist"; then
6817 # Try sorting and uniquifying the output.
6818 if sort "$nlist" |
uniq > "$nlist"T
; then
6819 mv -f "$nlist"T
"$nlist"
6824 # Make sure that we snagged all the symbols we need.
6825 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
6826 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
6827 cat <<EOF > conftest.$ac_ext
6833 # Now generate the symbol file.
6834 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6836 cat <<EOF >> conftest.$ac_ext
6837 #if defined (__STDC__) && __STDC__
6838 # define lt_ptr_t void *
6840 # define lt_ptr_t char *
6844 /* The mapping between symbol names and symbols. */
6849 lt_preloaded_symbols[] =
6852 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
6853 cat <<\EOF
>> conftest.
$ac_ext
6861 # Now try linking the two files.
6862 mv conftest.
$ac_objext conftstm.
$ac_objext
6863 lt_save_LIBS
="$LIBS"
6864 lt_save_CFLAGS
="$CFLAGS"
6865 LIBS
="conftstm.$ac_objext"
6866 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6868 (eval $ac_link) 2>&5
6870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6871 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
6874 LIBS
="$lt_save_LIBS"
6875 CFLAGS
="$lt_save_CFLAGS"
6877 echo "cannot find nm_test_func in $nlist" >&5
6880 echo "cannot find nm_test_var in $nlist" >&5
6883 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6886 echo "$progname: failed program was:" >&5
6887 cat conftest.
$ac_ext >&5
6889 rm -f conftest
* conftst
*
6891 # Do not use the global_symbol_pipe unless it works.
6892 if test "$pipe_works" = yes; then
6895 lt_cv_sys_global_symbol_pipe
=
6901 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6902 lt_cv_sys_global_symbol_to_cdecl
=
6904 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6905 { echo "$as_me:$LINENO: result: failed" >&5
6906 echo "${ECHO_T}failed" >&6; }
6908 { echo "$as_me:$LINENO: result: ok" >&5
6909 echo "${ECHO_T}ok" >&6; }
6912 { echo "$as_me:$LINENO: checking for objdir" >&5
6913 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
6914 if test "${lt_cv_objdir+set}" = set; then
6915 echo $ECHO_N "(cached) $ECHO_C" >&6
6917 rm -f .libs
2>/dev
/null
6918 mkdir .libs
2>/dev
/null
6919 if test -d .libs
; then
6922 # MS-DOS does not allow filenames that begin with a dot.
6925 rmdir .libs
2>/dev
/null
6927 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6928 echo "${ECHO_T}$lt_cv_objdir" >&6; }
6929 objdir
=$lt_cv_objdir
6937 # AIX sometimes has problems with the GCC collect2 program. For some
6938 # reason, if we set the COLLECT_NAMES environment variable, the problems
6939 # vanish in a puff of smoke.
6940 if test "X${COLLECT_NAMES+set}" != Xset
; then
6942 export COLLECT_NAMES
6947 # Sed substitution that helps us do robust quoting. It backslashifies
6948 # metacharacters that are still active within double-quoted strings.
6949 Xsed
='sed -e 1s/^X//'
6950 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
6952 # Same as above, but do not quote variable references.
6953 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
6955 # Sed substitution to delay expansion of an escaped shell variable in a
6956 # double_quote_subst'ed string.
6957 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6959 # Sed substitution to avoid accidental globbing in evaled expressions
6960 no_glob_subst
='s/\*/\\\*/g'
6966 default_ofile
=libtool
6967 can_build_shared
=yes
6969 # All known linkers require a `.a' archive for static linking (except MSVC,
6970 # which needs '.lib').
6972 ltmain
="$ac_aux_dir/ltmain.sh"
6973 ofile
="$default_ofile"
6974 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6976 if test -n "$ac_tool_prefix"; then
6977 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6978 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6979 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6980 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6981 if test "${ac_cv_prog_AR+set}" = set; then
6982 echo $ECHO_N "(cached) $ECHO_C" >&6
6984 if test -n "$AR"; then
6985 ac_cv_prog_AR
="$AR" # Let the user override the test.
6987 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6991 test -z "$as_dir" && as_dir
=.
6992 for ac_exec_ext
in '' $ac_executable_extensions; do
6993 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6994 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6995 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7005 if test -n "$AR"; then
7006 { echo "$as_me:$LINENO: result: $AR" >&5
7007 echo "${ECHO_T}$AR" >&6; }
7009 { echo "$as_me:$LINENO: result: no" >&5
7010 echo "${ECHO_T}no" >&6; }
7015 if test -z "$ac_cv_prog_AR"; then
7017 # Extract the first word of "ar", so it can be a program name with args.
7018 set dummy
ar; ac_word
=$2
7019 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7020 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7021 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
7022 echo $ECHO_N "(cached) $ECHO_C" >&6
7024 if test -n "$ac_ct_AR"; then
7025 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
7027 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7031 test -z "$as_dir" && as_dir
=.
7032 for ac_exec_ext
in '' $ac_executable_extensions; do
7033 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7034 ac_cv_prog_ac_ct_AR
="ar"
7035 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7044 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
7045 if test -n "$ac_ct_AR"; then
7046 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
7047 echo "${ECHO_T}$ac_ct_AR" >&6; }
7049 { echo "$as_me:$LINENO: result: no" >&5
7050 echo "${ECHO_T}no" >&6; }
7053 if test "x$ac_ct_AR" = x
; then
7056 case $cross_compiling:$ac_tool_warned in
7058 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7059 whose name does not start with the host triplet. If you think this
7060 configuration is useful to you, please write to autoconf@gnu.org." >&5
7061 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7062 whose name does not start with the host triplet. If you think this
7063 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7064 ac_tool_warned
=yes ;;
7072 if test -n "$ac_tool_prefix"; then
7073 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7074 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
7075 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7076 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7077 if test "${ac_cv_prog_RANLIB+set}" = set; then
7078 echo $ECHO_N "(cached) $ECHO_C" >&6
7080 if test -n "$RANLIB"; then
7081 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
7083 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7087 test -z "$as_dir" && as_dir
=.
7088 for ac_exec_ext
in '' $ac_executable_extensions; do
7089 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7090 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
7091 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7100 RANLIB
=$ac_cv_prog_RANLIB
7101 if test -n "$RANLIB"; then
7102 { echo "$as_me:$LINENO: result: $RANLIB" >&5
7103 echo "${ECHO_T}$RANLIB" >&6; }
7105 { echo "$as_me:$LINENO: result: no" >&5
7106 echo "${ECHO_T}no" >&6; }
7111 if test -z "$ac_cv_prog_RANLIB"; then
7112 ac_ct_RANLIB
=$RANLIB
7113 # Extract the first word of "ranlib", so it can be a program name with args.
7114 set dummy ranlib
; ac_word
=$2
7115 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7116 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7117 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
7118 echo $ECHO_N "(cached) $ECHO_C" >&6
7120 if test -n "$ac_ct_RANLIB"; then
7121 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
7123 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7127 test -z "$as_dir" && as_dir
=.
7128 for ac_exec_ext
in '' $ac_executable_extensions; do
7129 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7130 ac_cv_prog_ac_ct_RANLIB
="ranlib"
7131 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7140 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
7141 if test -n "$ac_ct_RANLIB"; then
7142 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
7143 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
7145 { echo "$as_me:$LINENO: result: no" >&5
7146 echo "${ECHO_T}no" >&6; }
7149 if test "x$ac_ct_RANLIB" = x
; then
7152 case $cross_compiling:$ac_tool_warned in
7154 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7155 whose name does not start with the host triplet. If you think this
7156 configuration is useful to you, please write to autoconf@gnu.org." >&5
7157 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7158 whose name does not start with the host triplet. If you think this
7159 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7160 ac_tool_warned
=yes ;;
7162 RANLIB
=$ac_ct_RANLIB
7165 RANLIB
="$ac_cv_prog_RANLIB"
7168 if test -n "$ac_tool_prefix"; then
7169 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7170 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
7171 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7172 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7173 if test "${ac_cv_prog_STRIP+set}" = set; then
7174 echo $ECHO_N "(cached) $ECHO_C" >&6
7176 if test -n "$STRIP"; then
7177 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
7179 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7183 test -z "$as_dir" && as_dir
=.
7184 for ac_exec_ext
in '' $ac_executable_extensions; do
7185 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7186 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
7187 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7196 STRIP
=$ac_cv_prog_STRIP
7197 if test -n "$STRIP"; then
7198 { echo "$as_me:$LINENO: result: $STRIP" >&5
7199 echo "${ECHO_T}$STRIP" >&6; }
7201 { echo "$as_me:$LINENO: result: no" >&5
7202 echo "${ECHO_T}no" >&6; }
7207 if test -z "$ac_cv_prog_STRIP"; then
7209 # Extract the first word of "strip", so it can be a program name with args.
7210 set dummy strip
; ac_word
=$2
7211 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7212 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7213 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
7214 echo $ECHO_N "(cached) $ECHO_C" >&6
7216 if test -n "$ac_ct_STRIP"; then
7217 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
7219 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7223 test -z "$as_dir" && as_dir
=.
7224 for ac_exec_ext
in '' $ac_executable_extensions; do
7225 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7226 ac_cv_prog_ac_ct_STRIP
="strip"
7227 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7236 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
7237 if test -n "$ac_ct_STRIP"; then
7238 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
7239 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
7241 { echo "$as_me:$LINENO: result: no" >&5
7242 echo "${ECHO_T}no" >&6; }
7245 if test "x$ac_ct_STRIP" = x
; then
7248 case $cross_compiling:$ac_tool_warned in
7250 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7251 whose name does not start with the host triplet. If you think this
7252 configuration is useful to you, please write to autoconf@gnu.org." >&5
7253 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7254 whose name does not start with the host triplet. If you think this
7255 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7256 ac_tool_warned
=yes ;;
7261 STRIP
="$ac_cv_prog_STRIP"
7266 old_CFLAGS
="$CFLAGS"
7268 # Set sane defaults for various variables
7269 test -z "$AR" && AR
=ar
7270 test -z "$AR_FLAGS" && AR_FLAGS
=cru
7271 test -z "$AS" && AS
=as
7272 test -z "$CC" && CC
=cc
7273 test -z "$LTCC" && LTCC
=$CC
7274 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7275 test -z "$DLLTOOL" && DLLTOOL
=dlltool
7276 test -z "$LD" && LD
=ld
7277 test -z "$LN_S" && LN_S
="ln -s"
7278 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7279 test -z "$NM" && NM
=nm
7280 test -z "$SED" && SED
=sed
7281 test -z "$OBJDUMP" && OBJDUMP
=objdump
7282 test -z "$RANLIB" && RANLIB
=:
7283 test -z "$STRIP" && STRIP
=:
7284 test -z "$ac_objext" && ac_objext
=o
7286 # Determine commands to create old-style static archives.
7287 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
7288 old_postinstall_cmds
='chmod 644 $oldlib'
7289 old_postuninstall_cmds
=
7291 if test -n "$RANLIB"; then
7294 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7297 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
7300 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
7303 for cc_temp
in $compiler""; do
7305 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7306 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7311 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7314 # Only perform the check for file, if the check method requires it
7315 case $deplibs_check_method in
7317 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7318 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7319 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
7320 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7321 echo $ECHO_N "(cached) $ECHO_C" >&6
7325 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7328 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7329 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7330 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7331 for ac_dir
in $ac_dummy; do
7333 test -z "$ac_dir" && ac_dir
=.
7334 if test -f $ac_dir/${ac_tool_prefix}file; then
7335 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7336 if test -n "$file_magic_test_file"; then
7337 case $deplibs_check_method in
7339 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7340 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7341 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7342 $EGREP "$file_magic_regex" > /dev
/null
; then
7347 *** Warning: the command libtool uses to detect shared libraries,
7348 *** $file_magic_cmd, produces output that libtool cannot recognize.
7349 *** The result is that libtool may fail to recognize shared libraries
7350 *** as such. This will affect the creation of libtool libraries that
7351 *** depend on shared libraries, but programs linked with such libtool
7352 *** libraries will work regardless of this problem. Nevertheless, you
7353 *** may want to report the problem to your system manager and/or to
7354 *** bug-libtool@gnu.org
7364 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7369 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7370 if test -n "$MAGIC_CMD"; then
7371 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7372 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7374 { echo "$as_me:$LINENO: result: no" >&5
7375 echo "${ECHO_T}no" >&6; }
7378 if test -z "$lt_cv_path_MAGIC_CMD"; then
7379 if test -n "$ac_tool_prefix"; then
7380 { echo "$as_me:$LINENO: checking for file" >&5
7381 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
7382 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7383 echo $ECHO_N "(cached) $ECHO_C" >&6
7387 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7390 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7391 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7392 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7393 for ac_dir
in $ac_dummy; do
7395 test -z "$ac_dir" && ac_dir
=.
7396 if test -f $ac_dir/file; then
7397 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7398 if test -n "$file_magic_test_file"; then
7399 case $deplibs_check_method in
7401 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7402 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7403 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7404 $EGREP "$file_magic_regex" > /dev
/null
; then
7409 *** Warning: the command libtool uses to detect shared libraries,
7410 *** $file_magic_cmd, produces output that libtool cannot recognize.
7411 *** The result is that libtool may fail to recognize shared libraries
7412 *** as such. This will affect the creation of libtool libraries that
7413 *** depend on shared libraries, but programs linked with such libtool
7414 *** libraries will work regardless of this problem. Nevertheless, you
7415 *** may want to report the problem to your system manager and/or to
7416 *** bug-libtool@gnu.org
7426 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7431 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7432 if test -n "$MAGIC_CMD"; then
7433 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7434 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7436 { echo "$as_me:$LINENO: result: no" >&5
7437 echo "${ECHO_T}no" >&6; }
7450 enable_win32_dll
=yes
7452 # Check whether --enable-libtool-lock was given.
7453 if test "${enable_libtool_lock+set}" = set; then
7454 enableval
=$enable_libtool_lock;
7457 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
7460 # Check whether --with-pic was given.
7461 if test "${with_pic+set}" = set; then
7462 withval
=$with_pic; pic_mode
="$withval"
7467 test -z "$pic_mode" && pic_mode
=default
7469 # Use C for the default configuration in the libtool script
7473 ac_cpp
='$CPP $CPPFLAGS'
7474 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7475 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7476 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7479 # Source file extension for C test sources.
7482 # Object file extension for compiled C test sources.
7486 # Code to be used in simple compile tests
7487 lt_simple_compile_test_code
="int some_variable = 0;\n"
7489 # Code to be used in simple link tests
7490 lt_simple_link_test_code
='int main(){return(0);}\n'
7493 # If no C compiler was specified, use CC.
7496 # If no C compiler flags were specified, use CFLAGS.
7497 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7499 # Allow CC to be a program name with arguments.
7503 # save warnings/boilerplate of simple test code
7504 ac_outfile
=conftest.
$ac_objext
7505 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
7506 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7507 _lt_compiler_boilerplate
=`cat conftest.err`
7510 ac_outfile
=conftest.
$ac_objext
7511 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
7512 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7513 _lt_linker_boilerplate
=`cat conftest.err`
7518 ## There is no encapsulation within the following macros, do not change
7519 ## the running order or otherwise move them around unless you know exactly
7520 ## what you are doing...
7522 lt_prog_compiler_no_builtin_flag
=
7524 if test "$GCC" = yes; then
7525 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
7528 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7529 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
7530 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7531 echo $ECHO_N "(cached) $ECHO_C" >&6
7533 lt_cv_prog_compiler_rtti_exceptions
=no
7534 ac_outfile
=conftest.
$ac_objext
7535 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7536 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7537 # Insert the option either (1) after the last *FLAGS variable, or
7538 # (2) before a word containing "conftest.", or (3) at the end.
7539 # Note that $ac_compile itself does not contain backslashes and begins
7540 # with a dollar sign (not a hyphen), so the echo should work correctly.
7541 # The option is referenced via a variable to avoid confusing sed.
7542 lt_compile
=`echo "$ac_compile" | $SED \
7543 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7544 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7545 -e 's:$: $lt_compiler_flag:'`
7546 (eval echo "\"\$as_me:7546: $lt_compile\"" >&5)
7547 (eval "$lt_compile" 2>conftest.err
)
7549 cat conftest.err
>&5
7550 echo "$as_me:7550: \$? = $ac_status" >&5
7551 if (exit $ac_status) && test -s "$ac_outfile"; then
7552 # The compiler can only warn and ignore the option if not recognized
7553 # So say no if there are warnings other than the usual output.
7554 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7555 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7556 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7557 lt_cv_prog_compiler_rtti_exceptions
=yes
7563 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7564 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7566 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7567 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7574 lt_prog_compiler_wl
=
7575 lt_prog_compiler_pic
=
7576 lt_prog_compiler_static
=
7578 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7579 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
7581 if test "$GCC" = yes; then
7582 lt_prog_compiler_wl
='-Wl,'
7583 lt_prog_compiler_static
='-static'
7587 # All AIX code is PIC.
7588 if test "$host_cpu" = ia64
; then
7589 # AIX 5 now supports IA64 processor
7590 lt_prog_compiler_static
='-Bstatic'
7595 # FIXME: we need at least 68020 code to build shared libraries, but
7596 # adding the `-m68020' flag to GCC prevents building anything better,
7598 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7601 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7602 # PIC is the default for these OSes.
7605 mingw
* | pw32
* | os2
*)
7606 # This hack is so that the source file can tell whether it is being
7607 # built for inclusion in a dll (and should export symbols for example).
7608 lt_prog_compiler_pic
='-DDLL_EXPORT'
7611 darwin
* | rhapsody
*)
7612 # PIC is the default on this platform
7613 # Common symbols not allowed in MH_DYLIB files
7614 lt_prog_compiler_pic
='-fno-common'
7618 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7619 # Instead, we relocate shared libraries at runtime.
7623 # Just because we use GCC doesn't mean we suddenly get shared libraries
7624 # on systems that don't support them.
7625 lt_prog_compiler_can_build_shared
=no
7630 if test -d /usr
/nec
; then
7631 lt_prog_compiler_pic
=-Kconform_pic
7636 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7643 lt_prog_compiler_pic
='-fPIC'
7649 lt_prog_compiler_pic
='-fPIC'
7653 # PORTME Check for flag to pass linker flags through the system compiler.
7656 lt_prog_compiler_wl
='-Wl,'
7657 if test "$host_cpu" = ia64
; then
7658 # AIX 5 now supports IA64 processor
7659 lt_prog_compiler_static
='-Bstatic'
7661 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7665 # PIC is the default on this platform
7666 # Common symbols not allowed in MH_DYLIB files
7667 case $cc_basename in
7669 lt_prog_compiler_pic
='-qnocommon'
7670 lt_prog_compiler_wl
='-Wl,'
7675 mingw
* | pw32
* | os2
*)
7676 # This hack is so that the source file can tell whether it is being
7677 # built for inclusion in a dll (and should export symbols for example).
7678 lt_prog_compiler_pic
='-DDLL_EXPORT'
7681 hpux9
* | hpux10
* | hpux11
*)
7682 lt_prog_compiler_wl
='-Wl,'
7683 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7690 lt_prog_compiler_pic
='+Z'
7693 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7694 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7697 irix5
* | irix6
* | nonstopux
*)
7698 lt_prog_compiler_wl
='-Wl,'
7699 # PIC (with -KPIC) is the default.
7700 lt_prog_compiler_static
='-non_shared'
7704 lt_prog_compiler_pic
='-KPIC'
7705 lt_prog_compiler_static
='-Bstatic'
7709 case $cc_basename in
7711 lt_prog_compiler_wl
='-Wl,'
7712 lt_prog_compiler_pic
='-KPIC'
7713 lt_prog_compiler_static
='-static'
7715 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7716 # Portland Group compilers (*not* the Pentium gcc compiler,
7717 # which looks to be a dead project)
7718 lt_prog_compiler_wl
='-Wl,'
7719 lt_prog_compiler_pic
='-fpic'
7720 lt_prog_compiler_static
='-Bstatic'
7723 lt_prog_compiler_wl
='-Wl,'
7724 # All Alpha code is PIC.
7725 lt_prog_compiler_static
='-non_shared'
7730 osf3
* | osf4
* | osf5
*)
7731 lt_prog_compiler_wl
='-Wl,'
7732 # All OSF/1 code is PIC.
7733 lt_prog_compiler_static
='-non_shared'
7737 lt_prog_compiler_pic
='-KPIC'
7738 lt_prog_compiler_static
='-Bstatic'
7739 case $cc_basename in
7741 lt_prog_compiler_wl
='-Qoption ld ';;
7743 lt_prog_compiler_wl
='-Wl,';;
7748 lt_prog_compiler_wl
='-Qoption ld '
7749 lt_prog_compiler_pic
='-PIC'
7750 lt_prog_compiler_static
='-Bstatic'
7753 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7754 lt_prog_compiler_wl
='-Wl,'
7755 lt_prog_compiler_pic
='-KPIC'
7756 lt_prog_compiler_static
='-Bstatic'
7760 if test -d /usr
/nec
;then
7761 lt_prog_compiler_pic
='-Kconform_pic'
7762 lt_prog_compiler_static
='-Bstatic'
7766 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7767 lt_prog_compiler_wl
='-Wl,'
7768 lt_prog_compiler_pic
='-KPIC'
7769 lt_prog_compiler_static
='-Bstatic'
7773 lt_prog_compiler_wl
='-Wl,'
7774 lt_prog_compiler_can_build_shared
=no
7778 lt_prog_compiler_pic
='-pic'
7779 lt_prog_compiler_static
='-Bstatic'
7783 lt_prog_compiler_can_build_shared
=no
7788 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7789 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
7792 # Check to make sure the PIC flag actually works.
7794 if test -n "$lt_prog_compiler_pic"; then
7796 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7797 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7798 if test "${lt_prog_compiler_pic_works+set}" = set; then
7799 echo $ECHO_N "(cached) $ECHO_C" >&6
7801 lt_prog_compiler_pic_works
=no
7802 ac_outfile
=conftest.
$ac_objext
7803 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7804 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7805 # Insert the option either (1) after the last *FLAGS variable, or
7806 # (2) before a word containing "conftest.", or (3) at the end.
7807 # Note that $ac_compile itself does not contain backslashes and begins
7808 # with a dollar sign (not a hyphen), so the echo should work correctly.
7809 # The option is referenced via a variable to avoid confusing sed.
7810 lt_compile
=`echo "$ac_compile" | $SED \
7811 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7812 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7813 -e 's:$: $lt_compiler_flag:'`
7814 (eval echo "\"\$as_me:7814: $lt_compile\"" >&5)
7815 (eval "$lt_compile" 2>conftest.err
)
7817 cat conftest.err
>&5
7818 echo "$as_me:7818: \$? = $ac_status" >&5
7819 if (exit $ac_status) && test -s "$ac_outfile"; then
7820 # The compiler can only warn and ignore the option if not recognized
7821 # So say no if there are warnings other than the usual output.
7822 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7823 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7824 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7825 lt_prog_compiler_pic_works
=yes
7831 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7832 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
7834 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
7835 case $lt_prog_compiler_pic in
7837 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7840 lt_prog_compiler_pic
=
7841 lt_prog_compiler_can_build_shared
=no
7846 # For platforms which do not support PIC, -DPIC is meaningless:
7848 lt_prog_compiler_pic
=
7851 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7856 # Check to make sure the static flag actually works.
7858 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7859 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7860 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
7861 if test "${lt_prog_compiler_static_works+set}" = set; then
7862 echo $ECHO_N "(cached) $ECHO_C" >&6
7864 lt_prog_compiler_static_works
=no
7865 save_LDFLAGS
="$LDFLAGS"
7866 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7867 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
7868 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7869 # The linker can only warn and ignore the option if not recognized
7870 # So say no if there are warnings
7871 if test -s conftest.err
; then
7872 # Append any errors to the config.log.
7873 cat conftest.err
1>&5
7874 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7875 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7876 if diff conftest.exp conftest.er2
>/dev
/null
; then
7877 lt_prog_compiler_static_works
=yes
7880 lt_prog_compiler_static_works
=yes
7884 LDFLAGS
="$save_LDFLAGS"
7887 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7888 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
7890 if test x
"$lt_prog_compiler_static_works" = xyes
; then
7893 lt_prog_compiler_static
=
7897 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7898 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7899 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7900 echo $ECHO_N "(cached) $ECHO_C" >&6
7902 lt_cv_prog_compiler_c_o
=no
7903 $rm -r conftest
2>/dev
/null
7907 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7909 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7910 # Insert the option either (1) after the last *FLAGS variable, or
7911 # (2) before a word containing "conftest.", or (3) at the end.
7912 # Note that $ac_compile itself does not contain backslashes and begins
7913 # with a dollar sign (not a hyphen), so the echo should work correctly.
7914 lt_compile
=`echo "$ac_compile" | $SED \
7915 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7916 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7917 -e 's:$: $lt_compiler_flag:'`
7918 (eval echo "\"\$as_me:7918: $lt_compile\"" >&5)
7919 (eval "$lt_compile" 2>out
/conftest.err
)
7921 cat out
/conftest.err
>&5
7922 echo "$as_me:7922: \$? = $ac_status" >&5
7923 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7925 # The compiler can only warn and ignore the option if not recognized
7926 # So say no if there are warnings
7927 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7928 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7929 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7930 lt_cv_prog_compiler_c_o
=yes
7935 # SGI C++ compiler will create directory out/ii_files/ for
7936 # template instantiation
7937 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
7938 $rm out
/* && rmdir out
7944 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7945 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
7948 hard_links
="nottested"
7949 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7950 # do not overwrite the value of need_locks provided by the user
7951 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7952 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
7955 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7957 ln conftest.a conftest.b
2>&5 || hard_links
=no
7958 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7959 { echo "$as_me:$LINENO: result: $hard_links" >&5
7960 echo "${ECHO_T}$hard_links" >&6; }
7961 if test "$hard_links" = no
; then
7962 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7963 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7970 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7971 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
7974 allow_undefined_flag
=
7975 enable_shared_with_static_runtimes
=no
7977 archive_expsym_cmds
=
7978 old_archive_From_new_cmds
=
7979 old_archive_from_expsyms_cmds
=
7980 export_dynamic_flag_spec
=
7981 whole_archive_flag_spec
=
7982 thread_safe_flag_spec
=
7983 hardcode_libdir_flag_spec
=
7984 hardcode_libdir_flag_spec_ld
=
7985 hardcode_libdir_separator
=
7988 hardcode_shlibpath_var
=unsupported
7989 link_all_deplibs
=unknown
7990 hardcode_automatic
=no
7993 always_export_symbols
=no
7994 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7995 # include_expsyms should be a list of space-separated symbols to be *always*
7996 # included in the symbol list
7998 # exclude_expsyms can be an extended regexp of symbols to exclude
7999 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8000 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8001 # as well as any symbol that contains `d'.
8002 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
8003 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8004 # platforms (ab)use it in PIC code, but their linkers get confused if
8005 # the symbol is explicitly referenced. Since portable code cannot
8006 # rely on this symbol name, it's probably fine to never include it in
8007 # preloaded symbol tables.
8008 extract_expsyms_cmds
=
8009 # Just being paranoid about ensuring that cc_basename is set.
8010 for cc_temp
in $compiler""; do
8012 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8013 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8018 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8021 cygwin
* | mingw
* | pw32
*)
8022 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8023 # When not using gcc, we currently assume that we are using
8024 # Microsoft Visual C++.
8025 if test "$GCC" != yes; then
8030 # we just hope/assume this is gcc and not c89 (= MSVC++)
8039 if test "$with_gnu_ld" = yes; then
8040 # If archive_cmds runs LD, not CC, wlarc should be empty
8043 # Set some defaults for GNU ld with shared library support. These
8044 # are reset later if shared libraries are not supported. Putting them
8045 # here allows them to be overridden if necessary.
8046 runpath_var
=LD_RUN_PATH
8047 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
8048 export_dynamic_flag_spec
='${wl}--export-dynamic'
8049 # ancient GNU ld didn't support --whole-archive et. al.
8050 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
8051 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8053 whole_archive_flag_spec
=
8055 supports_anon_versioning
=no
8056 case `$LD -v 2>/dev/null` in
8057 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8058 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8059 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8060 *\
2.11.
*) ;; # other 2.11 versions
8061 *) supports_anon_versioning
=yes ;;
8064 # See if GNU ld supports shared libraries.
8066 aix3
* | aix4
* | aix5
*)
8067 # On AIX/PPC, the GNU linker is very broken
8068 if test "$host_cpu" != ia64
; then
8072 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8073 *** to be unable to reliably create shared libraries on AIX.
8074 *** Therefore, libtool is disabling shared libraries support. If you
8075 *** really care for shared libraries, you may want to modify your PATH
8076 *** so that a non-GNU linker is found, and then restart.
8083 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)'
8084 hardcode_libdir_flag_spec
='-L$libdir'
8085 hardcode_minus_L
=yes
8087 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
8088 # that the semantics of dynamic libraries on AmigaOS, at least up
8089 # to version 4, is to share data among multiple programs linked
8090 # with the same dynamic library. Since this doesn't match the
8091 # behavior of shared libraries on other platforms, we can't use
8097 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8098 allow_undefined_flag
=unsupported
8099 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8100 # support --undefined. This deserves some investigation. FIXME
8101 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8107 cygwin
* | mingw
* | pw32
*)
8108 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8109 # as there is no search path for DLLs.
8110 hardcode_libdir_flag_spec
='-L$libdir'
8111 allow_undefined_flag
=unsupported
8112 always_export_symbols
=no
8113 enable_shared_with_static_runtimes
=yes
8114 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
8116 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
8117 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8118 # If the export-symbols file already is a .def file (1st line
8119 # is EXPORTS), use it as is; otherwise, prepend...
8120 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8121 cp $export_symbols $output_objdir/$soname.def;
8123 echo EXPORTS > $output_objdir/$soname.def;
8124 cat $export_symbols >> $output_objdir/$soname.def;
8126 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8134 hardcode_shlibpath_var
=no
8135 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8136 export_dynamic_flag_spec
='${wl}-E'
8137 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8138 # Instead, shared libraries are loaded at an image base (0x10000000 by
8139 # default) and relocated if they conflict, which is a slow very memory
8140 # consuming and fragmenting process. To avoid this, we pick a random,
8141 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8142 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8143 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8144 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'
8148 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8150 case $cc_basename,$host_cpu in
8151 pgcc
*) # Portland Group C compiler
8152 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'
8153 tmp_addflag
=' $pic_flag'
8155 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
8156 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'
8157 tmp_addflag
=' $pic_flag -Mnomain' ;;
8158 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8159 tmp_addflag
=' -i_dynamic' ;;
8160 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8161 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8162 ifc
* | ifort
*) # Intel Fortran compiler
8163 tmp_addflag
=' -nofor_main' ;;
8165 archive_cmds
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8167 if test $supports_anon_versioning = yes; then
8168 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
8169 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8170 $echo "local: *; };" >> $output_objdir/$libname.ver~
8171 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8179 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8180 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8183 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8184 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8189 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
8193 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8194 *** create shared libraries on Solaris systems. Therefore, libtool
8195 *** is disabling shared libraries support. We urge you to upgrade GNU
8196 *** binutils to release 2.9.1 or newer. Another option is to modify
8197 *** your PATH or compiler configuration so that the native linker is
8198 *** used, and then restart.
8201 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8202 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8203 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8209 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8210 case `$LD -v 2>&1` in
8211 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8215 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8216 *** reliably create shared libraries on SCO systems. Therefore, libtool
8217 *** is disabling shared libraries support. We urge you to upgrade GNU
8218 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8219 *** your PATH or compiler configuration so that the native linker is
8220 *** used, and then restart.
8225 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8226 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
8227 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
8228 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
8237 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8240 hardcode_shlibpath_var
=no
8244 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8245 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8246 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8253 if test "$ld_shlibs" = no
; then
8255 hardcode_libdir_flag_spec
=
8256 export_dynamic_flag_spec
=
8257 whole_archive_flag_spec
=
8260 # PORTME fill in a description of your system's linker (not GNU ld)
8263 allow_undefined_flag
=unsupported
8264 always_export_symbols
=yes
8265 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'
8266 # Note: this linker hardcodes the directories in LIBPATH if there
8267 # are no directories specified by -L.
8268 hardcode_minus_L
=yes
8269 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8270 # Neither direct hardcoding nor static linking is supported with a
8272 hardcode_direct
=unsupported
8277 if test "$host_cpu" = ia64
; then
8278 # On IA64, the linker does run time linking by default, so we don't
8279 # have to do anything special.
8280 aix_use_runtimelinking
=no
8281 exp_sym_flag
='-Bexport'
8284 # If we're using GNU nm, then we don't want the "-C" option.
8285 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8286 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
8287 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'
8289 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'
8291 aix_use_runtimelinking
=no
8293 # Test if we are trying to use run time linking or normal
8294 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8295 # need to do runtime linking.
8296 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
8297 for ld_flag
in $LDFLAGS; do
8298 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8299 aix_use_runtimelinking
=yes
8306 exp_sym_flag
='-bexport'
8307 no_entry_flag
='-bnoentry'
8310 # When large executables or shared objects are built, AIX ld can
8311 # have problems creating the table of contents. If linking a library
8312 # or program results in "error TOC overflow" add -mminimal-toc to
8313 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8314 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8318 hardcode_libdir_separator
=':'
8319 link_all_deplibs
=yes
8321 if test "$GCC" = yes; then
8322 case $host_os in aix4.
[012]|aix4.
[012].
*)
8323 # We only want to do this on AIX 4.2 and lower, the check
8324 # below for broken collect2 doesn't work under 4.3+
8325 collect2name
=`${CC} -print-prog-name=collect2`
8326 if test -f "$collect2name" && \
8327 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
8329 # We have reworked collect2
8332 # We have old collect2
8333 hardcode_direct
=unsupported
8334 # It fails to find uninstalled libraries when the uninstalled
8335 # path is not listed in the libpath. Setting hardcode_minus_L
8336 # to unsupported forces relinking
8337 hardcode_minus_L
=yes
8338 hardcode_libdir_flag_spec
='-L$libdir'
8339 hardcode_libdir_separator
=
8343 shared_flag
='-shared'
8344 if test "$aix_use_runtimelinking" = yes; then
8345 shared_flag
="$shared_flag "'${wl}-G'
8349 if test "$host_cpu" = ia64
; then
8350 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8351 # chokes on -Wl,-G. The following line is correct:
8354 if test "$aix_use_runtimelinking" = yes; then
8355 shared_flag
='${wl}-G'
8357 shared_flag
='${wl}-bM:SRE'
8362 # It seems that -bexpall does not export symbols beginning with
8363 # underscore (_), so it is better to generate a list of symbols to export.
8364 always_export_symbols
=yes
8365 if test "$aix_use_runtimelinking" = yes; then
8366 # Warning - without using the other runtime loading flags (-brtl),
8367 # -berok will link without error, but may produce a broken library.
8368 allow_undefined_flag
='-berok'
8369 # Determine the default libpath from the value encoded in an empty executable.
8370 cat >conftest.
$ac_ext <<_ACEOF
8373 cat confdefs.h
>>conftest.
$ac_ext
8374 cat >>conftest.
$ac_ext <<_ACEOF
8375 /* end confdefs.h. */
8385 rm -f conftest.
$ac_objext conftest
$ac_exeext
8386 if { (ac_try
="$ac_link"
8388 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8389 *) ac_try_echo=$ac_try;;
8391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8392 (eval "$ac_link") 2>conftest.er1
8394 grep -v '^ *+' conftest.er1 >conftest.err
8396 cat conftest.err >&5
8397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8398 (exit $ac_status); } && {
8399 test -z "$ac_c_werror_flag" ||
8400 test ! -s conftest.err
8401 } && test -s conftest$ac_exeext &&
8402 $as_test_x conftest$ac_exeext; then
8404 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8406 # Check for a 64-bit object if we didn't find anything.
8407 if test -z "$aix_libpath"; then aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8410 echo "$as_me: failed program was:" >&5
8411 sed 's/^/| /' conftest.$ac_ext >&5
8416 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8417 conftest$ac_exeext conftest.$ac_ext
8418 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8420 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8421 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"
8423 if test "$host_cpu" = ia64; then
8424 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8425 allow_undefined_flag="-z nodefs"
8426 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"
8428 # Determine the default libpath from the value encoded in an empty executable.
8429 cat >conftest.$ac_ext <<_ACEOF
8432 cat confdefs.h >>conftest.$ac_ext
8433 cat >>conftest.$ac_ext <<_ACEOF
8434 /* end confdefs.h. */
8444 rm -f conftest.$ac_objext conftest$ac_exeext
8445 if { (ac_try="$ac_link"
8447 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8448 *) ac_try_echo
=$ac_try;;
8450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8451 (eval "$ac_link") 2>conftest.er1
8453 grep -v '^ *+' conftest.er1
>conftest.err
8455 cat conftest.err
>&5
8456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8457 (exit $ac_status); } && {
8458 test -z "$ac_c_werror_flag" ||
8459 test ! -s conftest.err
8460 } && test -s conftest
$ac_exeext &&
8461 $as_test_x conftest
$ac_exeext; then
8463 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8465 # Check for a 64-bit object if we didn't find anything.
8466 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8469 echo "$as_me: failed program was:" >&5
8470 sed 's/^/| /' conftest.
$ac_ext >&5
8475 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8476 conftest
$ac_exeext conftest.
$ac_ext
8477 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8479 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8480 # Warning - without using the other run time loading flags,
8481 # -berok will link without error, but may produce a broken library.
8482 no_undefined_flag
=' ${wl}-bernotok'
8483 allow_undefined_flag
=' ${wl}-berok'
8484 # Exported symbols can be pulled into shared objects from archives
8485 whole_archive_flag_spec
='$convenience'
8486 archive_cmds_need_lc
=yes
8487 # This is similar to how AIX traditionally builds its shared libraries.
8488 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'
8494 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)'
8495 hardcode_libdir_flag_spec
='-L$libdir'
8496 hardcode_minus_L
=yes
8497 # see comment about different semantics on the GNU ld section
8502 export_dynamic_flag_spec
=-rdynamic
8505 cygwin
* | mingw
* | pw32
*)
8506 # When not using gcc, we currently assume that we are using
8507 # Microsoft Visual C++.
8508 # hardcode_libdir_flag_spec is actually meaningless, as there is
8509 # no search path for DLLs.
8510 hardcode_libdir_flag_spec
=' '
8511 allow_undefined_flag
=unsupported
8512 # Tell ltmain to make .lib files, not .a files.
8514 # Tell ltmain to make .dll files, not .so files.
8516 # FIXME: Setting linknames here is a bad hack.
8517 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
8518 # The linker will automatically build a .lib file if we build a DLL.
8519 old_archive_From_new_cmds
='true'
8520 # FIXME: Should let the user specify the lib program.
8521 old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs'
8522 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8523 enable_shared_with_static_runtimes
=yes
8526 darwin
* | rhapsody
*)
8528 rhapsody
* | darwin1.
[012])
8529 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
8532 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8533 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8535 case ${MACOSX_DEPLOYMENT_TARGET} in
8537 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8540 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
8546 archive_cmds_need_lc
=no
8548 hardcode_automatic
=yes
8549 hardcode_shlibpath_var
=unsupported
8550 whole_archive_flag_spec
=''
8551 link_all_deplibs
=yes
8552 if test "$GCC" = yes ; then
8553 output_verbose_link_cmd
='echo'
8554 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8555 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8556 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8557 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}'
8558 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}'
8560 case $cc_basename in
8562 output_verbose_link_cmd
='echo'
8563 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
8564 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8565 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8566 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 $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8567 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}'
8577 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8578 hardcode_libdir_flag_spec
='-L$libdir'
8579 hardcode_shlibpath_var
=no
8586 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8587 # support. Future versions do this automatically, but an explicit c++rt0.o
8588 # does not break anything, and helps significantly (at the cost of a little
8591 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8592 hardcode_libdir_flag_spec
='-R$libdir'
8594 hardcode_shlibpath_var
=no
8597 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8599 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8601 hardcode_minus_L
=yes
8602 hardcode_shlibpath_var
=no
8605 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8606 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
8607 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8608 hardcode_libdir_flag_spec
='-R$libdir'
8610 hardcode_shlibpath_var
=no
8614 if test "$GCC" = yes; then
8615 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'
8617 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'
8619 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8620 hardcode_libdir_separator
=:
8623 # hardcode_minus_L: Not really in the search PATH,
8624 # but as the default location of the library.
8625 hardcode_minus_L
=yes
8626 export_dynamic_flag_spec
='${wl}-E'
8630 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8631 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8633 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8635 if test "$with_gnu_ld" = no
; then
8636 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8637 hardcode_libdir_separator
=:
8640 export_dynamic_flag_spec
='${wl}-E'
8642 # hardcode_minus_L: Not really in the search PATH,
8643 # but as the default location of the library.
8644 hardcode_minus_L
=yes
8649 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8652 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8655 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8658 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8664 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8667 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8670 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8674 if test "$with_gnu_ld" = no
; then
8675 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8676 hardcode_libdir_separator
=:
8680 hardcode_libdir_flag_spec_ld
='+b $libdir'
8682 hardcode_shlibpath_var
=no
8686 export_dynamic_flag_spec
='${wl}-E'
8688 # hardcode_minus_L: Not really in the search PATH,
8689 # but as the default location of the library.
8690 hardcode_minus_L
=yes
8696 irix5
* | irix6
* | nonstopux
*)
8697 if test "$GCC" = yes; then
8698 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'
8700 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'
8701 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8703 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8704 hardcode_libdir_separator
=:
8705 link_all_deplibs
=yes
8709 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8710 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8712 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8714 hardcode_libdir_flag_spec
='-R$libdir'
8716 hardcode_shlibpath_var
=no
8720 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8722 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8723 hardcode_libdir_separator
=:
8724 hardcode_shlibpath_var
=no
8729 hardcode_shlibpath_var
=no
8730 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8731 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8732 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8733 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8734 export_dynamic_flag_spec
='${wl}-E'
8737 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8738 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8739 hardcode_libdir_flag_spec
='-R$libdir'
8742 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8743 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8750 hardcode_libdir_flag_spec
='-L$libdir'
8751 hardcode_minus_L
=yes
8752 allow_undefined_flag
=unsupported
8753 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'
8754 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8758 if test "$GCC" = yes; then
8759 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8760 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'
8762 allow_undefined_flag
=' -expect_unresolved \*'
8763 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'
8765 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8766 hardcode_libdir_separator
=:
8769 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8770 if test "$GCC" = yes; then
8771 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8772 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'
8773 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8775 allow_undefined_flag
=' -expect_unresolved \*'
8776 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'
8777 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8778 $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'
8780 # Both c and cxx compiler support -rpath directly
8781 hardcode_libdir_flag_spec
='-rpath $libdir'
8783 hardcode_libdir_separator
=:
8787 no_undefined_flag
=' -z text'
8788 if test "$GCC" = yes; then
8790 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8791 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8792 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
8795 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8796 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8797 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8799 hardcode_libdir_flag_spec
='-R$libdir'
8800 hardcode_shlibpath_var
=no
8802 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8804 # The compiler driver will combine linker options so we
8805 # cannot just pass the convience library names through
8806 # without $wl, iff we do not link with $LD.
8807 # Luckily, gcc supports the same syntax we need for Sun Studio.
8808 # Supported since Solaris 2.6 (maybe 2.5.1?)
8811 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract' ;;
8813 whole_archive_flag_spec
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
8816 link_all_deplibs
=yes
8820 if test "x$host_vendor" = xsequent
; then
8821 # Use $CC to link under sequent, because it throws in some extra .o
8822 # files that make .init and .fini sections work.
8823 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8825 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8827 hardcode_libdir_flag_spec
='-L$libdir'
8829 hardcode_minus_L
=yes
8830 hardcode_shlibpath_var
=no
8834 case $host_vendor in
8836 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8837 hardcode_direct
=yes # is this really true???
8840 ## LD is ld it makes a PLAMLIB
8841 ## CC just makes a GrossModule.
8842 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8843 reload_cmds
='$CC -r -o $output$reload_objs'
8847 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8848 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8851 runpath_var
='LD_RUN_PATH'
8852 hardcode_shlibpath_var
=no
8856 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8857 hardcode_shlibpath_var
=no
8858 export_dynamic_flag_spec
='-Bexport'
8862 if test -d /usr
/nec
; then
8863 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8864 hardcode_shlibpath_var
=no
8865 runpath_var
=LD_RUN_PATH
8866 hardcode_runpath_var
=yes
8871 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
8872 no_undefined_flag
='${wl}-z,text'
8873 archive_cmds_need_lc
=no
8874 hardcode_shlibpath_var
=no
8875 runpath_var
='LD_RUN_PATH'
8877 if test "$GCC" = yes; then
8878 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8879 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8881 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8882 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8886 sysv5
* | sco3.2v5
* | sco5v6
*)
8887 # Note: We can NOT use -z defs as we might desire, because we do not
8888 # link with -lc, and that would cause any symbols used from libc to
8889 # always be unresolved, which means just about no library would
8890 # ever link correctly. If we're not using GNU ld we use -z text
8891 # though, which does catch some bad symbols but isn't as heavy-handed
8893 no_undefined_flag
='${wl}-z,text'
8894 allow_undefined_flag
='${wl}-z,nodefs'
8895 archive_cmds_need_lc
=no
8896 hardcode_shlibpath_var
=no
8897 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
8898 hardcode_libdir_separator
=':'
8899 link_all_deplibs
=yes
8900 export_dynamic_flag_spec
='${wl}-Bexport'
8901 runpath_var
='LD_RUN_PATH'
8903 if test "$GCC" = yes; then
8904 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8905 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8907 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8908 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8913 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8914 hardcode_libdir_flag_spec
='-L$libdir'
8915 hardcode_shlibpath_var
=no
8924 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8925 echo "${ECHO_T}$ld_shlibs" >&6; }
8926 test "$ld_shlibs" = no
&& can_build_shared
=no
8929 # Do we need to explicitly link libc?
8931 case "x$archive_cmds_need_lc" in
8933 # Assume -lc should be added
8934 archive_cmds_need_lc
=yes
8936 if test "$enable_shared" = yes && test "$GCC" = yes; then
8937 case $archive_cmds in
8939 # FIXME: we may have to deal with multi-command sequences.
8942 # Test whether the compiler implicitly links with -lc since on some
8943 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8944 # to ld, don't add -lc before -lgcc.
8945 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8946 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
8948 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
8950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8951 (eval $ac_compile) 2>&5
8953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8954 (exit $ac_status); } 2>conftest.err
; then
8957 libobjs
=conftest.
$ac_objext
8959 wl
=$lt_prog_compiler_wl
8960 pic_flag
=$lt_prog_compiler_pic
8966 lt_save_allow_undefined_flag
=$allow_undefined_flag
8967 allow_undefined_flag
=
8968 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
8969 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8972 (exit $ac_status); }
8974 archive_cmds_need_lc
=no
8976 archive_cmds_need_lc
=yes
8978 allow_undefined_flag
=$lt_save_allow_undefined_flag
8980 cat conftest.err
1>&5
8983 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8984 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
8991 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8992 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
8994 libname_spec
='lib$name'
9002 shlibpath_overrides_runpath
=unknown
9004 dynamic_linker
="$host_os ld.so"
9005 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9006 if test "$GCC" = yes; then
9007 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9008 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
9009 # if the path contains ";" then we assume it to be the separator
9010 # otherwise default to the standard path separator (i.e. ":") - it is
9011 # assumed that no part of a normal pathname contains ";" but that should
9012 # okay in the real world where ";" in dirpaths is itself problematic.
9013 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9015 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9018 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9020 need_lib_prefix
=unknown
9021 hardcode_into_libs
=no
9023 # when you set need_version to no, make sure it does not cause -set_version
9024 # flags to be left without arguments
9025 need_version
=unknown
9030 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9031 shlibpath_var
=LIBPATH
9033 # AIX 3 has no versioning support, so we append a major version to the name.
9034 soname_spec
='${libname}${release}${shared_ext}$major'
9041 hardcode_into_libs
=yes
9042 if test "$host_cpu" = ia64
; then
9043 # AIX 5 supports IA64
9044 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9045 shlibpath_var
=LD_LIBRARY_PATH
9047 # With GCC up to 2.95.x, collect2 would create an import file
9048 # for dependence libraries. The import file would start with
9049 # the line `#! .'. This would cause the generated library to
9050 # depend on `.', always an invalid library. This was fixed in
9051 # development snapshots of GCC prior to 3.0.
9053 aix4 | aix4.
[01] | aix4.
[01].
*)
9054 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9056 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
9063 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9064 # soname into executable. Probably we can add versioning support to
9065 # collect2, so additional links can be useful in future.
9066 if test "$aix_use_runtimelinking" = yes; then
9067 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9068 # instead of lib<name>.a to let people know that these are not
9069 # typical AIX shared libraries.
9070 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9072 # We preserve .a as extension for shared libraries through AIX4.2
9073 # and later when we are not doing run time linking.
9074 library_names_spec
='${libname}${release}.a $libname.a'
9075 soname_spec
='${libname}${release}${shared_ext}$major'
9077 shlibpath_var
=LIBPATH
9082 library_names_spec
='$libname.ixlibrary $libname.a'
9083 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9084 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'
9088 library_names_spec
='${libname}${shared_ext}'
9089 dynamic_linker
="$host_os ld.so"
9090 shlibpath_var
=LIBRARY_PATH
9096 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9097 soname_spec
='${libname}${release}${shared_ext}$major'
9098 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9099 shlibpath_var
=LD_LIBRARY_PATH
9100 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9101 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9102 # the default ld.so.conf also contains /usr/contrib/lib and
9103 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9104 # libtool to hard-code these into programs
9107 cygwin
* | mingw
* | pw32
*)
9108 version_type
=windows
9113 case $GCC,$host_os in
9114 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
9115 library_names_spec
='$libname.dll.a'
9116 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9117 postinstall_cmds
='base_file=`basename \${file}`~
9118 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
9119 dldir=$destdir/`dirname \$dlpath`~
9120 test -d \$dldir || mkdir -p \$dldir~
9121 $install_prog $dir/$dlname \$dldir/$dlname~
9122 chmod a+x \$dldir/$dlname'
9123 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9124 dlpath=$dir/\$dldll~
9126 shlibpath_overrides_runpath
=yes
9130 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9131 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9132 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
9135 # MinGW DLLs use traditional 'lib' prefix
9136 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9137 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9138 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
9139 # It is most probably a Windows format PATH printed by
9140 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9141 # path with ; separators, and with drive letters. We can handle the
9142 # drive letters (cygwin fileutils understands them), so leave them,
9143 # especially as we might pass files found there to a mingw objdump,
9144 # which wouldn't understand a cygwinified path. Ahh.
9145 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9147 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9151 # pw32 DLLs use 'pw' prefix rather than 'lib'
9152 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9158 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9161 dynamic_linker
='Win32 ld.exe'
9162 # FIXME: first we should search . and the directory the executable is in
9166 darwin
* | rhapsody
*)
9167 dynamic_linker
="$host_os dyld"
9171 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9172 soname_spec
='${libname}${release}${major}$shared_ext'
9173 shlibpath_overrides_runpath
=yes
9174 shlibpath_var
=DYLD_LIBRARY_PATH
9175 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9176 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
9177 if test "$GCC" = yes; then
9178 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
9180 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
9182 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9189 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9190 soname_spec
='${libname}${release}${shared_ext}$major'
9191 shlibpath_var
=LD_LIBRARY_PATH
9202 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9203 soname_spec
='${libname}${release}${shared_ext}$major'
9204 shlibpath_var
=LD_LIBRARY_PATH
9205 shlibpath_overrides_runpath
=no
9206 hardcode_into_libs
=yes
9207 dynamic_linker
='GNU ld.so'
9210 freebsd
* | dragonfly
*)
9211 # DragonFly does not have aout. When/if they implement a new
9212 # versioning mechanism, adjust this.
9213 if test -x /usr
/bin
/objformat
; then
9214 objformat
=`/usr/bin/objformat`
9217 freebsd
[123]*) objformat
=aout
;;
9221 version_type
=freebsd-
$objformat
9222 case $version_type in
9224 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9229 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9233 shlibpath_var
=LD_LIBRARY_PATH
9236 shlibpath_overrides_runpath
=yes
9238 freebsd3.
[01]* | freebsdelf3.
[01]*)
9239 shlibpath_overrides_runpath
=yes
9240 hardcode_into_libs
=yes
9242 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9243 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9244 shlibpath_overrides_runpath
=no
9245 hardcode_into_libs
=yes
9247 freebsd
*) # from 4.6 on
9248 shlibpath_overrides_runpath
=yes
9249 hardcode_into_libs
=yes
9258 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9259 soname_spec
='${libname}${release}${shared_ext}$major'
9260 shlibpath_var
=LD_LIBRARY_PATH
9261 hardcode_into_libs
=yes
9264 hpux9
* | hpux10
* | hpux11
*)
9265 # Give a soname corresponding to the major version so that dld.sl refuses to
9266 # link against other versions.
9273 hardcode_into_libs
=yes
9274 dynamic_linker
="$host_os dld.so"
9275 shlibpath_var
=LD_LIBRARY_PATH
9276 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9277 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9278 soname_spec
='${libname}${release}${shared_ext}$major'
9279 if test "X$HPUX_IA64_MODE" = X32
; then
9280 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9282 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9284 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9288 hardcode_into_libs
=yes
9289 dynamic_linker
="$host_os dld.sl"
9290 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9291 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9292 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9293 soname_spec
='${libname}${release}${shared_ext}$major'
9294 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9295 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9299 dynamic_linker
="$host_os dld.sl"
9300 shlibpath_var
=SHLIB_PATH
9301 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9302 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9303 soname_spec
='${libname}${release}${shared_ext}$major'
9306 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9307 postinstall_cmds
='chmod 555 $lib'
9314 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9315 soname_spec
='${libname}${release}${shared_ext}$major'
9316 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9317 shlibpath_var
=LD_LIBRARY_PATH
9318 shlibpath_overrides_runpath
=no
9319 hardcode_into_libs
=yes
9322 irix5
* | irix6
* | nonstopux
*)
9324 nonstopux
*) version_type
=nonstopux
;;
9326 if test "$lt_cv_prog_gnu_ld" = yes; then
9334 soname_spec
='${libname}${release}${shared_ext}$major'
9335 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9337 irix5
* | nonstopux
*)
9341 case $LD in # libtool.m4 will add one of these switches to LD
9342 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9343 libsuff
= shlibsuff
= libmagic
=32-bit;;
9344 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9345 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9346 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9347 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9348 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9352 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9353 shlibpath_overrides_runpath
=no
9354 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9355 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9356 hardcode_into_libs
=yes
9359 # No shared lib support for Linux oldld, aout, or coff.
9360 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9364 # This must be Linux ELF.
9369 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9370 soname_spec
='${libname}${release}${shared_ext}$major'
9371 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9372 shlibpath_var
=LD_LIBRARY_PATH
9373 shlibpath_overrides_runpath
=no
9374 # This implies no fast_install, which is unacceptable.
9375 # Some rework will be needed to allow for fast_install
9376 # before this can be enabled.
9377 hardcode_into_libs
=yes
9379 # find out which ABI we are using
9382 x86_64
*|s390x
*|powerpc64
*)
9383 echo '#line 9383 "configure"' > conftest.
$ac_ext
9384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9385 (eval $ac_compile) 2>&5
9387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9388 (exit $ac_status); }; then
9389 case `/usr/bin/file conftest.$ac_objext` in
9392 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
9400 # Append ld.so.conf contents to the search path
9401 if test -f /etc
/ld.so.conf
; then
9402 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/^ *//;s/#.*//;/^[^\/]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9403 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
9406 # We used to test for /lib/ld.so.1 and disable shared libraries on
9407 # powerpc, because MkLinux only supported shared libraries with the
9408 # GNU dynamic linker. Since this was broken with cross compilers,
9409 # most powerpc-linux boxes support dynamic linking these days and
9410 # people can always --disable-shared, the test was removed, and we
9411 # assume the GNU/Linux dynamic linker is in use.
9412 dynamic_linker
='GNU/Linux ld.so'
9419 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9420 soname_spec
='${libname}${release}${shared_ext}$major'
9421 shlibpath_var
=LD_LIBRARY_PATH
9422 shlibpath_overrides_runpath
=no
9423 hardcode_into_libs
=yes
9424 dynamic_linker
='GNU ld.so'
9431 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
9432 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9433 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9434 dynamic_linker
='NetBSD (a.out) ld.so'
9436 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9437 soname_spec
='${libname}${release}${shared_ext}$major'
9438 dynamic_linker
='NetBSD ld.elf_so'
9440 shlibpath_var
=LD_LIBRARY_PATH
9441 shlibpath_overrides_runpath
=yes
9442 hardcode_into_libs
=yes
9447 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9448 shlibpath_var
=LD_LIBRARY_PATH
9449 shlibpath_overrides_runpath
=yes
9456 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9457 soname_spec
='${libname}${release}${shared_ext}$major'
9458 shlibpath_var
=LD_LIBRARY_PATH
9459 shlibpath_overrides_runpath
=yes
9464 sys_lib_dlsearch_path_spec
="/usr/lib"
9466 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9468 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9469 *) need_version
=no
;;
9471 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9472 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9473 shlibpath_var
=LD_LIBRARY_PATH
9474 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9476 openbsd2.
[89] | openbsd2.
[89].
*)
9477 shlibpath_overrides_runpath
=no
9480 shlibpath_overrides_runpath
=yes
9484 shlibpath_overrides_runpath
=yes
9489 libname_spec
='$name'
9492 library_names_spec
='$libname${shared_ext} $libname.a'
9493 dynamic_linker
='OS/2 ld.exe'
9494 shlibpath_var
=LIBPATH
9497 osf3
* | osf4
* | osf5
*)
9501 soname_spec
='${libname}${release}${shared_ext}$major'
9502 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9503 shlibpath_var
=LD_LIBRARY_PATH
9504 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9505 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9512 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9513 soname_spec
='${libname}${release}${shared_ext}$major'
9514 shlibpath_var
=LD_LIBRARY_PATH
9515 shlibpath_overrides_runpath
=yes
9516 hardcode_into_libs
=yes
9517 # ldd complains unless libraries are executable
9518 postinstall_cmds
='chmod +x $lib'
9523 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9524 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9525 shlibpath_var
=LD_LIBRARY_PATH
9526 shlibpath_overrides_runpath
=yes
9527 if test "$with_gnu_ld" = yes; then
9535 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9536 soname_spec
='${libname}${release}${shared_ext}$major'
9537 shlibpath_var
=LD_LIBRARY_PATH
9538 case $host_vendor in
9540 shlibpath_overrides_runpath
=no
9542 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9543 runpath_var
=LD_RUN_PATH
9551 shlibpath_overrides_runpath
=no
9552 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9558 if test -d /usr
/nec
;then
9560 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9561 soname_spec
='$libname${shared_ext}.$major'
9562 shlibpath_var
=LD_LIBRARY_PATH
9566 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9567 version_type
=freebsd-elf
9570 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9571 soname_spec
='${libname}${release}${shared_ext}$major'
9572 shlibpath_var
=LD_LIBRARY_PATH
9573 hardcode_into_libs
=yes
9574 if test "$with_gnu_ld" = yes; then
9575 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9576 shlibpath_overrides_runpath
=no
9578 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9579 shlibpath_overrides_runpath
=yes
9582 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9586 sys_lib_dlsearch_path_spec
='/usr/lib'
9591 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9592 soname_spec
='${libname}${release}${shared_ext}$major'
9593 shlibpath_var
=LD_LIBRARY_PATH
9600 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9601 echo "${ECHO_T}$dynamic_linker" >&6; }
9602 test "$dynamic_linker" = no
&& can_build_shared
=no
9604 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9605 if test "$GCC" = yes; then
9606 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9609 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9610 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
9612 if test -n "$hardcode_libdir_flag_spec" || \
9613 test -n "$runpath_var" || \
9614 test "X$hardcode_automatic" = "Xyes" ; then
9616 # We can hardcode non-existant directories.
9617 if test "$hardcode_direct" != no
&&
9618 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9619 # have to relink, otherwise we might link with an installed library
9620 # when we should be linking with a yet-to-be-installed one
9621 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
9622 test "$hardcode_minus_L" != no
; then
9623 # Linking always hardcodes the temporary library directory.
9624 hardcode_action
=relink
9626 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9627 hardcode_action
=immediate
9630 # We cannot hardcode anything, or else we can only hardcode existing
9632 hardcode_action
=unsupported
9634 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
9635 echo "${ECHO_T}$hardcode_action" >&6; }
9637 if test "$hardcode_action" = relink
; then
9638 # Fast installation is not supported
9639 enable_fast_install
=no
9640 elif test "$shlibpath_overrides_runpath" = yes ||
9641 test "$enable_shared" = no
; then
9642 # Fast installation is not necessary
9643 enable_fast_install
=needless
9648 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9649 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
9650 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
9651 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
9652 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
9653 { echo "$as_me:$LINENO: result: yes" >&5
9654 echo "${ECHO_T}yes" >&6; }
9656 # FIXME - insert some real tests, host_os isn't really good enough
9659 if test -n "$STRIP" ; then
9660 striplib
="$STRIP -x"
9661 { echo "$as_me:$LINENO: result: yes" >&5
9662 echo "${ECHO_T}yes" >&6; }
9664 { echo "$as_me:$LINENO: result: no" >&5
9665 echo "${ECHO_T}no" >&6; }
9669 { echo "$as_me:$LINENO: result: no" >&5
9670 echo "${ECHO_T}no" >&6; }
9675 if test "x$enable_dlopen" != xyes
; then
9676 enable_dlopen
=unknown
9677 enable_dlopen_self
=unknown
9678 enable_dlopen_self_static
=unknown
9685 lt_cv_dlopen
="load_add_on"
9687 lt_cv_dlopen_self
=yes
9691 lt_cv_dlopen
="LoadLibrary"
9696 lt_cv_dlopen
="dlopen"
9701 # if libdl is installed we need to link against it
9702 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9703 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9704 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9705 echo $ECHO_N "(cached) $ECHO_C" >&6
9707 ac_check_lib_save_LIBS
=$LIBS
9709 cat >conftest.
$ac_ext <<_ACEOF
9712 cat confdefs.h
>>conftest.
$ac_ext
9713 cat >>conftest.
$ac_ext <<_ACEOF
9714 /* end confdefs.h. */
9716 /* Override any GCC internal prototype to avoid an error.
9717 Use char because int might match the return type of a GCC
9718 builtin and then its argument prototype would still apply. */
9731 rm -f conftest.
$ac_objext conftest
$ac_exeext
9732 if { (ac_try
="$ac_link"
9734 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9735 *) ac_try_echo=$ac_try;;
9737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9738 (eval "$ac_link") 2>conftest.er1
9740 grep -v '^ *+' conftest.er1 >conftest.err
9742 cat conftest.err >&5
9743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9744 (exit $ac_status); } && {
9745 test -z "$ac_c_werror_flag" ||
9746 test ! -s conftest.err
9747 } && test -s conftest$ac_exeext &&
9748 $as_test_x conftest$ac_exeext; then
9749 ac_cv_lib_dl_dlopen=yes
9751 echo "$as_me: failed program was:" >&5
9752 sed 's/^/| /' conftest.$ac_ext >&5
9754 ac_cv_lib_dl_dlopen=no
9757 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9758 conftest$ac_exeext conftest.$ac_ext
9759 LIBS=$ac_check_lib_save_LIBS
9761 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9762 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9763 if test $ac_cv_lib_dl_dlopen = yes; then
9764 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9769 lt_cv_dlopen_self=yes
9776 { echo "$as_me:$LINENO: checking for shl_load" >&5
9777 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
9778 if test "${ac_cv_func_shl_load+set}" = set; then
9779 echo $ECHO_N "(cached) $ECHO_C" >&6
9781 cat >conftest.$ac_ext <<_ACEOF
9784 cat confdefs.h >>conftest.$ac_ext
9785 cat >>conftest.$ac_ext <<_ACEOF
9786 /* end confdefs.h. */
9787 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9788 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9789 #define shl_load innocuous_shl_load
9791 /* System header to define __stub macros and hopefully few prototypes,
9792 which can conflict with char shl_load (); below.
9793 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9794 <limits.h> exists even on freestanding compilers. */
9797 # include <limits.h>
9799 # include <assert.h>
9804 /* Override any GCC internal prototype to avoid an error.
9805 Use char because int might match the return type of a GCC
9806 builtin and then its argument prototype would still apply. */
9811 /* The GNU C library defines this for functions which it implements
9812 to always fail with ENOSYS. Some functions are actually named
9813 something starting with __ and the normal name is an alias. */
9814 #if defined __stub_shl_load || defined __stub___shl_load
9826 rm -f conftest.$ac_objext conftest$ac_exeext
9827 if { (ac_try="$ac_link"
9829 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9830 *) ac_try_echo
=$ac_try;;
9832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9833 (eval "$ac_link") 2>conftest.er1
9835 grep -v '^ *+' conftest.er1
>conftest.err
9837 cat conftest.err
>&5
9838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9839 (exit $ac_status); } && {
9840 test -z "$ac_c_werror_flag" ||
9841 test ! -s conftest.err
9842 } && test -s conftest
$ac_exeext &&
9843 $as_test_x conftest
$ac_exeext; then
9844 ac_cv_func_shl_load
=yes
9846 echo "$as_me: failed program was:" >&5
9847 sed 's/^/| /' conftest.
$ac_ext >&5
9849 ac_cv_func_shl_load
=no
9852 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9853 conftest
$ac_exeext conftest.
$ac_ext
9855 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9856 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9857 if test $ac_cv_func_shl_load = yes; then
9858 lt_cv_dlopen
="shl_load"
9860 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9861 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
9862 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9863 echo $ECHO_N "(cached) $ECHO_C" >&6
9865 ac_check_lib_save_LIBS
=$LIBS
9867 cat >conftest.
$ac_ext <<_ACEOF
9870 cat confdefs.h
>>conftest.
$ac_ext
9871 cat >>conftest.
$ac_ext <<_ACEOF
9872 /* end confdefs.h. */
9874 /* Override any GCC internal prototype to avoid an error.
9875 Use char because int might match the return type of a GCC
9876 builtin and then its argument prototype would still apply. */
9889 rm -f conftest.
$ac_objext conftest
$ac_exeext
9890 if { (ac_try
="$ac_link"
9892 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9893 *) ac_try_echo=$ac_try;;
9895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9896 (eval "$ac_link") 2>conftest.er1
9898 grep -v '^ *+' conftest.er1 >conftest.err
9900 cat conftest.err >&5
9901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9902 (exit $ac_status); } && {
9903 test -z "$ac_c_werror_flag" ||
9904 test ! -s conftest.err
9905 } && test -s conftest$ac_exeext &&
9906 $as_test_x conftest$ac_exeext; then
9907 ac_cv_lib_dld_shl_load=yes
9909 echo "$as_me: failed program was:" >&5
9910 sed 's/^/| /' conftest.$ac_ext >&5
9912 ac_cv_lib_dld_shl_load=no
9915 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9916 conftest$ac_exeext conftest.$ac_ext
9917 LIBS=$ac_check_lib_save_LIBS
9919 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9920 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9921 if test $ac_cv_lib_dld_shl_load = yes; then
9922 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
9924 { echo "$as_me:$LINENO: checking for dlopen" >&5
9925 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
9926 if test "${ac_cv_func_dlopen+set}" = set; then
9927 echo $ECHO_N "(cached) $ECHO_C" >&6
9929 cat >conftest.$ac_ext <<_ACEOF
9932 cat confdefs.h >>conftest.$ac_ext
9933 cat >>conftest.$ac_ext <<_ACEOF
9934 /* end confdefs.h. */
9935 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9936 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9937 #define dlopen innocuous_dlopen
9939 /* System header to define __stub macros and hopefully few prototypes,
9940 which can conflict with char dlopen (); below.
9941 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9942 <limits.h> exists even on freestanding compilers. */
9945 # include <limits.h>
9947 # include <assert.h>
9952 /* Override any GCC internal prototype to avoid an error.
9953 Use char because int might match the return type of a GCC
9954 builtin and then its argument prototype would still apply. */
9959 /* The GNU C library defines this for functions which it implements
9960 to always fail with ENOSYS. Some functions are actually named
9961 something starting with __ and the normal name is an alias. */
9962 #if defined __stub_dlopen || defined __stub___dlopen
9974 rm -f conftest.$ac_objext conftest$ac_exeext
9975 if { (ac_try="$ac_link"
9977 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9978 *) ac_try_echo
=$ac_try;;
9980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9981 (eval "$ac_link") 2>conftest.er1
9983 grep -v '^ *+' conftest.er1
>conftest.err
9985 cat conftest.err
>&5
9986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9987 (exit $ac_status); } && {
9988 test -z "$ac_c_werror_flag" ||
9989 test ! -s conftest.err
9990 } && test -s conftest
$ac_exeext &&
9991 $as_test_x conftest
$ac_exeext; then
9992 ac_cv_func_dlopen
=yes
9994 echo "$as_me: failed program was:" >&5
9995 sed 's/^/| /' conftest.
$ac_ext >&5
9997 ac_cv_func_dlopen
=no
10000 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10001 conftest
$ac_exeext conftest.
$ac_ext
10003 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10004 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
10005 if test $ac_cv_func_dlopen = yes; then
10006 lt_cv_dlopen
="dlopen"
10008 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10009 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10010 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10011 echo $ECHO_N "(cached) $ECHO_C" >&6
10013 ac_check_lib_save_LIBS
=$LIBS
10015 cat >conftest.
$ac_ext <<_ACEOF
10018 cat confdefs.h
>>conftest.
$ac_ext
10019 cat >>conftest.
$ac_ext <<_ACEOF
10020 /* end confdefs.h. */
10022 /* Override any GCC internal prototype to avoid an error.
10023 Use char because int might match the return type of a GCC
10024 builtin and then its argument prototype would still apply. */
10037 rm -f conftest.
$ac_objext conftest
$ac_exeext
10038 if { (ac_try
="$ac_link"
10039 case "(($ac_try" in
10040 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10041 *) ac_try_echo=$ac_try;;
10043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10044 (eval "$ac_link") 2>conftest.er1
10046 grep -v '^ *+' conftest.er1 >conftest.err
10048 cat conftest.err >&5
10049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10050 (exit $ac_status); } && {
10051 test -z "$ac_c_werror_flag" ||
10052 test ! -s conftest.err
10053 } && test -s conftest$ac_exeext &&
10054 $as_test_x conftest$ac_exeext; then
10055 ac_cv_lib_dl_dlopen=yes
10057 echo "$as_me: failed program was:" >&5
10058 sed 's/^/| /' conftest.$ac_ext >&5
10060 ac_cv_lib_dl_dlopen=no
10063 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10064 conftest$ac_exeext conftest.$ac_ext
10065 LIBS=$ac_check_lib_save_LIBS
10067 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10068 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10069 if test $ac_cv_lib_dl_dlopen = yes; then
10070 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10072 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10073 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
10074 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10075 echo $ECHO_N "(cached) $ECHO_C" >&6
10077 ac_check_lib_save_LIBS=$LIBS
10078 LIBS="-lsvld $LIBS"
10079 cat >conftest.$ac_ext <<_ACEOF
10082 cat confdefs.h >>conftest.$ac_ext
10083 cat >>conftest.$ac_ext <<_ACEOF
10084 /* end confdefs.h. */
10086 /* Override any GCC internal prototype to avoid an error.
10087 Use char because int might match the return type of a GCC
10088 builtin and then its argument prototype would still apply. */
10101 rm -f conftest.$ac_objext conftest$ac_exeext
10102 if { (ac_try="$ac_link"
10103 case "(($ac_try" in
10104 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10105 *) ac_try_echo
=$ac_try;;
10107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10108 (eval "$ac_link") 2>conftest.er1
10110 grep -v '^ *+' conftest.er1
>conftest.err
10112 cat conftest.err
>&5
10113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10114 (exit $ac_status); } && {
10115 test -z "$ac_c_werror_flag" ||
10116 test ! -s conftest.err
10117 } && test -s conftest
$ac_exeext &&
10118 $as_test_x conftest
$ac_exeext; then
10119 ac_cv_lib_svld_dlopen
=yes
10121 echo "$as_me: failed program was:" >&5
10122 sed 's/^/| /' conftest.
$ac_ext >&5
10124 ac_cv_lib_svld_dlopen
=no
10127 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10128 conftest
$ac_exeext conftest.
$ac_ext
10129 LIBS
=$ac_check_lib_save_LIBS
10131 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10132 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
10133 if test $ac_cv_lib_svld_dlopen = yes; then
10134 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10136 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10137 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
10138 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10139 echo $ECHO_N "(cached) $ECHO_C" >&6
10141 ac_check_lib_save_LIBS
=$LIBS
10143 cat >conftest.
$ac_ext <<_ACEOF
10146 cat confdefs.h
>>conftest.
$ac_ext
10147 cat >>conftest.
$ac_ext <<_ACEOF
10148 /* end confdefs.h. */
10150 /* Override any GCC internal prototype to avoid an error.
10151 Use char because int might match the return type of a GCC
10152 builtin and then its argument prototype would still apply. */
10160 return dld_link ();
10165 rm -f conftest.
$ac_objext conftest
$ac_exeext
10166 if { (ac_try
="$ac_link"
10167 case "(($ac_try" in
10168 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10169 *) ac_try_echo=$ac_try;;
10171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10172 (eval "$ac_link") 2>conftest.er1
10174 grep -v '^ *+' conftest.er1 >conftest.err
10176 cat conftest.err >&5
10177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10178 (exit $ac_status); } && {
10179 test -z "$ac_c_werror_flag" ||
10180 test ! -s conftest.err
10181 } && test -s conftest$ac_exeext &&
10182 $as_test_x conftest$ac_exeext; then
10183 ac_cv_lib_dld_dld_link=yes
10185 echo "$as_me: failed program was:" >&5
10186 sed 's/^/| /' conftest.$ac_ext >&5
10188 ac_cv_lib_dld_dld_link=no
10191 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10192 conftest$ac_exeext conftest.$ac_ext
10193 LIBS=$ac_check_lib_save_LIBS
10195 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10196 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
10197 if test $ac_cv_lib_dld_dld_link = yes; then
10198 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
10219 if test "x$lt_cv_dlopen" != xno; then
10225 case $lt_cv_dlopen in
10227 save_CPPFLAGS="$CPPFLAGS"
10228 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10230 save_LDFLAGS="$LDFLAGS"
10231 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10234 LIBS="$lt_cv_dlopen_libs $LIBS"
10236 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10237 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
10238 if test "${lt_cv_dlopen_self+set}" = set; then
10239 echo $ECHO_N "(cached) $ECHO_C" >&6
10241 if test "$cross_compiling" = yes; then :
10242 lt_cv_dlopen_self=cross
10244 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10245 lt_status=$lt_dlunknown
10246 cat > conftest.$ac_ext <<EOF
10247 #line 10247 "configure"
10248 #include "confdefs.h"
10257 # define LT_DLGLOBAL RTLD_GLOBAL
10260 # define LT_DLGLOBAL DL_GLOBAL
10262 # define LT_DLGLOBAL 0
10266 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10267 find out it does not work in some platform. */
10268 #ifndef LT_DLLAZY_OR_NOW
10270 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10273 # define LT_DLLAZY_OR_NOW DL_LAZY
10276 # define LT_DLLAZY_OR_NOW RTLD_NOW
10279 # define LT_DLLAZY_OR_NOW DL_NOW
10281 # define LT_DLLAZY_OR_NOW 0
10289 extern "C" void exit (int);
10292 void fnord() { int i=42;}
10295 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10296 int status = $lt_dlunknown;
10300 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10301 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10302 /* dlclose (self); */
10310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10311 (eval $ac_link) 2>&5
10313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10314 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10315 (./conftest; exit; ) >&5 2>/dev/null
10317 case x$lt_status in
10318 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10319 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10320 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10323 # compilation failed
10324 lt_cv_dlopen_self=no
10331 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10332 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
10334 if test "x$lt_cv_dlopen_self" = xyes; then
10335 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10336 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10337 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
10338 if test "${lt_cv_dlopen_self_static+set}" = set; then
10339 echo $ECHO_N "(cached) $ECHO_C" >&6
10341 if test "$cross_compiling" = yes; then :
10342 lt_cv_dlopen_self_static=cross
10344 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10345 lt_status=$lt_dlunknown
10346 cat > conftest.$ac_ext <<EOF
10347 #line 10347 "configure"
10348 #include "confdefs.h"
10357 # define LT_DLGLOBAL RTLD_GLOBAL
10360 # define LT_DLGLOBAL DL_GLOBAL
10362 # define LT_DLGLOBAL 0
10366 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10367 find out it does not work in some platform. */
10368 #ifndef LT_DLLAZY_OR_NOW
10370 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10373 # define LT_DLLAZY_OR_NOW DL_LAZY
10376 # define LT_DLLAZY_OR_NOW RTLD_NOW
10379 # define LT_DLLAZY_OR_NOW DL_NOW
10381 # define LT_DLLAZY_OR_NOW 0
10389 extern "C" void exit (int);
10392 void fnord() { int i=42;}
10395 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10396 int status = $lt_dlunknown;
10400 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10401 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10402 /* dlclose (self); */
10410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10411 (eval $ac_link) 2>&5
10413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10414 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10415 (./conftest; exit; ) >&5 2>/dev/null
10417 case x$lt_status in
10418 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10419 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10420 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10423 # compilation failed
10424 lt_cv_dlopen_self_static=no
10431 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10432 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
10435 CPPFLAGS="$save_CPPFLAGS"
10436 LDFLAGS="$save_LDFLAGS"
10441 case $lt_cv_dlopen_self in
10442 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10443 *) enable_dlopen_self=unknown ;;
10446 case $lt_cv_dlopen_self_static in
10447 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10448 *) enable_dlopen_self_static=unknown ;;
10453 # Report which library types will actually be built
10454 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10455 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
10456 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
10457 echo "${ECHO_T}$can_build_shared" >&6; }
10459 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10460 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
10461 test "$can_build_shared" = "no" && enable_shared=no
10463 # On AIX, shared libraries and static libraries use the same namespace, and
10464 # are all built from PIC.
10467 test "$enable_shared" = yes && enable_static=no
10468 if test -n "$RANLIB"; then
10469 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10470 postinstall_cmds='$RANLIB $lib'
10475 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10476 test "$enable_shared" = yes && enable_static=no
10480 { echo "$as_me:$LINENO: result: $enable_shared" >&5
10481 echo "${ECHO_T}$enable_shared" >&6; }
10483 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10484 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
10485 # Make sure either enable_shared or enable_static is yes.
10486 test "$enable_shared" = yes || enable_static=yes
10487 { echo "$as_me:$LINENO: result: $enable_static" >&5
10488 echo "${ECHO_T}$enable_static" >&6; }
10490 # The else clause should only fire when bootstrapping the
10491 # libtool distribution, otherwise you forgot to ship ltmain.sh
10492 # with your package, and you will get complaints that there are
10493 # no rules to generate ltmain.sh.
10494 if test -f "$ltmain"; then
10495 # See if we are running on zsh, and set the options which allow our commands through
10496 # without removal of \ escapes.
10497 if test -n "${ZSH_VERSION+set}" ; then
10498 setopt NO_GLOB_SUBST
10500 # Now quote all the things that may contain metacharacters while being
10501 # careful not to overquote the AC_SUBSTed values. We take copies of the
10502 # variables and quote the copies for generation of the libtool script.
10503 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
10505 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10506 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10507 deplibs_check_method reload_flag reload_cmds need_locks \
10508 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10509 lt_cv_sys_global_symbol_to_c_name_address \
10510 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10511 old_postinstall_cmds old_postuninstall_cmds \
10515 lt_prog_compiler_wl \
10516 lt_prog_compiler_pic \
10517 lt_prog_compiler_static \
10518 lt_prog_compiler_no_builtin_flag \
10519 export_dynamic_flag_spec \
10520 thread_safe_flag_spec \
10521 whole_archive_flag_spec \
10522 enable_shared_with_static_runtimes \
10524 old_archive_from_new_cmds \
10529 compiler_lib_search_path \
10531 archive_expsym_cmds \
10533 postuninstall_cmds \
10534 old_archive_from_expsyms_cmds \
10535 allow_undefined_flag \
10536 no_undefined_flag \
10537 export_symbols_cmds \
10538 hardcode_libdir_flag_spec \
10539 hardcode_libdir_flag_spec_ld \
10540 hardcode_libdir_separator \
10541 hardcode_automatic \
10543 module_expsym_cmds \
10544 lt_cv_prog_compiler_c_o \
10546 include_expsyms; do
10549 old_archive_cmds | \
10550 old_archive_from_new_cmds | \
10552 archive_expsym_cmds | \
10554 module_expsym_cmds | \
10555 old_archive_from_expsyms_cmds | \
10556 export_symbols_cmds | \
10557 extract_expsyms_cmds | reload_cmds | finish_cmds | \
10558 postinstall_cmds | postuninstall_cmds | \
10559 old_postinstall_cmds | old_postuninstall_cmds | \
10560 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
10561 # Double-quote double-evaled strings.
10562 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
10565 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
10571 *'\$0 --fallback-echo"')
10572 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10576 cfgfile="${ofile}T"
10577 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
10579 { echo "$as_me:$LINENO: creating $ofile" >&5
10580 echo "$as_me: creating $ofile" >&6;}
10582 cat <<__EOF__ >> "$cfgfile"
10585 # `$echo "$cfgfile" |
sed 's%^.*/%%'` - Provide generalized library-building support services.
10586 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10587 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
10589 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
10590 # Free Software Foundation, Inc.
10592 # This file is part of GNU Libtool:
10593 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
10595 # This program is free software; you can redistribute it and/or modify
10596 # it under the terms of the GNU General Public License as published by
10597 # the Free Software Foundation; either version 2 of the License, or
10598 # (at your option) any later version.
10600 # This program is distributed in the hope that it will be useful, but
10601 # WITHOUT ANY WARRANTY; without even the implied warranty of
10602 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10603 # General Public License for more details.
10605 # You should have received a copy of the GNU General Public License
10606 # along with this program; if not, write to the Free Software
10607 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
10609 # As a special exception to the GNU General Public License, if you
10610 # distribute this file as part of a program that contains a
10611 # configuration script generated by Autoconf, you may include it under
10612 # the same distribution terms that you use for the rest of that program.
10614 # A sed program that does not truncate output.
10617 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
10618 Xsed="$SED -e 1s/^X//"
10620 # The HP-UX ksh and POSIX shell print the target directory to stdout
10621 # if CDPATH is set.
10622 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10624 # The names of the tagged configurations supported by this script.
10627 # ### BEGIN LIBTOOL CONFIG
10629 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
10631 # Shell to use when invoking shell scripts.
10634 # Whether or not to build shared libraries.
10635 build_libtool_libs=$enable_shared
10637 # Whether or not to build static libraries.
10638 build_old_libs=$enable_static
10640 # Whether or not to add -lc for building shared libraries.
10641 build_libtool_need_lc=$archive_cmds_need_lc
10643 # Whether or not to disallow shared libs when runtime libs are static
10644 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
10646 # Whether or not to optimize for fast installation.
10647 fast_install=$enable_fast_install
10650 host_alias=$host_alias
10654 # The build system.
10655 build_alias=$build_alias
10659 # An echo program that does not interpret backslashes.
10664 AR_FLAGS=$lt_AR_FLAGS
10669 # LTCC compiler flags.
10670 LTCFLAGS=$lt_LTCFLAGS
10672 # A language-specific compiler.
10675 # Is the compiler the GNU C compiler?
10681 # The linker used to build libraries.
10684 # Whether we need hard or soft links.
10687 # A BSD-compatible nm program.
10690 # A symbol stripping program
10693 # Used to examine libraries when file_magic_cmd begins "file"
10694 MAGIC_CMD=$MAGIC_CMD
10696 # Used on cygwin: DLL creation program.
10699 # Used on cygwin: object dumper.
10702 # Used on cygwin: assembler.
10705 # The name of the directory that contains temporary libtool files.
10708 # How to create reloadable object files.
10709 reload_flag=$lt_reload_flag
10710 reload_cmds=$lt_reload_cmds
10712 # How to pass a linker flag through the compiler.
10713 wl=$lt_lt_prog_compiler_wl
10715 # Object file suffix (normally "o").
10716 objext="$ac_objext"
10718 # Old archive suffix (normally "a").
10721 # Shared library suffix (normally ".so").
10722 shrext_cmds='$shrext_cmds'
10724 # Executable file suffix (normally "").
10727 # Additional compiler flags for building library objects.
10728 pic_flag=$lt_lt_prog_compiler_pic
10731 # What is the maximum length of a command?
10732 max_cmd_len=$lt_cv_sys_max_cmd_len
10734 # Does compiler simultaneously support -c and -o options?
10735 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
10737 # Must we lock files when doing compilation?
10738 need_locks=$lt_need_locks
10740 # Do we need the lib prefix for modules?
10741 need_lib_prefix=$need_lib_prefix
10743 # Do we need a version for libraries?
10744 need_version=$need_version
10746 # Whether dlopen is supported.
10747 dlopen_support=$enable_dlopen
10749 # Whether dlopen of programs is supported.
10750 dlopen_self=$enable_dlopen_self
10752 # Whether dlopen of statically linked programs is supported.
10753 dlopen_self_static=$enable_dlopen_self_static
10755 # Compiler flag to prevent dynamic linking.
10756 link_static_flag=$lt_lt_prog_compiler_static
10758 # Compiler flag to turn off builtin functions.
10759 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
10761 # Compiler flag to allow reflexive dlopens.
10762 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
10764 # Compiler flag to generate shared objects directly from archives.
10765 whole_archive_flag_spec=$lt_whole_archive_flag_spec
10767 # Compiler flag to generate thread-safe objects.
10768 thread_safe_flag_spec=$lt_thread_safe_flag_spec
10770 # Library versioning type.
10771 version_type=$version_type
10773 # Format of library name prefix.
10774 libname_spec=$lt_libname_spec
10776 # List of archive names. First name is the real one, the rest are links.
10777 # The last name is the one that the linker finds with -lNAME.
10778 library_names_spec=$lt_library_names_spec
10780 # The coded name of the library, if different from the real name.
10781 soname_spec=$lt_soname_spec
10783 # Commands used to build and install an old-style archive.
10785 old_archive_cmds=$lt_old_archive_cmds
10786 old_postinstall_cmds=$lt_old_postinstall_cmds
10787 old_postuninstall_cmds=$lt_old_postuninstall_cmds
10789 # Create an old-style archive from a shared archive.
10790 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
10792 # Create a temporary old-style archive to link instead of a shared archive.
10793 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
10795 # Commands used to build and install a shared archive.
10796 archive_cmds=$lt_archive_cmds
10797 archive_expsym_cmds=$lt_archive_expsym_cmds
10798 postinstall_cmds=$lt_postinstall_cmds
10799 postuninstall_cmds=$lt_postuninstall_cmds
10801 # Commands used to build a loadable module (assumed same as above if empty)
10802 module_cmds=$lt_module_cmds
10803 module_expsym_cmds=$lt_module_expsym_cmds
10805 # Commands to strip libraries.
10806 old_striplib=$lt_old_striplib
10807 striplib=$lt_striplib
10809 # Dependencies to place before the objects being linked to create a
10811 predep_objects=$lt_predep_objects
10813 # Dependencies to place after the objects being linked to create a
10815 postdep_objects=$lt_postdep_objects
10817 # Dependencies to place before the objects being linked to create a
10819 predeps=$lt_predeps
10821 # Dependencies to place after the objects being linked to create a
10823 postdeps=$lt_postdeps
10825 # The library search path used internally by the compiler when linking
10826 # a shared library.
10827 compiler_lib_search_path=$lt_compiler_lib_search_path
10829 # Method to check whether dependent libraries are shared objects.
10830 deplibs_check_method=$lt_deplibs_check_method
10832 # Command to use when deplibs_check_method == file_magic.
10833 file_magic_cmd=$lt_file_magic_cmd
10835 # Flag that allows shared libraries with undefined symbols to be built.
10836 allow_undefined_flag=$lt_allow_undefined_flag
10838 # Flag that forces no undefined symbols.
10839 no_undefined_flag=$lt_no_undefined_flag
10841 # Commands used to finish a libtool library installation in a directory.
10842 finish_cmds=$lt_finish_cmds
10844 # Same as above, but a single script fragment to be evaled but not shown.
10845 finish_eval=$lt_finish_eval
10847 # Take the output of nm and produce a listing of raw symbols and C names.
10848 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10850 # Transform the output of nm in a proper C declaration
10851 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10853 # Transform the output of nm in a C name address pair
10854 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10856 # This is the shared library runtime path variable.
10857 runpath_var=$runpath_var
10859 # This is the shared library path variable.
10860 shlibpath_var=$shlibpath_var
10862 # Is shlibpath searched before the hard-coded library search path?
10863 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10865 # How to hardcode a shared library path into an executable.
10866 hardcode_action=$hardcode_action
10868 # Whether we should hardcode library paths into libraries.
10869 hardcode_into_libs=$hardcode_into_libs
10871 # Flag to hardcode \$libdir into a binary during linking.
10872 # This must work even if \$libdir does not exist.
10873 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
10875 # If ld is used when linking, flag to hardcode \$libdir into
10876 # a binary during linking. This must work even if \$libdir does
10878 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
10880 # Whether we need a single -rpath flag with a separated argument.
10881 hardcode_libdir_separator=$lt_hardcode_libdir_separator
10883 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10884 # resulting binary.
10885 hardcode_direct=$hardcode_direct
10887 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10888 # resulting binary.
10889 hardcode_minus_L=$hardcode_minus_L
10891 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
10892 # the resulting binary.
10893 hardcode_shlibpath_var=$hardcode_shlibpath_var
10895 # Set to yes if building a shared library automatically hardcodes DIR into the library
10896 # and all subsequent libraries and executables linked against it.
10897 hardcode_automatic=$hardcode_automatic
10899 # Variables whose values should be saved in libtool wrapper scripts and
10900 # restored at relink time.
10901 variables_saved_for_relink="$variables_saved_for_relink"
10903 # Whether libtool must link a program against all its dependency libraries.
10904 link_all_deplibs=$link_all_deplibs
10906 # Compile-time system search path for libraries
10907 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
10909 # Run-time system search path for libraries
10910 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10912 # Fix the shell variable \$srcfile for the compiler.
10913 fix_srcfile_path="$fix_srcfile_path"
10915 # Set to yes if exported symbols are required.
10916 always_export_symbols=$always_export_symbols
10918 # The commands to list exported symbols.
10919 export_symbols_cmds=$lt_export_symbols_cmds
10921 # The commands to extract the exported symbol list from a shared archive.
10922 extract_expsyms_cmds=$lt_extract_expsyms_cmds
10924 # Symbols that should not be listed in the preloaded symbols.
10925 exclude_expsyms=$lt_exclude_expsyms
10927 # Symbols that must always be exported.
10928 include_expsyms=$lt_include_expsyms
10930 # ### END LIBTOOL CONFIG
10937 cat <<\EOF >> "$cfgfile"
10939 # AIX sometimes has problems with the GCC collect2 program. For some
10940 # reason, if we set the COLLECT_NAMES environment variable, the problems
10941 # vanish in a puff of smoke.
10942 if test "X${COLLECT_NAMES+set}" != Xset; then
10944 export COLLECT_NAMES
10950 # We use sed instead of cat because bash on DJGPP gets confused if
10951 # if finds mixed CR/LF and LF-only lines. Since sed operates in
10952 # text mode, it properly converts lines to CR/LF. This bash problem
10953 # is reportedly fixed, but why not run on old versions too?
10954 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
10956 mv -f "$cfgfile" "$ofile" || \
10957 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
10961 # If there is no Makefile yet, we rely on a make rule to execute
10962 # `config.status
--recheck' to rerun these tests and create the
10963 # libtool script then.
10964 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
10965 if test -f "$ltmain_in"; then
10966 test -f Makefile && make "$ltmain"
10972 ac_cpp='$CPP $CPPFLAGS'
10973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
10974 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
10975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10980 # Check whether --with-tags was given.
10981 if test "${with_tags+set}" = set; then
10982 withval=$with_tags; tagnames="$withval"
10986 if test -f "$ltmain" && test -n "$tagnames"; then
10987 if test ! -f "${ofile}"; then
10988 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist
" >&5
10989 echo "$as_me: WARNING
: output
file \
`$ofile' does not exist" >&2;}
10992 if test -z "$LTCC"; then
10993 eval "`$SHELL ${ofile} --config |
grep '^LTCC='`"
10994 if test -z "$LTCC"; then
10995 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
10996 echo "$as_me: WARNING: output file \`$ofile' does not
look like a libtool
script" >&2;}
10998 { echo "$as_me:$LINENO: WARNING
: using \
`LTCC=$LTCC', extracted from \`$ofile'" >&5
10999 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \
`$ofile'" >&2;}
11002 if test -z "$LTCFLAGS"; then
11003 eval "`$SHELL ${ofile} --config |
grep '^LTCFLAGS='`"
11006 # Extract list of available tagged configurations in $ofile.
11007 # Note that this assumes the entire list is on one line.
11008 available_tags=`grep "^available_tags=" "${ofile}" |
$SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
11010 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
11011 for tagname in $tagnames; do
11013 # Check whether tagname contains only valid characters
11014 case `$echo "X$tagname" |
$Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
11016 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
11017 echo "$as_me: error: invalid tag name: $tagname" >&2;}
11018 { (exit 1); exit 1; }; }
11022 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
11024 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
11025 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
11026 { (exit 1); exit 1; }; }
11029 # Update the list of available tags.
11030 if test -n "$tagname"; then
11031 echo appending configuration tag \"$tagname\" to $ofile
11035 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11036 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
11037 (test "X$CXX" != "Xg++"))) ; then
11039 ac_cpp='$CXXCPP $CPPFLAGS'
11040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11047 archive_cmds_need_lc_CXX=no
11048 allow_undefined_flag_CXX=
11049 always_export_symbols_CXX=no
11050 archive_expsym_cmds_CXX=
11051 export_dynamic_flag_spec_CXX=
11052 hardcode_direct_CXX=no
11053 hardcode_libdir_flag_spec_CXX=
11054 hardcode_libdir_flag_spec_ld_CXX=
11055 hardcode_libdir_separator_CXX=
11056 hardcode_minus_L_CXX=no
11057 hardcode_shlibpath_var_CXX=unsupported
11058 hardcode_automatic_CXX=no
11060 module_expsym_cmds_CXX=
11061 link_all_deplibs_CXX=unknown
11062 old_archive_cmds_CXX=$old_archive_cmds
11063 no_undefined_flag_CXX=
11064 whole_archive_flag_spec_CXX=
11065 enable_shared_with_static_runtimes_CXX=no
11067 # Dependencies to place before and after the object being linked:
11068 predep_objects_CXX=
11069 postdep_objects_CXX=
11072 compiler_lib_search_path_CXX=
11074 # Source file extension for C++ test sources.
11077 # Object file extension for compiled C++ test sources.
11081 # Code to be used in simple compile tests
11082 lt_simple_compile_test_code="int some_variable = 0;\n"
11084 # Code to be used in simple link tests
11085 lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
11087 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11089 # If no C compiler was specified, use CC.
11092 # If no C compiler flags were specified, use CFLAGS.
11093 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11095 # Allow CC to be a program name with arguments.
11099 # save warnings/boilerplate of simple test code
11100 ac_outfile=conftest.$ac_objext
11101 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
11102 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11103 _lt_compiler_boilerplate=`cat conftest.err
`
11106 ac_outfile=conftest.$ac_objext
11107 printf "$lt_simple_link_test_code" >conftest.$ac_ext
11108 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11109 _lt_linker_boilerplate=`cat conftest.err
`
11113 # Allow CC to be a program name with arguments.
11118 lt_save_with_gnu_ld=$with_gnu_ld
11119 lt_save_path_LD=$lt_cv_path_LD
11120 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11121 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11123 $as_unset lt_cv_prog_gnu_ld
11125 if test -n "${lt_cv_path_LDCXX+set}"; then
11126 lt_cv_path_LD=$lt_cv_path_LDCXX
11128 $as_unset lt_cv_path_LD
11130 test -z "${LDCXX+set}" || LD=$LDCXX
11134 for cc_temp in $compiler""; do
11136 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11137 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11142 cc_basename=`$echo "X$cc_temp" |
$Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11145 # We don't want -fno-exception wen compiling C++ code, so set the
11146 # no_builtin_flag separately
11147 if test "$GXX" = yes; then
11148 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
11150 lt_prog_compiler_no_builtin_flag_CXX=
11153 if test "$GXX" = yes; then
11154 # Set up default GNU C++ configuration
11157 # Check whether --with-gnu-ld was given.
11158 if test "${with_gnu_ld+set}" = set; then
11159 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
11165 if test "$GCC" = yes; then
11166 # Check if gcc -print-prog-name=ld gives a path.
11167 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
11168 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
11171 # gcc leaves a trailing carriage return which upsets mingw
11172 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
11174 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
11177 # Accept absolute paths.
11179 re_direlt='/[^/][^/]*/\.\./'
11180 # Canonicalize the pathname of ld
11181 ac_prog=`echo $ac_prog|
$SED 's%\\\\%/%g'`
11182 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
11183 ac_prog=`echo $ac_prog|
$SED "s%$re_direlt%/%"`
11185 test -z "$LD" && LD="$ac_prog"
11188 # If it fails, then pretend we aren't using GCC.
11192 # If it is relative, then search for the first ld in PATH.
11193 with_gnu_ld=unknown
11196 elif test "$with_gnu_ld" = yes; then
11197 { echo "$as_me:$LINENO: checking for GNU ld" >&5
11198 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
11200 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11201 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
11203 if test "${lt_cv_path_LD+set}" = set; then
11204 echo $ECHO_N "(cached) $ECHO_C" >&6
11206 if test -z "$LD"; then
11207 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11208 for ac_dir in $PATH; do
11210 test -z "$ac_dir" && ac_dir=.
11211 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11212 lt_cv_path_LD="$ac_dir/$ac_prog"
11213 # Check to see if the program is GNU ld. I'd rather use --version,
11214 # but apparently some variants of GNU ld only accept -v.
11215 # Break only if it was the GNU/non-GNU ld that we prefer.
11216 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
11217 *GNU* | *'with BFD'*)
11218 test "$with_gnu_ld" != no && break
11221 test "$with_gnu_ld" != yes && break
11228 lt_cv_path_LD="$LD" # Let the user override the test with a path.
11232 LD="$lt_cv_path_LD"
11233 if test -n "$LD"; then
11234 { echo "$as_me:$LINENO: result: $LD" >&5
11235 echo "${ECHO_T}$LD" >&6; }
11237 { echo "$as_me:$LINENO: result: no" >&5
11238 echo "${ECHO_T}no" >&6; }
11240 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11241 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11242 { (exit 1); exit 1; }; }
11243 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11244 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
11245 if test "${lt_cv_prog_gnu_ld+set}" = set; then
11246 echo $ECHO_N "(cached) $ECHO_C" >&6
11248 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11249 case `$LD -v 2>&1 </dev
/null
` in
11250 *GNU* | *'with BFD'*)
11251 lt_cv_prog_gnu_ld=yes
11254 lt_cv_prog_gnu_ld=no
11258 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11259 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
11260 with_gnu_ld=$lt_cv_prog_gnu_ld
11264 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11265 # archiving commands below assume that GNU ld is being used.
11266 if test "$with_gnu_ld" = yes; then
11267 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11268 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'
11270 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11271 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11273 # If archive_cmds runs LD, not CC, wlarc should be empty
11274 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11275 # investigate it a little bit more. (MM)
11278 # ancient GNU ld didn't support --whole-archive et. al.
11279 if eval "`$CC -print-prog-name=ld
` --help 2>&1" | \
11280 grep 'no-whole-archive' > /dev/null; then
11281 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11283 whole_archive_flag_spec_CXX=
11289 # A generic and very simple default shared library creation
11290 # command for GNU C++ for the case where it uses the native
11291 # linker, instead of GNU ld. If possible, this setting should
11292 # overridden to take advantage of the native linker features on
11293 # the platform it is being used on.
11294 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11297 # Commands to make compiler produce verbose output that lists
11298 # what "hidden" libraries, object files and flags are used when
11299 # linking a shared library.
11300 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11308 # PORTME: fill in a description of your system's C++ link characteristics
11309 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11310 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
11314 # FIXME: insert proper C++ library support
11318 if test "$host_cpu" = ia64; then
11319 # On IA64, the linker does run time linking by default, so we don't
11320 # have to do anything special.
11321 aix_use_runtimelinking=no
11322 exp_sym_flag='-Bexport'
11325 aix_use_runtimelinking=no
11327 # Test if we are trying to use run time linking or normal
11328 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11329 # need to do runtime linking.
11330 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
11331 for ld_flag in $LDFLAGS; do
11334 aix_use_runtimelinking=yes
11342 exp_sym_flag='-bexport'
11343 no_entry_flag='-bnoentry'
11346 # When large executables or shared objects are built, AIX ld can
11347 # have problems creating the table of contents. If linking a library
11348 # or program results in "error TOC overflow" add -mminimal-toc to
11349 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11350 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11352 archive_cmds_CXX=''
11353 hardcode_direct_CXX=yes
11354 hardcode_libdir_separator_CXX=':'
11355 link_all_deplibs_CXX=yes
11357 if test "$GXX" = yes; then
11358 case $host_os in aix4.[012]|aix4.[012].*)
11359 # We only want to do this on AIX 4.2 and lower, the check
11360 # below for broken collect2 doesn't work under 4.3+
11361 collect2name=`${CC} -print-prog-name=collect2
`
11362 if test -f "$collect2name" && \
11363 strings "$collect2name" | grep resolve_lib_name >/dev/null
11365 # We have reworked collect2
11366 hardcode_direct_CXX=yes
11368 # We have old collect2
11369 hardcode_direct_CXX=unsupported
11370 # It fails to find uninstalled libraries when the uninstalled
11371 # path is not listed in the libpath. Setting hardcode_minus_L
11372 # to unsupported forces relinking
11373 hardcode_minus_L_CXX=yes
11374 hardcode_libdir_flag_spec_CXX='-L$libdir'
11375 hardcode_libdir_separator_CXX=
11379 shared_flag='-shared'
11380 if test "$aix_use_runtimelinking" = yes; then
11381 shared_flag="$shared_flag "'${wl}-G'
11385 if test "$host_cpu" = ia64; then
11386 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11387 # chokes on -Wl,-G. The following line is correct:
11390 if test "$aix_use_runtimelinking" = yes; then
11391 shared_flag='${wl}-G'
11393 shared_flag='${wl}-bM:SRE'
11398 # It seems that -bexpall does not export symbols beginning with
11399 # underscore (_), so it is better to generate a list of symbols to export.
11400 always_export_symbols_CXX=yes
11401 if test "$aix_use_runtimelinking" = yes; then
11402 # Warning - without using the other runtime loading flags (-brtl),
11403 # -berok will link without error, but may produce a broken library.
11404 allow_undefined_flag_CXX='-berok'
11405 # Determine the default libpath from the value encoded in an empty executable.
11406 cat >conftest.$ac_ext <<_ACEOF
11409 cat confdefs.h >>conftest.$ac_ext
11410 cat >>conftest.$ac_ext <<_ACEOF
11411 /* end confdefs.h. */
11421 rm -f conftest.$ac_objext conftest$ac_exeext
11422 if { (ac_try="$ac_link"
11423 case "(($ac_try" in
11424 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11425 *) ac_try_echo
=$ac_try;;
11427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11428 (eval "$ac_link") 2>conftest.er1
11430 grep -v '^ *+' conftest.er1
>conftest.err
11432 cat conftest.err
>&5
11433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11434 (exit $ac_status); } && {
11435 test -z "$ac_cxx_werror_flag" ||
11436 test ! -s conftest.err
11437 } && test -s conftest
$ac_exeext &&
11438 $as_test_x conftest
$ac_exeext; then
11440 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11442 # Check for a 64-bit object if we didn't find anything.
11443 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11446 echo "$as_me: failed program was:" >&5
11447 sed 's/^/| /' conftest.
$ac_ext >&5
11452 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11453 conftest
$ac_exeext conftest.
$ac_ext
11454 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11456 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11458 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"
11460 if test "$host_cpu" = ia64
; then
11461 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
11462 allow_undefined_flag_CXX
="-z nodefs"
11463 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"
11465 # Determine the default libpath from the value encoded in an empty executable.
11466 cat >conftest.
$ac_ext <<_ACEOF
11469 cat confdefs.h
>>conftest.
$ac_ext
11470 cat >>conftest.
$ac_ext <<_ACEOF
11471 /* end confdefs.h. */
11481 rm -f conftest.
$ac_objext conftest
$ac_exeext
11482 if { (ac_try
="$ac_link"
11483 case "(($ac_try" in
11484 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11485 *) ac_try_echo=$ac_try;;
11487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11488 (eval "$ac_link") 2>conftest.er1
11490 grep -v '^ *+' conftest.er1 >conftest.err
11492 cat conftest.err >&5
11493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11494 (exit $ac_status); } && {
11495 test -z "$ac_cxx_werror_flag" ||
11496 test ! -s conftest.err
11497 } && test -s conftest$ac_exeext &&
11498 $as_test_x conftest$ac_exeext; then
11500 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11502 # Check for a 64-bit object if we didn't find anything.
11503 if test -z "$aix_libpath"; then aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11506 echo "$as_me: failed program was:" >&5
11507 sed 's/^/| /' conftest.$ac_ext >&5
11512 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11513 conftest$ac_exeext conftest.$ac_ext
11514 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11516 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11517 # Warning - without using the other run time loading flags,
11518 # -berok will link without error, but may produce a broken library.
11519 no_undefined_flag_CXX=' ${wl}-bernotok'
11520 allow_undefined_flag_CXX=' ${wl}-berok'
11521 # Exported symbols can be pulled into shared objects from archives
11522 whole_archive_flag_spec_CXX='$convenience'
11523 archive_cmds_need_lc_CXX=yes
11524 # This is similar to how AIX traditionally builds its shared libraries.
11525 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'
11531 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11532 allow_undefined_flag_CXX=unsupported
11533 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11534 # support --undefined. This deserves some investigation. FIXME
11535 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11542 case $cc_basename in
11544 # FIXME: insert proper C++ library support
11550 cygwin* | mingw* | pw32*)
11551 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11552 # as there is no search path for DLLs.
11553 hardcode_libdir_flag_spec_CXX='-L$libdir'
11554 allow_undefined_flag_CXX=unsupported
11555 always_export_symbols_CXX=no
11556 enable_shared_with_static_runtimes_CXX=yes
11558 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11559 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'
11560 # If the export-symbols file already is a .def file (1st line
11561 # is EXPORTS), use it as is; otherwise, prepend...
11562 archive_expsym_cmds_CXX='if test "x`$SED 1q
$export_symbols`" = xEXPORTS; then
11563 cp $export_symbols $output_objdir/$soname.def;
11565 echo EXPORTS > $output_objdir/$soname.def;
11566 cat $export_symbols >> $output_objdir/$soname.def;
11568 $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'
11573 darwin* | rhapsody*)
11575 rhapsody* | darwin1.[012])
11576 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11579 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
11580 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11582 case ${MACOSX_DEPLOYMENT_TARGET} in
11584 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11587 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11593 archive_cmds_need_lc_CXX=no
11594 hardcode_direct_CXX=no
11595 hardcode_automatic_CXX=yes
11596 hardcode_shlibpath_var_CXX=unsupported
11597 whole_archive_flag_spec_CXX=''
11598 link_all_deplibs_CXX=yes
11600 if test "$GXX" = yes ; then
11601 lt_int_apple_cc_single_mod=no
11602 output_verbose_link_cmd='echo'
11603 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
11604 lt_int_apple_cc_single_mod=yes
11606 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11607 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11609 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'
11611 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11612 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11613 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11614 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}'
11616 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}'
11618 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}'
11620 case $cc_basename in
11622 output_verbose_link_cmd='echo'
11623 archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
11624 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11625 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11626 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 $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11627 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}'
11637 case $cc_basename in
11639 # FIXME: insert proper C++ library support
11643 # Green Hills C++ Compiler
11644 # FIXME: insert proper C++ library support
11648 # FIXME: insert proper C++ library support
11654 # C++ shared libraries reported to be fairly broken before switch to ELF
11658 archive_cmds_need_lc_CXX=no
11660 freebsd* | kfreebsd*-gnu | dragonfly*)
11661 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11668 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11669 hardcode_libdir_separator_CXX=:
11670 export_dynamic_flag_spec_CXX='${wl}-E'
11671 hardcode_direct_CXX=yes
11672 hardcode_minus_L_CXX=yes # Not in the search PATH,
11673 # but as the default
11674 # location of the library.
11676 case $cc_basename in
11678 # FIXME: insert proper C++ library support
11682 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'
11683 # Commands to make compiler produce verbose output that lists
11684 # what "hidden" libraries, object files and flags are used when
11685 # linking a shared library.
11687 # There doesn't appear to be a way to prevent this compiler from
11688 # explicitly linking system object files so we need to strip them
11689 # from the output so that they don't get included in the library
11691 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'
11694 if test "$GXX" = yes; then
11695 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'
11697 # FIXME: insert proper C++ library support
11704 if test $with_gnu_ld = no; then
11705 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11706 hardcode_libdir_separator_CXX=:
11710 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
11713 export_dynamic_flag_spec_CXX='${wl}-E'
11719 hardcode_direct_CXX=no
11720 hardcode_shlibpath_var_CXX=no
11723 hardcode_direct_CXX=yes
11724 hardcode_minus_L_CXX=yes # Not in the search PATH,
11725 # but as the default
11726 # location of the library.
11730 case $cc_basename in
11732 # FIXME: insert proper C++ library support
11738 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11741 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11744 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11747 # Commands to make compiler produce verbose output that lists
11748 # what "hidden" libraries, object files and flags are used when
11749 # linking a shared library.
11751 # There doesn't appear to be a way to prevent this compiler from
11752 # explicitly linking system object files so we need to strip them
11753 # from the output so that they don't get included in the library
11755 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'
11758 if test "$GXX" = yes; then
11759 if test $with_gnu_ld = no; then
11762 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11765 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11768 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'
11773 # FIXME: insert proper C++ library support
11780 hardcode_direct_CXX=no
11781 hardcode_shlibpath_var_CXX=no
11782 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11783 export_dynamic_flag_spec_CXX='${wl}-E'
11784 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11785 # Instead, shared libraries are loaded at an image base (0x10000000 by
11786 # default) and relocated if they conflict, which is a slow very memory
11787 # consuming and fragmenting process. To avoid this, we pick a random,
11788 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11789 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11790 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'
11791 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'
11794 case $cc_basename in
11797 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'
11799 # Archives containing C++ object files must be created using
11800 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11801 # necessary to make sure instantiated templates are included
11803 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11806 if test "$GXX" = yes; then
11807 if test "$with_gnu_ld" = no; then
11808 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'
11810 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'
11813 link_all_deplibs_CXX=yes
11816 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11817 hardcode_libdir_separator_CXX=:
11820 case $cc_basename in
11822 # Kuck and Associates, Inc. (KAI) C++ Compiler
11824 # KCC will only create a shared library if the output file
11825 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11826 # to its proper name (with version) after linking.
11827 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'
11828 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'
11829 # Commands to make compiler produce verbose output that lists
11830 # what "hidden" libraries, object files and flags are used when
11831 # linking a shared library.
11833 # There doesn't appear to be a way to prevent this compiler from
11834 # explicitly linking system object files so we need to strip them
11835 # from the output so that they don't get included in the library
11837 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'
11839 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
11840 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11842 # Archives containing C++ object files must be created using
11843 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11844 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11849 # version 8.0 and above of icpc choke on multiply defined symbols
11850 # if we add $predep_objects and $postdep_objects, however 7.1 and
11851 # earlier do not add the objects themselves.
11852 case `$CC -V 2>&1` in
11854 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11855 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'
11857 *) # Version 8.0 or newer
11860 ia64
*) tmp_idyn
=' -i_dynamic';;
11862 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11863 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'
11866 archive_cmds_need_lc_CXX
=no
11867 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11868 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11869 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11872 # Portland Group C++ compiler
11873 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11874 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'
11876 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
11877 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11878 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'
11882 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11883 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'
11885 runpath_var
=LD_RUN_PATH
11886 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11887 hardcode_libdir_separator_CXX
=:
11889 # Commands to make compiler produce verbose output that lists
11890 # what "hidden" libraries, object files and flags are used when
11891 # linking a shared library.
11893 # There doesn't appear to be a way to prevent this compiler from
11894 # explicitly linking system object files so we need to strip them
11895 # from the output so that they don't get included in the library
11897 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'
11902 # FIXME: insert proper C++ library support
11906 # FIXME: insert proper C++ library support
11910 case $cc_basename in
11912 # FIXME: insert proper C++ library support
11916 # FIXME: insert proper C++ library support
11922 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
11923 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11925 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11926 hardcode_direct_CXX
=yes
11927 hardcode_shlibpath_var_CXX
=no
11929 # Workaround some broken pre-1.5 toolchains
11930 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11933 # C++ shared libraries are fairly broken
11937 hardcode_direct_CXX
=yes
11938 hardcode_shlibpath_var_CXX
=no
11939 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11940 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11941 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11942 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11943 export_dynamic_flag_spec_CXX
='${wl}-E'
11944 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11946 output_verbose_link_cmd
='echo'
11949 case $cc_basename in
11951 # Kuck and Associates, Inc. (KAI) C++ Compiler
11953 # KCC will only create a shared library if the output file
11954 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11955 # to its proper name (with version) after linking.
11956 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'
11958 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11959 hardcode_libdir_separator_CXX
=:
11961 # Archives containing C++ object files must be created using
11962 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11963 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11967 # Rational C++ 2.4.1
11968 # FIXME: insert proper C++ library support
11972 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11973 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'
11975 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11976 hardcode_libdir_separator_CXX
=:
11978 # Commands to make compiler produce verbose output that lists
11979 # what "hidden" libraries, object files and flags are used when
11980 # linking a shared library.
11982 # There doesn't appear to be a way to prevent this compiler from
11983 # explicitly linking system object files so we need to strip them
11984 # from the output so that they don't get included in the library
11986 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'
11989 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11990 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11991 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'
11993 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11994 hardcode_libdir_separator_CXX
=:
11996 # Commands to make compiler produce verbose output that lists
11997 # what "hidden" libraries, object files and flags are used when
11998 # linking a shared library.
11999 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12002 # FIXME: insert proper C++ library support
12009 case $cc_basename in
12011 # Kuck and Associates, Inc. (KAI) C++ Compiler
12013 # KCC will only create a shared library if the output file
12014 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12015 # to its proper name (with version) after linking.
12016 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'
12018 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12019 hardcode_libdir_separator_CXX
=:
12021 # Archives containing C++ object files must be created using
12022 # the KAI C++ compiler.
12023 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
12026 # Rational C++ 2.4.1
12027 # FIXME: insert proper C++ library support
12031 allow_undefined_flag_CXX
=' -expect_unresolved \*'
12032 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'
12033 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12034 echo "-hidden">> $lib.exp~
12035 $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~
12038 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12039 hardcode_libdir_separator_CXX
=:
12041 # Commands to make compiler produce verbose output that lists
12042 # what "hidden" libraries, object files and flags are used when
12043 # linking a shared library.
12045 # There doesn't appear to be a way to prevent this compiler from
12046 # explicitly linking system object files so we need to strip them
12047 # from the output so that they don't get included in the library
12049 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'
12052 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12053 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12054 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'
12056 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12057 hardcode_libdir_separator_CXX
=:
12059 # Commands to make compiler produce verbose output that lists
12060 # what "hidden" libraries, object files and flags are used when
12061 # linking a shared library.
12062 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12065 # FIXME: insert proper C++ library support
12072 # FIXME: insert proper C++ library support
12076 case $cc_basename in
12079 # FIXME: insert proper C++ library support
12084 # FIXME: insert proper C++ library support
12088 # FIXME: insert proper C++ library support
12094 case $cc_basename in
12096 # Sun C++ 4.2, 5.x and Centerline C++
12097 archive_cmds_need_lc_CXX
=yes
12098 no_undefined_flag_CXX
=' -zdefs'
12099 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12100 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12101 $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'
12103 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12104 hardcode_shlibpath_var_CXX
=no
12106 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12108 # The C++ compiler is used as linker so we must use $wl
12109 # flag to pass the commands to the underlying system
12110 # linker. We must also pass each convience library through
12111 # to the system linker between allextract/defaultextract.
12112 # The C++ compiler will combine linker options so we
12113 # cannot just pass the convience library names through
12115 # Supported since Solaris 2.6 (maybe 2.5.1?)
12116 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
12119 link_all_deplibs_CXX
=yes
12121 output_verbose_link_cmd
='echo'
12123 # Archives containing C++ object files must be created using
12124 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12125 # necessary to make sure instantiated templates are included
12127 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12130 # Green Hills C++ Compiler
12131 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12133 # The C++ compiler must be used to create the archive.
12134 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12137 # GNU C++ compiler with Solaris linker
12138 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12139 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
12140 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
12141 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12142 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12143 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12145 # Commands to make compiler produce verbose output that lists
12146 # what "hidden" libraries, object files and flags are used when
12147 # linking a shared library.
12148 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12150 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12152 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12153 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12154 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12156 # Commands to make compiler produce verbose output that lists
12157 # what "hidden" libraries, object files and flags are used when
12158 # linking a shared library.
12159 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12162 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
12167 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12168 no_undefined_flag_CXX
='${wl}-z,text'
12169 archive_cmds_need_lc_CXX
=no
12170 hardcode_shlibpath_var_CXX
=no
12171 runpath_var
='LD_RUN_PATH'
12173 case $cc_basename in
12175 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12176 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12179 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12180 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12184 sysv5
* | sco3.2v5
* | sco5v6
*)
12185 # Note: We can NOT use -z defs as we might desire, because we do not
12186 # link with -lc, and that would cause any symbols used from libc to
12187 # always be unresolved, which means just about no library would
12188 # ever link correctly. If we're not using GNU ld we use -z text
12189 # though, which does catch some bad symbols but isn't as heavy-handed
12191 # For security reasons, it is highly recommended that you always
12192 # use absolute paths for naming shared libraries, and exclude the
12193 # DT_RUNPATH tag from executables and libraries. But doing so
12194 # requires that you compile everything twice, which is a pain.
12195 # So that behaviour is only enabled if SCOABSPATH is set to a
12196 # non-empty value in the environment. Most likely only useful for
12197 # creating official distributions of packages.
12198 # This is a hack until libtool officially supports absolute path
12199 # names for shared libraries.
12200 no_undefined_flag_CXX
='${wl}-z,text'
12201 allow_undefined_flag_CXX
='${wl}-z,nodefs'
12202 archive_cmds_need_lc_CXX
=no
12203 hardcode_shlibpath_var_CXX
=no
12204 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
12205 hardcode_libdir_separator_CXX
=':'
12206 link_all_deplibs_CXX
=yes
12207 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
12208 runpath_var
='LD_RUN_PATH'
12210 case $cc_basename in
12212 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12213 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12216 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12217 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12222 case $cc_basename in
12224 # NonStop-UX NCC 3.20
12225 # FIXME: insert proper C++ library support
12229 # FIXME: insert proper C++ library support
12235 # FIXME: insert proper C++ library support
12239 # FIXME: insert proper C++ library support
12243 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12244 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12245 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12251 ## There is no encapsulation within the following macros, do not change
12252 ## the running order or otherwise move them around unless you know exactly
12253 ## what you are doing...
12255 cat > conftest.
$ac_ext <<EOF
12259 Foo (void) { a = 0; }
12265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12266 (eval $ac_compile) 2>&5
12268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12269 (exit $ac_status); }; then
12270 # Parse the compiler output and extract the necessary
12271 # objects, libraries and library flags.
12273 # Sentinel used to keep track of whether or not we are before
12274 # the conftest object file.
12275 pre_test_object_deps_done
=no
12277 # The `*' in the case matches for architectures that use `case' in
12278 # $output_verbose_cmd can trigger glob expansion during the loop
12279 # eval without this substitution.
12280 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12282 for p
in `eval $output_verbose_link_cmd`; do
12286 # Some compilers place space between "-{L,R}" and the path.
12287 # Remove the space.
12288 if test $p = "-L" \
12289 ||
test $p = "-R"; then
12296 if test "$pre_test_object_deps_done" = no
; then
12299 # Internal compiler library paths should come after those
12300 # provided the user. The postdeps already come after the
12301 # user supplied libs so there is no need to process them.
12302 if test -z "$compiler_lib_search_path_CXX"; then
12303 compiler_lib_search_path_CXX
="${prev}${p}"
12305 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
12308 # The "-l" case would never come before the object being
12309 # linked, so don't bother handling this case.
12312 if test -z "$postdeps_CXX"; then
12313 postdeps_CXX
="${prev}${p}"
12315 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
12321 # This assumes that the test object file only shows up
12322 # once in the compiler output.
12323 if test "$p" = "conftest.$objext"; then
12324 pre_test_object_deps_done
=yes
12328 if test "$pre_test_object_deps_done" = no
; then
12329 if test -z "$predep_objects_CXX"; then
12330 predep_objects_CXX
="$p"
12332 predep_objects_CXX
="$predep_objects_CXX $p"
12335 if test -z "$postdep_objects_CXX"; then
12336 postdep_objects_CXX
="$p"
12338 postdep_objects_CXX
="$postdep_objects_CXX $p"
12343 *) ;; # Ignore the rest.
12351 echo "libtool.m4: error: problem compiling CXX test program"
12354 $rm -f confest.
$objext
12356 # PORTME: override above test on systems where it is broken
12359 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12360 # hack all around it, let's just trust "g++" to DTRT.
12361 predep_objects_CXX
=
12362 postdep_objects_CXX
=
12367 case $cc_basename in
12369 # Adding this requires a known-good setup of shared libraries for
12370 # Sun compiler versions before 5.6, else PIC objects from an old
12371 # archive will be linked into the output, leading to subtle bugs.
12372 postdeps_CXX
='-lCstd -lCrun'
12379 case " $postdeps_CXX " in
12380 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
12383 lt_prog_compiler_wl_CXX
=
12384 lt_prog_compiler_pic_CXX
=
12385 lt_prog_compiler_static_CXX
=
12387 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12388 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
12390 # C++ specific cases for pic, static, wl, etc.
12391 if test "$GXX" = yes; then
12392 lt_prog_compiler_wl_CXX
='-Wl,'
12393 lt_prog_compiler_static_CXX
='-static'
12397 # All AIX code is PIC.
12398 if test "$host_cpu" = ia64
; then
12399 # AIX 5 now supports IA64 processor
12400 lt_prog_compiler_static_CXX
='-Bstatic'
12404 # FIXME: we need at least 68020 code to build shared libraries, but
12405 # adding the `-m68020' flag to GCC prevents building anything better,
12407 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
12409 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12410 # PIC is the default for these OSes.
12412 mingw
* | os2
* | pw32
*)
12413 # This hack is so that the source file can tell whether it is being
12414 # built for inclusion in a dll (and should export symbols for example).
12415 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
12417 darwin
* | rhapsody
*)
12418 # PIC is the default on this platform
12419 # Common symbols not allowed in MH_DYLIB files
12420 lt_prog_compiler_pic_CXX
='-fno-common'
12423 # DJGPP does not support shared libraries at all
12424 lt_prog_compiler_pic_CXX
=
12427 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12428 # Instead, we relocate shared libraries at runtime.
12431 if test -d /usr
/nec
; then
12432 lt_prog_compiler_pic_CXX
=-Kconform_pic
12436 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12437 # not for PA HP-UX.
12442 lt_prog_compiler_pic_CXX
='-fPIC'
12447 lt_prog_compiler_pic_CXX
='-fPIC'
12453 # All AIX code is PIC.
12454 if test "$host_cpu" = ia64
; then
12455 # AIX 5 now supports IA64 processor
12456 lt_prog_compiler_static_CXX
='-Bstatic'
12458 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
12462 case $cc_basename in
12464 # Green Hills C++ Compiler
12465 # _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"
12470 # PIC is the default on this platform
12471 # Common symbols not allowed in MH_DYLIB files
12472 case $cc_basename in
12474 lt_prog_compiler_pic_CXX
='-qnocommon'
12475 lt_prog_compiler_wl_CXX
='-Wl,'
12480 case $cc_basename in
12482 lt_prog_compiler_pic_CXX
='-KPIC'
12485 # Green Hills C++ Compiler
12486 lt_prog_compiler_pic_CXX
='-pic'
12492 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
12493 # FreeBSD uses GNU C++
12495 hpux9
* | hpux10
* | hpux11
*)
12496 case $cc_basename in
12498 lt_prog_compiler_wl_CXX
='-Wl,'
12499 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12500 if test "$host_cpu" != ia64
; then
12501 lt_prog_compiler_pic_CXX
='+Z'
12505 lt_prog_compiler_wl_CXX
='-Wl,'
12506 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12512 lt_prog_compiler_pic_CXX
='+Z'
12521 # This is c89, which is MS Visual C++ (no shared libs)
12522 # Anyone wants to do a port?
12524 irix5
* | irix6
* | nonstopux
*)
12525 case $cc_basename in
12527 lt_prog_compiler_wl_CXX
='-Wl,'
12528 lt_prog_compiler_static_CXX
='-non_shared'
12529 # CC pic flag -KPIC is the default.
12536 case $cc_basename in
12539 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12540 lt_prog_compiler_pic_CXX
='-fPIC'
12544 lt_prog_compiler_wl_CXX
='-Wl,'
12545 lt_prog_compiler_pic_CXX
='-KPIC'
12546 lt_prog_compiler_static_CXX
='-static'
12549 # Portland Group C++ compiler.
12550 lt_prog_compiler_wl_CXX
='-Wl,'
12551 lt_prog_compiler_pic_CXX
='-fpic'
12552 lt_prog_compiler_static_CXX
='-Bstatic'
12556 # Make sure the PIC flag is empty. It appears that all Alpha
12557 # Linux and Compaq Tru64 Unix objects are PIC.
12558 lt_prog_compiler_pic_CXX
=
12559 lt_prog_compiler_static_CXX
='-non_shared'
12570 case $cc_basename in
12572 lt_prog_compiler_pic_CXX
='-W c,exportall'
12580 osf3
* | osf4
* | osf5
*)
12581 case $cc_basename in
12583 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12586 # Rational C++ 2.4.1
12587 lt_prog_compiler_pic_CXX
='-pic'
12590 # Digital/Compaq C++
12591 lt_prog_compiler_wl_CXX
='-Wl,'
12592 # Make sure the PIC flag is empty. It appears that all Alpha
12593 # Linux and Compaq Tru64 Unix objects are PIC.
12594 lt_prog_compiler_pic_CXX
=
12595 lt_prog_compiler_static_CXX
='-non_shared'
12604 case $cc_basename in
12606 # Sun C++ 4.2, 5.x and Centerline C++
12607 lt_prog_compiler_pic_CXX
='-KPIC'
12608 lt_prog_compiler_static_CXX
='-Bstatic'
12609 lt_prog_compiler_wl_CXX
='-Qoption ld '
12612 # Green Hills C++ Compiler
12613 lt_prog_compiler_pic_CXX
='-PIC'
12620 case $cc_basename in
12623 lt_prog_compiler_pic_CXX
='-pic'
12624 lt_prog_compiler_static_CXX
='-Bstatic'
12628 lt_prog_compiler_pic_CXX
='-pic'
12635 case $cc_basename in
12637 # NonStop-UX NCC 3.20
12638 lt_prog_compiler_pic_CXX
='-KPIC'
12644 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12645 case $cc_basename in
12647 lt_prog_compiler_wl_CXX
='-Wl,'
12648 lt_prog_compiler_pic_CXX
='-KPIC'
12649 lt_prog_compiler_static_CXX
='-Bstatic'
12656 lt_prog_compiler_can_build_shared_CXX
=no
12661 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12662 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
12665 # Check to make sure the PIC flag actually works.
12667 if test -n "$lt_prog_compiler_pic_CXX"; then
12669 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12670 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
12671 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12672 echo $ECHO_N "(cached) $ECHO_C" >&6
12674 lt_prog_compiler_pic_works_CXX
=no
12675 ac_outfile
=conftest.
$ac_objext
12676 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12677 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
12678 # Insert the option either (1) after the last *FLAGS variable, or
12679 # (2) before a word containing "conftest.", or (3) at the end.
12680 # Note that $ac_compile itself does not contain backslashes and begins
12681 # with a dollar sign (not a hyphen), so the echo should work correctly.
12682 # The option is referenced via a variable to avoid confusing sed.
12683 lt_compile
=`echo "$ac_compile" | $SED \
12684 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12685 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12686 -e 's:$: $lt_compiler_flag:'`
12687 (eval echo "\"\$as_me:12687: $lt_compile\"" >&5)
12688 (eval "$lt_compile" 2>conftest.err
)
12690 cat conftest.err
>&5
12691 echo "$as_me:12691: \$? = $ac_status" >&5
12692 if (exit $ac_status) && test -s "$ac_outfile"; then
12693 # The compiler can only warn and ignore the option if not recognized
12694 # So say no if there are warnings other than the usual output.
12695 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
12696 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12697 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
12698 lt_prog_compiler_pic_works_CXX
=yes
12704 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12705 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
12707 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
12708 case $lt_prog_compiler_pic_CXX in
12710 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
12713 lt_prog_compiler_pic_CXX
=
12714 lt_prog_compiler_can_build_shared_CXX
=no
12719 # For platforms which do not support PIC, -DPIC is meaningless:
12721 lt_prog_compiler_pic_CXX
=
12724 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
12729 # Check to make sure the static flag actually works.
12731 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
12732 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12733 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
12734 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
12735 echo $ECHO_N "(cached) $ECHO_C" >&6
12737 lt_prog_compiler_static_works_CXX
=no
12738 save_LDFLAGS
="$LDFLAGS"
12739 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
12740 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
12741 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12742 # The linker can only warn and ignore the option if not recognized
12743 # So say no if there are warnings
12744 if test -s conftest.err
; then
12745 # Append any errors to the config.log.
12746 cat conftest.err
1>&5
12747 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
12748 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12749 if diff conftest.exp conftest.er2
>/dev
/null
; then
12750 lt_prog_compiler_static_works_CXX
=yes
12753 lt_prog_compiler_static_works_CXX
=yes
12757 LDFLAGS
="$save_LDFLAGS"
12760 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12761 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
12763 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
12766 lt_prog_compiler_static_CXX
=
12770 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12771 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
12772 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12773 echo $ECHO_N "(cached) $ECHO_C" >&6
12775 lt_cv_prog_compiler_c_o_CXX
=no
12776 $rm -r conftest
2>/dev
/null
12780 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12782 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12783 # Insert the option either (1) after the last *FLAGS variable, or
12784 # (2) before a word containing "conftest.", or (3) at the end.
12785 # Note that $ac_compile itself does not contain backslashes and begins
12786 # with a dollar sign (not a hyphen), so the echo should work correctly.
12787 lt_compile
=`echo "$ac_compile" | $SED \
12788 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12789 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12790 -e 's:$: $lt_compiler_flag:'`
12791 (eval echo "\"\$as_me:12791: $lt_compile\"" >&5)
12792 (eval "$lt_compile" 2>out
/conftest.err
)
12794 cat out
/conftest.err
>&5
12795 echo "$as_me:12795: \$? = $ac_status" >&5
12796 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12798 # The compiler can only warn and ignore the option if not recognized
12799 # So say no if there are warnings
12800 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
12801 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12802 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12803 lt_cv_prog_compiler_c_o_CXX
=yes
12808 # SGI C++ compiler will create directory out/ii_files/ for
12809 # template instantiation
12810 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
12811 $rm out
/* && rmdir out
12817 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12818 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
12821 hard_links
="nottested"
12822 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
12823 # do not overwrite the value of need_locks provided by the user
12824 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12825 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
12828 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12830 ln conftest.a conftest.b
2>&5 || hard_links
=no
12831 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12832 { echo "$as_me:$LINENO: result: $hard_links" >&5
12833 echo "${ECHO_T}$hard_links" >&6; }
12834 if test "$hard_links" = no
; then
12835 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12836 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12843 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12844 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12846 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12849 # If we're using GNU nm, then we don't want the "-C" option.
12850 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12851 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
12852 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'
12854 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'
12858 export_symbols_cmds_CXX
="$ltdll_cmds"
12861 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'
12864 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12868 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12869 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12870 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12873 # Do we need to explicitly link libc?
12875 case "x$archive_cmds_need_lc_CXX" in
12877 # Assume -lc should be added
12878 archive_cmds_need_lc_CXX
=yes
12880 if test "$enable_shared" = yes && test "$GCC" = yes; then
12881 case $archive_cmds_CXX in
12883 # FIXME: we may have to deal with multi-command sequences.
12886 # Test whether the compiler implicitly links with -lc since on some
12887 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12888 # to ld, don't add -lc before -lgcc.
12889 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12890 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
12892 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12895 (eval $ac_compile) 2>&5
12897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12898 (exit $ac_status); } 2>conftest.err
; then
12901 libobjs
=conftest.
$ac_objext
12903 wl
=$lt_prog_compiler_wl_CXX
12904 pic_flag
=$lt_prog_compiler_pic_CXX
12910 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
12911 allow_undefined_flag_CXX
=
12912 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
12913 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12916 (exit $ac_status); }
12918 archive_cmds_need_lc_CXX
=no
12920 archive_cmds_need_lc_CXX
=yes
12922 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
12924 cat conftest.err
1>&5
12927 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12928 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
12935 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12936 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
12937 library_names_spec
=
12938 libname_spec
='lib$name'
12942 postuninstall_cmds
=
12946 shlibpath_overrides_runpath
=unknown
12948 dynamic_linker
="$host_os ld.so"
12949 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
12950 if test "$GCC" = yes; then
12951 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12952 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
12953 # if the path contains ";" then we assume it to be the separator
12954 # otherwise default to the standard path separator (i.e. ":") - it is
12955 # assumed that no part of a normal pathname contains ";" but that should
12956 # okay in the real world where ";" in dirpaths is itself problematic.
12957 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12959 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12962 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
12964 need_lib_prefix
=unknown
12965 hardcode_into_libs
=no
12967 # when you set need_version to no, make sure it does not cause -set_version
12968 # flags to be left without arguments
12969 need_version
=unknown
12974 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
12975 shlibpath_var
=LIBPATH
12977 # AIX 3 has no versioning support, so we append a major version to the name.
12978 soname_spec
='${libname}${release}${shared_ext}$major'
12985 hardcode_into_libs
=yes
12986 if test "$host_cpu" = ia64
; then
12987 # AIX 5 supports IA64
12988 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12989 shlibpath_var
=LD_LIBRARY_PATH
12991 # With GCC up to 2.95.x, collect2 would create an import file
12992 # for dependence libraries. The import file would start with
12993 # the line `#! .'. This would cause the generated library to
12994 # depend on `.', always an invalid library. This was fixed in
12995 # development snapshots of GCC prior to 3.0.
12997 aix4 | aix4.
[01] | aix4.
[01].
*)
12998 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13000 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
13003 can_build_shared
=no
13007 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13008 # soname into executable. Probably we can add versioning support to
13009 # collect2, so additional links can be useful in future.
13010 if test "$aix_use_runtimelinking" = yes; then
13011 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13012 # instead of lib<name>.a to let people know that these are not
13013 # typical AIX shared libraries.
13014 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13016 # We preserve .a as extension for shared libraries through AIX4.2
13017 # and later when we are not doing run time linking.
13018 library_names_spec
='${libname}${release}.a $libname.a'
13019 soname_spec
='${libname}${release}${shared_ext}$major'
13021 shlibpath_var
=LIBPATH
13026 library_names_spec
='$libname.ixlibrary $libname.a'
13027 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13028 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'
13032 library_names_spec
='${libname}${shared_ext}'
13033 dynamic_linker
="$host_os ld.so"
13034 shlibpath_var
=LIBRARY_PATH
13040 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13041 soname_spec
='${libname}${release}${shared_ext}$major'
13042 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13043 shlibpath_var
=LD_LIBRARY_PATH
13044 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13045 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13046 # the default ld.so.conf also contains /usr/contrib/lib and
13047 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13048 # libtool to hard-code these into programs
13051 cygwin
* | mingw
* | pw32
*)
13052 version_type
=windows
13057 case $GCC,$host_os in
13058 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
13059 library_names_spec
='$libname.dll.a'
13060 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13061 postinstall_cmds
='base_file=`basename \${file}`~
13062 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
13063 dldir=$destdir/`dirname \$dlpath`~
13064 test -d \$dldir || mkdir -p \$dldir~
13065 $install_prog $dir/$dlname \$dldir/$dlname~
13066 chmod a+x \$dldir/$dlname'
13067 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13068 dlpath=$dir/\$dldll~
13070 shlibpath_overrides_runpath
=yes
13074 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13075 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13076 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
13079 # MinGW DLLs use traditional 'lib' prefix
13080 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13081 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13082 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
13083 # It is most probably a Windows format PATH printed by
13084 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13085 # path with ; separators, and with drive letters. We can handle the
13086 # drive letters (cygwin fileutils understands them), so leave them,
13087 # especially as we might pass files found there to a mingw objdump,
13088 # which wouldn't understand a cygwinified path. Ahh.
13089 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13091 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13095 # pw32 DLLs use 'pw' prefix rather than 'lib'
13096 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13102 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13105 dynamic_linker
='Win32 ld.exe'
13106 # FIXME: first we should search . and the directory the executable is in
13110 darwin
* | rhapsody
*)
13111 dynamic_linker
="$host_os dyld"
13112 version_type
=darwin
13115 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13116 soname_spec
='${libname}${release}${major}$shared_ext'
13117 shlibpath_overrides_runpath
=yes
13118 shlibpath_var
=DYLD_LIBRARY_PATH
13119 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
13120 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
13121 if test "$GCC" = yes; then
13122 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
13124 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
13126 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13133 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13134 soname_spec
='${libname}${release}${shared_ext}$major'
13135 shlibpath_var
=LD_LIBRARY_PATH
13146 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13147 soname_spec
='${libname}${release}${shared_ext}$major'
13148 shlibpath_var
=LD_LIBRARY_PATH
13149 shlibpath_overrides_runpath
=no
13150 hardcode_into_libs
=yes
13151 dynamic_linker
='GNU ld.so'
13154 freebsd
* | dragonfly
*)
13155 # DragonFly does not have aout. When/if they implement a new
13156 # versioning mechanism, adjust this.
13157 if test -x /usr
/bin
/objformat
; then
13158 objformat
=`/usr/bin/objformat`
13161 freebsd
[123]*) objformat
=aout
;;
13162 *) objformat
=elf
;;
13165 version_type
=freebsd-
$objformat
13166 case $version_type in
13168 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13173 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13177 shlibpath_var
=LD_LIBRARY_PATH
13180 shlibpath_overrides_runpath
=yes
13182 freebsd3.
[01]* | freebsdelf3.
[01]*)
13183 shlibpath_overrides_runpath
=yes
13184 hardcode_into_libs
=yes
13186 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
13187 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
13188 shlibpath_overrides_runpath
=no
13189 hardcode_into_libs
=yes
13191 freebsd
*) # from 4.6 on
13192 shlibpath_overrides_runpath
=yes
13193 hardcode_into_libs
=yes
13202 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13203 soname_spec
='${libname}${release}${shared_ext}$major'
13204 shlibpath_var
=LD_LIBRARY_PATH
13205 hardcode_into_libs
=yes
13208 hpux9
* | hpux10
* | hpux11
*)
13209 # Give a soname corresponding to the major version so that dld.sl refuses to
13210 # link against other versions.
13217 hardcode_into_libs
=yes
13218 dynamic_linker
="$host_os dld.so"
13219 shlibpath_var
=LD_LIBRARY_PATH
13220 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13221 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13222 soname_spec
='${libname}${release}${shared_ext}$major'
13223 if test "X$HPUX_IA64_MODE" = X32
; then
13224 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13226 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13228 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13232 hardcode_into_libs
=yes
13233 dynamic_linker
="$host_os dld.sl"
13234 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
13235 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13236 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13237 soname_spec
='${libname}${release}${shared_ext}$major'
13238 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13239 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13243 dynamic_linker
="$host_os dld.sl"
13244 shlibpath_var
=SHLIB_PATH
13245 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
13246 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13247 soname_spec
='${libname}${release}${shared_ext}$major'
13250 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13251 postinstall_cmds
='chmod 555 $lib'
13258 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13259 soname_spec
='${libname}${release}${shared_ext}$major'
13260 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
13261 shlibpath_var
=LD_LIBRARY_PATH
13262 shlibpath_overrides_runpath
=no
13263 hardcode_into_libs
=yes
13266 irix5
* | irix6
* | nonstopux
*)
13268 nonstopux
*) version_type
=nonstopux
;;
13270 if test "$lt_cv_prog_gnu_ld" = yes; then
13278 soname_spec
='${libname}${release}${shared_ext}$major'
13279 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13281 irix5
* | nonstopux
*)
13282 libsuff
= shlibsuff
=
13285 case $LD in # libtool.m4 will add one of these switches to LD
13286 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
13287 libsuff
= shlibsuff
= libmagic
=32-bit;;
13288 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
13289 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13290 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
13291 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
13292 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
13296 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
13297 shlibpath_overrides_runpath
=no
13298 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13299 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13300 hardcode_into_libs
=yes
13303 # No shared lib support for Linux oldld, aout, or coff.
13304 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
13308 # This must be Linux ELF.
13313 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13314 soname_spec
='${libname}${release}${shared_ext}$major'
13315 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13316 shlibpath_var
=LD_LIBRARY_PATH
13317 shlibpath_overrides_runpath
=no
13318 # This implies no fast_install, which is unacceptable.
13319 # Some rework will be needed to allow for fast_install
13320 # before this can be enabled.
13321 hardcode_into_libs
=yes
13323 # find out which ABI we are using
13325 case "$host_cpu" in
13326 x86_64
*|s390x
*|powerpc64
*)
13327 echo '#line 13327 "configure"' > conftest.
$ac_ext
13328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13329 (eval $ac_compile) 2>&5
13331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13332 (exit $ac_status); }; then
13333 case `/usr/bin/file conftest.$ac_objext` in
13336 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
13344 # Append ld.so.conf contents to the search path
13345 if test -f /etc
/ld.so.conf
; then
13346 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/^ *//;s/#.*//;/^[^\/]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
13347 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
13350 # We used to test for /lib/ld.so.1 and disable shared libraries on
13351 # powerpc, because MkLinux only supported shared libraries with the
13352 # GNU dynamic linker. Since this was broken with cross compilers,
13353 # most powerpc-linux boxes support dynamic linking these days and
13354 # people can always --disable-shared, the test was removed, and we
13355 # assume the GNU/Linux dynamic linker is in use.
13356 dynamic_linker
='GNU/Linux ld.so'
13363 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13364 soname_spec
='${libname}${release}${shared_ext}$major'
13365 shlibpath_var
=LD_LIBRARY_PATH
13366 shlibpath_overrides_runpath
=no
13367 hardcode_into_libs
=yes
13368 dynamic_linker
='GNU ld.so'
13375 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
13376 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13377 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13378 dynamic_linker
='NetBSD (a.out) ld.so'
13380 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13381 soname_spec
='${libname}${release}${shared_ext}$major'
13382 dynamic_linker
='NetBSD ld.elf_so'
13384 shlibpath_var
=LD_LIBRARY_PATH
13385 shlibpath_overrides_runpath
=yes
13386 hardcode_into_libs
=yes
13391 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13392 shlibpath_var
=LD_LIBRARY_PATH
13393 shlibpath_overrides_runpath
=yes
13400 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13401 soname_spec
='${libname}${release}${shared_ext}$major'
13402 shlibpath_var
=LD_LIBRARY_PATH
13403 shlibpath_overrides_runpath
=yes
13408 sys_lib_dlsearch_path_spec
="/usr/lib"
13410 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13412 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
13413 *) need_version
=no
;;
13415 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13416 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13417 shlibpath_var
=LD_LIBRARY_PATH
13418 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13420 openbsd2.
[89] | openbsd2.
[89].
*)
13421 shlibpath_overrides_runpath
=no
13424 shlibpath_overrides_runpath
=yes
13428 shlibpath_overrides_runpath
=yes
13433 libname_spec
='$name'
13436 library_names_spec
='$libname${shared_ext} $libname.a'
13437 dynamic_linker
='OS/2 ld.exe'
13438 shlibpath_var
=LIBPATH
13441 osf3
* | osf4
* | osf5
*)
13445 soname_spec
='${libname}${release}${shared_ext}$major'
13446 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13447 shlibpath_var
=LD_LIBRARY_PATH
13448 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13449 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
13456 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13457 soname_spec
='${libname}${release}${shared_ext}$major'
13458 shlibpath_var
=LD_LIBRARY_PATH
13459 shlibpath_overrides_runpath
=yes
13460 hardcode_into_libs
=yes
13461 # ldd complains unless libraries are executable
13462 postinstall_cmds
='chmod +x $lib'
13467 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13468 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13469 shlibpath_var
=LD_LIBRARY_PATH
13470 shlibpath_overrides_runpath
=yes
13471 if test "$with_gnu_ld" = yes; then
13479 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13480 soname_spec
='${libname}${release}${shared_ext}$major'
13481 shlibpath_var
=LD_LIBRARY_PATH
13482 case $host_vendor in
13484 shlibpath_overrides_runpath
=no
13486 export_dynamic_flag_spec
='${wl}-Blargedynsym'
13487 runpath_var
=LD_RUN_PATH
13495 shlibpath_overrides_runpath
=no
13496 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13502 if test -d /usr
/nec
;then
13504 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13505 soname_spec
='$libname${shared_ext}.$major'
13506 shlibpath_var
=LD_LIBRARY_PATH
13510 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
13511 version_type
=freebsd-elf
13514 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13515 soname_spec
='${libname}${release}${shared_ext}$major'
13516 shlibpath_var
=LD_LIBRARY_PATH
13517 hardcode_into_libs
=yes
13518 if test "$with_gnu_ld" = yes; then
13519 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13520 shlibpath_overrides_runpath
=no
13522 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
13523 shlibpath_overrides_runpath
=yes
13526 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
13530 sys_lib_dlsearch_path_spec
='/usr/lib'
13535 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13536 soname_spec
='${libname}${release}${shared_ext}$major'
13537 shlibpath_var
=LD_LIBRARY_PATH
13544 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13545 echo "${ECHO_T}$dynamic_linker" >&6; }
13546 test "$dynamic_linker" = no
&& can_build_shared
=no
13548 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
13549 if test "$GCC" = yes; then
13550 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13553 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13554 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
13555 hardcode_action_CXX
=
13556 if test -n "$hardcode_libdir_flag_spec_CXX" || \
13557 test -n "$runpath_var_CXX" || \
13558 test "X$hardcode_automatic_CXX" = "Xyes" ; then
13560 # We can hardcode non-existant directories.
13561 if test "$hardcode_direct_CXX" != no
&&
13562 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13563 # have to relink, otherwise we might link with an installed library
13564 # when we should be linking with a yet-to-be-installed one
13565 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13566 test "$hardcode_minus_L_CXX" != no
; then
13567 # Linking always hardcodes the temporary library directory.
13568 hardcode_action_CXX
=relink
13570 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13571 hardcode_action_CXX
=immediate
13574 # We cannot hardcode anything, or else we can only hardcode existing
13576 hardcode_action_CXX
=unsupported
13578 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13579 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
13581 if test "$hardcode_action_CXX" = relink
; then
13582 # Fast installation is not supported
13583 enable_fast_install
=no
13584 elif test "$shlibpath_overrides_runpath" = yes ||
13585 test "$enable_shared" = no
; then
13586 # Fast installation is not necessary
13587 enable_fast_install
=needless
13591 # The else clause should only fire when bootstrapping the
13592 # libtool distribution, otherwise you forgot to ship ltmain.sh
13593 # with your package, and you will get complaints that there are
13594 # no rules to generate ltmain.sh.
13595 if test -f "$ltmain"; then
13596 # See if we are running on zsh, and set the options which allow our commands through
13597 # without removal of \ escapes.
13598 if test -n "${ZSH_VERSION+set}" ; then
13599 setopt NO_GLOB_SUBST
13601 # Now quote all the things that may contain metacharacters while being
13602 # careful not to overquote the AC_SUBSTed values. We take copies of the
13603 # variables and quote the copies for generation of the libtool script.
13604 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13606 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13607 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13608 deplibs_check_method reload_flag reload_cmds need_locks \
13609 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13610 lt_cv_sys_global_symbol_to_c_name_address \
13611 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13612 old_postinstall_cmds old_postuninstall_cmds \
13616 lt_prog_compiler_wl_CXX \
13617 lt_prog_compiler_pic_CXX \
13618 lt_prog_compiler_static_CXX \
13619 lt_prog_compiler_no_builtin_flag_CXX \
13620 export_dynamic_flag_spec_CXX \
13621 thread_safe_flag_spec_CXX \
13622 whole_archive_flag_spec_CXX \
13623 enable_shared_with_static_runtimes_CXX \
13624 old_archive_cmds_CXX \
13625 old_archive_from_new_cmds_CXX \
13626 predep_objects_CXX \
13627 postdep_objects_CXX \
13630 compiler_lib_search_path_CXX \
13632 archive_expsym_cmds_CXX \
13633 postinstall_cmds_CXX \
13634 postuninstall_cmds_CXX \
13635 old_archive_from_expsyms_cmds_CXX \
13636 allow_undefined_flag_CXX \
13637 no_undefined_flag_CXX \
13638 export_symbols_cmds_CXX \
13639 hardcode_libdir_flag_spec_CXX \
13640 hardcode_libdir_flag_spec_ld_CXX \
13641 hardcode_libdir_separator_CXX \
13642 hardcode_automatic_CXX \
13644 module_expsym_cmds_CXX \
13645 lt_cv_prog_compiler_c_o_CXX \
13646 exclude_expsyms_CXX \
13647 include_expsyms_CXX
; do
13650 old_archive_cmds_CXX | \
13651 old_archive_from_new_cmds_CXX | \
13652 archive_cmds_CXX | \
13653 archive_expsym_cmds_CXX | \
13654 module_cmds_CXX | \
13655 module_expsym_cmds_CXX | \
13656 old_archive_from_expsyms_cmds_CXX | \
13657 export_symbols_cmds_CXX | \
13658 extract_expsyms_cmds | reload_cmds | finish_cmds | \
13659 postinstall_cmds | postuninstall_cmds | \
13660 old_postinstall_cmds | old_postuninstall_cmds | \
13661 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
13662 # Double-quote double-evaled strings.
13663 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13666 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13672 *'\$0 --fallback-echo"')
13673 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13679 cat <<__EOF__ >> "$cfgfile"
13680 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
13682 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13684 # Shell to use when invoking shell scripts.
13687 # Whether or not to build shared libraries.
13688 build_libtool_libs=$enable_shared
13690 # Whether or not to build static libraries.
13691 build_old_libs=$enable_static
13693 # Whether or not to add -lc for building shared libraries.
13694 build_libtool_need_lc=$archive_cmds_need_lc_CXX
13696 # Whether or not to disallow shared libs when runtime libs are static
13697 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13699 # Whether or not to optimize for fast installation.
13700 fast_install=$enable_fast_install
13703 host_alias=$host_alias
13707 # The build system.
13708 build_alias=$build_alias
13712 # An echo program that does not interpret backslashes.
13717 AR_FLAGS=$lt_AR_FLAGS
13722 # LTCC compiler flags.
13723 LTCFLAGS=$lt_LTCFLAGS
13725 # A language-specific compiler.
13726 CC=$lt_compiler_CXX
13728 # Is the compiler the GNU C compiler?
13734 # The linker used to build libraries.
13737 # Whether we need hard or soft links.
13740 # A BSD-compatible nm program.
13743 # A symbol stripping program
13746 # Used to examine libraries when file_magic_cmd begins "file"
13747 MAGIC_CMD=$MAGIC_CMD
13749 # Used on cygwin: DLL creation program.
13752 # Used on cygwin: object dumper.
13755 # Used on cygwin: assembler.
13758 # The name of the directory that contains temporary libtool files.
13761 # How to create reloadable object files.
13762 reload_flag=$lt_reload_flag
13763 reload_cmds=$lt_reload_cmds
13765 # How to pass a linker flag through the compiler.
13766 wl=$lt_lt_prog_compiler_wl_CXX
13768 # Object file suffix (normally "o").
13769 objext="$ac_objext"
13771 # Old archive suffix (normally "a").
13774 # Shared library suffix (normally ".so").
13775 shrext_cmds='$shrext_cmds'
13777 # Executable file suffix (normally "").
13780 # Additional compiler flags for building library objects.
13781 pic_flag=$lt_lt_prog_compiler_pic_CXX
13784 # What is the maximum length of a command?
13785 max_cmd_len=$lt_cv_sys_max_cmd_len
13787 # Does compiler simultaneously support -c and -o options?
13788 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13790 # Must we lock files when doing compilation?
13791 need_locks=$lt_need_locks
13793 # Do we need the lib prefix for modules?
13794 need_lib_prefix=$need_lib_prefix
13796 # Do we need a version for libraries?
13797 need_version=$need_version
13799 # Whether dlopen is supported.
13800 dlopen_support=$enable_dlopen
13802 # Whether dlopen of programs is supported.
13803 dlopen_self=$enable_dlopen_self
13805 # Whether dlopen of statically linked programs is supported.
13806 dlopen_self_static=$enable_dlopen_self_static
13808 # Compiler flag to prevent dynamic linking.
13809 link_static_flag=$lt_lt_prog_compiler_static_CXX
13811 # Compiler flag to turn off builtin functions.
13812 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13814 # Compiler flag to allow reflexive dlopens.
13815 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13817 # Compiler flag to generate shared objects directly from archives.
13818 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13820 # Compiler flag to generate thread-safe objects.
13821 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13823 # Library versioning type.
13824 version_type=$version_type
13826 # Format of library name prefix.
13827 libname_spec=$lt_libname_spec
13829 # List of archive names. First name is the real one, the rest are links.
13830 # The last name is the one that the linker finds with -lNAME.
13831 library_names_spec=$lt_library_names_spec
13833 # The coded name of the library, if different from the real name.
13834 soname_spec=$lt_soname_spec
13836 # Commands used to build and install an old-style archive.
13838 old_archive_cmds=$lt_old_archive_cmds_CXX
13839 old_postinstall_cmds=$lt_old_postinstall_cmds
13840 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13842 # Create an old-style archive from a shared archive.
13843 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13845 # Create a temporary old-style archive to link instead of a shared archive.
13846 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13848 # Commands used to build and install a shared archive.
13849 archive_cmds=$lt_archive_cmds_CXX
13850 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13851 postinstall_cmds=$lt_postinstall_cmds
13852 postuninstall_cmds=$lt_postuninstall_cmds
13854 # Commands used to build a loadable module (assumed same as above if empty)
13855 module_cmds=$lt_module_cmds_CXX
13856 module_expsym_cmds=$lt_module_expsym_cmds_CXX
13858 # Commands to strip libraries.
13859 old_striplib=$lt_old_striplib
13860 striplib=$lt_striplib
13862 # Dependencies to place before the objects being linked to create a
13864 predep_objects=$lt_predep_objects_CXX
13866 # Dependencies to place after the objects being linked to create a
13868 postdep_objects=$lt_postdep_objects_CXX
13870 # Dependencies to place before the objects being linked to create a
13872 predeps=$lt_predeps_CXX
13874 # Dependencies to place after the objects being linked to create a
13876 postdeps=$lt_postdeps_CXX
13878 # The library search path used internally by the compiler when linking
13879 # a shared library.
13880 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13882 # Method to check whether dependent libraries are shared objects.
13883 deplibs_check_method=$lt_deplibs_check_method
13885 # Command to use when deplibs_check_method == file_magic.
13886 file_magic_cmd=$lt_file_magic_cmd
13888 # Flag that allows shared libraries with undefined symbols to be built.
13889 allow_undefined_flag=$lt_allow_undefined_flag_CXX
13891 # Flag that forces no undefined symbols.
13892 no_undefined_flag=$lt_no_undefined_flag_CXX
13894 # Commands used to finish a libtool library installation in a directory.
13895 finish_cmds=$lt_finish_cmds
13897 # Same as above, but a single script fragment to be evaled but not shown.
13898 finish_eval=$lt_finish_eval
13900 # Take the output of nm and produce a listing of raw symbols and C names.
13901 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13903 # Transform the output of nm in a proper C declaration
13904 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13906 # Transform the output of nm in a C name address pair
13907 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13909 # This is the shared library runtime path variable.
13910 runpath_var=$runpath_var
13912 # This is the shared library path variable.
13913 shlibpath_var=$shlibpath_var
13915 # Is shlibpath searched before the hard-coded library search path?
13916 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13918 # How to hardcode a shared library path into an executable.
13919 hardcode_action=$hardcode_action_CXX
13921 # Whether we should hardcode library paths into libraries.
13922 hardcode_into_libs=$hardcode_into_libs
13924 # Flag to hardcode \$libdir into a binary during linking.
13925 # This must work even if \$libdir does not exist.
13926 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
13928 # If ld is used when linking, flag to hardcode \$libdir into
13929 # a binary during linking. This must work even if \$libdir does
13931 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
13933 # Whether we need a single -rpath flag with a separated argument.
13934 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
13936 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13937 # resulting binary.
13938 hardcode_direct=$hardcode_direct_CXX
13940 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13941 # resulting binary.
13942 hardcode_minus_L=$hardcode_minus_L_CXX
13944 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13945 # the resulting binary.
13946 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
13948 # Set to yes if building a shared library automatically hardcodes DIR into the library
13949 # and all subsequent libraries and executables linked against it.
13950 hardcode_automatic=$hardcode_automatic_CXX
13952 # Variables whose values should be saved in libtool wrapper scripts and
13953 # restored at relink time.
13954 variables_saved_for_relink="$variables_saved_for_relink"
13956 # Whether libtool must link a program against all its dependency libraries.
13957 link_all_deplibs=$link_all_deplibs_CXX
13959 # Compile-time system search path for libraries
13960 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13962 # Run-time system search path for libraries
13963 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13965 # Fix the shell variable \$srcfile for the compiler.
13966 fix_srcfile_path="$fix_srcfile_path_CXX"
13968 # Set to yes if exported symbols are required.
13969 always_export_symbols=$always_export_symbols_CXX
13971 # The commands to list exported symbols.
13972 export_symbols_cmds=$lt_export_symbols_cmds_CXX
13974 # The commands to extract the exported symbol list from a shared archive.
13975 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13977 # Symbols that should not be listed in the preloaded symbols.
13978 exclude_expsyms=$lt_exclude_expsyms_CXX
13980 # Symbols that must always be exported.
13981 include_expsyms=$lt_include_expsyms_CXX
13983 # ### END LIBTOOL TAG CONFIG: $tagname
13989 # If there is no Makefile yet, we rely on a make rule to execute
13990 # `config.status --recheck' to rerun these tests and create the
13991 # libtool script then.
13992 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
13993 if test -f "$ltmain_in"; then
13994 test -f Makefile
&& make "$ltmain"
14000 ac_cpp
='$CPP $CPPFLAGS'
14001 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14002 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14003 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14009 with_gnu_ldcxx
=$with_gnu_ld
14010 with_gnu_ld
=$lt_save_with_gnu_ld
14011 lt_cv_path_LDCXX
=$lt_cv_path_LD
14012 lt_cv_path_LD
=$lt_save_path_LD
14013 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
14014 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
14022 if test -n "$F77" && test "X$F77" != "Xno"; then
14025 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
14026 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14027 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
14030 archive_cmds_need_lc_F77
=no
14031 allow_undefined_flag_F77
=
14032 always_export_symbols_F77
=no
14033 archive_expsym_cmds_F77
=
14034 export_dynamic_flag_spec_F77
=
14035 hardcode_direct_F77
=no
14036 hardcode_libdir_flag_spec_F77
=
14037 hardcode_libdir_flag_spec_ld_F77
=
14038 hardcode_libdir_separator_F77
=
14039 hardcode_minus_L_F77
=no
14040 hardcode_automatic_F77
=no
14042 module_expsym_cmds_F77
=
14043 link_all_deplibs_F77
=unknown
14044 old_archive_cmds_F77
=$old_archive_cmds
14045 no_undefined_flag_F77
=
14046 whole_archive_flag_spec_F77
=
14047 enable_shared_with_static_runtimes_F77
=no
14049 # Source file extension for f77 test sources.
14052 # Object file extension for compiled f77 test sources.
14056 # Code to be used in simple compile tests
14057 lt_simple_compile_test_code
=" subroutine t\n return\n end\n"
14059 # Code to be used in simple link tests
14060 lt_simple_link_test_code
=" program t\n end\n"
14062 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14064 # If no C compiler was specified, use CC.
14067 # If no C compiler flags were specified, use CFLAGS.
14068 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
14070 # Allow CC to be a program name with arguments.
14074 # save warnings/boilerplate of simple test code
14075 ac_outfile
=conftest.
$ac_objext
14076 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
14077 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
14078 _lt_compiler_boilerplate
=`cat conftest.err`
14081 ac_outfile
=conftest.
$ac_objext
14082 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
14083 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
14084 _lt_linker_boilerplate
=`cat conftest.err`
14088 # Allow CC to be a program name with arguments.
14093 for cc_temp
in $compiler""; do
14095 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
14096 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
14101 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14104 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
14105 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
14106 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
14107 echo "${ECHO_T}$can_build_shared" >&6; }
14109 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
14110 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
14111 test "$can_build_shared" = "no" && enable_shared
=no
14113 # On AIX, shared libraries and static libraries use the same namespace, and
14114 # are all built from PIC.
14117 test "$enable_shared" = yes && enable_static
=no
14118 if test -n "$RANLIB"; then
14119 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
14120 postinstall_cmds
='$RANLIB $lib'
14124 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
14125 test "$enable_shared" = yes && enable_static
=no
14129 { echo "$as_me:$LINENO: result: $enable_shared" >&5
14130 echo "${ECHO_T}$enable_shared" >&6; }
14132 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
14133 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
14134 # Make sure either enable_shared or enable_static is yes.
14135 test "$enable_shared" = yes || enable_static
=yes
14136 { echo "$as_me:$LINENO: result: $enable_static" >&5
14137 echo "${ECHO_T}$enable_static" >&6; }
14142 lt_prog_compiler_wl_F77
=
14143 lt_prog_compiler_pic_F77
=
14144 lt_prog_compiler_static_F77
=
14146 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14147 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
14149 if test "$GCC" = yes; then
14150 lt_prog_compiler_wl_F77
='-Wl,'
14151 lt_prog_compiler_static_F77
='-static'
14155 # All AIX code is PIC.
14156 if test "$host_cpu" = ia64
; then
14157 # AIX 5 now supports IA64 processor
14158 lt_prog_compiler_static_F77
='-Bstatic'
14163 # FIXME: we need at least 68020 code to build shared libraries, but
14164 # adding the `-m68020' flag to GCC prevents building anything better,
14166 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
14169 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14170 # PIC is the default for these OSes.
14173 mingw
* | pw32
* | os2
*)
14174 # This hack is so that the source file can tell whether it is being
14175 # built for inclusion in a dll (and should export symbols for example).
14176 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
14179 darwin
* | rhapsody
*)
14180 # PIC is the default on this platform
14181 # Common symbols not allowed in MH_DYLIB files
14182 lt_prog_compiler_pic_F77
='-fno-common'
14186 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14187 # Instead, we relocate shared libraries at runtime.
14191 # Just because we use GCC doesn't mean we suddenly get shared libraries
14192 # on systems that don't support them.
14193 lt_prog_compiler_can_build_shared_F77
=no
14198 if test -d /usr
/nec
; then
14199 lt_prog_compiler_pic_F77
=-Kconform_pic
14204 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14205 # not for PA HP-UX.
14211 lt_prog_compiler_pic_F77
='-fPIC'
14217 lt_prog_compiler_pic_F77
='-fPIC'
14221 # PORTME Check for flag to pass linker flags through the system compiler.
14224 lt_prog_compiler_wl_F77
='-Wl,'
14225 if test "$host_cpu" = ia64
; then
14226 # AIX 5 now supports IA64 processor
14227 lt_prog_compiler_static_F77
='-Bstatic'
14229 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
14233 # PIC is the default on this platform
14234 # Common symbols not allowed in MH_DYLIB files
14235 case $cc_basename in
14237 lt_prog_compiler_pic_F77
='-qnocommon'
14238 lt_prog_compiler_wl_F77
='-Wl,'
14243 mingw
* | pw32
* | os2
*)
14244 # This hack is so that the source file can tell whether it is being
14245 # built for inclusion in a dll (and should export symbols for example).
14246 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
14249 hpux9
* | hpux10
* | hpux11
*)
14250 lt_prog_compiler_wl_F77
='-Wl,'
14251 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14252 # not for PA HP-UX.
14258 lt_prog_compiler_pic_F77
='+Z'
14261 # Is there a better lt_prog_compiler_static that works with the bundled CC?
14262 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
14265 irix5
* | irix6
* | nonstopux
*)
14266 lt_prog_compiler_wl_F77
='-Wl,'
14267 # PIC (with -KPIC) is the default.
14268 lt_prog_compiler_static_F77
='-non_shared'
14272 lt_prog_compiler_pic_F77
='-KPIC'
14273 lt_prog_compiler_static_F77
='-Bstatic'
14277 case $cc_basename in
14279 lt_prog_compiler_wl_F77
='-Wl,'
14280 lt_prog_compiler_pic_F77
='-KPIC'
14281 lt_prog_compiler_static_F77
='-static'
14283 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
14284 # Portland Group compilers (*not* the Pentium gcc compiler,
14285 # which looks to be a dead project)
14286 lt_prog_compiler_wl_F77
='-Wl,'
14287 lt_prog_compiler_pic_F77
='-fpic'
14288 lt_prog_compiler_static_F77
='-Bstatic'
14291 lt_prog_compiler_wl_F77
='-Wl,'
14292 # All Alpha code is PIC.
14293 lt_prog_compiler_static_F77
='-non_shared'
14298 osf3
* | osf4
* | osf5
*)
14299 lt_prog_compiler_wl_F77
='-Wl,'
14300 # All OSF/1 code is PIC.
14301 lt_prog_compiler_static_F77
='-non_shared'
14305 lt_prog_compiler_pic_F77
='-KPIC'
14306 lt_prog_compiler_static_F77
='-Bstatic'
14307 case $cc_basename in
14308 f77
* | f90
* | f95
*)
14309 lt_prog_compiler_wl_F77
='-Qoption ld ';;
14311 lt_prog_compiler_wl_F77
='-Wl,';;
14316 lt_prog_compiler_wl_F77
='-Qoption ld '
14317 lt_prog_compiler_pic_F77
='-PIC'
14318 lt_prog_compiler_static_F77
='-Bstatic'
14321 sysv4 | sysv4.2uw2
* | sysv4.3
*)
14322 lt_prog_compiler_wl_F77
='-Wl,'
14323 lt_prog_compiler_pic_F77
='-KPIC'
14324 lt_prog_compiler_static_F77
='-Bstatic'
14328 if test -d /usr
/nec
;then
14329 lt_prog_compiler_pic_F77
='-Kconform_pic'
14330 lt_prog_compiler_static_F77
='-Bstatic'
14334 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14335 lt_prog_compiler_wl_F77
='-Wl,'
14336 lt_prog_compiler_pic_F77
='-KPIC'
14337 lt_prog_compiler_static_F77
='-Bstatic'
14341 lt_prog_compiler_wl_F77
='-Wl,'
14342 lt_prog_compiler_can_build_shared_F77
=no
14346 lt_prog_compiler_pic_F77
='-pic'
14347 lt_prog_compiler_static_F77
='-Bstatic'
14351 lt_prog_compiler_can_build_shared_F77
=no
14356 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
14357 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
14360 # Check to make sure the PIC flag actually works.
14362 if test -n "$lt_prog_compiler_pic_F77"; then
14364 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
14365 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
14366 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
14367 echo $ECHO_N "(cached) $ECHO_C" >&6
14369 lt_prog_compiler_pic_works_F77
=no
14370 ac_outfile
=conftest.
$ac_objext
14371 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14372 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
14373 # Insert the option either (1) after the last *FLAGS variable, or
14374 # (2) before a word containing "conftest.", or (3) at the end.
14375 # Note that $ac_compile itself does not contain backslashes and begins
14376 # with a dollar sign (not a hyphen), so the echo should work correctly.
14377 # The option is referenced via a variable to avoid confusing sed.
14378 lt_compile
=`echo "$ac_compile" | $SED \
14379 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14380 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14381 -e 's:$: $lt_compiler_flag:'`
14382 (eval echo "\"\$as_me:14382: $lt_compile\"" >&5)
14383 (eval "$lt_compile" 2>conftest.err
)
14385 cat conftest.err
>&5
14386 echo "$as_me:14386: \$? = $ac_status" >&5
14387 if (exit $ac_status) && test -s "$ac_outfile"; then
14388 # The compiler can only warn and ignore the option if not recognized
14389 # So say no if there are warnings other than the usual output.
14390 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
14391 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14392 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14393 lt_prog_compiler_pic_works_F77
=yes
14399 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
14400 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
14402 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
14403 case $lt_prog_compiler_pic_F77 in
14405 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
14408 lt_prog_compiler_pic_F77
=
14409 lt_prog_compiler_can_build_shared_F77
=no
14414 # For platforms which do not support PIC, -DPIC is meaningless:
14416 lt_prog_compiler_pic_F77
=
14419 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
14424 # Check to make sure the static flag actually works.
14426 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
14427 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14428 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14429 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
14430 echo $ECHO_N "(cached) $ECHO_C" >&6
14432 lt_prog_compiler_static_works_F77
=no
14433 save_LDFLAGS
="$LDFLAGS"
14434 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14435 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
14436 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14437 # The linker can only warn and ignore the option if not recognized
14438 # So say no if there are warnings
14439 if test -s conftest.err
; then
14440 # Append any errors to the config.log.
14441 cat conftest.err
1>&5
14442 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
14443 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14444 if diff conftest.exp conftest.er2
>/dev
/null
; then
14445 lt_prog_compiler_static_works_F77
=yes
14448 lt_prog_compiler_static_works_F77
=yes
14452 LDFLAGS
="$save_LDFLAGS"
14455 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
14456 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
14458 if test x
"$lt_prog_compiler_static_works_F77" = xyes
; then
14461 lt_prog_compiler_static_F77
=
14465 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14466 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14467 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14468 echo $ECHO_N "(cached) $ECHO_C" >&6
14470 lt_cv_prog_compiler_c_o_F77
=no
14471 $rm -r conftest
2>/dev
/null
14475 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14477 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14478 # Insert the option either (1) after the last *FLAGS variable, or
14479 # (2) before a word containing "conftest.", or (3) at the end.
14480 # Note that $ac_compile itself does not contain backslashes and begins
14481 # with a dollar sign (not a hyphen), so the echo should work correctly.
14482 lt_compile
=`echo "$ac_compile" | $SED \
14483 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14484 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14485 -e 's:$: $lt_compiler_flag:'`
14486 (eval echo "\"\$as_me:14486: $lt_compile\"" >&5)
14487 (eval "$lt_compile" 2>out
/conftest.err
)
14489 cat out
/conftest.err
>&5
14490 echo "$as_me:14490: \$? = $ac_status" >&5
14491 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14493 # The compiler can only warn and ignore the option if not recognized
14494 # So say no if there are warnings
14495 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
14496 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14497 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14498 lt_cv_prog_compiler_c_o_F77
=yes
14503 # SGI C++ compiler will create directory out/ii_files/ for
14504 # template instantiation
14505 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
14506 $rm out
/* && rmdir out
14512 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14513 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
14516 hard_links
="nottested"
14517 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
14518 # do not overwrite the value of need_locks provided by the user
14519 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14520 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14523 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14525 ln conftest.a conftest.b
2>&5 || hard_links
=no
14526 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14527 { echo "$as_me:$LINENO: result: $hard_links" >&5
14528 echo "${ECHO_T}$hard_links" >&6; }
14529 if test "$hard_links" = no
; then
14530 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14531 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14538 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14539 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14542 allow_undefined_flag_F77
=
14543 enable_shared_with_static_runtimes_F77
=no
14545 archive_expsym_cmds_F77
=
14546 old_archive_From_new_cmds_F77
=
14547 old_archive_from_expsyms_cmds_F77
=
14548 export_dynamic_flag_spec_F77
=
14549 whole_archive_flag_spec_F77
=
14550 thread_safe_flag_spec_F77
=
14551 hardcode_libdir_flag_spec_F77
=
14552 hardcode_libdir_flag_spec_ld_F77
=
14553 hardcode_libdir_separator_F77
=
14554 hardcode_direct_F77
=no
14555 hardcode_minus_L_F77
=no
14556 hardcode_shlibpath_var_F77
=unsupported
14557 link_all_deplibs_F77
=unknown
14558 hardcode_automatic_F77
=no
14560 module_expsym_cmds_F77
=
14561 always_export_symbols_F77
=no
14562 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14563 # include_expsyms should be a list of space-separated symbols to be *always*
14564 # included in the symbol list
14565 include_expsyms_F77
=
14566 # exclude_expsyms can be an extended regexp of symbols to exclude
14567 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14568 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14569 # as well as any symbol that contains `d'.
14570 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
14571 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14572 # platforms (ab)use it in PIC code, but their linkers get confused if
14573 # the symbol is explicitly referenced. Since portable code cannot
14574 # rely on this symbol name, it's probably fine to never include it in
14575 # preloaded symbol tables.
14576 extract_expsyms_cmds
=
14577 # Just being paranoid about ensuring that cc_basename is set.
14578 for cc_temp
in $compiler""; do
14580 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
14581 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
14586 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14589 cygwin
* | mingw
* | pw32
*)
14590 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14591 # When not using gcc, we currently assume that we are using
14592 # Microsoft Visual C++.
14593 if test "$GCC" != yes; then
14598 # we just hope/assume this is gcc and not c89 (= MSVC++)
14607 if test "$with_gnu_ld" = yes; then
14608 # If archive_cmds runs LD, not CC, wlarc should be empty
14611 # Set some defaults for GNU ld with shared library support. These
14612 # are reset later if shared libraries are not supported. Putting them
14613 # here allows them to be overridden if necessary.
14614 runpath_var
=LD_RUN_PATH
14615 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
14616 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
14617 # ancient GNU ld didn't support --whole-archive et. al.
14618 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
14619 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14621 whole_archive_flag_spec_F77
=
14623 supports_anon_versioning
=no
14624 case `$LD -v 2>/dev/null` in
14625 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
14626 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
14627 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
14628 *\
2.11.
*) ;; # other 2.11 versions
14629 *) supports_anon_versioning
=yes ;;
14632 # See if GNU ld supports shared libraries.
14634 aix3
* | aix4
* | aix5
*)
14635 # On AIX/PPC, the GNU linker is very broken
14636 if test "$host_cpu" != ia64
; then
14640 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
14641 *** to be unable to reliably create shared libraries on AIX.
14642 *** Therefore, libtool is disabling shared libraries support. If you
14643 *** really care for shared libraries, you may want to modify your PATH
14644 *** so that a non-GNU linker is found, and then restart.
14651 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)'
14652 hardcode_libdir_flag_spec_F77
='-L$libdir'
14653 hardcode_minus_L_F77
=yes
14655 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14656 # that the semantics of dynamic libraries on AmigaOS, at least up
14657 # to version 4, is to share data among multiple programs linked
14658 # with the same dynamic library. Since this doesn't match the
14659 # behavior of shared libraries on other platforms, we can't use
14665 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14666 allow_undefined_flag_F77
=unsupported
14667 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14668 # support --undefined. This deserves some investigation. FIXME
14669 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14675 cygwin
* | mingw
* | pw32
*)
14676 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
14677 # as there is no search path for DLLs.
14678 hardcode_libdir_flag_spec_F77
='-L$libdir'
14679 allow_undefined_flag_F77
=unsupported
14680 always_export_symbols_F77
=no
14681 enable_shared_with_static_runtimes_F77
=yes
14682 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
14684 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
14685 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14686 # If the export-symbols file already is a .def file (1st line
14687 # is EXPORTS), use it as is; otherwise, prepend...
14688 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14689 cp $export_symbols $output_objdir/$soname.def;
14691 echo EXPORTS > $output_objdir/$soname.def;
14692 cat $export_symbols >> $output_objdir/$soname.def;
14694 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14701 hardcode_direct_F77
=no
14702 hardcode_shlibpath_var_F77
=no
14703 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14704 export_dynamic_flag_spec_F77
='${wl}-E'
14705 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14706 # Instead, shared libraries are loaded at an image base (0x10000000 by
14707 # default) and relocated if they conflict, which is a slow very memory
14708 # consuming and fragmenting process. To avoid this, we pick a random,
14709 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14710 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14711 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'
14712 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'
14716 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14718 case $cc_basename,$host_cpu in
14719 pgcc
*) # Portland Group C compiler
14720 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'
14721 tmp_addflag
=' $pic_flag'
14723 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
14724 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'
14725 tmp_addflag
=' $pic_flag -Mnomain' ;;
14726 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
14727 tmp_addflag
=' -i_dynamic' ;;
14728 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
14729 tmp_addflag
=' -i_dynamic -nofor_main' ;;
14730 ifc
* | ifort
*) # Intel Fortran compiler
14731 tmp_addflag
=' -nofor_main' ;;
14733 archive_cmds_F77
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14735 if test $supports_anon_versioning = yes; then
14736 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
14737 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14738 $echo "local: *; };" >> $output_objdir/$libname.ver~
14739 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14747 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14748 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14751 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14752 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14757 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
14761 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14762 *** create shared libraries on Solaris systems. Therefore, libtool
14763 *** is disabling shared libraries support. We urge you to upgrade GNU
14764 *** binutils to release 2.9.1 or newer. Another option is to modify
14765 *** your PATH or compiler configuration so that the native linker is
14766 *** used, and then restart.
14769 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14770 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14771 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14777 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
14778 case `$LD -v 2>&1` in
14779 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
14783 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14784 *** reliably create shared libraries on SCO systems. Therefore, libtool
14785 *** is disabling shared libraries support. We urge you to upgrade GNU
14786 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14787 *** your PATH or compiler configuration so that the native linker is
14788 *** used, and then restart.
14793 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14794 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
14795 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
14796 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
14805 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14807 hardcode_direct_F77
=yes
14808 hardcode_shlibpath_var_F77
=no
14812 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14813 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14814 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14821 if test "$ld_shlibs_F77" = no
; then
14823 hardcode_libdir_flag_spec_F77
=
14824 export_dynamic_flag_spec_F77
=
14825 whole_archive_flag_spec_F77
=
14828 # PORTME fill in a description of your system's linker (not GNU ld)
14831 allow_undefined_flag_F77
=unsupported
14832 always_export_symbols_F77
=yes
14833 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'
14834 # Note: this linker hardcodes the directories in LIBPATH if there
14835 # are no directories specified by -L.
14836 hardcode_minus_L_F77
=yes
14837 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14838 # Neither direct hardcoding nor static linking is supported with a
14840 hardcode_direct_F77
=unsupported
14845 if test "$host_cpu" = ia64
; then
14846 # On IA64, the linker does run time linking by default, so we don't
14847 # have to do anything special.
14848 aix_use_runtimelinking
=no
14849 exp_sym_flag
='-Bexport'
14852 # If we're using GNU nm, then we don't want the "-C" option.
14853 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14854 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
14855 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'
14857 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'
14859 aix_use_runtimelinking
=no
14861 # Test if we are trying to use run time linking or normal
14862 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14863 # need to do runtime linking.
14864 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
14865 for ld_flag
in $LDFLAGS; do
14866 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14867 aix_use_runtimelinking
=yes
14874 exp_sym_flag
='-bexport'
14875 no_entry_flag
='-bnoentry'
14878 # When large executables or shared objects are built, AIX ld can
14879 # have problems creating the table of contents. If linking a library
14880 # or program results in "error TOC overflow" add -mminimal-toc to
14881 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14882 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14884 archive_cmds_F77
=''
14885 hardcode_direct_F77
=yes
14886 hardcode_libdir_separator_F77
=':'
14887 link_all_deplibs_F77
=yes
14889 if test "$GCC" = yes; then
14890 case $host_os in aix4.
[012]|aix4.
[012].
*)
14891 # We only want to do this on AIX 4.2 and lower, the check
14892 # below for broken collect2 doesn't work under 4.3+
14893 collect2name
=`${CC} -print-prog-name=collect2`
14894 if test -f "$collect2name" && \
14895 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
14897 # We have reworked collect2
14898 hardcode_direct_F77
=yes
14900 # We have old collect2
14901 hardcode_direct_F77
=unsupported
14902 # It fails to find uninstalled libraries when the uninstalled
14903 # path is not listed in the libpath. Setting hardcode_minus_L
14904 # to unsupported forces relinking
14905 hardcode_minus_L_F77
=yes
14906 hardcode_libdir_flag_spec_F77
='-L$libdir'
14907 hardcode_libdir_separator_F77
=
14911 shared_flag
='-shared'
14912 if test "$aix_use_runtimelinking" = yes; then
14913 shared_flag
="$shared_flag "'${wl}-G'
14917 if test "$host_cpu" = ia64
; then
14918 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14919 # chokes on -Wl,-G. The following line is correct:
14922 if test "$aix_use_runtimelinking" = yes; then
14923 shared_flag
='${wl}-G'
14925 shared_flag
='${wl}-bM:SRE'
14930 # It seems that -bexpall does not export symbols beginning with
14931 # underscore (_), so it is better to generate a list of symbols to export.
14932 always_export_symbols_F77
=yes
14933 if test "$aix_use_runtimelinking" = yes; then
14934 # Warning - without using the other runtime loading flags (-brtl),
14935 # -berok will link without error, but may produce a broken library.
14936 allow_undefined_flag_F77
='-berok'
14937 # Determine the default libpath from the value encoded in an empty executable.
14938 cat >conftest.
$ac_ext <<_ACEOF
14943 rm -f conftest.
$ac_objext conftest
$ac_exeext
14944 if { (ac_try
="$ac_link"
14945 case "(($ac_try" in
14946 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14947 *) ac_try_echo=$ac_try;;
14949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14950 (eval "$ac_link") 2>conftest.er1
14952 grep -v '^ *+' conftest.er1 >conftest.err
14954 cat conftest.err >&5
14955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14956 (exit $ac_status); } && {
14957 test -z "$ac_f77_werror_flag" ||
14958 test ! -s conftest.err
14959 } && test -s conftest$ac_exeext &&
14960 $as_test_x conftest$ac_exeext; then
14962 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14964 # Check for a 64-bit object if we didn't find anything.
14965 if test -z "$aix_libpath"; then aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14968 echo "$as_me: failed program was:" >&5
14969 sed 's/^/| /' conftest.$ac_ext >&5
14974 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14975 conftest$ac_exeext conftest.$ac_ext
14976 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14978 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14979 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"
14981 if test "$host_cpu" = ia64; then
14982 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
14983 allow_undefined_flag_F77="-z nodefs"
14984 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"
14986 # Determine the default libpath from the value encoded in an empty executable.
14987 cat >conftest.$ac_ext <<_ACEOF
14992 rm -f conftest.$ac_objext conftest$ac_exeext
14993 if { (ac_try="$ac_link"
14994 case "(($ac_try" in
14995 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14996 *) ac_try_echo
=$ac_try;;
14998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14999 (eval "$ac_link") 2>conftest.er1
15001 grep -v '^ *+' conftest.er1
>conftest.err
15003 cat conftest.err
>&5
15004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15005 (exit $ac_status); } && {
15006 test -z "$ac_f77_werror_flag" ||
15007 test ! -s conftest.err
15008 } && test -s conftest
$ac_exeext &&
15009 $as_test_x conftest
$ac_exeext; then
15011 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15013 # Check for a 64-bit object if we didn't find anything.
15014 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15017 echo "$as_me: failed program was:" >&5
15018 sed 's/^/| /' conftest.
$ac_ext >&5
15023 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15024 conftest
$ac_exeext conftest.
$ac_ext
15025 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
15027 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
15028 # Warning - without using the other run time loading flags,
15029 # -berok will link without error, but may produce a broken library.
15030 no_undefined_flag_F77
=' ${wl}-bernotok'
15031 allow_undefined_flag_F77
=' ${wl}-berok'
15032 # Exported symbols can be pulled into shared objects from archives
15033 whole_archive_flag_spec_F77
='$convenience'
15034 archive_cmds_need_lc_F77
=yes
15035 # This is similar to how AIX traditionally builds its shared libraries.
15036 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'
15042 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)'
15043 hardcode_libdir_flag_spec_F77
='-L$libdir'
15044 hardcode_minus_L_F77
=yes
15045 # see comment about different semantics on the GNU ld section
15050 export_dynamic_flag_spec_F77
=-rdynamic
15053 cygwin
* | mingw
* | pw32
*)
15054 # When not using gcc, we currently assume that we are using
15055 # Microsoft Visual C++.
15056 # hardcode_libdir_flag_spec is actually meaningless, as there is
15057 # no search path for DLLs.
15058 hardcode_libdir_flag_spec_F77
=' '
15059 allow_undefined_flag_F77
=unsupported
15060 # Tell ltmain to make .lib files, not .a files.
15062 # Tell ltmain to make .dll files, not .so files.
15064 # FIXME: Setting linknames here is a bad hack.
15065 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15066 # The linker will automatically build a .lib file if we build a DLL.
15067 old_archive_From_new_cmds_F77
='true'
15068 # FIXME: Should let the user specify the lib program.
15069 old_archive_cmds_F77
='lib /OUT:$oldlib$oldobjs$old_deplibs'
15070 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
15071 enable_shared_with_static_runtimes_F77
=yes
15074 darwin
* | rhapsody
*)
15076 rhapsody
* | darwin1.
[012])
15077 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
15080 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15081 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15083 case ${MACOSX_DEPLOYMENT_TARGET} in
15085 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15088 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
15094 archive_cmds_need_lc_F77
=no
15095 hardcode_direct_F77
=no
15096 hardcode_automatic_F77
=yes
15097 hardcode_shlibpath_var_F77
=unsupported
15098 whole_archive_flag_spec_F77
=''
15099 link_all_deplibs_F77
=yes
15100 if test "$GCC" = yes ; then
15101 output_verbose_link_cmd
='echo'
15102 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15103 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15104 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15105 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}'
15106 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}'
15108 case $cc_basename in
15110 output_verbose_link_cmd
='echo'
15111 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
15112 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15113 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15114 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 $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15115 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}'
15125 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15126 hardcode_libdir_flag_spec_F77
='-L$libdir'
15127 hardcode_shlibpath_var_F77
=no
15134 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15135 # support. Future versions do this automatically, but an explicit c++rt0.o
15136 # does not break anything, and helps significantly (at the cost of a little
15139 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15140 hardcode_libdir_flag_spec_F77
='-R$libdir'
15141 hardcode_direct_F77
=yes
15142 hardcode_shlibpath_var_F77
=no
15145 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15147 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15148 hardcode_direct_F77
=yes
15149 hardcode_minus_L_F77
=yes
15150 hardcode_shlibpath_var_F77
=no
15153 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15154 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
15155 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15156 hardcode_libdir_flag_spec_F77
='-R$libdir'
15157 hardcode_direct_F77
=yes
15158 hardcode_shlibpath_var_F77
=no
15162 if test "$GCC" = yes; then
15163 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'
15165 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'
15167 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15168 hardcode_libdir_separator_F77
=:
15169 hardcode_direct_F77
=yes
15171 # hardcode_minus_L: Not really in the search PATH,
15172 # but as the default location of the library.
15173 hardcode_minus_L_F77
=yes
15174 export_dynamic_flag_spec_F77
='${wl}-E'
15178 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
15179 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15181 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15183 if test "$with_gnu_ld" = no
; then
15184 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15185 hardcode_libdir_separator_F77
=:
15187 hardcode_direct_F77
=yes
15188 export_dynamic_flag_spec_F77
='${wl}-E'
15190 # hardcode_minus_L: Not really in the search PATH,
15191 # but as the default location of the library.
15192 hardcode_minus_L_F77
=yes
15197 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
15200 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15203 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15206 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15212 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15215 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15218 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15222 if test "$with_gnu_ld" = no
; then
15223 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15224 hardcode_libdir_separator_F77
=:
15228 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
15229 hardcode_direct_F77
=no
15230 hardcode_shlibpath_var_F77
=no
15233 hardcode_direct_F77
=yes
15234 export_dynamic_flag_spec_F77
='${wl}-E'
15236 # hardcode_minus_L: Not really in the search PATH,
15237 # but as the default location of the library.
15238 hardcode_minus_L_F77
=yes
15244 irix5
* | irix6
* | nonstopux
*)
15245 if test "$GCC" = yes; then
15246 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'
15248 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'
15249 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
15251 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15252 hardcode_libdir_separator_F77
=:
15253 link_all_deplibs_F77
=yes
15257 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15258 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15260 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15262 hardcode_libdir_flag_spec_F77
='-R$libdir'
15263 hardcode_direct_F77
=yes
15264 hardcode_shlibpath_var_F77
=no
15268 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15269 hardcode_direct_F77
=yes
15270 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15271 hardcode_libdir_separator_F77
=:
15272 hardcode_shlibpath_var_F77
=no
15276 hardcode_direct_F77
=yes
15277 hardcode_shlibpath_var_F77
=no
15278 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15279 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15280 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15281 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15282 export_dynamic_flag_spec_F77
='${wl}-E'
15285 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
15286 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15287 hardcode_libdir_flag_spec_F77
='-R$libdir'
15290 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15291 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15298 hardcode_libdir_flag_spec_F77
='-L$libdir'
15299 hardcode_minus_L_F77
=yes
15300 allow_undefined_flag_F77
=unsupported
15301 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'
15302 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15306 if test "$GCC" = yes; then
15307 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15308 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'
15310 allow_undefined_flag_F77
=' -expect_unresolved \*'
15311 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'
15313 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15314 hardcode_libdir_separator_F77
=:
15317 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
15318 if test "$GCC" = yes; then
15319 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15320 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'
15321 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15323 allow_undefined_flag_F77
=' -expect_unresolved \*'
15324 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'
15325 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~
15326 $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'
15328 # Both c and cxx compiler support -rpath directly
15329 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
15331 hardcode_libdir_separator_F77
=:
15335 no_undefined_flag_F77
=' -z text'
15336 if test "$GCC" = yes; then
15338 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15339 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15340 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15343 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15344 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15345 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15347 hardcode_libdir_flag_spec_F77
='-R$libdir'
15348 hardcode_shlibpath_var_F77
=no
15350 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
15352 # The compiler driver will combine linker options so we
15353 # cannot just pass the convience library names through
15354 # without $wl, iff we do not link with $LD.
15355 # Luckily, gcc supports the same syntax we need for Sun Studio.
15356 # Supported since Solaris 2.6 (maybe 2.5.1?)
15359 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract' ;;
15361 whole_archive_flag_spec_F77
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
15364 link_all_deplibs_F77
=yes
15368 if test "x$host_vendor" = xsequent
; then
15369 # Use $CC to link under sequent, because it throws in some extra .o
15370 # files that make .init and .fini sections work.
15371 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15373 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15375 hardcode_libdir_flag_spec_F77
='-L$libdir'
15376 hardcode_direct_F77
=yes
15377 hardcode_minus_L_F77
=yes
15378 hardcode_shlibpath_var_F77
=no
15382 case $host_vendor in
15384 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15385 hardcode_direct_F77
=yes # is this really true???
15388 ## LD is ld it makes a PLAMLIB
15389 ## CC just makes a GrossModule.
15390 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15391 reload_cmds_F77
='$CC -r -o $output$reload_objs'
15392 hardcode_direct_F77
=no
15395 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15396 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
15399 runpath_var
='LD_RUN_PATH'
15400 hardcode_shlibpath_var_F77
=no
15404 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15405 hardcode_shlibpath_var_F77
=no
15406 export_dynamic_flag_spec_F77
='-Bexport'
15410 if test -d /usr
/nec
; then
15411 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15412 hardcode_shlibpath_var_F77
=no
15413 runpath_var
=LD_RUN_PATH
15414 hardcode_runpath_var
=yes
15419 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
15420 no_undefined_flag_F77
='${wl}-z,text'
15421 archive_cmds_need_lc_F77
=no
15422 hardcode_shlibpath_var_F77
=no
15423 runpath_var
='LD_RUN_PATH'
15425 if test "$GCC" = yes; then
15426 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15427 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15429 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15430 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15434 sysv5
* | sco3.2v5
* | sco5v6
*)
15435 # Note: We can NOT use -z defs as we might desire, because we do not
15436 # link with -lc, and that would cause any symbols used from libc to
15437 # always be unresolved, which means just about no library would
15438 # ever link correctly. If we're not using GNU ld we use -z text
15439 # though, which does catch some bad symbols but isn't as heavy-handed
15441 no_undefined_flag_F77
='${wl}-z,text'
15442 allow_undefined_flag_F77
='${wl}-z,nodefs'
15443 archive_cmds_need_lc_F77
=no
15444 hardcode_shlibpath_var_F77
=no
15445 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15446 hardcode_libdir_separator_F77
=':'
15447 link_all_deplibs_F77
=yes
15448 export_dynamic_flag_spec_F77
='${wl}-Bexport'
15449 runpath_var
='LD_RUN_PATH'
15451 if test "$GCC" = yes; then
15452 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15453 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15455 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15456 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15461 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15462 hardcode_libdir_flag_spec_F77
='-L$libdir'
15463 hardcode_shlibpath_var_F77
=no
15472 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15473 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
15474 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
15477 # Do we need to explicitly link libc?
15479 case "x$archive_cmds_need_lc_F77" in
15481 # Assume -lc should be added
15482 archive_cmds_need_lc_F77
=yes
15484 if test "$enable_shared" = yes && test "$GCC" = yes; then
15485 case $archive_cmds_F77 in
15487 # FIXME: we may have to deal with multi-command sequences.
15490 # Test whether the compiler implicitly links with -lc since on some
15491 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15492 # to ld, don't add -lc before -lgcc.
15493 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15494 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15496 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15499 (eval $ac_compile) 2>&5
15501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15502 (exit $ac_status); } 2>conftest.err
; then
15505 libobjs
=conftest.
$ac_objext
15507 wl
=$lt_prog_compiler_wl_F77
15508 pic_flag
=$lt_prog_compiler_pic_F77
15514 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
15515 allow_undefined_flag_F77
=
15516 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15517 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15520 (exit $ac_status); }
15522 archive_cmds_need_lc_F77
=no
15524 archive_cmds_need_lc_F77
=yes
15526 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
15528 cat conftest.err
1>&5
15531 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15532 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
15539 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15540 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15541 library_names_spec
=
15542 libname_spec
='lib$name'
15546 postuninstall_cmds
=
15550 shlibpath_overrides_runpath
=unknown
15552 dynamic_linker
="$host_os ld.so"
15553 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15554 if test "$GCC" = yes; then
15555 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15556 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
15557 # if the path contains ";" then we assume it to be the separator
15558 # otherwise default to the standard path separator (i.e. ":") - it is
15559 # assumed that no part of a normal pathname contains ";" but that should
15560 # okay in the real world where ";" in dirpaths is itself problematic.
15561 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15563 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15566 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
15568 need_lib_prefix
=unknown
15569 hardcode_into_libs
=no
15571 # when you set need_version to no, make sure it does not cause -set_version
15572 # flags to be left without arguments
15573 need_version
=unknown
15578 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15579 shlibpath_var
=LIBPATH
15581 # AIX 3 has no versioning support, so we append a major version to the name.
15582 soname_spec
='${libname}${release}${shared_ext}$major'
15589 hardcode_into_libs
=yes
15590 if test "$host_cpu" = ia64
; then
15591 # AIX 5 supports IA64
15592 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15593 shlibpath_var
=LD_LIBRARY_PATH
15595 # With GCC up to 2.95.x, collect2 would create an import file
15596 # for dependence libraries. The import file would start with
15597 # the line `#! .'. This would cause the generated library to
15598 # depend on `.', always an invalid library. This was fixed in
15599 # development snapshots of GCC prior to 3.0.
15601 aix4 | aix4.
[01] | aix4.
[01].
*)
15602 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15604 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
15607 can_build_shared
=no
15611 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15612 # soname into executable. Probably we can add versioning support to
15613 # collect2, so additional links can be useful in future.
15614 if test "$aix_use_runtimelinking" = yes; then
15615 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15616 # instead of lib<name>.a to let people know that these are not
15617 # typical AIX shared libraries.
15618 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15620 # We preserve .a as extension for shared libraries through AIX4.2
15621 # and later when we are not doing run time linking.
15622 library_names_spec
='${libname}${release}.a $libname.a'
15623 soname_spec
='${libname}${release}${shared_ext}$major'
15625 shlibpath_var
=LIBPATH
15630 library_names_spec
='$libname.ixlibrary $libname.a'
15631 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15632 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'
15636 library_names_spec
='${libname}${shared_ext}'
15637 dynamic_linker
="$host_os ld.so"
15638 shlibpath_var
=LIBRARY_PATH
15644 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15645 soname_spec
='${libname}${release}${shared_ext}$major'
15646 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15647 shlibpath_var
=LD_LIBRARY_PATH
15648 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15649 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15650 # the default ld.so.conf also contains /usr/contrib/lib and
15651 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15652 # libtool to hard-code these into programs
15655 cygwin
* | mingw
* | pw32
*)
15656 version_type
=windows
15661 case $GCC,$host_os in
15662 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
15663 library_names_spec
='$libname.dll.a'
15664 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15665 postinstall_cmds
='base_file=`basename \${file}`~
15666 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15667 dldir=$destdir/`dirname \$dlpath`~
15668 test -d \$dldir || mkdir -p \$dldir~
15669 $install_prog $dir/$dlname \$dldir/$dlname~
15670 chmod a+x \$dldir/$dlname'
15671 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15672 dlpath=$dir/\$dldll~
15674 shlibpath_overrides_runpath
=yes
15678 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15679 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15680 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
15683 # MinGW DLLs use traditional 'lib' prefix
15684 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15685 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15686 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
15687 # It is most probably a Windows format PATH printed by
15688 # mingw gcc, but we are running on Cygwin. Gcc prints its search
15689 # path with ; separators, and with drive letters. We can handle the
15690 # drive letters (cygwin fileutils understands them), so leave them,
15691 # especially as we might pass files found there to a mingw objdump,
15692 # which wouldn't understand a cygwinified path. Ahh.
15693 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15695 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15699 # pw32 DLLs use 'pw' prefix rather than 'lib'
15700 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15706 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15709 dynamic_linker
='Win32 ld.exe'
15710 # FIXME: first we should search . and the directory the executable is in
15714 darwin
* | rhapsody
*)
15715 dynamic_linker
="$host_os dyld"
15716 version_type
=darwin
15719 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15720 soname_spec
='${libname}${release}${major}$shared_ext'
15721 shlibpath_overrides_runpath
=yes
15722 shlibpath_var
=DYLD_LIBRARY_PATH
15723 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15724 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
15725 if test "$GCC" = yes; then
15726 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
15728 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
15730 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15737 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15738 soname_spec
='${libname}${release}${shared_ext}$major'
15739 shlibpath_var
=LD_LIBRARY_PATH
15750 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15751 soname_spec
='${libname}${release}${shared_ext}$major'
15752 shlibpath_var
=LD_LIBRARY_PATH
15753 shlibpath_overrides_runpath
=no
15754 hardcode_into_libs
=yes
15755 dynamic_linker
='GNU ld.so'
15758 freebsd
* | dragonfly
*)
15759 # DragonFly does not have aout. When/if they implement a new
15760 # versioning mechanism, adjust this.
15761 if test -x /usr
/bin
/objformat
; then
15762 objformat
=`/usr/bin/objformat`
15765 freebsd
[123]*) objformat
=aout
;;
15766 *) objformat
=elf
;;
15769 version_type
=freebsd-
$objformat
15770 case $version_type in
15772 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15777 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15781 shlibpath_var
=LD_LIBRARY_PATH
15784 shlibpath_overrides_runpath
=yes
15786 freebsd3.
[01]* | freebsdelf3.
[01]*)
15787 shlibpath_overrides_runpath
=yes
15788 hardcode_into_libs
=yes
15790 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15791 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15792 shlibpath_overrides_runpath
=no
15793 hardcode_into_libs
=yes
15795 freebsd
*) # from 4.6 on
15796 shlibpath_overrides_runpath
=yes
15797 hardcode_into_libs
=yes
15806 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15807 soname_spec
='${libname}${release}${shared_ext}$major'
15808 shlibpath_var
=LD_LIBRARY_PATH
15809 hardcode_into_libs
=yes
15812 hpux9
* | hpux10
* | hpux11
*)
15813 # Give a soname corresponding to the major version so that dld.sl refuses to
15814 # link against other versions.
15821 hardcode_into_libs
=yes
15822 dynamic_linker
="$host_os dld.so"
15823 shlibpath_var
=LD_LIBRARY_PATH
15824 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15825 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15826 soname_spec
='${libname}${release}${shared_ext}$major'
15827 if test "X$HPUX_IA64_MODE" = X32
; then
15828 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15830 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15832 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15836 hardcode_into_libs
=yes
15837 dynamic_linker
="$host_os dld.sl"
15838 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15839 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15840 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15841 soname_spec
='${libname}${release}${shared_ext}$major'
15842 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15843 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15847 dynamic_linker
="$host_os dld.sl"
15848 shlibpath_var
=SHLIB_PATH
15849 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15850 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15851 soname_spec
='${libname}${release}${shared_ext}$major'
15854 # HP-UX runs *really* slowly unless shared libraries are mode 555.
15855 postinstall_cmds
='chmod 555 $lib'
15862 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15863 soname_spec
='${libname}${release}${shared_ext}$major'
15864 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15865 shlibpath_var
=LD_LIBRARY_PATH
15866 shlibpath_overrides_runpath
=no
15867 hardcode_into_libs
=yes
15870 irix5
* | irix6
* | nonstopux
*)
15872 nonstopux
*) version_type
=nonstopux
;;
15874 if test "$lt_cv_prog_gnu_ld" = yes; then
15882 soname_spec
='${libname}${release}${shared_ext}$major'
15883 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15885 irix5
* | nonstopux
*)
15886 libsuff
= shlibsuff
=
15889 case $LD in # libtool.m4 will add one of these switches to LD
15890 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15891 libsuff
= shlibsuff
= libmagic
=32-bit;;
15892 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15893 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15894 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15895 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15896 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15900 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15901 shlibpath_overrides_runpath
=no
15902 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15903 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15904 hardcode_into_libs
=yes
15907 # No shared lib support for Linux oldld, aout, or coff.
15908 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15912 # This must be Linux ELF.
15917 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15918 soname_spec
='${libname}${release}${shared_ext}$major'
15919 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15920 shlibpath_var
=LD_LIBRARY_PATH
15921 shlibpath_overrides_runpath
=no
15922 # This implies no fast_install, which is unacceptable.
15923 # Some rework will be needed to allow for fast_install
15924 # before this can be enabled.
15925 hardcode_into_libs
=yes
15927 # find out which ABI we are using
15929 case "$host_cpu" in
15930 x86_64
*|s390x
*|powerpc64
*)
15931 echo '#line 15931 "configure"' > conftest.
$ac_ext
15932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15933 (eval $ac_compile) 2>&5
15935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15936 (exit $ac_status); }; then
15937 case `/usr/bin/file conftest.$ac_objext` in
15940 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
15948 # Append ld.so.conf contents to the search path
15949 if test -f /etc
/ld.so.conf
; then
15950 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/^ *//;s/#.*//;/^[^\/]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
15951 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
15954 # We used to test for /lib/ld.so.1 and disable shared libraries on
15955 # powerpc, because MkLinux only supported shared libraries with the
15956 # GNU dynamic linker. Since this was broken with cross compilers,
15957 # most powerpc-linux boxes support dynamic linking these days and
15958 # people can always --disable-shared, the test was removed, and we
15959 # assume the GNU/Linux dynamic linker is in use.
15960 dynamic_linker
='GNU/Linux ld.so'
15967 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15968 soname_spec
='${libname}${release}${shared_ext}$major'
15969 shlibpath_var
=LD_LIBRARY_PATH
15970 shlibpath_overrides_runpath
=no
15971 hardcode_into_libs
=yes
15972 dynamic_linker
='GNU ld.so'
15979 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15980 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15981 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15982 dynamic_linker
='NetBSD (a.out) ld.so'
15984 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15985 soname_spec
='${libname}${release}${shared_ext}$major'
15986 dynamic_linker
='NetBSD ld.elf_so'
15988 shlibpath_var
=LD_LIBRARY_PATH
15989 shlibpath_overrides_runpath
=yes
15990 hardcode_into_libs
=yes
15995 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15996 shlibpath_var
=LD_LIBRARY_PATH
15997 shlibpath_overrides_runpath
=yes
16004 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16005 soname_spec
='${libname}${release}${shared_ext}$major'
16006 shlibpath_var
=LD_LIBRARY_PATH
16007 shlibpath_overrides_runpath
=yes
16012 sys_lib_dlsearch_path_spec
="/usr/lib"
16014 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16016 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
16017 *) need_version
=no
;;
16019 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16020 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16021 shlibpath_var
=LD_LIBRARY_PATH
16022 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16024 openbsd2.
[89] | openbsd2.
[89].
*)
16025 shlibpath_overrides_runpath
=no
16028 shlibpath_overrides_runpath
=yes
16032 shlibpath_overrides_runpath
=yes
16037 libname_spec
='$name'
16040 library_names_spec
='$libname${shared_ext} $libname.a'
16041 dynamic_linker
='OS/2 ld.exe'
16042 shlibpath_var
=LIBPATH
16045 osf3
* | osf4
* | osf5
*)
16049 soname_spec
='${libname}${release}${shared_ext}$major'
16050 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16051 shlibpath_var
=LD_LIBRARY_PATH
16052 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16053 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
16060 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16061 soname_spec
='${libname}${release}${shared_ext}$major'
16062 shlibpath_var
=LD_LIBRARY_PATH
16063 shlibpath_overrides_runpath
=yes
16064 hardcode_into_libs
=yes
16065 # ldd complains unless libraries are executable
16066 postinstall_cmds
='chmod +x $lib'
16071 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16072 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16073 shlibpath_var
=LD_LIBRARY_PATH
16074 shlibpath_overrides_runpath
=yes
16075 if test "$with_gnu_ld" = yes; then
16083 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16084 soname_spec
='${libname}${release}${shared_ext}$major'
16085 shlibpath_var
=LD_LIBRARY_PATH
16086 case $host_vendor in
16088 shlibpath_overrides_runpath
=no
16090 export_dynamic_flag_spec
='${wl}-Blargedynsym'
16091 runpath_var
=LD_RUN_PATH
16099 shlibpath_overrides_runpath
=no
16100 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
16106 if test -d /usr
/nec
;then
16108 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16109 soname_spec
='$libname${shared_ext}.$major'
16110 shlibpath_var
=LD_LIBRARY_PATH
16114 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
16115 version_type
=freebsd-elf
16118 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16119 soname_spec
='${libname}${release}${shared_ext}$major'
16120 shlibpath_var
=LD_LIBRARY_PATH
16121 hardcode_into_libs
=yes
16122 if test "$with_gnu_ld" = yes; then
16123 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16124 shlibpath_overrides_runpath
=no
16126 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
16127 shlibpath_overrides_runpath
=yes
16130 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
16134 sys_lib_dlsearch_path_spec
='/usr/lib'
16139 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16140 soname_spec
='${libname}${release}${shared_ext}$major'
16141 shlibpath_var
=LD_LIBRARY_PATH
16148 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16149 echo "${ECHO_T}$dynamic_linker" >&6; }
16150 test "$dynamic_linker" = no
&& can_build_shared
=no
16152 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16153 if test "$GCC" = yes; then
16154 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16157 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16158 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
16159 hardcode_action_F77
=
16160 if test -n "$hardcode_libdir_flag_spec_F77" || \
16161 test -n "$runpath_var_F77" || \
16162 test "X$hardcode_automatic_F77" = "Xyes" ; then
16164 # We can hardcode non-existant directories.
16165 if test "$hardcode_direct_F77" != no
&&
16166 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16167 # have to relink, otherwise we might link with an installed library
16168 # when we should be linking with a yet-to-be-installed one
16169 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
16170 test "$hardcode_minus_L_F77" != no
; then
16171 # Linking always hardcodes the temporary library directory.
16172 hardcode_action_F77
=relink
16174 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16175 hardcode_action_F77
=immediate
16178 # We cannot hardcode anything, or else we can only hardcode existing
16180 hardcode_action_F77
=unsupported
16182 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
16183 echo "${ECHO_T}$hardcode_action_F77" >&6; }
16185 if test "$hardcode_action_F77" = relink
; then
16186 # Fast installation is not supported
16187 enable_fast_install
=no
16188 elif test "$shlibpath_overrides_runpath" = yes ||
16189 test "$enable_shared" = no
; then
16190 # Fast installation is not necessary
16191 enable_fast_install
=needless
16195 # The else clause should only fire when bootstrapping the
16196 # libtool distribution, otherwise you forgot to ship ltmain.sh
16197 # with your package, and you will get complaints that there are
16198 # no rules to generate ltmain.sh.
16199 if test -f "$ltmain"; then
16200 # See if we are running on zsh, and set the options which allow our commands through
16201 # without removal of \ escapes.
16202 if test -n "${ZSH_VERSION+set}" ; then
16203 setopt NO_GLOB_SUBST
16205 # Now quote all the things that may contain metacharacters while being
16206 # careful not to overquote the AC_SUBSTed values. We take copies of the
16207 # variables and quote the copies for generation of the libtool script.
16208 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
16210 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
16211 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
16212 deplibs_check_method reload_flag reload_cmds need_locks \
16213 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
16214 lt_cv_sys_global_symbol_to_c_name_address \
16215 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
16216 old_postinstall_cmds old_postuninstall_cmds \
16220 lt_prog_compiler_wl_F77 \
16221 lt_prog_compiler_pic_F77 \
16222 lt_prog_compiler_static_F77 \
16223 lt_prog_compiler_no_builtin_flag_F77 \
16224 export_dynamic_flag_spec_F77 \
16225 thread_safe_flag_spec_F77 \
16226 whole_archive_flag_spec_F77 \
16227 enable_shared_with_static_runtimes_F77 \
16228 old_archive_cmds_F77 \
16229 old_archive_from_new_cmds_F77 \
16230 predep_objects_F77 \
16231 postdep_objects_F77 \
16234 compiler_lib_search_path_F77 \
16236 archive_expsym_cmds_F77 \
16237 postinstall_cmds_F77 \
16238 postuninstall_cmds_F77 \
16239 old_archive_from_expsyms_cmds_F77 \
16240 allow_undefined_flag_F77 \
16241 no_undefined_flag_F77 \
16242 export_symbols_cmds_F77 \
16243 hardcode_libdir_flag_spec_F77 \
16244 hardcode_libdir_flag_spec_ld_F77 \
16245 hardcode_libdir_separator_F77 \
16246 hardcode_automatic_F77 \
16248 module_expsym_cmds_F77 \
16249 lt_cv_prog_compiler_c_o_F77 \
16250 exclude_expsyms_F77 \
16251 include_expsyms_F77
; do
16254 old_archive_cmds_F77 | \
16255 old_archive_from_new_cmds_F77 | \
16256 archive_cmds_F77 | \
16257 archive_expsym_cmds_F77 | \
16258 module_cmds_F77 | \
16259 module_expsym_cmds_F77 | \
16260 old_archive_from_expsyms_cmds_F77 | \
16261 export_symbols_cmds_F77 | \
16262 extract_expsyms_cmds | reload_cmds | finish_cmds | \
16263 postinstall_cmds | postuninstall_cmds | \
16264 old_postinstall_cmds | old_postuninstall_cmds | \
16265 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
16266 # Double-quote double-evaled strings.
16267 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
16270 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
16276 *'\$0 --fallback-echo"')
16277 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
16283 cat <<__EOF__ >> "$cfgfile"
16284 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
16286 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16288 # Shell to use when invoking shell scripts.
16291 # Whether or not to build shared libraries.
16292 build_libtool_libs=$enable_shared
16294 # Whether or not to build static libraries.
16295 build_old_libs=$enable_static
16297 # Whether or not to add -lc for building shared libraries.
16298 build_libtool_need_lc=$archive_cmds_need_lc_F77
16300 # Whether or not to disallow shared libs when runtime libs are static
16301 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
16303 # Whether or not to optimize for fast installation.
16304 fast_install=$enable_fast_install
16307 host_alias=$host_alias
16311 # The build system.
16312 build_alias=$build_alias
16316 # An echo program that does not interpret backslashes.
16321 AR_FLAGS=$lt_AR_FLAGS
16326 # LTCC compiler flags.
16327 LTCFLAGS=$lt_LTCFLAGS
16329 # A language-specific compiler.
16330 CC=$lt_compiler_F77
16332 # Is the compiler the GNU C compiler?
16338 # The linker used to build libraries.
16341 # Whether we need hard or soft links.
16344 # A BSD-compatible nm program.
16347 # A symbol stripping program
16350 # Used to examine libraries when file_magic_cmd begins "file"
16351 MAGIC_CMD=$MAGIC_CMD
16353 # Used on cygwin: DLL creation program.
16356 # Used on cygwin: object dumper.
16359 # Used on cygwin: assembler.
16362 # The name of the directory that contains temporary libtool files.
16365 # How to create reloadable object files.
16366 reload_flag=$lt_reload_flag
16367 reload_cmds=$lt_reload_cmds
16369 # How to pass a linker flag through the compiler.
16370 wl=$lt_lt_prog_compiler_wl_F77
16372 # Object file suffix (normally "o").
16373 objext="$ac_objext"
16375 # Old archive suffix (normally "a").
16378 # Shared library suffix (normally ".so").
16379 shrext_cmds='$shrext_cmds'
16381 # Executable file suffix (normally "").
16384 # Additional compiler flags for building library objects.
16385 pic_flag=$lt_lt_prog_compiler_pic_F77
16388 # What is the maximum length of a command?
16389 max_cmd_len=$lt_cv_sys_max_cmd_len
16391 # Does compiler simultaneously support -c and -o options?
16392 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
16394 # Must we lock files when doing compilation?
16395 need_locks=$lt_need_locks
16397 # Do we need the lib prefix for modules?
16398 need_lib_prefix=$need_lib_prefix
16400 # Do we need a version for libraries?
16401 need_version=$need_version
16403 # Whether dlopen is supported.
16404 dlopen_support=$enable_dlopen
16406 # Whether dlopen of programs is supported.
16407 dlopen_self=$enable_dlopen_self
16409 # Whether dlopen of statically linked programs is supported.
16410 dlopen_self_static=$enable_dlopen_self_static
16412 # Compiler flag to prevent dynamic linking.
16413 link_static_flag=$lt_lt_prog_compiler_static_F77
16415 # Compiler flag to turn off builtin functions.
16416 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
16418 # Compiler flag to allow reflexive dlopens.
16419 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
16421 # Compiler flag to generate shared objects directly from archives.
16422 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
16424 # Compiler flag to generate thread-safe objects.
16425 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
16427 # Library versioning type.
16428 version_type=$version_type
16430 # Format of library name prefix.
16431 libname_spec=$lt_libname_spec
16433 # List of archive names. First name is the real one, the rest are links.
16434 # The last name is the one that the linker finds with -lNAME.
16435 library_names_spec=$lt_library_names_spec
16437 # The coded name of the library, if different from the real name.
16438 soname_spec=$lt_soname_spec
16440 # Commands used to build and install an old-style archive.
16442 old_archive_cmds=$lt_old_archive_cmds_F77
16443 old_postinstall_cmds=$lt_old_postinstall_cmds
16444 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16446 # Create an old-style archive from a shared archive.
16447 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
16449 # Create a temporary old-style archive to link instead of a shared archive.
16450 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
16452 # Commands used to build and install a shared archive.
16453 archive_cmds=$lt_archive_cmds_F77
16454 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
16455 postinstall_cmds=$lt_postinstall_cmds
16456 postuninstall_cmds=$lt_postuninstall_cmds
16458 # Commands used to build a loadable module (assumed same as above if empty)
16459 module_cmds=$lt_module_cmds_F77
16460 module_expsym_cmds=$lt_module_expsym_cmds_F77
16462 # Commands to strip libraries.
16463 old_striplib=$lt_old_striplib
16464 striplib=$lt_striplib
16466 # Dependencies to place before the objects being linked to create a
16468 predep_objects=$lt_predep_objects_F77
16470 # Dependencies to place after the objects being linked to create a
16472 postdep_objects=$lt_postdep_objects_F77
16474 # Dependencies to place before the objects being linked to create a
16476 predeps=$lt_predeps_F77
16478 # Dependencies to place after the objects being linked to create a
16480 postdeps=$lt_postdeps_F77
16482 # The library search path used internally by the compiler when linking
16483 # a shared library.
16484 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16486 # Method to check whether dependent libraries are shared objects.
16487 deplibs_check_method=$lt_deplibs_check_method
16489 # Command to use when deplibs_check_method == file_magic.
16490 file_magic_cmd=$lt_file_magic_cmd
16492 # Flag that allows shared libraries with undefined symbols to be built.
16493 allow_undefined_flag=$lt_allow_undefined_flag_F77
16495 # Flag that forces no undefined symbols.
16496 no_undefined_flag=$lt_no_undefined_flag_F77
16498 # Commands used to finish a libtool library installation in a directory.
16499 finish_cmds=$lt_finish_cmds
16501 # Same as above, but a single script fragment to be evaled but not shown.
16502 finish_eval=$lt_finish_eval
16504 # Take the output of nm and produce a listing of raw symbols and C names.
16505 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16507 # Transform the output of nm in a proper C declaration
16508 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16510 # Transform the output of nm in a C name address pair
16511 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16513 # This is the shared library runtime path variable.
16514 runpath_var=$runpath_var
16516 # This is the shared library path variable.
16517 shlibpath_var=$shlibpath_var
16519 # Is shlibpath searched before the hard-coded library search path?
16520 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16522 # How to hardcode a shared library path into an executable.
16523 hardcode_action=$hardcode_action_F77
16525 # Whether we should hardcode library paths into libraries.
16526 hardcode_into_libs=$hardcode_into_libs
16528 # Flag to hardcode \$libdir into a binary during linking.
16529 # This must work even if \$libdir does not exist.
16530 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
16532 # If ld is used when linking, flag to hardcode \$libdir into
16533 # a binary during linking. This must work even if \$libdir does
16535 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
16537 # Whether we need a single -rpath flag with a separated argument.
16538 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
16540 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16541 # resulting binary.
16542 hardcode_direct=$hardcode_direct_F77
16544 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16545 # resulting binary.
16546 hardcode_minus_L=$hardcode_minus_L_F77
16548 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16549 # the resulting binary.
16550 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
16552 # Set to yes if building a shared library automatically hardcodes DIR into the library
16553 # and all subsequent libraries and executables linked against it.
16554 hardcode_automatic=$hardcode_automatic_F77
16556 # Variables whose values should be saved in libtool wrapper scripts and
16557 # restored at relink time.
16558 variables_saved_for_relink="$variables_saved_for_relink"
16560 # Whether libtool must link a program against all its dependency libraries.
16561 link_all_deplibs=$link_all_deplibs_F77
16563 # Compile-time system search path for libraries
16564 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16566 # Run-time system search path for libraries
16567 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16569 # Fix the shell variable \$srcfile for the compiler.
16570 fix_srcfile_path="$fix_srcfile_path_F77"
16572 # Set to yes if exported symbols are required.
16573 always_export_symbols=$always_export_symbols_F77
16575 # The commands to list exported symbols.
16576 export_symbols_cmds=$lt_export_symbols_cmds_F77
16578 # The commands to extract the exported symbol list from a shared archive.
16579 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16581 # Symbols that should not be listed in the preloaded symbols.
16582 exclude_expsyms=$lt_exclude_expsyms_F77
16584 # Symbols that must always be exported.
16585 include_expsyms=$lt_include_expsyms_F77
16587 # ### END LIBTOOL TAG CONFIG: $tagname
16593 # If there is no Makefile yet, we rely on a make rule to execute
16594 # `config.status --recheck' to rerun these tests and create the
16595 # libtool script then.
16596 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16597 if test -f "$ltmain_in"; then
16598 test -f Makefile
&& make "$ltmain"
16604 ac_cpp
='$CPP $CPPFLAGS'
16605 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16606 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16607 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16617 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
16620 # Source file extension for Java test sources.
16623 # Object file extension for compiled Java test sources.
16627 # Code to be used in simple compile tests
16628 lt_simple_compile_test_code
="class foo {}\n"
16630 # Code to be used in simple link tests
16631 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }\n'
16633 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16635 # If no C compiler was specified, use CC.
16638 # If no C compiler flags were specified, use CFLAGS.
16639 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
16641 # Allow CC to be a program name with arguments.
16645 # save warnings/boilerplate of simple test code
16646 ac_outfile
=conftest.
$ac_objext
16647 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
16648 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16649 _lt_compiler_boilerplate
=`cat conftest.err`
16652 ac_outfile
=conftest.
$ac_objext
16653 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
16654 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16655 _lt_linker_boilerplate
=`cat conftest.err`
16659 # Allow CC to be a program name with arguments.
16664 for cc_temp
in $compiler""; do
16666 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16667 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16672 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16675 # GCJ did not exist at the time GCC didn't implicitly link libc in.
16676 archive_cmds_need_lc_GCJ
=no
16678 old_archive_cmds_GCJ
=$old_archive_cmds
16681 ## There is no encapsulation within the following macros, do not change
16682 ## the running order or otherwise move them around unless you know exactly
16683 ## what you are doing...
16685 lt_prog_compiler_no_builtin_flag_GCJ
=
16687 if test "$GCC" = yes; then
16688 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
16691 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16692 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
16693 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16694 echo $ECHO_N "(cached) $ECHO_C" >&6
16696 lt_cv_prog_compiler_rtti_exceptions
=no
16697 ac_outfile
=conftest.
$ac_objext
16698 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16699 lt_compiler_flag
="-fno-rtti -fno-exceptions"
16700 # Insert the option either (1) after the last *FLAGS variable, or
16701 # (2) before a word containing "conftest.", or (3) at the end.
16702 # Note that $ac_compile itself does not contain backslashes and begins
16703 # with a dollar sign (not a hyphen), so the echo should work correctly.
16704 # The option is referenced via a variable to avoid confusing sed.
16705 lt_compile
=`echo "$ac_compile" | $SED \
16706 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16707 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16708 -e 's:$: $lt_compiler_flag:'`
16709 (eval echo "\"\$as_me:16709: $lt_compile\"" >&5)
16710 (eval "$lt_compile" 2>conftest.err
)
16712 cat conftest.err
>&5
16713 echo "$as_me:16713: \$? = $ac_status" >&5
16714 if (exit $ac_status) && test -s "$ac_outfile"; then
16715 # The compiler can only warn and ignore the option if not recognized
16716 # So say no if there are warnings other than the usual output.
16717 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16718 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16719 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16720 lt_cv_prog_compiler_rtti_exceptions
=yes
16726 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16727 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
16729 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
16730 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16737 lt_prog_compiler_wl_GCJ
=
16738 lt_prog_compiler_pic_GCJ
=
16739 lt_prog_compiler_static_GCJ
=
16741 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16742 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16744 if test "$GCC" = yes; then
16745 lt_prog_compiler_wl_GCJ
='-Wl,'
16746 lt_prog_compiler_static_GCJ
='-static'
16750 # All AIX code is PIC.
16751 if test "$host_cpu" = ia64
; then
16752 # AIX 5 now supports IA64 processor
16753 lt_prog_compiler_static_GCJ
='-Bstatic'
16758 # FIXME: we need at least 68020 code to build shared libraries, but
16759 # adding the `-m68020' flag to GCC prevents building anything better,
16761 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
16764 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
16765 # PIC is the default for these OSes.
16768 mingw
* | pw32
* | os2
*)
16769 # This hack is so that the source file can tell whether it is being
16770 # built for inclusion in a dll (and should export symbols for example).
16771 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16774 darwin
* | rhapsody
*)
16775 # PIC is the default on this platform
16776 # Common symbols not allowed in MH_DYLIB files
16777 lt_prog_compiler_pic_GCJ
='-fno-common'
16781 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16782 # Instead, we relocate shared libraries at runtime.
16786 # Just because we use GCC doesn't mean we suddenly get shared libraries
16787 # on systems that don't support them.
16788 lt_prog_compiler_can_build_shared_GCJ
=no
16793 if test -d /usr
/nec
; then
16794 lt_prog_compiler_pic_GCJ
=-Kconform_pic
16799 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16800 # not for PA HP-UX.
16806 lt_prog_compiler_pic_GCJ
='-fPIC'
16812 lt_prog_compiler_pic_GCJ
='-fPIC'
16816 # PORTME Check for flag to pass linker flags through the system compiler.
16819 lt_prog_compiler_wl_GCJ
='-Wl,'
16820 if test "$host_cpu" = ia64
; then
16821 # AIX 5 now supports IA64 processor
16822 lt_prog_compiler_static_GCJ
='-Bstatic'
16824 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
16828 # PIC is the default on this platform
16829 # Common symbols not allowed in MH_DYLIB files
16830 case $cc_basename in
16832 lt_prog_compiler_pic_GCJ
='-qnocommon'
16833 lt_prog_compiler_wl_GCJ
='-Wl,'
16838 mingw
* | pw32
* | os2
*)
16839 # This hack is so that the source file can tell whether it is being
16840 # built for inclusion in a dll (and should export symbols for example).
16841 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16844 hpux9
* | hpux10
* | hpux11
*)
16845 lt_prog_compiler_wl_GCJ
='-Wl,'
16846 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16847 # not for PA HP-UX.
16853 lt_prog_compiler_pic_GCJ
='+Z'
16856 # Is there a better lt_prog_compiler_static that works with the bundled CC?
16857 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
16860 irix5
* | irix6
* | nonstopux
*)
16861 lt_prog_compiler_wl_GCJ
='-Wl,'
16862 # PIC (with -KPIC) is the default.
16863 lt_prog_compiler_static_GCJ
='-non_shared'
16867 lt_prog_compiler_pic_GCJ
='-KPIC'
16868 lt_prog_compiler_static_GCJ
='-Bstatic'
16872 case $cc_basename in
16874 lt_prog_compiler_wl_GCJ
='-Wl,'
16875 lt_prog_compiler_pic_GCJ
='-KPIC'
16876 lt_prog_compiler_static_GCJ
='-static'
16878 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
16879 # Portland Group compilers (*not* the Pentium gcc compiler,
16880 # which looks to be a dead project)
16881 lt_prog_compiler_wl_GCJ
='-Wl,'
16882 lt_prog_compiler_pic_GCJ
='-fpic'
16883 lt_prog_compiler_static_GCJ
='-Bstatic'
16886 lt_prog_compiler_wl_GCJ
='-Wl,'
16887 # All Alpha code is PIC.
16888 lt_prog_compiler_static_GCJ
='-non_shared'
16893 osf3
* | osf4
* | osf5
*)
16894 lt_prog_compiler_wl_GCJ
='-Wl,'
16895 # All OSF/1 code is PIC.
16896 lt_prog_compiler_static_GCJ
='-non_shared'
16900 lt_prog_compiler_pic_GCJ
='-KPIC'
16901 lt_prog_compiler_static_GCJ
='-Bstatic'
16902 case $cc_basename in
16903 f77
* | f90
* | f95
*)
16904 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
16906 lt_prog_compiler_wl_GCJ
='-Wl,';;
16911 lt_prog_compiler_wl_GCJ
='-Qoption ld '
16912 lt_prog_compiler_pic_GCJ
='-PIC'
16913 lt_prog_compiler_static_GCJ
='-Bstatic'
16916 sysv4 | sysv4.2uw2
* | sysv4.3
*)
16917 lt_prog_compiler_wl_GCJ
='-Wl,'
16918 lt_prog_compiler_pic_GCJ
='-KPIC'
16919 lt_prog_compiler_static_GCJ
='-Bstatic'
16923 if test -d /usr
/nec
;then
16924 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
16925 lt_prog_compiler_static_GCJ
='-Bstatic'
16929 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
16930 lt_prog_compiler_wl_GCJ
='-Wl,'
16931 lt_prog_compiler_pic_GCJ
='-KPIC'
16932 lt_prog_compiler_static_GCJ
='-Bstatic'
16936 lt_prog_compiler_wl_GCJ
='-Wl,'
16937 lt_prog_compiler_can_build_shared_GCJ
=no
16941 lt_prog_compiler_pic_GCJ
='-pic'
16942 lt_prog_compiler_static_GCJ
='-Bstatic'
16946 lt_prog_compiler_can_build_shared_GCJ
=no
16951 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16952 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
16955 # Check to make sure the PIC flag actually works.
16957 if test -n "$lt_prog_compiler_pic_GCJ"; then
16959 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16960 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
16961 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
16962 echo $ECHO_N "(cached) $ECHO_C" >&6
16964 lt_prog_compiler_pic_works_GCJ
=no
16965 ac_outfile
=conftest.
$ac_objext
16966 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16967 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
16968 # Insert the option either (1) after the last *FLAGS variable, or
16969 # (2) before a word containing "conftest.", or (3) at the end.
16970 # Note that $ac_compile itself does not contain backslashes and begins
16971 # with a dollar sign (not a hyphen), so the echo should work correctly.
16972 # The option is referenced via a variable to avoid confusing sed.
16973 lt_compile
=`echo "$ac_compile" | $SED \
16974 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16975 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16976 -e 's:$: $lt_compiler_flag:'`
16977 (eval echo "\"\$as_me:16977: $lt_compile\"" >&5)
16978 (eval "$lt_compile" 2>conftest.err
)
16980 cat conftest.err
>&5
16981 echo "$as_me:16981: \$? = $ac_status" >&5
16982 if (exit $ac_status) && test -s "$ac_outfile"; then
16983 # The compiler can only warn and ignore the option if not recognized
16984 # So say no if there are warnings other than the usual output.
16985 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16986 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16987 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16988 lt_prog_compiler_pic_works_GCJ
=yes
16994 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16995 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
16997 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
16998 case $lt_prog_compiler_pic_GCJ in
17000 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
17003 lt_prog_compiler_pic_GCJ
=
17004 lt_prog_compiler_can_build_shared_GCJ
=no
17009 # For platforms which do not support PIC, -DPIC is meaningless:
17011 lt_prog_compiler_pic_GCJ
=
17014 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
17019 # Check to make sure the static flag actually works.
17021 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
17022 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
17023 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
17024 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
17025 echo $ECHO_N "(cached) $ECHO_C" >&6
17027 lt_prog_compiler_static_works_GCJ
=no
17028 save_LDFLAGS
="$LDFLAGS"
17029 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
17030 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
17031 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
17032 # The linker can only warn and ignore the option if not recognized
17033 # So say no if there are warnings
17034 if test -s conftest.err
; then
17035 # Append any errors to the config.log.
17036 cat conftest.err
1>&5
17037 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
17038 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17039 if diff conftest.exp conftest.er2
>/dev
/null
; then
17040 lt_prog_compiler_static_works_GCJ
=yes
17043 lt_prog_compiler_static_works_GCJ
=yes
17047 LDFLAGS
="$save_LDFLAGS"
17050 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
17051 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
17053 if test x
"$lt_prog_compiler_static_works_GCJ" = xyes
; then
17056 lt_prog_compiler_static_GCJ
=
17060 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
17061 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
17062 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
17063 echo $ECHO_N "(cached) $ECHO_C" >&6
17065 lt_cv_prog_compiler_c_o_GCJ
=no
17066 $rm -r conftest
2>/dev
/null
17070 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
17072 lt_compiler_flag
="-o out/conftest2.$ac_objext"
17073 # Insert the option either (1) after the last *FLAGS variable, or
17074 # (2) before a word containing "conftest.", or (3) at the end.
17075 # Note that $ac_compile itself does not contain backslashes and begins
17076 # with a dollar sign (not a hyphen), so the echo should work correctly.
17077 lt_compile
=`echo "$ac_compile" | $SED \
17078 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17079 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17080 -e 's:$: $lt_compiler_flag:'`
17081 (eval echo "\"\$as_me:17081: $lt_compile\"" >&5)
17082 (eval "$lt_compile" 2>out
/conftest.err
)
17084 cat out
/conftest.err
>&5
17085 echo "$as_me:17085: \$? = $ac_status" >&5
17086 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
17088 # The compiler can only warn and ignore the option if not recognized
17089 # So say no if there are warnings
17090 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
17091 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
17092 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
17093 lt_cv_prog_compiler_c_o_GCJ
=yes
17098 # SGI C++ compiler will create directory out/ii_files/ for
17099 # template instantiation
17100 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
17101 $rm out
/* && rmdir out
17107 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
17108 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
17111 hard_links
="nottested"
17112 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
17113 # do not overwrite the value of need_locks provided by the user
17114 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17115 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
17118 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17120 ln conftest.a conftest.b
2>&5 || hard_links
=no
17121 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17122 { echo "$as_me:$LINENO: result: $hard_links" >&5
17123 echo "${ECHO_T}$hard_links" >&6; }
17124 if test "$hard_links" = no
; then
17125 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17126 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17133 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17134 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
17137 allow_undefined_flag_GCJ
=
17138 enable_shared_with_static_runtimes_GCJ
=no
17140 archive_expsym_cmds_GCJ
=
17141 old_archive_From_new_cmds_GCJ
=
17142 old_archive_from_expsyms_cmds_GCJ
=
17143 export_dynamic_flag_spec_GCJ
=
17144 whole_archive_flag_spec_GCJ
=
17145 thread_safe_flag_spec_GCJ
=
17146 hardcode_libdir_flag_spec_GCJ
=
17147 hardcode_libdir_flag_spec_ld_GCJ
=
17148 hardcode_libdir_separator_GCJ
=
17149 hardcode_direct_GCJ
=no
17150 hardcode_minus_L_GCJ
=no
17151 hardcode_shlibpath_var_GCJ
=unsupported
17152 link_all_deplibs_GCJ
=unknown
17153 hardcode_automatic_GCJ
=no
17155 module_expsym_cmds_GCJ
=
17156 always_export_symbols_GCJ
=no
17157 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17158 # include_expsyms should be a list of space-separated symbols to be *always*
17159 # included in the symbol list
17160 include_expsyms_GCJ
=
17161 # exclude_expsyms can be an extended regexp of symbols to exclude
17162 # it will be wrapped by ` (' and `)$', so one must not match beginning or
17163 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17164 # as well as any symbol that contains `d'.
17165 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
17166 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17167 # platforms (ab)use it in PIC code, but their linkers get confused if
17168 # the symbol is explicitly referenced. Since portable code cannot
17169 # rely on this symbol name, it's probably fine to never include it in
17170 # preloaded symbol tables.
17171 extract_expsyms_cmds
=
17172 # Just being paranoid about ensuring that cc_basename is set.
17173 for cc_temp
in $compiler""; do
17175 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
17176 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
17181 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17184 cygwin
* | mingw
* | pw32
*)
17185 # FIXME: the MSVC++ port hasn't been tested in a loooong time
17186 # When not using gcc, we currently assume that we are using
17187 # Microsoft Visual C++.
17188 if test "$GCC" != yes; then
17193 # we just hope/assume this is gcc and not c89 (= MSVC++)
17202 if test "$with_gnu_ld" = yes; then
17203 # If archive_cmds runs LD, not CC, wlarc should be empty
17206 # Set some defaults for GNU ld with shared library support. These
17207 # are reset later if shared libraries are not supported. Putting them
17208 # here allows them to be overridden if necessary.
17209 runpath_var
=LD_RUN_PATH
17210 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
17211 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
17212 # ancient GNU ld didn't support --whole-archive et. al.
17213 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
17214 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17216 whole_archive_flag_spec_GCJ
=
17218 supports_anon_versioning
=no
17219 case `$LD -v 2>/dev/null` in
17220 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
17221 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
17222 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
17223 *\
2.11.
*) ;; # other 2.11 versions
17224 *) supports_anon_versioning
=yes ;;
17227 # See if GNU ld supports shared libraries.
17229 aix3
* | aix4
* | aix5
*)
17230 # On AIX/PPC, the GNU linker is very broken
17231 if test "$host_cpu" != ia64
; then
17235 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
17236 *** to be unable to reliably create shared libraries on AIX.
17237 *** Therefore, libtool is disabling shared libraries support. If you
17238 *** really care for shared libraries, you may want to modify your PATH
17239 *** so that a non-GNU linker is found, and then restart.
17246 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)'
17247 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17248 hardcode_minus_L_GCJ
=yes
17250 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
17251 # that the semantics of dynamic libraries on AmigaOS, at least up
17252 # to version 4, is to share data among multiple programs linked
17253 # with the same dynamic library. Since this doesn't match the
17254 # behavior of shared libraries on other platforms, we can't use
17260 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17261 allow_undefined_flag_GCJ
=unsupported
17262 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17263 # support --undefined. This deserves some investigation. FIXME
17264 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17270 cygwin
* | mingw
* | pw32
*)
17271 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
17272 # as there is no search path for DLLs.
17273 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17274 allow_undefined_flag_GCJ
=unsupported
17275 always_export_symbols_GCJ
=no
17276 enable_shared_with_static_runtimes_GCJ
=yes
17277 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
17279 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
17280 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17281 # If the export-symbols file already is a .def file (1st line
17282 # is EXPORTS), use it as is; otherwise, prepend...
17283 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17284 cp $export_symbols $output_objdir/$soname.def;
17286 echo EXPORTS > $output_objdir/$soname.def;
17287 cat $export_symbols >> $output_objdir/$soname.def;
17289 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17296 hardcode_direct_GCJ
=no
17297 hardcode_shlibpath_var_GCJ
=no
17298 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17299 export_dynamic_flag_spec_GCJ
='${wl}-E'
17300 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17301 # Instead, shared libraries are loaded at an image base (0x10000000 by
17302 # default) and relocated if they conflict, which is a slow very memory
17303 # consuming and fragmenting process. To avoid this, we pick a random,
17304 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17305 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
17306 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'
17307 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'
17311 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17313 case $cc_basename,$host_cpu in
17314 pgcc
*) # Portland Group C compiler
17315 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'
17316 tmp_addflag
=' $pic_flag'
17318 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
17319 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'
17320 tmp_addflag
=' $pic_flag -Mnomain' ;;
17321 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
17322 tmp_addflag
=' -i_dynamic' ;;
17323 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
17324 tmp_addflag
=' -i_dynamic -nofor_main' ;;
17325 ifc
* | ifort
*) # Intel Fortran compiler
17326 tmp_addflag
=' -nofor_main' ;;
17328 archive_cmds_GCJ
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17330 if test $supports_anon_versioning = yes; then
17331 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
17332 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17333 $echo "local: *; };" >> $output_objdir/$libname.ver~
17334 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17342 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17343 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17346 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17347 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17352 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
17356 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
17357 *** create shared libraries on Solaris systems. Therefore, libtool
17358 *** is disabling shared libraries support. We urge you to upgrade GNU
17359 *** binutils to release 2.9.1 or newer. Another option is to modify
17360 *** your PATH or compiler configuration so that the native linker is
17361 *** used, and then restart.
17364 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17365 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17366 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17372 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
17373 case `$LD -v 2>&1` in
17374 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
17378 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17379 *** reliably create shared libraries on SCO systems. Therefore, libtool
17380 *** is disabling shared libraries support. We urge you to upgrade GNU
17381 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
17382 *** your PATH or compiler configuration so that the native linker is
17383 *** used, and then restart.
17388 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17389 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
17390 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
17391 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17400 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17402 hardcode_direct_GCJ
=yes
17403 hardcode_shlibpath_var_GCJ
=no
17407 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17408 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17409 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17416 if test "$ld_shlibs_GCJ" = no
; then
17418 hardcode_libdir_flag_spec_GCJ
=
17419 export_dynamic_flag_spec_GCJ
=
17420 whole_archive_flag_spec_GCJ
=
17423 # PORTME fill in a description of your system's linker (not GNU ld)
17426 allow_undefined_flag_GCJ
=unsupported
17427 always_export_symbols_GCJ
=yes
17428 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'
17429 # Note: this linker hardcodes the directories in LIBPATH if there
17430 # are no directories specified by -L.
17431 hardcode_minus_L_GCJ
=yes
17432 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17433 # Neither direct hardcoding nor static linking is supported with a
17435 hardcode_direct_GCJ
=unsupported
17440 if test "$host_cpu" = ia64
; then
17441 # On IA64, the linker does run time linking by default, so we don't
17442 # have to do anything special.
17443 aix_use_runtimelinking
=no
17444 exp_sym_flag
='-Bexport'
17447 # If we're using GNU nm, then we don't want the "-C" option.
17448 # -C means demangle to AIX nm, but means don't demangle with GNU nm
17449 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
17450 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'
17452 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'
17454 aix_use_runtimelinking
=no
17456 # Test if we are trying to use run time linking or normal
17457 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17458 # need to do runtime linking.
17459 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
17460 for ld_flag
in $LDFLAGS; do
17461 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
17462 aix_use_runtimelinking
=yes
17469 exp_sym_flag
='-bexport'
17470 no_entry_flag
='-bnoentry'
17473 # When large executables or shared objects are built, AIX ld can
17474 # have problems creating the table of contents. If linking a library
17475 # or program results in "error TOC overflow" add -mminimal-toc to
17476 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
17477 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17479 archive_cmds_GCJ
=''
17480 hardcode_direct_GCJ
=yes
17481 hardcode_libdir_separator_GCJ
=':'
17482 link_all_deplibs_GCJ
=yes
17484 if test "$GCC" = yes; then
17485 case $host_os in aix4.
[012]|aix4.
[012].
*)
17486 # We only want to do this on AIX 4.2 and lower, the check
17487 # below for broken collect2 doesn't work under 4.3+
17488 collect2name
=`${CC} -print-prog-name=collect2`
17489 if test -f "$collect2name" && \
17490 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
17492 # We have reworked collect2
17493 hardcode_direct_GCJ
=yes
17495 # We have old collect2
17496 hardcode_direct_GCJ
=unsupported
17497 # It fails to find uninstalled libraries when the uninstalled
17498 # path is not listed in the libpath. Setting hardcode_minus_L
17499 # to unsupported forces relinking
17500 hardcode_minus_L_GCJ
=yes
17501 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17502 hardcode_libdir_separator_GCJ
=
17506 shared_flag
='-shared'
17507 if test "$aix_use_runtimelinking" = yes; then
17508 shared_flag
="$shared_flag "'${wl}-G'
17512 if test "$host_cpu" = ia64
; then
17513 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17514 # chokes on -Wl,-G. The following line is correct:
17517 if test "$aix_use_runtimelinking" = yes; then
17518 shared_flag
='${wl}-G'
17520 shared_flag
='${wl}-bM:SRE'
17525 # It seems that -bexpall does not export symbols beginning with
17526 # underscore (_), so it is better to generate a list of symbols to export.
17527 always_export_symbols_GCJ
=yes
17528 if test "$aix_use_runtimelinking" = yes; then
17529 # Warning - without using the other runtime loading flags (-brtl),
17530 # -berok will link without error, but may produce a broken library.
17531 allow_undefined_flag_GCJ
='-berok'
17532 # Determine the default libpath from the value encoded in an empty executable.
17533 cat >conftest.
$ac_ext <<_ACEOF
17536 cat confdefs.h
>>conftest.
$ac_ext
17537 cat >>conftest.
$ac_ext <<_ACEOF
17538 /* end confdefs.h. */
17548 rm -f conftest.
$ac_objext conftest
$ac_exeext
17549 if { (ac_try
="$ac_link"
17550 case "(($ac_try" in
17551 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17552 *) ac_try_echo=$ac_try;;
17554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17555 (eval "$ac_link") 2>conftest.er1
17557 grep -v '^ *+' conftest.er1 >conftest.err
17559 cat conftest.err >&5
17560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17561 (exit $ac_status); } && {
17562 test -z "$ac_c_werror_flag" ||
17563 test ! -s conftest.err
17564 } && test -s conftest$ac_exeext &&
17565 $as_test_x conftest$ac_exeext; then
17567 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17569 # Check for a 64-bit object if we didn't find anything.
17570 if test -z "$aix_libpath"; then aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17573 echo "$as_me: failed program was:" >&5
17574 sed 's/^/| /' conftest.$ac_ext >&5
17579 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17580 conftest$ac_exeext conftest.$ac_ext
17581 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17583 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17584 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"
17586 if test "$host_cpu" = ia64; then
17587 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
17588 allow_undefined_flag_GCJ="-z nodefs"
17589 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"
17591 # Determine the default libpath from the value encoded in an empty executable.
17592 cat >conftest.$ac_ext <<_ACEOF
17595 cat confdefs.h >>conftest.$ac_ext
17596 cat >>conftest.$ac_ext <<_ACEOF
17597 /* end confdefs.h. */
17607 rm -f conftest.$ac_objext conftest$ac_exeext
17608 if { (ac_try="$ac_link"
17609 case "(($ac_try" in
17610 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17611 *) ac_try_echo
=$ac_try;;
17613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17614 (eval "$ac_link") 2>conftest.er1
17616 grep -v '^ *+' conftest.er1
>conftest.err
17618 cat conftest.err
>&5
17619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17620 (exit $ac_status); } && {
17621 test -z "$ac_c_werror_flag" ||
17622 test ! -s conftest.err
17623 } && test -s conftest
$ac_exeext &&
17624 $as_test_x conftest
$ac_exeext; then
17626 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17628 # Check for a 64-bit object if we didn't find anything.
17629 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17632 echo "$as_me: failed program was:" >&5
17633 sed 's/^/| /' conftest.
$ac_ext >&5
17638 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17639 conftest
$ac_exeext conftest.
$ac_ext
17640 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
17642 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
17643 # Warning - without using the other run time loading flags,
17644 # -berok will link without error, but may produce a broken library.
17645 no_undefined_flag_GCJ
=' ${wl}-bernotok'
17646 allow_undefined_flag_GCJ
=' ${wl}-berok'
17647 # Exported symbols can be pulled into shared objects from archives
17648 whole_archive_flag_spec_GCJ
='$convenience'
17649 archive_cmds_need_lc_GCJ
=yes
17650 # This is similar to how AIX traditionally builds its shared libraries.
17651 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'
17657 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)'
17658 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17659 hardcode_minus_L_GCJ
=yes
17660 # see comment about different semantics on the GNU ld section
17665 export_dynamic_flag_spec_GCJ
=-rdynamic
17668 cygwin
* | mingw
* | pw32
*)
17669 # When not using gcc, we currently assume that we are using
17670 # Microsoft Visual C++.
17671 # hardcode_libdir_flag_spec is actually meaningless, as there is
17672 # no search path for DLLs.
17673 hardcode_libdir_flag_spec_GCJ
=' '
17674 allow_undefined_flag_GCJ
=unsupported
17675 # Tell ltmain to make .lib files, not .a files.
17677 # Tell ltmain to make .dll files, not .so files.
17679 # FIXME: Setting linknames here is a bad hack.
17680 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17681 # The linker will automatically build a .lib file if we build a DLL.
17682 old_archive_From_new_cmds_GCJ
='true'
17683 # FIXME: Should let the user specify the lib program.
17684 old_archive_cmds_GCJ
='lib /OUT:$oldlib$oldobjs$old_deplibs'
17685 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
17686 enable_shared_with_static_runtimes_GCJ
=yes
17689 darwin
* | rhapsody
*)
17691 rhapsody
* | darwin1.
[012])
17692 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
17695 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17696 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17698 case ${MACOSX_DEPLOYMENT_TARGET} in
17700 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17703 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
17709 archive_cmds_need_lc_GCJ
=no
17710 hardcode_direct_GCJ
=no
17711 hardcode_automatic_GCJ
=yes
17712 hardcode_shlibpath_var_GCJ
=unsupported
17713 whole_archive_flag_spec_GCJ
=''
17714 link_all_deplibs_GCJ
=yes
17715 if test "$GCC" = yes ; then
17716 output_verbose_link_cmd
='echo'
17717 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17718 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17719 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17720 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}'
17721 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}'
17723 case $cc_basename in
17725 output_verbose_link_cmd
='echo'
17726 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
17727 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17728 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17729 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 $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17730 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}'
17740 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17741 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17742 hardcode_shlibpath_var_GCJ
=no
17749 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17750 # support. Future versions do this automatically, but an explicit c++rt0.o
17751 # does not break anything, and helps significantly (at the cost of a little
17754 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17755 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17756 hardcode_direct_GCJ
=yes
17757 hardcode_shlibpath_var_GCJ
=no
17760 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17762 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17763 hardcode_direct_GCJ
=yes
17764 hardcode_minus_L_GCJ
=yes
17765 hardcode_shlibpath_var_GCJ
=no
17768 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17769 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
17770 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17771 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17772 hardcode_direct_GCJ
=yes
17773 hardcode_shlibpath_var_GCJ
=no
17777 if test "$GCC" = yes; then
17778 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'
17780 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'
17782 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17783 hardcode_libdir_separator_GCJ
=:
17784 hardcode_direct_GCJ
=yes
17786 # hardcode_minus_L: Not really in the search PATH,
17787 # but as the default location of the library.
17788 hardcode_minus_L_GCJ
=yes
17789 export_dynamic_flag_spec_GCJ
='${wl}-E'
17793 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17794 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17796 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17798 if test "$with_gnu_ld" = no
; then
17799 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17800 hardcode_libdir_separator_GCJ
=:
17802 hardcode_direct_GCJ
=yes
17803 export_dynamic_flag_spec_GCJ
='${wl}-E'
17805 # hardcode_minus_L: Not really in the search PATH,
17806 # but as the default location of the library.
17807 hardcode_minus_L_GCJ
=yes
17812 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17815 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17818 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17821 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17827 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17830 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17833 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17837 if test "$with_gnu_ld" = no
; then
17838 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17839 hardcode_libdir_separator_GCJ
=:
17843 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
17844 hardcode_direct_GCJ
=no
17845 hardcode_shlibpath_var_GCJ
=no
17848 hardcode_direct_GCJ
=yes
17849 export_dynamic_flag_spec_GCJ
='${wl}-E'
17851 # hardcode_minus_L: Not really in the search PATH,
17852 # but as the default location of the library.
17853 hardcode_minus_L_GCJ
=yes
17859 irix5
* | irix6
* | nonstopux
*)
17860 if test "$GCC" = yes; then
17861 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'
17863 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'
17864 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
17866 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17867 hardcode_libdir_separator_GCJ
=:
17868 link_all_deplibs_GCJ
=yes
17872 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17873 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
17875 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
17877 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17878 hardcode_direct_GCJ
=yes
17879 hardcode_shlibpath_var_GCJ
=no
17883 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17884 hardcode_direct_GCJ
=yes
17885 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17886 hardcode_libdir_separator_GCJ
=:
17887 hardcode_shlibpath_var_GCJ
=no
17891 hardcode_direct_GCJ
=yes
17892 hardcode_shlibpath_var_GCJ
=no
17893 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17894 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17895 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17896 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17897 export_dynamic_flag_spec_GCJ
='${wl}-E'
17900 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
17901 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17902 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17905 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17906 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17913 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17914 hardcode_minus_L_GCJ
=yes
17915 allow_undefined_flag_GCJ
=unsupported
17916 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'
17917 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17921 if test "$GCC" = yes; then
17922 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17923 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'
17925 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17926 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'
17928 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17929 hardcode_libdir_separator_GCJ
=:
17932 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
17933 if test "$GCC" = yes; then
17934 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17935 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'
17936 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17938 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17939 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'
17940 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~
17941 $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'
17943 # Both c and cxx compiler support -rpath directly
17944 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
17946 hardcode_libdir_separator_GCJ
=:
17950 no_undefined_flag_GCJ
=' -z text'
17951 if test "$GCC" = yes; then
17953 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17954 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17955 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
17958 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17959 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17960 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17962 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17963 hardcode_shlibpath_var_GCJ
=no
17965 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
17967 # The compiler driver will combine linker options so we
17968 # cannot just pass the convience library names through
17969 # without $wl, iff we do not link with $LD.
17970 # Luckily, gcc supports the same syntax we need for Sun Studio.
17971 # Supported since Solaris 2.6 (maybe 2.5.1?)
17974 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract' ;;
17976 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
17979 link_all_deplibs_GCJ
=yes
17983 if test "x$host_vendor" = xsequent
; then
17984 # Use $CC to link under sequent, because it throws in some extra .o
17985 # files that make .init and .fini sections work.
17986 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17988 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17990 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17991 hardcode_direct_GCJ
=yes
17992 hardcode_minus_L_GCJ
=yes
17993 hardcode_shlibpath_var_GCJ
=no
17997 case $host_vendor in
17999 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18000 hardcode_direct_GCJ
=yes # is this really true???
18003 ## LD is ld it makes a PLAMLIB
18004 ## CC just makes a GrossModule.
18005 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
18006 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
18007 hardcode_direct_GCJ
=no
18010 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18011 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
18014 runpath_var
='LD_RUN_PATH'
18015 hardcode_shlibpath_var_GCJ
=no
18019 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18020 hardcode_shlibpath_var_GCJ
=no
18021 export_dynamic_flag_spec_GCJ
='-Bexport'
18025 if test -d /usr
/nec
; then
18026 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18027 hardcode_shlibpath_var_GCJ
=no
18028 runpath_var
=LD_RUN_PATH
18029 hardcode_runpath_var
=yes
18034 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
18035 no_undefined_flag_GCJ
='${wl}-z,text'
18036 archive_cmds_need_lc_GCJ
=no
18037 hardcode_shlibpath_var_GCJ
=no
18038 runpath_var
='LD_RUN_PATH'
18040 if test "$GCC" = yes; then
18041 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18042 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18044 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18045 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18049 sysv5
* | sco3.2v5
* | sco5v6
*)
18050 # Note: We can NOT use -z defs as we might desire, because we do not
18051 # link with -lc, and that would cause any symbols used from libc to
18052 # always be unresolved, which means just about no library would
18053 # ever link correctly. If we're not using GNU ld we use -z text
18054 # though, which does catch some bad symbols but isn't as heavy-handed
18056 no_undefined_flag_GCJ
='${wl}-z,text'
18057 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
18058 archive_cmds_need_lc_GCJ
=no
18059 hardcode_shlibpath_var_GCJ
=no
18060 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
18061 hardcode_libdir_separator_GCJ
=':'
18062 link_all_deplibs_GCJ
=yes
18063 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
18064 runpath_var
='LD_RUN_PATH'
18066 if test "$GCC" = yes; then
18067 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18068 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18070 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18071 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18076 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18077 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18078 hardcode_shlibpath_var_GCJ
=no
18087 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
18088 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
18089 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
18092 # Do we need to explicitly link libc?
18094 case "x$archive_cmds_need_lc_GCJ" in
18096 # Assume -lc should be added
18097 archive_cmds_need_lc_GCJ
=yes
18099 if test "$enable_shared" = yes && test "$GCC" = yes; then
18100 case $archive_cmds_GCJ in
18102 # FIXME: we may have to deal with multi-command sequences.
18105 # Test whether the compiler implicitly links with -lc since on some
18106 # systems, -lgcc has to come before -lc. If gcc already passes -lc
18107 # to ld, don't add -lc before -lgcc.
18108 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18109 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
18111 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
18113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18114 (eval $ac_compile) 2>&5
18116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18117 (exit $ac_status); } 2>conftest.err
; then
18120 libobjs
=conftest.
$ac_objext
18122 wl
=$lt_prog_compiler_wl_GCJ
18123 pic_flag
=$lt_prog_compiler_pic_GCJ
18129 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
18130 allow_undefined_flag_GCJ
=
18131 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
18132 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
18134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18135 (exit $ac_status); }
18137 archive_cmds_need_lc_GCJ
=no
18139 archive_cmds_need_lc_GCJ
=yes
18141 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
18143 cat conftest.err
1>&5
18146 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
18147 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
18154 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18155 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
18156 library_names_spec
=
18157 libname_spec
='lib$name'
18161 postuninstall_cmds
=
18165 shlibpath_overrides_runpath
=unknown
18167 dynamic_linker
="$host_os ld.so"
18168 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
18169 if test "$GCC" = yes; then
18170 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18171 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
18172 # if the path contains ";" then we assume it to be the separator
18173 # otherwise default to the standard path separator (i.e. ":") - it is
18174 # assumed that no part of a normal pathname contains ";" but that should
18175 # okay in the real world where ";" in dirpaths is itself problematic.
18176 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18178 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18181 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
18183 need_lib_prefix
=unknown
18184 hardcode_into_libs
=no
18186 # when you set need_version to no, make sure it does not cause -set_version
18187 # flags to be left without arguments
18188 need_version
=unknown
18193 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
18194 shlibpath_var
=LIBPATH
18196 # AIX 3 has no versioning support, so we append a major version to the name.
18197 soname_spec
='${libname}${release}${shared_ext}$major'
18204 hardcode_into_libs
=yes
18205 if test "$host_cpu" = ia64
; then
18206 # AIX 5 supports IA64
18207 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
18208 shlibpath_var
=LD_LIBRARY_PATH
18210 # With GCC up to 2.95.x, collect2 would create an import file
18211 # for dependence libraries. The import file would start with
18212 # the line `#! .'. This would cause the generated library to
18213 # depend on `.', always an invalid library. This was fixed in
18214 # development snapshots of GCC prior to 3.0.
18216 aix4 | aix4.
[01] | aix4.
[01].
*)
18217 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18219 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
18222 can_build_shared
=no
18226 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18227 # soname into executable. Probably we can add versioning support to
18228 # collect2, so additional links can be useful in future.
18229 if test "$aix_use_runtimelinking" = yes; then
18230 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
18231 # instead of lib<name>.a to let people know that these are not
18232 # typical AIX shared libraries.
18233 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18235 # We preserve .a as extension for shared libraries through AIX4.2
18236 # and later when we are not doing run time linking.
18237 library_names_spec
='${libname}${release}.a $libname.a'
18238 soname_spec
='${libname}${release}${shared_ext}$major'
18240 shlibpath_var
=LIBPATH
18245 library_names_spec
='$libname.ixlibrary $libname.a'
18246 # Create ${libname}_ixlibrary.a entries in /sys/libs.
18247 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'
18251 library_names_spec
='${libname}${shared_ext}'
18252 dynamic_linker
="$host_os ld.so"
18253 shlibpath_var
=LIBRARY_PATH
18259 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18260 soname_spec
='${libname}${release}${shared_ext}$major'
18261 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
18262 shlibpath_var
=LD_LIBRARY_PATH
18263 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18264 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
18265 # the default ld.so.conf also contains /usr/contrib/lib and
18266 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18267 # libtool to hard-code these into programs
18270 cygwin
* | mingw
* | pw32
*)
18271 version_type
=windows
18276 case $GCC,$host_os in
18277 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
18278 library_names_spec
='$libname.dll.a'
18279 # DLL is installed to $(libdir)/../bin by postinstall_cmds
18280 postinstall_cmds
='base_file=`basename \${file}`~
18281 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18282 dldir=$destdir/`dirname \$dlpath`~
18283 test -d \$dldir || mkdir -p \$dldir~
18284 $install_prog $dir/$dlname \$dldir/$dlname~
18285 chmod a+x \$dldir/$dlname'
18286 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18287 dlpath=$dir/\$dldll~
18289 shlibpath_overrides_runpath
=yes
18293 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18294 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18295 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
18298 # MinGW DLLs use traditional 'lib' prefix
18299 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18300 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18301 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
18302 # It is most probably a Windows format PATH printed by
18303 # mingw gcc, but we are running on Cygwin. Gcc prints its search
18304 # path with ; separators, and with drive letters. We can handle the
18305 # drive letters (cygwin fileutils understands them), so leave them,
18306 # especially as we might pass files found there to a mingw objdump,
18307 # which wouldn't understand a cygwinified path. Ahh.
18308 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18310 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18314 # pw32 DLLs use 'pw' prefix rather than 'lib'
18315 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18321 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18324 dynamic_linker
='Win32 ld.exe'
18325 # FIXME: first we should search . and the directory the executable is in
18329 darwin
* | rhapsody
*)
18330 dynamic_linker
="$host_os dyld"
18331 version_type
=darwin
18334 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18335 soname_spec
='${libname}${release}${major}$shared_ext'
18336 shlibpath_overrides_runpath
=yes
18337 shlibpath_var
=DYLD_LIBRARY_PATH
18338 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
18339 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
18340 if test "$GCC" = yes; then
18341 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
18343 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
18345 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
18352 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18353 soname_spec
='${libname}${release}${shared_ext}$major'
18354 shlibpath_var
=LD_LIBRARY_PATH
18365 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18366 soname_spec
='${libname}${release}${shared_ext}$major'
18367 shlibpath_var
=LD_LIBRARY_PATH
18368 shlibpath_overrides_runpath
=no
18369 hardcode_into_libs
=yes
18370 dynamic_linker
='GNU ld.so'
18373 freebsd
* | dragonfly
*)
18374 # DragonFly does not have aout. When/if they implement a new
18375 # versioning mechanism, adjust this.
18376 if test -x /usr
/bin
/objformat
; then
18377 objformat
=`/usr/bin/objformat`
18380 freebsd
[123]*) objformat
=aout
;;
18381 *) objformat
=elf
;;
18384 version_type
=freebsd-
$objformat
18385 case $version_type in
18387 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18392 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18396 shlibpath_var
=LD_LIBRARY_PATH
18399 shlibpath_overrides_runpath
=yes
18401 freebsd3.
[01]* | freebsdelf3.
[01]*)
18402 shlibpath_overrides_runpath
=yes
18403 hardcode_into_libs
=yes
18405 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
18406 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
18407 shlibpath_overrides_runpath
=no
18408 hardcode_into_libs
=yes
18410 freebsd
*) # from 4.6 on
18411 shlibpath_overrides_runpath
=yes
18412 hardcode_into_libs
=yes
18421 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18422 soname_spec
='${libname}${release}${shared_ext}$major'
18423 shlibpath_var
=LD_LIBRARY_PATH
18424 hardcode_into_libs
=yes
18427 hpux9
* | hpux10
* | hpux11
*)
18428 # Give a soname corresponding to the major version so that dld.sl refuses to
18429 # link against other versions.
18436 hardcode_into_libs
=yes
18437 dynamic_linker
="$host_os dld.so"
18438 shlibpath_var
=LD_LIBRARY_PATH
18439 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18440 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18441 soname_spec
='${libname}${release}${shared_ext}$major'
18442 if test "X$HPUX_IA64_MODE" = X32
; then
18443 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18445 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
18447 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18451 hardcode_into_libs
=yes
18452 dynamic_linker
="$host_os dld.sl"
18453 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
18454 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18455 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18456 soname_spec
='${libname}${release}${shared_ext}$major'
18457 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18458 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18462 dynamic_linker
="$host_os dld.sl"
18463 shlibpath_var
=SHLIB_PATH
18464 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
18465 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18466 soname_spec
='${libname}${release}${shared_ext}$major'
18469 # HP-UX runs *really* slowly unless shared libraries are mode 555.
18470 postinstall_cmds
='chmod 555 $lib'
18477 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18478 soname_spec
='${libname}${release}${shared_ext}$major'
18479 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
18480 shlibpath_var
=LD_LIBRARY_PATH
18481 shlibpath_overrides_runpath
=no
18482 hardcode_into_libs
=yes
18485 irix5
* | irix6
* | nonstopux
*)
18487 nonstopux
*) version_type
=nonstopux
;;
18489 if test "$lt_cv_prog_gnu_ld" = yes; then
18497 soname_spec
='${libname}${release}${shared_ext}$major'
18498 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18500 irix5
* | nonstopux
*)
18501 libsuff
= shlibsuff
=
18504 case $LD in # libtool.m4 will add one of these switches to LD
18505 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
18506 libsuff
= shlibsuff
= libmagic
=32-bit;;
18507 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
18508 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
18509 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
18510 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
18511 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
18515 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
18516 shlibpath_overrides_runpath
=no
18517 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18518 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
18519 hardcode_into_libs
=yes
18522 # No shared lib support for Linux oldld, aout, or coff.
18523 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
18527 # This must be Linux ELF.
18532 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18533 soname_spec
='${libname}${release}${shared_ext}$major'
18534 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18535 shlibpath_var
=LD_LIBRARY_PATH
18536 shlibpath_overrides_runpath
=no
18537 # This implies no fast_install, which is unacceptable.
18538 # Some rework will be needed to allow for fast_install
18539 # before this can be enabled.
18540 hardcode_into_libs
=yes
18542 # find out which ABI we are using
18544 case "$host_cpu" in
18545 x86_64
*|s390x
*|powerpc64
*)
18546 echo '#line 18546 "configure"' > conftest.
$ac_ext
18547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18548 (eval $ac_compile) 2>&5
18550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18551 (exit $ac_status); }; then
18552 case `/usr/bin/file conftest.$ac_objext` in
18555 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
18563 # Append ld.so.conf contents to the search path
18564 if test -f /etc
/ld.so.conf
; then
18565 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/^ *//;s/#.*//;/^[^\/]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
18566 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
18569 # We used to test for /lib/ld.so.1 and disable shared libraries on
18570 # powerpc, because MkLinux only supported shared libraries with the
18571 # GNU dynamic linker. Since this was broken with cross compilers,
18572 # most powerpc-linux boxes support dynamic linking these days and
18573 # people can always --disable-shared, the test was removed, and we
18574 # assume the GNU/Linux dynamic linker is in use.
18575 dynamic_linker
='GNU/Linux ld.so'
18582 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18583 soname_spec
='${libname}${release}${shared_ext}$major'
18584 shlibpath_var
=LD_LIBRARY_PATH
18585 shlibpath_overrides_runpath
=no
18586 hardcode_into_libs
=yes
18587 dynamic_linker
='GNU ld.so'
18594 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18595 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18596 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18597 dynamic_linker
='NetBSD (a.out) ld.so'
18599 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18600 soname_spec
='${libname}${release}${shared_ext}$major'
18601 dynamic_linker
='NetBSD ld.elf_so'
18603 shlibpath_var
=LD_LIBRARY_PATH
18604 shlibpath_overrides_runpath
=yes
18605 hardcode_into_libs
=yes
18610 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18611 shlibpath_var
=LD_LIBRARY_PATH
18612 shlibpath_overrides_runpath
=yes
18619 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18620 soname_spec
='${libname}${release}${shared_ext}$major'
18621 shlibpath_var
=LD_LIBRARY_PATH
18622 shlibpath_overrides_runpath
=yes
18627 sys_lib_dlsearch_path_spec
="/usr/lib"
18629 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18631 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
18632 *) need_version
=no
;;
18634 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18635 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18636 shlibpath_var
=LD_LIBRARY_PATH
18637 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18639 openbsd2.
[89] | openbsd2.
[89].
*)
18640 shlibpath_overrides_runpath
=no
18643 shlibpath_overrides_runpath
=yes
18647 shlibpath_overrides_runpath
=yes
18652 libname_spec
='$name'
18655 library_names_spec
='$libname${shared_ext} $libname.a'
18656 dynamic_linker
='OS/2 ld.exe'
18657 shlibpath_var
=LIBPATH
18660 osf3
* | osf4
* | osf5
*)
18664 soname_spec
='${libname}${release}${shared_ext}$major'
18665 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18666 shlibpath_var
=LD_LIBRARY_PATH
18667 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18668 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
18675 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18676 soname_spec
='${libname}${release}${shared_ext}$major'
18677 shlibpath_var
=LD_LIBRARY_PATH
18678 shlibpath_overrides_runpath
=yes
18679 hardcode_into_libs
=yes
18680 # ldd complains unless libraries are executable
18681 postinstall_cmds
='chmod +x $lib'
18686 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18687 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18688 shlibpath_var
=LD_LIBRARY_PATH
18689 shlibpath_overrides_runpath
=yes
18690 if test "$with_gnu_ld" = yes; then
18698 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18699 soname_spec
='${libname}${release}${shared_ext}$major'
18700 shlibpath_var
=LD_LIBRARY_PATH
18701 case $host_vendor in
18703 shlibpath_overrides_runpath
=no
18705 export_dynamic_flag_spec
='${wl}-Blargedynsym'
18706 runpath_var
=LD_RUN_PATH
18714 shlibpath_overrides_runpath
=no
18715 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
18721 if test -d /usr
/nec
;then
18723 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18724 soname_spec
='$libname${shared_ext}.$major'
18725 shlibpath_var
=LD_LIBRARY_PATH
18729 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
18730 version_type
=freebsd-elf
18733 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18734 soname_spec
='${libname}${release}${shared_ext}$major'
18735 shlibpath_var
=LD_LIBRARY_PATH
18736 hardcode_into_libs
=yes
18737 if test "$with_gnu_ld" = yes; then
18738 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18739 shlibpath_overrides_runpath
=no
18741 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
18742 shlibpath_overrides_runpath
=yes
18745 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
18749 sys_lib_dlsearch_path_spec
='/usr/lib'
18754 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18755 soname_spec
='${libname}${release}${shared_ext}$major'
18756 shlibpath_var
=LD_LIBRARY_PATH
18763 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18764 echo "${ECHO_T}$dynamic_linker" >&6; }
18765 test "$dynamic_linker" = no
&& can_build_shared
=no
18767 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
18768 if test "$GCC" = yes; then
18769 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18772 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18773 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
18774 hardcode_action_GCJ
=
18775 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18776 test -n "$runpath_var_GCJ" || \
18777 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18779 # We can hardcode non-existant directories.
18780 if test "$hardcode_direct_GCJ" != no
&&
18781 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18782 # have to relink, otherwise we might link with an installed library
18783 # when we should be linking with a yet-to-be-installed one
18784 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18785 test "$hardcode_minus_L_GCJ" != no
; then
18786 # Linking always hardcodes the temporary library directory.
18787 hardcode_action_GCJ
=relink
18789 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18790 hardcode_action_GCJ
=immediate
18793 # We cannot hardcode anything, or else we can only hardcode existing
18795 hardcode_action_GCJ
=unsupported
18797 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18798 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
18800 if test "$hardcode_action_GCJ" = relink
; then
18801 # Fast installation is not supported
18802 enable_fast_install
=no
18803 elif test "$shlibpath_overrides_runpath" = yes ||
18804 test "$enable_shared" = no
; then
18805 # Fast installation is not necessary
18806 enable_fast_install
=needless
18810 # The else clause should only fire when bootstrapping the
18811 # libtool distribution, otherwise you forgot to ship ltmain.sh
18812 # with your package, and you will get complaints that there are
18813 # no rules to generate ltmain.sh.
18814 if test -f "$ltmain"; then
18815 # See if we are running on zsh, and set the options which allow our commands through
18816 # without removal of \ escapes.
18817 if test -n "${ZSH_VERSION+set}" ; then
18818 setopt NO_GLOB_SUBST
18820 # Now quote all the things that may contain metacharacters while being
18821 # careful not to overquote the AC_SUBSTed values. We take copies of the
18822 # variables and quote the copies for generation of the libtool script.
18823 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18825 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18826 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18827 deplibs_check_method reload_flag reload_cmds need_locks \
18828 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18829 lt_cv_sys_global_symbol_to_c_name_address \
18830 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18831 old_postinstall_cmds old_postuninstall_cmds \
18835 lt_prog_compiler_wl_GCJ \
18836 lt_prog_compiler_pic_GCJ \
18837 lt_prog_compiler_static_GCJ \
18838 lt_prog_compiler_no_builtin_flag_GCJ \
18839 export_dynamic_flag_spec_GCJ \
18840 thread_safe_flag_spec_GCJ \
18841 whole_archive_flag_spec_GCJ \
18842 enable_shared_with_static_runtimes_GCJ \
18843 old_archive_cmds_GCJ \
18844 old_archive_from_new_cmds_GCJ \
18845 predep_objects_GCJ \
18846 postdep_objects_GCJ \
18849 compiler_lib_search_path_GCJ \
18851 archive_expsym_cmds_GCJ \
18852 postinstall_cmds_GCJ \
18853 postuninstall_cmds_GCJ \
18854 old_archive_from_expsyms_cmds_GCJ \
18855 allow_undefined_flag_GCJ \
18856 no_undefined_flag_GCJ \
18857 export_symbols_cmds_GCJ \
18858 hardcode_libdir_flag_spec_GCJ \
18859 hardcode_libdir_flag_spec_ld_GCJ \
18860 hardcode_libdir_separator_GCJ \
18861 hardcode_automatic_GCJ \
18863 module_expsym_cmds_GCJ \
18864 lt_cv_prog_compiler_c_o_GCJ \
18865 exclude_expsyms_GCJ \
18866 include_expsyms_GCJ
; do
18869 old_archive_cmds_GCJ | \
18870 old_archive_from_new_cmds_GCJ | \
18871 archive_cmds_GCJ | \
18872 archive_expsym_cmds_GCJ | \
18873 module_cmds_GCJ | \
18874 module_expsym_cmds_GCJ | \
18875 old_archive_from_expsyms_cmds_GCJ | \
18876 export_symbols_cmds_GCJ | \
18877 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18878 postinstall_cmds | postuninstall_cmds | \
18879 old_postinstall_cmds | old_postuninstall_cmds | \
18880 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18881 # Double-quote double-evaled strings.
18882 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18885 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18891 *'\$0 --fallback-echo"')
18892 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18898 cat <<__EOF__ >> "$cfgfile"
18899 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18901 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18903 # Shell to use when invoking shell scripts.
18906 # Whether or not to build shared libraries.
18907 build_libtool_libs=$enable_shared
18909 # Whether or not to build static libraries.
18910 build_old_libs=$enable_static
18912 # Whether or not to add -lc for building shared libraries.
18913 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
18915 # Whether or not to disallow shared libs when runtime libs are static
18916 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
18918 # Whether or not to optimize for fast installation.
18919 fast_install=$enable_fast_install
18922 host_alias=$host_alias
18926 # The build system.
18927 build_alias=$build_alias
18931 # An echo program that does not interpret backslashes.
18936 AR_FLAGS=$lt_AR_FLAGS
18941 # LTCC compiler flags.
18942 LTCFLAGS=$lt_LTCFLAGS
18944 # A language-specific compiler.
18945 CC=$lt_compiler_GCJ
18947 # Is the compiler the GNU C compiler?
18953 # The linker used to build libraries.
18956 # Whether we need hard or soft links.
18959 # A BSD-compatible nm program.
18962 # A symbol stripping program
18965 # Used to examine libraries when file_magic_cmd begins "file"
18966 MAGIC_CMD=$MAGIC_CMD
18968 # Used on cygwin: DLL creation program.
18971 # Used on cygwin: object dumper.
18974 # Used on cygwin: assembler.
18977 # The name of the directory that contains temporary libtool files.
18980 # How to create reloadable object files.
18981 reload_flag=$lt_reload_flag
18982 reload_cmds=$lt_reload_cmds
18984 # How to pass a linker flag through the compiler.
18985 wl=$lt_lt_prog_compiler_wl_GCJ
18987 # Object file suffix (normally "o").
18988 objext="$ac_objext"
18990 # Old archive suffix (normally "a").
18993 # Shared library suffix (normally ".so").
18994 shrext_cmds='$shrext_cmds'
18996 # Executable file suffix (normally "").
18999 # Additional compiler flags for building library objects.
19000 pic_flag=$lt_lt_prog_compiler_pic_GCJ
19003 # What is the maximum length of a command?
19004 max_cmd_len=$lt_cv_sys_max_cmd_len
19006 # Does compiler simultaneously support -c and -o options?
19007 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
19009 # Must we lock files when doing compilation?
19010 need_locks=$lt_need_locks
19012 # Do we need the lib prefix for modules?
19013 need_lib_prefix=$need_lib_prefix
19015 # Do we need a version for libraries?
19016 need_version=$need_version
19018 # Whether dlopen is supported.
19019 dlopen_support=$enable_dlopen
19021 # Whether dlopen of programs is supported.
19022 dlopen_self=$enable_dlopen_self
19024 # Whether dlopen of statically linked programs is supported.
19025 dlopen_self_static=$enable_dlopen_self_static
19027 # Compiler flag to prevent dynamic linking.
19028 link_static_flag=$lt_lt_prog_compiler_static_GCJ
19030 # Compiler flag to turn off builtin functions.
19031 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
19033 # Compiler flag to allow reflexive dlopens.
19034 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
19036 # Compiler flag to generate shared objects directly from archives.
19037 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
19039 # Compiler flag to generate thread-safe objects.
19040 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
19042 # Library versioning type.
19043 version_type=$version_type
19045 # Format of library name prefix.
19046 libname_spec=$lt_libname_spec
19048 # List of archive names. First name is the real one, the rest are links.
19049 # The last name is the one that the linker finds with -lNAME.
19050 library_names_spec=$lt_library_names_spec
19052 # The coded name of the library, if different from the real name.
19053 soname_spec=$lt_soname_spec
19055 # Commands used to build and install an old-style archive.
19057 old_archive_cmds=$lt_old_archive_cmds_GCJ
19058 old_postinstall_cmds=$lt_old_postinstall_cmds
19059 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19061 # Create an old-style archive from a shared archive.
19062 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
19064 # Create a temporary old-style archive to link instead of a shared archive.
19065 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
19067 # Commands used to build and install a shared archive.
19068 archive_cmds=$lt_archive_cmds_GCJ
19069 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
19070 postinstall_cmds=$lt_postinstall_cmds
19071 postuninstall_cmds=$lt_postuninstall_cmds
19073 # Commands used to build a loadable module (assumed same as above if empty)
19074 module_cmds=$lt_module_cmds_GCJ
19075 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
19077 # Commands to strip libraries.
19078 old_striplib=$lt_old_striplib
19079 striplib=$lt_striplib
19081 # Dependencies to place before the objects being linked to create a
19083 predep_objects=$lt_predep_objects_GCJ
19085 # Dependencies to place after the objects being linked to create a
19087 postdep_objects=$lt_postdep_objects_GCJ
19089 # Dependencies to place before the objects being linked to create a
19091 predeps=$lt_predeps_GCJ
19093 # Dependencies to place after the objects being linked to create a
19095 postdeps=$lt_postdeps_GCJ
19097 # The library search path used internally by the compiler when linking
19098 # a shared library.
19099 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
19101 # Method to check whether dependent libraries are shared objects.
19102 deplibs_check_method=$lt_deplibs_check_method
19104 # Command to use when deplibs_check_method == file_magic.
19105 file_magic_cmd=$lt_file_magic_cmd
19107 # Flag that allows shared libraries with undefined symbols to be built.
19108 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
19110 # Flag that forces no undefined symbols.
19111 no_undefined_flag=$lt_no_undefined_flag_GCJ
19113 # Commands used to finish a libtool library installation in a directory.
19114 finish_cmds=$lt_finish_cmds
19116 # Same as above, but a single script fragment to be evaled but not shown.
19117 finish_eval=$lt_finish_eval
19119 # Take the output of nm and produce a listing of raw symbols and C names.
19120 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19122 # Transform the output of nm in a proper C declaration
19123 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19125 # Transform the output of nm in a C name address pair
19126 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19128 # This is the shared library runtime path variable.
19129 runpath_var=$runpath_var
19131 # This is the shared library path variable.
19132 shlibpath_var=$shlibpath_var
19134 # Is shlibpath searched before the hard-coded library search path?
19135 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19137 # How to hardcode a shared library path into an executable.
19138 hardcode_action=$hardcode_action_GCJ
19140 # Whether we should hardcode library paths into libraries.
19141 hardcode_into_libs=$hardcode_into_libs
19143 # Flag to hardcode \$libdir into a binary during linking.
19144 # This must work even if \$libdir does not exist.
19145 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
19147 # If ld is used when linking, flag to hardcode \$libdir into
19148 # a binary during linking. This must work even if \$libdir does
19150 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
19152 # Whether we need a single -rpath flag with a separated argument.
19153 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
19155 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19156 # resulting binary.
19157 hardcode_direct=$hardcode_direct_GCJ
19159 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19160 # resulting binary.
19161 hardcode_minus_L=$hardcode_minus_L_GCJ
19163 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19164 # the resulting binary.
19165 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
19167 # Set to yes if building a shared library automatically hardcodes DIR into the library
19168 # and all subsequent libraries and executables linked against it.
19169 hardcode_automatic=$hardcode_automatic_GCJ
19171 # Variables whose values should be saved in libtool wrapper scripts and
19172 # restored at relink time.
19173 variables_saved_for_relink="$variables_saved_for_relink"
19175 # Whether libtool must link a program against all its dependency libraries.
19176 link_all_deplibs=$link_all_deplibs_GCJ
19178 # Compile-time system search path for libraries
19179 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19181 # Run-time system search path for libraries
19182 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19184 # Fix the shell variable \$srcfile for the compiler.
19185 fix_srcfile_path="$fix_srcfile_path_GCJ"
19187 # Set to yes if exported symbols are required.
19188 always_export_symbols=$always_export_symbols_GCJ
19190 # The commands to list exported symbols.
19191 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
19193 # The commands to extract the exported symbol list from a shared archive.
19194 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19196 # Symbols that should not be listed in the preloaded symbols.
19197 exclude_expsyms=$lt_exclude_expsyms_GCJ
19199 # Symbols that must always be exported.
19200 include_expsyms=$lt_include_expsyms_GCJ
19202 # ### END LIBTOOL TAG CONFIG: $tagname
19208 # If there is no Makefile yet, we rely on a make rule to execute
19209 # `config.status --recheck' to rerun these tests and create the
19210 # libtool script then.
19211 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19212 if test -f "$ltmain_in"; then
19213 test -f Makefile
&& make "$ltmain"
19219 ac_cpp
='$CPP $CPPFLAGS'
19220 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19221 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19222 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19234 # Source file extension for RC test sources.
19237 # Object file extension for compiled RC test sources.
19241 # Code to be used in simple compile tests
19242 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
19244 # Code to be used in simple link tests
19245 lt_simple_link_test_code
="$lt_simple_compile_test_code"
19247 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
19249 # If no C compiler was specified, use CC.
19252 # If no C compiler flags were specified, use CFLAGS.
19253 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
19255 # Allow CC to be a program name with arguments.
19259 # save warnings/boilerplate of simple test code
19260 ac_outfile
=conftest.
$ac_objext
19261 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
19262 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
19263 _lt_compiler_boilerplate
=`cat conftest.err`
19266 ac_outfile
=conftest.
$ac_objext
19267 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
19268 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
19269 _lt_linker_boilerplate
=`cat conftest.err`
19273 # Allow CC to be a program name with arguments.
19278 for cc_temp
in $compiler""; do
19280 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
19281 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
19286 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19288 lt_cv_prog_compiler_c_o_RC
=yes
19290 # The else clause should only fire when bootstrapping the
19291 # libtool distribution, otherwise you forgot to ship ltmain.sh
19292 # with your package, and you will get complaints that there are
19293 # no rules to generate ltmain.sh.
19294 if test -f "$ltmain"; then
19295 # See if we are running on zsh, and set the options which allow our commands through
19296 # without removal of \ escapes.
19297 if test -n "${ZSH_VERSION+set}" ; then
19298 setopt NO_GLOB_SUBST
19300 # Now quote all the things that may contain metacharacters while being
19301 # careful not to overquote the AC_SUBSTed values. We take copies of the
19302 # variables and quote the copies for generation of the libtool script.
19303 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19305 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19306 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19307 deplibs_check_method reload_flag reload_cmds need_locks \
19308 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19309 lt_cv_sys_global_symbol_to_c_name_address \
19310 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19311 old_postinstall_cmds old_postuninstall_cmds \
19315 lt_prog_compiler_wl_RC \
19316 lt_prog_compiler_pic_RC \
19317 lt_prog_compiler_static_RC \
19318 lt_prog_compiler_no_builtin_flag_RC \
19319 export_dynamic_flag_spec_RC \
19320 thread_safe_flag_spec_RC \
19321 whole_archive_flag_spec_RC \
19322 enable_shared_with_static_runtimes_RC \
19323 old_archive_cmds_RC \
19324 old_archive_from_new_cmds_RC \
19325 predep_objects_RC \
19326 postdep_objects_RC \
19329 compiler_lib_search_path_RC \
19331 archive_expsym_cmds_RC \
19332 postinstall_cmds_RC \
19333 postuninstall_cmds_RC \
19334 old_archive_from_expsyms_cmds_RC \
19335 allow_undefined_flag_RC \
19336 no_undefined_flag_RC \
19337 export_symbols_cmds_RC \
19338 hardcode_libdir_flag_spec_RC \
19339 hardcode_libdir_flag_spec_ld_RC \
19340 hardcode_libdir_separator_RC \
19341 hardcode_automatic_RC \
19343 module_expsym_cmds_RC \
19344 lt_cv_prog_compiler_c_o_RC \
19345 exclude_expsyms_RC \
19346 include_expsyms_RC
; do
19349 old_archive_cmds_RC | \
19350 old_archive_from_new_cmds_RC | \
19351 archive_cmds_RC | \
19352 archive_expsym_cmds_RC | \
19354 module_expsym_cmds_RC | \
19355 old_archive_from_expsyms_cmds_RC | \
19356 export_symbols_cmds_RC | \
19357 extract_expsyms_cmds | reload_cmds | finish_cmds | \
19358 postinstall_cmds | postuninstall_cmds | \
19359 old_postinstall_cmds | old_postuninstall_cmds | \
19360 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
19361 # Double-quote double-evaled strings.
19362 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19365 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19371 *'\$0 --fallback-echo"')
19372 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19378 cat <<__EOF__ >> "$cfgfile"
19379 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19381 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19383 # Shell to use when invoking shell scripts.
19386 # Whether or not to build shared libraries.
19387 build_libtool_libs=$enable_shared
19389 # Whether or not to build static libraries.
19390 build_old_libs=$enable_static
19392 # Whether or not to add -lc for building shared libraries.
19393 build_libtool_need_lc=$archive_cmds_need_lc_RC
19395 # Whether or not to disallow shared libs when runtime libs are static
19396 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19398 # Whether or not to optimize for fast installation.
19399 fast_install=$enable_fast_install
19402 host_alias=$host_alias
19406 # The build system.
19407 build_alias=$build_alias
19411 # An echo program that does not interpret backslashes.
19416 AR_FLAGS=$lt_AR_FLAGS
19421 # LTCC compiler flags.
19422 LTCFLAGS=$lt_LTCFLAGS
19424 # A language-specific compiler.
19427 # Is the compiler the GNU C compiler?
19433 # The linker used to build libraries.
19436 # Whether we need hard or soft links.
19439 # A BSD-compatible nm program.
19442 # A symbol stripping program
19445 # Used to examine libraries when file_magic_cmd begins "file"
19446 MAGIC_CMD=$MAGIC_CMD
19448 # Used on cygwin: DLL creation program.
19451 # Used on cygwin: object dumper.
19454 # Used on cygwin: assembler.
19457 # The name of the directory that contains temporary libtool files.
19460 # How to create reloadable object files.
19461 reload_flag=$lt_reload_flag
19462 reload_cmds=$lt_reload_cmds
19464 # How to pass a linker flag through the compiler.
19465 wl=$lt_lt_prog_compiler_wl_RC
19467 # Object file suffix (normally "o").
19468 objext="$ac_objext"
19470 # Old archive suffix (normally "a").
19473 # Shared library suffix (normally ".so").
19474 shrext_cmds='$shrext_cmds'
19476 # Executable file suffix (normally "").
19479 # Additional compiler flags for building library objects.
19480 pic_flag=$lt_lt_prog_compiler_pic_RC
19483 # What is the maximum length of a command?
19484 max_cmd_len=$lt_cv_sys_max_cmd_len
19486 # Does compiler simultaneously support -c and -o options?
19487 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19489 # Must we lock files when doing compilation?
19490 need_locks=$lt_need_locks
19492 # Do we need the lib prefix for modules?
19493 need_lib_prefix=$need_lib_prefix
19495 # Do we need a version for libraries?
19496 need_version=$need_version
19498 # Whether dlopen is supported.
19499 dlopen_support=$enable_dlopen
19501 # Whether dlopen of programs is supported.
19502 dlopen_self=$enable_dlopen_self
19504 # Whether dlopen of statically linked programs is supported.
19505 dlopen_self_static=$enable_dlopen_self_static
19507 # Compiler flag to prevent dynamic linking.
19508 link_static_flag=$lt_lt_prog_compiler_static_RC
19510 # Compiler flag to turn off builtin functions.
19511 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19513 # Compiler flag to allow reflexive dlopens.
19514 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19516 # Compiler flag to generate shared objects directly from archives.
19517 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19519 # Compiler flag to generate thread-safe objects.
19520 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19522 # Library versioning type.
19523 version_type=$version_type
19525 # Format of library name prefix.
19526 libname_spec=$lt_libname_spec
19528 # List of archive names. First name is the real one, the rest are links.
19529 # The last name is the one that the linker finds with -lNAME.
19530 library_names_spec=$lt_library_names_spec
19532 # The coded name of the library, if different from the real name.
19533 soname_spec=$lt_soname_spec
19535 # Commands used to build and install an old-style archive.
19537 old_archive_cmds=$lt_old_archive_cmds_RC
19538 old_postinstall_cmds=$lt_old_postinstall_cmds
19539 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19541 # Create an old-style archive from a shared archive.
19542 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19544 # Create a temporary old-style archive to link instead of a shared archive.
19545 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19547 # Commands used to build and install a shared archive.
19548 archive_cmds=$lt_archive_cmds_RC
19549 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19550 postinstall_cmds=$lt_postinstall_cmds
19551 postuninstall_cmds=$lt_postuninstall_cmds
19553 # Commands used to build a loadable module (assumed same as above if empty)
19554 module_cmds=$lt_module_cmds_RC
19555 module_expsym_cmds=$lt_module_expsym_cmds_RC
19557 # Commands to strip libraries.
19558 old_striplib=$lt_old_striplib
19559 striplib=$lt_striplib
19561 # Dependencies to place before the objects being linked to create a
19563 predep_objects=$lt_predep_objects_RC
19565 # Dependencies to place after the objects being linked to create a
19567 postdep_objects=$lt_postdep_objects_RC
19569 # Dependencies to place before the objects being linked to create a
19571 predeps=$lt_predeps_RC
19573 # Dependencies to place after the objects being linked to create a
19575 postdeps=$lt_postdeps_RC
19577 # The library search path used internally by the compiler when linking
19578 # a shared library.
19579 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19581 # Method to check whether dependent libraries are shared objects.
19582 deplibs_check_method=$lt_deplibs_check_method
19584 # Command to use when deplibs_check_method == file_magic.
19585 file_magic_cmd=$lt_file_magic_cmd
19587 # Flag that allows shared libraries with undefined symbols to be built.
19588 allow_undefined_flag=$lt_allow_undefined_flag_RC
19590 # Flag that forces no undefined symbols.
19591 no_undefined_flag=$lt_no_undefined_flag_RC
19593 # Commands used to finish a libtool library installation in a directory.
19594 finish_cmds=$lt_finish_cmds
19596 # Same as above, but a single script fragment to be evaled but not shown.
19597 finish_eval=$lt_finish_eval
19599 # Take the output of nm and produce a listing of raw symbols and C names.
19600 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19602 # Transform the output of nm in a proper C declaration
19603 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19605 # Transform the output of nm in a C name address pair
19606 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19608 # This is the shared library runtime path variable.
19609 runpath_var=$runpath_var
19611 # This is the shared library path variable.
19612 shlibpath_var=$shlibpath_var
19614 # Is shlibpath searched before the hard-coded library search path?
19615 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19617 # How to hardcode a shared library path into an executable.
19618 hardcode_action=$hardcode_action_RC
19620 # Whether we should hardcode library paths into libraries.
19621 hardcode_into_libs=$hardcode_into_libs
19623 # Flag to hardcode \$libdir into a binary during linking.
19624 # This must work even if \$libdir does not exist.
19625 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19627 # If ld is used when linking, flag to hardcode \$libdir into
19628 # a binary during linking. This must work even if \$libdir does
19630 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19632 # Whether we need a single -rpath flag with a separated argument.
19633 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19635 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19636 # resulting binary.
19637 hardcode_direct=$hardcode_direct_RC
19639 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19640 # resulting binary.
19641 hardcode_minus_L=$hardcode_minus_L_RC
19643 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19644 # the resulting binary.
19645 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19647 # Set to yes if building a shared library automatically hardcodes DIR into the library
19648 # and all subsequent libraries and executables linked against it.
19649 hardcode_automatic=$hardcode_automatic_RC
19651 # Variables whose values should be saved in libtool wrapper scripts and
19652 # restored at relink time.
19653 variables_saved_for_relink="$variables_saved_for_relink"
19655 # Whether libtool must link a program against all its dependency libraries.
19656 link_all_deplibs=$link_all_deplibs_RC
19658 # Compile-time system search path for libraries
19659 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19661 # Run-time system search path for libraries
19662 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19664 # Fix the shell variable \$srcfile for the compiler.
19665 fix_srcfile_path="$fix_srcfile_path_RC"
19667 # Set to yes if exported symbols are required.
19668 always_export_symbols=$always_export_symbols_RC
19670 # The commands to list exported symbols.
19671 export_symbols_cmds=$lt_export_symbols_cmds_RC
19673 # The commands to extract the exported symbol list from a shared archive.
19674 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19676 # Symbols that should not be listed in the preloaded symbols.
19677 exclude_expsyms=$lt_exclude_expsyms_RC
19679 # Symbols that must always be exported.
19680 include_expsyms=$lt_include_expsyms_RC
19682 # ### END LIBTOOL TAG CONFIG: $tagname
19688 # If there is no Makefile yet, we rely on a make rule to execute
19689 # `config.status --recheck' to rerun these tests and create the
19690 # libtool script then.
19691 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19692 if test -f "$ltmain_in"; then
19693 test -f Makefile
&& make "$ltmain"
19699 ac_cpp
='$CPP $CPPFLAGS'
19700 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19701 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19702 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19709 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19710 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19711 { (exit 1); exit 1; }; }
19715 # Append the new tag name to the list of available tags.
19716 if test -n "$tagname" ; then
19717 available_tags
="$available_tags $tagname"
19723 # Now substitute the updated list of available tags.
19724 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
19725 mv "${ofile}T" "$ofile"
19729 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19730 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19731 { (exit 1); exit 1; }; }
19737 # This can be used to rebuild libtool when needed
19738 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
19740 # Always use our own libtool.
19741 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
19743 # Prevent multiple expansion
19771 ac_header_dirent
=no
19772 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
19773 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
19774 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
19775 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
19776 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19777 echo $ECHO_N "(cached) $ECHO_C" >&6
19779 cat >conftest.
$ac_ext <<_ACEOF
19782 cat confdefs.h
>>conftest.
$ac_ext
19783 cat >>conftest.
$ac_ext <<_ACEOF
19784 /* end confdefs.h. */
19785 #include <sys/types.h>
19797 rm -f conftest.
$ac_objext
19798 if { (ac_try
="$ac_compile"
19799 case "(($ac_try" in
19800 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19801 *) ac_try_echo=$ac_try;;
19803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19804 (eval "$ac_compile") 2>conftest.er1
19806 grep -v '^ *+' conftest.er1 >conftest.err
19808 cat conftest.err >&5
19809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19810 (exit $ac_status); } && {
19811 test -z "$ac_c_werror_flag" ||
19812 test ! -s conftest.err
19813 } && test -s conftest.$ac_objext; then
19814 eval "$as_ac_Header=yes"
19816 echo "$as_me: failed program was:" >&5
19817 sed 's/^/| /' conftest.$ac_ext >&5
19819 eval "$as_ac_Header=no"
19822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19824 ac_res=`eval echo '${'$as_ac_Header'}'`
19825 { echo "$as_me:$LINENO: result: $ac_res" >&5
19826 echo "${ECHO_T}$ac_res" >&6; }
19827 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19828 cat >>confdefs.h <<_ACEOF
19829 #define `echo "HAVE_$ac_hdr" |
$as_tr_cpp` 1
19832 ac_header_dirent=$ac_hdr; break
19836 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
19837 if test $ac_header_dirent = dirent.h; then
19838 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
19839 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
19840 if test "${ac_cv_search_opendir+set}" = set; then
19841 echo $ECHO_N "(cached) $ECHO_C" >&6
19843 ac_func_search_save_LIBS=$LIBS
19844 cat >conftest.$ac_ext <<_ACEOF
19847 cat confdefs.h >>conftest.$ac_ext
19848 cat >>conftest.$ac_ext <<_ACEOF
19849 /* end confdefs.h. */
19851 /* Override any GCC internal prototype to avoid an error.
19852 Use char because int might match the return type of a GCC
19853 builtin and then its argument prototype would still apply. */
19866 for ac_lib in '' dir; do
19867 if test -z "$ac_lib"; then
19868 ac_res="none required"
19871 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19873 rm -f conftest.$ac_objext conftest$ac_exeext
19874 if { (ac_try="$ac_link"
19875 case "(($ac_try" in
19876 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19877 *) ac_try_echo
=$ac_try;;
19879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19880 (eval "$ac_link") 2>conftest.er1
19882 grep -v '^ *+' conftest.er1
>conftest.err
19884 cat conftest.err
>&5
19885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19886 (exit $ac_status); } && {
19887 test -z "$ac_c_werror_flag" ||
19888 test ! -s conftest.err
19889 } && test -s conftest
$ac_exeext &&
19890 $as_test_x conftest
$ac_exeext; then
19891 ac_cv_search_opendir
=$ac_res
19893 echo "$as_me: failed program was:" >&5
19894 sed 's/^/| /' conftest.
$ac_ext >&5
19899 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
19901 if test "${ac_cv_search_opendir+set}" = set; then
19905 if test "${ac_cv_search_opendir+set}" = set; then
19908 ac_cv_search_opendir
=no
19910 rm conftest.
$ac_ext
19911 LIBS
=$ac_func_search_save_LIBS
19913 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
19914 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
19915 ac_res
=$ac_cv_search_opendir
19916 if test "$ac_res" != no
; then
19917 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19922 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
19923 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
19924 if test "${ac_cv_search_opendir+set}" = set; then
19925 echo $ECHO_N "(cached) $ECHO_C" >&6
19927 ac_func_search_save_LIBS
=$LIBS
19928 cat >conftest.
$ac_ext <<_ACEOF
19931 cat confdefs.h
>>conftest.
$ac_ext
19932 cat >>conftest.
$ac_ext <<_ACEOF
19933 /* end confdefs.h. */
19935 /* Override any GCC internal prototype to avoid an error.
19936 Use char because int might match the return type of a GCC
19937 builtin and then its argument prototype would still apply. */
19950 for ac_lib
in '' x
; do
19951 if test -z "$ac_lib"; then
19952 ac_res
="none required"
19955 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19957 rm -f conftest.
$ac_objext conftest
$ac_exeext
19958 if { (ac_try
="$ac_link"
19959 case "(($ac_try" in
19960 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19961 *) ac_try_echo=$ac_try;;
19963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19964 (eval "$ac_link") 2>conftest.er1
19966 grep -v '^ *+' conftest.er1 >conftest.err
19968 cat conftest.err >&5
19969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19970 (exit $ac_status); } && {
19971 test -z "$ac_c_werror_flag" ||
19972 test ! -s conftest.err
19973 } && test -s conftest$ac_exeext &&
19974 $as_test_x conftest$ac_exeext; then
19975 ac_cv_search_opendir=$ac_res
19977 echo "$as_me: failed program was:" >&5
19978 sed 's/^/| /' conftest.$ac_ext >&5
19983 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19985 if test "${ac_cv_search_opendir+set}" = set; then
19989 if test "${ac_cv_search_opendir+set}" = set; then
19992 ac_cv_search_opendir=no
19994 rm conftest.$ac_ext
19995 LIBS=$ac_func_search_save_LIBS
19997 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
19998 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
19999 ac_res=$ac_cv_search_opendir
20000 if test "$ac_res" != no; then
20001 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20007 # Check whether --enable-ltdl-install was given.
20008 if test "${enable_ltdl_install+set}" = set; then
20009 enableval=$enable_ltdl_install;
20013 if test x"${enable_ltdl_install-no}" != xno; then
20015 INSTALL_LTDL_FALSE='#'
20017 INSTALL_LTDL_TRUE='#'
20018 INSTALL_LTDL_FALSE=
20021 if test x"${enable_ltdl_convenience-no}" != xno; then
20022 CONVENIENCE_LTDL_TRUE=
20023 CONVENIENCE_LTDL_FALSE='#'
20025 CONVENIENCE_LTDL_TRUE='#'
20026 CONVENIENCE_LTDL_FALSE=
20031 { echo "$as_me:$LINENO: checking which extension is used for loadable modules" >&5
20032 echo $ECHO_N "checking which extension is used for loadable modules... $ECHO_C" >&6; }
20033 if test "${libltdl_cv_shlibext+set}" = set; then
20034 echo $ECHO_N "(cached) $ECHO_C" >&6
20038 eval libltdl_cv_shlibext=$shrext_cmds
20041 { echo "$as_me:$LINENO: result: $libltdl_cv_shlibext" >&5
20042 echo "${ECHO_T}$libltdl_cv_shlibext" >&6; }
20043 if test -n "$libltdl_cv_shlibext"; then
20045 cat >>confdefs.h <<_ACEOF
20046 #define LTDL_SHLIB_EXT "$libltdl_cv_shlibext"
20052 { echo "$as_me:$LINENO: checking which variable specifies run-time library path" >&5
20053 echo $ECHO_N "checking which variable specifies run-time library path... $ECHO_C" >&6; }
20054 if test "${libltdl_cv_shlibpath_var+set}" = set; then
20055 echo $ECHO_N "(cached) $ECHO_C" >&6
20057 libltdl_cv_shlibpath_var="$shlibpath_var"
20059 { echo "$as_me:$LINENO: result: $libltdl_cv_shlibpath_var" >&5
20060 echo "${ECHO_T}$libltdl_cv_shlibpath_var" >&6; }
20061 if test -n "$libltdl_cv_shlibpath_var"; then
20063 cat >>confdefs.h <<_ACEOF
20064 #define LTDL_SHLIBPATH_VAR "$libltdl_cv_shlibpath_var"
20070 { echo "$as_me:$LINENO: checking for the default library search path" >&5
20071 echo $ECHO_N "checking for the default library search path... $ECHO_C" >&6; }
20072 if test "${libltdl_cv_sys_search_path+set}" = set; then
20073 echo $ECHO_N "(cached) $ECHO_C" >&6
20075 libltdl_cv_sys_search_path="$sys_lib_dlsearch_path_spec"
20077 { echo "$as_me:$LINENO: result: $libltdl_cv_sys_search_path" >&5
20078 echo "${ECHO_T}$libltdl_cv_sys_search_path" >&6; }
20079 if test -n "$libltdl_cv_sys_search_path"; then
20081 for dir in $libltdl_cv_sys_search_path; do
20082 if test -z "$sys_search_path"; then
20083 sys_search_path="$dir"
20085 sys_search_path="$sys_search_path$PATH_SEPARATOR$dir"
20089 cat >>confdefs.h <<_ACEOF
20090 #define LTDL_SYSSEARCHPATH "$sys_search_path"
20095 { echo "$as_me:$LINENO: checking for objdir" >&5
20096 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
20097 if test "${libltdl_cv_objdir+set}" = set; then
20098 echo $ECHO_N "(cached) $ECHO_C" >&6
20100 libltdl_cv_objdir="$objdir"
20101 if test -n "$objdir"; then
20104 rm -f .libs 2>/dev/null
20105 mkdir .libs 2>/dev/null
20106 if test -d .libs; then
20107 libltdl_cv_objdir=.libs
20109 # MS-DOS does not allow filenames that begin with a dot.
20110 libltdl_cv_objdir=_libs
20112 rmdir .libs 2>/dev/null
20116 { echo "$as_me:$LINENO: result: $libltdl_cv_objdir" >&5
20117 echo "${ECHO_T}$libltdl_cv_objdir" >&6; }
20119 cat >>confdefs.h <<_ACEOF
20120 #define LTDL_OBJDIR "$libltdl_cv_objdir/"
20125 { echo "$as_me:$LINENO: checking whether libtool supports -dlopen/-dlpreopen" >&5
20126 echo $ECHO_N "checking whether libtool supports -dlopen/-dlpreopen... $ECHO_C" >&6; }
20127 if test "${libltdl_cv_preloaded_symbols+set}" = set; then
20128 echo $ECHO_N "(cached) $ECHO_C" >&6
20130 if test -n "$lt_cv_sys_global_symbol_pipe"; then
20131 libltdl_cv_preloaded_symbols=yes
20133 libltdl_cv_preloaded_symbols=no
20137 { echo "$as_me:$LINENO: result: $libltdl_cv_preloaded_symbols" >&5
20138 echo "${ECHO_T}$libltdl_cv_preloaded_symbols" >&6; }
20139 if test x"$libltdl_cv_preloaded_symbols" = xyes; then
20141 cat >>confdefs.h <<\_ACEOF
20142 #define HAVE_PRELOADED_SYMBOLS 1
20150 ac_cpp='$CPP $CPPFLAGS'
20151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20156 { echo "$as_me:$LINENO: checking for shl_load" >&5
20157 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
20158 if test "${ac_cv_func_shl_load+set}" = set; then
20159 echo $ECHO_N "(cached) $ECHO_C" >&6
20161 cat >conftest.$ac_ext <<_ACEOF
20164 cat confdefs.h >>conftest.$ac_ext
20165 cat >>conftest.$ac_ext <<_ACEOF
20166 /* end confdefs.h. */
20167 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
20168 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20169 #define shl_load innocuous_shl_load
20171 /* System header to define __stub macros and hopefully few prototypes,
20172 which can conflict with char shl_load (); below.
20173 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20174 <limits.h> exists even on freestanding compilers. */
20177 # include <limits.h>
20179 # include <assert.h>
20184 /* Override any GCC internal prototype to avoid an error.
20185 Use char because int might match the return type of a GCC
20186 builtin and then its argument prototype would still apply. */
20191 /* The GNU C library defines this for functions which it implements
20192 to always fail with ENOSYS. Some functions are actually named
20193 something starting with __ and the normal name is an alias. */
20194 #if defined __stub_shl_load || defined __stub___shl_load
20201 return shl_load ();
20206 rm -f conftest.$ac_objext conftest$ac_exeext
20207 if { (ac_try="$ac_link"
20208 case "(($ac_try" in
20209 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20210 *) ac_try_echo
=$ac_try;;
20212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20213 (eval "$ac_link") 2>conftest.er1
20215 grep -v '^ *+' conftest.er1
>conftest.err
20217 cat conftest.err
>&5
20218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20219 (exit $ac_status); } && {
20220 test -z "$ac_c_werror_flag" ||
20221 test ! -s conftest.err
20222 } && test -s conftest
$ac_exeext &&
20223 $as_test_x conftest
$ac_exeext; then
20224 ac_cv_func_shl_load
=yes
20226 echo "$as_me: failed program was:" >&5
20227 sed 's/^/| /' conftest.
$ac_ext >&5
20229 ac_cv_func_shl_load
=no
20232 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
20233 conftest
$ac_exeext conftest.
$ac_ext
20235 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
20236 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
20237 if test $ac_cv_func_shl_load = yes; then
20239 cat >>confdefs.h
<<\_ACEOF
20240 #define HAVE_SHL_LOAD 1
20244 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
20245 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
20246 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
20247 echo $ECHO_N "(cached) $ECHO_C" >&6
20249 ac_check_lib_save_LIBS
=$LIBS
20251 cat >conftest.
$ac_ext <<_ACEOF
20254 cat confdefs.h
>>conftest.
$ac_ext
20255 cat >>conftest.
$ac_ext <<_ACEOF
20256 /* end confdefs.h. */
20258 /* Override any GCC internal prototype to avoid an error.
20259 Use char because int might match the return type of a GCC
20260 builtin and then its argument prototype would still apply. */
20268 return shl_load ();
20273 rm -f conftest.
$ac_objext conftest
$ac_exeext
20274 if { (ac_try
="$ac_link"
20275 case "(($ac_try" in
20276 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20277 *) ac_try_echo=$ac_try;;
20279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20280 (eval "$ac_link") 2>conftest.er1
20282 grep -v '^ *+' conftest.er1 >conftest.err
20284 cat conftest.err >&5
20285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20286 (exit $ac_status); } && {
20287 test -z "$ac_c_werror_flag" ||
20288 test ! -s conftest.err
20289 } && test -s conftest$ac_exeext &&
20290 $as_test_x conftest$ac_exeext; then
20291 ac_cv_lib_dld_shl_load=yes
20293 echo "$as_me: failed program was:" >&5
20294 sed 's/^/| /' conftest.$ac_ext >&5
20296 ac_cv_lib_dld_shl_load=no
20299 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20300 conftest$ac_exeext conftest.$ac_ext
20301 LIBS=$ac_check_lib_save_LIBS
20303 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
20304 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
20305 if test $ac_cv_lib_dld_shl_load = yes; then
20307 cat >>confdefs.h <<\_ACEOF
20308 #define HAVE_SHL_LOAD 1
20311 LIBADD_DL="$LIBADD_DL -ldld"
20313 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
20314 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
20315 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
20316 echo $ECHO_N "(cached) $ECHO_C" >&6
20318 ac_check_lib_save_LIBS=$LIBS
20320 cat >conftest.$ac_ext <<_ACEOF
20323 cat confdefs.h >>conftest.$ac_ext
20324 cat >>conftest.$ac_ext <<_ACEOF
20325 /* end confdefs.h. */
20327 /* Override any GCC internal prototype to avoid an error.
20328 Use char because int might match the return type of a GCC
20329 builtin and then its argument prototype would still apply. */
20342 rm -f conftest.$ac_objext conftest$ac_exeext
20343 if { (ac_try="$ac_link"
20344 case "(($ac_try" in
20345 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20346 *) ac_try_echo
=$ac_try;;
20348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20349 (eval "$ac_link") 2>conftest.er1
20351 grep -v '^ *+' conftest.er1
>conftest.err
20353 cat conftest.err
>&5
20354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20355 (exit $ac_status); } && {
20356 test -z "$ac_c_werror_flag" ||
20357 test ! -s conftest.err
20358 } && test -s conftest
$ac_exeext &&
20359 $as_test_x conftest
$ac_exeext; then
20360 ac_cv_lib_dl_dlopen
=yes
20362 echo "$as_me: failed program was:" >&5
20363 sed 's/^/| /' conftest.
$ac_ext >&5
20365 ac_cv_lib_dl_dlopen
=no
20368 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
20369 conftest
$ac_exeext conftest.
$ac_ext
20370 LIBS
=$ac_check_lib_save_LIBS
20372 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
20373 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
20374 if test $ac_cv_lib_dl_dlopen = yes; then
20376 cat >>confdefs.h
<<\_ACEOF
20377 #define HAVE_LIBDL 1
20380 LIBADD_DL
="-ldl" libltdl_cv_lib_dl_dlopen
="yes"
20382 cat >conftest.
$ac_ext <<_ACEOF
20385 cat confdefs.h
>>conftest.
$ac_ext
20386 cat >>conftest.
$ac_ext <<_ACEOF
20387 /* end confdefs.h. */
20389 # include <dlfcn.h>
20400 rm -f conftest.
$ac_objext conftest
$ac_exeext
20401 if { (ac_try
="$ac_link"
20402 case "(($ac_try" in
20403 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20404 *) ac_try_echo=$ac_try;;
20406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20407 (eval "$ac_link") 2>conftest.er1
20409 grep -v '^ *+' conftest.er1 >conftest.err
20411 cat conftest.err >&5
20412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20413 (exit $ac_status); } && {
20414 test -z "$ac_c_werror_flag" ||
20415 test ! -s conftest.err
20416 } && test -s conftest$ac_exeext &&
20417 $as_test_x conftest$ac_exeext; then
20419 cat >>confdefs.h <<\_ACEOF
20420 #define HAVE_LIBDL 1
20422 libltdl_cv_func_dlopen="yes"
20424 echo "$as_me: failed program was:" >&5
20425 sed 's/^/| /' conftest.$ac_ext >&5
20427 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
20428 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
20429 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
20430 echo $ECHO_N "(cached) $ECHO_C" >&6
20432 ac_check_lib_save_LIBS=$LIBS
20433 LIBS="-lsvld $LIBS"
20434 cat >conftest.$ac_ext <<_ACEOF
20437 cat confdefs.h >>conftest.$ac_ext
20438 cat >>conftest.$ac_ext <<_ACEOF
20439 /* end confdefs.h. */
20441 /* Override any GCC internal prototype to avoid an error.
20442 Use char because int might match the return type of a GCC
20443 builtin and then its argument prototype would still apply. */
20456 rm -f conftest.$ac_objext conftest$ac_exeext
20457 if { (ac_try="$ac_link"
20458 case "(($ac_try" in
20459 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20460 *) ac_try_echo
=$ac_try;;
20462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20463 (eval "$ac_link") 2>conftest.er1
20465 grep -v '^ *+' conftest.er1
>conftest.err
20467 cat conftest.err
>&5
20468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20469 (exit $ac_status); } && {
20470 test -z "$ac_c_werror_flag" ||
20471 test ! -s conftest.err
20472 } && test -s conftest
$ac_exeext &&
20473 $as_test_x conftest
$ac_exeext; then
20474 ac_cv_lib_svld_dlopen
=yes
20476 echo "$as_me: failed program was:" >&5
20477 sed 's/^/| /' conftest.
$ac_ext >&5
20479 ac_cv_lib_svld_dlopen
=no
20482 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
20483 conftest
$ac_exeext conftest.
$ac_ext
20484 LIBS
=$ac_check_lib_save_LIBS
20486 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
20487 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
20488 if test $ac_cv_lib_svld_dlopen = yes; then
20490 cat >>confdefs.h
<<\_ACEOF
20491 #define HAVE_LIBDL 1
20494 LIBADD_DL
="-lsvld" libltdl_cv_func_dlopen
="yes"
20496 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
20497 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
20498 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
20499 echo $ECHO_N "(cached) $ECHO_C" >&6
20501 ac_check_lib_save_LIBS
=$LIBS
20503 cat >conftest.
$ac_ext <<_ACEOF
20506 cat confdefs.h
>>conftest.
$ac_ext
20507 cat >>conftest.
$ac_ext <<_ACEOF
20508 /* end confdefs.h. */
20510 /* Override any GCC internal prototype to avoid an error.
20511 Use char because int might match the return type of a GCC
20512 builtin and then its argument prototype would still apply. */
20520 return dld_link ();
20525 rm -f conftest.
$ac_objext conftest
$ac_exeext
20526 if { (ac_try
="$ac_link"
20527 case "(($ac_try" in
20528 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20529 *) ac_try_echo=$ac_try;;
20531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20532 (eval "$ac_link") 2>conftest.er1
20534 grep -v '^ *+' conftest.er1 >conftest.err
20536 cat conftest.err >&5
20537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20538 (exit $ac_status); } && {
20539 test -z "$ac_c_werror_flag" ||
20540 test ! -s conftest.err
20541 } && test -s conftest$ac_exeext &&
20542 $as_test_x conftest$ac_exeext; then
20543 ac_cv_lib_dld_dld_link=yes
20545 echo "$as_me: failed program was:" >&5
20546 sed 's/^/| /' conftest.$ac_ext >&5
20548 ac_cv_lib_dld_dld_link=no
20551 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20552 conftest$ac_exeext conftest.$ac_ext
20553 LIBS=$ac_check_lib_save_LIBS
20555 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
20556 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
20557 if test $ac_cv_lib_dld_dld_link = yes; then
20559 cat >>confdefs.h <<\_ACEOF
20563 LIBADD_DL="$LIBADD_DL -ldld"
20565 { echo "$as_me:$LINENO: checking for _dyld_func_lookup" >&5
20566 echo $ECHO_N "checking for _dyld_func_lookup... $ECHO_C" >&6; }
20567 if test "${ac_cv_func__dyld_func_lookup+set}" = set; then
20568 echo $ECHO_N "(cached) $ECHO_C" >&6
20570 cat >conftest.$ac_ext <<_ACEOF
20573 cat confdefs.h >>conftest.$ac_ext
20574 cat >>conftest.$ac_ext <<_ACEOF
20575 /* end confdefs.h. */
20576 /* Define _dyld_func_lookup to an innocuous variant, in case <limits.h> declares _dyld_func_lookup.
20577 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20578 #define _dyld_func_lookup innocuous__dyld_func_lookup
20580 /* System header to define __stub macros and hopefully few prototypes,
20581 which can conflict with char _dyld_func_lookup (); below.
20582 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20583 <limits.h> exists even on freestanding compilers. */
20586 # include <limits.h>
20588 # include <assert.h>
20591 #undef _dyld_func_lookup
20593 /* Override any GCC internal prototype to avoid an error.
20594 Use char because int might match the return type of a GCC
20595 builtin and then its argument prototype would still apply. */
20599 char _dyld_func_lookup ();
20600 /* The GNU C library defines this for functions which it implements
20601 to always fail with ENOSYS. Some functions are actually named
20602 something starting with __ and the normal name is an alias. */
20603 #if defined __stub__dyld_func_lookup || defined __stub____dyld_func_lookup
20610 return _dyld_func_lookup ();
20615 rm -f conftest.$ac_objext conftest$ac_exeext
20616 if { (ac_try="$ac_link"
20617 case "(($ac_try" in
20618 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20619 *) ac_try_echo
=$ac_try;;
20621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20622 (eval "$ac_link") 2>conftest.er1
20624 grep -v '^ *+' conftest.er1
>conftest.err
20626 cat conftest.err
>&5
20627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20628 (exit $ac_status); } && {
20629 test -z "$ac_c_werror_flag" ||
20630 test ! -s conftest.err
20631 } && test -s conftest
$ac_exeext &&
20632 $as_test_x conftest
$ac_exeext; then
20633 ac_cv_func__dyld_func_lookup
=yes
20635 echo "$as_me: failed program was:" >&5
20636 sed 's/^/| /' conftest.
$ac_ext >&5
20638 ac_cv_func__dyld_func_lookup
=no
20641 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
20642 conftest
$ac_exeext conftest.
$ac_ext
20644 { echo "$as_me:$LINENO: result: $ac_cv_func__dyld_func_lookup" >&5
20645 echo "${ECHO_T}$ac_cv_func__dyld_func_lookup" >&6; }
20646 if test $ac_cv_func__dyld_func_lookup = yes; then
20648 cat >>confdefs.h
<<\_ACEOF
20649 #define HAVE_DYLD 1
20663 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
20664 conftest
$ac_exeext conftest.
$ac_ext
20675 if test x
"$libltdl_cv_func_dlopen" = xyes ||
test x
"$libltdl_cv_lib_dl_dlopen" = xyes
20677 lt_save_LIBS
="$LIBS"
20678 LIBS
="$LIBS $LIBADD_DL"
20680 for ac_func
in dlerror
20682 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20683 { echo "$as_me:$LINENO: checking for $ac_func" >&5
20684 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
20685 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20686 echo $ECHO_N "(cached) $ECHO_C" >&6
20688 cat >conftest.
$ac_ext <<_ACEOF
20691 cat confdefs.h
>>conftest.
$ac_ext
20692 cat >>conftest.
$ac_ext <<_ACEOF
20693 /* end confdefs.h. */
20694 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20695 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20696 #define $ac_func innocuous_$ac_func
20698 /* System header to define __stub macros and hopefully few prototypes,
20699 which can conflict with char $ac_func (); below.
20700 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20701 <limits.h> exists even on freestanding compilers. */
20704 # include <limits.h>
20706 # include <assert.h>
20711 /* Override any GCC internal prototype to avoid an error.
20712 Use char because int might match the return type of a GCC
20713 builtin and then its argument prototype would still apply. */
20718 /* The GNU C library defines this for functions which it implements
20719 to always fail with ENOSYS. Some functions are actually named
20720 something starting with __ and the normal name is an alias. */
20721 #if defined __stub_$ac_func || defined __stub___$ac_func
20728 return $ac_func ();
20733 rm -f conftest.
$ac_objext conftest
$ac_exeext
20734 if { (ac_try
="$ac_link"
20735 case "(($ac_try" in
20736 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20737 *) ac_try_echo=$ac_try;;
20739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20740 (eval "$ac_link") 2>conftest.er1
20742 grep -v '^ *+' conftest.er1 >conftest.err
20744 cat conftest.err >&5
20745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20746 (exit $ac_status); } && {
20747 test -z "$ac_c_werror_flag" ||
20748 test ! -s conftest.err
20749 } && test -s conftest$ac_exeext &&
20750 $as_test_x conftest$ac_exeext; then
20751 eval "$as_ac_var=yes"
20753 echo "$as_me: failed program was:" >&5
20754 sed 's/^/| /' conftest.$ac_ext >&5
20756 eval "$as_ac_var=no"
20759 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20760 conftest$ac_exeext conftest.$ac_ext
20762 ac_res=`eval echo '${'$as_ac_var'}'`
20763 { echo "$as_me:$LINENO: result: $ac_res" >&5
20764 echo "${ECHO_T}$ac_res" >&6; }
20765 if test `eval echo '${'$as_ac_var'}'` = yes; then
20766 cat >>confdefs.h <<_ACEOF
20767 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
20773 LIBS="$lt_save_LIBS"
20776 ac_cpp='$CPP $CPPFLAGS'
20777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20783 { echo "$as_me:$LINENO: checking for _ prefix in compiled symbols" >&5
20784 echo $ECHO_N "checking for _ prefix in compiled symbols... $ECHO_C" >&6; }
20785 if test "${ac_cv_sys_symbol_underscore+set}" = set; then
20786 echo $ECHO_N "(cached) $ECHO_C" >&6
20788 ac_cv_sys_symbol_underscore=no
20789 cat > conftest.$ac_ext <<EOF
20790 void nm_test_func(){}
20791 int main(){nm_test_func;return 0;}
20793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20794 (eval $ac_compile) 2>&5
20796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20797 (exit $ac_status); }; then
20798 # Now try to grab the symbols.
20799 ac_nlist=conftest.nm
20800 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\"") >&5
20801 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5
20803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20804 (exit $ac_status); } && test -s "$ac_nlist"; then
20805 # See whether the symbols have a leading underscore.
20806 if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
20807 ac_cv_sys_symbol_underscore=yes
20809 if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
20812 echo "configure: cannot find nm_test_func in $ac_nlist" >&5
20816 echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&5
20819 echo "configure: failed program was:" >&5
20825 { echo "$as_me:$LINENO: result: $ac_cv_sys_symbol_underscore" >&5
20826 echo "${ECHO_T}$ac_cv_sys_symbol_underscore" >&6; }
20829 if test x"$ac_cv_sys_symbol_underscore" = xyes; then
20830 if test x"$libltdl_cv_func_dlopen" = xyes ||
20831 test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
20832 { echo "$as_me:$LINENO: checking whether we have to add an underscore for dlsym" >&5
20833 echo $ECHO_N "checking whether we have to add an underscore for dlsym... $ECHO_C" >&6; }
20834 if test "${libltdl_cv_need_uscore+set}" = set; then
20835 echo $ECHO_N "(cached) $ECHO_C" >&6
20837 libltdl_cv_need_uscore=unknown
20839 LIBS="$LIBS $LIBADD_DL"
20840 if test "$cross_compiling" = yes; then :
20841 libltdl_cv_need_uscore=cross
20843 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
20844 lt_status=$lt_dlunknown
20845 cat > conftest.$ac_ext <<EOF
20846 #line 20846 "configure"
20847 #include "confdefs.h"
20856 # define LT_DLGLOBAL RTLD_GLOBAL
20859 # define LT_DLGLOBAL DL_GLOBAL
20861 # define LT_DLGLOBAL 0
20865 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
20866 find out it does not work in some platform. */
20867 #ifndef LT_DLLAZY_OR_NOW
20869 # define LT_DLLAZY_OR_NOW RTLD_LAZY
20872 # define LT_DLLAZY_OR_NOW DL_LAZY
20875 # define LT_DLLAZY_OR_NOW RTLD_NOW
20878 # define LT_DLLAZY_OR_NOW DL_NOW
20880 # define LT_DLLAZY_OR_NOW 0
20888 extern "C" void exit (int);
20891 void fnord() { int i=42;}
20894 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
20895 int status = $lt_dlunknown;
20899 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
20900 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
20901 /* dlclose (self); */
20909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20910 (eval $ac_link) 2>&5
20912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20913 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
20914 (./conftest; exit; ) >&5 2>/dev/null
20916 case x$lt_status in
20917 x$lt_dlno_uscore) libltdl_cv_need_uscore=no ;;
20918 x$lt_dlneed_uscore) libltdl_cv_need_uscore=yes ;;
20919 x$lt_dlunknown|x*) ;;
20922 # compilation failed
20931 { echo "$as_me:$LINENO: result: $libltdl_cv_need_uscore" >&5
20932 echo "${ECHO_T}$libltdl_cv_need_uscore" >&6; }
20936 if test x"$libltdl_cv_need_uscore" = xyes; then
20938 cat >>confdefs.h <<\_ACEOF
20939 #define NEED_USCORE 1
20945 { echo "$as_me:$LINENO: checking whether deplibs are loaded by dlopen" >&5
20946 echo $ECHO_N "checking whether deplibs are loaded by dlopen... $ECHO_C" >&6; }
20947 if test "${libltdl_cv_sys_dlopen_deplibs+set}" = set; then
20948 echo $ECHO_N "(cached) $ECHO_C" >&6
20950 # PORTME does your system automatically load deplibs for dlopen?
20951 # or its logical equivalent (e.g. shl_load for HP-UX < 11)
20952 # For now, we just catch OSes we know something about -- in the
20953 # future, we'll try test this programmatically.
20954 libltdl_cv_sys_dlopen_deplibs=unknown
20956 aix3*|aix4.1.*|aix4.2.*)
20957 # Unknown whether this is true for these versions of AIX, but
20958 # we want this `case' here to explicitly catch those versions.
20959 libltdl_cv_sys_dlopen_deplibs=unknown
20962 libltdl_cv_sys_dlopen_deplibs=yes
20965 # Assuming the user has installed a libdl from somewhere, this is true
20966 # If you are looking for one http://www.opendarwin.org/projects/dlcompat
20967 libltdl_cv_sys_dlopen_deplibs=yes
20969 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
20970 # GNU and its variants, using gnu ld.so (Glibc)
20971 libltdl_cv_sys_dlopen_deplibs=yes
20974 libltdl_cv_sys_dlopen_deplibs=yes
20977 libltdl_cv_sys_dlopen_deplibs=yes
20979 irix[12345]*|irix6.[01]*)
20980 # Catch all versions of IRIX before 6.2, and indicate that we don't
20981 # know how it worked for any of those versions.
20982 libltdl_cv_sys_dlopen_deplibs
=unknown
20985 # The case above catches anything before 6.2, and it's known that
20986 # at 6.2 and later dlopen does load deplibs.
20987 libltdl_cv_sys_dlopen_deplibs
=yes
20990 libltdl_cv_sys_dlopen_deplibs
=yes
20993 libltdl_cv_sys_dlopen_deplibs
=yes
20996 # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
20997 # it did *not* use an RPATH in a shared library to find objects the
20998 # library depends on, so we explictly say `no'.
20999 libltdl_cv_sys_dlopen_deplibs
=no
21001 osf5.0|osf5.0a|osf5.1
)
21002 # dlopen *does* load deplibs and with the right loader patch applied
21003 # it even uses RPATH in a shared library to search for shared objects
21004 # that the library depends on, but there's no easy way to know if that
21005 # patch is installed. Since this is the case, all we can really
21006 # say is unknown -- it depends on the patch being installed. If
21007 # it is, this changes to `yes'. Without it, it would be `no'.
21008 libltdl_cv_sys_dlopen_deplibs
=unknown
21011 # the two cases above should catch all versions of osf <= 5.1. Read
21012 # the comments above for what we know about them.
21013 # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
21014 # is used to find them so we can finally say `yes'.
21015 libltdl_cv_sys_dlopen_deplibs
=yes
21018 libltdl_cv_sys_dlopen_deplibs
=yes
21020 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
21021 libltdl_cv_sys_dlopen_deplibs
=yes
21026 { echo "$as_me:$LINENO: result: $libltdl_cv_sys_dlopen_deplibs" >&5
21027 echo "${ECHO_T}$libltdl_cv_sys_dlopen_deplibs" >&6; }
21028 if test "$libltdl_cv_sys_dlopen_deplibs" != yes; then
21030 cat >>confdefs.h
<<\_ACEOF
21031 #define LTDL_DLOPEN_DEPLIBS 1
21037 for ac_header
in argz.h
21039 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21040 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21041 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21042 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21043 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21044 echo $ECHO_N "(cached) $ECHO_C" >&6
21046 ac_res
=`eval echo '${'$as_ac_Header'}'`
21047 { echo "$as_me:$LINENO: result: $ac_res" >&5
21048 echo "${ECHO_T}$ac_res" >&6; }
21050 # Is the header compilable?
21051 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
21052 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
21053 cat >conftest.
$ac_ext <<_ACEOF
21056 cat confdefs.h
>>conftest.
$ac_ext
21057 cat >>conftest.
$ac_ext <<_ACEOF
21058 /* end confdefs.h. */
21059 $ac_includes_default
21060 #include <$ac_header>
21062 rm -f conftest.
$ac_objext
21063 if { (ac_try
="$ac_compile"
21064 case "(($ac_try" in
21065 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21066 *) ac_try_echo=$ac_try;;
21068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21069 (eval "$ac_compile") 2>conftest.er1
21071 grep -v '^ *+' conftest.er1 >conftest.err
21073 cat conftest.err >&5
21074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21075 (exit $ac_status); } && {
21076 test -z "$ac_c_werror_flag" ||
21077 test ! -s conftest.err
21078 } && test -s conftest.$ac_objext; then
21079 ac_header_compiler=yes
21081 echo "$as_me: failed program was:" >&5
21082 sed 's/^/| /' conftest.$ac_ext >&5
21084 ac_header_compiler=no
21087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21088 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21089 echo "${ECHO_T}$ac_header_compiler" >&6; }
21091 # Is the header present?
21092 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
21093 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
21094 cat >conftest.$ac_ext <<_ACEOF
21097 cat confdefs.h >>conftest.$ac_ext
21098 cat >>conftest.$ac_ext <<_ACEOF
21099 /* end confdefs.h. */
21100 #include <$ac_header>
21102 if { (ac_try="$ac_cpp conftest.$ac_ext"
21103 case "(($ac_try" in
21104 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21105 *) ac_try_echo
=$ac_try;;
21107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21108 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21110 grep -v '^ *+' conftest.er1
>conftest.err
21112 cat conftest.err
>&5
21113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21114 (exit $ac_status); } >/dev
/null
&& {
21115 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21116 test ! -s conftest.err
21118 ac_header_preproc
=yes
21120 echo "$as_me: failed program was:" >&5
21121 sed 's/^/| /' conftest.
$ac_ext >&5
21123 ac_header_preproc
=no
21126 rm -f conftest.err conftest.
$ac_ext
21127 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21128 echo "${ECHO_T}$ac_header_preproc" >&6; }
21130 # So? What about this header?
21131 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21133 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21134 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21135 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21136 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21137 ac_header_preproc
=yes
21140 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21141 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21142 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21143 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21144 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21145 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21146 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21147 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21148 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21149 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21150 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21151 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21153 ## ---------------------------------- ##
21154 ## Report this to bug-libtool@gnu.org ##
21155 ## ---------------------------------- ##
21157 ) |
sed "s/^/$as_me: WARNING: /" >&2
21160 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21161 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21162 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21163 echo $ECHO_N "(cached) $ECHO_C" >&6
21165 eval "$as_ac_Header=\$ac_header_preproc"
21167 ac_res
=`eval echo '${'$as_ac_Header'}'`
21168 { echo "$as_me:$LINENO: result: $ac_res" >&5
21169 echo "${ECHO_T}$ac_res" >&6; }
21172 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21173 cat >>confdefs.h
<<_ACEOF
21174 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21182 { echo "$as_me:$LINENO: checking for error_t" >&5
21183 echo $ECHO_N "checking for error_t... $ECHO_C" >&6; }
21184 if test "${ac_cv_type_error_t+set}" = set; then
21185 echo $ECHO_N "(cached) $ECHO_C" >&6
21187 cat >conftest.
$ac_ext <<_ACEOF
21190 cat confdefs.h
>>conftest.
$ac_ext
21191 cat >>conftest.
$ac_ext <<_ACEOF
21192 /* end confdefs.h. */
21197 typedef error_t ac__type_new_;
21201 if ((ac__type_new_ *) 0)
21203 if (sizeof (ac__type_new_))
21209 rm -f conftest.
$ac_objext
21210 if { (ac_try
="$ac_compile"
21211 case "(($ac_try" in
21212 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21213 *) ac_try_echo=$ac_try;;
21215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21216 (eval "$ac_compile") 2>conftest.er1
21218 grep -v '^ *+' conftest.er1 >conftest.err
21220 cat conftest.err >&5
21221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21222 (exit $ac_status); } && {
21223 test -z "$ac_c_werror_flag" ||
21224 test ! -s conftest.err
21225 } && test -s conftest.$ac_objext; then
21226 ac_cv_type_error_t=yes
21228 echo "$as_me: failed program was:" >&5
21229 sed 's/^/| /' conftest.$ac_ext >&5
21231 ac_cv_type_error_t=no
21234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21236 { echo "$as_me:$LINENO: result: $ac_cv_type_error_t" >&5
21237 echo "${ECHO_T}$ac_cv_type_error_t" >&6; }
21238 if test $ac_cv_type_error_t = yes; then
21240 cat >>confdefs.h <<_ACEOF
21241 #define HAVE_ERROR_T 1
21247 cat >>confdefs.h <<\_ACEOF
21248 #define error_t int
21259 for ac_func in argz_append argz_create_sep argz_insert argz_next argz_stringify
21261 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
21262 { echo "$as_me:$LINENO: checking for $ac_func" >&5
21263 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
21264 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
21265 echo $ECHO_N "(cached) $ECHO_C" >&6
21267 cat >conftest.$ac_ext <<_ACEOF
21270 cat confdefs.h >>conftest.$ac_ext
21271 cat >>conftest.$ac_ext <<_ACEOF
21272 /* end confdefs.h. */
21273 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21274 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21275 #define $ac_func innocuous_$ac_func
21277 /* System header to define __stub macros and hopefully few prototypes,
21278 which can conflict with char $ac_func (); below.
21279 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21280 <limits.h> exists even on freestanding compilers. */
21283 # include <limits.h>
21285 # include <assert.h>
21290 /* Override any GCC internal prototype to avoid an error.
21291 Use char because int might match the return type of a GCC
21292 builtin and then its argument prototype would still apply. */
21297 /* The GNU C library defines this for functions which it implements
21298 to always fail with ENOSYS. Some functions are actually named
21299 something starting with __ and the normal name is an alias. */
21300 #if defined __stub_$ac_func || defined __stub___$ac_func
21307 return $ac_func ();
21312 rm -f conftest.$ac_objext conftest$ac_exeext
21313 if { (ac_try="$ac_link"
21314 case "(($ac_try" in
21315 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21316 *) ac_try_echo
=$ac_try;;
21318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21319 (eval "$ac_link") 2>conftest.er1
21321 grep -v '^ *+' conftest.er1
>conftest.err
21323 cat conftest.err
>&5
21324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21325 (exit $ac_status); } && {
21326 test -z "$ac_c_werror_flag" ||
21327 test ! -s conftest.err
21328 } && test -s conftest
$ac_exeext &&
21329 $as_test_x conftest
$ac_exeext; then
21330 eval "$as_ac_var=yes"
21332 echo "$as_me: failed program was:" >&5
21333 sed 's/^/| /' conftest.
$ac_ext >&5
21335 eval "$as_ac_var=no"
21338 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
21339 conftest
$ac_exeext conftest.
$ac_ext
21341 ac_res
=`eval echo '${'$as_ac_var'}'`
21342 { echo "$as_me:$LINENO: result: $ac_res" >&5
21343 echo "${ECHO_T}$ac_res" >&6; }
21344 if test `eval echo '${'$as_ac_var'}'` = yes; then
21345 cat >>confdefs.h
<<_ACEOF
21346 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21379 for ac_header
in assert.h ctype.h errno.h malloc.h memory.h stdlib.h \
21382 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21383 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21384 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21385 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21386 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21387 echo $ECHO_N "(cached) $ECHO_C" >&6
21389 ac_res
=`eval echo '${'$as_ac_Header'}'`
21390 { echo "$as_me:$LINENO: result: $ac_res" >&5
21391 echo "${ECHO_T}$ac_res" >&6; }
21393 # Is the header compilable?
21394 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
21395 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
21396 cat >conftest.
$ac_ext <<_ACEOF
21399 cat confdefs.h
>>conftest.
$ac_ext
21400 cat >>conftest.
$ac_ext <<_ACEOF
21401 /* end confdefs.h. */
21402 $ac_includes_default
21403 #include <$ac_header>
21405 rm -f conftest.
$ac_objext
21406 if { (ac_try
="$ac_compile"
21407 case "(($ac_try" in
21408 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21409 *) ac_try_echo=$ac_try;;
21411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21412 (eval "$ac_compile") 2>conftest.er1
21414 grep -v '^ *+' conftest.er1 >conftest.err
21416 cat conftest.err >&5
21417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21418 (exit $ac_status); } && {
21419 test -z "$ac_c_werror_flag" ||
21420 test ! -s conftest.err
21421 } && test -s conftest.$ac_objext; then
21422 ac_header_compiler=yes
21424 echo "$as_me: failed program was:" >&5
21425 sed 's/^/| /' conftest.$ac_ext >&5
21427 ac_header_compiler=no
21430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21431 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21432 echo "${ECHO_T}$ac_header_compiler" >&6; }
21434 # Is the header present?
21435 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
21436 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
21437 cat >conftest.$ac_ext <<_ACEOF
21440 cat confdefs.h >>conftest.$ac_ext
21441 cat >>conftest.$ac_ext <<_ACEOF
21442 /* end confdefs.h. */
21443 #include <$ac_header>
21445 if { (ac_try="$ac_cpp conftest.$ac_ext"
21446 case "(($ac_try" in
21447 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21448 *) ac_try_echo
=$ac_try;;
21450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21451 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21453 grep -v '^ *+' conftest.er1
>conftest.err
21455 cat conftest.err
>&5
21456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21457 (exit $ac_status); } >/dev
/null
&& {
21458 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21459 test ! -s conftest.err
21461 ac_header_preproc
=yes
21463 echo "$as_me: failed program was:" >&5
21464 sed 's/^/| /' conftest.
$ac_ext >&5
21466 ac_header_preproc
=no
21469 rm -f conftest.err conftest.
$ac_ext
21470 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21471 echo "${ECHO_T}$ac_header_preproc" >&6; }
21473 # So? What about this header?
21474 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21476 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21477 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21478 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21479 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21480 ac_header_preproc
=yes
21483 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21484 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21485 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21486 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21487 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21488 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21489 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21490 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21491 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21492 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21493 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21494 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21496 ## ---------------------------------- ##
21497 ## Report this to bug-libtool@gnu.org ##
21498 ## ---------------------------------- ##
21500 ) |
sed "s/^/$as_me: WARNING: /" >&2
21503 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21504 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21505 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21506 echo $ECHO_N "(cached) $ECHO_C" >&6
21508 eval "$as_ac_Header=\$ac_header_preproc"
21510 ac_res
=`eval echo '${'$as_ac_Header'}'`
21511 { echo "$as_me:$LINENO: result: $ac_res" >&5
21512 echo "${ECHO_T}$ac_res" >&6; }
21515 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21516 cat >>confdefs.h
<<_ACEOF
21517 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21528 for ac_header
in dl.h sys
/dl.h dld.h mach-o
/dyld.h
21530 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21531 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21532 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21533 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21534 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21535 echo $ECHO_N "(cached) $ECHO_C" >&6
21537 ac_res
=`eval echo '${'$as_ac_Header'}'`
21538 { echo "$as_me:$LINENO: result: $ac_res" >&5
21539 echo "${ECHO_T}$ac_res" >&6; }
21541 # Is the header compilable?
21542 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
21543 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
21544 cat >conftest.
$ac_ext <<_ACEOF
21547 cat confdefs.h
>>conftest.
$ac_ext
21548 cat >>conftest.
$ac_ext <<_ACEOF
21549 /* end confdefs.h. */
21550 $ac_includes_default
21551 #include <$ac_header>
21553 rm -f conftest.
$ac_objext
21554 if { (ac_try
="$ac_compile"
21555 case "(($ac_try" in
21556 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21557 *) ac_try_echo=$ac_try;;
21559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21560 (eval "$ac_compile") 2>conftest.er1
21562 grep -v '^ *+' conftest.er1 >conftest.err
21564 cat conftest.err >&5
21565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21566 (exit $ac_status); } && {
21567 test -z "$ac_c_werror_flag" ||
21568 test ! -s conftest.err
21569 } && test -s conftest.$ac_objext; then
21570 ac_header_compiler=yes
21572 echo "$as_me: failed program was:" >&5
21573 sed 's/^/| /' conftest.$ac_ext >&5
21575 ac_header_compiler=no
21578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21579 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21580 echo "${ECHO_T}$ac_header_compiler" >&6; }
21582 # Is the header present?
21583 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
21584 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
21585 cat >conftest.$ac_ext <<_ACEOF
21588 cat confdefs.h >>conftest.$ac_ext
21589 cat >>conftest.$ac_ext <<_ACEOF
21590 /* end confdefs.h. */
21591 #include <$ac_header>
21593 if { (ac_try="$ac_cpp conftest.$ac_ext"
21594 case "(($ac_try" in
21595 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21596 *) ac_try_echo
=$ac_try;;
21598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21599 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21601 grep -v '^ *+' conftest.er1
>conftest.err
21603 cat conftest.err
>&5
21604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21605 (exit $ac_status); } >/dev
/null
&& {
21606 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21607 test ! -s conftest.err
21609 ac_header_preproc
=yes
21611 echo "$as_me: failed program was:" >&5
21612 sed 's/^/| /' conftest.
$ac_ext >&5
21614 ac_header_preproc
=no
21617 rm -f conftest.err conftest.
$ac_ext
21618 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21619 echo "${ECHO_T}$ac_header_preproc" >&6; }
21621 # So? What about this header?
21622 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21624 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21625 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21626 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21627 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21628 ac_header_preproc
=yes
21631 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21632 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21633 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21634 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21635 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21636 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21637 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21638 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21639 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21640 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21641 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21642 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21644 ## ---------------------------------- ##
21645 ## Report this to bug-libtool@gnu.org ##
21646 ## ---------------------------------- ##
21648 ) |
sed "s/^/$as_me: WARNING: /" >&2
21651 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21652 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21653 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21654 echo $ECHO_N "(cached) $ECHO_C" >&6
21656 eval "$as_ac_Header=\$ac_header_preproc"
21658 ac_res
=`eval echo '${'$as_ac_Header'}'`
21659 { echo "$as_me:$LINENO: result: $ac_res" >&5
21660 echo "${ECHO_T}$ac_res" >&6; }
21663 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21664 cat >>confdefs.h
<<_ACEOF
21665 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21674 for ac_header
in string.h
strings.h
21676 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21677 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21678 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21679 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21680 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21681 echo $ECHO_N "(cached) $ECHO_C" >&6
21683 ac_res
=`eval echo '${'$as_ac_Header'}'`
21684 { echo "$as_me:$LINENO: result: $ac_res" >&5
21685 echo "${ECHO_T}$ac_res" >&6; }
21687 # Is the header compilable?
21688 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
21689 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
21690 cat >conftest.
$ac_ext <<_ACEOF
21693 cat confdefs.h
>>conftest.
$ac_ext
21694 cat >>conftest.
$ac_ext <<_ACEOF
21695 /* end confdefs.h. */
21696 $ac_includes_default
21697 #include <$ac_header>
21699 rm -f conftest.
$ac_objext
21700 if { (ac_try
="$ac_compile"
21701 case "(($ac_try" in
21702 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21703 *) ac_try_echo=$ac_try;;
21705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21706 (eval "$ac_compile") 2>conftest.er1
21708 grep -v '^ *+' conftest.er1 >conftest.err
21710 cat conftest.err >&5
21711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21712 (exit $ac_status); } && {
21713 test -z "$ac_c_werror_flag" ||
21714 test ! -s conftest.err
21715 } && test -s conftest.$ac_objext; then
21716 ac_header_compiler=yes
21718 echo "$as_me: failed program was:" >&5
21719 sed 's/^/| /' conftest.$ac_ext >&5
21721 ac_header_compiler=no
21724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21725 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21726 echo "${ECHO_T}$ac_header_compiler" >&6; }
21728 # Is the header present?
21729 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
21730 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
21731 cat >conftest.$ac_ext <<_ACEOF
21734 cat confdefs.h >>conftest.$ac_ext
21735 cat >>conftest.$ac_ext <<_ACEOF
21736 /* end confdefs.h. */
21737 #include <$ac_header>
21739 if { (ac_try="$ac_cpp conftest.$ac_ext"
21740 case "(($ac_try" in
21741 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21742 *) ac_try_echo
=$ac_try;;
21744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21745 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21747 grep -v '^ *+' conftest.er1
>conftest.err
21749 cat conftest.err
>&5
21750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21751 (exit $ac_status); } >/dev
/null
&& {
21752 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21753 test ! -s conftest.err
21755 ac_header_preproc
=yes
21757 echo "$as_me: failed program was:" >&5
21758 sed 's/^/| /' conftest.
$ac_ext >&5
21760 ac_header_preproc
=no
21763 rm -f conftest.err conftest.
$ac_ext
21764 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21765 echo "${ECHO_T}$ac_header_preproc" >&6; }
21767 # So? What about this header?
21768 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21770 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21771 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21772 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21773 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21774 ac_header_preproc
=yes
21777 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21778 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21779 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21780 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21781 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21782 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21783 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21784 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21785 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21786 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21787 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21788 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21790 ## ---------------------------------- ##
21791 ## Report this to bug-libtool@gnu.org ##
21792 ## ---------------------------------- ##
21794 ) |
sed "s/^/$as_me: WARNING: /" >&2
21797 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21798 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21799 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21800 echo $ECHO_N "(cached) $ECHO_C" >&6
21802 eval "$as_ac_Header=\$ac_header_preproc"
21804 ac_res
=`eval echo '${'$as_ac_Header'}'`
21805 { echo "$as_me:$LINENO: result: $ac_res" >&5
21806 echo "${ECHO_T}$ac_res" >&6; }
21809 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21810 cat >>confdefs.h
<<_ACEOF
21811 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21821 for ac_func
in strchr index
21823 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21824 { echo "$as_me:$LINENO: checking for $ac_func" >&5
21825 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
21826 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
21827 echo $ECHO_N "(cached) $ECHO_C" >&6
21829 cat >conftest.
$ac_ext <<_ACEOF
21832 cat confdefs.h
>>conftest.
$ac_ext
21833 cat >>conftest.
$ac_ext <<_ACEOF
21834 /* end confdefs.h. */
21835 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21836 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21837 #define $ac_func innocuous_$ac_func
21839 /* System header to define __stub macros and hopefully few prototypes,
21840 which can conflict with char $ac_func (); below.
21841 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21842 <limits.h> exists even on freestanding compilers. */
21845 # include <limits.h>
21847 # include <assert.h>
21852 /* Override any GCC internal prototype to avoid an error.
21853 Use char because int might match the return type of a GCC
21854 builtin and then its argument prototype would still apply. */
21859 /* The GNU C library defines this for functions which it implements
21860 to always fail with ENOSYS. Some functions are actually named
21861 something starting with __ and the normal name is an alias. */
21862 #if defined __stub_$ac_func || defined __stub___$ac_func
21869 return $ac_func ();
21874 rm -f conftest.
$ac_objext conftest
$ac_exeext
21875 if { (ac_try
="$ac_link"
21876 case "(($ac_try" in
21877 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21878 *) ac_try_echo=$ac_try;;
21880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21881 (eval "$ac_link") 2>conftest.er1
21883 grep -v '^ *+' conftest.er1 >conftest.err
21885 cat conftest.err >&5
21886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21887 (exit $ac_status); } && {
21888 test -z "$ac_c_werror_flag" ||
21889 test ! -s conftest.err
21890 } && test -s conftest$ac_exeext &&
21891 $as_test_x conftest$ac_exeext; then
21892 eval "$as_ac_var=yes"
21894 echo "$as_me: failed program was:" >&5
21895 sed 's/^/| /' conftest.$ac_ext >&5
21897 eval "$as_ac_var=no"
21900 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21901 conftest$ac_exeext conftest.$ac_ext
21903 ac_res=`eval echo '${'$as_ac_var'}'`
21904 { echo "$as_me:$LINENO: result: $ac_res" >&5
21905 echo "${ECHO_T}$ac_res" >&6; }
21906 if test `eval echo '${'$as_ac_var'}'` = yes; then
21907 cat >>confdefs.h <<_ACEOF
21908 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
21916 for ac_func in strrchr rindex
21918 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
21919 { echo "$as_me:$LINENO: checking for $ac_func" >&5
21920 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
21921 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
21922 echo $ECHO_N "(cached) $ECHO_C" >&6
21924 cat >conftest.$ac_ext <<_ACEOF
21927 cat confdefs.h >>conftest.$ac_ext
21928 cat >>conftest.$ac_ext <<_ACEOF
21929 /* end confdefs.h. */
21930 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21931 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21932 #define $ac_func innocuous_$ac_func
21934 /* System header to define __stub macros and hopefully few prototypes,
21935 which can conflict with char $ac_func (); below.
21936 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21937 <limits.h> exists even on freestanding compilers. */
21940 # include <limits.h>
21942 # include <assert.h>
21947 /* Override any GCC internal prototype to avoid an error.
21948 Use char because int might match the return type of a GCC
21949 builtin and then its argument prototype would still apply. */
21954 /* The GNU C library defines this for functions which it implements
21955 to always fail with ENOSYS. Some functions are actually named
21956 something starting with __ and the normal name is an alias. */
21957 #if defined __stub_$ac_func || defined __stub___$ac_func
21964 return $ac_func ();
21969 rm -f conftest.$ac_objext conftest$ac_exeext
21970 if { (ac_try="$ac_link"
21971 case "(($ac_try" in
21972 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21973 *) ac_try_echo
=$ac_try;;
21975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21976 (eval "$ac_link") 2>conftest.er1
21978 grep -v '^ *+' conftest.er1
>conftest.err
21980 cat conftest.err
>&5
21981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21982 (exit $ac_status); } && {
21983 test -z "$ac_c_werror_flag" ||
21984 test ! -s conftest.err
21985 } && test -s conftest
$ac_exeext &&
21986 $as_test_x conftest
$ac_exeext; then
21987 eval "$as_ac_var=yes"
21989 echo "$as_me: failed program was:" >&5
21990 sed 's/^/| /' conftest.
$ac_ext >&5
21992 eval "$as_ac_var=no"
21995 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
21996 conftest
$ac_exeext conftest.
$ac_ext
21998 ac_res
=`eval echo '${'$as_ac_var'}'`
21999 { echo "$as_me:$LINENO: result: $ac_res" >&5
22000 echo "${ECHO_T}$ac_res" >&6; }
22001 if test `eval echo '${'$as_ac_var'}'` = yes; then
22002 cat >>confdefs.h
<<_ACEOF
22003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22011 for ac_func
in memcpy bcopy
22013 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22014 { echo "$as_me:$LINENO: checking for $ac_func" >&5
22015 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
22016 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
22017 echo $ECHO_N "(cached) $ECHO_C" >&6
22019 cat >conftest.
$ac_ext <<_ACEOF
22022 cat confdefs.h
>>conftest.
$ac_ext
22023 cat >>conftest.
$ac_ext <<_ACEOF
22024 /* end confdefs.h. */
22025 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22026 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22027 #define $ac_func innocuous_$ac_func
22029 /* System header to define __stub macros and hopefully few prototypes,
22030 which can conflict with char $ac_func (); below.
22031 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22032 <limits.h> exists even on freestanding compilers. */
22035 # include <limits.h>
22037 # include <assert.h>
22042 /* Override any GCC internal prototype to avoid an error.
22043 Use char because int might match the return type of a GCC
22044 builtin and then its argument prototype would still apply. */
22049 /* The GNU C library defines this for functions which it implements
22050 to always fail with ENOSYS. Some functions are actually named
22051 something starting with __ and the normal name is an alias. */
22052 #if defined __stub_$ac_func || defined __stub___$ac_func
22059 return $ac_func ();
22064 rm -f conftest.
$ac_objext conftest
$ac_exeext
22065 if { (ac_try
="$ac_link"
22066 case "(($ac_try" in
22067 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22068 *) ac_try_echo=$ac_try;;
22070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22071 (eval "$ac_link") 2>conftest.er1
22073 grep -v '^ *+' conftest.er1 >conftest.err
22075 cat conftest.err >&5
22076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22077 (exit $ac_status); } && {
22078 test -z "$ac_c_werror_flag" ||
22079 test ! -s conftest.err
22080 } && test -s conftest$ac_exeext &&
22081 $as_test_x conftest$ac_exeext; then
22082 eval "$as_ac_var=yes"
22084 echo "$as_me: failed program was:" >&5
22085 sed 's/^/| /' conftest.$ac_ext >&5
22087 eval "$as_ac_var=no"
22090 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22091 conftest$ac_exeext conftest.$ac_ext
22093 ac_res=`eval echo '${'$as_ac_var'}'`
22094 { echo "$as_me:$LINENO: result: $ac_res" >&5
22095 echo "${ECHO_T}$ac_res" >&6; }
22096 if test `eval echo '${'$as_ac_var'}'` = yes; then
22097 cat >>confdefs.h <<_ACEOF
22098 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
22106 for ac_func in memmove strcmp
22108 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
22109 { echo "$as_me:$LINENO: checking for $ac_func" >&5
22110 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
22111 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
22112 echo $ECHO_N "(cached) $ECHO_C" >&6
22114 cat >conftest.$ac_ext <<_ACEOF
22117 cat confdefs.h >>conftest.$ac_ext
22118 cat >>conftest.$ac_ext <<_ACEOF
22119 /* end confdefs.h. */
22120 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22121 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22122 #define $ac_func innocuous_$ac_func
22124 /* System header to define __stub macros and hopefully few prototypes,
22125 which can conflict with char $ac_func (); below.
22126 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22127 <limits.h> exists even on freestanding compilers. */
22130 # include <limits.h>
22132 # include <assert.h>
22137 /* Override any GCC internal prototype to avoid an error.
22138 Use char because int might match the return type of a GCC
22139 builtin and then its argument prototype would still apply. */
22144 /* The GNU C library defines this for functions which it implements
22145 to always fail with ENOSYS. Some functions are actually named
22146 something starting with __ and the normal name is an alias. */
22147 #if defined __stub_$ac_func || defined __stub___$ac_func
22154 return $ac_func ();
22159 rm -f conftest.$ac_objext conftest$ac_exeext
22160 if { (ac_try="$ac_link"
22161 case "(($ac_try" in
22162 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22163 *) ac_try_echo
=$ac_try;;
22165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22166 (eval "$ac_link") 2>conftest.er1
22168 grep -v '^ *+' conftest.er1
>conftest.err
22170 cat conftest.err
>&5
22171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22172 (exit $ac_status); } && {
22173 test -z "$ac_c_werror_flag" ||
22174 test ! -s conftest.err
22175 } && test -s conftest
$ac_exeext &&
22176 $as_test_x conftest
$ac_exeext; then
22177 eval "$as_ac_var=yes"
22179 echo "$as_me: failed program was:" >&5
22180 sed 's/^/| /' conftest.
$ac_ext >&5
22182 eval "$as_ac_var=no"
22185 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
22186 conftest
$ac_exeext conftest.
$ac_ext
22188 ac_res
=`eval echo '${'$as_ac_var'}'`
22189 { echo "$as_me:$LINENO: result: $ac_res" >&5
22190 echo "${ECHO_T}$ac_res" >&6; }
22191 if test `eval echo '${'$as_ac_var'}'` = yes; then
22192 cat >>confdefs.h
<<_ACEOF
22193 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22202 for ac_func
in closedir opendir readdir
22204 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22205 { echo "$as_me:$LINENO: checking for $ac_func" >&5
22206 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
22207 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
22208 echo $ECHO_N "(cached) $ECHO_C" >&6
22210 cat >conftest.
$ac_ext <<_ACEOF
22213 cat confdefs.h
>>conftest.
$ac_ext
22214 cat >>conftest.
$ac_ext <<_ACEOF
22215 /* end confdefs.h. */
22216 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22217 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22218 #define $ac_func innocuous_$ac_func
22220 /* System header to define __stub macros and hopefully few prototypes,
22221 which can conflict with char $ac_func (); below.
22222 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22223 <limits.h> exists even on freestanding compilers. */
22226 # include <limits.h>
22228 # include <assert.h>
22233 /* Override any GCC internal prototype to avoid an error.
22234 Use char because int might match the return type of a GCC
22235 builtin and then its argument prototype would still apply. */
22240 /* The GNU C library defines this for functions which it implements
22241 to always fail with ENOSYS. Some functions are actually named
22242 something starting with __ and the normal name is an alias. */
22243 #if defined __stub_$ac_func || defined __stub___$ac_func
22250 return $ac_func ();
22255 rm -f conftest.
$ac_objext conftest
$ac_exeext
22256 if { (ac_try
="$ac_link"
22257 case "(($ac_try" in
22258 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22259 *) ac_try_echo=$ac_try;;
22261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22262 (eval "$ac_link") 2>conftest.er1
22264 grep -v '^ *+' conftest.er1 >conftest.err
22266 cat conftest.err >&5
22267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22268 (exit $ac_status); } && {
22269 test -z "$ac_c_werror_flag" ||
22270 test ! -s conftest.err
22271 } && test -s conftest$ac_exeext &&
22272 $as_test_x conftest$ac_exeext; then
22273 eval "$as_ac_var=yes"
22275 echo "$as_me: failed program was:" >&5
22276 sed 's/^/| /' conftest.$ac_ext >&5
22278 eval "$as_ac_var=no"
22281 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22282 conftest$ac_exeext conftest.$ac_ext
22284 ac_res=`eval echo '${'$as_ac_var'}'`
22285 { echo "$as_me:$LINENO: result: $ac_res" >&5
22286 echo "${ECHO_T}$ac_res" >&6; }
22287 if test `eval echo '${'$as_ac_var'}'` = yes; then
22288 cat >>confdefs.h <<_ACEOF
22289 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
22301 ac_config_files="$ac_config_files Makefile"
22303 cat >confcache <<\_ACEOF
22304 # This file is a shell script that caches the results of configure
22305 # tests run on this system so they can be shared between configure
22306 # scripts and configure runs, see configure's option --config-cache.
22307 # It is not useful on other systems. If it contains results you don't
22308 # want to keep, you may remove or edit it.
22310 # config.status only pays attention to the cache file if you give it
22311 # the --recheck option to rerun configure.
22313 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
22314 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22315 # following values.
22319 # The following way of writing the cache mishandles newlines in values,
22320 # but we know of no workaround that is simple, portable, and efficient.
22321 # So, we kill variables containing newlines.
22322 # Ultrix sh set writes to stderr and can't be redirected directly,
22323 # and sets the high bit in the cache file unless we assign to the vars.
22325 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22326 eval ac_val
=\$
$ac_var
22330 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
22331 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
22334 _ | IFS | as_nl
) ;; #(
22335 *) $as_unset $ac_var ;;
22341 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22342 *${as_nl}ac_space
=\
*)
22343 # `set' does not quote correctly, so add quotes (double-quote
22344 # substitution turns \\\\ into \\, and sed turns \\ into \).
22347 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22350 # `set' quotes correctly as required by POSIX, so do not add quotes.
22351 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22360 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22362 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22364 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22365 if test -w "$cache_file"; then
22366 test "x$cache_file" != "x/dev/null" &&
22367 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
22368 echo "$as_me: updating cache $cache_file" >&6;}
22369 cat confcache
>$cache_file
22371 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
22372 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22377 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22378 # Let make expand exec_prefix.
22379 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22381 DEFS
=-DHAVE_CONFIG_H
22385 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22386 # 1. Remove the extension, and $U if already installed.
22387 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
22388 ac_i
=`echo "$ac_i" | sed "$ac_script"`
22389 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22390 # will be set to the directory where LIBOBJS objects are built.
22391 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22392 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
22394 LIBOBJS
=$ac_libobjs
22396 LTLIBOBJS
=$ac_ltlibobjs
22399 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
22400 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
22401 Usually this means the macro was only invoked conditionally." >&5
22402 echo "$as_me: error: conditional \"AMDEP\" was never defined.
22403 Usually this means the macro was only invoked conditionally." >&2;}
22404 { (exit 1); exit 1; }; }
22406 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
22407 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
22408 Usually this means the macro was only invoked conditionally." >&5
22409 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
22410 Usually this means the macro was only invoked conditionally." >&2;}
22411 { (exit 1); exit 1; }; }
22413 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
22414 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
22415 Usually this means the macro was only invoked conditionally." >&5
22416 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
22417 Usually this means the macro was only invoked conditionally." >&2;}
22418 { (exit 1); exit 1; }; }
22420 if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
22421 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_LTDL\" was never defined.
22422 Usually this means the macro was only invoked conditionally." >&5
22423 echo "$as_me: error: conditional \"INSTALL_LTDL\" was never defined.
22424 Usually this means the macro was only invoked conditionally." >&2;}
22425 { (exit 1); exit 1; }; }
22427 if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
22428 { { echo "$as_me:$LINENO: error: conditional \"CONVENIENCE_LTDL\" was never defined.
22429 Usually this means the macro was only invoked conditionally." >&5
22430 echo "$as_me: error: conditional \"CONVENIENCE_LTDL\" was never defined.
22431 Usually this means the macro was only invoked conditionally." >&2;}
22432 { (exit 1); exit 1; }; }
22435 : ${CONFIG_STATUS=./config.status}
22436 ac_clean_files_save
=$ac_clean_files
22437 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22438 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22439 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22440 cat >$CONFIG_STATUS <<_ACEOF
22442 # Generated by $as_me.
22443 # Run this file to recreate the current configuration.
22444 # Compiler output produced by configure, useful for debugging
22445 # configure, is in config.log if it exists.
22448 ac_cs_recheck=false
22450 SHELL=\${CONFIG_SHELL-$SHELL}
22453 cat >>$CONFIG_STATUS <<\_ACEOF
22454 ## --------------------- ##
22455 ## M4sh Initialization. ##
22456 ## --------------------- ##
22458 # Be more Bourne compatible
22459 DUALCASE
=1; export DUALCASE
# for MKS sh
22460 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
22463 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22464 # is contrary to our usage. Disable this feature.
22465 alias -g '${1+"$@"}'='"$@"'
22466 setopt NO_GLOB_SUBST
22468 case `(set -o) 2>/dev/null` in
22469 *posix
*) set -o posix
;;
22478 # Avoid depending upon Character Ranges.
22479 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22480 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22481 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22482 as_cr_digits
='0123456789'
22483 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22485 # The user is always right.
22486 if test "${PATH_SEPARATOR+set}" != set; then
22487 echo "#! /bin/sh" >conf$$.sh
22488 echo "exit 0" >>conf$$.sh
22490 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
22498 # Support unset when possible.
22499 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
22507 # We need space, tab and new line, in precisely that order. Quoting is
22508 # there to prevent editors from complaining about space-tab.
22509 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22510 # splitting by setting IFS to empty value.)
22515 # Find who we are. Look in the path if we contain no directory separator.
22517 *[\\/]* ) as_myself
=$0 ;;
22518 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22519 for as_dir
in $PATH
22522 test -z "$as_dir" && as_dir
=.
22523 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
22529 # We did not find ourselves, most probably we were run as `sh COMMAND'
22530 # in which case we are not to be found in the path.
22531 if test "x$as_myself" = x
; then
22534 if test ! -f "$as_myself"; then
22535 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22536 { (exit 1); exit 1; }
22539 # Work around bugs in pre-3.0 UWIN ksh.
22540 for as_var
in ENV MAIL MAILPATH
22541 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
22549 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22550 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22551 LC_TELEPHONE LC_TIME
22553 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22554 eval $as_var=C
; export $as_var
22556 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
22560 # Required to use basename.
22561 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22562 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22568 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22569 as_basename
=basename
22575 # Name of the executable.
22576 as_me
=`$as_basename -- "$0" ||
22577 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22578 X"$0" : 'X\(//\)$' \| \
22579 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22581 sed '/^.*\/\([^/][^/]*\)\/*$/{
22600 as_lineno_1
=$LINENO
22601 as_lineno_2
=$LINENO
22602 test "x$as_lineno_1" != "x$as_lineno_2" &&
22603 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
22605 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22606 # uniformly replaced by the line number. The first 'sed' inserts a
22607 # line-number line after each line using $LINENO; the second 'sed'
22608 # does the real work. The second script uses 'N' to pair each
22609 # line-number line with the line containing $LINENO, and appends
22610 # trailing '-' during substitution so that $LINENO is not a special
22611 # case at line end.
22612 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22613 # scripts with optimization help from Paolo Bonzini. Blame Lee
22614 # E. McMahon (1931-1989) for sed's syntax. :-)
22626 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
22629 ' >$as_me.lineno
&&
22630 chmod +x
"$as_me.lineno" ||
22631 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22632 { (exit 1); exit 1; }; }
22634 # Don't try to exec as it changes $[0], causing all sort of problems
22635 # (the dirname of $[0] is not the place where we might find the
22636 # original and so on. Autoconf is especially sensitive to this).
22637 .
"./$as_me.lineno"
22638 # Exit status is that of the last command.
22643 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22649 ECHO_C
= ECHO_N
= ECHO_T
=
22650 case `echo -n x` in
22652 case `echo 'x\c'` in
22653 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22660 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22661 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22667 rm -f conf$$ conf$$.exe conf$$.
file
22668 if test -d conf$$.dir
; then
22669 rm -f conf$$.dir
/conf$$.
file
22675 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22677 # ... but there are two gotchas:
22678 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22679 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22680 # In both cases, we have to default to `cp -p'.
22681 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
22683 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22688 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22689 rmdir conf$$.dir
2>/dev
/null
22691 if mkdir
-p .
2>/dev
/null
; then
22694 test -d .
/-p && rmdir .
/-p
22698 if test -x / >/dev
/null
2>&1; then
22699 as_test_x
='test -x'
22701 if ls -dL / >/dev
/null
2>&1; then
22708 if test -d "$1"; then
22714 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
22715 ???[sx]*):;;*)false;;esac;fi
22719 as_executable_p
=$as_test_x
22721 # Sed expression to map a string onto a valid CPP name.
22722 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22724 # Sed expression to map a string onto a valid variable name.
22725 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22730 # Save the log message, to keep $[0] and so on meaningful, and to
22731 # report actual input values of CONFIG_FILES etc. instead of their
22732 # values after options handling.
22734 This file was extended by libltdl $as_me 1.2, which was
22735 generated by GNU Autoconf 2.61. Invocation command line was
22737 CONFIG_FILES = $CONFIG_FILES
22738 CONFIG_HEADERS = $CONFIG_HEADERS
22739 CONFIG_LINKS = $CONFIG_LINKS
22740 CONFIG_COMMANDS = $CONFIG_COMMANDS
22743 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22748 cat >>$CONFIG_STATUS <<_ACEOF
22749 # Files that config.status was made for.
22750 config_files="$ac_config_files"
22751 config_headers="$ac_config_headers"
22752 config_commands="$ac_config_commands"
22756 cat >>$CONFIG_STATUS <<\_ACEOF
22758 \`$as_me' instantiates files from templates according to the
22759 current configuration.
22761 Usage: $0 [OPTIONS] [FILE]...
22763 -h, --help print this help, then exit
22764 -V, --version print version number and configuration settings, then exit
22765 -q, --quiet do not print progress messages
22766 -d, --debug don't remove temporary files
22767 --recheck update $as_me by reconfiguring in the same conditions
22768 --file=FILE[:TEMPLATE]
22769 instantiate the configuration file FILE
22770 --header=FILE[:TEMPLATE]
22771 instantiate the configuration header FILE
22773 Configuration files:
22776 Configuration headers:
22779 Configuration commands:
22782 Report bugs to <bug-autoconf@gnu.org>."
22785 cat >>$CONFIG_STATUS <<_ACEOF
22787 libltdl config.status 1.2
22788 configured by $0, generated by GNU Autoconf 2.61,
22789 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
22791 Copyright (C) 2006 Free Software Foundation, Inc.
22792 This config.status script is free software; the Free Software Foundation
22793 gives unlimited permission to copy, distribute and modify it."
22801 cat >>$CONFIG_STATUS <<\_ACEOF
22802 # If no file are specified by the user, then we need to provide default
22803 # value. By we need to know if files were specified by the user.
22809 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22810 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
22821 # Handling of the options.
22822 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
22824 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
22825 echo "$ac_cs_version"; exit ;;
22826 --debug |
--debu |
--deb |
--de |
--d |
-d )
22828 --file |
--fil |
--fi |
--f )
22830 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
22831 ac_need_defaults
=false
;;
22832 --header |
--heade |
--head |
--hea )
22834 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
22835 ac_need_defaults
=false
;;
22837 # Conflict between --help and --header
22838 { echo "$as_me: error: ambiguous option: $1
22839 Try \`$0 --help' for more information." >&2
22840 { (exit 1); exit 1; }; };;
22841 --help |
--hel |
-h )
22842 echo "$ac_cs_usage"; exit ;;
22843 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
22844 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
22847 # This is an error.
22848 -*) { echo "$as_me: error: unrecognized option: $1
22849 Try \`$0 --help' for more information." >&2
22850 { (exit 1); exit 1; }; } ;;
22852 *) ac_config_targets
="$ac_config_targets $1"
22853 ac_need_defaults
=false
;;
22859 ac_configure_extra_args
=
22861 if $ac_cs_silent; then
22863 ac_configure_extra_args
="$ac_configure_extra_args --silent"
22867 cat >>$CONFIG_STATUS <<_ACEOF
22868 if \$ac_cs_recheck; then
22869 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
22870 CONFIG_SHELL=$SHELL
22871 export CONFIG_SHELL
22872 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22876 cat >>$CONFIG_STATUS <<\_ACEOF
22880 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22881 ## Running $as_me. ##
22887 cat >>$CONFIG_STATUS <<_ACEOF
22891 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
22895 cat >>$CONFIG_STATUS <<\_ACEOF
22897 # Handling of arguments.
22898 for ac_config_target
in $ac_config_targets
22900 case $ac_config_target in
22901 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config-h.in" ;;
22902 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
22903 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
22905 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
22906 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
22907 { (exit 1); exit 1; }; };;
22912 # If the user did not use the arguments to specify the items to instantiate,
22913 # then the envvar interface is used. Set only those that are not.
22914 # We use the long form for the default assignment because of an extremely
22915 # bizarre bug on SunOS 4.1.3.
22916 if $ac_need_defaults; then
22917 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
22918 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
22919 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
22922 # Have a temporary directory for convenience. Make it in the build tree
22923 # simply because there is no reason against having it here, and in addition,
22924 # creating and moving files from /tmp can sometimes cause problems.
22925 # Hook for its removal unless debugging.
22926 # Note that there is a small window in which the directory will not be cleaned:
22927 # after its creation but before its name has been assigned to `$tmp'.
22931 trap 'exit_status=$?
22932 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
22934 trap '{ (exit 1); exit 1; }' 1 2 13 15
22936 # Create a (secure) tmp directory for tmp files.
22939 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22940 test -n "$tmp" && test -d "$tmp"
22943 tmp
=.
/conf$$
-$RANDOM
22944 (umask 077 && mkdir
"$tmp")
22947 echo "$me: cannot create a temporary directory in ." >&2
22948 { (exit 1); exit 1; }
22952 # Set up the sed scripts for CONFIG_FILES section.
22955 # No need to generate the scripts if there are no CONFIG_FILES.
22956 # This happens for instance when ./config.status config.h
22957 if test -n "$CONFIG_FILES"; then
22964 for ac_last_try
in false false false false false
:; do
22965 cat >conf$
$subs.
sed <<_ACEOF
22966 SHELL!$SHELL$ac_delim
22967 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
22968 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
22969 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
22970 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
22971 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
22972 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
22973 exec_prefix!$exec_prefix$ac_delim
22974 prefix!$prefix$ac_delim
22975 program_transform_name!$program_transform_name$ac_delim
22976 bindir!$bindir$ac_delim
22977 sbindir!$sbindir$ac_delim
22978 libexecdir!$libexecdir$ac_delim
22979 datarootdir!$datarootdir$ac_delim
22980 datadir!$datadir$ac_delim
22981 sysconfdir!$sysconfdir$ac_delim
22982 sharedstatedir!$sharedstatedir$ac_delim
22983 localstatedir!$localstatedir$ac_delim
22984 includedir!$includedir$ac_delim
22985 oldincludedir!$oldincludedir$ac_delim
22986 docdir!$docdir$ac_delim
22987 infodir!$infodir$ac_delim
22988 htmldir!$htmldir$ac_delim
22989 dvidir!$dvidir$ac_delim
22990 pdfdir!$pdfdir$ac_delim
22991 psdir!$psdir$ac_delim
22992 libdir!$libdir$ac_delim
22993 localedir!$localedir$ac_delim
22994 mandir!$mandir$ac_delim
22995 DEFS!$DEFS$ac_delim
22996 ECHO_C!$ECHO_C$ac_delim
22997 ECHO_N!$ECHO_N$ac_delim
22998 ECHO_T!$ECHO_T$ac_delim
22999 LIBS!$LIBS$ac_delim
23000 build_alias!$build_alias$ac_delim
23001 host_alias!$host_alias$ac_delim
23002 target_alias!$target_alias$ac_delim
23003 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
23004 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
23005 INSTALL_DATA!$INSTALL_DATA$ac_delim
23006 am__isrc!$am__isrc$ac_delim
23007 CYGPATH_W!$CYGPATH_W$ac_delim
23008 PACKAGE!$PACKAGE$ac_delim
23009 VERSION!$VERSION$ac_delim
23010 ACLOCAL!$ACLOCAL$ac_delim
23011 AUTOCONF!$AUTOCONF$ac_delim
23012 AUTOMAKE!$AUTOMAKE$ac_delim
23013 AUTOHEADER!$AUTOHEADER$ac_delim
23014 MAKEINFO!$MAKEINFO$ac_delim
23015 install_sh!$install_sh$ac_delim
23016 STRIP!$STRIP$ac_delim
23017 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
23018 mkdir_p!$mkdir_p$ac_delim
23020 SET_MAKE!$SET_MAKE$ac_delim
23021 am__leading_dot!$am__leading_dot$ac_delim
23022 AMTAR!$AMTAR$ac_delim
23023 am__tar!$am__tar$ac_delim
23024 am__untar!$am__untar$ac_delim
23026 CFLAGS!$CFLAGS$ac_delim
23027 LDFLAGS!$LDFLAGS$ac_delim
23028 CPPFLAGS!$CPPFLAGS$ac_delim
23029 ac_ct_CC!$ac_ct_CC$ac_delim
23030 EXEEXT!$EXEEXT$ac_delim
23031 OBJEXT!$OBJEXT$ac_delim
23032 DEPDIR!$DEPDIR$ac_delim
23033 am__include!$am__include$ac_delim
23034 am__quote!$am__quote$ac_delim
23035 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
23036 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
23037 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
23038 CCDEPMODE!$CCDEPMODE$ac_delim
23039 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
23040 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
23041 build!$build$ac_delim
23042 build_cpu!$build_cpu$ac_delim
23043 build_vendor!$build_vendor$ac_delim
23044 build_os!$build_os$ac_delim
23045 host!$host$ac_delim
23046 host_cpu!$host_cpu$ac_delim
23047 host_vendor!$host_vendor$ac_delim
23048 host_os!$host_os$ac_delim
23050 GREP!$GREP$ac_delim
23051 EGREP!$EGREP$ac_delim
23052 LN_S!$LN_S$ac_delim
23053 ECHO!$ECHO$ac_delim
23055 RANLIB!$RANLIB$ac_delim
23056 DLLTOOL!$DLLTOOL$ac_delim
23058 OBJDUMP!$OBJDUMP$ac_delim
23061 CXXFLAGS!$CXXFLAGS$ac_delim
23062 ac_ct_CXX!$ac_ct_CXX$ac_delim
23065 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
23067 elif $ac_last_try; then
23068 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23069 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23070 { (exit 1); exit 1; }; }
23072 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
23076 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23077 if test -n "$ac_eof"; then
23078 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
23079 ac_eof
=`expr $ac_eof + 1`
23082 cat >>$CONFIG_STATUS <<_ACEOF
23083 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
23084 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23087 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23088 s/^/s,@/; s/!/@,|#_!!_#|/
23091 s/'"$ac_delim"'$/,g/; t
23093 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23094 ' >>$CONFIG_STATUS <conf$
$subs.
sed
23095 rm -f conf$
$subs.
sed
23096 cat >>$CONFIG_STATUS <<_ACEOF
23102 for ac_last_try
in false false false false false
:; do
23103 cat >conf$
$subs.
sed <<_ACEOF
23104 CXXDEPMODE!$CXXDEPMODE$ac_delim
23105 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
23106 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
23107 CXXCPP!$CXXCPP$ac_delim
23109 FFLAGS!$FFLAGS$ac_delim
23110 ac_ct_F77!$ac_ct_F77$ac_delim
23111 LIBTOOL!$LIBTOOL$ac_delim
23112 LIBTOOL_DEPS!$LIBTOOL_DEPS$ac_delim
23113 INSTALL_LTDL_TRUE!$INSTALL_LTDL_TRUE$ac_delim
23114 INSTALL_LTDL_FALSE!$INSTALL_LTDL_FALSE$ac_delim
23115 CONVENIENCE_LTDL_TRUE!$CONVENIENCE_LTDL_TRUE$ac_delim
23116 CONVENIENCE_LTDL_FALSE!$CONVENIENCE_LTDL_FALSE$ac_delim
23117 LIBADD_DL!$LIBADD_DL$ac_delim
23118 LIBOBJS!$LIBOBJS$ac_delim
23119 LTLIBOBJS!$LTLIBOBJS$ac_delim
23122 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 16; then
23124 elif $ac_last_try; then
23125 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23126 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23127 { (exit 1); exit 1; }; }
23129 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
23133 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23134 if test -n "$ac_eof"; then
23135 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
23136 ac_eof
=`expr $ac_eof + 1`
23139 cat >>$CONFIG_STATUS <<_ACEOF
23140 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
23141 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
23144 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23145 s/^/s,@/; s/!/@,|#_!!_#|/
23148 s/'"$ac_delim"'$/,g/; t
23150 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23151 ' >>$CONFIG_STATUS <conf$
$subs.
sed
23152 rm -f conf$
$subs.
sed
23153 cat >>$CONFIG_STATUS <<_ACEOF
23160 # VPATH may cause trouble with some makes, so we remove $(srcdir),
23161 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23162 # trailing colons and then remove the whole line if VPATH becomes empty
23163 # (actually we leave an empty line to preserve line numbers).
23164 if test "x$srcdir" = x.
; then
23165 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
23166 s/:*\$(srcdir):*/:/
23167 s/:*\${srcdir}:*/:/
23169 s/^\([^=]*=[ ]*\):*/\1/
23175 cat >>$CONFIG_STATUS <<\_ACEOF
23176 fi # test -n "$CONFIG_FILES"
23179 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
23182 :[FHLC
]) ac_mode
=$ac_tag; continue;;
23184 case $ac_mode$ac_tag in
23186 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
23187 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
23188 { (exit 1); exit 1; }; };;
23189 :[FH
]-) ac_tag
=-:-;;
23190 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
23207 -) ac_f
="$tmp/stdin";;
23208 *) # Look for the file first in the build tree, then in the source tree
23209 # (if the path is not absolute). The absolute path cannot be DOS-style,
23210 # because $ac_f cannot contain `:'.
23214 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
23216 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
23217 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
23218 { (exit 1); exit 1; }; };;
23220 ac_file_inputs
="$ac_file_inputs $ac_f"
23223 # Let's still pretend it is `configure' which instantiates (i.e., don't
23224 # use $as_me), people would be surprised to read:
23225 # /* config.h. Generated by config.status. */
23226 configure_input
="Generated from "`IFS=:
23227 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
23228 if test x
"$ac_file" != x-
; then
23229 configure_input
="$ac_file. $configure_input"
23230 { echo "$as_me:$LINENO: creating $ac_file" >&5
23231 echo "$as_me: creating $ac_file" >&6;}
23235 *:-:* |
*:-) cat >"$tmp/stdin";;
23240 ac_dir
=`$as_dirname -- "$ac_file" ||
23241 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23242 X"$ac_file" : 'X\(//\)[^/]' \| \
23243 X"$ac_file" : 'X\(//\)$' \| \
23244 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23246 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23250 /^X\(\/\/\)[^/].*/{
23265 -*) as_dir
=.
/$as_dir;;
23267 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
23271 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23272 *) as_qdir
=$as_dir;;
23274 as_dirs
="'$as_qdir' $as_dirs"
23275 as_dir
=`$as_dirname -- "$as_dir" ||
23276 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23277 X"$as_dir" : 'X\(//\)[^/]' \| \
23278 X"$as_dir" : 'X\(//\)$' \| \
23279 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23281 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23285 /^X\(\/\/\)[^/].*/{
23298 test -d "$as_dir" && break
23300 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
23301 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23302 echo "$as_me: error: cannot create directory $as_dir" >&2;}
23303 { (exit 1); exit 1; }; }; }
23307 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23309 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23310 # A ".." for each directory in $ac_dir_suffix.
23311 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
23312 case $ac_top_builddir_sub in
23313 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23314 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
23317 ac_abs_top_builddir
=$ac_pwd
23318 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
23319 # for backward compatibility:
23320 ac_top_builddir
=$ac_top_build_prefix
23323 .
) # We are building in place.
23325 ac_top_srcdir
=$ac_top_builddir_sub
23326 ac_abs_top_srcdir
=$ac_pwd ;;
23327 [\\/]* | ?
:[\\/]* ) # Absolute name.
23328 ac_srcdir
=$srcdir$ac_dir_suffix;
23329 ac_top_srcdir
=$srcdir
23330 ac_abs_top_srcdir
=$srcdir ;;
23331 *) # Relative name.
23332 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
23333 ac_top_srcdir
=$ac_top_build_prefix$srcdir
23334 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
23336 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
23346 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
23347 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
23349 ac_MKDIR_P
=$MKDIR_P
23351 [\\/$
]* | ?
:[\\/]* ) ;;
23352 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
23356 cat >>$CONFIG_STATUS <<\_ACEOF
23357 # If the template does not know about datarootdir, expand it.
23358 # FIXME: This hack should be removed a few years after 2.60.
23359 ac_datarootdir_hack
=; ac_datarootdir_seen
=
23361 case `sed -n '/datarootdir/ {
23370 ' $ac_file_inputs` in
23371 *datarootdir
*) ac_datarootdir_seen
=yes;;
23372 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
23373 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23374 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23376 cat >>$CONFIG_STATUS <<_ACEOF
23377 ac_datarootdir_hack='
23378 s&@datadir@&$datadir&g
23379 s&@docdir@&$docdir&g
23380 s&@infodir@&$infodir&g
23381 s&@localedir@&$localedir&g
23382 s&@mandir@&$mandir&g
23383 s&\\\${datarootdir}&$datarootdir&g' ;;
23387 # Neutralize VPATH when `$srcdir' = `.'.
23388 # Shell code in configure.ac might set extrasub.
23389 # FIXME: do we really want to maintain this feature?
23390 cat >>$CONFIG_STATUS <<_ACEOF
23394 cat >>$CONFIG_STATUS <<\_ACEOF
23396 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
23397 s
&@configure_input@
&$configure_input&;t t
23398 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
23399 s
&@srcdir@
&$ac_srcdir&;t t
23400 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
23401 s
&@top_srcdir@
&$ac_top_srcdir&;t t
23402 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
23403 s
&@builddir@
&$ac_builddir&;t t
23404 s
&@abs_builddir@
&$ac_abs_builddir&;t t
23405 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
23406 s
&@INSTALL@
&$ac_INSTALL&;t t
23407 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
23408 $ac_datarootdir_hack
23409 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
23411 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23412 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
23413 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
23414 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
23415 which seems to be undefined. Please make sure it is defined." >&5
23416 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
23417 which seems to be undefined. Please make sure it is defined." >&2;}
23421 -) cat "$tmp/out"; rm -f "$tmp/out";;
23422 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
23431 # Transform confdefs.h into a sed script `conftest.defines', that
23432 # substitutes the proper values into config.h.in to produce config.h.
23433 rm -f conftest.defines conftest.
tail
23434 # First, append a space to every undef/define line, to ease matching.
23435 echo 's/$/ /' >conftest.defines
23436 # Then, protect against being on the right side of a sed subst, or in
23437 # an unquoted here document, in config.status. If some macros were
23438 # called several times there might be several #defines for the same
23439 # symbol, which is useless. But do not sort them, since the last
23440 # AC_DEFINE must be honored.
23441 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
23442 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
23443 # NAME is the cpp macro being defined, VALUE is the value it is being given.
23444 # PARAMS is the parameter list in the macro definition--in most cases, it's
23445 # just an empty string.
23446 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
23447 ac_dB
='\\)[ (].*,\\1define\\2'
23455 s/^[ ]*#[ ]*define[ ][ ]*//
23460 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
23461 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
23462 ' >>conftest.defines
23464 # Remove the space that was appended to ease matching.
23465 # Then replace #undef with comments. This is necessary, for
23466 # example, in the case of _POSIX_SOURCE, which is predefined and required
23467 # on some systems where configure will not decide to define it.
23468 # (The regexp can be short, since the line contains either #define or #undef.)
23470 s,^[ #]*u.*,/* & */,' >>conftest.defines
23472 # Break up conftest.defines:
23473 ac_max_sed_lines
=50
23475 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
23476 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
23477 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
23479 ac_in
='$ac_file_inputs'
23480 ac_out
='"$tmp/out1"'
23481 ac_nxt
='"$tmp/out2"'
23485 # Write a here document:
23486 cat >>$CONFIG_STATUS <<_ACEOF
23487 # First, check the format of the line:
23488 cat >"\$tmp/defines.sed" <<\\CEOF
23489 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
23490 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
23494 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
23496 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
23497 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
23498 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
23499 grep . conftest.
tail >/dev
/null ||
break
23500 rm -f conftest.defines
23501 mv conftest.
tail conftest.defines
23503 rm -f conftest.defines conftest.
tail
23505 echo "ac_result=$ac_in" >>$CONFIG_STATUS
23506 cat >>$CONFIG_STATUS <<\_ACEOF
23507 if test x
"$ac_file" != x-
; then
23508 echo "/* $configure_input */" >"$tmp/config.h"
23509 cat "$ac_result" >>"$tmp/config.h"
23510 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
23511 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
23512 echo "$as_me: $ac_file is unchanged" >&6;}
23515 mv "$tmp/config.h" $ac_file
23518 echo "/* $configure_input */"
23522 # Compute $ac_file's index in $config_headers.
23524 for _am_header
in $config_headers :; do
23525 case $_am_header in
23526 $ac_file |
$ac_file:* )
23529 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
23532 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
23533 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23534 X$ac_file : 'X\(//\)[^/]' \| \
23535 X$ac_file : 'X\(//\)$' \| \
23536 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
23538 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23542 /^X\(\/\/\)[^/].*/{
23554 s/.*/./; q'`/stamp-h
$_am_stamp_count
23557 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
23558 echo "$as_me: executing $ac_file commands" >&6;}
23563 case $ac_file$ac_mode in
23564 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
23565 # Strip MF so we end up with the name of the file.
23566 mf
=`echo "$mf" | sed -e 's/:.*$//'`
23567 # Check whether this is an Automake generated Makefile or not.
23568 # We used to match only the files named `Makefile.in', but
23569 # some people rename them; so instead we look at the file content.
23570 # Grep'ing the first line is not enough: some people post-process
23571 # each Makefile.in and add a new line on top of each file to say so.
23572 # Grep'ing the whole file is not good either: AIX grep has a line
23573 # limit of 2048, but all sed's we know have understand at least 4000.
23574 if sed 10q
"$mf" |
grep '^#.*generated by automake' > /dev
/null
2>&1; then
23575 dirpart
=`$as_dirname -- "$mf" ||
23576 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23577 X"$mf" : 'X\(//\)[^/]' \| \
23578 X"$mf" : 'X\(//\)$' \| \
23579 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
23581 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23585 /^X\(\/\/\)[^/].*/{
23601 # Extract the definition of DEPDIR, am__include, and am__quote
23602 # from the Makefile without running `make'.
23603 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
23604 test -z "$DEPDIR" && continue
23605 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
23606 test -z "am__include" && continue
23607 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
23608 # When using ansi2knr, U may be empty or an underscore; expand it
23609 U
=`sed -n 's/^U = //p' < "$mf"`
23610 # Find all dependency output files, they are included files with
23611 # $(DEPDIR) in their names. We invoke sed twice because it is the
23612 # simplest approach to changing $(DEPDIR) to its actual value in the
23614 for file in `sed -n "
23615 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
23616 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
23617 # Make sure the directory exists.
23618 test -f "$dirpart/$file" && continue
23619 fdir
=`$as_dirname -- "$file" ||
23620 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23621 X"$file" : 'X\(//\)[^/]' \| \
23622 X"$file" : 'X\(//\)$' \| \
23623 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
23625 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23629 /^X\(\/\/\)[^/].*/{
23642 { as_dir
=$dirpart/$fdir
23644 -*) as_dir
=.
/$as_dir;;
23646 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
23650 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23651 *) as_qdir
=$as_dir;;
23653 as_dirs
="'$as_qdir' $as_dirs"
23654 as_dir
=`$as_dirname -- "$as_dir" ||
23655 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23656 X"$as_dir" : 'X\(//\)[^/]' \| \
23657 X"$as_dir" : 'X\(//\)$' \| \
23658 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23660 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23664 /^X\(\/\/\)[^/].*/{
23677 test -d "$as_dir" && break
23679 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
23680 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23681 echo "$as_me: error: cannot create directory $as_dir" >&2;}
23682 { (exit 1); exit 1; }; }; }
23683 # echo "creating $dirpart/$file"
23684 echo '# dummy' > "$dirpart/$file"
23693 { (exit 0); exit 0; }
23695 chmod +x
$CONFIG_STATUS
23696 ac_clean_files
=$ac_clean_files_save
23699 # configure is writing to config.log, and then calls config.status.
23700 # config.status does its own redirection, appending to config.log.
23701 # Unfortunately, on DOS this fails, as config.log is still kept open
23702 # by configure, so config.status won't be able to write to it; its
23703 # output is simply discarded. So we exec the FD to /dev/null,
23704 # effectively closing config.log, so it can be properly (re)opened and
23705 # appended to by config.status. When coming back to configure, we
23706 # need to make the FD available again.
23707 if test "$no_create" != yes; then
23709 ac_config_status_args
=
23710 test "$silent" = yes &&
23711 ac_config_status_args
="$ac_config_status_args --quiet"
23713 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23715 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23716 # would make configure fail if this is the last instruction.
23717 $ac_cs_success ||
{ (exit 1); exit 1; }