2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63 for gdbmobj 0.10.
5 # Report bugs to <courier-users@lists.sourceforge.net>.
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
='gdbmobj'
747 PACKAGE_TARNAME
='gdbmobj'
748 PACKAGE_VERSION
='0.10'
749 PACKAGE_STRING
='gdbmobj 0.10'
750 PACKAGE_BUGREPORT
='courier-users@lists.sourceforge.net'
752 ac_unique_file
="gdbmobj.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
855 INSTALL_STRIP_PROGRAM
897 program_transform_name
909 enable_option_checking
910 enable_dependency_tracking
918 ac_precious_vars
='build_alias
933 # Initialize some variables set by options.
935 ac_init_version
=false
936 ac_unrecognized_opts
=
938 # The variables have the same names as the options, with
939 # dashes changed to underlines.
947 program_transform_name
=s
,x
,x
,
955 # Installation directory options.
956 # These are left unexpanded so users can "make install exec_prefix=/foo"
957 # and all the variables that are supposed to be based on exec_prefix
958 # by default will actually change.
959 # Use braces instead of parens because sh, perl, etc. also accept them.
960 # (The list follows the same order as the GNU Coding Standards.)
961 bindir
='${exec_prefix}/bin'
962 sbindir
='${exec_prefix}/sbin'
963 libexecdir
='${exec_prefix}/libexec'
964 datarootdir
='${prefix}/share'
965 datadir
='${datarootdir}'
966 sysconfdir
='${prefix}/etc'
967 sharedstatedir
='${prefix}/com'
968 localstatedir
='${prefix}/var'
969 includedir
='${prefix}/include'
970 oldincludedir
='/usr/include'
971 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
972 infodir
='${datarootdir}/info'
977 libdir
='${exec_prefix}/lib'
978 localedir
='${datarootdir}/locale'
979 mandir
='${datarootdir}/man'
985 # If the previous option needs an argument, assign it.
986 if test -n "$ac_prev"; then
987 eval $ac_prev=\
$ac_option
993 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
997 # Accept the important Cygnus configure options, so we can diagnose typos.
999 case $ac_dashdash$ac_option in
1003 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1005 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1006 bindir
=$ac_optarg ;;
1008 -build |
--build |
--buil |
--bui |
--bu)
1009 ac_prev
=build_alias
;;
1010 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1011 build_alias
=$ac_optarg ;;
1013 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1014 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1015 ac_prev
=cache_file
;;
1016 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1017 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1018 cache_file
=$ac_optarg ;;
1020 --config-cache |
-C)
1021 cache_file
=config.cache
;;
1023 -datadir |
--datadir |
--datadi |
--datad)
1025 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1026 datadir
=$ac_optarg ;;
1028 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1029 |
--dataroo |
--dataro |
--datar)
1030 ac_prev
=datarootdir
;;
1031 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1032 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1033 datarootdir
=$ac_optarg ;;
1035 -disable-* |
--disable-*)
1036 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1037 # Reject names that are not valid shell variable names.
1038 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1039 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1040 { (exit 1); exit 1; }; }
1041 ac_useropt_orig
=$ac_useropt
1042 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1043 case $ac_user_opts in
1045 "enable_
$ac_useropt"
1047 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1048 ac_unrecognized_sep
=', ';;
1050 eval enable_
$ac_useropt=no
;;
1052 -docdir |
--docdir |
--docdi |
--doc |
--do)
1054 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1055 docdir
=$ac_optarg ;;
1057 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1059 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1060 dvidir
=$ac_optarg ;;
1062 -enable-* |
--enable-*)
1063 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1064 # Reject names that are not valid shell variable names.
1065 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1066 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1067 { (exit 1); exit 1; }; }
1068 ac_useropt_orig
=$ac_useropt
1069 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1070 case $ac_user_opts in
1072 "enable_
$ac_useropt"
1074 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1075 ac_unrecognized_sep
=', ';;
1077 eval enable_
$ac_useropt=\
$ac_optarg ;;
1079 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1080 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1081 |
--exec |
--exe |
--ex)
1082 ac_prev
=exec_prefix
;;
1083 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1084 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1085 |
--exec=* |
--exe=* |
--ex=*)
1086 exec_prefix
=$ac_optarg ;;
1088 -gas |
--gas |
--ga |
--g)
1089 # Obsolete; use --with-gas.
1092 -help |
--help |
--hel |
--he |
-h)
1093 ac_init_help
=long
;;
1094 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1095 ac_init_help
=recursive
;;
1096 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1097 ac_init_help
=short
;;
1099 -host |
--host |
--hos |
--ho)
1100 ac_prev
=host_alias
;;
1101 -host=* |
--host=* |
--hos=* |
--ho=*)
1102 host_alias
=$ac_optarg ;;
1104 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1106 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1108 htmldir
=$ac_optarg ;;
1110 -includedir |
--includedir |
--includedi |
--included |
--include \
1111 |
--includ |
--inclu |
--incl |
--inc)
1112 ac_prev
=includedir
;;
1113 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1114 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1115 includedir
=$ac_optarg ;;
1117 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1119 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1120 infodir
=$ac_optarg ;;
1122 -libdir |
--libdir |
--libdi |
--libd)
1124 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1125 libdir
=$ac_optarg ;;
1127 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1128 |
--libexe |
--libex |
--libe)
1129 ac_prev
=libexecdir
;;
1130 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1131 |
--libexe=* |
--libex=* |
--libe=*)
1132 libexecdir
=$ac_optarg ;;
1134 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1135 ac_prev
=localedir
;;
1136 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1137 localedir
=$ac_optarg ;;
1139 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1140 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1141 ac_prev
=localstatedir
;;
1142 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1143 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1144 localstatedir
=$ac_optarg ;;
1146 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1148 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1149 mandir
=$ac_optarg ;;
1151 -nfp |
--nfp |
--nf)
1152 # Obsolete; use --without-fp.
1155 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1156 |
--no-cr |
--no-c |
-n)
1159 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1160 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1163 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1164 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1165 |
--oldin |
--oldi |
--old |
--ol |
--o)
1166 ac_prev
=oldincludedir
;;
1167 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1168 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1169 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1170 oldincludedir
=$ac_optarg ;;
1172 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1174 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1175 prefix
=$ac_optarg ;;
1177 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1178 |
--program-pre |
--program-pr |
--program-p)
1179 ac_prev
=program_prefix
;;
1180 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1181 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1182 program_prefix
=$ac_optarg ;;
1184 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1185 |
--program-suf |
--program-su |
--program-s)
1186 ac_prev
=program_suffix
;;
1187 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1188 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1189 program_suffix
=$ac_optarg ;;
1191 -program-transform-name |
--program-transform-name \
1192 |
--program-transform-nam |
--program-transform-na \
1193 |
--program-transform-n |
--program-transform- \
1194 |
--program-transform |
--program-transfor \
1195 |
--program-transfo |
--program-transf \
1196 |
--program-trans |
--program-tran \
1197 |
--progr-tra |
--program-tr |
--program-t)
1198 ac_prev
=program_transform_name
;;
1199 -program-transform-name=* |
--program-transform-name=* \
1200 |
--program-transform-nam=* |
--program-transform-na=* \
1201 |
--program-transform-n=* |
--program-transform-=* \
1202 |
--program-transform=* |
--program-transfor=* \
1203 |
--program-transfo=* |
--program-transf=* \
1204 |
--program-trans=* |
--program-tran=* \
1205 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1206 program_transform_name
=$ac_optarg ;;
1208 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1210 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1211 pdfdir
=$ac_optarg ;;
1213 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1215 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1218 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1219 |
-silent |
--silent |
--silen |
--sile |
--sil)
1222 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1224 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1226 sbindir
=$ac_optarg ;;
1228 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1229 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1230 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1232 ac_prev
=sharedstatedir
;;
1233 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1234 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1235 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1237 sharedstatedir
=$ac_optarg ;;
1239 -site |
--site |
--sit)
1241 -site=* |
--site=* |
--sit=*)
1244 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1246 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1247 srcdir
=$ac_optarg ;;
1249 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1250 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1251 ac_prev
=sysconfdir
;;
1252 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1253 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1254 sysconfdir
=$ac_optarg ;;
1256 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1257 ac_prev
=target_alias
;;
1258 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1259 target_alias
=$ac_optarg ;;
1261 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1264 -version |
--version |
--versio |
--versi |
--vers |
-V)
1265 ac_init_version
=: ;;
1268 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1269 # Reject names that are not valid shell variable names.
1270 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1271 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1272 { (exit 1); exit 1; }; }
1273 ac_useropt_orig
=$ac_useropt
1274 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1275 case $ac_user_opts in
1279 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1280 ac_unrecognized_sep
=', ';;
1282 eval with_
$ac_useropt=\
$ac_optarg ;;
1284 -without-* |
--without-*)
1285 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1286 # Reject names that are not valid shell variable names.
1287 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1288 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1289 { (exit 1); exit 1; }; }
1290 ac_useropt_orig
=$ac_useropt
1291 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1292 case $ac_user_opts in
1296 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1297 ac_unrecognized_sep
=', ';;
1299 eval with_
$ac_useropt=no
;;
1302 # Obsolete; use --with-x.
1305 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1306 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1307 ac_prev
=x_includes
;;
1308 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1309 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1310 x_includes
=$ac_optarg ;;
1312 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1313 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1314 ac_prev
=x_libraries
;;
1315 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1316 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1317 x_libraries
=$ac_optarg ;;
1319 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1320 Try \`$0 --help' for more information." >&2
1321 { (exit 1); exit 1; }; }
1325 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1326 # Reject names that are not valid shell variable names.
1327 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1328 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1329 { (exit 1); exit 1; }; }
1330 eval $ac_envvar=\
$ac_optarg
1331 export $ac_envvar ;;
1334 # FIXME: should be removed in autoconf 3.0.
1335 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1336 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1337 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1338 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1344 if test -n "$ac_prev"; then
1345 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1346 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1347 { (exit 1); exit 1; }; }
1350 if test -n "$ac_unrecognized_opts"; then
1351 case $enable_option_checking in
1353 fatal
) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1354 { (exit 1); exit 1; }; } ;;
1355 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1359 # Check all directory arguments for consistency.
1360 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1361 datadir sysconfdir sharedstatedir localstatedir includedir \
1362 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1363 libdir localedir mandir
1365 eval ac_val
=\$
$ac_var
1366 # Remove trailing slashes.
1369 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1370 eval $ac_var=\
$ac_val;;
1372 # Be sure to have absolute directory names.
1374 [\\/$
]* | ?
:[\\/]* ) continue;;
1375 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1377 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1378 { (exit 1); exit 1; }; }
1381 # There might be people who depend on the old broken behavior: `$host'
1382 # used to hold the argument of --host etc.
1383 # FIXME: To remove some day.
1386 target
=$target_alias
1388 # FIXME: To remove some day.
1389 if test "x$host_alias" != x
; then
1390 if test "x$build_alias" = x
; then
1391 cross_compiling
=maybe
1392 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1393 If a cross compiler is detected then cross compile mode will be used." >&2
1394 elif test "x$build_alias" != "x$host_alias"; then
1400 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1402 test "$silent" = yes && exec 6>/dev
/null
1405 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1406 ac_ls_di
=`ls -di .` &&
1407 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1408 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1409 { (exit 1); exit 1; }; }
1410 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1411 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1412 { (exit 1); exit 1; }; }
1415 # Find the source files, if location was not specified.
1416 if test -z "$srcdir"; then
1417 ac_srcdir_defaulted
=yes
1418 # Try the directory containing this script, then the parent directory.
1419 ac_confdir
=`$as_dirname -- "$as_myself" ||
1420 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1421 X"$as_myself" : 'X\(//\)[^/]' \| \
1422 X"$as_myself" : 'X\(//\)$' \| \
1423 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1424 $as_echo X"$as_myself" |
1425 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1443 if test ! -r "$srcdir/$ac_unique_file"; then
1447 ac_srcdir_defaulted
=no
1449 if test ! -r "$srcdir/$ac_unique_file"; then
1450 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1451 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1452 { (exit 1); exit 1; }; }
1454 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1456 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1457 { (exit 1); exit 1; }; }
1459 # When building in place, set srcdir=.
1460 if test "$ac_abs_confdir" = "$ac_pwd"; then
1463 # Remove unnecessary trailing slashes from srcdir.
1464 # Double slashes in file names in object file debugging info
1465 # mess up M-x gdb in Emacs.
1467 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1469 for ac_var
in $ac_precious_vars; do
1470 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1471 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1472 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1473 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1477 # Report the --help message.
1479 if test "$ac_init_help" = "long"; then
1480 # Omit some internal or obsolete options to make the list less imposing.
1481 # This message is too long to be a string in the A/UX 3.1 sh.
1483 \`configure' configures gdbmobj 0.10 to adapt to many kinds of systems.
1485 Usage: $0 [OPTION]... [VAR=VALUE]...
1487 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1488 VAR=VALUE. See below for descriptions of some of the useful variables.
1490 Defaults for the options are specified in brackets.
1493 -h, --help display this help and exit
1494 --help=short display options specific to this package
1495 --help=recursive display the short help of all the included packages
1496 -V, --version display version information and exit
1497 -q, --quiet, --silent do not print \`checking...' messages
1498 --cache-file=FILE cache test results in FILE [disabled]
1499 -C, --config-cache alias for \`--cache-file=config.cache'
1500 -n, --no-create do not create output files
1501 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1503 Installation directories:
1504 --prefix=PREFIX install architecture-independent files in PREFIX
1505 [$ac_default_prefix]
1506 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1509 By default, \`make install' will install all the files in
1510 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1511 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1512 for instance \`--prefix=\$HOME'.
1514 For better control, use the options below.
1516 Fine tuning of the installation directories:
1517 --bindir=DIR user executables [EPREFIX/bin]
1518 --sbindir=DIR system admin executables [EPREFIX/sbin]
1519 --libexecdir=DIR program executables [EPREFIX/libexec]
1520 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1521 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1522 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1523 --libdir=DIR object code libraries [EPREFIX/lib]
1524 --includedir=DIR C header files [PREFIX/include]
1525 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1526 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1527 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1528 --infodir=DIR info documentation [DATAROOTDIR/info]
1529 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1530 --mandir=DIR man documentation [DATAROOTDIR/man]
1531 --docdir=DIR documentation root [DATAROOTDIR/doc/gdbmobj]
1532 --htmldir=DIR html documentation [DOCDIR]
1533 --dvidir=DIR dvi documentation [DOCDIR]
1534 --pdfdir=DIR pdf documentation [DOCDIR]
1535 --psdir=DIR ps documentation [DOCDIR]
1541 --program-prefix=PREFIX prepend PREFIX to installed program names
1542 --program-suffix=SUFFIX append SUFFIX to installed program names
1543 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1546 --build=BUILD configure
for building on BUILD
[guessed
]
1547 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1551 if test -n "$ac_init_help"; then
1552 case $ac_init_help in
1553 short | recursive
) echo "Configuration of gdbmobj 0.10:";;
1558 --disable-option-checking ignore unrecognized
--enable/--with options
1559 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1560 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1561 --disable-dependency-tracking speeds up one-time build
1562 --enable-dependency-tracking do not reject slow dependency extractors
1563 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1564 --enable-static[=PKGS
] build static libraries
[default
=yes]
1565 --enable-fast-install[=PKGS
]
1566 optimize
for fast installation
[default
=yes]
1567 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1570 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1571 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1572 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1574 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1576 Some influential environment variables
:
1577 CC C compiler
command
1578 CFLAGS C compiler flags
1579 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1580 nonstandard directory
<lib dir
>
1581 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1582 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1583 you have headers
in a nonstandard directory
<include dir
>
1585 CXX C
++ compiler
command
1586 CXXFLAGS C
++ compiler flags
1587 CXXCPP C
++ preprocessor
1589 Use these variables to override the choices made by
`configure' or to help
1590 it to find libraries and programs with nonstandard names/locations.
1592 Report bugs to <courier-users@lists.sourceforge.net>.
1597 if test "$ac_init_help" = "recursive"; then
1598 # If there are subdirs, report their specific --help.
1599 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1600 test -d "$ac_dir" ||
1601 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1606 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1608 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1609 # A ".." for each directory in $ac_dir_suffix.
1610 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1611 case $ac_top_builddir_sub in
1612 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1613 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1616 ac_abs_top_builddir=$ac_pwd
1617 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1618 # for backward compatibility:
1619 ac_top_builddir=$ac_top_build_prefix
1622 .) # We are building in place.
1624 ac_top_srcdir=$ac_top_builddir_sub
1625 ac_abs_top_srcdir=$ac_pwd ;;
1626 [\\/]* | ?:[\\/]* ) # Absolute name.
1627 ac_srcdir=$srcdir$ac_dir_suffix;
1628 ac_top_srcdir=$srcdir
1629 ac_abs_top_srcdir=$srcdir ;;
1631 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1632 ac_top_srcdir=$ac_top_build_prefix$srcdir
1633 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1635 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1637 cd "$ac_dir" || { ac_status=$?; continue; }
1638 # Check for guested configure.
1639 if test -f "$ac_srcdir/configure.gnu"; then
1641 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1642 elif test -f "$ac_srcdir/configure"; then
1644 $SHELL "$ac_srcdir/configure" --help=recursive
1646 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1648 cd "$ac_pwd" || { ac_status=$?; break; }
1652 test -n "$ac_init_help" && exit $ac_status
1653 if $ac_init_version; then
1655 gdbmobj configure 0.10
1656 generated by GNU Autoconf 2.63
1658 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1659 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1660 This configure script is free software; the Free Software Foundation
1661 gives unlimited permission to copy, distribute and modify it.
1665 cat >config.log <<_ACEOF
1666 This file contains any messages produced by compilers while
1667 running configure, to aid debugging if configure makes a mistake.
1669 It was created by gdbmobj $as_me 0.10, which was
1670 generated by GNU Autoconf 2.63. Invocation command line was
1682 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1683 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1684 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1685 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1686 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1688 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1689 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1691 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1692 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1693 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1694 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1695 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1696 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1697 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1705 test -z "$as_dir" && as_dir=.
1706 $as_echo "PATH: $as_dir"
1722 # Keep a trace of the command line.
1723 # Strip out --no-create and --no-recursion so they do not pile up.
1724 # Strip out --silent because we don't want to record it for future runs.
1725 # Also quote any args containing shell meta-characters.
1726 # Make two passes to allow for proper duplicate-argument suppression.
1730 ac_must_keep_next=false
1736 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1737 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1738 | -silent | --silent | --silen | --sile | --sil)
1741 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1744 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1746 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1747 if test $ac_must_keep_next = true; then
1748 ac_must_keep_next=false # Got value, back to normal.
1751 *=* | --config-cache | -C | -disable-* | --disable-* \
1752 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1753 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1754 | -with-* | --with-* | -without-* | --without-* | --x)
1755 case "$ac_configure_args0 " in
1756 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1759 -* ) ac_must_keep_next=true ;;
1762 ac_configure_args="$ac_configure_args '$ac_arg'"
1767 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1768 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1770 # When interrupted or exit'd, cleanup temporary files, and complete
1771 # config.log. We remove comments because anyway the quotes in there
1772 # would cause problems or look ugly.
1773 # WARNING: Use '\'' to represent an apostrophe within the trap.
1774 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1775 trap 'exit_status=$?
1776 # Save into config.log some information that might help in debugging.
1781 ## ---------------- ##
1782 ## Cache variables. ##
1783 ## ---------------- ##
1786 # The following way of writing the cache mishandles newlines in values,
1788 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1789 eval ac_val=\$$ac_var
1793 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1794 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1797 _ | IFS | as_nl) ;; #(
1798 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1799 *) $as_unset $ac_var ;;
1804 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1805 *${as_nl}ac_space=\ *)
1807 "s/'\''/'\''\\\\'\'''\''/g;
1808 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1811 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1819 ## ----------------- ##
1820 ## Output variables. ##
1821 ## ----------------- ##
1824 for ac_var in $ac_subst_vars
1826 eval ac_val=\$$ac_var
1828 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1830 $as_echo "$ac_var='\''$ac_val'\''"
1834 if test -n "$ac_subst_files"; then
1836 ## ------------------- ##
1837 ## File substitutions. ##
1838 ## ------------------- ##
1841 for ac_var in $ac_subst_files
1843 eval ac_val=\$$ac_var
1845 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1847 $as_echo "$ac_var='\''$ac_val'\''"
1852 if test -s confdefs.h; then
1862 test "$ac_signal" != 0 &&
1863 $as_echo "$as_me: caught signal $ac_signal"
1864 $as_echo "$as_me: exit $exit_status"
1866 rm -f core *.core core.conftest.* &&
1867 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1870 for ac_signal in 1 2 13 15; do
1871 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1875 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1876 rm -f -r conftest* confdefs.h
1878 # Predefined preprocessor variables.
1880 cat >>confdefs.h <<_ACEOF
1881 #define PACKAGE_NAME "$PACKAGE_NAME"
1885 cat >>confdefs.h <<_ACEOF
1886 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1890 cat >>confdefs.h <<_ACEOF
1891 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1895 cat >>confdefs.h <<_ACEOF
1896 #define PACKAGE_STRING "$PACKAGE_STRING"
1900 cat >>confdefs.h <<_ACEOF
1901 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1905 # Let the site file select an alternate cache file if it wants to.
1906 # Prefer an explicitly selected file to automatically selected ones.
1909 if test -n "$CONFIG_SITE"; then
1910 ac_site_file1=$CONFIG_SITE
1911 elif test "x$prefix" != xNONE; then
1912 ac_site_file1=$prefix/share/config.site
1913 ac_site_file2=$prefix/etc/config.site
1915 ac_site_file1=$ac_default_prefix/share/config.site
1916 ac_site_file2=$ac_default_prefix/etc/config.site
1918 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1920 test "x$ac_site_file" = xNONE && continue
1921 if test -r "$ac_site_file"; then
1922 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1923 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1924 sed 's/^/| /' "$ac_site_file" >&5
1929 if test -r "$cache_file"; then
1930 # Some versions of bash will fail to source /dev/null (special
1931 # files actually), so we avoid doing that.
1932 if test -f "$cache_file"; then
1933 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1934 $as_echo "$as_me: loading cache $cache_file" >&6;}
1936 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1937 *) . "./$cache_file";;
1941 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1942 $as_echo "$as_me: creating cache $cache_file" >&6;}
1946 # Check that the precious variables saved in the cache have kept the same
1948 ac_cache_corrupted=false
1949 for ac_var in $ac_precious_vars; do
1950 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1951 eval ac_new_set=\$ac_env_${ac_var}_set
1952 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1953 eval ac_new_val=\$ac_env_${ac_var}_value
1954 case $ac_old_set,$ac_new_set in
1956 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1957 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1958 ac_cache_corrupted=: ;;
1960 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1961 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1962 ac_cache_corrupted=: ;;
1965 if test "x$ac_old_val" != "x$ac_new_val"; then
1966 # differences in whitespace do not lead to failure.
1967 ac_old_val_w=`echo x
$ac_old_val`
1968 ac_new_val_w=`echo x
$ac_new_val`
1969 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1970 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1971 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1972 ac_cache_corrupted=:
1974 { $as_echo "$as_me:$LINENO: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
1975 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1976 eval $ac_var=\$ac_old_val
1978 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1979 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
1980 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1981 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1984 # Pass precious variables to config.status.
1985 if test "$ac_new_set" = set; then
1987 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1988 *) ac_arg=$ac_var=$ac_new_val ;;
1990 case " $ac_configure_args " in
1991 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1992 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1996 if $ac_cache_corrupted; then
1997 { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
1998 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1999 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2000 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2001 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&5
2002 $as_echo "$as_me: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&2;}
2003 { (exit 1); exit 1; }; }
2031 ac_cpp='$CPP $CPPFLAGS'
2032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2038 >confdefs.h # Kill PACKAGE_ macros
2041 am__api_version='1.11'
2044 for ac_dir in "$srcdir" "$srcdir/..
" "$srcdir/..
/..
"; do
2045 if test -f "$ac_dir/install-sh
"; then
2047 ac_install_sh="$ac_aux_dir/install-sh
-c"
2049 elif test -f "$ac_dir/install.sh
"; then
2051 ac_install_sh="$ac_aux_dir/install.sh
-c"
2053 elif test -f "$ac_dir/shtool
"; then
2055 ac_install_sh="$ac_aux_dir/shtool
install -c"
2059 if test -z "$ac_aux_dir"; then
2060 { { $as_echo "$as_me:$LINENO: error
: cannot
find install-sh or
install.sh
in \"$srcdir\" \"$srcdir/..
\" \"$srcdir/..
/..
\"" >&5
2061 $as_echo "$as_me: error
: cannot
find install-sh or
install.sh
in \"$srcdir\" \"$srcdir/..
\" \"$srcdir/..
/..
\"" >&2;}
2062 { (exit 1); exit 1; }; }
2065 # These three variables are undocumented and unsupported,
2066 # and are intended to be withdrawn in a future Autoconf release.
2067 # They can cause serious problems if a builder's source tree is in a directory
2068 # whose full name contains unusual characters.
2069 ac_config_guess="$SHELL $ac_aux_dir/config.guess
" # Please don't use this var.
2070 ac_config_sub="$SHELL $ac_aux_dir/config.sub
" # Please don't use this var.
2071 ac_configure="$SHELL $ac_aux_dir/configure
" # Please don't use this var.
2074 # Find a good install program. We prefer a C program (faster),
2075 # so one script is as good as another. But avoid the broken or
2076 # incompatible versions:
2077 # SysV /etc/install, /usr/sbin/install
2078 # SunOS /usr/etc/install
2079 # IRIX /sbin/install
2081 # AmigaOS /C/install, which installs bootblocks on floppy discs
2082 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2083 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2084 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff
"
2085 # OS/2's system install, which has a completely different semantic
2086 # ./install, which can be erroneously created by make from ./install.sh.
2087 # Reject install programs that cannot install multiple files.
2088 { $as_echo "$as_me:$LINENO: checking
for a BSD-compatible
install" >&5
2089 $as_echo_n "checking
for a BSD-compatible
install...
" >&6; }
2090 if test -z "$INSTALL"; then
2091 if test "${ac_cv_path_install+set}" = set; then
2092 $as_echo_n "(cached
) " >&6
2094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2098 test -z "$as_dir" && as_dir=.
2099 # Account for people who put trailing slashes in PATH elements.
2101 ./ | .// | /cC/* | \
2102 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2103 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2106 # OSF1 and SCO ODT 3.0 have their own names for install.
2107 # Don't use installbsd from OSF since it installs stuff as root
2109 for ac_prog in ginstall scoinst install; do
2110 for ac_exec_ext in '' $ac_executable_extensions; do
2111 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2112 if test $ac_prog = install &&
2113 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2114 # AIX install. It has an incompatible calling convention.
2116 elif test $ac_prog = install &&
2117 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2118 # program-specific install script used by HP pwplus--don't use.
2121 rm -rf conftest.one conftest.two conftest.dir
2122 echo one > conftest.one
2123 echo two > conftest.two
2125 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir
" &&
2126 test -s conftest.one && test -s conftest.two &&
2127 test -s conftest.dir/conftest.one &&
2128 test -s conftest.dir/conftest.two
2130 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2143 rm -rf conftest.one conftest.two conftest.dir
2146 if test "${ac_cv_path_install+set}" = set; then
2147 INSTALL=$ac_cv_path_install
2149 # As a last resort, use the slow shell script. Don't cache a
2150 # value for INSTALL within a source directory, because that will
2151 # break other packages using the cache if that directory is
2152 # removed, or if the value is a relative name.
2153 INSTALL=$ac_install_sh
2156 { $as_echo "$as_me:$LINENO: result
: $INSTALL" >&5
2157 $as_echo "$INSTALL" >&6; }
2159 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2160 # It thinks the first close brace ends the variable substitution.
2161 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2163 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2165 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2167 { $as_echo "$as_me:$LINENO: checking whether build environment is sane
" >&5
2168 $as_echo_n "checking whether build environment is sane...
" >&6; }
2171 echo timestamp > conftest.file
2172 # Reject unsafe characters in $srcdir or the absolute working directory
2173 # name. Accept space and tab only in the latter.
2177 *[\\\"\#\$\&\'\`$am_lf]*)
2178 { { $as_echo "$as_me:$LINENO: error
: unsafe absolute working directory name
" >&5
2179 $as_echo "$as_me: error
: unsafe absolute working directory name
" >&2;}
2180 { (exit 1); exit 1; }; };;
2183 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2184 { { $as_echo "$as_me:$LINENO: error
: unsafe srcdir value
: \
`$srcdir'" >&5
2185 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
2186 { (exit 1); exit 1; }; };;
2189 # Do `set' in a subshell so we don
't clobber the current shell's
2190 # arguments. Must try -L first in case configure is actually a
2191 # symlink; some systems play weird games with the mod time of symlinks
2192 # (eg FreeBSD returns the mod time of the symlink's containing
2195 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2196 if test "$*" = "X"; then
2198 set X
`ls -t "$srcdir/configure" conftest.file`
2201 if test "$*" != "X $srcdir/configure conftest.file" \
2202 && test "$*" != "X conftest.file $srcdir/configure"; then
2204 # If neither matched, then we have a broken ls. This can happen
2205 # if, for instance, CONFIG_SHELL is bash and it inherits a
2206 # broken ls alias from the environment. This has actually
2207 # happened. Such a system could not be considered "sane".
2208 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2209 alias in your environment" >&5
2210 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2211 alias in your environment" >&2;}
2212 { (exit 1); exit 1; }; }
2215 test "$2" = conftest.
file
2221 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2222 Check your system clock" >&5
2223 $as_echo "$as_me: error: newly created file is older than distributed files!
2224 Check your system clock" >&2;}
2225 { (exit 1); exit 1; }; }
2227 { $as_echo "$as_me:$LINENO: result: yes" >&5
2228 $as_echo "yes" >&6; }
2229 test "$program_prefix" != NONE
&&
2230 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2231 # Use a double $ so make ignores it.
2232 test "$program_suffix" != NONE
&&
2233 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2234 # Double any \ or $.
2235 # By default was `s,x,x', remove it if useless.
2236 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2237 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2239 # expand $ac_aux_dir to an absolute path
2240 am_aux_dir
=`cd $ac_aux_dir && pwd`
2242 if test x
"${MISSING+set}" != xset
; then
2245 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2247 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2250 # Use eval to expand $SHELL
2251 if eval "$MISSING --run true"; then
2252 am_missing_run
="$MISSING --run "
2255 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2256 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2259 if test x
"${install_sh}" != xset
; then
2262 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2264 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2268 # Installed binaries are usually stripped using `strip' when the user
2269 # run `make install-strip'. However `strip' might not be the right
2270 # tool to use in cross-compilation environments, therefore Automake
2271 # will honor the `STRIP' environment variable to overrule this program.
2272 if test "$cross_compiling" != no
; then
2273 if test -n "$ac_tool_prefix"; then
2274 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2275 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2276 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2277 $as_echo_n "checking for $ac_word... " >&6; }
2278 if test "${ac_cv_prog_STRIP+set}" = set; then
2279 $as_echo_n "(cached) " >&6
2281 if test -n "$STRIP"; then
2282 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2284 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2288 test -z "$as_dir" && as_dir
=.
2289 for ac_exec_ext
in '' $ac_executable_extensions; do
2290 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2291 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2292 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2301 STRIP
=$ac_cv_prog_STRIP
2302 if test -n "$STRIP"; then
2303 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2304 $as_echo "$STRIP" >&6; }
2306 { $as_echo "$as_me:$LINENO: result: no" >&5
2307 $as_echo "no" >&6; }
2312 if test -z "$ac_cv_prog_STRIP"; then
2314 # Extract the first word of "strip", so it can be a program name with args.
2315 set dummy strip
; ac_word
=$2
2316 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2317 $as_echo_n "checking for $ac_word... " >&6; }
2318 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2319 $as_echo_n "(cached) " >&6
2321 if test -n "$ac_ct_STRIP"; then
2322 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2324 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2328 test -z "$as_dir" && as_dir
=.
2329 for ac_exec_ext
in '' $ac_executable_extensions; do
2330 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2331 ac_cv_prog_ac_ct_STRIP
="strip"
2332 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2341 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2342 if test -n "$ac_ct_STRIP"; then
2343 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2344 $as_echo "$ac_ct_STRIP" >&6; }
2346 { $as_echo "$as_me:$LINENO: result: no" >&5
2347 $as_echo "no" >&6; }
2350 if test "x$ac_ct_STRIP" = x
; then
2353 case $cross_compiling:$ac_tool_warned in
2355 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2356 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2357 ac_tool_warned
=yes ;;
2362 STRIP
="$ac_cv_prog_STRIP"
2366 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2368 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2369 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2370 if test -z "$MKDIR_P"; then
2371 if test "${ac_cv_path_mkdir+set}" = set; then
2372 $as_echo_n "(cached) " >&6
2374 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2375 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2378 test -z "$as_dir" && as_dir
=.
2379 for ac_prog
in mkdir gmkdir
; do
2380 for ac_exec_ext
in '' $ac_executable_extensions; do
2381 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2382 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2383 'mkdir (GNU coreutils) '* | \
2384 'mkdir (coreutils) '* | \
2385 'mkdir (fileutils) '4.1*)
2386 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2396 if test "${ac_cv_path_mkdir+set}" = set; then
2397 MKDIR_P
="$ac_cv_path_mkdir -p"
2399 # As a last resort, use the slow shell script. Don't cache a
2400 # value for MKDIR_P within a source directory, because that will
2401 # break other packages using the cache if that directory is
2402 # removed, or if the value is a relative name.
2403 test -d .
/--version && rmdir .
/--version
2404 MKDIR_P
="$ac_install_sh -d"
2407 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2408 $as_echo "$MKDIR_P" >&6; }
2412 [\\/$
]* | ?
:[\\/]*) ;;
2413 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2416 for ac_prog
in gawk mawk nawk
awk
2418 # Extract the first word of "$ac_prog", so it can be a program name with args.
2419 set dummy
$ac_prog; ac_word
=$2
2420 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2421 $as_echo_n "checking for $ac_word... " >&6; }
2422 if test "${ac_cv_prog_AWK+set}" = set; then
2423 $as_echo_n "(cached) " >&6
2425 if test -n "$AWK"; then
2426 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2428 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2432 test -z "$as_dir" && as_dir
=.
2433 for ac_exec_ext
in '' $ac_executable_extensions; do
2434 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2435 ac_cv_prog_AWK
="$ac_prog"
2436 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2446 if test -n "$AWK"; then
2447 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2448 $as_echo "$AWK" >&6; }
2450 { $as_echo "$as_me:$LINENO: result: no" >&5
2451 $as_echo "no" >&6; }
2455 test -n "$AWK" && break
2458 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2459 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2461 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2462 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2463 $as_echo_n "(cached) " >&6
2465 cat >conftest.
make <<\_ACEOF
2468 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2470 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2471 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2473 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2475 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2479 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2480 { $as_echo "$as_me:$LINENO: result: yes" >&5
2481 $as_echo "yes" >&6; }
2484 { $as_echo "$as_me:$LINENO: result: no" >&5
2485 $as_echo "no" >&6; }
2486 SET_MAKE
="MAKE=${MAKE-make}"
2489 rm -rf .tst
2>/dev
/null
2490 mkdir .tst
2>/dev
/null
2491 if test -d .tst
; then
2496 rmdir .tst
2>/dev
/null
2498 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2499 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2500 # is not polluted with repeated "-I."
2501 am__isrc
=' -I$(srcdir)'
2502 # test to see if srcdir already configured
2503 if test -f $srcdir/config.status
; then
2504 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2505 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2506 { (exit 1); exit 1; }; }
2510 # test whether we have cygpath
2511 if test -z "$CYGPATH_W"; then
2512 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2513 CYGPATH_W
='cygpath -w'
2520 # Define the identity of the package.
2525 # Some tools Automake needs.
2527 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2530 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2533 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2536 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2539 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2541 # We need awk for the "check" target. The system "awk" is bad on
2543 # Always define AMTAR for backward compatibility.
2545 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2547 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2553 ac_config_headers
="$ac_config_headers config.h"
2556 DEPDIR
="${am__leading_dot}deps"
2558 ac_config_commands
="$ac_config_commands depfiles"
2561 am_make
=${MAKE-make}
2562 cat > confinc
<< 'END'
2564 @
echo this is the am__doit target
2567 # If we don't find an include directive, just comment out the code.
2568 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2569 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2573 # First try GNU make style include.
2574 echo "include confinc" > confmf
2575 # Ignore all kinds of additional output from `make'.
2576 case `$am_make -s -f confmf 2> /dev/null` in #(
2577 *the\ am__doit\ target
*)
2583 # Now try BSD make style include.
2584 if test "$am__include" = "#"; then
2585 echo '.include "confinc"' > confmf
2586 case `$am_make -s -f confmf 2> /dev/null` in #(
2587 *the\ am__doit\ target
*)
2588 am__include
=.include
2596 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
2597 $as_echo "$_am_result" >&6; }
2598 rm -f confinc confmf
2600 # Check whether --enable-dependency-tracking was given.
2601 if test "${enable_dependency_tracking+set}" = set; then
2602 enableval
=$enable_dependency_tracking;
2605 if test "x$enable_dependency_tracking" != xno
; then
2606 am_depcomp
="$ac_aux_dir/depcomp"
2609 if test "x$enable_dependency_tracking" != xno; then
2619 ac_cpp
='$CPP $CPPFLAGS'
2620 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2621 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2622 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2623 if test -n "$ac_tool_prefix"; then
2624 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2625 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2626 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2627 $as_echo_n "checking for $ac_word... " >&6; }
2628 if test "${ac_cv_prog_CC+set}" = set; then
2629 $as_echo_n "(cached) " >&6
2631 if test -n "$CC"; then
2632 ac_cv_prog_CC
="$CC" # Let the user override the test.
2634 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2638 test -z "$as_dir" && as_dir
=.
2639 for ac_exec_ext
in '' $ac_executable_extensions; do
2640 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2641 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2642 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2652 if test -n "$CC"; then
2653 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2654 $as_echo "$CC" >&6; }
2656 { $as_echo "$as_me:$LINENO: result: no" >&5
2657 $as_echo "no" >&6; }
2662 if test -z "$ac_cv_prog_CC"; then
2664 # Extract the first word of "gcc", so it can be a program name with args.
2665 set dummy gcc
; ac_word
=$2
2666 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2667 $as_echo_n "checking for $ac_word... " >&6; }
2668 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2669 $as_echo_n "(cached) " >&6
2671 if test -n "$ac_ct_CC"; then
2672 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2674 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2678 test -z "$as_dir" && as_dir
=.
2679 for ac_exec_ext
in '' $ac_executable_extensions; do
2680 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2681 ac_cv_prog_ac_ct_CC
="gcc"
2682 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2691 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2692 if test -n "$ac_ct_CC"; then
2693 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2694 $as_echo "$ac_ct_CC" >&6; }
2696 { $as_echo "$as_me:$LINENO: result: no" >&5
2697 $as_echo "no" >&6; }
2700 if test "x$ac_ct_CC" = x
; then
2703 case $cross_compiling:$ac_tool_warned in
2705 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2706 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2707 ac_tool_warned
=yes ;;
2715 if test -z "$CC"; then
2716 if test -n "$ac_tool_prefix"; then
2717 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2718 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2719 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2720 $as_echo_n "checking for $ac_word... " >&6; }
2721 if test "${ac_cv_prog_CC+set}" = set; then
2722 $as_echo_n "(cached) " >&6
2724 if test -n "$CC"; then
2725 ac_cv_prog_CC
="$CC" # Let the user override the test.
2727 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2731 test -z "$as_dir" && as_dir
=.
2732 for ac_exec_ext
in '' $ac_executable_extensions; do
2733 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2734 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2735 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2745 if test -n "$CC"; then
2746 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2747 $as_echo "$CC" >&6; }
2749 { $as_echo "$as_me:$LINENO: result: no" >&5
2750 $as_echo "no" >&6; }
2756 if test -z "$CC"; then
2757 # Extract the first word of "cc", so it can be a program name with args.
2758 set dummy cc
; ac_word
=$2
2759 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2760 $as_echo_n "checking for $ac_word... " >&6; }
2761 if test "${ac_cv_prog_CC+set}" = set; then
2762 $as_echo_n "(cached) " >&6
2764 if test -n "$CC"; then
2765 ac_cv_prog_CC
="$CC" # Let the user override the test.
2768 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2772 test -z "$as_dir" && as_dir
=.
2773 for ac_exec_ext
in '' $ac_executable_extensions; do
2774 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2775 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2776 ac_prog_rejected
=yes
2780 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2787 if test $ac_prog_rejected = yes; then
2788 # We found a bogon in the path, so make sure we never use it.
2789 set dummy
$ac_cv_prog_CC
2791 if test $# != 0; then
2792 # We chose a different compiler from the bogus one.
2793 # However, it has the same basename, so the bogon will be chosen
2794 # first if we set CC to just the basename; use the full file name.
2796 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2802 if test -n "$CC"; then
2803 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2804 $as_echo "$CC" >&6; }
2806 { $as_echo "$as_me:$LINENO: result: no" >&5
2807 $as_echo "no" >&6; }
2812 if test -z "$CC"; then
2813 if test -n "$ac_tool_prefix"; then
2814 for ac_prog
in cl.exe
2816 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2817 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2818 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2819 $as_echo_n "checking for $ac_word... " >&6; }
2820 if test "${ac_cv_prog_CC+set}" = set; then
2821 $as_echo_n "(cached) " >&6
2823 if test -n "$CC"; then
2824 ac_cv_prog_CC
="$CC" # Let the user override the test.
2826 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2830 test -z "$as_dir" && as_dir
=.
2831 for ac_exec_ext
in '' $ac_executable_extensions; do
2832 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2833 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2834 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2844 if test -n "$CC"; then
2845 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2846 $as_echo "$CC" >&6; }
2848 { $as_echo "$as_me:$LINENO: result: no" >&5
2849 $as_echo "no" >&6; }
2853 test -n "$CC" && break
2856 if test -z "$CC"; then
2858 for ac_prog
in cl.exe
2860 # Extract the first word of "$ac_prog", so it can be a program name with args.
2861 set dummy
$ac_prog; ac_word
=$2
2862 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2863 $as_echo_n "checking for $ac_word... " >&6; }
2864 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2865 $as_echo_n "(cached) " >&6
2867 if test -n "$ac_ct_CC"; then
2868 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2870 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2874 test -z "$as_dir" && as_dir
=.
2875 for ac_exec_ext
in '' $ac_executable_extensions; do
2876 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2877 ac_cv_prog_ac_ct_CC
="$ac_prog"
2878 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2887 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2888 if test -n "$ac_ct_CC"; then
2889 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2890 $as_echo "$ac_ct_CC" >&6; }
2892 { $as_echo "$as_me:$LINENO: result: no" >&5
2893 $as_echo "no" >&6; }
2897 test -n "$ac_ct_CC" && break
2900 if test "x$ac_ct_CC" = x
; then
2903 case $cross_compiling:$ac_tool_warned in
2905 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2906 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2907 ac_tool_warned
=yes ;;
2916 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2917 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2918 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2919 See \`config.log' for more details." >&5
2920 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2921 See \`config.log' for more details." >&2;}
2922 { (exit 1); exit 1; }; }; }
2924 # Provide some information about the compiler.
2925 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2928 { (ac_try
="$ac_compiler --version >&5"
2930 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2931 *) ac_try_echo=$ac_try;;
2933 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2934 $as_echo "$ac_try_echo") >&5
2935 (eval "$ac_compiler --version >&5") 2>&5
2937 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2938 (exit $ac_status); }
2939 { (ac_try="$ac_compiler -v >&5"
2941 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2942 *) ac_try_echo
=$ac_try;;
2944 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2945 $as_echo "$ac_try_echo") >&5
2946 (eval "$ac_compiler -v >&5") 2>&5
2948 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2949 (exit $ac_status); }
2950 { (ac_try
="$ac_compiler -V >&5"
2952 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2953 *) ac_try_echo=$ac_try;;
2955 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2956 $as_echo "$ac_try_echo") >&5
2957 (eval "$ac_compiler -V >&5") 2>&5
2959 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2960 (exit $ac_status); }
2962 cat >conftest.$ac_ext <<_ACEOF
2965 cat confdefs.h >>conftest.$ac_ext
2966 cat >>conftest.$ac_ext <<_ACEOF
2967 /* end confdefs.h. */
2977 ac_clean_files_save=$ac_clean_files
2978 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2979 # Try to create an executable without -o first, disregard a.out.
2980 # It will help us diagnose broken compilers, and finding out an intuition
2982 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2983 $as_echo_n "checking for C compiler default output file name... " >&6; }
2984 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2986 # The possible output files:
2987 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2990 for ac_file in $ac_files
2993 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2994 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2999 if { (ac_try="$ac_link_default"
3001 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3002 *) ac_try_echo
=$ac_try;;
3004 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3005 $as_echo "$ac_try_echo") >&5
3006 (eval "$ac_link_default") 2>&5
3008 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3009 (exit $ac_status); }; then
3010 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3011 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3012 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3013 # so that the user can short-circuit this test for compilers unknown to
3015 for ac_file
in $ac_files ''
3017 test -f "$ac_file" ||
continue
3019 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3022 # We found the default executable, but exeext='' is most
3026 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3028 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3030 # We set ac_cv_exeext here because the later test for it is not
3031 # safe: cross compilers may not add the suffix if given an `-o'
3032 # argument, so we may need to know it at that point already.
3033 # Even if this section looks crufty: it has the advantage of
3040 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3046 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3047 $as_echo "$ac_file" >&6; }
3048 if test -z "$ac_file"; then
3049 $as_echo "$as_me: failed program was:" >&5
3050 sed 's/^/| /' conftest.
$ac_ext >&5
3052 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3053 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3054 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3055 See \`config.log' for more details." >&5
3056 $as_echo "$as_me: error: C compiler cannot create executables
3057 See \`config.log' for more details." >&2;}
3058 { (exit 77); exit 77; }; }; }
3061 ac_exeext
=$ac_cv_exeext
3063 # Check that the compiler produces executables we can run. If not, either
3064 # the compiler is broken, or we cross compile.
3065 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3066 $as_echo_n "checking whether the C compiler works... " >&6; }
3067 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3068 # If not cross compiling, check that we can run a simple program.
3069 if test "$cross_compiling" != yes; then
3070 if { ac_try
='./$ac_file'
3071 { (case "(($ac_try" in
3072 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3073 *) ac_try_echo=$ac_try;;
3075 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3076 $as_echo "$ac_try_echo") >&5
3077 (eval "$ac_try") 2>&5
3079 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3080 (exit $ac_status); }; }; then
3083 if test "$cross_compiling" = maybe; then
3086 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3087 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3088 { { $as_echo "$as_me:$LINENO: error
: cannot run C compiled programs.
3089 If you meant to cross compile
, use \
`--host'.
3090 See \`config.log
' for more details." >&5
3091 $as_echo "$as_me: error: cannot run C compiled programs.
3092 If you meant to cross compile, use \`--host'.
3093 See \
`config.log' for more details." >&2;}
3094 { (exit 1); exit 1; }; }; }
3098 { $as_echo "$as_me:$LINENO: result: yes" >&5
3099 $as_echo "yes" >&6; }
3101 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3102 ac_clean_files=$ac_clean_files_save
3103 # Check that the compiler produces executables we can run. If not, either
3104 # the compiler is broken, or we cross compile.
3105 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3106 $as_echo_n "checking whether we are cross compiling... " >&6; }
3107 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3108 $as_echo "$cross_compiling" >&6; }
3110 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3111 $as_echo_n "checking for suffix of executables... " >&6; }
3112 if { (ac_try="$ac_link"
3114 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3115 *) ac_try_echo
=$ac_try;;
3117 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3118 $as_echo "$ac_try_echo") >&5
3119 (eval "$ac_link") 2>&5
3121 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3122 (exit $ac_status); }; then
3123 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3124 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3125 # work properly (i.e., refer to `conftest.exe'), while it won't with
3127 for ac_file
in conftest.exe conftest conftest.
*; do
3128 test -f "$ac_file" ||
continue
3130 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3131 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3137 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3138 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3139 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3140 See \`config.log' for more details." >&5
3141 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3142 See \`config.log' for more details." >&2;}
3143 { (exit 1); exit 1; }; }; }
3146 rm -f conftest
$ac_cv_exeext
3147 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3148 $as_echo "$ac_cv_exeext" >&6; }
3150 rm -f conftest.
$ac_ext
3151 EXEEXT
=$ac_cv_exeext
3153 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3154 $as_echo_n "checking for suffix of object files... " >&6; }
3155 if test "${ac_cv_objext+set}" = set; then
3156 $as_echo_n "(cached) " >&6
3158 cat >conftest.
$ac_ext <<_ACEOF
3161 cat confdefs.h
>>conftest.
$ac_ext
3162 cat >>conftest.
$ac_ext <<_ACEOF
3163 /* end confdefs.h. */
3173 rm -f conftest.o conftest.obj
3174 if { (ac_try
="$ac_compile"
3176 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3177 *) ac_try_echo=$ac_try;;
3179 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3180 $as_echo "$ac_try_echo") >&5
3181 (eval "$ac_compile") 2>&5
3183 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3184 (exit $ac_status); }; then
3185 for ac_file in conftest.o conftest.obj conftest.*; do
3186 test -f "$ac_file" || continue;
3188 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3189 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3194 $as_echo "$as_me: failed program was:" >&5
3195 sed 's/^/| /' conftest.$ac_ext >&5
3197 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3198 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3199 { { $as_echo "$as_me:$LINENO: error
: cannot compute suffix of object files
: cannot compile
3200 See \
`config.log' for more details." >&5
3201 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3202 See \`config.log
' for more details." >&2;}
3203 { (exit 1); exit 1; }; }; }
3206 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3208 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3209 $as_echo "$ac_cv_objext" >&6; }
3210 OBJEXT=$ac_cv_objext
3212 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3213 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3214 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3215 $as_echo_n "(cached) " >&6
3217 cat >conftest.$ac_ext <<_ACEOF
3220 cat confdefs.h >>conftest.$ac_ext
3221 cat >>conftest.$ac_ext <<_ACEOF
3222 /* end confdefs.h. */
3235 rm -f conftest.$ac_objext
3236 if { (ac_try="$ac_compile"
3238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3239 *) ac_try_echo=$ac_try;;
3241 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3242 $as_echo "$ac_try_echo") >&5
3243 (eval "$ac_compile") 2>conftest.er1
3245 grep -v '^
*+' conftest.er1 >conftest.err
3247 cat conftest.err >&5
3248 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3249 (exit $ac_status); } && {
3250 test -z "$ac_c_werror_flag" ||
3251 test ! -s conftest.err
3252 } && test -s conftest.$ac_objext; then
3255 $as_echo "$as_me: failed program was:" >&5
3256 sed 's
/^
/|
/' conftest.$ac_ext >&5
3261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3262 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3265 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3266 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3267 if test $ac_compiler_gnu = yes; then
3272 ac_test_CFLAGS=${CFLAGS+set}
3273 ac_save_CFLAGS=$CFLAGS
3274 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3275 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3276 if test "${ac_cv_prog_cc_g+set}" = set; then
3277 $as_echo_n "(cached) " >&6
3279 ac_save_c_werror_flag=$ac_c_werror_flag
3280 ac_c_werror_flag=yes
3283 cat >conftest.$ac_ext <<_ACEOF
3286 cat confdefs.h >>conftest.$ac_ext
3287 cat >>conftest.$ac_ext <<_ACEOF
3288 /* end confdefs.h. */
3298 rm -f conftest.$ac_objext
3299 if { (ac_try="$ac_compile"
3301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3302 *) ac_try_echo=$ac_try;;
3304 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3305 $as_echo "$ac_try_echo") >&5
3306 (eval "$ac_compile") 2>conftest.er1
3308 grep -v '^
*+' conftest.er1 >conftest.err
3310 cat conftest.err >&5
3311 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3312 (exit $ac_status); } && {
3313 test -z "$ac_c_werror_flag" ||
3314 test ! -s conftest.err
3315 } && test -s conftest.$ac_objext; then
3318 $as_echo "$as_me: failed program was:" >&5
3319 sed 's
/^
/|
/' conftest.$ac_ext >&5
3322 cat >conftest.$ac_ext <<_ACEOF
3325 cat confdefs.h >>conftest.$ac_ext
3326 cat >>conftest.$ac_ext <<_ACEOF
3327 /* end confdefs.h. */
3337 rm -f conftest.$ac_objext
3338 if { (ac_try="$ac_compile"
3340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3341 *) ac_try_echo=$ac_try;;
3343 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3344 $as_echo "$ac_try_echo") >&5
3345 (eval "$ac_compile") 2>conftest.er1
3347 grep -v '^
*+' conftest.er1 >conftest.err
3349 cat conftest.err >&5
3350 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3351 (exit $ac_status); } && {
3352 test -z "$ac_c_werror_flag" ||
3353 test ! -s conftest.err
3354 } && test -s conftest.$ac_objext; then
3357 $as_echo "$as_me: failed program was:" >&5
3358 sed 's
/^
/|
/' conftest.$ac_ext >&5
3360 ac_c_werror_flag=$ac_save_c_werror_flag
3362 cat >conftest.$ac_ext <<_ACEOF
3365 cat confdefs.h >>conftest.$ac_ext
3366 cat >>conftest.$ac_ext <<_ACEOF
3367 /* end confdefs.h. */
3377 rm -f conftest.$ac_objext
3378 if { (ac_try="$ac_compile"
3380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3381 *) ac_try_echo=$ac_try;;
3383 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3384 $as_echo "$ac_try_echo") >&5
3385 (eval "$ac_compile") 2>conftest.er1
3387 grep -v '^
*+' conftest.er1 >conftest.err
3389 cat conftest.err >&5
3390 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3391 (exit $ac_status); } && {
3392 test -z "$ac_c_werror_flag" ||
3393 test ! -s conftest.err
3394 } && test -s conftest.$ac_objext; then
3397 $as_echo "$as_me: failed program was:" >&5
3398 sed 's
/^
/|
/' conftest.$ac_ext >&5
3403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3410 ac_c_werror_flag=$ac_save_c_werror_flag
3412 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3413 $as_echo "$ac_cv_prog_cc_g" >&6; }
3414 if test "$ac_test_CFLAGS" = set; then
3415 CFLAGS=$ac_save_CFLAGS
3416 elif test $ac_cv_prog_cc_g = yes; then
3417 if test "$GCC" = yes; then
3423 if test "$GCC" = yes; then
3429 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3430 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3431 if test "${ac_cv_prog_cc_c89+set}" = set; then
3432 $as_echo_n "(cached) " >&6
3434 ac_cv_prog_cc_c89=no
3436 cat >conftest.$ac_ext <<_ACEOF
3439 cat confdefs.h >>conftest.$ac_ext
3440 cat >>conftest.$ac_ext <<_ACEOF
3441 /* end confdefs.h. */
3444 #include <sys/types.h>
3445 #include <sys/stat.h>
3446 /* Most of the following tests are stolen from RCS 5.7's src
/conf.sh.
*/
3447 struct buf
{ int x
; };
3448 FILE
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
3449 static char
*e
(p
, i
)
3455 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
3460 s
= g
(p
, va_arg
(v
,int
));
3465 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
3466 function prototypes and stuff
, but not
'\xHH' hex character constants.
3467 These don
't provoke an error unfortunately, instead are silently treated
3468 as 'x
'. The following induces an error, until -std is added to get
3469 proper ANSI mode. Curiously '\x00'!='x
' always comes out true, for an
3470 array size at least. It's necessary to
write '\x00'==0 to get something
3471 that
's true only with -std. */
3472 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3474 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3475 inside strings and character constants. */
3477 int xlc6_cc_array[FOO(a) == 'x
' ? 1 : -1];
3479 int test (int i, double x);
3480 struct s1 {int (*f) (int a);};
3481 struct s2 {int (*f) (double a);};
3482 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3488 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3493 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3494 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3496 CC="$ac_save_CC $ac_arg"
3497 rm -f conftest.$ac_objext
3498 if { (ac_try="$ac_compile"
3500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3501 *) ac_try_echo=$ac_try;;
3503 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3504 $as_echo "$ac_try_echo") >&5
3505 (eval "$ac_compile") 2>conftest.er1
3507 grep -v '^
*+' conftest.er1 >conftest.err
3509 cat conftest.err >&5
3510 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3511 (exit $ac_status); } && {
3512 test -z "$ac_c_werror_flag" ||
3513 test ! -s conftest.err
3514 } && test -s conftest.$ac_objext; then
3515 ac_cv_prog_cc_c89=$ac_arg
3517 $as_echo "$as_me: failed program was:" >&5
3518 sed 's
/^
/|
/' conftest.$ac_ext >&5
3523 rm -f core conftest.err conftest.$ac_objext
3524 test "x$ac_cv_prog_cc_c89" != "xno" && break
3526 rm -f conftest.$ac_ext
3531 case "x$ac_cv_prog_cc_c89" in
3533 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3534 $as_echo "none needed" >&6; } ;;
3536 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3537 $as_echo "unsupported" >&6; } ;;
3539 CC="$CC $ac_cv_prog_cc_c89"
3540 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3541 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3546 ac_cpp='$CPP $CPPFLAGS'
3547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3548 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3551 depcc="$CC" am_compiler_list=
3553 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3554 $as_echo_n "checking dependency style of $depcc... " >&6; }
3555 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3556 $as_echo_n "(cached) " >&6
3558 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3559 # We make a subdir and do the tests there. Otherwise we can end up
3560 # making bogus files that we don't know about and never remove. For
3561 # instance it was reported that on HP-UX the gcc test will end up
3562 # making a dummy file named `D' -- because `-MD' means `put the output
3565 # Copy depcomp to subdir because otherwise we won't find it if we're
3566 # using a relative directory.
3567 cp "$am_depcomp" conftest.dir
3569 # We will build objects and dependencies in a subdirectory because
3570 # it helps to detect inapplicable dependency modes. For instance
3571 # both Tru64's cc and ICC support -MD to output dependencies as a
3572 # side effect of compilation, but ICC will put the dependencies in
3573 # the current directory while Tru64 will put them in the object
3577 am_cv_CC_dependencies_compiler_type
=none
3578 if test "$am_compiler_list" = ""; then
3579 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3582 case " $depcc " in #(
3583 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
3586 for depmode
in $am_compiler_list; do
3587 # Setup a source with many dependencies, because some compilers
3588 # like to wrap large dependency lists on column 80 (with \), and
3589 # we should not choose a depcomp mode which is confused by this.
3591 # We need to recreate these files for each test, as the compiler may
3592 # overwrite some of them when testing with obscure command lines.
3593 # This happens at least with the AIX C compiler.
3595 for i
in 1 2 3 4 5 6; do
3596 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3597 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3598 # Solaris 8's {/usr,}/bin/sh.
3599 touch sub
/conftst
$i.h
3601 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3603 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3604 # mode. It turns out that the SunPro C++ compiler does not properly
3605 # handle `-M -o', and we need to detect this. Also, some Intel
3606 # versions had trouble with output in subdirs
3607 am__obj
=sub
/conftest.
${OBJEXT-o}
3608 am__minus_obj
="-o $am__obj"
3611 # This depmode causes a compiler race in universal mode.
3612 test "$am__universal" = false ||
continue
3615 # after this tag, mechanisms are not by side-effect, so they'll
3616 # only be used when explicitly requested
3617 if test "x$enable_dependency_tracking" = xyes
; then
3623 msvisualcpp | msvcmsys
)
3624 # This compiler won't grok `-c -o', but also, the minuso test has
3625 # not run yet. These depmodes are late enough in the game, and
3626 # so weak that their functioning should not be impacted.
3627 am__obj
=conftest.
${OBJEXT-o}
3632 if depmode
=$depmode \
3633 source=sub
/conftest.c object
=$am__obj \
3634 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3635 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3636 >/dev
/null
2>conftest.err
&&
3637 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3638 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3639 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3640 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3641 # icc doesn't choke on unknown options, it will just issue warnings
3642 # or remarks (even with -Werror). So we grep stderr for any message
3643 # that says an option was ignored or not supported.
3644 # When given -MP, icc 7.0 and 7.1 complain thusly:
3645 # icc: Command line warning: ignoring option '-M'; no argument required
3646 # The diagnosis changed in icc 8.0:
3647 # icc: Command line remark: option '-MP' not supported
3648 if (grep 'ignoring option' conftest.err ||
3649 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3650 am_cv_CC_dependencies_compiler_type
=$depmode
3659 am_cv_CC_dependencies_compiler_type
=none
3663 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3664 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3665 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3668 test "x$enable_dependency_tracking" != xno \
3669 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3671 am__fastdepCC_FALSE
='#'
3673 am__fastdepCC_TRUE
='#'
3674 am__fastdepCC_FALSE
=
3680 ac_cpp
='$CPP $CPPFLAGS'
3681 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3682 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3683 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3684 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3685 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3686 # On Suns, sometimes $CPP names a directory.
3687 if test -n "$CPP" && test -d "$CPP"; then
3690 if test -z "$CPP"; then
3691 if test "${ac_cv_prog_CPP+set}" = set; then
3692 $as_echo_n "(cached) " >&6
3694 # Double quotes because CPP needs to be expanded
3695 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3698 for ac_c_preproc_warn_flag
in '' yes
3700 # Use a header file that comes with gcc, so configuring glibc
3701 # with a fresh cross-compiler works.
3702 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3703 # <limits.h> exists even on freestanding compilers.
3704 # On the NeXT, cc -E runs the code through the compiler's parser,
3705 # not just through cpp. "Syntax error" is here to catch this case.
3706 cat >conftest.
$ac_ext <<_ACEOF
3709 cat confdefs.h
>>conftest.
$ac_ext
3710 cat >>conftest.
$ac_ext <<_ACEOF
3711 /* end confdefs.h. */
3713 # include <limits.h>
3715 # include <assert.h>
3719 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3721 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3722 *) ac_try_echo=$ac_try;;
3724 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3725 $as_echo "$ac_try_echo") >&5
3726 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3728 grep -v '^ *+' conftest.er1 >conftest.err
3730 cat conftest.err >&5
3731 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3732 (exit $ac_status); } >/dev/null && {
3733 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3734 test ! -s conftest.err
3738 $as_echo "$as_me: failed program was:" >&5
3739 sed 's/^/| /' conftest.$ac_ext >&5
3741 # Broken: fails on valid input.
3745 rm -f conftest.err conftest.$ac_ext
3747 # OK, works on sane cases. Now check whether nonexistent headers
3748 # can be detected and how.
3749 cat >conftest.$ac_ext <<_ACEOF
3752 cat confdefs.h >>conftest.$ac_ext
3753 cat >>conftest.$ac_ext <<_ACEOF
3754 /* end confdefs.h. */
3755 #include <ac_nonexistent.h>
3757 if { (ac_try="$ac_cpp conftest.$ac_ext"
3759 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3760 *) ac_try_echo
=$ac_try;;
3762 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3763 $as_echo "$ac_try_echo") >&5
3764 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3766 grep -v '^ *+' conftest.er1
>conftest.err
3768 cat conftest.err
>&5
3769 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3770 (exit $ac_status); } >/dev
/null
&& {
3771 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3772 test ! -s conftest.err
3774 # Broken: success on invalid input.
3777 $as_echo "$as_me: failed program was:" >&5
3778 sed 's/^/| /' conftest.
$ac_ext >&5
3780 # Passes both tests.
3785 rm -f conftest.err conftest.
$ac_ext
3788 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3789 rm -f conftest.err conftest.
$ac_ext
3790 if $ac_preproc_ok; then
3802 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
3803 $as_echo "$CPP" >&6; }
3805 for ac_c_preproc_warn_flag
in '' yes
3807 # Use a header file that comes with gcc, so configuring glibc
3808 # with a fresh cross-compiler works.
3809 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3810 # <limits.h> exists even on freestanding compilers.
3811 # On the NeXT, cc -E runs the code through the compiler's parser,
3812 # not just through cpp. "Syntax error" is here to catch this case.
3813 cat >conftest.
$ac_ext <<_ACEOF
3816 cat confdefs.h
>>conftest.
$ac_ext
3817 cat >>conftest.
$ac_ext <<_ACEOF
3818 /* end confdefs.h. */
3820 # include <limits.h>
3822 # include <assert.h>
3826 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3828 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3829 *) ac_try_echo=$ac_try;;
3831 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3832 $as_echo "$ac_try_echo") >&5
3833 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3835 grep -v '^ *+' conftest.er1 >conftest.err
3837 cat conftest.err >&5
3838 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3839 (exit $ac_status); } >/dev/null && {
3840 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3841 test ! -s conftest.err
3845 $as_echo "$as_me: failed program was:" >&5
3846 sed 's/^/| /' conftest.$ac_ext >&5
3848 # Broken: fails on valid input.
3852 rm -f conftest.err conftest.$ac_ext
3854 # OK, works on sane cases. Now check whether nonexistent headers
3855 # can be detected and how.
3856 cat >conftest.$ac_ext <<_ACEOF
3859 cat confdefs.h >>conftest.$ac_ext
3860 cat >>conftest.$ac_ext <<_ACEOF
3861 /* end confdefs.h. */
3862 #include <ac_nonexistent.h>
3864 if { (ac_try="$ac_cpp conftest.$ac_ext"
3866 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3867 *) ac_try_echo
=$ac_try;;
3869 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3870 $as_echo "$ac_try_echo") >&5
3871 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3873 grep -v '^ *+' conftest.er1
>conftest.err
3875 cat conftest.err
>&5
3876 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3877 (exit $ac_status); } >/dev
/null
&& {
3878 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3879 test ! -s conftest.err
3881 # Broken: success on invalid input.
3884 $as_echo "$as_me: failed program was:" >&5
3885 sed 's/^/| /' conftest.
$ac_ext >&5
3887 # Passes both tests.
3892 rm -f conftest.err conftest.
$ac_ext
3895 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3896 rm -f conftest.err conftest.
$ac_ext
3897 if $ac_preproc_ok; then
3900 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3901 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3902 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3903 See \`config.log' for more details." >&5
3904 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3905 See \`config.log' for more details." >&2;}
3906 { (exit 1); exit 1; }; }; }
3910 ac_cpp
='$CPP $CPPFLAGS'
3911 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3912 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3913 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3916 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3917 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3918 if test "${ac_cv_path_GREP+set}" = set; then
3919 $as_echo_n "(cached) " >&6
3921 if test -z "$GREP"; then
3922 ac_path_GREP_found
=false
3923 # Loop through the user's path and test for each of PROGNAME-LIST
3924 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3925 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3928 test -z "$as_dir" && as_dir
=.
3929 for ac_prog
in grep ggrep
; do
3930 for ac_exec_ext
in '' $ac_executable_extensions; do
3931 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3932 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3933 # Check for GNU ac_path_GREP and select it if it is found.
3934 # Check for GNU $ac_path_GREP
3935 case `"$ac_path_GREP" --version 2>&1` in
3937 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3940 $as_echo_n 0123456789 >"conftest.in"
3943 cat "conftest.in" "conftest.in" >"conftest.tmp"
3944 mv "conftest.tmp" "conftest.in"
3945 cp "conftest.in" "conftest.nl"
3946 $as_echo 'GREP' >> "conftest.nl"
3947 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3948 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3949 ac_count
=`expr $ac_count + 1`
3950 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3951 # Best one so far, save it but keep looking for a better one
3952 ac_cv_path_GREP
="$ac_path_GREP"
3953 ac_path_GREP_max
=$ac_count
3955 # 10*(2^10) chars as input seems more than enough
3956 test $ac_count -gt 10 && break
3958 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3961 $ac_path_GREP_found && break 3
3966 if test -z "$ac_cv_path_GREP"; then
3967 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3968 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3969 { (exit 1); exit 1; }; }
3972 ac_cv_path_GREP
=$GREP
3976 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3977 $as_echo "$ac_cv_path_GREP" >&6; }
3978 GREP
="$ac_cv_path_GREP"
3981 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
3982 $as_echo_n "checking for egrep... " >&6; }
3983 if test "${ac_cv_path_EGREP+set}" = set; then
3984 $as_echo_n "(cached) " >&6
3986 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3987 then ac_cv_path_EGREP
="$GREP -E"
3989 if test -z "$EGREP"; then
3990 ac_path_EGREP_found
=false
3991 # Loop through the user's path and test for each of PROGNAME-LIST
3992 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3993 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3996 test -z "$as_dir" && as_dir
=.
3997 for ac_prog
in egrep; do
3998 for ac_exec_ext
in '' $ac_executable_extensions; do
3999 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4000 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4001 # Check for GNU ac_path_EGREP and select it if it is found.
4002 # Check for GNU $ac_path_EGREP
4003 case `"$ac_path_EGREP" --version 2>&1` in
4005 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4008 $as_echo_n 0123456789 >"conftest.in"
4011 cat "conftest.in" "conftest.in" >"conftest.tmp"
4012 mv "conftest.tmp" "conftest.in"
4013 cp "conftest.in" "conftest.nl"
4014 $as_echo 'EGREP' >> "conftest.nl"
4015 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4016 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4017 ac_count
=`expr $ac_count + 1`
4018 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4019 # Best one so far, save it but keep looking for a better one
4020 ac_cv_path_EGREP
="$ac_path_EGREP"
4021 ac_path_EGREP_max
=$ac_count
4023 # 10*(2^10) chars as input seems more than enough
4024 test $ac_count -gt 10 && break
4026 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4029 $ac_path_EGREP_found && break 3
4034 if test -z "$ac_cv_path_EGREP"; then
4035 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4036 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4037 { (exit 1); exit 1; }; }
4040 ac_cv_path_EGREP
=$EGREP
4045 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4046 $as_echo "$ac_cv_path_EGREP" >&6; }
4047 EGREP
="$ac_cv_path_EGREP"
4050 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4051 $as_echo_n "checking for ANSI C header files... " >&6; }
4052 if test "${ac_cv_header_stdc+set}" = set; then
4053 $as_echo_n "(cached) " >&6
4055 cat >conftest.
$ac_ext <<_ACEOF
4058 cat confdefs.h
>>conftest.
$ac_ext
4059 cat >>conftest.
$ac_ext <<_ACEOF
4060 /* end confdefs.h. */
4074 rm -f conftest.
$ac_objext
4075 if { (ac_try
="$ac_compile"
4077 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4078 *) ac_try_echo=$ac_try;;
4080 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4081 $as_echo "$ac_try_echo") >&5
4082 (eval "$ac_compile") 2>conftest.er1
4084 grep -v '^ *+' conftest.er1 >conftest.err
4086 cat conftest.err >&5
4087 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4088 (exit $ac_status); } && {
4089 test -z "$ac_c_werror_flag" ||
4090 test ! -s conftest.err
4091 } && test -s conftest.$ac_objext; then
4092 ac_cv_header_stdc=yes
4094 $as_echo "$as_me: failed program was:" >&5
4095 sed 's/^/| /' conftest.$ac_ext >&5
4097 ac_cv_header_stdc=no
4100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4102 if test $ac_cv_header_stdc = yes; then
4103 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4104 cat >conftest.$ac_ext <<_ACEOF
4107 cat confdefs.h >>conftest.$ac_ext
4108 cat >>conftest.$ac_ext <<_ACEOF
4109 /* end confdefs.h. */
4113 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4114 $EGREP "memchr" >/dev/null 2>&1; then
4117 ac_cv_header_stdc=no
4123 if test $ac_cv_header_stdc = yes; then
4124 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4125 cat >conftest.$ac_ext <<_ACEOF
4128 cat confdefs.h >>conftest.$ac_ext
4129 cat >>conftest.$ac_ext <<_ACEOF
4130 /* end confdefs.h. */
4134 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4135 $EGREP "free" >/dev/null 2>&1; then
4138 ac_cv_header_stdc=no
4144 if test $ac_cv_header_stdc = yes; then
4145 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4146 if test "$cross_compiling" = yes; then
4149 cat >conftest.$ac_ext <<_ACEOF
4152 cat confdefs.h >>conftest.$ac_ext
4153 cat >>conftest.$ac_ext <<_ACEOF
4154 /* end confdefs.h. */
4157 #if ((' ' & 0x0FF) == 0x020)
4158 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4159 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4161 # define ISLOWER(c) \
4162 (('a' <= (c) && (c) <= 'i') \
4163 || ('j' <= (c) && (c) <= 'r') \
4164 || ('s' <= (c) && (c) <= 'z'))
4165 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4168 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4173 for (i = 0; i < 256; i++)
4174 if (XOR (islower (i), ISLOWER (i))
4175 || toupper (i) != TOUPPER (i))
4180 rm -f conftest$ac_exeext
4181 if { (ac_try="$ac_link"
4183 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4184 *) ac_try_echo
=$ac_try;;
4186 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4187 $as_echo "$ac_try_echo") >&5
4188 (eval "$ac_link") 2>&5
4190 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4191 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4192 { (case "(($ac_try" in
4193 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4194 *) ac_try_echo=$ac_try;;
4196 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4197 $as_echo "$ac_try_echo") >&5
4198 (eval "$ac_try") 2>&5
4200 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4201 (exit $ac_status); }; }; then
4204 $as_echo "$as_me: program exited with status $ac_status" >&5
4205 $as_echo "$as_me: failed program was:" >&5
4206 sed 's/^/| /' conftest.$ac_ext >&5
4209 ac_cv_header_stdc=no
4211 rm -rf conftest.dSYM
4212 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4218 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4219 $as_echo "$ac_cv_header_stdc" >&6; }
4220 if test $ac_cv_header_stdc = yes; then
4222 cat >>confdefs.h <<\_ACEOF
4223 #define STDC_HEADERS 1
4228 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4238 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4239 inttypes.h stdint.h unistd.h
4241 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4242 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4243 $as_echo_n "checking for $ac_header... " >&6; }
4244 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4245 $as_echo_n "(cached) " >&6
4247 cat >conftest.$ac_ext <<_ACEOF
4250 cat confdefs.h >>conftest.$ac_ext
4251 cat >>conftest.$ac_ext <<_ACEOF
4252 /* end confdefs.h. */
4253 $ac_includes_default
4255 #include <$ac_header>
4257 rm -f conftest.$ac_objext
4258 if { (ac_try="$ac_compile"
4260 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4261 *) ac_try_echo
=$ac_try;;
4263 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4264 $as_echo "$ac_try_echo") >&5
4265 (eval "$ac_compile") 2>conftest.er1
4267 grep -v '^ *+' conftest.er1
>conftest.err
4269 cat conftest.err
>&5
4270 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4271 (exit $ac_status); } && {
4272 test -z "$ac_c_werror_flag" ||
4273 test ! -s conftest.err
4274 } && test -s conftest.
$ac_objext; then
4275 eval "$as_ac_Header=yes"
4277 $as_echo "$as_me: failed program was:" >&5
4278 sed 's/^/| /' conftest.
$ac_ext >&5
4280 eval "$as_ac_Header=no"
4283 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4285 ac_res
=`eval 'as_val=${'$as_ac_Header'}
4286 $as_echo "$as_val"'`
4287 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4288 $as_echo "$ac_res" >&6; }
4289 as_val
=`eval 'as_val=${'$as_ac_Header'}
4290 $as_echo "$as_val"'`
4291 if test "x$as_val" = x
""yes; then
4292 cat >>confdefs.h
<<_ACEOF
4293 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4302 if test "${ac_cv_header_minix_config_h+set}" = set; then
4303 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
4304 $as_echo_n "checking for minix/config.h... " >&6; }
4305 if test "${ac_cv_header_minix_config_h+set}" = set; then
4306 $as_echo_n "(cached) " >&6
4308 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4309 $as_echo "$ac_cv_header_minix_config_h" >&6; }
4311 # Is the header compilable?
4312 { $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5
4313 $as_echo_n "checking minix/config.h usability... " >&6; }
4314 cat >conftest.
$ac_ext <<_ACEOF
4317 cat confdefs.h
>>conftest.
$ac_ext
4318 cat >>conftest.
$ac_ext <<_ACEOF
4319 /* end confdefs.h. */
4320 $ac_includes_default
4321 #include <minix/config.h>
4323 rm -f conftest.
$ac_objext
4324 if { (ac_try
="$ac_compile"
4326 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4327 *) ac_try_echo=$ac_try;;
4329 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4330 $as_echo "$ac_try_echo") >&5
4331 (eval "$ac_compile") 2>conftest.er1
4333 grep -v '^ *+' conftest.er1 >conftest.err
4335 cat conftest.err >&5
4336 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4337 (exit $ac_status); } && {
4338 test -z "$ac_c_werror_flag" ||
4339 test ! -s conftest.err
4340 } && test -s conftest.$ac_objext; then
4341 ac_header_compiler=yes
4343 $as_echo "$as_me: failed program was:" >&5
4344 sed 's/^/| /' conftest.$ac_ext >&5
4346 ac_header_compiler=no
4349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4350 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4351 $as_echo "$ac_header_compiler" >&6; }
4353 # Is the header present?
4354 { $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5
4355 $as_echo_n "checking minix/config.h presence... " >&6; }
4356 cat >conftest.$ac_ext <<_ACEOF
4359 cat confdefs.h >>conftest.$ac_ext
4360 cat >>conftest.$ac_ext <<_ACEOF
4361 /* end confdefs.h. */
4362 #include <minix/config.h>
4364 if { (ac_try="$ac_cpp conftest.$ac_ext"
4366 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4367 *) ac_try_echo
=$ac_try;;
4369 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4370 $as_echo "$ac_try_echo") >&5
4371 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4373 grep -v '^ *+' conftest.er1
>conftest.err
4375 cat conftest.err
>&5
4376 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4377 (exit $ac_status); } >/dev
/null
&& {
4378 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4379 test ! -s conftest.err
4381 ac_header_preproc
=yes
4383 $as_echo "$as_me: failed program was:" >&5
4384 sed 's/^/| /' conftest.
$ac_ext >&5
4386 ac_header_preproc
=no
4389 rm -f conftest.err conftest.
$ac_ext
4390 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4391 $as_echo "$ac_header_preproc" >&6; }
4393 # So? What about this header?
4394 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4396 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
4397 $as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4398 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
4399 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
4400 ac_header_preproc
=yes
4403 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
4404 $as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
4405 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
4406 $as_echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
4407 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
4408 $as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
4409 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
4410 $as_echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
4411 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
4412 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
4413 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
4414 $as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
4416 ## -------------------------------------------------- ##
4417 ## Report this to courier-users@lists.sourceforge.net ##
4418 ## -------------------------------------------------- ##
4420 ) |
sed "s/^/$as_me: WARNING: /" >&2
4423 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
4424 $as_echo_n "checking for minix/config.h... " >&6; }
4425 if test "${ac_cv_header_minix_config_h+set}" = set; then
4426 $as_echo_n "(cached) " >&6
4428 ac_cv_header_minix_config_h
=$ac_header_preproc
4430 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4431 $as_echo "$ac_cv_header_minix_config_h" >&6; }
4434 if test "x$ac_cv_header_minix_config_h" = x
""yes; then
4441 if test "$MINIX" = yes; then
4443 cat >>confdefs.h
<<\_ACEOF
4444 #define _POSIX_SOURCE 1
4448 cat >>confdefs.h
<<\_ACEOF
4449 #define _POSIX_1_SOURCE 2
4453 cat >>confdefs.h
<<\_ACEOF
4461 { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
4462 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4463 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
4464 $as_echo_n "(cached) " >&6
4466 cat >conftest.
$ac_ext <<_ACEOF
4469 cat confdefs.h
>>conftest.
$ac_ext
4470 cat >>conftest.
$ac_ext <<_ACEOF
4471 /* end confdefs.h. */
4473 # define __EXTENSIONS__ 1
4474 $ac_includes_default
4483 rm -f conftest.
$ac_objext
4484 if { (ac_try
="$ac_compile"
4486 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4487 *) ac_try_echo=$ac_try;;
4489 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4490 $as_echo "$ac_try_echo") >&5
4491 (eval "$ac_compile") 2>conftest.er1
4493 grep -v '^ *+' conftest.er1 >conftest.err
4495 cat conftest.err >&5
4496 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4497 (exit $ac_status); } && {
4498 test -z "$ac_c_werror_flag" ||
4499 test ! -s conftest.err
4500 } && test -s conftest.$ac_objext; then
4501 ac_cv_safe_to_define___extensions__=yes
4503 $as_echo "$as_me: failed program was:" >&5
4504 sed 's/^/| /' conftest.$ac_ext >&5
4506 ac_cv_safe_to_define___extensions__=no
4509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4511 { $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
4512 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4513 test $ac_cv_safe_to_define___extensions__ = yes &&
4514 cat >>confdefs.h <<\_ACEOF
4515 #define __EXTENSIONS__ 1
4518 cat >>confdefs.h <<\_ACEOF
4519 #define _ALL_SOURCE 1
4522 cat >>confdefs.h <<\_ACEOF
4523 #define _GNU_SOURCE 1
4526 cat >>confdefs.h <<\_ACEOF
4527 #define _POSIX_PTHREAD_SEMANTICS 1
4530 cat >>confdefs.h <<\_ACEOF
4531 #define _TANDEM_SOURCE 1
4536 ac_cpp='$CPP $CPPFLAGS'
4537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4540 if test -n "$ac_tool_prefix"; then
4541 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4542 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4543 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4544 $as_echo_n "checking for $ac_word... " >&6; }
4545 if test "${ac_cv_prog_CC+set}" = set; then
4546 $as_echo_n "(cached) " >&6
4548 if test -n "$CC"; then
4549 ac_cv_prog_CC="$CC" # Let the user override the test.
4551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4555 test -z "$as_dir" && as_dir=.
4556 for ac_exec_ext in '' $ac_executable_extensions; do
4557 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4558 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4559 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4569 if test -n "$CC"; then
4570 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4571 $as_echo "$CC" >&6; }
4573 { $as_echo "$as_me:$LINENO: result: no" >&5
4574 $as_echo "no" >&6; }
4579 if test -z "$ac_cv_prog_CC"; then
4581 # Extract the first word of "gcc", so it can be a program name with args.
4582 set dummy gcc; ac_word=$2
4583 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4584 $as_echo_n "checking for $ac_word... " >&6; }
4585 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4586 $as_echo_n "(cached) " >&6
4588 if test -n "$ac_ct_CC"; then
4589 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4595 test -z "$as_dir" && as_dir=.
4596 for ac_exec_ext in '' $ac_executable_extensions; do
4597 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4598 ac_cv_prog_ac_ct_CC="gcc"
4599 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4608 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4609 if test -n "$ac_ct_CC"; then
4610 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4611 $as_echo "$ac_ct_CC" >&6; }
4613 { $as_echo "$as_me:$LINENO: result: no" >&5
4614 $as_echo "no" >&6; }
4617 if test "x$ac_ct_CC" = x; then
4620 case $cross_compiling:$ac_tool_warned in
4622 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4623 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4624 ac_tool_warned=yes ;;
4632 if test -z "$CC"; then
4633 if test -n "$ac_tool_prefix"; then
4634 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4635 set dummy ${ac_tool_prefix}cc; ac_word=$2
4636 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4637 $as_echo_n "checking for $ac_word... " >&6; }
4638 if test "${ac_cv_prog_CC+set}" = set; then
4639 $as_echo_n "(cached) " >&6
4641 if test -n "$CC"; then
4642 ac_cv_prog_CC="$CC" # Let the user override the test.
4644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4648 test -z "$as_dir" && as_dir=.
4649 for ac_exec_ext in '' $ac_executable_extensions; do
4650 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4651 ac_cv_prog_CC="${ac_tool_prefix}cc"
4652 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4662 if test -n "$CC"; then
4663 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4664 $as_echo "$CC" >&6; }
4666 { $as_echo "$as_me:$LINENO: result: no" >&5
4667 $as_echo "no" >&6; }
4673 if test -z "$CC"; then
4674 # Extract the first word of "cc", so it can be a program name with args.
4675 set dummy cc; ac_word=$2
4676 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4677 $as_echo_n "checking for $ac_word... " >&6; }
4678 if test "${ac_cv_prog_CC+set}" = set; then
4679 $as_echo_n "(cached) " >&6
4681 if test -n "$CC"; then
4682 ac_cv_prog_CC="$CC" # Let the user override the test.
4685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4689 test -z "$as_dir" && as_dir=.
4690 for ac_exec_ext in '' $ac_executable_extensions; do
4691 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4692 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4693 ac_prog_rejected=yes
4697 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4704 if test $ac_prog_rejected = yes; then
4705 # We found a bogon in the path, so make sure we never use it.
4706 set dummy $ac_cv_prog_CC
4708 if test $# != 0; then
4709 # We chose a different compiler from the bogus one.
4710 # However, it has the same basename, so the bogon will be chosen
4711 # first if we set CC to just the basename; use the full file name.
4713 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4719 if test -n "$CC"; then
4720 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4721 $as_echo "$CC" >&6; }
4723 { $as_echo "$as_me:$LINENO: result: no" >&5
4724 $as_echo "no" >&6; }
4729 if test -z "$CC"; then
4730 if test -n "$ac_tool_prefix"; then
4731 for ac_prog in cl.exe
4733 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4734 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4735 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4736 $as_echo_n "checking for $ac_word... " >&6; }
4737 if test "${ac_cv_prog_CC+set}" = set; then
4738 $as_echo_n "(cached) " >&6
4740 if test -n "$CC"; then
4741 ac_cv_prog_CC="$CC" # Let the user override the test.
4743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4747 test -z "$as_dir" && as_dir=.
4748 for ac_exec_ext in '' $ac_executable_extensions; do
4749 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4750 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4751 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4761 if test -n "$CC"; then
4762 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4763 $as_echo "$CC" >&6; }
4765 { $as_echo "$as_me:$LINENO: result: no" >&5
4766 $as_echo "no" >&6; }
4770 test -n "$CC" && break
4773 if test -z "$CC"; then
4775 for ac_prog in cl.exe
4777 # Extract the first word of "$ac_prog", so it can be a program name with args.
4778 set dummy $ac_prog; ac_word=$2
4779 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4780 $as_echo_n "checking for $ac_word... " >&6; }
4781 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4782 $as_echo_n "(cached) " >&6
4784 if test -n "$ac_ct_CC"; then
4785 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4791 test -z "$as_dir" && as_dir=.
4792 for ac_exec_ext in '' $ac_executable_extensions; do
4793 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4794 ac_cv_prog_ac_ct_CC="$ac_prog"
4795 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4804 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4805 if test -n "$ac_ct_CC"; then
4806 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4807 $as_echo "$ac_ct_CC" >&6; }
4809 { $as_echo "$as_me:$LINENO: result: no" >&5
4810 $as_echo "no" >&6; }
4814 test -n "$ac_ct_CC" && break
4817 if test "x$ac_ct_CC" = x; then
4820 case $cross_compiling:$ac_tool_warned in
4822 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4823 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4824 ac_tool_warned=yes ;;
4833 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4834 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4835 { { $as_echo "$as_me:$LINENO: error
: no acceptable C compiler found
in \
$PATH
4836 See \
`config.log' for more details." >&5
4837 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
4838 See \`config.log
' for more details." >&2;}
4839 { (exit 1); exit 1; }; }; }
4841 # Provide some information about the compiler.
4842 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
4845 { (ac_try="$ac_compiler --version >&5"
4847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4848 *) ac_try_echo=$ac_try;;
4850 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4851 $as_echo "$ac_try_echo") >&5
4852 (eval "$ac_compiler --version >&5") 2>&5
4854 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4855 (exit $ac_status); }
4856 { (ac_try="$ac_compiler -v >&5"
4858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4859 *) ac_try_echo=$ac_try;;
4861 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4862 $as_echo "$ac_try_echo") >&5
4863 (eval "$ac_compiler -v >&5") 2>&5
4865 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4866 (exit $ac_status); }
4867 { (ac_try="$ac_compiler -V >&5"
4869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4870 *) ac_try_echo=$ac_try;;
4872 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4873 $as_echo "$ac_try_echo") >&5
4874 (eval "$ac_compiler -V >&5") 2>&5
4876 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4877 (exit $ac_status); }
4879 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4880 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4881 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4882 $as_echo_n "(cached) " >&6
4884 cat >conftest.$ac_ext <<_ACEOF
4887 cat confdefs.h >>conftest.$ac_ext
4888 cat >>conftest.$ac_ext <<_ACEOF
4889 /* end confdefs.h. */
4902 rm -f conftest.$ac_objext
4903 if { (ac_try="$ac_compile"
4905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4906 *) ac_try_echo=$ac_try;;
4908 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4909 $as_echo "$ac_try_echo") >&5
4910 (eval "$ac_compile") 2>conftest.er1
4912 grep -v '^
*+' conftest.er1 >conftest.err
4914 cat conftest.err >&5
4915 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4916 (exit $ac_status); } && {
4917 test -z "$ac_c_werror_flag" ||
4918 test ! -s conftest.err
4919 } && test -s conftest.$ac_objext; then
4922 $as_echo "$as_me: failed program was:" >&5
4923 sed 's
/^
/|
/' conftest.$ac_ext >&5
4928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4929 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4932 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4933 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4934 if test $ac_compiler_gnu = yes; then
4939 ac_test_CFLAGS=${CFLAGS+set}
4940 ac_save_CFLAGS=$CFLAGS
4941 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4942 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4943 if test "${ac_cv_prog_cc_g+set}" = set; then
4944 $as_echo_n "(cached) " >&6
4946 ac_save_c_werror_flag=$ac_c_werror_flag
4947 ac_c_werror_flag=yes
4950 cat >conftest.$ac_ext <<_ACEOF
4953 cat confdefs.h >>conftest.$ac_ext
4954 cat >>conftest.$ac_ext <<_ACEOF
4955 /* end confdefs.h. */
4965 rm -f conftest.$ac_objext
4966 if { (ac_try="$ac_compile"
4968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4969 *) ac_try_echo=$ac_try;;
4971 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4972 $as_echo "$ac_try_echo") >&5
4973 (eval "$ac_compile") 2>conftest.er1
4975 grep -v '^
*+' conftest.er1 >conftest.err
4977 cat conftest.err >&5
4978 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4979 (exit $ac_status); } && {
4980 test -z "$ac_c_werror_flag" ||
4981 test ! -s conftest.err
4982 } && test -s conftest.$ac_objext; then
4985 $as_echo "$as_me: failed program was:" >&5
4986 sed 's
/^
/|
/' conftest.$ac_ext >&5
4989 cat >conftest.$ac_ext <<_ACEOF
4992 cat confdefs.h >>conftest.$ac_ext
4993 cat >>conftest.$ac_ext <<_ACEOF
4994 /* end confdefs.h. */
5004 rm -f conftest.$ac_objext
5005 if { (ac_try="$ac_compile"
5007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5008 *) ac_try_echo=$ac_try;;
5010 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5011 $as_echo "$ac_try_echo") >&5
5012 (eval "$ac_compile") 2>conftest.er1
5014 grep -v '^
*+' conftest.er1 >conftest.err
5016 cat conftest.err >&5
5017 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5018 (exit $ac_status); } && {
5019 test -z "$ac_c_werror_flag" ||
5020 test ! -s conftest.err
5021 } && test -s conftest.$ac_objext; then
5024 $as_echo "$as_me: failed program was:" >&5
5025 sed 's
/^
/|
/' conftest.$ac_ext >&5
5027 ac_c_werror_flag=$ac_save_c_werror_flag
5029 cat >conftest.$ac_ext <<_ACEOF
5032 cat confdefs.h >>conftest.$ac_ext
5033 cat >>conftest.$ac_ext <<_ACEOF
5034 /* end confdefs.h. */
5044 rm -f conftest.$ac_objext
5045 if { (ac_try="$ac_compile"
5047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5048 *) ac_try_echo=$ac_try;;
5050 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5051 $as_echo "$ac_try_echo") >&5
5052 (eval "$ac_compile") 2>conftest.er1
5054 grep -v '^
*+' conftest.er1 >conftest.err
5056 cat conftest.err >&5
5057 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5058 (exit $ac_status); } && {
5059 test -z "$ac_c_werror_flag" ||
5060 test ! -s conftest.err
5061 } && test -s conftest.$ac_objext; then
5064 $as_echo "$as_me: failed program was:" >&5
5065 sed 's
/^
/|
/' conftest.$ac_ext >&5
5070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5077 ac_c_werror_flag=$ac_save_c_werror_flag
5079 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
5080 $as_echo "$ac_cv_prog_cc_g" >&6; }
5081 if test "$ac_test_CFLAGS" = set; then
5082 CFLAGS=$ac_save_CFLAGS
5083 elif test $ac_cv_prog_cc_g = yes; then
5084 if test "$GCC" = yes; then
5090 if test "$GCC" = yes; then
5096 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
5097 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5098 if test "${ac_cv_prog_cc_c89+set}" = set; then
5099 $as_echo_n "(cached) " >&6
5101 ac_cv_prog_cc_c89=no
5103 cat >conftest.$ac_ext <<_ACEOF
5106 cat confdefs.h >>conftest.$ac_ext
5107 cat >>conftest.$ac_ext <<_ACEOF
5108 /* end confdefs.h. */
5111 #include <sys/types.h>
5112 #include <sys/stat.h>
5113 /* Most of the following tests are stolen from RCS 5.7's src
/conf.sh.
*/
5114 struct buf
{ int x
; };
5115 FILE
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
5116 static char
*e
(p
, i
)
5122 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
5127 s
= g
(p
, va_arg
(v
,int
));
5132 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
5133 function prototypes and stuff
, but not
'\xHH' hex character constants.
5134 These don
't provoke an error unfortunately, instead are silently treated
5135 as 'x
'. The following induces an error, until -std is added to get
5136 proper ANSI mode. Curiously '\x00'!='x
' always comes out true, for an
5137 array size at least. It's necessary to
write '\x00'==0 to get something
5138 that
's true only with -std. */
5139 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5141 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5142 inside strings and character constants. */
5144 int xlc6_cc_array[FOO(a) == 'x
' ? 1 : -1];
5146 int test (int i, double x);
5147 struct s1 {int (*f) (int a);};
5148 struct s2 {int (*f) (double a);};
5149 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5155 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5160 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5161 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5163 CC="$ac_save_CC $ac_arg"
5164 rm -f conftest.$ac_objext
5165 if { (ac_try="$ac_compile"
5167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5168 *) ac_try_echo=$ac_try;;
5170 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5171 $as_echo "$ac_try_echo") >&5
5172 (eval "$ac_compile") 2>conftest.er1
5174 grep -v '^
*+' conftest.er1 >conftest.err
5176 cat conftest.err >&5
5177 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5178 (exit $ac_status); } && {
5179 test -z "$ac_c_werror_flag" ||
5180 test ! -s conftest.err
5181 } && test -s conftest.$ac_objext; then
5182 ac_cv_prog_cc_c89=$ac_arg
5184 $as_echo "$as_me: failed program was:" >&5
5185 sed 's
/^
/|
/' conftest.$ac_ext >&5
5190 rm -f core conftest.err conftest.$ac_objext
5191 test "x$ac_cv_prog_cc_c89" != "xno" && break
5193 rm -f conftest.$ac_ext
5198 case "x$ac_cv_prog_cc_c89" in
5200 { $as_echo "$as_me:$LINENO: result: none needed" >&5
5201 $as_echo "none needed" >&6; } ;;
5203 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
5204 $as_echo "unsupported" >&6; } ;;
5206 CC="$CC $ac_cv_prog_cc_c89"
5207 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
5208 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5213 ac_cpp='$CPP $CPPFLAGS'
5214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
5215 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
5216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5218 depcc="$CC" am_compiler_list=
5220 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5221 $as_echo_n "checking dependency style of $depcc... " >&6; }
5222 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
5223 $as_echo_n "(cached) " >&6
5225 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5226 # We make a subdir and do the tests there. Otherwise we can end up
5227 # making bogus files that we don't know about and never remove. For
5228 # instance it was reported that on HP-UX the gcc test will end up
5229 # making a dummy file named `D' -- because `-MD' means `put the output
5232 # Copy depcomp to subdir because otherwise we won't find it if we're
5233 # using a relative directory.
5234 cp "$am_depcomp" conftest.dir
5236 # We will build objects and dependencies in a subdirectory because
5237 # it helps to detect inapplicable dependency modes. For instance
5238 # both Tru64's cc and ICC support -MD to output dependencies as a
5239 # side effect of compilation, but ICC will put the dependencies in
5240 # the current directory while Tru64 will put them in the object
5244 am_cv_CC_dependencies_compiler_type
=none
5245 if test "$am_compiler_list" = ""; then
5246 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5249 case " $depcc " in #(
5250 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
5253 for depmode
in $am_compiler_list; do
5254 # Setup a source with many dependencies, because some compilers
5255 # like to wrap large dependency lists on column 80 (with \), and
5256 # we should not choose a depcomp mode which is confused by this.
5258 # We need to recreate these files for each test, as the compiler may
5259 # overwrite some of them when testing with obscure command lines.
5260 # This happens at least with the AIX C compiler.
5262 for i
in 1 2 3 4 5 6; do
5263 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5264 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5265 # Solaris 8's {/usr,}/bin/sh.
5266 touch sub
/conftst
$i.h
5268 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5270 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5271 # mode. It turns out that the SunPro C++ compiler does not properly
5272 # handle `-M -o', and we need to detect this. Also, some Intel
5273 # versions had trouble with output in subdirs
5274 am__obj
=sub
/conftest.
${OBJEXT-o}
5275 am__minus_obj
="-o $am__obj"
5278 # This depmode causes a compiler race in universal mode.
5279 test "$am__universal" = false ||
continue
5282 # after this tag, mechanisms are not by side-effect, so they'll
5283 # only be used when explicitly requested
5284 if test "x$enable_dependency_tracking" = xyes
; then
5290 msvisualcpp | msvcmsys
)
5291 # This compiler won't grok `-c -o', but also, the minuso test has
5292 # not run yet. These depmodes are late enough in the game, and
5293 # so weak that their functioning should not be impacted.
5294 am__obj
=conftest.
${OBJEXT-o}
5299 if depmode
=$depmode \
5300 source=sub
/conftest.c object
=$am__obj \
5301 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5302 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5303 >/dev
/null
2>conftest.err
&&
5304 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5305 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5306 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5307 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5308 # icc doesn't choke on unknown options, it will just issue warnings
5309 # or remarks (even with -Werror). So we grep stderr for any message
5310 # that says an option was ignored or not supported.
5311 # When given -MP, icc 7.0 and 7.1 complain thusly:
5312 # icc: Command line warning: ignoring option '-M'; no argument required
5313 # The diagnosis changed in icc 8.0:
5314 # icc: Command line remark: option '-MP' not supported
5315 if (grep 'ignoring option' conftest.err ||
5316 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5317 am_cv_CC_dependencies_compiler_type
=$depmode
5326 am_cv_CC_dependencies_compiler_type
=none
5330 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
5331 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5332 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
5335 test "x$enable_dependency_tracking" != xno \
5336 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
5338 am__fastdepCC_FALSE
='#'
5340 am__fastdepCC_TRUE
='#'
5341 am__fastdepCC_FALSE
=
5345 { $as_echo "$as_me:$LINENO: checking for library containing strerror" >&5
5346 $as_echo_n "checking for library containing strerror... " >&6; }
5347 if test "${ac_cv_search_strerror+set}" = set; then
5348 $as_echo_n "(cached) " >&6
5350 ac_func_search_save_LIBS
=$LIBS
5351 cat >conftest.
$ac_ext <<_ACEOF
5354 cat confdefs.h
>>conftest.
$ac_ext
5355 cat >>conftest.
$ac_ext <<_ACEOF
5356 /* end confdefs.h. */
5358 /* Override any GCC internal prototype to avoid an error.
5359 Use char because int might match the return type of a GCC
5360 builtin and then its argument prototype would still apply. */
5373 for ac_lib
in '' cposix
; do
5374 if test -z "$ac_lib"; then
5375 ac_res
="none required"
5378 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5380 rm -f conftest.
$ac_objext conftest
$ac_exeext
5381 if { (ac_try
="$ac_link"
5383 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5384 *) ac_try_echo=$ac_try;;
5386 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5387 $as_echo "$ac_try_echo") >&5
5388 (eval "$ac_link") 2>conftest.er1
5390 grep -v '^ *+' conftest.er1 >conftest.err
5392 cat conftest.err >&5
5393 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5394 (exit $ac_status); } && {
5395 test -z "$ac_c_werror_flag" ||
5396 test ! -s conftest.err
5397 } && test -s conftest$ac_exeext && {
5398 test "$cross_compiling" = yes ||
5399 $as_test_x conftest$ac_exeext
5401 ac_cv_search_strerror=$ac_res
5403 $as_echo "$as_me: failed program was:" >&5
5404 sed 's/^/| /' conftest.$ac_ext >&5
5409 rm -rf conftest.dSYM
5410 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5412 if test "${ac_cv_search_strerror+set}" = set; then
5416 if test "${ac_cv_search_strerror+set}" = set; then
5419 ac_cv_search_strerror=no
5422 LIBS=$ac_func_search_save_LIBS
5424 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
5425 $as_echo "$ac_cv_search_strerror" >&6; }
5426 ac_res=$ac_cv_search_strerror
5427 if test "$ac_res" != no; then
5428 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5432 for ac_prog in gawk mawk nawk awk
5434 # Extract the first word of "$ac_prog", so it can be a program name with args.
5435 set dummy $ac_prog; ac_word=$2
5436 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5437 $as_echo_n "checking for $ac_word... " >&6; }
5438 if test "${ac_cv_prog_AWK+set}" = set; then
5439 $as_echo_n "(cached) " >&6
5441 if test -n "$AWK"; then
5442 ac_cv_prog_AWK="$AWK" # Let the user override the test.
5444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5448 test -z "$as_dir" && as_dir=.
5449 for ac_exec_ext in '' $ac_executable_extensions; do
5450 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5451 ac_cv_prog_AWK="$ac_prog"
5452 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5462 if test -n "$AWK"; then
5463 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
5464 $as_echo "$AWK" >&6; }
5466 { $as_echo "$as_me:$LINENO: result: no" >&5
5467 $as_echo "no" >&6; }
5471 test -n "$AWK" && break
5475 ac_cpp='$CXXCPP $CPPFLAGS'
5476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5479 if test -z "$CXX"; then
5480 if test -n "$CCC"; then
5483 if test -n "$ac_tool_prefix"; then
5484 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5486 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5487 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5488 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5489 $as_echo_n "checking for $ac_word... " >&6; }
5490 if test "${ac_cv_prog_CXX+set}" = set; then
5491 $as_echo_n "(cached) " >&6
5493 if test -n "$CXX"; then
5494 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5500 test -z "$as_dir" && as_dir=.
5501 for ac_exec_ext in '' $ac_executable_extensions; do
5502 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5503 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5504 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5514 if test -n "$CXX"; then
5515 { $as_echo "$as_me:$LINENO: result: $CXX" >&5
5516 $as_echo "$CXX" >&6; }
5518 { $as_echo "$as_me:$LINENO: result: no" >&5
5519 $as_echo "no" >&6; }
5523 test -n "$CXX" && break
5526 if test -z "$CXX"; then
5528 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5530 # Extract the first word of "$ac_prog", so it can be a program name with args.
5531 set dummy $ac_prog; ac_word=$2
5532 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5533 $as_echo_n "checking for $ac_word... " >&6; }
5534 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5535 $as_echo_n "(cached) " >&6
5537 if test -n "$ac_ct_CXX"; then
5538 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5544 test -z "$as_dir" && as_dir=.
5545 for ac_exec_ext in '' $ac_executable_extensions; do
5546 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5547 ac_cv_prog_ac_ct_CXX="$ac_prog"
5548 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5557 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5558 if test -n "$ac_ct_CXX"; then
5559 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5560 $as_echo "$ac_ct_CXX" >&6; }
5562 { $as_echo "$as_me:$LINENO: result: no" >&5
5563 $as_echo "no" >&6; }
5567 test -n "$ac_ct_CXX" && break
5570 if test "x$ac_ct_CXX" = x; then
5573 case $cross_compiling:$ac_tool_warned in
5575 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5576 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5577 ac_tool_warned=yes ;;
5585 # Provide some information about the compiler.
5586 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
5589 { (ac_try="$ac_compiler --version >&5"
5591 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5592 *) ac_try_echo
=$ac_try;;
5594 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5595 $as_echo "$ac_try_echo") >&5
5596 (eval "$ac_compiler --version >&5") 2>&5
5598 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5599 (exit $ac_status); }
5600 { (ac_try
="$ac_compiler -v >&5"
5602 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5603 *) ac_try_echo=$ac_try;;
5605 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5606 $as_echo "$ac_try_echo") >&5
5607 (eval "$ac_compiler -v >&5") 2>&5
5609 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5610 (exit $ac_status); }
5611 { (ac_try="$ac_compiler -V >&5"
5613 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5614 *) ac_try_echo
=$ac_try;;
5616 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5617 $as_echo "$ac_try_echo") >&5
5618 (eval "$ac_compiler -V >&5") 2>&5
5620 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5621 (exit $ac_status); }
5623 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5624 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5625 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5626 $as_echo_n "(cached) " >&6
5628 cat >conftest.
$ac_ext <<_ACEOF
5631 cat confdefs.h
>>conftest.
$ac_ext
5632 cat >>conftest.
$ac_ext <<_ACEOF
5633 /* end confdefs.h. */
5646 rm -f conftest.
$ac_objext
5647 if { (ac_try
="$ac_compile"
5649 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5650 *) ac_try_echo=$ac_try;;
5652 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5653 $as_echo "$ac_try_echo") >&5
5654 (eval "$ac_compile") 2>conftest.er1
5656 grep -v '^ *+' conftest.er1 >conftest.err
5658 cat conftest.err >&5
5659 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5660 (exit $ac_status); } && {
5661 test -z "$ac_cxx_werror_flag" ||
5662 test ! -s conftest.err
5663 } && test -s conftest.$ac_objext; then
5666 $as_echo "$as_me: failed program was:" >&5
5667 sed 's/^/| /' conftest.$ac_ext >&5
5672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5673 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5676 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5677 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5678 if test $ac_compiler_gnu = yes; then
5683 ac_test_CXXFLAGS=${CXXFLAGS+set}
5684 ac_save_CXXFLAGS=$CXXFLAGS
5685 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5686 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5687 if test "${ac_cv_prog_cxx_g+set}" = set; then
5688 $as_echo_n "(cached) " >&6
5690 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5691 ac_cxx_werror_flag=yes
5694 cat >conftest.$ac_ext <<_ACEOF
5697 cat confdefs.h >>conftest.$ac_ext
5698 cat >>conftest.$ac_ext <<_ACEOF
5699 /* end confdefs.h. */
5709 rm -f conftest.$ac_objext
5710 if { (ac_try="$ac_compile"
5712 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5713 *) ac_try_echo
=$ac_try;;
5715 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5716 $as_echo "$ac_try_echo") >&5
5717 (eval "$ac_compile") 2>conftest.er1
5719 grep -v '^ *+' conftest.er1
>conftest.err
5721 cat conftest.err
>&5
5722 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5723 (exit $ac_status); } && {
5724 test -z "$ac_cxx_werror_flag" ||
5725 test ! -s conftest.err
5726 } && test -s conftest.
$ac_objext; then
5727 ac_cv_prog_cxx_g
=yes
5729 $as_echo "$as_me: failed program was:" >&5
5730 sed 's/^/| /' conftest.
$ac_ext >&5
5733 cat >conftest.
$ac_ext <<_ACEOF
5736 cat confdefs.h
>>conftest.
$ac_ext
5737 cat >>conftest.
$ac_ext <<_ACEOF
5738 /* end confdefs.h. */
5748 rm -f conftest.
$ac_objext
5749 if { (ac_try
="$ac_compile"
5751 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5752 *) ac_try_echo=$ac_try;;
5754 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5755 $as_echo "$ac_try_echo") >&5
5756 (eval "$ac_compile") 2>conftest.er1
5758 grep -v '^ *+' conftest.er1 >conftest.err
5760 cat conftest.err >&5
5761 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5762 (exit $ac_status); } && {
5763 test -z "$ac_cxx_werror_flag" ||
5764 test ! -s conftest.err
5765 } && test -s conftest.$ac_objext; then
5768 $as_echo "$as_me: failed program was:" >&5
5769 sed 's/^/| /' conftest.$ac_ext >&5
5771 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5773 cat >conftest.$ac_ext <<_ACEOF
5776 cat confdefs.h >>conftest.$ac_ext
5777 cat >>conftest.$ac_ext <<_ACEOF
5778 /* end confdefs.h. */
5788 rm -f conftest.$ac_objext
5789 if { (ac_try="$ac_compile"
5791 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5792 *) ac_try_echo
=$ac_try;;
5794 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5795 $as_echo "$ac_try_echo") >&5
5796 (eval "$ac_compile") 2>conftest.er1
5798 grep -v '^ *+' conftest.er1
>conftest.err
5800 cat conftest.err
>&5
5801 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5802 (exit $ac_status); } && {
5803 test -z "$ac_cxx_werror_flag" ||
5804 test ! -s conftest.err
5805 } && test -s conftest.
$ac_objext; then
5806 ac_cv_prog_cxx_g
=yes
5808 $as_echo "$as_me: failed program was:" >&5
5809 sed 's/^/| /' conftest.
$ac_ext >&5
5814 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5817 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5820 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5821 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5823 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5824 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5825 if test "$ac_test_CXXFLAGS" = set; then
5826 CXXFLAGS
=$ac_save_CXXFLAGS
5827 elif test $ac_cv_prog_cxx_g = yes; then
5828 if test "$GXX" = yes; then
5834 if test "$GXX" = yes; then
5841 ac_cpp
='$CPP $CPPFLAGS'
5842 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5843 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5844 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5846 depcc
="$CXX" am_compiler_list
=
5848 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5849 $as_echo_n "checking dependency style of $depcc... " >&6; }
5850 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5851 $as_echo_n "(cached) " >&6
5853 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5854 # We make a subdir and do the tests there. Otherwise we can end up
5855 # making bogus files that we don't know about and never remove. For
5856 # instance it was reported that on HP-UX the gcc test will end up
5857 # making a dummy file named `D' -- because `-MD' means `put the output
5860 # Copy depcomp to subdir because otherwise we won't find it if we're
5861 # using a relative directory.
5862 cp "$am_depcomp" conftest.dir
5864 # We will build objects and dependencies in a subdirectory because
5865 # it helps to detect inapplicable dependency modes. For instance
5866 # both Tru64's cc and ICC support -MD to output dependencies as a
5867 # side effect of compilation, but ICC will put the dependencies in
5868 # the current directory while Tru64 will put them in the object
5872 am_cv_CXX_dependencies_compiler_type
=none
5873 if test "$am_compiler_list" = ""; then
5874 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5877 case " $depcc " in #(
5878 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
5881 for depmode
in $am_compiler_list; do
5882 # Setup a source with many dependencies, because some compilers
5883 # like to wrap large dependency lists on column 80 (with \), and
5884 # we should not choose a depcomp mode which is confused by this.
5886 # We need to recreate these files for each test, as the compiler may
5887 # overwrite some of them when testing with obscure command lines.
5888 # This happens at least with the AIX C compiler.
5890 for i
in 1 2 3 4 5 6; do
5891 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5892 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5893 # Solaris 8's {/usr,}/bin/sh.
5894 touch sub
/conftst
$i.h
5896 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5898 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5899 # mode. It turns out that the SunPro C++ compiler does not properly
5900 # handle `-M -o', and we need to detect this. Also, some Intel
5901 # versions had trouble with output in subdirs
5902 am__obj
=sub
/conftest.
${OBJEXT-o}
5903 am__minus_obj
="-o $am__obj"
5906 # This depmode causes a compiler race in universal mode.
5907 test "$am__universal" = false ||
continue
5910 # after this tag, mechanisms are not by side-effect, so they'll
5911 # only be used when explicitly requested
5912 if test "x$enable_dependency_tracking" = xyes
; then
5918 msvisualcpp | msvcmsys
)
5919 # This compiler won't grok `-c -o', but also, the minuso test has
5920 # not run yet. These depmodes are late enough in the game, and
5921 # so weak that their functioning should not be impacted.
5922 am__obj
=conftest.
${OBJEXT-o}
5927 if depmode
=$depmode \
5928 source=sub
/conftest.c object
=$am__obj \
5929 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5930 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5931 >/dev
/null
2>conftest.err
&&
5932 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5933 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5934 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5935 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5936 # icc doesn't choke on unknown options, it will just issue warnings
5937 # or remarks (even with -Werror). So we grep stderr for any message
5938 # that says an option was ignored or not supported.
5939 # When given -MP, icc 7.0 and 7.1 complain thusly:
5940 # icc: Command line warning: ignoring option '-M'; no argument required
5941 # The diagnosis changed in icc 8.0:
5942 # icc: Command line remark: option '-MP' not supported
5943 if (grep 'ignoring option' conftest.err ||
5944 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5945 am_cv_CXX_dependencies_compiler_type
=$depmode
5954 am_cv_CXX_dependencies_compiler_type
=none
5958 { $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5959 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5960 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5963 test "x$enable_dependency_tracking" != xno \
5964 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5965 am__fastdepCXX_TRUE
=
5966 am__fastdepCXX_FALSE
='#'
5968 am__fastdepCXX_TRUE
='#'
5969 am__fastdepCXX_FALSE
=
5975 { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5976 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5981 macro_version
='2.2.6'
5982 macro_revision
='1.3012'
5996 ltmain
="$ac_aux_dir/ltmain.sh"
5998 # Make sure we can run config.sub.
5999 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
6000 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
6001 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
6002 { (exit 1); exit 1; }; }
6004 { $as_echo "$as_me:$LINENO: checking build system type" >&5
6005 $as_echo_n "checking build system type... " >&6; }
6006 if test "${ac_cv_build+set}" = set; then
6007 $as_echo_n "(cached) " >&6
6009 ac_build_alias
=$build_alias
6010 test "x$ac_build_alias" = x
&&
6011 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
6012 test "x$ac_build_alias" = x
&&
6013 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
6014 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
6015 { (exit 1); exit 1; }; }
6016 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
6017 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
6018 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
6019 { (exit 1); exit 1; }; }
6022 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
6023 $as_echo "$ac_cv_build" >&6; }
6024 case $ac_cv_build in
6026 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
6027 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
6028 { (exit 1); exit 1; }; };;
6031 ac_save_IFS
=$IFS; IFS
='-'
6037 # Remember, the first character of IFS is used to create $*,
6038 # except with old shells:
6041 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
6044 { $as_echo "$as_me:$LINENO: checking host system type" >&5
6045 $as_echo_n "checking host system type... " >&6; }
6046 if test "${ac_cv_host+set}" = set; then
6047 $as_echo_n "(cached) " >&6
6049 if test "x$host_alias" = x
; then
6050 ac_cv_host
=$ac_cv_build
6052 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
6053 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
6054 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
6055 { (exit 1); exit 1; }; }
6059 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
6060 $as_echo "$ac_cv_host" >&6; }
6063 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
6064 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
6065 { (exit 1); exit 1; }; };;
6068 ac_save_IFS
=$IFS; IFS
='-'
6074 # Remember, the first character of IFS is used to create $*,
6075 # except with old shells:
6078 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
6081 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
6082 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6083 if test "${ac_cv_path_SED+set}" = set; then
6084 $as_echo_n "(cached) " >&6
6086 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
6087 for ac_i
in 1 2 3 4 5 6 7; do
6088 ac_script
="$ac_script$as_nl$ac_script"
6090 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
6091 $as_unset ac_script || ac_script
=
6092 if test -z "$SED"; then
6093 ac_path_SED_found
=false
6094 # Loop through the user's path and test for each of PROGNAME-LIST
6095 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6099 test -z "$as_dir" && as_dir
=.
6100 for ac_prog
in sed gsed
; do
6101 for ac_exec_ext
in '' $ac_executable_extensions; do
6102 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
6103 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
6104 # Check for GNU ac_path_SED and select it if it is found.
6105 # Check for GNU $ac_path_SED
6106 case `"$ac_path_SED" --version 2>&1` in
6108 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
6111 $as_echo_n 0123456789 >"conftest.in"
6114 cat "conftest.in" "conftest.in" >"conftest.tmp"
6115 mv "conftest.tmp" "conftest.in"
6116 cp "conftest.in" "conftest.nl"
6117 $as_echo '' >> "conftest.nl"
6118 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6119 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6120 ac_count
=`expr $ac_count + 1`
6121 if test $ac_count -gt ${ac_path_SED_max-0}; then
6122 # Best one so far, save it but keep looking for a better one
6123 ac_cv_path_SED
="$ac_path_SED"
6124 ac_path_SED_max
=$ac_count
6126 # 10*(2^10) chars as input seems more than enough
6127 test $ac_count -gt 10 && break
6129 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6132 $ac_path_SED_found && break 3
6137 if test -z "$ac_cv_path_SED"; then
6138 { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
6139 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
6140 { (exit 1); exit 1; }; }
6147 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
6148 $as_echo "$ac_cv_path_SED" >&6; }
6149 SED
="$ac_cv_path_SED"
6152 test -z "$SED" && SED
=sed
6153 Xsed
="$SED -e 1s/^X//"
6165 { $as_echo "$as_me:$LINENO: checking for fgrep" >&5
6166 $as_echo_n "checking for fgrep... " >&6; }
6167 if test "${ac_cv_path_FGREP+set}" = set; then
6168 $as_echo_n "(cached) " >&6
6170 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
6171 then ac_cv_path_FGREP
="$GREP -F"
6173 if test -z "$FGREP"; then
6174 ac_path_FGREP_found
=false
6175 # Loop through the user's path and test for each of PROGNAME-LIST
6176 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6177 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6180 test -z "$as_dir" && as_dir
=.
6181 for ac_prog
in fgrep
; do
6182 for ac_exec_ext
in '' $ac_executable_extensions; do
6183 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
6184 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
6185 # Check for GNU ac_path_FGREP and select it if it is found.
6186 # Check for GNU $ac_path_FGREP
6187 case `"$ac_path_FGREP" --version 2>&1` in
6189 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
6192 $as_echo_n 0123456789 >"conftest.in"
6195 cat "conftest.in" "conftest.in" >"conftest.tmp"
6196 mv "conftest.tmp" "conftest.in"
6197 cp "conftest.in" "conftest.nl"
6198 $as_echo 'FGREP' >> "conftest.nl"
6199 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6200 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6201 ac_count
=`expr $ac_count + 1`
6202 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6203 # Best one so far, save it but keep looking for a better one
6204 ac_cv_path_FGREP
="$ac_path_FGREP"
6205 ac_path_FGREP_max
=$ac_count
6207 # 10*(2^10) chars as input seems more than enough
6208 test $ac_count -gt 10 && break
6210 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6213 $ac_path_FGREP_found && break 3
6218 if test -z "$ac_cv_path_FGREP"; then
6219 { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6220 $as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6221 { (exit 1); exit 1; }; }
6224 ac_cv_path_FGREP
=$FGREP
6229 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
6230 $as_echo "$ac_cv_path_FGREP" >&6; }
6231 FGREP
="$ac_cv_path_FGREP"
6234 test -z "$GREP" && GREP
=grep
6254 # Check whether --with-gnu-ld was given.
6255 if test "${with_gnu_ld+set}" = set; then
6256 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
6262 if test "$GCC" = yes; then
6263 # Check if gcc -print-prog-name=ld gives a path.
6264 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
6265 $as_echo_n "checking for ld used by $CC... " >&6; }
6268 # gcc leaves a trailing carriage return which upsets mingw
6269 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6271 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
6274 # Accept absolute paths.
6276 re_direlt
='/[^/][^/]*/\.\./'
6277 # Canonicalize the pathname of ld
6278 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6279 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
6280 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6282 test -z "$LD" && LD
="$ac_prog"
6285 # If it fails, then pretend we aren't using GCC.
6289 # If it is relative, then search for the first ld in PATH.
6293 elif test "$with_gnu_ld" = yes; then
6294 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
6295 $as_echo_n "checking for GNU ld... " >&6; }
6297 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
6298 $as_echo_n "checking for non-GNU ld... " >&6; }
6300 if test "${lt_cv_path_LD+set}" = set; then
6301 $as_echo_n "(cached) " >&6
6303 if test -z "$LD"; then
6304 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6305 for ac_dir
in $PATH; do
6307 test -z "$ac_dir" && ac_dir
=.
6308 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
6309 lt_cv_path_LD
="$ac_dir/$ac_prog"
6310 # Check to see if the program is GNU ld. I'd rather use --version,
6311 # but apparently some variants of GNU ld only accept -v.
6312 # Break only if it was the GNU/non-GNU ld that we prefer.
6313 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6314 *GNU
* |
*'with BFD'*)
6315 test "$with_gnu_ld" != no
&& break
6318 test "$with_gnu_ld" != yes && break
6325 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
6330 if test -n "$LD"; then
6331 { $as_echo "$as_me:$LINENO: result: $LD" >&5
6332 $as_echo "$LD" >&6; }
6334 { $as_echo "$as_me:$LINENO: result: no" >&5
6335 $as_echo "no" >&6; }
6337 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
6338 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
6339 { (exit 1); exit 1; }; }
6340 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
6341 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6342 if test "${lt_cv_prog_gnu_ld+set}" = set; then
6343 $as_echo_n "(cached) " >&6
6345 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6346 case `$LD -v 2>&1 </dev/null` in
6347 *GNU
* |
*'with BFD'*)
6348 lt_cv_prog_gnu_ld
=yes
6351 lt_cv_prog_gnu_ld
=no
6355 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
6356 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6357 with_gnu_ld
=$lt_cv_prog_gnu_ld
6367 { $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
6368 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6369 if test "${lt_cv_path_NM+set}" = set; then
6370 $as_echo_n "(cached) " >&6
6372 if test -n "$NM"; then
6373 # Let the user override the test.
6376 lt_nm_to_check
="${ac_tool_prefix}nm"
6377 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6378 lt_nm_to_check
="$lt_nm_to_check nm"
6380 for lt_tmp_nm
in $lt_nm_to_check; do
6381 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6382 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
6384 test -z "$ac_dir" && ac_dir
=.
6385 tmp_nm
="$ac_dir/$lt_tmp_nm"
6386 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
6387 # Check to see if the nm accepts a BSD-compat flag.
6388 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6389 # nm: unknown option "B" ignored
6390 # Tru64's nm complains that /dev/null is an invalid object file
6391 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6392 */dev
/null
* |
*'Invalid file or object type'*)
6393 lt_cv_path_NM
="$tmp_nm -B"
6397 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6399 lt_cv_path_NM
="$tmp_nm -p"
6403 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6404 continue # so that we can try to find one that supports BSD flags
6413 : ${lt_cv_path_NM=no}
6416 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
6417 $as_echo "$lt_cv_path_NM" >&6; }
6418 if test "$lt_cv_path_NM" != "no"; then
6421 # Didn't find any BSD compatible name lister, look for dumpbin.
6422 if test -n "$ac_tool_prefix"; then
6423 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
6425 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6426 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6427 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6428 $as_echo_n "checking for $ac_word... " >&6; }
6429 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
6430 $as_echo_n "(cached) " >&6
6432 if test -n "$DUMPBIN"; then
6433 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
6435 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6439 test -z "$as_dir" && as_dir
=.
6440 for ac_exec_ext
in '' $ac_executable_extensions; do
6441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6442 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
6443 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6452 DUMPBIN
=$ac_cv_prog_DUMPBIN
6453 if test -n "$DUMPBIN"; then
6454 { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
6455 $as_echo "$DUMPBIN" >&6; }
6457 { $as_echo "$as_me:$LINENO: result: no" >&5
6458 $as_echo "no" >&6; }
6462 test -n "$DUMPBIN" && break
6465 if test -z "$DUMPBIN"; then
6466 ac_ct_DUMPBIN
=$DUMPBIN
6467 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
6469 # Extract the first word of "$ac_prog", so it can be a program name with args.
6470 set dummy
$ac_prog; ac_word
=$2
6471 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6472 $as_echo_n "checking for $ac_word... " >&6; }
6473 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
6474 $as_echo_n "(cached) " >&6
6476 if test -n "$ac_ct_DUMPBIN"; then
6477 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
6479 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6483 test -z "$as_dir" && as_dir
=.
6484 for ac_exec_ext
in '' $ac_executable_extensions; do
6485 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6486 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
6487 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6496 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
6497 if test -n "$ac_ct_DUMPBIN"; then
6498 { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
6499 $as_echo "$ac_ct_DUMPBIN" >&6; }
6501 { $as_echo "$as_me:$LINENO: result: no" >&5
6502 $as_echo "no" >&6; }
6506 test -n "$ac_ct_DUMPBIN" && break
6509 if test "x$ac_ct_DUMPBIN" = x
; then
6512 case $cross_compiling:$ac_tool_warned in
6514 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6515 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6516 ac_tool_warned
=yes ;;
6518 DUMPBIN
=$ac_ct_DUMPBIN
6523 if test "$DUMPBIN" != ":"; then
6527 test -z "$NM" && NM
=nm
6534 { $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
6535 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6536 if test "${lt_cv_nm_interface+set}" = set; then
6537 $as_echo_n "(cached) " >&6
6539 lt_cv_nm_interface
="BSD nm"
6540 echo "int some_variable = 0;" > conftest.
$ac_ext
6541 (eval echo "\"\$as_me:6541: $ac_compile\"" >&5)
6542 (eval "$ac_compile" 2>conftest.err
)
6543 cat conftest.err
>&5
6544 (eval echo "\"\$as_me:6544: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6545 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
6546 cat conftest.err
>&5
6547 (eval echo "\"\$as_me:6547: output\"" >&5)
6548 cat conftest.out
>&5
6549 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
6550 lt_cv_nm_interface
="MS dumpbin"
6554 { $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
6555 $as_echo "$lt_cv_nm_interface" >&6; }
6557 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
6558 $as_echo_n "checking whether ln -s works... " >&6; }
6560 if test "$LN_S" = "ln -s"; then
6561 { $as_echo "$as_me:$LINENO: result: yes" >&5
6562 $as_echo "yes" >&6; }
6564 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6565 $as_echo "no, using $LN_S" >&6; }
6568 # find the maximum length of command line arguments
6569 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6570 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6571 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6572 $as_echo_n "(cached) " >&6
6579 # On DJGPP, this test can blow up pretty badly due to problems in libc
6580 # (any single argument exceeding 2000 bytes causes a buffer overrun
6581 # during glob expansion). Even if it were fixed, the result of this
6582 # check would be larger than it should be.
6583 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6587 # Under GNU Hurd, this test is not required because there is
6588 # no limit to the length of command line arguments.
6589 # Libtool will interpret -1 as no limit whatsoever
6590 lt_cv_sys_max_cmd_len
=-1;
6593 cygwin
* | mingw
* | cegcc
*)
6594 # On Win9x/ME, this test blows up -- it succeeds, but takes
6595 # about 5 minutes as the teststring grows exponentially.
6596 # Worse, since 9x/ME are not pre-emptively multitasking,
6597 # you end up with a "frozen" computer, even though with patience
6598 # the test eventually succeeds (with a max line length of 256k).
6599 # Instead, let's just punt: use the minimum linelength reported by
6600 # all of the supported platforms: 8192 (on NT/2K/XP).
6601 lt_cv_sys_max_cmd_len
=8192;
6605 # On AmigaOS with pdksh, this test takes hours, literally.
6606 # So we just punt and use a minimum line length of 8192.
6607 lt_cv_sys_max_cmd_len
=8192;
6610 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6611 # This has been around since 386BSD, at least. Likely further.
6612 if test -x /sbin
/sysctl
; then
6613 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6614 elif test -x /usr
/sbin
/sysctl
; then
6615 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6617 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6619 # And add a safety zone
6620 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6621 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6625 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6626 lt_cv_sys_max_cmd_len
=196608
6630 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6631 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6632 # nice to cause kernel panics so lets avoid the loop below.
6633 # First set a reasonable default.
6634 lt_cv_sys_max_cmd_len
=16384
6636 if test -x /sbin
/sysconfig
; then
6637 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6638 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6643 lt_cv_sys_max_cmd_len
=102400
6645 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6646 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6647 if test -n "$kargmax"; then
6648 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6650 lt_cv_sys_max_cmd_len
=32768
6654 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6655 if test -n "$lt_cv_sys_max_cmd_len"; then
6656 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6657 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6659 # Make teststring a little bigger before we do anything with it.
6660 # a 1K string should be a reasonable start.
6661 for i
in 1 2 3 4 5 6 7 8 ; do
6662 teststring
=$teststring$teststring
6664 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6665 # If test is not a shell built-in, we'll probably end up computing a
6666 # maximum length that is only half of the actual maximum length, but
6668 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
6669 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
6670 test $i != 17 # 1/2 MB should be enough
6673 teststring
=$teststring$teststring
6675 # Only check the string length outside the loop.
6676 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
6678 # Add a significant safety factor because C++ compilers can tack on
6679 # massive amounts of additional arguments before passing them to the
6680 # linker. It appears as though 1/2 is a usable value.
6681 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6688 if test -n $lt_cv_sys_max_cmd_len ; then
6689 { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6690 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6692 { $as_echo "$as_me:$LINENO: result: none" >&5
6693 $as_echo "none" >&6; }
6695 max_cmd_len
=$lt_cv_sys_max_cmd_len
6706 { $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
6707 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6708 # Try some XSI features
6711 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6713 && eval 'test $(( 1 + 1 )) -eq 2 \
6714 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6716 { $as_echo "$as_me:$LINENO: result
: $xsi_shell" >&5
6717 $as_echo "$xsi_shell" >&6; }
6720 { $as_echo "$as_me:$LINENO: checking whether the shell understands
\"+=\"" >&5
6721 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
6723 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
6725 && lt_shell_append=yes
6726 { $as_echo "$as_me:$LINENO: result
: $lt_shell_append" >&5
6727 $as_echo "$lt_shell_append" >&6; }
6730 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6740 # test EBCDIC or ASCII
6741 case `echo X|tr X '\101'` in
6742 A) # ASCII based system
6743 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6744 lt_SP2NL='tr \040 \012'
6745 lt_NL2SP='tr \015\012 \040\040'
6747 *) # EBCDIC based system
6748 lt_SP2NL='tr \100 \n'
6749 lt_NL2SP='tr \r\n \100\100'
6761 { $as_echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
6762 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6763 if test "${lt_cv_ld_reload_flag+set}" = set; then
6764 $as_echo_n "(cached
) " >&6
6766 lt_cv_ld_reload_flag='-r'
6768 { $as_echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
6769 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6770 reload_flag=$lt_cv_ld_reload_flag
6771 case $reload_flag in
6773 *) reload_flag=" $reload_flag" ;;
6775 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6778 if test "$GCC" = yes; then
6779 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6781 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6794 if test -n "$ac_tool_prefix"; then
6795 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6796 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6797 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6798 $as_echo_n "checking
for $ac_word...
" >&6; }
6799 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
6800 $as_echo_n "(cached
) " >&6
6802 if test -n "$OBJDUMP"; then
6803 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6809 test -z "$as_dir" && as_dir=.
6810 for ac_exec_ext in '' $ac_executable_extensions; do
6811 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6812 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6813 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6822 OBJDUMP=$ac_cv_prog_OBJDUMP
6823 if test -n "$OBJDUMP"; then
6824 { $as_echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
6825 $as_echo "$OBJDUMP" >&6; }
6827 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6828 $as_echo "no
" >&6; }
6833 if test -z "$ac_cv_prog_OBJDUMP"; then
6834 ac_ct_OBJDUMP=$OBJDUMP
6835 # Extract the first word of "objdump
", so it can be a program name with args.
6836 set dummy objdump; ac_word=$2
6837 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6838 $as_echo_n "checking
for $ac_word...
" >&6; }
6839 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
6840 $as_echo_n "(cached
) " >&6
6842 if test -n "$ac_ct_OBJDUMP"; then
6843 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6849 test -z "$as_dir" && as_dir=.
6850 for ac_exec_ext in '' $ac_executable_extensions; do
6851 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6852 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6853 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6862 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6863 if test -n "$ac_ct_OBJDUMP"; then
6864 { $as_echo "$as_me:$LINENO: result
: $ac_ct_OBJDUMP" >&5
6865 $as_echo "$ac_ct_OBJDUMP" >&6; }
6867 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6868 $as_echo "no
" >&6; }
6871 if test "x
$ac_ct_OBJDUMP" = x; then
6874 case $cross_compiling:$ac_tool_warned in
6876 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6877 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6878 ac_tool_warned=yes ;;
6880 OBJDUMP=$ac_ct_OBJDUMP
6883 OBJDUMP="$ac_cv_prog_OBJDUMP"
6886 test -z "$OBJDUMP" && OBJDUMP=objdump
6896 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries
" >&5
6897 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6898 if test "${lt_cv_deplibs_check_method+set}" = set; then
6899 $as_echo_n "(cached
) " >&6
6901 lt_cv_file_magic_cmd='$MAGIC_CMD'
6902 lt_cv_file_magic_test_file=
6903 lt_cv_deplibs_check_method='unknown'
6904 # Need to set the preceding variable on all platforms that support
6905 # interlibrary dependencies.
6906 # 'none' -- dependencies not supported.
6907 # `unknown' -- same as none, but documents that we really don't know.
6908 # 'pass_all' -- all dependencies passed with no checks.
6909 # 'test_compile' -- check by making test program.
6910 # 'file_magic [[regex]]' -- check by looking for files in library path
6911 # which responds to the $file_magic_cmd with a given extended regex.
6912 # If you have `file' or equivalent on your system and you're not sure
6913 # whether `pass_all' will *always* work, you probably want this one.
6917 lt_cv_deplibs_check_method=pass_all
6921 lt_cv_deplibs_check_method=pass_all
6925 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6926 lt_cv_file_magic_cmd='/usr/bin/file -L'
6927 lt_cv_file_magic_test_file=/shlib/libc.so
6931 # func_win32_libid is a shell function defined in ltmain.sh
6932 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6933 lt_cv_file_magic_cmd='func_win32_libid'
6937 # Base MSYS/MinGW do not provide the 'file' command needed by
6938 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6939 # unless we find 'file', for example because we are cross-compiling.
6940 if ( file / ) >/dev/null 2>&1; then
6941 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6942 lt_cv_file_magic_cmd='func_win32_libid'
6944 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6945 lt_cv_file_magic_cmd='$OBJDUMP -f'
6950 # use the weaker test based on 'objdump'. See mingw*.
6951 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6952 lt_cv_file_magic_cmd='$OBJDUMP -f'
6955 darwin* | rhapsody*)
6956 lt_cv_deplibs_check_method=pass_all
6959 freebsd* | dragonfly*)
6960 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6963 # Not sure whether the presence of OpenBSD here was a mistake.
6964 # Let's accept both of them until this is cleared up.
6965 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6966 lt_cv_file_magic_cmd=/usr/bin/file
6967 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6971 lt_cv_deplibs_check_method=pass_all
6976 lt_cv_deplibs_check_method=pass_all
6979 hpux10.20* | hpux11*)
6980 lt_cv_file_magic_cmd=/usr/bin/file
6983 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6984 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6987 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]'
6988 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6991 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6992 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6998 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6999 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7002 irix5* | irix6* | nonstopux*)
7004 *-32|*"-32 ") libmagic=32-bit;;
7005 *-n32|*"-n32 ") libmagic=N32;;
7006 *-64|*"-64 ") libmagic=64-bit;;
7007 *) libmagic=never-match;;
7009 lt_cv_deplibs_check_method=pass_all
7012 # This must be Linux ELF.
7013 linux* | k*bsd*-gnu)
7014 lt_cv_deplibs_check_method=pass_all
7018 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7019 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7021 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7026 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7027 lt_cv_file_magic_cmd=/usr/bin/file
7028 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7032 lt_cv_deplibs_check_method=pass_all
7036 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
7037 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7039 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7043 osf3* | osf4* | osf5*)
7044 lt_cv_deplibs_check_method=pass_all
7048 lt_cv_deplibs_check_method=pass_all
7052 lt_cv_deplibs_check_method=pass_all
7055 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7056 lt_cv_deplibs_check_method=pass_all
7060 case $host_vendor in
7062 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]'
7063 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7066 lt_cv_deplibs_check_method=pass_all
7069 lt_cv_file_magic_cmd='/bin/file'
7070 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7073 lt_cv_file_magic_cmd='/bin/file'
7074 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
7075 lt_cv_file_magic_test_file=/lib/libc.so
7078 lt_cv_deplibs_check_method=pass_all
7081 lt_cv_deplibs_check_method=pass_all
7087 lt_cv_deplibs_check_method=pass_all
7092 { $as_echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
7093 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7094 file_magic_cmd=$lt_cv_file_magic_cmd
7095 deplibs_check_method=$lt_cv_deplibs_check_method
7096 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7109 if test -n "$ac_tool_prefix"; then
7110 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7111 set dummy ${ac_tool_prefix}ar; ac_word=$2
7112 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
7113 $as_echo_n "checking
for $ac_word...
" >&6; }
7114 if test "${ac_cv_prog_AR+set}" = set; then
7115 $as_echo_n "(cached
) " >&6
7117 if test -n "$AR"; then
7118 ac_cv_prog_AR="$AR" # Let the user override the test.
7120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7124 test -z "$as_dir" && as_dir=.
7125 for ac_exec_ext in '' $ac_executable_extensions; do
7126 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7127 ac_cv_prog_AR="${ac_tool_prefix}ar"
7128 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7138 if test -n "$AR"; then
7139 { $as_echo "$as_me:$LINENO: result
: $AR" >&5
7140 $as_echo "$AR" >&6; }
7142 { $as_echo "$as_me:$LINENO: result
: no
" >&5
7143 $as_echo "no
" >&6; }
7148 if test -z "$ac_cv_prog_AR"; then
7150 # Extract the first word of "ar", so it can be a program name with args.
7151 set dummy ar; ac_word=$2
7152 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
7153 $as_echo_n "checking
for $ac_word...
" >&6; }
7154 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
7155 $as_echo_n "(cached
) " >&6
7157 if test -n "$ac_ct_AR"; then
7158 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7164 test -z "$as_dir" && as_dir=.
7165 for ac_exec_ext in '' $ac_executable_extensions; do
7166 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7167 ac_cv_prog_ac_ct_AR="ar"
7168 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7177 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7178 if test -n "$ac_ct_AR"; then
7179 { $as_echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
7180 $as_echo "$ac_ct_AR" >&6; }
7182 { $as_echo "$as_me:$LINENO: result
: no
" >&5
7183 $as_echo "no
" >&6; }
7186 if test "x
$ac_ct_AR" = x; then
7189 case $cross_compiling:$ac_tool_warned in
7191 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7192 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7193 ac_tool_warned=yes ;;
7201 test -z "$AR" && AR=ar
7202 test -z "$AR_FLAGS" && AR_FLAGS=cru
7214 if test -n "$ac_tool_prefix"; then
7215 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
7216 set dummy ${ac_tool_prefix}strip; ac_word=$2
7217 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
7218 $as_echo_n "checking
for $ac_word...
" >&6; }
7219 if test "${ac_cv_prog_STRIP+set}" = set; then
7220 $as_echo_n "(cached
) " >&6
7222 if test -n "$STRIP"; then
7223 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7229 test -z "$as_dir" && as_dir=.
7230 for ac_exec_ext in '' $ac_executable_extensions; do
7231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7232 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
7233 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7242 STRIP=$ac_cv_prog_STRIP
7243 if test -n "$STRIP"; then
7244 { $as_echo "$as_me:$LINENO: result
: $STRIP" >&5
7245 $as_echo "$STRIP" >&6; }
7247 { $as_echo "$as_me:$LINENO: result
: no
" >&5
7248 $as_echo "no
" >&6; }
7253 if test -z "$ac_cv_prog_STRIP"; then
7255 # Extract the first word of "strip
", so it can be a program name with args.
7256 set dummy strip; ac_word=$2
7257 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
7258 $as_echo_n "checking
for $ac_word...
" >&6; }
7259 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
7260 $as_echo_n "(cached
) " >&6
7262 if test -n "$ac_ct_STRIP"; then
7263 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7269 test -z "$as_dir" && as_dir=.
7270 for ac_exec_ext in '' $ac_executable_extensions; do
7271 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7272 ac_cv_prog_ac_ct_STRIP="strip
"
7273 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7282 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7283 if test -n "$ac_ct_STRIP"; then
7284 { $as_echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
7285 $as_echo "$ac_ct_STRIP" >&6; }
7287 { $as_echo "$as_me:$LINENO: result
: no
" >&5
7288 $as_echo "no
" >&6; }
7291 if test "x
$ac_ct_STRIP" = x; then
7294 case $cross_compiling:$ac_tool_warned in
7296 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7297 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7298 ac_tool_warned=yes ;;
7303 STRIP="$ac_cv_prog_STRIP"
7306 test -z "$STRIP" && STRIP=:
7313 if test -n "$ac_tool_prefix"; then
7314 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
7315 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7316 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
7317 $as_echo_n "checking
for $ac_word...
" >&6; }
7318 if test "${ac_cv_prog_RANLIB+set}" = set; then
7319 $as_echo_n "(cached
) " >&6
7321 if test -n "$RANLIB"; then
7322 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7328 test -z "$as_dir" && as_dir=.
7329 for ac_exec_ext in '' $ac_executable_extensions; do
7330 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7331 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
7332 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7341 RANLIB=$ac_cv_prog_RANLIB
7342 if test -n "$RANLIB"; then
7343 { $as_echo "$as_me:$LINENO: result
: $RANLIB" >&5
7344 $as_echo "$RANLIB" >&6; }
7346 { $as_echo "$as_me:$LINENO: result
: no
" >&5
7347 $as_echo "no
" >&6; }
7352 if test -z "$ac_cv_prog_RANLIB"; then
7353 ac_ct_RANLIB=$RANLIB
7354 # Extract the first word of "ranlib
", so it can be a program name with args.
7355 set dummy ranlib; ac_word=$2
7356 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
7357 $as_echo_n "checking
for $ac_word...
" >&6; }
7358 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
7359 $as_echo_n "(cached
) " >&6
7361 if test -n "$ac_ct_RANLIB"; then
7362 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7368 test -z "$as_dir" && as_dir=.
7369 for ac_exec_ext in '' $ac_executable_extensions; do
7370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7371 ac_cv_prog_ac_ct_RANLIB="ranlib
"
7372 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7381 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7382 if test -n "$ac_ct_RANLIB"; then
7383 { $as_echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
7384 $as_echo "$ac_ct_RANLIB" >&6; }
7386 { $as_echo "$as_me:$LINENO: result
: no
" >&5
7387 $as_echo "no
" >&6; }
7390 if test "x
$ac_ct_RANLIB" = x; then
7393 case $cross_compiling:$ac_tool_warned in
7395 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7396 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7397 ac_tool_warned=yes ;;
7399 RANLIB=$ac_ct_RANLIB
7402 RANLIB="$ac_cv_prog_RANLIB"
7405 test -z "$RANLIB" && RANLIB=:
7412 # Determine commands to create old-style static archives.
7413 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7414 old_postinstall_cmds='chmod 644 $oldlib'
7415 old_postuninstall_cmds=
7417 if test -n "$RANLIB"; then
7420 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
7423 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
7426 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
7462 # If no C compiler was specified, use CC.
7465 # If no C compiler flags were specified, use CFLAGS.
7466 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7468 # Allow CC to be a program name with arguments.
7472 # Check for command to grab the raw symbol name followed by C symbol from nm.
7473 { $as_echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
7474 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
7475 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
7476 $as_echo_n "(cached
) " >&6
7479 # These are sane defaults that work on at least a few old systems.
7480 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7482 # Character class describing NM global symbol codes.
7483 symcode='[BCDEGRST]'
7485 # Regexp to match symbols that can be accessed directly from C.
7486 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7488 # Define system-specific variables.
7493 cygwin* | mingw* | pw32* | cegcc*)
7494 symcode='[ABCDGISTW]'
7497 if test "$host_cpu" = ia64; then
7498 symcode='[ABCDEGRST]'
7502 symcode='[BCDEGRST]'
7505 symcode='[BCDEGQRST]'
7516 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7524 # If we're using GNU nm, then use its standard symbol codes.
7525 case `$NM -V 2>&1` in
7526 *GNU* | *'with BFD'*)
7527 symcode='[ABCDGIRSTW]' ;;
7530 # Transform an extracted symbol line into a proper C declaration.
7531 # Some systems (esp. on ia64) link data and code symbols differently,
7532 # so use this general approach.
7533 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7535 # Transform an extracted symbol line into symbol name and symbol address
7536 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7537 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'"
7539 # Handle CRLF in mingw tool chain
7543 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7547 # Try without a prefix underscore, then with it.
7548 for ac_symprfx in "" "_
"; do
7550 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7551 symxfrm="\\1 $ac_symprfx\\2 \\2"
7553 # Write the raw and C identifiers.
7554 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7555 # Fake it for dumpbin and say T for any non-static function
7556 # and D for any global variable.
7557 # Also find C++ and __fastcall symbols from MSVC++,
7558 # which start with @ or ?.
7559 lt_cv_sys_global_symbol_pipe="$AWK '"\
7560 " {last_section=section; section=\$ 3};"\
7561 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7562 " \$ 0!~/External *\|/{next};"\
7563 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7564 " {if(hide[section]) next};"\
7565 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7566 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7567 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7568 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7569 " ' prfx
=^
$ac_symprfx"
7571 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7574 # Check to see that the pipe works correctly.
7578 cat > conftest.$ac_ext <<_LT_EOF
7583 void nm_test_func(void);
7584 void nm_test_func(void){}
7588 int main(){nm_test_var='a';nm_test_func();return(0);}
7591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7592 (eval $ac_compile) 2>&5
7594 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7595 (exit $ac_status); }; then
7596 # Now try to grab the symbols.
7598 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
7599 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
7601 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7602 (exit $ac_status); } && test -s "$nlist"; then
7603 # Try sorting and uniquifying the output.
7604 if sort "$nlist" | uniq > "$nlist"T; then
7605 mv -f "$nlist"T "$nlist"
7610 # Make sure that we snagged all the symbols we need.
7611 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7612 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7613 cat <<_LT_EOF > conftest.$ac_ext
7619 # Now generate the symbol file.
7620 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7622 cat <<_LT_EOF >> conftest.$ac_ext
7624 /* The mapping between symbol names and symbols. */
7629 lt__PROGRAM__LTX_preloaded_symbols[] =
7631 { "@PROGRAM@
", (void *) 0 },
7633 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7634 cat <<\_LT_EOF >> conftest.$ac_ext
7638 /* This works around a problem in FreeBSD linker */
7639 #ifdef FREEBSD_WORKAROUND
7640 static const void *lt_preloaded_setup() {
7641 return lt__PROGRAM__LTX_preloaded_symbols;
7649 # Now try linking the two files.
7650 mv conftest.$ac_objext conftstm.$ac_objext
7651 lt_save_LIBS="$LIBS"
7652 lt_save_CFLAGS="$CFLAGS"
7653 LIBS="conftstm.
$ac_objext"
7654 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7656 (eval $ac_link) 2>&5
7658 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7659 (exit $ac_status); } && test -s conftest${ac_exeext}; then
7662 LIBS="$lt_save_LIBS"
7663 CFLAGS="$lt_save_CFLAGS"
7665 echo "cannot
find nm_test_func
in $nlist" >&5
7668 echo "cannot
find nm_test_var
in $nlist" >&5
7671 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7674 echo "$progname: failed program was
:" >&5
7675 cat conftest.$ac_ext >&5
7677 rm -rf conftest* conftst*
7679 # Do not use the global_symbol_pipe unless it works.
7680 if test "$pipe_works" = yes; then
7683 lt_cv_sys_global_symbol_pipe=
7689 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7690 lt_cv_sys_global_symbol_to_cdecl=
7692 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7693 { $as_echo "$as_me:$LINENO: result
: failed
" >&5
7694 $as_echo "failed
" >&6; }
7696 { $as_echo "$as_me:$LINENO: result
: ok
" >&5
7697 $as_echo "ok
" >&6; }
7721 # Check whether --enable-libtool-lock was given.
7722 if test "${enable_libtool_lock+set}" = set; then
7723 enableval=$enable_libtool_lock;
7726 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
7728 # Some flags need to be propagated to the compiler or linker for good
7732 # Find out which ABI we are using.
7733 echo 'int i;' > conftest.$ac_ext
7734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7735 (eval $ac_compile) 2>&5
7737 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7738 (exit $ac_status); }; then
7739 case `/usr/bin/file conftest.$ac_objext` in
7751 # Find out which ABI we are using.
7752 echo '#line 7752 "configure
"' > conftest.$ac_ext
7753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7754 (eval $ac_compile) 2>&5
7756 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7757 (exit $ac_status); }; then
7758 if test "$lt_cv_prog_gnu_ld" = yes; then
7759 case `/usr/bin/file conftest.$ac_objext` in
7761 LD="${LD-ld} -melf32bsmip"
7764 LD="${LD-ld} -melf32bmipn32"
7767 LD="${LD-ld} -melf64bmip"
7771 case `/usr/bin/file conftest.$ac_objext` in
7787 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7788 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7789 # Find out which ABI we are using.
7790 echo 'int i;' > conftest.$ac_ext
7791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7792 (eval $ac_compile) 2>&5
7794 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7795 (exit $ac_status); }; then
7796 case `/usr/bin/file conftest.o` in
7799 x86_64-*kfreebsd*-gnu)
7800 LD="${LD-ld} -m elf_i386_fbsd
"
7803 LD="${LD-ld} -m elf_i386
"
7805 ppc64-*linux*|powerpc64-*linux*)
7806 LD="${LD-ld} -m elf32ppclinux
"
7809 LD="${LD-ld} -m elf_s390
"
7812 LD="${LD-ld} -m elf32_sparc
"
7818 x86_64-*kfreebsd*-gnu)
7819 LD="${LD-ld} -m elf_x86_64_fbsd
"
7822 LD="${LD-ld} -m elf_x86_64
"
7824 ppc*-*linux*|powerpc*-*linux*)
7825 LD="${LD-ld} -m elf64ppc
"
7827 s390*-*linux*|s390*-*tpf*)
7828 LD="${LD-ld} -m elf64_s390
"
7831 LD="${LD-ld} -m elf64_sparc
"
7841 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7842 SAVE_CFLAGS="$CFLAGS"
7843 CFLAGS="$CFLAGS -belf"
7844 { $as_echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
7845 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7846 if test "${lt_cv_cc_needs_belf+set}" = set; then
7847 $as_echo_n "(cached
) " >&6
7850 ac_cpp='$CPP $CPPFLAGS'
7851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7855 cat >conftest.$ac_ext <<_ACEOF
7858 cat confdefs.h >>conftest.$ac_ext
7859 cat >>conftest.$ac_ext <<_ACEOF
7860 /* end confdefs.h. */
7870 rm -f conftest.$ac_objext conftest$ac_exeext
7871 if { (ac_try="$ac_link"
7873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7874 *) ac_try_echo=$ac_try;;
7876 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7877 $as_echo "$ac_try_echo") >&5
7878 (eval "$ac_link") 2>conftest.er1
7880 grep -v '^ *+' conftest.er1 >conftest.err
7882 cat conftest.err >&5
7883 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7884 (exit $ac_status); } && {
7885 test -z "$ac_c_werror_flag" ||
7886 test ! -s conftest.err
7887 } && test -s conftest$ac_exeext && {
7888 test "$cross_compiling" = yes ||
7889 $as_test_x conftest$ac_exeext
7891 lt_cv_cc_needs_belf=yes
7893 $as_echo "$as_me: failed program was
:" >&5
7894 sed 's/^/| /' conftest.$ac_ext >&5
7896 lt_cv_cc_needs_belf=no
7899 rm -rf conftest.dSYM
7900 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7901 conftest$ac_exeext conftest.$ac_ext
7903 ac_cpp='$CPP $CPPFLAGS'
7904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7909 { $as_echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
7910 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7911 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7912 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7913 CFLAGS="$SAVE_CFLAGS"
7917 # Find out which ABI we are using.
7918 echo 'int i;' > conftest.$ac_ext
7919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7920 (eval $ac_compile) 2>&5
7922 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7923 (exit $ac_status); }; then
7924 case `/usr/bin/file conftest.o` in
7926 case $lt_cv_prog_gnu_ld in
7927 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7929 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7941 need_locks="$enable_libtool_lock"
7945 rhapsody* | darwin*)
7946 if test -n "$ac_tool_prefix"; then
7947 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7948 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7949 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
7950 $as_echo_n "checking
for $ac_word...
" >&6; }
7951 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
7952 $as_echo_n "(cached
) " >&6
7954 if test -n "$DSYMUTIL"; then
7955 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7961 test -z "$as_dir" && as_dir=.
7962 for ac_exec_ext in '' $ac_executable_extensions; do
7963 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7964 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7965 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7974 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7975 if test -n "$DSYMUTIL"; then
7976 { $as_echo "$as_me:$LINENO: result
: $DSYMUTIL" >&5
7977 $as_echo "$DSYMUTIL" >&6; }
7979 { $as_echo "$as_me:$LINENO: result
: no
" >&5
7980 $as_echo "no
" >&6; }
7985 if test -z "$ac_cv_prog_DSYMUTIL"; then
7986 ac_ct_DSYMUTIL=$DSYMUTIL
7987 # Extract the first word of "dsymutil
", so it can be a program name with args.
7988 set dummy dsymutil; ac_word=$2
7989 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
7990 $as_echo_n "checking
for $ac_word...
" >&6; }
7991 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
7992 $as_echo_n "(cached
) " >&6
7994 if test -n "$ac_ct_DSYMUTIL"; then
7995 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8001 test -z "$as_dir" && as_dir=.
8002 for ac_exec_ext in '' $ac_executable_extensions; do
8003 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8004 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
8005 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8014 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8015 if test -n "$ac_ct_DSYMUTIL"; then
8016 { $as_echo "$as_me:$LINENO: result
: $ac_ct_DSYMUTIL" >&5
8017 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8019 { $as_echo "$as_me:$LINENO: result
: no
" >&5
8020 $as_echo "no
" >&6; }
8023 if test "x
$ac_ct_DSYMUTIL" = x; then
8026 case $cross_compiling:$ac_tool_warned in
8028 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8029 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8030 ac_tool_warned=yes ;;
8032 DSYMUTIL=$ac_ct_DSYMUTIL
8035 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8038 if test -n "$ac_tool_prefix"; then
8039 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
8040 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8041 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
8042 $as_echo_n "checking
for $ac_word...
" >&6; }
8043 if test "${ac_cv_prog_NMEDIT+set}" = set; then
8044 $as_echo_n "(cached
) " >&6
8046 if test -n "$NMEDIT"; then
8047 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8053 test -z "$as_dir" && as_dir=.
8054 for ac_exec_ext in '' $ac_executable_extensions; do
8055 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8056 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
8057 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8066 NMEDIT=$ac_cv_prog_NMEDIT
8067 if test -n "$NMEDIT"; then
8068 { $as_echo "$as_me:$LINENO: result
: $NMEDIT" >&5
8069 $as_echo "$NMEDIT" >&6; }
8071 { $as_echo "$as_me:$LINENO: result
: no
" >&5
8072 $as_echo "no
" >&6; }
8077 if test -z "$ac_cv_prog_NMEDIT"; then
8078 ac_ct_NMEDIT=$NMEDIT
8079 # Extract the first word of "nmedit
", so it can be a program name with args.
8080 set dummy nmedit; ac_word=$2
8081 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
8082 $as_echo_n "checking
for $ac_word...
" >&6; }
8083 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
8084 $as_echo_n "(cached
) " >&6
8086 if test -n "$ac_ct_NMEDIT"; then
8087 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8093 test -z "$as_dir" && as_dir=.
8094 for ac_exec_ext in '' $ac_executable_extensions; do
8095 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8096 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
8097 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8106 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8107 if test -n "$ac_ct_NMEDIT"; then
8108 { $as_echo "$as_me:$LINENO: result
: $ac_ct_NMEDIT" >&5
8109 $as_echo "$ac_ct_NMEDIT" >&6; }
8111 { $as_echo "$as_me:$LINENO: result
: no
" >&5
8112 $as_echo "no
" >&6; }
8115 if test "x
$ac_ct_NMEDIT" = x; then
8118 case $cross_compiling:$ac_tool_warned in
8120 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8121 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8122 ac_tool_warned=yes ;;
8124 NMEDIT=$ac_ct_NMEDIT
8127 NMEDIT="$ac_cv_prog_NMEDIT"
8130 if test -n "$ac_tool_prefix"; then
8131 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
8132 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8133 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
8134 $as_echo_n "checking
for $ac_word...
" >&6; }
8135 if test "${ac_cv_prog_LIPO+set}" = set; then
8136 $as_echo_n "(cached
) " >&6
8138 if test -n "$LIPO"; then
8139 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8145 test -z "$as_dir" && as_dir=.
8146 for ac_exec_ext in '' $ac_executable_extensions; do
8147 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8148 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
8149 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8158 LIPO=$ac_cv_prog_LIPO
8159 if test -n "$LIPO"; then
8160 { $as_echo "$as_me:$LINENO: result
: $LIPO" >&5
8161 $as_echo "$LIPO" >&6; }
8163 { $as_echo "$as_me:$LINENO: result
: no
" >&5
8164 $as_echo "no
" >&6; }
8169 if test -z "$ac_cv_prog_LIPO"; then
8171 # Extract the first word of "lipo
", so it can be a program name with args.
8172 set dummy lipo; ac_word=$2
8173 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
8174 $as_echo_n "checking
for $ac_word...
" >&6; }
8175 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
8176 $as_echo_n "(cached
) " >&6
8178 if test -n "$ac_ct_LIPO"; then
8179 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8185 test -z "$as_dir" && as_dir=.
8186 for ac_exec_ext in '' $ac_executable_extensions; do
8187 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8188 ac_cv_prog_ac_ct_LIPO="lipo
"
8189 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8198 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8199 if test -n "$ac_ct_LIPO"; then
8200 { $as_echo "$as_me:$LINENO: result
: $ac_ct_LIPO" >&5
8201 $as_echo "$ac_ct_LIPO" >&6; }
8203 { $as_echo "$as_me:$LINENO: result
: no
" >&5
8204 $as_echo "no
" >&6; }
8207 if test "x
$ac_ct_LIPO" = x; then
8210 case $cross_compiling:$ac_tool_warned in
8212 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8213 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8214 ac_tool_warned=yes ;;
8219 LIPO="$ac_cv_prog_LIPO"
8222 if test -n "$ac_tool_prefix"; then
8223 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
8224 set dummy ${ac_tool_prefix}otool; ac_word=$2
8225 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
8226 $as_echo_n "checking
for $ac_word...
" >&6; }
8227 if test "${ac_cv_prog_OTOOL+set}" = set; then
8228 $as_echo_n "(cached
) " >&6
8230 if test -n "$OTOOL"; then
8231 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8237 test -z "$as_dir" && as_dir=.
8238 for ac_exec_ext in '' $ac_executable_extensions; do
8239 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8240 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
8241 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8250 OTOOL=$ac_cv_prog_OTOOL
8251 if test -n "$OTOOL"; then
8252 { $as_echo "$as_me:$LINENO: result
: $OTOOL" >&5
8253 $as_echo "$OTOOL" >&6; }
8255 { $as_echo "$as_me:$LINENO: result
: no
" >&5
8256 $as_echo "no
" >&6; }
8261 if test -z "$ac_cv_prog_OTOOL"; then
8263 # Extract the first word of "otool
", so it can be a program name with args.
8264 set dummy otool; ac_word=$2
8265 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
8266 $as_echo_n "checking
for $ac_word...
" >&6; }
8267 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
8268 $as_echo_n "(cached
) " >&6
8270 if test -n "$ac_ct_OTOOL"; then
8271 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8277 test -z "$as_dir" && as_dir=.
8278 for ac_exec_ext in '' $ac_executable_extensions; do
8279 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8280 ac_cv_prog_ac_ct_OTOOL="otool
"
8281 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8290 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8291 if test -n "$ac_ct_OTOOL"; then
8292 { $as_echo "$as_me:$LINENO: result
: $ac_ct_OTOOL" >&5
8293 $as_echo "$ac_ct_OTOOL" >&6; }
8295 { $as_echo "$as_me:$LINENO: result
: no
" >&5
8296 $as_echo "no
" >&6; }
8299 if test "x
$ac_ct_OTOOL" = x; then
8302 case $cross_compiling:$ac_tool_warned in
8304 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8305 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8306 ac_tool_warned=yes ;;
8311 OTOOL="$ac_cv_prog_OTOOL"
8314 if test -n "$ac_tool_prefix"; then
8315 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
8316 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8317 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
8318 $as_echo_n "checking
for $ac_word...
" >&6; }
8319 if test "${ac_cv_prog_OTOOL64+set}" = set; then
8320 $as_echo_n "(cached
) " >&6
8322 if test -n "$OTOOL64"; then
8323 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8329 test -z "$as_dir" && as_dir=.
8330 for ac_exec_ext in '' $ac_executable_extensions; do
8331 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8332 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
8333 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8342 OTOOL64=$ac_cv_prog_OTOOL64
8343 if test -n "$OTOOL64"; then
8344 { $as_echo "$as_me:$LINENO: result
: $OTOOL64" >&5
8345 $as_echo "$OTOOL64" >&6; }
8347 { $as_echo "$as_me:$LINENO: result
: no
" >&5
8348 $as_echo "no
" >&6; }
8353 if test -z "$ac_cv_prog_OTOOL64"; then
8354 ac_ct_OTOOL64=$OTOOL64
8355 # Extract the first word of "otool64
", so it can be a program name with args.
8356 set dummy otool64; ac_word=$2
8357 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
8358 $as_echo_n "checking
for $ac_word...
" >&6; }
8359 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
8360 $as_echo_n "(cached
) " >&6
8362 if test -n "$ac_ct_OTOOL64"; then
8363 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8369 test -z "$as_dir" && as_dir=.
8370 for ac_exec_ext in '' $ac_executable_extensions; do
8371 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8372 ac_cv_prog_ac_ct_OTOOL64="otool64
"
8373 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8382 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8383 if test -n "$ac_ct_OTOOL64"; then
8384 { $as_echo "$as_me:$LINENO: result
: $ac_ct_OTOOL64" >&5
8385 $as_echo "$ac_ct_OTOOL64" >&6; }
8387 { $as_echo "$as_me:$LINENO: result
: no
" >&5
8388 $as_echo "no
" >&6; }
8391 if test "x
$ac_ct_OTOOL64" = x; then
8394 case $cross_compiling:$ac_tool_warned in
8396 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8397 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8398 ac_tool_warned=yes ;;
8400 OTOOL64=$ac_ct_OTOOL64
8403 OTOOL64="$ac_cv_prog_OTOOL64"
8432 { $as_echo "$as_me:$LINENO: checking
for -single_module linker flag
" >&5
8433 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
8434 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
8435 $as_echo_n "(cached
) " >&6
8437 lt_cv_apple_cc_single_mod=no
8438 if test -z "${LT_MULTI_MODULE}"; then
8439 # By default we will add the -single_module flag. You can override
8440 # by either setting the environment variable LT_MULTI_MODULE
8441 # non-empty at configure time, or by adding -multi_module to the
8443 rm -rf libconftest.dylib*
8444 echo "int foo
(void
){return 1;}" > conftest.c
8445 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8446 -dynamiclib -Wl,-single_module conftest.c
" >&5
8447 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8448 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8450 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8451 lt_cv_apple_cc_single_mod=yes
8453 cat conftest.err >&5
8455 rm -rf libconftest.dylib*
8459 { $as_echo "$as_me:$LINENO: result
: $lt_cv_apple_cc_single_mod" >&5
8460 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8461 { $as_echo "$as_me:$LINENO: checking
for -exported_symbols_list linker flag
" >&5
8462 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8463 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
8464 $as_echo_n "(cached
) " >&6
8466 lt_cv_ld_exported_symbols_list=no
8467 save_LDFLAGS=$LDFLAGS
8468 echo "_main
" > conftest.sym
8469 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8470 cat >conftest.$ac_ext <<_ACEOF
8473 cat confdefs.h >>conftest.$ac_ext
8474 cat >>conftest.$ac_ext <<_ACEOF
8475 /* end confdefs.h. */
8485 rm -f conftest.$ac_objext conftest$ac_exeext
8486 if { (ac_try="$ac_link"
8488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8489 *) ac_try_echo=$ac_try;;
8491 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8492 $as_echo "$ac_try_echo") >&5
8493 (eval "$ac_link") 2>conftest.er1
8495 grep -v '^ *+' conftest.er1 >conftest.err
8497 cat conftest.err >&5
8498 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8499 (exit $ac_status); } && {
8500 test -z "$ac_c_werror_flag" ||
8501 test ! -s conftest.err
8502 } && test -s conftest$ac_exeext && {
8503 test "$cross_compiling" = yes ||
8504 $as_test_x conftest$ac_exeext
8506 lt_cv_ld_exported_symbols_list=yes
8508 $as_echo "$as_me: failed program was
:" >&5
8509 sed 's/^/| /' conftest.$ac_ext >&5
8511 lt_cv_ld_exported_symbols_list=no
8514 rm -rf conftest.dSYM
8515 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8516 conftest$ac_exeext conftest.$ac_ext
8517 LDFLAGS="$save_LDFLAGS"
8520 { $as_echo "$as_me:$LINENO: result
: $lt_cv_ld_exported_symbols_list" >&5
8521 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8523 rhapsody* | darwin1.[012])
8524 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8526 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8527 darwin*) # darwin 5.x on
8528 # if running on 10.5 or later, the deployment target defaults
8529 # to the OS version, if on x86, and 10.4, the deployment
8530 # target defaults to 10.4. Don't you love it?
8531 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8532 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8533 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8535 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8537 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8541 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8542 _lt_dar_single_mod='$single_module'
8544 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8545 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8547 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8549 if test "$DSYMUTIL" != ":"; then
8550 _lt_dsymutil='~$DSYMUTIL $lib || :'
8558 for ac_header in dlfcn.h
8560 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
8561 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
8562 $as_echo_n "checking
for $ac_header...
" >&6; }
8563 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8564 $as_echo_n "(cached
) " >&6
8566 cat >conftest.$ac_ext <<_ACEOF
8569 cat confdefs.h >>conftest.$ac_ext
8570 cat >>conftest.$ac_ext <<_ACEOF
8571 /* end confdefs.h. */
8572 $ac_includes_default
8574 #include <$ac_header>
8576 rm -f conftest.$ac_objext
8577 if { (ac_try="$ac_compile"
8579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8580 *) ac_try_echo=$ac_try;;
8582 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8583 $as_echo "$ac_try_echo") >&5
8584 (eval "$ac_compile") 2>conftest.er1
8586 grep -v '^ *+' conftest.er1 >conftest.err
8588 cat conftest.err >&5
8589 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8590 (exit $ac_status); } && {
8591 test -z "$ac_c_werror_flag" ||
8592 test ! -s conftest.err
8593 } && test -s conftest.$ac_objext; then
8594 eval "$as_ac_Header=yes"
8596 $as_echo "$as_me: failed program was
:" >&5
8597 sed 's/^/| /' conftest.$ac_ext >&5
8599 eval "$as_ac_Header=no
"
8602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8604 ac_res=`eval 'as_val=${'$as_ac_Header'}
8605 $as_echo "$as_val"'`
8606 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
8607 $as_echo "$ac_res" >&6; }
8608 as_val=`eval 'as_val=${'$as_ac_Header'}
8609 $as_echo "$as_val"'`
8610 if test "x
$as_val" = x""yes; then
8611 cat >>confdefs.h <<_ACEOF
8612 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
8622 ac_cpp='$CXXCPP $CPPFLAGS'
8623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8626 if test -z "$CXX"; then
8627 if test -n "$CCC"; then
8630 if test -n "$ac_tool_prefix"; then
8631 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
8633 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8634 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8635 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
8636 $as_echo_n "checking
for $ac_word...
" >&6; }
8637 if test "${ac_cv_prog_CXX+set}" = set; then
8638 $as_echo_n "(cached
) " >&6
8640 if test -n "$CXX"; then
8641 ac_cv_prog_CXX="$CXX" # Let the user override the test.
8643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8647 test -z "$as_dir" && as_dir=.
8648 for ac_exec_ext in '' $ac_executable_extensions; do
8649 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8650 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
8651 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8661 if test -n "$CXX"; then
8662 { $as_echo "$as_me:$LINENO: result
: $CXX" >&5
8663 $as_echo "$CXX" >&6; }
8665 { $as_echo "$as_me:$LINENO: result
: no
" >&5
8666 $as_echo "no
" >&6; }
8670 test -n "$CXX" && break
8673 if test -z "$CXX"; then
8675 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
8677 # Extract the first word of "$ac_prog", so it can be a program name with args.
8678 set dummy $ac_prog; ac_word=$2
8679 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
8680 $as_echo_n "checking
for $ac_word...
" >&6; }
8681 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
8682 $as_echo_n "(cached
) " >&6
8684 if test -n "$ac_ct_CXX"; then
8685 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
8687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8691 test -z "$as_dir" && as_dir=.
8692 for ac_exec_ext in '' $ac_executable_extensions; do
8693 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8694 ac_cv_prog_ac_ct_CXX="$ac_prog"
8695 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8704 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
8705 if test -n "$ac_ct_CXX"; then
8706 { $as_echo "$as_me:$LINENO: result
: $ac_ct_CXX" >&5
8707 $as_echo "$ac_ct_CXX" >&6; }
8709 { $as_echo "$as_me:$LINENO: result
: no
" >&5
8710 $as_echo "no
" >&6; }
8714 test -n "$ac_ct_CXX" && break
8717 if test "x
$ac_ct_CXX" = x; then
8720 case $cross_compiling:$ac_tool_warned in
8722 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8723 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8724 ac_tool_warned=yes ;;
8732 # Provide some information about the compiler.
8733 $as_echo "$as_me:$LINENO: checking
for C
++ compiler version
" >&5
8736 { (ac_try="$ac_compiler --version >&5"
8738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8739 *) ac_try_echo=$ac_try;;
8741 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8742 $as_echo "$ac_try_echo") >&5
8743 (eval "$ac_compiler --version >&5") 2>&5
8745 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8746 (exit $ac_status); }
8747 { (ac_try="$ac_compiler -v >&5"
8749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8750 *) ac_try_echo=$ac_try;;
8752 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8753 $as_echo "$ac_try_echo") >&5
8754 (eval "$ac_compiler -v >&5") 2>&5
8756 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8757 (exit $ac_status); }
8758 { (ac_try="$ac_compiler -V >&5"
8760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8761 *) ac_try_echo=$ac_try;;
8763 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8764 $as_echo "$ac_try_echo") >&5
8765 (eval "$ac_compiler -V >&5") 2>&5
8767 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8768 (exit $ac_status); }
8770 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C
++ compiler
" >&5
8771 $as_echo_n "checking whether we are using the GNU C
++ compiler...
" >&6; }
8772 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
8773 $as_echo_n "(cached
) " >&6
8775 cat >conftest.$ac_ext <<_ACEOF
8778 cat confdefs.h >>conftest.$ac_ext
8779 cat >>conftest.$ac_ext <<_ACEOF
8780 /* end confdefs.h. */
8793 rm -f conftest.$ac_objext
8794 if { (ac_try="$ac_compile"
8796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8797 *) ac_try_echo=$ac_try;;
8799 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8800 $as_echo "$ac_try_echo") >&5
8801 (eval "$ac_compile") 2>conftest.er1
8803 grep -v '^ *+' conftest.er1 >conftest.err
8805 cat conftest.err >&5
8806 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8807 (exit $ac_status); } && {
8808 test -z "$ac_cxx_werror_flag" ||
8809 test ! -s conftest.err
8810 } && test -s conftest.$ac_objext; then
8813 $as_echo "$as_me: failed program was
:" >&5
8814 sed 's/^/| /' conftest.$ac_ext >&5
8819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8820 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
8823 { $as_echo "$as_me:$LINENO: result
: $ac_cv_cxx_compiler_gnu" >&5
8824 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
8825 if test $ac_compiler_gnu = yes; then
8830 ac_test_CXXFLAGS=${CXXFLAGS+set}
8831 ac_save_CXXFLAGS=$CXXFLAGS
8832 { $as_echo "$as_me:$LINENO: checking whether
$CXX accepts
-g" >&5
8833 $as_echo_n "checking whether
$CXX accepts
-g...
" >&6; }
8834 if test "${ac_cv_prog_cxx_g+set}" = set; then
8835 $as_echo_n "(cached
) " >&6
8837 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
8838 ac_cxx_werror_flag=yes
8841 cat >conftest.$ac_ext <<_ACEOF
8844 cat confdefs.h >>conftest.$ac_ext
8845 cat >>conftest.$ac_ext <<_ACEOF
8846 /* end confdefs.h. */
8856 rm -f conftest.$ac_objext
8857 if { (ac_try="$ac_compile"
8859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8860 *) ac_try_echo=$ac_try;;
8862 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8863 $as_echo "$ac_try_echo") >&5
8864 (eval "$ac_compile") 2>conftest.er1
8866 grep -v '^ *+' conftest.er1 >conftest.err
8868 cat conftest.err >&5
8869 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8870 (exit $ac_status); } && {
8871 test -z "$ac_cxx_werror_flag" ||
8872 test ! -s conftest.err
8873 } && test -s conftest.$ac_objext; then
8874 ac_cv_prog_cxx_g=yes
8876 $as_echo "$as_me: failed program was
:" >&5
8877 sed 's/^/| /' conftest.$ac_ext >&5
8880 cat >conftest.$ac_ext <<_ACEOF
8883 cat confdefs.h >>conftest.$ac_ext
8884 cat >>conftest.$ac_ext <<_ACEOF
8885 /* end confdefs.h. */
8895 rm -f conftest.$ac_objext
8896 if { (ac_try="$ac_compile"
8898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8899 *) ac_try_echo=$ac_try;;
8901 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8902 $as_echo "$ac_try_echo") >&5
8903 (eval "$ac_compile") 2>conftest.er1
8905 grep -v '^ *+' conftest.er1 >conftest.err
8907 cat conftest.err >&5
8908 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8909 (exit $ac_status); } && {
8910 test -z "$ac_cxx_werror_flag" ||
8911 test ! -s conftest.err
8912 } && test -s conftest.$ac_objext; then
8915 $as_echo "$as_me: failed program was
:" >&5
8916 sed 's/^/| /' conftest.$ac_ext >&5
8918 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
8920 cat >conftest.$ac_ext <<_ACEOF
8923 cat confdefs.h >>conftest.$ac_ext
8924 cat >>conftest.$ac_ext <<_ACEOF
8925 /* end confdefs.h. */
8935 rm -f conftest.$ac_objext
8936 if { (ac_try="$ac_compile"
8938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8939 *) ac_try_echo=$ac_try;;
8941 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8942 $as_echo "$ac_try_echo") >&5
8943 (eval "$ac_compile") 2>conftest.er1
8945 grep -v '^ *+' conftest.er1 >conftest.err
8947 cat conftest.err >&5
8948 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8949 (exit $ac_status); } && {
8950 test -z "$ac_cxx_werror_flag" ||
8951 test ! -s conftest.err
8952 } && test -s conftest.$ac_objext; then
8953 ac_cv_prog_cxx_g=yes
8955 $as_echo "$as_me: failed program was
:" >&5
8956 sed 's/^/| /' conftest.$ac_ext >&5
8961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8968 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
8970 { $as_echo "$as_me:$LINENO: result
: $ac_cv_prog_cxx_g" >&5
8971 $as_echo "$ac_cv_prog_cxx_g" >&6; }
8972 if test "$ac_test_CXXFLAGS" = set; then
8973 CXXFLAGS=$ac_save_CXXFLAGS
8974 elif test $ac_cv_prog_cxx_g = yes; then
8975 if test "$GXX" = yes; then
8981 if test "$GXX" = yes; then
8988 ac_cpp='$CPP $CPPFLAGS'
8989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8993 depcc="$CXX" am_compiler_list=
8995 { $as_echo "$as_me:$LINENO: checking dependency style of
$depcc" >&5
8996 $as_echo_n "checking dependency style of
$depcc...
" >&6; }
8997 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
8998 $as_echo_n "(cached
) " >&6
9000 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
9001 # We make a subdir and do the tests there. Otherwise we can end up
9002 # making bogus files that we don't know about and never remove. For
9003 # instance it was reported that on HP-UX the gcc test will end up
9004 # making a dummy file named `D' -- because `-MD' means `put the output
9007 # Copy depcomp to subdir because otherwise we won't find it if we're
9008 # using a relative directory.
9009 cp "$am_depcomp" conftest.dir
9011 # We will build objects and dependencies in a subdirectory because
9012 # it helps to detect inapplicable dependency modes. For instance
9013 # both Tru64's cc and ICC support -MD to output dependencies as a
9014 # side effect of compilation, but ICC will put the dependencies in
9015 # the current directory while Tru64 will put them in the object
9019 am_cv_CXX_dependencies_compiler_type=none
9020 if test "$am_compiler_list" = ""; then
9021 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
9024 case " $depcc " in #(
9025 *\ -arch\ *\ -arch\ *) am__universal=true ;;
9028 for depmode in $am_compiler_list; do
9029 # Setup a source with many dependencies, because some compilers
9030 # like to wrap large dependency lists on column 80 (with \), and
9031 # we should not choose a depcomp mode which is confused by this.
9033 # We need to recreate these files for each test, as the compiler may
9034 # overwrite some of them when testing with obscure command lines.
9035 # This happens at least with the AIX C compiler.
9037 for i in 1 2 3 4 5 6; do
9038 echo '#include "conftst
'$i'.h
"' >> sub/conftest.c
9039 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
9040 # Solaris 8's {/usr,}/bin/sh.
9041 touch sub/conftst$i.h
9043 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
9045 # We check with `-c' and `-o' for the sake of the "dashmstdout
"
9046 # mode. It turns out that the SunPro C++ compiler does not properly
9047 # handle `-M -o', and we need to detect this. Also, some Intel
9048 # versions had trouble with output in subdirs
9049 am__obj=sub/conftest.${OBJEXT-o}
9050 am__minus_obj="-o $am__obj"
9053 # This depmode causes a compiler race in universal mode.
9054 test "$am__universal" = false || continue
9057 # after this tag, mechanisms are not by side-effect, so they'll
9058 # only be used when explicitly requested
9059 if test "x
$enable_dependency_tracking" = xyes; then
9065 msvisualcpp | msvcmsys)
9066 # This compiler won't grok `-c -o', but also, the minuso test has
9067 # not run yet. These depmodes are late enough in the game, and
9068 # so weak that their functioning should not be impacted.
9069 am__obj=conftest.${OBJEXT-o}
9074 if depmode=$depmode \
9075 source=sub/conftest.c object=$am__obj \
9076 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
9077 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
9078 >/dev/null 2>conftest.err &&
9079 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
9080 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
9081 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
9082 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
9083 # icc doesn't choke on unknown options, it will just issue warnings
9084 # or remarks (even with -Werror). So we grep stderr for any message
9085 # that says an option was ignored or not supported.
9086 # When given -MP, icc 7.0 and 7.1 complain thusly:
9087 # icc: Command line warning: ignoring option '-M'; no argument required
9088 # The diagnosis changed in icc 8.0:
9089 # icc: Command line remark: option '-MP' not supported
9090 if (grep 'ignoring option' conftest.err ||
9091 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
9092 am_cv_CXX_dependencies_compiler_type=$depmode
9101 am_cv_CXX_dependencies_compiler_type=none
9105 { $as_echo "$as_me:$LINENO: result
: $am_cv_CXX_dependencies_compiler_type" >&5
9106 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
9107 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
9110 test "x
$enable_dependency_tracking" != xno \
9111 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
9112 am__fastdepCXX_TRUE=
9113 am__fastdepCXX_FALSE='#'
9115 am__fastdepCXX_TRUE='#'
9116 am__fastdepCXX_FALSE=
9120 if test -n "$CXX" && ( test "X
$CXX" != "Xno
" &&
9121 ( (test "X
$CXX" = "Xg
++" && `g++ -v >/dev/null 2>&1` ) ||
9122 (test "X
$CXX" != "Xg
++"))) ; then
9124 ac_cpp='$CXXCPP $CPPFLAGS'
9125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9128 { $as_echo "$as_me:$LINENO: checking how to run the C
++ preprocessor
" >&5
9129 $as_echo_n "checking how to run the C
++ preprocessor...
" >&6; }
9130 if test -z "$CXXCPP"; then
9131 if test "${ac_cv_prog_CXXCPP+set}" = set; then
9132 $as_echo_n "(cached
) " >&6
9134 # Double quotes because CXXCPP needs to be expanded
9135 for CXXCPP in "$CXX -E" "/lib
/cpp
"
9138 for ac_cxx_preproc_warn_flag in '' yes
9140 # Use a header file that comes with gcc, so configuring glibc
9141 # with a fresh cross-compiler works.
9142 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9143 # <limits.h> exists even on freestanding compilers.
9144 # On the NeXT, cc -E runs the code through the compiler's parser,
9145 # not just through cpp. "Syntax error
" is here to catch this case.
9146 cat >conftest.$ac_ext <<_ACEOF
9149 cat confdefs.h >>conftest.$ac_ext
9150 cat >>conftest.$ac_ext <<_ACEOF
9151 /* end confdefs.h. */
9153 # include <limits.h>
9155 # include <assert.h>
9159 if { (ac_try="$ac_cpp conftest.
$ac_ext"
9161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9162 *) ac_try_echo=$ac_try;;
9164 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
9165 $as_echo "$ac_try_echo") >&5
9166 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
9168 grep -v '^ *+' conftest.er1 >conftest.err
9170 cat conftest.err >&5
9171 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9172 (exit $ac_status); } >/dev/null && {
9173 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
9174 test ! -s conftest.err
9178 $as_echo "$as_me: failed program was
:" >&5
9179 sed 's/^/| /' conftest.$ac_ext >&5
9181 # Broken: fails on valid input.
9185 rm -f conftest.err conftest.$ac_ext
9187 # OK, works on sane cases. Now check whether nonexistent headers
9188 # can be detected and how.
9189 cat >conftest.$ac_ext <<_ACEOF
9192 cat confdefs.h >>conftest.$ac_ext
9193 cat >>conftest.$ac_ext <<_ACEOF
9194 /* end confdefs.h. */
9195 #include <ac_nonexistent.h>
9197 if { (ac_try="$ac_cpp conftest.
$ac_ext"
9199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9200 *) ac_try_echo=$ac_try;;
9202 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
9203 $as_echo "$ac_try_echo") >&5
9204 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
9206 grep -v '^ *+' conftest.er1 >conftest.err
9208 cat conftest.err >&5
9209 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9210 (exit $ac_status); } >/dev/null && {
9211 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
9212 test ! -s conftest.err
9214 # Broken: success on invalid input.
9217 $as_echo "$as_me: failed program was
:" >&5
9218 sed 's/^/| /' conftest.$ac_ext >&5
9220 # Passes both tests.
9225 rm -f conftest.err conftest.$ac_ext
9228 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9229 rm -f conftest.err conftest.$ac_ext
9230 if $ac_preproc_ok; then
9235 ac_cv_prog_CXXCPP=$CXXCPP
9238 CXXCPP=$ac_cv_prog_CXXCPP
9240 ac_cv_prog_CXXCPP=$CXXCPP
9242 { $as_echo "$as_me:$LINENO: result
: $CXXCPP" >&5
9243 $as_echo "$CXXCPP" >&6; }
9245 for ac_cxx_preproc_warn_flag in '' yes
9247 # Use a header file that comes with gcc, so configuring glibc
9248 # with a fresh cross-compiler works.
9249 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9250 # <limits.h> exists even on freestanding compilers.
9251 # On the NeXT, cc -E runs the code through the compiler's parser,
9252 # not just through cpp. "Syntax error
" is here to catch this case.
9253 cat >conftest.$ac_ext <<_ACEOF
9256 cat confdefs.h >>conftest.$ac_ext
9257 cat >>conftest.$ac_ext <<_ACEOF
9258 /* end confdefs.h. */
9260 # include <limits.h>
9262 # include <assert.h>
9266 if { (ac_try="$ac_cpp conftest.
$ac_ext"
9268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9269 *) ac_try_echo=$ac_try;;
9271 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
9272 $as_echo "$ac_try_echo") >&5
9273 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
9275 grep -v '^ *+' conftest.er1 >conftest.err
9277 cat conftest.err >&5
9278 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9279 (exit $ac_status); } >/dev/null && {
9280 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
9281 test ! -s conftest.err
9285 $as_echo "$as_me: failed program was
:" >&5
9286 sed 's/^/| /' conftest.$ac_ext >&5
9288 # Broken: fails on valid input.
9292 rm -f conftest.err conftest.$ac_ext
9294 # OK, works on sane cases. Now check whether nonexistent headers
9295 # can be detected and how.
9296 cat >conftest.$ac_ext <<_ACEOF
9299 cat confdefs.h >>conftest.$ac_ext
9300 cat >>conftest.$ac_ext <<_ACEOF
9301 /* end confdefs.h. */
9302 #include <ac_nonexistent.h>
9304 if { (ac_try="$ac_cpp conftest.
$ac_ext"
9306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9307 *) ac_try_echo=$ac_try;;
9309 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
9310 $as_echo "$ac_try_echo") >&5
9311 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
9313 grep -v '^ *+' conftest.er1 >conftest.err
9315 cat conftest.err >&5
9316 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9317 (exit $ac_status); } >/dev/null && {
9318 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
9319 test ! -s conftest.err
9321 # Broken: success on invalid input.
9324 $as_echo "$as_me: failed program was
:" >&5
9325 sed 's/^/| /' conftest.$ac_ext >&5
9327 # Passes both tests.
9332 rm -f conftest.err conftest.$ac_ext
9335 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9336 rm -f conftest.err conftest.$ac_ext
9337 if $ac_preproc_ok; then
9340 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
9341 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
9342 _lt_caught_CXX_error=yes; }
9346 ac_cpp='$CPP $CPPFLAGS'
9347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
9348 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
9349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9352 _lt_caught_CXX_error=yes
9369 # Check whether --enable-shared was given.
9370 if test "${enable_shared+set}" = set; then
9371 enableval=$enable_shared; p=${PACKAGE-default}
9373 yes) enable_shared=yes ;;
9374 no) enable_shared=no ;;
9377 # Look at the argument we got. We use all the common list separators.
9378 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9379 for pkg in $enableval; do
9381 if test "X$pkg" = "X$p"; then
9400 # Check whether --enable-static was given.
9401 if test "${enable_static+set}" = set; then
9402 enableval=$enable_static; p=${PACKAGE-default}
9404 yes) enable_static=yes ;;
9405 no) enable_static=no ;;
9408 # Look at the argument we got. We use all the common list separators.
9409 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9410 for pkg in $enableval; do
9412 if test "X$pkg" = "X$p"; then
9432 # Check whether --with-pic was given.
9433 if test "${with_pic+set}" = set; then
9434 withval=$with_pic; pic_mode="$withval"
9440 test -z "$pic_mode" && pic_mode=default
9448 # Check whether --enable-fast-install was given.
9449 if test "${enable_fast_install+set}" = set; then
9450 enableval=$enable_fast_install; p=${PACKAGE-default}
9452 yes) enable_fast_install=yes ;;
9453 no) enable_fast_install=no ;;
9455 enable_fast_install=no
9456 # Look at the argument we got. We use all the common list separators.
9457 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9458 for pkg in $enableval; do
9460 if test "X$pkg" = "X$p"; then
9461 enable_fast_install=yes
9468 enable_fast_install=yes
9481 # This can be used to rebuild libtool when needed
9482 LIBTOOL_DEPS="$ltmain"
9484 # Always use our own libtool.
9485 LIBTOOL='$
(SHELL
) $
(top_builddir
)/libtool
'
9511 test -z "$LN_S" && LN_S="ln -s"
9526 if test -n "${ZSH_VERSION+set}" ; then
9527 setopt NO_GLOB_SUBST
9530 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
9531 $as_echo_n "checking for objdir... " >&6; }
9532 if test "${lt_cv_objdir+set}" = set; then
9533 $as_echo_n "(cached) " >&6
9535 rm -f .libs 2>/dev/null
9536 mkdir .libs 2>/dev/null
9537 if test -d .libs; then
9540 # MS-DOS does not allow filenames that begin with a dot.
9543 rmdir .libs 2>/dev/null
9545 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
9546 $as_echo "$lt_cv_objdir" >&6; }
9547 objdir=$lt_cv_objdir
9553 cat >>confdefs.h <<_ACEOF
9554 #define LT_OBJDIR "$lt_cv_objdir/"
9575 # AIX sometimes has problems with the GCC collect2 program. For some
9576 # reason, if we set the COLLECT_NAMES environment variable, the problems
9577 # vanish in a puff of smoke.
9578 if test "X${COLLECT_NAMES+set}" != Xset; then
9580 export COLLECT_NAMES
9585 # Sed substitution that helps us do robust quoting. It backslashifies
9586 # metacharacters that are still active within double-quoted strings.
9587 sed_quote_subst='s
/\
(["`$\\]\)/\\\1/g'
9589 # Same as above, but do not quote variable references.
9590 double_quote_subst='s/\(["`\\]\)/\\\1/g'
9592 # Sed substitution to delay expansion of an escaped shell variable in a
9593 # double_quote_subst'ed string.
9594 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
9596 # Sed substitution to delay expansion of an escaped single quote.
9597 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
9599 # Sed substitution to avoid accidental globbing in evaled expressions
9600 no_glob_subst='s/\*/\\\*/g'
9604 can_build_shared=yes
9606 # All known linkers require a `.a
' archive for static linking (except MSVC,
9607 # which needs '.lib
').
9610 with_gnu_ld="$lt_cv_prog_gnu_ld"
9613 old_CFLAGS="$CFLAGS"
9615 # Set sane defaults for various variables
9616 test -z "$CC" && CC=cc
9617 test -z "$LTCC" && LTCC=$CC
9618 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9619 test -z "$LD" && LD=ld
9620 test -z "$ac_objext" && ac_objext=o
9622 for cc_temp in $compiler""; do
9624 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9625 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9630 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's
%.
*/%%' -e "s%^$host_alias-%%"`
9633 # Only perform the check for file, if the check method requires it
9634 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9635 case $deplibs_check_method in
9637 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9638 { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
9639 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9640 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
9641 $as_echo_n "(cached) " >&6
9645 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9648 lt_save_MAGIC_CMD="$MAGIC_CMD"
9649 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9650 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9651 for ac_dir in $ac_dummy; do
9653 test -z "$ac_dir" && ac_dir=.
9654 if test -f $ac_dir/${ac_tool_prefix}file; then
9655 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9656 if test -n "$file_magic_test_file"; then
9657 case $deplibs_check_method in
9659 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9660 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9661 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9662 $EGREP "$file_magic_regex" > /dev/null; then
9667 *** Warning: the command libtool uses to detect shared libraries,
9668 *** $file_magic_cmd, produces output that libtool cannot recognize.
9669 *** The result is that libtool may fail to recognize shared libraries
9670 *** as such. This will affect the creation of libtool libraries that
9671 *** depend on shared libraries, but programs linked with such libtool
9672 *** libraries will work regardless of this problem. Nevertheless, you
9673 *** may want to report the problem to your system manager and/or to
9674 *** bug-libtool@gnu.org
9684 MAGIC_CMD="$lt_save_MAGIC_CMD"
9689 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9690 if test -n "$MAGIC_CMD"; then
9691 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
9692 $as_echo "$MAGIC_CMD" >&6; }
9694 { $as_echo "$as_me:$LINENO: result: no" >&5
9695 $as_echo "no" >&6; }
9702 if test -z "$lt_cv_path_MAGIC_CMD"; then
9703 if test -n "$ac_tool_prefix"; then
9704 { $as_echo "$as_me:$LINENO: checking for file" >&5
9705 $as_echo_n "checking for file... " >&6; }
9706 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
9707 $as_echo_n "(cached) " >&6
9711 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9714 lt_save_MAGIC_CMD="$MAGIC_CMD"
9715 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9716 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9717 for ac_dir in $ac_dummy; do
9719 test -z "$ac_dir" && ac_dir=.
9720 if test -f $ac_dir/file; then
9721 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9722 if test -n "$file_magic_test_file"; then
9723 case $deplibs_check_method in
9725 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9726 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9727 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9728 $EGREP "$file_magic_regex" > /dev/null; then
9733 *** Warning: the command libtool uses to detect shared libraries,
9734 *** $file_magic_cmd, produces output that libtool cannot recognize.
9735 *** The result is that libtool may fail to recognize shared libraries
9736 *** as such. This will affect the creation of libtool libraries that
9737 *** depend on shared libraries, but programs linked with such libtool
9738 *** libraries will work regardless of this problem. Nevertheless, you
9739 *** may want to report the problem to your system manager and/or to
9740 *** bug-libtool@gnu.org
9750 MAGIC_CMD="$lt_save_MAGIC_CMD"
9755 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9756 if test -n "$MAGIC_CMD"; then
9757 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
9758 $as_echo "$MAGIC_CMD" >&6; }
9760 { $as_echo "$as_me:$LINENO: result: no" >&5
9761 $as_echo "no" >&6; }
9774 # Use C for the default configuration in the libtool script
9778 ac_cpp='$CPP $CPPFLAGS'
9779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
9780 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
9781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9784 # Source file extension for C test sources.
9787 # Object file extension for compiled C test sources.
9791 # Code to be used in simple compile tests
9792 lt_simple_compile_test_code="int some_variable = 0;"
9794 # Code to be used in simple link tests
9795 lt_simple_link_test_code='int main
(){return(0);}'
9803 # If no C compiler was specified, use CC.
9806 # If no C compiler flags were specified, use CFLAGS.
9807 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9809 # Allow CC to be a program name with arguments.
9812 # Save the default compiler, since it gets overwritten when the other
9813 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9814 compiler_DEFAULT=$CC
9816 # save warnings/boilerplate of simple test code
9817 ac_outfile=conftest.$ac_objext
9818 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9819 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$
/d
; /^
*+/d
' >conftest.err
9820 _lt_compiler_boilerplate=`cat conftest.err`
9823 ac_outfile=conftest.$ac_objext
9824 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9825 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$
/d
; /^
*+/d
' >conftest.err
9826 _lt_linker_boilerplate=`cat conftest.err`
9830 if test -n "$compiler"; then
9832 lt_prog_compiler_no_builtin_flag=
9834 if test "$GCC" = yes; then
9835 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
9837 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9838 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9839 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
9840 $as_echo_n "(cached) " >&6
9842 lt_cv_prog_compiler_rtti_exceptions=no
9843 ac_outfile=conftest.$ac_objext
9844 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9845 lt_compiler_flag="-fno-rtti -fno-exceptions"
9846 # Insert the option either (1) after the last *FLAGS variable, or
9847 # (2) before a word containing "conftest.", or (3) at the end.
9848 # Note that $ac_compile itself does not contain backslashes and begins
9849 # with a dollar sign (not a hyphen), so the echo should work correctly.
9850 # The option is referenced via a variable to avoid confusing sed.
9851 lt_compile=`echo "$ac_compile" | $SED \
9852 -e 's
:.
*FLAGS
}\
{0,1\
} :&$lt_compiler_flag :; t
' \
9853 -e 's
: [^
]*conftest\.
: $lt_compiler_flag&:; t
' \
9854 -e 's
:$
: $lt_compiler_flag:'`
9855 (eval echo "\"\$as_me:9855: $lt_compile\"" >&5)
9856 (eval "$lt_compile" 2>conftest.err)
9858 cat conftest.err >&5
9859 echo "$as_me:9859: \$? = $ac_status" >&5
9860 if (exit $ac_status) && test -s "$ac_outfile"; then
9861 # The compiler can only warn and ignore the option if not recognized
9862 # So say no if there are warnings other than the usual output.
9863 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$
/d
' >conftest.exp
9864 $SED '/^$
/d
; /^
*+/d
' conftest.err >conftest.er2
9865 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9866 lt_cv_prog_compiler_rtti_exceptions=yes
9872 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9873 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9875 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9876 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9888 lt_prog_compiler_wl=
9889 lt_prog_compiler_pic=
9890 lt_prog_compiler_static=
9892 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
9893 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9895 if test "$GCC" = yes; then
9896 lt_prog_compiler_wl='-Wl,'
9897 lt_prog_compiler_static='-static'
9901 # All AIX code is PIC.
9902 if test "$host_cpu" = ia64; then
9903 # AIX 5 now supports IA64 processor
9904 lt_prog_compiler_static='-Bstatic'
9911 # see comment about AmigaOS4 .so support
9912 lt_prog_compiler_pic='-fPIC'
9915 # FIXME: we need at least 68020 code to build shared libraries, but
9916 # adding the `-m68020' flag to GCC prevents building anything better
,
9918 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9923 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9924 # PIC is the default for these OSes.
9927 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9928 # This hack is so that the source file can tell whether it is being
9929 # built for inclusion in a dll (and should export symbols for example).
9930 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9931 # (--disable-auto-import) libraries
9932 lt_prog_compiler_pic
='-DDLL_EXPORT'
9935 darwin
* | rhapsody
*)
9936 # PIC is the default on this platform
9937 # Common symbols not allowed in MH_DYLIB files
9938 lt_prog_compiler_pic
='-fno-common'
9942 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9943 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9944 # sets the default TLS model and affects inlining.
9950 lt_prog_compiler_pic
='-fPIC'
9956 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9957 # Instead, we relocate shared libraries at runtime.
9961 # Just because we use GCC doesn't mean we suddenly get shared libraries
9962 # on systems that don't support them.
9963 lt_prog_compiler_can_build_shared
=no
9968 # QNX uses GNU C++, but need to define -shared option too, otherwise
9970 lt_prog_compiler_pic
='-fPIC -shared'
9974 if test -d /usr
/nec
; then
9975 lt_prog_compiler_pic
=-Kconform_pic
9980 lt_prog_compiler_pic
='-fPIC'
9984 # PORTME Check for flag to pass linker flags through the system compiler.
9987 lt_prog_compiler_wl
='-Wl,'
9988 if test "$host_cpu" = ia64
; then
9989 # AIX 5 now supports IA64 processor
9990 lt_prog_compiler_static
='-Bstatic'
9992 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9996 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9997 # This hack is so that the source file can tell whether it is being
9998 # built for inclusion in a dll (and should export symbols for example).
9999 lt_prog_compiler_pic
='-DDLL_EXPORT'
10002 hpux9
* | hpux10
* | hpux11
*)
10003 lt_prog_compiler_wl
='-Wl,'
10004 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10005 # not for PA HP-UX.
10011 lt_prog_compiler_pic
='+Z'
10014 # Is there a better lt_prog_compiler_static that works with the bundled CC?
10015 lt_prog_compiler_static
='${wl}-a ${wl}archive'
10018 irix5
* | irix6
* | nonstopux
*)
10019 lt_prog_compiler_wl
='-Wl,'
10020 # PIC (with -KPIC) is the default.
10021 lt_prog_compiler_static
='-non_shared'
10024 linux
* | k
*bsd
*-gnu)
10025 case $cc_basename in
10026 # old Intel for x86_64 which still supported -KPIC.
10028 lt_prog_compiler_wl
='-Wl,'
10029 lt_prog_compiler_pic
='-KPIC'
10030 lt_prog_compiler_static
='-static'
10032 # icc used to be incompatible with GCC.
10033 # ICC 10 doesn't accept -KPIC any more.
10035 lt_prog_compiler_wl
='-Wl,'
10036 lt_prog_compiler_pic
='-fPIC'
10037 lt_prog_compiler_static
='-static'
10039 # Lahey Fortran 8.1.
10041 lt_prog_compiler_wl
='-Wl,'
10042 lt_prog_compiler_pic
='--shared'
10043 lt_prog_compiler_static
='--static'
10045 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
10046 # Portland Group compilers (*not* the Pentium gcc compiler,
10047 # which looks to be a dead project)
10048 lt_prog_compiler_wl
='-Wl,'
10049 lt_prog_compiler_pic
='-fpic'
10050 lt_prog_compiler_static
='-Bstatic'
10053 lt_prog_compiler_wl
='-Wl,'
10054 # All Alpha code is PIC.
10055 lt_prog_compiler_static
='-non_shared'
10058 # IBM XL C 8.0/Fortran 10.1 on PPC
10059 lt_prog_compiler_wl
='-Wl,'
10060 lt_prog_compiler_pic
='-qpic'
10061 lt_prog_compiler_static
='-qstaticlink'
10064 case `$CC -V 2>&1 | sed 5q` in
10067 lt_prog_compiler_pic
='-KPIC'
10068 lt_prog_compiler_static
='-Bstatic'
10069 lt_prog_compiler_wl
='-Wl,'
10072 # Sun Fortran 8.3 passes all unrecognized flags to the linker
10073 lt_prog_compiler_pic
='-KPIC'
10074 lt_prog_compiler_static
='-Bstatic'
10075 lt_prog_compiler_wl
=''
10083 lt_prog_compiler_pic
='-KPIC'
10084 lt_prog_compiler_static
='-Bstatic'
10088 # QNX uses GNU C++, but need to define -shared option too, otherwise
10089 # it will coredump.
10090 lt_prog_compiler_pic
='-fPIC -shared'
10093 osf3
* | osf4
* | osf5
*)
10094 lt_prog_compiler_wl
='-Wl,'
10095 # All OSF/1 code is PIC.
10096 lt_prog_compiler_static
='-non_shared'
10100 lt_prog_compiler_static
='-non_shared'
10104 lt_prog_compiler_pic
='-KPIC'
10105 lt_prog_compiler_static
='-Bstatic'
10106 case $cc_basename in
10107 f77
* | f90
* | f95
*)
10108 lt_prog_compiler_wl
='-Qoption ld ';;
10110 lt_prog_compiler_wl
='-Wl,';;
10115 lt_prog_compiler_wl
='-Qoption ld '
10116 lt_prog_compiler_pic
='-PIC'
10117 lt_prog_compiler_static
='-Bstatic'
10120 sysv4 | sysv4.2uw2
* | sysv4.3
*)
10121 lt_prog_compiler_wl
='-Wl,'
10122 lt_prog_compiler_pic
='-KPIC'
10123 lt_prog_compiler_static
='-Bstatic'
10127 if test -d /usr
/nec
;then
10128 lt_prog_compiler_pic
='-Kconform_pic'
10129 lt_prog_compiler_static
='-Bstatic'
10133 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
10134 lt_prog_compiler_wl
='-Wl,'
10135 lt_prog_compiler_pic
='-KPIC'
10136 lt_prog_compiler_static
='-Bstatic'
10140 lt_prog_compiler_wl
='-Wl,'
10141 lt_prog_compiler_can_build_shared
=no
10145 lt_prog_compiler_pic
='-pic'
10146 lt_prog_compiler_static
='-Bstatic'
10150 lt_prog_compiler_can_build_shared
=no
10156 # For platforms which do not support PIC, -DPIC is meaningless:
10158 lt_prog_compiler_pic
=
10161 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
10164 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
10165 $as_echo "$lt_prog_compiler_pic" >&6; }
10173 # Check to make sure the PIC flag actually works.
10175 if test -n "$lt_prog_compiler_pic"; then
10176 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10177 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10178 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
10179 $as_echo_n "(cached) " >&6
10181 lt_cv_prog_compiler_pic_works
=no
10182 ac_outfile
=conftest.
$ac_objext
10183 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10184 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
10185 # Insert the option either (1) after the last *FLAGS variable, or
10186 # (2) before a word containing "conftest.", or (3) at the end.
10187 # Note that $ac_compile itself does not contain backslashes and begins
10188 # with a dollar sign (not a hyphen), so the echo should work correctly.
10189 # The option is referenced via a variable to avoid confusing sed.
10190 lt_compile
=`echo "$ac_compile" | $SED \
10191 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10192 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10193 -e 's:$: $lt_compiler_flag:'`
10194 (eval echo "\"\$as_me:10194: $lt_compile\"" >&5)
10195 (eval "$lt_compile" 2>conftest.err
)
10197 cat conftest.err
>&5
10198 echo "$as_me:10198: \$? = $ac_status" >&5
10199 if (exit $ac_status) && test -s "$ac_outfile"; then
10200 # The compiler can only warn and ignore the option if not recognized
10201 # So say no if there are warnings other than the usual output.
10202 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
10203 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10204 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
10205 lt_cv_prog_compiler_pic_works
=yes
10211 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
10212 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10214 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
10215 case $lt_prog_compiler_pic in
10217 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
10220 lt_prog_compiler_pic
=
10221 lt_prog_compiler_can_build_shared
=no
10232 # Check to make sure the static flag actually works.
10234 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
10235 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10236 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10237 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
10238 $as_echo_n "(cached) " >&6
10240 lt_cv_prog_compiler_static_works
=no
10241 save_LDFLAGS
="$LDFLAGS"
10242 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
10243 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10244 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10245 # The linker can only warn and ignore the option if not recognized
10246 # So say no if there are warnings
10247 if test -s conftest.err
; then
10248 # Append any errors to the config.log.
10249 cat conftest.err
1>&5
10250 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
10251 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10252 if diff conftest.exp conftest.er2
>/dev
/null
; then
10253 lt_cv_prog_compiler_static_works
=yes
10256 lt_cv_prog_compiler_static_works
=yes
10260 LDFLAGS
="$save_LDFLAGS"
10263 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
10264 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10266 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
10269 lt_prog_compiler_static
=
10278 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
10279 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10280 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
10281 $as_echo_n "(cached) " >&6
10283 lt_cv_prog_compiler_c_o
=no
10284 $RM -r conftest
2>/dev
/null
10288 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10290 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10291 # Insert the option either (1) after the last *FLAGS variable, or
10292 # (2) before a word containing "conftest.", or (3) at the end.
10293 # Note that $ac_compile itself does not contain backslashes and begins
10294 # with a dollar sign (not a hyphen), so the echo should work correctly.
10295 lt_compile
=`echo "$ac_compile" | $SED \
10296 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10297 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10298 -e 's:$: $lt_compiler_flag:'`
10299 (eval echo "\"\$as_me:10299: $lt_compile\"" >&5)
10300 (eval "$lt_compile" 2>out
/conftest.err
)
10302 cat out
/conftest.err
>&5
10303 echo "$as_me:10303: \$? = $ac_status" >&5
10304 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10306 # The compiler can only warn and ignore the option if not recognized
10307 # So say no if there are warnings
10308 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
10309 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10310 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10311 lt_cv_prog_compiler_c_o
=yes
10316 # SGI C++ compiler will create directory out/ii_files/ for
10317 # template instantiation
10318 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10319 $RM out
/* && rmdir out
10325 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
10326 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10333 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
10334 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10335 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
10336 $as_echo_n "(cached) " >&6
10338 lt_cv_prog_compiler_c_o
=no
10339 $RM -r conftest
2>/dev
/null
10343 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10345 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10346 # Insert the option either (1) after the last *FLAGS variable, or
10347 # (2) before a word containing "conftest.", or (3) at the end.
10348 # Note that $ac_compile itself does not contain backslashes and begins
10349 # with a dollar sign (not a hyphen), so the echo should work correctly.
10350 lt_compile
=`echo "$ac_compile" | $SED \
10351 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10352 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10353 -e 's:$: $lt_compiler_flag:'`
10354 (eval echo "\"\$as_me:10354: $lt_compile\"" >&5)
10355 (eval "$lt_compile" 2>out
/conftest.err
)
10357 cat out
/conftest.err
>&5
10358 echo "$as_me:10358: \$? = $ac_status" >&5
10359 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10361 # The compiler can only warn and ignore the option if not recognized
10362 # So say no if there are warnings
10363 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
10364 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10365 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10366 lt_cv_prog_compiler_c_o
=yes
10371 # SGI C++ compiler will create directory out/ii_files/ for
10372 # template instantiation
10373 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10374 $RM out
/* && rmdir out
10380 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
10381 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10386 hard_links
="nottested"
10387 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
10388 # do not overwrite the value of need_locks provided by the user
10389 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
10390 $as_echo_n "checking if we can lock with hard links... " >&6; }
10393 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10395 ln conftest.a conftest.b
2>&5 || hard_links
=no
10396 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10397 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
10398 $as_echo "$hard_links" >&6; }
10399 if test "$hard_links" = no
; then
10400 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10401 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10413 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10414 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10417 allow_undefined_flag
=
10418 always_export_symbols
=no
10420 archive_expsym_cmds
=
10421 compiler_needs_object
=no
10422 enable_shared_with_static_runtimes
=no
10423 export_dynamic_flag_spec
=
10424 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10425 hardcode_automatic
=no
10427 hardcode_direct_absolute
=no
10428 hardcode_libdir_flag_spec
=
10429 hardcode_libdir_flag_spec_ld
=
10430 hardcode_libdir_separator
=
10431 hardcode_minus_L
=no
10432 hardcode_shlibpath_var
=unsupported
10434 link_all_deplibs
=unknown
10436 module_expsym_cmds
=
10437 old_archive_from_new_cmds
=
10438 old_archive_from_expsyms_cmds
=
10439 thread_safe_flag_spec
=
10440 whole_archive_flag_spec
=
10441 # include_expsyms should be a list of space-separated symbols to be *always*
10442 # included in the symbol list
10444 # exclude_expsyms can be an extended regexp of symbols to exclude
10445 # it will be wrapped by ` (' and `)$', so one must not match beginning or
10446 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10447 # as well as any symbol that contains `d'.
10448 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10449 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10450 # platforms (ab)use it in PIC code, but their linkers get confused if
10451 # the symbol is explicitly referenced. Since portable code cannot
10452 # rely on this symbol name, it's probably fine to never include it in
10453 # preloaded symbol tables.
10454 # Exclude shared library initialization/finalization symbols.
10455 extract_expsyms_cmds
=
10458 cygwin
* | mingw
* | pw32
* | cegcc
*)
10459 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10460 # When not using gcc, we currently assume that we are using
10461 # Microsoft Visual C++.
10462 if test "$GCC" != yes; then
10467 # we just hope/assume this is gcc and not c89 (= MSVC++)
10476 if test "$with_gnu_ld" = yes; then
10477 # If archive_cmds runs LD, not CC, wlarc should be empty
10480 # Set some defaults for GNU ld with shared library support. These
10481 # are reset later if shared libraries are not supported. Putting them
10482 # here allows them to be overridden if necessary.
10483 runpath_var
=LD_RUN_PATH
10484 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10485 export_dynamic_flag_spec
='${wl}--export-dynamic'
10486 # ancient GNU ld didn't support --whole-archive et. al.
10487 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
10488 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10490 whole_archive_flag_spec
=
10492 supports_anon_versioning
=no
10493 case `$LD -v 2>&1` in
10494 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
10495 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
10496 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
10497 *\
2.11.
*) ;; # other 2.11 versions
10498 *) supports_anon_versioning
=yes ;;
10501 # See if GNU ld supports shared libraries.
10504 # On AIX/PPC, the GNU linker is very broken
10505 if test "$host_cpu" != ia64
; then
10509 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
10510 *** to be unable to reliably create shared libraries on AIX.
10511 *** Therefore, libtool is disabling shared libraries support. If you
10512 *** really care for shared libraries, you may want to modify your PATH
10513 *** so that a non-GNU linker is found, and then restart.
10522 # see comment about AmigaOS4 .so support
10523 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10524 archive_expsym_cmds
=''
10527 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)'
10528 hardcode_libdir_flag_spec
='-L$libdir'
10529 hardcode_minus_L
=yes
10535 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10536 allow_undefined_flag
=unsupported
10537 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10538 # support --undefined. This deserves some investigation. FIXME
10539 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10545 cygwin
* | mingw
* | pw32
* | cegcc
*)
10546 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10547 # as there is no search path for DLLs.
10548 hardcode_libdir_flag_spec
='-L$libdir'
10549 allow_undefined_flag
=unsupported
10550 always_export_symbols
=no
10551 enable_shared_with_static_runtimes
=yes
10552 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10554 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
10555 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10556 # If the export-symbols file already is a .def file (1st line
10557 # is EXPORTS), use it as is; otherwise, prepend...
10558 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10559 cp $export_symbols $output_objdir/$soname.def;
10561 echo EXPORTS > $output_objdir/$soname.def;
10562 cat $export_symbols >> $output_objdir/$soname.def;
10564 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10572 hardcode_shlibpath_var
=no
10573 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10574 export_dynamic_flag_spec
='${wl}-E'
10575 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10576 # Instead, shared libraries are loaded at an image base (0x10000000 by
10577 # default) and relocated if they conflict, which is a slow very memory
10578 # consuming and fragmenting process. To avoid this, we pick a random,
10579 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10580 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10581 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10582 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'
10585 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
10587 if test "$host_os" = linux-dietlibc
; then
10588 case $cc_basename in
10589 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10592 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
10593 && test "$tmp_diet" = no
10596 tmp_sharedflag
='-shared'
10597 case $cc_basename,$host_cpu in
10598 pgcc
*) # Portland Group C compiler
10599 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'
10600 tmp_addflag
=' $pic_flag'
10602 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
10603 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'
10604 tmp_addflag
=' $pic_flag -Mnomain' ;;
10605 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10606 tmp_addflag
=' -i_dynamic' ;;
10607 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10608 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10609 ifc
* | ifort
*) # Intel Fortran compiler
10610 tmp_addflag
=' -nofor_main' ;;
10611 lf95
*) # Lahey Fortran 8.1
10612 whole_archive_flag_spec
=
10613 tmp_sharedflag
='--shared' ;;
10614 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10615 tmp_sharedflag
='-qmkshrobj'
10618 case `$CC -V 2>&1 | sed 5q` in
10619 *Sun\ C
*) # Sun C 5.9
10620 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'
10621 compiler_needs_object
=yes
10622 tmp_sharedflag
='-G' ;;
10623 *Sun\ F
*) # Sun Fortran 8.3
10624 tmp_sharedflag
='-G' ;;
10626 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10628 if test "x$supports_anon_versioning" = xyes
; then
10629 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10630 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10631 echo "local: *; };" >> $output_objdir/$libname.ver~
10632 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10635 case $cc_basename in
10637 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10638 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10639 hardcode_libdir_flag_spec
=
10640 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
10641 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10642 if test "x$supports_anon_versioning" = xyes
; then
10643 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10644 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10645 echo "local: *; };" >> $output_objdir/$libname.ver~
10646 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10656 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10657 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10660 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10661 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10666 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
10670 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10671 *** create shared libraries on Solaris systems. Therefore, libtool
10672 *** is disabling shared libraries support. We urge you to upgrade GNU
10673 *** binutils to release 2.9.1 or newer. Another option is to modify
10674 *** your PATH or compiler configuration so that the native linker is
10675 *** used, and then restart.
10678 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10679 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10680 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10686 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10687 case `$LD -v 2>&1` in
10688 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10692 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10693 *** reliably create shared libraries on SCO systems. Therefore, libtool
10694 *** is disabling shared libraries support. We urge you to upgrade GNU
10695 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10696 *** your PATH or compiler configuration so that the native linker is
10697 *** used, and then restart.
10702 # For security reasons, it is highly recommended that you always
10703 # use absolute paths for naming shared libraries, and exclude the
10704 # DT_RUNPATH tag from executables and libraries. But doing so
10705 # requires that you compile everything twice, which is a pain.
10706 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10707 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10708 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10709 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10718 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10720 hardcode_direct
=yes
10721 hardcode_shlibpath_var
=no
10725 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10726 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10727 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10734 if test "$ld_shlibs" = no
; then
10736 hardcode_libdir_flag_spec
=
10737 export_dynamic_flag_spec
=
10738 whole_archive_flag_spec
=
10741 # PORTME fill in a description of your system's linker (not GNU ld)
10744 allow_undefined_flag
=unsupported
10745 always_export_symbols
=yes
10746 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'
10747 # Note: this linker hardcodes the directories in LIBPATH if there
10748 # are no directories specified by -L.
10749 hardcode_minus_L
=yes
10750 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10751 # Neither direct hardcoding nor static linking is supported with a
10753 hardcode_direct
=unsupported
10758 if test "$host_cpu" = ia64
; then
10759 # On IA64, the linker does run time linking by default, so we don't
10760 # have to do anything special.
10761 aix_use_runtimelinking
=no
10762 exp_sym_flag
='-Bexport'
10765 # If we're using GNU nm, then we don't want the "-C" option.
10766 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10767 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10768 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'
10770 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'
10772 aix_use_runtimelinking
=no
10774 # Test if we are trying to use run time linking or normal
10775 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10776 # need to do runtime linking.
10777 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10778 for ld_flag
in $LDFLAGS; do
10779 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10780 aix_use_runtimelinking
=yes
10787 exp_sym_flag
='-bexport'
10788 no_entry_flag
='-bnoentry'
10791 # When large executables or shared objects are built, AIX ld can
10792 # have problems creating the table of contents. If linking a library
10793 # or program results in "error TOC overflow" add -mminimal-toc to
10794 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10795 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10798 hardcode_direct
=yes
10799 hardcode_direct_absolute
=yes
10800 hardcode_libdir_separator
=':'
10801 link_all_deplibs
=yes
10802 file_list_spec
='${wl}-f,'
10804 if test "$GCC" = yes; then
10805 case $host_os in aix4.
[012]|aix4.
[012].
*)
10806 # We only want to do this on AIX 4.2 and lower, the check
10807 # below for broken collect2 doesn't work under 4.3+
10808 collect2name
=`${CC} -print-prog-name=collect2`
10809 if test -f "$collect2name" &&
10810 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10812 # We have reworked collect2
10815 # We have old collect2
10816 hardcode_direct
=unsupported
10817 # It fails to find uninstalled libraries when the uninstalled
10818 # path is not listed in the libpath. Setting hardcode_minus_L
10819 # to unsupported forces relinking
10820 hardcode_minus_L
=yes
10821 hardcode_libdir_flag_spec
='-L$libdir'
10822 hardcode_libdir_separator
=
10826 shared_flag
='-shared'
10827 if test "$aix_use_runtimelinking" = yes; then
10828 shared_flag
="$shared_flag "'${wl}-G'
10832 if test "$host_cpu" = ia64
; then
10833 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10834 # chokes on -Wl,-G. The following line is correct:
10837 if test "$aix_use_runtimelinking" = yes; then
10838 shared_flag
='${wl}-G'
10840 shared_flag
='${wl}-bM:SRE'
10845 export_dynamic_flag_spec
='${wl}-bexpall'
10846 # It seems that -bexpall does not export symbols beginning with
10847 # underscore (_), so it is better to generate a list of symbols to export.
10848 always_export_symbols
=yes
10849 if test "$aix_use_runtimelinking" = yes; then
10850 # Warning - without using the other runtime loading flags (-brtl),
10851 # -berok will link without error, but may produce a broken library.
10852 allow_undefined_flag
='-berok'
10853 # Determine the default libpath from the value encoded in an
10854 # empty executable.
10855 cat >conftest.
$ac_ext <<_ACEOF
10858 cat confdefs.h
>>conftest.
$ac_ext
10859 cat >>conftest.
$ac_ext <<_ACEOF
10860 /* end confdefs.h. */
10870 rm -f conftest.
$ac_objext conftest
$ac_exeext
10871 if { (ac_try
="$ac_link"
10872 case "(($ac_try" in
10873 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10874 *) ac_try_echo=$ac_try;;
10876 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10877 $as_echo "$ac_try_echo") >&5
10878 (eval "$ac_link") 2>conftest.er1
10880 grep -v '^ *+' conftest.er1 >conftest.err
10882 cat conftest.err >&5
10883 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10884 (exit $ac_status); } && {
10885 test -z "$ac_c_werror_flag" ||
10886 test ! -s conftest.err
10887 } && test -s conftest$ac_exeext && {
10888 test "$cross_compiling" = yes ||
10889 $as_test_x conftest$ac_exeext
10892 lt_aix_libpath_sed='
10893 /Import File Strings/,/^$/ {
10899 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
10900 # Check for a 64-bit object if we didn't find anything.
10901 if test -z "$aix_libpath"; then
10902 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
10905 $as_echo "$as_me: failed program was:" >&5
10906 sed 's/^/| /' conftest.$ac_ext >&5
10911 rm -rf conftest.dSYM
10912 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10913 conftest$ac_exeext conftest.$ac_ext
10914 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10916 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10917 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"
10919 if test "$host_cpu" = ia64; then
10920 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10921 allow_undefined_flag="-z nodefs"
10922 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"
10924 # Determine the default libpath from the value encoded in an
10925 # empty executable.
10926 cat >conftest.$ac_ext <<_ACEOF
10929 cat confdefs.h >>conftest.$ac_ext
10930 cat >>conftest.$ac_ext <<_ACEOF
10931 /* end confdefs.h. */
10941 rm -f conftest.$ac_objext conftest$ac_exeext
10942 if { (ac_try="$ac_link"
10943 case "(($ac_try" in
10944 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10945 *) ac_try_echo
=$ac_try;;
10947 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10948 $as_echo "$ac_try_echo") >&5
10949 (eval "$ac_link") 2>conftest.er1
10951 grep -v '^ *+' conftest.er1
>conftest.err
10953 cat conftest.err
>&5
10954 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10955 (exit $ac_status); } && {
10956 test -z "$ac_c_werror_flag" ||
10957 test ! -s conftest.err
10958 } && test -s conftest
$ac_exeext && {
10959 test "$cross_compiling" = yes ||
10960 $as_test_x conftest
$ac_exeext
10963 lt_aix_libpath_sed
='
10964 /Import File Strings/,/^$/ {
10970 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10971 # Check for a 64-bit object if we didn't find anything.
10972 if test -z "$aix_libpath"; then
10973 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10976 $as_echo "$as_me: failed program was:" >&5
10977 sed 's/^/| /' conftest.
$ac_ext >&5
10982 rm -rf conftest.dSYM
10983 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10984 conftest
$ac_exeext conftest.
$ac_ext
10985 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10987 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10988 # Warning - without using the other run time loading flags,
10989 # -berok will link without error, but may produce a broken library.
10990 no_undefined_flag
=' ${wl}-bernotok'
10991 allow_undefined_flag
=' ${wl}-berok'
10992 # Exported symbols can be pulled into shared objects from archives
10993 whole_archive_flag_spec
='$convenience'
10994 archive_cmds_need_lc
=yes
10995 # This is similar to how AIX traditionally builds its shared libraries.
10996 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'
11004 # see comment about AmigaOS4 .so support
11005 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11006 archive_expsym_cmds
=''
11009 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)'
11010 hardcode_libdir_flag_spec
='-L$libdir'
11011 hardcode_minus_L
=yes
11017 export_dynamic_flag_spec
=-rdynamic
11020 cygwin
* | mingw
* | pw32
* | cegcc
*)
11021 # When not using gcc, we currently assume that we are using
11022 # Microsoft Visual C++.
11023 # hardcode_libdir_flag_spec is actually meaningless, as there is
11024 # no search path for DLLs.
11025 hardcode_libdir_flag_spec
=' '
11026 allow_undefined_flag
=unsupported
11027 # Tell ltmain to make .lib files, not .a files.
11029 # Tell ltmain to make .dll files, not .so files.
11031 # FIXME: Setting linknames here is a bad hack.
11032 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
11033 # The linker will automatically build a .lib file if we build a DLL.
11034 old_archive_from_new_cmds
='true'
11035 # FIXME: Should let the user specify the lib program.
11036 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
11037 fix_srcfile_path
='`cygpath -w "$srcfile"`'
11038 enable_shared_with_static_runtimes
=yes
11041 darwin
* | rhapsody
*)
11044 archive_cmds_need_lc
=no
11046 hardcode_automatic
=yes
11047 hardcode_shlibpath_var
=unsupported
11048 whole_archive_flag_spec
=''
11049 link_all_deplibs
=yes
11050 allow_undefined_flag
="$_lt_dar_allow_undefined"
11051 case $cc_basename in
11052 ifort
*) _lt_dar_can_shared
=yes ;;
11053 *) _lt_dar_can_shared
=$GCC ;;
11055 if test "$_lt_dar_can_shared" = "yes"; then
11056 output_verbose_link_cmd
=echo
11057 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
11058 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11059 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}"
11060 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}"
11069 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11070 hardcode_libdir_flag_spec
='-L$libdir'
11071 hardcode_shlibpath_var
=no
11078 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11079 # support. Future versions do this automatically, but an explicit c++rt0.o
11080 # does not break anything, and helps significantly (at the cost of a little
11083 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11084 hardcode_libdir_flag_spec
='-R$libdir'
11085 hardcode_direct
=yes
11086 hardcode_shlibpath_var
=no
11089 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11091 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11092 hardcode_direct
=yes
11093 hardcode_minus_L
=yes
11094 hardcode_shlibpath_var
=no
11097 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11098 freebsd
* | dragonfly
*)
11099 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
11100 hardcode_libdir_flag_spec
='-R$libdir'
11101 hardcode_direct
=yes
11102 hardcode_shlibpath_var
=no
11106 if test "$GCC" = yes; then
11107 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'
11109 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'
11111 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11112 hardcode_libdir_separator
=:
11113 hardcode_direct
=yes
11115 # hardcode_minus_L: Not really in the search PATH,
11116 # but as the default location of the library.
11117 hardcode_minus_L
=yes
11118 export_dynamic_flag_spec
='${wl}-E'
11122 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
11123 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11125 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11127 if test "$with_gnu_ld" = no
; then
11128 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11129 hardcode_libdir_flag_spec_ld
='+b $libdir'
11130 hardcode_libdir_separator
=:
11131 hardcode_direct
=yes
11132 hardcode_direct_absolute
=yes
11133 export_dynamic_flag_spec
='${wl}-E'
11134 # hardcode_minus_L: Not really in the search PATH,
11135 # but as the default location of the library.
11136 hardcode_minus_L
=yes
11141 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
11144 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11147 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11150 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11156 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11159 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11162 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11166 if test "$with_gnu_ld" = no
; then
11167 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11168 hardcode_libdir_separator
=:
11173 hardcode_shlibpath_var
=no
11176 hardcode_direct
=yes
11177 hardcode_direct_absolute
=yes
11178 export_dynamic_flag_spec
='${wl}-E'
11180 # hardcode_minus_L: Not really in the search PATH,
11181 # but as the default location of the library.
11182 hardcode_minus_L
=yes
11188 irix5
* | irix6
* | nonstopux
*)
11189 if test "$GCC" = yes; then
11190 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'
11191 # Try to use the -exported_symbol ld option, if it does not
11192 # work, assume that -exports_file does not work either and
11193 # implicitly export all symbols.
11194 save_LDFLAGS
="$LDFLAGS"
11195 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11196 cat >conftest.
$ac_ext <<_ACEOF
11199 rm -f conftest.
$ac_objext conftest
$ac_exeext
11200 if { (ac_try
="$ac_link"
11201 case "(($ac_try" in
11202 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11203 *) ac_try_echo=$ac_try;;
11205 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11206 $as_echo "$ac_try_echo") >&5
11207 (eval "$ac_link") 2>conftest.er1
11209 grep -v '^ *+' conftest.er1 >conftest.err
11211 cat conftest.err >&5
11212 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11213 (exit $ac_status); } && {
11214 test -z "$ac_c_werror_flag" ||
11215 test ! -s conftest.err
11216 } && test -s conftest$ac_exeext && {
11217 test "$cross_compiling" = yes ||
11218 $as_test_x conftest$ac_exeext
11220 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'
11223 $as_echo "$as_me: failed program was:" >&5
11224 sed 's/^/| /' conftest.$ac_ext >&5
11229 rm -rf conftest.dSYM
11230 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11231 conftest$ac_exeext conftest.$ac_ext
11232 LDFLAGS="$save_LDFLAGS"
11234 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'
11235 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'
11237 archive_cmds_need_lc='no'
11238 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11239 hardcode_libdir_separator=:
11241 link_all_deplibs=yes
11245 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11246 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11248 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11250 hardcode_libdir_flag_spec='-R$libdir'
11251 hardcode_direct=yes
11252 hardcode_shlibpath_var=no
11256 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11257 hardcode_direct=yes
11258 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11259 hardcode_libdir_separator=:
11260 hardcode_shlibpath_var=no
11267 if test -f /usr/libexec/ld.so; then
11268 hardcode_direct=yes
11269 hardcode_shlibpath_var=no
11270 hardcode_direct_absolute=yes
11271 if test -z "`echo __ELF__ |
$CC -E - |
$GREP __ELF__
`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11272 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11273 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11274 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11275 export_dynamic_flag_spec='${wl}-E'
11278 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
11279 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11280 hardcode_libdir_flag_spec='-R$libdir'
11283 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11284 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11294 hardcode_libdir_flag_spec='-L$libdir'
11295 hardcode_minus_L=yes
11296 allow_undefined_flag=unsupported
11297 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'
11298 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11302 if test "$GCC" = yes; then
11303 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11304 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'
11306 allow_undefined_flag=' -expect_unresolved \*'
11307 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'
11309 archive_cmds_need_lc='no'
11310 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11311 hardcode_libdir_separator=:
11314 osf4* | osf5*) # as osf3* with the addition of -msym flag
11315 if test "$GCC" = yes; then
11316 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11317 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'
11318 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11320 allow_undefined_flag=' -expect_unresolved \*'
11321 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'
11322 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~
11323 $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'
11325 # Both c and cxx compiler support -rpath directly
11326 hardcode_libdir_flag_spec='-rpath $libdir'
11328 archive_cmds_need_lc='no'
11329 hardcode_libdir_separator=:
11333 no_undefined_flag=' -z defs'
11334 if test "$GCC" = yes; then
11336 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11337 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11338 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11340 case `$CC -V 2>&1` in
11343 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11344 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11345 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11349 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11350 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11351 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11355 hardcode_libdir_flag_spec='-R$libdir'
11356 hardcode_shlibpath_var=no
11358 solaris2.[0-5] | solaris2.[0-5].*) ;;
11360 # The compiler driver will combine and reorder linker options,
11361 # but understands `-z linker_flag
'. GCC discards it without `$wl',
11362 # but is careful enough not to reorder.
11363 # Supported since Solaris 2.6 (maybe 2.5.1?)
11364 if test "$GCC" = yes; then
11365 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11367 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
11371 link_all_deplibs
=yes
11375 if test "x$host_vendor" = xsequent
; then
11376 # Use $CC to link under sequent, because it throws in some extra .o
11377 # files that make .init and .fini sections work.
11378 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11380 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11382 hardcode_libdir_flag_spec
='-L$libdir'
11383 hardcode_direct
=yes
11384 hardcode_minus_L
=yes
11385 hardcode_shlibpath_var
=no
11389 case $host_vendor in
11391 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11392 hardcode_direct
=yes # is this really true???
11395 ## LD is ld it makes a PLAMLIB
11396 ## CC just makes a GrossModule.
11397 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11398 reload_cmds
='$CC -r -o $output$reload_objs'
11402 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11403 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
11406 runpath_var
='LD_RUN_PATH'
11407 hardcode_shlibpath_var
=no
11411 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11412 hardcode_shlibpath_var
=no
11413 export_dynamic_flag_spec
='-Bexport'
11417 if test -d /usr
/nec
; then
11418 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11419 hardcode_shlibpath_var
=no
11420 runpath_var
=LD_RUN_PATH
11421 hardcode_runpath_var
=yes
11426 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11427 no_undefined_flag
='${wl}-z,text'
11428 archive_cmds_need_lc
=no
11429 hardcode_shlibpath_var
=no
11430 runpath_var
='LD_RUN_PATH'
11432 if test "$GCC" = yes; then
11433 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11434 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11436 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11437 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11441 sysv5
* | sco3.2v5
* | sco5v6
*)
11442 # Note: We can NOT use -z defs as we might desire, because we do not
11443 # link with -lc, and that would cause any symbols used from libc to
11444 # always be unresolved, which means just about no library would
11445 # ever link correctly. If we're not using GNU ld we use -z text
11446 # though, which does catch some bad symbols but isn't as heavy-handed
11448 no_undefined_flag
='${wl}-z,text'
11449 allow_undefined_flag
='${wl}-z,nodefs'
11450 archive_cmds_need_lc
=no
11451 hardcode_shlibpath_var
=no
11452 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
11453 hardcode_libdir_separator
=':'
11454 link_all_deplibs
=yes
11455 export_dynamic_flag_spec
='${wl}-Bexport'
11456 runpath_var
='LD_RUN_PATH'
11458 if test "$GCC" = yes; then
11459 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11460 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11462 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11463 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11468 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11469 hardcode_libdir_flag_spec
='-L$libdir'
11470 hardcode_shlibpath_var
=no
11478 if test x
$host_vendor = xsni
; then
11480 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11481 export_dynamic_flag_spec
='${wl}-Blargedynsym'
11487 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
11488 $as_echo "$ld_shlibs" >&6; }
11489 test "$ld_shlibs" = no
&& can_build_shared
=no
11491 with_gnu_ld
=$with_gnu_ld
11508 # Do we need to explicitly link libc?
11510 case "x$archive_cmds_need_lc" in
11512 # Assume -lc should be added
11513 archive_cmds_need_lc
=yes
11515 if test "$enable_shared" = yes && test "$GCC" = yes; then
11516 case $archive_cmds in
11518 # FIXME: we may have to deal with multi-command sequences.
11521 # Test whether the compiler implicitly links with -lc since on some
11522 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11523 # to ld, don't add -lc before -lgcc.
11524 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11525 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11527 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11530 (eval $ac_compile) 2>&5
11532 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11533 (exit $ac_status); } 2>conftest.err
; then
11536 libobjs
=conftest.
$ac_objext
11538 wl
=$lt_prog_compiler_wl
11539 pic_flag
=$lt_prog_compiler_pic
11545 lt_save_allow_undefined_flag
=$allow_undefined_flag
11546 allow_undefined_flag
=
11547 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
11548 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11550 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11551 (exit $ac_status); }
11553 archive_cmds_need_lc
=no
11555 archive_cmds_need_lc
=yes
11557 allow_undefined_flag
=$lt_save_allow_undefined_flag
11559 cat conftest.err
1>&5
11562 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
11563 $as_echo "$archive_cmds_need_lc" >&6; }
11726 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11727 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11729 if test "$GCC" = yes; then
11731 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11732 *) lt_awk_arg
="/^libraries:/" ;;
11734 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11735 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
11736 # if the path contains ";" then we assume it to be the separator
11737 # otherwise default to the standard path separator (i.e. ":") - it is
11738 # assumed that no part of a normal pathname contains ";" but that should
11739 # okay in the real world where ";" in dirpaths is itself problematic.
11740 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
11742 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11744 # Ok, now we have the path, separated by spaces, we can step through it
11745 # and add multilib dir if necessary.
11746 lt_tmp_lt_search_path_spec
=
11747 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11748 for lt_sys_path
in $lt_search_path_spec; do
11749 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11750 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11752 test -d "$lt_sys_path" && \
11753 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11756 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
11757 BEGIN {RS=" "; FS="/|\n";} {
11760 for (lt_i = NF; lt_i > 0; lt_i--) {
11761 if ($lt_i != "" && $lt_i != ".") {
11762 if ($lt_i == "..") {
11765 if (lt_count == 0) {
11766 lt_foo="/" $lt_i lt_foo;
11773 if (lt_foo != "") { lt_freq[lt_foo]++; }
11774 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11776 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
11778 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11780 library_names_spec
=
11781 libname_spec
='lib$name'
11785 postuninstall_cmds
=
11789 shlibpath_overrides_runpath
=unknown
11791 dynamic_linker
="$host_os ld.so"
11792 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11793 need_lib_prefix
=unknown
11794 hardcode_into_libs
=no
11796 # when you set need_version to no, make sure it does not cause -set_version
11797 # flags to be left without arguments
11798 need_version
=unknown
11803 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11804 shlibpath_var
=LIBPATH
11806 # AIX 3 has no versioning support, so we append a major version to the name.
11807 soname_spec
='${libname}${release}${shared_ext}$major'
11814 hardcode_into_libs
=yes
11815 if test "$host_cpu" = ia64
; then
11816 # AIX 5 supports IA64
11817 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11818 shlibpath_var
=LD_LIBRARY_PATH
11820 # With GCC up to 2.95.x, collect2 would create an import file
11821 # for dependence libraries. The import file would start with
11822 # the line `#! .'. This would cause the generated library to
11823 # depend on `.', always an invalid library. This was fixed in
11824 # development snapshots of GCC prior to 3.0.
11826 aix4 | aix4.
[01] | aix4.
[01].
*)
11827 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11829 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11832 can_build_shared
=no
11836 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11837 # soname into executable. Probably we can add versioning support to
11838 # collect2, so additional links can be useful in future.
11839 if test "$aix_use_runtimelinking" = yes; then
11840 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11841 # instead of lib<name>.a to let people know that these are not
11842 # typical AIX shared libraries.
11843 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11845 # We preserve .a as extension for shared libraries through AIX4.2
11846 # and later when we are not doing run time linking.
11847 library_names_spec
='${libname}${release}.a $libname.a'
11848 soname_spec
='${libname}${release}${shared_ext}$major'
11850 shlibpath_var
=LIBPATH
11857 # Since July 2007 AmigaOS4 officially supports .so libraries.
11858 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11859 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11862 library_names_spec
='$libname.ixlibrary $libname.a'
11863 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11864 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'
11870 library_names_spec
='${libname}${shared_ext}'
11871 dynamic_linker
="$host_os ld.so"
11872 shlibpath_var
=LIBRARY_PATH
11878 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11879 soname_spec
='${libname}${release}${shared_ext}$major'
11880 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11881 shlibpath_var
=LD_LIBRARY_PATH
11882 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11883 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11884 # the default ld.so.conf also contains /usr/contrib/lib and
11885 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11886 # libtool to hard-code these into programs
11889 cygwin
* | mingw
* | pw32
* | cegcc
*)
11890 version_type
=windows
11895 case $GCC,$host_os in
11896 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
11897 library_names_spec
='$libname.dll.a'
11898 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11899 postinstall_cmds
='base_file=`basename \${file}`~
11900 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11901 dldir=$destdir/`dirname \$dlpath`~
11902 test -d \$dldir || mkdir -p \$dldir~
11903 $install_prog $dir/$dlname \$dldir/$dlname~
11904 chmod a+x \$dldir/$dlname~
11905 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11906 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11908 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11909 dlpath=$dir/\$dldll~
11911 shlibpath_overrides_runpath
=yes
11915 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11916 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11917 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
11920 # MinGW DLLs use traditional 'lib' prefix
11921 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11922 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11923 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
11924 # It is most probably a Windows format PATH printed by
11925 # mingw gcc, but we are running on Cygwin. Gcc prints its search
11926 # path with ; separators, and with drive letters. We can handle the
11927 # drive letters (cygwin fileutils understands them), so leave them,
11928 # especially as we might pass files found there to a mingw objdump,
11929 # which wouldn't understand a cygwinified path. Ahh.
11930 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11932 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11936 # pw32 DLLs use 'pw' prefix rather than 'lib'
11937 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11943 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11946 dynamic_linker
='Win32 ld.exe'
11947 # FIXME: first we should search . and the directory the executable is in
11951 darwin
* | rhapsody
*)
11952 dynamic_linker
="$host_os dyld"
11953 version_type
=darwin
11956 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11957 soname_spec
='${libname}${release}${major}$shared_ext'
11958 shlibpath_overrides_runpath
=yes
11959 shlibpath_var
=DYLD_LIBRARY_PATH
11960 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11962 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11963 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11970 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11971 soname_spec
='${libname}${release}${shared_ext}$major'
11972 shlibpath_var
=LD_LIBRARY_PATH
11979 freebsd
* | dragonfly
*)
11980 # DragonFly does not have aout. When/if they implement a new
11981 # versioning mechanism, adjust this.
11982 if test -x /usr
/bin
/objformat
; then
11983 objformat
=`/usr/bin/objformat`
11986 freebsd
[123]*) objformat
=aout
;;
11987 *) objformat
=elf
;;
11990 version_type
=freebsd-
$objformat
11991 case $version_type in
11993 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11998 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12002 shlibpath_var
=LD_LIBRARY_PATH
12005 shlibpath_overrides_runpath
=yes
12007 freebsd3.
[01]* | freebsdelf3.
[01]*)
12008 shlibpath_overrides_runpath
=yes
12009 hardcode_into_libs
=yes
12011 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12012 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12013 shlibpath_overrides_runpath
=no
12014 hardcode_into_libs
=yes
12016 *) # from 4.6 on, and DragonFly
12017 shlibpath_overrides_runpath
=yes
12018 hardcode_into_libs
=yes
12027 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12028 soname_spec
='${libname}${release}${shared_ext}$major'
12029 shlibpath_var
=LD_LIBRARY_PATH
12030 hardcode_into_libs
=yes
12033 hpux9
* | hpux10
* | hpux11
*)
12034 # Give a soname corresponding to the major version so that dld.sl refuses to
12035 # link against other versions.
12042 hardcode_into_libs
=yes
12043 dynamic_linker
="$host_os dld.so"
12044 shlibpath_var
=LD_LIBRARY_PATH
12045 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12046 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12047 soname_spec
='${libname}${release}${shared_ext}$major'
12048 if test "X$HPUX_IA64_MODE" = X32
; then
12049 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12051 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12053 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12057 hardcode_into_libs
=yes
12058 dynamic_linker
="$host_os dld.sl"
12059 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12060 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12061 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12062 soname_spec
='${libname}${release}${shared_ext}$major'
12063 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12064 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12068 dynamic_linker
="$host_os dld.sl"
12069 shlibpath_var
=SHLIB_PATH
12070 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12071 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12072 soname_spec
='${libname}${release}${shared_ext}$major'
12075 # HP-UX runs *really* slowly unless shared libraries are mode 555.
12076 postinstall_cmds
='chmod 555 $lib'
12083 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12084 soname_spec
='${libname}${release}${shared_ext}$major'
12085 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12086 shlibpath_var
=LD_LIBRARY_PATH
12087 shlibpath_overrides_runpath
=no
12088 hardcode_into_libs
=yes
12091 irix5
* | irix6
* | nonstopux
*)
12093 nonstopux
*) version_type
=nonstopux
;;
12095 if test "$lt_cv_prog_gnu_ld" = yes; then
12103 soname_spec
='${libname}${release}${shared_ext}$major'
12104 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12106 irix5
* | nonstopux
*)
12107 libsuff
= shlibsuff
=
12110 case $LD in # libtool.m4 will add one of these switches to LD
12111 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12112 libsuff
= shlibsuff
= libmagic
=32-bit;;
12113 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12114 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12115 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12116 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12117 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12121 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12122 shlibpath_overrides_runpath
=no
12123 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12124 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
12125 hardcode_into_libs
=yes
12128 # No shared lib support for Linux oldld, aout, or coff.
12129 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12133 # This must be Linux ELF.
12134 linux
* | k
*bsd
*-gnu)
12138 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12139 soname_spec
='${libname}${release}${shared_ext}$major'
12140 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12141 shlibpath_var
=LD_LIBRARY_PATH
12142 shlibpath_overrides_runpath
=no
12143 # Some binutils ld are patched to set DT_RUNPATH
12144 save_LDFLAGS
=$LDFLAGS
12145 save_libdir
=$libdir
12146 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12147 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12148 cat >conftest.
$ac_ext <<_ACEOF
12151 cat confdefs.h
>>conftest.
$ac_ext
12152 cat >>conftest.
$ac_ext <<_ACEOF
12153 /* end confdefs.h. */
12163 rm -f conftest.
$ac_objext conftest
$ac_exeext
12164 if { (ac_try
="$ac_link"
12165 case "(($ac_try" in
12166 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12167 *) ac_try_echo=$ac_try;;
12169 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12170 $as_echo "$ac_try_echo") >&5
12171 (eval "$ac_link") 2>conftest.er1
12173 grep -v '^ *+' conftest.er1 >conftest.err
12175 cat conftest.err >&5
12176 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12177 (exit $ac_status); } && {
12178 test -z "$ac_c_werror_flag" ||
12179 test ! -s conftest.err
12180 } && test -s conftest$ac_exeext && {
12181 test "$cross_compiling" = yes ||
12182 $as_test_x conftest$ac_exeext
12184 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
12185 shlibpath_overrides_runpath=yes
12189 $as_echo "$as_me: failed program was:" >&5
12190 sed 's/^/| /' conftest.$ac_ext >&5
12195 rm -rf conftest.dSYM
12196 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12197 conftest$ac_exeext conftest.$ac_ext
12198 LDFLAGS=$save_LDFLAGS
12199 libdir=$save_libdir
12201 # This implies no fast_install, which is unacceptable.
12202 # Some rework will be needed to allow for fast_install
12203 # before this can be enabled.
12204 hardcode_into_libs=yes
12206 # Add ABI-specific directories to the system library path.
12207 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
12209 # Append ld.so.conf contents to the search path
12210 if test -f /etc/ld.so.conf; then
12211 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' ' '`
12212 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
12215 # We used to test for /lib/ld.so.1 and disable shared libraries on
12216 # powerpc, because MkLinux only supported shared libraries with the
12217 # GNU dynamic linker. Since this was broken with cross compilers,
12218 # most powerpc-linux boxes support dynamic linking these days and
12219 # people can always --disable-shared, the test was removed, and we
12220 # assume the GNU/Linux dynamic linker is in use.
12221 dynamic_linker='GNU/Linux ld.so'
12228 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12229 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12230 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12231 dynamic_linker='NetBSD (a.out) ld.so'
12233 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12234 soname_spec='${libname}${release}${shared_ext}$major'
12235 dynamic_linker='NetBSD ld.elf_so'
12237 shlibpath_var=LD_LIBRARY_PATH
12238 shlibpath_overrides_runpath=yes
12239 hardcode_into_libs=yes
12244 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12245 shlibpath_var=LD_LIBRARY_PATH
12246 shlibpath_overrides_runpath=yes
12253 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12254 soname_spec='${libname}${release}${shared_ext}$major'
12255 shlibpath_var=LD_LIBRARY_PATH
12256 shlibpath_overrides_runpath=no
12257 hardcode_into_libs=yes
12258 dynamic_linker='ldqnx.so'
12263 sys_lib_dlsearch_path_spec="/usr/lib"
12265 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12267 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
12268 *) need_version=no ;;
12270 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12271 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12272 shlibpath_var=LD_LIBRARY_PATH
12273 if test -z "`echo __ELF__ |
$CC -E - |
$GREP __ELF__
`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12275 openbsd2.[89] | openbsd2.[89].*)
12276 shlibpath_overrides_runpath=no
12279 shlibpath_overrides_runpath=yes
12283 shlibpath_overrides_runpath=yes
12288 libname_spec='$name'
12291 library_names_spec='$libname${shared_ext} $libname.a'
12292 dynamic_linker='OS/2 ld.exe'
12293 shlibpath_var=LIBPATH
12296 osf3* | osf4* | osf5*)
12300 soname_spec='${libname}${release}${shared_ext}$major'
12301 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12302 shlibpath_var=LD_LIBRARY_PATH
12303 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12304 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
12315 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12316 soname_spec='${libname}${release}${shared_ext}$major'
12317 shlibpath_var=LD_LIBRARY_PATH
12318 shlibpath_overrides_runpath=yes
12319 hardcode_into_libs=yes
12320 # ldd complains unless libraries are executable
12321 postinstall_cmds='chmod +x $lib'
12326 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12327 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12328 shlibpath_var=LD_LIBRARY_PATH
12329 shlibpath_overrides_runpath=yes
12330 if test "$with_gnu_ld" = yes; then
12338 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12339 soname_spec='${libname}${release}${shared_ext}$major'
12340 shlibpath_var=LD_LIBRARY_PATH
12341 case $host_vendor in
12343 shlibpath_overrides_runpath=no
12345 runpath_var=LD_RUN_PATH
12353 shlibpath_overrides_runpath=no
12354 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12360 if test -d /usr/nec ;then
12362 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12363 soname_spec='$libname${shared_ext}.$major'
12364 shlibpath_var=LD_LIBRARY_PATH
12368 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12369 version_type=freebsd-elf
12372 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12373 soname_spec='${libname}${release}${shared_ext}$major'
12374 shlibpath_var=LD_LIBRARY_PATH
12375 shlibpath_overrides_runpath=yes
12376 hardcode_into_libs=yes
12377 if test "$with_gnu_ld" = yes; then
12378 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12380 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12383 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12387 sys_lib_dlsearch_path_spec='/usr/lib'
12391 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12395 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12396 shlibpath_var=LD_LIBRARY_PATH
12397 shlibpath_overrides_runpath=no
12398 hardcode_into_libs=yes
12403 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12404 soname_spec='${libname}${release}${shared_ext}$major'
12405 shlibpath_var=LD_LIBRARY_PATH
12412 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12413 $as_echo "$dynamic_linker" >&6; }
12414 test "$dynamic_linker" = no && can_build_shared=no
12416 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12417 if test "$GCC" = yes; then
12418 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12421 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12422 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
12424 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12425 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
12514 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12515 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12517 if test -n "$hardcode_libdir_flag_spec" ||
12518 test -n "$runpath_var" ||
12519 test "X$hardcode_automatic" = "Xyes" ; then
12521 # We can hardcode non-existent directories.
12522 if test "$hardcode_direct" != no &&
12523 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12524 # have to relink, otherwise we might link with an installed library
12525 # when we should be linking with a yet-to-be-installed one
12526 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12527 test "$hardcode_minus_L" != no; then
12528 # Linking always hardcodes the temporary library directory.
12529 hardcode_action=relink
12531 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12532 hardcode_action=immediate
12535 # We cannot hardcode anything, or else we can only hardcode existing
12537 hardcode_action=unsupported
12539 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
12540 $as_echo "$hardcode_action" >&6; }
12542 if test "$hardcode_action" = relink ||
12543 test "$inherit_rpath" = yes; then
12544 # Fast installation is not supported
12545 enable_fast_install=no
12546 elif test "$shlibpath_overrides_runpath" = yes ||
12547 test "$enable_shared" = no; then
12548 # Fast installation is not necessary
12549 enable_fast_install=needless
12557 if test "x$enable_dlopen" != xyes; then
12558 enable_dlopen=unknown
12559 enable_dlopen_self=unknown
12560 enable_dlopen_self_static=unknown
12567 lt_cv_dlopen="load_add_on"
12569 lt_cv_dlopen_self=yes
12572 mingw* | pw32* | cegcc*)
12573 lt_cv_dlopen="LoadLibrary"
12578 lt_cv_dlopen="dlopen"
12583 # if libdl is installed we need to link against it
12584 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12585 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12586 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12587 $as_echo_n "(cached) " >&6
12589 ac_check_lib_save_LIBS=$LIBS
12591 cat >conftest.$ac_ext <<_ACEOF
12594 cat confdefs.h >>conftest.$ac_ext
12595 cat >>conftest.$ac_ext <<_ACEOF
12596 /* end confdefs.h. */
12598 /* Override any GCC internal prototype to avoid an error.
12599 Use char because int might match the return type of a GCC
12600 builtin and then its argument prototype would still apply. */
12613 rm -f conftest.$ac_objext conftest$ac_exeext
12614 if { (ac_try="$ac_link"
12615 case "(($ac_try" in
12616 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12617 *) ac_try_echo
=$ac_try;;
12619 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12620 $as_echo "$ac_try_echo") >&5
12621 (eval "$ac_link") 2>conftest.er1
12623 grep -v '^ *+' conftest.er1
>conftest.err
12625 cat conftest.err
>&5
12626 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12627 (exit $ac_status); } && {
12628 test -z "$ac_c_werror_flag" ||
12629 test ! -s conftest.err
12630 } && test -s conftest
$ac_exeext && {
12631 test "$cross_compiling" = yes ||
12632 $as_test_x conftest
$ac_exeext
12634 ac_cv_lib_dl_dlopen
=yes
12636 $as_echo "$as_me: failed program was:" >&5
12637 sed 's/^/| /' conftest.
$ac_ext >&5
12639 ac_cv_lib_dl_dlopen
=no
12642 rm -rf conftest.dSYM
12643 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12644 conftest
$ac_exeext conftest.
$ac_ext
12645 LIBS
=$ac_check_lib_save_LIBS
12647 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12648 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12649 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then
12650 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12653 lt_cv_dlopen
="dyld"
12655 lt_cv_dlopen_self
=yes
12662 { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
12663 $as_echo_n "checking for shl_load... " >&6; }
12664 if test "${ac_cv_func_shl_load+set}" = set; then
12665 $as_echo_n "(cached) " >&6
12667 cat >conftest.
$ac_ext <<_ACEOF
12670 cat confdefs.h
>>conftest.
$ac_ext
12671 cat >>conftest.
$ac_ext <<_ACEOF
12672 /* end confdefs.h. */
12673 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
12674 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12675 #define shl_load innocuous_shl_load
12677 /* System header to define __stub macros and hopefully few prototypes,
12678 which can conflict with char shl_load (); below.
12679 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12680 <limits.h> exists even on freestanding compilers. */
12683 # include <limits.h>
12685 # include <assert.h>
12690 /* Override any GCC internal prototype to avoid an error.
12691 Use char because int might match the return type of a GCC
12692 builtin and then its argument prototype would still apply. */
12697 /* The GNU C library defines this for functions which it implements
12698 to always fail with ENOSYS. Some functions are actually named
12699 something starting with __ and the normal name is an alias. */
12700 #if defined __stub_shl_load || defined __stub___shl_load
12707 return shl_load ();
12712 rm -f conftest.
$ac_objext conftest
$ac_exeext
12713 if { (ac_try
="$ac_link"
12714 case "(($ac_try" in
12715 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12716 *) ac_try_echo=$ac_try;;
12718 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12719 $as_echo "$ac_try_echo") >&5
12720 (eval "$ac_link") 2>conftest.er1
12722 grep -v '^ *+' conftest.er1 >conftest.err
12724 cat conftest.err >&5
12725 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12726 (exit $ac_status); } && {
12727 test -z "$ac_c_werror_flag" ||
12728 test ! -s conftest.err
12729 } && test -s conftest$ac_exeext && {
12730 test "$cross_compiling" = yes ||
12731 $as_test_x conftest$ac_exeext
12733 ac_cv_func_shl_load=yes
12735 $as_echo "$as_me: failed program was:" >&5
12736 sed 's/^/| /' conftest.$ac_ext >&5
12738 ac_cv_func_shl_load=no
12741 rm -rf conftest.dSYM
12742 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12743 conftest$ac_exeext conftest.$ac_ext
12745 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
12746 $as_echo "$ac_cv_func_shl_load" >&6; }
12747 if test "x$ac_cv_func_shl_load" = x""yes; then
12748 lt_cv_dlopen="shl_load"
12750 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
12751 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12752 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
12753 $as_echo_n "(cached) " >&6
12755 ac_check_lib_save_LIBS=$LIBS
12757 cat >conftest.$ac_ext <<_ACEOF
12760 cat confdefs.h >>conftest.$ac_ext
12761 cat >>conftest.$ac_ext <<_ACEOF
12762 /* end confdefs.h. */
12764 /* Override any GCC internal prototype to avoid an error.
12765 Use char because int might match the return type of a GCC
12766 builtin and then its argument prototype would still apply. */
12774 return shl_load ();
12779 rm -f conftest.$ac_objext conftest$ac_exeext
12780 if { (ac_try="$ac_link"
12781 case "(($ac_try" in
12782 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12783 *) ac_try_echo
=$ac_try;;
12785 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12786 $as_echo "$ac_try_echo") >&5
12787 (eval "$ac_link") 2>conftest.er1
12789 grep -v '^ *+' conftest.er1
>conftest.err
12791 cat conftest.err
>&5
12792 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12793 (exit $ac_status); } && {
12794 test -z "$ac_c_werror_flag" ||
12795 test ! -s conftest.err
12796 } && test -s conftest
$ac_exeext && {
12797 test "$cross_compiling" = yes ||
12798 $as_test_x conftest
$ac_exeext
12800 ac_cv_lib_dld_shl_load
=yes
12802 $as_echo "$as_me: failed program was:" >&5
12803 sed 's/^/| /' conftest.
$ac_ext >&5
12805 ac_cv_lib_dld_shl_load
=no
12808 rm -rf conftest.dSYM
12809 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12810 conftest
$ac_exeext conftest.
$ac_ext
12811 LIBS
=$ac_check_lib_save_LIBS
12813 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
12814 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12815 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then
12816 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12818 { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
12819 $as_echo_n "checking for dlopen... " >&6; }
12820 if test "${ac_cv_func_dlopen+set}" = set; then
12821 $as_echo_n "(cached) " >&6
12823 cat >conftest.
$ac_ext <<_ACEOF
12826 cat confdefs.h
>>conftest.
$ac_ext
12827 cat >>conftest.
$ac_ext <<_ACEOF
12828 /* end confdefs.h. */
12829 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
12830 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12831 #define dlopen innocuous_dlopen
12833 /* System header to define __stub macros and hopefully few prototypes,
12834 which can conflict with char dlopen (); below.
12835 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12836 <limits.h> exists even on freestanding compilers. */
12839 # include <limits.h>
12841 # include <assert.h>
12846 /* Override any GCC internal prototype to avoid an error.
12847 Use char because int might match the return type of a GCC
12848 builtin and then its argument prototype would still apply. */
12853 /* The GNU C library defines this for functions which it implements
12854 to always fail with ENOSYS. Some functions are actually named
12855 something starting with __ and the normal name is an alias. */
12856 #if defined __stub_dlopen || defined __stub___dlopen
12868 rm -f conftest.
$ac_objext conftest
$ac_exeext
12869 if { (ac_try
="$ac_link"
12870 case "(($ac_try" in
12871 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12872 *) ac_try_echo=$ac_try;;
12874 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12875 $as_echo "$ac_try_echo") >&5
12876 (eval "$ac_link") 2>conftest.er1
12878 grep -v '^ *+' conftest.er1 >conftest.err
12880 cat conftest.err >&5
12881 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12882 (exit $ac_status); } && {
12883 test -z "$ac_c_werror_flag" ||
12884 test ! -s conftest.err
12885 } && test -s conftest$ac_exeext && {
12886 test "$cross_compiling" = yes ||
12887 $as_test_x conftest$ac_exeext
12889 ac_cv_func_dlopen=yes
12891 $as_echo "$as_me: failed program was:" >&5
12892 sed 's/^/| /' conftest.$ac_ext >&5
12894 ac_cv_func_dlopen=no
12897 rm -rf conftest.dSYM
12898 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12899 conftest$ac_exeext conftest.$ac_ext
12901 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
12902 $as_echo "$ac_cv_func_dlopen" >&6; }
12903 if test "x$ac_cv_func_dlopen" = x""yes; then
12904 lt_cv_dlopen="dlopen"
12906 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12907 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12908 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12909 $as_echo_n "(cached) " >&6
12911 ac_check_lib_save_LIBS=$LIBS
12913 cat >conftest.$ac_ext <<_ACEOF
12916 cat confdefs.h >>conftest.$ac_ext
12917 cat >>conftest.$ac_ext <<_ACEOF
12918 /* end confdefs.h. */
12920 /* Override any GCC internal prototype to avoid an error.
12921 Use char because int might match the return type of a GCC
12922 builtin and then its argument prototype would still apply. */
12935 rm -f conftest.$ac_objext conftest$ac_exeext
12936 if { (ac_try="$ac_link"
12937 case "(($ac_try" in
12938 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12939 *) ac_try_echo
=$ac_try;;
12941 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12942 $as_echo "$ac_try_echo") >&5
12943 (eval "$ac_link") 2>conftest.er1
12945 grep -v '^ *+' conftest.er1
>conftest.err
12947 cat conftest.err
>&5
12948 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12949 (exit $ac_status); } && {
12950 test -z "$ac_c_werror_flag" ||
12951 test ! -s conftest.err
12952 } && test -s conftest
$ac_exeext && {
12953 test "$cross_compiling" = yes ||
12954 $as_test_x conftest
$ac_exeext
12956 ac_cv_lib_dl_dlopen
=yes
12958 $as_echo "$as_me: failed program was:" >&5
12959 sed 's/^/| /' conftest.
$ac_ext >&5
12961 ac_cv_lib_dl_dlopen
=no
12964 rm -rf conftest.dSYM
12965 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12966 conftest
$ac_exeext conftest.
$ac_ext
12967 LIBS
=$ac_check_lib_save_LIBS
12969 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12970 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12971 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then
12972 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12974 { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
12975 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12976 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
12977 $as_echo_n "(cached) " >&6
12979 ac_check_lib_save_LIBS
=$LIBS
12980 LIBS
="-lsvld $LIBS"
12981 cat >conftest.
$ac_ext <<_ACEOF
12984 cat confdefs.h
>>conftest.
$ac_ext
12985 cat >>conftest.
$ac_ext <<_ACEOF
12986 /* end confdefs.h. */
12988 /* Override any GCC internal prototype to avoid an error.
12989 Use char because int might match the return type of a GCC
12990 builtin and then its argument prototype would still apply. */
13003 rm -f conftest.
$ac_objext conftest
$ac_exeext
13004 if { (ac_try
="$ac_link"
13005 case "(($ac_try" in
13006 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13007 *) ac_try_echo=$ac_try;;
13009 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13010 $as_echo "$ac_try_echo") >&5
13011 (eval "$ac_link") 2>conftest.er1
13013 grep -v '^ *+' conftest.er1 >conftest.err
13015 cat conftest.err >&5
13016 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13017 (exit $ac_status); } && {
13018 test -z "$ac_c_werror_flag" ||
13019 test ! -s conftest.err
13020 } && test -s conftest$ac_exeext && {
13021 test "$cross_compiling" = yes ||
13022 $as_test_x conftest$ac_exeext
13024 ac_cv_lib_svld_dlopen=yes
13026 $as_echo "$as_me: failed program was:" >&5
13027 sed 's/^/| /' conftest.$ac_ext >&5
13029 ac_cv_lib_svld_dlopen=no
13032 rm -rf conftest.dSYM
13033 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13034 conftest$ac_exeext conftest.$ac_ext
13035 LIBS=$ac_check_lib_save_LIBS
13037 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
13038 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13039 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
13040 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
13042 { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
13043 $as_echo_n "checking for dld_link in -ldld... " >&6; }
13044 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
13045 $as_echo_n "(cached) " >&6
13047 ac_check_lib_save_LIBS=$LIBS
13049 cat >conftest.$ac_ext <<_ACEOF
13052 cat confdefs.h >>conftest.$ac_ext
13053 cat >>conftest.$ac_ext <<_ACEOF
13054 /* end confdefs.h. */
13056 /* Override any GCC internal prototype to avoid an error.
13057 Use char because int might match the return type of a GCC
13058 builtin and then its argument prototype would still apply. */
13066 return dld_link ();
13071 rm -f conftest.$ac_objext conftest$ac_exeext
13072 if { (ac_try="$ac_link"
13073 case "(($ac_try" in
13074 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13075 *) ac_try_echo
=$ac_try;;
13077 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
13078 $as_echo "$ac_try_echo") >&5
13079 (eval "$ac_link") 2>conftest.er1
13081 grep -v '^ *+' conftest.er1
>conftest.err
13083 cat conftest.err
>&5
13084 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13085 (exit $ac_status); } && {
13086 test -z "$ac_c_werror_flag" ||
13087 test ! -s conftest.err
13088 } && test -s conftest
$ac_exeext && {
13089 test "$cross_compiling" = yes ||
13090 $as_test_x conftest
$ac_exeext
13092 ac_cv_lib_dld_dld_link
=yes
13094 $as_echo "$as_me: failed program was:" >&5
13095 sed 's/^/| /' conftest.
$ac_ext >&5
13097 ac_cv_lib_dld_dld_link
=no
13100 rm -rf conftest.dSYM
13101 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13102 conftest
$ac_exeext conftest.
$ac_ext
13103 LIBS
=$ac_check_lib_save_LIBS
13105 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
13106 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13107 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then
13108 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
13129 if test "x$lt_cv_dlopen" != xno
; then
13135 case $lt_cv_dlopen in
13137 save_CPPFLAGS
="$CPPFLAGS"
13138 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
13140 save_LDFLAGS
="$LDFLAGS"
13141 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
13144 LIBS
="$lt_cv_dlopen_libs $LIBS"
13146 { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
13147 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
13148 if test "${lt_cv_dlopen_self+set}" = set; then
13149 $as_echo_n "(cached) " >&6
13151 if test "$cross_compiling" = yes; then :
13152 lt_cv_dlopen_self
=cross
13154 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
13155 lt_status
=$lt_dlunknown
13156 cat > conftest.
$ac_ext <<_LT_EOF
13157 #line 13157 "configure"
13158 #include "confdefs.h"
13167 # define LT_DLGLOBAL RTLD_GLOBAL
13170 # define LT_DLGLOBAL DL_GLOBAL
13172 # define LT_DLGLOBAL 0
13176 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13177 find out it does not work in some platform. */
13178 #ifndef LT_DLLAZY_OR_NOW
13180 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13183 # define LT_DLLAZY_OR_NOW DL_LAZY
13186 # define LT_DLLAZY_OR_NOW RTLD_NOW
13189 # define LT_DLLAZY_OR_NOW DL_NOW
13191 # define LT_DLLAZY_OR_NOW 0
13198 void fnord() { int i=42;}
13201 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13202 int status = $lt_dlunknown;
13206 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13207 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13208 /* dlclose (self); */
13216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13217 (eval $ac_link) 2>&5
13219 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13220 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
13221 (.
/conftest
; exit; ) >&5 2>/dev
/null
13223 case x
$lt_status in
13224 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
13225 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
13226 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
13229 # compilation failed
13230 lt_cv_dlopen_self
=no
13237 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
13238 $as_echo "$lt_cv_dlopen_self" >&6; }
13240 if test "x$lt_cv_dlopen_self" = xyes
; then
13241 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
13242 { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
13243 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13244 if test "${lt_cv_dlopen_self_static+set}" = set; then
13245 $as_echo_n "(cached) " >&6
13247 if test "$cross_compiling" = yes; then :
13248 lt_cv_dlopen_self_static
=cross
13250 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
13251 lt_status
=$lt_dlunknown
13252 cat > conftest.
$ac_ext <<_LT_EOF
13253 #line 13253 "configure"
13254 #include "confdefs.h"
13263 # define LT_DLGLOBAL RTLD_GLOBAL
13266 # define LT_DLGLOBAL DL_GLOBAL
13268 # define LT_DLGLOBAL 0
13272 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13273 find out it does not work in some platform. */
13274 #ifndef LT_DLLAZY_OR_NOW
13276 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13279 # define LT_DLLAZY_OR_NOW DL_LAZY
13282 # define LT_DLLAZY_OR_NOW RTLD_NOW
13285 # define LT_DLLAZY_OR_NOW DL_NOW
13287 # define LT_DLLAZY_OR_NOW 0
13294 void fnord() { int i=42;}
13297 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13298 int status = $lt_dlunknown;
13302 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13303 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13304 /* dlclose (self); */
13312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13313 (eval $ac_link) 2>&5
13315 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13316 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
13317 (.
/conftest
; exit; ) >&5 2>/dev
/null
13319 case x
$lt_status in
13320 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
13321 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
13322 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
13325 # compilation failed
13326 lt_cv_dlopen_self_static
=no
13333 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
13334 $as_echo "$lt_cv_dlopen_self_static" >&6; }
13337 CPPFLAGS
="$save_CPPFLAGS"
13338 LDFLAGS
="$save_LDFLAGS"
13343 case $lt_cv_dlopen_self in
13344 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
13345 *) enable_dlopen_self
=unknown
;;
13348 case $lt_cv_dlopen_self_static in
13349 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
13350 *) enable_dlopen_self_static
=unknown
;;
13372 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
13373 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13374 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
13375 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
13376 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
13377 { $as_echo "$as_me:$LINENO: result: yes" >&5
13378 $as_echo "yes" >&6; }
13380 # FIXME - insert some real tests, host_os isn't really good enough
13383 if test -n "$STRIP" ; then
13384 striplib
="$STRIP -x"
13385 old_striplib
="$STRIP -S"
13386 { $as_echo "$as_me:$LINENO: result: yes" >&5
13387 $as_echo "yes" >&6; }
13389 { $as_echo "$as_me:$LINENO: result: no" >&5
13390 $as_echo "no" >&6; }
13394 { $as_echo "$as_me:$LINENO: result: no" >&5
13395 $as_echo "no" >&6; }
13411 # Report which library types will actually be built
13412 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13413 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13414 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
13415 $as_echo "$can_build_shared" >&6; }
13417 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13418 $as_echo_n "checking whether to build shared libraries... " >&6; }
13419 test "$can_build_shared" = "no" && enable_shared
=no
13421 # On AIX, shared libraries and static libraries use the same namespace, and
13422 # are all built from PIC.
13425 test "$enable_shared" = yes && enable_static
=no
13426 if test -n "$RANLIB"; then
13427 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13428 postinstall_cmds
='$RANLIB $lib'
13433 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13434 test "$enable_shared" = yes && enable_static
=no
13438 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
13439 $as_echo "$enable_shared" >&6; }
13441 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13442 $as_echo_n "checking whether to build static libraries... " >&6; }
13443 # Make sure either enable_shared or enable_static is yes.
13444 test "$enable_shared" = yes || enable_static
=yes
13445 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
13446 $as_echo "$enable_static" >&6; }
13453 ac_cpp
='$CPP $CPPFLAGS'
13454 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13455 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13456 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13462 ac_cpp
='$CXXCPP $CPPFLAGS'
13463 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13464 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13465 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13467 archive_cmds_need_lc_CXX
=no
13468 allow_undefined_flag_CXX
=
13469 always_export_symbols_CXX
=no
13470 archive_expsym_cmds_CXX
=
13471 compiler_needs_object_CXX
=no
13472 export_dynamic_flag_spec_CXX
=
13473 hardcode_direct_CXX
=no
13474 hardcode_direct_absolute_CXX
=no
13475 hardcode_libdir_flag_spec_CXX
=
13476 hardcode_libdir_flag_spec_ld_CXX
=
13477 hardcode_libdir_separator_CXX
=
13478 hardcode_minus_L_CXX
=no
13479 hardcode_shlibpath_var_CXX
=unsupported
13480 hardcode_automatic_CXX
=no
13481 inherit_rpath_CXX
=no
13483 module_expsym_cmds_CXX
=
13484 link_all_deplibs_CXX
=unknown
13485 old_archive_cmds_CXX
=$old_archive_cmds
13486 no_undefined_flag_CXX
=
13487 whole_archive_flag_spec_CXX
=
13488 enable_shared_with_static_runtimes_CXX
=no
13490 # Source file extension for C++ test sources.
13493 # Object file extension for compiled C++ test sources.
13497 # No sense in running all these tests if we already determined that
13498 # the CXX compiler isn't working. Some variables (like enable_shared)
13499 # are currently assumed to apply to all compilers on this platform,
13500 # and will be corrupted by setting them based on a non-working compiler.
13501 if test "$_lt_caught_CXX_error" != yes; then
13502 # Code to be used in simple compile tests
13503 lt_simple_compile_test_code
="int some_variable = 0;"
13505 # Code to be used in simple link tests
13506 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
13508 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13515 # If no C compiler was specified, use CC.
13518 # If no C compiler flags were specified, use CFLAGS.
13519 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13521 # Allow CC to be a program name with arguments.
13525 # save warnings/boilerplate of simple test code
13526 ac_outfile
=conftest.
$ac_objext
13527 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13528 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13529 _lt_compiler_boilerplate
=`cat conftest.err`
13532 ac_outfile
=conftest.
$ac_objext
13533 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13534 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13535 _lt_linker_boilerplate
=`cat conftest.err`
13539 # Allow CC to be a program name with arguments.
13544 lt_save_with_gnu_ld
=$with_gnu_ld
13545 lt_save_path_LD
=$lt_cv_path_LD
13546 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13547 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
13549 $as_unset lt_cv_prog_gnu_ld
13551 if test -n "${lt_cv_path_LDCXX+set}"; then
13552 lt_cv_path_LD
=$lt_cv_path_LDCXX
13554 $as_unset lt_cv_path_LD
13556 test -z "${LDCXX+set}" || LD
=$LDCXX
13560 for cc_temp
in $compiler""; do
13562 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13563 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13568 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13571 if test -n "$compiler"; then
13572 # We don't want -fno-exception when compiling C++ code, so set the
13573 # no_builtin_flag separately
13574 if test "$GXX" = yes; then
13575 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
13577 lt_prog_compiler_no_builtin_flag_CXX
=
13580 if test "$GXX" = yes; then
13581 # Set up default GNU C++ configuration
13585 # Check whether --with-gnu-ld was given.
13586 if test "${with_gnu_ld+set}" = set; then
13587 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
13593 if test "$GCC" = yes; then
13594 # Check if gcc -print-prog-name=ld gives a path.
13595 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
13596 $as_echo_n "checking for ld used by $CC... " >&6; }
13599 # gcc leaves a trailing carriage return which upsets mingw
13600 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13602 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
13605 # Accept absolute paths.
13607 re_direlt
='/[^/][^/]*/\.\./'
13608 # Canonicalize the pathname of ld
13609 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13610 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
13611 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13613 test -z "$LD" && LD
="$ac_prog"
13616 # If it fails, then pretend we aren't using GCC.
13620 # If it is relative, then search for the first ld in PATH.
13621 with_gnu_ld
=unknown
13624 elif test "$with_gnu_ld" = yes; then
13625 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
13626 $as_echo_n "checking for GNU ld... " >&6; }
13628 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
13629 $as_echo_n "checking for non-GNU ld... " >&6; }
13631 if test "${lt_cv_path_LD+set}" = set; then
13632 $as_echo_n "(cached) " >&6
13634 if test -z "$LD"; then
13635 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
13636 for ac_dir
in $PATH; do
13638 test -z "$ac_dir" && ac_dir
=.
13639 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
13640 lt_cv_path_LD
="$ac_dir/$ac_prog"
13641 # Check to see if the program is GNU ld. I'd rather use --version,
13642 # but apparently some variants of GNU ld only accept -v.
13643 # Break only if it was the GNU/non-GNU ld that we prefer.
13644 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13645 *GNU
* |
*'with BFD'*)
13646 test "$with_gnu_ld" != no
&& break
13649 test "$with_gnu_ld" != yes && break
13656 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
13660 LD
="$lt_cv_path_LD"
13661 if test -n "$LD"; then
13662 { $as_echo "$as_me:$LINENO: result: $LD" >&5
13663 $as_echo "$LD" >&6; }
13665 { $as_echo "$as_me:$LINENO: result: no" >&5
13666 $as_echo "no" >&6; }
13668 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
13669 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
13670 { (exit 1); exit 1; }; }
13671 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
13672 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13673 if test "${lt_cv_prog_gnu_ld+set}" = set; then
13674 $as_echo_n "(cached) " >&6
13676 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13677 case `$LD -v 2>&1 </dev/null` in
13678 *GNU
* |
*'with BFD'*)
13679 lt_cv_prog_gnu_ld
=yes
13682 lt_cv_prog_gnu_ld
=no
13686 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
13687 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13688 with_gnu_ld
=$lt_cv_prog_gnu_ld
13696 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13697 # archiving commands below assume that GNU ld is being used.
13698 if test "$with_gnu_ld" = yes; then
13699 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13700 archive_expsym_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13702 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13703 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13705 # If archive_cmds runs LD, not CC, wlarc should be empty
13706 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13707 # investigate it a little bit more. (MM)
13710 # ancient GNU ld didn't support --whole-archive et. al.
13711 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13712 $GREP 'no-whole-archive' > /dev
/null
; then
13713 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13715 whole_archive_flag_spec_CXX
=
13721 # A generic and very simple default shared library creation
13722 # command for GNU C++ for the case where it uses the native
13723 # linker, instead of GNU ld. If possible, this setting should
13724 # overridden to take advantage of the native linker features on
13725 # the platform it is being used on.
13726 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13729 # Commands to make compiler produce verbose output that lists
13730 # what "hidden" libraries, object files and flags are used when
13731 # linking a shared library.
13732 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13740 # PORTME: fill in a description of your system's C++ link characteristics
13741 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13742 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13746 # FIXME: insert proper C++ library support
13750 if test "$host_cpu" = ia64
; then
13751 # On IA64, the linker does run time linking by default, so we don't
13752 # have to do anything special.
13753 aix_use_runtimelinking
=no
13754 exp_sym_flag
='-Bexport'
13757 aix_use_runtimelinking
=no
13759 # Test if we are trying to use run time linking or normal
13760 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13761 # need to do runtime linking.
13762 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
13763 for ld_flag
in $LDFLAGS; do
13766 aix_use_runtimelinking
=yes
13774 exp_sym_flag
='-bexport'
13775 no_entry_flag
='-bnoentry'
13778 # When large executables or shared objects are built, AIX ld can
13779 # have problems creating the table of contents. If linking a library
13780 # or program results in "error TOC overflow" add -mminimal-toc to
13781 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13782 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13784 archive_cmds_CXX
=''
13785 hardcode_direct_CXX
=yes
13786 hardcode_direct_absolute_CXX
=yes
13787 hardcode_libdir_separator_CXX
=':'
13788 link_all_deplibs_CXX
=yes
13789 file_list_spec_CXX
='${wl}-f,'
13791 if test "$GXX" = yes; then
13792 case $host_os in aix4.
[012]|aix4.
[012].
*)
13793 # We only want to do this on AIX 4.2 and lower, the check
13794 # below for broken collect2 doesn't work under 4.3+
13795 collect2name
=`${CC} -print-prog-name=collect2`
13796 if test -f "$collect2name" &&
13797 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
13799 # We have reworked collect2
13802 # We have old collect2
13803 hardcode_direct_CXX
=unsupported
13804 # It fails to find uninstalled libraries when the uninstalled
13805 # path is not listed in the libpath. Setting hardcode_minus_L
13806 # to unsupported forces relinking
13807 hardcode_minus_L_CXX
=yes
13808 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13809 hardcode_libdir_separator_CXX
=
13812 shared_flag
='-shared'
13813 if test "$aix_use_runtimelinking" = yes; then
13814 shared_flag
="$shared_flag "'${wl}-G'
13818 if test "$host_cpu" = ia64
; then
13819 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13820 # chokes on -Wl,-G. The following line is correct:
13823 if test "$aix_use_runtimelinking" = yes; then
13824 shared_flag
='${wl}-G'
13826 shared_flag
='${wl}-bM:SRE'
13831 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
13832 # It seems that -bexpall does not export symbols beginning with
13833 # underscore (_), so it is better to generate a list of symbols to
13835 always_export_symbols_CXX
=yes
13836 if test "$aix_use_runtimelinking" = yes; then
13837 # Warning - without using the other runtime loading flags (-brtl),
13838 # -berok will link without error, but may produce a broken library.
13839 allow_undefined_flag_CXX
='-berok'
13840 # Determine the default libpath from the value encoded in an empty
13842 cat >conftest.
$ac_ext <<_ACEOF
13845 cat confdefs.h
>>conftest.
$ac_ext
13846 cat >>conftest.
$ac_ext <<_ACEOF
13847 /* end confdefs.h. */
13857 rm -f conftest.
$ac_objext conftest
$ac_exeext
13858 if { (ac_try
="$ac_link"
13859 case "(($ac_try" in
13860 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13861 *) ac_try_echo=$ac_try;;
13863 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13864 $as_echo "$ac_try_echo") >&5
13865 (eval "$ac_link") 2>conftest.er1
13867 grep -v '^ *+' conftest.er1 >conftest.err
13869 cat conftest.err >&5
13870 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13871 (exit $ac_status); } && {
13872 test -z "$ac_cxx_werror_flag" ||
13873 test ! -s conftest.err
13874 } && test -s conftest$ac_exeext && {
13875 test "$cross_compiling" = yes ||
13876 $as_test_x conftest$ac_exeext
13879 lt_aix_libpath_sed='
13880 /Import File Strings/,/^$/ {
13886 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
13887 # Check for a 64-bit object if we didn't find anything.
13888 if test -z "$aix_libpath"; then
13889 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
13892 $as_echo "$as_me: failed program was:" >&5
13893 sed 's/^/| /' conftest.$ac_ext >&5
13898 rm -rf conftest.dSYM
13899 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13900 conftest$ac_exeext conftest.$ac_ext
13901 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13903 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13905 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
13907 if test "$host_cpu" = ia64; then
13908 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
13909 allow_undefined_flag_CXX="-z nodefs"
13910 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
13912 # Determine the default libpath from the value encoded in an
13913 # empty executable.
13914 cat >conftest.$ac_ext <<_ACEOF
13917 cat confdefs.h >>conftest.$ac_ext
13918 cat >>conftest.$ac_ext <<_ACEOF
13919 /* end confdefs.h. */
13929 rm -f conftest.$ac_objext conftest$ac_exeext
13930 if { (ac_try="$ac_link"
13931 case "(($ac_try" in
13932 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13933 *) ac_try_echo
=$ac_try;;
13935 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
13936 $as_echo "$ac_try_echo") >&5
13937 (eval "$ac_link") 2>conftest.er1
13939 grep -v '^ *+' conftest.er1
>conftest.err
13941 cat conftest.err
>&5
13942 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13943 (exit $ac_status); } && {
13944 test -z "$ac_cxx_werror_flag" ||
13945 test ! -s conftest.err
13946 } && test -s conftest
$ac_exeext && {
13947 test "$cross_compiling" = yes ||
13948 $as_test_x conftest
$ac_exeext
13951 lt_aix_libpath_sed
='
13952 /Import File Strings/,/^$/ {
13958 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13959 # Check for a 64-bit object if we didn't find anything.
13960 if test -z "$aix_libpath"; then
13961 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13964 $as_echo "$as_me: failed program was:" >&5
13965 sed 's/^/| /' conftest.
$ac_ext >&5
13970 rm -rf conftest.dSYM
13971 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13972 conftest
$ac_exeext conftest.
$ac_ext
13973 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13975 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13976 # Warning - without using the other run time loading flags,
13977 # -berok will link without error, but may produce a broken library.
13978 no_undefined_flag_CXX
=' ${wl}-bernotok'
13979 allow_undefined_flag_CXX
=' ${wl}-berok'
13980 # Exported symbols can be pulled into shared objects from archives
13981 whole_archive_flag_spec_CXX
='$convenience'
13982 archive_cmds_need_lc_CXX
=yes
13983 # This is similar to how AIX traditionally builds its shared
13985 archive_expsym_cmds_CXX
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
13991 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13992 allow_undefined_flag_CXX
=unsupported
13993 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13994 # support --undefined. This deserves some investigation. FIXME
13995 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14002 case $cc_basename in
14004 # FIXME: insert proper C++ library support
14010 cygwin
* | mingw
* | pw32
* | cegcc
*)
14011 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14012 # as there is no search path for DLLs.
14013 hardcode_libdir_flag_spec_CXX
='-L$libdir'
14014 allow_undefined_flag_CXX
=unsupported
14015 always_export_symbols_CXX
=no
14016 enable_shared_with_static_runtimes_CXX
=yes
14018 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
14019 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14020 # If the export-symbols file already is a .def file (1st line
14021 # is EXPORTS), use it as is; otherwise, prepend...
14022 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14023 cp $export_symbols $output_objdir/$soname.def;
14025 echo EXPORTS > $output_objdir/$soname.def;
14026 cat $export_symbols >> $output_objdir/$soname.def;
14028 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14033 darwin
* | rhapsody
*)
14036 archive_cmds_need_lc_CXX
=no
14037 hardcode_direct_CXX
=no
14038 hardcode_automatic_CXX
=yes
14039 hardcode_shlibpath_var_CXX
=unsupported
14040 whole_archive_flag_spec_CXX
=''
14041 link_all_deplibs_CXX
=yes
14042 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
14043 case $cc_basename in
14044 ifort
*) _lt_dar_can_shared
=yes ;;
14045 *) _lt_dar_can_shared
=$GCC ;;
14047 if test "$_lt_dar_can_shared" = "yes"; then
14048 output_verbose_link_cmd
=echo
14049 archive_cmds_CXX
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
14050 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14051 archive_expsym_cmds_CXX
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
14052 module_expsym_cmds_CXX
="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
14053 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
14054 archive_cmds_CXX
="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
14055 archive_expsym_cmds_CXX
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
14065 case $cc_basename in
14067 # FIXME: insert proper C++ library support
14071 # Green Hills C++ Compiler
14072 # FIXME: insert proper C++ library support
14076 # FIXME: insert proper C++ library support
14083 # C++ shared libraries reported to be fairly broken before
14089 archive_cmds_need_lc_CXX
=no
14092 freebsd
* | dragonfly
*)
14093 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14102 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
14103 hardcode_libdir_separator_CXX
=:
14104 export_dynamic_flag_spec_CXX
='${wl}-E'
14105 hardcode_direct_CXX
=yes
14106 hardcode_minus_L_CXX
=yes # Not in the search PATH,
14107 # but as the default
14108 # location of the library.
14110 case $cc_basename in
14112 # FIXME: insert proper C++ library support
14116 archive_cmds_CXX
='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
14117 # Commands to make compiler produce verbose output that lists
14118 # what "hidden" libraries, object files and flags are used when
14119 # linking a shared library.
14121 # There doesn't appear to be a way to prevent this compiler from
14122 # explicitly linking system object files so we need to strip them
14123 # from the output so that they don't get included in the library
14125 output_verbose_link_cmd
='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
14128 if test "$GXX" = yes; then
14129 archive_cmds_CXX
='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
14131 # FIXME: insert proper C++ library support
14139 if test $with_gnu_ld = no
; then
14140 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
14141 hardcode_libdir_separator_CXX
=:
14147 export_dynamic_flag_spec_CXX
='${wl}-E'
14153 hardcode_direct_CXX
=no
14154 hardcode_shlibpath_var_CXX
=no
14157 hardcode_direct_CXX
=yes
14158 hardcode_direct_absolute_CXX
=yes
14159 hardcode_minus_L_CXX
=yes # Not in the search PATH,
14160 # but as the default
14161 # location of the library.
14165 case $cc_basename in
14167 # FIXME: insert proper C++ library support
14173 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14176 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14179 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14182 # Commands to make compiler produce verbose output that lists
14183 # what "hidden" libraries, object files and flags are used when
14184 # linking a shared library.
14186 # There doesn't appear to be a way to prevent this compiler from
14187 # explicitly linking system object files so we need to strip them
14188 # from the output so that they don't get included in the library
14190 output_verbose_link_cmd
='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
14193 if test "$GXX" = yes; then
14194 if test $with_gnu_ld = no
; then
14197 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14200 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14203 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14208 # FIXME: insert proper C++ library support
14216 hardcode_direct_CXX
=no
14217 hardcode_shlibpath_var_CXX
=no
14218 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14219 export_dynamic_flag_spec_CXX
='${wl}-E'
14220 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14221 # Instead, shared libraries are loaded at an image base (0x10000000 by
14222 # default) and relocated if they conflict, which is a slow very memory
14223 # consuming and fragmenting process. To avoid this, we pick a random,
14224 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14225 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14226 archive_cmds_CXX
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14227 archive_expsym_cmds_CXX
='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14230 case $cc_basename in
14233 archive_cmds_CXX
='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
14235 # Archives containing C++ object files must be created using
14236 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
14237 # necessary to make sure instantiated templates are included
14239 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
14242 if test "$GXX" = yes; then
14243 if test "$with_gnu_ld" = no
; then
14244 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14246 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
14249 link_all_deplibs_CXX
=yes
14252 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14253 hardcode_libdir_separator_CXX
=:
14254 inherit_rpath_CXX
=yes
14257 linux
* | k
*bsd
*-gnu)
14258 case $cc_basename in
14260 # Kuck and Associates, Inc. (KAI) C++ Compiler
14262 # KCC will only create a shared library if the output file
14263 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14264 # to its proper name (with version) after linking.
14265 archive_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
14266 archive_expsym_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
14267 # Commands to make compiler produce verbose output that lists
14268 # what "hidden" libraries, object files and flags are used when
14269 # linking a shared library.
14271 # There doesn't appear to be a way to prevent this compiler from
14272 # explicitly linking system object files so we need to strip them
14273 # from the output so that they don't get included in the library
14275 output_verbose_link_cmd
='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
14277 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14278 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14280 # Archives containing C++ object files must be created using
14281 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14282 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
14287 # version 8.0 and above of icpc choke on multiply defined symbols
14288 # if we add $predep_objects and $postdep_objects, however 7.1 and
14289 # earlier do not add the objects themselves.
14290 case `$CC -V 2>&1` in
14292 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14293 archive_expsym_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14295 *) # Version 8.0 or newer
14298 ia64
*) tmp_idyn
=' -i_dynamic';;
14300 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14301 archive_expsym_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14304 archive_cmds_need_lc_CXX
=no
14305 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14306 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14307 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14310 # Portland Group C++ compiler
14312 *pgCC\
[1-5]* |
*pgcpp\
[1-5]*)
14313 prelink_cmds_CXX
='tpldir=Template.dir~
14315 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14316 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
14317 old_archive_cmds_CXX
='tpldir=Template.dir~
14319 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14320 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
14322 archive_cmds_CXX
='tpldir=Template.dir~
14324 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14325 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14326 archive_expsym_cmds_CXX
='tpldir=Template.dir~
14328 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14329 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
14331 *) # Version 6 will use weak symbols
14332 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14333 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
14337 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
14338 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14339 whole_archive_flag_spec_CXX
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
14343 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14344 archive_expsym_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
14346 runpath_var
=LD_RUN_PATH
14347 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
14348 hardcode_libdir_separator_CXX
=:
14350 # Commands to make compiler produce verbose output that lists
14351 # what "hidden" libraries, object files and flags are used when
14352 # linking a shared library.
14354 # There doesn't appear to be a way to prevent this compiler from
14355 # explicitly linking system object files so we need to strip them
14356 # from the output so that they don't get included in the library
14358 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
14361 # IBM XL 8.0 on PPC, with GNU ld
14362 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14363 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14364 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14365 if test "x$supports_anon_versioning" = xyes
; then
14366 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
14367 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14368 echo "local: *; };" >> $output_objdir/$libname.ver~
14369 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14373 case `$CC -V 2>&1 | sed 5q` in
14376 no_undefined_flag_CXX
=' -zdefs'
14377 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14378 archive_expsym_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
14379 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14380 whole_archive_flag_spec_CXX
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
14381 compiler_needs_object_CXX
=yes
14383 # Not sure whether something based on
14384 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14386 output_verbose_link_cmd
='echo'
14388 # Archives containing C++ object files must be created using
14389 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14390 # necessary to make sure instantiated templates are included
14392 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14400 # FIXME: insert proper C++ library support
14405 # FIXME: insert proper C++ library support
14410 case $cc_basename in
14412 # FIXME: insert proper C++ library support
14416 # FIXME: insert proper C++ library support
14423 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14424 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14426 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14427 hardcode_direct_CXX
=yes
14428 hardcode_shlibpath_var_CXX
=no
14430 # Workaround some broken pre-1.5 toolchains
14431 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14439 # C++ shared libraries are fairly broken
14444 if test -f /usr
/libexec
/ld.so
; then
14445 hardcode_direct_CXX
=yes
14446 hardcode_shlibpath_var_CXX
=no
14447 hardcode_direct_absolute_CXX
=yes
14448 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14449 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14450 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14451 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
14452 export_dynamic_flag_spec_CXX
='${wl}-E'
14453 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14455 output_verbose_link_cmd
=echo
14461 osf3
* | osf4
* | osf5
*)
14462 case $cc_basename in
14464 # Kuck and Associates, Inc. (KAI) C++ Compiler
14466 # KCC will only create a shared library if the output file
14467 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14468 # to its proper name (with version) after linking.
14469 archive_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
14471 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14472 hardcode_libdir_separator_CXX
=:
14474 # Archives containing C++ object files must be created using
14475 # the KAI C++ compiler.
14477 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
14478 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
14482 # Rational C++ 2.4.1
14483 # FIXME: insert proper C++ library support
14489 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
14490 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
14491 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14494 allow_undefined_flag_CXX
=' -expect_unresolved \*'
14495 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
14496 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14497 echo "-hidden">> $lib.exp~
14498 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
14500 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
14504 hardcode_libdir_separator_CXX
=:
14506 # Commands to make compiler produce verbose output that lists
14507 # what "hidden" libraries, object files and flags are used when
14508 # linking a shared library.
14510 # There doesn't appear to be a way to prevent this compiler from
14511 # explicitly linking system object files so we need to strip them
14512 # from the output so that they don't get included in the library
14514 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
14517 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
14518 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
14521 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14524 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14528 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14529 hardcode_libdir_separator_CXX
=:
14531 # Commands to make compiler produce verbose output that lists
14532 # what "hidden" libraries, object files and flags are used when
14533 # linking a shared library.
14534 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
14537 # FIXME: insert proper C++ library support
14545 # FIXME: insert proper C++ library support
14550 case $cc_basename in
14553 # FIXME: insert proper C++ library support
14558 # FIXME: insert proper C++ library support
14562 # FIXME: insert proper C++ library support
14569 case $cc_basename in
14571 # Sun C++ 4.2, 5.x and Centerline C++
14572 archive_cmds_need_lc_CXX
=yes
14573 no_undefined_flag_CXX
=' -zdefs'
14574 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14575 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14576 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14578 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14579 hardcode_shlibpath_var_CXX
=no
14581 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14583 # The compiler driver will combine and reorder linker options,
14584 # but understands `-z linker_flag'.
14585 # Supported since Solaris 2.6 (maybe 2.5.1?)
14586 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
14589 link_all_deplibs_CXX
=yes
14591 output_verbose_link_cmd
='echo'
14593 # Archives containing C++ object files must be created using
14594 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14595 # necessary to make sure instantiated templates are included
14597 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14600 # Green Hills C++ Compiler
14601 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14603 # The C++ compiler must be used to create the archive.
14604 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14607 # GNU C++ compiler with Solaris linker
14608 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
14609 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
14610 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
14611 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14612 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14613 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14615 # Commands to make compiler produce verbose output that lists
14616 # what "hidden" libraries, object files and flags are used when
14617 # linking a shared library.
14618 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
14620 # g++ 2.7 appears to require `-G' NOT `-shared' on this
14622 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14623 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14624 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14626 # Commands to make compiler produce verbose output that lists
14627 # what "hidden" libraries, object files and flags are used when
14628 # linking a shared library.
14629 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
14632 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
14634 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14636 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14644 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
14645 no_undefined_flag_CXX
='${wl}-z,text'
14646 archive_cmds_need_lc_CXX
=no
14647 hardcode_shlibpath_var_CXX
=no
14648 runpath_var
='LD_RUN_PATH'
14650 case $cc_basename in
14652 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14653 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14656 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14657 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14662 sysv5
* | sco3.2v5
* | sco5v6
*)
14663 # Note: We can NOT use -z defs as we might desire, because we do not
14664 # link with -lc, and that would cause any symbols used from libc to
14665 # always be unresolved, which means just about no library would
14666 # ever link correctly. If we're not using GNU ld we use -z text
14667 # though, which does catch some bad symbols but isn't as heavy-handed
14669 no_undefined_flag_CXX
='${wl}-z,text'
14670 allow_undefined_flag_CXX
='${wl}-z,nodefs'
14671 archive_cmds_need_lc_CXX
=no
14672 hardcode_shlibpath_var_CXX
=no
14673 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
14674 hardcode_libdir_separator_CXX
=':'
14675 link_all_deplibs_CXX
=yes
14676 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
14677 runpath_var
='LD_RUN_PATH'
14679 case $cc_basename in
14681 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14682 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14685 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14686 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14692 case $cc_basename in
14694 # NonStop-UX NCC 3.20
14695 # FIXME: insert proper C++ library support
14699 # FIXME: insert proper C++ library support
14706 # FIXME: insert proper C++ library support
14711 # FIXME: insert proper C++ library support
14716 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
14717 $as_echo "$ld_shlibs_CXX" >&6; }
14718 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14724 ## There is no encapsulation within the following macros, do not change
14725 ## the running order or otherwise move them around unless you know exactly
14726 ## what you are doing...
14727 # Dependencies to place before and after the object being linked:
14728 predep_objects_CXX
=
14729 postdep_objects_CXX
=
14732 compiler_lib_search_path_CXX
=
14734 cat > conftest.
$ac_ext <<_LT_EOF
14738 Foo (void) { a = 0; }
14744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14745 (eval $ac_compile) 2>&5
14747 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14748 (exit $ac_status); }; then
14749 # Parse the compiler output and extract the necessary
14750 # objects, libraries and library flags.
14752 # Sentinel used to keep track of whether or not we are before
14753 # the conftest object file.
14754 pre_test_object_deps_done
=no
14756 for p
in `eval "$output_verbose_link_cmd"`; do
14760 # Some compilers place space between "-{L,R}" and the path.
14761 # Remove the space.
14762 if test $p = "-L" ||
14763 test $p = "-R"; then
14770 if test "$pre_test_object_deps_done" = no
; then
14773 # Internal compiler library paths should come after those
14774 # provided the user. The postdeps already come after the
14775 # user supplied libs so there is no need to process them.
14776 if test -z "$compiler_lib_search_path_CXX"; then
14777 compiler_lib_search_path_CXX
="${prev}${p}"
14779 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
14782 # The "-l" case would never come before the object being
14783 # linked, so don't bother handling this case.
14786 if test -z "$postdeps_CXX"; then
14787 postdeps_CXX
="${prev}${p}"
14789 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
14795 # This assumes that the test object file only shows up
14796 # once in the compiler output.
14797 if test "$p" = "conftest.$objext"; then
14798 pre_test_object_deps_done
=yes
14802 if test "$pre_test_object_deps_done" = no
; then
14803 if test -z "$predep_objects_CXX"; then
14804 predep_objects_CXX
="$p"
14806 predep_objects_CXX
="$predep_objects_CXX $p"
14809 if test -z "$postdep_objects_CXX"; then
14810 postdep_objects_CXX
="$p"
14812 postdep_objects_CXX
="$postdep_objects_CXX $p"
14817 *) ;; # Ignore the rest.
14825 echo "libtool.m4: error: problem compiling CXX test program"
14828 $RM -f confest.
$objext
14830 # PORTME: override above test on systems where it is broken
14833 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14834 # hack all around it, let's just trust "g++" to DTRT.
14835 predep_objects_CXX
=
14836 postdep_objects_CXX
=
14841 case `$CC -V 2>&1 | sed 5q` in
14845 # The more standards-conforming stlport4 library is
14846 # incompatible with the Cstd library. Avoid specifying
14847 # it if it's in CXXFLAGS. Ignore libCrun as
14848 # -library=stlport4 depends on it.
14849 case " $CXX $CXXFLAGS " in
14850 *" -library=stlport4 "*)
14851 solaris_use_stlport4
=yes
14855 if test "$solaris_use_stlport4" != yes; then
14856 postdeps_CXX
='-library=Cstd -library=Crun'
14863 case $cc_basename in
14865 # The more standards-conforming stlport4 library is
14866 # incompatible with the Cstd library. Avoid specifying
14867 # it if it's in CXXFLAGS. Ignore libCrun as
14868 # -library=stlport4 depends on it.
14869 case " $CXX $CXXFLAGS " in
14870 *" -library=stlport4 "*)
14871 solaris_use_stlport4
=yes
14875 # Adding this requires a known-good setup of shared libraries for
14876 # Sun compiler versions before 5.6, else PIC objects from an old
14877 # archive will be linked into the output, leading to subtle bugs.
14878 if test "$solaris_use_stlport4" != yes; then
14879 postdeps_CXX
='-library=Cstd -library=Crun'
14887 case " $postdeps_CXX " in
14888 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
14890 compiler_lib_search_dirs_CXX
=
14891 if test -n "${compiler_lib_search_path_CXX}"; then
14892 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14925 lt_prog_compiler_wl_CXX
=
14926 lt_prog_compiler_pic_CXX
=
14927 lt_prog_compiler_static_CXX
=
14929 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14930 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14932 # C++ specific cases for pic, static, wl, etc.
14933 if test "$GXX" = yes; then
14934 lt_prog_compiler_wl_CXX
='-Wl,'
14935 lt_prog_compiler_static_CXX
='-static'
14939 # All AIX code is PIC.
14940 if test "$host_cpu" = ia64
; then
14941 # AIX 5 now supports IA64 processor
14942 lt_prog_compiler_static_CXX
='-Bstatic'
14949 # see comment about AmigaOS4 .so support
14950 lt_prog_compiler_pic_CXX
='-fPIC'
14953 # FIXME: we need at least 68020 code to build shared libraries, but
14954 # adding the `-m68020' flag to GCC prevents building anything better,
14956 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
14961 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14962 # PIC is the default for these OSes.
14964 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14965 # This hack is so that the source file can tell whether it is being
14966 # built for inclusion in a dll (and should export symbols for example).
14967 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14968 # (--disable-auto-import) libraries
14969 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14971 darwin
* | rhapsody
*)
14972 # PIC is the default on this platform
14973 # Common symbols not allowed in MH_DYLIB files
14974 lt_prog_compiler_pic_CXX
='-fno-common'
14977 # DJGPP does not support shared libraries at all
14978 lt_prog_compiler_pic_CXX
=
14981 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14982 # Instead, we relocate shared libraries at runtime.
14985 if test -d /usr
/nec
; then
14986 lt_prog_compiler_pic_CXX
=-Kconform_pic
14990 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14991 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14992 # sets the default TLS model and affects inlining.
14997 lt_prog_compiler_pic_CXX
='-fPIC'
15002 # QNX uses GNU C++, but need to define -shared option too, otherwise
15003 # it will coredump.
15004 lt_prog_compiler_pic_CXX
='-fPIC -shared'
15007 lt_prog_compiler_pic_CXX
='-fPIC'
15013 # All AIX code is PIC.
15014 if test "$host_cpu" = ia64
; then
15015 # AIX 5 now supports IA64 processor
15016 lt_prog_compiler_static_CXX
='-Bstatic'
15018 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
15022 case $cc_basename in
15024 # Green Hills C++ Compiler
15025 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
15030 case $cc_basename in
15032 lt_prog_compiler_pic_CXX
='-KPIC'
15035 # Green Hills C++ Compiler
15036 lt_prog_compiler_pic_CXX
='-pic'
15042 freebsd
* | dragonfly
*)
15043 # FreeBSD uses GNU C++
15045 hpux9
* | hpux10
* | hpux11
*)
15046 case $cc_basename in
15048 lt_prog_compiler_wl_CXX
='-Wl,'
15049 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
15050 if test "$host_cpu" != ia64
; then
15051 lt_prog_compiler_pic_CXX
='+Z'
15055 lt_prog_compiler_wl_CXX
='-Wl,'
15056 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
15062 lt_prog_compiler_pic_CXX
='+Z'
15071 # This is c89, which is MS Visual C++ (no shared libs)
15072 # Anyone wants to do a port?
15074 irix5
* | irix6
* | nonstopux
*)
15075 case $cc_basename in
15077 lt_prog_compiler_wl_CXX
='-Wl,'
15078 lt_prog_compiler_static_CXX
='-non_shared'
15079 # CC pic flag -KPIC is the default.
15085 linux
* | k
*bsd
*-gnu)
15086 case $cc_basename in
15089 lt_prog_compiler_wl_CXX
='--backend -Wl,'
15090 lt_prog_compiler_pic_CXX
='-fPIC'
15093 # old Intel C++ for x86_64 which still supported -KPIC.
15094 lt_prog_compiler_wl_CXX
='-Wl,'
15095 lt_prog_compiler_pic_CXX
='-KPIC'
15096 lt_prog_compiler_static_CXX
='-static'
15099 # Intel C++, used to be incompatible with GCC.
15100 # ICC 10 doesn't accept -KPIC any more.
15101 lt_prog_compiler_wl_CXX
='-Wl,'
15102 lt_prog_compiler_pic_CXX
='-fPIC'
15103 lt_prog_compiler_static_CXX
='-static'
15106 # Portland Group C++ compiler
15107 lt_prog_compiler_wl_CXX
='-Wl,'
15108 lt_prog_compiler_pic_CXX
='-fpic'
15109 lt_prog_compiler_static_CXX
='-Bstatic'
15113 # Make sure the PIC flag is empty. It appears that all Alpha
15114 # Linux and Compaq Tru64 Unix objects are PIC.
15115 lt_prog_compiler_pic_CXX
=
15116 lt_prog_compiler_static_CXX
='-non_shared'
15119 # IBM XL 8.0 on PPC
15120 lt_prog_compiler_wl_CXX
='-Wl,'
15121 lt_prog_compiler_pic_CXX
='-qpic'
15122 lt_prog_compiler_static_CXX
='-qstaticlink'
15125 case `$CC -V 2>&1 | sed 5q` in
15128 lt_prog_compiler_pic_CXX
='-KPIC'
15129 lt_prog_compiler_static_CXX
='-Bstatic'
15130 lt_prog_compiler_wl_CXX
='-Qoption ld '
15141 case $cc_basename in
15143 lt_prog_compiler_pic_CXX
='-W c,exportall'
15152 # QNX uses GNU C++, but need to define -shared option too, otherwise
15153 # it will coredump.
15154 lt_prog_compiler_pic_CXX
='-fPIC -shared'
15156 osf3
* | osf4
* | osf5
*)
15157 case $cc_basename in
15159 lt_prog_compiler_wl_CXX
='--backend -Wl,'
15162 # Rational C++ 2.4.1
15163 lt_prog_compiler_pic_CXX
='-pic'
15166 # Digital/Compaq C++
15167 lt_prog_compiler_wl_CXX
='-Wl,'
15168 # Make sure the PIC flag is empty. It appears that all Alpha
15169 # Linux and Compaq Tru64 Unix objects are PIC.
15170 lt_prog_compiler_pic_CXX
=
15171 lt_prog_compiler_static_CXX
='-non_shared'
15180 case $cc_basename in
15182 # Sun C++ 4.2, 5.x and Centerline C++
15183 lt_prog_compiler_pic_CXX
='-KPIC'
15184 lt_prog_compiler_static_CXX
='-Bstatic'
15185 lt_prog_compiler_wl_CXX
='-Qoption ld '
15188 # Green Hills C++ Compiler
15189 lt_prog_compiler_pic_CXX
='-PIC'
15196 case $cc_basename in
15199 lt_prog_compiler_pic_CXX
='-pic'
15200 lt_prog_compiler_static_CXX
='-Bstatic'
15204 lt_prog_compiler_pic_CXX
='-pic'
15210 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
15211 case $cc_basename in
15213 lt_prog_compiler_wl_CXX
='-Wl,'
15214 lt_prog_compiler_pic_CXX
='-KPIC'
15215 lt_prog_compiler_static_CXX
='-Bstatic'
15220 case $cc_basename in
15222 # NonStop-UX NCC 3.20
15223 lt_prog_compiler_pic_CXX
='-KPIC'
15232 lt_prog_compiler_can_build_shared_CXX
=no
15238 # For platforms which do not support PIC, -DPIC is meaningless:
15240 lt_prog_compiler_pic_CXX
=
15243 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
15246 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
15247 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
15252 # Check to make sure the PIC flag actually works.
15254 if test -n "$lt_prog_compiler_pic_CXX"; then
15255 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15256 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15257 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
15258 $as_echo_n "(cached) " >&6
15260 lt_cv_prog_compiler_pic_works_CXX
=no
15261 ac_outfile
=conftest.
$ac_objext
15262 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15263 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
15264 # Insert the option either (1) after the last *FLAGS variable, or
15265 # (2) before a word containing "conftest.", or (3) at the end.
15266 # Note that $ac_compile itself does not contain backslashes and begins
15267 # with a dollar sign (not a hyphen), so the echo should work correctly.
15268 # The option is referenced via a variable to avoid confusing sed.
15269 lt_compile
=`echo "$ac_compile" | $SED \
15270 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15271 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15272 -e 's:$: $lt_compiler_flag:'`
15273 (eval echo "\"\$as_me:15273: $lt_compile\"" >&5)
15274 (eval "$lt_compile" 2>conftest.err
)
15276 cat conftest.err
>&5
15277 echo "$as_me:15277: \$? = $ac_status" >&5
15278 if (exit $ac_status) && test -s "$ac_outfile"; then
15279 # The compiler can only warn and ignore the option if not recognized
15280 # So say no if there are warnings other than the usual output.
15281 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
15282 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15283 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
15284 lt_cv_prog_compiler_pic_works_CXX
=yes
15290 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15291 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15293 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
15294 case $lt_prog_compiler_pic_CXX in
15296 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
15299 lt_prog_compiler_pic_CXX
=
15300 lt_prog_compiler_can_build_shared_CXX
=no
15308 # Check to make sure the static flag actually works.
15310 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
15311 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15312 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15313 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
15314 $as_echo_n "(cached) " >&6
15316 lt_cv_prog_compiler_static_works_CXX
=no
15317 save_LDFLAGS
="$LDFLAGS"
15318 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
15319 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
15320 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
15321 # The linker can only warn and ignore the option if not recognized
15322 # So say no if there are warnings
15323 if test -s conftest.err
; then
15324 # Append any errors to the config.log.
15325 cat conftest.err
1>&5
15326 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
15327 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15328 if diff conftest.exp conftest.er2
>/dev
/null
; then
15329 lt_cv_prog_compiler_static_works_CXX
=yes
15332 lt_cv_prog_compiler_static_works_CXX
=yes
15336 LDFLAGS
="$save_LDFLAGS"
15339 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15340 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15342 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
15345 lt_prog_compiler_static_CXX
=
15351 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15352 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15353 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
15354 $as_echo_n "(cached) " >&6
15356 lt_cv_prog_compiler_c_o_CXX
=no
15357 $RM -r conftest
2>/dev
/null
15361 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15363 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15364 # Insert the option either (1) after the last *FLAGS variable, or
15365 # (2) before a word containing "conftest.", or (3) at the end.
15366 # Note that $ac_compile itself does not contain backslashes and begins
15367 # with a dollar sign (not a hyphen), so the echo should work correctly.
15368 lt_compile
=`echo "$ac_compile" | $SED \
15369 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15370 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15371 -e 's:$: $lt_compiler_flag:'`
15372 (eval echo "\"\$as_me:15372: $lt_compile\"" >&5)
15373 (eval "$lt_compile" 2>out
/conftest.err
)
15375 cat out
/conftest.err
>&5
15376 echo "$as_me:15376: \$? = $ac_status" >&5
15377 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15379 # The compiler can only warn and ignore the option if not recognized
15380 # So say no if there are warnings
15381 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
15382 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15383 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15384 lt_cv_prog_compiler_c_o_CXX
=yes
15389 # SGI C++ compiler will create directory out/ii_files/ for
15390 # template instantiation
15391 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
15392 $RM out
/* && rmdir out
15398 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15399 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15403 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15404 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15405 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
15406 $as_echo_n "(cached) " >&6
15408 lt_cv_prog_compiler_c_o_CXX
=no
15409 $RM -r conftest
2>/dev
/null
15413 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15415 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15416 # Insert the option either (1) after the last *FLAGS variable, or
15417 # (2) before a word containing "conftest.", or (3) at the end.
15418 # Note that $ac_compile itself does not contain backslashes and begins
15419 # with a dollar sign (not a hyphen), so the echo should work correctly.
15420 lt_compile
=`echo "$ac_compile" | $SED \
15421 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15422 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15423 -e 's:$: $lt_compiler_flag:'`
15424 (eval echo "\"\$as_me:15424: $lt_compile\"" >&5)
15425 (eval "$lt_compile" 2>out
/conftest.err
)
15427 cat out
/conftest.err
>&5
15428 echo "$as_me:15428: \$? = $ac_status" >&5
15429 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15431 # The compiler can only warn and ignore the option if not recognized
15432 # So say no if there are warnings
15433 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
15434 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15435 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15436 lt_cv_prog_compiler_c_o_CXX
=yes
15441 # SGI C++ compiler will create directory out/ii_files/ for
15442 # template instantiation
15443 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
15444 $RM out
/* && rmdir out
15450 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15451 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15456 hard_links
="nottested"
15457 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
15458 # do not overwrite the value of need_locks provided by the user
15459 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15460 $as_echo_n "checking if we can lock with hard links... " >&6; }
15463 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15465 ln conftest.a conftest.b
2>&5 || hard_links
=no
15466 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15467 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
15468 $as_echo "$hard_links" >&6; }
15469 if test "$hard_links" = no
; then
15470 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15471 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15480 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15481 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15483 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15486 # If we're using GNU nm, then we don't want the "-C" option.
15487 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15488 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
15489 export_symbols_cmds_CXX
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
15491 export_symbols_cmds_CXX
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
15495 export_symbols_cmds_CXX
="$ltdll_cmds"
15497 cygwin
* | mingw
* | cegcc
*)
15498 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
15501 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15504 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15506 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
15507 $as_echo "$ld_shlibs_CXX" >&6; }
15508 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
15510 with_gnu_ld_CXX
=$with_gnu_ld
15518 # Do we need to explicitly link libc?
15520 case "x$archive_cmds_need_lc_CXX" in
15522 # Assume -lc should be added
15523 archive_cmds_need_lc_CXX
=yes
15525 if test "$enable_shared" = yes && test "$GCC" = yes; then
15526 case $archive_cmds_CXX in
15528 # FIXME: we may have to deal with multi-command sequences.
15531 # Test whether the compiler implicitly links with -lc since on some
15532 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15533 # to ld, don't add -lc before -lgcc.
15534 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15535 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15537 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15540 (eval $ac_compile) 2>&5
15542 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15543 (exit $ac_status); } 2>conftest.err
; then
15546 libobjs
=conftest.
$ac_objext
15548 wl
=$lt_prog_compiler_wl_CXX
15549 pic_flag
=$lt_prog_compiler_pic_CXX
15555 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
15556 allow_undefined_flag_CXX
=
15557 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
15558 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15560 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15561 (exit $ac_status); }
15563 archive_cmds_need_lc_CXX
=no
15565 archive_cmds_need_lc_CXX
=yes
15567 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
15569 cat conftest.err
1>&5
15572 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
15573 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
15643 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15644 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15646 library_names_spec
=
15647 libname_spec
='lib$name'
15651 postuninstall_cmds
=
15655 shlibpath_overrides_runpath
=unknown
15657 dynamic_linker
="$host_os ld.so"
15658 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15659 need_lib_prefix
=unknown
15660 hardcode_into_libs
=no
15662 # when you set need_version to no, make sure it does not cause -set_version
15663 # flags to be left without arguments
15664 need_version
=unknown
15669 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15670 shlibpath_var
=LIBPATH
15672 # AIX 3 has no versioning support, so we append a major version to the name.
15673 soname_spec
='${libname}${release}${shared_ext}$major'
15680 hardcode_into_libs
=yes
15681 if test "$host_cpu" = ia64
; then
15682 # AIX 5 supports IA64
15683 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15684 shlibpath_var
=LD_LIBRARY_PATH
15686 # With GCC up to 2.95.x, collect2 would create an import file
15687 # for dependence libraries. The import file would start with
15688 # the line `#! .'. This would cause the generated library to
15689 # depend on `.', always an invalid library. This was fixed in
15690 # development snapshots of GCC prior to 3.0.
15692 aix4 | aix4.
[01] | aix4.
[01].
*)
15693 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15695 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
15698 can_build_shared
=no
15702 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15703 # soname into executable. Probably we can add versioning support to
15704 # collect2, so additional links can be useful in future.
15705 if test "$aix_use_runtimelinking" = yes; then
15706 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15707 # instead of lib<name>.a to let people know that these are not
15708 # typical AIX shared libraries.
15709 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15711 # We preserve .a as extension for shared libraries through AIX4.2
15712 # and later when we are not doing run time linking.
15713 library_names_spec
='${libname}${release}.a $libname.a'
15714 soname_spec
='${libname}${release}${shared_ext}$major'
15716 shlibpath_var
=LIBPATH
15723 # Since July 2007 AmigaOS4 officially supports .so libraries.
15724 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15725 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15728 library_names_spec
='$libname.ixlibrary $libname.a'
15729 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15730 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'
15736 library_names_spec
='${libname}${shared_ext}'
15737 dynamic_linker
="$host_os ld.so"
15738 shlibpath_var
=LIBRARY_PATH
15744 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15745 soname_spec
='${libname}${release}${shared_ext}$major'
15746 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15747 shlibpath_var
=LD_LIBRARY_PATH
15748 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15749 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15750 # the default ld.so.conf also contains /usr/contrib/lib and
15751 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15752 # libtool to hard-code these into programs
15755 cygwin
* | mingw
* | pw32
* | cegcc
*)
15756 version_type
=windows
15761 case $GCC,$host_os in
15762 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
15763 library_names_spec
='$libname.dll.a'
15764 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15765 postinstall_cmds
='base_file=`basename \${file}`~
15766 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15767 dldir=$destdir/`dirname \$dlpath`~
15768 test -d \$dldir || mkdir -p \$dldir~
15769 $install_prog $dir/$dlname \$dldir/$dlname~
15770 chmod a+x \$dldir/$dlname~
15771 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15772 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15774 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15775 dlpath=$dir/\$dldll~
15777 shlibpath_overrides_runpath
=yes
15781 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15782 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15783 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
15786 # MinGW DLLs use traditional 'lib' prefix
15787 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15788 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15789 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
15790 # It is most probably a Windows format PATH printed by
15791 # mingw gcc, but we are running on Cygwin. Gcc prints its search
15792 # path with ; separators, and with drive letters. We can handle the
15793 # drive letters (cygwin fileutils understands them), so leave them,
15794 # especially as we might pass files found there to a mingw objdump,
15795 # which wouldn't understand a cygwinified path. Ahh.
15796 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15798 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15802 # pw32 DLLs use 'pw' prefix rather than 'lib'
15803 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15809 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15812 dynamic_linker
='Win32 ld.exe'
15813 # FIXME: first we should search . and the directory the executable is in
15817 darwin
* | rhapsody
*)
15818 dynamic_linker
="$host_os dyld"
15819 version_type
=darwin
15822 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15823 soname_spec
='${libname}${release}${major}$shared_ext'
15824 shlibpath_overrides_runpath
=yes
15825 shlibpath_var
=DYLD_LIBRARY_PATH
15826 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15828 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15835 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15836 soname_spec
='${libname}${release}${shared_ext}$major'
15837 shlibpath_var
=LD_LIBRARY_PATH
15844 freebsd
* | dragonfly
*)
15845 # DragonFly does not have aout. When/if they implement a new
15846 # versioning mechanism, adjust this.
15847 if test -x /usr
/bin
/objformat
; then
15848 objformat
=`/usr/bin/objformat`
15851 freebsd
[123]*) objformat
=aout
;;
15852 *) objformat
=elf
;;
15855 version_type
=freebsd-
$objformat
15856 case $version_type in
15858 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15863 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15867 shlibpath_var
=LD_LIBRARY_PATH
15870 shlibpath_overrides_runpath
=yes
15872 freebsd3.
[01]* | freebsdelf3.
[01]*)
15873 shlibpath_overrides_runpath
=yes
15874 hardcode_into_libs
=yes
15876 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15877 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15878 shlibpath_overrides_runpath
=no
15879 hardcode_into_libs
=yes
15881 *) # from 4.6 on, and DragonFly
15882 shlibpath_overrides_runpath
=yes
15883 hardcode_into_libs
=yes
15892 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15893 soname_spec
='${libname}${release}${shared_ext}$major'
15894 shlibpath_var
=LD_LIBRARY_PATH
15895 hardcode_into_libs
=yes
15898 hpux9
* | hpux10
* | hpux11
*)
15899 # Give a soname corresponding to the major version so that dld.sl refuses to
15900 # link against other versions.
15907 hardcode_into_libs
=yes
15908 dynamic_linker
="$host_os dld.so"
15909 shlibpath_var
=LD_LIBRARY_PATH
15910 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15911 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15912 soname_spec
='${libname}${release}${shared_ext}$major'
15913 if test "X$HPUX_IA64_MODE" = X32
; then
15914 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15916 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15918 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15922 hardcode_into_libs
=yes
15923 dynamic_linker
="$host_os dld.sl"
15924 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15925 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15926 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15927 soname_spec
='${libname}${release}${shared_ext}$major'
15928 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15929 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15933 dynamic_linker
="$host_os dld.sl"
15934 shlibpath_var
=SHLIB_PATH
15935 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15936 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15937 soname_spec
='${libname}${release}${shared_ext}$major'
15940 # HP-UX runs *really* slowly unless shared libraries are mode 555.
15941 postinstall_cmds
='chmod 555 $lib'
15948 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15949 soname_spec
='${libname}${release}${shared_ext}$major'
15950 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15951 shlibpath_var
=LD_LIBRARY_PATH
15952 shlibpath_overrides_runpath
=no
15953 hardcode_into_libs
=yes
15956 irix5
* | irix6
* | nonstopux
*)
15958 nonstopux
*) version_type
=nonstopux
;;
15960 if test "$lt_cv_prog_gnu_ld" = yes; then
15968 soname_spec
='${libname}${release}${shared_ext}$major'
15969 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15971 irix5
* | nonstopux
*)
15972 libsuff
= shlibsuff
=
15975 case $LD in # libtool.m4 will add one of these switches to LD
15976 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15977 libsuff
= shlibsuff
= libmagic
=32-bit;;
15978 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15979 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15980 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15981 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15982 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15986 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15987 shlibpath_overrides_runpath
=no
15988 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15989 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15990 hardcode_into_libs
=yes
15993 # No shared lib support for Linux oldld, aout, or coff.
15994 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15998 # This must be Linux ELF.
15999 linux
* | k
*bsd
*-gnu)
16003 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16004 soname_spec
='${libname}${release}${shared_ext}$major'
16005 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16006 shlibpath_var
=LD_LIBRARY_PATH
16007 shlibpath_overrides_runpath
=no
16008 # Some binutils ld are patched to set DT_RUNPATH
16009 save_LDFLAGS
=$LDFLAGS
16010 save_libdir
=$libdir
16011 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16012 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16013 cat >conftest.
$ac_ext <<_ACEOF
16016 cat confdefs.h
>>conftest.
$ac_ext
16017 cat >>conftest.
$ac_ext <<_ACEOF
16018 /* end confdefs.h. */
16028 rm -f conftest.
$ac_objext conftest
$ac_exeext
16029 if { (ac_try
="$ac_link"
16030 case "(($ac_try" in
16031 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16032 *) ac_try_echo=$ac_try;;
16034 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16035 $as_echo "$ac_try_echo") >&5
16036 (eval "$ac_link") 2>conftest.er1
16038 grep -v '^ *+' conftest.er1 >conftest.err
16040 cat conftest.err >&5
16041 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16042 (exit $ac_status); } && {
16043 test -z "$ac_cxx_werror_flag" ||
16044 test ! -s conftest.err
16045 } && test -s conftest$ac_exeext && {
16046 test "$cross_compiling" = yes ||
16047 $as_test_x conftest$ac_exeext
16049 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
16050 shlibpath_overrides_runpath=yes
16054 $as_echo "$as_me: failed program was:" >&5
16055 sed 's/^/| /' conftest.$ac_ext >&5
16060 rm -rf conftest.dSYM
16061 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16062 conftest$ac_exeext conftest.$ac_ext
16063 LDFLAGS=$save_LDFLAGS
16064 libdir=$save_libdir
16066 # This implies no fast_install, which is unacceptable.
16067 # Some rework will be needed to allow for fast_install
16068 # before this can be enabled.
16069 hardcode_into_libs=yes
16071 # Add ABI-specific directories to the system library path.
16072 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
16074 # Append ld.so.conf contents to the search path
16075 if test -f /etc/ld.so.conf; then
16076 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' ' '`
16077 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
16080 # We used to test for /lib/ld.so.1 and disable shared libraries on
16081 # powerpc, because MkLinux only supported shared libraries with the
16082 # GNU dynamic linker. Since this was broken with cross compilers,
16083 # most powerpc-linux boxes support dynamic linking these days and
16084 # people can always --disable-shared, the test was removed, and we
16085 # assume the GNU/Linux dynamic linker is in use.
16086 dynamic_linker='GNU/Linux ld.so'
16093 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16094 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16095 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16096 dynamic_linker='NetBSD (a.out) ld.so'
16098 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16099 soname_spec='${libname}${release}${shared_ext}$major'
16100 dynamic_linker='NetBSD ld.elf_so'
16102 shlibpath_var=LD_LIBRARY_PATH
16103 shlibpath_overrides_runpath=yes
16104 hardcode_into_libs=yes
16109 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16110 shlibpath_var=LD_LIBRARY_PATH
16111 shlibpath_overrides_runpath=yes
16118 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16119 soname_spec='${libname}${release}${shared_ext}$major'
16120 shlibpath_var=LD_LIBRARY_PATH
16121 shlibpath_overrides_runpath=no
16122 hardcode_into_libs=yes
16123 dynamic_linker='ldqnx.so'
16128 sys_lib_dlsearch_path_spec="/usr/lib"
16130 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16132 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
16133 *) need_version=no ;;
16135 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16136 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16137 shlibpath_var=LD_LIBRARY_PATH
16138 if test -z "`echo __ELF__ |
$CC -E - |
$GREP __ELF__
`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16140 openbsd2.[89] | openbsd2.[89].*)
16141 shlibpath_overrides_runpath=no
16144 shlibpath_overrides_runpath=yes
16148 shlibpath_overrides_runpath=yes
16153 libname_spec='$name'
16156 library_names_spec='$libname${shared_ext} $libname.a'
16157 dynamic_linker='OS/2 ld.exe'
16158 shlibpath_var=LIBPATH
16161 osf3* | osf4* | osf5*)
16165 soname_spec='${libname}${release}${shared_ext}$major'
16166 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16167 shlibpath_var=LD_LIBRARY_PATH
16168 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16169 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16180 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16181 soname_spec='${libname}${release}${shared_ext}$major'
16182 shlibpath_var=LD_LIBRARY_PATH
16183 shlibpath_overrides_runpath=yes
16184 hardcode_into_libs=yes
16185 # ldd complains unless libraries are executable
16186 postinstall_cmds='chmod +x $lib'
16191 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16192 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16193 shlibpath_var=LD_LIBRARY_PATH
16194 shlibpath_overrides_runpath=yes
16195 if test "$with_gnu_ld" = yes; then
16203 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16204 soname_spec='${libname}${release}${shared_ext}$major'
16205 shlibpath_var=LD_LIBRARY_PATH
16206 case $host_vendor in
16208 shlibpath_overrides_runpath=no
16210 runpath_var=LD_RUN_PATH
16218 shlibpath_overrides_runpath=no
16219 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16225 if test -d /usr/nec ;then
16227 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16228 soname_spec='$libname${shared_ext}.$major'
16229 shlibpath_var=LD_LIBRARY_PATH
16233 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16234 version_type=freebsd-elf
16237 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16238 soname_spec='${libname}${release}${shared_ext}$major'
16239 shlibpath_var=LD_LIBRARY_PATH
16240 shlibpath_overrides_runpath=yes
16241 hardcode_into_libs=yes
16242 if test "$with_gnu_ld" = yes; then
16243 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16245 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16248 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16252 sys_lib_dlsearch_path_spec='/usr/lib'
16256 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16260 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16261 shlibpath_var=LD_LIBRARY_PATH
16262 shlibpath_overrides_runpath=no
16263 hardcode_into_libs=yes
16268 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16269 soname_spec='${libname}${release}${shared_ext}$major'
16270 shlibpath_var=LD_LIBRARY_PATH
16277 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16278 $as_echo "$dynamic_linker" >&6; }
16279 test "$dynamic_linker" = no && can_build_shared=no
16281 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16282 if test "$GCC" = yes; then
16283 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16286 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16287 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
16289 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16290 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
16328 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16329 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16330 hardcode_action_CXX=
16331 if test -n "$hardcode_libdir_flag_spec_CXX" ||
16332 test -n "$runpath_var_CXX" ||
16333 test "X$hardcode_automatic_CXX" = "Xyes" ; then
16335 # We can hardcode non-existent directories.
16336 if test "$hardcode_direct_CXX" != no &&
16337 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16338 # have to relink, otherwise we might link with an installed library
16339 # when we should be linking with a yet-to-be-installed one
16340 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
16341 test "$hardcode_minus_L_CXX" != no; then
16342 # Linking always hardcodes the temporary library directory.
16343 hardcode_action_CXX=relink
16345 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16346 hardcode_action_CXX=immediate
16349 # We cannot hardcode anything, or else we can only hardcode existing
16351 hardcode_action_CXX=unsupported
16353 { $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
16354 $as_echo "$hardcode_action_CXX" >&6; }
16356 if test "$hardcode_action_CXX" = relink ||
16357 test "$inherit_rpath_CXX" = yes; then
16358 # Fast installation is not supported
16359 enable_fast_install=no
16360 elif test "$shlibpath_overrides_runpath" = yes ||
16361 test "$enable_shared" = no; then
16362 # Fast installation is not necessary
16363 enable_fast_install=needless
16372 fi # test -n "$compiler"
16378 with_gnu_ld=$lt_save_with_gnu_ld
16379 lt_cv_path_LDCXX=$lt_cv_path_LD
16380 lt_cv_path_LD=$lt_save_path_LD
16381 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
16382 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
16383 fi # test "$_lt_caught_CXX_error" != yes
16386 ac_cpp='$CPP $CPPFLAGS'
16387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16403 ac_config_commands="$ac_config_commands libtool"
16408 # Only expand once:
16414 { $as_echo "$as_me:$LINENO: checking for gdbm_open in -lgdbm" >&5
16415 $as_echo_n "checking for gdbm_open in -lgdbm... " >&6; }
16416 if test "${ac_cv_lib_gdbm_gdbm_open+set}" = set; then
16417 $as_echo_n "(cached) " >&6
16419 ac_check_lib_save_LIBS=$LIBS
16420 LIBS="-lgdbm $LIBS"
16421 cat >conftest.$ac_ext <<_ACEOF
16424 cat confdefs.h >>conftest.$ac_ext
16425 cat >>conftest.$ac_ext <<_ACEOF
16426 /* end confdefs.h. */
16428 /* Override any GCC internal prototype to avoid an error.
16429 Use char because int might match the return type of a GCC
16430 builtin and then its argument prototype would still apply. */
16438 return gdbm_open ();
16443 rm -f conftest.$ac_objext conftest$ac_exeext
16444 if { (ac_try="$ac_link"
16445 case "(($ac_try" in
16446 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16447 *) ac_try_echo
=$ac_try;;
16449 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
16450 $as_echo "$ac_try_echo") >&5
16451 (eval "$ac_link") 2>conftest.er1
16453 grep -v '^ *+' conftest.er1
>conftest.err
16455 cat conftest.err
>&5
16456 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16457 (exit $ac_status); } && {
16458 test -z "$ac_c_werror_flag" ||
16459 test ! -s conftest.err
16460 } && test -s conftest
$ac_exeext && {
16461 test "$cross_compiling" = yes ||
16462 $as_test_x conftest
$ac_exeext
16464 ac_cv_lib_gdbm_gdbm_open
=yes
16466 $as_echo "$as_me: failed program was:" >&5
16467 sed 's/^/| /' conftest.
$ac_ext >&5
16469 ac_cv_lib_gdbm_gdbm_open
=no
16472 rm -rf conftest.dSYM
16473 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16474 conftest
$ac_exeext conftest.
$ac_ext
16475 LIBS
=$ac_check_lib_save_LIBS
16477 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gdbm_gdbm_open" >&5
16478 $as_echo "$ac_cv_lib_gdbm_gdbm_open" >&6; }
16479 if test "x$ac_cv_lib_gdbm_gdbm_open" = x
""yes; then
16480 LIBGDBM
=-lgdbm ; LIBS
="-lgdbm $LIBS"
16484 { $as_echo "$as_me:$LINENO: checking for gdbm_open" >&5
16485 $as_echo_n "checking for gdbm_open... " >&6; }
16486 if test "${ac_cv_func_gdbm_open+set}" = set; then
16487 $as_echo_n "(cached) " >&6
16489 cat >conftest.
$ac_ext <<_ACEOF
16492 cat confdefs.h
>>conftest.
$ac_ext
16493 cat >>conftest.
$ac_ext <<_ACEOF
16494 /* end confdefs.h. */
16495 /* Define gdbm_open to an innocuous variant, in case <limits.h> declares gdbm_open.
16496 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16497 #define gdbm_open innocuous_gdbm_open
16499 /* System header to define __stub macros and hopefully few prototypes,
16500 which can conflict with char gdbm_open (); below.
16501 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16502 <limits.h> exists even on freestanding compilers. */
16505 # include <limits.h>
16507 # include <assert.h>
16512 /* Override any GCC internal prototype to avoid an error.
16513 Use char because int might match the return type of a GCC
16514 builtin and then its argument prototype would still apply. */
16519 /* The GNU C library defines this for functions which it implements
16520 to always fail with ENOSYS. Some functions are actually named
16521 something starting with __ and the normal name is an alias. */
16522 #if defined __stub_gdbm_open || defined __stub___gdbm_open
16529 return gdbm_open ();
16534 rm -f conftest.
$ac_objext conftest
$ac_exeext
16535 if { (ac_try
="$ac_link"
16536 case "(($ac_try" in
16537 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16538 *) ac_try_echo=$ac_try;;
16540 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16541 $as_echo "$ac_try_echo") >&5
16542 (eval "$ac_link") 2>conftest.er1
16544 grep -v '^ *+' conftest.er1 >conftest.err
16546 cat conftest.err >&5
16547 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16548 (exit $ac_status); } && {
16549 test -z "$ac_c_werror_flag" ||
16550 test ! -s conftest.err
16551 } && test -s conftest$ac_exeext && {
16552 test "$cross_compiling" = yes ||
16553 $as_test_x conftest$ac_exeext
16555 ac_cv_func_gdbm_open=yes
16557 $as_echo "$as_me: failed program was:" >&5
16558 sed 's/^/| /' conftest.$ac_ext >&5
16560 ac_cv_func_gdbm_open=no
16563 rm -rf conftest.dSYM
16564 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16565 conftest$ac_exeext conftest.$ac_ext
16567 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_gdbm_open" >&5
16568 $as_echo "$ac_cv_func_gdbm_open" >&6; }
16569 if test "x$ac_cv_func_gdbm_open" = x""yes; then
16576 if test "$FOUND_GDBM" = 1
16579 for ac_func in gdbm_fdesc
16581 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
16582 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
16583 $as_echo_n "checking for $ac_func... " >&6; }
16584 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16585 $as_echo_n "(cached) " >&6
16587 cat >conftest.$ac_ext <<_ACEOF
16590 cat confdefs.h >>conftest.$ac_ext
16591 cat >>conftest.$ac_ext <<_ACEOF
16592 /* end confdefs.h. */
16593 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16594 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16595 #define $ac_func innocuous_$ac_func
16597 /* System header to define __stub macros and hopefully few prototypes,
16598 which can conflict with char $ac_func (); below.
16599 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16600 <limits.h> exists even on freestanding compilers. */
16603 # include <limits.h>
16605 # include <assert.h>
16610 /* Override any GCC internal prototype to avoid an error.
16611 Use char because int might match the return type of a GCC
16612 builtin and then its argument prototype would still apply. */
16617 /* The GNU C library defines this for functions which it implements
16618 to always fail with ENOSYS. Some functions are actually named
16619 something starting with __ and the normal name is an alias. */
16620 #if defined __stub_$ac_func || defined __stub___$ac_func
16627 return $ac_func ();
16632 rm -f conftest.$ac_objext conftest$ac_exeext
16633 if { (ac_try="$ac_link"
16634 case "(($ac_try" in
16635 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16636 *) ac_try_echo
=$ac_try;;
16638 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
16639 $as_echo "$ac_try_echo") >&5
16640 (eval "$ac_link") 2>conftest.er1
16642 grep -v '^ *+' conftest.er1
>conftest.err
16644 cat conftest.err
>&5
16645 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16646 (exit $ac_status); } && {
16647 test -z "$ac_c_werror_flag" ||
16648 test ! -s conftest.err
16649 } && test -s conftest
$ac_exeext && {
16650 test "$cross_compiling" = yes ||
16651 $as_test_x conftest
$ac_exeext
16653 eval "$as_ac_var=yes"
16655 $as_echo "$as_me: failed program was:" >&5
16656 sed 's/^/| /' conftest.
$ac_ext >&5
16658 eval "$as_ac_var=no"
16661 rm -rf conftest.dSYM
16662 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16663 conftest
$ac_exeext conftest.
$ac_ext
16665 ac_res
=`eval 'as_val=${'$as_ac_var'}
16666 $as_echo "$as_val"'`
16667 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16668 $as_echo "$ac_res" >&6; }
16669 as_val
=`eval 'as_val=${'$as_ac_var'}
16670 $as_echo "$as_val"'`
16671 if test "x$as_val" = x
""yes; then
16672 cat >>confdefs.h
<<_ACEOF
16673 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16682 for ac_header
in unistd.h fcntl.h
16684 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16685 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16686 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
16687 $as_echo_n "checking for $ac_header... " >&6; }
16688 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16689 $as_echo_n "(cached) " >&6
16691 ac_res
=`eval 'as_val=${'$as_ac_Header'}
16692 $as_echo "$as_val"'`
16693 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16694 $as_echo "$ac_res" >&6; }
16696 # Is the header compilable?
16697 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
16698 $as_echo_n "checking $ac_header usability... " >&6; }
16699 cat >conftest.
$ac_ext <<_ACEOF
16702 cat confdefs.h
>>conftest.
$ac_ext
16703 cat >>conftest.
$ac_ext <<_ACEOF
16704 /* end confdefs.h. */
16705 $ac_includes_default
16706 #include <$ac_header>
16708 rm -f conftest.
$ac_objext
16709 if { (ac_try
="$ac_compile"
16710 case "(($ac_try" in
16711 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16712 *) ac_try_echo=$ac_try;;
16714 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16715 $as_echo "$ac_try_echo") >&5
16716 (eval "$ac_compile") 2>conftest.er1
16718 grep -v '^ *+' conftest.er1 >conftest.err
16720 cat conftest.err >&5
16721 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16722 (exit $ac_status); } && {
16723 test -z "$ac_c_werror_flag" ||
16724 test ! -s conftest.err
16725 } && test -s conftest.$ac_objext; then
16726 ac_header_compiler=yes
16728 $as_echo "$as_me: failed program was:" >&5
16729 sed 's/^/| /' conftest.$ac_ext >&5
16731 ac_header_compiler=no
16734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16735 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16736 $as_echo "$ac_header_compiler" >&6; }
16738 # Is the header present?
16739 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
16740 $as_echo_n "checking $ac_header presence... " >&6; }
16741 cat >conftest.$ac_ext <<_ACEOF
16744 cat confdefs.h >>conftest.$ac_ext
16745 cat >>conftest.$ac_ext <<_ACEOF
16746 /* end confdefs.h. */
16747 #include <$ac_header>
16749 if { (ac_try="$ac_cpp conftest.$ac_ext"
16750 case "(($ac_try" in
16751 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16752 *) ac_try_echo
=$ac_try;;
16754 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
16755 $as_echo "$ac_try_echo") >&5
16756 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16758 grep -v '^ *+' conftest.er1
>conftest.err
16760 cat conftest.err
>&5
16761 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16762 (exit $ac_status); } >/dev
/null
&& {
16763 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16764 test ! -s conftest.err
16766 ac_header_preproc
=yes
16768 $as_echo "$as_me: failed program was:" >&5
16769 sed 's/^/| /' conftest.
$ac_ext >&5
16771 ac_header_preproc
=no
16774 rm -f conftest.err conftest.
$ac_ext
16775 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16776 $as_echo "$ac_header_preproc" >&6; }
16778 # So? What about this header?
16779 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16781 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16782 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16783 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16784 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16785 ac_header_preproc
=yes
16788 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16789 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16790 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16791 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16792 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16793 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16794 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16795 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16796 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16797 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16798 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16799 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16801 ## -------------------------------------------------- ##
16802 ## Report this to courier-users@lists.sourceforge.net ##
16803 ## -------------------------------------------------- ##
16805 ) |
sed "s/^/$as_me: WARNING: /" >&2
16808 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
16809 $as_echo_n "checking for $ac_header... " >&6; }
16810 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16811 $as_echo_n "(cached) " >&6
16813 eval "$as_ac_Header=\$ac_header_preproc"
16815 ac_res
=`eval 'as_val=${'$as_ac_Header'}
16816 $as_echo "$as_val"'`
16817 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16818 $as_echo "$ac_res" >&6; }
16821 as_val
=`eval 'as_val=${'$as_ac_Header'}
16822 $as_echo "$as_val"'`
16823 if test "x$as_val" = x
""yes; then
16824 cat >>confdefs.h
<<_ACEOF
16825 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16837 if test "$FOUND_GDBM" = 1; then
16839 FOUND_GDBM_FALSE
='#'
16841 FOUND_GDBM_TRUE
='#'
16847 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16848 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
16849 if test "${ac_cv_c_const+set}" = set; then
16850 $as_echo_n "(cached) " >&6
16852 cat >conftest.
$ac_ext <<_ACEOF
16855 cat confdefs.h
>>conftest.
$ac_ext
16856 cat >>conftest.
$ac_ext <<_ACEOF
16857 /* end confdefs.h. */
16862 /* FIXME: Include the comments suggested by Paul. */
16863 #ifndef __cplusplus
16864 /* Ultrix mips cc rejects this. */
16865 typedef int charset[2];
16867 /* SunOS 4.1.1 cc rejects this. */
16868 char const *const *pcpcc;
16870 /* NEC SVR4.0.2 mips cc rejects this. */
16871 struct point {int x, y;};
16872 static struct point const zero = {0,0};
16873 /* AIX XL C 1.02.0.0 rejects this.
16874 It does not let you subtract one const X* pointer from another in
16875 an arm of an if-expression whose if-part is not a constant
16877 const char *g = "string";
16878 pcpcc = &g + (g ? g-g : 0);
16879 /* HPUX 7.0 cc rejects these. */
16881 ppc = (char**) pcpcc;
16882 pcpcc = (char const *const *) ppc;
16883 { /* SCO 3.2v4 cc rejects this. */
16885 char const *s = 0 ? (char *) 0 : (char const *) 0;
16890 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16891 int x[] = {25, 17};
16892 const int *foo = &x[0];
16895 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16896 typedef const int *iptr;
16900 { /* AIX XL C 1.02.0.0 rejects this saying
16901 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16902 struct s { int j; const int *ap[3]; };
16903 struct s *b; b->j = 5;
16905 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16906 const int foo = 10;
16907 if (!foo) return 0;
16909 return !cs[0] && !zero.x;
16916 rm -f conftest.
$ac_objext
16917 if { (ac_try
="$ac_compile"
16918 case "(($ac_try" in
16919 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16920 *) ac_try_echo=$ac_try;;
16922 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16923 $as_echo "$ac_try_echo") >&5
16924 (eval "$ac_compile") 2>conftest.er1
16926 grep -v '^ *+' conftest.er1 >conftest.err
16928 cat conftest.err >&5
16929 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16930 (exit $ac_status); } && {
16931 test -z "$ac_c_werror_flag" ||
16932 test ! -s conftest.err
16933 } && test -s conftest.$ac_objext; then
16936 $as_echo "$as_me: failed program was:" >&5
16937 sed 's/^/| /' conftest.$ac_ext >&5
16942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16944 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16945 $as_echo "$ac_cv_c_const" >&6; }
16946 if test $ac_cv_c_const = no; then
16948 cat >>confdefs.h <<\_ACEOF
16954 { $as_echo "$as_me:$LINENO: checking for size_t" >&5
16955 $as_echo_n "checking for size_t... " >&6; }
16956 if test "${ac_cv_type_size_t+set}" = set; then
16957 $as_echo_n "(cached) " >&6
16959 ac_cv_type_size_t=no
16960 cat >conftest.$ac_ext <<_ACEOF
16963 cat confdefs.h >>conftest.$ac_ext
16964 cat >>conftest.$ac_ext <<_ACEOF
16965 /* end confdefs.h. */
16966 $ac_includes_default
16970 if (sizeof (size_t))
16976 rm -f conftest.$ac_objext
16977 if { (ac_try="$ac_compile"
16978 case "(($ac_try" in
16979 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16980 *) ac_try_echo
=$ac_try;;
16982 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
16983 $as_echo "$ac_try_echo") >&5
16984 (eval "$ac_compile") 2>conftest.er1
16986 grep -v '^ *+' conftest.er1
>conftest.err
16988 cat conftest.err
>&5
16989 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16990 (exit $ac_status); } && {
16991 test -z "$ac_c_werror_flag" ||
16992 test ! -s conftest.err
16993 } && test -s conftest.
$ac_objext; then
16994 cat >conftest.
$ac_ext <<_ACEOF
16997 cat confdefs.h
>>conftest.
$ac_ext
16998 cat >>conftest.
$ac_ext <<_ACEOF
16999 /* end confdefs.h. */
17000 $ac_includes_default
17004 if (sizeof ((size_t)))
17010 rm -f conftest.
$ac_objext
17011 if { (ac_try
="$ac_compile"
17012 case "(($ac_try" in
17013 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17014 *) ac_try_echo=$ac_try;;
17016 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17017 $as_echo "$ac_try_echo") >&5
17018 (eval "$ac_compile") 2>conftest.er1
17020 grep -v '^ *+' conftest.er1 >conftest.err
17022 cat conftest.err >&5
17023 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17024 (exit $ac_status); } && {
17025 test -z "$ac_c_werror_flag" ||
17026 test ! -s conftest.err
17027 } && test -s conftest.$ac_objext; then
17030 $as_echo "$as_me: failed program was:" >&5
17031 sed 's/^/| /' conftest.$ac_ext >&5
17033 ac_cv_type_size_t=yes
17036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17038 $as_echo "$as_me: failed program was:" >&5
17039 sed 's/^/| /' conftest.$ac_ext >&5
17044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17046 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17047 $as_echo "$ac_cv_type_size_t" >&6; }
17048 if test "x$ac_cv_type_size_t" = x""yes; then
17052 cat >>confdefs.h <<_ACEOF
17053 #define size_t unsigned int
17061 ac_cpp='$CXXCPP $CPPFLAGS'
17062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17066 { $as_echo "$as_me:$LINENO: checking if the C++ compiler needs -fhandle-exceptions" >&5
17067 $as_echo_n "checking if the C++ compiler needs -fhandle-exceptions... " >&6; }
17068 if test "${ac_cv_need_handlexceptions+set}" = set; then
17069 $as_echo_n "(cached) " >&6
17071 cat >conftest.$ac_ext <<_ACEOF
17074 cat confdefs.h >>conftest.$ac_ext
17075 cat >>conftest.$ac_ext <<_ACEOF
17076 /* end confdefs.h. */
17088 rm -f conftest.$ac_objext
17089 if { (ac_try="$ac_compile"
17090 case "(($ac_try" in
17091 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17092 *) ac_try_echo
=$ac_try;;
17094 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
17095 $as_echo "$ac_try_echo") >&5
17096 (eval "$ac_compile") 2>conftest.er1
17098 grep -v '^ *+' conftest.er1
>conftest.err
17100 cat conftest.err
>&5
17101 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17102 (exit $ac_status); } && {
17103 test -z "$ac_cxx_werror_flag" ||
17104 test ! -s conftest.err
17105 } && test -s conftest.
$ac_objext; then
17106 ac_cv_need_handlexceptions
=no
17108 $as_echo "$as_me: failed program was:" >&5
17109 sed 's/^/| /' conftest.
$ac_ext >&5
17111 ac_cv_need_handlexceptions
=yes
17114 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17117 { $as_echo "$as_me:$LINENO: result: $ac_cv_need_handlexceptions" >&5
17118 $as_echo "$ac_cv_need_handlexceptions" >&6; }
17120 if test "$ac_cv_need_handlexceptions" = "yes"
17122 case "$CXXFLAGS" in
17123 *handle-exceptions
*)
17126 CXXFLAGS
="-fhandle-exceptions $CXXFLAGS"
17127 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-O2//'`
17132 ac_config_files
="$ac_config_files Makefile"
17134 cat >confcache
<<\_ACEOF
17135 # This file is a shell script that caches the results of configure
17136 # tests run on this system so they can be shared between configure
17137 # scripts and configure runs, see configure's option --config-cache.
17138 # It is not useful on other systems. If it contains results you don't
17139 # want to keep, you may remove or edit it.
17141 # config.status only pays attention to the cache file if you give it
17142 # the --recheck option to rerun configure.
17144 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17145 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17146 # following values.
17150 # The following way of writing the cache mishandles newlines in values,
17151 # but we know of no workaround that is simple, portable, and efficient.
17152 # So, we kill variables containing newlines.
17153 # Ultrix sh set writes to stderr and can't be redirected directly,
17154 # and sets the high bit in the cache file unless we assign to the vars.
17156 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17157 eval ac_val
=\$
$ac_var
17161 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
17162 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17165 _ | IFS | as_nl
) ;; #(
17166 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
17167 *) $as_unset $ac_var ;;
17173 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17174 *${as_nl}ac_space
=\
*)
17175 # `set' does not quote correctly, so add quotes (double-quote
17176 # substitution turns \\\\ into \\, and sed turns \\ into \).
17179 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17182 # `set' quotes correctly as required by POSIX, so do not add quotes.
17183 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17192 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17194 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17196 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
17197 if test -w "$cache_file"; then
17198 test "x$cache_file" != "x/dev/null" &&
17199 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
17200 $as_echo "$as_me: updating cache $cache_file" >&6;}
17201 cat confcache
>$cache_file
17203 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
17204 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17209 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17210 # Let make expand exec_prefix.
17211 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17213 DEFS
=-DHAVE_CONFIG_H
17217 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
17218 # 1. Remove the extension, and $U if already installed.
17219 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
17220 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
17221 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17222 # will be set to the directory where LIBOBJS objects are built.
17223 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17224 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
17226 LIBOBJS
=$ac_libobjs
17228 LTLIBOBJS
=$ac_ltlibobjs
17231 if test -n "$EXEEXT"; then
17233 am__EXEEXT_FALSE
='#'
17235 am__EXEEXT_TRUE
='#'
17239 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17240 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
17241 Usually this means the macro was only invoked conditionally." >&5
17242 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
17243 Usually this means the macro was only invoked conditionally." >&2;}
17244 { (exit 1); exit 1; }; }
17246 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17247 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
17248 Usually this means the macro was only invoked conditionally." >&5
17249 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
17250 Usually this means the macro was only invoked conditionally." >&2;}
17251 { (exit 1); exit 1; }; }
17253 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17254 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
17255 Usually this means the macro was only invoked conditionally." >&5
17256 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
17257 Usually this means the macro was only invoked conditionally." >&2;}
17258 { (exit 1); exit 1; }; }
17260 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
17261 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
17262 Usually this means the macro was only invoked conditionally." >&5
17263 $as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
17264 Usually this means the macro was only invoked conditionally." >&2;}
17265 { (exit 1); exit 1; }; }
17267 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
17268 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
17269 Usually this means the macro was only invoked conditionally." >&5
17270 $as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
17271 Usually this means the macro was only invoked conditionally." >&2;}
17272 { (exit 1); exit 1; }; }
17274 if test -z "${FOUND_GDBM_TRUE}" && test -z "${FOUND_GDBM_FALSE}"; then
17275 { { $as_echo "$as_me:$LINENO: error: conditional \"FOUND_GDBM\" was never defined.
17276 Usually this means the macro was only invoked conditionally." >&5
17277 $as_echo "$as_me: error: conditional \"FOUND_GDBM\" was never defined.
17278 Usually this means the macro was only invoked conditionally." >&2;}
17279 { (exit 1); exit 1; }; }
17282 : ${CONFIG_STATUS=./config.status}
17284 ac_clean_files_save
=$ac_clean_files
17285 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
17286 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
17287 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17288 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17290 # Generated by $as_me.
17291 # Run this file to recreate the current configuration.
17292 # Compiler output produced by configure, useful for debugging
17293 # configure, is in config.log if it exists.
17296 ac_cs_recheck=false
17298 SHELL=\${CONFIG_SHELL-$SHELL}
17301 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17302 ## --------------------- ##
17303 ## M4sh Initialization. ##
17304 ## --------------------- ##
17306 # Be more Bourne compatible
17307 DUALCASE
=1; export DUALCASE
# for MKS sh
17308 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
17311 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17312 # is contrary to our usage. Disable this feature.
17313 alias -g '${1+"$@"}'='"$@"'
17314 setopt NO_GLOB_SUBST
17316 case `(set -o) 2>/dev/null` in
17317 *posix
*) set -o posix
;;
17326 # Avoid depending upon Character Ranges.
17327 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
17328 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17329 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
17330 as_cr_digits
='0123456789'
17331 as_cr_alnum
=$as_cr_Letters$as_cr_digits
17336 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17337 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17338 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17339 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17340 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17341 as_echo='printf %s
\n'
17342 as_echo_n='printf %s
'
17344 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17345 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
17346 as_echo_n='/usr
/ucb
/echo -n'
17348 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17349 as_echo_n_body='eval
17353 expr "X$arg" : "X\\(.*\\)$as_nl";
17354 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17356 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
17358 export as_echo_n_body
17359 as_echo_n='sh
-c $as_echo_n_body as_echo
'
17361 export as_echo_body
17362 as_echo='sh
-c $as_echo_body as_echo
'
17365 # The user is always right.
17366 if test "${PATH_SEPARATOR+set}" != set; then
17368 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17369 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17374 # Support unset when possible.
17375 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
17383 # We need space, tab and new line, in precisely that order. Quoting is
17384 # there to prevent editors from complaining about space-tab.
17385 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17386 # splitting by setting IFS to empty value.)
17389 # Find who we are. Look in the path if we contain no directory separator.
17391 *[\\/]* ) as_myself=$0 ;;
17392 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17393 for as_dir in $PATH
17396 test -z "$as_dir" && as_dir=.
17397 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17403 # We did not find ourselves, most probably we were run as `sh COMMAND'
17404 # in which case we are not to be found in the path.
17405 if test "x$as_myself" = x
; then
17408 if test ! -f "$as_myself"; then
17409 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17410 { (exit 1); exit 1; }
17413 # Work around bugs in pre-3.0 UWIN ksh.
17414 for as_var
in ENV MAIL MAILPATH
17415 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
17427 # Required to use basename.
17428 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
17429 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
17435 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17436 as_basename
=basename
17442 # Name of the executable.
17443 as_me
=`$as_basename -- "$0" ||
17444 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17445 X"$0" : 'X\(//\)$' \| \
17446 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17448 sed '/^.*\/\([^/][^/]*\)\/*$/{
17467 as_lineno_1
=$LINENO
17468 as_lineno_2
=$LINENO
17469 test "x$as_lineno_1" != "x$as_lineno_2" &&
17470 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
17472 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
17473 # uniformly replaced by the line number. The first 'sed' inserts a
17474 # line-number line after each line using $LINENO; the second 'sed'
17475 # does the real work. The second script uses 'N' to pair each
17476 # line-number line with the line containing $LINENO, and appends
17477 # trailing '-' during substitution so that $LINENO is not a special
17478 # case at line end.
17479 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
17480 # scripts with optimization help from Paolo Bonzini. Blame Lee
17481 # E. McMahon (1931-1989) for sed's syntax. :-)
17493 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
17496 ' >$as_me.lineno
&&
17497 chmod +x
"$as_me.lineno" ||
17498 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
17499 { (exit 1); exit 1; }; }
17501 # Don't try to exec as it changes $[0], causing all sort of problems
17502 # (the dirname of $[0] is not the place where we might find the
17503 # original and so on. Autoconf is especially sensitive to this).
17504 .
"./$as_me.lineno"
17505 # Exit status is that of the last command.
17510 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
17516 ECHO_C
= ECHO_N
= ECHO_T
=
17517 case `echo -n x` in
17519 case `echo 'x\c'` in
17520 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
17526 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
17527 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
17533 rm -f conf$$ conf$$.exe conf$$.
file
17534 if test -d conf$$.dir
; then
17535 rm -f conf$$.dir
/conf$$.
file
17538 mkdir conf$$.dir
2>/dev
/null
17540 if (echo >conf$$.
file) 2>/dev
/null
; then
17541 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
17543 # ... but there are two gotchas:
17544 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17545 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17546 # In both cases, we have to default to `cp -p'.
17547 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
17549 elif ln conf$$.
file conf$$
2>/dev
/null
; then
17557 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
17558 rmdir conf$$.dir
2>/dev
/null
17560 if mkdir
-p .
2>/dev
/null
; then
17563 test -d .
/-p && rmdir .
/-p
17567 if test -x / >/dev
/null
2>&1; then
17568 as_test_x
='test -x'
17570 if ls -dL / >/dev
/null
2>&1; then
17577 if test -d "$1"; then
17583 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
17584 ???[sx]*):;;*)false;;esac;fi
17588 as_executable_p
=$as_test_x
17590 # Sed expression to map a string onto a valid CPP name.
17591 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17593 # Sed expression to map a string onto a valid variable name.
17594 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17599 # Save the log message, to keep $[0] and so on meaningful, and to
17600 # report actual input values of CONFIG_FILES etc. instead of their
17601 # values after options handling.
17603 This file was extended by gdbmobj $as_me 0.10, which was
17604 generated by GNU Autoconf 2.63. Invocation command line was
17606 CONFIG_FILES = $CONFIG_FILES
17607 CONFIG_HEADERS = $CONFIG_HEADERS
17608 CONFIG_LINKS = $CONFIG_LINKS
17609 CONFIG_COMMANDS = $CONFIG_COMMANDS
17612 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17617 case $ac_config_files in *"
17618 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
17621 case $ac_config_headers in *"
17622 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
17626 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17627 # Files that config.status was made for.
17628 config_files="$ac_config_files"
17629 config_headers="$ac_config_headers"
17630 config_commands="$ac_config_commands"
17634 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17636 \`$as_me' instantiates files from templates according to the
17637 current configuration.
17639 Usage: $0 [OPTION]... [FILE]...
17641 -h, --help print this help, then exit
17642 -V, --version print version number and configuration settings, then exit
17643 -q, --quiet, --silent
17644 do not print progress messages
17645 -d, --debug don't remove temporary files
17646 --recheck update $as_me by reconfiguring in the same conditions
17647 --file=FILE[:TEMPLATE]
17648 instantiate the configuration file FILE
17649 --header=FILE[:TEMPLATE]
17650 instantiate the configuration header FILE
17652 Configuration files:
17655 Configuration headers:
17658 Configuration commands:
17661 Report bugs to <bug-autoconf@gnu.org>."
17664 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17666 gdbmobj config.status 0.10
17667 configured by $0, generated by GNU Autoconf 2.63,
17668 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
17670 Copyright (C) 2008 Free Software Foundation, Inc.
17671 This config.status script is free software; the Free Software Foundation
17672 gives unlimited permission to copy, distribute and modify it."
17679 test -n "\$AWK" || AWK=awk
17682 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17683 # The default lists apply if the user does not specify any file.
17689 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17690 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
17701 # Handling of the options.
17702 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
17704 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
17705 $as_echo "$ac_cs_version"; exit ;;
17706 --debug |
--debu |
--deb |
--de |
--d |
-d )
17708 --file |
--fil |
--fi |
--f )
17711 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17713 CONFIG_FILES
="$CONFIG_FILES '$ac_optarg'"
17714 ac_need_defaults
=false
;;
17715 --header |
--heade |
--head |
--hea )
17718 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17720 CONFIG_HEADERS
="$CONFIG_HEADERS '$ac_optarg'"
17721 ac_need_defaults
=false
;;
17723 # Conflict between --help and --header
17724 { $as_echo "$as_me: error: ambiguous option: $1
17725 Try \`$0 --help' for more information." >&2
17726 { (exit 1); exit 1; }; };;
17727 --help |
--hel |
-h )
17728 $as_echo "$ac_cs_usage"; exit ;;
17729 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
17730 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
17733 # This is an error.
17734 -*) { $as_echo "$as_me: error: unrecognized option: $1
17735 Try \`$0 --help' for more information." >&2
17736 { (exit 1); exit 1; }; } ;;
17738 *) ac_config_targets
="$ac_config_targets $1"
17739 ac_need_defaults
=false
;;
17745 ac_configure_extra_args
=
17747 if $ac_cs_silent; then
17749 ac_configure_extra_args
="$ac_configure_extra_args --silent"
17753 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17754 if \$ac_cs_recheck; then
17755 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17757 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17758 CONFIG_SHELL='$SHELL'
17759 export CONFIG_SHELL
17764 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17768 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17769 ## Running $as_me. ##
17775 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17779 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17782 # The HP-UX ksh and POSIX shell print the target directory to stdout
17783 # if CDPATH is set.
17784 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17786 sed_quote_subst='$sed_quote_subst'
17787 double_quote_subst='$double_quote_subst'
17788 delay_variable_subst='$delay_variable_subst'
17789 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
17790 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
17791 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
17792 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
17793 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
17794 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
17795 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
17796 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
17797 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
17798 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
17799 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
17800 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
17801 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
17802 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
17803 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
17804 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
17805 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
17806 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
17807 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
17808 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
17809 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
17810 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
17811 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
17812 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
17813 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
17814 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
17815 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
17816 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17817 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
17818 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
17819 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
17820 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
17821 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
17822 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
17823 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
17824 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17825 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17826 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17827 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
17828 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
17829 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
17830 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
17831 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
17832 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
17833 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"`'
17834 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"`'
17835 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
17836 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
17837 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
17838 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
17839 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
17840 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
17841 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
17842 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
17843 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
17844 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
17845 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
17846 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
17847 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
17848 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
17849 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
17850 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
17851 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17852 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17853 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
17854 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
17855 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17856 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17857 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
17858 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17859 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17860 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17861 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17862 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17863 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17864 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
17865 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
17866 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
17867 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17868 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
17869 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
17870 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
17871 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
17872 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
17873 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17874 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
17875 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
17876 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
17877 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
17878 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
17879 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17880 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
17881 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
17882 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17883 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
17884 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
17885 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
17886 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
17887 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
17888 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17889 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17890 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
17891 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
17892 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
17893 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
17894 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17895 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17896 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17897 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
17898 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
17899 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
17900 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
17901 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
17902 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
17903 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
17904 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
17905 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
17906 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
17907 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
17908 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
17909 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
17910 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
17911 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
17912 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
17913 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17914 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17915 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17916 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17917 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17918 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17919 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17920 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17921 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17922 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17923 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17924 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17925 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17926 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17927 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17928 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17929 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17930 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17931 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17932 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17933 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17934 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17935 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17936 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17937 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17938 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17939 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17940 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17941 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17942 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17943 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17944 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17945 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17946 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17947 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17948 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17949 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17950 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17951 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17952 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17953 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17954 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17955 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17956 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17957 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17958 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17959 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17962 LTCFLAGS='$LTCFLAGS'
17963 compiler='$compiler_DEFAULT'
17965 # Quote evaled strings.
17977 deplibs_check_method \
17986 lt_cv_sys_global_symbol_pipe \
17987 lt_cv_sys_global_symbol_to_cdecl \
17988 lt_cv_sys_global_symbol_to_c_name_address \
17989 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17992 lt_prog_compiler_no_builtin_flag \
17993 lt_prog_compiler_wl \
17994 lt_prog_compiler_pic \
17995 lt_prog_compiler_static \
17996 lt_cv_prog_compiler_c_o \
18004 export_dynamic_flag_spec \
18005 whole_archive_flag_spec \
18006 compiler_needs_object \
18008 allow_undefined_flag \
18009 no_undefined_flag \
18010 hardcode_libdir_flag_spec \
18011 hardcode_libdir_flag_spec_ld \
18012 hardcode_libdir_separator \
18017 variables_saved_for_relink \
18019 library_names_spec \
18024 compiler_lib_search_dirs \
18029 compiler_lib_search_path \
18032 lt_prog_compiler_no_builtin_flag_CXX \
18033 lt_prog_compiler_wl_CXX \
18034 lt_prog_compiler_pic_CXX \
18035 lt_prog_compiler_static_CXX \
18036 lt_cv_prog_compiler_c_o_CXX \
18037 export_dynamic_flag_spec_CXX \
18038 whole_archive_flag_spec_CXX \
18039 compiler_needs_object_CXX \
18041 allow_undefined_flag_CXX \
18042 no_undefined_flag_CXX \
18043 hardcode_libdir_flag_spec_CXX \
18044 hardcode_libdir_flag_spec_ld_CXX \
18045 hardcode_libdir_separator_CXX \
18046 fix_srcfile_path_CXX \
18047 exclude_expsyms_CXX \
18048 include_expsyms_CXX \
18049 file_list_spec_CXX \
18050 compiler_lib_search_dirs_CXX \
18051 predep_objects_CXX \
18052 postdep_objects_CXX \
18055 compiler_lib_search_path_CXX; do
18056 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
18057 *[\\\\\\\`\\"\\\$]*)
18058 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
18061 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18066 # Double-quote double-evaled strings.
18067 for var in reload_cmds \
18068 old_postinstall_cmds \
18069 old_postuninstall_cmds \
18071 extract_expsyms_cmds \
18072 old_archive_from_new_cmds \
18073 old_archive_from_expsyms_cmds \
18075 archive_expsym_cmds \
18077 module_expsym_cmds \
18078 export_symbols_cmds \
18081 postuninstall_cmds \
18083 sys_lib_search_path_spec \
18084 sys_lib_dlsearch_path_spec \
18085 old_archive_cmds_CXX \
18086 old_archive_from_new_cmds_CXX \
18087 old_archive_from_expsyms_cmds_CXX \
18089 archive_expsym_cmds_CXX \
18091 module_expsym_cmds_CXX \
18092 export_symbols_cmds_CXX \
18093 prelink_cmds_CXX; do
18094 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
18095 *[\\\\\\\`\\"\\\$]*)
18096 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
18099 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18104 # Fix-up fallback echo if it was mangled by the above quoting rules.
18106 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
18110 ac_aux_dir='$ac_aux_dir'
18111 xsi_shell='$xsi_shell'
18112 lt_shell_append='$lt_shell_append'
18114 # See if we are running on zsh, and set the options which allow our
18115 # commands through without removal of \ escapes INIT.
18116 if test -n "\${ZSH_VERSION+set}" ; then
18117 setopt NO_GLOB_SUBST
18123 TIMESTAMP='$TIMESTAMP'
18134 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18136 # Handling of arguments.
18137 for ac_config_target
in $ac_config_targets
18139 case $ac_config_target in
18140 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
18141 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
18142 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
18143 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
18145 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
18146 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
18147 { (exit 1); exit 1; }; };;
18152 # If the user did not use the arguments to specify the items to instantiate,
18153 # then the envvar interface is used. Set only those that are not.
18154 # We use the long form for the default assignment because of an extremely
18155 # bizarre bug on SunOS 4.1.3.
18156 if $ac_need_defaults; then
18157 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18158 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18159 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18162 # Have a temporary directory for convenience. Make it in the build tree
18163 # simply because there is no reason against having it here, and in addition,
18164 # creating and moving files from /tmp can sometimes cause problems.
18165 # Hook for its removal unless debugging.
18166 # Note that there is a small window in which the directory will not be cleaned:
18167 # after its creation but before its name has been assigned to `$tmp'.
18171 trap 'exit_status=$?
18172 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
18174 trap '{ (exit 1); exit 1; }' 1 2 13 15
18176 # Create a (secure) tmp directory for tmp files.
18179 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18180 test -n "$tmp" && test -d "$tmp"
18183 tmp
=.
/conf$$
-$RANDOM
18184 (umask 077 && mkdir
"$tmp")
18187 $as_echo "$as_me: cannot create a temporary directory in ." >&2
18188 { (exit 1); exit 1; }
18191 # Set up the scripts for CONFIG_FILES section.
18192 # No need to generate them if there are no CONFIG_FILES.
18193 # This happens for instance with `./config.status config.h'.
18194 if test -n "$CONFIG_FILES"; then
18198 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18199 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18202 ac_cs_awk_cr
=$ac_cr
18205 echo 'BEGIN {' >"$tmp/subs1.awk" &&
18210 echo "cat >conf$$subs.awk <<_ACEOF" &&
18211 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18213 } >conf$$subs.sh ||
18214 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
18215 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
18216 { (exit 1); exit 1; }; }
18217 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
18219 for ac_last_try in false false false false false :; do
18220 . ./conf$$subs.sh ||
18221 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
18222 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
18223 { (exit 1); exit 1; }; }
18225 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18226 if test $ac_delim_n = $ac_delim_num; then
18228 elif $ac_last_try; then
18229 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
18230 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
18231 { (exit 1); exit 1; }; }
18233 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18236 rm -f conf$$subs.sh
18238 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18239 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
18243 s/^/S["/; s
/!.
*/"]=/
18253 s/\(.\{148\}\).*/\1/
18255 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18260 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18267 s/\(.\{148\}\).*/\1/
18269 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18273 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18278 ' <conf$$subs.awk | sed '
18283 ' >>$CONFIG_STATUS || ac_write_fail=1
18284 rm -f conf$$subs.awk
18285 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18287 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
18288 for (key in S) S_is_set[key] = 1
18294 nfields = split(line, field, "@
")
18296 len = length(field[1])
18297 for (i = 2; i < nfields; i++) {
18299 keylen = length(key)
18300 if (S_is_set[key]) {
18302 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18303 len += length(value) + length(field[++i])
18314 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18315 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18316 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18319 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
18320 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
18321 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
18322 { (exit 1); exit 1; }; }
18325 # VPATH may cause trouble with some makes, so we remove $(srcdir),
18326 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
18327 # trailing colons and then remove the whole line if VPATH becomes empty
18328 # (actually we leave an empty line to preserve line numbers).
18329 if test "x
$srcdir" = x.; then
18330 ac_vpsub='/^[ ]*VPATH[ ]*=/{
18331 s/:*\$(srcdir):*/:/
18332 s/:*\${srcdir}:*/:/
18334 s/^\([^=]*=[ ]*\):*/\1/
18340 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18341 fi # test -n "$CONFIG_FILES"
18343 # Set up the scripts for CONFIG_HEADERS section.
18344 # No need to generate them if there are no CONFIG_HEADERS.
18345 # This happens for instance with `./config.status Makefile'.
18346 if test -n "$CONFIG_HEADERS"; then
18347 cat >"$tmp/defines.
awk" <<\_ACAWK ||
18351 # Transform confdefs.h into an awk script `defines.awk', embedded as
18352 # here-document in config.status, that substitutes the proper values into
18353 # config.h.in to produce config.h.
18355 # Create a delimiter string that does not exist in confdefs.h, to ease
18356 # handling of long lines.
18358 for ac_last_try in false false :; do
18359 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
18360 if test -z "$ac_t"; then
18362 elif $ac_last_try; then
18363 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_HEADERS" >&5
18364 $as_echo "$as_me: error
: could not
make $CONFIG_HEADERS" >&2;}
18365 { (exit 1); exit 1; }; }
18367 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18371 # For the awk script, D is an array of macro values keyed by name,
18372 # likewise P contains macro parameters if any. Preserve backslash
18373 # newline sequences.
18375 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18377 s/.\{148\}/&'"$ac_delim"'/g
18380 s/^[ ]*#[ ]*define[ ][ ]*/ /
18387 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18389 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18393 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18394 D["\
1"]=" \
3\\\\\\n
"\\/p
18396 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18401 s/.\{148\}/&'"$ac_delim"'/g
18406 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18409 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18411 ' <confdefs.h | sed '
18412 s/'"$ac_delim"'/"\\\
18413 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18415 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18416 for (key in D) D_is_set[key] = 1
18419 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18421 split(line, arg, " ")
18422 if (arg[1] == "#") {
18426 defundef
= substr
(arg
[1], 2)
18429 split(mac1
, mac2
, "(") #)
18431 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
18432 if (D_is_set
[macro
]) {
18433 # Preserve the white space surrounding the "#".
18434 print prefix
"define", macro P
[macro
] D
[macro
]
18437 # Replace #undef with comments. This is necessary, for example,
18438 # in the case of _POSIX_SOURCE, which is predefined and required
18439 # on some systems where configure will not decide to define it.
18440 if (defundef
== "undef") {
18441 print
"/*", prefix defundef
, macro
, "*/"
18449 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18450 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
18451 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
18452 { (exit 1); exit 1; }; }
18453 fi # test -n "$CONFIG_HEADERS"
18456 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
18461 :[FHLC
]) ac_mode
=$ac_tag; continue;;
18463 case $ac_mode$ac_tag in
18465 :L
* |
:C
*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
18466 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
18467 { (exit 1); exit 1; }; };;
18468 :[FH
]-) ac_tag
=-:-;;
18469 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
18486 -) ac_f
="$tmp/stdin";;
18487 *) # Look for the file first in the build tree, then in the source tree
18488 # (if the path is not absolute). The absolute path cannot be DOS-style,
18489 # because $ac_f cannot contain `:'.
18493 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
18495 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
18496 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
18497 { (exit 1); exit 1; }; };;
18499 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18500 ac_file_inputs
="$ac_file_inputs '$ac_f'"
18503 # Let's still pretend it is `configure' which instantiates (i.e., don't
18504 # use $as_me), people would be surprised to read:
18505 # /* config.h. Generated by config.status. */
18506 configure_input
='Generated from '`
18507 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18509 if test x
"$ac_file" != x-
; then
18510 configure_input
="$ac_file. $configure_input"
18511 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
18512 $as_echo "$as_me: creating $ac_file" >&6;}
18514 # Neutralize special characters interpreted by sed in replacement strings.
18515 case $configure_input in #(
18516 *\
&* |
*\|
* |
*\\* )
18517 ac_sed_conf_input
=`$as_echo "$configure_input" |
18518 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18519 *) ac_sed_conf_input
=$configure_input;;
18523 *:-:* |
*:-) cat >"$tmp/stdin" \
18524 ||
{ { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
18525 $as_echo "$as_me: error: could not create $ac_file" >&2;}
18526 { (exit 1); exit 1; }; } ;;
18531 ac_dir
=`$as_dirname -- "$ac_file" ||
18532 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18533 X"$ac_file" : 'X\(//\)[^/]' \| \
18534 X"$ac_file" : 'X\(//\)$' \| \
18535 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18536 $as_echo X"$ac_file" |
18537 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18541 /^X\(\/\/\)[^/].*/{
18556 -*) as_dir
=.
/$as_dir;;
18558 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
18562 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18563 *) as_qdir
=$as_dir;;
18565 as_dirs
="'$as_qdir' $as_dirs"
18566 as_dir
=`$as_dirname -- "$as_dir" ||
18567 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18568 X"$as_dir" : 'X\(//\)[^/]' \| \
18569 X"$as_dir" : 'X\(//\)$' \| \
18570 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18571 $as_echo X"$as_dir" |
18572 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18576 /^X\(\/\/\)[^/].*/{
18589 test -d "$as_dir" && break
18591 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
18592 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
18593 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
18594 { (exit 1); exit 1; }; }; }
18598 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18600 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18601 # A ".." for each directory in $ac_dir_suffix.
18602 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18603 case $ac_top_builddir_sub in
18604 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18605 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
18608 ac_abs_top_builddir
=$ac_pwd
18609 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
18610 # for backward compatibility:
18611 ac_top_builddir
=$ac_top_build_prefix
18614 .
) # We are building in place.
18616 ac_top_srcdir
=$ac_top_builddir_sub
18617 ac_abs_top_srcdir
=$ac_pwd ;;
18618 [\\/]* | ?
:[\\/]* ) # Absolute name.
18619 ac_srcdir
=$srcdir$ac_dir_suffix;
18620 ac_top_srcdir
=$srcdir
18621 ac_abs_top_srcdir
=$srcdir ;;
18622 *) # Relative name.
18623 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
18624 ac_top_srcdir
=$ac_top_build_prefix$srcdir
18625 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
18627 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
18637 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
18638 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
18640 ac_MKDIR_P
=$MKDIR_P
18642 [\\/$
]* | ?
:[\\/]* ) ;;
18643 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
18647 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18648 # If the template does not know about datarootdir, expand it.
18649 # FIXME: This hack should be removed a few years after 2.60.
18650 ac_datarootdir_hack
=; ac_datarootdir_seen
=
18663 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18664 *datarootdir
*) ac_datarootdir_seen
=yes;;
18665 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
18666 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18667 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18669 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18670 ac_datarootdir_hack='
18671 s&@datadir@&$datadir&g
18672 s&@docdir@&$docdir&g
18673 s&@infodir@&$infodir&g
18674 s&@localedir@&$localedir&g
18675 s&@mandir@&$mandir&g
18676 s&\\\${datarootdir}&$datarootdir&g' ;;
18680 # Neutralize VPATH when `$srcdir' = `.'.
18681 # Shell code in configure.ac might set extrasub.
18682 # FIXME: do we really want to maintain this feature?
18683 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18684 ac_sed_extra="$ac_vpsub
18687 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18689 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
18690 s|@configure_input@|
$ac_sed_conf_input|
;t t
18691 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
18692 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
18693 s
&@srcdir@
&$ac_srcdir&;t t
18694 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
18695 s
&@top_srcdir@
&$ac_top_srcdir&;t t
18696 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
18697 s
&@builddir@
&$ac_builddir&;t t
18698 s
&@abs_builddir@
&$ac_abs_builddir&;t t
18699 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
18700 s
&@INSTALL@
&$ac_INSTALL&;t t
18701 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
18702 $ac_datarootdir_hack
18704 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
18705 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
18706 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
18707 { (exit 1); exit 1; }; }
18709 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18710 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
18711 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
18712 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
18713 which seems to be undefined. Please make sure it is defined." >&5
18714 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
18715 which seems to be undefined. Please make sure it is defined." >&2;}
18719 -) cat "$tmp/out" && rm -f "$tmp/out";;
18720 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
18722 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
18723 $as_echo "$as_me: error: could not create $ac_file" >&2;}
18724 { (exit 1); exit 1; }; }
18730 if test x"$ac_file" != x-; then
18732 $as_echo "/* $configure_input */" \
18733 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
18734 } >"$tmp/config.h" \
18735 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
18736 $as_echo "$as_me: error: could not create $ac_file" >&2;}
18737 { (exit 1); exit 1; }; }
18738 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
18739 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
18740 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18743 mv "$tmp/config.h" "$ac_file" \
18744 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
18745 $as_echo "$as_me: error: could not create $ac_file" >&2;}
18746 { (exit 1); exit 1; }; }
18749 $as_echo "/* $configure_input */" \
18750 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
18751 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
18752 $as_echo "$as_me: error: could not create -" >&2;}
18753 { (exit 1); exit 1; }; }
18755 # Compute "$ac_file"'s index
in $config_headers.
18758 for _am_header
in $config_headers :; do
18759 case $_am_header in
18760 $_am_arg |
$_am_arg:* )
18763 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
18766 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18767 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18768 X"$_am_arg" : 'X\(//\)[^/]' \| \
18769 X"$_am_arg" : 'X\(//\)$' \| \
18770 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18771 $as_echo X"$_am_arg" |
18772 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18776 /^X\(\/\/\)[^/].*/{
18788 s/.*/./; q'`/stamp-h
$_am_stamp_count
18791 :C
) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
18792 $as_echo "$as_me: executing $ac_file commands" >&6;}
18797 case $ac_file$ac_mode in
18798 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
18799 # Autoconf 2.62 quotes --file arguments for eval, but not when files
18800 # are listed without --file. Let's play safe and only enable the eval
18801 # if we detect the quoting.
18802 case $CONFIG_FILES in
18803 *\'*) eval set x
"$CONFIG_FILES" ;;
18804 *) set x
$CONFIG_FILES ;;
18809 # Strip MF so we end up with the name of the file.
18810 mf
=`echo "$mf" | sed -e 's/:.*$//'`
18811 # Check whether this is an Automake generated Makefile or not.
18812 # We used to match only the files named `Makefile.in', but
18813 # some people rename them; so instead we look at the file content.
18814 # Grep'ing the first line is not enough: some people post-process
18815 # each Makefile.in and add a new line on top of each file to say so.
18816 # Grep'ing the whole file is not good either: AIX grep has a line
18817 # limit of 2048, but all sed's we know have understand at least 4000.
18818 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
18819 dirpart
=`$as_dirname -- "$mf" ||
18820 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18821 X"$mf" : 'X\(//\)[^/]' \| \
18822 X"$mf" : 'X\(//\)$' \| \
18823 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18825 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18829 /^X\(\/\/\)[^/].*/{
18845 # Extract the definition of DEPDIR, am__include, and am__quote
18846 # from the Makefile without running `make'.
18847 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
18848 test -z "$DEPDIR" && continue
18849 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
18850 test -z "am__include" && continue
18851 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
18852 # When using ansi2knr, U may be empty or an underscore; expand it
18853 U
=`sed -n 's/^U = //p' < "$mf"`
18854 # Find all dependency output files, they are included files with
18855 # $(DEPDIR) in their names. We invoke sed twice because it is the
18856 # simplest approach to changing $(DEPDIR) to its actual value in the
18858 for file in `sed -n "
18859 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18860 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
18861 # Make sure the directory exists.
18862 test -f "$dirpart/$file" && continue
18863 fdir
=`$as_dirname -- "$file" ||
18864 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18865 X"$file" : 'X\(//\)[^/]' \| \
18866 X"$file" : 'X\(//\)$' \| \
18867 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18868 $as_echo X"$file" |
18869 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18873 /^X\(\/\/\)[^/].*/{
18886 { as_dir
=$dirpart/$fdir
18888 -*) as_dir
=.
/$as_dir;;
18890 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
18894 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18895 *) as_qdir
=$as_dir;;
18897 as_dirs
="'$as_qdir' $as_dirs"
18898 as_dir
=`$as_dirname -- "$as_dir" ||
18899 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18900 X"$as_dir" : 'X\(//\)[^/]' \| \
18901 X"$as_dir" : 'X\(//\)$' \| \
18902 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18903 $as_echo X"$as_dir" |
18904 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18908 /^X\(\/\/\)[^/].*/{
18921 test -d "$as_dir" && break
18923 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
18924 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
18925 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
18926 { (exit 1); exit 1; }; }; }
18927 # echo "creating $dirpart/$file"
18928 echo '# dummy' > "$dirpart/$file"
18935 # See if we are running on zsh, and set the options which allow our
18936 # commands through without removal of \ escapes.
18937 if test -n "${ZSH_VERSION+set}" ; then
18938 setopt NO_GLOB_SUBST
18941 cfgfile
="${ofile}T"
18942 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18945 cat <<_LT_EOF >> "$cfgfile"
18948 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18949 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18950 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18951 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18953 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18954 # 2006, 2007, 2008 Free Software Foundation, Inc.
18955 # Written by Gordon Matzigkeit, 1996
18957 # This file is part of GNU Libtool.
18959 # GNU Libtool is free software; you can redistribute it and/or
18960 # modify it under the terms of the GNU General Public License as
18961 # published by the Free Software Foundation; either version 2 of
18962 # the License, or (at your option) any later version.
18964 # As a special exception to the GNU General Public License,
18965 # if you distribute this file as part of a program or library that
18966 # is built using GNU Libtool, you may include this file under the
18967 # same distribution terms that you use for the rest of that program.
18969 # GNU Libtool is distributed in the hope that it will be useful,
18970 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18971 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18972 # GNU General Public License for more details.
18974 # You should have received a copy of the GNU General Public License
18975 # along with GNU Libtool; see the file COPYING. If not, a copy
18976 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18977 # obtained by writing to the Free Software Foundation, Inc.,
18978 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18981 # The names of the tagged configurations supported by this script.
18982 available_tags="CXX "
18984 # ### BEGIN LIBTOOL CONFIG
18986 # Which release of libtool.m4 was used?
18987 macro_version=$macro_version
18988 macro_revision=$macro_revision
18990 # Whether or not to build shared libraries.
18991 build_libtool_libs=$enable_shared
18993 # Whether or not to build static libraries.
18994 build_old_libs=$enable_static
18996 # What type of objects to build.
18999 # Whether or not to optimize for fast installation.
19000 fast_install=$enable_fast_install
19003 host_alias=$host_alias
19007 # The build system.
19008 build_alias=$build_alias
19012 # A sed program that does not truncate output.
19015 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
19016 Xsed="\$SED -e 1s/^X//"
19018 # A grep program that handles long lines.
19024 # A literal string matcher.
19027 # A BSD- or MS-compatible name lister.
19030 # Whether we need soft or hard links.
19033 # What is the maximum length of a command?
19034 max_cmd_len=$max_cmd_len
19036 # Object file suffix (normally "o").
19039 # Executable file suffix (normally "").
19042 # whether the shell understands "unset".
19045 # turn spaces into newlines.
19048 # turn newlines into spaces.
19051 # How to create reloadable object files.
19052 reload_flag=$lt_reload_flag
19053 reload_cmds=$lt_reload_cmds
19055 # An object symbol dumper.
19056 OBJDUMP=$lt_OBJDUMP
19058 # Method to check whether dependent libraries are shared objects.
19059 deplibs_check_method=$lt_deplibs_check_method
19061 # Command to use when deplibs_check_method == "file_magic".
19062 file_magic_cmd=$lt_file_magic_cmd
19066 AR_FLAGS=$lt_AR_FLAGS
19068 # A symbol stripping program.
19071 # Commands used to install an old-style archive.
19073 old_postinstall_cmds=$lt_old_postinstall_cmds
19074 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19079 # LTCC compiler flags.
19080 LTCFLAGS=$lt_CFLAGS
19082 # Take the output of nm and produce a listing of raw symbols and C names.
19083 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19085 # Transform the output of nm in a proper C declaration.
19086 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19088 # Transform the output of nm in a C name address pair.
19089 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19091 # Transform the output of nm in a C name address pair when lib prefix is needed.
19092 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19094 # The name of the directory that contains temporary libtool files.
19097 # Shell to use when invoking shell scripts.
19100 # An echo program that does not interpret backslashes.
19103 # Used to examine libraries when file_magic_cmd begins with "file".
19104 MAGIC_CMD=$MAGIC_CMD
19106 # Must we lock files when doing compilation?
19107 need_locks=$lt_need_locks
19109 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19110 DSYMUTIL=$lt_DSYMUTIL
19112 # Tool to change global to local symbols on Mac OS X.
19115 # Tool to manipulate fat objects and archives on Mac OS X.
19118 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
19121 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
19122 OTOOL64=$lt_OTOOL64
19124 # Old archive suffix (normally "a").
19127 # Shared library suffix (normally ".so").
19128 shrext_cmds=$lt_shrext_cmds
19130 # The commands to extract the exported symbol list from a shared archive.
19131 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19133 # Variables whose values should be saved in libtool wrapper scripts and
19134 # restored at link time.
19135 variables_saved_for_relink=$lt_variables_saved_for_relink
19137 # Do we need the "lib" prefix for modules?
19138 need_lib_prefix=$need_lib_prefix
19140 # Do we need a version for libraries?
19141 need_version=$need_version
19143 # Library versioning type.
19144 version_type=$version_type
19146 # Shared library runtime path variable.
19147 runpath_var=$runpath_var
19149 # Shared library path variable.
19150 shlibpath_var=$shlibpath_var
19152 # Is shlibpath searched before the hard-coded library search path?
19153 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19155 # Format of library name prefix.
19156 libname_spec=$lt_libname_spec
19158 # List of archive names. First name is the real one, the rest are links.
19159 # The last name is the one that the linker finds with -lNAME
19160 library_names_spec=$lt_library_names_spec
19162 # The coded name of the library, if different from the real name.
19163 soname_spec=$lt_soname_spec
19165 # Command to use after installation of a shared archive.
19166 postinstall_cmds=$lt_postinstall_cmds
19168 # Command to use after uninstallation of a shared archive.
19169 postuninstall_cmds=$lt_postuninstall_cmds
19171 # Commands used to finish a libtool library installation in a directory.
19172 finish_cmds=$lt_finish_cmds
19174 # As "finish_cmds", except a single script fragment to be evaled but
19176 finish_eval=$lt_finish_eval
19178 # Whether we should hardcode library paths into libraries.
19179 hardcode_into_libs=$hardcode_into_libs
19181 # Compile-time system search path for libraries.
19182 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19184 # Run-time system search path for libraries.
19185 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19187 # Whether dlopen is supported.
19188 dlopen_support=$enable_dlopen
19190 # Whether dlopen of programs is supported.
19191 dlopen_self=$enable_dlopen_self
19193 # Whether dlopen of statically linked programs is supported.
19194 dlopen_self_static=$enable_dlopen_self_static
19196 # Commands to strip libraries.
19197 old_striplib=$lt_old_striplib
19198 striplib=$lt_striplib
19201 # The linker used to build libraries.
19204 # Commands used to build an old-style archive.
19205 old_archive_cmds=$lt_old_archive_cmds
19207 # A language specific compiler.
19210 # Is the compiler the GNU compiler?
19213 # Compiler flag to turn off builtin functions.
19214 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19216 # How to pass a linker flag through the compiler.
19217 wl=$lt_lt_prog_compiler_wl
19219 # Additional compiler flags for building library objects.
19220 pic_flag=$lt_lt_prog_compiler_pic
19222 # Compiler flag to prevent dynamic linking.
19223 link_static_flag=$lt_lt_prog_compiler_static
19225 # Does compiler simultaneously support -c and -o options?
19226 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
19228 # Whether or not to add -lc for building shared libraries.
19229 build_libtool_need_lc=$archive_cmds_need_lc
19231 # Whether or not to disallow shared libs when runtime libs are static.
19232 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
19234 # Compiler flag to allow reflexive dlopens.
19235 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
19237 # Compiler flag to generate shared objects directly from archives.
19238 whole_archive_flag_spec=$lt_whole_archive_flag_spec
19240 # Whether the compiler copes with passing no objects directly.
19241 compiler_needs_object=$lt_compiler_needs_object
19243 # Create an old-style archive from a shared archive.
19244 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
19246 # Create a temporary old-style archive to link instead of a shared archive.
19247 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
19249 # Commands used to build a shared archive.
19250 archive_cmds=$lt_archive_cmds
19251 archive_expsym_cmds=$lt_archive_expsym_cmds
19253 # Commands used to build a loadable module if different from building
19254 # a shared archive.
19255 module_cmds=$lt_module_cmds
19256 module_expsym_cmds=$lt_module_expsym_cmds
19258 # Whether we are building with GNU ld or not.
19259 with_gnu_ld=$lt_with_gnu_ld
19261 # Flag that allows shared libraries with undefined symbols to be built.
19262 allow_undefined_flag=$lt_allow_undefined_flag
19264 # Flag that enforces no undefined symbols.
19265 no_undefined_flag=$lt_no_undefined_flag
19267 # Flag to hardcode \$libdir into a binary during linking.
19268 # This must work even if \$libdir does not exist
19269 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19271 # If ld is used when linking, flag to hardcode \$libdir into a binary
19272 # during linking. This must work even if \$libdir does not exist.
19273 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
19275 # Whether we need a single "-rpath" flag with a separated argument.
19276 hardcode_libdir_separator=$lt_hardcode_libdir_separator
19278 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19279 # DIR into the resulting binary.
19280 hardcode_direct=$hardcode_direct
19282 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19283 # DIR into the resulting binary and the resulting library dependency is
19284 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19285 # library is relocated.
19286 hardcode_direct_absolute=$hardcode_direct_absolute
19288 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19289 # into the resulting binary.
19290 hardcode_minus_L=$hardcode_minus_L
19292 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19293 # into the resulting binary.
19294 hardcode_shlibpath_var=$hardcode_shlibpath_var
19296 # Set to "yes" if building a shared library automatically hardcodes DIR
19297 # into the library and all subsequent libraries and executables linked
19299 hardcode_automatic=$hardcode_automatic
19301 # Set to yes if linker adds runtime paths of dependent libraries
19302 # to runtime path list.
19303 inherit_rpath=$inherit_rpath
19305 # Whether libtool must link a program against all its dependency libraries.
19306 link_all_deplibs=$link_all_deplibs
19308 # Fix the shell variable \$srcfile for the compiler.
19309 fix_srcfile_path=$lt_fix_srcfile_path
19311 # Set to "yes" if exported symbols are required.
19312 always_export_symbols=$always_export_symbols
19314 # The commands to list exported symbols.
19315 export_symbols_cmds=$lt_export_symbols_cmds
19317 # Symbols that should not be listed in the preloaded symbols.
19318 exclude_expsyms=$lt_exclude_expsyms
19320 # Symbols that must always be exported.
19321 include_expsyms=$lt_include_expsyms
19323 # Commands necessary for linking programs (against libraries) with templates.
19324 prelink_cmds=$lt_prelink_cmds
19326 # Specify filename containing input files.
19327 file_list_spec=$lt_file_list_spec
19329 # How to hardcode a shared library path into an executable.
19330 hardcode_action=$hardcode_action
19332 # The directories searched by this compiler when creating a shared library.
19333 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
19335 # Dependencies to place before and after the objects being linked to
19336 # create a shared library.
19337 predep_objects=$lt_predep_objects
19338 postdep_objects=$lt_postdep_objects
19339 predeps=$lt_predeps
19340 postdeps=$lt_postdeps
19342 # The library search path used internally by the compiler when linking
19343 # a shared library.
19344 compiler_lib_search_path=$lt_compiler_lib_search_path
19346 # ### END LIBTOOL CONFIG
19352 cat <<\_LT_EOF
>> "$cfgfile"
19353 # AIX sometimes has problems with the GCC collect2 program. For some
19354 # reason, if we set the COLLECT_NAMES environment variable, the problems
19355 # vanish in a puff of smoke.
19356 if test "X${COLLECT_NAMES+set}" != Xset
; then
19358 export COLLECT_NAMES
19365 ltmain
="$ac_aux_dir/ltmain.sh"
19368 # We use sed instead of cat because bash on DJGPP gets confused if
19369 # if finds mixed CR/LF and LF-only lines. Since sed operates in
19370 # text mode, it properly converts lines to CR/LF. This bash problem
19371 # is reportedly fixed, but why not run on old versions too?
19372 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
19373 ||
(rm -f "$cfgfile"; exit 1)
19377 cat << \_LT_EOF
>> "$cfgfile"
19379 # func_dirname file append nondir_replacement
19380 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
19381 # otherwise set result to NONDIR_REPLACEMENT.
19385 */*) func_dirname_result
="${1%/*}${2}" ;;
19386 * ) func_dirname_result
="${3}" ;;
19390 # func_basename file
19393 func_basename_result
="${1##*/}"
19396 # func_dirname_and_basename file append nondir_replacement
19397 # perform func_basename and func_dirname in a single function
19399 # dirname: Compute the dirname of FILE. If nonempty,
19400 # add APPEND to the result, otherwise set result
19401 # to NONDIR_REPLACEMENT.
19402 # value returned in "$func_dirname_result"
19403 # basename: Compute filename of FILE.
19404 # value retuned in "$func_basename_result"
19405 # Implementation must be kept synchronized with func_dirname
19406 # and func_basename. For efficiency, we do not delegate to
19407 # those functions but instead duplicate the functionality here.
19408 func_dirname_and_basename
()
19411 */*) func_dirname_result
="${1%/*}${2}" ;;
19412 * ) func_dirname_result
="${3}" ;;
19414 func_basename_result
="${1##*/}"
19417 # func_stripname prefix suffix name
19418 # strip PREFIX and SUFFIX off of NAME.
19419 # PREFIX and SUFFIX must not contain globbing or regex special
19420 # characters, hashes, percent signs, but SUFFIX may contain a leading
19421 # dot (in which case that matches only a dot).
19424 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
19425 # positional parameters, so assign one to ordinary parameter first.
19426 func_stripname_result
=${3}
19427 func_stripname_result
=${func_stripname_result#"${1}"}
19428 func_stripname_result
=${func_stripname_result%"${2}"}
19434 func_opt_split_opt
=${1%%=*}
19435 func_opt_split_arg
=${1#*=}
19442 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
19443 *) func_lo2o_result
=${1} ;;
19447 # func_xform libobj-or-source
19450 func_xform_result
=${1%.*}.lo
19453 # func_arith arithmetic-term...
19456 func_arith_result
=$
(( $
* ))
19460 # STRING may not start with a hyphen.
19463 func_len_result
=${#1}
19468 *) # Bourne compatible functions.
19469 cat << \_LT_EOF
>> "$cfgfile"
19471 # func_dirname file append nondir_replacement
19472 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
19473 # otherwise set result to NONDIR_REPLACEMENT.
19476 # Extract subdirectory from the argument.
19477 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
19478 if test "X$func_dirname_result" = "X${1}"; then
19479 func_dirname_result
="${3}"
19481 func_dirname_result
="$func_dirname_result${2}"
19485 # func_basename file
19488 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
19492 # func_stripname prefix suffix name
19493 # strip PREFIX and SUFFIX off of NAME.
19494 # PREFIX and SUFFIX must not contain globbing or regex special
19495 # characters, hashes, percent signs, but SUFFIX may contain a leading
19496 # dot (in which case that matches only a dot).
19497 # func_strip_suffix prefix name
19501 .
*) func_stripname_result
=`$ECHO "X${3}" \
19502 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
19503 *) func_stripname_result
=`$ECHO "X${3}" \
19504 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
19509 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
19510 my_sed_long_arg
='1s/^-[^=]*=//'
19515 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
19516 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
19522 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
19525 # func_xform libobj-or-source
19528 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
19531 # func_arith arithmetic-term...
19534 func_arith_result
=`expr "$@"`
19538 # STRING may not start with a hyphen.
19541 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
19547 case $lt_shell_append in
19549 cat << \_LT_EOF
>> "$cfgfile"
19551 # func_append var value
19552 # Append VALUE to the end of shell variable VAR.
19560 cat << \_LT_EOF
>> "$cfgfile"
19562 # func_append var value
19563 # Append VALUE to the end of shell variable VAR.
19574 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
19575 ||
(rm -f "$cfgfile"; exit 1)
19577 mv -f "$cfgfile" "$ofile" ||
19578 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19582 cat <<_LT_EOF >> "$ofile"
19584 # ### BEGIN LIBTOOL TAG CONFIG: CXX
19586 # The linker used to build libraries.
19589 # Commands used to build an old-style archive.
19590 old_archive_cmds=$lt_old_archive_cmds_CXX
19592 # A language specific compiler.
19593 CC=$lt_compiler_CXX
19595 # Is the compiler the GNU compiler?
19598 # Compiler flag to turn off builtin functions.
19599 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
19601 # How to pass a linker flag through the compiler.
19602 wl=$lt_lt_prog_compiler_wl_CXX
19604 # Additional compiler flags for building library objects.
19605 pic_flag=$lt_lt_prog_compiler_pic_CXX
19607 # Compiler flag to prevent dynamic linking.
19608 link_static_flag=$lt_lt_prog_compiler_static_CXX
19610 # Does compiler simultaneously support -c and -o options?
19611 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
19613 # Whether or not to add -lc for building shared libraries.
19614 build_libtool_need_lc=$archive_cmds_need_lc_CXX
19616 # Whether or not to disallow shared libs when runtime libs are static.
19617 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
19619 # Compiler flag to allow reflexive dlopens.
19620 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
19622 # Compiler flag to generate shared objects directly from archives.
19623 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
19625 # Whether the compiler copes with passing no objects directly.
19626 compiler_needs_object=$lt_compiler_needs_object_CXX
19628 # Create an old-style archive from a shared archive.
19629 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
19631 # Create a temporary old-style archive to link instead of a shared archive.
19632 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
19634 # Commands used to build a shared archive.
19635 archive_cmds=$lt_archive_cmds_CXX
19636 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
19638 # Commands used to build a loadable module if different from building
19639 # a shared archive.
19640 module_cmds=$lt_module_cmds_CXX
19641 module_expsym_cmds=$lt_module_expsym_cmds_CXX
19643 # Whether we are building with GNU ld or not.
19644 with_gnu_ld=$lt_with_gnu_ld_CXX
19646 # Flag that allows shared libraries with undefined symbols to be built.
19647 allow_undefined_flag=$lt_allow_undefined_flag_CXX
19649 # Flag that enforces no undefined symbols.
19650 no_undefined_flag=$lt_no_undefined_flag_CXX
19652 # Flag to hardcode \$libdir into a binary during linking.
19653 # This must work even if \$libdir does not exist
19654 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
19656 # If ld is used when linking, flag to hardcode \$libdir into a binary
19657 # during linking. This must work even if \$libdir does not exist.
19658 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
19660 # Whether we need a single "-rpath" flag with a separated argument.
19661 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
19663 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19664 # DIR into the resulting binary.
19665 hardcode_direct=$hardcode_direct_CXX
19667 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19668 # DIR into the resulting binary and the resulting library dependency is
19669 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19670 # library is relocated.
19671 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
19673 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19674 # into the resulting binary.
19675 hardcode_minus_L=$hardcode_minus_L_CXX
19677 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19678 # into the resulting binary.
19679 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
19681 # Set to "yes" if building a shared library automatically hardcodes DIR
19682 # into the library and all subsequent libraries and executables linked
19684 hardcode_automatic=$hardcode_automatic_CXX
19686 # Set to yes if linker adds runtime paths of dependent libraries
19687 # to runtime path list.
19688 inherit_rpath=$inherit_rpath_CXX
19690 # Whether libtool must link a program against all its dependency libraries.
19691 link_all_deplibs=$link_all_deplibs_CXX
19693 # Fix the shell variable \$srcfile for the compiler.
19694 fix_srcfile_path=$lt_fix_srcfile_path_CXX
19696 # Set to "yes" if exported symbols are required.
19697 always_export_symbols=$always_export_symbols_CXX
19699 # The commands to list exported symbols.
19700 export_symbols_cmds=$lt_export_symbols_cmds_CXX
19702 # Symbols that should not be listed in the preloaded symbols.
19703 exclude_expsyms=$lt_exclude_expsyms_CXX
19705 # Symbols that must always be exported.
19706 include_expsyms=$lt_include_expsyms_CXX
19708 # Commands necessary for linking programs (against libraries) with templates.
19709 prelink_cmds=$lt_prelink_cmds_CXX
19711 # Specify filename containing input files.
19712 file_list_spec=$lt_file_list_spec_CXX
19714 # How to hardcode a shared library path into an executable.
19715 hardcode_action=$hardcode_action_CXX
19717 # The directories searched by this compiler when creating a shared library.
19718 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
19720 # Dependencies to place before and after the objects being linked to
19721 # create a shared library.
19722 predep_objects=$lt_predep_objects_CXX
19723 postdep_objects=$lt_postdep_objects_CXX
19724 predeps=$lt_predeps_CXX
19725 postdeps=$lt_postdeps_CXX
19727 # The library search path used internally by the compiler when linking
19728 # a shared library.
19729 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
19731 # ### END LIBTOOL TAG CONFIG: CXX
19740 { (exit 0); exit 0; }
19742 chmod +x
$CONFIG_STATUS
19743 ac_clean_files
=$ac_clean_files_save
19745 test $ac_write_fail = 0 ||
19746 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
19747 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
19748 { (exit 1); exit 1; }; }
19751 # configure is writing to config.log, and then calls config.status.
19752 # config.status does its own redirection, appending to config.log.
19753 # Unfortunately, on DOS this fails, as config.log is still kept open
19754 # by configure, so config.status won't be able to write to it; its
19755 # output is simply discarded. So we exec the FD to /dev/null,
19756 # effectively closing config.log, so it can be properly (re)opened and
19757 # appended to by config.status. When coming back to configure, we
19758 # need to make the FD available again.
19759 if test "$no_create" != yes; then
19761 ac_config_status_args
=
19762 test "$silent" = yes &&
19763 ac_config_status_args
="$ac_config_status_args --quiet"
19765 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19767 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19768 # would make configure fail if this is the last instruction.
19769 $ac_cs_success ||
{ (exit 1); exit 1; }
19771 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19772 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19773 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}