2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63 for libltdl 2.2.6.
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, 2007, 2008 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 # Pre-4.2 versions of Zsh do 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
45 # Printing a long string crashes Solaris 7 /usr/bin/printf.
46 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # Support unset when possible.
84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
92 # We need space, tab and new line, in precisely that order. Quoting is
93 # there to prevent editors from complaining about space-tab.
94 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
95 # splitting by setting IFS to empty value.)
98 # Find who we are. Look in the path if we contain no directory separator.
100 *[\\/]* ) as_myself=$0 ;;
101 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
105 test -z "$as_dir" && as_dir=.
106 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
112 # We did not find ourselves, most probably we were run as `sh COMMAND'
113 # in which case we are not to be found in the path.
114 if test "x$as_myself" = x
; then
117 if test ! -f "$as_myself"; then
118 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119 { (exit 1); exit 1; }
122 # Work around bugs in pre-3.0 UWIN ksh.
123 for as_var
in ENV MAIL MAILPATH
124 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
136 # Required to use basename.
137 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
138 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
144 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
151 # Name of the executable.
152 as_me
=`$as_basename -- "$0" ||
153 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154 X"$0" : 'X\(//\)$' \| \
155 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
157 sed '/^.*\/\([^/][^/]*\)\/*$/{
175 if test "x$CONFIG_SHELL" = x
; then
176 if (eval ":") 2>/dev
/null
; then
182 if test $as_have_required = yes && (eval ":
192 as_func_ret_success () {
195 as_func_ret_failure () {
200 if as_func_success; then
204 echo as_func_success failed.
207 if as_func_failure; then
209 echo as_func_failure succeeded.
212 if as_func_ret_success; then
216 echo as_func_ret_success failed.
219 if as_func_ret_failure; then
221 echo as_func_ret_failure succeeded.
224 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
228 echo positional parameters were not saved.
231 test \$exitcode = 0) || { (exit 1); exit 1; }
236 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238 ") 2> /dev
/null
; then
242 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
243 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
246 test -z "$as_dir" && as_dir
=.
249 for as_base
in sh bash ksh sh5
; do
250 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
257 for as_shell
in $as_candidate_shells $SHELL; do
258 # Try only shells that exist, to save several forks.
259 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
260 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
264 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix
*) set -o posix
;;
279 CONFIG_SHELL
=$as_shell
281 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
282 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
285 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286 # is contrary to our usage. Disable this feature.
287 alias -g '${1+"$@"}'='"$@"'
290 case `(set -o) 2>/dev/null` in
291 *posix
*) set -o posix
;;
307 as_func_ret_success
() {
310 as_func_ret_failure
() {
315 if as_func_success
; then
319 echo as_func_success failed.
322 if as_func_failure
; then
324 echo as_func_failure succeeded.
327 if as_func_ret_success
; then
331 echo as_func_ret_success failed.
334 if as_func_ret_failure
; then
336 echo as_func_ret_failure succeeded.
339 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
343 echo positional parameters were not saved.
346 test $exitcode = 0) ||
{ (exit 1); exit 1; }
351 test "x$as_lineno_1" != "x$as_lineno_2" &&
352 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
363 if test "x$CONFIG_SHELL" != x
; then
364 for as_var
in BASH_ENV ENV
365 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
368 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
372 if test $as_have_required = no
; then
373 echo This
script requires a shell
more modern than all the
374 echo shells that I found on your system. Please
install a
375 echo modern shell
, or manually run the
script under such a
376 echo shell
if you
do have one.
377 { (exit 1); exit 1; }
387 (eval "as_func_return () {
396 as_func_ret_success () {
399 as_func_ret_failure () {
404 if as_func_success; then
408 echo as_func_success failed.
411 if as_func_failure; then
413 echo as_func_failure succeeded.
416 if as_func_ret_success; then
420 echo as_func_ret_success failed.
423 if as_func_ret_failure; then
425 echo as_func_ret_failure succeeded.
428 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
432 echo positional parameters were not saved.
435 test \$exitcode = 0") ||
{
436 echo No shell found that supports shell functions.
437 echo Please tell bug-autoconf@gnu.org about your system
,
438 echo including any error possibly output before this message.
439 echo This can
help us improve future autoconf versions.
440 echo Configuration will now proceed without shell functions.
447 test "x$as_lineno_1" != "x$as_lineno_2" &&
448 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
450 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451 # uniformly replaced by the line number. The first 'sed' inserts a
452 # line-number line after each line using $LINENO; the second 'sed'
453 # does the real work. The second script uses 'N' to pair each
454 # line-number line with the line containing $LINENO, and appends
455 # trailing '-' during substitution so that $LINENO is not a special
457 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458 # scripts with optimization help from Paolo Bonzini. Blame Lee
459 # E. McMahon (1931-1989) for sed's syntax. :-)
471 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
475 chmod +x
"$as_me.lineno" ||
476 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477 { (exit 1); exit 1; }; }
479 # Don't try to exec as it changes $[0], causing all sort of problems
480 # (the dirname of $[0] is not the place where we might find the
481 # original and so on. Autoconf is especially sensitive to this).
483 # Exit status is that of the last command.
488 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
494 ECHO_C
= ECHO_N
= ECHO_T
=
498 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
504 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
505 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
511 rm -f conf$$ conf$$.exe conf$$.
file
512 if test -d conf$$.dir
; then
513 rm -f conf$$.dir
/conf$$.
file
516 mkdir conf$$.dir
2>/dev
/null
518 if (echo >conf$$.
file) 2>/dev
/null
; then
519 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
521 # ... but there are two gotchas:
522 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
523 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
524 # In both cases, we have to default to `cp -p'.
525 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
527 elif ln conf$$.
file conf$$
2>/dev
/null
; then
535 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
536 rmdir conf$$.dir
2>/dev
/null
538 if mkdir
-p .
2>/dev
/null
; then
541 test -d .
/-p && rmdir .
/-p
545 if test -x / >/dev
/null
2>&1; then
548 if ls -dL / >/dev
/null
2>&1; then
555 if test -d "$1"; then
561 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
562 ???[sx]*):;;*)false;;esac;fi
566 as_executable_p
=$as_test_x
568 # Sed expression to map a string onto a valid CPP name.
569 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
571 # Sed expression to map a string onto a valid variable name.
572 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
577 # Check that we are running under the correct shell.
578 SHELL
=${CONFIG_SHELL-/bin/sh}
582 # Remove one level of quotation (which was required for Make).
583 ECHO
=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
588 if test "X$1" = X--no-reexec
; then
589 # Discard the --no-reexec flag, and continue.
591 elif test "X$1" = X--fallback-echo
; then
592 # Avoid inline document here, it may be left over
594 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
595 # Yippee, $ECHO works!
598 # Restart under the correct shell.
599 exec $SHELL "$0" --no-reexec ${1+"$@"}
602 if test "X$1" = X--fallback-echo
; then
603 # used as fallback echo
611 # The HP-UX ksh and POSIX shell print the target directory to stdout
613 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
615 if test -z "$lt_ECHO"; then
616 if test "X${echo_test_string+set}" != Xset
; then
617 # find a string as large as possible, as long as the shell can cope with it
618 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
619 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
620 if { echo_test_string
=`eval $cmd`; } 2>/dev
/null
&&
621 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev
/null
628 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
629 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
630 test "X$echo_testing_string" = "X$echo_test_string"; then
633 # The Solaris, AIX, and Digital Unix default echo programs unquote
634 # backslashes. This makes it impossible to quote backslashes using
635 # echo "$something" | sed 's/\\/\\\\/g'
637 # So, first we look for a working echo in the user's PATH.
639 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
640 for dir
in $PATH /usr
/ucb
; do
642 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
643 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
644 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
645 test "X$echo_testing_string" = "X$echo_test_string"; then
652 if test "X$ECHO" = Xecho
; then
653 # We didn't find a better echo, so look for alternatives.
654 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
655 echo_testing_string
=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
656 test "X$echo_testing_string" = "X$echo_test_string"; then
657 # This shell has a builtin print -r that does the trick.
659 elif { test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext; } &&
660 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
661 # If we have ksh, try running configure again with it.
662 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
663 export ORIGINAL_CONFIG_SHELL
664 CONFIG_SHELL
=/bin
/ksh
666 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
670 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
671 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
672 test "X$echo_testing_string" = "X$echo_test_string"; then
675 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
676 test "X$echo_testing_string" = 'X\t' &&
677 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
678 test "X$echo_testing_string" = "X$echo_test_string"; then
679 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
681 SHELL
="$CONFIG_SHELL"
683 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
684 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
685 test "X$echo_testing_string" = 'X\t' &&
686 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
687 test "X$echo_testing_string" = "X$echo_test_string"; then
688 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
690 # maybe with a smaller string...
693 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
694 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev
/null
701 if test "$prev" != 'sed 50q "$0"'; then
702 echo_test_string
=`eval $prev`
703 export echo_test_string
704 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
706 # Oops. We lost completely, so just stick with echo.
715 # Copy echo and quote the copy suitably for passing to libtool from
716 # the Makefile, instead of quoting the original, which is used later.
718 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
719 lt_ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
725 exec 7<&0 </dev
/null
6>&1
728 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
729 # so uname gets run too.
730 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
735 ac_default_prefix
=/usr
/local
737 ac_config_libobj_dir
=.
743 SHELL
=${CONFIG_SHELL-/bin/sh}
745 # Identity of this package.
746 PACKAGE_NAME
='libltdl'
747 PACKAGE_TARNAME
='libltdl'
748 PACKAGE_VERSION
='2.2.6'
749 PACKAGE_STRING
='libltdl 2.2.6'
750 PACKAGE_BUGREPORT
='bug-libtool@gnu.org'
752 ac_unique_file
="ltdl.c"
753 # Factoring default headers for most tests.
754 ac_includes_default
="\
756 #ifdef HAVE_SYS_TYPES_H
757 # include <sys/types.h>
759 #ifdef HAVE_SYS_STAT_H
760 # include <sys/stat.h>
766 # ifdef HAVE_STDLIB_H
771 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
776 #ifdef HAVE_STRINGS_H
777 # include <strings.h>
779 #ifdef HAVE_INTTYPES_H
780 # include <inttypes.h>
789 ac_subst_vars
='am__EXEEXT_FALSE
794 CONVENIENCE_LTDL_FALSE
795 CONVENIENCE_LTDL_TRUE
800 sys_symbol_underscore
861 INSTALL_STRIP_PROGRAM
903 program_transform_name
915 enable_option_checking
920 enable_dependency_tracking
925 ac_precious_vars
='build_alias
936 # Initialize some variables set by options.
938 ac_init_version
=false
939 ac_unrecognized_opts
=
941 # The variables have the same names as the options, with
942 # dashes changed to underlines.
950 program_transform_name
=s
,x
,x
,
958 # Installation directory options.
959 # These are left unexpanded so users can "make install exec_prefix=/foo"
960 # and all the variables that are supposed to be based on exec_prefix
961 # by default will actually change.
962 # Use braces instead of parens because sh, perl, etc. also accept them.
963 # (The list follows the same order as the GNU Coding Standards.)
964 bindir
='${exec_prefix}/bin'
965 sbindir
='${exec_prefix}/sbin'
966 libexecdir
='${exec_prefix}/libexec'
967 datarootdir
='${prefix}/share'
968 datadir
='${datarootdir}'
969 sysconfdir
='${prefix}/etc'
970 sharedstatedir
='${prefix}/com'
971 localstatedir
='${prefix}/var'
972 includedir
='${prefix}/include'
973 oldincludedir
='/usr/include'
974 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
975 infodir
='${datarootdir}/info'
980 libdir
='${exec_prefix}/lib'
981 localedir
='${datarootdir}/locale'
982 mandir
='${datarootdir}/man'
988 # If the previous option needs an argument, assign it.
989 if test -n "$ac_prev"; then
990 eval $ac_prev=\
$ac_option
996 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1000 # Accept the important Cygnus configure options, so we can diagnose typos.
1002 case $ac_dashdash$ac_option in
1006 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1008 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1009 bindir
=$ac_optarg ;;
1011 -build |
--build |
--buil |
--bui |
--bu)
1012 ac_prev
=build_alias
;;
1013 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1014 build_alias
=$ac_optarg ;;
1016 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1017 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1018 ac_prev
=cache_file
;;
1019 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1020 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1021 cache_file
=$ac_optarg ;;
1023 --config-cache |
-C)
1024 cache_file
=config.cache
;;
1026 -datadir |
--datadir |
--datadi |
--datad)
1028 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1029 datadir
=$ac_optarg ;;
1031 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1032 |
--dataroo |
--dataro |
--datar)
1033 ac_prev
=datarootdir
;;
1034 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1035 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1036 datarootdir
=$ac_optarg ;;
1038 -disable-* |
--disable-*)
1039 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1040 # Reject names that are not valid shell variable names.
1041 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1042 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1043 { (exit 1); exit 1; }; }
1044 ac_useropt_orig
=$ac_useropt
1045 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1046 case $ac_user_opts in
1048 "enable_
$ac_useropt"
1050 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1051 ac_unrecognized_sep
=', ';;
1053 eval enable_
$ac_useropt=no
;;
1055 -docdir |
--docdir |
--docdi |
--doc |
--do)
1057 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1058 docdir
=$ac_optarg ;;
1060 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1062 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1063 dvidir
=$ac_optarg ;;
1065 -enable-* |
--enable-*)
1066 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1067 # Reject names that are not valid shell variable names.
1068 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1069 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1070 { (exit 1); exit 1; }; }
1071 ac_useropt_orig
=$ac_useropt
1072 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1073 case $ac_user_opts in
1075 "enable_
$ac_useropt"
1077 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1078 ac_unrecognized_sep
=', ';;
1080 eval enable_
$ac_useropt=\
$ac_optarg ;;
1082 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1083 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1084 |
--exec |
--exe |
--ex)
1085 ac_prev
=exec_prefix
;;
1086 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1087 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1088 |
--exec=* |
--exe=* |
--ex=*)
1089 exec_prefix
=$ac_optarg ;;
1091 -gas |
--gas |
--ga |
--g)
1092 # Obsolete; use --with-gas.
1095 -help |
--help |
--hel |
--he |
-h)
1096 ac_init_help
=long
;;
1097 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1098 ac_init_help
=recursive
;;
1099 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1100 ac_init_help
=short
;;
1102 -host |
--host |
--hos |
--ho)
1103 ac_prev
=host_alias
;;
1104 -host=* |
--host=* |
--hos=* |
--ho=*)
1105 host_alias
=$ac_optarg ;;
1107 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1109 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1111 htmldir
=$ac_optarg ;;
1113 -includedir |
--includedir |
--includedi |
--included |
--include \
1114 |
--includ |
--inclu |
--incl |
--inc)
1115 ac_prev
=includedir
;;
1116 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1117 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1118 includedir
=$ac_optarg ;;
1120 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1122 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1123 infodir
=$ac_optarg ;;
1125 -libdir |
--libdir |
--libdi |
--libd)
1127 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1128 libdir
=$ac_optarg ;;
1130 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1131 |
--libexe |
--libex |
--libe)
1132 ac_prev
=libexecdir
;;
1133 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1134 |
--libexe=* |
--libex=* |
--libe=*)
1135 libexecdir
=$ac_optarg ;;
1137 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1138 ac_prev
=localedir
;;
1139 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1140 localedir
=$ac_optarg ;;
1142 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1143 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1144 ac_prev
=localstatedir
;;
1145 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1146 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1147 localstatedir
=$ac_optarg ;;
1149 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1151 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1152 mandir
=$ac_optarg ;;
1154 -nfp |
--nfp |
--nf)
1155 # Obsolete; use --without-fp.
1158 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1159 |
--no-cr |
--no-c |
-n)
1162 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1163 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1166 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1167 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1168 |
--oldin |
--oldi |
--old |
--ol |
--o)
1169 ac_prev
=oldincludedir
;;
1170 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1171 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1172 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1173 oldincludedir
=$ac_optarg ;;
1175 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1177 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1178 prefix
=$ac_optarg ;;
1180 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1181 |
--program-pre |
--program-pr |
--program-p)
1182 ac_prev
=program_prefix
;;
1183 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1184 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1185 program_prefix
=$ac_optarg ;;
1187 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1188 |
--program-suf |
--program-su |
--program-s)
1189 ac_prev
=program_suffix
;;
1190 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1191 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1192 program_suffix
=$ac_optarg ;;
1194 -program-transform-name |
--program-transform-name \
1195 |
--program-transform-nam |
--program-transform-na \
1196 |
--program-transform-n |
--program-transform- \
1197 |
--program-transform |
--program-transfor \
1198 |
--program-transfo |
--program-transf \
1199 |
--program-trans |
--program-tran \
1200 |
--progr-tra |
--program-tr |
--program-t)
1201 ac_prev
=program_transform_name
;;
1202 -program-transform-name=* |
--program-transform-name=* \
1203 |
--program-transform-nam=* |
--program-transform-na=* \
1204 |
--program-transform-n=* |
--program-transform-=* \
1205 |
--program-transform=* |
--program-transfor=* \
1206 |
--program-transfo=* |
--program-transf=* \
1207 |
--program-trans=* |
--program-tran=* \
1208 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1209 program_transform_name
=$ac_optarg ;;
1211 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1213 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1214 pdfdir
=$ac_optarg ;;
1216 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1218 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1221 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1222 |
-silent |
--silent |
--silen |
--sile |
--sil)
1225 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1227 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1229 sbindir
=$ac_optarg ;;
1231 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1232 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1233 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1235 ac_prev
=sharedstatedir
;;
1236 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1237 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1238 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1240 sharedstatedir
=$ac_optarg ;;
1242 -site |
--site |
--sit)
1244 -site=* |
--site=* |
--sit=*)
1247 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1249 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1250 srcdir
=$ac_optarg ;;
1252 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1253 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1254 ac_prev
=sysconfdir
;;
1255 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1256 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1257 sysconfdir
=$ac_optarg ;;
1259 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1260 ac_prev
=target_alias
;;
1261 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1262 target_alias
=$ac_optarg ;;
1264 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1267 -version |
--version |
--versio |
--versi |
--vers |
-V)
1268 ac_init_version
=: ;;
1271 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1272 # Reject names that are not valid shell variable names.
1273 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1274 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1275 { (exit 1); exit 1; }; }
1276 ac_useropt_orig
=$ac_useropt
1277 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1278 case $ac_user_opts in
1282 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1283 ac_unrecognized_sep
=', ';;
1285 eval with_
$ac_useropt=\
$ac_optarg ;;
1287 -without-* |
--without-*)
1288 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1289 # Reject names that are not valid shell variable names.
1290 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1291 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1292 { (exit 1); exit 1; }; }
1293 ac_useropt_orig
=$ac_useropt
1294 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1295 case $ac_user_opts in
1299 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1300 ac_unrecognized_sep
=', ';;
1302 eval with_
$ac_useropt=no
;;
1305 # Obsolete; use --with-x.
1308 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1309 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1310 ac_prev
=x_includes
;;
1311 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1312 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1313 x_includes
=$ac_optarg ;;
1315 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1316 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1317 ac_prev
=x_libraries
;;
1318 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1319 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1320 x_libraries
=$ac_optarg ;;
1322 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1323 Try \`$0 --help' for more information." >&2
1324 { (exit 1); exit 1; }; }
1328 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1329 # Reject names that are not valid shell variable names.
1330 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1331 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1332 { (exit 1); exit 1; }; }
1333 eval $ac_envvar=\
$ac_optarg
1334 export $ac_envvar ;;
1337 # FIXME: should be removed in autoconf 3.0.
1338 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1339 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1340 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1341 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1347 if test -n "$ac_prev"; then
1348 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1349 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1350 { (exit 1); exit 1; }; }
1353 if test -n "$ac_unrecognized_opts"; then
1354 case $enable_option_checking in
1356 fatal
) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1357 { (exit 1); exit 1; }; } ;;
1358 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1362 # Check all directory arguments for consistency.
1363 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1364 datadir sysconfdir sharedstatedir localstatedir includedir \
1365 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1366 libdir localedir mandir
1368 eval ac_val
=\$
$ac_var
1369 # Remove trailing slashes.
1372 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1373 eval $ac_var=\
$ac_val;;
1375 # Be sure to have absolute directory names.
1377 [\\/$
]* | ?
:[\\/]* ) continue;;
1378 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1380 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1381 { (exit 1); exit 1; }; }
1384 # There might be people who depend on the old broken behavior: `$host'
1385 # used to hold the argument of --host etc.
1386 # FIXME: To remove some day.
1389 target
=$target_alias
1391 # FIXME: To remove some day.
1392 if test "x$host_alias" != x
; then
1393 if test "x$build_alias" = x
; then
1394 cross_compiling
=maybe
1395 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1396 If a cross compiler is detected then cross compile mode will be used." >&2
1397 elif test "x$build_alias" != "x$host_alias"; then
1403 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1405 test "$silent" = yes && exec 6>/dev
/null
1408 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1409 ac_ls_di
=`ls -di .` &&
1410 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1411 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1412 { (exit 1); exit 1; }; }
1413 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1414 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1415 { (exit 1); exit 1; }; }
1418 # Find the source files, if location was not specified.
1419 if test -z "$srcdir"; then
1420 ac_srcdir_defaulted
=yes
1421 # Try the directory containing this script, then the parent directory.
1422 ac_confdir
=`$as_dirname -- "$as_myself" ||
1423 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1424 X"$as_myself" : 'X\(//\)[^/]' \| \
1425 X"$as_myself" : 'X\(//\)$' \| \
1426 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1427 $as_echo X"$as_myself" |
1428 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1446 if test ! -r "$srcdir/$ac_unique_file"; then
1450 ac_srcdir_defaulted
=no
1452 if test ! -r "$srcdir/$ac_unique_file"; then
1453 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1454 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1455 { (exit 1); exit 1; }; }
1457 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1459 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1460 { (exit 1); exit 1; }; }
1462 # When building in place, set srcdir=.
1463 if test "$ac_abs_confdir" = "$ac_pwd"; then
1466 # Remove unnecessary trailing slashes from srcdir.
1467 # Double slashes in file names in object file debugging info
1468 # mess up M-x gdb in Emacs.
1470 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1472 for ac_var
in $ac_precious_vars; do
1473 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1474 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1475 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1476 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1480 # Report the --help message.
1482 if test "$ac_init_help" = "long"; then
1483 # Omit some internal or obsolete options to make the list less imposing.
1484 # This message is too long to be a string in the A/UX 3.1 sh.
1486 \`configure' configures libltdl 2.2.6 to adapt to many kinds of systems.
1488 Usage: $0 [OPTION]... [VAR=VALUE]...
1490 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1491 VAR=VALUE. See below for descriptions of some of the useful variables.
1493 Defaults for the options are specified in brackets.
1496 -h, --help display this help and exit
1497 --help=short display options specific to this package
1498 --help=recursive display the short help of all the included packages
1499 -V, --version display version information and exit
1500 -q, --quiet, --silent do not print \`checking...' messages
1501 --cache-file=FILE cache test results in FILE [disabled]
1502 -C, --config-cache alias for \`--cache-file=config.cache'
1503 -n, --no-create do not create output files
1504 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1506 Installation directories:
1507 --prefix=PREFIX install architecture-independent files in PREFIX
1508 [$ac_default_prefix]
1509 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1512 By default, \`make install' will install all the files in
1513 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1514 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1515 for instance \`--prefix=\$HOME'.
1517 For better control, use the options below.
1519 Fine tuning of the installation directories:
1520 --bindir=DIR user executables [EPREFIX/bin]
1521 --sbindir=DIR system admin executables [EPREFIX/sbin]
1522 --libexecdir=DIR program executables [EPREFIX/libexec]
1523 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1524 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1525 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1526 --libdir=DIR object code libraries [EPREFIX/lib]
1527 --includedir=DIR C header files [PREFIX/include]
1528 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1529 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1530 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1531 --infodir=DIR info documentation [DATAROOTDIR/info]
1532 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1533 --mandir=DIR man documentation [DATAROOTDIR/man]
1534 --docdir=DIR documentation root [DATAROOTDIR/doc/libltdl]
1535 --htmldir=DIR html documentation [DOCDIR]
1536 --dvidir=DIR dvi documentation [DOCDIR]
1537 --pdfdir=DIR pdf documentation [DOCDIR]
1538 --psdir=DIR ps documentation [DOCDIR]
1544 --program-prefix=PREFIX prepend PREFIX to installed program names
1545 --program-suffix=SUFFIX append SUFFIX to installed program names
1546 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1549 --build=BUILD configure
for building on BUILD
[guessed
]
1550 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1554 if test -n "$ac_init_help"; then
1555 case $ac_init_help in
1556 short | recursive
) echo "Configuration of libltdl 2.2.6:";;
1561 --disable-option-checking ignore unrecognized
--enable/--with options
1562 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1563 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1564 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1565 --enable-static[=PKGS
] build static libraries
[default
=yes]
1566 --enable-fast-install[=PKGS
]
1567 optimize
for fast installation
[default
=yes]
1568 --disable-dependency-tracking speeds up one-time build
1569 --enable-dependency-tracking do not reject slow dependency extractors
1570 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1571 --enable-ltdl-install install libltdl
1574 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1575 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1576 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1578 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1580 Some influential environment variables
:
1581 CC C compiler
command
1582 CFLAGS C compiler flags
1583 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1584 nonstandard directory
<lib dir
>
1585 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1586 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1587 you have headers
in a nonstandard directory
<include dir
>
1590 Use these variables to override the choices made by
`configure' or to help
1591 it to find libraries and programs with nonstandard names/locations.
1593 Report bugs to <bug-libtool@gnu.org>.
1598 if test "$ac_init_help" = "recursive"; then
1599 # If there are subdirs, report their specific --help.
1600 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1601 test -d "$ac_dir" ||
1602 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1607 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1609 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1610 # A ".." for each directory in $ac_dir_suffix.
1611 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1612 case $ac_top_builddir_sub in
1613 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1614 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1617 ac_abs_top_builddir=$ac_pwd
1618 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1619 # for backward compatibility:
1620 ac_top_builddir=$ac_top_build_prefix
1623 .) # We are building in place.
1625 ac_top_srcdir=$ac_top_builddir_sub
1626 ac_abs_top_srcdir=$ac_pwd ;;
1627 [\\/]* | ?:[\\/]* ) # Absolute name.
1628 ac_srcdir=$srcdir$ac_dir_suffix;
1629 ac_top_srcdir=$srcdir
1630 ac_abs_top_srcdir=$srcdir ;;
1632 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1633 ac_top_srcdir=$ac_top_build_prefix$srcdir
1634 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1636 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1638 cd "$ac_dir" || { ac_status=$?; continue; }
1639 # Check for guested configure.
1640 if test -f "$ac_srcdir/configure.gnu"; then
1642 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1643 elif test -f "$ac_srcdir/configure"; then
1645 $SHELL "$ac_srcdir/configure" --help=recursive
1647 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1649 cd "$ac_pwd" || { ac_status=$?; break; }
1653 test -n "$ac_init_help" && exit $ac_status
1654 if $ac_init_version; then
1656 libltdl configure 2.2.6
1657 generated by GNU Autoconf 2.63
1659 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1660 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1661 This configure script is free software; the Free Software Foundation
1662 gives unlimited permission to copy, distribute and modify it.
1666 cat >config.log <<_ACEOF
1667 This file contains any messages produced by compilers while
1668 running configure, to aid debugging if configure makes a mistake.
1670 It was created by libltdl $as_me 2.2.6, which was
1671 generated by GNU Autoconf 2.63. Invocation command line was
1683 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1684 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1685 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1686 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1687 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1689 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1690 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1692 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1693 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1694 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1695 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1696 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1697 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1698 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1706 test -z "$as_dir" && as_dir=.
1707 $as_echo "PATH: $as_dir"
1723 # Keep a trace of the command line.
1724 # Strip out --no-create and --no-recursion so they do not pile up.
1725 # Strip out --silent because we don't want to record it for future runs.
1726 # Also quote any args containing shell meta-characters.
1727 # Make two passes to allow for proper duplicate-argument suppression.
1731 ac_must_keep_next=false
1737 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1738 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1739 | -silent | --silent | --silen | --sile | --sil)
1742 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1745 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1747 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1748 if test $ac_must_keep_next = true; then
1749 ac_must_keep_next=false # Got value, back to normal.
1752 *=* | --config-cache | -C | -disable-* | --disable-* \
1753 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1754 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1755 | -with-* | --with-* | -without-* | --without-* | --x)
1756 case "$ac_configure_args0 " in
1757 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1760 -* ) ac_must_keep_next=true ;;
1763 ac_configure_args="$ac_configure_args '$ac_arg'"
1768 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1769 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1771 # When interrupted or exit'd, cleanup temporary files, and complete
1772 # config.log. We remove comments because anyway the quotes in there
1773 # would cause problems or look ugly.
1774 # WARNING: Use '\'' to represent an apostrophe within the trap.
1775 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1776 trap 'exit_status=$?
1777 # Save into config.log some information that might help in debugging.
1782 ## ---------------- ##
1783 ## Cache variables. ##
1784 ## ---------------- ##
1787 # The following way of writing the cache mishandles newlines in values,
1789 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1790 eval ac_val=\$$ac_var
1794 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1795 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1798 _ | IFS | as_nl) ;; #(
1799 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1800 *) $as_unset $ac_var ;;
1805 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1806 *${as_nl}ac_space=\ *)
1808 "s/'\''/'\''\\\\'\'''\''/g;
1809 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1812 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1820 ## ----------------- ##
1821 ## Output variables. ##
1822 ## ----------------- ##
1825 for ac_var in $ac_subst_vars
1827 eval ac_val=\$$ac_var
1829 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1831 $as_echo "$ac_var='\''$ac_val'\''"
1835 if test -n "$ac_subst_files"; then
1837 ## ------------------- ##
1838 ## File substitutions. ##
1839 ## ------------------- ##
1842 for ac_var in $ac_subst_files
1844 eval ac_val=\$$ac_var
1846 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1848 $as_echo "$ac_var='\''$ac_val'\''"
1853 if test -s confdefs.h; then
1863 test "$ac_signal" != 0 &&
1864 $as_echo "$as_me: caught signal $ac_signal"
1865 $as_echo "$as_me: exit $exit_status"
1867 rm -f core *.core core.conftest.* &&
1868 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1871 for ac_signal in 1 2 13 15; do
1872 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1876 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1877 rm -f -r conftest* confdefs.h
1879 # Predefined preprocessor variables.
1881 cat >>confdefs.h <<_ACEOF
1882 #define PACKAGE_NAME "$PACKAGE_NAME"
1886 cat >>confdefs.h <<_ACEOF
1887 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1891 cat >>confdefs.h <<_ACEOF
1892 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1896 cat >>confdefs.h <<_ACEOF
1897 #define PACKAGE_STRING "$PACKAGE_STRING"
1901 cat >>confdefs.h <<_ACEOF
1902 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1906 # Let the site file select an alternate cache file if it wants to.
1907 # Prefer an explicitly selected file to automatically selected ones.
1910 if test -n "$CONFIG_SITE"; then
1911 ac_site_file1=$CONFIG_SITE
1912 elif test "x$prefix" != xNONE; then
1913 ac_site_file1=$prefix/share/config.site
1914 ac_site_file2=$prefix/etc/config.site
1916 ac_site_file1=$ac_default_prefix/share/config.site
1917 ac_site_file2=$ac_default_prefix/etc/config.site
1919 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1921 test "x$ac_site_file" = xNONE && continue
1922 if test -r "$ac_site_file"; then
1923 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1924 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1925 sed 's/^/| /' "$ac_site_file" >&5
1930 if test -r "$cache_file"; then
1931 # Some versions of bash will fail to source /dev/null (special
1932 # files actually), so we avoid doing that.
1933 if test -f "$cache_file"; then
1934 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1935 $as_echo "$as_me: loading cache $cache_file" >&6;}
1937 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1938 *) . "./$cache_file";;
1942 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1943 $as_echo "$as_me: creating cache $cache_file" >&6;}
1947 # Check that the precious variables saved in the cache have kept the same
1949 ac_cache_corrupted=false
1950 for ac_var in $ac_precious_vars; do
1951 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1952 eval ac_new_set=\$ac_env_${ac_var}_set
1953 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1954 eval ac_new_val=\$ac_env_${ac_var}_value
1955 case $ac_old_set,$ac_new_set in
1957 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1958 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1959 ac_cache_corrupted=: ;;
1961 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1962 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1963 ac_cache_corrupted=: ;;
1966 if test "x$ac_old_val" != "x$ac_new_val"; then
1967 # differences in whitespace do not lead to failure.
1968 ac_old_val_w=`echo x
$ac_old_val`
1969 ac_new_val_w=`echo x
$ac_new_val`
1970 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1971 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1972 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1973 ac_cache_corrupted=:
1975 { $as_echo "$as_me:$LINENO: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
1976 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1977 eval $ac_var=\$ac_old_val
1979 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1980 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
1981 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1982 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1985 # Pass precious variables to config.status.
1986 if test "$ac_new_set" = set; then
1988 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1989 *) ac_arg=$ac_var=$ac_new_val ;;
1991 case " $ac_configure_args " in
1992 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1993 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1997 if $ac_cache_corrupted; then
1998 { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
1999 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2000 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2001 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2002 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&5
2003 $as_echo "$as_me: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&2;}
2004 { (exit 1); exit 1; }; }
2032 ac_cpp='$CPP $CPPFLAGS'
2033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2038 ac_config_headers="$ac_config_headers config.h
:config-h.
in"
2042 for ac_dir in config "$srcdir"/config; do
2043 if test -f "$ac_dir/install-sh
"; then
2045 ac_install_sh="$ac_aux_dir/install-sh
-c"
2047 elif test -f "$ac_dir/install.sh
"; then
2049 ac_install_sh="$ac_aux_dir/install.sh
-c"
2051 elif test -f "$ac_dir/shtool
"; then
2053 ac_install_sh="$ac_aux_dir/shtool
install -c"
2057 if test -z "$ac_aux_dir"; then
2058 { { $as_echo "$as_me:$LINENO: error
: cannot
find install-sh or
install.sh
in config
\"$srcdir\"/config
" >&5
2059 $as_echo "$as_me: error
: cannot
find install-sh or
install.sh
in config
\"$srcdir\"/config
" >&2;}
2060 { (exit 1); exit 1; }; }
2063 # These three variables are undocumented and unsupported,
2064 # and are intended to be withdrawn in a future Autoconf release.
2065 # They can cause serious problems if a builder's source tree is in a directory
2066 # whose full name contains unusual characters.
2067 ac_config_guess="$SHELL $ac_aux_dir/config.guess
" # Please don't use this var.
2068 ac_config_sub="$SHELL $ac_aux_dir/config.sub
" # Please don't use this var.
2069 ac_configure="$SHELL $ac_aux_dir/configure
" # Please don't use this var.
2081 ## ------------------------ ##
2082 ## Automake Initialisation. ##
2083 ## ------------------------ ##
2085 am__api_version='1.11'
2087 # Find a good install program. We prefer a C program (faster),
2088 # so one script is as good as another. But avoid the broken or
2089 # incompatible versions:
2090 # SysV /etc/install, /usr/sbin/install
2091 # SunOS /usr/etc/install
2092 # IRIX /sbin/install
2094 # AmigaOS /C/install, which installs bootblocks on floppy discs
2095 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2096 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2097 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff
"
2098 # OS/2's system install, which has a completely different semantic
2099 # ./install, which can be erroneously created by make from ./install.sh.
2100 # Reject install programs that cannot install multiple files.
2101 { $as_echo "$as_me:$LINENO: checking
for a BSD-compatible
install" >&5
2102 $as_echo_n "checking
for a BSD-compatible
install...
" >&6; }
2103 if test -z "$INSTALL"; then
2104 if test "${ac_cv_path_install+set}" = set; then
2105 $as_echo_n "(cached
) " >&6
2107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2111 test -z "$as_dir" && as_dir=.
2112 # Account for people who put trailing slashes in PATH elements.
2114 ./ | .// | /cC/* | \
2115 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2116 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2119 # OSF1 and SCO ODT 3.0 have their own names for install.
2120 # Don't use installbsd from OSF since it installs stuff as root
2122 for ac_prog in ginstall scoinst install; do
2123 for ac_exec_ext in '' $ac_executable_extensions; do
2124 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2125 if test $ac_prog = install &&
2126 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2127 # AIX install. It has an incompatible calling convention.
2129 elif test $ac_prog = install &&
2130 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2131 # program-specific install script used by HP pwplus--don't use.
2134 rm -rf conftest.one conftest.two conftest.dir
2135 echo one > conftest.one
2136 echo two > conftest.two
2138 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir
" &&
2139 test -s conftest.one && test -s conftest.two &&
2140 test -s conftest.dir/conftest.one &&
2141 test -s conftest.dir/conftest.two
2143 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2156 rm -rf conftest.one conftest.two conftest.dir
2159 if test "${ac_cv_path_install+set}" = set; then
2160 INSTALL=$ac_cv_path_install
2162 # As a last resort, use the slow shell script. Don't cache a
2163 # value for INSTALL within a source directory, because that will
2164 # break other packages using the cache if that directory is
2165 # removed, or if the value is a relative name.
2166 INSTALL=$ac_install_sh
2169 { $as_echo "$as_me:$LINENO: result
: $INSTALL" >&5
2170 $as_echo "$INSTALL" >&6; }
2172 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2173 # It thinks the first close brace ends the variable substitution.
2174 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2176 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2178 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2180 { $as_echo "$as_me:$LINENO: checking whether build environment is sane
" >&5
2181 $as_echo_n "checking whether build environment is sane...
" >&6; }
2184 echo timestamp > conftest.file
2185 # Reject unsafe characters in $srcdir or the absolute working directory
2186 # name. Accept space and tab only in the latter.
2190 *[\\\"\#\$\&\'\`$am_lf]*)
2191 { { $as_echo "$as_me:$LINENO: error
: unsafe absolute working directory name
" >&5
2192 $as_echo "$as_me: error
: unsafe absolute working directory name
" >&2;}
2193 { (exit 1); exit 1; }; };;
2196 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2197 { { $as_echo "$as_me:$LINENO: error
: unsafe srcdir value
: \
`$srcdir'" >&5
2198 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
2199 { (exit 1); exit 1; }; };;
2202 # Do `set' in a subshell so we don
't clobber the current shell's
2203 # arguments. Must try -L first in case configure is actually a
2204 # symlink; some systems play weird games with the mod time of symlinks
2205 # (eg FreeBSD returns the mod time of the symlink's containing
2208 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2209 if test "$*" = "X"; then
2211 set X
`ls -t "$srcdir/configure" conftest.file`
2214 if test "$*" != "X $srcdir/configure conftest.file" \
2215 && test "$*" != "X conftest.file $srcdir/configure"; then
2217 # If neither matched, then we have a broken ls. This can happen
2218 # if, for instance, CONFIG_SHELL is bash and it inherits a
2219 # broken ls alias from the environment. This has actually
2220 # happened. Such a system could not be considered "sane".
2221 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2222 alias in your environment" >&5
2223 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2224 alias in your environment" >&2;}
2225 { (exit 1); exit 1; }; }
2228 test "$2" = conftest.
file
2234 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2235 Check your system clock" >&5
2236 $as_echo "$as_me: error: newly created file is older than distributed files!
2237 Check your system clock" >&2;}
2238 { (exit 1); exit 1; }; }
2240 { $as_echo "$as_me:$LINENO: result: yes" >&5
2241 $as_echo "yes" >&6; }
2242 test "$program_prefix" != NONE
&&
2243 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2244 # Use a double $ so make ignores it.
2245 test "$program_suffix" != NONE
&&
2246 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2247 # Double any \ or $.
2248 # By default was `s,x,x', remove it if useless.
2249 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2250 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2252 # expand $ac_aux_dir to an absolute path
2253 am_aux_dir
=`cd $ac_aux_dir && pwd`
2255 if test x
"${MISSING+set}" != xset
; then
2258 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2260 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2263 # Use eval to expand $SHELL
2264 if eval "$MISSING --run true"; then
2265 am_missing_run
="$MISSING --run "
2268 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2269 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2272 if test x
"${install_sh}" != xset
; then
2275 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2277 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2281 # Installed binaries are usually stripped using `strip' when the user
2282 # run `make install-strip'. However `strip' might not be the right
2283 # tool to use in cross-compilation environments, therefore Automake
2284 # will honor the `STRIP' environment variable to overrule this program.
2285 if test "$cross_compiling" != no
; then
2286 if test -n "$ac_tool_prefix"; then
2287 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2288 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2289 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2290 $as_echo_n "checking for $ac_word... " >&6; }
2291 if test "${ac_cv_prog_STRIP+set}" = set; then
2292 $as_echo_n "(cached) " >&6
2294 if test -n "$STRIP"; then
2295 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2297 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2301 test -z "$as_dir" && as_dir
=.
2302 for ac_exec_ext
in '' $ac_executable_extensions; do
2303 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2304 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2305 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2314 STRIP
=$ac_cv_prog_STRIP
2315 if test -n "$STRIP"; then
2316 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2317 $as_echo "$STRIP" >&6; }
2319 { $as_echo "$as_me:$LINENO: result: no" >&5
2320 $as_echo "no" >&6; }
2325 if test -z "$ac_cv_prog_STRIP"; then
2327 # Extract the first word of "strip", so it can be a program name with args.
2328 set dummy strip
; ac_word
=$2
2329 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2330 $as_echo_n "checking for $ac_word... " >&6; }
2331 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2332 $as_echo_n "(cached) " >&6
2334 if test -n "$ac_ct_STRIP"; then
2335 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2337 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2341 test -z "$as_dir" && as_dir
=.
2342 for ac_exec_ext
in '' $ac_executable_extensions; do
2343 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2344 ac_cv_prog_ac_ct_STRIP
="strip"
2345 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2354 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2355 if test -n "$ac_ct_STRIP"; then
2356 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2357 $as_echo "$ac_ct_STRIP" >&6; }
2359 { $as_echo "$as_me:$LINENO: result: no" >&5
2360 $as_echo "no" >&6; }
2363 if test "x$ac_ct_STRIP" = x
; then
2366 case $cross_compiling:$ac_tool_warned in
2368 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2369 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2370 ac_tool_warned
=yes ;;
2375 STRIP
="$ac_cv_prog_STRIP"
2379 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2381 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2382 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2383 if test -z "$MKDIR_P"; then
2384 if test "${ac_cv_path_mkdir+set}" = set; then
2385 $as_echo_n "(cached) " >&6
2387 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2388 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2391 test -z "$as_dir" && as_dir
=.
2392 for ac_prog
in mkdir gmkdir
; do
2393 for ac_exec_ext
in '' $ac_executable_extensions; do
2394 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2395 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2396 'mkdir (GNU coreutils) '* | \
2397 'mkdir (coreutils) '* | \
2398 'mkdir (fileutils) '4.1*)
2399 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2409 if test "${ac_cv_path_mkdir+set}" = set; then
2410 MKDIR_P
="$ac_cv_path_mkdir -p"
2412 # As a last resort, use the slow shell script. Don't cache a
2413 # value for MKDIR_P within a source directory, because that will
2414 # break other packages using the cache if that directory is
2415 # removed, or if the value is a relative name.
2416 test -d .
/--version && rmdir .
/--version
2417 MKDIR_P
="$ac_install_sh -d"
2420 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2421 $as_echo "$MKDIR_P" >&6; }
2425 [\\/$
]* | ?
:[\\/]*) ;;
2426 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2429 for ac_prog
in gawk mawk nawk
awk
2431 # Extract the first word of "$ac_prog", so it can be a program name with args.
2432 set dummy
$ac_prog; ac_word
=$2
2433 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2434 $as_echo_n "checking for $ac_word... " >&6; }
2435 if test "${ac_cv_prog_AWK+set}" = set; then
2436 $as_echo_n "(cached) " >&6
2438 if test -n "$AWK"; then
2439 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2441 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2445 test -z "$as_dir" && as_dir
=.
2446 for ac_exec_ext
in '' $ac_executable_extensions; do
2447 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2448 ac_cv_prog_AWK
="$ac_prog"
2449 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2459 if test -n "$AWK"; then
2460 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2461 $as_echo "$AWK" >&6; }
2463 { $as_echo "$as_me:$LINENO: result: no" >&5
2464 $as_echo "no" >&6; }
2468 test -n "$AWK" && break
2471 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2472 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2474 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2475 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2476 $as_echo_n "(cached) " >&6
2478 cat >conftest.
make <<\_ACEOF
2481 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2483 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2484 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2486 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2488 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2492 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2493 { $as_echo "$as_me:$LINENO: result: yes" >&5
2494 $as_echo "yes" >&6; }
2497 { $as_echo "$as_me:$LINENO: result: no" >&5
2498 $as_echo "no" >&6; }
2499 SET_MAKE
="MAKE=${MAKE-make}"
2502 rm -rf .tst
2>/dev
/null
2503 mkdir .tst
2>/dev
/null
2504 if test -d .tst
; then
2509 rmdir .tst
2>/dev
/null
2511 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2512 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2513 # is not polluted with repeated "-I."
2514 am__isrc
=' -I$(srcdir)'
2515 # test to see if srcdir already configured
2516 if test -f $srcdir/config.status
; then
2517 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2518 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2519 { (exit 1); exit 1; }; }
2523 # test whether we have cygpath
2524 if test -z "$CYGPATH_W"; then
2525 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2526 CYGPATH_W
='cygpath -w'
2533 # Define the identity of the package.
2538 cat >>confdefs.h
<<_ACEOF
2539 #define PACKAGE "$PACKAGE"
2543 cat >>confdefs.h
<<_ACEOF
2544 #define VERSION "$VERSION"
2547 # Some tools Automake needs.
2549 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2552 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2555 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2558 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2561 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2563 # We need awk for the "check" target. The system "awk" is bad on
2565 # Always define AMTAR for backward compatibility.
2567 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2569 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2577 ## ------------------------------- ##
2578 ## Libtool specific configuration. ##
2579 ## ------------------------------- ##
2580 pkgdatadir
='${datadir}'"/${PACKAGE}"
2583 ## ----------------------- ##
2584 ## Libtool initialisation. ##
2585 ## ----------------------- ##
2588 { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2589 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2594 macro_version
='2.2.6'
2595 macro_revision
='1.3012'
2609 ltmain
="$ac_aux_dir/ltmain.sh"
2611 # Make sure we can run config.sub.
2612 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2613 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2614 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2615 { (exit 1); exit 1; }; }
2617 { $as_echo "$as_me:$LINENO: checking build system type" >&5
2618 $as_echo_n "checking build system type... " >&6; }
2619 if test "${ac_cv_build+set}" = set; then
2620 $as_echo_n "(cached) " >&6
2622 ac_build_alias
=$build_alias
2623 test "x$ac_build_alias" = x
&&
2624 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2625 test "x$ac_build_alias" = x
&&
2626 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2627 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2628 { (exit 1); exit 1; }; }
2629 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2630 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2631 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2632 { (exit 1); exit 1; }; }
2635 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2636 $as_echo "$ac_cv_build" >&6; }
2637 case $ac_cv_build in
2639 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2640 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
2641 { (exit 1); exit 1; }; };;
2644 ac_save_IFS
=$IFS; IFS
='-'
2650 # Remember, the first character of IFS is used to create $*,
2651 # except with old shells:
2654 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2657 { $as_echo "$as_me:$LINENO: checking host system type" >&5
2658 $as_echo_n "checking host system type... " >&6; }
2659 if test "${ac_cv_host+set}" = set; then
2660 $as_echo_n "(cached) " >&6
2662 if test "x$host_alias" = x
; then
2663 ac_cv_host
=$ac_cv_build
2665 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2666 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2667 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2668 { (exit 1); exit 1; }; }
2672 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2673 $as_echo "$ac_cv_host" >&6; }
2676 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2677 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
2678 { (exit 1); exit 1; }; };;
2681 ac_save_IFS
=$IFS; IFS
='-'
2687 # Remember, the first character of IFS is used to create $*,
2688 # except with old shells:
2691 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2694 DEPDIR
="${am__leading_dot}deps"
2696 ac_config_commands
="$ac_config_commands depfiles"
2699 am_make
=${MAKE-make}
2700 cat > confinc
<< 'END'
2702 @
echo this is the am__doit target
2705 # If we don't find an include directive, just comment out the code.
2706 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2707 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2711 # First try GNU make style include.
2712 echo "include confinc" > confmf
2713 # Ignore all kinds of additional output from `make'.
2714 case `$am_make -s -f confmf 2> /dev/null` in #(
2715 *the\ am__doit\ target
*)
2721 # Now try BSD make style include.
2722 if test "$am__include" = "#"; then
2723 echo '.include "confinc"' > confmf
2724 case `$am_make -s -f confmf 2> /dev/null` in #(
2725 *the\ am__doit\ target
*)
2726 am__include
=.include
2734 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
2735 $as_echo "$_am_result" >&6; }
2736 rm -f confinc confmf
2738 # Check whether --enable-dependency-tracking was given.
2739 if test "${enable_dependency_tracking+set}" = set; then
2740 enableval
=$enable_dependency_tracking;
2743 if test "x$enable_dependency_tracking" != xno
; then
2744 am_depcomp
="$ac_aux_dir/depcomp"
2747 if test "x$enable_dependency_tracking" != xno; then
2757 ac_cpp
='$CPP $CPPFLAGS'
2758 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2759 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2760 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2761 if test -n "$ac_tool_prefix"; then
2762 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2763 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2764 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2765 $as_echo_n "checking for $ac_word... " >&6; }
2766 if test "${ac_cv_prog_CC+set}" = set; then
2767 $as_echo_n "(cached) " >&6
2769 if test -n "$CC"; then
2770 ac_cv_prog_CC
="$CC" # Let the user override the test.
2772 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2776 test -z "$as_dir" && as_dir
=.
2777 for ac_exec_ext
in '' $ac_executable_extensions; do
2778 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2779 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2780 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2790 if test -n "$CC"; then
2791 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2792 $as_echo "$CC" >&6; }
2794 { $as_echo "$as_me:$LINENO: result: no" >&5
2795 $as_echo "no" >&6; }
2800 if test -z "$ac_cv_prog_CC"; then
2802 # Extract the first word of "gcc", so it can be a program name with args.
2803 set dummy gcc
; ac_word
=$2
2804 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2805 $as_echo_n "checking for $ac_word... " >&6; }
2806 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2807 $as_echo_n "(cached) " >&6
2809 if test -n "$ac_ct_CC"; then
2810 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2812 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2816 test -z "$as_dir" && as_dir
=.
2817 for ac_exec_ext
in '' $ac_executable_extensions; do
2818 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2819 ac_cv_prog_ac_ct_CC
="gcc"
2820 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2829 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2830 if test -n "$ac_ct_CC"; then
2831 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2832 $as_echo "$ac_ct_CC" >&6; }
2834 { $as_echo "$as_me:$LINENO: result: no" >&5
2835 $as_echo "no" >&6; }
2838 if test "x$ac_ct_CC" = x
; then
2841 case $cross_compiling:$ac_tool_warned in
2843 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2844 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2845 ac_tool_warned
=yes ;;
2853 if test -z "$CC"; then
2854 if test -n "$ac_tool_prefix"; then
2855 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2856 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2857 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2858 $as_echo_n "checking for $ac_word... " >&6; }
2859 if test "${ac_cv_prog_CC+set}" = set; then
2860 $as_echo_n "(cached) " >&6
2862 if test -n "$CC"; then
2863 ac_cv_prog_CC
="$CC" # Let the user override the test.
2865 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2869 test -z "$as_dir" && as_dir
=.
2870 for ac_exec_ext
in '' $ac_executable_extensions; do
2871 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2872 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2873 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2883 if test -n "$CC"; then
2884 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2885 $as_echo "$CC" >&6; }
2887 { $as_echo "$as_me:$LINENO: result: no" >&5
2888 $as_echo "no" >&6; }
2894 if test -z "$CC"; then
2895 # Extract the first word of "cc", so it can be a program name with args.
2896 set dummy cc
; ac_word
=$2
2897 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2898 $as_echo_n "checking for $ac_word... " >&6; }
2899 if test "${ac_cv_prog_CC+set}" = set; then
2900 $as_echo_n "(cached) " >&6
2902 if test -n "$CC"; then
2903 ac_cv_prog_CC
="$CC" # Let the user override the test.
2906 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2910 test -z "$as_dir" && as_dir
=.
2911 for ac_exec_ext
in '' $ac_executable_extensions; do
2912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2913 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2914 ac_prog_rejected
=yes
2918 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2925 if test $ac_prog_rejected = yes; then
2926 # We found a bogon in the path, so make sure we never use it.
2927 set dummy
$ac_cv_prog_CC
2929 if test $# != 0; then
2930 # We chose a different compiler from the bogus one.
2931 # However, it has the same basename, so the bogon will be chosen
2932 # first if we set CC to just the basename; use the full file name.
2934 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2940 if test -n "$CC"; then
2941 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2942 $as_echo "$CC" >&6; }
2944 { $as_echo "$as_me:$LINENO: result: no" >&5
2945 $as_echo "no" >&6; }
2950 if test -z "$CC"; then
2951 if test -n "$ac_tool_prefix"; then
2952 for ac_prog
in cl.exe
2954 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2955 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2956 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2957 $as_echo_n "checking for $ac_word... " >&6; }
2958 if test "${ac_cv_prog_CC+set}" = set; then
2959 $as_echo_n "(cached) " >&6
2961 if test -n "$CC"; then
2962 ac_cv_prog_CC
="$CC" # Let the user override the test.
2964 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2968 test -z "$as_dir" && as_dir
=.
2969 for ac_exec_ext
in '' $ac_executable_extensions; do
2970 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2971 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2972 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2982 if test -n "$CC"; then
2983 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2984 $as_echo "$CC" >&6; }
2986 { $as_echo "$as_me:$LINENO: result: no" >&5
2987 $as_echo "no" >&6; }
2991 test -n "$CC" && break
2994 if test -z "$CC"; then
2996 for ac_prog
in cl.exe
2998 # Extract the first word of "$ac_prog", so it can be a program name with args.
2999 set dummy
$ac_prog; ac_word
=$2
3000 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3001 $as_echo_n "checking for $ac_word... " >&6; }
3002 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3003 $as_echo_n "(cached) " >&6
3005 if test -n "$ac_ct_CC"; then
3006 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3008 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3012 test -z "$as_dir" && as_dir
=.
3013 for ac_exec_ext
in '' $ac_executable_extensions; do
3014 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3015 ac_cv_prog_ac_ct_CC
="$ac_prog"
3016 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3025 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3026 if test -n "$ac_ct_CC"; then
3027 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3028 $as_echo "$ac_ct_CC" >&6; }
3030 { $as_echo "$as_me:$LINENO: result: no" >&5
3031 $as_echo "no" >&6; }
3035 test -n "$ac_ct_CC" && break
3038 if test "x$ac_ct_CC" = x
; then
3041 case $cross_compiling:$ac_tool_warned in
3043 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3044 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3045 ac_tool_warned
=yes ;;
3054 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3055 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3056 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3057 See \`config.log' for more details." >&5
3058 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3059 See \`config.log' for more details." >&2;}
3060 { (exit 1); exit 1; }; }; }
3062 # Provide some information about the compiler.
3063 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3066 { (ac_try
="$ac_compiler --version >&5"
3068 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3069 *) ac_try_echo=$ac_try;;
3071 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3072 $as_echo "$ac_try_echo") >&5
3073 (eval "$ac_compiler --version >&5") 2>&5
3075 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3076 (exit $ac_status); }
3077 { (ac_try="$ac_compiler -v >&5"
3079 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3080 *) ac_try_echo
=$ac_try;;
3082 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3083 $as_echo "$ac_try_echo") >&5
3084 (eval "$ac_compiler -v >&5") 2>&5
3086 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3087 (exit $ac_status); }
3088 { (ac_try
="$ac_compiler -V >&5"
3090 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3091 *) ac_try_echo=$ac_try;;
3093 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3094 $as_echo "$ac_try_echo") >&5
3095 (eval "$ac_compiler -V >&5") 2>&5
3097 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3098 (exit $ac_status); }
3100 cat >conftest.$ac_ext <<_ACEOF
3103 cat confdefs.h >>conftest.$ac_ext
3104 cat >>conftest.$ac_ext <<_ACEOF
3105 /* end confdefs.h. */
3115 ac_clean_files_save=$ac_clean_files
3116 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3117 # Try to create an executable without -o first, disregard a.out.
3118 # It will help us diagnose broken compilers, and finding out an intuition
3120 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3121 $as_echo_n "checking for C compiler default output file name... " >&6; }
3122 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3124 # The possible output files:
3125 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3128 for ac_file in $ac_files
3131 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3132 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3137 if { (ac_try="$ac_link_default"
3139 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3140 *) ac_try_echo
=$ac_try;;
3142 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3143 $as_echo "$ac_try_echo") >&5
3144 (eval "$ac_link_default") 2>&5
3146 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3147 (exit $ac_status); }; then
3148 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3149 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3150 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3151 # so that the user can short-circuit this test for compilers unknown to
3153 for ac_file
in $ac_files ''
3155 test -f "$ac_file" ||
continue
3157 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3160 # We found the default executable, but exeext='' is most
3164 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3166 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3168 # We set ac_cv_exeext here because the later test for it is not
3169 # safe: cross compilers may not add the suffix if given an `-o'
3170 # argument, so we may need to know it at that point already.
3171 # Even if this section looks crufty: it has the advantage of
3178 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3184 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3185 $as_echo "$ac_file" >&6; }
3186 if test -z "$ac_file"; then
3187 $as_echo "$as_me: failed program was:" >&5
3188 sed 's/^/| /' conftest.
$ac_ext >&5
3190 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3191 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3192 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3193 See \`config.log' for more details." >&5
3194 $as_echo "$as_me: error: C compiler cannot create executables
3195 See \`config.log' for more details." >&2;}
3196 { (exit 77); exit 77; }; }; }
3199 ac_exeext
=$ac_cv_exeext
3201 # Check that the compiler produces executables we can run. If not, either
3202 # the compiler is broken, or we cross compile.
3203 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3204 $as_echo_n "checking whether the C compiler works... " >&6; }
3205 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3206 # If not cross compiling, check that we can run a simple program.
3207 if test "$cross_compiling" != yes; then
3208 if { ac_try
='./$ac_file'
3209 { (case "(($ac_try" in
3210 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3211 *) ac_try_echo=$ac_try;;
3213 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3214 $as_echo "$ac_try_echo") >&5
3215 (eval "$ac_try") 2>&5
3217 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3218 (exit $ac_status); }; }; then
3221 if test "$cross_compiling" = maybe; then
3224 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3225 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3226 { { $as_echo "$as_me:$LINENO: error
: cannot run C compiled programs.
3227 If you meant to cross compile
, use \
`--host'.
3228 See \`config.log
' for more details." >&5
3229 $as_echo "$as_me: error: cannot run C compiled programs.
3230 If you meant to cross compile, use \`--host'.
3231 See \
`config.log' for more details." >&2;}
3232 { (exit 1); exit 1; }; }; }
3236 { $as_echo "$as_me:$LINENO: result: yes" >&5
3237 $as_echo "yes" >&6; }
3239 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3240 ac_clean_files=$ac_clean_files_save
3241 # Check that the compiler produces executables we can run. If not, either
3242 # the compiler is broken, or we cross compile.
3243 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3244 $as_echo_n "checking whether we are cross compiling... " >&6; }
3245 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3246 $as_echo "$cross_compiling" >&6; }
3248 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3249 $as_echo_n "checking for suffix of executables... " >&6; }
3250 if { (ac_try="$ac_link"
3252 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3253 *) ac_try_echo
=$ac_try;;
3255 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3256 $as_echo "$ac_try_echo") >&5
3257 (eval "$ac_link") 2>&5
3259 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3260 (exit $ac_status); }; then
3261 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3262 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3263 # work properly (i.e., refer to `conftest.exe'), while it won't with
3265 for ac_file
in conftest.exe conftest conftest.
*; do
3266 test -f "$ac_file" ||
continue
3268 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3269 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3275 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3276 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3277 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3278 See \`config.log' for more details." >&5
3279 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3280 See \`config.log' for more details." >&2;}
3281 { (exit 1); exit 1; }; }; }
3284 rm -f conftest
$ac_cv_exeext
3285 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3286 $as_echo "$ac_cv_exeext" >&6; }
3288 rm -f conftest.
$ac_ext
3289 EXEEXT
=$ac_cv_exeext
3291 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3292 $as_echo_n "checking for suffix of object files... " >&6; }
3293 if test "${ac_cv_objext+set}" = set; then
3294 $as_echo_n "(cached) " >&6
3296 cat >conftest.
$ac_ext <<_ACEOF
3299 cat confdefs.h
>>conftest.
$ac_ext
3300 cat >>conftest.
$ac_ext <<_ACEOF
3301 /* end confdefs.h. */
3311 rm -f conftest.o conftest.obj
3312 if { (ac_try
="$ac_compile"
3314 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3315 *) ac_try_echo=$ac_try;;
3317 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3318 $as_echo "$ac_try_echo") >&5
3319 (eval "$ac_compile") 2>&5
3321 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3322 (exit $ac_status); }; then
3323 for ac_file in conftest.o conftest.obj conftest.*; do
3324 test -f "$ac_file" || continue;
3326 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3327 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3332 $as_echo "$as_me: failed program was:" >&5
3333 sed 's/^/| /' conftest.$ac_ext >&5
3335 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3336 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3337 { { $as_echo "$as_me:$LINENO: error
: cannot compute suffix of object files
: cannot compile
3338 See \
`config.log' for more details." >&5
3339 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3340 See \`config.log
' for more details." >&2;}
3341 { (exit 1); exit 1; }; }; }
3344 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3346 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3347 $as_echo "$ac_cv_objext" >&6; }
3348 OBJEXT=$ac_cv_objext
3350 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3351 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3352 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3353 $as_echo_n "(cached) " >&6
3355 cat >conftest.$ac_ext <<_ACEOF
3358 cat confdefs.h >>conftest.$ac_ext
3359 cat >>conftest.$ac_ext <<_ACEOF
3360 /* end confdefs.h. */
3373 rm -f conftest.$ac_objext
3374 if { (ac_try="$ac_compile"
3376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3377 *) ac_try_echo=$ac_try;;
3379 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3380 $as_echo "$ac_try_echo") >&5
3381 (eval "$ac_compile") 2>conftest.er1
3383 grep -v '^
*+' conftest.er1 >conftest.err
3385 cat conftest.err >&5
3386 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3387 (exit $ac_status); } && {
3388 test -z "$ac_c_werror_flag" ||
3389 test ! -s conftest.err
3390 } && test -s conftest.$ac_objext; then
3393 $as_echo "$as_me: failed program was:" >&5
3394 sed 's
/^
/|
/' conftest.$ac_ext >&5
3399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3400 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3403 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3404 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3405 if test $ac_compiler_gnu = yes; then
3410 ac_test_CFLAGS=${CFLAGS+set}
3411 ac_save_CFLAGS=$CFLAGS
3412 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3413 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3414 if test "${ac_cv_prog_cc_g+set}" = set; then
3415 $as_echo_n "(cached) " >&6
3417 ac_save_c_werror_flag=$ac_c_werror_flag
3418 ac_c_werror_flag=yes
3421 cat >conftest.$ac_ext <<_ACEOF
3424 cat confdefs.h >>conftest.$ac_ext
3425 cat >>conftest.$ac_ext <<_ACEOF
3426 /* end confdefs.h. */
3436 rm -f conftest.$ac_objext
3437 if { (ac_try="$ac_compile"
3439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3440 *) ac_try_echo=$ac_try;;
3442 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3443 $as_echo "$ac_try_echo") >&5
3444 (eval "$ac_compile") 2>conftest.er1
3446 grep -v '^
*+' conftest.er1 >conftest.err
3448 cat conftest.err >&5
3449 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3450 (exit $ac_status); } && {
3451 test -z "$ac_c_werror_flag" ||
3452 test ! -s conftest.err
3453 } && test -s conftest.$ac_objext; then
3456 $as_echo "$as_me: failed program was:" >&5
3457 sed 's
/^
/|
/' conftest.$ac_ext >&5
3460 cat >conftest.$ac_ext <<_ACEOF
3463 cat confdefs.h >>conftest.$ac_ext
3464 cat >>conftest.$ac_ext <<_ACEOF
3465 /* end confdefs.h. */
3475 rm -f conftest.$ac_objext
3476 if { (ac_try="$ac_compile"
3478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3479 *) ac_try_echo=$ac_try;;
3481 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3482 $as_echo "$ac_try_echo") >&5
3483 (eval "$ac_compile") 2>conftest.er1
3485 grep -v '^
*+' conftest.er1 >conftest.err
3487 cat conftest.err >&5
3488 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3489 (exit $ac_status); } && {
3490 test -z "$ac_c_werror_flag" ||
3491 test ! -s conftest.err
3492 } && test -s conftest.$ac_objext; then
3495 $as_echo "$as_me: failed program was:" >&5
3496 sed 's
/^
/|
/' conftest.$ac_ext >&5
3498 ac_c_werror_flag=$ac_save_c_werror_flag
3500 cat >conftest.$ac_ext <<_ACEOF
3503 cat confdefs.h >>conftest.$ac_ext
3504 cat >>conftest.$ac_ext <<_ACEOF
3505 /* end confdefs.h. */
3515 rm -f conftest.$ac_objext
3516 if { (ac_try="$ac_compile"
3518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3519 *) ac_try_echo=$ac_try;;
3521 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3522 $as_echo "$ac_try_echo") >&5
3523 (eval "$ac_compile") 2>conftest.er1
3525 grep -v '^
*+' conftest.er1 >conftest.err
3527 cat conftest.err >&5
3528 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3529 (exit $ac_status); } && {
3530 test -z "$ac_c_werror_flag" ||
3531 test ! -s conftest.err
3532 } && test -s conftest.$ac_objext; then
3535 $as_echo "$as_me: failed program was:" >&5
3536 sed 's
/^
/|
/' conftest.$ac_ext >&5
3541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3548 ac_c_werror_flag=$ac_save_c_werror_flag
3550 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3551 $as_echo "$ac_cv_prog_cc_g" >&6; }
3552 if test "$ac_test_CFLAGS" = set; then
3553 CFLAGS=$ac_save_CFLAGS
3554 elif test $ac_cv_prog_cc_g = yes; then
3555 if test "$GCC" = yes; then
3561 if test "$GCC" = yes; then
3567 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3568 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3569 if test "${ac_cv_prog_cc_c89+set}" = set; then
3570 $as_echo_n "(cached) " >&6
3572 ac_cv_prog_cc_c89=no
3574 cat >conftest.$ac_ext <<_ACEOF
3577 cat confdefs.h >>conftest.$ac_ext
3578 cat >>conftest.$ac_ext <<_ACEOF
3579 /* end confdefs.h. */
3582 #include <sys/types.h>
3583 #include <sys/stat.h>
3584 /* Most of the following tests are stolen from RCS 5.7's src
/conf.sh.
*/
3585 struct buf
{ int x
; };
3586 FILE
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
3587 static char
*e
(p
, i
)
3593 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
3598 s
= g
(p
, va_arg
(v
,int
));
3603 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
3604 function prototypes and stuff
, but not
'\xHH' hex character constants.
3605 These don
't provoke an error unfortunately, instead are silently treated
3606 as 'x
'. The following induces an error, until -std is added to get
3607 proper ANSI mode. Curiously '\x00'!='x
' always comes out true, for an
3608 array size at least. It's necessary to
write '\x00'==0 to get something
3609 that
's true only with -std. */
3610 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3612 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3613 inside strings and character constants. */
3615 int xlc6_cc_array[FOO(a) == 'x
' ? 1 : -1];
3617 int test (int i, double x);
3618 struct s1 {int (*f) (int a);};
3619 struct s2 {int (*f) (double a);};
3620 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3626 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3631 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3632 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3634 CC="$ac_save_CC $ac_arg"
3635 rm -f conftest.$ac_objext
3636 if { (ac_try="$ac_compile"
3638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3639 *) ac_try_echo=$ac_try;;
3641 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3642 $as_echo "$ac_try_echo") >&5
3643 (eval "$ac_compile") 2>conftest.er1
3645 grep -v '^
*+' conftest.er1 >conftest.err
3647 cat conftest.err >&5
3648 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3649 (exit $ac_status); } && {
3650 test -z "$ac_c_werror_flag" ||
3651 test ! -s conftest.err
3652 } && test -s conftest.$ac_objext; then
3653 ac_cv_prog_cc_c89=$ac_arg
3655 $as_echo "$as_me: failed program was:" >&5
3656 sed 's
/^
/|
/' conftest.$ac_ext >&5
3661 rm -f core conftest.err conftest.$ac_objext
3662 test "x$ac_cv_prog_cc_c89" != "xno" && break
3664 rm -f conftest.$ac_ext
3669 case "x$ac_cv_prog_cc_c89" in
3671 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3672 $as_echo "none needed" >&6; } ;;
3674 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3675 $as_echo "unsupported" >&6; } ;;
3677 CC="$CC $ac_cv_prog_cc_c89"
3678 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3679 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3684 ac_cpp='$CPP $CPPFLAGS'
3685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3686 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3689 depcc="$CC" am_compiler_list=
3691 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3692 $as_echo_n "checking dependency style of $depcc... " >&6; }
3693 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3694 $as_echo_n "(cached) " >&6
3696 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3697 # We make a subdir and do the tests there. Otherwise we can end up
3698 # making bogus files that we don't know about and never remove. For
3699 # instance it was reported that on HP-UX the gcc test will end up
3700 # making a dummy file named `D' -- because `-MD' means `put the output
3703 # Copy depcomp to subdir because otherwise we won't find it if we're
3704 # using a relative directory.
3705 cp "$am_depcomp" conftest.dir
3707 # We will build objects and dependencies in a subdirectory because
3708 # it helps to detect inapplicable dependency modes. For instance
3709 # both Tru64's cc and ICC support -MD to output dependencies as a
3710 # side effect of compilation, but ICC will put the dependencies in
3711 # the current directory while Tru64 will put them in the object
3715 am_cv_CC_dependencies_compiler_type
=none
3716 if test "$am_compiler_list" = ""; then
3717 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3720 case " $depcc " in #(
3721 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
3724 for depmode
in $am_compiler_list; do
3725 # Setup a source with many dependencies, because some compilers
3726 # like to wrap large dependency lists on column 80 (with \), and
3727 # we should not choose a depcomp mode which is confused by this.
3729 # We need to recreate these files for each test, as the compiler may
3730 # overwrite some of them when testing with obscure command lines.
3731 # This happens at least with the AIX C compiler.
3733 for i
in 1 2 3 4 5 6; do
3734 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3735 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3736 # Solaris 8's {/usr,}/bin/sh.
3737 touch sub
/conftst
$i.h
3739 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3741 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3742 # mode. It turns out that the SunPro C++ compiler does not properly
3743 # handle `-M -o', and we need to detect this. Also, some Intel
3744 # versions had trouble with output in subdirs
3745 am__obj
=sub
/conftest.
${OBJEXT-o}
3746 am__minus_obj
="-o $am__obj"
3749 # This depmode causes a compiler race in universal mode.
3750 test "$am__universal" = false ||
continue
3753 # after this tag, mechanisms are not by side-effect, so they'll
3754 # only be used when explicitly requested
3755 if test "x$enable_dependency_tracking" = xyes
; then
3761 msvisualcpp | msvcmsys
)
3762 # This compiler won't grok `-c -o', but also, the minuso test has
3763 # not run yet. These depmodes are late enough in the game, and
3764 # so weak that their functioning should not be impacted.
3765 am__obj
=conftest.
${OBJEXT-o}
3770 if depmode
=$depmode \
3771 source=sub
/conftest.c object
=$am__obj \
3772 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3773 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3774 >/dev
/null
2>conftest.err
&&
3775 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3776 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3777 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3778 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3779 # icc doesn't choke on unknown options, it will just issue warnings
3780 # or remarks (even with -Werror). So we grep stderr for any message
3781 # that says an option was ignored or not supported.
3782 # When given -MP, icc 7.0 and 7.1 complain thusly:
3783 # icc: Command line warning: ignoring option '-M'; no argument required
3784 # The diagnosis changed in icc 8.0:
3785 # icc: Command line remark: option '-MP' not supported
3786 if (grep 'ignoring option' conftest.err ||
3787 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3788 am_cv_CC_dependencies_compiler_type
=$depmode
3797 am_cv_CC_dependencies_compiler_type
=none
3801 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3802 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3803 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3806 test "x$enable_dependency_tracking" != xno \
3807 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3809 am__fastdepCC_FALSE
='#'
3811 am__fastdepCC_TRUE
='#'
3812 am__fastdepCC_FALSE
=
3816 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3817 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3818 if test "${ac_cv_path_SED+set}" = set; then
3819 $as_echo_n "(cached) " >&6
3821 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
3822 for ac_i
in 1 2 3 4 5 6 7; do
3823 ac_script
="$ac_script$as_nl$ac_script"
3825 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
3826 $as_unset ac_script || ac_script
=
3827 if test -z "$SED"; then
3828 ac_path_SED_found
=false
3829 # Loop through the user's path and test for each of PROGNAME-LIST
3830 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3834 test -z "$as_dir" && as_dir
=.
3835 for ac_prog
in sed gsed
; do
3836 for ac_exec_ext
in '' $ac_executable_extensions; do
3837 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
3838 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
3839 # Check for GNU ac_path_SED and select it if it is found.
3840 # Check for GNU $ac_path_SED
3841 case `"$ac_path_SED" --version 2>&1` in
3843 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
3846 $as_echo_n 0123456789 >"conftest.in"
3849 cat "conftest.in" "conftest.in" >"conftest.tmp"
3850 mv "conftest.tmp" "conftest.in"
3851 cp "conftest.in" "conftest.nl"
3852 $as_echo '' >> "conftest.nl"
3853 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3854 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3855 ac_count
=`expr $ac_count + 1`
3856 if test $ac_count -gt ${ac_path_SED_max-0}; then
3857 # Best one so far, save it but keep looking for a better one
3858 ac_cv_path_SED
="$ac_path_SED"
3859 ac_path_SED_max
=$ac_count
3861 # 10*(2^10) chars as input seems more than enough
3862 test $ac_count -gt 10 && break
3864 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3867 $ac_path_SED_found && break 3
3872 if test -z "$ac_cv_path_SED"; then
3873 { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
3874 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
3875 { (exit 1); exit 1; }; }
3882 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
3883 $as_echo "$ac_cv_path_SED" >&6; }
3884 SED
="$ac_cv_path_SED"
3887 test -z "$SED" && SED
=sed
3888 Xsed
="$SED -e 1s/^X//"
3900 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3901 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3902 if test "${ac_cv_path_GREP+set}" = set; then
3903 $as_echo_n "(cached) " >&6
3905 if test -z "$GREP"; then
3906 ac_path_GREP_found
=false
3907 # Loop through the user's path and test for each of PROGNAME-LIST
3908 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3909 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3912 test -z "$as_dir" && as_dir
=.
3913 for ac_prog
in grep ggrep
; do
3914 for ac_exec_ext
in '' $ac_executable_extensions; do
3915 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3916 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3917 # Check for GNU ac_path_GREP and select it if it is found.
3918 # Check for GNU $ac_path_GREP
3919 case `"$ac_path_GREP" --version 2>&1` in
3921 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3924 $as_echo_n 0123456789 >"conftest.in"
3927 cat "conftest.in" "conftest.in" >"conftest.tmp"
3928 mv "conftest.tmp" "conftest.in"
3929 cp "conftest.in" "conftest.nl"
3930 $as_echo 'GREP' >> "conftest.nl"
3931 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3932 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3933 ac_count
=`expr $ac_count + 1`
3934 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3935 # Best one so far, save it but keep looking for a better one
3936 ac_cv_path_GREP
="$ac_path_GREP"
3937 ac_path_GREP_max
=$ac_count
3939 # 10*(2^10) chars as input seems more than enough
3940 test $ac_count -gt 10 && break
3942 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3945 $ac_path_GREP_found && break 3
3950 if test -z "$ac_cv_path_GREP"; then
3951 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3952 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3953 { (exit 1); exit 1; }; }
3956 ac_cv_path_GREP
=$GREP
3960 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3961 $as_echo "$ac_cv_path_GREP" >&6; }
3962 GREP
="$ac_cv_path_GREP"
3965 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
3966 $as_echo_n "checking for egrep... " >&6; }
3967 if test "${ac_cv_path_EGREP+set}" = set; then
3968 $as_echo_n "(cached) " >&6
3970 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3971 then ac_cv_path_EGREP
="$GREP -E"
3973 if test -z "$EGREP"; then
3974 ac_path_EGREP_found
=false
3975 # Loop through the user's path and test for each of PROGNAME-LIST
3976 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3977 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3980 test -z "$as_dir" && as_dir
=.
3981 for ac_prog
in egrep; do
3982 for ac_exec_ext
in '' $ac_executable_extensions; do
3983 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3984 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3985 # Check for GNU ac_path_EGREP and select it if it is found.
3986 # Check for GNU $ac_path_EGREP
3987 case `"$ac_path_EGREP" --version 2>&1` in
3989 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3992 $as_echo_n 0123456789 >"conftest.in"
3995 cat "conftest.in" "conftest.in" >"conftest.tmp"
3996 mv "conftest.tmp" "conftest.in"
3997 cp "conftest.in" "conftest.nl"
3998 $as_echo 'EGREP' >> "conftest.nl"
3999 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4000 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4001 ac_count
=`expr $ac_count + 1`
4002 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4003 # Best one so far, save it but keep looking for a better one
4004 ac_cv_path_EGREP
="$ac_path_EGREP"
4005 ac_path_EGREP_max
=$ac_count
4007 # 10*(2^10) chars as input seems more than enough
4008 test $ac_count -gt 10 && break
4010 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4013 $ac_path_EGREP_found && break 3
4018 if test -z "$ac_cv_path_EGREP"; then
4019 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4020 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4021 { (exit 1); exit 1; }; }
4024 ac_cv_path_EGREP
=$EGREP
4029 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4030 $as_echo "$ac_cv_path_EGREP" >&6; }
4031 EGREP
="$ac_cv_path_EGREP"
4034 { $as_echo "$as_me:$LINENO: checking for fgrep" >&5
4035 $as_echo_n "checking for fgrep... " >&6; }
4036 if test "${ac_cv_path_FGREP+set}" = set; then
4037 $as_echo_n "(cached) " >&6
4039 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
4040 then ac_cv_path_FGREP
="$GREP -F"
4042 if test -z "$FGREP"; then
4043 ac_path_FGREP_found
=false
4044 # Loop through the user's path and test for each of PROGNAME-LIST
4045 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4046 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4049 test -z "$as_dir" && as_dir
=.
4050 for ac_prog
in fgrep
; do
4051 for ac_exec_ext
in '' $ac_executable_extensions; do
4052 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
4053 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
4054 # Check for GNU ac_path_FGREP and select it if it is found.
4055 # Check for GNU $ac_path_FGREP
4056 case `"$ac_path_FGREP" --version 2>&1` in
4058 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
4061 $as_echo_n 0123456789 >"conftest.in"
4064 cat "conftest.in" "conftest.in" >"conftest.tmp"
4065 mv "conftest.tmp" "conftest.in"
4066 cp "conftest.in" "conftest.nl"
4067 $as_echo 'FGREP' >> "conftest.nl"
4068 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4069 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4070 ac_count
=`expr $ac_count + 1`
4071 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4072 # Best one so far, save it but keep looking for a better one
4073 ac_cv_path_FGREP
="$ac_path_FGREP"
4074 ac_path_FGREP_max
=$ac_count
4076 # 10*(2^10) chars as input seems more than enough
4077 test $ac_count -gt 10 && break
4079 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4082 $ac_path_FGREP_found && break 3
4087 if test -z "$ac_cv_path_FGREP"; then
4088 { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4089 $as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4090 { (exit 1); exit 1; }; }
4093 ac_cv_path_FGREP
=$FGREP
4098 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
4099 $as_echo "$ac_cv_path_FGREP" >&6; }
4100 FGREP
="$ac_cv_path_FGREP"
4103 test -z "$GREP" && GREP
=grep
4123 # Check whether --with-gnu-ld was given.
4124 if test "${with_gnu_ld+set}" = set; then
4125 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4131 if test "$GCC" = yes; then
4132 # Check if gcc -print-prog-name=ld gives a path.
4133 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4134 $as_echo_n "checking for ld used by $CC... " >&6; }
4137 # gcc leaves a trailing carriage return which upsets mingw
4138 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4140 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4143 # Accept absolute paths.
4145 re_direlt
='/[^/][^/]*/\.\./'
4146 # Canonicalize the pathname of ld
4147 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4148 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
4149 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4151 test -z "$LD" && LD
="$ac_prog"
4154 # If it fails, then pretend we aren't using GCC.
4158 # If it is relative, then search for the first ld in PATH.
4162 elif test "$with_gnu_ld" = yes; then
4163 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
4164 $as_echo_n "checking for GNU ld... " >&6; }
4166 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4167 $as_echo_n "checking for non-GNU ld... " >&6; }
4169 if test "${lt_cv_path_LD+set}" = set; then
4170 $as_echo_n "(cached) " >&6
4172 if test -z "$LD"; then
4173 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4174 for ac_dir
in $PATH; do
4176 test -z "$ac_dir" && ac_dir
=.
4177 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4178 lt_cv_path_LD
="$ac_dir/$ac_prog"
4179 # Check to see if the program is GNU ld. I'd rather use --version,
4180 # but apparently some variants of GNU ld only accept -v.
4181 # Break only if it was the GNU/non-GNU ld that we prefer.
4182 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4183 *GNU
* |
*'with BFD'*)
4184 test "$with_gnu_ld" != no
&& break
4187 test "$with_gnu_ld" != yes && break
4194 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4199 if test -n "$LD"; then
4200 { $as_echo "$as_me:$LINENO: result: $LD" >&5
4201 $as_echo "$LD" >&6; }
4203 { $as_echo "$as_me:$LINENO: result: no" >&5
4204 $as_echo "no" >&6; }
4206 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4207 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4208 { (exit 1); exit 1; }; }
4209 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4210 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4211 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4212 $as_echo_n "(cached) " >&6
4214 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4215 case `$LD -v 2>&1 </dev/null` in
4216 *GNU
* |
*'with BFD'*)
4217 lt_cv_prog_gnu_ld
=yes
4220 lt_cv_prog_gnu_ld
=no
4224 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4225 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4226 with_gnu_ld
=$lt_cv_prog_gnu_ld
4236 { $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4237 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4238 if test "${lt_cv_path_NM+set}" = set; then
4239 $as_echo_n "(cached) " >&6
4241 if test -n "$NM"; then
4242 # Let the user override the test.
4245 lt_nm_to_check
="${ac_tool_prefix}nm"
4246 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4247 lt_nm_to_check
="$lt_nm_to_check nm"
4249 for lt_tmp_nm
in $lt_nm_to_check; do
4250 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4251 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4253 test -z "$ac_dir" && ac_dir
=.
4254 tmp_nm
="$ac_dir/$lt_tmp_nm"
4255 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4256 # Check to see if the nm accepts a BSD-compat flag.
4257 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4258 # nm: unknown option "B" ignored
4259 # Tru64's nm complains that /dev/null is an invalid object file
4260 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4261 */dev
/null
* |
*'Invalid file or object type'*)
4262 lt_cv_path_NM
="$tmp_nm -B"
4266 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4268 lt_cv_path_NM
="$tmp_nm -p"
4272 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4273 continue # so that we can try to find one that supports BSD flags
4282 : ${lt_cv_path_NM=no}
4285 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4286 $as_echo "$lt_cv_path_NM" >&6; }
4287 if test "$lt_cv_path_NM" != "no"; then
4290 # Didn't find any BSD compatible name lister, look for dumpbin.
4291 if test -n "$ac_tool_prefix"; then
4292 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4294 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4295 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4296 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4297 $as_echo_n "checking for $ac_word... " >&6; }
4298 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4299 $as_echo_n "(cached) " >&6
4301 if test -n "$DUMPBIN"; then
4302 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
4304 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4308 test -z "$as_dir" && as_dir
=.
4309 for ac_exec_ext
in '' $ac_executable_extensions; do
4310 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4311 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
4312 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4321 DUMPBIN
=$ac_cv_prog_DUMPBIN
4322 if test -n "$DUMPBIN"; then
4323 { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4324 $as_echo "$DUMPBIN" >&6; }
4326 { $as_echo "$as_me:$LINENO: result: no" >&5
4327 $as_echo "no" >&6; }
4331 test -n "$DUMPBIN" && break
4334 if test -z "$DUMPBIN"; then
4335 ac_ct_DUMPBIN
=$DUMPBIN
4336 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4338 # Extract the first word of "$ac_prog", so it can be a program name with args.
4339 set dummy
$ac_prog; ac_word
=$2
4340 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4341 $as_echo_n "checking for $ac_word... " >&6; }
4342 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4343 $as_echo_n "(cached) " >&6
4345 if test -n "$ac_ct_DUMPBIN"; then
4346 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4348 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4352 test -z "$as_dir" && as_dir
=.
4353 for ac_exec_ext
in '' $ac_executable_extensions; do
4354 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4355 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4356 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4365 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4366 if test -n "$ac_ct_DUMPBIN"; then
4367 { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4368 $as_echo "$ac_ct_DUMPBIN" >&6; }
4370 { $as_echo "$as_me:$LINENO: result: no" >&5
4371 $as_echo "no" >&6; }
4375 test -n "$ac_ct_DUMPBIN" && break
4378 if test "x$ac_ct_DUMPBIN" = x
; then
4381 case $cross_compiling:$ac_tool_warned in
4383 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4384 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4385 ac_tool_warned
=yes ;;
4387 DUMPBIN
=$ac_ct_DUMPBIN
4392 if test "$DUMPBIN" != ":"; then
4396 test -z "$NM" && NM
=nm
4403 { $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4404 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4405 if test "${lt_cv_nm_interface+set}" = set; then
4406 $as_echo_n "(cached) " >&6
4408 lt_cv_nm_interface
="BSD nm"
4409 echo "int some_variable = 0;" > conftest.
$ac_ext
4410 (eval echo "\"\$as_me:4410: $ac_compile\"" >&5)
4411 (eval "$ac_compile" 2>conftest.err
)
4412 cat conftest.err
>&5
4413 (eval echo "\"\$as_me:4413: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4414 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4415 cat conftest.err
>&5
4416 (eval echo "\"\$as_me:4416: output\"" >&5)
4417 cat conftest.out
>&5
4418 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4419 lt_cv_nm_interface
="MS dumpbin"
4423 { $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4424 $as_echo "$lt_cv_nm_interface" >&6; }
4426 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
4427 $as_echo_n "checking whether ln -s works... " >&6; }
4429 if test "$LN_S" = "ln -s"; then
4430 { $as_echo "$as_me:$LINENO: result: yes" >&5
4431 $as_echo "yes" >&6; }
4433 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4434 $as_echo "no, using $LN_S" >&6; }
4437 # find the maximum length of command line arguments
4438 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4439 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4440 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4441 $as_echo_n "(cached) " >&6
4448 # On DJGPP, this test can blow up pretty badly due to problems in libc
4449 # (any single argument exceeding 2000 bytes causes a buffer overrun
4450 # during glob expansion). Even if it were fixed, the result of this
4451 # check would be larger than it should be.
4452 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4456 # Under GNU Hurd, this test is not required because there is
4457 # no limit to the length of command line arguments.
4458 # Libtool will interpret -1 as no limit whatsoever
4459 lt_cv_sys_max_cmd_len
=-1;
4462 cygwin
* | mingw
* | cegcc
*)
4463 # On Win9x/ME, this test blows up -- it succeeds, but takes
4464 # about 5 minutes as the teststring grows exponentially.
4465 # Worse, since 9x/ME are not pre-emptively multitasking,
4466 # you end up with a "frozen" computer, even though with patience
4467 # the test eventually succeeds (with a max line length of 256k).
4468 # Instead, let's just punt: use the minimum linelength reported by
4469 # all of the supported platforms: 8192 (on NT/2K/XP).
4470 lt_cv_sys_max_cmd_len
=8192;
4474 # On AmigaOS with pdksh, this test takes hours, literally.
4475 # So we just punt and use a minimum line length of 8192.
4476 lt_cv_sys_max_cmd_len
=8192;
4479 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4480 # This has been around since 386BSD, at least. Likely further.
4481 if test -x /sbin
/sysctl
; then
4482 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4483 elif test -x /usr
/sbin
/sysctl
; then
4484 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4486 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4488 # And add a safety zone
4489 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4490 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4494 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4495 lt_cv_sys_max_cmd_len
=196608
4499 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4500 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4501 # nice to cause kernel panics so lets avoid the loop below.
4502 # First set a reasonable default.
4503 lt_cv_sys_max_cmd_len
=16384
4505 if test -x /sbin
/sysconfig
; then
4506 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4507 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4512 lt_cv_sys_max_cmd_len
=102400
4514 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4515 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4516 if test -n "$kargmax"; then
4517 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4519 lt_cv_sys_max_cmd_len
=32768
4523 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
4524 if test -n "$lt_cv_sys_max_cmd_len"; then
4525 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4526 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4528 # Make teststring a little bigger before we do anything with it.
4529 # a 1K string should be a reasonable start.
4530 for i
in 1 2 3 4 5 6 7 8 ; do
4531 teststring
=$teststring$teststring
4533 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4534 # If test is not a shell built-in, we'll probably end up computing a
4535 # maximum length that is only half of the actual maximum length, but
4537 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4538 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
4539 test $i != 17 # 1/2 MB should be enough
4542 teststring
=$teststring$teststring
4544 # Only check the string length outside the loop.
4545 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4547 # Add a significant safety factor because C++ compilers can tack on
4548 # massive amounts of additional arguments before passing them to the
4549 # linker. It appears as though 1/2 is a usable value.
4550 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4557 if test -n $lt_cv_sys_max_cmd_len ; then
4558 { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4559 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4561 { $as_echo "$as_me:$LINENO: result: none" >&5
4562 $as_echo "none" >&6; }
4564 max_cmd_len
=$lt_cv_sys_max_cmd_len
4575 { $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4576 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4577 # Try some XSI features
4580 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4582 && eval 'test $(( 1 + 1 )) -eq 2 \
4583 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4585 { $as_echo "$as_me:$LINENO: result
: $xsi_shell" >&5
4586 $as_echo "$xsi_shell" >&6; }
4589 { $as_echo "$as_me:$LINENO: checking whether the shell understands
\"+=\"" >&5
4590 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
4592 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
4594 && lt_shell_append=yes
4595 { $as_echo "$as_me:$LINENO: result
: $lt_shell_append" >&5
4596 $as_echo "$lt_shell_append" >&6; }
4599 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4609 # test EBCDIC or ASCII
4610 case `echo X|tr X '\101'` in
4611 A) # ASCII based system
4612 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4613 lt_SP2NL='tr \040 \012'
4614 lt_NL2SP='tr \015\012 \040\040'
4616 *) # EBCDIC based system
4617 lt_SP2NL='tr \100 \n'
4618 lt_NL2SP='tr \r\n \100\100'
4630 { $as_echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
4631 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
4632 if test "${lt_cv_ld_reload_flag+set}" = set; then
4633 $as_echo_n "(cached
) " >&6
4635 lt_cv_ld_reload_flag='-r'
4637 { $as_echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
4638 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4639 reload_flag=$lt_cv_ld_reload_flag
4640 case $reload_flag in
4642 *) reload_flag=" $reload_flag" ;;
4644 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4647 if test "$GCC" = yes; then
4648 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4650 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4663 if test -n "$ac_tool_prefix"; then
4664 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
4665 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4666 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
4667 $as_echo_n "checking
for $ac_word...
" >&6; }
4668 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
4669 $as_echo_n "(cached
) " >&6
4671 if test -n "$OBJDUMP"; then
4672 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4678 test -z "$as_dir" && as_dir=.
4679 for ac_exec_ext in '' $ac_executable_extensions; do
4680 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4681 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
4682 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4691 OBJDUMP=$ac_cv_prog_OBJDUMP
4692 if test -n "$OBJDUMP"; then
4693 { $as_echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
4694 $as_echo "$OBJDUMP" >&6; }
4696 { $as_echo "$as_me:$LINENO: result
: no
" >&5
4697 $as_echo "no
" >&6; }
4702 if test -z "$ac_cv_prog_OBJDUMP"; then
4703 ac_ct_OBJDUMP=$OBJDUMP
4704 # Extract the first word of "objdump
", so it can be a program name with args.
4705 set dummy objdump; ac_word=$2
4706 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
4707 $as_echo_n "checking
for $ac_word...
" >&6; }
4708 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
4709 $as_echo_n "(cached
) " >&6
4711 if test -n "$ac_ct_OBJDUMP"; then
4712 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4718 test -z "$as_dir" && as_dir=.
4719 for ac_exec_ext in '' $ac_executable_extensions; do
4720 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4721 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
4722 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4731 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4732 if test -n "$ac_ct_OBJDUMP"; then
4733 { $as_echo "$as_me:$LINENO: result
: $ac_ct_OBJDUMP" >&5
4734 $as_echo "$ac_ct_OBJDUMP" >&6; }
4736 { $as_echo "$as_me:$LINENO: result
: no
" >&5
4737 $as_echo "no
" >&6; }
4740 if test "x
$ac_ct_OBJDUMP" = x; then
4743 case $cross_compiling:$ac_tool_warned in
4745 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
4746 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
4747 ac_tool_warned=yes ;;
4749 OBJDUMP=$ac_ct_OBJDUMP
4752 OBJDUMP="$ac_cv_prog_OBJDUMP"
4755 test -z "$OBJDUMP" && OBJDUMP=objdump
4762 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries
" >&5
4763 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
4764 if test "${lt_cv_deplibs_check_method+set}" = set; then
4765 $as_echo_n "(cached
) " >&6
4767 lt_cv_file_magic_cmd='$MAGIC_CMD'
4768 lt_cv_file_magic_test_file=
4769 lt_cv_deplibs_check_method='unknown'
4770 # Need to set the preceding variable on all platforms that support
4771 # interlibrary dependencies.
4772 # 'none' -- dependencies not supported.
4773 # `unknown' -- same as none, but documents that we really don't know.
4774 # 'pass_all' -- all dependencies passed with no checks.
4775 # 'test_compile' -- check by making test program.
4776 # 'file_magic [[regex]]' -- check by looking for files in library path
4777 # which responds to the $file_magic_cmd with a given extended regex.
4778 # If you have `file' or equivalent on your system and you're not sure
4779 # whether `pass_all' will *always* work, you probably want this one.
4783 lt_cv_deplibs_check_method=pass_all
4787 lt_cv_deplibs_check_method=pass_all
4791 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4792 lt_cv_file_magic_cmd='/usr/bin/file -L'
4793 lt_cv_file_magic_test_file=/shlib/libc.so
4797 # func_win32_libid is a shell function defined in ltmain.sh
4798 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4799 lt_cv_file_magic_cmd='func_win32_libid'
4803 # Base MSYS/MinGW do not provide the 'file' command needed by
4804 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4805 # unless we find 'file', for example because we are cross-compiling.
4806 if ( file / ) >/dev/null 2>&1; then
4807 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4808 lt_cv_file_magic_cmd='func_win32_libid'
4810 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4811 lt_cv_file_magic_cmd='$OBJDUMP -f'
4816 # use the weaker test based on 'objdump'. See mingw*.
4817 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4818 lt_cv_file_magic_cmd='$OBJDUMP -f'
4821 darwin* | rhapsody*)
4822 lt_cv_deplibs_check_method=pass_all
4825 freebsd* | dragonfly*)
4826 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4829 # Not sure whether the presence of OpenBSD here was a mistake.
4830 # Let's accept both of them until this is cleared up.
4831 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4832 lt_cv_file_magic_cmd=/usr/bin/file
4833 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4837 lt_cv_deplibs_check_method=pass_all
4842 lt_cv_deplibs_check_method=pass_all
4845 hpux10.20* | hpux11*)
4846 lt_cv_file_magic_cmd=/usr/bin/file
4849 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4850 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4853 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]'
4854 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4857 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4858 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4864 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4865 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4868 irix5* | irix6* | nonstopux*)
4870 *-32|*"-32 ") libmagic=32-bit;;
4871 *-n32|*"-n32 ") libmagic=N32;;
4872 *-64|*"-64 ") libmagic=64-bit;;
4873 *) libmagic=never-match;;
4875 lt_cv_deplibs_check_method=pass_all
4878 # This must be Linux ELF.
4879 linux* | k*bsd*-gnu)
4880 lt_cv_deplibs_check_method=pass_all
4884 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4885 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4887 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4892 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4893 lt_cv_file_magic_cmd=/usr/bin/file
4894 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4898 lt_cv_deplibs_check_method=pass_all
4902 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
4903 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4905 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4909 osf3* | osf4* | osf5*)
4910 lt_cv_deplibs_check_method=pass_all
4914 lt_cv_deplibs_check_method=pass_all
4918 lt_cv_deplibs_check_method=pass_all
4921 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4922 lt_cv_deplibs_check_method=pass_all
4926 case $host_vendor in
4928 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]'
4929 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4932 lt_cv_deplibs_check_method=pass_all
4935 lt_cv_file_magic_cmd='/bin/file'
4936 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4939 lt_cv_file_magic_cmd='/bin/file'
4940 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
4941 lt_cv_file_magic_test_file=/lib/libc.so
4944 lt_cv_deplibs_check_method=pass_all
4947 lt_cv_deplibs_check_method=pass_all
4953 lt_cv_deplibs_check_method=pass_all
4958 { $as_echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
4959 $as_echo "$lt_cv_deplibs_check_method" >&6; }
4960 file_magic_cmd=$lt_cv_file_magic_cmd
4961 deplibs_check_method=$lt_cv_deplibs_check_method
4962 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4975 if test -n "$ac_tool_prefix"; then
4976 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4977 set dummy ${ac_tool_prefix}ar; ac_word=$2
4978 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
4979 $as_echo_n "checking
for $ac_word...
" >&6; }
4980 if test "${ac_cv_prog_AR+set}" = set; then
4981 $as_echo_n "(cached
) " >&6
4983 if test -n "$AR"; then
4984 ac_cv_prog_AR="$AR" # Let the user override the test.
4986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4990 test -z "$as_dir" && as_dir=.
4991 for ac_exec_ext in '' $ac_executable_extensions; do
4992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4993 ac_cv_prog_AR="${ac_tool_prefix}ar"
4994 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5004 if test -n "$AR"; then
5005 { $as_echo "$as_me:$LINENO: result
: $AR" >&5
5006 $as_echo "$AR" >&6; }
5008 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5009 $as_echo "no
" >&6; }
5014 if test -z "$ac_cv_prog_AR"; then
5016 # Extract the first word of "ar", so it can be a program name with args.
5017 set dummy ar; ac_word=$2
5018 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5019 $as_echo_n "checking
for $ac_word...
" >&6; }
5020 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5021 $as_echo_n "(cached
) " >&6
5023 if test -n "$ac_ct_AR"; then
5024 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5030 test -z "$as_dir" && as_dir=.
5031 for ac_exec_ext in '' $ac_executable_extensions; do
5032 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5033 ac_cv_prog_ac_ct_AR="ar"
5034 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5043 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5044 if test -n "$ac_ct_AR"; then
5045 { $as_echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
5046 $as_echo "$ac_ct_AR" >&6; }
5048 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5049 $as_echo "no
" >&6; }
5052 if test "x
$ac_ct_AR" = x; then
5055 case $cross_compiling:$ac_tool_warned in
5057 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5058 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5059 ac_tool_warned=yes ;;
5067 test -z "$AR" && AR=ar
5068 test -z "$AR_FLAGS" && AR_FLAGS=cru
5080 if test -n "$ac_tool_prefix"; then
5081 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5082 set dummy ${ac_tool_prefix}strip; ac_word=$2
5083 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5084 $as_echo_n "checking
for $ac_word...
" >&6; }
5085 if test "${ac_cv_prog_STRIP+set}" = set; then
5086 $as_echo_n "(cached
) " >&6
5088 if test -n "$STRIP"; then
5089 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5095 test -z "$as_dir" && as_dir=.
5096 for ac_exec_ext in '' $ac_executable_extensions; do
5097 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5098 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5099 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5108 STRIP=$ac_cv_prog_STRIP
5109 if test -n "$STRIP"; then
5110 { $as_echo "$as_me:$LINENO: result
: $STRIP" >&5
5111 $as_echo "$STRIP" >&6; }
5113 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5114 $as_echo "no
" >&6; }
5119 if test -z "$ac_cv_prog_STRIP"; then
5121 # Extract the first word of "strip
", so it can be a program name with args.
5122 set dummy strip; ac_word=$2
5123 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5124 $as_echo_n "checking
for $ac_word...
" >&6; }
5125 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5126 $as_echo_n "(cached
) " >&6
5128 if test -n "$ac_ct_STRIP"; then
5129 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5135 test -z "$as_dir" && as_dir=.
5136 for ac_exec_ext in '' $ac_executable_extensions; do
5137 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5138 ac_cv_prog_ac_ct_STRIP="strip
"
5139 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5148 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5149 if test -n "$ac_ct_STRIP"; then
5150 { $as_echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
5151 $as_echo "$ac_ct_STRIP" >&6; }
5153 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5154 $as_echo "no
" >&6; }
5157 if test "x
$ac_ct_STRIP" = x; then
5160 case $cross_compiling:$ac_tool_warned in
5162 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5163 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5164 ac_tool_warned=yes ;;
5169 STRIP="$ac_cv_prog_STRIP"
5172 test -z "$STRIP" && STRIP=:
5179 if test -n "$ac_tool_prefix"; then
5180 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
5181 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5182 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5183 $as_echo_n "checking
for $ac_word...
" >&6; }
5184 if test "${ac_cv_prog_RANLIB+set}" = set; then
5185 $as_echo_n "(cached
) " >&6
5187 if test -n "$RANLIB"; then
5188 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5194 test -z "$as_dir" && as_dir=.
5195 for ac_exec_ext in '' $ac_executable_extensions; do
5196 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5197 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
5198 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5207 RANLIB=$ac_cv_prog_RANLIB
5208 if test -n "$RANLIB"; then
5209 { $as_echo "$as_me:$LINENO: result
: $RANLIB" >&5
5210 $as_echo "$RANLIB" >&6; }
5212 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5213 $as_echo "no
" >&6; }
5218 if test -z "$ac_cv_prog_RANLIB"; then
5219 ac_ct_RANLIB=$RANLIB
5220 # Extract the first word of "ranlib
", so it can be a program name with args.
5221 set dummy ranlib; ac_word=$2
5222 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5223 $as_echo_n "checking
for $ac_word...
" >&6; }
5224 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5225 $as_echo_n "(cached
) " >&6
5227 if test -n "$ac_ct_RANLIB"; then
5228 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5234 test -z "$as_dir" && as_dir=.
5235 for ac_exec_ext in '' $ac_executable_extensions; do
5236 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5237 ac_cv_prog_ac_ct_RANLIB="ranlib
"
5238 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5247 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5248 if test -n "$ac_ct_RANLIB"; then
5249 { $as_echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
5250 $as_echo "$ac_ct_RANLIB" >&6; }
5252 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5253 $as_echo "no
" >&6; }
5256 if test "x
$ac_ct_RANLIB" = x; then
5259 case $cross_compiling:$ac_tool_warned in
5261 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5262 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5263 ac_tool_warned=yes ;;
5265 RANLIB=$ac_ct_RANLIB
5268 RANLIB="$ac_cv_prog_RANLIB"
5271 test -z "$RANLIB" && RANLIB=:
5278 # Determine commands to create old-style static archives.
5279 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5280 old_postinstall_cmds='chmod 644 $oldlib'
5281 old_postuninstall_cmds=
5283 if test -n "$RANLIB"; then
5286 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
5289 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
5292 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
5328 # If no C compiler was specified, use CC.
5331 # If no C compiler flags were specified, use CFLAGS.
5332 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5334 # Allow CC to be a program name with arguments.
5338 # Check for command to grab the raw symbol name followed by C symbol from nm.
5339 { $as_echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
5340 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
5341 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5342 $as_echo_n "(cached
) " >&6
5345 # These are sane defaults that work on at least a few old systems.
5346 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5348 # Character class describing NM global symbol codes.
5349 symcode='[BCDEGRST]'
5351 # Regexp to match symbols that can be accessed directly from C.
5352 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5354 # Define system-specific variables.
5359 cygwin* | mingw* | pw32* | cegcc*)
5360 symcode='[ABCDGISTW]'
5363 if test "$host_cpu" = ia64; then
5364 symcode='[ABCDEGRST]'
5368 symcode='[BCDEGRST]'
5371 symcode='[BCDEGQRST]'
5382 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5390 # If we're using GNU nm, then use its standard symbol codes.
5391 case `$NM -V 2>&1` in
5392 *GNU* | *'with BFD'*)
5393 symcode='[ABCDGIRSTW]' ;;
5396 # Transform an extracted symbol line into a proper C declaration.
5397 # Some systems (esp. on ia64) link data and code symbols differently,
5398 # so use this general approach.
5399 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5401 # Transform an extracted symbol line into symbol name and symbol address
5402 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5403 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
5405 # Handle CRLF in mingw tool chain
5409 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5413 # Try without a prefix underscore, then with it.
5414 for ac_symprfx in "" "_
"; do
5416 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5417 symxfrm="\\1 $ac_symprfx\\2 \\2"
5419 # Write the raw and C identifiers.
5420 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
5421 # Fake it for dumpbin and say T for any non-static function
5422 # and D for any global variable.
5423 # Also find C++ and __fastcall symbols from MSVC++,
5424 # which start with @ or ?.
5425 lt_cv_sys_global_symbol_pipe="$AWK '"\
5426 " {last_section=section; section=\$ 3};"\
5427 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5428 " \$ 0!~/External *\|/{next};"\
5429 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5430 " {if(hide[section]) next};"\
5431 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5432 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5433 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5434 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5435 " ' prfx
=^
$ac_symprfx"
5437 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5440 # Check to see that the pipe works correctly.
5444 cat > conftest.$ac_ext <<_LT_EOF
5449 void nm_test_func(void);
5450 void nm_test_func(void){}
5454 int main(){nm_test_var='a';nm_test_func();return(0);}
5457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5458 (eval $ac_compile) 2>&5
5460 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5461 (exit $ac_status); }; then
5462 # Now try to grab the symbols.
5464 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
5465 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5467 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5468 (exit $ac_status); } && test -s "$nlist"; then
5469 # Try sorting and uniquifying the output.
5470 if sort "$nlist" | uniq > "$nlist"T; then
5471 mv -f "$nlist"T "$nlist"
5476 # Make sure that we snagged all the symbols we need.
5477 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5478 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5479 cat <<_LT_EOF > conftest.$ac_ext
5485 # Now generate the symbol file.
5486 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5488 cat <<_LT_EOF >> conftest.$ac_ext
5490 /* The mapping between symbol names and symbols. */
5495 lt__PROGRAM__LTX_preloaded_symbols[] =
5497 { "@PROGRAM@
", (void *) 0 },
5499 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5500 cat <<\_LT_EOF >> conftest.$ac_ext
5504 /* This works around a problem in FreeBSD linker */
5505 #ifdef FREEBSD_WORKAROUND
5506 static const void *lt_preloaded_setup() {
5507 return lt__PROGRAM__LTX_preloaded_symbols;
5515 # Now try linking the two files.
5516 mv conftest.$ac_objext conftstm.$ac_objext
5517 lt_save_LIBS="$LIBS"
5518 lt_save_CFLAGS="$CFLAGS"
5519 LIBS="conftstm.
$ac_objext"
5520 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5522 (eval $ac_link) 2>&5
5524 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5525 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5528 LIBS="$lt_save_LIBS"
5529 CFLAGS="$lt_save_CFLAGS"
5531 echo "cannot
find nm_test_func
in $nlist" >&5
5534 echo "cannot
find nm_test_var
in $nlist" >&5
5537 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
5540 echo "$progname: failed program was
:" >&5
5541 cat conftest.$ac_ext >&5
5543 rm -rf conftest* conftst*
5545 # Do not use the global_symbol_pipe unless it works.
5546 if test "$pipe_works" = yes; then
5549 lt_cv_sys_global_symbol_pipe=
5555 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5556 lt_cv_sys_global_symbol_to_cdecl=
5558 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5559 { $as_echo "$as_me:$LINENO: result
: failed
" >&5
5560 $as_echo "failed
" >&6; }
5562 { $as_echo "$as_me:$LINENO: result
: ok
" >&5
5563 $as_echo "ok
" >&6; }
5588 # Check whether --enable-libtool-lock was given.
5589 if test "${enable_libtool_lock+set}" = set; then
5590 enableval=$enable_libtool_lock;
5593 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
5595 # Some flags need to be propagated to the compiler or linker for good
5599 # Find out which ABI we are using.
5600 echo 'int i;' > conftest.$ac_ext
5601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5602 (eval $ac_compile) 2>&5
5604 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5605 (exit $ac_status); }; then
5606 case `/usr/bin/file conftest.$ac_objext` in
5618 # Find out which ABI we are using.
5619 echo '#line 5619 "configure
"' > conftest.$ac_ext
5620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5621 (eval $ac_compile) 2>&5
5623 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5624 (exit $ac_status); }; then
5625 if test "$lt_cv_prog_gnu_ld" = yes; then
5626 case `/usr/bin/file conftest.$ac_objext` in
5628 LD="${LD-ld} -melf32bsmip"
5631 LD="${LD-ld} -melf32bmipn32"
5634 LD="${LD-ld} -melf64bmip"
5638 case `/usr/bin/file conftest.$ac_objext` in
5654 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5655 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5656 # Find out which ABI we are using.
5657 echo 'int i;' > conftest.$ac_ext
5658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5659 (eval $ac_compile) 2>&5
5661 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5662 (exit $ac_status); }; then
5663 case `/usr/bin/file conftest.o` in
5666 x86_64-*kfreebsd*-gnu)
5667 LD="${LD-ld} -m elf_i386_fbsd
"
5670 LD="${LD-ld} -m elf_i386
"
5672 ppc64-*linux*|powerpc64-*linux*)
5673 LD="${LD-ld} -m elf32ppclinux
"
5676 LD="${LD-ld} -m elf_s390
"
5679 LD="${LD-ld} -m elf32_sparc
"
5685 x86_64-*kfreebsd*-gnu)
5686 LD="${LD-ld} -m elf_x86_64_fbsd
"
5689 LD="${LD-ld} -m elf_x86_64
"
5691 ppc*-*linux*|powerpc*-*linux*)
5692 LD="${LD-ld} -m elf64ppc
"
5694 s390*-*linux*|s390*-*tpf*)
5695 LD="${LD-ld} -m elf64_s390
"
5698 LD="${LD-ld} -m elf64_sparc
"
5708 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5709 SAVE_CFLAGS="$CFLAGS"
5710 CFLAGS="$CFLAGS -belf"
5711 { $as_echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
5712 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
5713 if test "${lt_cv_cc_needs_belf+set}" = set; then
5714 $as_echo_n "(cached
) " >&6
5717 ac_cpp='$CPP $CPPFLAGS'
5718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5722 cat >conftest.$ac_ext <<_ACEOF
5725 cat confdefs.h >>conftest.$ac_ext
5726 cat >>conftest.$ac_ext <<_ACEOF
5727 /* end confdefs.h. */
5737 rm -f conftest.$ac_objext conftest$ac_exeext
5738 if { (ac_try="$ac_link"
5740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5741 *) ac_try_echo=$ac_try;;
5743 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
5744 $as_echo "$ac_try_echo") >&5
5745 (eval "$ac_link") 2>conftest.er1
5747 grep -v '^ *+' conftest.er1 >conftest.err
5749 cat conftest.err >&5
5750 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5751 (exit $ac_status); } && {
5752 test -z "$ac_c_werror_flag" ||
5753 test ! -s conftest.err
5754 } && test -s conftest$ac_exeext && {
5755 test "$cross_compiling" = yes ||
5756 $as_test_x conftest$ac_exeext
5758 lt_cv_cc_needs_belf=yes
5760 $as_echo "$as_me: failed program was
:" >&5
5761 sed 's/^/| /' conftest.$ac_ext >&5
5763 lt_cv_cc_needs_belf=no
5766 rm -rf conftest.dSYM
5767 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5768 conftest$ac_exeext conftest.$ac_ext
5770 ac_cpp='$CPP $CPPFLAGS'
5771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5776 { $as_echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
5777 $as_echo "$lt_cv_cc_needs_belf" >&6; }
5778 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5779 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5780 CFLAGS="$SAVE_CFLAGS"
5784 # Find out which ABI we are using.
5785 echo 'int i;' > conftest.$ac_ext
5786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5787 (eval $ac_compile) 2>&5
5789 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5790 (exit $ac_status); }; then
5791 case `/usr/bin/file conftest.o` in
5793 case $lt_cv_prog_gnu_ld in
5794 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
5796 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5808 need_locks="$enable_libtool_lock"
5812 rhapsody* | darwin*)
5813 if test -n "$ac_tool_prefix"; then
5814 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
5815 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
5816 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5817 $as_echo_n "checking
for $ac_word...
" >&6; }
5818 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
5819 $as_echo_n "(cached
) " >&6
5821 if test -n "$DSYMUTIL"; then
5822 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
5824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5828 test -z "$as_dir" && as_dir=.
5829 for ac_exec_ext in '' $ac_executable_extensions; do
5830 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5831 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
5832 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5841 DSYMUTIL=$ac_cv_prog_DSYMUTIL
5842 if test -n "$DSYMUTIL"; then
5843 { $as_echo "$as_me:$LINENO: result
: $DSYMUTIL" >&5
5844 $as_echo "$DSYMUTIL" >&6; }
5846 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5847 $as_echo "no
" >&6; }
5852 if test -z "$ac_cv_prog_DSYMUTIL"; then
5853 ac_ct_DSYMUTIL=$DSYMUTIL
5854 # Extract the first word of "dsymutil
", so it can be a program name with args.
5855 set dummy dsymutil; ac_word=$2
5856 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5857 $as_echo_n "checking
for $ac_word...
" >&6; }
5858 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
5859 $as_echo_n "(cached
) " >&6
5861 if test -n "$ac_ct_DSYMUTIL"; then
5862 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
5864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5868 test -z "$as_dir" && as_dir=.
5869 for ac_exec_ext in '' $ac_executable_extensions; do
5870 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5871 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
5872 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5881 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
5882 if test -n "$ac_ct_DSYMUTIL"; then
5883 { $as_echo "$as_me:$LINENO: result
: $ac_ct_DSYMUTIL" >&5
5884 $as_echo "$ac_ct_DSYMUTIL" >&6; }
5886 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5887 $as_echo "no
" >&6; }
5890 if test "x
$ac_ct_DSYMUTIL" = x; then
5893 case $cross_compiling:$ac_tool_warned in
5895 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5896 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5897 ac_tool_warned=yes ;;
5899 DSYMUTIL=$ac_ct_DSYMUTIL
5902 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
5905 if test -n "$ac_tool_prefix"; then
5906 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
5907 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
5908 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5909 $as_echo_n "checking
for $ac_word...
" >&6; }
5910 if test "${ac_cv_prog_NMEDIT+set}" = set; then
5911 $as_echo_n "(cached
) " >&6
5913 if test -n "$NMEDIT"; then
5914 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
5916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5920 test -z "$as_dir" && as_dir=.
5921 for ac_exec_ext in '' $ac_executable_extensions; do
5922 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5923 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
5924 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5933 NMEDIT=$ac_cv_prog_NMEDIT
5934 if test -n "$NMEDIT"; then
5935 { $as_echo "$as_me:$LINENO: result
: $NMEDIT" >&5
5936 $as_echo "$NMEDIT" >&6; }
5938 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5939 $as_echo "no
" >&6; }
5944 if test -z "$ac_cv_prog_NMEDIT"; then
5945 ac_ct_NMEDIT=$NMEDIT
5946 # Extract the first word of "nmedit
", so it can be a program name with args.
5947 set dummy nmedit; ac_word=$2
5948 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5949 $as_echo_n "checking
for $ac_word...
" >&6; }
5950 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
5951 $as_echo_n "(cached
) " >&6
5953 if test -n "$ac_ct_NMEDIT"; then
5954 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
5956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5960 test -z "$as_dir" && as_dir=.
5961 for ac_exec_ext in '' $ac_executable_extensions; do
5962 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5963 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
5964 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5973 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
5974 if test -n "$ac_ct_NMEDIT"; then
5975 { $as_echo "$as_me:$LINENO: result
: $ac_ct_NMEDIT" >&5
5976 $as_echo "$ac_ct_NMEDIT" >&6; }
5978 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5979 $as_echo "no
" >&6; }
5982 if test "x
$ac_ct_NMEDIT" = x; then
5985 case $cross_compiling:$ac_tool_warned in
5987 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5988 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5989 ac_tool_warned=yes ;;
5991 NMEDIT=$ac_ct_NMEDIT
5994 NMEDIT="$ac_cv_prog_NMEDIT"
5997 if test -n "$ac_tool_prefix"; then
5998 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
5999 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6000 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6001 $as_echo_n "checking
for $ac_word...
" >&6; }
6002 if test "${ac_cv_prog_LIPO+set}" = set; then
6003 $as_echo_n "(cached
) " >&6
6005 if test -n "$LIPO"; then
6006 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6012 test -z "$as_dir" && as_dir=.
6013 for ac_exec_ext in '' $ac_executable_extensions; do
6014 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6015 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
6016 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6025 LIPO=$ac_cv_prog_LIPO
6026 if test -n "$LIPO"; then
6027 { $as_echo "$as_me:$LINENO: result
: $LIPO" >&5
6028 $as_echo "$LIPO" >&6; }
6030 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6031 $as_echo "no
" >&6; }
6036 if test -z "$ac_cv_prog_LIPO"; then
6038 # Extract the first word of "lipo
", so it can be a program name with args.
6039 set dummy lipo; ac_word=$2
6040 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6041 $as_echo_n "checking
for $ac_word...
" >&6; }
6042 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
6043 $as_echo_n "(cached
) " >&6
6045 if test -n "$ac_ct_LIPO"; then
6046 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6052 test -z "$as_dir" && as_dir=.
6053 for ac_exec_ext in '' $ac_executable_extensions; do
6054 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6055 ac_cv_prog_ac_ct_LIPO="lipo
"
6056 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6065 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6066 if test -n "$ac_ct_LIPO"; then
6067 { $as_echo "$as_me:$LINENO: result
: $ac_ct_LIPO" >&5
6068 $as_echo "$ac_ct_LIPO" >&6; }
6070 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6071 $as_echo "no
" >&6; }
6074 if test "x
$ac_ct_LIPO" = x; then
6077 case $cross_compiling:$ac_tool_warned in
6079 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6080 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6081 ac_tool_warned=yes ;;
6086 LIPO="$ac_cv_prog_LIPO"
6089 if test -n "$ac_tool_prefix"; then
6090 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
6091 set dummy ${ac_tool_prefix}otool; ac_word=$2
6092 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6093 $as_echo_n "checking
for $ac_word...
" >&6; }
6094 if test "${ac_cv_prog_OTOOL+set}" = set; then
6095 $as_echo_n "(cached
) " >&6
6097 if test -n "$OTOOL"; then
6098 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6104 test -z "$as_dir" && as_dir=.
6105 for ac_exec_ext in '' $ac_executable_extensions; do
6106 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6107 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
6108 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6117 OTOOL=$ac_cv_prog_OTOOL
6118 if test -n "$OTOOL"; then
6119 { $as_echo "$as_me:$LINENO: result
: $OTOOL" >&5
6120 $as_echo "$OTOOL" >&6; }
6122 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6123 $as_echo "no
" >&6; }
6128 if test -z "$ac_cv_prog_OTOOL"; then
6130 # Extract the first word of "otool
", so it can be a program name with args.
6131 set dummy otool; ac_word=$2
6132 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6133 $as_echo_n "checking
for $ac_word...
" >&6; }
6134 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
6135 $as_echo_n "(cached
) " >&6
6137 if test -n "$ac_ct_OTOOL"; then
6138 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6144 test -z "$as_dir" && as_dir=.
6145 for ac_exec_ext in '' $ac_executable_extensions; do
6146 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6147 ac_cv_prog_ac_ct_OTOOL="otool
"
6148 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6157 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6158 if test -n "$ac_ct_OTOOL"; then
6159 { $as_echo "$as_me:$LINENO: result
: $ac_ct_OTOOL" >&5
6160 $as_echo "$ac_ct_OTOOL" >&6; }
6162 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6163 $as_echo "no
" >&6; }
6166 if test "x
$ac_ct_OTOOL" = x; then
6169 case $cross_compiling:$ac_tool_warned in
6171 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6172 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6173 ac_tool_warned=yes ;;
6178 OTOOL="$ac_cv_prog_OTOOL"
6181 if test -n "$ac_tool_prefix"; then
6182 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
6183 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6184 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6185 $as_echo_n "checking
for $ac_word...
" >&6; }
6186 if test "${ac_cv_prog_OTOOL64+set}" = set; then
6187 $as_echo_n "(cached
) " >&6
6189 if test -n "$OTOOL64"; then
6190 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6196 test -z "$as_dir" && as_dir=.
6197 for ac_exec_ext in '' $ac_executable_extensions; do
6198 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6199 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
6200 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6209 OTOOL64=$ac_cv_prog_OTOOL64
6210 if test -n "$OTOOL64"; then
6211 { $as_echo "$as_me:$LINENO: result
: $OTOOL64" >&5
6212 $as_echo "$OTOOL64" >&6; }
6214 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6215 $as_echo "no
" >&6; }
6220 if test -z "$ac_cv_prog_OTOOL64"; then
6221 ac_ct_OTOOL64=$OTOOL64
6222 # Extract the first word of "otool64
", so it can be a program name with args.
6223 set dummy otool64; ac_word=$2
6224 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6225 $as_echo_n "checking
for $ac_word...
" >&6; }
6226 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
6227 $as_echo_n "(cached
) " >&6
6229 if test -n "$ac_ct_OTOOL64"; then
6230 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6236 test -z "$as_dir" && as_dir=.
6237 for ac_exec_ext in '' $ac_executable_extensions; do
6238 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6239 ac_cv_prog_ac_ct_OTOOL64="otool64
"
6240 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6249 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6250 if test -n "$ac_ct_OTOOL64"; then
6251 { $as_echo "$as_me:$LINENO: result
: $ac_ct_OTOOL64" >&5
6252 $as_echo "$ac_ct_OTOOL64" >&6; }
6254 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6255 $as_echo "no
" >&6; }
6258 if test "x
$ac_ct_OTOOL64" = x; then
6261 case $cross_compiling:$ac_tool_warned in
6263 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6264 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6265 ac_tool_warned=yes ;;
6267 OTOOL64=$ac_ct_OTOOL64
6270 OTOOL64="$ac_cv_prog_OTOOL64"
6299 { $as_echo "$as_me:$LINENO: checking
for -single_module linker flag
" >&5
6300 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
6301 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
6302 $as_echo_n "(cached
) " >&6
6304 lt_cv_apple_cc_single_mod=no
6305 if test -z "${LT_MULTI_MODULE}"; then
6306 # By default we will add the -single_module flag. You can override
6307 # by either setting the environment variable LT_MULTI_MODULE
6308 # non-empty at configure time, or by adding -multi_module to the
6310 rm -rf libconftest.dylib*
6311 echo "int foo
(void
){return 1;}" > conftest.c
6312 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6313 -dynamiclib -Wl,-single_module conftest.c
" >&5
6314 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6315 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6317 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6318 lt_cv_apple_cc_single_mod=yes
6320 cat conftest.err >&5
6322 rm -rf libconftest.dylib*
6326 { $as_echo "$as_me:$LINENO: result
: $lt_cv_apple_cc_single_mod" >&5
6327 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6328 { $as_echo "$as_me:$LINENO: checking
for -exported_symbols_list linker flag
" >&5
6329 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
6330 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
6331 $as_echo_n "(cached
) " >&6
6333 lt_cv_ld_exported_symbols_list=no
6334 save_LDFLAGS=$LDFLAGS
6335 echo "_main
" > conftest.sym
6336 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
6337 cat >conftest.$ac_ext <<_ACEOF
6340 cat confdefs.h >>conftest.$ac_ext
6341 cat >>conftest.$ac_ext <<_ACEOF
6342 /* end confdefs.h. */
6352 rm -f conftest.$ac_objext conftest$ac_exeext
6353 if { (ac_try="$ac_link"
6355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6356 *) ac_try_echo=$ac_try;;
6358 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6359 $as_echo "$ac_try_echo") >&5
6360 (eval "$ac_link") 2>conftest.er1
6362 grep -v '^ *+' conftest.er1 >conftest.err
6364 cat conftest.err >&5
6365 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6366 (exit $ac_status); } && {
6367 test -z "$ac_c_werror_flag" ||
6368 test ! -s conftest.err
6369 } && test -s conftest$ac_exeext && {
6370 test "$cross_compiling" = yes ||
6371 $as_test_x conftest$ac_exeext
6373 lt_cv_ld_exported_symbols_list=yes
6375 $as_echo "$as_me: failed program was
:" >&5
6376 sed 's/^/| /' conftest.$ac_ext >&5
6378 lt_cv_ld_exported_symbols_list=no
6381 rm -rf conftest.dSYM
6382 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6383 conftest$ac_exeext conftest.$ac_ext
6384 LDFLAGS="$save_LDFLAGS"
6387 { $as_echo "$as_me:$LINENO: result
: $lt_cv_ld_exported_symbols_list" >&5
6388 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6390 rhapsody* | darwin1.[012])
6391 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6393 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6394 darwin*) # darwin 5.x on
6395 # if running on 10.5 or later, the deployment target defaults
6396 # to the OS version, if on x86, and 10.4, the deployment
6397 # target defaults to 10.4. Don't you love it?
6398 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6399 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6400 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6402 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6404 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6408 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6409 _lt_dar_single_mod='$single_module'
6411 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6412 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6414 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6416 if test "$DSYMUTIL" != ":"; then
6417 _lt_dsymutil='~$DSYMUTIL $lib || :'
6425 ac_cpp='$CPP $CPPFLAGS'
6426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6429 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
6430 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
6431 # On Suns, sometimes $CPP names a directory.
6432 if test -n "$CPP" && test -d "$CPP"; then
6435 if test -z "$CPP"; then
6436 if test "${ac_cv_prog_CPP+set}" = set; then
6437 $as_echo_n "(cached
) " >&6
6439 # Double quotes because CPP needs to be expanded
6440 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
6443 for ac_c_preproc_warn_flag in '' yes
6445 # Use a header file that comes with gcc, so configuring glibc
6446 # with a fresh cross-compiler works.
6447 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6448 # <limits.h> exists even on freestanding compilers.
6449 # On the NeXT, cc -E runs the code through the compiler's parser,
6450 # not just through cpp. "Syntax error
" is here to catch this case.
6451 cat >conftest.$ac_ext <<_ACEOF
6454 cat confdefs.h >>conftest.$ac_ext
6455 cat >>conftest.$ac_ext <<_ACEOF
6456 /* end confdefs.h. */
6458 # include <limits.h>
6460 # include <assert.h>
6464 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6467 *) ac_try_echo=$ac_try;;
6469 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6470 $as_echo "$ac_try_echo") >&5
6471 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
6473 grep -v '^ *+' conftest.er1 >conftest.err
6475 cat conftest.err >&5
6476 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6477 (exit $ac_status); } >/dev/null && {
6478 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6479 test ! -s conftest.err
6483 $as_echo "$as_me: failed program was
:" >&5
6484 sed 's/^/| /' conftest.$ac_ext >&5
6486 # Broken: fails on valid input.
6490 rm -f conftest.err conftest.$ac_ext
6492 # OK, works on sane cases. Now check whether nonexistent headers
6493 # can be detected and how.
6494 cat >conftest.$ac_ext <<_ACEOF
6497 cat confdefs.h >>conftest.$ac_ext
6498 cat >>conftest.$ac_ext <<_ACEOF
6499 /* end confdefs.h. */
6500 #include <ac_nonexistent.h>
6502 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6505 *) ac_try_echo=$ac_try;;
6507 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6508 $as_echo "$ac_try_echo") >&5
6509 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
6511 grep -v '^ *+' conftest.er1 >conftest.err
6513 cat conftest.err >&5
6514 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6515 (exit $ac_status); } >/dev/null && {
6516 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6517 test ! -s conftest.err
6519 # Broken: success on invalid input.
6522 $as_echo "$as_me: failed program was
:" >&5
6523 sed 's/^/| /' conftest.$ac_ext >&5
6525 # Passes both tests.
6530 rm -f conftest.err conftest.$ac_ext
6533 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6534 rm -f conftest.err conftest.$ac_ext
6535 if $ac_preproc_ok; then
6547 { $as_echo "$as_me:$LINENO: result
: $CPP" >&5
6548 $as_echo "$CPP" >&6; }
6550 for ac_c_preproc_warn_flag in '' yes
6552 # Use a header file that comes with gcc, so configuring glibc
6553 # with a fresh cross-compiler works.
6554 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6555 # <limits.h> exists even on freestanding compilers.
6556 # On the NeXT, cc -E runs the code through the compiler's parser,
6557 # not just through cpp. "Syntax error
" is here to catch this case.
6558 cat >conftest.$ac_ext <<_ACEOF
6561 cat confdefs.h >>conftest.$ac_ext
6562 cat >>conftest.$ac_ext <<_ACEOF
6563 /* end confdefs.h. */
6565 # include <limits.h>
6567 # include <assert.h>
6571 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6574 *) ac_try_echo=$ac_try;;
6576 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6577 $as_echo "$ac_try_echo") >&5
6578 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
6580 grep -v '^ *+' conftest.er1 >conftest.err
6582 cat conftest.err >&5
6583 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6584 (exit $ac_status); } >/dev/null && {
6585 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6586 test ! -s conftest.err
6590 $as_echo "$as_me: failed program was
:" >&5
6591 sed 's/^/| /' conftest.$ac_ext >&5
6593 # Broken: fails on valid input.
6597 rm -f conftest.err conftest.$ac_ext
6599 # OK, works on sane cases. Now check whether nonexistent headers
6600 # can be detected and how.
6601 cat >conftest.$ac_ext <<_ACEOF
6604 cat confdefs.h >>conftest.$ac_ext
6605 cat >>conftest.$ac_ext <<_ACEOF
6606 /* end confdefs.h. */
6607 #include <ac_nonexistent.h>
6609 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6612 *) ac_try_echo=$ac_try;;
6614 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6615 $as_echo "$ac_try_echo") >&5
6616 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
6618 grep -v '^ *+' conftest.er1 >conftest.err
6620 cat conftest.err >&5
6621 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6622 (exit $ac_status); } >/dev/null && {
6623 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6624 test ! -s conftest.err
6626 # Broken: success on invalid input.
6629 $as_echo "$as_me: failed program was
:" >&5
6630 sed 's/^/| /' conftest.$ac_ext >&5
6632 # Passes both tests.
6637 rm -f conftest.err conftest.$ac_ext
6640 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6641 rm -f conftest.err conftest.$ac_ext
6642 if $ac_preproc_ok; then
6645 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
6646 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6647 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6648 See \`config.log' for more details.
" >&5
6649 $as_echo "$as_me: error
: C preprocessor
\"$CPP\" fails sanity check
6650 See \
`config.log' for more details." >&2;}
6651 { (exit 1); exit 1; }; }; }
6655 ac_cpp='$CPP $CPPFLAGS'
6656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6661 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6662 $as_echo_n "checking for ANSI C header files... " >&6; }
6663 if test "${ac_cv_header_stdc+set}" = set; then
6664 $as_echo_n "(cached) " >&6
6666 cat >conftest.$ac_ext <<_ACEOF
6669 cat confdefs.h >>conftest.$ac_ext
6670 cat >>conftest.$ac_ext <<_ACEOF
6671 /* end confdefs.h. */
6685 rm -f conftest.$ac_objext
6686 if { (ac_try="$ac_compile"
6688 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6689 *) ac_try_echo
=$ac_try;;
6691 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6692 $as_echo "$ac_try_echo") >&5
6693 (eval "$ac_compile") 2>conftest.er1
6695 grep -v '^ *+' conftest.er1
>conftest.err
6697 cat conftest.err
>&5
6698 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6699 (exit $ac_status); } && {
6700 test -z "$ac_c_werror_flag" ||
6701 test ! -s conftest.err
6702 } && test -s conftest.
$ac_objext; then
6703 ac_cv_header_stdc
=yes
6705 $as_echo "$as_me: failed program was:" >&5
6706 sed 's/^/| /' conftest.
$ac_ext >&5
6708 ac_cv_header_stdc
=no
6711 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6713 if test $ac_cv_header_stdc = yes; then
6714 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6715 cat >conftest.
$ac_ext <<_ACEOF
6718 cat confdefs.h
>>conftest.
$ac_ext
6719 cat >>conftest.
$ac_ext <<_ACEOF
6720 /* end confdefs.h. */
6724 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6725 $EGREP "memchr" >/dev
/null
2>&1; then
6728 ac_cv_header_stdc
=no
6734 if test $ac_cv_header_stdc = yes; then
6735 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6736 cat >conftest.
$ac_ext <<_ACEOF
6739 cat confdefs.h
>>conftest.
$ac_ext
6740 cat >>conftest.
$ac_ext <<_ACEOF
6741 /* end confdefs.h. */
6745 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6746 $EGREP "free" >/dev
/null
2>&1; then
6749 ac_cv_header_stdc
=no
6755 if test $ac_cv_header_stdc = yes; then
6756 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6757 if test "$cross_compiling" = yes; then
6760 cat >conftest.
$ac_ext <<_ACEOF
6763 cat confdefs.h
>>conftest.
$ac_ext
6764 cat >>conftest.
$ac_ext <<_ACEOF
6765 /* end confdefs.h. */
6768 #if ((' ' & 0x0FF) == 0x020)
6769 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6770 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6772 # define ISLOWER(c) \
6773 (('a' <= (c) && (c) <= 'i') \
6774 || ('j' <= (c) && (c) <= 'r') \
6775 || ('s' <= (c) && (c) <= 'z'))
6776 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6779 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6784 for (i = 0; i < 256; i++)
6785 if (XOR (islower (i), ISLOWER (i))
6786 || toupper (i) != TOUPPER (i))
6791 rm -f conftest
$ac_exeext
6792 if { (ac_try
="$ac_link"
6794 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6795 *) ac_try_echo=$ac_try;;
6797 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6798 $as_echo "$ac_try_echo") >&5
6799 (eval "$ac_link") 2>&5
6801 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6802 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6803 { (case "(($ac_try" in
6804 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6805 *) ac_try_echo
=$ac_try;;
6807 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6808 $as_echo "$ac_try_echo") >&5
6809 (eval "$ac_try") 2>&5
6811 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6812 (exit $ac_status); }; }; then
6815 $as_echo "$as_me: program exited with status $ac_status" >&5
6816 $as_echo "$as_me: failed program was:" >&5
6817 sed 's/^/| /' conftest.
$ac_ext >&5
6820 ac_cv_header_stdc
=no
6822 rm -rf conftest.dSYM
6823 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6829 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6830 $as_echo "$ac_cv_header_stdc" >&6; }
6831 if test $ac_cv_header_stdc = yes; then
6833 cat >>confdefs.h
<<\_ACEOF
6834 #define STDC_HEADERS 1
6839 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6849 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6850 inttypes.h stdint.h unistd.h
6852 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6853 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6854 $as_echo_n "checking for $ac_header... " >&6; }
6855 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6856 $as_echo_n "(cached) " >&6
6858 cat >conftest.
$ac_ext <<_ACEOF
6861 cat confdefs.h
>>conftest.
$ac_ext
6862 cat >>conftest.
$ac_ext <<_ACEOF
6863 /* end confdefs.h. */
6864 $ac_includes_default
6866 #include <$ac_header>
6868 rm -f conftest.
$ac_objext
6869 if { (ac_try
="$ac_compile"
6871 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6872 *) ac_try_echo=$ac_try;;
6874 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6875 $as_echo "$ac_try_echo") >&5
6876 (eval "$ac_compile") 2>conftest.er1
6878 grep -v '^ *+' conftest.er1 >conftest.err
6880 cat conftest.err >&5
6881 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6882 (exit $ac_status); } && {
6883 test -z "$ac_c_werror_flag" ||
6884 test ! -s conftest.err
6885 } && test -s conftest.$ac_objext; then
6886 eval "$as_ac_Header=yes"
6888 $as_echo "$as_me: failed program was:" >&5
6889 sed 's/^/| /' conftest.$ac_ext >&5
6891 eval "$as_ac_Header=no"
6894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6896 ac_res=`eval 'as_val=${'$as_ac_Header'}
6897 $as_echo "$as_val"'`
6898 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6899 $as_echo "$ac_res" >&6; }
6900 as_val=`eval 'as_val=${'$as_ac_Header'}
6901 $as_echo "$as_val"'`
6902 if test "x$as_val" = x""yes; then
6903 cat >>confdefs.h <<_ACEOF
6904 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
6913 for ac_header in dlfcn.h
6915 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
6916 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6917 $as_echo_n "checking for $ac_header... " >&6; }
6918 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6919 $as_echo_n "(cached) " >&6
6921 cat >conftest.$ac_ext <<_ACEOF
6924 cat confdefs.h >>conftest.$ac_ext
6925 cat >>conftest.$ac_ext <<_ACEOF
6926 /* end confdefs.h. */
6927 $ac_includes_default
6929 #include <$ac_header>
6931 rm -f conftest.$ac_objext
6932 if { (ac_try="$ac_compile"
6934 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6935 *) ac_try_echo
=$ac_try;;
6937 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6938 $as_echo "$ac_try_echo") >&5
6939 (eval "$ac_compile") 2>conftest.er1
6941 grep -v '^ *+' conftest.er1
>conftest.err
6943 cat conftest.err
>&5
6944 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6945 (exit $ac_status); } && {
6946 test -z "$ac_c_werror_flag" ||
6947 test ! -s conftest.err
6948 } && test -s conftest.
$ac_objext; then
6949 eval "$as_ac_Header=yes"
6951 $as_echo "$as_me: failed program was:" >&5
6952 sed 's/^/| /' conftest.
$ac_ext >&5
6954 eval "$as_ac_Header=no"
6957 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6959 ac_res
=`eval 'as_val=${'$as_ac_Header'}
6960 $as_echo "$as_val"'`
6961 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6962 $as_echo "$ac_res" >&6; }
6963 as_val
=`eval 'as_val=${'$as_ac_Header'}
6964 $as_echo "$as_val"'`
6965 if test "x$as_val" = x
""yes; then
6966 cat >>confdefs.h
<<_ACEOF
6967 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6978 enable_win32_dll
=yes
6981 *-*-cygwin* |
*-*-mingw* |
*-*-pw32* |
*-cegcc*)
6982 if test -n "$ac_tool_prefix"; then
6983 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
6984 set dummy
${ac_tool_prefix}as
; ac_word
=$2
6985 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6986 $as_echo_n "checking for $ac_word... " >&6; }
6987 if test "${ac_cv_prog_AS+set}" = set; then
6988 $as_echo_n "(cached) " >&6
6990 if test -n "$AS"; then
6991 ac_cv_prog_AS
="$AS" # Let the user override the test.
6993 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6997 test -z "$as_dir" && as_dir
=.
6998 for ac_exec_ext
in '' $ac_executable_extensions; do
6999 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7000 ac_cv_prog_AS
="${ac_tool_prefix}as"
7001 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7011 if test -n "$AS"; then
7012 { $as_echo "$as_me:$LINENO: result: $AS" >&5
7013 $as_echo "$AS" >&6; }
7015 { $as_echo "$as_me:$LINENO: result: no" >&5
7016 $as_echo "no" >&6; }
7021 if test -z "$ac_cv_prog_AS"; then
7023 # Extract the first word of "as", so it can be a program name with args.
7024 set dummy as
; ac_word
=$2
7025 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7026 $as_echo_n "checking for $ac_word... " >&6; }
7027 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
7028 $as_echo_n "(cached) " >&6
7030 if test -n "$ac_ct_AS"; then
7031 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
7033 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7037 test -z "$as_dir" && as_dir
=.
7038 for ac_exec_ext
in '' $ac_executable_extensions; do
7039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7040 ac_cv_prog_ac_ct_AS
="as"
7041 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7050 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
7051 if test -n "$ac_ct_AS"; then
7052 { $as_echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
7053 $as_echo "$ac_ct_AS" >&6; }
7055 { $as_echo "$as_me:$LINENO: result: no" >&5
7056 $as_echo "no" >&6; }
7059 if test "x$ac_ct_AS" = x
; then
7062 case $cross_compiling:$ac_tool_warned in
7064 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7065 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7066 ac_tool_warned
=yes ;;
7074 if test -n "$ac_tool_prefix"; then
7075 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7076 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7077 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7078 $as_echo_n "checking for $ac_word... " >&6; }
7079 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
7080 $as_echo_n "(cached) " >&6
7082 if test -n "$DLLTOOL"; then
7083 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7085 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7089 test -z "$as_dir" && as_dir
=.
7090 for ac_exec_ext
in '' $ac_executable_extensions; do
7091 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7092 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7093 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7102 DLLTOOL
=$ac_cv_prog_DLLTOOL
7103 if test -n "$DLLTOOL"; then
7104 { $as_echo "$as_me:$LINENO: result: $DLLTOOL" >&5
7105 $as_echo "$DLLTOOL" >&6; }
7107 { $as_echo "$as_me:$LINENO: result: no" >&5
7108 $as_echo "no" >&6; }
7113 if test -z "$ac_cv_prog_DLLTOOL"; then
7114 ac_ct_DLLTOOL
=$DLLTOOL
7115 # Extract the first word of "dlltool", so it can be a program name with args.
7116 set dummy dlltool
; ac_word
=$2
7117 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7118 $as_echo_n "checking for $ac_word... " >&6; }
7119 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
7120 $as_echo_n "(cached) " >&6
7122 if test -n "$ac_ct_DLLTOOL"; then
7123 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7125 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7129 test -z "$as_dir" && as_dir
=.
7130 for ac_exec_ext
in '' $ac_executable_extensions; do
7131 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7132 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7133 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7142 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7143 if test -n "$ac_ct_DLLTOOL"; then
7144 { $as_echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
7145 $as_echo "$ac_ct_DLLTOOL" >&6; }
7147 { $as_echo "$as_me:$LINENO: result: no" >&5
7148 $as_echo "no" >&6; }
7151 if test "x$ac_ct_DLLTOOL" = x
; then
7154 case $cross_compiling:$ac_tool_warned in
7156 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7157 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7158 ac_tool_warned
=yes ;;
7160 DLLTOOL
=$ac_ct_DLLTOOL
7163 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7166 if test -n "$ac_tool_prefix"; then
7167 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7168 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
7169 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7170 $as_echo_n "checking for $ac_word... " >&6; }
7171 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
7172 $as_echo_n "(cached) " >&6
7174 if test -n "$OBJDUMP"; then
7175 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
7177 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7181 test -z "$as_dir" && as_dir
=.
7182 for ac_exec_ext
in '' $ac_executable_extensions; do
7183 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7184 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
7185 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7194 OBJDUMP
=$ac_cv_prog_OBJDUMP
7195 if test -n "$OBJDUMP"; then
7196 { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
7197 $as_echo "$OBJDUMP" >&6; }
7199 { $as_echo "$as_me:$LINENO: result: no" >&5
7200 $as_echo "no" >&6; }
7205 if test -z "$ac_cv_prog_OBJDUMP"; then
7206 ac_ct_OBJDUMP
=$OBJDUMP
7207 # Extract the first word of "objdump", so it can be a program name with args.
7208 set dummy objdump
; ac_word
=$2
7209 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7210 $as_echo_n "checking for $ac_word... " >&6; }
7211 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
7212 $as_echo_n "(cached) " >&6
7214 if test -n "$ac_ct_OBJDUMP"; then
7215 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
7217 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7221 test -z "$as_dir" && as_dir
=.
7222 for ac_exec_ext
in '' $ac_executable_extensions; do
7223 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7224 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
7225 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7234 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
7235 if test -n "$ac_ct_OBJDUMP"; then
7236 { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
7237 $as_echo "$ac_ct_OBJDUMP" >&6; }
7239 { $as_echo "$as_me:$LINENO: result: no" >&5
7240 $as_echo "no" >&6; }
7243 if test "x$ac_ct_OBJDUMP" = x
; then
7246 case $cross_compiling:$ac_tool_warned in
7248 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7249 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7250 ac_tool_warned
=yes ;;
7252 OBJDUMP
=$ac_ct_OBJDUMP
7255 OBJDUMP
="$ac_cv_prog_OBJDUMP"
7261 test -z "$AS" && AS
=as
7267 test -z "$DLLTOOL" && DLLTOOL
=dlltool
7273 test -z "$OBJDUMP" && OBJDUMP
=objdump
7283 # Check whether --enable-shared was given.
7284 if test "${enable_shared+set}" = set; then
7285 enableval
=$enable_shared; p
=${PACKAGE-default}
7287 yes) enable_shared
=yes ;;
7288 no
) enable_shared
=no
;;
7291 # Look at the argument we got. We use all the common list separators.
7292 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7293 for pkg
in $enableval; do
7295 if test "X$pkg" = "X$p"; then
7314 # Check whether --enable-static was given.
7315 if test "${enable_static+set}" = set; then
7316 enableval
=$enable_static; p
=${PACKAGE-default}
7318 yes) enable_static
=yes ;;
7319 no
) enable_static
=no
;;
7322 # Look at the argument we got. We use all the common list separators.
7323 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7324 for pkg
in $enableval; do
7326 if test "X$pkg" = "X$p"; then
7346 # Check whether --with-pic was given.
7347 if test "${with_pic+set}" = set; then
7348 withval
=$with_pic; pic_mode
="$withval"
7354 test -z "$pic_mode" && pic_mode
=default
7362 # Check whether --enable-fast-install was given.
7363 if test "${enable_fast_install+set}" = set; then
7364 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7366 yes) enable_fast_install
=yes ;;
7367 no
) enable_fast_install
=no
;;
7369 enable_fast_install
=no
7370 # Look at the argument we got. We use all the common list separators.
7371 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7372 for pkg
in $enableval; do
7374 if test "X$pkg" = "X$p"; then
7375 enable_fast_install
=yes
7382 enable_fast_install
=yes
7395 # This can be used to rebuild libtool when needed
7396 LIBTOOL_DEPS
="$ltmain"
7398 # Always use our own libtool.
7399 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7425 test -z "$LN_S" && LN_S
="ln -s"
7440 if test -n "${ZSH_VERSION+set}" ; then
7441 setopt NO_GLOB_SUBST
7444 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
7445 $as_echo_n "checking for objdir... " >&6; }
7446 if test "${lt_cv_objdir+set}" = set; then
7447 $as_echo_n "(cached) " >&6
7449 rm -f .libs
2>/dev
/null
7450 mkdir .libs
2>/dev
/null
7451 if test -d .libs
; then
7454 # MS-DOS does not allow filenames that begin with a dot.
7457 rmdir .libs
2>/dev
/null
7459 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7460 $as_echo "$lt_cv_objdir" >&6; }
7461 objdir
=$lt_cv_objdir
7467 cat >>confdefs.h
<<_ACEOF
7468 #define LT_OBJDIR "$lt_cv_objdir/"
7489 # AIX sometimes has problems with the GCC collect2 program. For some
7490 # reason, if we set the COLLECT_NAMES environment variable, the problems
7491 # vanish in a puff of smoke.
7492 if test "X${COLLECT_NAMES+set}" != Xset
; then
7494 export COLLECT_NAMES
7499 # Sed substitution that helps us do robust quoting. It backslashifies
7500 # metacharacters that are still active within double-quoted strings.
7501 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
7503 # Same as above, but do not quote variable references.
7504 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
7506 # Sed substitution to delay expansion of an escaped shell variable in a
7507 # double_quote_subst'ed string.
7508 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
7510 # Sed substitution to delay expansion of an escaped single quote.
7511 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
7513 # Sed substitution to avoid accidental globbing in evaled expressions
7514 no_glob_subst
='s/\*/\\\*/g'
7518 can_build_shared
=yes
7520 # All known linkers require a `.a' archive for static linking (except MSVC,
7521 # which needs '.lib').
7524 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7527 old_CFLAGS
="$CFLAGS"
7529 # Set sane defaults for various variables
7530 test -z "$CC" && CC
=cc
7531 test -z "$LTCC" && LTCC
=$CC
7532 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7533 test -z "$LD" && LD
=ld
7534 test -z "$ac_objext" && ac_objext
=o
7536 for cc_temp
in $compiler""; do
7538 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7539 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7544 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7547 # Only perform the check for file, if the check method requires it
7548 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7549 case $deplibs_check_method in
7551 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7552 { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7553 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7554 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7555 $as_echo_n "(cached) " >&6
7559 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7562 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7563 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7564 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7565 for ac_dir
in $ac_dummy; do
7567 test -z "$ac_dir" && ac_dir
=.
7568 if test -f $ac_dir/${ac_tool_prefix}file; then
7569 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7570 if test -n "$file_magic_test_file"; then
7571 case $deplibs_check_method in
7573 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7574 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7575 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7576 $EGREP "$file_magic_regex" > /dev
/null
; then
7581 *** Warning: the command libtool uses to detect shared libraries,
7582 *** $file_magic_cmd, produces output that libtool cannot recognize.
7583 *** The result is that libtool may fail to recognize shared libraries
7584 *** as such. This will affect the creation of libtool libraries that
7585 *** depend on shared libraries, but programs linked with such libtool
7586 *** libraries will work regardless of this problem. Nevertheless, you
7587 *** may want to report the problem to your system manager and/or to
7588 *** bug-libtool@gnu.org
7598 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7603 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7604 if test -n "$MAGIC_CMD"; then
7605 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7606 $as_echo "$MAGIC_CMD" >&6; }
7608 { $as_echo "$as_me:$LINENO: result: no" >&5
7609 $as_echo "no" >&6; }
7616 if test -z "$lt_cv_path_MAGIC_CMD"; then
7617 if test -n "$ac_tool_prefix"; then
7618 { $as_echo "$as_me:$LINENO: checking for file" >&5
7619 $as_echo_n "checking for file... " >&6; }
7620 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7621 $as_echo_n "(cached) " >&6
7625 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7628 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7629 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7630 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7631 for ac_dir
in $ac_dummy; do
7633 test -z "$ac_dir" && ac_dir
=.
7634 if test -f $ac_dir/file; then
7635 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7636 if test -n "$file_magic_test_file"; then
7637 case $deplibs_check_method in
7639 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7640 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7641 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7642 $EGREP "$file_magic_regex" > /dev
/null
; then
7647 *** Warning: the command libtool uses to detect shared libraries,
7648 *** $file_magic_cmd, produces output that libtool cannot recognize.
7649 *** The result is that libtool may fail to recognize shared libraries
7650 *** as such. This will affect the creation of libtool libraries that
7651 *** depend on shared libraries, but programs linked with such libtool
7652 *** libraries will work regardless of this problem. Nevertheless, you
7653 *** may want to report the problem to your system manager and/or to
7654 *** bug-libtool@gnu.org
7664 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7669 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7670 if test -n "$MAGIC_CMD"; then
7671 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7672 $as_echo "$MAGIC_CMD" >&6; }
7674 { $as_echo "$as_me:$LINENO: result: no" >&5
7675 $as_echo "no" >&6; }
7688 # Use C for the default configuration in the libtool script
7692 ac_cpp
='$CPP $CPPFLAGS'
7693 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7694 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7695 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7698 # Source file extension for C test sources.
7701 # Object file extension for compiled C test sources.
7705 # Code to be used in simple compile tests
7706 lt_simple_compile_test_code
="int some_variable = 0;"
7708 # Code to be used in simple link tests
7709 lt_simple_link_test_code
='int main(){return(0);}'
7717 # If no C compiler was specified, use CC.
7720 # If no C compiler flags were specified, use CFLAGS.
7721 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7723 # Allow CC to be a program name with arguments.
7726 # Save the default compiler, since it gets overwritten when the other
7727 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7728 compiler_DEFAULT
=$CC
7730 # save warnings/boilerplate of simple test code
7731 ac_outfile
=conftest.
$ac_objext
7732 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7733 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7734 _lt_compiler_boilerplate
=`cat conftest.err`
7737 ac_outfile
=conftest.
$ac_objext
7738 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7739 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7740 _lt_linker_boilerplate
=`cat conftest.err`
7745 ## There is no encapsulation within the following macros, do not change
7746 ## the running order or otherwise move them around unless you know exactly
7747 ## what you are doing...
7748 if test -n "$compiler"; then
7750 lt_prog_compiler_no_builtin_flag
=
7752 if test "$GCC" = yes; then
7753 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
7755 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7756 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7757 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7758 $as_echo_n "(cached) " >&6
7760 lt_cv_prog_compiler_rtti_exceptions
=no
7761 ac_outfile
=conftest.
$ac_objext
7762 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7763 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7764 # Insert the option either (1) after the last *FLAGS variable, or
7765 # (2) before a word containing "conftest.", or (3) at the end.
7766 # Note that $ac_compile itself does not contain backslashes and begins
7767 # with a dollar sign (not a hyphen), so the echo should work correctly.
7768 # The option is referenced via a variable to avoid confusing sed.
7769 lt_compile
=`echo "$ac_compile" | $SED \
7770 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7771 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7772 -e 's:$: $lt_compiler_flag:'`
7773 (eval echo "\"\$as_me:7773: $lt_compile\"" >&5)
7774 (eval "$lt_compile" 2>conftest.err
)
7776 cat conftest.err
>&5
7777 echo "$as_me:7777: \$? = $ac_status" >&5
7778 if (exit $ac_status) && test -s "$ac_outfile"; then
7779 # The compiler can only warn and ignore the option if not recognized
7780 # So say no if there are warnings other than the usual output.
7781 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7782 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7783 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7784 lt_cv_prog_compiler_rtti_exceptions
=yes
7790 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7791 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7793 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7794 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7806 lt_prog_compiler_wl
=
7807 lt_prog_compiler_pic
=
7808 lt_prog_compiler_static
=
7810 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7811 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7813 if test "$GCC" = yes; then
7814 lt_prog_compiler_wl
='-Wl,'
7815 lt_prog_compiler_static
='-static'
7819 # All AIX code is PIC.
7820 if test "$host_cpu" = ia64
; then
7821 # AIX 5 now supports IA64 processor
7822 lt_prog_compiler_static
='-Bstatic'
7829 # see comment about AmigaOS4 .so support
7830 lt_prog_compiler_pic
='-fPIC'
7833 # FIXME: we need at least 68020 code to build shared libraries, but
7834 # adding the `-m68020' flag to GCC prevents building anything better,
7836 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7841 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7842 # PIC is the default for these OSes.
7845 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7846 # This hack is so that the source file can tell whether it is being
7847 # built for inclusion in a dll (and should export symbols for example).
7848 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7849 # (--disable-auto-import) libraries
7850 lt_prog_compiler_pic
='-DDLL_EXPORT'
7853 darwin
* | rhapsody
*)
7854 # PIC is the default on this platform
7855 # Common symbols not allowed in MH_DYLIB files
7856 lt_prog_compiler_pic
='-fno-common'
7860 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7861 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7862 # sets the default TLS model and affects inlining.
7868 lt_prog_compiler_pic
='-fPIC'
7874 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7875 # Instead, we relocate shared libraries at runtime.
7879 # Just because we use GCC doesn't mean we suddenly get shared libraries
7880 # on systems that don't support them.
7881 lt_prog_compiler_can_build_shared
=no
7886 # QNX uses GNU C++, but need to define -shared option too, otherwise
7888 lt_prog_compiler_pic
='-fPIC -shared'
7892 if test -d /usr
/nec
; then
7893 lt_prog_compiler_pic
=-Kconform_pic
7898 lt_prog_compiler_pic
='-fPIC'
7902 # PORTME Check for flag to pass linker flags through the system compiler.
7905 lt_prog_compiler_wl
='-Wl,'
7906 if test "$host_cpu" = ia64
; then
7907 # AIX 5 now supports IA64 processor
7908 lt_prog_compiler_static
='-Bstatic'
7910 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7914 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7915 # This hack is so that the source file can tell whether it is being
7916 # built for inclusion in a dll (and should export symbols for example).
7917 lt_prog_compiler_pic
='-DDLL_EXPORT'
7920 hpux9
* | hpux10
* | hpux11
*)
7921 lt_prog_compiler_wl
='-Wl,'
7922 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7929 lt_prog_compiler_pic
='+Z'
7932 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7933 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7936 irix5
* | irix6
* | nonstopux
*)
7937 lt_prog_compiler_wl
='-Wl,'
7938 # PIC (with -KPIC) is the default.
7939 lt_prog_compiler_static
='-non_shared'
7942 linux
* | k
*bsd
*-gnu)
7943 case $cc_basename in
7944 # old Intel for x86_64 which still supported -KPIC.
7946 lt_prog_compiler_wl
='-Wl,'
7947 lt_prog_compiler_pic
='-KPIC'
7948 lt_prog_compiler_static
='-static'
7950 # icc used to be incompatible with GCC.
7951 # ICC 10 doesn't accept -KPIC any more.
7953 lt_prog_compiler_wl
='-Wl,'
7954 lt_prog_compiler_pic
='-fPIC'
7955 lt_prog_compiler_static
='-static'
7957 # Lahey Fortran 8.1.
7959 lt_prog_compiler_wl
='-Wl,'
7960 lt_prog_compiler_pic
='--shared'
7961 lt_prog_compiler_static
='--static'
7963 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7964 # Portland Group compilers (*not* the Pentium gcc compiler,
7965 # which looks to be a dead project)
7966 lt_prog_compiler_wl
='-Wl,'
7967 lt_prog_compiler_pic
='-fpic'
7968 lt_prog_compiler_static
='-Bstatic'
7971 lt_prog_compiler_wl
='-Wl,'
7972 # All Alpha code is PIC.
7973 lt_prog_compiler_static
='-non_shared'
7976 # IBM XL C 8.0/Fortran 10.1 on PPC
7977 lt_prog_compiler_wl
='-Wl,'
7978 lt_prog_compiler_pic
='-qpic'
7979 lt_prog_compiler_static
='-qstaticlink'
7982 case `$CC -V 2>&1 | sed 5q` in
7985 lt_prog_compiler_pic
='-KPIC'
7986 lt_prog_compiler_static
='-Bstatic'
7987 lt_prog_compiler_wl
='-Wl,'
7990 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7991 lt_prog_compiler_pic
='-KPIC'
7992 lt_prog_compiler_static
='-Bstatic'
7993 lt_prog_compiler_wl
=''
8001 lt_prog_compiler_pic
='-KPIC'
8002 lt_prog_compiler_static
='-Bstatic'
8006 # QNX uses GNU C++, but need to define -shared option too, otherwise
8008 lt_prog_compiler_pic
='-fPIC -shared'
8011 osf3
* | osf4
* | osf5
*)
8012 lt_prog_compiler_wl
='-Wl,'
8013 # All OSF/1 code is PIC.
8014 lt_prog_compiler_static
='-non_shared'
8018 lt_prog_compiler_static
='-non_shared'
8022 lt_prog_compiler_pic
='-KPIC'
8023 lt_prog_compiler_static
='-Bstatic'
8024 case $cc_basename in
8026 lt_prog_compiler_wl
='-Qoption ld ';;
8028 lt_prog_compiler_wl
='-Wl,';;
8033 lt_prog_compiler_wl
='-Qoption ld '
8034 lt_prog_compiler_pic
='-PIC'
8035 lt_prog_compiler_static
='-Bstatic'
8038 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8039 lt_prog_compiler_wl
='-Wl,'
8040 lt_prog_compiler_pic
='-KPIC'
8041 lt_prog_compiler_static
='-Bstatic'
8045 if test -d /usr
/nec
;then
8046 lt_prog_compiler_pic
='-Kconform_pic'
8047 lt_prog_compiler_static
='-Bstatic'
8051 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8052 lt_prog_compiler_wl
='-Wl,'
8053 lt_prog_compiler_pic
='-KPIC'
8054 lt_prog_compiler_static
='-Bstatic'
8058 lt_prog_compiler_wl
='-Wl,'
8059 lt_prog_compiler_can_build_shared
=no
8063 lt_prog_compiler_pic
='-pic'
8064 lt_prog_compiler_static
='-Bstatic'
8068 lt_prog_compiler_can_build_shared
=no
8074 # For platforms which do not support PIC, -DPIC is meaningless:
8076 lt_prog_compiler_pic
=
8079 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8082 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8083 $as_echo "$lt_prog_compiler_pic" >&6; }
8091 # Check to make sure the PIC flag actually works.
8093 if test -n "$lt_prog_compiler_pic"; then
8094 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8095 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8096 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
8097 $as_echo_n "(cached) " >&6
8099 lt_cv_prog_compiler_pic_works
=no
8100 ac_outfile
=conftest.
$ac_objext
8101 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8102 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8103 # Insert the option either (1) after the last *FLAGS variable, or
8104 # (2) before a word containing "conftest.", or (3) at the end.
8105 # Note that $ac_compile itself does not contain backslashes and begins
8106 # with a dollar sign (not a hyphen), so the echo should work correctly.
8107 # The option is referenced via a variable to avoid confusing sed.
8108 lt_compile
=`echo "$ac_compile" | $SED \
8109 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8110 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8111 -e 's:$: $lt_compiler_flag:'`
8112 (eval echo "\"\$as_me:8112: $lt_compile\"" >&5)
8113 (eval "$lt_compile" 2>conftest.err
)
8115 cat conftest.err
>&5
8116 echo "$as_me:8116: \$? = $ac_status" >&5
8117 if (exit $ac_status) && test -s "$ac_outfile"; then
8118 # The compiler can only warn and ignore the option if not recognized
8119 # So say no if there are warnings other than the usual output.
8120 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8121 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8122 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8123 lt_cv_prog_compiler_pic_works
=yes
8129 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
8130 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8132 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8133 case $lt_prog_compiler_pic in
8135 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8138 lt_prog_compiler_pic
=
8139 lt_prog_compiler_can_build_shared
=no
8150 # Check to make sure the static flag actually works.
8152 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8153 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8154 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8155 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
8156 $as_echo_n "(cached) " >&6
8158 lt_cv_prog_compiler_static_works
=no
8159 save_LDFLAGS
="$LDFLAGS"
8160 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8161 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8162 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8163 # The linker can only warn and ignore the option if not recognized
8164 # So say no if there are warnings
8165 if test -s conftest.err
; then
8166 # Append any errors to the config.log.
8167 cat conftest.err
1>&5
8168 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
8169 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8170 if diff conftest.exp conftest.er2
>/dev
/null
; then
8171 lt_cv_prog_compiler_static_works
=yes
8174 lt_cv_prog_compiler_static_works
=yes
8178 LDFLAGS
="$save_LDFLAGS"
8181 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
8182 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8184 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8187 lt_prog_compiler_static
=
8196 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8197 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8198 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8199 $as_echo_n "(cached) " >&6
8201 lt_cv_prog_compiler_c_o
=no
8202 $RM -r conftest
2>/dev
/null
8206 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8208 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8209 # Insert the option either (1) after the last *FLAGS variable, or
8210 # (2) before a word containing "conftest.", or (3) at the end.
8211 # Note that $ac_compile itself does not contain backslashes and begins
8212 # with a dollar sign (not a hyphen), so the echo should work correctly.
8213 lt_compile
=`echo "$ac_compile" | $SED \
8214 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8215 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8216 -e 's:$: $lt_compiler_flag:'`
8217 (eval echo "\"\$as_me:8217: $lt_compile\"" >&5)
8218 (eval "$lt_compile" 2>out
/conftest.err
)
8220 cat out
/conftest.err
>&5
8221 echo "$as_me:8221: \$? = $ac_status" >&5
8222 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8224 # The compiler can only warn and ignore the option if not recognized
8225 # So say no if there are warnings
8226 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8227 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8228 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8229 lt_cv_prog_compiler_c_o
=yes
8234 # SGI C++ compiler will create directory out/ii_files/ for
8235 # template instantiation
8236 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8237 $RM out
/* && rmdir out
8243 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8244 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8251 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8252 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8253 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8254 $as_echo_n "(cached) " >&6
8256 lt_cv_prog_compiler_c_o
=no
8257 $RM -r conftest
2>/dev
/null
8261 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8263 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8264 # Insert the option either (1) after the last *FLAGS variable, or
8265 # (2) before a word containing "conftest.", or (3) at the end.
8266 # Note that $ac_compile itself does not contain backslashes and begins
8267 # with a dollar sign (not a hyphen), so the echo should work correctly.
8268 lt_compile
=`echo "$ac_compile" | $SED \
8269 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8270 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8271 -e 's:$: $lt_compiler_flag:'`
8272 (eval echo "\"\$as_me:8272: $lt_compile\"" >&5)
8273 (eval "$lt_compile" 2>out
/conftest.err
)
8275 cat out
/conftest.err
>&5
8276 echo "$as_me:8276: \$? = $ac_status" >&5
8277 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8279 # The compiler can only warn and ignore the option if not recognized
8280 # So say no if there are warnings
8281 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8282 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8283 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8284 lt_cv_prog_compiler_c_o
=yes
8289 # SGI C++ compiler will create directory out/ii_files/ for
8290 # template instantiation
8291 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8292 $RM out
/* && rmdir out
8298 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8299 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8304 hard_links
="nottested"
8305 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8306 # do not overwrite the value of need_locks provided by the user
8307 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8308 $as_echo_n "checking if we can lock with hard links... " >&6; }
8311 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8313 ln conftest.a conftest.b
2>&5 || hard_links
=no
8314 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8315 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
8316 $as_echo "$hard_links" >&6; }
8317 if test "$hard_links" = no
; then
8318 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8319 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8331 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8332 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8335 allow_undefined_flag
=
8336 always_export_symbols
=no
8338 archive_expsym_cmds
=
8339 compiler_needs_object
=no
8340 enable_shared_with_static_runtimes
=no
8341 export_dynamic_flag_spec
=
8342 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8343 hardcode_automatic
=no
8345 hardcode_direct_absolute
=no
8346 hardcode_libdir_flag_spec
=
8347 hardcode_libdir_flag_spec_ld
=
8348 hardcode_libdir_separator
=
8350 hardcode_shlibpath_var
=unsupported
8352 link_all_deplibs
=unknown
8355 old_archive_from_new_cmds
=
8356 old_archive_from_expsyms_cmds
=
8357 thread_safe_flag_spec
=
8358 whole_archive_flag_spec
=
8359 # include_expsyms should be a list of space-separated symbols to be *always*
8360 # included in the symbol list
8362 # exclude_expsyms can be an extended regexp of symbols to exclude
8363 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8364 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8365 # as well as any symbol that contains `d'.
8366 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8367 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8368 # platforms (ab)use it in PIC code, but their linkers get confused if
8369 # the symbol is explicitly referenced. Since portable code cannot
8370 # rely on this symbol name, it's probably fine to never include it in
8371 # preloaded symbol tables.
8372 # Exclude shared library initialization/finalization symbols.
8373 extract_expsyms_cmds
=
8376 cygwin
* | mingw
* | pw32
* | cegcc
*)
8377 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8378 # When not using gcc, we currently assume that we are using
8379 # Microsoft Visual C++.
8380 if test "$GCC" != yes; then
8385 # we just hope/assume this is gcc and not c89 (= MSVC++)
8394 if test "$with_gnu_ld" = yes; then
8395 # If archive_cmds runs LD, not CC, wlarc should be empty
8398 # Set some defaults for GNU ld with shared library support. These
8399 # are reset later if shared libraries are not supported. Putting them
8400 # here allows them to be overridden if necessary.
8401 runpath_var
=LD_RUN_PATH
8402 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8403 export_dynamic_flag_spec
='${wl}--export-dynamic'
8404 # ancient GNU ld didn't support --whole-archive et. al.
8405 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8406 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8408 whole_archive_flag_spec
=
8410 supports_anon_versioning
=no
8411 case `$LD -v 2>&1` in
8412 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8413 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8414 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8415 *\
2.11.
*) ;; # other 2.11 versions
8416 *) supports_anon_versioning
=yes ;;
8419 # See if GNU ld supports shared libraries.
8422 # On AIX/PPC, the GNU linker is very broken
8423 if test "$host_cpu" != ia64
; then
8427 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8428 *** to be unable to reliably create shared libraries on AIX.
8429 *** Therefore, libtool is disabling shared libraries support. If you
8430 *** really care for shared libraries, you may want to modify your PATH
8431 *** so that a non-GNU linker is found, and then restart.
8440 # see comment about AmigaOS4 .so support
8441 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8442 archive_expsym_cmds
=''
8445 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)'
8446 hardcode_libdir_flag_spec
='-L$libdir'
8447 hardcode_minus_L
=yes
8453 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8454 allow_undefined_flag
=unsupported
8455 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8456 # support --undefined. This deserves some investigation. FIXME
8457 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8463 cygwin
* | mingw
* | pw32
* | cegcc
*)
8464 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8465 # as there is no search path for DLLs.
8466 hardcode_libdir_flag_spec
='-L$libdir'
8467 allow_undefined_flag
=unsupported
8468 always_export_symbols
=no
8469 enable_shared_with_static_runtimes
=yes
8470 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8472 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8473 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8474 # If the export-symbols file already is a .def file (1st line
8475 # is EXPORTS), use it as is; otherwise, prepend...
8476 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8477 cp $export_symbols $output_objdir/$soname.def;
8479 echo EXPORTS > $output_objdir/$soname.def;
8480 cat $export_symbols >> $output_objdir/$soname.def;
8482 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8490 hardcode_shlibpath_var
=no
8491 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8492 export_dynamic_flag_spec
='${wl}-E'
8493 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8494 # Instead, shared libraries are loaded at an image base (0x10000000 by
8495 # default) and relocated if they conflict, which is a slow very memory
8496 # consuming and fragmenting process. To avoid this, we pick a random,
8497 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8498 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8499 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8500 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'
8503 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
8505 if test "$host_os" = linux-dietlibc
; then
8506 case $cc_basename in
8507 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8510 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8511 && test "$tmp_diet" = no
8514 tmp_sharedflag
='-shared'
8515 case $cc_basename,$host_cpu in
8516 pgcc
*) # Portland Group C compiler
8517 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'
8518 tmp_addflag
=' $pic_flag'
8520 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
8521 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'
8522 tmp_addflag
=' $pic_flag -Mnomain' ;;
8523 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8524 tmp_addflag
=' -i_dynamic' ;;
8525 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8526 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8527 ifc
* | ifort
*) # Intel Fortran compiler
8528 tmp_addflag
=' -nofor_main' ;;
8529 lf95
*) # Lahey Fortran 8.1
8530 whole_archive_flag_spec
=
8531 tmp_sharedflag
='--shared' ;;
8532 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8533 tmp_sharedflag
='-qmkshrobj'
8536 case `$CC -V 2>&1 | sed 5q` in
8537 *Sun\ C
*) # Sun C 5.9
8538 whole_archive_flag_spec
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8539 compiler_needs_object
=yes
8540 tmp_sharedflag
='-G' ;;
8541 *Sun\ F
*) # Sun Fortran 8.3
8542 tmp_sharedflag
='-G' ;;
8544 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8546 if test "x$supports_anon_versioning" = xyes
; then
8547 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8548 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8549 echo "local: *; };" >> $output_objdir/$libname.ver~
8550 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8553 case $cc_basename in
8555 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8556 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8557 hardcode_libdir_flag_spec
=
8558 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8559 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8560 if test "x$supports_anon_versioning" = xyes
; then
8561 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8562 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8563 echo "local: *; };" >> $output_objdir/$libname.ver~
8564 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8574 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8575 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8578 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8579 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8584 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8588 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8589 *** create shared libraries on Solaris systems. Therefore, libtool
8590 *** is disabling shared libraries support. We urge you to upgrade GNU
8591 *** binutils to release 2.9.1 or newer. Another option is to modify
8592 *** your PATH or compiler configuration so that the native linker is
8593 *** used, and then restart.
8596 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8597 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8598 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8604 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8605 case `$LD -v 2>&1` in
8606 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8610 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8611 *** reliably create shared libraries on SCO systems. Therefore, libtool
8612 *** is disabling shared libraries support. We urge you to upgrade GNU
8613 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8614 *** your PATH or compiler configuration so that the native linker is
8615 *** used, and then restart.
8620 # For security reasons, it is highly recommended that you always
8621 # use absolute paths for naming shared libraries, and exclude the
8622 # DT_RUNPATH tag from executables and libraries. But doing so
8623 # requires that you compile everything twice, which is a pain.
8624 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8625 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8626 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8627 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8636 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8639 hardcode_shlibpath_var
=no
8643 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8644 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8645 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8652 if test "$ld_shlibs" = no
; then
8654 hardcode_libdir_flag_spec
=
8655 export_dynamic_flag_spec
=
8656 whole_archive_flag_spec
=
8659 # PORTME fill in a description of your system's linker (not GNU ld)
8662 allow_undefined_flag
=unsupported
8663 always_export_symbols
=yes
8664 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'
8665 # Note: this linker hardcodes the directories in LIBPATH if there
8666 # are no directories specified by -L.
8667 hardcode_minus_L
=yes
8668 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8669 # Neither direct hardcoding nor static linking is supported with a
8671 hardcode_direct
=unsupported
8676 if test "$host_cpu" = ia64
; then
8677 # On IA64, the linker does run time linking by default, so we don't
8678 # have to do anything special.
8679 aix_use_runtimelinking
=no
8680 exp_sym_flag
='-Bexport'
8683 # If we're using GNU nm, then we don't want the "-C" option.
8684 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8685 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8686 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'
8688 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'
8690 aix_use_runtimelinking
=no
8692 # Test if we are trying to use run time linking or normal
8693 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8694 # need to do runtime linking.
8695 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8696 for ld_flag
in $LDFLAGS; do
8697 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8698 aix_use_runtimelinking
=yes
8705 exp_sym_flag
='-bexport'
8706 no_entry_flag
='-bnoentry'
8709 # When large executables or shared objects are built, AIX ld can
8710 # have problems creating the table of contents. If linking a library
8711 # or program results in "error TOC overflow" add -mminimal-toc to
8712 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8713 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8717 hardcode_direct_absolute
=yes
8718 hardcode_libdir_separator
=':'
8719 link_all_deplibs
=yes
8720 file_list_spec
='${wl}-f,'
8722 if test "$GCC" = yes; then
8723 case $host_os in aix4.
[012]|aix4.
[012].
*)
8724 # We only want to do this on AIX 4.2 and lower, the check
8725 # below for broken collect2 doesn't work under 4.3+
8726 collect2name
=`${CC} -print-prog-name=collect2`
8727 if test -f "$collect2name" &&
8728 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8730 # We have reworked collect2
8733 # We have old collect2
8734 hardcode_direct
=unsupported
8735 # It fails to find uninstalled libraries when the uninstalled
8736 # path is not listed in the libpath. Setting hardcode_minus_L
8737 # to unsupported forces relinking
8738 hardcode_minus_L
=yes
8739 hardcode_libdir_flag_spec
='-L$libdir'
8740 hardcode_libdir_separator
=
8744 shared_flag
='-shared'
8745 if test "$aix_use_runtimelinking" = yes; then
8746 shared_flag
="$shared_flag "'${wl}-G'
8750 if test "$host_cpu" = ia64
; then
8751 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8752 # chokes on -Wl,-G. The following line is correct:
8755 if test "$aix_use_runtimelinking" = yes; then
8756 shared_flag
='${wl}-G'
8758 shared_flag
='${wl}-bM:SRE'
8763 export_dynamic_flag_spec
='${wl}-bexpall'
8764 # It seems that -bexpall does not export symbols beginning with
8765 # underscore (_), so it is better to generate a list of symbols to export.
8766 always_export_symbols
=yes
8767 if test "$aix_use_runtimelinking" = yes; then
8768 # Warning - without using the other runtime loading flags (-brtl),
8769 # -berok will link without error, but may produce a broken library.
8770 allow_undefined_flag
='-berok'
8771 # Determine the default libpath from the value encoded in an
8773 cat >conftest.
$ac_ext <<_ACEOF
8776 cat confdefs.h
>>conftest.
$ac_ext
8777 cat >>conftest.
$ac_ext <<_ACEOF
8778 /* end confdefs.h. */
8788 rm -f conftest.
$ac_objext conftest
$ac_exeext
8789 if { (ac_try
="$ac_link"
8791 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8792 *) ac_try_echo=$ac_try;;
8794 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8795 $as_echo "$ac_try_echo") >&5
8796 (eval "$ac_link") 2>conftest.er1
8798 grep -v '^ *+' conftest.er1 >conftest.err
8800 cat conftest.err >&5
8801 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8802 (exit $ac_status); } && {
8803 test -z "$ac_c_werror_flag" ||
8804 test ! -s conftest.err
8805 } && test -s conftest$ac_exeext && {
8806 test "$cross_compiling" = yes ||
8807 $as_test_x conftest$ac_exeext
8810 lt_aix_libpath_sed='
8811 /Import File Strings/,/^$/ {
8817 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8818 # Check for a 64-bit object if we didn't find anything.
8819 if test -z "$aix_libpath"; then
8820 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8823 $as_echo "$as_me: failed program was:" >&5
8824 sed 's/^/| /' conftest.$ac_ext >&5
8829 rm -rf conftest.dSYM
8830 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8831 conftest$ac_exeext conftest.$ac_ext
8832 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8834 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8835 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8837 if test "$host_cpu" = ia64; then
8838 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8839 allow_undefined_flag="-z nodefs"
8840 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"
8842 # Determine the default libpath from the value encoded in an
8844 cat >conftest.$ac_ext <<_ACEOF
8847 cat confdefs.h >>conftest.$ac_ext
8848 cat >>conftest.$ac_ext <<_ACEOF
8849 /* end confdefs.h. */
8859 rm -f conftest.$ac_objext conftest$ac_exeext
8860 if { (ac_try="$ac_link"
8862 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8863 *) ac_try_echo
=$ac_try;;
8865 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8866 $as_echo "$ac_try_echo") >&5
8867 (eval "$ac_link") 2>conftest.er1
8869 grep -v '^ *+' conftest.er1
>conftest.err
8871 cat conftest.err
>&5
8872 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8873 (exit $ac_status); } && {
8874 test -z "$ac_c_werror_flag" ||
8875 test ! -s conftest.err
8876 } && test -s conftest
$ac_exeext && {
8877 test "$cross_compiling" = yes ||
8878 $as_test_x conftest
$ac_exeext
8881 lt_aix_libpath_sed
='
8882 /Import File Strings/,/^$/ {
8888 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8889 # Check for a 64-bit object if we didn't find anything.
8890 if test -z "$aix_libpath"; then
8891 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8894 $as_echo "$as_me: failed program was:" >&5
8895 sed 's/^/| /' conftest.
$ac_ext >&5
8900 rm -rf conftest.dSYM
8901 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8902 conftest
$ac_exeext conftest.
$ac_ext
8903 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8905 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8906 # Warning - without using the other run time loading flags,
8907 # -berok will link without error, but may produce a broken library.
8908 no_undefined_flag
=' ${wl}-bernotok'
8909 allow_undefined_flag
=' ${wl}-berok'
8910 # Exported symbols can be pulled into shared objects from archives
8911 whole_archive_flag_spec
='$convenience'
8912 archive_cmds_need_lc
=yes
8913 # This is similar to how AIX traditionally builds its shared libraries.
8914 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'
8922 # see comment about AmigaOS4 .so support
8923 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8924 archive_expsym_cmds
=''
8927 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)'
8928 hardcode_libdir_flag_spec
='-L$libdir'
8929 hardcode_minus_L
=yes
8935 export_dynamic_flag_spec
=-rdynamic
8938 cygwin
* | mingw
* | pw32
* | cegcc
*)
8939 # When not using gcc, we currently assume that we are using
8940 # Microsoft Visual C++.
8941 # hardcode_libdir_flag_spec is actually meaningless, as there is
8942 # no search path for DLLs.
8943 hardcode_libdir_flag_spec
=' '
8944 allow_undefined_flag
=unsupported
8945 # Tell ltmain to make .lib files, not .a files.
8947 # Tell ltmain to make .dll files, not .so files.
8949 # FIXME: Setting linknames here is a bad hack.
8950 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8951 # The linker will automatically build a .lib file if we build a DLL.
8952 old_archive_from_new_cmds
='true'
8953 # FIXME: Should let the user specify the lib program.
8954 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8955 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8956 enable_shared_with_static_runtimes
=yes
8959 darwin
* | rhapsody
*)
8962 archive_cmds_need_lc
=no
8964 hardcode_automatic
=yes
8965 hardcode_shlibpath_var
=unsupported
8966 whole_archive_flag_spec
=''
8967 link_all_deplibs
=yes
8968 allow_undefined_flag
="$_lt_dar_allow_undefined"
8969 case $cc_basename in
8970 ifort
*) _lt_dar_can_shared
=yes ;;
8971 *) _lt_dar_can_shared
=$GCC ;;
8973 if test "$_lt_dar_can_shared" = "yes"; then
8974 output_verbose_link_cmd
=echo
8975 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8976 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8977 archive_expsym_cmds
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
8978 module_expsym_cmds
="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
8987 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8988 hardcode_libdir_flag_spec
='-L$libdir'
8989 hardcode_shlibpath_var
=no
8996 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8997 # support. Future versions do this automatically, but an explicit c++rt0.o
8998 # does not break anything, and helps significantly (at the cost of a little
9001 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9002 hardcode_libdir_flag_spec
='-R$libdir'
9004 hardcode_shlibpath_var
=no
9007 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9009 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9011 hardcode_minus_L
=yes
9012 hardcode_shlibpath_var
=no
9015 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9016 freebsd
* | dragonfly
*)
9017 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9018 hardcode_libdir_flag_spec
='-R$libdir'
9020 hardcode_shlibpath_var
=no
9024 if test "$GCC" = yes; then
9025 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'
9027 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'
9029 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9030 hardcode_libdir_separator
=:
9033 # hardcode_minus_L: Not really in the search PATH,
9034 # but as the default location of the library.
9035 hardcode_minus_L
=yes
9036 export_dynamic_flag_spec
='${wl}-E'
9040 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9041 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9043 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9045 if test "$with_gnu_ld" = no
; then
9046 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9047 hardcode_libdir_flag_spec_ld
='+b $libdir'
9048 hardcode_libdir_separator
=:
9050 hardcode_direct_absolute
=yes
9051 export_dynamic_flag_spec
='${wl}-E'
9052 # hardcode_minus_L: Not really in the search PATH,
9053 # but as the default location of the library.
9054 hardcode_minus_L
=yes
9059 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9062 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9065 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9068 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9074 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9077 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9080 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9084 if test "$with_gnu_ld" = no
; then
9085 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9086 hardcode_libdir_separator
=:
9091 hardcode_shlibpath_var
=no
9095 hardcode_direct_absolute
=yes
9096 export_dynamic_flag_spec
='${wl}-E'
9098 # hardcode_minus_L: Not really in the search PATH,
9099 # but as the default location of the library.
9100 hardcode_minus_L
=yes
9106 irix5
* | irix6
* | nonstopux
*)
9107 if test "$GCC" = yes; then
9108 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9109 # Try to use the -exported_symbol ld option, if it does not
9110 # work, assume that -exports_file does not work either and
9111 # implicitly export all symbols.
9112 save_LDFLAGS
="$LDFLAGS"
9113 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9114 cat >conftest.
$ac_ext <<_ACEOF
9117 rm -f conftest.
$ac_objext conftest
$ac_exeext
9118 if { (ac_try
="$ac_link"
9120 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9121 *) ac_try_echo=$ac_try;;
9123 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9124 $as_echo "$ac_try_echo") >&5
9125 (eval "$ac_link") 2>conftest.er1
9127 grep -v '^ *+' conftest.er1 >conftest.err
9129 cat conftest.err >&5
9130 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9131 (exit $ac_status); } && {
9132 test -z "$ac_c_werror_flag" ||
9133 test ! -s conftest.err
9134 } && test -s conftest$ac_exeext && {
9135 test "$cross_compiling" = yes ||
9136 $as_test_x conftest$ac_exeext
9138 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9141 $as_echo "$as_me: failed program was:" >&5
9142 sed 's/^/| /' conftest.$ac_ext >&5
9147 rm -rf conftest.dSYM
9148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9149 conftest$ac_exeext conftest.$ac_ext
9150 LDFLAGS="$save_LDFLAGS"
9152 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" |
$Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9153 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" |
$Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9155 archive_cmds_need_lc='no'
9156 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9157 hardcode_libdir_separator=:
9159 link_all_deplibs=yes
9163 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9164 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9166 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9168 hardcode_libdir_flag_spec='-R$libdir'
9170 hardcode_shlibpath_var=no
9174 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9176 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9177 hardcode_libdir_separator=:
9178 hardcode_shlibpath_var=no
9185 if test -f /usr/libexec/ld.so; then
9187 hardcode_shlibpath_var=no
9188 hardcode_direct_absolute=yes
9189 if test -z "`echo __ELF__ |
$CC -E - |
$GREP __ELF__
`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9190 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9191 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9192 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9193 export_dynamic_flag_spec='${wl}-E'
9196 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9197 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9198 hardcode_libdir_flag_spec='-R$libdir'
9201 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9202 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9212 hardcode_libdir_flag_spec='-L$libdir'
9213 hardcode_minus_L=yes
9214 allow_undefined_flag=unsupported
9215 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'
9216 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9220 if test "$GCC" = yes; then
9221 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9222 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9224 allow_undefined_flag=' -expect_unresolved \*'
9225 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" |
$Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9227 archive_cmds_need_lc='no'
9228 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9229 hardcode_libdir_separator=:
9232 osf4* | osf5*) # as osf3* with the addition of -msym flag
9233 if test "$GCC" = yes; then
9234 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9235 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9236 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9238 allow_undefined_flag=' -expect_unresolved \*'
9239 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" |
$Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9240 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
9241 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9243 # Both c and cxx compiler support -rpath directly
9244 hardcode_libdir_flag_spec='-rpath $libdir'
9246 archive_cmds_need_lc='no'
9247 hardcode_libdir_separator=:
9251 no_undefined_flag=' -z defs'
9252 if test "$GCC" = yes; then
9254 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9255 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9256 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9258 case `$CC -V 2>&1` in
9261 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9262 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9263 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9267 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9268 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9269 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9273 hardcode_libdir_flag_spec='-R$libdir'
9274 hardcode_shlibpath_var=no
9276 solaris2.[0-5] | solaris2.[0-5].*) ;;
9278 # The compiler driver will combine and reorder linker options,
9279 # but understands `-z linker_flag
'. GCC discards it without `$wl',
9280 # but is careful enough not to reorder.
9281 # Supported since Solaris 2.6 (maybe 2.5.1?)
9282 if test "$GCC" = yes; then
9283 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9285 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9289 link_all_deplibs
=yes
9293 if test "x$host_vendor" = xsequent
; then
9294 # Use $CC to link under sequent, because it throws in some extra .o
9295 # files that make .init and .fini sections work.
9296 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9298 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9300 hardcode_libdir_flag_spec
='-L$libdir'
9302 hardcode_minus_L
=yes
9303 hardcode_shlibpath_var
=no
9307 case $host_vendor in
9309 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9310 hardcode_direct
=yes # is this really true???
9313 ## LD is ld it makes a PLAMLIB
9314 ## CC just makes a GrossModule.
9315 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9316 reload_cmds
='$CC -r -o $output$reload_objs'
9320 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9321 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9324 runpath_var
='LD_RUN_PATH'
9325 hardcode_shlibpath_var
=no
9329 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9330 hardcode_shlibpath_var
=no
9331 export_dynamic_flag_spec
='-Bexport'
9335 if test -d /usr
/nec
; then
9336 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9337 hardcode_shlibpath_var
=no
9338 runpath_var
=LD_RUN_PATH
9339 hardcode_runpath_var
=yes
9344 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9345 no_undefined_flag
='${wl}-z,text'
9346 archive_cmds_need_lc
=no
9347 hardcode_shlibpath_var
=no
9348 runpath_var
='LD_RUN_PATH'
9350 if test "$GCC" = yes; then
9351 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9352 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9354 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9355 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9359 sysv5
* | sco3.2v5
* | sco5v6
*)
9360 # Note: We can NOT use -z defs as we might desire, because we do not
9361 # link with -lc, and that would cause any symbols used from libc to
9362 # always be unresolved, which means just about no library would
9363 # ever link correctly. If we're not using GNU ld we use -z text
9364 # though, which does catch some bad symbols but isn't as heavy-handed
9366 no_undefined_flag
='${wl}-z,text'
9367 allow_undefined_flag
='${wl}-z,nodefs'
9368 archive_cmds_need_lc
=no
9369 hardcode_shlibpath_var
=no
9370 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9371 hardcode_libdir_separator
=':'
9372 link_all_deplibs
=yes
9373 export_dynamic_flag_spec
='${wl}-Bexport'
9374 runpath_var
='LD_RUN_PATH'
9376 if test "$GCC" = yes; then
9377 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9378 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9380 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9381 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9386 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9387 hardcode_libdir_flag_spec
='-L$libdir'
9388 hardcode_shlibpath_var
=no
9396 if test x
$host_vendor = xsni
; then
9398 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9399 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9405 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9406 $as_echo "$ld_shlibs" >&6; }
9407 test "$ld_shlibs" = no
&& can_build_shared
=no
9409 with_gnu_ld
=$with_gnu_ld
9426 # Do we need to explicitly link libc?
9428 case "x$archive_cmds_need_lc" in
9430 # Assume -lc should be added
9431 archive_cmds_need_lc
=yes
9433 if test "$enable_shared" = yes && test "$GCC" = yes; then
9434 case $archive_cmds in
9436 # FIXME: we may have to deal with multi-command sequences.
9439 # Test whether the compiler implicitly links with -lc since on some
9440 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9441 # to ld, don't add -lc before -lgcc.
9442 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9443 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9445 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9448 (eval $ac_compile) 2>&5
9450 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9451 (exit $ac_status); } 2>conftest.err
; then
9454 libobjs
=conftest.
$ac_objext
9456 wl
=$lt_prog_compiler_wl
9457 pic_flag
=$lt_prog_compiler_pic
9463 lt_save_allow_undefined_flag
=$allow_undefined_flag
9464 allow_undefined_flag
=
9465 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
9466 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9468 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9469 (exit $ac_status); }
9471 archive_cmds_need_lc
=no
9473 archive_cmds_need_lc
=yes
9475 allow_undefined_flag
=$lt_save_allow_undefined_flag
9477 cat conftest.err
1>&5
9480 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9481 $as_echo "$archive_cmds_need_lc" >&6; }
9644 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9645 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9647 if test "$GCC" = yes; then
9649 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9650 *) lt_awk_arg
="/^libraries:/" ;;
9652 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9653 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
9654 # if the path contains ";" then we assume it to be the separator
9655 # otherwise default to the standard path separator (i.e. ":") - it is
9656 # assumed that no part of a normal pathname contains ";" but that should
9657 # okay in the real world where ";" in dirpaths is itself problematic.
9658 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9660 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9662 # Ok, now we have the path, separated by spaces, we can step through it
9663 # and add multilib dir if necessary.
9664 lt_tmp_lt_search_path_spec
=
9665 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9666 for lt_sys_path
in $lt_search_path_spec; do
9667 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9668 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9670 test -d "$lt_sys_path" && \
9671 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9674 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9675 BEGIN {RS=" "; FS="/|\n";} {
9678 for (lt_i = NF; lt_i > 0; lt_i--) {
9679 if ($lt_i != "" && $lt_i != ".") {
9680 if ($lt_i == "..") {
9683 if (lt_count == 0) {
9684 lt_foo="/" $lt_i lt_foo;
9691 if (lt_foo != "") { lt_freq[lt_foo]++; }
9692 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9694 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
9696 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9699 libname_spec
='lib$name'
9707 shlibpath_overrides_runpath
=unknown
9709 dynamic_linker
="$host_os ld.so"
9710 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9711 need_lib_prefix
=unknown
9712 hardcode_into_libs
=no
9714 # when you set need_version to no, make sure it does not cause -set_version
9715 # flags to be left without arguments
9716 need_version
=unknown
9721 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9722 shlibpath_var
=LIBPATH
9724 # AIX 3 has no versioning support, so we append a major version to the name.
9725 soname_spec
='${libname}${release}${shared_ext}$major'
9732 hardcode_into_libs
=yes
9733 if test "$host_cpu" = ia64
; then
9734 # AIX 5 supports IA64
9735 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9736 shlibpath_var
=LD_LIBRARY_PATH
9738 # With GCC up to 2.95.x, collect2 would create an import file
9739 # for dependence libraries. The import file would start with
9740 # the line `#! .'. This would cause the generated library to
9741 # depend on `.', always an invalid library. This was fixed in
9742 # development snapshots of GCC prior to 3.0.
9744 aix4 | aix4.
[01] | aix4.
[01].
*)
9745 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9747 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
9754 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9755 # soname into executable. Probably we can add versioning support to
9756 # collect2, so additional links can be useful in future.
9757 if test "$aix_use_runtimelinking" = yes; then
9758 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9759 # instead of lib<name>.a to let people know that these are not
9760 # typical AIX shared libraries.
9761 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9763 # We preserve .a as extension for shared libraries through AIX4.2
9764 # and later when we are not doing run time linking.
9765 library_names_spec
='${libname}${release}.a $libname.a'
9766 soname_spec
='${libname}${release}${shared_ext}$major'
9768 shlibpath_var
=LIBPATH
9775 # Since July 2007 AmigaOS4 officially supports .so libraries.
9776 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9777 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9780 library_names_spec
='$libname.ixlibrary $libname.a'
9781 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9782 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'
9788 library_names_spec
='${libname}${shared_ext}'
9789 dynamic_linker
="$host_os ld.so"
9790 shlibpath_var
=LIBRARY_PATH
9796 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9797 soname_spec
='${libname}${release}${shared_ext}$major'
9798 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9799 shlibpath_var
=LD_LIBRARY_PATH
9800 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9801 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9802 # the default ld.so.conf also contains /usr/contrib/lib and
9803 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9804 # libtool to hard-code these into programs
9807 cygwin
* | mingw
* | pw32
* | cegcc
*)
9808 version_type
=windows
9813 case $GCC,$host_os in
9814 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
9815 library_names_spec
='$libname.dll.a'
9816 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9817 postinstall_cmds
='base_file=`basename \${file}`~
9818 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9819 dldir=$destdir/`dirname \$dlpath`~
9820 test -d \$dldir || mkdir -p \$dldir~
9821 $install_prog $dir/$dlname \$dldir/$dlname~
9822 chmod a+x \$dldir/$dlname~
9823 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9824 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9826 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9827 dlpath=$dir/\$dldll~
9829 shlibpath_overrides_runpath
=yes
9833 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9834 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9835 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
9838 # MinGW DLLs use traditional 'lib' prefix
9839 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9840 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9841 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
9842 # It is most probably a Windows format PATH printed by
9843 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9844 # path with ; separators, and with drive letters. We can handle the
9845 # drive letters (cygwin fileutils understands them), so leave them,
9846 # especially as we might pass files found there to a mingw objdump,
9847 # which wouldn't understand a cygwinified path. Ahh.
9848 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9850 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9854 # pw32 DLLs use 'pw' prefix rather than 'lib'
9855 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9861 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9864 dynamic_linker
='Win32 ld.exe'
9865 # FIXME: first we should search . and the directory the executable is in
9869 darwin
* | rhapsody
*)
9870 dynamic_linker
="$host_os dyld"
9874 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9875 soname_spec
='${libname}${release}${major}$shared_ext'
9876 shlibpath_overrides_runpath
=yes
9877 shlibpath_var
=DYLD_LIBRARY_PATH
9878 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9880 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9881 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9888 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9889 soname_spec
='${libname}${release}${shared_ext}$major'
9890 shlibpath_var
=LD_LIBRARY_PATH
9897 freebsd
* | dragonfly
*)
9898 # DragonFly does not have aout. When/if they implement a new
9899 # versioning mechanism, adjust this.
9900 if test -x /usr
/bin
/objformat
; then
9901 objformat
=`/usr/bin/objformat`
9904 freebsd
[123]*) objformat
=aout
;;
9908 version_type
=freebsd-
$objformat
9909 case $version_type in
9911 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9916 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9920 shlibpath_var
=LD_LIBRARY_PATH
9923 shlibpath_overrides_runpath
=yes
9925 freebsd3.
[01]* | freebsdelf3.
[01]*)
9926 shlibpath_overrides_runpath
=yes
9927 hardcode_into_libs
=yes
9929 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9930 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9931 shlibpath_overrides_runpath
=no
9932 hardcode_into_libs
=yes
9934 *) # from 4.6 on, and DragonFly
9935 shlibpath_overrides_runpath
=yes
9936 hardcode_into_libs
=yes
9945 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9946 soname_spec
='${libname}${release}${shared_ext}$major'
9947 shlibpath_var
=LD_LIBRARY_PATH
9948 hardcode_into_libs
=yes
9951 hpux9
* | hpux10
* | hpux11
*)
9952 # Give a soname corresponding to the major version so that dld.sl refuses to
9953 # link against other versions.
9960 hardcode_into_libs
=yes
9961 dynamic_linker
="$host_os dld.so"
9962 shlibpath_var
=LD_LIBRARY_PATH
9963 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9964 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9965 soname_spec
='${libname}${release}${shared_ext}$major'
9966 if test "X$HPUX_IA64_MODE" = X32
; then
9967 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9969 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9971 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9975 hardcode_into_libs
=yes
9976 dynamic_linker
="$host_os dld.sl"
9977 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9978 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9979 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9980 soname_spec
='${libname}${release}${shared_ext}$major'
9981 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9982 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9986 dynamic_linker
="$host_os dld.sl"
9987 shlibpath_var
=SHLIB_PATH
9988 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9989 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9990 soname_spec
='${libname}${release}${shared_ext}$major'
9993 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9994 postinstall_cmds
='chmod 555 $lib'
10001 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10002 soname_spec
='${libname}${release}${shared_ext}$major'
10003 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10004 shlibpath_var
=LD_LIBRARY_PATH
10005 shlibpath_overrides_runpath
=no
10006 hardcode_into_libs
=yes
10009 irix5
* | irix6
* | nonstopux
*)
10011 nonstopux
*) version_type
=nonstopux
;;
10013 if test "$lt_cv_prog_gnu_ld" = yes; then
10021 soname_spec
='${libname}${release}${shared_ext}$major'
10022 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10024 irix5
* | nonstopux
*)
10025 libsuff
= shlibsuff
=
10028 case $LD in # libtool.m4 will add one of these switches to LD
10029 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10030 libsuff
= shlibsuff
= libmagic
=32-bit;;
10031 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10032 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10033 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10034 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10035 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10039 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10040 shlibpath_overrides_runpath
=no
10041 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10042 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10043 hardcode_into_libs
=yes
10046 # No shared lib support for Linux oldld, aout, or coff.
10047 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10051 # This must be Linux ELF.
10052 linux
* | k
*bsd
*-gnu)
10056 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10057 soname_spec
='${libname}${release}${shared_ext}$major'
10058 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10059 shlibpath_var
=LD_LIBRARY_PATH
10060 shlibpath_overrides_runpath
=no
10061 # Some binutils ld are patched to set DT_RUNPATH
10062 save_LDFLAGS
=$LDFLAGS
10063 save_libdir
=$libdir
10064 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10065 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10066 cat >conftest.
$ac_ext <<_ACEOF
10069 cat confdefs.h
>>conftest.
$ac_ext
10070 cat >>conftest.
$ac_ext <<_ACEOF
10071 /* end confdefs.h. */
10081 rm -f conftest.
$ac_objext conftest
$ac_exeext
10082 if { (ac_try
="$ac_link"
10083 case "(($ac_try" in
10084 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10085 *) ac_try_echo=$ac_try;;
10087 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10088 $as_echo "$ac_try_echo") >&5
10089 (eval "$ac_link") 2>conftest.er1
10091 grep -v '^ *+' conftest.er1 >conftest.err
10093 cat conftest.err >&5
10094 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10095 (exit $ac_status); } && {
10096 test -z "$ac_c_werror_flag" ||
10097 test ! -s conftest.err
10098 } && test -s conftest$ac_exeext && {
10099 test "$cross_compiling" = yes ||
10100 $as_test_x conftest$ac_exeext
10102 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
10103 shlibpath_overrides_runpath=yes
10107 $as_echo "$as_me: failed program was:" >&5
10108 sed 's/^/| /' conftest.$ac_ext >&5
10113 rm -rf conftest.dSYM
10114 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10115 conftest$ac_exeext conftest.$ac_ext
10116 LDFLAGS=$save_LDFLAGS
10117 libdir=$save_libdir
10119 # This implies no fast_install, which is unacceptable.
10120 # Some rework will be needed to allow for fast_install
10121 # before this can be enabled.
10122 hardcode_into_libs=yes
10124 # Add ABI-specific directories to the system library path.
10125 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
10127 # Append ld.so.conf contents to the search path
10128 if test -f /etc/ld.so.conf; then
10129 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc
/ld.so.conf |
$SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' |
tr '\n' ' '`
10130 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10133 # We used to test for /lib/ld.so.1 and disable shared libraries on
10134 # powerpc, because MkLinux only supported shared libraries with the
10135 # GNU dynamic linker. Since this was broken with cross compilers,
10136 # most powerpc-linux boxes support dynamic linking these days and
10137 # people can always --disable-shared, the test was removed, and we
10138 # assume the GNU/Linux dynamic linker is in use.
10139 dynamic_linker='GNU/Linux ld.so'
10146 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10147 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10148 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10149 dynamic_linker='NetBSD (a.out) ld.so'
10151 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10152 soname_spec='${libname}${release}${shared_ext}$major'
10153 dynamic_linker='NetBSD ld.elf_so'
10155 shlibpath_var=LD_LIBRARY_PATH
10156 shlibpath_overrides_runpath=yes
10157 hardcode_into_libs=yes
10162 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10163 shlibpath_var=LD_LIBRARY_PATH
10164 shlibpath_overrides_runpath=yes
10171 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10172 soname_spec='${libname}${release}${shared_ext}$major'
10173 shlibpath_var=LD_LIBRARY_PATH
10174 shlibpath_overrides_runpath=no
10175 hardcode_into_libs=yes
10176 dynamic_linker='ldqnx.so'
10181 sys_lib_dlsearch_path_spec="/usr/lib"
10183 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10185 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10186 *) need_version=no ;;
10188 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10189 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10190 shlibpath_var=LD_LIBRARY_PATH
10191 if test -z "`echo __ELF__ |
$CC -E - |
$GREP __ELF__
`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10193 openbsd2.[89] | openbsd2.[89].*)
10194 shlibpath_overrides_runpath=no
10197 shlibpath_overrides_runpath=yes
10201 shlibpath_overrides_runpath=yes
10206 libname_spec='$name'
10209 library_names_spec='$libname${shared_ext} $libname.a'
10210 dynamic_linker='OS/2 ld.exe'
10211 shlibpath_var=LIBPATH
10214 osf3* | osf4* | osf5*)
10218 soname_spec='${libname}${release}${shared_ext}$major'
10219 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10220 shlibpath_var=LD_LIBRARY_PATH
10221 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10222 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10233 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10234 soname_spec='${libname}${release}${shared_ext}$major'
10235 shlibpath_var=LD_LIBRARY_PATH
10236 shlibpath_overrides_runpath=yes
10237 hardcode_into_libs=yes
10238 # ldd complains unless libraries are executable
10239 postinstall_cmds='chmod +x $lib'
10244 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10245 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10246 shlibpath_var=LD_LIBRARY_PATH
10247 shlibpath_overrides_runpath=yes
10248 if test "$with_gnu_ld" = yes; then
10256 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10257 soname_spec='${libname}${release}${shared_ext}$major'
10258 shlibpath_var=LD_LIBRARY_PATH
10259 case $host_vendor in
10261 shlibpath_overrides_runpath=no
10263 runpath_var=LD_RUN_PATH
10271 shlibpath_overrides_runpath=no
10272 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10278 if test -d /usr/nec ;then
10280 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10281 soname_spec='$libname${shared_ext}.$major'
10282 shlibpath_var=LD_LIBRARY_PATH
10286 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10287 version_type=freebsd-elf
10290 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10291 soname_spec='${libname}${release}${shared_ext}$major'
10292 shlibpath_var=LD_LIBRARY_PATH
10293 shlibpath_overrides_runpath=yes
10294 hardcode_into_libs=yes
10295 if test "$with_gnu_ld" = yes; then
10296 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10298 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10301 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10305 sys_lib_dlsearch_path_spec='/usr/lib'
10309 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10313 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10314 shlibpath_var=LD_LIBRARY_PATH
10315 shlibpath_overrides_runpath=no
10316 hardcode_into_libs=yes
10321 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10322 soname_spec='${libname}${release}${shared_ext}$major'
10323 shlibpath_var=LD_LIBRARY_PATH
10330 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10331 $as_echo "$dynamic_linker" >&6; }
10332 test "$dynamic_linker" = no && can_build_shared=no
10334 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10335 if test "$GCC" = yes; then
10336 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10339 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10340 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10342 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10343 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10432 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10433 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10435 if test -n "$hardcode_libdir_flag_spec" ||
10436 test -n "$runpath_var" ||
10437 test "X$hardcode_automatic" = "Xyes" ; then
10439 # We can hardcode non-existent directories.
10440 if test "$hardcode_direct" != no &&
10441 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10442 # have to relink, otherwise we might link with an installed library
10443 # when we should be linking with a yet-to-be-installed one
10444 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10445 test "$hardcode_minus_L" != no; then
10446 # Linking always hardcodes the temporary library directory.
10447 hardcode_action=relink
10449 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10450 hardcode_action=immediate
10453 # We cannot hardcode anything, or else we can only hardcode existing
10455 hardcode_action=unsupported
10457 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
10458 $as_echo "$hardcode_action" >&6; }
10460 if test "$hardcode_action" = relink ||
10461 test "$inherit_rpath" = yes; then
10462 # Fast installation is not supported
10463 enable_fast_install=no
10464 elif test "$shlibpath_overrides_runpath" = yes ||
10465 test "$enable_shared" = no; then
10466 # Fast installation is not necessary
10467 enable_fast_install=needless
10475 if test "x$enable_dlopen" != xyes; then
10476 enable_dlopen=unknown
10477 enable_dlopen_self=unknown
10478 enable_dlopen_self_static=unknown
10485 lt_cv_dlopen="load_add_on"
10487 lt_cv_dlopen_self=yes
10490 mingw* | pw32* | cegcc*)
10491 lt_cv_dlopen="LoadLibrary"
10496 lt_cv_dlopen="dlopen"
10501 # if libdl is installed we need to link against it
10502 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10503 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10504 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10505 $as_echo_n "(cached) " >&6
10507 ac_check_lib_save_LIBS=$LIBS
10509 cat >conftest.$ac_ext <<_ACEOF
10512 cat confdefs.h >>conftest.$ac_ext
10513 cat >>conftest.$ac_ext <<_ACEOF
10514 /* end confdefs.h. */
10516 /* Override any GCC internal prototype to avoid an error.
10517 Use char because int might match the return type of a GCC
10518 builtin and then its argument prototype would still apply. */
10531 rm -f conftest.$ac_objext conftest$ac_exeext
10532 if { (ac_try="$ac_link"
10533 case "(($ac_try" in
10534 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10535 *) ac_try_echo
=$ac_try;;
10537 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10538 $as_echo "$ac_try_echo") >&5
10539 (eval "$ac_link") 2>conftest.er1
10541 grep -v '^ *+' conftest.er1
>conftest.err
10543 cat conftest.err
>&5
10544 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10545 (exit $ac_status); } && {
10546 test -z "$ac_c_werror_flag" ||
10547 test ! -s conftest.err
10548 } && test -s conftest
$ac_exeext && {
10549 test "$cross_compiling" = yes ||
10550 $as_test_x conftest
$ac_exeext
10552 ac_cv_lib_dl_dlopen
=yes
10554 $as_echo "$as_me: failed program was:" >&5
10555 sed 's/^/| /' conftest.
$ac_ext >&5
10557 ac_cv_lib_dl_dlopen
=no
10560 rm -rf conftest.dSYM
10561 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10562 conftest
$ac_exeext conftest.
$ac_ext
10563 LIBS
=$ac_check_lib_save_LIBS
10565 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10566 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10567 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then
10568 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10571 lt_cv_dlopen
="dyld"
10573 lt_cv_dlopen_self
=yes
10580 { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
10581 $as_echo_n "checking for shl_load... " >&6; }
10582 if test "${ac_cv_func_shl_load+set}" = set; then
10583 $as_echo_n "(cached) " >&6
10585 cat >conftest.
$ac_ext <<_ACEOF
10588 cat confdefs.h
>>conftest.
$ac_ext
10589 cat >>conftest.
$ac_ext <<_ACEOF
10590 /* end confdefs.h. */
10591 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10592 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10593 #define shl_load innocuous_shl_load
10595 /* System header to define __stub macros and hopefully few prototypes,
10596 which can conflict with char shl_load (); below.
10597 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10598 <limits.h> exists even on freestanding compilers. */
10601 # include <limits.h>
10603 # include <assert.h>
10608 /* Override any GCC internal prototype to avoid an error.
10609 Use char because int might match the return type of a GCC
10610 builtin and then its argument prototype would still apply. */
10615 /* The GNU C library defines this for functions which it implements
10616 to always fail with ENOSYS. Some functions are actually named
10617 something starting with __ and the normal name is an alias. */
10618 #if defined __stub_shl_load || defined __stub___shl_load
10625 return shl_load ();
10630 rm -f conftest.
$ac_objext conftest
$ac_exeext
10631 if { (ac_try
="$ac_link"
10632 case "(($ac_try" in
10633 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10634 *) ac_try_echo=$ac_try;;
10636 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10637 $as_echo "$ac_try_echo") >&5
10638 (eval "$ac_link") 2>conftest.er1
10640 grep -v '^ *+' conftest.er1 >conftest.err
10642 cat conftest.err >&5
10643 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10644 (exit $ac_status); } && {
10645 test -z "$ac_c_werror_flag" ||
10646 test ! -s conftest.err
10647 } && test -s conftest$ac_exeext && {
10648 test "$cross_compiling" = yes ||
10649 $as_test_x conftest$ac_exeext
10651 ac_cv_func_shl_load=yes
10653 $as_echo "$as_me: failed program was:" >&5
10654 sed 's/^/| /' conftest.$ac_ext >&5
10656 ac_cv_func_shl_load=no
10659 rm -rf conftest.dSYM
10660 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10661 conftest$ac_exeext conftest.$ac_ext
10663 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10664 $as_echo "$ac_cv_func_shl_load" >&6; }
10665 if test "x$ac_cv_func_shl_load" = x""yes; then
10666 lt_cv_dlopen="shl_load"
10668 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10669 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10670 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10671 $as_echo_n "(cached) " >&6
10673 ac_check_lib_save_LIBS=$LIBS
10675 cat >conftest.$ac_ext <<_ACEOF
10678 cat confdefs.h >>conftest.$ac_ext
10679 cat >>conftest.$ac_ext <<_ACEOF
10680 /* end confdefs.h. */
10682 /* Override any GCC internal prototype to avoid an error.
10683 Use char because int might match the return type of a GCC
10684 builtin and then its argument prototype would still apply. */
10692 return shl_load ();
10697 rm -f conftest.$ac_objext conftest$ac_exeext
10698 if { (ac_try="$ac_link"
10699 case "(($ac_try" in
10700 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10701 *) ac_try_echo
=$ac_try;;
10703 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10704 $as_echo "$ac_try_echo") >&5
10705 (eval "$ac_link") 2>conftest.er1
10707 grep -v '^ *+' conftest.er1
>conftest.err
10709 cat conftest.err
>&5
10710 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10711 (exit $ac_status); } && {
10712 test -z "$ac_c_werror_flag" ||
10713 test ! -s conftest.err
10714 } && test -s conftest
$ac_exeext && {
10715 test "$cross_compiling" = yes ||
10716 $as_test_x conftest
$ac_exeext
10718 ac_cv_lib_dld_shl_load
=yes
10720 $as_echo "$as_me: failed program was:" >&5
10721 sed 's/^/| /' conftest.
$ac_ext >&5
10723 ac_cv_lib_dld_shl_load
=no
10726 rm -rf conftest.dSYM
10727 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10728 conftest
$ac_exeext conftest.
$ac_ext
10729 LIBS
=$ac_check_lib_save_LIBS
10731 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10732 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10733 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then
10734 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10736 { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
10737 $as_echo_n "checking for dlopen... " >&6; }
10738 if test "${ac_cv_func_dlopen+set}" = set; then
10739 $as_echo_n "(cached) " >&6
10741 cat >conftest.
$ac_ext <<_ACEOF
10744 cat confdefs.h
>>conftest.
$ac_ext
10745 cat >>conftest.
$ac_ext <<_ACEOF
10746 /* end confdefs.h. */
10747 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10748 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10749 #define dlopen innocuous_dlopen
10751 /* System header to define __stub macros and hopefully few prototypes,
10752 which can conflict with char dlopen (); below.
10753 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10754 <limits.h> exists even on freestanding compilers. */
10757 # include <limits.h>
10759 # include <assert.h>
10764 /* Override any GCC internal prototype to avoid an error.
10765 Use char because int might match the return type of a GCC
10766 builtin and then its argument prototype would still apply. */
10771 /* The GNU C library defines this for functions which it implements
10772 to always fail with ENOSYS. Some functions are actually named
10773 something starting with __ and the normal name is an alias. */
10774 #if defined __stub_dlopen || defined __stub___dlopen
10786 rm -f conftest.
$ac_objext conftest
$ac_exeext
10787 if { (ac_try
="$ac_link"
10788 case "(($ac_try" in
10789 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10790 *) ac_try_echo=$ac_try;;
10792 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10793 $as_echo "$ac_try_echo") >&5
10794 (eval "$ac_link") 2>conftest.er1
10796 grep -v '^ *+' conftest.er1 >conftest.err
10798 cat conftest.err >&5
10799 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10800 (exit $ac_status); } && {
10801 test -z "$ac_c_werror_flag" ||
10802 test ! -s conftest.err
10803 } && test -s conftest$ac_exeext && {
10804 test "$cross_compiling" = yes ||
10805 $as_test_x conftest$ac_exeext
10807 ac_cv_func_dlopen=yes
10809 $as_echo "$as_me: failed program was:" >&5
10810 sed 's/^/| /' conftest.$ac_ext >&5
10812 ac_cv_func_dlopen=no
10815 rm -rf conftest.dSYM
10816 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10817 conftest$ac_exeext conftest.$ac_ext
10819 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10820 $as_echo "$ac_cv_func_dlopen" >&6; }
10821 if test "x$ac_cv_func_dlopen" = x""yes; then
10822 lt_cv_dlopen="dlopen"
10824 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10825 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10826 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10827 $as_echo_n "(cached) " >&6
10829 ac_check_lib_save_LIBS=$LIBS
10831 cat >conftest.$ac_ext <<_ACEOF
10834 cat confdefs.h >>conftest.$ac_ext
10835 cat >>conftest.$ac_ext <<_ACEOF
10836 /* end confdefs.h. */
10838 /* Override any GCC internal prototype to avoid an error.
10839 Use char because int might match the return type of a GCC
10840 builtin and then its argument prototype would still apply. */
10853 rm -f conftest.$ac_objext conftest$ac_exeext
10854 if { (ac_try="$ac_link"
10855 case "(($ac_try" in
10856 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10857 *) ac_try_echo
=$ac_try;;
10859 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10860 $as_echo "$ac_try_echo") >&5
10861 (eval "$ac_link") 2>conftest.er1
10863 grep -v '^ *+' conftest.er1
>conftest.err
10865 cat conftest.err
>&5
10866 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10867 (exit $ac_status); } && {
10868 test -z "$ac_c_werror_flag" ||
10869 test ! -s conftest.err
10870 } && test -s conftest
$ac_exeext && {
10871 test "$cross_compiling" = yes ||
10872 $as_test_x conftest
$ac_exeext
10874 ac_cv_lib_dl_dlopen
=yes
10876 $as_echo "$as_me: failed program was:" >&5
10877 sed 's/^/| /' conftest.
$ac_ext >&5
10879 ac_cv_lib_dl_dlopen
=no
10882 rm -rf conftest.dSYM
10883 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10884 conftest
$ac_exeext conftest.
$ac_ext
10885 LIBS
=$ac_check_lib_save_LIBS
10887 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10888 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10889 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then
10890 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10892 { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10893 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10894 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10895 $as_echo_n "(cached) " >&6
10897 ac_check_lib_save_LIBS
=$LIBS
10898 LIBS
="-lsvld $LIBS"
10899 cat >conftest.
$ac_ext <<_ACEOF
10902 cat confdefs.h
>>conftest.
$ac_ext
10903 cat >>conftest.
$ac_ext <<_ACEOF
10904 /* end confdefs.h. */
10906 /* Override any GCC internal prototype to avoid an error.
10907 Use char because int might match the return type of a GCC
10908 builtin and then its argument prototype would still apply. */
10921 rm -f conftest.
$ac_objext conftest
$ac_exeext
10922 if { (ac_try
="$ac_link"
10923 case "(($ac_try" in
10924 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10925 *) ac_try_echo=$ac_try;;
10927 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10928 $as_echo "$ac_try_echo") >&5
10929 (eval "$ac_link") 2>conftest.er1
10931 grep -v '^ *+' conftest.er1 >conftest.err
10933 cat conftest.err >&5
10934 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10935 (exit $ac_status); } && {
10936 test -z "$ac_c_werror_flag" ||
10937 test ! -s conftest.err
10938 } && test -s conftest$ac_exeext && {
10939 test "$cross_compiling" = yes ||
10940 $as_test_x conftest$ac_exeext
10942 ac_cv_lib_svld_dlopen=yes
10944 $as_echo "$as_me: failed program was:" >&5
10945 sed 's/^/| /' conftest.$ac_ext >&5
10947 ac_cv_lib_svld_dlopen=no
10950 rm -rf conftest.dSYM
10951 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10952 conftest$ac_exeext conftest.$ac_ext
10953 LIBS=$ac_check_lib_save_LIBS
10955 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10956 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10957 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
10958 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10960 { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10961 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10962 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10963 $as_echo_n "(cached) " >&6
10965 ac_check_lib_save_LIBS=$LIBS
10967 cat >conftest.$ac_ext <<_ACEOF
10970 cat confdefs.h >>conftest.$ac_ext
10971 cat >>conftest.$ac_ext <<_ACEOF
10972 /* end confdefs.h. */
10974 /* Override any GCC internal prototype to avoid an error.
10975 Use char because int might match the return type of a GCC
10976 builtin and then its argument prototype would still apply. */
10984 return dld_link ();
10989 rm -f conftest.$ac_objext conftest$ac_exeext
10990 if { (ac_try="$ac_link"
10991 case "(($ac_try" in
10992 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10993 *) ac_try_echo
=$ac_try;;
10995 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10996 $as_echo "$ac_try_echo") >&5
10997 (eval "$ac_link") 2>conftest.er1
10999 grep -v '^ *+' conftest.er1
>conftest.err
11001 cat conftest.err
>&5
11002 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11003 (exit $ac_status); } && {
11004 test -z "$ac_c_werror_flag" ||
11005 test ! -s conftest.err
11006 } && test -s conftest
$ac_exeext && {
11007 test "$cross_compiling" = yes ||
11008 $as_test_x conftest
$ac_exeext
11010 ac_cv_lib_dld_dld_link
=yes
11012 $as_echo "$as_me: failed program was:" >&5
11013 sed 's/^/| /' conftest.
$ac_ext >&5
11015 ac_cv_lib_dld_dld_link
=no
11018 rm -rf conftest.dSYM
11019 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11020 conftest
$ac_exeext conftest.
$ac_ext
11021 LIBS
=$ac_check_lib_save_LIBS
11023 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11024 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11025 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then
11026 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11047 if test "x$lt_cv_dlopen" != xno
; then
11053 case $lt_cv_dlopen in
11055 save_CPPFLAGS
="$CPPFLAGS"
11056 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11058 save_LDFLAGS
="$LDFLAGS"
11059 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11062 LIBS
="$lt_cv_dlopen_libs $LIBS"
11064 { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11065 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11066 if test "${lt_cv_dlopen_self+set}" = set; then
11067 $as_echo_n "(cached) " >&6
11069 if test "$cross_compiling" = yes; then :
11070 lt_cv_dlopen_self
=cross
11072 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11073 lt_status
=$lt_dlunknown
11074 cat > conftest.
$ac_ext <<_LT_EOF
11075 #line 11075 "configure"
11076 #include "confdefs.h"
11085 # define LT_DLGLOBAL RTLD_GLOBAL
11088 # define LT_DLGLOBAL DL_GLOBAL
11090 # define LT_DLGLOBAL 0
11094 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11095 find out it does not work in some platform. */
11096 #ifndef LT_DLLAZY_OR_NOW
11098 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11101 # define LT_DLLAZY_OR_NOW DL_LAZY
11104 # define LT_DLLAZY_OR_NOW RTLD_NOW
11107 # define LT_DLLAZY_OR_NOW DL_NOW
11109 # define LT_DLLAZY_OR_NOW 0
11116 void fnord() { int i=42;}
11119 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11120 int status = $lt_dlunknown;
11124 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11125 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11126 /* dlclose (self); */
11134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11135 (eval $ac_link) 2>&5
11137 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11138 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11139 (.
/conftest
; exit; ) >&5 2>/dev
/null
11141 case x
$lt_status in
11142 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11143 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11144 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11147 # compilation failed
11148 lt_cv_dlopen_self
=no
11155 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11156 $as_echo "$lt_cv_dlopen_self" >&6; }
11158 if test "x$lt_cv_dlopen_self" = xyes
; then
11159 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11160 { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11161 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11162 if test "${lt_cv_dlopen_self_static+set}" = set; then
11163 $as_echo_n "(cached) " >&6
11165 if test "$cross_compiling" = yes; then :
11166 lt_cv_dlopen_self_static
=cross
11168 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11169 lt_status
=$lt_dlunknown
11170 cat > conftest.
$ac_ext <<_LT_EOF
11171 #line 11171 "configure"
11172 #include "confdefs.h"
11181 # define LT_DLGLOBAL RTLD_GLOBAL
11184 # define LT_DLGLOBAL DL_GLOBAL
11186 # define LT_DLGLOBAL 0
11190 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11191 find out it does not work in some platform. */
11192 #ifndef LT_DLLAZY_OR_NOW
11194 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11197 # define LT_DLLAZY_OR_NOW DL_LAZY
11200 # define LT_DLLAZY_OR_NOW RTLD_NOW
11203 # define LT_DLLAZY_OR_NOW DL_NOW
11205 # define LT_DLLAZY_OR_NOW 0
11212 void fnord() { int i=42;}
11215 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11216 int status = $lt_dlunknown;
11220 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11221 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11222 /* dlclose (self); */
11230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11231 (eval $ac_link) 2>&5
11233 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11234 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11235 (.
/conftest
; exit; ) >&5 2>/dev
/null
11237 case x
$lt_status in
11238 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11239 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11240 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11243 # compilation failed
11244 lt_cv_dlopen_self_static
=no
11251 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11252 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11255 CPPFLAGS
="$save_CPPFLAGS"
11256 LDFLAGS
="$save_LDFLAGS"
11261 case $lt_cv_dlopen_self in
11262 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11263 *) enable_dlopen_self
=unknown
;;
11266 case $lt_cv_dlopen_self_static in
11267 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11268 *) enable_dlopen_self_static
=unknown
;;
11290 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11291 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11292 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11293 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11294 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11295 { $as_echo "$as_me:$LINENO: result: yes" >&5
11296 $as_echo "yes" >&6; }
11298 # FIXME - insert some real tests, host_os isn't really good enough
11301 if test -n "$STRIP" ; then
11302 striplib
="$STRIP -x"
11303 old_striplib
="$STRIP -S"
11304 { $as_echo "$as_me:$LINENO: result: yes" >&5
11305 $as_echo "yes" >&6; }
11307 { $as_echo "$as_me:$LINENO: result: no" >&5
11308 $as_echo "no" >&6; }
11312 { $as_echo "$as_me:$LINENO: result: no" >&5
11313 $as_echo "no" >&6; }
11329 # Report which library types will actually be built
11330 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11331 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11332 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
11333 $as_echo "$can_build_shared" >&6; }
11335 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11336 $as_echo_n "checking whether to build shared libraries... " >&6; }
11337 test "$can_build_shared" = "no" && enable_shared
=no
11339 # On AIX, shared libraries and static libraries use the same namespace, and
11340 # are all built from PIC.
11343 test "$enable_shared" = yes && enable_static
=no
11344 if test -n "$RANLIB"; then
11345 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11346 postinstall_cmds
='$RANLIB $lib'
11351 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11352 test "$enable_shared" = yes && enable_static
=no
11356 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
11357 $as_echo "$enable_shared" >&6; }
11359 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11360 $as_echo_n "checking whether to build static libraries... " >&6; }
11361 # Make sure either enable_shared or enable_static is yes.
11362 test "$enable_shared" = yes || enable_static
=yes
11363 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
11364 $as_echo "$enable_static" >&6; }
11371 ac_cpp
='$CPP $CPPFLAGS'
11372 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11373 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11374 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11390 ac_config_commands
="$ac_config_commands libtool"
11395 # Only expand once:
11398 { $as_echo "$as_me:$LINENO: checking which extension is used for runtime loadable modules" >&5
11399 $as_echo_n "checking which extension is used for runtime loadable modules... " >&6; }
11400 if test "${libltdl_cv_shlibext+set}" = set; then
11401 $as_echo_n "(cached) " >&6
11405 eval libltdl_cv_shlibext
=$shrext_cmds
11408 { $as_echo "$as_me:$LINENO: result: $libltdl_cv_shlibext" >&5
11409 $as_echo "$libltdl_cv_shlibext" >&6; }
11410 if test -n "$libltdl_cv_shlibext"; then
11412 cat >>confdefs.h
<<_ACEOF
11413 #define LT_MODULE_EXT "$libltdl_cv_shlibext"
11418 { $as_echo "$as_me:$LINENO: checking which variable specifies run-time module search path" >&5
11419 $as_echo_n "checking which variable specifies run-time module search path... " >&6; }
11420 if test "${lt_cv_module_path_var+set}" = set; then
11421 $as_echo_n "(cached) " >&6
11423 lt_cv_module_path_var
="$shlibpath_var"
11425 { $as_echo "$as_me:$LINENO: result: $lt_cv_module_path_var" >&5
11426 $as_echo "$lt_cv_module_path_var" >&6; }
11427 if test -n "$lt_cv_module_path_var"; then
11429 cat >>confdefs.h
<<_ACEOF
11430 #define LT_MODULE_PATH_VAR "$lt_cv_module_path_var"
11435 { $as_echo "$as_me:$LINENO: checking for the default library search path" >&5
11436 $as_echo_n "checking for the default library search path... " >&6; }
11437 if test "${lt_cv_sys_dlsearch_path+set}" = set; then
11438 $as_echo_n "(cached) " >&6
11440 lt_cv_sys_dlsearch_path
="$sys_lib_dlsearch_path_spec"
11442 { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_dlsearch_path" >&5
11443 $as_echo "$lt_cv_sys_dlsearch_path" >&6; }
11444 if test -n "$lt_cv_sys_dlsearch_path"; then
11446 for dir
in $lt_cv_sys_dlsearch_path; do
11447 if test -z "$sys_dlsearch_path"; then
11448 sys_dlsearch_path
="$dir"
11450 sys_dlsearch_path
="$sys_dlsearch_path$PATH_SEPARATOR$dir"
11454 cat >>confdefs.h
<<_ACEOF
11455 #define LT_DLSEARCH_PATH "$sys_dlsearch_path"
11465 ac_cpp
='$CPP $CPPFLAGS'
11466 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11467 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11468 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11472 { $as_echo "$as_me:$LINENO: checking for library containing dlopen" >&5
11473 $as_echo_n "checking for library containing dlopen... " >&6; }
11474 if test "${ac_cv_search_dlopen+set}" = set; then
11475 $as_echo_n "(cached) " >&6
11477 ac_func_search_save_LIBS
=$LIBS
11478 cat >conftest.
$ac_ext <<_ACEOF
11481 cat confdefs.h
>>conftest.
$ac_ext
11482 cat >>conftest.
$ac_ext <<_ACEOF
11483 /* end confdefs.h. */
11485 /* Override any GCC internal prototype to avoid an error.
11486 Use char because int might match the return type of a GCC
11487 builtin and then its argument prototype would still apply. */
11500 for ac_lib
in '' dl
; do
11501 if test -z "$ac_lib"; then
11502 ac_res
="none required"
11505 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
11507 rm -f conftest.
$ac_objext conftest
$ac_exeext
11508 if { (ac_try
="$ac_link"
11509 case "(($ac_try" in
11510 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11511 *) ac_try_echo=$ac_try;;
11513 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11514 $as_echo "$ac_try_echo") >&5
11515 (eval "$ac_link") 2>conftest.er1
11517 grep -v '^ *+' conftest.er1 >conftest.err
11519 cat conftest.err >&5
11520 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11521 (exit $ac_status); } && {
11522 test -z "$ac_c_werror_flag" ||
11523 test ! -s conftest.err
11524 } && test -s conftest$ac_exeext && {
11525 test "$cross_compiling" = yes ||
11526 $as_test_x conftest$ac_exeext
11528 ac_cv_search_dlopen=$ac_res
11530 $as_echo "$as_me: failed program was:" >&5
11531 sed 's/^/| /' conftest.$ac_ext >&5
11536 rm -rf conftest.dSYM
11537 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11539 if test "${ac_cv_search_dlopen+set}" = set; then
11543 if test "${ac_cv_search_dlopen+set}" = set; then
11546 ac_cv_search_dlopen=no
11548 rm conftest.$ac_ext
11549 LIBS=$ac_func_search_save_LIBS
11551 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
11552 $as_echo "$ac_cv_search_dlopen" >&6; }
11553 ac_res=$ac_cv_search_dlopen
11554 if test "$ac_res" != no; then
11555 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
11557 cat >>confdefs.h <<\_ACEOF
11558 #define HAVE_LIBDL 1
11561 if test "$ac_cv_search_dlopen" != "none required" ; then
11562 LIBADD_DLOPEN="-ldl"
11564 libltdl_cv_lib_dl_dlopen="yes"
11565 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
11567 cat >conftest.$ac_ext <<_ACEOF
11570 cat confdefs.h >>conftest.$ac_ext
11571 cat >>conftest.$ac_ext <<_ACEOF
11572 /* end confdefs.h. */
11574 # include <dlfcn.h>
11585 rm -f conftest.$ac_objext conftest$ac_exeext
11586 if { (ac_try="$ac_link"
11587 case "(($ac_try" in
11588 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11589 *) ac_try_echo
=$ac_try;;
11591 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11592 $as_echo "$ac_try_echo") >&5
11593 (eval "$ac_link") 2>conftest.er1
11595 grep -v '^ *+' conftest.er1
>conftest.err
11597 cat conftest.err
>&5
11598 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11599 (exit $ac_status); } && {
11600 test -z "$ac_c_werror_flag" ||
11601 test ! -s conftest.err
11602 } && test -s conftest
$ac_exeext && {
11603 test "$cross_compiling" = yes ||
11604 $as_test_x conftest
$ac_exeext
11607 cat >>confdefs.h
<<\_ACEOF
11608 #define HAVE_LIBDL 1
11611 libltdl_cv_func_dlopen
="yes"
11612 LT_DLLOADERS
="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
11614 $as_echo "$as_me: failed program was:" >&5
11615 sed 's/^/| /' conftest.
$ac_ext >&5
11617 { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11618 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11619 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11620 $as_echo_n "(cached) " >&6
11622 ac_check_lib_save_LIBS
=$LIBS
11623 LIBS
="-lsvld $LIBS"
11624 cat >conftest.
$ac_ext <<_ACEOF
11627 cat confdefs.h
>>conftest.
$ac_ext
11628 cat >>conftest.
$ac_ext <<_ACEOF
11629 /* end confdefs.h. */
11631 /* Override any GCC internal prototype to avoid an error.
11632 Use char because int might match the return type of a GCC
11633 builtin and then its argument prototype would still apply. */
11646 rm -f conftest.
$ac_objext conftest
$ac_exeext
11647 if { (ac_try
="$ac_link"
11648 case "(($ac_try" in
11649 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11650 *) ac_try_echo=$ac_try;;
11652 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11653 $as_echo "$ac_try_echo") >&5
11654 (eval "$ac_link") 2>conftest.er1
11656 grep -v '^ *+' conftest.er1 >conftest.err
11658 cat conftest.err >&5
11659 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11660 (exit $ac_status); } && {
11661 test -z "$ac_c_werror_flag" ||
11662 test ! -s conftest.err
11663 } && test -s conftest$ac_exeext && {
11664 test "$cross_compiling" = yes ||
11665 $as_test_x conftest$ac_exeext
11667 ac_cv_lib_svld_dlopen=yes
11669 $as_echo "$as_me: failed program was:" >&5
11670 sed 's/^/| /' conftest.$ac_ext >&5
11672 ac_cv_lib_svld_dlopen=no
11675 rm -rf conftest.dSYM
11676 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11677 conftest$ac_exeext conftest.$ac_ext
11678 LIBS=$ac_check_lib_save_LIBS
11680 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11681 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11682 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
11684 cat >>confdefs.h <<\_ACEOF
11685 #define HAVE_LIBDL 1
11688 LIBADD_DLOPEN="-lsvld" libltdl_cv_func_dlopen="yes"
11689 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
11694 rm -rf conftest.dSYM
11695 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11696 conftest$ac_exeext conftest.$ac_ext
11699 if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
11701 lt_save_LIBS="$LIBS"
11702 LIBS="$LIBS $LIBADD_DLOPEN"
11704 for ac_func in dlerror
11706 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
11707 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
11708 $as_echo_n "checking for $ac_func... " >&6; }
11709 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11710 $as_echo_n "(cached) " >&6
11712 cat >conftest.$ac_ext <<_ACEOF
11715 cat confdefs.h >>conftest.$ac_ext
11716 cat >>conftest.$ac_ext <<_ACEOF
11717 /* end confdefs.h. */
11718 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11719 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11720 #define $ac_func innocuous_$ac_func
11722 /* System header to define __stub macros and hopefully few prototypes,
11723 which can conflict with char $ac_func (); below.
11724 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11725 <limits.h> exists even on freestanding compilers. */
11728 # include <limits.h>
11730 # include <assert.h>
11735 /* Override any GCC internal prototype to avoid an error.
11736 Use char because int might match the return type of a GCC
11737 builtin and then its argument prototype would still apply. */
11742 /* The GNU C library defines this for functions which it implements
11743 to always fail with ENOSYS. Some functions are actually named
11744 something starting with __ and the normal name is an alias. */
11745 #if defined __stub_$ac_func || defined __stub___$ac_func
11752 return $ac_func ();
11757 rm -f conftest.$ac_objext conftest$ac_exeext
11758 if { (ac_try="$ac_link"
11759 case "(($ac_try" in
11760 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11761 *) ac_try_echo
=$ac_try;;
11763 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11764 $as_echo "$ac_try_echo") >&5
11765 (eval "$ac_link") 2>conftest.er1
11767 grep -v '^ *+' conftest.er1
>conftest.err
11769 cat conftest.err
>&5
11770 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11771 (exit $ac_status); } && {
11772 test -z "$ac_c_werror_flag" ||
11773 test ! -s conftest.err
11774 } && test -s conftest
$ac_exeext && {
11775 test "$cross_compiling" = yes ||
11776 $as_test_x conftest
$ac_exeext
11778 eval "$as_ac_var=yes"
11780 $as_echo "$as_me: failed program was:" >&5
11781 sed 's/^/| /' conftest.
$ac_ext >&5
11783 eval "$as_ac_var=no"
11786 rm -rf conftest.dSYM
11787 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11788 conftest
$ac_exeext conftest.
$ac_ext
11790 ac_res
=`eval 'as_val=${'$as_ac_var'}
11791 $as_echo "$as_val"'`
11792 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11793 $as_echo "$ac_res" >&6; }
11794 as_val
=`eval 'as_val=${'$as_ac_var'}
11795 $as_echo "$as_val"'`
11796 if test "x$as_val" = x
""yes; then
11797 cat >>confdefs.h
<<_ACEOF
11798 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11804 LIBS
="$lt_save_LIBS"
11809 { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
11810 $as_echo_n "checking for shl_load... " >&6; }
11811 if test "${ac_cv_func_shl_load+set}" = set; then
11812 $as_echo_n "(cached) " >&6
11814 cat >conftest.
$ac_ext <<_ACEOF
11817 cat confdefs.h
>>conftest.
$ac_ext
11818 cat >>conftest.
$ac_ext <<_ACEOF
11819 /* end confdefs.h. */
11820 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
11821 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11822 #define shl_load innocuous_shl_load
11824 /* System header to define __stub macros and hopefully few prototypes,
11825 which can conflict with char shl_load (); below.
11826 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11827 <limits.h> exists even on freestanding compilers. */
11830 # include <limits.h>
11832 # include <assert.h>
11837 /* Override any GCC internal prototype to avoid an error.
11838 Use char because int might match the return type of a GCC
11839 builtin and then its argument prototype would still apply. */
11844 /* The GNU C library defines this for functions which it implements
11845 to always fail with ENOSYS. Some functions are actually named
11846 something starting with __ and the normal name is an alias. */
11847 #if defined __stub_shl_load || defined __stub___shl_load
11854 return shl_load ();
11859 rm -f conftest.
$ac_objext conftest
$ac_exeext
11860 if { (ac_try
="$ac_link"
11861 case "(($ac_try" in
11862 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11863 *) ac_try_echo=$ac_try;;
11865 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11866 $as_echo "$ac_try_echo") >&5
11867 (eval "$ac_link") 2>conftest.er1
11869 grep -v '^ *+' conftest.er1 >conftest.err
11871 cat conftest.err >&5
11872 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11873 (exit $ac_status); } && {
11874 test -z "$ac_c_werror_flag" ||
11875 test ! -s conftest.err
11876 } && test -s conftest$ac_exeext && {
11877 test "$cross_compiling" = yes ||
11878 $as_test_x conftest$ac_exeext
11880 ac_cv_func_shl_load=yes
11882 $as_echo "$as_me: failed program was:" >&5
11883 sed 's/^/| /' conftest.$ac_ext >&5
11885 ac_cv_func_shl_load=no
11888 rm -rf conftest.dSYM
11889 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11890 conftest$ac_exeext conftest.$ac_ext
11892 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11893 $as_echo "$ac_cv_func_shl_load" >&6; }
11894 if test "x$ac_cv_func_shl_load" = x""yes; then
11896 cat >>confdefs.h <<\_ACEOF
11897 #define HAVE_SHL_LOAD 1
11900 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
11902 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11903 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11904 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11905 $as_echo_n "(cached) " >&6
11907 ac_check_lib_save_LIBS=$LIBS
11909 cat >conftest.$ac_ext <<_ACEOF
11912 cat confdefs.h >>conftest.$ac_ext
11913 cat >>conftest.$ac_ext <<_ACEOF
11914 /* end confdefs.h. */
11916 /* Override any GCC internal prototype to avoid an error.
11917 Use char because int might match the return type of a GCC
11918 builtin and then its argument prototype would still apply. */
11926 return shl_load ();
11931 rm -f conftest.$ac_objext conftest$ac_exeext
11932 if { (ac_try="$ac_link"
11933 case "(($ac_try" in
11934 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11935 *) ac_try_echo
=$ac_try;;
11937 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11938 $as_echo "$ac_try_echo") >&5
11939 (eval "$ac_link") 2>conftest.er1
11941 grep -v '^ *+' conftest.er1
>conftest.err
11943 cat conftest.err
>&5
11944 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11945 (exit $ac_status); } && {
11946 test -z "$ac_c_werror_flag" ||
11947 test ! -s conftest.err
11948 } && test -s conftest
$ac_exeext && {
11949 test "$cross_compiling" = yes ||
11950 $as_test_x conftest
$ac_exeext
11952 ac_cv_lib_dld_shl_load
=yes
11954 $as_echo "$as_me: failed program was:" >&5
11955 sed 's/^/| /' conftest.
$ac_ext >&5
11957 ac_cv_lib_dld_shl_load
=no
11960 rm -rf conftest.dSYM
11961 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11962 conftest
$ac_exeext conftest.
$ac_ext
11963 LIBS
=$ac_check_lib_save_LIBS
11965 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11966 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11967 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then
11969 cat >>confdefs.h
<<\_ACEOF
11970 #define HAVE_SHL_LOAD 1
11973 LT_DLLOADERS
="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
11974 LIBADD_SHL_LOAD
="-ldld"
11983 # We only want this for pre-Mac OS X 10.4.
11984 { $as_echo "$as_me:$LINENO: checking for _dyld_func_lookup" >&5
11985 $as_echo_n "checking for _dyld_func_lookup... " >&6; }
11986 if test "${ac_cv_func__dyld_func_lookup+set}" = set; then
11987 $as_echo_n "(cached) " >&6
11989 cat >conftest.
$ac_ext <<_ACEOF
11992 cat confdefs.h
>>conftest.
$ac_ext
11993 cat >>conftest.
$ac_ext <<_ACEOF
11994 /* end confdefs.h. */
11995 /* Define _dyld_func_lookup to an innocuous variant, in case <limits.h> declares _dyld_func_lookup.
11996 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11997 #define _dyld_func_lookup innocuous__dyld_func_lookup
11999 /* System header to define __stub macros and hopefully few prototypes,
12000 which can conflict with char _dyld_func_lookup (); below.
12001 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12002 <limits.h> exists even on freestanding compilers. */
12005 # include <limits.h>
12007 # include <assert.h>
12010 #undef _dyld_func_lookup
12012 /* Override any GCC internal prototype to avoid an error.
12013 Use char because int might match the return type of a GCC
12014 builtin and then its argument prototype would still apply. */
12018 char _dyld_func_lookup ();
12019 /* The GNU C library defines this for functions which it implements
12020 to always fail with ENOSYS. Some functions are actually named
12021 something starting with __ and the normal name is an alias. */
12022 #if defined __stub__dyld_func_lookup || defined __stub____dyld_func_lookup
12029 return _dyld_func_lookup ();
12034 rm -f conftest.
$ac_objext conftest
$ac_exeext
12035 if { (ac_try
="$ac_link"
12036 case "(($ac_try" in
12037 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12038 *) ac_try_echo=$ac_try;;
12040 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12041 $as_echo "$ac_try_echo") >&5
12042 (eval "$ac_link") 2>conftest.er1
12044 grep -v '^ *+' conftest.er1 >conftest.err
12046 cat conftest.err >&5
12047 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12048 (exit $ac_status); } && {
12049 test -z "$ac_c_werror_flag" ||
12050 test ! -s conftest.err
12051 } && test -s conftest$ac_exeext && {
12052 test "$cross_compiling" = yes ||
12053 $as_test_x conftest$ac_exeext
12055 ac_cv_func__dyld_func_lookup=yes
12057 $as_echo "$as_me: failed program was:" >&5
12058 sed 's/^/| /' conftest.$ac_ext >&5
12060 ac_cv_func__dyld_func_lookup=no
12063 rm -rf conftest.dSYM
12064 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12065 conftest$ac_exeext conftest.$ac_ext
12067 { $as_echo "$as_me:$LINENO: result: $ac_cv_func__dyld_func_lookup" >&5
12068 $as_echo "$ac_cv_func__dyld_func_lookup" >&6; }
12069 if test "x$ac_cv_func__dyld_func_lookup" = x""yes; then
12071 cat >>confdefs.h <<\_ACEOF
12072 #define HAVE_DYLD 1
12075 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"
12080 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
12082 cygwin* | mingw* | os2* | pw32*)
12083 { $as_echo "$as_me:$LINENO: checking whether cygwin_conv_path is declared" >&5
12084 $as_echo_n "checking whether cygwin_conv_path is declared... " >&6; }
12085 if test "${ac_cv_have_decl_cygwin_conv_path+set}" = set; then
12086 $as_echo_n "(cached) " >&6
12088 cat >conftest.$ac_ext <<_ACEOF
12091 cat confdefs.h >>conftest.$ac_ext
12092 cat >>conftest.$ac_ext <<_ACEOF
12093 /* end confdefs.h. */
12094 #include <sys/cygwin.h>
12099 #ifndef cygwin_conv_path
12100 (void) cygwin_conv_path;
12107 rm -f conftest.$ac_objext
12108 if { (ac_try="$ac_compile"
12109 case "(($ac_try" in
12110 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12111 *) ac_try_echo
=$ac_try;;
12113 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12114 $as_echo "$ac_try_echo") >&5
12115 (eval "$ac_compile") 2>conftest.er1
12117 grep -v '^ *+' conftest.er1
>conftest.err
12119 cat conftest.err
>&5
12120 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12121 (exit $ac_status); } && {
12122 test -z "$ac_c_werror_flag" ||
12123 test ! -s conftest.err
12124 } && test -s conftest.
$ac_objext; then
12125 ac_cv_have_decl_cygwin_conv_path
=yes
12127 $as_echo "$as_me: failed program was:" >&5
12128 sed 's/^/| /' conftest.
$ac_ext >&5
12130 ac_cv_have_decl_cygwin_conv_path
=no
12133 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12135 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_cygwin_conv_path" >&5
12136 $as_echo "$ac_cv_have_decl_cygwin_conv_path" >&6; }
12137 if test "x$ac_cv_have_decl_cygwin_conv_path" = x
""yes; then
12139 cat >>confdefs.h
<<_ACEOF
12140 #define HAVE_DECL_CYGWIN_CONV_PATH 1
12145 cat >>confdefs.h
<<_ACEOF
12146 #define HAVE_DECL_CYGWIN_CONV_PATH 0
12153 LT_DLLOADERS
="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
12157 { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12158 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12159 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12160 $as_echo_n "(cached) " >&6
12162 ac_check_lib_save_LIBS
=$LIBS
12164 cat >conftest.
$ac_ext <<_ACEOF
12167 cat confdefs.h
>>conftest.
$ac_ext
12168 cat >>conftest.
$ac_ext <<_ACEOF
12169 /* end confdefs.h. */
12171 /* Override any GCC internal prototype to avoid an error.
12172 Use char because int might match the return type of a GCC
12173 builtin and then its argument prototype would still apply. */
12181 return dld_link ();
12186 rm -f conftest.
$ac_objext conftest
$ac_exeext
12187 if { (ac_try
="$ac_link"
12188 case "(($ac_try" in
12189 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12190 *) ac_try_echo=$ac_try;;
12192 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12193 $as_echo "$ac_try_echo") >&5
12194 (eval "$ac_link") 2>conftest.er1
12196 grep -v '^ *+' conftest.er1 >conftest.err
12198 cat conftest.err >&5
12199 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12200 (exit $ac_status); } && {
12201 test -z "$ac_c_werror_flag" ||
12202 test ! -s conftest.err
12203 } && test -s conftest$ac_exeext && {
12204 test "$cross_compiling" = yes ||
12205 $as_test_x conftest$ac_exeext
12207 ac_cv_lib_dld_dld_link=yes
12209 $as_echo "$as_me: failed program was:" >&5
12210 sed 's/^/| /' conftest.$ac_ext >&5
12212 ac_cv_lib_dld_dld_link=no
12215 rm -rf conftest.dSYM
12216 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12217 conftest$ac_exeext conftest.$ac_ext
12218 LIBS=$ac_check_lib_save_LIBS
12220 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12221 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12222 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
12224 cat >>confdefs.h <<\_ACEOF
12228 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"
12235 if test -n "$LT_DLLOADERS"
12237 for lt_loader in $LT_DLLOADERS; do
12238 LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
12241 cat >>confdefs.h <<\_ACEOF
12242 #define HAVE_LIBDLLOADER 1
12248 LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
12252 ac_cpp='$CPP $CPPFLAGS'
12253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12258 { $as_echo "$as_me:$LINENO: checking for _ prefix in compiled symbols" >&5
12259 $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
12260 if test "${lt_cv_sys_symbol_underscore+set}" = set; then
12261 $as_echo_n "(cached) " >&6
12263 lt_cv_sys_symbol_underscore=no
12264 cat > conftest.$ac_ext <<_LT_EOF
12265 void nm_test_func(){}
12266 int main(){nm_test_func;return 0;}
12268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12269 (eval $ac_compile) 2>&5
12271 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12272 (exit $ac_status); }; then
12273 # Now try to grab the symbols.
12274 ac_nlist=conftest.nm
12275 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\"") >&5
12276 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5
12278 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12279 (exit $ac_status); } && test -s "$ac_nlist"; then
12280 # See whether the symbols have a leading underscore.
12281 if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
12282 lt_cv_sys_symbol_underscore=yes
12284 if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
12287 echo "configure: cannot find nm_test_func in $ac_nlist" >&5
12291 echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&5
12294 echo "configure: failed program was:" >&5
12300 { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_symbol_underscore" >&5
12301 $as_echo "$lt_cv_sys_symbol_underscore" >&6; }
12302 sys_symbol_underscore=$lt_cv_sys_symbol_underscore
12305 if test x"$lt_cv_sys_symbol_underscore" = xyes; then
12306 if test x"$libltdl_cv_func_dlopen" = xyes ||
12307 test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
12308 { $as_echo "$as_me:$LINENO: checking whether we have to add an underscore for dlsym" >&5
12309 $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
12310 if test "${libltdl_cv_need_uscore+set}" = set; then
12311 $as_echo_n "(cached) " >&6
12313 libltdl_cv_need_uscore=unknown
12315 LIBS="$LIBS $LIBADD_DLOPEN"
12316 if test "$cross_compiling" = yes; then :
12317 libltdl_cv_need_uscore=cross
12319 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12320 lt_status=$lt_dlunknown
12321 cat > conftest.$ac_ext <<_LT_EOF
12322 #line 12322 "configure"
12323 #include "confdefs.h"
12332 # define LT_DLGLOBAL RTLD_GLOBAL
12335 # define LT_DLGLOBAL DL_GLOBAL
12337 # define LT_DLGLOBAL 0
12341 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12342 find out it does not work in some platform. */
12343 #ifndef LT_DLLAZY_OR_NOW
12345 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12348 # define LT_DLLAZY_OR_NOW DL_LAZY
12351 # define LT_DLLAZY_OR_NOW RTLD_NOW
12354 # define LT_DLLAZY_OR_NOW DL_NOW
12356 # define LT_DLLAZY_OR_NOW 0
12363 void fnord() { int i=42;}
12366 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12367 int status = $lt_dlunknown;
12371 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12372 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12373 /* dlclose (self); */
12381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12382 (eval $ac_link) 2>&5
12384 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12385 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12386 (./conftest; exit; ) >&5 2>/dev/null
12388 case x$lt_status in
12389 x$lt_dlno_uscore) libltdl_cv_need_uscore=no ;;
12390 x$lt_dlneed_uscore) libltdl_cv_need_uscore=yes ;;
12391 x$lt_dlunknown|x*) ;;
12394 # compilation failed
12403 { $as_echo "$as_me:$LINENO: result: $libltdl_cv_need_uscore" >&5
12404 $as_echo "$libltdl_cv_need_uscore" >&6; }
12408 if test x"$libltdl_cv_need_uscore" = xyes; then
12410 cat >>confdefs.h <<\_ACEOF
12411 #define NEED_USCORE 1
12416 { $as_echo "$as_me:$LINENO: checking whether deplibs are loaded by dlopen" >&5
12417 $as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
12418 if test "${lt_cv_sys_dlopen_deplibs+set}" = set; then
12419 $as_echo_n "(cached) " >&6
12421 # PORTME does your system automatically load deplibs for dlopen?
12422 # or its logical equivalent (e.g. shl_load for HP-UX < 11)
12423 # For now, we just catch OSes we know something about -- in the
12424 # future, we'll try test this programmatically.
12425 lt_cv_sys_dlopen_deplibs=unknown
12427 aix3*|aix4.1.*|aix4.2.*)
12428 # Unknown whether this is true for these versions of AIX, but
12429 # we want this `case' here to explicitly catch those versions.
12430 lt_cv_sys_dlopen_deplibs=unknown
12433 lt_cv_sys_dlopen_deplibs=yes
12438 lt_cv_sys_dlopen_deplibs=no
12443 # Assuming the user has installed a libdl from somewhere, this is true
12444 # If you are looking for one http://www.opendarwin.org/projects/dlcompat
12445 lt_cv_sys_dlopen_deplibs=yes
12447 freebsd* | dragonfly*)
12448 lt_cv_sys_dlopen_deplibs=yes
12450 gnu* | linux* | k*bsd*-gnu)
12451 # GNU and its variants, using gnu ld.so (Glibc)
12452 lt_cv_sys_dlopen_deplibs=yes
12455 lt_cv_sys_dlopen_deplibs=yes
12458 lt_cv_sys_dlopen_deplibs=yes
12460 irix[12345]*|irix6.[01]*)
12461 # Catch all versions of IRIX before 6.2, and indicate that we don't
12462 # know how it worked for any of those versions.
12463 lt_cv_sys_dlopen_deplibs
=unknown
12466 # The case above catches anything before 6.2, and it's known that
12467 # at 6.2 and later dlopen does load deplibs.
12468 lt_cv_sys_dlopen_deplibs
=yes
12471 lt_cv_sys_dlopen_deplibs
=yes
12474 lt_cv_sys_dlopen_deplibs
=yes
12477 # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
12478 # it did *not* use an RPATH in a shared library to find objects the
12479 # library depends on, so we explicitly say `no'.
12480 lt_cv_sys_dlopen_deplibs
=no
12482 osf5.0|osf5.0a|osf5.1
)
12483 # dlopen *does* load deplibs and with the right loader patch applied
12484 # it even uses RPATH in a shared library to search for shared objects
12485 # that the library depends on, but there's no easy way to know if that
12486 # patch is installed. Since this is the case, all we can really
12487 # say is unknown -- it depends on the patch being installed. If
12488 # it is, this changes to `yes'. Without it, it would be `no'.
12489 lt_cv_sys_dlopen_deplibs
=unknown
12492 # the two cases above should catch all versions of osf <= 5.1. Read
12493 # the comments above for what we know about them.
12494 # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
12495 # is used to find them so we can finally say `yes'.
12496 lt_cv_sys_dlopen_deplibs
=yes
12499 lt_cv_sys_dlopen_deplibs
=yes
12502 lt_cv_sys_dlopen_deplibs
=yes
12504 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12505 libltdl_cv_sys_dlopen_deplibs
=yes
12510 { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_dlopen_deplibs" >&5
12511 $as_echo "$lt_cv_sys_dlopen_deplibs" >&6; }
12512 if test "$lt_cv_sys_dlopen_deplibs" != yes; then
12514 cat >>confdefs.h
<<\_ACEOF
12515 #define LTDL_DLOPEN_DEPLIBS 1
12523 for ac_header
in argz.h
12525 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12526 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12527 $as_echo_n "checking for $ac_header... " >&6; }
12528 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12529 $as_echo_n "(cached) " >&6
12531 cat >conftest.
$ac_ext <<_ACEOF
12534 cat confdefs.h
>>conftest.
$ac_ext
12535 cat >>conftest.
$ac_ext <<_ACEOF
12536 /* end confdefs.h. */
12537 $ac_includes_default
12539 #include <$ac_header>
12541 rm -f conftest.
$ac_objext
12542 if { (ac_try
="$ac_compile"
12543 case "(($ac_try" in
12544 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12545 *) ac_try_echo=$ac_try;;
12547 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12548 $as_echo "$ac_try_echo") >&5
12549 (eval "$ac_compile") 2>conftest.er1
12551 grep -v '^ *+' conftest.er1 >conftest.err
12553 cat conftest.err >&5
12554 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12555 (exit $ac_status); } && {
12556 test -z "$ac_c_werror_flag" ||
12557 test ! -s conftest.err
12558 } && test -s conftest.$ac_objext; then
12559 eval "$as_ac_Header=yes"
12561 $as_echo "$as_me: failed program was:" >&5
12562 sed 's/^/| /' conftest.$ac_ext >&5
12564 eval "$as_ac_Header=no"
12567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12569 ac_res=`eval 'as_val=${'$as_ac_Header'}
12570 $as_echo "$as_val"'`
12571 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12572 $as_echo "$ac_res" >&6; }
12573 as_val=`eval 'as_val=${'$as_ac_Header'}
12574 $as_echo "$as_val"'`
12575 if test "x$as_val" = x""yes; then
12576 cat >>confdefs.h <<_ACEOF
12577 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
12585 { $as_echo "$as_me:$LINENO: checking for error_t" >&5
12586 $as_echo_n "checking for error_t... " >&6; }
12587 if test "${ac_cv_type_error_t+set}" = set; then
12588 $as_echo_n "(cached) " >&6
12590 ac_cv_type_error_t=no
12591 cat >conftest.$ac_ext <<_ACEOF
12594 cat confdefs.h >>conftest.$ac_ext
12595 cat >>conftest.$ac_ext <<_ACEOF
12596 /* end confdefs.h. */
12597 #if defined(HAVE_ARGZ_H)
12604 if (sizeof (error_t))
12610 rm -f conftest.$ac_objext
12611 if { (ac_try="$ac_compile"
12612 case "(($ac_try" in
12613 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12614 *) ac_try_echo
=$ac_try;;
12616 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12617 $as_echo "$ac_try_echo") >&5
12618 (eval "$ac_compile") 2>conftest.er1
12620 grep -v '^ *+' conftest.er1
>conftest.err
12622 cat conftest.err
>&5
12623 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12624 (exit $ac_status); } && {
12625 test -z "$ac_c_werror_flag" ||
12626 test ! -s conftest.err
12627 } && test -s conftest.
$ac_objext; then
12628 cat >conftest.
$ac_ext <<_ACEOF
12631 cat confdefs.h
>>conftest.
$ac_ext
12632 cat >>conftest.
$ac_ext <<_ACEOF
12633 /* end confdefs.h. */
12634 #if defined(HAVE_ARGZ_H)
12641 if (sizeof ((error_t)))
12647 rm -f conftest.
$ac_objext
12648 if { (ac_try
="$ac_compile"
12649 case "(($ac_try" in
12650 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12651 *) ac_try_echo=$ac_try;;
12653 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12654 $as_echo "$ac_try_echo") >&5
12655 (eval "$ac_compile") 2>conftest.er1
12657 grep -v '^ *+' conftest.er1 >conftest.err
12659 cat conftest.err >&5
12660 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12661 (exit $ac_status); } && {
12662 test -z "$ac_c_werror_flag" ||
12663 test ! -s conftest.err
12664 } && test -s conftest.$ac_objext; then
12667 $as_echo "$as_me: failed program was:" >&5
12668 sed 's/^/| /' conftest.$ac_ext >&5
12670 ac_cv_type_error_t=yes
12673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12675 $as_echo "$as_me: failed program was:" >&5
12676 sed 's/^/| /' conftest.$ac_ext >&5
12681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12683 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_error_t" >&5
12684 $as_echo "$ac_cv_type_error_t" >&6; }
12685 if test "x$ac_cv_type_error_t" = x""yes; then
12687 cat >>confdefs.h <<_ACEOF
12688 #define HAVE_ERROR_T 1
12694 cat >>confdefs.h <<\_ACEOF
12695 #define error_t int
12699 cat >>confdefs.h <<\_ACEOF
12700 #define __error_t_defined 1
12714 for ac_func in argz_add argz_append argz_count argz_create_sep argz_insert \
12715 argz_next argz_stringify
12717 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
12718 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
12719 $as_echo_n "checking for $ac_func... " >&6; }
12720 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12721 $as_echo_n "(cached) " >&6
12723 cat >conftest.$ac_ext <<_ACEOF
12726 cat confdefs.h >>conftest.$ac_ext
12727 cat >>conftest.$ac_ext <<_ACEOF
12728 /* end confdefs.h. */
12729 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12730 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12731 #define $ac_func innocuous_$ac_func
12733 /* System header to define __stub macros and hopefully few prototypes,
12734 which can conflict with char $ac_func (); below.
12735 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12736 <limits.h> exists even on freestanding compilers. */
12739 # include <limits.h>
12741 # include <assert.h>
12746 /* Override any GCC internal prototype to avoid an error.
12747 Use char because int might match the return type of a GCC
12748 builtin and then its argument prototype would still apply. */
12753 /* The GNU C library defines this for functions which it implements
12754 to always fail with ENOSYS. Some functions are actually named
12755 something starting with __ and the normal name is an alias. */
12756 #if defined __stub_$ac_func || defined __stub___$ac_func
12763 return $ac_func ();
12768 rm -f conftest.$ac_objext conftest$ac_exeext
12769 if { (ac_try="$ac_link"
12770 case "(($ac_try" in
12771 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12772 *) ac_try_echo
=$ac_try;;
12774 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12775 $as_echo "$ac_try_echo") >&5
12776 (eval "$ac_link") 2>conftest.er1
12778 grep -v '^ *+' conftest.er1
>conftest.err
12780 cat conftest.err
>&5
12781 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12782 (exit $ac_status); } && {
12783 test -z "$ac_c_werror_flag" ||
12784 test ! -s conftest.err
12785 } && test -s conftest
$ac_exeext && {
12786 test "$cross_compiling" = yes ||
12787 $as_test_x conftest
$ac_exeext
12789 eval "$as_ac_var=yes"
12791 $as_echo "$as_me: failed program was:" >&5
12792 sed 's/^/| /' conftest.
$ac_ext >&5
12794 eval "$as_ac_var=no"
12797 rm -rf conftest.dSYM
12798 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12799 conftest
$ac_exeext conftest.
$ac_ext
12801 ac_res
=`eval 'as_val=${'$as_ac_var'}
12802 $as_echo "$as_val"'`
12803 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12804 $as_echo "$ac_res" >&6; }
12805 as_val
=`eval 'as_val=${'$as_ac_var'}
12806 $as_echo "$as_val"'`
12807 if test "x$as_val" = x
""yes; then
12808 cat >>confdefs.h
<<_ACEOF
12809 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12813 ARGZ_H
=argz.h
; case " $LIBOBJS " in
12814 *" argz.$ac_objext "* ) ;;
12815 *) LIBOBJS
="$LIBOBJS argz.$ac_objext"
12823 if test -z "$ARGZ_H"; then
12824 { $as_echo "$as_me:$LINENO: checking if argz actually works" >&5
12825 $as_echo_n "checking if argz actually works... " >&6; }
12826 if test "${lt_cv_sys_argz_works+set}" = set; then
12827 $as_echo_n "(cached) " >&6
12829 case $host_os in #(
12831 lt_cv_sys_argz_works
=no
12832 if test "$cross_compiling" != no
; then
12833 lt_cv_sys_argz_works
="guessing no"
12835 lt_sed_extract_leading_digits
='s/^\([0-9\.]*\).*/\1/'
12838 set x
`uname -r | sed -e "$lt_sed_extract_leading_digits"`
12843 if test "$lt_os_major" -gt 1 \
12844 ||
{ test "$lt_os_major" -eq 1 \
12845 && { test "$lt_os_minor" -gt 5 \
12846 ||
{ test "$lt_os_minor" -eq 5 \
12847 && test "$lt_os_micro" -gt 24; }; }; }; then
12848 lt_cv_sys_argz_works
=yes
12852 *) lt_cv_sys_argz_works
=yes ;;
12855 { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_argz_works" >&5
12856 $as_echo "$lt_cv_sys_argz_works" >&6; }
12857 if test $lt_cv_sys_argz_works = yes; then
12859 cat >>confdefs.h
<<\_ACEOF
12860 #define HAVE_WORKING_ARGZ 1
12865 case " $LIBOBJS " in
12866 *" argz.$ac_objext "* ) ;;
12867 *) LIBOBJS
="$LIBOBJS argz.$ac_objext"
12878 { $as_echo "$as_me:$LINENO: checking whether libtool supports -dlopen/-dlpreopen" >&5
12879 $as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
12880 if test "${libltdl_cv_preloaded_symbols+set}" = set; then
12881 $as_echo_n "(cached) " >&6
12883 if test -n "$lt_cv_sys_global_symbol_pipe"; then
12884 libltdl_cv_preloaded_symbols
=yes
12886 libltdl_cv_preloaded_symbols
=no
12890 { $as_echo "$as_me:$LINENO: result: $libltdl_cv_preloaded_symbols" >&5
12891 $as_echo "$libltdl_cv_preloaded_symbols" >&6; }
12892 if test x
"$libltdl_cv_preloaded_symbols" = xyes
; then
12894 cat >>confdefs.h
<<\_ACEOF
12895 #define HAVE_PRELOADED_SYMBOLS 1
12902 # Check whether --enable-ltdl-install was given.
12903 if test "${enable_ltdl_install+set}" = set; then
12904 enableval
=$enable_ltdl_install;
12908 case ,${enable_ltdl_install},${enable_ltdl_convenience} in
12910 *) enable_ltdl_convenience
=yes ;;
12913 if test x
"${enable_ltdl_install-no}" != xno
; then
12915 INSTALL_LTDL_FALSE
='#'
12917 INSTALL_LTDL_TRUE
='#'
12918 INSTALL_LTDL_FALSE
=
12921 if test x
"${enable_ltdl_convenience-no}" != xno
; then
12922 CONVENIENCE_LTDL_TRUE
=
12923 CONVENIENCE_LTDL_FALSE
='#'
12925 CONVENIENCE_LTDL_TRUE
='#'
12926 CONVENIENCE_LTDL_FALSE
=
12934 # In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
12935 # the user used. This is so that ltdl.h can pick up the parent projects
12936 # config.h file, The first file in AC_CONFIG_HEADERS must contain the
12937 # definitions required by ltdl.c.
12938 # FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
12948 for ac_header
in unistd.h dl.h sys
/dl.h dld.h mach-o
/dyld.h dirent.h
12950 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12951 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12952 $as_echo_n "checking for $ac_header... " >&6; }
12953 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12954 $as_echo_n "(cached) " >&6
12956 cat >conftest.
$ac_ext <<_ACEOF
12959 cat confdefs.h
>>conftest.
$ac_ext
12960 cat >>conftest.
$ac_ext <<_ACEOF
12961 /* end confdefs.h. */
12962 $ac_includes_default
12964 #include <$ac_header>
12966 rm -f conftest.
$ac_objext
12967 if { (ac_try
="$ac_compile"
12968 case "(($ac_try" in
12969 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12970 *) ac_try_echo=$ac_try;;
12972 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12973 $as_echo "$ac_try_echo") >&5
12974 (eval "$ac_compile") 2>conftest.er1
12976 grep -v '^ *+' conftest.er1 >conftest.err
12978 cat conftest.err >&5
12979 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12980 (exit $ac_status); } && {
12981 test -z "$ac_c_werror_flag" ||
12982 test ! -s conftest.err
12983 } && test -s conftest.$ac_objext; then
12984 eval "$as_ac_Header=yes"
12986 $as_echo "$as_me: failed program was:" >&5
12987 sed 's/^/| /' conftest.$ac_ext >&5
12989 eval "$as_ac_Header=no"
12992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12994 ac_res=`eval 'as_val=${'$as_ac_Header'}
12995 $as_echo "$as_val"'`
12996 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12997 $as_echo "$ac_res" >&6; }
12998 as_val=`eval 'as_val=${'$as_ac_Header'}
12999 $as_echo "$as_val"'`
13000 if test "x$as_val" = x""yes; then
13001 cat >>confdefs.h <<_ACEOF
13002 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
13013 for ac_func in closedir opendir readdir
13015 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
13016 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
13017 $as_echo_n "checking for $ac_func... " >&6; }
13018 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13019 $as_echo_n "(cached) " >&6
13021 cat >conftest.$ac_ext <<_ACEOF
13024 cat confdefs.h >>conftest.$ac_ext
13025 cat >>conftest.$ac_ext <<_ACEOF
13026 /* end confdefs.h. */
13027 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13028 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13029 #define $ac_func innocuous_$ac_func
13031 /* System header to define __stub macros and hopefully few prototypes,
13032 which can conflict with char $ac_func (); below.
13033 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13034 <limits.h> exists even on freestanding compilers. */
13037 # include <limits.h>
13039 # include <assert.h>
13044 /* Override any GCC internal prototype to avoid an error.
13045 Use char because int might match the return type of a GCC
13046 builtin and then its argument prototype would still apply. */
13051 /* The GNU C library defines this for functions which it implements
13052 to always fail with ENOSYS. Some functions are actually named
13053 something starting with __ and the normal name is an alias. */
13054 #if defined __stub_$ac_func || defined __stub___$ac_func
13061 return $ac_func ();
13066 rm -f conftest.$ac_objext conftest$ac_exeext
13067 if { (ac_try="$ac_link"
13068 case "(($ac_try" in
13069 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13070 *) ac_try_echo
=$ac_try;;
13072 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
13073 $as_echo "$ac_try_echo") >&5
13074 (eval "$ac_link") 2>conftest.er1
13076 grep -v '^ *+' conftest.er1
>conftest.err
13078 cat conftest.err
>&5
13079 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13080 (exit $ac_status); } && {
13081 test -z "$ac_c_werror_flag" ||
13082 test ! -s conftest.err
13083 } && test -s conftest
$ac_exeext && {
13084 test "$cross_compiling" = yes ||
13085 $as_test_x conftest
$ac_exeext
13087 eval "$as_ac_var=yes"
13089 $as_echo "$as_me: failed program was:" >&5
13090 sed 's/^/| /' conftest.
$ac_ext >&5
13092 eval "$as_ac_var=no"
13095 rm -rf conftest.dSYM
13096 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13097 conftest
$ac_exeext conftest.
$ac_ext
13099 ac_res
=`eval 'as_val=${'$as_ac_var'}
13100 $as_echo "$as_val"'`
13101 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13102 $as_echo "$ac_res" >&6; }
13103 as_val
=`eval 'as_val=${'$as_ac_var'}
13104 $as_echo "$as_val"'`
13105 if test "x$as_val" = x
""yes; then
13106 cat >>confdefs.h
<<_ACEOF
13107 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13111 case " $LIBOBJS " in
13112 *" lt__dirent.$ac_objext "* ) ;;
13113 *) LIBOBJS
="$LIBOBJS lt__dirent.$ac_objext"
13122 for ac_func
in strlcat strlcpy
13124 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13125 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
13126 $as_echo_n "checking for $ac_func... " >&6; }
13127 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13128 $as_echo_n "(cached) " >&6
13130 cat >conftest.
$ac_ext <<_ACEOF
13133 cat confdefs.h
>>conftest.
$ac_ext
13134 cat >>conftest.
$ac_ext <<_ACEOF
13135 /* end confdefs.h. */
13136 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13137 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13138 #define $ac_func innocuous_$ac_func
13140 /* System header to define __stub macros and hopefully few prototypes,
13141 which can conflict with char $ac_func (); below.
13142 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13143 <limits.h> exists even on freestanding compilers. */
13146 # include <limits.h>
13148 # include <assert.h>
13153 /* Override any GCC internal prototype to avoid an error.
13154 Use char because int might match the return type of a GCC
13155 builtin and then its argument prototype would still apply. */
13160 /* The GNU C library defines this for functions which it implements
13161 to always fail with ENOSYS. Some functions are actually named
13162 something starting with __ and the normal name is an alias. */
13163 #if defined __stub_$ac_func || defined __stub___$ac_func
13170 return $ac_func ();
13175 rm -f conftest.
$ac_objext conftest
$ac_exeext
13176 if { (ac_try
="$ac_link"
13177 case "(($ac_try" in
13178 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13179 *) ac_try_echo=$ac_try;;
13181 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13182 $as_echo "$ac_try_echo") >&5
13183 (eval "$ac_link") 2>conftest.er1
13185 grep -v '^ *+' conftest.er1 >conftest.err
13187 cat conftest.err >&5
13188 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13189 (exit $ac_status); } && {
13190 test -z "$ac_c_werror_flag" ||
13191 test ! -s conftest.err
13192 } && test -s conftest$ac_exeext && {
13193 test "$cross_compiling" = yes ||
13194 $as_test_x conftest$ac_exeext
13196 eval "$as_ac_var=yes"
13198 $as_echo "$as_me: failed program was:" >&5
13199 sed 's/^/| /' conftest.$ac_ext >&5
13201 eval "$as_ac_var=no"
13204 rm -rf conftest.dSYM
13205 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13206 conftest$ac_exeext conftest.$ac_ext
13208 ac_res=`eval 'as_val=${'$as_ac_var'}
13209 $as_echo "$as_val"'`
13210 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13211 $as_echo "$ac_res" >&6; }
13212 as_val=`eval 'as_val=${'$as_ac_var'}
13213 $as_echo "$as_val"'`
13214 if test "x$as_val" = x""yes; then
13215 cat >>confdefs.h <<_ACEOF
13216 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
13220 case " $LIBOBJS " in
13221 *" lt__strl.$ac_objext "* ) ;;
13222 *) LIBOBJS="$LIBOBJS lt__strl.$ac_objext"
13231 cat >>confdefs.h <<_ACEOF
13232 #define LT_LIBEXT "$libext"
13237 LTDLOPEN=`eval "\\$ECHO \"$libname_spec\""`
13245 ac_config_files="$ac_config_files Makefile"
13247 cat >confcache <<\_ACEOF
13248 # This file is a shell script that caches the results of configure
13249 # tests run on this system so they can be shared between configure
13250 # scripts and configure runs, see configure's option --config-cache.
13251 # It is not useful on other systems. If it contains results you don't
13252 # want to keep, you may remove or edit it.
13254 # config.status only pays attention to the cache file if you give it
13255 # the --recheck option to rerun configure.
13257 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
13258 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13259 # following values.
13263 # The following way of writing the cache mishandles newlines in values,
13264 # but we know of no workaround that is simple, portable, and efficient.
13265 # So, we kill variables containing newlines.
13266 # Ultrix sh set writes to stderr and can't be redirected directly,
13267 # and sets the high bit in the cache file unless we assign to the vars.
13269 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13270 eval ac_val
=\$
$ac_var
13274 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
13275 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13278 _ | IFS | as_nl
) ;; #(
13279 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
13280 *) $as_unset $ac_var ;;
13286 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13287 *${as_nl}ac_space
=\
*)
13288 # `set' does not quote correctly, so add quotes (double-quote
13289 # substitution turns \\\\ into \\, and sed turns \\ into \).
13292 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13295 # `set' quotes correctly as required by POSIX, so do not add quotes.
13296 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13305 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13307 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13309 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
13310 if test -w "$cache_file"; then
13311 test "x$cache_file" != "x/dev/null" &&
13312 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
13313 $as_echo "$as_me: updating cache $cache_file" >&6;}
13314 cat confcache
>$cache_file
13316 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
13317 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13322 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
13323 # Let make expand exec_prefix.
13324 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
13326 DEFS
=-DHAVE_CONFIG_H
13330 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
13331 # 1. Remove the extension, and $U if already installed.
13332 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
13333 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
13334 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13335 # will be set to the directory where LIBOBJS objects are built.
13336 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13337 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
13339 LIBOBJS
=$ac_libobjs
13341 LTLIBOBJS
=$ac_ltlibobjs
13344 if test -n "$EXEEXT"; then
13346 am__EXEEXT_FALSE
='#'
13348 am__EXEEXT_TRUE
='#'
13352 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13353 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
13354 Usually this means the macro was only invoked conditionally." >&5
13355 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
13356 Usually this means the macro was only invoked conditionally." >&2;}
13357 { (exit 1); exit 1; }; }
13359 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13360 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
13361 Usually this means the macro was only invoked conditionally." >&5
13362 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
13363 Usually this means the macro was only invoked conditionally." >&2;}
13364 { (exit 1); exit 1; }; }
13366 if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
13367 { { $as_echo "$as_me:$LINENO: error: conditional \"INSTALL_LTDL\" was never defined.
13368 Usually this means the macro was only invoked conditionally." >&5
13369 $as_echo "$as_me: error: conditional \"INSTALL_LTDL\" was never defined.
13370 Usually this means the macro was only invoked conditionally." >&2;}
13371 { (exit 1); exit 1; }; }
13373 if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
13374 { { $as_echo "$as_me:$LINENO: error: conditional \"CONVENIENCE_LTDL\" was never defined.
13375 Usually this means the macro was only invoked conditionally." >&5
13376 $as_echo "$as_me: error: conditional \"CONVENIENCE_LTDL\" was never defined.
13377 Usually this means the macro was only invoked conditionally." >&2;}
13378 { (exit 1); exit 1; }; }
13380 LT_CONFIG_H
=config.h
13382 : ${CONFIG_STATUS=./config.status}
13384 ac_clean_files_save
=$ac_clean_files
13385 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
13386 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
13387 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13388 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13390 # Generated by $as_me.
13391 # Run this file to recreate the current configuration.
13392 # Compiler output produced by configure, useful for debugging
13393 # configure, is in config.log if it exists.
13396 ac_cs_recheck=false
13398 SHELL=\${CONFIG_SHELL-$SHELL}
13401 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13402 ## --------------------- ##
13403 ## M4sh Initialization. ##
13404 ## --------------------- ##
13406 # Be more Bourne compatible
13407 DUALCASE
=1; export DUALCASE
# for MKS sh
13408 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
13411 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13412 # is contrary to our usage. Disable this feature.
13413 alias -g '${1+"$@"}'='"$@"'
13414 setopt NO_GLOB_SUBST
13416 case `(set -o) 2>/dev/null` in
13417 *posix
*) set -o posix
;;
13426 # Avoid depending upon Character Ranges.
13427 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
13428 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13429 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
13430 as_cr_digits
='0123456789'
13431 as_cr_alnum
=$as_cr_Letters$as_cr_digits
13436 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13437 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13438 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13439 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13440 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13441 as_echo='printf %s
\n'
13442 as_echo_n='printf %s
'
13444 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13445 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
13446 as_echo_n='/usr
/ucb
/echo -n'
13448 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13449 as_echo_n_body='eval
13453 expr "X$arg" : "X\\(.*\\)$as_nl";
13454 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13456 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
13458 export as_echo_n_body
13459 as_echo_n='sh
-c $as_echo_n_body as_echo
'
13461 export as_echo_body
13462 as_echo='sh
-c $as_echo_body as_echo
'
13465 # The user is always right.
13466 if test "${PATH_SEPARATOR+set}" != set; then
13468 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13469 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13474 # Support unset when possible.
13475 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
13483 # We need space, tab and new line, in precisely that order. Quoting is
13484 # there to prevent editors from complaining about space-tab.
13485 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13486 # splitting by setting IFS to empty value.)
13489 # Find who we are. Look in the path if we contain no directory separator.
13491 *[\\/]* ) as_myself=$0 ;;
13492 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13493 for as_dir in $PATH
13496 test -z "$as_dir" && as_dir=.
13497 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13503 # We did not find ourselves, most probably we were run as `sh COMMAND'
13504 # in which case we are not to be found in the path.
13505 if test "x$as_myself" = x
; then
13508 if test ! -f "$as_myself"; then
13509 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13510 { (exit 1); exit 1; }
13513 # Work around bugs in pre-3.0 UWIN ksh.
13514 for as_var
in ENV MAIL MAILPATH
13515 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
13527 # Required to use basename.
13528 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13529 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13535 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13536 as_basename
=basename
13542 # Name of the executable.
13543 as_me
=`$as_basename -- "$0" ||
13544 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13545 X"$0" : 'X\(//\)$' \| \
13546 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13548 sed '/^.*\/\([^/][^/]*\)\/*$/{
13567 as_lineno_1
=$LINENO
13568 as_lineno_2
=$LINENO
13569 test "x$as_lineno_1" != "x$as_lineno_2" &&
13570 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
13572 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
13573 # uniformly replaced by the line number. The first 'sed' inserts a
13574 # line-number line after each line using $LINENO; the second 'sed'
13575 # does the real work. The second script uses 'N' to pair each
13576 # line-number line with the line containing $LINENO, and appends
13577 # trailing '-' during substitution so that $LINENO is not a special
13578 # case at line end.
13579 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
13580 # scripts with optimization help from Paolo Bonzini. Blame Lee
13581 # E. McMahon (1931-1989) for sed's syntax. :-)
13593 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
13596 ' >$as_me.lineno
&&
13597 chmod +x
"$as_me.lineno" ||
13598 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
13599 { (exit 1); exit 1; }; }
13601 # Don't try to exec as it changes $[0], causing all sort of problems
13602 # (the dirname of $[0] is not the place where we might find the
13603 # original and so on. Autoconf is especially sensitive to this).
13604 .
"./$as_me.lineno"
13605 # Exit status is that of the last command.
13610 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
13616 ECHO_C
= ECHO_N
= ECHO_T
=
13617 case `echo -n x` in
13619 case `echo 'x\c'` in
13620 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
13626 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13627 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13633 rm -f conf$$ conf$$.exe conf$$.
file
13634 if test -d conf$$.dir
; then
13635 rm -f conf$$.dir
/conf$$.
file
13638 mkdir conf$$.dir
2>/dev
/null
13640 if (echo >conf$$.
file) 2>/dev
/null
; then
13641 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
13643 # ... but there are two gotchas:
13644 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13645 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13646 # In both cases, we have to default to `cp -p'.
13647 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
13649 elif ln conf$$.
file conf$$
2>/dev
/null
; then
13657 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
13658 rmdir conf$$.dir
2>/dev
/null
13660 if mkdir
-p .
2>/dev
/null
; then
13663 test -d .
/-p && rmdir .
/-p
13667 if test -x / >/dev
/null
2>&1; then
13668 as_test_x
='test -x'
13670 if ls -dL / >/dev
/null
2>&1; then
13677 if test -d "$1"; then
13683 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
13684 ???[sx]*):;;*)false;;esac;fi
13688 as_executable_p
=$as_test_x
13690 # Sed expression to map a string onto a valid CPP name.
13691 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13693 # Sed expression to map a string onto a valid variable name.
13694 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13699 # Save the log message, to keep $[0] and so on meaningful, and to
13700 # report actual input values of CONFIG_FILES etc. instead of their
13701 # values after options handling.
13703 This file was extended by libltdl $as_me 2.2.6, which was
13704 generated by GNU Autoconf 2.63. Invocation command line was
13706 CONFIG_FILES = $CONFIG_FILES
13707 CONFIG_HEADERS = $CONFIG_HEADERS
13708 CONFIG_LINKS = $CONFIG_LINKS
13709 CONFIG_COMMANDS = $CONFIG_COMMANDS
13712 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13717 case $ac_config_files in *"
13718 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
13721 case $ac_config_headers in *"
13722 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
13726 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13727 # Files that config.status was made for.
13728 config_files="$ac_config_files"
13729 config_headers="$ac_config_headers"
13730 config_commands="$ac_config_commands"
13734 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13736 \`$as_me' instantiates files from templates according to the
13737 current configuration.
13739 Usage: $0 [OPTION]... [FILE]...
13741 -h, --help print this help, then exit
13742 -V, --version print version number and configuration settings, then exit
13743 -q, --quiet, --silent
13744 do not print progress messages
13745 -d, --debug don't remove temporary files
13746 --recheck update $as_me by reconfiguring in the same conditions
13747 --file=FILE[:TEMPLATE]
13748 instantiate the configuration file FILE
13749 --header=FILE[:TEMPLATE]
13750 instantiate the configuration header FILE
13752 Configuration files:
13755 Configuration headers:
13758 Configuration commands:
13761 Report bugs to <bug-autoconf@gnu.org>."
13764 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13766 libltdl config.status 2.2.6
13767 configured by $0, generated by GNU Autoconf 2.63,
13768 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
13770 Copyright (C) 2008 Free Software Foundation, Inc.
13771 This config.status script is free software; the Free Software Foundation
13772 gives unlimited permission to copy, distribute and modify it."
13779 test -n "\$AWK" || AWK=awk
13782 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13783 # The default lists apply if the user does not specify any file.
13789 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13790 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
13801 # Handling of the options.
13802 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13804 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
13805 $as_echo "$ac_cs_version"; exit ;;
13806 --debug |
--debu |
--deb |
--de |
--d |
-d )
13808 --file |
--fil |
--fi |
--f )
13811 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13813 CONFIG_FILES
="$CONFIG_FILES '$ac_optarg'"
13814 ac_need_defaults
=false
;;
13815 --header |
--heade |
--head |
--hea )
13818 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13820 CONFIG_HEADERS
="$CONFIG_HEADERS '$ac_optarg'"
13821 ac_need_defaults
=false
;;
13823 # Conflict between --help and --header
13824 { $as_echo "$as_me: error: ambiguous option: $1
13825 Try \`$0 --help' for more information." >&2
13826 { (exit 1); exit 1; }; };;
13827 --help |
--hel |
-h )
13828 $as_echo "$ac_cs_usage"; exit ;;
13829 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13830 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13833 # This is an error.
13834 -*) { $as_echo "$as_me: error: unrecognized option: $1
13835 Try \`$0 --help' for more information." >&2
13836 { (exit 1); exit 1; }; } ;;
13838 *) ac_config_targets
="$ac_config_targets $1"
13839 ac_need_defaults
=false
;;
13845 ac_configure_extra_args
=
13847 if $ac_cs_silent; then
13849 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13853 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13854 if \$ac_cs_recheck; then
13855 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13857 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13858 CONFIG_SHELL='$SHELL'
13859 export CONFIG_SHELL
13864 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13868 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13869 ## Running $as_me. ##
13875 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13879 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13882 # The HP-UX ksh and POSIX shell print the target directory to stdout
13883 # if CDPATH is set.
13884 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13886 sed_quote_subst='$sed_quote_subst'
13887 double_quote_subst='$double_quote_subst'
13888 delay_variable_subst='$delay_variable_subst'
13889 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
13890 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
13891 AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
13892 DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
13893 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
13894 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
13895 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
13896 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
13897 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
13898 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
13899 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
13900 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
13901 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
13902 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
13903 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
13904 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
13905 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
13906 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
13907 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
13908 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
13909 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
13910 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
13911 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
13912 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
13913 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
13914 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
13915 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
13916 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
13917 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
13918 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
13919 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13920 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
13921 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
13922 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
13923 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13924 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
13925 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
13926 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13927 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13928 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13929 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
13930 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13931 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
13932 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
13933 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
13934 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
13935 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
13936 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13937 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
13938 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
13939 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
13940 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
13941 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
13942 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
13943 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
13944 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
13945 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
13946 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
13947 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
13948 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
13949 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
13950 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
13951 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
13952 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
13953 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13954 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13955 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
13956 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
13957 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13958 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13959 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
13960 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13961 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13962 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13963 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13964 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13965 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13966 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
13967 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13968 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13969 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13970 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
13971 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
13972 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
13973 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
13974 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
13975 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13976 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
13977 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
13978 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
13979 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
13980 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
13981 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13982 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13983 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13984 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13985 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
13986 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
13987 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13988 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
13989 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
13990 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13991 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13992 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
13993 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13994 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
13995 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13996 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13997 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13998 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13999 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
14000 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
14001 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14002 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14003 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
14004 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
14005 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
14006 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
14007 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
14008 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
14011 LTCFLAGS='$LTCFLAGS'
14012 compiler='$compiler_DEFAULT'
14014 # Quote evaled strings.
14025 deplibs_check_method \
14034 lt_cv_sys_global_symbol_pipe \
14035 lt_cv_sys_global_symbol_to_cdecl \
14036 lt_cv_sys_global_symbol_to_c_name_address \
14037 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14040 lt_prog_compiler_no_builtin_flag \
14041 lt_prog_compiler_wl \
14042 lt_prog_compiler_pic \
14043 lt_prog_compiler_static \
14044 lt_cv_prog_compiler_c_o \
14052 export_dynamic_flag_spec \
14053 whole_archive_flag_spec \
14054 compiler_needs_object \
14056 allow_undefined_flag \
14057 no_undefined_flag \
14058 hardcode_libdir_flag_spec \
14059 hardcode_libdir_flag_spec_ld \
14060 hardcode_libdir_separator \
14065 variables_saved_for_relink \
14067 library_names_spec \
14072 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14073 *[\\\\\\\`\\"\\\$]*)
14074 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14077 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14082 # Double-quote double-evaled strings.
14083 for var in reload_cmds \
14084 old_postinstall_cmds \
14085 old_postuninstall_cmds \
14087 extract_expsyms_cmds \
14088 old_archive_from_new_cmds \
14089 old_archive_from_expsyms_cmds \
14091 archive_expsym_cmds \
14093 module_expsym_cmds \
14094 export_symbols_cmds \
14097 postuninstall_cmds \
14099 sys_lib_search_path_spec \
14100 sys_lib_dlsearch_path_spec; do
14101 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14102 *[\\\\\\\`\\"\\\$]*)
14103 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14106 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14111 # Fix-up fallback echo if it was mangled by the above quoting rules.
14113 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
14117 ac_aux_dir='$ac_aux_dir'
14118 xsi_shell='$xsi_shell'
14119 lt_shell_append='$lt_shell_append'
14121 # See if we are running on zsh, and set the options which allow our
14122 # commands through without removal of \ escapes INIT.
14123 if test -n "\${ZSH_VERSION+set}" ; then
14124 setopt NO_GLOB_SUBST
14130 TIMESTAMP='$TIMESTAMP'
14139 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14141 # Handling of arguments.
14142 for ac_config_target
in $ac_config_targets
14144 case $ac_config_target in
14145 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config-h.in" ;;
14146 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
14147 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
14148 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
14150 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
14151 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
14152 { (exit 1); exit 1; }; };;
14157 # If the user did not use the arguments to specify the items to instantiate,
14158 # then the envvar interface is used. Set only those that are not.
14159 # We use the long form for the default assignment because of an extremely
14160 # bizarre bug on SunOS 4.1.3.
14161 if $ac_need_defaults; then
14162 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
14163 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
14164 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
14167 # Have a temporary directory for convenience. Make it in the build tree
14168 # simply because there is no reason against having it here, and in addition,
14169 # creating and moving files from /tmp can sometimes cause problems.
14170 # Hook for its removal unless debugging.
14171 # Note that there is a small window in which the directory will not be cleaned:
14172 # after its creation but before its name has been assigned to `$tmp'.
14176 trap 'exit_status=$?
14177 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
14179 trap '{ (exit 1); exit 1; }' 1 2 13 15
14181 # Create a (secure) tmp directory for tmp files.
14184 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14185 test -n "$tmp" && test -d "$tmp"
14188 tmp
=.
/conf$$
-$RANDOM
14189 (umask 077 && mkdir
"$tmp")
14192 $as_echo "$as_me: cannot create a temporary directory in ." >&2
14193 { (exit 1); exit 1; }
14196 # Set up the scripts for CONFIG_FILES section.
14197 # No need to generate them if there are no CONFIG_FILES.
14198 # This happens for instance with `./config.status config.h'.
14199 if test -n "$CONFIG_FILES"; then
14203 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14204 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14207 ac_cs_awk_cr
=$ac_cr
14210 echo 'BEGIN {' >"$tmp/subs1.awk" &&
14215 echo "cat >conf$$subs.awk <<_ACEOF" &&
14216 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14218 } >conf$$subs.sh ||
14219 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
14220 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
14221 { (exit 1); exit 1; }; }
14222 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
14224 for ac_last_try in false false false false false :; do
14225 . ./conf$$subs.sh ||
14226 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
14227 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
14228 { (exit 1); exit 1; }; }
14230 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
14231 if test $ac_delim_n = $ac_delim_num; then
14233 elif $ac_last_try; then
14234 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
14235 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
14236 { (exit 1); exit 1; }; }
14238 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14241 rm -f conf$$subs.sh
14243 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14244 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
14248 s/^/S["/; s
/!.
*/"]=/
14258 s/\(.\{148\}\).*/\1/
14260 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
14265 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14272 s/\(.\{148\}\).*/\1/
14274 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
14278 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14283 ' <conf$$subs.awk | sed '
14288 ' >>$CONFIG_STATUS || ac_write_fail=1
14289 rm -f conf$$subs.awk
14290 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14292 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
14293 for (key in S) S_is_set[key] = 1
14299 nfields = split(line, field, "@
")
14301 len = length(field[1])
14302 for (i = 2; i < nfields; i++) {
14304 keylen = length(key)
14305 if (S_is_set[key]) {
14307 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14308 len += length(value) + length(field[++i])
14319 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14320 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14321 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
14324 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
14325 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
14326 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
14327 { (exit 1); exit 1; }; }
14330 # VPATH may cause trouble with some makes, so we remove $(srcdir),
14331 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
14332 # trailing colons and then remove the whole line if VPATH becomes empty
14333 # (actually we leave an empty line to preserve line numbers).
14334 if test "x
$srcdir" = x.; then
14335 ac_vpsub='/^[ ]*VPATH[ ]*=/{
14336 s/:*\$(srcdir):*/:/
14337 s/:*\${srcdir}:*/:/
14339 s/^\([^=]*=[ ]*\):*/\1/
14345 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14346 fi # test -n "$CONFIG_FILES"
14348 # Set up the scripts for CONFIG_HEADERS section.
14349 # No need to generate them if there are no CONFIG_HEADERS.
14350 # This happens for instance with `./config.status Makefile'.
14351 if test -n "$CONFIG_HEADERS"; then
14352 cat >"$tmp/defines.
awk" <<\_ACAWK ||
14356 # Transform confdefs.h into an awk script `defines.awk', embedded as
14357 # here-document in config.status, that substitutes the proper values into
14358 # config.h.in to produce config.h.
14360 # Create a delimiter string that does not exist in confdefs.h, to ease
14361 # handling of long lines.
14363 for ac_last_try in false false :; do
14364 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
14365 if test -z "$ac_t"; then
14367 elif $ac_last_try; then
14368 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_HEADERS" >&5
14369 $as_echo "$as_me: error
: could not
make $CONFIG_HEADERS" >&2;}
14370 { (exit 1); exit 1; }; }
14372 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14376 # For the awk script, D is an array of macro values keyed by name,
14377 # likewise P contains macro parameters if any. Preserve backslash
14378 # newline sequences.
14380 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14382 s/.\{148\}/&'"$ac_delim"'/g
14385 s/^[ ]*#[ ]*define[ ][ ]*/ /
14392 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
14394 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
14398 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
14399 D["\
1"]=" \
3\\\\\\n
"\\/p
14401 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
14406 s/.\{148\}/&'"$ac_delim"'/g
14411 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
14414 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
14416 ' <confdefs.h | sed '
14417 s/'"$ac_delim"'/"\\\
14418 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14420 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14421 for (key in D) D_is_set[key] = 1
14424 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14426 split(line, arg, " ")
14427 if (arg[1] == "#") {
14431 defundef
= substr
(arg
[1], 2)
14434 split(mac1
, mac2
, "(") #)
14436 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
14437 if (D_is_set
[macro
]) {
14438 # Preserve the white space surrounding the "#".
14439 print prefix
"define", macro P
[macro
] D
[macro
]
14442 # Replace #undef with comments. This is necessary, for example,
14443 # in the case of _POSIX_SOURCE, which is predefined and required
14444 # on some systems where configure will not decide to define it.
14445 if (defundef
== "undef") {
14446 print
"/*", prefix defundef
, macro
, "*/"
14454 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14455 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
14456 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
14457 { (exit 1); exit 1; }; }
14458 fi # test -n "$CONFIG_HEADERS"
14461 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14466 :[FHLC
]) ac_mode
=$ac_tag; continue;;
14468 case $ac_mode$ac_tag in
14470 :L
* |
:C
*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
14471 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
14472 { (exit 1); exit 1; }; };;
14473 :[FH
]-) ac_tag
=-:-;;
14474 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
14491 -) ac_f
="$tmp/stdin";;
14492 *) # Look for the file first in the build tree, then in the source tree
14493 # (if the path is not absolute). The absolute path cannot be DOS-style,
14494 # because $ac_f cannot contain `:'.
14498 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
14500 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
14501 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
14502 { (exit 1); exit 1; }; };;
14504 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14505 ac_file_inputs
="$ac_file_inputs '$ac_f'"
14508 # Let's still pretend it is `configure' which instantiates (i.e., don't
14509 # use $as_me), people would be surprised to read:
14510 # /* config.h. Generated by config.status. */
14511 configure_input
='Generated from '`
14512 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14514 if test x
"$ac_file" != x-
; then
14515 configure_input
="$ac_file. $configure_input"
14516 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
14517 $as_echo "$as_me: creating $ac_file" >&6;}
14519 # Neutralize special characters interpreted by sed in replacement strings.
14520 case $configure_input in #(
14521 *\
&* |
*\|
* |
*\\* )
14522 ac_sed_conf_input
=`$as_echo "$configure_input" |
14523 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14524 *) ac_sed_conf_input
=$configure_input;;
14528 *:-:* |
*:-) cat >"$tmp/stdin" \
14529 ||
{ { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14530 $as_echo "$as_me: error: could not create $ac_file" >&2;}
14531 { (exit 1); exit 1; }; } ;;
14536 ac_dir
=`$as_dirname -- "$ac_file" ||
14537 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14538 X"$ac_file" : 'X\(//\)[^/]' \| \
14539 X"$ac_file" : 'X\(//\)$' \| \
14540 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14541 $as_echo X"$ac_file" |
14542 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14546 /^X\(\/\/\)[^/].*/{
14561 -*) as_dir
=.
/$as_dir;;
14563 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
14567 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14568 *) as_qdir
=$as_dir;;
14570 as_dirs
="'$as_qdir' $as_dirs"
14571 as_dir
=`$as_dirname -- "$as_dir" ||
14572 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14573 X"$as_dir" : 'X\(//\)[^/]' \| \
14574 X"$as_dir" : 'X\(//\)$' \| \
14575 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14576 $as_echo X"$as_dir" |
14577 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14581 /^X\(\/\/\)[^/].*/{
14594 test -d "$as_dir" && break
14596 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14597 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
14598 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
14599 { (exit 1); exit 1; }; }; }
14603 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14605 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14606 # A ".." for each directory in $ac_dir_suffix.
14607 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14608 case $ac_top_builddir_sub in
14609 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14610 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
14613 ac_abs_top_builddir
=$ac_pwd
14614 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
14615 # for backward compatibility:
14616 ac_top_builddir
=$ac_top_build_prefix
14619 .
) # We are building in place.
14621 ac_top_srcdir
=$ac_top_builddir_sub
14622 ac_abs_top_srcdir
=$ac_pwd ;;
14623 [\\/]* | ?
:[\\/]* ) # Absolute name.
14624 ac_srcdir
=$srcdir$ac_dir_suffix;
14625 ac_top_srcdir
=$srcdir
14626 ac_abs_top_srcdir
=$srcdir ;;
14627 *) # Relative name.
14628 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
14629 ac_top_srcdir
=$ac_top_build_prefix$srcdir
14630 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
14632 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
14642 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
14643 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
14645 ac_MKDIR_P
=$MKDIR_P
14647 [\\/$
]* | ?
:[\\/]* ) ;;
14648 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
14652 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14653 # If the template does not know about datarootdir, expand it.
14654 # FIXME: This hack should be removed a few years after 2.60.
14655 ac_datarootdir_hack
=; ac_datarootdir_seen
=
14668 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14669 *datarootdir
*) ac_datarootdir_seen
=yes;;
14670 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
14671 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14672 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14674 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14675 ac_datarootdir_hack='
14676 s&@datadir@&$datadir&g
14677 s&@docdir@&$docdir&g
14678 s&@infodir@&$infodir&g
14679 s&@localedir@&$localedir&g
14680 s&@mandir@&$mandir&g
14681 s&\\\${datarootdir}&$datarootdir&g' ;;
14685 # Neutralize VPATH when `$srcdir' = `.'.
14686 # Shell code in configure.ac might set extrasub.
14687 # FIXME: do we really want to maintain this feature?
14688 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14689 ac_sed_extra="$ac_vpsub
14692 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14694 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
14695 s|@configure_input@|
$ac_sed_conf_input|
;t t
14696 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
14697 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
14698 s
&@srcdir@
&$ac_srcdir&;t t
14699 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
14700 s
&@top_srcdir@
&$ac_top_srcdir&;t t
14701 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
14702 s
&@builddir@
&$ac_builddir&;t t
14703 s
&@abs_builddir@
&$ac_abs_builddir&;t t
14704 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
14705 s
&@INSTALL@
&$ac_INSTALL&;t t
14706 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
14707 $ac_datarootdir_hack
14709 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
14710 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
14711 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
14712 { (exit 1); exit 1; }; }
14714 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14715 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
14716 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
14717 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
14718 which seems to be undefined. Please make sure it is defined." >&5
14719 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
14720 which seems to be undefined. Please make sure it is defined." >&2;}
14724 -) cat "$tmp/out" && rm -f "$tmp/out";;
14725 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
14727 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14728 $as_echo "$as_me: error: could not create $ac_file" >&2;}
14729 { (exit 1); exit 1; }; }
14735 if test x"$ac_file" != x-; then
14737 $as_echo "/* $configure_input */" \
14738 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
14739 } >"$tmp/config.h" \
14740 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14741 $as_echo "$as_me: error: could not create $ac_file" >&2;}
14742 { (exit 1); exit 1; }; }
14743 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
14744 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
14745 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14748 mv "$tmp/config.h" "$ac_file" \
14749 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14750 $as_echo "$as_me: error: could not create $ac_file" >&2;}
14751 { (exit 1); exit 1; }; }
14754 $as_echo "/* $configure_input */" \
14755 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
14756 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
14757 $as_echo "$as_me: error: could not create -" >&2;}
14758 { (exit 1); exit 1; }; }
14760 # Compute "$ac_file"'s index
in $config_headers.
14763 for _am_header
in $config_headers :; do
14764 case $_am_header in
14765 $_am_arg |
$_am_arg:* )
14768 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
14771 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14772 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14773 X"$_am_arg" : 'X\(//\)[^/]' \| \
14774 X"$_am_arg" : 'X\(//\)$' \| \
14775 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14776 $as_echo X"$_am_arg" |
14777 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14781 /^X\(\/\/\)[^/].*/{
14793 s/.*/./; q'`/stamp-h
$_am_stamp_count
14796 :C
) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
14797 $as_echo "$as_me: executing $ac_file commands" >&6;}
14802 case $ac_file$ac_mode in
14803 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
14804 # Autoconf 2.62 quotes --file arguments for eval, but not when files
14805 # are listed without --file. Let's play safe and only enable the eval
14806 # if we detect the quoting.
14807 case $CONFIG_FILES in
14808 *\'*) eval set x
"$CONFIG_FILES" ;;
14809 *) set x
$CONFIG_FILES ;;
14814 # Strip MF so we end up with the name of the file.
14815 mf
=`echo "$mf" | sed -e 's/:.*$//'`
14816 # Check whether this is an Automake generated Makefile or not.
14817 # We used to match only the files named `Makefile.in', but
14818 # some people rename them; so instead we look at the file content.
14819 # Grep'ing the first line is not enough: some people post-process
14820 # each Makefile.in and add a new line on top of each file to say so.
14821 # Grep'ing the whole file is not good either: AIX grep has a line
14822 # limit of 2048, but all sed's we know have understand at least 4000.
14823 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
14824 dirpart
=`$as_dirname -- "$mf" ||
14825 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14826 X"$mf" : 'X\(//\)[^/]' \| \
14827 X"$mf" : 'X\(//\)$' \| \
14828 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14830 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14834 /^X\(\/\/\)[^/].*/{
14850 # Extract the definition of DEPDIR, am__include, and am__quote
14851 # from the Makefile without running `make'.
14852 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
14853 test -z "$DEPDIR" && continue
14854 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
14855 test -z "am__include" && continue
14856 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
14857 # When using ansi2knr, U may be empty or an underscore; expand it
14858 U
=`sed -n 's/^U = //p' < "$mf"`
14859 # Find all dependency output files, they are included files with
14860 # $(DEPDIR) in their names. We invoke sed twice because it is the
14861 # simplest approach to changing $(DEPDIR) to its actual value in the
14863 for file in `sed -n "
14864 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14865 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14866 # Make sure the directory exists.
14867 test -f "$dirpart/$file" && continue
14868 fdir
=`$as_dirname -- "$file" ||
14869 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14870 X"$file" : 'X\(//\)[^/]' \| \
14871 X"$file" : 'X\(//\)$' \| \
14872 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14873 $as_echo X"$file" |
14874 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14878 /^X\(\/\/\)[^/].*/{
14891 { as_dir
=$dirpart/$fdir
14893 -*) as_dir
=.
/$as_dir;;
14895 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
14899 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14900 *) as_qdir
=$as_dir;;
14902 as_dirs
="'$as_qdir' $as_dirs"
14903 as_dir
=`$as_dirname -- "$as_dir" ||
14904 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14905 X"$as_dir" : 'X\(//\)[^/]' \| \
14906 X"$as_dir" : 'X\(//\)$' \| \
14907 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14908 $as_echo X"$as_dir" |
14909 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14913 /^X\(\/\/\)[^/].*/{
14926 test -d "$as_dir" && break
14928 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14929 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
14930 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
14931 { (exit 1); exit 1; }; }; }
14932 # echo "creating $dirpart/$file"
14933 echo '# dummy' > "$dirpart/$file"
14940 # See if we are running on zsh, and set the options which allow our
14941 # commands through without removal of \ escapes.
14942 if test -n "${ZSH_VERSION+set}" ; then
14943 setopt NO_GLOB_SUBST
14946 cfgfile
="${ofile}T"
14947 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14950 cat <<_LT_EOF >> "$cfgfile"
14953 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14954 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14955 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14956 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14958 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14959 # 2006, 2007, 2008 Free Software Foundation, Inc.
14960 # Written by Gordon Matzigkeit, 1996
14962 # This file is part of GNU Libtool.
14964 # GNU Libtool is free software; you can redistribute it and/or
14965 # modify it under the terms of the GNU General Public License as
14966 # published by the Free Software Foundation; either version 2 of
14967 # the License, or (at your option) any later version.
14969 # As a special exception to the GNU General Public License,
14970 # if you distribute this file as part of a program or library that
14971 # is built using GNU Libtool, you may include this file under the
14972 # same distribution terms that you use for the rest of that program.
14974 # GNU Libtool is distributed in the hope that it will be useful,
14975 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14976 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14977 # GNU General Public License for more details.
14979 # You should have received a copy of the GNU General Public License
14980 # along with GNU Libtool; see the file COPYING. If not, a copy
14981 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14982 # obtained by writing to the Free Software Foundation, Inc.,
14983 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14986 # The names of the tagged configurations supported by this script.
14989 # ### BEGIN LIBTOOL CONFIG
14991 # Which release of libtool.m4 was used?
14992 macro_version=$macro_version
14993 macro_revision=$macro_revision
14995 # Assembler program.
14998 # DLL creation program.
15001 # Object dumper program.
15004 # Whether or not to build shared libraries.
15005 build_libtool_libs=$enable_shared
15007 # Whether or not to build static libraries.
15008 build_old_libs=$enable_static
15010 # What type of objects to build.
15013 # Whether or not to optimize for fast installation.
15014 fast_install=$enable_fast_install
15017 host_alias=$host_alias
15021 # The build system.
15022 build_alias=$build_alias
15026 # A sed program that does not truncate output.
15029 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15030 Xsed="\$SED -e 1s/^X//"
15032 # A grep program that handles long lines.
15038 # A literal string matcher.
15041 # A BSD- or MS-compatible name lister.
15044 # Whether we need soft or hard links.
15047 # What is the maximum length of a command?
15048 max_cmd_len=$max_cmd_len
15050 # Object file suffix (normally "o").
15053 # Executable file suffix (normally "").
15056 # whether the shell understands "unset".
15059 # turn spaces into newlines.
15062 # turn newlines into spaces.
15065 # How to create reloadable object files.
15066 reload_flag=$lt_reload_flag
15067 reload_cmds=$lt_reload_cmds
15069 # Method to check whether dependent libraries are shared objects.
15070 deplibs_check_method=$lt_deplibs_check_method
15072 # Command to use when deplibs_check_method == "file_magic".
15073 file_magic_cmd=$lt_file_magic_cmd
15077 AR_FLAGS=$lt_AR_FLAGS
15079 # A symbol stripping program.
15082 # Commands used to install an old-style archive.
15084 old_postinstall_cmds=$lt_old_postinstall_cmds
15085 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15090 # LTCC compiler flags.
15091 LTCFLAGS=$lt_CFLAGS
15093 # Take the output of nm and produce a listing of raw symbols and C names.
15094 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15096 # Transform the output of nm in a proper C declaration.
15097 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15099 # Transform the output of nm in a C name address pair.
15100 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15102 # Transform the output of nm in a C name address pair when lib prefix is needed.
15103 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15105 # The name of the directory that contains temporary libtool files.
15108 # Shell to use when invoking shell scripts.
15111 # An echo program that does not interpret backslashes.
15114 # Used to examine libraries when file_magic_cmd begins with "file".
15115 MAGIC_CMD=$MAGIC_CMD
15117 # Must we lock files when doing compilation?
15118 need_locks=$lt_need_locks
15120 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15121 DSYMUTIL=$lt_DSYMUTIL
15123 # Tool to change global to local symbols on Mac OS X.
15126 # Tool to manipulate fat objects and archives on Mac OS X.
15129 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15132 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15133 OTOOL64=$lt_OTOOL64
15135 # Old archive suffix (normally "a").
15138 # Shared library suffix (normally ".so").
15139 shrext_cmds=$lt_shrext_cmds
15141 # The commands to extract the exported symbol list from a shared archive.
15142 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15144 # Variables whose values should be saved in libtool wrapper scripts and
15145 # restored at link time.
15146 variables_saved_for_relink=$lt_variables_saved_for_relink
15148 # Do we need the "lib" prefix for modules?
15149 need_lib_prefix=$need_lib_prefix
15151 # Do we need a version for libraries?
15152 need_version=$need_version
15154 # Library versioning type.
15155 version_type=$version_type
15157 # Shared library runtime path variable.
15158 runpath_var=$runpath_var
15160 # Shared library path variable.
15161 shlibpath_var=$shlibpath_var
15163 # Is shlibpath searched before the hard-coded library search path?
15164 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15166 # Format of library name prefix.
15167 libname_spec=$lt_libname_spec
15169 # List of archive names. First name is the real one, the rest are links.
15170 # The last name is the one that the linker finds with -lNAME
15171 library_names_spec=$lt_library_names_spec
15173 # The coded name of the library, if different from the real name.
15174 soname_spec=$lt_soname_spec
15176 # Command to use after installation of a shared archive.
15177 postinstall_cmds=$lt_postinstall_cmds
15179 # Command to use after uninstallation of a shared archive.
15180 postuninstall_cmds=$lt_postuninstall_cmds
15182 # Commands used to finish a libtool library installation in a directory.
15183 finish_cmds=$lt_finish_cmds
15185 # As "finish_cmds", except a single script fragment to be evaled but
15187 finish_eval=$lt_finish_eval
15189 # Whether we should hardcode library paths into libraries.
15190 hardcode_into_libs=$hardcode_into_libs
15192 # Compile-time system search path for libraries.
15193 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15195 # Run-time system search path for libraries.
15196 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15198 # Whether dlopen is supported.
15199 dlopen_support=$enable_dlopen
15201 # Whether dlopen of programs is supported.
15202 dlopen_self=$enable_dlopen_self
15204 # Whether dlopen of statically linked programs is supported.
15205 dlopen_self_static=$enable_dlopen_self_static
15207 # Commands to strip libraries.
15208 old_striplib=$lt_old_striplib
15209 striplib=$lt_striplib
15212 # The linker used to build libraries.
15215 # Commands used to build an old-style archive.
15216 old_archive_cmds=$lt_old_archive_cmds
15218 # A language specific compiler.
15221 # Is the compiler the GNU compiler?
15224 # Compiler flag to turn off builtin functions.
15225 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15227 # How to pass a linker flag through the compiler.
15228 wl=$lt_lt_prog_compiler_wl
15230 # Additional compiler flags for building library objects.
15231 pic_flag=$lt_lt_prog_compiler_pic
15233 # Compiler flag to prevent dynamic linking.
15234 link_static_flag=$lt_lt_prog_compiler_static
15236 # Does compiler simultaneously support -c and -o options?
15237 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15239 # Whether or not to add -lc for building shared libraries.
15240 build_libtool_need_lc=$archive_cmds_need_lc
15242 # Whether or not to disallow shared libs when runtime libs are static.
15243 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15245 # Compiler flag to allow reflexive dlopens.
15246 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15248 # Compiler flag to generate shared objects directly from archives.
15249 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15251 # Whether the compiler copes with passing no objects directly.
15252 compiler_needs_object=$lt_compiler_needs_object
15254 # Create an old-style archive from a shared archive.
15255 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15257 # Create a temporary old-style archive to link instead of a shared archive.
15258 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15260 # Commands used to build a shared archive.
15261 archive_cmds=$lt_archive_cmds
15262 archive_expsym_cmds=$lt_archive_expsym_cmds
15264 # Commands used to build a loadable module if different from building
15265 # a shared archive.
15266 module_cmds=$lt_module_cmds
15267 module_expsym_cmds=$lt_module_expsym_cmds
15269 # Whether we are building with GNU ld or not.
15270 with_gnu_ld=$lt_with_gnu_ld
15272 # Flag that allows shared libraries with undefined symbols to be built.
15273 allow_undefined_flag=$lt_allow_undefined_flag
15275 # Flag that enforces no undefined symbols.
15276 no_undefined_flag=$lt_no_undefined_flag
15278 # Flag to hardcode \$libdir into a binary during linking.
15279 # This must work even if \$libdir does not exist
15280 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15282 # If ld is used when linking, flag to hardcode \$libdir into a binary
15283 # during linking. This must work even if \$libdir does not exist.
15284 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15286 # Whether we need a single "-rpath" flag with a separated argument.
15287 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15289 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15290 # DIR into the resulting binary.
15291 hardcode_direct=$hardcode_direct
15293 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15294 # DIR into the resulting binary and the resulting library dependency is
15295 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15296 # library is relocated.
15297 hardcode_direct_absolute=$hardcode_direct_absolute
15299 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15300 # into the resulting binary.
15301 hardcode_minus_L=$hardcode_minus_L
15303 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15304 # into the resulting binary.
15305 hardcode_shlibpath_var=$hardcode_shlibpath_var
15307 # Set to "yes" if building a shared library automatically hardcodes DIR
15308 # into the library and all subsequent libraries and executables linked
15310 hardcode_automatic=$hardcode_automatic
15312 # Set to yes if linker adds runtime paths of dependent libraries
15313 # to runtime path list.
15314 inherit_rpath=$inherit_rpath
15316 # Whether libtool must link a program against all its dependency libraries.
15317 link_all_deplibs=$link_all_deplibs
15319 # Fix the shell variable \$srcfile for the compiler.
15320 fix_srcfile_path=$lt_fix_srcfile_path
15322 # Set to "yes" if exported symbols are required.
15323 always_export_symbols=$always_export_symbols
15325 # The commands to list exported symbols.
15326 export_symbols_cmds=$lt_export_symbols_cmds
15328 # Symbols that should not be listed in the preloaded symbols.
15329 exclude_expsyms=$lt_exclude_expsyms
15331 # Symbols that must always be exported.
15332 include_expsyms=$lt_include_expsyms
15334 # Commands necessary for linking programs (against libraries) with templates.
15335 prelink_cmds=$lt_prelink_cmds
15337 # Specify filename containing input files.
15338 file_list_spec=$lt_file_list_spec
15340 # How to hardcode a shared library path into an executable.
15341 hardcode_action=$hardcode_action
15343 # ### END LIBTOOL CONFIG
15349 cat <<\_LT_EOF
>> "$cfgfile"
15350 # AIX sometimes has problems with the GCC collect2 program. For some
15351 # reason, if we set the COLLECT_NAMES environment variable, the problems
15352 # vanish in a puff of smoke.
15353 if test "X${COLLECT_NAMES+set}" != Xset
; then
15355 export COLLECT_NAMES
15362 ltmain
="$ac_aux_dir/ltmain.sh"
15365 # We use sed instead of cat because bash on DJGPP gets confused if
15366 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15367 # text mode, it properly converts lines to CR/LF. This bash problem
15368 # is reportedly fixed, but why not run on old versions too?
15369 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
15370 ||
(rm -f "$cfgfile"; exit 1)
15374 cat << \_LT_EOF
>> "$cfgfile"
15376 # func_dirname file append nondir_replacement
15377 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15378 # otherwise set result to NONDIR_REPLACEMENT.
15382 */*) func_dirname_result
="${1%/*}${2}" ;;
15383 * ) func_dirname_result
="${3}" ;;
15387 # func_basename file
15390 func_basename_result
="${1##*/}"
15393 # func_dirname_and_basename file append nondir_replacement
15394 # perform func_basename and func_dirname in a single function
15396 # dirname: Compute the dirname of FILE. If nonempty,
15397 # add APPEND to the result, otherwise set result
15398 # to NONDIR_REPLACEMENT.
15399 # value returned in "$func_dirname_result"
15400 # basename: Compute filename of FILE.
15401 # value retuned in "$func_basename_result"
15402 # Implementation must be kept synchronized with func_dirname
15403 # and func_basename. For efficiency, we do not delegate to
15404 # those functions but instead duplicate the functionality here.
15405 func_dirname_and_basename
()
15408 */*) func_dirname_result
="${1%/*}${2}" ;;
15409 * ) func_dirname_result
="${3}" ;;
15411 func_basename_result
="${1##*/}"
15414 # func_stripname prefix suffix name
15415 # strip PREFIX and SUFFIX off of NAME.
15416 # PREFIX and SUFFIX must not contain globbing or regex special
15417 # characters, hashes, percent signs, but SUFFIX may contain a leading
15418 # dot (in which case that matches only a dot).
15421 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15422 # positional parameters, so assign one to ordinary parameter first.
15423 func_stripname_result
=${3}
15424 func_stripname_result
=${func_stripname_result#"${1}"}
15425 func_stripname_result
=${func_stripname_result%"${2}"}
15431 func_opt_split_opt
=${1%%=*}
15432 func_opt_split_arg
=${1#*=}
15439 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
15440 *) func_lo2o_result
=${1} ;;
15444 # func_xform libobj-or-source
15447 func_xform_result
=${1%.*}.lo
15450 # func_arith arithmetic-term...
15453 func_arith_result
=$
(( $
* ))
15457 # STRING may not start with a hyphen.
15460 func_len_result
=${#1}
15465 *) # Bourne compatible functions.
15466 cat << \_LT_EOF
>> "$cfgfile"
15468 # func_dirname file append nondir_replacement
15469 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15470 # otherwise set result to NONDIR_REPLACEMENT.
15473 # Extract subdirectory from the argument.
15474 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15475 if test "X$func_dirname_result" = "X${1}"; then
15476 func_dirname_result
="${3}"
15478 func_dirname_result
="$func_dirname_result${2}"
15482 # func_basename file
15485 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
15489 # func_stripname prefix suffix name
15490 # strip PREFIX and SUFFIX off of NAME.
15491 # PREFIX and SUFFIX must not contain globbing or regex special
15492 # characters, hashes, percent signs, but SUFFIX may contain a leading
15493 # dot (in which case that matches only a dot).
15494 # func_strip_suffix prefix name
15498 .
*) func_stripname_result
=`$ECHO "X${3}" \
15499 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
15500 *) func_stripname_result
=`$ECHO "X${3}" \
15501 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
15506 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
15507 my_sed_long_arg
='1s/^-[^=]*=//'
15512 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
15513 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
15519 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
15522 # func_xform libobj-or-source
15525 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
15528 # func_arith arithmetic-term...
15531 func_arith_result
=`expr "$@"`
15535 # STRING may not start with a hyphen.
15538 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
15544 case $lt_shell_append in
15546 cat << \_LT_EOF
>> "$cfgfile"
15548 # func_append var value
15549 # Append VALUE to the end of shell variable VAR.
15557 cat << \_LT_EOF
>> "$cfgfile"
15559 # func_append var value
15560 # Append VALUE to the end of shell variable VAR.
15571 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15572 ||
(rm -f "$cfgfile"; exit 1)
15574 mv -f "$cfgfile" "$ofile" ||
15575 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15584 { (exit 0); exit 0; }
15586 chmod +x
$CONFIG_STATUS
15587 ac_clean_files
=$ac_clean_files_save
15589 test $ac_write_fail = 0 ||
15590 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
15591 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
15592 { (exit 1); exit 1; }; }
15595 # configure is writing to config.log, and then calls config.status.
15596 # config.status does its own redirection, appending to config.log.
15597 # Unfortunately, on DOS this fails, as config.log is still kept open
15598 # by configure, so config.status won't be able to write to it; its
15599 # output is simply discarded. So we exec the FD to /dev/null,
15600 # effectively closing config.log, so it can be properly (re)opened and
15601 # appended to by config.status. When coming back to configure, we
15602 # need to make the FD available again.
15603 if test "$no_create" != yes; then
15605 ac_config_status_args
=
15606 test "$silent" = yes &&
15607 ac_config_status_args
="$ac_config_status_args --quiet"
15609 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15611 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15612 # would make configure fail if this is the last instruction.
15613 $ac_cs_success ||
{ (exit 1); exit 1; }
15615 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15616 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15617 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}