2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for libconfigfile 1.0.
5 # Report bugs to <ahmed.badran@gmail.com>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix
*) set -o posix
;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits
='0123456789'
40 as_cr_alnum
=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
47 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
55 # Support unset when possible.
56 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
72 # Find who we are. Look in the path if we contain no directory separator.
74 *[\\/]* ) as_myself
=$0 ;;
75 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
79 test -z "$as_dir" && as_dir
=.
80 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x
; then
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var
in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C
; export $as_var
113 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
117 # Required to use basename.
118 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
125 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
132 # Name of the executable.
133 as_me
=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
156 if test "x$CONFIG_SHELL" = x
; then
157 if (eval ":") 2>/dev
/null
; then
163 if test $as_have_required = yes && (eval ":
173 as_func_ret_success () {
176 as_func_ret_failure () {
181 if as_func_success; then
185 echo as_func_success failed.
188 if as_func_failure; then
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev
/null
; then
223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
224 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
227 test -z "$as_dir" && as_dir
=.
230 for as_base
in sh bash ksh sh5
; do
231 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
238 for as_shell
in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
250 case `(set -o) 2>/dev/null` in
251 *posix
*) set -o posix
;;
260 CONFIG_SHELL
=$as_shell
262 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
271 case `(set -o) 2>/dev/null` in
272 *posix
*) set -o posix
;;
288 as_func_ret_success
() {
291 as_func_ret_failure
() {
296 if as_func_success
; then
300 echo as_func_success failed.
303 if as_func_failure
; then
305 echo as_func_failure succeeded.
308 if as_func_ret_success
; then
312 echo as_func_ret_success failed.
315 if as_func_ret_failure
; then
317 echo as_func_ret_failure succeeded.
320 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
324 echo positional parameters were not saved.
327 test $exitcode = 0) ||
{ (exit 1); exit 1; }
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
344 if test "x$CONFIG_SHELL" != x
; then
345 for as_var
in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no
; then
354 echo This
script requires a shell
more modern than all the
355 echo shells that I found on your system. Please
install a
356 echo modern shell
, or manually run the
script under such a
357 echo shell
if you
do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
377 as_func_ret_success () {
380 as_func_ret_failure () {
385 if as_func_success; then
389 echo as_func_success failed.
392 if as_func_failure; then
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
413 echo positional parameters were not saved.
416 test \$exitcode = 0") ||
{
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system
,
419 echo including any error possibly output before this
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
455 chmod +x
"$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
463 # Exit status is that of the last command.
468 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
474 ECHO_C
= ECHO_N
= ECHO_T
=
478 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
485 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
492 rm -f conf$$ conf$$.exe conf$$.
file
493 if test -d conf$$.dir
; then
494 rm -f conf$$.dir
/conf$$.
file
500 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
508 elif ln conf$$.
file conf$$
2>/dev
/null
; then
513 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
514 rmdir conf$$.dir
2>/dev
/null
516 if mkdir
-p .
2>/dev
/null
; then
519 test -d .
/-p && rmdir .
/-p
523 if test -x / >/dev
/null
2>&1; then
526 if ls -dL / >/dev
/null
2>&1; then
533 if test -d "$1"; then
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
544 as_executable_p
=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555 # Check that we are running under the correct shell.
556 SHELL
=${CONFIG_SHELL-/bin/sh}
560 # Remove one level of quotation (which was required for Make).
561 ECHO
=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
566 if test "X$1" = X--no-reexec
; then
567 # Discard the --no-reexec flag, and continue.
569 elif test "X$1" = X--fallback-echo
; then
570 # Avoid inline document here, it may be left over
572 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
573 # Yippee, $echo works!
576 # Restart under the correct shell.
577 exec $SHELL "$0" --no-reexec ${1+"$@"}
580 if test "X$1" = X--fallback-echo
; then
581 # used as fallback echo
589 # The HP-UX ksh and POSIX shell print the target directory to stdout
591 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
593 if test -z "$ECHO"; then
594 if test "X${echo_test_string+set}" != Xset
; then
595 # find a string as large as possible, as long as the shell can cope with it
596 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
597 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
598 if (echo_test_string
=`eval $cmd`) 2>/dev
/null
&&
599 echo_test_string
=`eval $cmd` &&
600 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev
/null
607 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
608 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
609 test "X$echo_testing_string" = "X$echo_test_string"; then
612 # The Solaris, AIX, and Digital Unix default echo programs unquote
613 # backslashes. This makes it impossible to quote backslashes using
614 # echo "$something" | sed 's/\\/\\\\/g'
616 # So, first we look for a working echo in the user's PATH.
618 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
619 for dir
in $PATH /usr
/ucb
; do
621 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
622 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
623 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
624 test "X$echo_testing_string" = "X$echo_test_string"; then
631 if test "X$echo" = Xecho
; then
632 # We didn't find a better echo, so look for alternatives.
633 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
634 echo_testing_string
=`(print -r "$echo_test_string") 2>/dev/null` &&
635 test "X$echo_testing_string" = "X$echo_test_string"; then
636 # This shell has a builtin print -r that does the trick.
638 elif (test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext) &&
639 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
640 # If we have ksh, try running configure again with it.
641 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
642 export ORIGINAL_CONFIG_SHELL
643 CONFIG_SHELL
=/bin
/ksh
645 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
649 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
650 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
651 test "X$echo_testing_string" = "X$echo_test_string"; then
654 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
655 test "X$echo_testing_string" = 'X\t' &&
656 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
657 test "X$echo_testing_string" = "X$echo_test_string"; then
658 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
660 SHELL
="$CONFIG_SHELL"
662 echo="$CONFIG_SHELL $0 --fallback-echo"
663 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
664 test "X$echo_testing_string" = 'X\t' &&
665 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
666 test "X$echo_testing_string" = "X$echo_test_string"; then
667 echo="$CONFIG_SHELL $0 --fallback-echo"
669 # maybe with a smaller string...
672 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
673 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev
/null
680 if test "$prev" != 'sed 50q "$0"'; then
681 echo_test_string
=`eval $prev`
682 export echo_test_string
683 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
685 # Oops. We lost completely, so just stick with echo.
694 # Copy echo and quote the copy suitably for passing to libtool from
695 # the Makefile, instead of quoting the original, which is used later.
697 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
698 ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
704 tagnames
=${tagnames+${tagnames},}CXX
706 tagnames
=${tagnames+${tagnames},}F77
708 exec 7<&0 </dev
/null
6>&1
711 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
712 # so uname gets run too.
713 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
718 ac_default_prefix
=/usr
/local
720 ac_config_libobj_dir
=.
726 SHELL
=${CONFIG_SHELL-/bin/sh}
728 # Identity of this package.
729 PACKAGE_NAME
='libconfigfile'
730 PACKAGE_TARNAME
='libconfigfile'
731 PACKAGE_VERSION
='1.0'
732 PACKAGE_STRING
='libconfigfile 1.0'
733 PACKAGE_BUGREPORT
='ahmed.badran@gmail.com'
735 ac_unique_file
="src/configfile.cc"
736 # Factoring default headers for most tests.
737 ac_includes_default
="\
739 #ifdef HAVE_SYS_TYPES_H
740 # include <sys/types.h>
742 #ifdef HAVE_SYS_STAT_H
743 # include <sys/stat.h>
749 # ifdef HAVE_STDLIB_H
754 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
759 #ifdef HAVE_STRINGS_H
760 # include <strings.h>
762 #ifdef HAVE_INTTYPES_H
763 # include <inttypes.h>
781 program_transform_name
823 INSTALL_STRIP_PROGRAM
877 ac_precious_vars
='build_alias
894 # Initialize some variables set by options.
896 ac_init_version
=false
897 # The variables have the same names as the options, with
898 # dashes changed to underlines.
906 program_transform_name
=s
,x
,x
,
914 # Installation directory options.
915 # These are left unexpanded so users can "make install exec_prefix=/foo"
916 # and all the variables that are supposed to be based on exec_prefix
917 # by default will actually change.
918 # Use braces instead of parens because sh, perl, etc. also accept them.
919 # (The list follows the same order as the GNU Coding Standards.)
920 bindir
='${exec_prefix}/bin'
921 sbindir
='${exec_prefix}/sbin'
922 libexecdir
='${exec_prefix}/libexec'
923 datarootdir
='${prefix}/share'
924 datadir
='${datarootdir}'
925 sysconfdir
='${prefix}/etc'
926 sharedstatedir
='${prefix}/com'
927 localstatedir
='${prefix}/var'
928 includedir
='${prefix}/include'
929 oldincludedir
='/usr/include'
930 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
931 infodir
='${datarootdir}/info'
936 libdir
='${exec_prefix}/lib'
937 localedir
='${datarootdir}/locale'
938 mandir
='${datarootdir}/man'
944 # If the previous option needs an argument, assign it.
945 if test -n "$ac_prev"; then
946 eval $ac_prev=\
$ac_option
952 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
956 # Accept the important Cygnus configure options, so we can diagnose typos.
958 case $ac_dashdash$ac_option in
962 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
964 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
967 -build |
--build |
--buil |
--bui |
--bu)
968 ac_prev
=build_alias
;;
969 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
970 build_alias
=$ac_optarg ;;
972 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
973 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
974 ac_prev
=cache_file
;;
975 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
976 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
977 cache_file
=$ac_optarg ;;
980 cache_file
=config.cache
;;
982 -datadir |
--datadir |
--datadi |
--datad)
984 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
985 datadir
=$ac_optarg ;;
987 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
988 |
--dataroo |
--dataro |
--datar)
989 ac_prev
=datarootdir
;;
990 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
991 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
992 datarootdir
=$ac_optarg ;;
994 -disable-* |
--disable-*)
995 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
996 # Reject names that are not valid shell variable names.
997 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
998 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
999 { (exit 1); exit 1; }; }
1000 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1001 eval enable_
$ac_feature=no
;;
1003 -docdir |
--docdir |
--docdi |
--doc |
--do)
1005 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1006 docdir
=$ac_optarg ;;
1008 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1010 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1011 dvidir
=$ac_optarg ;;
1013 -enable-* |
--enable-*)
1014 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1015 # Reject names that are not valid shell variable names.
1016 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1017 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1018 { (exit 1); exit 1; }; }
1019 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1020 eval enable_
$ac_feature=\
$ac_optarg ;;
1022 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1023 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1024 |
--exec |
--exe |
--ex)
1025 ac_prev
=exec_prefix
;;
1026 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1027 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1028 |
--exec=* |
--exe=* |
--ex=*)
1029 exec_prefix
=$ac_optarg ;;
1031 -gas |
--gas |
--ga |
--g)
1032 # Obsolete; use --with-gas.
1035 -help |
--help |
--hel |
--he |
-h)
1036 ac_init_help
=long
;;
1037 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1038 ac_init_help
=recursive
;;
1039 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1040 ac_init_help
=short
;;
1042 -host |
--host |
--hos |
--ho)
1043 ac_prev
=host_alias
;;
1044 -host=* |
--host=* |
--hos=* |
--ho=*)
1045 host_alias
=$ac_optarg ;;
1047 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1049 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1051 htmldir
=$ac_optarg ;;
1053 -includedir |
--includedir |
--includedi |
--included |
--include \
1054 |
--includ |
--inclu |
--incl |
--inc)
1055 ac_prev
=includedir
;;
1056 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1057 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1058 includedir
=$ac_optarg ;;
1060 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1062 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1063 infodir
=$ac_optarg ;;
1065 -libdir |
--libdir |
--libdi |
--libd)
1067 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1068 libdir
=$ac_optarg ;;
1070 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1071 |
--libexe |
--libex |
--libe)
1072 ac_prev
=libexecdir
;;
1073 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1074 |
--libexe=* |
--libex=* |
--libe=*)
1075 libexecdir
=$ac_optarg ;;
1077 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1078 ac_prev
=localedir
;;
1079 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1080 localedir
=$ac_optarg ;;
1082 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1083 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1084 ac_prev
=localstatedir
;;
1085 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1086 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1087 localstatedir
=$ac_optarg ;;
1089 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1091 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1092 mandir
=$ac_optarg ;;
1094 -nfp |
--nfp |
--nf)
1095 # Obsolete; use --without-fp.
1098 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1099 |
--no-cr |
--no-c |
-n)
1102 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1103 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1106 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1107 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1108 |
--oldin |
--oldi |
--old |
--ol |
--o)
1109 ac_prev
=oldincludedir
;;
1110 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1111 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1112 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1113 oldincludedir
=$ac_optarg ;;
1115 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1117 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1118 prefix
=$ac_optarg ;;
1120 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1121 |
--program-pre |
--program-pr |
--program-p)
1122 ac_prev
=program_prefix
;;
1123 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1124 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1125 program_prefix
=$ac_optarg ;;
1127 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1128 |
--program-suf |
--program-su |
--program-s)
1129 ac_prev
=program_suffix
;;
1130 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1131 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1132 program_suffix
=$ac_optarg ;;
1134 -program-transform-name |
--program-transform-name \
1135 |
--program-transform-nam |
--program-transform-na \
1136 |
--program-transform-n |
--program-transform- \
1137 |
--program-transform |
--program-transfor \
1138 |
--program-transfo |
--program-transf \
1139 |
--program-trans |
--program-tran \
1140 |
--progr-tra |
--program-tr |
--program-t)
1141 ac_prev
=program_transform_name
;;
1142 -program-transform-name=* |
--program-transform-name=* \
1143 |
--program-transform-nam=* |
--program-transform-na=* \
1144 |
--program-transform-n=* |
--program-transform-=* \
1145 |
--program-transform=* |
--program-transfor=* \
1146 |
--program-transfo=* |
--program-transf=* \
1147 |
--program-trans=* |
--program-tran=* \
1148 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1149 program_transform_name
=$ac_optarg ;;
1151 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1153 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1154 pdfdir
=$ac_optarg ;;
1156 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1158 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1161 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1162 |
-silent |
--silent |
--silen |
--sile |
--sil)
1165 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1167 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1169 sbindir
=$ac_optarg ;;
1171 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1172 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1173 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1175 ac_prev
=sharedstatedir
;;
1176 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1177 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1178 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1180 sharedstatedir
=$ac_optarg ;;
1182 -site |
--site |
--sit)
1184 -site=* |
--site=* |
--sit=*)
1187 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1189 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1190 srcdir
=$ac_optarg ;;
1192 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1193 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1194 ac_prev
=sysconfdir
;;
1195 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1196 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1197 sysconfdir
=$ac_optarg ;;
1199 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1200 ac_prev
=target_alias
;;
1201 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1202 target_alias
=$ac_optarg ;;
1204 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1207 -version |
--version |
--versio |
--versi |
--vers |
-V)
1208 ac_init_version
=: ;;
1211 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1212 # Reject names that are not valid shell variable names.
1213 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1214 { echo "$as_me: error: invalid package name: $ac_package" >&2
1215 { (exit 1); exit 1; }; }
1216 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1217 eval with_
$ac_package=\
$ac_optarg ;;
1219 -without-* |
--without-*)
1220 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1221 # Reject names that are not valid shell variable names.
1222 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1223 { echo "$as_me: error: invalid package name: $ac_package" >&2
1224 { (exit 1); exit 1; }; }
1225 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1226 eval with_
$ac_package=no
;;
1229 # Obsolete; use --with-x.
1232 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1233 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1234 ac_prev
=x_includes
;;
1235 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1236 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1237 x_includes
=$ac_optarg ;;
1239 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1240 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1241 ac_prev
=x_libraries
;;
1242 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1243 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1244 x_libraries
=$ac_optarg ;;
1246 -*) { echo "$as_me: error: unrecognized option: $ac_option
1247 Try \`$0 --help' for more information." >&2
1248 { (exit 1); exit 1; }; }
1252 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1253 # Reject names that are not valid shell variable names.
1254 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1255 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1256 { (exit 1); exit 1; }; }
1257 eval $ac_envvar=\
$ac_optarg
1258 export $ac_envvar ;;
1261 # FIXME: should be removed in autoconf 3.0.
1262 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1263 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1264 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1265 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1271 if test -n "$ac_prev"; then
1272 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1273 { echo "$as_me: error: missing argument to $ac_option" >&2
1274 { (exit 1); exit 1; }; }
1277 # Be sure to have absolute directory names.
1278 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1279 datadir sysconfdir sharedstatedir localstatedir includedir \
1280 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1281 libdir localedir mandir
1283 eval ac_val
=\$
$ac_var
1285 [\\/$
]* | ?
:[\\/]* ) continue;;
1286 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1288 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1289 { (exit 1); exit 1; }; }
1292 # There might be people who depend on the old broken behavior: `$host'
1293 # used to hold the argument of --host etc.
1294 # FIXME: To remove some day.
1297 target
=$target_alias
1299 # FIXME: To remove some day.
1300 if test "x$host_alias" != x
; then
1301 if test "x$build_alias" = x
; then
1302 cross_compiling
=maybe
1303 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1304 If a cross compiler is detected then cross compile mode will be used." >&2
1305 elif test "x$build_alias" != "x$host_alias"; then
1311 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1313 test "$silent" = yes && exec 6>/dev
/null
1316 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1317 ac_ls_di
=`ls -di .` &&
1318 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1319 { echo "$as_me: error: Working directory cannot be determined" >&2
1320 { (exit 1); exit 1; }; }
1321 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1322 { echo "$as_me: error: pwd does not report name of working directory" >&2
1323 { (exit 1); exit 1; }; }
1326 # Find the source files, if location was not specified.
1327 if test -z "$srcdir"; then
1328 ac_srcdir_defaulted
=yes
1329 # Try the directory containing this script, then the parent directory.
1330 ac_confdir
=`$as_dirname -- "$0" ||
1331 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1332 X"$0" : 'X\(//\)[^/]' \| \
1333 X"$0" : 'X\(//\)$' \| \
1334 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1336 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1354 if test ! -r "$srcdir/$ac_unique_file"; then
1358 ac_srcdir_defaulted
=no
1360 if test ! -r "$srcdir/$ac_unique_file"; then
1361 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1362 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1363 { (exit 1); exit 1; }; }
1365 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1367 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1368 { (exit 1); exit 1; }; }
1370 # When building in place, set srcdir=.
1371 if test "$ac_abs_confdir" = "$ac_pwd"; then
1374 # Remove unnecessary trailing slashes from srcdir.
1375 # Double slashes in file names in object file debugging info
1376 # mess up M-x gdb in Emacs.
1378 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1380 for ac_var
in $ac_precious_vars; do
1381 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1382 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1383 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1384 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1388 # Report the --help message.
1390 if test "$ac_init_help" = "long"; then
1391 # Omit some internal or obsolete options to make the list less imposing.
1392 # This message is too long to be a string in the A/UX 3.1 sh.
1394 \`configure' configures libconfigfile 1.0 to adapt to many kinds of systems.
1396 Usage: $0 [OPTION]... [VAR=VALUE]...
1398 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1399 VAR=VALUE. See below for descriptions of some of the useful variables.
1401 Defaults for the options are specified in brackets.
1404 -h, --help display this help and exit
1405 --help=short display options specific to this package
1406 --help=recursive display the short help of all the included packages
1407 -V, --version display version information and exit
1408 -q, --quiet, --silent do not print \`checking...' messages
1409 --cache-file=FILE cache test results in FILE [disabled]
1410 -C, --config-cache alias for \`--cache-file=config.cache'
1411 -n, --no-create do not create output files
1412 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1414 Installation directories:
1415 --prefix=PREFIX install architecture-independent files in PREFIX
1416 [$ac_default_prefix]
1417 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1420 By default, \`make install' will install all the files in
1421 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1422 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1423 for instance \`--prefix=\$HOME'.
1425 For better control, use the options below.
1427 Fine tuning of the installation directories:
1428 --bindir=DIR user executables [EPREFIX/bin]
1429 --sbindir=DIR system admin executables [EPREFIX/sbin]
1430 --libexecdir=DIR program executables [EPREFIX/libexec]
1431 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1432 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1433 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1434 --libdir=DIR object code libraries [EPREFIX/lib]
1435 --includedir=DIR C header files [PREFIX/include]
1436 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1437 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1438 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1439 --infodir=DIR info documentation [DATAROOTDIR/info]
1440 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1441 --mandir=DIR man documentation [DATAROOTDIR/man]
1442 --docdir=DIR documentation root [DATAROOTDIR/doc/libconfigfile]
1443 --htmldir=DIR html documentation [DOCDIR]
1444 --dvidir=DIR dvi documentation [DOCDIR]
1445 --pdfdir=DIR pdf documentation [DOCDIR]
1446 --psdir=DIR ps documentation [DOCDIR]
1452 --program-prefix=PREFIX prepend PREFIX to installed program names
1453 --program-suffix=SUFFIX append SUFFIX to installed program names
1454 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1457 --build=BUILD configure
for building on BUILD
[guessed
]
1458 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1462 if test -n "$ac_init_help"; then
1463 case $ac_init_help in
1464 short | recursive
) echo "Configuration of libconfigfile 1.0:";;
1469 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1470 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1471 --disable-dependency-tracking speeds up one-time build
1472 --enable-dependency-tracking do not reject slow dependency extractors
1473 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1474 --enable-static[=PKGS
] build static libraries
[default
=yes]
1475 --enable-fast-install[=PKGS
]
1476 optimize
for fast installation
[default
=yes]
1477 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1480 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1481 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1482 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1483 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1485 --with-tags[=TAGS
] include additional configurations
[automatic
]
1487 Some influential environment variables
:
1488 CXX C
++ compiler
command
1489 CXXFLAGS C
++ compiler flags
1490 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1491 nonstandard directory
<lib dir
>
1492 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1493 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1494 you have headers
in a nonstandard directory
<include dir
>
1495 CC C compiler
command
1496 CFLAGS C compiler flags
1498 CXXCPP C
++ preprocessor
1499 F77 Fortran
77 compiler
command
1500 FFLAGS Fortran
77 compiler flags
1502 Use these variables to override the choices made by
`configure' or to help
1503 it to find libraries and programs with nonstandard names/locations.
1505 Report bugs to <ahmed.badran@gmail.com>.
1510 if test "$ac_init_help" = "recursive"; then
1511 # If there are subdirs, report their specific --help.
1512 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1513 test -d "$ac_dir" || continue
1517 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1519 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1520 # A ".." for each directory in $ac_dir_suffix.
1521 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1522 case $ac_top_builddir_sub in
1523 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1524 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1527 ac_abs_top_builddir=$ac_pwd
1528 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1529 # for backward compatibility:
1530 ac_top_builddir=$ac_top_build_prefix
1533 .) # We are building in place.
1535 ac_top_srcdir=$ac_top_builddir_sub
1536 ac_abs_top_srcdir=$ac_pwd ;;
1537 [\\/]* | ?:[\\/]* ) # Absolute name.
1538 ac_srcdir=$srcdir$ac_dir_suffix;
1539 ac_top_srcdir=$srcdir
1540 ac_abs_top_srcdir=$srcdir ;;
1542 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1543 ac_top_srcdir=$ac_top_build_prefix$srcdir
1544 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1546 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1548 cd "$ac_dir" || { ac_status=$?; continue; }
1549 # Check for guested configure.
1550 if test -f "$ac_srcdir/configure.gnu"; then
1552 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1553 elif test -f "$ac_srcdir/configure"; then
1555 $SHELL "$ac_srcdir/configure" --help=recursive
1557 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1559 cd "$ac_pwd" || { ac_status=$?; break; }
1563 test -n "$ac_init_help" && exit $ac_status
1564 if $ac_init_version; then
1566 libconfigfile configure 1.0
1567 generated by GNU Autoconf 2.61
1569 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1570 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1571 This configure script is free software; the Free Software Foundation
1572 gives unlimited permission to copy, distribute and modify it.
1576 cat >config.log <<_ACEOF
1577 This file contains any messages produced by compilers while
1578 running configure, to aid debugging if configure makes a mistake.
1580 It was created by libconfigfile $as_me 1.0, which was
1581 generated by GNU Autoconf 2.61. Invocation command line was
1593 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1594 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1595 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1596 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1597 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1599 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1600 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1602 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1603 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1604 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1605 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1606 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1607 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1608 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1616 test -z "$as_dir" && as_dir=.
1617 echo "PATH: $as_dir"
1633 # Keep a trace of the command line.
1634 # Strip out --no-create and --no-recursion so they do not pile up.
1635 # Strip out --silent because we don't want to record it for future runs.
1636 # Also quote any args containing shell meta-characters.
1637 # Make two passes to allow for proper duplicate-argument suppression.
1641 ac_must_keep_next=false
1647 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1648 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1649 | -silent | --silent | --silen | --sile | --sil)
1652 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1655 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1657 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1658 if test $ac_must_keep_next = true; then
1659 ac_must_keep_next=false # Got value, back to normal.
1662 *=* | --config-cache | -C | -disable-* | --disable-* \
1663 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1664 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1665 | -with-* | --with-* | -without-* | --without-* | --x)
1666 case "$ac_configure_args0 " in
1667 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1670 -* ) ac_must_keep_next=true ;;
1673 ac_configure_args="$ac_configure_args '$ac_arg'"
1678 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1679 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1681 # When interrupted or exit'd, cleanup temporary files, and complete
1682 # config.log. We remove comments because anyway the quotes in there
1683 # would cause problems or look ugly.
1684 # WARNING: Use '\'' to represent an apostrophe within the trap.
1685 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1686 trap 'exit_status=$?
1687 # Save into config.log some information that might help in debugging.
1692 ## ---------------- ##
1693 ## Cache variables. ##
1694 ## ---------------- ##
1697 # The following way of writing the cache mishandles newlines in values,
1699 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1700 eval ac_val=\$$ac_var
1704 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1705 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1708 _ | IFS | as_nl) ;; #(
1709 *) $as_unset $ac_var ;;
1714 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1715 *${as_nl}ac_space=\ *)
1717 "s/'\''/'\''\\\\'\'''\''/g;
1718 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1721 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1729 ## ----------------- ##
1730 ## Output variables. ##
1731 ## ----------------- ##
1734 for ac_var in $ac_subst_vars
1736 eval ac_val=\$$ac_var
1738 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1740 echo "$ac_var='\''$ac_val'\''"
1744 if test -n "$ac_subst_files"; then
1746 ## ------------------- ##
1747 ## File substitutions. ##
1748 ## ------------------- ##
1751 for ac_var in $ac_subst_files
1753 eval ac_val=\$$ac_var
1755 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1757 echo "$ac_var='\''$ac_val'\''"
1762 if test -s confdefs.h; then
1772 test "$ac_signal" != 0 &&
1773 echo "$as_me: caught signal $ac_signal"
1774 echo "$as_me: exit $exit_status"
1776 rm -f core *.core core.conftest.* &&
1777 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1780 for ac_signal in 1 2 13 15; do
1781 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1785 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1786 rm -f -r conftest* confdefs.h
1788 # Predefined preprocessor variables.
1790 cat >>confdefs.h <<_ACEOF
1791 #define PACKAGE_NAME "$PACKAGE_NAME"
1795 cat >>confdefs.h <<_ACEOF
1796 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1800 cat >>confdefs.h <<_ACEOF
1801 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1805 cat >>confdefs.h <<_ACEOF
1806 #define PACKAGE_STRING "$PACKAGE_STRING"
1810 cat >>confdefs.h <<_ACEOF
1811 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1815 # Let the site file select an alternate cache file if it wants to.
1816 # Prefer explicitly selected file to automatically selected ones.
1817 if test -n "$CONFIG_SITE"; then
1818 set x "$CONFIG_SITE"
1819 elif test "x$prefix" != xNONE; then
1820 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1822 set x "$ac_default_prefix/share/config.site" \
1823 "$ac_default_prefix/etc/config.site"
1828 if test -r "$ac_site_file"; then
1829 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1830 echo "$as_me: loading site script $ac_site_file" >&6;}
1831 sed 's/^/| /' "$ac_site_file" >&5
1836 if test -r "$cache_file"; then
1837 # Some versions of bash will fail to source /dev/null (special
1838 # files actually), so we avoid doing that.
1839 if test -f "$cache_file"; then
1840 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1841 echo "$as_me: loading cache $cache_file" >&6;}
1843 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1844 *) . "./$cache_file";;
1848 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1849 echo "$as_me: creating cache $cache_file" >&6;}
1853 # Check that the precious variables saved in the cache have kept the same
1855 ac_cache_corrupted=false
1856 for ac_var in $ac_precious_vars; do
1857 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1858 eval ac_new_set=\$ac_env_${ac_var}_set
1859 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1860 eval ac_new_val=\$ac_env_${ac_var}_value
1861 case $ac_old_set,$ac_new_set in
1863 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1864 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1865 ac_cache_corrupted=: ;;
1867 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1868 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1869 ac_cache_corrupted=: ;;
1872 if test "x$ac_old_val" != "x$ac_new_val"; then
1873 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1874 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1875 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1876 echo "$as_me: former value
: $ac_old_val" >&2;}
1877 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1878 echo "$as_me: current value
: $ac_new_val" >&2;}
1879 ac_cache_corrupted=:
1882 # Pass precious variables to config.status.
1883 if test "$ac_new_set" = set; then
1885 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1886 *) ac_arg=$ac_var=$ac_new_val ;;
1888 case " $ac_configure_args " in
1889 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1890 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1894 if $ac_cache_corrupted; then
1895 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1896 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1897 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1898 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1899 { (exit 1); exit 1; }; }
1927 ac_cpp='$CPP $CPPFLAGS'
1928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1933 am__api_version='1.10'
1936 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1937 if test -f "$ac_dir/install-sh"; then
1939 ac_install_sh="$ac_aux_dir/install-sh -c"
1941 elif test -f "$ac_dir/install.sh"; then
1943 ac_install_sh="$ac_aux_dir/install.sh -c"
1945 elif test -f "$ac_dir/shtool"; then
1947 ac_install_sh="$ac_aux_dir/shtool install -c"
1951 if test -z "$ac_aux_dir"; then
1952 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1953 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1954 { (exit 1); exit 1; }; }
1957 # These three variables are undocumented and unsupported,
1958 # and are intended to be withdrawn in a future Autoconf release.
1959 # They can cause serious problems if a builder's source tree is in a directory
1960 # whose full name contains unusual characters.
1961 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1962 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1963 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1966 # Find a good install program. We prefer a C program (faster),
1967 # so one script is as good as another. But avoid the broken or
1968 # incompatible versions:
1969 # SysV /etc/install, /usr/sbin/install
1970 # SunOS /usr/etc/install
1971 # IRIX /sbin/install
1973 # AmigaOS /C/install, which installs bootblocks on floppy discs
1974 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1975 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1976 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1977 # OS/2's system install, which has a completely different semantic
1978 # ./install, which can be erroneously created by make from ./install.sh.
1979 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1980 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1981 if test -z "$INSTALL"; then
1982 if test "${ac_cv_path_install+set}" = set; then
1983 echo $ECHO_N "(cached) $ECHO_C" >&6
1985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1989 test -z "$as_dir" && as_dir=.
1990 # Account for people who put trailing slashes in PATH elements.
1992 ./ | .// | /cC/* | \
1993 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1994 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1997 # OSF1 and SCO ODT 3.0 have their own names for install.
1998 # Don't use installbsd from OSF since it installs stuff as root
2000 for ac_prog in ginstall scoinst install; do
2001 for ac_exec_ext in '' $ac_executable_extensions; do
2002 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2003 if test $ac_prog = install &&
2004 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2005 # AIX install. It has an incompatible calling convention.
2007 elif test $ac_prog = install &&
2008 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2009 # program-specific install script used by HP pwplus--don't use.
2012 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2025 if test "${ac_cv_path_install+set}" = set; then
2026 INSTALL=$ac_cv_path_install
2028 # As a last resort, use the slow shell script. Don't cache a
2029 # value for INSTALL within a source directory, because that will
2030 # break other packages using the cache if that directory is
2031 # removed, or if the value is a relative name.
2032 INSTALL=$ac_install_sh
2035 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2036 echo "${ECHO_T}$INSTALL" >&6; }
2038 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2039 # It thinks the first close brace ends the variable substitution.
2040 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2042 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2044 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2046 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2047 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2050 echo timestamp > conftest.file
2051 # Do `set' in a subshell so we don't clobber the current shell
's
2052 # arguments. Must try -L first in case configure is actually a
2053 # symlink; some systems play weird games with the mod time of symlinks
2054 # (eg FreeBSD returns the mod time of the symlink's containing
2057 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2058 if test "$*" = "X"; then
2060 set X
`ls -t $srcdir/configure conftest.file`
2063 if test "$*" != "X $srcdir/configure conftest.file" \
2064 && test "$*" != "X conftest.file $srcdir/configure"; then
2066 # If neither matched, then we have a broken ls. This can happen
2067 # if, for instance, CONFIG_SHELL is bash and it inherits a
2068 # broken ls alias from the environment. This has actually
2069 # happened. Such a system could not be considered "sane".
2070 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2071 alias in your environment" >&5
2072 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2073 alias in your environment" >&2;}
2074 { (exit 1); exit 1; }; }
2077 test "$2" = conftest.
file
2083 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2084 Check your system clock" >&5
2085 echo "$as_me: error: newly created file is older than distributed files!
2086 Check your system clock" >&2;}
2087 { (exit 1); exit 1; }; }
2089 { echo "$as_me:$LINENO: result: yes" >&5
2090 echo "${ECHO_T}yes" >&6; }
2091 test "$program_prefix" != NONE
&&
2092 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2093 # Use a double $ so make ignores it.
2094 test "$program_suffix" != NONE
&&
2095 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2096 # Double any \ or $. echo might interpret backslashes.
2097 # By default was `s,x,x', remove it if useless.
2098 cat <<\_ACEOF
>conftest.
sed
2099 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2101 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2104 # expand $ac_aux_dir to an absolute path
2105 am_aux_dir
=`cd $ac_aux_dir && pwd`
2107 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2108 # Use eval to expand $SHELL
2109 if eval "$MISSING --run true"; then
2110 am_missing_run
="$MISSING --run "
2113 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2114 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2117 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2118 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2119 if test -z "$MKDIR_P"; then
2120 if test "${ac_cv_path_mkdir+set}" = set; then
2121 echo $ECHO_N "(cached) $ECHO_C" >&6
2123 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2124 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2127 test -z "$as_dir" && as_dir
=.
2128 for ac_prog
in mkdir gmkdir
; do
2129 for ac_exec_ext
in '' $ac_executable_extensions; do
2130 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2131 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2132 'mkdir (GNU coreutils) '* | \
2133 'mkdir (coreutils) '* | \
2134 'mkdir (fileutils) '4.1*)
2135 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2145 if test "${ac_cv_path_mkdir+set}" = set; then
2146 MKDIR_P
="$ac_cv_path_mkdir -p"
2148 # As a last resort, use the slow shell script. Don't cache a
2149 # value for MKDIR_P within a source directory, because that will
2150 # break other packages using the cache if that directory is
2151 # removed, or if the value is a relative name.
2152 test -d .
/--version && rmdir .
/--version
2153 MKDIR_P
="$ac_install_sh -d"
2156 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2157 echo "${ECHO_T}$MKDIR_P" >&6; }
2161 [\\/$
]* | ?
:[\\/]*) ;;
2162 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2165 for ac_prog
in gawk mawk nawk
awk
2167 # Extract the first word of "$ac_prog", so it can be a program name with args.
2168 set dummy
$ac_prog; ac_word
=$2
2169 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2170 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2171 if test "${ac_cv_prog_AWK+set}" = set; then
2172 echo $ECHO_N "(cached) $ECHO_C" >&6
2174 if test -n "$AWK"; then
2175 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2177 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2181 test -z "$as_dir" && as_dir
=.
2182 for ac_exec_ext
in '' $ac_executable_extensions; do
2183 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2184 ac_cv_prog_AWK
="$ac_prog"
2185 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2195 if test -n "$AWK"; then
2196 { echo "$as_me:$LINENO: result: $AWK" >&5
2197 echo "${ECHO_T}$AWK" >&6; }
2199 { echo "$as_me:$LINENO: result: no" >&5
2200 echo "${ECHO_T}no" >&6; }
2204 test -n "$AWK" && break
2207 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2208 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2209 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2210 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2211 echo $ECHO_N "(cached) $ECHO_C" >&6
2213 cat >conftest.
make <<\_ACEOF
2216 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2218 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2219 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2221 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2223 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2227 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2228 { echo "$as_me:$LINENO: result: yes" >&5
2229 echo "${ECHO_T}yes" >&6; }
2232 { echo "$as_me:$LINENO: result: no" >&5
2233 echo "${ECHO_T}no" >&6; }
2234 SET_MAKE
="MAKE=${MAKE-make}"
2237 rm -rf .tst
2>/dev
/null
2238 mkdir .tst
2>/dev
/null
2239 if test -d .tst
; then
2244 rmdir .tst
2>/dev
/null
2246 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2247 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2248 # is not polluted with repeated "-I."
2249 am__isrc
=' -I$(srcdir)'
2250 # test to see if srcdir already configured
2251 if test -f $srcdir/config.status
; then
2252 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2253 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2254 { (exit 1); exit 1; }; }
2258 # test whether we have cygpath
2259 if test -z "$CYGPATH_W"; then
2260 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2261 CYGPATH_W
='cygpath -w'
2268 # Define the identity of the package.
2269 PACKAGE
=libconfigfile
2273 # Some tools Automake needs.
2275 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2278 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2281 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2284 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2287 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2289 install_sh
=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2291 # Installed binaries are usually stripped using `strip' when the user
2292 # run `make install-strip'. However `strip' might not be the right
2293 # tool to use in cross-compilation environments, therefore Automake
2294 # will honor the `STRIP' environment variable to overrule this program.
2295 if test "$cross_compiling" != no
; then
2296 if test -n "$ac_tool_prefix"; then
2297 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2298 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2299 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2300 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2301 if test "${ac_cv_prog_STRIP+set}" = set; then
2302 echo $ECHO_N "(cached) $ECHO_C" >&6
2304 if test -n "$STRIP"; then
2305 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2307 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2311 test -z "$as_dir" && as_dir
=.
2312 for ac_exec_ext
in '' $ac_executable_extensions; do
2313 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2314 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2315 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2324 STRIP
=$ac_cv_prog_STRIP
2325 if test -n "$STRIP"; then
2326 { echo "$as_me:$LINENO: result: $STRIP" >&5
2327 echo "${ECHO_T}$STRIP" >&6; }
2329 { echo "$as_me:$LINENO: result: no" >&5
2330 echo "${ECHO_T}no" >&6; }
2335 if test -z "$ac_cv_prog_STRIP"; then
2337 # Extract the first word of "strip", so it can be a program name with args.
2338 set dummy strip
; ac_word
=$2
2339 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2340 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2341 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2342 echo $ECHO_N "(cached) $ECHO_C" >&6
2344 if test -n "$ac_ct_STRIP"; then
2345 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2347 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2351 test -z "$as_dir" && as_dir
=.
2352 for ac_exec_ext
in '' $ac_executable_extensions; do
2353 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2354 ac_cv_prog_ac_ct_STRIP
="strip"
2355 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2364 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2365 if test -n "$ac_ct_STRIP"; then
2366 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2367 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2369 { echo "$as_me:$LINENO: result: no" >&5
2370 echo "${ECHO_T}no" >&6; }
2373 if test "x$ac_ct_STRIP" = x
; then
2376 case $cross_compiling:$ac_tool_warned in
2378 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2379 whose name does not start with the host triplet. If you think this
2380 configuration is useful to you, please write to autoconf@gnu.org." >&5
2381 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2382 whose name does not start with the host triplet. If you think this
2383 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2384 ac_tool_warned
=yes ;;
2389 STRIP
="$ac_cv_prog_STRIP"
2393 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2395 # We need awk for the "check" target. The system "awk" is bad on
2397 # Always define AMTAR for backward compatibility.
2399 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2401 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2408 ac_config_headers
="$ac_config_headers config.h"
2411 # Checks for programs.
2413 ac_cpp
='$CXXCPP $CPPFLAGS'
2414 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2415 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2416 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2417 if test -z "$CXX"; then
2418 if test -n "$CCC"; then
2421 if test -n "$ac_tool_prefix"; then
2422 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
2424 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2425 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2426 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2427 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2428 if test "${ac_cv_prog_CXX+set}" = set; then
2429 echo $ECHO_N "(cached) $ECHO_C" >&6
2431 if test -n "$CXX"; then
2432 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
2434 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2438 test -z "$as_dir" && as_dir
=.
2439 for ac_exec_ext
in '' $ac_executable_extensions; do
2440 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2441 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2442 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2452 if test -n "$CXX"; then
2453 { echo "$as_me:$LINENO: result: $CXX" >&5
2454 echo "${ECHO_T}$CXX" >&6; }
2456 { echo "$as_me:$LINENO: result: no" >&5
2457 echo "${ECHO_T}no" >&6; }
2461 test -n "$CXX" && break
2464 if test -z "$CXX"; then
2466 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
2468 # Extract the first word of "$ac_prog", so it can be a program name with args.
2469 set dummy
$ac_prog; ac_word
=$2
2470 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2471 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2472 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2473 echo $ECHO_N "(cached) $ECHO_C" >&6
2475 if test -n "$ac_ct_CXX"; then
2476 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2478 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2482 test -z "$as_dir" && as_dir
=.
2483 for ac_exec_ext
in '' $ac_executable_extensions; do
2484 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2485 ac_cv_prog_ac_ct_CXX
="$ac_prog"
2486 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2495 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2496 if test -n "$ac_ct_CXX"; then
2497 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2498 echo "${ECHO_T}$ac_ct_CXX" >&6; }
2500 { echo "$as_me:$LINENO: result: no" >&5
2501 echo "${ECHO_T}no" >&6; }
2505 test -n "$ac_ct_CXX" && break
2508 if test "x$ac_ct_CXX" = x
; then
2511 case $cross_compiling:$ac_tool_warned in
2513 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2514 whose name does not start with the host triplet. If you think this
2515 configuration is useful to you, please write to autoconf@gnu.org." >&5
2516 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2517 whose name does not start with the host triplet. If you think this
2518 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2519 ac_tool_warned
=yes ;;
2527 # Provide some information about the compiler.
2528 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
2529 ac_compiler
=`set X $ac_compile; echo $2`
2530 { (ac_try
="$ac_compiler --version >&5"
2532 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2533 *) ac_try_echo=$ac_try;;
2535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2536 (eval "$ac_compiler --version >&5") 2>&5
2538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2539 (exit $ac_status); }
2540 { (ac_try="$ac_compiler -v >&5"
2542 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2543 *) ac_try_echo
=$ac_try;;
2545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2546 (eval "$ac_compiler -v >&5") 2>&5
2548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2549 (exit $ac_status); }
2550 { (ac_try
="$ac_compiler -V >&5"
2552 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2553 *) ac_try_echo=$ac_try;;
2555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2556 (eval "$ac_compiler -V >&5") 2>&5
2558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2559 (exit $ac_status); }
2561 cat >conftest.$ac_ext <<_ACEOF
2564 cat confdefs.h >>conftest.$ac_ext
2565 cat >>conftest.$ac_ext <<_ACEOF
2566 /* end confdefs.h. */
2576 ac_clean_files_save=$ac_clean_files
2577 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2578 # Try to create an executable without -o first, disregard a.out.
2579 # It will help us diagnose broken compilers, and finding out an intuition
2581 { echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
2582 echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6; }
2583 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2585 # List of possible output files, starting from the most likely.
2586 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2587 # only as a last resort. b.out is created by i960 compilers.
2588 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2590 # The IRIX 6 linker writes into existing files which may not be
2591 # executable, retaining their permissions. Remove them first so a
2592 # subsequent execution test works.
2594 for ac_file in $ac_files
2597 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2598 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2603 if { (ac_try="$ac_link_default"
2605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2606 *) ac_try_echo=$ac_try;;
2608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2609 (eval "$ac_link_default") 2>&5
2611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2612 (exit $ac_status); }; then
2613 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2614 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2615 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2616 # so that the user can short-circuit this test for compilers unknown to
2618 for ac_file
in $ac_files ''
2620 test -f "$ac_file" ||
continue
2622 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2625 # We found the default executable, but exeext='' is most
2629 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2631 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2633 # We set ac_cv_exeext here because the later test for it is not
2634 # safe: cross compilers may not add the suffix if given an `-o'
2635 # argument, so we may need to know it at that point already.
2636 # Even if this section looks crufty: it has the advantage of
2643 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2649 { echo "$as_me:$LINENO: result: $ac_file" >&5
2650 echo "${ECHO_T}$ac_file" >&6; }
2651 if test -z "$ac_file"; then
2652 echo "$as_me: failed program was:" >&5
2653 sed 's/^/| /' conftest.
$ac_ext >&5
2655 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2656 See \`config.log' for more details." >&5
2657 echo "$as_me: error: C++ compiler cannot create executables
2658 See \`config.log' for more details." >&2;}
2659 { (exit 77); exit 77; }; }
2662 ac_exeext
=$ac_cv_exeext
2664 # Check that the compiler produces executables we can run. If not, either
2665 # the compiler is broken, or we cross compile.
2666 { echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2667 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6; }
2668 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2669 # If not cross compiling, check that we can run a simple program.
2670 if test "$cross_compiling" != yes; then
2671 if { ac_try
='./$ac_file'
2672 { (case "(($ac_try" in
2673 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2674 *) ac_try_echo=$ac_try;;
2676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2677 (eval "$ac_try") 2>&5
2679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2680 (exit $ac_status); }; }; then
2683 if test "$cross_compiling" = maybe; then
2686 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2687 If you meant to cross compile, use \`--host'.
2688 See \`config.log' for more details.
" >&5
2689 echo "$as_me: error
: cannot run C
++ compiled programs.
2690 If you meant to cross compile
, use \
`--host'.
2691 See \`config.log
' for more details." >&2;}
2692 { (exit 1); exit 1; }; }
2696 { echo "$as_me:$LINENO: result: yes" >&5
2697 echo "${ECHO_T}yes" >&6; }
2699 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2700 ac_clean_files=$ac_clean_files_save
2701 # Check that the compiler produces executables we can run. If not, either
2702 # the compiler is broken, or we cross compile.
2703 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2704 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2705 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2706 echo "${ECHO_T}$cross_compiling" >&6; }
2708 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2709 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2710 if { (ac_try="$ac_link"
2712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2713 *) ac_try_echo=$ac_try;;
2715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2716 (eval "$ac_link") 2>&5
2718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2719 (exit $ac_status); }; then
2720 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2721 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2722 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2724 for ac_file
in conftest.exe conftest conftest.
*; do
2725 test -f "$ac_file" ||
continue
2727 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2728 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2734 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2735 See \`config.log' for more details." >&5
2736 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2737 See \`config.log' for more details." >&2;}
2738 { (exit 1); exit 1; }; }
2741 rm -f conftest
$ac_cv_exeext
2742 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2743 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2745 rm -f conftest.
$ac_ext
2746 EXEEXT
=$ac_cv_exeext
2748 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2749 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2750 if test "${ac_cv_objext+set}" = set; then
2751 echo $ECHO_N "(cached) $ECHO_C" >&6
2753 cat >conftest.
$ac_ext <<_ACEOF
2756 cat confdefs.h
>>conftest.
$ac_ext
2757 cat >>conftest.
$ac_ext <<_ACEOF
2758 /* end confdefs.h. */
2768 rm -f conftest.o conftest.obj
2769 if { (ac_try
="$ac_compile"
2771 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2772 *) ac_try_echo=$ac_try;;
2774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2775 (eval "$ac_compile") 2>&5
2777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2778 (exit $ac_status); }; then
2779 for ac_file in conftest.o conftest.obj conftest.*; do
2780 test -f "$ac_file" || continue;
2782 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2783 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2788 echo "$as_me: failed program was:" >&5
2789 sed 's/^/| /' conftest.$ac_ext >&5
2791 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2792 See \`config.log
' for more details." >&5
2793 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2794 See \`config.log' for more details.
" >&2;}
2795 { (exit 1); exit 1; }; }
2798 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2800 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
2801 echo "${ECHO_T}$ac_cv_objext" >&6; }
2802 OBJEXT=$ac_cv_objext
2804 { echo "$as_me:$LINENO: checking whether we are using the GNU C
++ compiler
" >&5
2805 echo $ECHO_N "checking whether we are using the GNU C
++ compiler...
$ECHO_C" >&6; }
2806 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2807 echo $ECHO_N "(cached
) $ECHO_C" >&6
2809 cat >conftest.$ac_ext <<_ACEOF
2812 cat confdefs.h >>conftest.$ac_ext
2813 cat >>conftest.$ac_ext <<_ACEOF
2814 /* end confdefs.h. */
2827 rm -f conftest.$ac_objext
2828 if { (ac_try="$ac_compile"
2830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2831 *) ac_try_echo=$ac_try;;
2833 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2834 (eval "$ac_compile") 2>conftest.er1
2836 grep -v '^ *+' conftest.er1 >conftest.err
2838 cat conftest.err >&5
2839 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2840 (exit $ac_status); } && {
2841 test -z "$ac_cxx_werror_flag" ||
2842 test ! -s conftest.err
2843 } && test -s conftest.$ac_objext; then
2846 echo "$as_me: failed program was
:" >&5
2847 sed 's/^/| /' conftest.$ac_ext >&5
2852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2853 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2856 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_compiler_gnu" >&5
2857 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
2858 GXX=`test $ac_compiler_gnu = yes && echo yes`
2859 ac_test_CXXFLAGS=${CXXFLAGS+set}
2860 ac_save_CXXFLAGS=$CXXFLAGS
2861 { echo "$as_me:$LINENO: checking whether
$CXX accepts
-g" >&5
2862 echo $ECHO_N "checking whether
$CXX accepts
-g...
$ECHO_C" >&6; }
2863 if test "${ac_cv_prog_cxx_g+set}" = set; then
2864 echo $ECHO_N "(cached
) $ECHO_C" >&6
2866 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2867 ac_cxx_werror_flag=yes
2870 cat >conftest.$ac_ext <<_ACEOF
2873 cat confdefs.h >>conftest.$ac_ext
2874 cat >>conftest.$ac_ext <<_ACEOF
2875 /* end confdefs.h. */
2885 rm -f conftest.$ac_objext
2886 if { (ac_try="$ac_compile"
2888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2889 *) ac_try_echo=$ac_try;;
2891 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2892 (eval "$ac_compile") 2>conftest.er1
2894 grep -v '^ *+' conftest.er1 >conftest.err
2896 cat conftest.err >&5
2897 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2898 (exit $ac_status); } && {
2899 test -z "$ac_cxx_werror_flag" ||
2900 test ! -s conftest.err
2901 } && test -s conftest.$ac_objext; then
2902 ac_cv_prog_cxx_g=yes
2904 echo "$as_me: failed program was
:" >&5
2905 sed 's/^/| /' conftest.$ac_ext >&5
2908 cat >conftest.$ac_ext <<_ACEOF
2911 cat confdefs.h >>conftest.$ac_ext
2912 cat >>conftest.$ac_ext <<_ACEOF
2913 /* end confdefs.h. */
2923 rm -f conftest.$ac_objext
2924 if { (ac_try="$ac_compile"
2926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2927 *) ac_try_echo=$ac_try;;
2929 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2930 (eval "$ac_compile") 2>conftest.er1
2932 grep -v '^ *+' conftest.er1 >conftest.err
2934 cat conftest.err >&5
2935 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2936 (exit $ac_status); } && {
2937 test -z "$ac_cxx_werror_flag" ||
2938 test ! -s conftest.err
2939 } && test -s conftest.$ac_objext; then
2942 echo "$as_me: failed program was
:" >&5
2943 sed 's/^/| /' conftest.$ac_ext >&5
2945 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2947 cat >conftest.$ac_ext <<_ACEOF
2950 cat confdefs.h >>conftest.$ac_ext
2951 cat >>conftest.$ac_ext <<_ACEOF
2952 /* end confdefs.h. */
2962 rm -f conftest.$ac_objext
2963 if { (ac_try="$ac_compile"
2965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2966 *) ac_try_echo=$ac_try;;
2968 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2969 (eval "$ac_compile") 2>conftest.er1
2971 grep -v '^ *+' conftest.er1 >conftest.err
2973 cat conftest.err >&5
2974 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2975 (exit $ac_status); } && {
2976 test -z "$ac_cxx_werror_flag" ||
2977 test ! -s conftest.err
2978 } && test -s conftest.$ac_objext; then
2979 ac_cv_prog_cxx_g=yes
2981 echo "$as_me: failed program was
:" >&5
2982 sed 's/^/| /' conftest.$ac_ext >&5
2987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2994 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2996 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cxx_g" >&5
2997 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
2998 if test "$ac_test_CXXFLAGS" = set; then
2999 CXXFLAGS=$ac_save_CXXFLAGS
3000 elif test $ac_cv_prog_cxx_g = yes; then
3001 if test "$GXX" = yes; then
3007 if test "$GXX" = yes; then
3014 ac_cpp='$CPP $CPPFLAGS'
3015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3018 DEPDIR="${am__leading_dot}deps
"
3020 ac_config_commands="$ac_config_commands depfiles
"
3023 am_make=${MAKE-make}
3024 cat > confinc << 'END'
3029 # If we don't find an include directive, just comment out the code.
3030 { echo "$as_me:$LINENO: checking
for style of include used by
$am_make" >&5
3031 echo $ECHO_N "checking
for style of include used by
$am_make...
$ECHO_C" >&6; }
3035 # First try GNU make style include.
3036 echo "include confinc" > confmf
3037 # We grep out `Entering directory' and `Leaving directory'
3038 # messages which can occur if `w' ends up in MAKEFLAGS.
3039 # In particular we don't look at `^make:' because GNU make might
3040 # be invoked under some other name (usually "gmake"), in which
3041 # case it prints its new name instead of `make'.
3042 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3047 # Now try BSD make style include.
3048 if test "$am__include" = "#"; then
3049 echo '.include "confinc"' > confmf
3050 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3051 am__include
=.include
3058 { echo "$as_me:$LINENO: result: $_am_result" >&5
3059 echo "${ECHO_T}$_am_result" >&6; }
3060 rm -f confinc confmf
3062 # Check whether --enable-dependency-tracking was given.
3063 if test "${enable_dependency_tracking+set}" = set; then
3064 enableval
=$enable_dependency_tracking;
3067 if test "x$enable_dependency_tracking" != xno
; then
3068 am_depcomp
="$ac_aux_dir/depcomp"
3071 if test "x$enable_dependency_tracking" != xno; then
3081 depcc
="$CXX" am_compiler_list
=
3083 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3084 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3085 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3086 echo $ECHO_N "(cached) $ECHO_C" >&6
3088 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3089 # We make a subdir and do the tests there. Otherwise we can end up
3090 # making bogus files that we don't know about and never remove. For
3091 # instance it was reported that on HP-UX the gcc test will end up
3092 # making a dummy file named `D' -- because `-MD' means `put the output
3095 # Copy depcomp to subdir because otherwise we won't find it if we're
3096 # using a relative directory.
3097 cp "$am_depcomp" conftest.dir
3099 # We will build objects and dependencies in a subdirectory because
3100 # it helps to detect inapplicable dependency modes. For instance
3101 # both Tru64's cc and ICC support -MD to output dependencies as a
3102 # side effect of compilation, but ICC will put the dependencies in
3103 # the current directory while Tru64 will put them in the object
3107 am_cv_CXX_dependencies_compiler_type
=none
3108 if test "$am_compiler_list" = ""; then
3109 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3111 for depmode
in $am_compiler_list; do
3112 # Setup a source with many dependencies, because some compilers
3113 # like to wrap large dependency lists on column 80 (with \), and
3114 # we should not choose a depcomp mode which is confused by this.
3116 # We need to recreate these files for each test, as the compiler may
3117 # overwrite some of them when testing with obscure command lines.
3118 # This happens at least with the AIX C compiler.
3120 for i
in 1 2 3 4 5 6; do
3121 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3122 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3123 # Solaris 8's {/usr,}/bin/sh.
3124 touch sub
/conftst
$i.h
3126 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3130 # after this tag, mechanisms are not by side-effect, so they'll
3131 # only be used when explicitly requested
3132 if test "x$enable_dependency_tracking" = xyes
; then
3140 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3141 # mode. It turns out that the SunPro C++ compiler does not properly
3142 # handle `-M -o', and we need to detect this.
3143 if depmode
=$depmode \
3144 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3145 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3146 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3147 >/dev
/null
2>conftest.err
&&
3148 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3149 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3150 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3151 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3152 # icc doesn't choke on unknown options, it will just issue warnings
3153 # or remarks (even with -Werror). So we grep stderr for any message
3154 # that says an option was ignored or not supported.
3155 # When given -MP, icc 7.0 and 7.1 complain thusly:
3156 # icc: Command line warning: ignoring option '-M'; no argument required
3157 # The diagnosis changed in icc 8.0:
3158 # icc: Command line remark: option '-MP' not supported
3159 if (grep 'ignoring option' conftest.err ||
3160 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3161 am_cv_CXX_dependencies_compiler_type
=$depmode
3170 am_cv_CXX_dependencies_compiler_type
=none
3174 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3175 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
3176 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
3179 test "x$enable_dependency_tracking" != xno \
3180 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
3181 am__fastdepCXX_TRUE
=
3182 am__fastdepCXX_FALSE
='#'
3184 am__fastdepCXX_TRUE
='#'
3185 am__fastdepCXX_FALSE
=
3190 ac_cpp
='$CPP $CPPFLAGS'
3191 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3192 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3193 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3194 if test -n "$ac_tool_prefix"; then
3195 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3196 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3197 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3198 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3199 if test "${ac_cv_prog_CC+set}" = set; then
3200 echo $ECHO_N "(cached) $ECHO_C" >&6
3202 if test -n "$CC"; then
3203 ac_cv_prog_CC
="$CC" # Let the user override the test.
3205 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3209 test -z "$as_dir" && as_dir
=.
3210 for ac_exec_ext
in '' $ac_executable_extensions; do
3211 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3212 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3213 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3223 if test -n "$CC"; then
3224 { echo "$as_me:$LINENO: result: $CC" >&5
3225 echo "${ECHO_T}$CC" >&6; }
3227 { echo "$as_me:$LINENO: result: no" >&5
3228 echo "${ECHO_T}no" >&6; }
3233 if test -z "$ac_cv_prog_CC"; then
3235 # Extract the first word of "gcc", so it can be a program name with args.
3236 set dummy gcc
; ac_word
=$2
3237 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3238 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3239 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3240 echo $ECHO_N "(cached) $ECHO_C" >&6
3242 if test -n "$ac_ct_CC"; then
3243 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3245 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3249 test -z "$as_dir" && as_dir
=.
3250 for ac_exec_ext
in '' $ac_executable_extensions; do
3251 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3252 ac_cv_prog_ac_ct_CC
="gcc"
3253 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3262 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3263 if test -n "$ac_ct_CC"; then
3264 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3265 echo "${ECHO_T}$ac_ct_CC" >&6; }
3267 { echo "$as_me:$LINENO: result: no" >&5
3268 echo "${ECHO_T}no" >&6; }
3271 if test "x$ac_ct_CC" = x
; then
3274 case $cross_compiling:$ac_tool_warned in
3276 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3277 whose name does not start with the host triplet. If you think this
3278 configuration is useful to you, please write to autoconf@gnu.org." >&5
3279 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3280 whose name does not start with the host triplet. If you think this
3281 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3282 ac_tool_warned
=yes ;;
3290 if test -z "$CC"; then
3291 if test -n "$ac_tool_prefix"; then
3292 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3293 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3294 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3295 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3296 if test "${ac_cv_prog_CC+set}" = set; then
3297 echo $ECHO_N "(cached) $ECHO_C" >&6
3299 if test -n "$CC"; then
3300 ac_cv_prog_CC
="$CC" # Let the user override the test.
3302 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3306 test -z "$as_dir" && as_dir
=.
3307 for ac_exec_ext
in '' $ac_executable_extensions; do
3308 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3309 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3310 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3320 if test -n "$CC"; then
3321 { echo "$as_me:$LINENO: result: $CC" >&5
3322 echo "${ECHO_T}$CC" >&6; }
3324 { echo "$as_me:$LINENO: result: no" >&5
3325 echo "${ECHO_T}no" >&6; }
3331 if test -z "$CC"; then
3332 # Extract the first word of "cc", so it can be a program name with args.
3333 set dummy cc
; ac_word
=$2
3334 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3335 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3336 if test "${ac_cv_prog_CC+set}" = set; then
3337 echo $ECHO_N "(cached) $ECHO_C" >&6
3339 if test -n "$CC"; then
3340 ac_cv_prog_CC
="$CC" # Let the user override the test.
3343 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3347 test -z "$as_dir" && as_dir
=.
3348 for ac_exec_ext
in '' $ac_executable_extensions; do
3349 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3350 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3351 ac_prog_rejected
=yes
3355 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3362 if test $ac_prog_rejected = yes; then
3363 # We found a bogon in the path, so make sure we never use it.
3364 set dummy
$ac_cv_prog_CC
3366 if test $# != 0; then
3367 # We chose a different compiler from the bogus one.
3368 # However, it has the same basename, so the bogon will be chosen
3369 # first if we set CC to just the basename; use the full file name.
3371 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3377 if test -n "$CC"; then
3378 { echo "$as_me:$LINENO: result: $CC" >&5
3379 echo "${ECHO_T}$CC" >&6; }
3381 { echo "$as_me:$LINENO: result: no" >&5
3382 echo "${ECHO_T}no" >&6; }
3387 if test -z "$CC"; then
3388 if test -n "$ac_tool_prefix"; then
3389 for ac_prog
in cl.exe
3391 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3392 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3393 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3394 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3395 if test "${ac_cv_prog_CC+set}" = set; then
3396 echo $ECHO_N "(cached) $ECHO_C" >&6
3398 if test -n "$CC"; then
3399 ac_cv_prog_CC
="$CC" # Let the user override the test.
3401 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3405 test -z "$as_dir" && as_dir
=.
3406 for ac_exec_ext
in '' $ac_executable_extensions; do
3407 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3408 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3409 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3419 if test -n "$CC"; then
3420 { echo "$as_me:$LINENO: result: $CC" >&5
3421 echo "${ECHO_T}$CC" >&6; }
3423 { echo "$as_me:$LINENO: result: no" >&5
3424 echo "${ECHO_T}no" >&6; }
3428 test -n "$CC" && break
3431 if test -z "$CC"; then
3433 for ac_prog
in cl.exe
3435 # Extract the first word of "$ac_prog", so it can be a program name with args.
3436 set dummy
$ac_prog; ac_word
=$2
3437 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3438 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3439 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3440 echo $ECHO_N "(cached) $ECHO_C" >&6
3442 if test -n "$ac_ct_CC"; then
3443 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3445 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3449 test -z "$as_dir" && as_dir
=.
3450 for ac_exec_ext
in '' $ac_executable_extensions; do
3451 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3452 ac_cv_prog_ac_ct_CC
="$ac_prog"
3453 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3462 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3463 if test -n "$ac_ct_CC"; then
3464 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3465 echo "${ECHO_T}$ac_ct_CC" >&6; }
3467 { echo "$as_me:$LINENO: result: no" >&5
3468 echo "${ECHO_T}no" >&6; }
3472 test -n "$ac_ct_CC" && break
3475 if test "x$ac_ct_CC" = x
; then
3478 case $cross_compiling:$ac_tool_warned in
3480 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3481 whose name does not start with the host triplet. If you think this
3482 configuration is useful to you, please write to autoconf@gnu.org." >&5
3483 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3484 whose name does not start with the host triplet. If you think this
3485 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3486 ac_tool_warned
=yes ;;
3495 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3496 See \`config.log' for more details." >&5
3497 echo "$as_me: error: no acceptable C compiler found in \$PATH
3498 See \`config.log' for more details." >&2;}
3499 { (exit 1); exit 1; }; }
3501 # Provide some information about the compiler.
3502 echo "$as_me:$LINENO: checking for C compiler version" >&5
3503 ac_compiler
=`set X $ac_compile; echo $2`
3504 { (ac_try
="$ac_compiler --version >&5"
3506 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3507 *) ac_try_echo=$ac_try;;
3509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3510 (eval "$ac_compiler --version >&5") 2>&5
3512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3513 (exit $ac_status); }
3514 { (ac_try="$ac_compiler -v >&5"
3516 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3517 *) ac_try_echo
=$ac_try;;
3519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3520 (eval "$ac_compiler -v >&5") 2>&5
3522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3523 (exit $ac_status); }
3524 { (ac_try
="$ac_compiler -V >&5"
3526 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3527 *) ac_try_echo=$ac_try;;
3529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3530 (eval "$ac_compiler -V >&5") 2>&5
3532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3533 (exit $ac_status); }
3535 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3536 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3537 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3538 echo $ECHO_N "(cached) $ECHO_C" >&6
3540 cat >conftest.$ac_ext <<_ACEOF
3543 cat confdefs.h >>conftest.$ac_ext
3544 cat >>conftest.$ac_ext <<_ACEOF
3545 /* end confdefs.h. */
3558 rm -f conftest.$ac_objext
3559 if { (ac_try="$ac_compile"
3561 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3562 *) ac_try_echo
=$ac_try;;
3564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3565 (eval "$ac_compile") 2>conftest.er1
3567 grep -v '^ *+' conftest.er1
>conftest.err
3569 cat conftest.err
>&5
3570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3571 (exit $ac_status); } && {
3572 test -z "$ac_c_werror_flag" ||
3573 test ! -s conftest.err
3574 } && test -s conftest.
$ac_objext; then
3577 echo "$as_me: failed program was:" >&5
3578 sed 's/^/| /' conftest.
$ac_ext >&5
3583 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3584 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3587 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3588 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3589 GCC
=`test $ac_compiler_gnu = yes && echo yes`
3590 ac_test_CFLAGS
=${CFLAGS+set}
3591 ac_save_CFLAGS
=$CFLAGS
3592 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3593 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3594 if test "${ac_cv_prog_cc_g+set}" = set; then
3595 echo $ECHO_N "(cached) $ECHO_C" >&6
3597 ac_save_c_werror_flag
=$ac_c_werror_flag
3598 ac_c_werror_flag
=yes
3601 cat >conftest.
$ac_ext <<_ACEOF
3604 cat confdefs.h
>>conftest.
$ac_ext
3605 cat >>conftest.
$ac_ext <<_ACEOF
3606 /* end confdefs.h. */
3616 rm -f conftest.
$ac_objext
3617 if { (ac_try
="$ac_compile"
3619 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3620 *) ac_try_echo=$ac_try;;
3622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3623 (eval "$ac_compile") 2>conftest.er1
3625 grep -v '^ *+' conftest.er1 >conftest.err
3627 cat conftest.err >&5
3628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3629 (exit $ac_status); } && {
3630 test -z "$ac_c_werror_flag" ||
3631 test ! -s conftest.err
3632 } && test -s conftest.$ac_objext; then
3635 echo "$as_me: failed program was:" >&5
3636 sed 's/^/| /' conftest.$ac_ext >&5
3639 cat >conftest.$ac_ext <<_ACEOF
3642 cat confdefs.h >>conftest.$ac_ext
3643 cat >>conftest.$ac_ext <<_ACEOF
3644 /* end confdefs.h. */
3654 rm -f conftest.$ac_objext
3655 if { (ac_try="$ac_compile"
3657 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3658 *) ac_try_echo
=$ac_try;;
3660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3661 (eval "$ac_compile") 2>conftest.er1
3663 grep -v '^ *+' conftest.er1
>conftest.err
3665 cat conftest.err
>&5
3666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3667 (exit $ac_status); } && {
3668 test -z "$ac_c_werror_flag" ||
3669 test ! -s conftest.err
3670 } && test -s conftest.
$ac_objext; then
3673 echo "$as_me: failed program was:" >&5
3674 sed 's/^/| /' conftest.
$ac_ext >&5
3676 ac_c_werror_flag
=$ac_save_c_werror_flag
3678 cat >conftest.
$ac_ext <<_ACEOF
3681 cat confdefs.h
>>conftest.
$ac_ext
3682 cat >>conftest.
$ac_ext <<_ACEOF
3683 /* end confdefs.h. */
3693 rm -f conftest.
$ac_objext
3694 if { (ac_try
="$ac_compile"
3696 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3697 *) ac_try_echo=$ac_try;;
3699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3700 (eval "$ac_compile") 2>conftest.er1
3702 grep -v '^ *+' conftest.er1 >conftest.err
3704 cat conftest.err >&5
3705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3706 (exit $ac_status); } && {
3707 test -z "$ac_c_werror_flag" ||
3708 test ! -s conftest.err
3709 } && test -s conftest.$ac_objext; then
3712 echo "$as_me: failed program was:" >&5
3713 sed 's/^/| /' conftest.$ac_ext >&5
3718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3725 ac_c_werror_flag=$ac_save_c_werror_flag
3727 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3728 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3729 if test "$ac_test_CFLAGS" = set; then
3730 CFLAGS=$ac_save_CFLAGS
3731 elif test $ac_cv_prog_cc_g = yes; then
3732 if test "$GCC" = yes; then
3738 if test "$GCC" = yes; then
3744 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3745 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3746 if test "${ac_cv_prog_cc_c89+set}" = set; then
3747 echo $ECHO_N "(cached) $ECHO_C" >&6
3749 ac_cv_prog_cc_c89=no
3751 cat >conftest.$ac_ext <<_ACEOF
3754 cat confdefs.h >>conftest.$ac_ext
3755 cat >>conftest.$ac_ext <<_ACEOF
3756 /* end confdefs.h. */
3759 #include <sys/types.h>
3760 #include <sys/stat.h>
3761 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3762 struct buf { int x; };
3763 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3764 static char *e (p, i)
3770 static char *f (char * (*g) (char **, int), char **p, ...)
3775 s = g (p, va_arg (v,int));
3780 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3781 function prototypes and stuff, but not '\xHH' hex character constants.
3782 These don't provoke an error unfortunately, instead are silently treated
3783 as 'x'. The following induces an error, until -std is added to get
3784 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3785 array size at least. It's necessary to write '\x00'==0 to get something
3786 that's true only with -std. */
3787 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3789 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3790 inside strings and character constants. */
3792 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3794 int test (int i, double x);
3795 struct s1 {int (*f) (int a);};
3796 struct s2 {int (*f) (double a);};
3797 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3803 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3808 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3809 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3811 CC="$ac_save_CC $ac_arg"
3812 rm -f conftest.$ac_objext
3813 if { (ac_try="$ac_compile"
3815 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3816 *) ac_try_echo
=$ac_try;;
3818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3819 (eval "$ac_compile") 2>conftest.er1
3821 grep -v '^ *+' conftest.er1
>conftest.err
3823 cat conftest.err
>&5
3824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3825 (exit $ac_status); } && {
3826 test -z "$ac_c_werror_flag" ||
3827 test ! -s conftest.err
3828 } && test -s conftest.
$ac_objext; then
3829 ac_cv_prog_cc_c89
=$ac_arg
3831 echo "$as_me: failed program was:" >&5
3832 sed 's/^/| /' conftest.
$ac_ext >&5
3837 rm -f core conftest.err conftest.
$ac_objext
3838 test "x$ac_cv_prog_cc_c89" != "xno" && break
3840 rm -f conftest.
$ac_ext
3845 case "x$ac_cv_prog_cc_c89" in
3847 { echo "$as_me:$LINENO: result: none needed" >&5
3848 echo "${ECHO_T}none needed" >&6; } ;;
3850 { echo "$as_me:$LINENO: result: unsupported" >&5
3851 echo "${ECHO_T}unsupported" >&6; } ;;
3853 CC
="$CC $ac_cv_prog_cc_c89"
3854 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3855 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3860 ac_cpp
='$CPP $CPPFLAGS'
3861 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3862 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3863 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3865 depcc
="$CC" am_compiler_list
=
3867 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3868 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3869 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3870 echo $ECHO_N "(cached) $ECHO_C" >&6
3872 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3873 # We make a subdir and do the tests there. Otherwise we can end up
3874 # making bogus files that we don't know about and never remove. For
3875 # instance it was reported that on HP-UX the gcc test will end up
3876 # making a dummy file named `D' -- because `-MD' means `put the output
3879 # Copy depcomp to subdir because otherwise we won't find it if we're
3880 # using a relative directory.
3881 cp "$am_depcomp" conftest.dir
3883 # We will build objects and dependencies in a subdirectory because
3884 # it helps to detect inapplicable dependency modes. For instance
3885 # both Tru64's cc and ICC support -MD to output dependencies as a
3886 # side effect of compilation, but ICC will put the dependencies in
3887 # the current directory while Tru64 will put them in the object
3891 am_cv_CC_dependencies_compiler_type
=none
3892 if test "$am_compiler_list" = ""; then
3893 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3895 for depmode
in $am_compiler_list; do
3896 # Setup a source with many dependencies, because some compilers
3897 # like to wrap large dependency lists on column 80 (with \), and
3898 # we should not choose a depcomp mode which is confused by this.
3900 # We need to recreate these files for each test, as the compiler may
3901 # overwrite some of them when testing with obscure command lines.
3902 # This happens at least with the AIX C compiler.
3904 for i
in 1 2 3 4 5 6; do
3905 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3906 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3907 # Solaris 8's {/usr,}/bin/sh.
3908 touch sub
/conftst
$i.h
3910 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3914 # after this tag, mechanisms are not by side-effect, so they'll
3915 # only be used when explicitly requested
3916 if test "x$enable_dependency_tracking" = xyes
; then
3924 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3925 # mode. It turns out that the SunPro C++ compiler does not properly
3926 # handle `-M -o', and we need to detect this.
3927 if depmode
=$depmode \
3928 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3929 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3930 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3931 >/dev
/null
2>conftest.err
&&
3932 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3933 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3934 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3935 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3936 # icc doesn't choke on unknown options, it will just issue warnings
3937 # or remarks (even with -Werror). So we grep stderr for any message
3938 # that says an option was ignored or not supported.
3939 # When given -MP, icc 7.0 and 7.1 complain thusly:
3940 # icc: Command line warning: ignoring option '-M'; no argument required
3941 # The diagnosis changed in icc 8.0:
3942 # icc: Command line remark: option '-MP' not supported
3943 if (grep 'ignoring option' conftest.err ||
3944 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3945 am_cv_CC_dependencies_compiler_type
=$depmode
3954 am_cv_CC_dependencies_compiler_type
=none
3958 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3959 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3960 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3963 test "x$enable_dependency_tracking" != xno \
3964 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3966 am__fastdepCC_FALSE
='#'
3968 am__fastdepCC_TRUE
='#'
3969 am__fastdepCC_FALSE
=
3973 # Check whether --enable-shared was given.
3974 if test "${enable_shared+set}" = set; then
3975 enableval
=$enable_shared; p
=${PACKAGE-default}
3977 yes) enable_shared
=yes ;;
3978 no
) enable_shared
=no
;;
3981 # Look at the argument we got. We use all the common list separators.
3982 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3983 for pkg
in $enableval; do
3985 if test "X$pkg" = "X$p"; then
3997 # Check whether --enable-static was given.
3998 if test "${enable_static+set}" = set; then
3999 enableval
=$enable_static; p
=${PACKAGE-default}
4001 yes) enable_static
=yes ;;
4002 no
) enable_static
=no
;;
4005 # Look at the argument we got. We use all the common list separators.
4006 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4007 for pkg
in $enableval; do
4009 if test "X$pkg" = "X$p"; then
4021 # Check whether --enable-fast-install was given.
4022 if test "${enable_fast_install+set}" = set; then
4023 enableval
=$enable_fast_install; p
=${PACKAGE-default}
4025 yes) enable_fast_install
=yes ;;
4026 no
) enable_fast_install
=no
;;
4028 enable_fast_install
=no
4029 # Look at the argument we got. We use all the common list separators.
4030 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4031 for pkg
in $enableval; do
4033 if test "X$pkg" = "X$p"; then
4034 enable_fast_install
=yes
4041 enable_fast_install
=yes
4045 # Make sure we can run config.sub.
4046 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
4047 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
4048 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
4049 { (exit 1); exit 1; }; }
4051 { echo "$as_me:$LINENO: checking build system type" >&5
4052 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
4053 if test "${ac_cv_build+set}" = set; then
4054 echo $ECHO_N "(cached) $ECHO_C" >&6
4056 ac_build_alias
=$build_alias
4057 test "x$ac_build_alias" = x
&&
4058 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
4059 test "x$ac_build_alias" = x
&&
4060 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4061 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4062 { (exit 1); exit 1; }; }
4063 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4064 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
4065 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
4066 { (exit 1); exit 1; }; }
4069 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4070 echo "${ECHO_T}$ac_cv_build" >&6; }
4071 case $ac_cv_build in
4073 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
4074 echo "$as_me: error: invalid value of canonical build" >&2;}
4075 { (exit 1); exit 1; }; };;
4078 ac_save_IFS
=$IFS; IFS
='-'
4084 # Remember, the first character of IFS is used to create $*,
4085 # except with old shells:
4088 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
4091 { echo "$as_me:$LINENO: checking host system type" >&5
4092 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
4093 if test "${ac_cv_host+set}" = set; then
4094 echo $ECHO_N "(cached) $ECHO_C" >&6
4096 if test "x$host_alias" = x
; then
4097 ac_cv_host
=$ac_cv_build
4099 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4100 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
4101 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
4102 { (exit 1); exit 1; }; }
4106 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4107 echo "${ECHO_T}$ac_cv_host" >&6; }
4110 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
4111 echo "$as_me: error: invalid value of canonical host" >&2;}
4112 { (exit 1); exit 1; }; };;
4115 ac_save_IFS
=$IFS; IFS
='-'
4121 # Remember, the first character of IFS is used to create $*,
4122 # except with old shells:
4125 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4128 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4129 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
4130 if test "${lt_cv_path_SED+set}" = set; then
4131 echo $ECHO_N "(cached) $ECHO_C" >&6
4133 # Loop through the user's path and test for sed and gsed.
4134 # Then use that list of sed's as ones to test for truncation.
4135 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4139 test -z "$as_dir" && as_dir
=.
4140 for lt_ac_prog
in sed gsed
; do
4141 for ac_exec_ext
in '' $ac_executable_extensions; do
4142 if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
4143 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4151 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4152 # along with /bin/sed that truncates output.
4153 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
4154 test ! -f $lt_ac_sed && continue
4155 cat /dev
/null
> conftest.
in
4157 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
4158 # Check for GNU sed and select it if it is found.
4159 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
4160 lt_cv_path_SED
=$lt_ac_sed
4164 cat conftest.
in conftest.
in >conftest.tmp
4165 mv conftest.tmp conftest.
in
4166 cp conftest.
in conftest.
nl
4168 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
4169 cmp -s conftest.out conftest.
nl ||
break
4170 # 10000 chars as input seems more than enough
4171 test $lt_ac_count -gt 10 && break
4172 lt_ac_count
=`expr $lt_ac_count + 1`
4173 if test $lt_ac_count -gt $lt_ac_max; then
4174 lt_ac_max
=$lt_ac_count
4175 lt_cv_path_SED
=$lt_ac_sed
4184 { echo "$as_me:$LINENO: result: $SED" >&5
4185 echo "${ECHO_T}$SED" >&6; }
4187 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4188 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4189 if test "${ac_cv_path_GREP+set}" = set; then
4190 echo $ECHO_N "(cached) $ECHO_C" >&6
4192 # Extract the first word of "grep ggrep" to use in msg output
4193 if test -z "$GREP"; then
4194 set dummy
grep ggrep
; ac_prog_name
=$2
4195 if test "${ac_cv_path_GREP+set}" = set; then
4196 echo $ECHO_N "(cached) $ECHO_C" >&6
4198 ac_path_GREP_found
=false
4199 # Loop through the user's path and test for each of PROGNAME-LIST
4200 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4201 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4204 test -z "$as_dir" && as_dir
=.
4205 for ac_prog
in grep ggrep
; do
4206 for ac_exec_ext
in '' $ac_executable_extensions; do
4207 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4208 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4209 # Check for GNU ac_path_GREP and select it if it is found.
4210 # Check for GNU $ac_path_GREP
4211 case `"$ac_path_GREP" --version 2>&1` in
4213 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4216 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4219 cat "conftest.in" "conftest.in" >"conftest.tmp"
4220 mv "conftest.tmp" "conftest.in"
4221 cp "conftest.in" "conftest.nl"
4222 echo 'GREP' >> "conftest.nl"
4223 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4224 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4225 ac_count
=`expr $ac_count + 1`
4226 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4227 # Best one so far, save it but keep looking for a better one
4228 ac_cv_path_GREP
="$ac_path_GREP"
4229 ac_path_GREP_max
=$ac_count
4231 # 10*(2^10) chars as input seems more than enough
4232 test $ac_count -gt 10 && break
4234 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4238 $ac_path_GREP_found && break 3
4248 GREP
="$ac_cv_path_GREP"
4249 if test -z "$GREP"; then
4250 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4251 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4252 { (exit 1); exit 1; }; }
4256 ac_cv_path_GREP
=$GREP
4261 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4262 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4263 GREP
="$ac_cv_path_GREP"
4266 { echo "$as_me:$LINENO: checking for egrep" >&5
4267 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4268 if test "${ac_cv_path_EGREP+set}" = set; then
4269 echo $ECHO_N "(cached) $ECHO_C" >&6
4271 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4272 then ac_cv_path_EGREP
="$GREP -E"
4274 # Extract the first word of "egrep" to use in msg output
4275 if test -z "$EGREP"; then
4276 set dummy
egrep; ac_prog_name
=$2
4277 if test "${ac_cv_path_EGREP+set}" = set; then
4278 echo $ECHO_N "(cached) $ECHO_C" >&6
4280 ac_path_EGREP_found
=false
4281 # Loop through the user's path and test for each of PROGNAME-LIST
4282 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4283 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4286 test -z "$as_dir" && as_dir
=.
4287 for ac_prog
in egrep; do
4288 for ac_exec_ext
in '' $ac_executable_extensions; do
4289 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4290 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4291 # Check for GNU ac_path_EGREP and select it if it is found.
4292 # Check for GNU $ac_path_EGREP
4293 case `"$ac_path_EGREP" --version 2>&1` in
4295 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4298 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4301 cat "conftest.in" "conftest.in" >"conftest.tmp"
4302 mv "conftest.tmp" "conftest.in"
4303 cp "conftest.in" "conftest.nl"
4304 echo 'EGREP' >> "conftest.nl"
4305 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4306 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4307 ac_count
=`expr $ac_count + 1`
4308 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4309 # Best one so far, save it but keep looking for a better one
4310 ac_cv_path_EGREP
="$ac_path_EGREP"
4311 ac_path_EGREP_max
=$ac_count
4313 # 10*(2^10) chars as input seems more than enough
4314 test $ac_count -gt 10 && break
4316 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4320 $ac_path_EGREP_found && break 3
4330 EGREP
="$ac_cv_path_EGREP"
4331 if test -z "$EGREP"; then
4332 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4333 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4334 { (exit 1); exit 1; }; }
4338 ac_cv_path_EGREP
=$EGREP
4344 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4345 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4346 EGREP
="$ac_cv_path_EGREP"
4350 # Check whether --with-gnu-ld was given.
4351 if test "${with_gnu_ld+set}" = set; then
4352 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4358 if test "$GCC" = yes; then
4359 # Check if gcc -print-prog-name=ld gives a path.
4360 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4361 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
4364 # gcc leaves a trailing carriage return which upsets mingw
4365 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4367 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4370 # Accept absolute paths.
4372 re_direlt
='/[^/][^/]*/\.\./'
4373 # Canonicalize the pathname of ld
4374 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
4375 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
4376 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4378 test -z "$LD" && LD
="$ac_prog"
4381 # If it fails, then pretend we aren't using GCC.
4385 # If it is relative, then search for the first ld in PATH.
4389 elif test "$with_gnu_ld" = yes; then
4390 { echo "$as_me:$LINENO: checking for GNU ld" >&5
4391 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
4393 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4394 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
4396 if test "${lt_cv_path_LD+set}" = set; then
4397 echo $ECHO_N "(cached) $ECHO_C" >&6
4399 if test -z "$LD"; then
4400 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4401 for ac_dir
in $PATH; do
4403 test -z "$ac_dir" && ac_dir
=.
4404 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4405 lt_cv_path_LD
="$ac_dir/$ac_prog"
4406 # Check to see if the program is GNU ld. I'd rather use --version,
4407 # but apparently some variants of GNU ld only accept -v.
4408 # Break only if it was the GNU/non-GNU ld that we prefer.
4409 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4410 *GNU
* |
*'with BFD'*)
4411 test "$with_gnu_ld" != no
&& break
4414 test "$with_gnu_ld" != yes && break
4421 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4426 if test -n "$LD"; then
4427 { echo "$as_me:$LINENO: result: $LD" >&5
4428 echo "${ECHO_T}$LD" >&6; }
4430 { echo "$as_me:$LINENO: result: no" >&5
4431 echo "${ECHO_T}no" >&6; }
4433 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4434 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4435 { (exit 1); exit 1; }; }
4436 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4437 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4438 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4439 echo $ECHO_N "(cached) $ECHO_C" >&6
4441 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4442 case `$LD -v 2>&1 </dev/null` in
4443 *GNU
* |
*'with BFD'*)
4444 lt_cv_prog_gnu_ld
=yes
4447 lt_cv_prog_gnu_ld
=no
4451 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4452 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4453 with_gnu_ld
=$lt_cv_prog_gnu_ld
4456 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4457 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4458 if test "${lt_cv_ld_reload_flag+set}" = set; then
4459 echo $ECHO_N "(cached) $ECHO_C" >&6
4461 lt_cv_ld_reload_flag
='-r'
4463 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4464 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4465 reload_flag
=$lt_cv_ld_reload_flag
4466 case $reload_flag in
4468 *) reload_flag
=" $reload_flag" ;;
4470 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4473 if test "$GCC" = yes; then
4474 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4476 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4481 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4482 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
4483 if test "${lt_cv_path_NM+set}" = set; then
4484 echo $ECHO_N "(cached) $ECHO_C" >&6
4486 if test -n "$NM"; then
4487 # Let the user override the test.
4490 lt_nm_to_check
="${ac_tool_prefix}nm"
4491 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4492 lt_nm_to_check
="$lt_nm_to_check nm"
4494 for lt_tmp_nm
in $lt_nm_to_check; do
4495 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4496 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4498 test -z "$ac_dir" && ac_dir
=.
4499 tmp_nm
="$ac_dir/$lt_tmp_nm"
4500 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4501 # Check to see if the nm accepts a BSD-compat flag.
4502 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4503 # nm: unknown option "B" ignored
4504 # Tru64's nm complains that /dev/null is an invalid object file
4505 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4506 */dev
/null
* |
*'Invalid file or object type'*)
4507 lt_cv_path_NM
="$tmp_nm -B"
4511 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4513 lt_cv_path_NM
="$tmp_nm -p"
4517 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4518 continue # so that we can try to find one that supports BSD flags
4527 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
4530 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4531 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4534 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
4535 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4537 if test "$LN_S" = "ln -s"; then
4538 { echo "$as_me:$LINENO: result: yes" >&5
4539 echo "${ECHO_T}yes" >&6; }
4541 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4542 echo "${ECHO_T}no, using $LN_S" >&6; }
4545 { echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4546 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
4547 if test "${lt_cv_deplibs_check_method+set}" = set; then
4548 echo $ECHO_N "(cached) $ECHO_C" >&6
4550 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4551 lt_cv_file_magic_test_file
=
4552 lt_cv_deplibs_check_method
='unknown'
4553 # Need to set the preceding variable on all platforms that support
4554 # interlibrary dependencies.
4555 # 'none' -- dependencies not supported.
4556 # `unknown' -- same as none, but documents that we really don't know.
4557 # 'pass_all' -- all dependencies passed with no checks.
4558 # 'test_compile' -- check by making test program.
4559 # 'file_magic [[regex]]' -- check by looking for files in library path
4560 # which responds to the $file_magic_cmd with a given extended regex.
4561 # If you have `file' or equivalent on your system and you're not sure
4562 # whether `pass_all' will *always* work, you probably want this one.
4566 lt_cv_deplibs_check_method
=pass_all
4570 lt_cv_deplibs_check_method
=pass_all
4574 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4575 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4576 lt_cv_file_magic_test_file
=/shlib
/libc.so
4580 # func_win32_libid is a shell function defined in ltmain.sh
4581 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4582 lt_cv_file_magic_cmd
='func_win32_libid'
4586 # Base MSYS/MinGW do not provide the 'file' command needed by
4587 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4588 # unless we find 'file', for example because we are cross-compiling.
4589 if ( file / ) >/dev
/null
2>&1; then
4590 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4591 lt_cv_file_magic_cmd
='func_win32_libid'
4593 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
4594 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4598 darwin
* | rhapsody
*)
4599 lt_cv_deplibs_check_method
=pass_all
4602 freebsd
* | dragonfly
*)
4603 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4606 # Not sure whether the presence of OpenBSD here was a mistake.
4607 # Let's accept both of them until this is cleared up.
4608 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4609 lt_cv_file_magic_cmd
=/usr
/bin
/file
4610 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4614 lt_cv_deplibs_check_method
=pass_all
4619 lt_cv_deplibs_check_method
=pass_all
4622 hpux10.20
* | hpux11
*)
4623 lt_cv_file_magic_cmd
=/usr
/bin
/file
4626 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4627 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
4630 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]'
4631 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
4634 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4635 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4641 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4642 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
4645 irix5
* | irix6
* | nonstopux
*)
4647 *-32|
*"-32 ") libmagic
=32-bit;;
4648 *-n32|
*"-n32 ") libmagic
=N32
;;
4649 *-64|
*"-64 ") libmagic
=64-bit;;
4650 *) libmagic
=never-match
;;
4652 lt_cv_deplibs_check_method
=pass_all
4655 # This must be Linux ELF.
4656 linux
* | k
*bsd
*-gnu)
4657 lt_cv_deplibs_check_method
=pass_all
4661 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4662 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4664 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4669 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4670 lt_cv_file_magic_cmd
=/usr
/bin
/file
4671 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4675 lt_cv_deplibs_check_method
=unknown
4679 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4680 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4682 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4686 osf3
* | osf4
* | osf5
*)
4687 lt_cv_deplibs_check_method
=pass_all
4691 lt_cv_deplibs_check_method
=pass_all
4695 lt_cv_deplibs_check_method
=pass_all
4699 case $host_vendor in
4701 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]'
4702 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4705 lt_cv_deplibs_check_method
=pass_all
4708 lt_cv_file_magic_cmd
='/bin/file'
4709 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4712 lt_cv_file_magic_cmd
='/bin/file'
4713 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4714 lt_cv_file_magic_test_file
=/lib
/libc.so
4717 lt_cv_deplibs_check_method
=pass_all
4720 lt_cv_deplibs_check_method
=pass_all
4725 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
4726 lt_cv_deplibs_check_method
=pass_all
4731 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4732 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4733 file_magic_cmd
=$lt_cv_file_magic_cmd
4734 deplibs_check_method
=$lt_cv_deplibs_check_method
4735 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
4740 # If no C compiler was specified, use CC.
4743 # If no C compiler flags were specified, use CFLAGS.
4744 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
4746 # Allow CC to be a program name with arguments.
4750 # Check whether --enable-libtool-lock was given.
4751 if test "${enable_libtool_lock+set}" = set; then
4752 enableval
=$enable_libtool_lock;
4755 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
4757 # Some flags need to be propagated to the compiler or linker for good
4761 # Find out which ABI we are using.
4762 echo 'int i;' > conftest.
$ac_ext
4763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4764 (eval $ac_compile) 2>&5
4766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4767 (exit $ac_status); }; then
4768 case `/usr/bin/file conftest.$ac_objext` in
4780 # Find out which ABI we are using.
4781 echo '#line 4781 "configure"' > conftest.
$ac_ext
4782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4783 (eval $ac_compile) 2>&5
4785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4786 (exit $ac_status); }; then
4787 if test "$lt_cv_prog_gnu_ld" = yes; then
4788 case `/usr/bin/file conftest.$ac_objext` in
4790 LD
="${LD-ld} -melf32bsmip"
4793 LD
="${LD-ld} -melf32bmipn32"
4796 LD
="${LD-ld} -melf64bmip"
4800 case `/usr/bin/file conftest.$ac_objext` in
4816 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
4817 s390
*-*linux
*|sparc
*-*linux
*)
4818 # Find out which ABI we are using.
4819 echo 'int i;' > conftest.
$ac_ext
4820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4821 (eval $ac_compile) 2>&5
4823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4824 (exit $ac_status); }; then
4825 case `/usr/bin/file conftest.o` in
4828 x86_64-
*kfreebsd
*-gnu)
4829 LD
="${LD-ld} -m elf_i386_fbsd"
4832 LD
="${LD-ld} -m elf_i386"
4834 ppc64-
*linux
*|powerpc64-
*linux
*)
4835 LD
="${LD-ld} -m elf32ppclinux"
4838 LD
="${LD-ld} -m elf_s390"
4841 LD
="${LD-ld} -m elf32_sparc"
4847 x86_64-
*kfreebsd
*-gnu)
4848 LD
="${LD-ld} -m elf_x86_64_fbsd"
4851 LD
="${LD-ld} -m elf_x86_64"
4853 ppc
*-*linux
*|powerpc
*-*linux
*)
4854 LD
="${LD-ld} -m elf64ppc"
4857 LD
="${LD-ld} -m elf64_s390"
4860 LD
="${LD-ld} -m elf64_sparc"
4870 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4871 SAVE_CFLAGS
="$CFLAGS"
4872 CFLAGS
="$CFLAGS -belf"
4873 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4874 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4875 if test "${lt_cv_cc_needs_belf+set}" = set; then
4876 echo $ECHO_N "(cached) $ECHO_C" >&6
4879 ac_cpp
='$CPP $CPPFLAGS'
4880 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4881 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4882 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4884 cat >conftest.
$ac_ext <<_ACEOF
4887 cat confdefs.h
>>conftest.
$ac_ext
4888 cat >>conftest.
$ac_ext <<_ACEOF
4889 /* end confdefs.h. */
4899 rm -f conftest.
$ac_objext conftest
$ac_exeext
4900 if { (ac_try
="$ac_link"
4902 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4903 *) ac_try_echo=$ac_try;;
4905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4906 (eval "$ac_link") 2>conftest.er1
4908 grep -v '^ *+' conftest.er1 >conftest.err
4910 cat conftest.err >&5
4911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4912 (exit $ac_status); } && {
4913 test -z "$ac_c_werror_flag" ||
4914 test ! -s conftest.err
4915 } && test -s conftest$ac_exeext &&
4916 $as_test_x conftest$ac_exeext; then
4917 lt_cv_cc_needs_belf=yes
4919 echo "$as_me: failed program was:" >&5
4920 sed 's/^/| /' conftest.$ac_ext >&5
4922 lt_cv_cc_needs_belf=no
4925 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4926 conftest$ac_exeext conftest.$ac_ext
4928 ac_cpp='$CPP $CPPFLAGS'
4929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4934 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4935 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
4936 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4937 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4938 CFLAGS="$SAVE_CFLAGS"
4942 # Find out which ABI we are using.
4943 echo 'int i;' > conftest.$ac_ext
4944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4945 (eval $ac_compile) 2>&5
4947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4948 (exit $ac_status); }; then
4949 case `/usr
/bin
/file conftest.o
` in
4951 case $lt_cv_prog_gnu_ld in
4952 yes*) LD="${LD-ld} -m elf64_sparc" ;;
4953 *) LD="${LD-ld} -64" ;;
4964 need_locks="$enable_libtool_lock"
4968 ac_cpp='$CPP $CPPFLAGS'
4969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4972 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4973 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4974 # On Suns, sometimes $CPP names a directory.
4975 if test -n "$CPP" && test -d "$CPP"; then
4978 if test -z "$CPP"; then
4979 if test "${ac_cv_prog_CPP+set}" = set; then
4980 echo $ECHO_N "(cached) $ECHO_C" >&6
4982 # Double quotes because CPP needs to be expanded
4983 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4986 for ac_c_preproc_warn_flag in '' yes
4988 # Use a header file that comes with gcc, so configuring glibc
4989 # with a fresh cross-compiler works.
4990 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4991 # <limits.h> exists even on freestanding compilers.
4992 # On the NeXT, cc -E runs the code through the compiler's parser,
4993 # not just through cpp. "Syntax error" is here to catch this case.
4994 cat >conftest.$ac_ext <<_ACEOF
4997 cat confdefs.h >>conftest.$ac_ext
4998 cat >>conftest.$ac_ext <<_ACEOF
4999 /* end confdefs.h. */
5001 # include <limits.h>
5003 # include <assert.h>
5007 if { (ac_try="$ac_cpp conftest.$ac_ext"
5009 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5010 *) ac_try_echo
=$ac_try;;
5012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5013 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5015 grep -v '^ *+' conftest.er1
>conftest.err
5017 cat conftest.err
>&5
5018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5019 (exit $ac_status); } >/dev
/null
&& {
5020 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5021 test ! -s conftest.err
5025 echo "$as_me: failed program was:" >&5
5026 sed 's/^/| /' conftest.
$ac_ext >&5
5028 # Broken: fails on valid input.
5032 rm -f conftest.err conftest.
$ac_ext
5034 # OK, works on sane cases. Now check whether nonexistent headers
5035 # can be detected and how.
5036 cat >conftest.
$ac_ext <<_ACEOF
5039 cat confdefs.h
>>conftest.
$ac_ext
5040 cat >>conftest.
$ac_ext <<_ACEOF
5041 /* end confdefs.h. */
5042 #include <ac_nonexistent.h>
5044 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5046 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5047 *) ac_try_echo=$ac_try;;
5049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5050 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5052 grep -v '^ *+' conftest.er1 >conftest.err
5054 cat conftest.err >&5
5055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5056 (exit $ac_status); } >/dev/null && {
5057 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5058 test ! -s conftest.err
5060 # Broken: success on invalid input.
5063 echo "$as_me: failed program was:" >&5
5064 sed 's/^/| /' conftest.$ac_ext >&5
5066 # Passes both tests.
5071 rm -f conftest.err conftest.$ac_ext
5074 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5075 rm -f conftest.err conftest.
$ac_ext
5076 if $ac_preproc_ok; then
5088 { echo "$as_me:$LINENO: result: $CPP" >&5
5089 echo "${ECHO_T}$CPP" >&6; }
5091 for ac_c_preproc_warn_flag
in '' yes
5093 # Use a header file that comes with gcc, so configuring glibc
5094 # with a fresh cross-compiler works.
5095 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5096 # <limits.h> exists even on freestanding compilers.
5097 # On the NeXT, cc -E runs the code through the compiler's parser,
5098 # not just through cpp. "Syntax error" is here to catch this case.
5099 cat >conftest.
$ac_ext <<_ACEOF
5102 cat confdefs.h
>>conftest.
$ac_ext
5103 cat >>conftest.
$ac_ext <<_ACEOF
5104 /* end confdefs.h. */
5106 # include <limits.h>
5108 # include <assert.h>
5112 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5114 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5115 *) ac_try_echo=$ac_try;;
5117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5118 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5120 grep -v '^ *+' conftest.er1 >conftest.err
5122 cat conftest.err >&5
5123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5124 (exit $ac_status); } >/dev/null && {
5125 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5126 test ! -s conftest.err
5130 echo "$as_me: failed program was:" >&5
5131 sed 's/^/| /' conftest.$ac_ext >&5
5133 # Broken: fails on valid input.
5137 rm -f conftest.err conftest.$ac_ext
5139 # OK, works on sane cases. Now check whether nonexistent headers
5140 # can be detected and how.
5141 cat >conftest.$ac_ext <<_ACEOF
5144 cat confdefs.h >>conftest.$ac_ext
5145 cat >>conftest.$ac_ext <<_ACEOF
5146 /* end confdefs.h. */
5147 #include <ac_nonexistent.h>
5149 if { (ac_try="$ac_cpp conftest.$ac_ext"
5151 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5152 *) ac_try_echo
=$ac_try;;
5154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5155 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5157 grep -v '^ *+' conftest.er1
>conftest.err
5159 cat conftest.err
>&5
5160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5161 (exit $ac_status); } >/dev
/null
&& {
5162 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5163 test ! -s conftest.err
5165 # Broken: success on invalid input.
5168 echo "$as_me: failed program was:" >&5
5169 sed 's/^/| /' conftest.
$ac_ext >&5
5171 # Passes both tests.
5176 rm -f conftest.err conftest.
$ac_ext
5179 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5180 rm -f conftest.err conftest.
$ac_ext
5181 if $ac_preproc_ok; then
5184 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5185 See \`config.log' for more details." >&5
5186 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5187 See \`config.log' for more details." >&2;}
5188 { (exit 1); exit 1; }; }
5192 ac_cpp
='$CPP $CPPFLAGS'
5193 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5194 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5195 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5198 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5199 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5200 if test "${ac_cv_header_stdc+set}" = set; then
5201 echo $ECHO_N "(cached) $ECHO_C" >&6
5203 cat >conftest.
$ac_ext <<_ACEOF
5206 cat confdefs.h
>>conftest.
$ac_ext
5207 cat >>conftest.
$ac_ext <<_ACEOF
5208 /* end confdefs.h. */
5222 rm -f conftest.
$ac_objext
5223 if { (ac_try
="$ac_compile"
5225 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5226 *) ac_try_echo=$ac_try;;
5228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5229 (eval "$ac_compile") 2>conftest.er1
5231 grep -v '^ *+' conftest.er1 >conftest.err
5233 cat conftest.err >&5
5234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5235 (exit $ac_status); } && {
5236 test -z "$ac_c_werror_flag" ||
5237 test ! -s conftest.err
5238 } && test -s conftest.$ac_objext; then
5239 ac_cv_header_stdc=yes
5241 echo "$as_me: failed program was:" >&5
5242 sed 's/^/| /' conftest.$ac_ext >&5
5244 ac_cv_header_stdc=no
5247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5249 if test $ac_cv_header_stdc = yes; then
5250 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5251 cat >conftest.$ac_ext <<_ACEOF
5254 cat confdefs.h >>conftest.$ac_ext
5255 cat >>conftest.$ac_ext <<_ACEOF
5256 /* end confdefs.h. */
5260 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5261 $EGREP "memchr" >/dev/null 2>&1; then
5264 ac_cv_header_stdc=no
5270 if test $ac_cv_header_stdc = yes; then
5271 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5272 cat >conftest.$ac_ext <<_ACEOF
5275 cat confdefs.h >>conftest.$ac_ext
5276 cat >>conftest.$ac_ext <<_ACEOF
5277 /* end confdefs.h. */
5281 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5282 $EGREP "free" >/dev/null 2>&1; then
5285 ac_cv_header_stdc=no
5291 if test $ac_cv_header_stdc = yes; then
5292 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5293 if test "$cross_compiling" = yes; then
5296 cat >conftest.$ac_ext <<_ACEOF
5299 cat confdefs.h >>conftest.$ac_ext
5300 cat >>conftest.$ac_ext <<_ACEOF
5301 /* end confdefs.h. */
5304 #if ((' ' & 0x0FF) == 0x020)
5305 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5306 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5308 # define ISLOWER(c) \
5309 (('a' <= (c) && (c) <= 'i') \
5310 || ('j' <= (c) && (c) <= 'r') \
5311 || ('s' <= (c) && (c) <= 'z'))
5312 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5315 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5320 for (i = 0; i < 256; i++)
5321 if (XOR (islower (i), ISLOWER (i))
5322 || toupper (i) != TOUPPER (i))
5327 rm -f conftest$ac_exeext
5328 if { (ac_try="$ac_link"
5330 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5331 *) ac_try_echo
=$ac_try;;
5333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5334 (eval "$ac_link") 2>&5
5336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5337 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5338 { (case "(($ac_try" in
5339 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5340 *) ac_try_echo=$ac_try;;
5342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5343 (eval "$ac_try") 2>&5
5345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5346 (exit $ac_status); }; }; then
5349 echo "$as_me: program exited with status $ac_status" >&5
5350 echo "$as_me: failed program was:" >&5
5351 sed 's/^/| /' conftest.$ac_ext >&5
5354 ac_cv_header_stdc=no
5356 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5362 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5363 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5364 if test $ac_cv_header_stdc = yes; then
5366 cat >>confdefs.h <<\_ACEOF
5367 #define STDC_HEADERS 1
5372 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5382 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5383 inttypes.h stdint.h unistd.h
5385 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5386 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5387 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5388 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5389 echo $ECHO_N "(cached) $ECHO_C" >&6
5391 cat >conftest.$ac_ext <<_ACEOF
5394 cat confdefs.h >>conftest.$ac_ext
5395 cat >>conftest.$ac_ext <<_ACEOF
5396 /* end confdefs.h. */
5397 $ac_includes_default
5399 #include <$ac_header>
5401 rm -f conftest.$ac_objext
5402 if { (ac_try="$ac_compile"
5404 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5405 *) ac_try_echo
=$ac_try;;
5407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5408 (eval "$ac_compile") 2>conftest.er1
5410 grep -v '^ *+' conftest.er1
>conftest.err
5412 cat conftest.err
>&5
5413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5414 (exit $ac_status); } && {
5415 test -z "$ac_c_werror_flag" ||
5416 test ! -s conftest.err
5417 } && test -s conftest.
$ac_objext; then
5418 eval "$as_ac_Header=yes"
5420 echo "$as_me: failed program was:" >&5
5421 sed 's/^/| /' conftest.
$ac_ext >&5
5423 eval "$as_ac_Header=no"
5426 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5428 ac_res
=`eval echo '${'$as_ac_Header'}'`
5429 { echo "$as_me:$LINENO: result: $ac_res" >&5
5430 echo "${ECHO_T}$ac_res" >&6; }
5431 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5432 cat >>confdefs.h
<<_ACEOF
5433 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5442 for ac_header
in dlfcn.h
5444 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5445 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5446 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5447 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5448 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5449 echo $ECHO_N "(cached) $ECHO_C" >&6
5451 ac_res
=`eval echo '${'$as_ac_Header'}'`
5452 { echo "$as_me:$LINENO: result: $ac_res" >&5
5453 echo "${ECHO_T}$ac_res" >&6; }
5455 # Is the header compilable?
5456 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5457 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5458 cat >conftest.
$ac_ext <<_ACEOF
5461 cat confdefs.h
>>conftest.
$ac_ext
5462 cat >>conftest.
$ac_ext <<_ACEOF
5463 /* end confdefs.h. */
5464 $ac_includes_default
5465 #include <$ac_header>
5467 rm -f conftest.
$ac_objext
5468 if { (ac_try
="$ac_compile"
5470 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5471 *) ac_try_echo=$ac_try;;
5473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5474 (eval "$ac_compile") 2>conftest.er1
5476 grep -v '^ *+' conftest.er1 >conftest.err
5478 cat conftest.err >&5
5479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5480 (exit $ac_status); } && {
5481 test -z "$ac_c_werror_flag" ||
5482 test ! -s conftest.err
5483 } && test -s conftest.$ac_objext; then
5484 ac_header_compiler=yes
5486 echo "$as_me: failed program was:" >&5
5487 sed 's/^/| /' conftest.$ac_ext >&5
5489 ac_header_compiler=no
5492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5493 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5494 echo "${ECHO_T}$ac_header_compiler" >&6; }
5496 # Is the header present?
5497 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5498 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5499 cat >conftest.$ac_ext <<_ACEOF
5502 cat confdefs.h >>conftest.$ac_ext
5503 cat >>conftest.$ac_ext <<_ACEOF
5504 /* end confdefs.h. */
5505 #include <$ac_header>
5507 if { (ac_try="$ac_cpp conftest.$ac_ext"
5509 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5510 *) ac_try_echo
=$ac_try;;
5512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5513 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5515 grep -v '^ *+' conftest.er1
>conftest.err
5517 cat conftest.err
>&5
5518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5519 (exit $ac_status); } >/dev
/null
&& {
5520 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5521 test ! -s conftest.err
5523 ac_header_preproc
=yes
5525 echo "$as_me: failed program was:" >&5
5526 sed 's/^/| /' conftest.
$ac_ext >&5
5528 ac_header_preproc
=no
5531 rm -f conftest.err conftest.
$ac_ext
5532 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5533 echo "${ECHO_T}$ac_header_preproc" >&6; }
5535 # So? What about this header?
5536 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5538 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5539 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5540 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5541 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5542 ac_header_preproc
=yes
5545 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5546 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5547 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5548 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5549 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5550 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5551 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5552 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5553 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5554 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5555 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5556 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5558 ## ------------------------------------- ##
5559 ## Report this to ahmed.badran@gmail.com ##
5560 ## ------------------------------------- ##
5562 ) |
sed "s/^/$as_me: WARNING: /" >&2
5565 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5566 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5567 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5568 echo $ECHO_N "(cached) $ECHO_C" >&6
5570 eval "$as_ac_Header=\$ac_header_preproc"
5572 ac_res
=`eval echo '${'$as_ac_Header'}'`
5573 { echo "$as_me:$LINENO: result: $ac_res" >&5
5574 echo "${ECHO_T}$ac_res" >&6; }
5577 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5578 cat >>confdefs.h
<<_ACEOF
5579 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5588 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5589 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5590 (test "X$CXX" != "Xg++"))) ; then
5592 ac_cpp
='$CXXCPP $CPPFLAGS'
5593 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5594 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5595 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5596 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5597 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5598 if test -z "$CXXCPP"; then
5599 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5600 echo $ECHO_N "(cached) $ECHO_C" >&6
5602 # Double quotes because CXXCPP needs to be expanded
5603 for CXXCPP
in "$CXX -E" "/lib/cpp"
5606 for ac_cxx_preproc_warn_flag
in '' yes
5608 # Use a header file that comes with gcc, so configuring glibc
5609 # with a fresh cross-compiler works.
5610 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5611 # <limits.h> exists even on freestanding compilers.
5612 # On the NeXT, cc -E runs the code through the compiler's parser,
5613 # not just through cpp. "Syntax error" is here to catch this case.
5614 cat >conftest.
$ac_ext <<_ACEOF
5617 cat confdefs.h
>>conftest.
$ac_ext
5618 cat >>conftest.
$ac_ext <<_ACEOF
5619 /* end confdefs.h. */
5621 # include <limits.h>
5623 # include <assert.h>
5627 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5629 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5630 *) ac_try_echo=$ac_try;;
5632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5633 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5635 grep -v '^ *+' conftest.er1 >conftest.err
5637 cat conftest.err >&5
5638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5639 (exit $ac_status); } >/dev/null && {
5640 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5641 test ! -s conftest.err
5645 echo "$as_me: failed program was:" >&5
5646 sed 's/^/| /' conftest.$ac_ext >&5
5648 # Broken: fails on valid input.
5652 rm -f conftest.err conftest.$ac_ext
5654 # OK, works on sane cases. Now check whether nonexistent headers
5655 # can be detected and how.
5656 cat >conftest.$ac_ext <<_ACEOF
5659 cat confdefs.h >>conftest.$ac_ext
5660 cat >>conftest.$ac_ext <<_ACEOF
5661 /* end confdefs.h. */
5662 #include <ac_nonexistent.h>
5664 if { (ac_try="$ac_cpp conftest.$ac_ext"
5666 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5667 *) ac_try_echo
=$ac_try;;
5669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5670 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5672 grep -v '^ *+' conftest.er1
>conftest.err
5674 cat conftest.err
>&5
5675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5676 (exit $ac_status); } >/dev
/null
&& {
5677 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5678 test ! -s conftest.err
5680 # Broken: success on invalid input.
5683 echo "$as_me: failed program was:" >&5
5684 sed 's/^/| /' conftest.
$ac_ext >&5
5686 # Passes both tests.
5691 rm -f conftest.err conftest.
$ac_ext
5694 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5695 rm -f conftest.err conftest.
$ac_ext
5696 if $ac_preproc_ok; then
5701 ac_cv_prog_CXXCPP
=$CXXCPP
5704 CXXCPP
=$ac_cv_prog_CXXCPP
5706 ac_cv_prog_CXXCPP
=$CXXCPP
5708 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
5709 echo "${ECHO_T}$CXXCPP" >&6; }
5711 for ac_cxx_preproc_warn_flag
in '' yes
5713 # Use a header file that comes with gcc, so configuring glibc
5714 # with a fresh cross-compiler works.
5715 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5716 # <limits.h> exists even on freestanding compilers.
5717 # On the NeXT, cc -E runs the code through the compiler's parser,
5718 # not just through cpp. "Syntax error" is here to catch this case.
5719 cat >conftest.
$ac_ext <<_ACEOF
5722 cat confdefs.h
>>conftest.
$ac_ext
5723 cat >>conftest.
$ac_ext <<_ACEOF
5724 /* end confdefs.h. */
5726 # include <limits.h>
5728 # include <assert.h>
5732 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5734 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5735 *) ac_try_echo=$ac_try;;
5737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5738 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5740 grep -v '^ *+' conftest.er1 >conftest.err
5742 cat conftest.err >&5
5743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5744 (exit $ac_status); } >/dev/null && {
5745 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5746 test ! -s conftest.err
5750 echo "$as_me: failed program was:" >&5
5751 sed 's/^/| /' conftest.$ac_ext >&5
5753 # Broken: fails on valid input.
5757 rm -f conftest.err conftest.$ac_ext
5759 # OK, works on sane cases. Now check whether nonexistent headers
5760 # can be detected and how.
5761 cat >conftest.$ac_ext <<_ACEOF
5764 cat confdefs.h >>conftest.$ac_ext
5765 cat >>conftest.$ac_ext <<_ACEOF
5766 /* end confdefs.h. */
5767 #include <ac_nonexistent.h>
5769 if { (ac_try="$ac_cpp conftest.$ac_ext"
5771 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5772 *) ac_try_echo
=$ac_try;;
5774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5775 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5777 grep -v '^ *+' conftest.er1
>conftest.err
5779 cat conftest.err
>&5
5780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5781 (exit $ac_status); } >/dev
/null
&& {
5782 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5783 test ! -s conftest.err
5785 # Broken: success on invalid input.
5788 echo "$as_me: failed program was:" >&5
5789 sed 's/^/| /' conftest.
$ac_ext >&5
5791 # Passes both tests.
5796 rm -f conftest.err conftest.
$ac_ext
5799 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5800 rm -f conftest.err conftest.
$ac_ext
5801 if $ac_preproc_ok; then
5804 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5805 See \`config.log' for more details." >&5
5806 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5807 See \`config.log' for more details." >&2;}
5808 { (exit 1); exit 1; }; }
5812 ac_cpp
='$CXXCPP $CPPFLAGS'
5813 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5814 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5815 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5821 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5822 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5823 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
5824 if test -n "$ac_tool_prefix"; then
5825 for ac_prog
in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
5827 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5828 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5829 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5830 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5831 if test "${ac_cv_prog_F77+set}" = set; then
5832 echo $ECHO_N "(cached) $ECHO_C" >&6
5834 if test -n "$F77"; then
5835 ac_cv_prog_F77
="$F77" # Let the user override the test.
5837 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5841 test -z "$as_dir" && as_dir
=.
5842 for ac_exec_ext
in '' $ac_executable_extensions; do
5843 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5844 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
5845 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5855 if test -n "$F77"; then
5856 { echo "$as_me:$LINENO: result: $F77" >&5
5857 echo "${ECHO_T}$F77" >&6; }
5859 { echo "$as_me:$LINENO: result: no" >&5
5860 echo "${ECHO_T}no" >&6; }
5864 test -n "$F77" && break
5867 if test -z "$F77"; then
5869 for ac_prog
in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
5871 # Extract the first word of "$ac_prog", so it can be a program name with args.
5872 set dummy
$ac_prog; ac_word
=$2
5873 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5874 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5875 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5876 echo $ECHO_N "(cached) $ECHO_C" >&6
5878 if test -n "$ac_ct_F77"; then
5879 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
5881 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5885 test -z "$as_dir" && as_dir
=.
5886 for ac_exec_ext
in '' $ac_executable_extensions; do
5887 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5888 ac_cv_prog_ac_ct_F77
="$ac_prog"
5889 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5898 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
5899 if test -n "$ac_ct_F77"; then
5900 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5901 echo "${ECHO_T}$ac_ct_F77" >&6; }
5903 { echo "$as_me:$LINENO: result: no" >&5
5904 echo "${ECHO_T}no" >&6; }
5908 test -n "$ac_ct_F77" && break
5911 if test "x$ac_ct_F77" = x
; then
5914 case $cross_compiling:$ac_tool_warned in
5916 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5917 whose name does not start with the host triplet. If you think this
5918 configuration is useful to you, please write to autoconf@gnu.org." >&5
5919 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5920 whose name does not start with the host triplet. If you think this
5921 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5922 ac_tool_warned
=yes ;;
5929 # Provide some information about the compiler.
5930 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
5931 ac_compiler
=`set X $ac_compile; echo $2`
5932 { (ac_try
="$ac_compiler --version >&5"
5934 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5935 *) ac_try_echo=$ac_try;;
5937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5938 (eval "$ac_compiler --version >&5") 2>&5
5940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5941 (exit $ac_status); }
5942 { (ac_try="$ac_compiler -v >&5"
5944 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5945 *) ac_try_echo
=$ac_try;;
5947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5948 (eval "$ac_compiler -v >&5") 2>&5
5950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5951 (exit $ac_status); }
5952 { (ac_try
="$ac_compiler -V >&5"
5954 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5955 *) ac_try_echo=$ac_try;;
5957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5958 (eval "$ac_compiler -V >&5") 2>&5
5960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5961 (exit $ac_status); }
5964 # If we don't use `.F
' as extension, the preprocessor is not run on the
5965 # input file. (Note that this only needs to work for GNU compilers.)
5968 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5969 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
5970 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5971 echo $ECHO_N "(cached) $ECHO_C" >&6
5973 cat >conftest.$ac_ext <<_ACEOF
5981 rm -f conftest.$ac_objext
5982 if { (ac_try="$ac_compile"
5984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5985 *) ac_try_echo=$ac_try;;
5987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5988 (eval "$ac_compile") 2>conftest.er1
5990 grep -v '^
*+' conftest.er1 >conftest.err
5992 cat conftest.err >&5
5993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5994 (exit $ac_status); } && {
5995 test -z "$ac_f77_werror_flag" ||
5996 test ! -s conftest.err
5997 } && test -s conftest.$ac_objext; then
6000 echo "$as_me: failed program was:" >&5
6001 sed 's
/^
/|
/' conftest.$ac_ext >&5
6006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6007 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6010 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6011 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
6013 ac_test_FFLAGS=${FFLAGS+set}
6014 ac_save_FFLAGS=$FFLAGS
6016 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6017 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
6018 if test "${ac_cv_prog_f77_g+set}" = set; then
6019 echo $ECHO_N "(cached) $ECHO_C" >&6
6022 cat >conftest.$ac_ext <<_ACEOF
6027 rm -f conftest.$ac_objext
6028 if { (ac_try="$ac_compile"
6030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6031 *) ac_try_echo=$ac_try;;
6033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6034 (eval "$ac_compile") 2>conftest.er1
6036 grep -v '^
*+' conftest.er1 >conftest.err
6038 cat conftest.err >&5
6039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6040 (exit $ac_status); } && {
6041 test -z "$ac_f77_werror_flag" ||
6042 test ! -s conftest.err
6043 } && test -s conftest.$ac_objext; then
6044 ac_cv_prog_f77_g=yes
6046 echo "$as_me: failed program was:" >&5
6047 sed 's
/^
/|
/' conftest.$ac_ext >&5
6052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6055 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6056 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
6057 if test "$ac_test_FFLAGS" = set; then
6058 FFLAGS=$ac_save_FFLAGS
6059 elif test $ac_cv_prog_f77_g = yes; then
6060 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6066 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6073 G77=`test $ac_compiler_gnu = yes && echo yes`
6075 ac_cpp='$CPP $CPPFLAGS'
6076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
6077 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6082 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works
for C compilers
!
6084 # find the maximum length of command line arguments
6085 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6086 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
6087 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6088 echo $ECHO_N "(cached) $ECHO_C" >&6
6095 # On DJGPP, this test can blow up pretty badly due to problems in libc
6096 # (any single argument exceeding 2000 bytes causes a buffer overrun
6097 # during glob expansion). Even if it were fixed, the result of this
6098 # check would be larger than it should be.
6099 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6103 # Under GNU Hurd, this test is not required because there is
6104 # no limit to the length of command line arguments.
6105 # Libtool will interpret -1 as no limit whatsoever
6106 lt_cv_sys_max_cmd_len
=-1;
6110 # On Win9x/ME, this test blows up -- it succeeds, but takes
6111 # about 5 minutes as the teststring grows exponentially.
6112 # Worse, since 9x/ME are not pre-emptively multitasking,
6113 # you end up with a "frozen" computer, even though with patience
6114 # the test eventually succeeds (with a max line length of 256k).
6115 # Instead, let's just punt: use the minimum linelength reported by
6116 # all of the supported platforms: 8192 (on NT/2K/XP).
6117 lt_cv_sys_max_cmd_len
=8192;
6121 # On AmigaOS with pdksh, this test takes hours, literally.
6122 # So we just punt and use a minimum line length of 8192.
6123 lt_cv_sys_max_cmd_len
=8192;
6126 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6127 # This has been around since 386BSD, at least. Likely further.
6128 if test -x /sbin
/sysctl
; then
6129 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6130 elif test -x /usr
/sbin
/sysctl
; then
6131 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6133 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6135 # And add a safety zone
6136 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6137 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6141 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6142 lt_cv_sys_max_cmd_len
=196608
6146 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6147 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6148 # nice to cause kernel panics so lets avoid the loop below.
6149 # First set a reasonable default.
6150 lt_cv_sys_max_cmd_len
=16384
6152 if test -x /sbin
/sysconfig
; then
6153 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6154 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6159 lt_cv_sys_max_cmd_len
=102400
6161 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6162 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6163 if test -n "$kargmax"; then
6164 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6166 lt_cv_sys_max_cmd_len
=32768
6170 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6171 if test -n "$lt_cv_sys_max_cmd_len"; then
6172 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6173 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6175 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6176 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6177 = "XX$teststring") >/dev
/null
2>&1 &&
6178 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
6179 lt_cv_sys_max_cmd_len
=$new_result &&
6180 test $i != 17 # 1/2 MB should be enough
6183 teststring
=$teststring$teststring
6186 # Add a significant safety factor because C++ compilers can tack on massive
6187 # amounts of additional arguments before passing them to the linker.
6188 # It appears as though 1/2 is a usable value.
6189 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6196 if test -n $lt_cv_sys_max_cmd_len ; then
6197 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6198 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
6200 { echo "$as_me:$LINENO: result: none" >&5
6201 echo "${ECHO_T}none" >&6; }
6208 # Check for command to grab the raw symbol name followed by C symbol from nm.
6209 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6210 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
6211 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6212 echo $ECHO_N "(cached) $ECHO_C" >&6
6215 # These are sane defaults that work on at least a few old systems.
6216 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6218 # Character class describing NM global symbol codes.
6219 symcode
='[BCDEGRST]'
6221 # Regexp to match symbols that can be accessed directly from C.
6222 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6224 # Transform an extracted symbol line into a proper C declaration
6225 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6227 # Transform an extracted symbol line into symbol name and symbol address
6228 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
6230 # Define system-specific variables.
6235 cygwin
* | mingw
* | pw32
*)
6236 symcode
='[ABCDGISTW]'
6238 hpux
*) # Its linker distinguishes data from code symbols
6239 if test "$host_cpu" = ia64
; then
6240 symcode
='[ABCDEGRST]'
6242 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6243 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
6245 linux
* | k
*bsd
*-gnu)
6246 if test "$host_cpu" = ia64
; then
6247 symcode
='[ABCDGIRSTW]'
6248 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6249 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
6253 symcode
='[BCDEGRST]'
6256 symcode
='[BCDEGQRST]'
6267 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6275 # Handle CRLF in mingw tool chain
6279 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6283 # If we're using GNU nm, then use its standard symbol codes.
6284 case `$NM -V 2>&1` in
6285 *GNU
* |
*'with BFD'*)
6286 symcode
='[ABCDGIRSTW]' ;;
6289 # Try without a prefix undercore, then with it.
6290 for ac_symprfx
in "" "_"; do
6292 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6293 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6295 # Write the raw and C identifiers.
6296 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6298 # Check to see that the pipe works correctly.
6302 cat > conftest.
$ac_ext <<EOF
6307 void nm_test_func(){}
6311 int main(){nm_test_var='a';nm_test_func();return(0);}
6314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6315 (eval $ac_compile) 2>&5
6317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6318 (exit $ac_status); }; then
6319 # Now try to grab the symbols.
6321 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6322 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
6324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6325 (exit $ac_status); } && test -s "$nlist"; then
6326 # Try sorting and uniquifying the output.
6327 if sort "$nlist" |
uniq > "$nlist"T
; then
6328 mv -f "$nlist"T
"$nlist"
6333 # Make sure that we snagged all the symbols we need.
6334 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
6335 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
6336 cat <<EOF > conftest.$ac_ext
6342 # Now generate the symbol file.
6343 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6345 cat <<EOF >> conftest.$ac_ext
6346 #if defined (__STDC__) && __STDC__
6347 # define lt_ptr_t void *
6349 # define lt_ptr_t char *
6353 /* The mapping between symbol names and symbols. */
6358 lt_preloaded_symbols[] =
6361 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
6362 cat <<\EOF
>> conftest.
$ac_ext
6370 # Now try linking the two files.
6371 mv conftest.
$ac_objext conftstm.
$ac_objext
6372 lt_save_LIBS
="$LIBS"
6373 lt_save_CFLAGS
="$CFLAGS"
6374 LIBS
="conftstm.$ac_objext"
6375 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6377 (eval $ac_link) 2>&5
6379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6380 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
6383 LIBS
="$lt_save_LIBS"
6384 CFLAGS
="$lt_save_CFLAGS"
6386 echo "cannot find nm_test_func in $nlist" >&5
6389 echo "cannot find nm_test_var in $nlist" >&5
6392 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6395 echo "$progname: failed program was:" >&5
6396 cat conftest.
$ac_ext >&5
6398 rm -f conftest
* conftst
*
6400 # Do not use the global_symbol_pipe unless it works.
6401 if test "$pipe_works" = yes; then
6404 lt_cv_sys_global_symbol_pipe
=
6410 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6411 lt_cv_sys_global_symbol_to_cdecl
=
6413 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6414 { echo "$as_me:$LINENO: result: failed" >&5
6415 echo "${ECHO_T}failed" >&6; }
6417 { echo "$as_me:$LINENO: result: ok" >&5
6418 echo "${ECHO_T}ok" >&6; }
6421 { echo "$as_me:$LINENO: checking for objdir" >&5
6422 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
6423 if test "${lt_cv_objdir+set}" = set; then
6424 echo $ECHO_N "(cached) $ECHO_C" >&6
6426 rm -f .libs
2>/dev
/null
6427 mkdir .libs
2>/dev
/null
6428 if test -d .libs
; then
6431 # MS-DOS does not allow filenames that begin with a dot.
6434 rmdir .libs
2>/dev
/null
6436 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6437 echo "${ECHO_T}$lt_cv_objdir" >&6; }
6438 objdir
=$lt_cv_objdir
6446 # AIX sometimes has problems with the GCC collect2 program. For some
6447 # reason, if we set the COLLECT_NAMES environment variable, the problems
6448 # vanish in a puff of smoke.
6449 if test "X${COLLECT_NAMES+set}" != Xset
; then
6451 export COLLECT_NAMES
6456 # Sed substitution that helps us do robust quoting. It backslashifies
6457 # metacharacters that are still active within double-quoted strings.
6458 Xsed
='sed -e 1s/^X//'
6459 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
6461 # Same as above, but do not quote variable references.
6462 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
6464 # Sed substitution to delay expansion of an escaped shell variable in a
6465 # double_quote_subst'ed string.
6466 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6468 # Sed substitution to avoid accidental globbing in evaled expressions
6469 no_glob_subst
='s/\*/\\\*/g'
6475 default_ofile
=libtool
6476 can_build_shared
=yes
6478 # All known linkers require a `.a' archive for static linking (except MSVC,
6479 # which needs '.lib').
6481 ltmain
="$ac_aux_dir/ltmain.sh"
6482 ofile
="$default_ofile"
6483 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6485 if test -n "$ac_tool_prefix"; then
6486 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6487 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6488 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6489 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6490 if test "${ac_cv_prog_AR+set}" = set; then
6491 echo $ECHO_N "(cached) $ECHO_C" >&6
6493 if test -n "$AR"; then
6494 ac_cv_prog_AR
="$AR" # Let the user override the test.
6496 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6500 test -z "$as_dir" && as_dir
=.
6501 for ac_exec_ext
in '' $ac_executable_extensions; do
6502 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6503 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6504 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6514 if test -n "$AR"; then
6515 { echo "$as_me:$LINENO: result: $AR" >&5
6516 echo "${ECHO_T}$AR" >&6; }
6518 { echo "$as_me:$LINENO: result: no" >&5
6519 echo "${ECHO_T}no" >&6; }
6524 if test -z "$ac_cv_prog_AR"; then
6526 # Extract the first word of "ar", so it can be a program name with args.
6527 set dummy
ar; ac_word
=$2
6528 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6529 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6530 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6531 echo $ECHO_N "(cached) $ECHO_C" >&6
6533 if test -n "$ac_ct_AR"; then
6534 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6536 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6540 test -z "$as_dir" && as_dir
=.
6541 for ac_exec_ext
in '' $ac_executable_extensions; do
6542 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6543 ac_cv_prog_ac_ct_AR
="ar"
6544 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6553 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6554 if test -n "$ac_ct_AR"; then
6555 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6556 echo "${ECHO_T}$ac_ct_AR" >&6; }
6558 { echo "$as_me:$LINENO: result: no" >&5
6559 echo "${ECHO_T}no" >&6; }
6562 if test "x$ac_ct_AR" = x
; then
6565 case $cross_compiling:$ac_tool_warned in
6567 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6568 whose name does not start with the host triplet. If you think this
6569 configuration is useful to you, please write to autoconf@gnu.org." >&5
6570 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6571 whose name does not start with the host triplet. If you think this
6572 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6573 ac_tool_warned
=yes ;;
6581 if test -n "$ac_tool_prefix"; then
6582 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6583 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6584 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6585 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6586 if test "${ac_cv_prog_RANLIB+set}" = set; then
6587 echo $ECHO_N "(cached) $ECHO_C" >&6
6589 if test -n "$RANLIB"; then
6590 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6592 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6596 test -z "$as_dir" && as_dir
=.
6597 for ac_exec_ext
in '' $ac_executable_extensions; do
6598 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6599 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6600 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6609 RANLIB
=$ac_cv_prog_RANLIB
6610 if test -n "$RANLIB"; then
6611 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6612 echo "${ECHO_T}$RANLIB" >&6; }
6614 { echo "$as_me:$LINENO: result: no" >&5
6615 echo "${ECHO_T}no" >&6; }
6620 if test -z "$ac_cv_prog_RANLIB"; then
6621 ac_ct_RANLIB
=$RANLIB
6622 # Extract the first word of "ranlib", so it can be a program name with args.
6623 set dummy ranlib
; ac_word
=$2
6624 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6625 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6626 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6627 echo $ECHO_N "(cached) $ECHO_C" >&6
6629 if test -n "$ac_ct_RANLIB"; then
6630 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6632 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6636 test -z "$as_dir" && as_dir
=.
6637 for ac_exec_ext
in '' $ac_executable_extensions; do
6638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6639 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6640 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6649 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6650 if test -n "$ac_ct_RANLIB"; then
6651 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6652 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6654 { echo "$as_me:$LINENO: result: no" >&5
6655 echo "${ECHO_T}no" >&6; }
6658 if test "x$ac_ct_RANLIB" = x
; then
6661 case $cross_compiling:$ac_tool_warned in
6663 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6664 whose name does not start with the host triplet. If you think this
6665 configuration is useful to you, please write to autoconf@gnu.org." >&5
6666 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6667 whose name does not start with the host triplet. If you think this
6668 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6669 ac_tool_warned
=yes ;;
6671 RANLIB
=$ac_ct_RANLIB
6674 RANLIB
="$ac_cv_prog_RANLIB"
6677 if test -n "$ac_tool_prefix"; then
6678 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6679 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6680 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6681 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6682 if test "${ac_cv_prog_STRIP+set}" = set; then
6683 echo $ECHO_N "(cached) $ECHO_C" >&6
6685 if test -n "$STRIP"; then
6686 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6688 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6692 test -z "$as_dir" && as_dir
=.
6693 for ac_exec_ext
in '' $ac_executable_extensions; do
6694 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6695 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6696 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6705 STRIP
=$ac_cv_prog_STRIP
6706 if test -n "$STRIP"; then
6707 { echo "$as_me:$LINENO: result: $STRIP" >&5
6708 echo "${ECHO_T}$STRIP" >&6; }
6710 { echo "$as_me:$LINENO: result: no" >&5
6711 echo "${ECHO_T}no" >&6; }
6716 if test -z "$ac_cv_prog_STRIP"; then
6718 # Extract the first word of "strip", so it can be a program name with args.
6719 set dummy strip
; ac_word
=$2
6720 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6721 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6722 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6723 echo $ECHO_N "(cached) $ECHO_C" >&6
6725 if test -n "$ac_ct_STRIP"; then
6726 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6728 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6732 test -z "$as_dir" && as_dir
=.
6733 for ac_exec_ext
in '' $ac_executable_extensions; do
6734 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6735 ac_cv_prog_ac_ct_STRIP
="strip"
6736 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6745 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6746 if test -n "$ac_ct_STRIP"; then
6747 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6748 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6750 { echo "$as_me:$LINENO: result: no" >&5
6751 echo "${ECHO_T}no" >&6; }
6754 if test "x$ac_ct_STRIP" = x
; then
6757 case $cross_compiling:$ac_tool_warned in
6759 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6760 whose name does not start with the host triplet. If you think this
6761 configuration is useful to you, please write to autoconf@gnu.org." >&5
6762 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6763 whose name does not start with the host triplet. If you think this
6764 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6765 ac_tool_warned
=yes ;;
6770 STRIP
="$ac_cv_prog_STRIP"
6775 old_CFLAGS
="$CFLAGS"
6777 # Set sane defaults for various variables
6778 test -z "$AR" && AR
=ar
6779 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6780 test -z "$AS" && AS
=as
6781 test -z "$CC" && CC
=cc
6782 test -z "$LTCC" && LTCC
=$CC
6783 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
6784 test -z "$DLLTOOL" && DLLTOOL
=dlltool
6785 test -z "$LD" && LD
=ld
6786 test -z "$LN_S" && LN_S
="ln -s"
6787 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6788 test -z "$NM" && NM
=nm
6789 test -z "$SED" && SED
=sed
6790 test -z "$OBJDUMP" && OBJDUMP
=objdump
6791 test -z "$RANLIB" && RANLIB
=:
6792 test -z "$STRIP" && STRIP
=:
6793 test -z "$ac_objext" && ac_objext
=o
6795 # Determine commands to create old-style static archives.
6796 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
6797 old_postinstall_cmds
='chmod 644 $oldlib'
6798 old_postuninstall_cmds
=
6800 if test -n "$RANLIB"; then
6803 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6806 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
6809 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6812 for cc_temp
in $compiler""; do
6814 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
6815 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
6820 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6823 # Only perform the check for file, if the check method requires it
6824 case $deplibs_check_method in
6826 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6827 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6828 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
6829 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6830 echo $ECHO_N "(cached) $ECHO_C" >&6
6834 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6837 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6838 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6839 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6840 for ac_dir
in $ac_dummy; do
6842 test -z "$ac_dir" && ac_dir
=.
6843 if test -f $ac_dir/${ac_tool_prefix}file; then
6844 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
6845 if test -n "$file_magic_test_file"; then
6846 case $deplibs_check_method in
6848 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6849 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6850 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6851 $EGREP "$file_magic_regex" > /dev
/null
; then
6856 *** Warning: the command libtool uses to detect shared libraries,
6857 *** $file_magic_cmd, produces output that libtool cannot recognize.
6858 *** The result is that libtool may fail to recognize shared libraries
6859 *** as such. This will affect the creation of libtool libraries that
6860 *** depend on shared libraries, but programs linked with such libtool
6861 *** libraries will work regardless of this problem. Nevertheless, you
6862 *** may want to report the problem to your system manager and/or to
6863 *** bug-libtool@gnu.org
6873 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6878 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6879 if test -n "$MAGIC_CMD"; then
6880 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6881 echo "${ECHO_T}$MAGIC_CMD" >&6; }
6883 { echo "$as_me:$LINENO: result: no" >&5
6884 echo "${ECHO_T}no" >&6; }
6887 if test -z "$lt_cv_path_MAGIC_CMD"; then
6888 if test -n "$ac_tool_prefix"; then
6889 { echo "$as_me:$LINENO: checking for file" >&5
6890 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
6891 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6892 echo $ECHO_N "(cached) $ECHO_C" >&6
6896 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6899 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6900 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6901 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6902 for ac_dir
in $ac_dummy; do
6904 test -z "$ac_dir" && ac_dir
=.
6905 if test -f $ac_dir/file; then
6906 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
6907 if test -n "$file_magic_test_file"; then
6908 case $deplibs_check_method in
6910 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6911 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6912 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6913 $EGREP "$file_magic_regex" > /dev
/null
; then
6918 *** Warning: the command libtool uses to detect shared libraries,
6919 *** $file_magic_cmd, produces output that libtool cannot recognize.
6920 *** The result is that libtool may fail to recognize shared libraries
6921 *** as such. This will affect the creation of libtool libraries that
6922 *** depend on shared libraries, but programs linked with such libtool
6923 *** libraries will work regardless of this problem. Nevertheless, you
6924 *** may want to report the problem to your system manager and/or to
6925 *** bug-libtool@gnu.org
6935 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6940 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6941 if test -n "$MAGIC_CMD"; then
6942 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6943 echo "${ECHO_T}$MAGIC_CMD" >&6; }
6945 { echo "$as_me:$LINENO: result: no" >&5
6946 echo "${ECHO_T}no" >&6; }
6961 # Check whether --enable-libtool-lock was given.
6962 if test "${enable_libtool_lock+set}" = set; then
6963 enableval
=$enable_libtool_lock;
6966 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
6969 # Check whether --with-pic was given.
6970 if test "${with_pic+set}" = set; then
6971 withval
=$with_pic; pic_mode
="$withval"
6976 test -z "$pic_mode" && pic_mode
=default
6978 # Use C for the default configuration in the libtool script
6982 ac_cpp
='$CPP $CPPFLAGS'
6983 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6984 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6985 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6988 # Source file extension for C test sources.
6991 # Object file extension for compiled C test sources.
6995 # Code to be used in simple compile tests
6996 lt_simple_compile_test_code
="int some_variable = 0;"
6998 # Code to be used in simple link tests
6999 lt_simple_link_test_code
='int main(){return(0);}'
7002 # If no C compiler was specified, use CC.
7005 # If no C compiler flags were specified, use CFLAGS.
7006 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7008 # Allow CC to be a program name with arguments.
7012 # save warnings/boilerplate of simple test code
7013 ac_outfile
=conftest.
$ac_objext
7014 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7015 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7016 _lt_compiler_boilerplate
=`cat conftest.err`
7019 ac_outfile
=conftest.
$ac_objext
7020 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7021 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7022 _lt_linker_boilerplate
=`cat conftest.err`
7027 lt_prog_compiler_no_builtin_flag
=
7029 if test "$GCC" = yes; then
7030 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
7033 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7034 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
7035 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7036 echo $ECHO_N "(cached) $ECHO_C" >&6
7038 lt_cv_prog_compiler_rtti_exceptions
=no
7039 ac_outfile
=conftest.
$ac_objext
7040 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7041 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7042 # Insert the option either (1) after the last *FLAGS variable, or
7043 # (2) before a word containing "conftest.", or (3) at the end.
7044 # Note that $ac_compile itself does not contain backslashes and begins
7045 # with a dollar sign (not a hyphen), so the echo should work correctly.
7046 # The option is referenced via a variable to avoid confusing sed.
7047 lt_compile
=`echo "$ac_compile" | $SED \
7048 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7049 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7050 -e 's:$: $lt_compiler_flag:'`
7051 (eval echo "\"\$as_me:7051: $lt_compile\"" >&5)
7052 (eval "$lt_compile" 2>conftest.err
)
7054 cat conftest.err
>&5
7055 echo "$as_me:7055: \$? = $ac_status" >&5
7056 if (exit $ac_status) && test -s "$ac_outfile"; then
7057 # The compiler can only warn and ignore the option if not recognized
7058 # So say no if there are warnings other than the usual output.
7059 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7060 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7061 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7062 lt_cv_prog_compiler_rtti_exceptions
=yes
7068 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7069 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7071 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7072 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7079 lt_prog_compiler_wl
=
7080 lt_prog_compiler_pic
=
7081 lt_prog_compiler_static
=
7083 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7084 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
7086 if test "$GCC" = yes; then
7087 lt_prog_compiler_wl
='-Wl,'
7088 lt_prog_compiler_static
='-static'
7092 # All AIX code is PIC.
7093 if test "$host_cpu" = ia64
; then
7094 # AIX 5 now supports IA64 processor
7095 lt_prog_compiler_static
='-Bstatic'
7100 # FIXME: we need at least 68020 code to build shared libraries, but
7101 # adding the `-m68020' flag to GCC prevents building anything better,
7103 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7106 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7107 # PIC is the default for these OSes.
7110 mingw
* | cygwin
* | pw32
* | os2
*)
7111 # This hack is so that the source file can tell whether it is being
7112 # built for inclusion in a dll (and should export symbols for example).
7113 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7114 # (--disable-auto-import) libraries
7115 lt_prog_compiler_pic
='-DDLL_EXPORT'
7118 darwin
* | rhapsody
*)
7119 # PIC is the default on this platform
7120 # Common symbols not allowed in MH_DYLIB files
7121 lt_prog_compiler_pic
='-fno-common'
7125 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7126 # Instead, we relocate shared libraries at runtime.
7130 # Just because we use GCC doesn't mean we suddenly get shared libraries
7131 # on systems that don't support them.
7132 lt_prog_compiler_can_build_shared
=no
7137 if test -d /usr
/nec
; then
7138 lt_prog_compiler_pic
=-Kconform_pic
7143 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7150 lt_prog_compiler_pic
='-fPIC'
7156 lt_prog_compiler_pic
='-fPIC'
7160 # PORTME Check for flag to pass linker flags through the system compiler.
7163 lt_prog_compiler_wl
='-Wl,'
7164 if test "$host_cpu" = ia64
; then
7165 # AIX 5 now supports IA64 processor
7166 lt_prog_compiler_static
='-Bstatic'
7168 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7172 # PIC is the default on this platform
7173 # Common symbols not allowed in MH_DYLIB files
7174 case $cc_basename in
7176 lt_prog_compiler_pic
='-qnocommon'
7177 lt_prog_compiler_wl
='-Wl,'
7182 mingw
* | cygwin
* | pw32
* | os2
*)
7183 # This hack is so that the source file can tell whether it is being
7184 # built for inclusion in a dll (and should export symbols for example).
7185 lt_prog_compiler_pic
='-DDLL_EXPORT'
7188 hpux9
* | hpux10
* | hpux11
*)
7189 lt_prog_compiler_wl
='-Wl,'
7190 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7197 lt_prog_compiler_pic
='+Z'
7200 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7201 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7204 irix5
* | irix6
* | nonstopux
*)
7205 lt_prog_compiler_wl
='-Wl,'
7206 # PIC (with -KPIC) is the default.
7207 lt_prog_compiler_static
='-non_shared'
7211 lt_prog_compiler_pic
='-KPIC'
7212 lt_prog_compiler_static
='-Bstatic'
7215 linux
* | k
*bsd
*-gnu)
7216 case $cc_basename in
7218 lt_prog_compiler_wl
='-Wl,'
7219 lt_prog_compiler_pic
='-KPIC'
7220 lt_prog_compiler_static
='-static'
7222 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7223 # Portland Group compilers (*not* the Pentium gcc compiler,
7224 # which looks to be a dead project)
7225 lt_prog_compiler_wl
='-Wl,'
7226 lt_prog_compiler_pic
='-fpic'
7227 lt_prog_compiler_static
='-Bstatic'
7230 lt_prog_compiler_wl
='-Wl,'
7231 # All Alpha code is PIC.
7232 lt_prog_compiler_static
='-non_shared'
7235 case `$CC -V 2>&1 | sed 5q` in
7238 lt_prog_compiler_pic
='-KPIC'
7239 lt_prog_compiler_static
='-Bstatic'
7240 lt_prog_compiler_wl
='-Wl,'
7243 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7244 lt_prog_compiler_pic
='-KPIC'
7245 lt_prog_compiler_static
='-Bstatic'
7246 lt_prog_compiler_wl
=''
7253 osf3
* | osf4
* | osf5
*)
7254 lt_prog_compiler_wl
='-Wl,'
7255 # All OSF/1 code is PIC.
7256 lt_prog_compiler_static
='-non_shared'
7260 lt_prog_compiler_static
='-non_shared'
7264 lt_prog_compiler_pic
='-KPIC'
7265 lt_prog_compiler_static
='-Bstatic'
7266 case $cc_basename in
7268 lt_prog_compiler_wl
='-Qoption ld ';;
7270 lt_prog_compiler_wl
='-Wl,';;
7275 lt_prog_compiler_wl
='-Qoption ld '
7276 lt_prog_compiler_pic
='-PIC'
7277 lt_prog_compiler_static
='-Bstatic'
7280 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7281 lt_prog_compiler_wl
='-Wl,'
7282 lt_prog_compiler_pic
='-KPIC'
7283 lt_prog_compiler_static
='-Bstatic'
7287 if test -d /usr
/nec
;then
7288 lt_prog_compiler_pic
='-Kconform_pic'
7289 lt_prog_compiler_static
='-Bstatic'
7293 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7294 lt_prog_compiler_wl
='-Wl,'
7295 lt_prog_compiler_pic
='-KPIC'
7296 lt_prog_compiler_static
='-Bstatic'
7300 lt_prog_compiler_wl
='-Wl,'
7301 lt_prog_compiler_can_build_shared
=no
7305 lt_prog_compiler_pic
='-pic'
7306 lt_prog_compiler_static
='-Bstatic'
7310 lt_prog_compiler_can_build_shared
=no
7315 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7316 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
7319 # Check to make sure the PIC flag actually works.
7321 if test -n "$lt_prog_compiler_pic"; then
7323 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7324 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7325 if test "${lt_prog_compiler_pic_works+set}" = set; then
7326 echo $ECHO_N "(cached) $ECHO_C" >&6
7328 lt_prog_compiler_pic_works
=no
7329 ac_outfile
=conftest.
$ac_objext
7330 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7331 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7332 # Insert the option either (1) after the last *FLAGS variable, or
7333 # (2) before a word containing "conftest.", or (3) at the end.
7334 # Note that $ac_compile itself does not contain backslashes and begins
7335 # with a dollar sign (not a hyphen), so the echo should work correctly.
7336 # The option is referenced via a variable to avoid confusing sed.
7337 lt_compile
=`echo "$ac_compile" | $SED \
7338 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7339 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7340 -e 's:$: $lt_compiler_flag:'`
7341 (eval echo "\"\$as_me:7341: $lt_compile\"" >&5)
7342 (eval "$lt_compile" 2>conftest.err
)
7344 cat conftest.err
>&5
7345 echo "$as_me:7345: \$? = $ac_status" >&5
7346 if (exit $ac_status) && test -s "$ac_outfile"; then
7347 # The compiler can only warn and ignore the option if not recognized
7348 # So say no if there are warnings other than the usual output.
7349 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7350 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7351 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7352 lt_prog_compiler_pic_works
=yes
7358 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7359 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
7361 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
7362 case $lt_prog_compiler_pic in
7364 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7367 lt_prog_compiler_pic
=
7368 lt_prog_compiler_can_build_shared
=no
7373 # For platforms which do not support PIC, -DPIC is meaningless:
7375 lt_prog_compiler_pic
=
7378 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7383 # Check to make sure the static flag actually works.
7385 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7386 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7387 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
7388 if test "${lt_prog_compiler_static_works+set}" = set; then
7389 echo $ECHO_N "(cached) $ECHO_C" >&6
7391 lt_prog_compiler_static_works
=no
7392 save_LDFLAGS
="$LDFLAGS"
7393 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7394 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7395 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7396 # The linker can only warn and ignore the option if not recognized
7397 # So say no if there are warnings
7398 if test -s conftest.err
; then
7399 # Append any errors to the config.log.
7400 cat conftest.err
1>&5
7401 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7402 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7403 if diff conftest.exp conftest.er2
>/dev
/null
; then
7404 lt_prog_compiler_static_works
=yes
7407 lt_prog_compiler_static_works
=yes
7411 LDFLAGS
="$save_LDFLAGS"
7414 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7415 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
7417 if test x
"$lt_prog_compiler_static_works" = xyes
; then
7420 lt_prog_compiler_static
=
7424 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7425 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7426 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7427 echo $ECHO_N "(cached) $ECHO_C" >&6
7429 lt_cv_prog_compiler_c_o
=no
7430 $rm -r conftest
2>/dev
/null
7434 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7436 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7437 # Insert the option either (1) after the last *FLAGS variable, or
7438 # (2) before a word containing "conftest.", or (3) at the end.
7439 # Note that $ac_compile itself does not contain backslashes and begins
7440 # with a dollar sign (not a hyphen), so the echo should work correctly.
7441 lt_compile
=`echo "$ac_compile" | $SED \
7442 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7443 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7444 -e 's:$: $lt_compiler_flag:'`
7445 (eval echo "\"\$as_me:7445: $lt_compile\"" >&5)
7446 (eval "$lt_compile" 2>out
/conftest.err
)
7448 cat out
/conftest.err
>&5
7449 echo "$as_me:7449: \$? = $ac_status" >&5
7450 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7452 # The compiler can only warn and ignore the option if not recognized
7453 # So say no if there are warnings
7454 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7455 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7456 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7457 lt_cv_prog_compiler_c_o
=yes
7462 # SGI C++ compiler will create directory out/ii_files/ for
7463 # template instantiation
7464 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
7465 $rm out
/* && rmdir out
7471 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7472 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
7475 hard_links
="nottested"
7476 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7477 # do not overwrite the value of need_locks provided by the user
7478 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7479 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
7482 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7484 ln conftest.a conftest.b
2>&5 || hard_links
=no
7485 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7486 { echo "$as_me:$LINENO: result: $hard_links" >&5
7487 echo "${ECHO_T}$hard_links" >&6; }
7488 if test "$hard_links" = no
; then
7489 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7490 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7497 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7498 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
7501 allow_undefined_flag
=
7502 enable_shared_with_static_runtimes
=no
7504 archive_expsym_cmds
=
7505 old_archive_From_new_cmds
=
7506 old_archive_from_expsyms_cmds
=
7507 export_dynamic_flag_spec
=
7508 whole_archive_flag_spec
=
7509 thread_safe_flag_spec
=
7510 hardcode_libdir_flag_spec
=
7511 hardcode_libdir_flag_spec_ld
=
7512 hardcode_libdir_separator
=
7515 hardcode_shlibpath_var
=unsupported
7516 link_all_deplibs
=unknown
7517 hardcode_automatic
=no
7520 always_export_symbols
=no
7521 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7522 # include_expsyms should be a list of space-separated symbols to be *always*
7523 # included in the symbol list
7525 # exclude_expsyms can be an extended regexp of symbols to exclude
7526 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7527 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7528 # as well as any symbol that contains `d'.
7529 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
7530 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7531 # platforms (ab)use it in PIC code, but their linkers get confused if
7532 # the symbol is explicitly referenced. Since portable code cannot
7533 # rely on this symbol name, it's probably fine to never include it in
7534 # preloaded symbol tables.
7535 extract_expsyms_cmds
=
7536 # Just being paranoid about ensuring that cc_basename is set.
7537 for cc_temp
in $compiler""; do
7539 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7540 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7545 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7548 cygwin
* | mingw
* | pw32
*)
7549 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7550 # When not using gcc, we currently assume that we are using
7551 # Microsoft Visual C++.
7552 if test "$GCC" != yes; then
7557 # we just hope/assume this is gcc and not c89 (= MSVC++)
7566 if test "$with_gnu_ld" = yes; then
7567 # If archive_cmds runs LD, not CC, wlarc should be empty
7570 # Set some defaults for GNU ld with shared library support. These
7571 # are reset later if shared libraries are not supported. Putting them
7572 # here allows them to be overridden if necessary.
7573 runpath_var
=LD_RUN_PATH
7574 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
7575 export_dynamic_flag_spec
='${wl}--export-dynamic'
7576 # ancient GNU ld didn't support --whole-archive et. al.
7577 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
7578 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7580 whole_archive_flag_spec
=
7582 supports_anon_versioning
=no
7583 case `$LD -v 2>/dev/null` in
7584 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
7585 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7586 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7587 *\
2.11.
*) ;; # other 2.11 versions
7588 *) supports_anon_versioning
=yes ;;
7591 # See if GNU ld supports shared libraries.
7593 aix3
* | aix4
* | aix5
*)
7594 # On AIX/PPC, the GNU linker is very broken
7595 if test "$host_cpu" != ia64
; then
7599 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7600 *** to be unable to reliably create shared libraries on AIX.
7601 *** Therefore, libtool is disabling shared libraries support. If you
7602 *** really care for shared libraries, you may want to modify your PATH
7603 *** so that a non-GNU linker is found, and then restart.
7610 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)'
7611 hardcode_libdir_flag_spec
='-L$libdir'
7612 hardcode_minus_L
=yes
7614 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7615 # that the semantics of dynamic libraries on AmigaOS, at least up
7616 # to version 4, is to share data among multiple programs linked
7617 # with the same dynamic library. Since this doesn't match the
7618 # behavior of shared libraries on other platforms, we can't use
7624 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7625 allow_undefined_flag
=unsupported
7626 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7627 # support --undefined. This deserves some investigation. FIXME
7628 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7634 cygwin
* | mingw
* | pw32
*)
7635 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7636 # as there is no search path for DLLs.
7637 hardcode_libdir_flag_spec
='-L$libdir'
7638 allow_undefined_flag
=unsupported
7639 always_export_symbols
=no
7640 enable_shared_with_static_runtimes
=yes
7641 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7643 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
7644 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7645 # If the export-symbols file already is a .def file (1st line
7646 # is EXPORTS), use it as is; otherwise, prepend...
7647 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7648 cp $export_symbols $output_objdir/$soname.def;
7650 echo EXPORTS > $output_objdir/$soname.def;
7651 cat $export_symbols >> $output_objdir/$soname.def;
7653 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7661 hardcode_shlibpath_var
=no
7662 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7663 export_dynamic_flag_spec
='${wl}-E'
7664 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7665 # Instead, shared libraries are loaded at an image base (0x10000000 by
7666 # default) and relocated if they conflict, which is a slow very memory
7667 # consuming and fragmenting process. To avoid this, we pick a random,
7668 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7669 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7670 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7671 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'
7674 gnu
* | linux
* | k
*bsd
*-gnu)
7675 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7677 case $cc_basename,$host_cpu in
7678 pgcc
*) # Portland Group C compiler
7679 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'
7680 tmp_addflag
=' $pic_flag'
7682 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7683 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'
7684 tmp_addflag
=' $pic_flag -Mnomain' ;;
7685 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7686 tmp_addflag
=' -i_dynamic' ;;
7687 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7688 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7689 ifc
* | ifort
*) # Intel Fortran compiler
7690 tmp_addflag
=' -nofor_main' ;;
7692 case `$CC -V 2>&1 | sed 5q` in
7693 *Sun\ C
*) # Sun C 5.9
7694 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'
7695 tmp_sharedflag
='-G' ;;
7696 *Sun\ F
*) # Sun Fortran 8.3
7697 tmp_sharedflag
='-G' ;;
7699 tmp_sharedflag
='-shared' ;;
7701 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7703 if test $supports_anon_versioning = yes; then
7704 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
7705 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7706 $echo "local: *; };" >> $output_objdir/$libname.ver~
7707 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7715 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7716 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7719 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7720 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7725 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
7729 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7730 *** create shared libraries on Solaris systems. Therefore, libtool
7731 *** is disabling shared libraries support. We urge you to upgrade GNU
7732 *** binutils to release 2.9.1 or newer. Another option is to modify
7733 *** your PATH or compiler configuration so that the native linker is
7734 *** used, and then restart.
7737 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7738 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7739 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7745 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7746 case `$LD -v 2>&1` in
7747 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
7751 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7752 *** reliably create shared libraries on SCO systems. Therefore, libtool
7753 *** is disabling shared libraries support. We urge you to upgrade GNU
7754 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7755 *** your PATH or compiler configuration so that the native linker is
7756 *** used, and then restart.
7761 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7762 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
7763 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
7764 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
7773 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7776 hardcode_shlibpath_var
=no
7780 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7781 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7782 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7789 if test "$ld_shlibs" = no
; then
7791 hardcode_libdir_flag_spec
=
7792 export_dynamic_flag_spec
=
7793 whole_archive_flag_spec
=
7796 # PORTME fill in a description of your system's linker (not GNU ld)
7799 allow_undefined_flag
=unsupported
7800 always_export_symbols
=yes
7801 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'
7802 # Note: this linker hardcodes the directories in LIBPATH if there
7803 # are no directories specified by -L.
7804 hardcode_minus_L
=yes
7805 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7806 # Neither direct hardcoding nor static linking is supported with a
7808 hardcode_direct
=unsupported
7813 if test "$host_cpu" = ia64
; then
7814 # On IA64, the linker does run time linking by default, so we don't
7815 # have to do anything special.
7816 aix_use_runtimelinking
=no
7817 exp_sym_flag
='-Bexport'
7820 # If we're using GNU nm, then we don't want the "-C" option.
7821 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7822 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
7823 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'
7825 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'
7827 aix_use_runtimelinking
=no
7829 # Test if we are trying to use run time linking or normal
7830 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7831 # need to do runtime linking.
7832 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
7833 for ld_flag
in $LDFLAGS; do
7834 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
7835 aix_use_runtimelinking
=yes
7842 exp_sym_flag
='-bexport'
7843 no_entry_flag
='-bnoentry'
7846 # When large executables or shared objects are built, AIX ld can
7847 # have problems creating the table of contents. If linking a library
7848 # or program results in "error TOC overflow" add -mminimal-toc to
7849 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7850 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7854 hardcode_libdir_separator
=':'
7855 link_all_deplibs
=yes
7857 if test "$GCC" = yes; then
7858 case $host_os in aix4.
[012]|aix4.
[012].
*)
7859 # We only want to do this on AIX 4.2 and lower, the check
7860 # below for broken collect2 doesn't work under 4.3+
7861 collect2name
=`${CC} -print-prog-name=collect2`
7862 if test -f "$collect2name" && \
7863 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
7865 # We have reworked collect2
7868 # We have old collect2
7869 hardcode_direct
=unsupported
7870 # It fails to find uninstalled libraries when the uninstalled
7871 # path is not listed in the libpath. Setting hardcode_minus_L
7872 # to unsupported forces relinking
7873 hardcode_minus_L
=yes
7874 hardcode_libdir_flag_spec
='-L$libdir'
7875 hardcode_libdir_separator
=
7879 shared_flag
='-shared'
7880 if test "$aix_use_runtimelinking" = yes; then
7881 shared_flag
="$shared_flag "'${wl}-G'
7885 if test "$host_cpu" = ia64
; then
7886 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7887 # chokes on -Wl,-G. The following line is correct:
7890 if test "$aix_use_runtimelinking" = yes; then
7891 shared_flag
='${wl}-G'
7893 shared_flag
='${wl}-bM:SRE'
7898 # It seems that -bexpall does not export symbols beginning with
7899 # underscore (_), so it is better to generate a list of symbols to export.
7900 always_export_symbols
=yes
7901 if test "$aix_use_runtimelinking" = yes; then
7902 # Warning - without using the other runtime loading flags (-brtl),
7903 # -berok will link without error, but may produce a broken library.
7904 allow_undefined_flag
='-berok'
7905 # Determine the default libpath from the value encoded in an empty executable.
7906 cat >conftest.
$ac_ext <<_ACEOF
7909 cat confdefs.h
>>conftest.
$ac_ext
7910 cat >>conftest.
$ac_ext <<_ACEOF
7911 /* end confdefs.h. */
7921 rm -f conftest.
$ac_objext conftest
$ac_exeext
7922 if { (ac_try
="$ac_link"
7924 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7925 *) ac_try_echo=$ac_try;;
7927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7928 (eval "$ac_link") 2>conftest.er1
7930 grep -v '^ *+' conftest.er1 >conftest.err
7932 cat conftest.err >&5
7933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7934 (exit $ac_status); } && {
7935 test -z "$ac_c_werror_flag" ||
7936 test ! -s conftest.err
7937 } && test -s conftest$ac_exeext &&
7938 $as_test_x conftest$ac_exeext; then
7940 lt_aix_libpath_sed='
7941 /Import File Strings/,/^$/ {
7947 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
7948 # Check for a 64-bit object if we didn't find anything.
7949 if test -z "$aix_libpath"; then
7950 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
7953 echo "$as_me: failed program was:" >&5
7954 sed 's/^/| /' conftest.$ac_ext >&5
7959 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7960 conftest$ac_exeext conftest.$ac_ext
7961 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7963 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7964 archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
7966 if test "$host_cpu" = ia64; then
7967 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
7968 allow_undefined_flag="-z nodefs"
7969 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"
7971 # Determine the default libpath from the value encoded in an empty executable.
7972 cat >conftest.$ac_ext <<_ACEOF
7975 cat confdefs.h >>conftest.$ac_ext
7976 cat >>conftest.$ac_ext <<_ACEOF
7977 /* end confdefs.h. */
7987 rm -f conftest.$ac_objext conftest$ac_exeext
7988 if { (ac_try="$ac_link"
7990 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7991 *) ac_try_echo
=$ac_try;;
7993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7994 (eval "$ac_link") 2>conftest.er1
7996 grep -v '^ *+' conftest.er1
>conftest.err
7998 cat conftest.err
>&5
7999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8000 (exit $ac_status); } && {
8001 test -z "$ac_c_werror_flag" ||
8002 test ! -s conftest.err
8003 } && test -s conftest
$ac_exeext &&
8004 $as_test_x conftest
$ac_exeext; then
8006 lt_aix_libpath_sed
='
8007 /Import File Strings/,/^$/ {
8013 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8014 # Check for a 64-bit object if we didn't find anything.
8015 if test -z "$aix_libpath"; then
8016 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8019 echo "$as_me: failed program was:" >&5
8020 sed 's/^/| /' conftest.
$ac_ext >&5
8025 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8026 conftest
$ac_exeext conftest.
$ac_ext
8027 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8029 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8030 # Warning - without using the other run time loading flags,
8031 # -berok will link without error, but may produce a broken library.
8032 no_undefined_flag
=' ${wl}-bernotok'
8033 allow_undefined_flag
=' ${wl}-berok'
8034 # Exported symbols can be pulled into shared objects from archives
8035 whole_archive_flag_spec
='$convenience'
8036 archive_cmds_need_lc
=yes
8037 # This is similar to how AIX traditionally builds its shared libraries.
8038 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'
8044 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)'
8045 hardcode_libdir_flag_spec
='-L$libdir'
8046 hardcode_minus_L
=yes
8047 # see comment about different semantics on the GNU ld section
8052 export_dynamic_flag_spec
=-rdynamic
8055 cygwin
* | mingw
* | pw32
*)
8056 # When not using gcc, we currently assume that we are using
8057 # Microsoft Visual C++.
8058 # hardcode_libdir_flag_spec is actually meaningless, as there is
8059 # no search path for DLLs.
8060 hardcode_libdir_flag_spec
=' '
8061 allow_undefined_flag
=unsupported
8062 # Tell ltmain to make .lib files, not .a files.
8064 # Tell ltmain to make .dll files, not .so files.
8066 # FIXME: Setting linknames here is a bad hack.
8067 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
8068 # The linker will automatically build a .lib file if we build a DLL.
8069 old_archive_From_new_cmds
='true'
8070 # FIXME: Should let the user specify the lib program.
8071 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8072 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8073 enable_shared_with_static_runtimes
=yes
8076 darwin
* | rhapsody
*)
8078 rhapsody
* | darwin1.
[012])
8079 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
8082 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8083 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8085 case ${MACOSX_DEPLOYMENT_TARGET} in
8087 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8090 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
8096 archive_cmds_need_lc
=no
8098 hardcode_automatic
=yes
8099 hardcode_shlibpath_var
=unsupported
8100 whole_archive_flag_spec
=''
8101 link_all_deplibs
=yes
8102 if test "$GCC" = yes ; then
8103 output_verbose_link_cmd
='echo'
8104 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8105 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8106 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8107 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8108 module_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8110 case $cc_basename in
8112 output_verbose_link_cmd
='echo'
8113 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
8114 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8115 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8116 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8117 module_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8127 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8128 hardcode_libdir_flag_spec
='-L$libdir'
8129 hardcode_shlibpath_var
=no
8136 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8137 # support. Future versions do this automatically, but an explicit c++rt0.o
8138 # does not break anything, and helps significantly (at the cost of a little
8141 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8142 hardcode_libdir_flag_spec
='-R$libdir'
8144 hardcode_shlibpath_var
=no
8147 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8149 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8151 hardcode_minus_L
=yes
8152 hardcode_shlibpath_var
=no
8155 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8156 freebsd
* | dragonfly
*)
8157 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8158 hardcode_libdir_flag_spec
='-R$libdir'
8160 hardcode_shlibpath_var
=no
8164 if test "$GCC" = yes; then
8165 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'
8167 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'
8169 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8170 hardcode_libdir_separator
=:
8173 # hardcode_minus_L: Not really in the search PATH,
8174 # but as the default location of the library.
8175 hardcode_minus_L
=yes
8176 export_dynamic_flag_spec
='${wl}-E'
8180 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8181 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8183 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8185 if test "$with_gnu_ld" = no
; then
8186 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8187 hardcode_libdir_separator
=:
8190 export_dynamic_flag_spec
='${wl}-E'
8192 # hardcode_minus_L: Not really in the search PATH,
8193 # but as the default location of the library.
8194 hardcode_minus_L
=yes
8199 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8202 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8205 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8208 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8214 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8217 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8220 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8224 if test "$with_gnu_ld" = no
; then
8225 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8226 hardcode_libdir_separator
=:
8230 hardcode_libdir_flag_spec_ld
='+b $libdir'
8232 hardcode_shlibpath_var
=no
8236 export_dynamic_flag_spec
='${wl}-E'
8238 # hardcode_minus_L: Not really in the search PATH,
8239 # but as the default location of the library.
8240 hardcode_minus_L
=yes
8246 irix5
* | irix6
* | nonstopux
*)
8247 if test "$GCC" = yes; then
8248 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8250 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
8251 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8253 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8254 hardcode_libdir_separator
=:
8255 link_all_deplibs
=yes
8259 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8260 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8262 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8264 hardcode_libdir_flag_spec
='-R$libdir'
8266 hardcode_shlibpath_var
=no
8270 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8272 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8273 hardcode_libdir_separator
=:
8274 hardcode_shlibpath_var
=no
8278 if test -f /usr
/libexec
/ld.so
; then
8280 hardcode_shlibpath_var
=no
8281 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8282 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8283 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8284 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8285 export_dynamic_flag_spec
='${wl}-E'
8288 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8289 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8290 hardcode_libdir_flag_spec
='-R$libdir'
8293 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8294 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8304 hardcode_libdir_flag_spec
='-L$libdir'
8305 hardcode_minus_L
=yes
8306 allow_undefined_flag
=unsupported
8307 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'
8308 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8312 if test "$GCC" = yes; then
8313 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8314 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8316 allow_undefined_flag
=' -expect_unresolved \*'
8317 archive_cmds
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
8319 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8320 hardcode_libdir_separator
=:
8323 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8324 if test "$GCC" = yes; then
8325 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8326 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8327 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8329 allow_undefined_flag
=' -expect_unresolved \*'
8330 archive_cmds
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
8331 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8332 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
8334 # Both c and cxx compiler support -rpath directly
8335 hardcode_libdir_flag_spec
='-rpath $libdir'
8337 hardcode_libdir_separator
=:
8341 no_undefined_flag
=' -z text'
8342 if test "$GCC" = yes; then
8344 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8345 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8346 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
8349 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8350 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8351 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8353 hardcode_libdir_flag_spec
='-R$libdir'
8354 hardcode_shlibpath_var
=no
8356 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8358 # The compiler driver will combine and reorder linker options,
8359 # but understands `-z linker_flag'. GCC discards it without `$wl',
8360 # but is careful enough not to reorder.
8361 # Supported since Solaris 2.6 (maybe 2.5.1?)
8362 if test "$GCC" = yes; then
8363 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8365 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8369 link_all_deplibs
=yes
8373 if test "x$host_vendor" = xsequent
; then
8374 # Use $CC to link under sequent, because it throws in some extra .o
8375 # files that make .init and .fini sections work.
8376 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8378 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8380 hardcode_libdir_flag_spec
='-L$libdir'
8382 hardcode_minus_L
=yes
8383 hardcode_shlibpath_var
=no
8387 case $host_vendor in
8389 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8390 hardcode_direct
=yes # is this really true???
8393 ## LD is ld it makes a PLAMLIB
8394 ## CC just makes a GrossModule.
8395 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8396 reload_cmds
='$CC -r -o $output$reload_objs'
8400 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8401 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8404 runpath_var
='LD_RUN_PATH'
8405 hardcode_shlibpath_var
=no
8409 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8410 hardcode_shlibpath_var
=no
8411 export_dynamic_flag_spec
='-Bexport'
8415 if test -d /usr
/nec
; then
8416 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8417 hardcode_shlibpath_var
=no
8418 runpath_var
=LD_RUN_PATH
8419 hardcode_runpath_var
=yes
8424 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
8425 no_undefined_flag
='${wl}-z,text'
8426 archive_cmds_need_lc
=no
8427 hardcode_shlibpath_var
=no
8428 runpath_var
='LD_RUN_PATH'
8430 if test "$GCC" = yes; then
8431 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8432 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8434 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8435 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8439 sysv5
* | sco3.2v5
* | sco5v6
*)
8440 # Note: We can NOT use -z defs as we might desire, because we do not
8441 # link with -lc, and that would cause any symbols used from libc to
8442 # always be unresolved, which means just about no library would
8443 # ever link correctly. If we're not using GNU ld we use -z text
8444 # though, which does catch some bad symbols but isn't as heavy-handed
8446 no_undefined_flag
='${wl}-z,text'
8447 allow_undefined_flag
='${wl}-z,nodefs'
8448 archive_cmds_need_lc
=no
8449 hardcode_shlibpath_var
=no
8450 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
8451 hardcode_libdir_separator
=':'
8452 link_all_deplibs
=yes
8453 export_dynamic_flag_spec
='${wl}-Bexport'
8454 runpath_var
='LD_RUN_PATH'
8456 if test "$GCC" = yes; then
8457 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8458 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8460 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8461 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8466 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8467 hardcode_libdir_flag_spec
='-L$libdir'
8468 hardcode_shlibpath_var
=no
8477 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8478 echo "${ECHO_T}$ld_shlibs" >&6; }
8479 test "$ld_shlibs" = no
&& can_build_shared
=no
8482 # Do we need to explicitly link libc?
8484 case "x$archive_cmds_need_lc" in
8486 # Assume -lc should be added
8487 archive_cmds_need_lc
=yes
8489 if test "$enable_shared" = yes && test "$GCC" = yes; then
8490 case $archive_cmds in
8492 # FIXME: we may have to deal with multi-command sequences.
8495 # Test whether the compiler implicitly links with -lc since on some
8496 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8497 # to ld, don't add -lc before -lgcc.
8498 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8499 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
8501 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8504 (eval $ac_compile) 2>&5
8506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8507 (exit $ac_status); } 2>conftest.err
; then
8510 libobjs
=conftest.
$ac_objext
8512 wl
=$lt_prog_compiler_wl
8513 pic_flag
=$lt_prog_compiler_pic
8519 lt_save_allow_undefined_flag
=$allow_undefined_flag
8520 allow_undefined_flag
=
8521 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
8522 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8525 (exit $ac_status); }
8527 archive_cmds_need_lc
=no
8529 archive_cmds_need_lc
=yes
8531 allow_undefined_flag
=$lt_save_allow_undefined_flag
8533 cat conftest.err
1>&5
8536 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8537 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
8544 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8545 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
8547 libname_spec
='lib$name'
8555 shlibpath_overrides_runpath
=unknown
8557 dynamic_linker
="$host_os ld.so"
8558 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8560 if test "$GCC" = yes; then
8562 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
8563 *) lt_awk_arg
="/^libraries:/" ;;
8565 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8566 if echo "$lt_search_path_spec" |
grep ';' >/dev
/null
; then
8567 # if the path contains ";" then we assume it to be the separator
8568 # otherwise default to the standard path separator (i.e. ":") - it is
8569 # assumed that no part of a normal pathname contains ";" but that should
8570 # okay in the real world where ";" in dirpaths is itself problematic.
8571 lt_search_path_spec
=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8573 lt_search_path_spec
=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8575 # Ok, now we have the path, separated by spaces, we can step through it
8576 # and add multilib dir if necessary.
8577 lt_tmp_lt_search_path_spec
=
8578 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8579 for lt_sys_path
in $lt_search_path_spec; do
8580 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8581 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8583 test -d "$lt_sys_path" && \
8584 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
8587 lt_search_path_spec
=`echo $lt_tmp_lt_search_path_spec | awk '
8588 BEGIN {RS=" "; FS="/|\n";} {
8591 for (lt_i = NF; lt_i > 0; lt_i--) {
8592 if ($lt_i != "" && $lt_i != ".") {
8593 if ($lt_i == "..") {
8596 if (lt_count == 0) {
8597 lt_foo="/" $lt_i lt_foo;
8604 if (lt_foo != "") { lt_freq[lt_foo]++; }
8605 if (lt_freq[lt_foo] == 1) { print lt_foo; }
8607 sys_lib_search_path_spec
=`echo $lt_search_path_spec`
8609 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8611 need_lib_prefix
=unknown
8612 hardcode_into_libs
=no
8614 # when you set need_version to no, make sure it does not cause -set_version
8615 # flags to be left without arguments
8616 need_version
=unknown
8621 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8622 shlibpath_var
=LIBPATH
8624 # AIX 3 has no versioning support, so we append a major version to the name.
8625 soname_spec
='${libname}${release}${shared_ext}$major'
8632 hardcode_into_libs
=yes
8633 if test "$host_cpu" = ia64
; then
8634 # AIX 5 supports IA64
8635 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8636 shlibpath_var
=LD_LIBRARY_PATH
8638 # With GCC up to 2.95.x, collect2 would create an import file
8639 # for dependence libraries. The import file would start with
8640 # the line `#! .'. This would cause the generated library to
8641 # depend on `.', always an invalid library. This was fixed in
8642 # development snapshots of GCC prior to 3.0.
8644 aix4 | aix4.
[01] | aix4.
[01].
*)
8645 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8647 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
8654 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8655 # soname into executable. Probably we can add versioning support to
8656 # collect2, so additional links can be useful in future.
8657 if test "$aix_use_runtimelinking" = yes; then
8658 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8659 # instead of lib<name>.a to let people know that these are not
8660 # typical AIX shared libraries.
8661 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8663 # We preserve .a as extension for shared libraries through AIX4.2
8664 # and later when we are not doing run time linking.
8665 library_names_spec
='${libname}${release}.a $libname.a'
8666 soname_spec
='${libname}${release}${shared_ext}$major'
8668 shlibpath_var
=LIBPATH
8673 library_names_spec
='$libname.ixlibrary $libname.a'
8674 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8675 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'
8679 library_names_spec
='${libname}${shared_ext}'
8680 dynamic_linker
="$host_os ld.so"
8681 shlibpath_var
=LIBRARY_PATH
8687 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8688 soname_spec
='${libname}${release}${shared_ext}$major'
8689 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8690 shlibpath_var
=LD_LIBRARY_PATH
8691 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8692 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8693 # the default ld.so.conf also contains /usr/contrib/lib and
8694 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8695 # libtool to hard-code these into programs
8698 cygwin
* | mingw
* | pw32
*)
8699 version_type
=windows
8704 case $GCC,$host_os in
8705 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
8706 library_names_spec
='$libname.dll.a'
8707 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8708 postinstall_cmds
='base_file=`basename \${file}`~
8709 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
8710 dldir=$destdir/`dirname \$dlpath`~
8711 test -d \$dldir || mkdir -p \$dldir~
8712 $install_prog $dir/$dlname \$dldir/$dlname~
8713 chmod a+x \$dldir/$dlname'
8714 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8715 dlpath=$dir/\$dldll~
8717 shlibpath_overrides_runpath
=yes
8721 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8722 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8723 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8726 # MinGW DLLs use traditional 'lib' prefix
8727 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8728 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8729 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
8730 # It is most probably a Windows format PATH printed by
8731 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8732 # path with ; separators, and with drive letters. We can handle the
8733 # drive letters (cygwin fileutils understands them), so leave them,
8734 # especially as we might pass files found there to a mingw objdump,
8735 # which wouldn't understand a cygwinified path. Ahh.
8736 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8738 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8742 # pw32 DLLs use 'pw' prefix rather than 'lib'
8743 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8749 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8752 dynamic_linker
='Win32 ld.exe'
8753 # FIXME: first we should search . and the directory the executable is in
8757 darwin
* | rhapsody
*)
8758 dynamic_linker
="$host_os dyld"
8762 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8763 soname_spec
='${libname}${release}${major}$shared_ext'
8764 shlibpath_overrides_runpath
=yes
8765 shlibpath_var
=DYLD_LIBRARY_PATH
8766 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8768 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
8769 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8776 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8777 soname_spec
='${libname}${release}${shared_ext}$major'
8778 shlibpath_var
=LD_LIBRARY_PATH
8785 freebsd
* | dragonfly
*)
8786 # DragonFly does not have aout. When/if they implement a new
8787 # versioning mechanism, adjust this.
8788 if test -x /usr
/bin
/objformat
; then
8789 objformat
=`/usr/bin/objformat`
8792 freebsd
[123]*) objformat
=aout
;;
8796 version_type
=freebsd-
$objformat
8797 case $version_type in
8799 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8804 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8808 shlibpath_var
=LD_LIBRARY_PATH
8811 shlibpath_overrides_runpath
=yes
8813 freebsd3.
[01]* | freebsdelf3.
[01]*)
8814 shlibpath_overrides_runpath
=yes
8815 hardcode_into_libs
=yes
8817 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
8818 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
8819 shlibpath_overrides_runpath
=no
8820 hardcode_into_libs
=yes
8822 *) # from 4.6 on, and DragonFly
8823 shlibpath_overrides_runpath
=yes
8824 hardcode_into_libs
=yes
8833 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8834 soname_spec
='${libname}${release}${shared_ext}$major'
8835 shlibpath_var
=LD_LIBRARY_PATH
8836 hardcode_into_libs
=yes
8839 hpux9
* | hpux10
* | hpux11
*)
8840 # Give a soname corresponding to the major version so that dld.sl refuses to
8841 # link against other versions.
8848 hardcode_into_libs
=yes
8849 dynamic_linker
="$host_os dld.so"
8850 shlibpath_var
=LD_LIBRARY_PATH
8851 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8852 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8853 soname_spec
='${libname}${release}${shared_ext}$major'
8854 if test "X$HPUX_IA64_MODE" = X32
; then
8855 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8857 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8859 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8863 hardcode_into_libs
=yes
8864 dynamic_linker
="$host_os dld.sl"
8865 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
8866 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8867 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8868 soname_spec
='${libname}${release}${shared_ext}$major'
8869 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8870 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8874 dynamic_linker
="$host_os dld.sl"
8875 shlibpath_var
=SHLIB_PATH
8876 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
8877 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8878 soname_spec
='${libname}${release}${shared_ext}$major'
8881 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8882 postinstall_cmds
='chmod 555 $lib'
8889 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8890 soname_spec
='${libname}${release}${shared_ext}$major'
8891 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
8892 shlibpath_var
=LD_LIBRARY_PATH
8893 shlibpath_overrides_runpath
=no
8894 hardcode_into_libs
=yes
8897 irix5
* | irix6
* | nonstopux
*)
8899 nonstopux
*) version_type
=nonstopux
;;
8901 if test "$lt_cv_prog_gnu_ld" = yes; then
8909 soname_spec
='${libname}${release}${shared_ext}$major'
8910 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8912 irix5
* | nonstopux
*)
8916 case $LD in # libtool.m4 will add one of these switches to LD
8917 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
8918 libsuff
= shlibsuff
= libmagic
=32-bit;;
8919 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
8920 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
8921 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
8922 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
8923 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
8927 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
8928 shlibpath_overrides_runpath
=no
8929 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8930 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
8931 hardcode_into_libs
=yes
8934 # No shared lib support for Linux oldld, aout, or coff.
8935 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
8939 # This must be Linux ELF.
8940 linux
* | k
*bsd
*-gnu)
8944 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8945 soname_spec
='${libname}${release}${shared_ext}$major'
8946 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8947 shlibpath_var
=LD_LIBRARY_PATH
8948 shlibpath_overrides_runpath
=no
8949 # This implies no fast_install, which is unacceptable.
8950 # Some rework will be needed to allow for fast_install
8951 # before this can be enabled.
8952 hardcode_into_libs
=yes
8954 # Append ld.so.conf contents to the search path
8955 if test -f /etc
/ld.so.conf
; then
8956 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' ' '`
8957 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
8960 # We used to test for /lib/ld.so.1 and disable shared libraries on
8961 # powerpc, because MkLinux only supported shared libraries with the
8962 # GNU dynamic linker. Since this was broken with cross compilers,
8963 # most powerpc-linux boxes support dynamic linking these days and
8964 # people can always --disable-shared, the test was removed, and we
8965 # assume the GNU/Linux dynamic linker is in use.
8966 dynamic_linker
='GNU/Linux ld.so'
8973 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8974 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8975 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8976 dynamic_linker
='NetBSD (a.out) ld.so'
8978 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8979 soname_spec
='${libname}${release}${shared_ext}$major'
8980 dynamic_linker
='NetBSD ld.elf_so'
8982 shlibpath_var
=LD_LIBRARY_PATH
8983 shlibpath_overrides_runpath
=yes
8984 hardcode_into_libs
=yes
8989 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8990 shlibpath_var
=LD_LIBRARY_PATH
8991 shlibpath_overrides_runpath
=yes
8998 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8999 soname_spec
='${libname}${release}${shared_ext}$major'
9000 shlibpath_var
=LD_LIBRARY_PATH
9001 shlibpath_overrides_runpath
=yes
9006 sys_lib_dlsearch_path_spec
="/usr/lib"
9008 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9010 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9011 *) need_version
=no
;;
9013 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9014 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9015 shlibpath_var
=LD_LIBRARY_PATH
9016 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9018 openbsd2.
[89] | openbsd2.
[89].
*)
9019 shlibpath_overrides_runpath
=no
9022 shlibpath_overrides_runpath
=yes
9026 shlibpath_overrides_runpath
=yes
9031 libname_spec
='$name'
9034 library_names_spec
='$libname${shared_ext} $libname.a'
9035 dynamic_linker
='OS/2 ld.exe'
9036 shlibpath_var
=LIBPATH
9039 osf3
* | osf4
* | osf5
*)
9043 soname_spec
='${libname}${release}${shared_ext}$major'
9044 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9045 shlibpath_var
=LD_LIBRARY_PATH
9046 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9047 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9058 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9059 soname_spec
='${libname}${release}${shared_ext}$major'
9060 shlibpath_var
=LD_LIBRARY_PATH
9061 shlibpath_overrides_runpath
=yes
9062 hardcode_into_libs
=yes
9063 # ldd complains unless libraries are executable
9064 postinstall_cmds
='chmod +x $lib'
9069 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9070 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9071 shlibpath_var
=LD_LIBRARY_PATH
9072 shlibpath_overrides_runpath
=yes
9073 if test "$with_gnu_ld" = yes; then
9081 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9082 soname_spec
='${libname}${release}${shared_ext}$major'
9083 shlibpath_var
=LD_LIBRARY_PATH
9084 case $host_vendor in
9086 shlibpath_overrides_runpath
=no
9088 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9089 runpath_var
=LD_RUN_PATH
9097 shlibpath_overrides_runpath
=no
9098 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9104 if test -d /usr
/nec
;then
9106 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9107 soname_spec
='$libname${shared_ext}.$major'
9108 shlibpath_var
=LD_LIBRARY_PATH
9112 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9113 version_type
=freebsd-elf
9116 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9117 soname_spec
='${libname}${release}${shared_ext}$major'
9118 shlibpath_var
=LD_LIBRARY_PATH
9119 hardcode_into_libs
=yes
9120 if test "$with_gnu_ld" = yes; then
9121 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9122 shlibpath_overrides_runpath
=no
9124 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9125 shlibpath_overrides_runpath
=yes
9128 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9132 sys_lib_dlsearch_path_spec
='/usr/lib'
9137 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9138 soname_spec
='${libname}${release}${shared_ext}$major'
9139 shlibpath_var
=LD_LIBRARY_PATH
9146 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9147 echo "${ECHO_T}$dynamic_linker" >&6; }
9148 test "$dynamic_linker" = no
&& can_build_shared
=no
9150 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9151 if test "$GCC" = yes; then
9152 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9155 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9156 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
9158 if test -n "$hardcode_libdir_flag_spec" || \
9159 test -n "$runpath_var" || \
9160 test "X$hardcode_automatic" = "Xyes" ; then
9162 # We can hardcode non-existant directories.
9163 if test "$hardcode_direct" != no
&&
9164 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9165 # have to relink, otherwise we might link with an installed library
9166 # when we should be linking with a yet-to-be-installed one
9167 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
9168 test "$hardcode_minus_L" != no
; then
9169 # Linking always hardcodes the temporary library directory.
9170 hardcode_action
=relink
9172 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9173 hardcode_action
=immediate
9176 # We cannot hardcode anything, or else we can only hardcode existing
9178 hardcode_action
=unsupported
9180 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
9181 echo "${ECHO_T}$hardcode_action" >&6; }
9183 if test "$hardcode_action" = relink
; then
9184 # Fast installation is not supported
9185 enable_fast_install
=no
9186 elif test "$shlibpath_overrides_runpath" = yes ||
9187 test "$enable_shared" = no
; then
9188 # Fast installation is not necessary
9189 enable_fast_install
=needless
9194 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9195 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
9196 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
9197 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
9198 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
9199 { echo "$as_me:$LINENO: result: yes" >&5
9200 echo "${ECHO_T}yes" >&6; }
9202 # FIXME - insert some real tests, host_os isn't really good enough
9205 if test -n "$STRIP" ; then
9206 striplib
="$STRIP -x"
9207 old_striplib
="$STRIP -S"
9208 { echo "$as_me:$LINENO: result: yes" >&5
9209 echo "${ECHO_T}yes" >&6; }
9211 { echo "$as_me:$LINENO: result: no" >&5
9212 echo "${ECHO_T}no" >&6; }
9216 { echo "$as_me:$LINENO: result: no" >&5
9217 echo "${ECHO_T}no" >&6; }
9222 if test "x$enable_dlopen" != xyes
; then
9223 enable_dlopen
=unknown
9224 enable_dlopen_self
=unknown
9225 enable_dlopen_self_static
=unknown
9232 lt_cv_dlopen
="load_add_on"
9234 lt_cv_dlopen_self
=yes
9238 lt_cv_dlopen
="LoadLibrary"
9243 lt_cv_dlopen
="dlopen"
9248 # if libdl is installed we need to link against it
9249 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9250 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9251 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9252 echo $ECHO_N "(cached) $ECHO_C" >&6
9254 ac_check_lib_save_LIBS
=$LIBS
9256 cat >conftest.
$ac_ext <<_ACEOF
9259 cat confdefs.h
>>conftest.
$ac_ext
9260 cat >>conftest.
$ac_ext <<_ACEOF
9261 /* end confdefs.h. */
9263 /* Override any GCC internal prototype to avoid an error.
9264 Use char because int might match the return type of a GCC
9265 builtin and then its argument prototype would still apply. */
9278 rm -f conftest.
$ac_objext conftest
$ac_exeext
9279 if { (ac_try
="$ac_link"
9281 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9282 *) ac_try_echo=$ac_try;;
9284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9285 (eval "$ac_link") 2>conftest.er1
9287 grep -v '^ *+' conftest.er1 >conftest.err
9289 cat conftest.err >&5
9290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9291 (exit $ac_status); } && {
9292 test -z "$ac_c_werror_flag" ||
9293 test ! -s conftest.err
9294 } && test -s conftest$ac_exeext &&
9295 $as_test_x conftest$ac_exeext; then
9296 ac_cv_lib_dl_dlopen=yes
9298 echo "$as_me: failed program was:" >&5
9299 sed 's/^/| /' conftest.$ac_ext >&5
9301 ac_cv_lib_dl_dlopen=no
9304 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9305 conftest$ac_exeext conftest.$ac_ext
9306 LIBS=$ac_check_lib_save_LIBS
9308 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9309 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9310 if test $ac_cv_lib_dl_dlopen = yes; then
9311 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9316 lt_cv_dlopen_self=yes
9323 { echo "$as_me:$LINENO: checking for shl_load" >&5
9324 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
9325 if test "${ac_cv_func_shl_load+set}" = set; then
9326 echo $ECHO_N "(cached) $ECHO_C" >&6
9328 cat >conftest.$ac_ext <<_ACEOF
9331 cat confdefs.h >>conftest.$ac_ext
9332 cat >>conftest.$ac_ext <<_ACEOF
9333 /* end confdefs.h. */
9334 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9335 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9336 #define shl_load innocuous_shl_load
9338 /* System header to define __stub macros and hopefully few prototypes,
9339 which can conflict with char shl_load (); below.
9340 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9341 <limits.h> exists even on freestanding compilers. */
9344 # include <limits.h>
9346 # include <assert.h>
9351 /* Override any GCC internal prototype to avoid an error.
9352 Use char because int might match the return type of a GCC
9353 builtin and then its argument prototype would still apply. */
9358 /* The GNU C library defines this for functions which it implements
9359 to always fail with ENOSYS. Some functions are actually named
9360 something starting with __ and the normal name is an alias. */
9361 #if defined __stub_shl_load || defined __stub___shl_load
9373 rm -f conftest.$ac_objext conftest$ac_exeext
9374 if { (ac_try="$ac_link"
9376 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9377 *) ac_try_echo
=$ac_try;;
9379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9380 (eval "$ac_link") 2>conftest.er1
9382 grep -v '^ *+' conftest.er1
>conftest.err
9384 cat conftest.err
>&5
9385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9386 (exit $ac_status); } && {
9387 test -z "$ac_c_werror_flag" ||
9388 test ! -s conftest.err
9389 } && test -s conftest
$ac_exeext &&
9390 $as_test_x conftest
$ac_exeext; then
9391 ac_cv_func_shl_load
=yes
9393 echo "$as_me: failed program was:" >&5
9394 sed 's/^/| /' conftest.
$ac_ext >&5
9396 ac_cv_func_shl_load
=no
9399 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9400 conftest
$ac_exeext conftest.
$ac_ext
9402 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9403 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9404 if test $ac_cv_func_shl_load = yes; then
9405 lt_cv_dlopen
="shl_load"
9407 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9408 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
9409 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9410 echo $ECHO_N "(cached) $ECHO_C" >&6
9412 ac_check_lib_save_LIBS
=$LIBS
9414 cat >conftest.
$ac_ext <<_ACEOF
9417 cat confdefs.h
>>conftest.
$ac_ext
9418 cat >>conftest.
$ac_ext <<_ACEOF
9419 /* end confdefs.h. */
9421 /* Override any GCC internal prototype to avoid an error.
9422 Use char because int might match the return type of a GCC
9423 builtin and then its argument prototype would still apply. */
9436 rm -f conftest.
$ac_objext conftest
$ac_exeext
9437 if { (ac_try
="$ac_link"
9439 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9440 *) ac_try_echo=$ac_try;;
9442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9443 (eval "$ac_link") 2>conftest.er1
9445 grep -v '^ *+' conftest.er1 >conftest.err
9447 cat conftest.err >&5
9448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9449 (exit $ac_status); } && {
9450 test -z "$ac_c_werror_flag" ||
9451 test ! -s conftest.err
9452 } && test -s conftest$ac_exeext &&
9453 $as_test_x conftest$ac_exeext; then
9454 ac_cv_lib_dld_shl_load=yes
9456 echo "$as_me: failed program was:" >&5
9457 sed 's/^/| /' conftest.$ac_ext >&5
9459 ac_cv_lib_dld_shl_load=no
9462 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9463 conftest$ac_exeext conftest.$ac_ext
9464 LIBS=$ac_check_lib_save_LIBS
9466 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9467 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9468 if test $ac_cv_lib_dld_shl_load = yes; then
9469 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
9471 { echo "$as_me:$LINENO: checking for dlopen" >&5
9472 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
9473 if test "${ac_cv_func_dlopen+set}" = set; then
9474 echo $ECHO_N "(cached) $ECHO_C" >&6
9476 cat >conftest.$ac_ext <<_ACEOF
9479 cat confdefs.h >>conftest.$ac_ext
9480 cat >>conftest.$ac_ext <<_ACEOF
9481 /* end confdefs.h. */
9482 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9483 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9484 #define dlopen innocuous_dlopen
9486 /* System header to define __stub macros and hopefully few prototypes,
9487 which can conflict with char dlopen (); below.
9488 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9489 <limits.h> exists even on freestanding compilers. */
9492 # include <limits.h>
9494 # include <assert.h>
9499 /* Override any GCC internal prototype to avoid an error.
9500 Use char because int might match the return type of a GCC
9501 builtin and then its argument prototype would still apply. */
9506 /* The GNU C library defines this for functions which it implements
9507 to always fail with ENOSYS. Some functions are actually named
9508 something starting with __ and the normal name is an alias. */
9509 #if defined __stub_dlopen || defined __stub___dlopen
9521 rm -f conftest.$ac_objext conftest$ac_exeext
9522 if { (ac_try="$ac_link"
9524 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9525 *) ac_try_echo
=$ac_try;;
9527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9528 (eval "$ac_link") 2>conftest.er1
9530 grep -v '^ *+' conftest.er1
>conftest.err
9532 cat conftest.err
>&5
9533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9534 (exit $ac_status); } && {
9535 test -z "$ac_c_werror_flag" ||
9536 test ! -s conftest.err
9537 } && test -s conftest
$ac_exeext &&
9538 $as_test_x conftest
$ac_exeext; then
9539 ac_cv_func_dlopen
=yes
9541 echo "$as_me: failed program was:" >&5
9542 sed 's/^/| /' conftest.
$ac_ext >&5
9544 ac_cv_func_dlopen
=no
9547 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9548 conftest
$ac_exeext conftest.
$ac_ext
9550 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9551 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
9552 if test $ac_cv_func_dlopen = yes; then
9553 lt_cv_dlopen
="dlopen"
9555 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9556 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9557 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9558 echo $ECHO_N "(cached) $ECHO_C" >&6
9560 ac_check_lib_save_LIBS
=$LIBS
9562 cat >conftest.
$ac_ext <<_ACEOF
9565 cat confdefs.h
>>conftest.
$ac_ext
9566 cat >>conftest.
$ac_ext <<_ACEOF
9567 /* end confdefs.h. */
9569 /* Override any GCC internal prototype to avoid an error.
9570 Use char because int might match the return type of a GCC
9571 builtin and then its argument prototype would still apply. */
9584 rm -f conftest.
$ac_objext conftest
$ac_exeext
9585 if { (ac_try
="$ac_link"
9587 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9588 *) ac_try_echo=$ac_try;;
9590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9591 (eval "$ac_link") 2>conftest.er1
9593 grep -v '^ *+' conftest.er1 >conftest.err
9595 cat conftest.err >&5
9596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9597 (exit $ac_status); } && {
9598 test -z "$ac_c_werror_flag" ||
9599 test ! -s conftest.err
9600 } && test -s conftest$ac_exeext &&
9601 $as_test_x conftest$ac_exeext; then
9602 ac_cv_lib_dl_dlopen=yes
9604 echo "$as_me: failed program was:" >&5
9605 sed 's/^/| /' conftest.$ac_ext >&5
9607 ac_cv_lib_dl_dlopen=no
9610 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9611 conftest$ac_exeext conftest.$ac_ext
9612 LIBS=$ac_check_lib_save_LIBS
9614 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9615 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9616 if test $ac_cv_lib_dl_dlopen = yes; then
9617 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9619 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9620 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
9621 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9622 echo $ECHO_N "(cached) $ECHO_C" >&6
9624 ac_check_lib_save_LIBS=$LIBS
9626 cat >conftest.$ac_ext <<_ACEOF
9629 cat confdefs.h >>conftest.$ac_ext
9630 cat >>conftest.$ac_ext <<_ACEOF
9631 /* end confdefs.h. */
9633 /* Override any GCC internal prototype to avoid an error.
9634 Use char because int might match the return type of a GCC
9635 builtin and then its argument prototype would still apply. */
9648 rm -f conftest.$ac_objext conftest$ac_exeext
9649 if { (ac_try="$ac_link"
9651 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9652 *) ac_try_echo
=$ac_try;;
9654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9655 (eval "$ac_link") 2>conftest.er1
9657 grep -v '^ *+' conftest.er1
>conftest.err
9659 cat conftest.err
>&5
9660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9661 (exit $ac_status); } && {
9662 test -z "$ac_c_werror_flag" ||
9663 test ! -s conftest.err
9664 } && test -s conftest
$ac_exeext &&
9665 $as_test_x conftest
$ac_exeext; then
9666 ac_cv_lib_svld_dlopen
=yes
9668 echo "$as_me: failed program was:" >&5
9669 sed 's/^/| /' conftest.
$ac_ext >&5
9671 ac_cv_lib_svld_dlopen
=no
9674 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9675 conftest
$ac_exeext conftest.
$ac_ext
9676 LIBS
=$ac_check_lib_save_LIBS
9678 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9679 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
9680 if test $ac_cv_lib_svld_dlopen = yes; then
9681 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9683 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9684 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
9685 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9686 echo $ECHO_N "(cached) $ECHO_C" >&6
9688 ac_check_lib_save_LIBS
=$LIBS
9690 cat >conftest.
$ac_ext <<_ACEOF
9693 cat confdefs.h
>>conftest.
$ac_ext
9694 cat >>conftest.
$ac_ext <<_ACEOF
9695 /* end confdefs.h. */
9697 /* Override any GCC internal prototype to avoid an error.
9698 Use char because int might match the return type of a GCC
9699 builtin and then its argument prototype would still apply. */
9712 rm -f conftest.
$ac_objext conftest
$ac_exeext
9713 if { (ac_try
="$ac_link"
9715 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9716 *) ac_try_echo=$ac_try;;
9718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9719 (eval "$ac_link") 2>conftest.er1
9721 grep -v '^ *+' conftest.er1 >conftest.err
9723 cat conftest.err >&5
9724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9725 (exit $ac_status); } && {
9726 test -z "$ac_c_werror_flag" ||
9727 test ! -s conftest.err
9728 } && test -s conftest$ac_exeext &&
9729 $as_test_x conftest$ac_exeext; then
9730 ac_cv_lib_dld_dld_link=yes
9732 echo "$as_me: failed program was:" >&5
9733 sed 's/^/| /' conftest.$ac_ext >&5
9735 ac_cv_lib_dld_dld_link=no
9738 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9739 conftest$ac_exeext conftest.$ac_ext
9740 LIBS=$ac_check_lib_save_LIBS
9742 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9743 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
9744 if test $ac_cv_lib_dld_dld_link = yes; then
9745 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
9766 if test "x$lt_cv_dlopen" != xno; then
9772 case $lt_cv_dlopen in
9774 save_CPPFLAGS="$CPPFLAGS"
9775 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
9777 save_LDFLAGS="$LDFLAGS"
9778 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
9781 LIBS="$lt_cv_dlopen_libs $LIBS"
9783 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9784 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
9785 if test "${lt_cv_dlopen_self+set}" = set; then
9786 echo $ECHO_N "(cached) $ECHO_C" >&6
9788 if test "$cross_compiling" = yes; then :
9789 lt_cv_dlopen_self=cross
9791 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9792 lt_status=$lt_dlunknown
9793 cat > conftest.$ac_ext <<EOF
9794 #line 9794 "configure"
9795 #include "confdefs.h"
9804 # define LT_DLGLOBAL RTLD_GLOBAL
9807 # define LT_DLGLOBAL DL_GLOBAL
9809 # define LT_DLGLOBAL 0
9813 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9814 find out it does not work in some platform. */
9815 #ifndef LT_DLLAZY_OR_NOW
9817 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9820 # define LT_DLLAZY_OR_NOW DL_LAZY
9823 # define LT_DLLAZY_OR_NOW RTLD_NOW
9826 # define LT_DLLAZY_OR_NOW DL_NOW
9828 # define LT_DLLAZY_OR_NOW 0
9836 extern "C" void exit (int);
9839 void fnord() { int i=42;}
9842 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9843 int status = $lt_dlunknown;
9847 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9848 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9849 /* dlclose (self); */
9857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9858 (eval $ac_link) 2>&5
9860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9861 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9862 (./conftest; exit; ) >&5 2>/dev/null
9865 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
9866 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
9867 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
9870 # compilation failed
9871 lt_cv_dlopen_self=no
9878 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9879 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
9881 if test "x$lt_cv_dlopen_self" = xyes; then
9882 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
9883 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9884 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
9885 if test "${lt_cv_dlopen_self_static+set}" = set; then
9886 echo $ECHO_N "(cached) $ECHO_C" >&6
9888 if test "$cross_compiling" = yes; then :
9889 lt_cv_dlopen_self_static=cross
9891 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9892 lt_status=$lt_dlunknown
9893 cat > conftest.$ac_ext <<EOF
9894 #line 9894 "configure"
9895 #include "confdefs.h"
9904 # define LT_DLGLOBAL RTLD_GLOBAL
9907 # define LT_DLGLOBAL DL_GLOBAL
9909 # define LT_DLGLOBAL 0
9913 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9914 find out it does not work in some platform. */
9915 #ifndef LT_DLLAZY_OR_NOW
9917 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9920 # define LT_DLLAZY_OR_NOW DL_LAZY
9923 # define LT_DLLAZY_OR_NOW RTLD_NOW
9926 # define LT_DLLAZY_OR_NOW DL_NOW
9928 # define LT_DLLAZY_OR_NOW 0
9936 extern "C" void exit (int);
9939 void fnord() { int i=42;}
9942 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9943 int status = $lt_dlunknown;
9947 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9948 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9949 /* dlclose (self); */
9957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9958 (eval $ac_link) 2>&5
9960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9961 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9962 (./conftest; exit; ) >&5 2>/dev/null
9965 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
9966 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
9967 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
9970 # compilation failed
9971 lt_cv_dlopen_self_static=no
9978 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
9979 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
9982 CPPFLAGS="$save_CPPFLAGS"
9983 LDFLAGS="$save_LDFLAGS"
9988 case $lt_cv_dlopen_self in
9989 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
9990 *) enable_dlopen_self=unknown ;;
9993 case $lt_cv_dlopen_self_static in
9994 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
9995 *) enable_dlopen_self_static=unknown ;;
10000 # Report which library types will actually be built
10001 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10002 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
10003 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
10004 echo "${ECHO_T}$can_build_shared" >&6; }
10006 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10007 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
10008 test "$can_build_shared" = "no" && enable_shared=no
10010 # On AIX, shared libraries and static libraries use the same namespace, and
10011 # are all built from PIC.
10014 test "$enable_shared" = yes && enable_static=no
10015 if test -n "$RANLIB"; then
10016 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10017 postinstall_cmds='$RANLIB $lib'
10022 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10023 test "$enable_shared" = yes && enable_static=no
10027 { echo "$as_me:$LINENO: result: $enable_shared" >&5
10028 echo "${ECHO_T}$enable_shared" >&6; }
10030 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10031 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
10032 # Make sure either enable_shared or enable_static is yes.
10033 test "$enable_shared" = yes || enable_static=yes
10034 { echo "$as_me:$LINENO: result: $enable_static" >&5
10035 echo "${ECHO_T}$enable_static" >&6; }
10037 # The else clause should only fire when bootstrapping the
10038 # libtool distribution, otherwise you forgot to ship ltmain.sh
10039 # with your package, and you will get complaints that there are
10040 # no rules to generate ltmain.sh.
10041 if test -f "$ltmain"; then
10042 # See if we are running on zsh, and set the options which allow our commands through
10043 # without removal of \ escapes.
10044 if test -n "${ZSH_VERSION+set}" ; then
10045 setopt NO_GLOB_SUBST
10047 # Now quote all the things that may contain metacharacters while being
10048 # careful not to overquote the AC_SUBSTed values. We take copies of the
10049 # variables and quote the copies for generation of the libtool script.
10050 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
10052 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10053 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10054 deplibs_check_method reload_flag reload_cmds need_locks \
10055 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10056 lt_cv_sys_global_symbol_to_c_name_address \
10057 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10058 old_postinstall_cmds old_postuninstall_cmds \
10062 lt_prog_compiler_wl \
10063 lt_prog_compiler_pic \
10064 lt_prog_compiler_static \
10065 lt_prog_compiler_no_builtin_flag \
10066 export_dynamic_flag_spec \
10067 thread_safe_flag_spec \
10068 whole_archive_flag_spec \
10069 enable_shared_with_static_runtimes \
10071 old_archive_from_new_cmds \
10076 compiler_lib_search_path \
10078 archive_expsym_cmds \
10080 postuninstall_cmds \
10081 old_archive_from_expsyms_cmds \
10082 allow_undefined_flag \
10083 no_undefined_flag \
10084 export_symbols_cmds \
10085 hardcode_libdir_flag_spec \
10086 hardcode_libdir_flag_spec_ld \
10087 hardcode_libdir_separator \
10088 hardcode_automatic \
10090 module_expsym_cmds \
10091 lt_cv_prog_compiler_c_o \
10094 include_expsyms; do
10097 old_archive_cmds | \
10098 old_archive_from_new_cmds | \
10100 archive_expsym_cmds | \
10102 module_expsym_cmds | \
10103 old_archive_from_expsyms_cmds | \
10104 export_symbols_cmds | \
10105 extract_expsyms_cmds | reload_cmds | finish_cmds | \
10106 postinstall_cmds | postuninstall_cmds | \
10107 old_postinstall_cmds | old_postuninstall_cmds | \
10108 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
10109 # Double-quote double-evaled strings.
10110 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
10113 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
10119 *'\$0 --fallback-echo"')
10120 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10124 cfgfile="${ofile}T"
10125 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
10127 { echo "$as_me:$LINENO: creating $ofile" >&5
10128 echo "$as_me: creating $ofile" >&6;}
10130 cat <<__EOF__ >> "$cfgfile"
10133 # `$echo "$cfgfile" |
sed 's%^.*/%%'` - Provide generalized library-building support services.
10134 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10135 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
10137 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
10138 # Free Software Foundation, Inc.
10140 # This file is part of GNU Libtool:
10141 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
10143 # This program is free software; you can redistribute it and/or modify
10144 # it under the terms of the GNU General Public License as published by
10145 # the Free Software Foundation; either version 2 of the License, or
10146 # (at your option) any later version.
10148 # This program is distributed in the hope that it will be useful, but
10149 # WITHOUT ANY WARRANTY; without even the implied warranty of
10150 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10151 # General Public License for more details.
10153 # You should have received a copy of the GNU General Public License
10154 # along with this program; if not, write to the Free Software
10155 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
10157 # As a special exception to the GNU General Public License, if you
10158 # distribute this file as part of a program that contains a
10159 # configuration script generated by Autoconf, you may include it under
10160 # the same distribution terms that you use for the rest of that program.
10162 # A sed program that does not truncate output.
10165 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
10166 Xsed="$SED -e 1s/^X//"
10168 # The HP-UX ksh and POSIX shell print the target directory to stdout
10169 # if CDPATH is set.
10170 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10172 # The names of the tagged configurations supported by this script.
10175 # ### BEGIN LIBTOOL CONFIG
10177 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
10179 # Shell to use when invoking shell scripts.
10182 # Whether or not to build shared libraries.
10183 build_libtool_libs=$enable_shared
10185 # Whether or not to build static libraries.
10186 build_old_libs=$enable_static
10188 # Whether or not to add -lc for building shared libraries.
10189 build_libtool_need_lc=$archive_cmds_need_lc
10191 # Whether or not to disallow shared libs when runtime libs are static
10192 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
10194 # Whether or not to optimize for fast installation.
10195 fast_install=$enable_fast_install
10198 host_alias=$host_alias
10202 # The build system.
10203 build_alias=$build_alias
10207 # An echo program that does not interpret backslashes.
10212 AR_FLAGS=$lt_AR_FLAGS
10217 # LTCC compiler flags.
10218 LTCFLAGS=$lt_LTCFLAGS
10220 # A language-specific compiler.
10223 # Is the compiler the GNU C compiler?
10229 # The linker used to build libraries.
10232 # Whether we need hard or soft links.
10235 # A BSD-compatible nm program.
10238 # A symbol stripping program
10241 # Used to examine libraries when file_magic_cmd begins "file"
10242 MAGIC_CMD=$MAGIC_CMD
10244 # Used on cygwin: DLL creation program.
10247 # Used on cygwin: object dumper.
10250 # Used on cygwin: assembler.
10253 # The name of the directory that contains temporary libtool files.
10256 # How to create reloadable object files.
10257 reload_flag=$lt_reload_flag
10258 reload_cmds=$lt_reload_cmds
10260 # How to pass a linker flag through the compiler.
10261 wl=$lt_lt_prog_compiler_wl
10263 # Object file suffix (normally "o").
10264 objext="$ac_objext"
10266 # Old archive suffix (normally "a").
10269 # Shared library suffix (normally ".so").
10270 shrext_cmds='$shrext_cmds'
10272 # Executable file suffix (normally "").
10275 # Additional compiler flags for building library objects.
10276 pic_flag=$lt_lt_prog_compiler_pic
10279 # What is the maximum length of a command?
10280 max_cmd_len=$lt_cv_sys_max_cmd_len
10282 # Does compiler simultaneously support -c and -o options?
10283 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
10285 # Must we lock files when doing compilation?
10286 need_locks=$lt_need_locks
10288 # Do we need the lib prefix for modules?
10289 need_lib_prefix=$need_lib_prefix
10291 # Do we need a version for libraries?
10292 need_version=$need_version
10294 # Whether dlopen is supported.
10295 dlopen_support=$enable_dlopen
10297 # Whether dlopen of programs is supported.
10298 dlopen_self=$enable_dlopen_self
10300 # Whether dlopen of statically linked programs is supported.
10301 dlopen_self_static=$enable_dlopen_self_static
10303 # Compiler flag to prevent dynamic linking.
10304 link_static_flag=$lt_lt_prog_compiler_static
10306 # Compiler flag to turn off builtin functions.
10307 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
10309 # Compiler flag to allow reflexive dlopens.
10310 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
10312 # Compiler flag to generate shared objects directly from archives.
10313 whole_archive_flag_spec=$lt_whole_archive_flag_spec
10315 # Compiler flag to generate thread-safe objects.
10316 thread_safe_flag_spec=$lt_thread_safe_flag_spec
10318 # Library versioning type.
10319 version_type=$version_type
10321 # Format of library name prefix.
10322 libname_spec=$lt_libname_spec
10324 # List of archive names. First name is the real one, the rest are links.
10325 # The last name is the one that the linker finds with -lNAME.
10326 library_names_spec=$lt_library_names_spec
10328 # The coded name of the library, if different from the real name.
10329 soname_spec=$lt_soname_spec
10331 # Commands used to build and install an old-style archive.
10333 old_archive_cmds=$lt_old_archive_cmds
10334 old_postinstall_cmds=$lt_old_postinstall_cmds
10335 old_postuninstall_cmds=$lt_old_postuninstall_cmds
10337 # Create an old-style archive from a shared archive.
10338 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
10340 # Create a temporary old-style archive to link instead of a shared archive.
10341 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
10343 # Commands used to build and install a shared archive.
10344 archive_cmds=$lt_archive_cmds
10345 archive_expsym_cmds=$lt_archive_expsym_cmds
10346 postinstall_cmds=$lt_postinstall_cmds
10347 postuninstall_cmds=$lt_postuninstall_cmds
10349 # Commands used to build a loadable module (assumed same as above if empty)
10350 module_cmds=$lt_module_cmds
10351 module_expsym_cmds=$lt_module_expsym_cmds
10353 # Commands to strip libraries.
10354 old_striplib=$lt_old_striplib
10355 striplib=$lt_striplib
10357 # Dependencies to place before the objects being linked to create a
10359 predep_objects=$lt_predep_objects
10361 # Dependencies to place after the objects being linked to create a
10363 postdep_objects=$lt_postdep_objects
10365 # Dependencies to place before the objects being linked to create a
10367 predeps=$lt_predeps
10369 # Dependencies to place after the objects being linked to create a
10371 postdeps=$lt_postdeps
10373 # The library search path used internally by the compiler when linking
10374 # a shared library.
10375 compiler_lib_search_path=$lt_compiler_lib_search_path
10377 # Method to check whether dependent libraries are shared objects.
10378 deplibs_check_method=$lt_deplibs_check_method
10380 # Command to use when deplibs_check_method == file_magic.
10381 file_magic_cmd=$lt_file_magic_cmd
10383 # Flag that allows shared libraries with undefined symbols to be built.
10384 allow_undefined_flag=$lt_allow_undefined_flag
10386 # Flag that forces no undefined symbols.
10387 no_undefined_flag=$lt_no_undefined_flag
10389 # Commands used to finish a libtool library installation in a directory.
10390 finish_cmds=$lt_finish_cmds
10392 # Same as above, but a single script fragment to be evaled but not shown.
10393 finish_eval=$lt_finish_eval
10395 # Take the output of nm and produce a listing of raw symbols and C names.
10396 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10398 # Transform the output of nm in a proper C declaration
10399 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10401 # Transform the output of nm in a C name address pair
10402 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10404 # This is the shared library runtime path variable.
10405 runpath_var=$runpath_var
10407 # This is the shared library path variable.
10408 shlibpath_var=$shlibpath_var
10410 # Is shlibpath searched before the hard-coded library search path?
10411 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10413 # How to hardcode a shared library path into an executable.
10414 hardcode_action=$hardcode_action
10416 # Whether we should hardcode library paths into libraries.
10417 hardcode_into_libs=$hardcode_into_libs
10419 # Flag to hardcode \$libdir into a binary during linking.
10420 # This must work even if \$libdir does not exist.
10421 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
10423 # If ld is used when linking, flag to hardcode \$libdir into
10424 # a binary during linking. This must work even if \$libdir does
10426 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
10428 # Whether we need a single -rpath flag with a separated argument.
10429 hardcode_libdir_separator=$lt_hardcode_libdir_separator
10431 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10432 # resulting binary.
10433 hardcode_direct=$hardcode_direct
10435 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10436 # resulting binary.
10437 hardcode_minus_L=$hardcode_minus_L
10439 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
10440 # the resulting binary.
10441 hardcode_shlibpath_var=$hardcode_shlibpath_var
10443 # Set to yes if building a shared library automatically hardcodes DIR into the library
10444 # and all subsequent libraries and executables linked against it.
10445 hardcode_automatic=$hardcode_automatic
10447 # Variables whose values should be saved in libtool wrapper scripts and
10448 # restored at relink time.
10449 variables_saved_for_relink="$variables_saved_for_relink"
10451 # Whether libtool must link a program against all its dependency libraries.
10452 link_all_deplibs=$link_all_deplibs
10454 # Compile-time system search path for libraries
10455 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
10457 # Run-time system search path for libraries
10458 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10460 # Fix the shell variable \$srcfile for the compiler.
10461 fix_srcfile_path=$lt_fix_srcfile_path
10463 # Set to yes if exported symbols are required.
10464 always_export_symbols=$always_export_symbols
10466 # The commands to list exported symbols.
10467 export_symbols_cmds=$lt_export_symbols_cmds
10469 # The commands to extract the exported symbol list from a shared archive.
10470 extract_expsyms_cmds=$lt_extract_expsyms_cmds
10472 # Symbols that should not be listed in the preloaded symbols.
10473 exclude_expsyms=$lt_exclude_expsyms
10475 # Symbols that must always be exported.
10476 include_expsyms=$lt_include_expsyms
10478 # ### END LIBTOOL CONFIG
10485 cat <<\EOF >> "$cfgfile"
10487 # AIX sometimes has problems with the GCC collect2 program. For some
10488 # reason, if we set the COLLECT_NAMES environment variable, the problems
10489 # vanish in a puff of smoke.
10490 if test "X${COLLECT_NAMES+set}" != Xset; then
10492 export COLLECT_NAMES
10498 # We use sed instead of cat because bash on DJGPP gets confused if
10499 # if finds mixed CR/LF and LF-only lines. Since sed operates in
10500 # text mode, it properly converts lines to CR/LF. This bash problem
10501 # is reportedly fixed, but why not run on old versions too?
10502 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
10504 mv -f "$cfgfile" "$ofile" || \
10505 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
10509 # If there is no Makefile yet, we rely on a make rule to execute
10510 # `config.status
--recheck' to rerun these tests and create the
10511 # libtool script then.
10512 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
10513 if test -f "$ltmain_in"; then
10514 test -f Makefile && make "$ltmain"
10520 ac_cpp='$CPP $CPPFLAGS'
10521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
10522 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
10523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10528 # Check whether --with-tags was given.
10529 if test "${with_tags+set}" = set; then
10530 withval=$with_tags; tagnames="$withval"
10534 if test -f "$ltmain" && test -n "$tagnames"; then
10535 if test ! -f "${ofile}"; then
10536 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist
" >&5
10537 echo "$as_me: WARNING
: output
file \
`$ofile' does not exist" >&2;}
10540 if test -z "$LTCC"; then
10541 eval "`$SHELL ${ofile} --config |
grep '^LTCC='`"
10542 if test -z "$LTCC"; then
10543 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
10544 echo "$as_me: WARNING: output file \`$ofile' does not
look like a libtool
script" >&2;}
10546 { echo "$as_me:$LINENO: WARNING
: using \
`LTCC=$LTCC', extracted from \`$ofile'" >&5
10547 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \
`$ofile'" >&2;}
10550 if test -z "$LTCFLAGS"; then
10551 eval "`$SHELL ${ofile} --config |
grep '^LTCFLAGS='`"
10554 # Extract list of available tagged configurations in $ofile.
10555 # Note that this assumes the entire list is on one line.
10556 available_tags=`grep "^available_tags=" "${ofile}" |
$SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
10558 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10559 for tagname in $tagnames; do
10561 # Check whether tagname contains only valid characters
10562 case `$echo "X$tagname" |
$Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
10564 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
10565 echo "$as_me: error: invalid tag name: $tagname" >&2;}
10566 { (exit 1); exit 1; }; }
10570 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
10572 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
10573 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
10574 { (exit 1); exit 1; }; }
10577 # Update the list of available tags.
10578 if test -n "$tagname"; then
10579 echo appending configuration tag \"$tagname\" to $ofile
10583 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
10584 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
10585 (test "X$CXX" != "Xg++"))) ; then
10587 ac_cpp='$CXXCPP $CPPFLAGS'
10588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10595 archive_cmds_need_lc_CXX=no
10596 allow_undefined_flag_CXX=
10597 always_export_symbols_CXX=no
10598 archive_expsym_cmds_CXX=
10599 export_dynamic_flag_spec_CXX=
10600 hardcode_direct_CXX=no
10601 hardcode_libdir_flag_spec_CXX=
10602 hardcode_libdir_flag_spec_ld_CXX=
10603 hardcode_libdir_separator_CXX=
10604 hardcode_minus_L_CXX=no
10605 hardcode_shlibpath_var_CXX=unsupported
10606 hardcode_automatic_CXX=no
10608 module_expsym_cmds_CXX=
10609 link_all_deplibs_CXX=unknown
10610 old_archive_cmds_CXX=$old_archive_cmds
10611 no_undefined_flag_CXX=
10612 whole_archive_flag_spec_CXX=
10613 enable_shared_with_static_runtimes_CXX=no
10615 # Dependencies to place before and after the object being linked:
10616 predep_objects_CXX=
10617 postdep_objects_CXX=
10620 compiler_lib_search_path_CXX=
10622 # Source file extension for C++ test sources.
10625 # Object file extension for compiled C++ test sources.
10629 # Code to be used in simple compile tests
10630 lt_simple_compile_test_code="int some_variable = 0;"
10632 # Code to be used in simple link tests
10633 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
10635 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10637 # If no C compiler was specified, use CC.
10640 # If no C compiler flags were specified, use CFLAGS.
10641 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10643 # Allow CC to be a program name with arguments.
10647 # save warnings/boilerplate of simple test code
10648 ac_outfile=conftest.$ac_objext
10649 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10650 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10651 _lt_compiler_boilerplate=`cat conftest.err
`
10654 ac_outfile=conftest.$ac_objext
10655 echo "$lt_simple_link_test_code" >conftest.$ac_ext
10656 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10657 _lt_linker_boilerplate=`cat conftest.err
`
10661 # Allow CC to be a program name with arguments.
10666 lt_save_with_gnu_ld=$with_gnu_ld
10667 lt_save_path_LD=$lt_cv_path_LD
10668 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10669 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
10671 $as_unset lt_cv_prog_gnu_ld
10673 if test -n "${lt_cv_path_LDCXX+set}"; then
10674 lt_cv_path_LD=$lt_cv_path_LDCXX
10676 $as_unset lt_cv_path_LD
10678 test -z "${LDCXX+set}" || LD=$LDCXX
10682 for cc_temp in $compiler""; do
10684 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10685 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10690 cc_basename=`$echo "X$cc_temp" |
$Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10693 # We don't want -fno-exception wen compiling C++ code, so set the
10694 # no_builtin_flag separately
10695 if test "$GXX" = yes; then
10696 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
10698 lt_prog_compiler_no_builtin_flag_CXX=
10701 if test "$GXX" = yes; then
10702 # Set up default GNU C++ configuration
10705 # Check whether --with-gnu-ld was given.
10706 if test "${with_gnu_ld+set}" = set; then
10707 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
10713 if test "$GCC" = yes; then
10714 # Check if gcc -print-prog-name=ld gives a path.
10715 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10716 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
10719 # gcc leaves a trailing carriage return which upsets mingw
10720 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
10722 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
10725 # Accept absolute paths.
10727 re_direlt='/[^/][^/]*/\.\./'
10728 # Canonicalize the pathname of ld
10729 ac_prog=`echo $ac_prog|
$SED 's%\\\\%/%g'`
10730 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
10731 ac_prog=`echo $ac_prog|
$SED "s%$re_direlt%/%"`
10733 test -z "$LD" && LD="$ac_prog"
10736 # If it fails, then pretend we aren't using GCC.
10740 # If it is relative, then search for the first ld in PATH.
10741 with_gnu_ld=unknown
10744 elif test "$with_gnu_ld" = yes; then
10745 { echo "$as_me:$LINENO: checking for GNU ld" >&5
10746 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
10748 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10749 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
10751 if test "${lt_cv_path_LD+set}" = set; then
10752 echo $ECHO_N "(cached) $ECHO_C" >&6
10754 if test -z "$LD"; then
10755 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10756 for ac_dir in $PATH; do
10758 test -z "$ac_dir" && ac_dir=.
10759 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
10760 lt_cv_path_LD="$ac_dir/$ac_prog"
10761 # Check to see if the program is GNU ld. I'd rather use --version,
10762 # but apparently some variants of GNU ld only accept -v.
10763 # Break only if it was the GNU/non-GNU ld that we prefer.
10764 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
10765 *GNU* | *'with BFD'*)
10766 test "$with_gnu_ld" != no && break
10769 test "$with_gnu_ld" != yes && break
10776 lt_cv_path_LD="$LD" # Let the user override the test with a path.
10780 LD="$lt_cv_path_LD"
10781 if test -n "$LD"; then
10782 { echo "$as_me:$LINENO: result: $LD" >&5
10783 echo "${ECHO_T}$LD" >&6; }
10785 { echo "$as_me:$LINENO: result: no" >&5
10786 echo "${ECHO_T}no" >&6; }
10788 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10789 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10790 { (exit 1); exit 1; }; }
10791 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10792 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
10793 if test "${lt_cv_prog_gnu_ld+set}" = set; then
10794 echo $ECHO_N "(cached) $ECHO_C" >&6
10796 # I'd rather use --version here, but apparently some GNU lds only accept -v.
10797 case `$LD -v 2>&1 </dev
/null
` in
10798 *GNU* | *'with BFD'*)
10799 lt_cv_prog_gnu_ld=yes
10802 lt_cv_prog_gnu_ld=no
10806 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10807 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
10808 with_gnu_ld=$lt_cv_prog_gnu_ld
10812 # Check if GNU C++ uses GNU ld as the underlying linker, since the
10813 # archiving commands below assume that GNU ld is being used.
10814 if test "$with_gnu_ld" = yes; then
10815 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10816 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'
10818 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
10819 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10821 # If archive_cmds runs LD, not CC, wlarc should be empty
10822 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
10823 # investigate it a little bit more. (MM)
10826 # ancient GNU ld didn't support --whole-archive et. al.
10827 if eval "`$CC -print-prog-name=ld
` --help 2>&1" | \
10828 grep 'no-whole-archive' > /dev/null; then
10829 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10831 whole_archive_flag_spec_CXX=
10837 # A generic and very simple default shared library creation
10838 # command for GNU C++ for the case where it uses the native
10839 # linker, instead of GNU ld. If possible, this setting should
10840 # overridden to take advantage of the native linker features on
10841 # the platform it is being used on.
10842 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10845 # Commands to make compiler produce verbose output that lists
10846 # what "hidden" libraries, object files and flags are used when
10847 # linking a shared library.
10848 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10856 # PORTME: fill in a description of your system's C++ link characteristics
10857 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10858 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
10862 # FIXME: insert proper C++ library support
10866 if test "$host_cpu" = ia64; then
10867 # On IA64, the linker does run time linking by default, so we don't
10868 # have to do anything special.
10869 aix_use_runtimelinking=no
10870 exp_sym_flag='-Bexport'
10873 aix_use_runtimelinking=no
10875 # Test if we are trying to use run time linking or normal
10876 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10877 # need to do runtime linking.
10878 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
10879 for ld_flag in $LDFLAGS; do
10882 aix_use_runtimelinking=yes
10890 exp_sym_flag='-bexport'
10891 no_entry_flag='-bnoentry'
10894 # When large executables or shared objects are built, AIX ld can
10895 # have problems creating the table of contents. If linking a library
10896 # or program results in "error TOC overflow" add -mminimal-toc to
10897 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10898 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10900 archive_cmds_CXX=''
10901 hardcode_direct_CXX=yes
10902 hardcode_libdir_separator_CXX=':'
10903 link_all_deplibs_CXX=yes
10905 if test "$GXX" = yes; then
10906 case $host_os in aix4.[012]|aix4.[012].*)
10907 # We only want to do this on AIX 4.2 and lower, the check
10908 # below for broken collect2 doesn't work under 4.3+
10909 collect2name=`${CC} -print-prog-name=collect2
`
10910 if test -f "$collect2name" && \
10911 strings "$collect2name" | grep resolve_lib_name >/dev/null
10913 # We have reworked collect2
10916 # We have old collect2
10917 hardcode_direct_CXX=unsupported
10918 # It fails to find uninstalled libraries when the uninstalled
10919 # path is not listed in the libpath. Setting hardcode_minus_L
10920 # to unsupported forces relinking
10921 hardcode_minus_L_CXX=yes
10922 hardcode_libdir_flag_spec_CXX='-L$libdir'
10923 hardcode_libdir_separator_CXX=
10927 shared_flag='-shared'
10928 if test "$aix_use_runtimelinking" = yes; then
10929 shared_flag="$shared_flag "'${wl}-G'
10933 if test "$host_cpu" = ia64; then
10934 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10935 # chokes on -Wl,-G. The following line is correct:
10938 if test "$aix_use_runtimelinking" = yes; then
10939 shared_flag='${wl}-G'
10941 shared_flag='${wl}-bM:SRE'
10946 # It seems that -bexpall does not export symbols beginning with
10947 # underscore (_), so it is better to generate a list of symbols to export.
10948 always_export_symbols_CXX=yes
10949 if test "$aix_use_runtimelinking" = yes; then
10950 # Warning - without using the other runtime loading flags (-brtl),
10951 # -berok will link without error, but may produce a broken library.
10952 allow_undefined_flag_CXX='-berok'
10953 # Determine the default libpath from the value encoded in an empty executable.
10954 cat >conftest.$ac_ext <<_ACEOF
10957 cat confdefs.h >>conftest.$ac_ext
10958 cat >>conftest.$ac_ext <<_ACEOF
10959 /* end confdefs.h. */
10969 rm -f conftest.$ac_objext conftest$ac_exeext
10970 if { (ac_try="$ac_link"
10971 case "(($ac_try" in
10972 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10973 *) ac_try_echo
=$ac_try;;
10975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10976 (eval "$ac_link") 2>conftest.er1
10978 grep -v '^ *+' conftest.er1
>conftest.err
10980 cat conftest.err
>&5
10981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10982 (exit $ac_status); } && {
10983 test -z "$ac_cxx_werror_flag" ||
10984 test ! -s conftest.err
10985 } && test -s conftest
$ac_exeext &&
10986 $as_test_x conftest
$ac_exeext; then
10988 lt_aix_libpath_sed
='
10989 /Import File Strings/,/^$/ {
10995 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10996 # Check for a 64-bit object if we didn't find anything.
10997 if test -z "$aix_libpath"; then
10998 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11001 echo "$as_me: failed program was:" >&5
11002 sed 's/^/| /' conftest.
$ac_ext >&5
11007 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11008 conftest
$ac_exeext conftest.
$ac_ext
11009 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11011 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11013 archive_expsym_cmds_CXX
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
11015 if test "$host_cpu" = ia64
; then
11016 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
11017 allow_undefined_flag_CXX
="-z nodefs"
11018 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"
11020 # Determine the default libpath from the value encoded in an empty executable.
11021 cat >conftest.
$ac_ext <<_ACEOF
11024 cat confdefs.h
>>conftest.
$ac_ext
11025 cat >>conftest.
$ac_ext <<_ACEOF
11026 /* end confdefs.h. */
11036 rm -f conftest.
$ac_objext conftest
$ac_exeext
11037 if { (ac_try
="$ac_link"
11038 case "(($ac_try" in
11039 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11040 *) ac_try_echo=$ac_try;;
11042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11043 (eval "$ac_link") 2>conftest.er1
11045 grep -v '^ *+' conftest.er1 >conftest.err
11047 cat conftest.err >&5
11048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11049 (exit $ac_status); } && {
11050 test -z "$ac_cxx_werror_flag" ||
11051 test ! -s conftest.err
11052 } && test -s conftest$ac_exeext &&
11053 $as_test_x conftest$ac_exeext; then
11055 lt_aix_libpath_sed='
11056 /Import File Strings/,/^$/ {
11062 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
11063 # Check for a 64-bit object if we didn't find anything.
11064 if test -z "$aix_libpath"; then
11065 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
11068 echo "$as_me: failed program was:" >&5
11069 sed 's/^/| /' conftest.$ac_ext >&5
11074 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11075 conftest$ac_exeext conftest.$ac_ext
11076 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11078 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11079 # Warning - without using the other run time loading flags,
11080 # -berok will link without error, but may produce a broken library.
11081 no_undefined_flag_CXX=' ${wl}-bernotok'
11082 allow_undefined_flag_CXX=' ${wl}-berok'
11083 # Exported symbols can be pulled into shared objects from archives
11084 whole_archive_flag_spec_CXX='$convenience'
11085 archive_cmds_need_lc_CXX=yes
11086 # This is similar to how AIX traditionally builds its shared libraries.
11087 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'
11093 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11094 allow_undefined_flag_CXX=unsupported
11095 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11096 # support --undefined. This deserves some investigation. FIXME
11097 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11104 case $cc_basename in
11106 # FIXME: insert proper C++ library support
11112 cygwin* | mingw* | pw32*)
11113 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11114 # as there is no search path for DLLs.
11115 hardcode_libdir_flag_spec_CXX='-L$libdir'
11116 allow_undefined_flag_CXX=unsupported
11117 always_export_symbols_CXX=no
11118 enable_shared_with_static_runtimes_CXX=yes
11120 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11121 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'
11122 # If the export-symbols file already is a .def file (1st line
11123 # is EXPORTS), use it as is; otherwise, prepend...
11124 archive_expsym_cmds_CXX='if test "x`$SED 1q
$export_symbols`" = xEXPORTS; then
11125 cp $export_symbols $output_objdir/$soname.def;
11127 echo EXPORTS > $output_objdir/$soname.def;
11128 cat $export_symbols >> $output_objdir/$soname.def;
11130 $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'
11135 darwin* | rhapsody*)
11137 rhapsody* | darwin1.[012])
11138 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11141 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
11142 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11144 case ${MACOSX_DEPLOYMENT_TARGET} in
11146 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11149 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11155 archive_cmds_need_lc_CXX=no
11156 hardcode_direct_CXX=no
11157 hardcode_automatic_CXX=yes
11158 hardcode_shlibpath_var_CXX=unsupported
11159 whole_archive_flag_spec_CXX=''
11160 link_all_deplibs_CXX=yes
11162 if test "$GXX" = yes ; then
11163 lt_int_apple_cc_single_mod=no
11164 output_verbose_link_cmd='echo'
11165 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
11166 lt_int_apple_cc_single_mod=yes
11168 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11169 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11171 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'
11173 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11174 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11175 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11176 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11178 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11180 module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11182 case $cc_basename in
11184 output_verbose_link_cmd='echo'
11185 archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
11186 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11187 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11188 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11189 module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11199 case $cc_basename in
11201 # FIXME: insert proper C++ library support
11205 # Green Hills C++ Compiler
11206 # FIXME: insert proper C++ library support
11210 # FIXME: insert proper C++ library support
11216 # C++ shared libraries reported to be fairly broken before switch to ELF
11220 archive_cmds_need_lc_CXX=no
11222 freebsd* | dragonfly*)
11223 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11230 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11231 hardcode_libdir_separator_CXX=:
11232 export_dynamic_flag_spec_CXX='${wl}-E'
11233 hardcode_direct_CXX=yes
11234 hardcode_minus_L_CXX=yes # Not in the search PATH,
11235 # but as the default
11236 # location of the library.
11238 case $cc_basename in
11240 # FIXME: insert proper C++ library support
11244 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'
11245 # Commands to make compiler produce verbose output that lists
11246 # what "hidden" libraries, object files and flags are used when
11247 # linking a shared library.
11249 # There doesn't appear to be a way to prevent this compiler from
11250 # explicitly linking system object files so we need to strip them
11251 # from the output so that they don't get included in the library
11253 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.
$objext 2>&1) |
grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11256 if test "$GXX" = yes; then
11257 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'
11259 # FIXME: insert proper C++ library support
11266 if test $with_gnu_ld = no; then
11267 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11268 hardcode_libdir_separator_CXX=:
11273 export_dynamic_flag_spec_CXX='${wl}-E'
11279 hardcode_direct_CXX=no
11280 hardcode_shlibpath_var_CXX=no
11283 hardcode_direct_CXX=yes
11284 hardcode_minus_L_CXX=yes # Not in the search PATH,
11285 # but as the default
11286 # location of the library.
11290 case $cc_basename in
11292 # FIXME: insert proper C++ library support
11298 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11301 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11304 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11307 # Commands to make compiler produce verbose output that lists
11308 # what "hidden" libraries, object files and flags are used when
11309 # linking a shared library.
11311 # There doesn't appear to be a way to prevent this compiler from
11312 # explicitly linking system object files so we need to strip them
11313 # from the output so that they don't get included in the library
11315 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.
$objext 2>&1) |
grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11318 if test "$GXX" = yes; then
11319 if test $with_gnu_ld = no; then
11322 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11325 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11328 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'
11333 # FIXME: insert proper C++ library support
11340 hardcode_direct_CXX=no
11341 hardcode_shlibpath_var_CXX=no
11342 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11343 export_dynamic_flag_spec_CXX='${wl}-E'
11344 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11345 # Instead, shared libraries are loaded at an image base (0x10000000 by
11346 # default) and relocated if they conflict, which is a slow very memory
11347 # consuming and fragmenting process. To avoid this, we pick a random,
11348 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11349 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11350 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'
11351 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'
11354 case $cc_basename in
11357 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
11359 # Archives containing C++ object files must be created using
11360 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11361 # necessary to make sure instantiated templates are included
11363 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11366 if test "$GXX" = yes; then
11367 if test "$with_gnu_ld" = no; then
11368 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11370 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
11373 link_all_deplibs_CXX=yes
11376 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11377 hardcode_libdir_separator_CXX=:
11379 linux* | k*bsd*-gnu)
11380 case $cc_basename in
11382 # Kuck and Associates, Inc. (KAI) C++ Compiler
11384 # KCC will only create a shared library if the output file
11385 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11386 # to its proper name (with version) after linking.
11387 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'
11388 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'
11389 # Commands to make compiler produce verbose output that lists
11390 # what "hidden" libraries, object files and flags are used when
11391 # linking a shared library.
11393 # There doesn't appear to be a way to prevent this compiler from
11394 # explicitly linking system object files so we need to strip them
11395 # from the output so that they don't get included in the library
11397 output_verbose_link_cmd
='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11399 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
11400 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11402 # Archives containing C++ object files must be created using
11403 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11404 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11409 # version 8.0 and above of icpc choke on multiply defined symbols
11410 # if we add $predep_objects and $postdep_objects, however 7.1 and
11411 # earlier do not add the objects themselves.
11412 case `$CC -V 2>&1` in
11414 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11415 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'
11417 *) # Version 8.0 or newer
11420 ia64
*) tmp_idyn
=' -i_dynamic';;
11422 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11423 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'
11426 archive_cmds_need_lc_CXX
=no
11427 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11428 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11429 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11432 # Portland Group C++ compiler
11433 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11434 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'
11436 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
11437 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11438 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'
11442 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11443 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'
11445 runpath_var
=LD_RUN_PATH
11446 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11447 hardcode_libdir_separator_CXX
=:
11449 # Commands to make compiler produce verbose output that lists
11450 # what "hidden" libraries, object files and flags are used when
11451 # linking a shared library.
11453 # There doesn't appear to be a way to prevent this compiler from
11454 # explicitly linking system object files so we need to strip them
11455 # from the output so that they don't get included in the library
11457 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11460 case `$CC -V 2>&1 | sed 5q` in
11463 no_undefined_flag_CXX
=' -zdefs'
11464 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11465 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'
11466 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11467 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'
11469 # Not sure whether something based on
11470 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
11472 output_verbose_link_cmd
='echo'
11474 # Archives containing C++ object files must be created using
11475 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11476 # necessary to make sure instantiated templates are included
11478 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
11485 # FIXME: insert proper C++ library support
11489 # FIXME: insert proper C++ library support
11493 case $cc_basename in
11495 # FIXME: insert proper C++ library support
11499 # FIXME: insert proper C++ library support
11505 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
11506 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11508 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11509 hardcode_direct_CXX
=yes
11510 hardcode_shlibpath_var_CXX
=no
11512 # Workaround some broken pre-1.5 toolchains
11513 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11516 # C++ shared libraries are fairly broken
11520 if test -f /usr
/libexec
/ld.so
; then
11521 hardcode_direct_CXX
=yes
11522 hardcode_shlibpath_var_CXX
=no
11523 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11524 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11525 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11526 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11527 export_dynamic_flag_spec_CXX
='${wl}-E'
11528 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11530 output_verbose_link_cmd
='echo'
11536 case $cc_basename in
11538 # Kuck and Associates, Inc. (KAI) C++ Compiler
11540 # KCC will only create a shared library if the output file
11541 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11542 # to its proper name (with version) after linking.
11543 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'
11545 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11546 hardcode_libdir_separator_CXX
=:
11548 # Archives containing C++ object files must be created using
11549 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11550 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11554 # Rational C++ 2.4.1
11555 # FIXME: insert proper C++ library support
11559 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11560 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
11562 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11563 hardcode_libdir_separator_CXX
=:
11565 # Commands to make compiler produce verbose output that lists
11566 # what "hidden" libraries, object files and flags are used when
11567 # linking a shared library.
11569 # There doesn't appear to be a way to prevent this compiler from
11570 # explicitly linking system object files so we need to strip them
11571 # from the output so that they don't get included in the library
11573 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11576 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11577 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11578 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11580 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11581 hardcode_libdir_separator_CXX
=:
11583 # Commands to make compiler produce verbose output that lists
11584 # what "hidden" libraries, object files and flags are used when
11585 # linking a shared library.
11586 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11589 # FIXME: insert proper C++ library support
11596 case $cc_basename in
11598 # Kuck and Associates, Inc. (KAI) C++ Compiler
11600 # KCC will only create a shared library if the output file
11601 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11602 # to its proper name (with version) after linking.
11603 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'
11605 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11606 hardcode_libdir_separator_CXX
=:
11608 # Archives containing C++ object files must be created using
11609 # the KAI C++ compiler.
11610 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
11613 # Rational C++ 2.4.1
11614 # FIXME: insert proper C++ library support
11618 allow_undefined_flag_CXX
=' -expect_unresolved \*'
11619 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
11620 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11621 echo "-hidden">> $lib.exp~
11622 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~
11625 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11626 hardcode_libdir_separator_CXX
=:
11628 # Commands to make compiler produce verbose output that lists
11629 # what "hidden" libraries, object files and flags are used when
11630 # linking a shared library.
11632 # There doesn't appear to be a way to prevent this compiler from
11633 # explicitly linking system object files so we need to strip them
11634 # from the output so that they don't get included in the library
11636 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11639 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11640 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11641 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11643 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11644 hardcode_libdir_separator_CXX
=:
11646 # Commands to make compiler produce verbose output that lists
11647 # what "hidden" libraries, object files and flags are used when
11648 # linking a shared library.
11649 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11652 # FIXME: insert proper C++ library support
11659 # FIXME: insert proper C++ library support
11663 case $cc_basename in
11666 # FIXME: insert proper C++ library support
11671 # FIXME: insert proper C++ library support
11675 # FIXME: insert proper C++ library support
11681 case $cc_basename in
11683 # Sun C++ 4.2, 5.x and Centerline C++
11684 archive_cmds_need_lc_CXX
=yes
11685 no_undefined_flag_CXX
=' -zdefs'
11686 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11687 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11688 $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'
11690 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11691 hardcode_shlibpath_var_CXX
=no
11693 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11695 # The compiler driver will combine and reorder linker options,
11696 # but understands `-z linker_flag'.
11697 # Supported since Solaris 2.6 (maybe 2.5.1?)
11698 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
11701 link_all_deplibs_CXX
=yes
11703 output_verbose_link_cmd
='echo'
11705 # Archives containing C++ object files must be created using
11706 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11707 # necessary to make sure instantiated templates are included
11709 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
11712 # Green Hills C++ Compiler
11713 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11715 # The C++ compiler must be used to create the archive.
11716 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
11719 # GNU C++ compiler with Solaris linker
11720 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11721 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
11722 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
11723 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11724 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11725 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11727 # Commands to make compiler produce verbose output that lists
11728 # what "hidden" libraries, object files and flags are used when
11729 # linking a shared library.
11730 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11732 # g++ 2.7 appears to require `-G' NOT `-shared' on this
11734 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11735 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11736 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11738 # Commands to make compiler produce verbose output that lists
11739 # what "hidden" libraries, object files and flags are used when
11740 # linking a shared library.
11741 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11744 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
11746 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11748 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11755 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11756 no_undefined_flag_CXX
='${wl}-z,text'
11757 archive_cmds_need_lc_CXX
=no
11758 hardcode_shlibpath_var_CXX
=no
11759 runpath_var
='LD_RUN_PATH'
11761 case $cc_basename in
11763 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11764 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11767 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11768 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11772 sysv5
* | sco3.2v5
* | sco5v6
*)
11773 # Note: We can NOT use -z defs as we might desire, because we do not
11774 # link with -lc, and that would cause any symbols used from libc to
11775 # always be unresolved, which means just about no library would
11776 # ever link correctly. If we're not using GNU ld we use -z text
11777 # though, which does catch some bad symbols but isn't as heavy-handed
11779 # For security reasons, it is highly recommended that you always
11780 # use absolute paths for naming shared libraries, and exclude the
11781 # DT_RUNPATH tag from executables and libraries. But doing so
11782 # requires that you compile everything twice, which is a pain.
11783 # So that behaviour is only enabled if SCOABSPATH is set to a
11784 # non-empty value in the environment. Most likely only useful for
11785 # creating official distributions of packages.
11786 # This is a hack until libtool officially supports absolute path
11787 # names for shared libraries.
11788 no_undefined_flag_CXX
='${wl}-z,text'
11789 allow_undefined_flag_CXX
='${wl}-z,nodefs'
11790 archive_cmds_need_lc_CXX
=no
11791 hardcode_shlibpath_var_CXX
=no
11792 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
11793 hardcode_libdir_separator_CXX
=':'
11794 link_all_deplibs_CXX
=yes
11795 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
11796 runpath_var
='LD_RUN_PATH'
11798 case $cc_basename in
11800 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11801 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11804 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11805 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11810 case $cc_basename in
11812 # NonStop-UX NCC 3.20
11813 # FIXME: insert proper C++ library support
11817 # FIXME: insert proper C++ library support
11823 # FIXME: insert proper C++ library support
11827 # FIXME: insert proper C++ library support
11831 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11832 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
11833 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
11839 cat > conftest.
$ac_ext <<EOF
11843 Foo (void) { a = 0; }
11849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11850 (eval $ac_compile) 2>&5
11852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11853 (exit $ac_status); }; then
11854 # Parse the compiler output and extract the necessary
11855 # objects, libraries and library flags.
11857 # Sentinel used to keep track of whether or not we are before
11858 # the conftest object file.
11859 pre_test_object_deps_done
=no
11861 # The `*' in the case matches for architectures that use `case' in
11862 # $output_verbose_cmd can trigger glob expansion during the loop
11863 # eval without this substitution.
11864 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
11866 for p
in `eval $output_verbose_link_cmd`; do
11870 # Some compilers place space between "-{L,R}" and the path.
11871 # Remove the space.
11872 if test $p = "-L" \
11873 ||
test $p = "-R"; then
11880 if test "$pre_test_object_deps_done" = no
; then
11883 # Internal compiler library paths should come after those
11884 # provided the user. The postdeps already come after the
11885 # user supplied libs so there is no need to process them.
11886 if test -z "$compiler_lib_search_path_CXX"; then
11887 compiler_lib_search_path_CXX
="${prev}${p}"
11889 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
11892 # The "-l" case would never come before the object being
11893 # linked, so don't bother handling this case.
11896 if test -z "$postdeps_CXX"; then
11897 postdeps_CXX
="${prev}${p}"
11899 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
11905 # This assumes that the test object file only shows up
11906 # once in the compiler output.
11907 if test "$p" = "conftest.$objext"; then
11908 pre_test_object_deps_done
=yes
11912 if test "$pre_test_object_deps_done" = no
; then
11913 if test -z "$predep_objects_CXX"; then
11914 predep_objects_CXX
="$p"
11916 predep_objects_CXX
="$predep_objects_CXX $p"
11919 if test -z "$postdep_objects_CXX"; then
11920 postdep_objects_CXX
="$p"
11922 postdep_objects_CXX
="$postdep_objects_CXX $p"
11927 *) ;; # Ignore the rest.
11935 echo "libtool.m4: error: problem compiling CXX test program"
11938 $rm -f confest.
$objext
11940 # PORTME: override above test on systems where it is broken
11943 # Interix 3.5 installs completely hosed .la files for C++, so rather than
11944 # hack all around it, let's just trust "g++" to DTRT.
11945 predep_objects_CXX
=
11946 postdep_objects_CXX
=
11951 case `$CC -V 2>&1 | sed 5q` in
11955 # The more standards-conforming stlport4 library is
11956 # incompatible with the Cstd library. Avoid specifying
11957 # it if it's in CXXFLAGS. Ignore libCrun as
11958 # -library=stlport4 depends on it.
11959 case " $CXX $CXXFLAGS " in
11960 *" -library=stlport4 "*)
11961 solaris_use_stlport4
=yes
11964 if test "$solaris_use_stlport4" != yes; then
11965 postdeps_CXX
='-library=Cstd -library=Crun'
11972 case $cc_basename in
11974 # The more standards-conforming stlport4 library is
11975 # incompatible with the Cstd library. Avoid specifying
11976 # it if it's in CXXFLAGS. Ignore libCrun as
11977 # -library=stlport4 depends on it.
11978 case " $CXX $CXXFLAGS " in
11979 *" -library=stlport4 "*)
11980 solaris_use_stlport4
=yes
11984 # Adding this requires a known-good setup of shared libraries for
11985 # Sun compiler versions before 5.6, else PIC objects from an old
11986 # archive will be linked into the output, leading to subtle bugs.
11987 if test "$solaris_use_stlport4" != yes; then
11988 postdeps_CXX
='-library=Cstd -library=Crun'
11996 case " $postdeps_CXX " in
11997 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
12000 lt_prog_compiler_wl_CXX
=
12001 lt_prog_compiler_pic_CXX
=
12002 lt_prog_compiler_static_CXX
=
12004 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12005 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
12007 # C++ specific cases for pic, static, wl, etc.
12008 if test "$GXX" = yes; then
12009 lt_prog_compiler_wl_CXX
='-Wl,'
12010 lt_prog_compiler_static_CXX
='-static'
12014 # All AIX code is PIC.
12015 if test "$host_cpu" = ia64
; then
12016 # AIX 5 now supports IA64 processor
12017 lt_prog_compiler_static_CXX
='-Bstatic'
12021 # FIXME: we need at least 68020 code to build shared libraries, but
12022 # adding the `-m68020' flag to GCC prevents building anything better,
12024 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
12026 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12027 # PIC is the default for these OSes.
12029 mingw
* | cygwin
* | os2
* | pw32
*)
12030 # This hack is so that the source file can tell whether it is being
12031 # built for inclusion in a dll (and should export symbols for example).
12032 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12033 # (--disable-auto-import) libraries
12034 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
12036 darwin
* | rhapsody
*)
12037 # PIC is the default on this platform
12038 # Common symbols not allowed in MH_DYLIB files
12039 lt_prog_compiler_pic_CXX
='-fno-common'
12042 # DJGPP does not support shared libraries at all
12043 lt_prog_compiler_pic_CXX
=
12046 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12047 # Instead, we relocate shared libraries at runtime.
12050 if test -d /usr
/nec
; then
12051 lt_prog_compiler_pic_CXX
=-Kconform_pic
12055 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12056 # not for PA HP-UX.
12061 lt_prog_compiler_pic_CXX
='-fPIC'
12066 lt_prog_compiler_pic_CXX
='-fPIC'
12072 # All AIX code is PIC.
12073 if test "$host_cpu" = ia64
; then
12074 # AIX 5 now supports IA64 processor
12075 lt_prog_compiler_static_CXX
='-Bstatic'
12077 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
12081 case $cc_basename in
12083 # Green Hills C++ Compiler
12084 # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
12089 # PIC is the default on this platform
12090 # Common symbols not allowed in MH_DYLIB files
12091 case $cc_basename in
12093 lt_prog_compiler_pic_CXX
='-qnocommon'
12094 lt_prog_compiler_wl_CXX
='-Wl,'
12099 case $cc_basename in
12101 lt_prog_compiler_pic_CXX
='-KPIC'
12104 # Green Hills C++ Compiler
12105 lt_prog_compiler_pic_CXX
='-pic'
12111 freebsd
* | dragonfly
*)
12112 # FreeBSD uses GNU C++
12114 hpux9
* | hpux10
* | hpux11
*)
12115 case $cc_basename in
12117 lt_prog_compiler_wl_CXX
='-Wl,'
12118 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12119 if test "$host_cpu" != ia64
; then
12120 lt_prog_compiler_pic_CXX
='+Z'
12124 lt_prog_compiler_wl_CXX
='-Wl,'
12125 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12131 lt_prog_compiler_pic_CXX
='+Z'
12140 # This is c89, which is MS Visual C++ (no shared libs)
12141 # Anyone wants to do a port?
12143 irix5
* | irix6
* | nonstopux
*)
12144 case $cc_basename in
12146 lt_prog_compiler_wl_CXX
='-Wl,'
12147 lt_prog_compiler_static_CXX
='-non_shared'
12148 # CC pic flag -KPIC is the default.
12154 linux
* | k
*bsd
*-gnu)
12155 case $cc_basename in
12158 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12159 lt_prog_compiler_pic_CXX
='-fPIC'
12163 lt_prog_compiler_wl_CXX
='-Wl,'
12164 lt_prog_compiler_pic_CXX
='-KPIC'
12165 lt_prog_compiler_static_CXX
='-static'
12168 # Portland Group C++ compiler.
12169 lt_prog_compiler_wl_CXX
='-Wl,'
12170 lt_prog_compiler_pic_CXX
='-fpic'
12171 lt_prog_compiler_static_CXX
='-Bstatic'
12175 # Make sure the PIC flag is empty. It appears that all Alpha
12176 # Linux and Compaq Tru64 Unix objects are PIC.
12177 lt_prog_compiler_pic_CXX
=
12178 lt_prog_compiler_static_CXX
='-non_shared'
12181 case `$CC -V 2>&1 | sed 5q` in
12184 lt_prog_compiler_pic_CXX
='-KPIC'
12185 lt_prog_compiler_static_CXX
='-Bstatic'
12186 lt_prog_compiler_wl_CXX
='-Qoption ld '
12197 case $cc_basename in
12199 lt_prog_compiler_pic_CXX
='-W c,exportall'
12207 osf3
* | osf4
* | osf5
*)
12208 case $cc_basename in
12210 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12213 # Rational C++ 2.4.1
12214 lt_prog_compiler_pic_CXX
='-pic'
12217 # Digital/Compaq C++
12218 lt_prog_compiler_wl_CXX
='-Wl,'
12219 # Make sure the PIC flag is empty. It appears that all Alpha
12220 # Linux and Compaq Tru64 Unix objects are PIC.
12221 lt_prog_compiler_pic_CXX
=
12222 lt_prog_compiler_static_CXX
='-non_shared'
12231 case $cc_basename in
12233 # Sun C++ 4.2, 5.x and Centerline C++
12234 lt_prog_compiler_pic_CXX
='-KPIC'
12235 lt_prog_compiler_static_CXX
='-Bstatic'
12236 lt_prog_compiler_wl_CXX
='-Qoption ld '
12239 # Green Hills C++ Compiler
12240 lt_prog_compiler_pic_CXX
='-PIC'
12247 case $cc_basename in
12250 lt_prog_compiler_pic_CXX
='-pic'
12251 lt_prog_compiler_static_CXX
='-Bstatic'
12255 lt_prog_compiler_pic_CXX
='-pic'
12262 case $cc_basename in
12264 # NonStop-UX NCC 3.20
12265 lt_prog_compiler_pic_CXX
='-KPIC'
12271 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12272 case $cc_basename in
12274 lt_prog_compiler_wl_CXX
='-Wl,'
12275 lt_prog_compiler_pic_CXX
='-KPIC'
12276 lt_prog_compiler_static_CXX
='-Bstatic'
12283 lt_prog_compiler_can_build_shared_CXX
=no
12288 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12289 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
12292 # Check to make sure the PIC flag actually works.
12294 if test -n "$lt_prog_compiler_pic_CXX"; then
12296 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12297 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
12298 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12299 echo $ECHO_N "(cached) $ECHO_C" >&6
12301 lt_prog_compiler_pic_works_CXX
=no
12302 ac_outfile
=conftest.
$ac_objext
12303 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12304 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
12305 # Insert the option either (1) after the last *FLAGS variable, or
12306 # (2) before a word containing "conftest.", or (3) at the end.
12307 # Note that $ac_compile itself does not contain backslashes and begins
12308 # with a dollar sign (not a hyphen), so the echo should work correctly.
12309 # The option is referenced via a variable to avoid confusing sed.
12310 lt_compile
=`echo "$ac_compile" | $SED \
12311 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12312 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12313 -e 's:$: $lt_compiler_flag:'`
12314 (eval echo "\"\$as_me:12314: $lt_compile\"" >&5)
12315 (eval "$lt_compile" 2>conftest.err
)
12317 cat conftest.err
>&5
12318 echo "$as_me:12318: \$? = $ac_status" >&5
12319 if (exit $ac_status) && test -s "$ac_outfile"; then
12320 # The compiler can only warn and ignore the option if not recognized
12321 # So say no if there are warnings other than the usual output.
12322 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
12323 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12324 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
12325 lt_prog_compiler_pic_works_CXX
=yes
12331 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12332 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
12334 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
12335 case $lt_prog_compiler_pic_CXX in
12337 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
12340 lt_prog_compiler_pic_CXX
=
12341 lt_prog_compiler_can_build_shared_CXX
=no
12346 # For platforms which do not support PIC, -DPIC is meaningless:
12348 lt_prog_compiler_pic_CXX
=
12351 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
12356 # Check to make sure the static flag actually works.
12358 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
12359 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12360 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
12361 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
12362 echo $ECHO_N "(cached) $ECHO_C" >&6
12364 lt_prog_compiler_static_works_CXX
=no
12365 save_LDFLAGS
="$LDFLAGS"
12366 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
12367 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
12368 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12369 # The linker can only warn and ignore the option if not recognized
12370 # So say no if there are warnings
12371 if test -s conftest.err
; then
12372 # Append any errors to the config.log.
12373 cat conftest.err
1>&5
12374 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
12375 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12376 if diff conftest.exp conftest.er2
>/dev
/null
; then
12377 lt_prog_compiler_static_works_CXX
=yes
12380 lt_prog_compiler_static_works_CXX
=yes
12384 LDFLAGS
="$save_LDFLAGS"
12387 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12388 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
12390 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
12393 lt_prog_compiler_static_CXX
=
12397 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12398 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
12399 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12400 echo $ECHO_N "(cached) $ECHO_C" >&6
12402 lt_cv_prog_compiler_c_o_CXX
=no
12403 $rm -r conftest
2>/dev
/null
12407 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12409 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12410 # Insert the option either (1) after the last *FLAGS variable, or
12411 # (2) before a word containing "conftest.", or (3) at the end.
12412 # Note that $ac_compile itself does not contain backslashes and begins
12413 # with a dollar sign (not a hyphen), so the echo should work correctly.
12414 lt_compile
=`echo "$ac_compile" | $SED \
12415 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12416 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12417 -e 's:$: $lt_compiler_flag:'`
12418 (eval echo "\"\$as_me:12418: $lt_compile\"" >&5)
12419 (eval "$lt_compile" 2>out
/conftest.err
)
12421 cat out
/conftest.err
>&5
12422 echo "$as_me:12422: \$? = $ac_status" >&5
12423 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12425 # The compiler can only warn and ignore the option if not recognized
12426 # So say no if there are warnings
12427 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
12428 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12429 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12430 lt_cv_prog_compiler_c_o_CXX
=yes
12435 # SGI C++ compiler will create directory out/ii_files/ for
12436 # template instantiation
12437 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
12438 $rm out
/* && rmdir out
12444 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12445 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
12448 hard_links
="nottested"
12449 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
12450 # do not overwrite the value of need_locks provided by the user
12451 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12452 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
12455 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12457 ln conftest.a conftest.b
2>&5 || hard_links
=no
12458 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12459 { echo "$as_me:$LINENO: result: $hard_links" >&5
12460 echo "${ECHO_T}$hard_links" >&6; }
12461 if test "$hard_links" = no
; then
12462 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12463 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12470 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12471 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12473 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12476 # If we're using GNU nm, then we don't want the "-C" option.
12477 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12478 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
12479 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'
12481 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'
12485 export_symbols_cmds_CXX
="$ltdll_cmds"
12488 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'
12491 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12495 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12496 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12497 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12500 # Do we need to explicitly link libc?
12502 case "x$archive_cmds_need_lc_CXX" in
12504 # Assume -lc should be added
12505 archive_cmds_need_lc_CXX
=yes
12507 if test "$enable_shared" = yes && test "$GCC" = yes; then
12508 case $archive_cmds_CXX in
12510 # FIXME: we may have to deal with multi-command sequences.
12513 # Test whether the compiler implicitly links with -lc since on some
12514 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12515 # to ld, don't add -lc before -lgcc.
12516 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12517 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
12519 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12522 (eval $ac_compile) 2>&5
12524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12525 (exit $ac_status); } 2>conftest.err
; then
12528 libobjs
=conftest.
$ac_objext
12530 wl
=$lt_prog_compiler_wl_CXX
12531 pic_flag
=$lt_prog_compiler_pic_CXX
12537 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
12538 allow_undefined_flag_CXX
=
12539 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
12540 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12543 (exit $ac_status); }
12545 archive_cmds_need_lc_CXX
=no
12547 archive_cmds_need_lc_CXX
=yes
12549 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
12551 cat conftest.err
1>&5
12554 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12555 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
12562 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12563 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
12564 library_names_spec
=
12565 libname_spec
='lib$name'
12569 postuninstall_cmds
=
12573 shlibpath_overrides_runpath
=unknown
12575 dynamic_linker
="$host_os ld.so"
12576 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
12578 need_lib_prefix
=unknown
12579 hardcode_into_libs
=no
12581 # when you set need_version to no, make sure it does not cause -set_version
12582 # flags to be left without arguments
12583 need_version
=unknown
12588 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
12589 shlibpath_var
=LIBPATH
12591 # AIX 3 has no versioning support, so we append a major version to the name.
12592 soname_spec
='${libname}${release}${shared_ext}$major'
12599 hardcode_into_libs
=yes
12600 if test "$host_cpu" = ia64
; then
12601 # AIX 5 supports IA64
12602 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12603 shlibpath_var
=LD_LIBRARY_PATH
12605 # With GCC up to 2.95.x, collect2 would create an import file
12606 # for dependence libraries. The import file would start with
12607 # the line `#! .'. This would cause the generated library to
12608 # depend on `.', always an invalid library. This was fixed in
12609 # development snapshots of GCC prior to 3.0.
12611 aix4 | aix4.
[01] | aix4.
[01].
*)
12612 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12614 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
12617 can_build_shared
=no
12621 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12622 # soname into executable. Probably we can add versioning support to
12623 # collect2, so additional links can be useful in future.
12624 if test "$aix_use_runtimelinking" = yes; then
12625 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12626 # instead of lib<name>.a to let people know that these are not
12627 # typical AIX shared libraries.
12628 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12630 # We preserve .a as extension for shared libraries through AIX4.2
12631 # and later when we are not doing run time linking.
12632 library_names_spec
='${libname}${release}.a $libname.a'
12633 soname_spec
='${libname}${release}${shared_ext}$major'
12635 shlibpath_var
=LIBPATH
12640 library_names_spec
='$libname.ixlibrary $libname.a'
12641 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12642 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'
12646 library_names_spec
='${libname}${shared_ext}'
12647 dynamic_linker
="$host_os ld.so"
12648 shlibpath_var
=LIBRARY_PATH
12654 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12655 soname_spec
='${libname}${release}${shared_ext}$major'
12656 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
12657 shlibpath_var
=LD_LIBRARY_PATH
12658 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12659 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
12660 # the default ld.so.conf also contains /usr/contrib/lib and
12661 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12662 # libtool to hard-code these into programs
12665 cygwin
* | mingw
* | pw32
*)
12666 version_type
=windows
12671 case $GCC,$host_os in
12672 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
12673 library_names_spec
='$libname.dll.a'
12674 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12675 postinstall_cmds
='base_file=`basename \${file}`~
12676 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
12677 dldir=$destdir/`dirname \$dlpath`~
12678 test -d \$dldir || mkdir -p \$dldir~
12679 $install_prog $dir/$dlname \$dldir/$dlname~
12680 chmod a+x \$dldir/$dlname'
12681 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12682 dlpath=$dir/\$dldll~
12684 shlibpath_overrides_runpath
=yes
12688 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12689 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12690 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
12693 # MinGW DLLs use traditional 'lib' prefix
12694 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12695 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12696 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
12697 # It is most probably a Windows format PATH printed by
12698 # mingw gcc, but we are running on Cygwin. Gcc prints its search
12699 # path with ; separators, and with drive letters. We can handle the
12700 # drive letters (cygwin fileutils understands them), so leave them,
12701 # especially as we might pass files found there to a mingw objdump,
12702 # which wouldn't understand a cygwinified path. Ahh.
12703 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12705 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12709 # pw32 DLLs use 'pw' prefix rather than 'lib'
12710 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12716 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12719 dynamic_linker
='Win32 ld.exe'
12720 # FIXME: first we should search . and the directory the executable is in
12724 darwin
* | rhapsody
*)
12725 dynamic_linker
="$host_os dyld"
12726 version_type
=darwin
12729 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12730 soname_spec
='${libname}${release}${major}$shared_ext'
12731 shlibpath_overrides_runpath
=yes
12732 shlibpath_var
=DYLD_LIBRARY_PATH
12733 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
12735 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12742 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12743 soname_spec
='${libname}${release}${shared_ext}$major'
12744 shlibpath_var
=LD_LIBRARY_PATH
12751 freebsd
* | dragonfly
*)
12752 # DragonFly does not have aout. When/if they implement a new
12753 # versioning mechanism, adjust this.
12754 if test -x /usr
/bin
/objformat
; then
12755 objformat
=`/usr/bin/objformat`
12758 freebsd
[123]*) objformat
=aout
;;
12759 *) objformat
=elf
;;
12762 version_type
=freebsd-
$objformat
12763 case $version_type in
12765 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12770 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12774 shlibpath_var
=LD_LIBRARY_PATH
12777 shlibpath_overrides_runpath
=yes
12779 freebsd3.
[01]* | freebsdelf3.
[01]*)
12780 shlibpath_overrides_runpath
=yes
12781 hardcode_into_libs
=yes
12783 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12784 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12785 shlibpath_overrides_runpath
=no
12786 hardcode_into_libs
=yes
12788 *) # from 4.6 on, and DragonFly
12789 shlibpath_overrides_runpath
=yes
12790 hardcode_into_libs
=yes
12799 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12800 soname_spec
='${libname}${release}${shared_ext}$major'
12801 shlibpath_var
=LD_LIBRARY_PATH
12802 hardcode_into_libs
=yes
12805 hpux9
* | hpux10
* | hpux11
*)
12806 # Give a soname corresponding to the major version so that dld.sl refuses to
12807 # link against other versions.
12814 hardcode_into_libs
=yes
12815 dynamic_linker
="$host_os dld.so"
12816 shlibpath_var
=LD_LIBRARY_PATH
12817 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12818 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12819 soname_spec
='${libname}${release}${shared_ext}$major'
12820 if test "X$HPUX_IA64_MODE" = X32
; then
12821 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12823 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12825 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12829 hardcode_into_libs
=yes
12830 dynamic_linker
="$host_os dld.sl"
12831 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12832 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12833 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12834 soname_spec
='${libname}${release}${shared_ext}$major'
12835 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12836 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12840 dynamic_linker
="$host_os dld.sl"
12841 shlibpath_var
=SHLIB_PATH
12842 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12843 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12844 soname_spec
='${libname}${release}${shared_ext}$major'
12847 # HP-UX runs *really* slowly unless shared libraries are mode 555.
12848 postinstall_cmds
='chmod 555 $lib'
12855 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12856 soname_spec
='${libname}${release}${shared_ext}$major'
12857 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12858 shlibpath_var
=LD_LIBRARY_PATH
12859 shlibpath_overrides_runpath
=no
12860 hardcode_into_libs
=yes
12863 irix5
* | irix6
* | nonstopux
*)
12865 nonstopux
*) version_type
=nonstopux
;;
12867 if test "$lt_cv_prog_gnu_ld" = yes; then
12875 soname_spec
='${libname}${release}${shared_ext}$major'
12876 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12878 irix5
* | nonstopux
*)
12879 libsuff
= shlibsuff
=
12882 case $LD in # libtool.m4 will add one of these switches to LD
12883 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12884 libsuff
= shlibsuff
= libmagic
=32-bit;;
12885 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12886 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12887 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12888 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12889 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12893 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12894 shlibpath_overrides_runpath
=no
12895 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12896 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
12897 hardcode_into_libs
=yes
12900 # No shared lib support for Linux oldld, aout, or coff.
12901 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12905 # This must be Linux ELF.
12906 linux
* | k
*bsd
*-gnu)
12910 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12911 soname_spec
='${libname}${release}${shared_ext}$major'
12912 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12913 shlibpath_var
=LD_LIBRARY_PATH
12914 shlibpath_overrides_runpath
=no
12915 # This implies no fast_install, which is unacceptable.
12916 # Some rework will be needed to allow for fast_install
12917 # before this can be enabled.
12918 hardcode_into_libs
=yes
12920 # Append ld.so.conf contents to the search path
12921 if test -f /etc
/ld.so.conf
; then
12922 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' ' '`
12923 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
12926 # We used to test for /lib/ld.so.1 and disable shared libraries on
12927 # powerpc, because MkLinux only supported shared libraries with the
12928 # GNU dynamic linker. Since this was broken with cross compilers,
12929 # most powerpc-linux boxes support dynamic linking these days and
12930 # people can always --disable-shared, the test was removed, and we
12931 # assume the GNU/Linux dynamic linker is in use.
12932 dynamic_linker
='GNU/Linux ld.so'
12939 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
12940 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12941 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12942 dynamic_linker
='NetBSD (a.out) ld.so'
12944 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12945 soname_spec
='${libname}${release}${shared_ext}$major'
12946 dynamic_linker
='NetBSD ld.elf_so'
12948 shlibpath_var
=LD_LIBRARY_PATH
12949 shlibpath_overrides_runpath
=yes
12950 hardcode_into_libs
=yes
12955 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12956 shlibpath_var
=LD_LIBRARY_PATH
12957 shlibpath_overrides_runpath
=yes
12964 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12965 soname_spec
='${libname}${release}${shared_ext}$major'
12966 shlibpath_var
=LD_LIBRARY_PATH
12967 shlibpath_overrides_runpath
=yes
12972 sys_lib_dlsearch_path_spec
="/usr/lib"
12974 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12976 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
12977 *) need_version
=no
;;
12979 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12980 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12981 shlibpath_var
=LD_LIBRARY_PATH
12982 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12984 openbsd2.
[89] | openbsd2.
[89].
*)
12985 shlibpath_overrides_runpath
=no
12988 shlibpath_overrides_runpath
=yes
12992 shlibpath_overrides_runpath
=yes
12997 libname_spec
='$name'
13000 library_names_spec
='$libname${shared_ext} $libname.a'
13001 dynamic_linker
='OS/2 ld.exe'
13002 shlibpath_var
=LIBPATH
13005 osf3
* | osf4
* | osf5
*)
13009 soname_spec
='${libname}${release}${shared_ext}$major'
13010 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13011 shlibpath_var
=LD_LIBRARY_PATH
13012 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13013 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
13024 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13025 soname_spec
='${libname}${release}${shared_ext}$major'
13026 shlibpath_var
=LD_LIBRARY_PATH
13027 shlibpath_overrides_runpath
=yes
13028 hardcode_into_libs
=yes
13029 # ldd complains unless libraries are executable
13030 postinstall_cmds
='chmod +x $lib'
13035 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13036 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13037 shlibpath_var
=LD_LIBRARY_PATH
13038 shlibpath_overrides_runpath
=yes
13039 if test "$with_gnu_ld" = yes; then
13047 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13048 soname_spec
='${libname}${release}${shared_ext}$major'
13049 shlibpath_var
=LD_LIBRARY_PATH
13050 case $host_vendor in
13052 shlibpath_overrides_runpath
=no
13054 export_dynamic_flag_spec
='${wl}-Blargedynsym'
13055 runpath_var
=LD_RUN_PATH
13063 shlibpath_overrides_runpath
=no
13064 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13070 if test -d /usr
/nec
;then
13072 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13073 soname_spec
='$libname${shared_ext}.$major'
13074 shlibpath_var
=LD_LIBRARY_PATH
13078 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
13079 version_type
=freebsd-elf
13082 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13083 soname_spec
='${libname}${release}${shared_ext}$major'
13084 shlibpath_var
=LD_LIBRARY_PATH
13085 hardcode_into_libs
=yes
13086 if test "$with_gnu_ld" = yes; then
13087 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13088 shlibpath_overrides_runpath
=no
13090 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
13091 shlibpath_overrides_runpath
=yes
13094 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
13098 sys_lib_dlsearch_path_spec
='/usr/lib'
13103 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13104 soname_spec
='${libname}${release}${shared_ext}$major'
13105 shlibpath_var
=LD_LIBRARY_PATH
13112 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13113 echo "${ECHO_T}$dynamic_linker" >&6; }
13114 test "$dynamic_linker" = no
&& can_build_shared
=no
13116 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
13117 if test "$GCC" = yes; then
13118 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13121 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13122 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
13123 hardcode_action_CXX
=
13124 if test -n "$hardcode_libdir_flag_spec_CXX" || \
13125 test -n "$runpath_var_CXX" || \
13126 test "X$hardcode_automatic_CXX" = "Xyes" ; then
13128 # We can hardcode non-existant directories.
13129 if test "$hardcode_direct_CXX" != no
&&
13130 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13131 # have to relink, otherwise we might link with an installed library
13132 # when we should be linking with a yet-to-be-installed one
13133 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13134 test "$hardcode_minus_L_CXX" != no
; then
13135 # Linking always hardcodes the temporary library directory.
13136 hardcode_action_CXX
=relink
13138 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13139 hardcode_action_CXX
=immediate
13142 # We cannot hardcode anything, or else we can only hardcode existing
13144 hardcode_action_CXX
=unsupported
13146 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13147 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
13149 if test "$hardcode_action_CXX" = relink
; then
13150 # Fast installation is not supported
13151 enable_fast_install
=no
13152 elif test "$shlibpath_overrides_runpath" = yes ||
13153 test "$enable_shared" = no
; then
13154 # Fast installation is not necessary
13155 enable_fast_install
=needless
13159 # The else clause should only fire when bootstrapping the
13160 # libtool distribution, otherwise you forgot to ship ltmain.sh
13161 # with your package, and you will get complaints that there are
13162 # no rules to generate ltmain.sh.
13163 if test -f "$ltmain"; then
13164 # See if we are running on zsh, and set the options which allow our commands through
13165 # without removal of \ escapes.
13166 if test -n "${ZSH_VERSION+set}" ; then
13167 setopt NO_GLOB_SUBST
13169 # Now quote all the things that may contain metacharacters while being
13170 # careful not to overquote the AC_SUBSTed values. We take copies of the
13171 # variables and quote the copies for generation of the libtool script.
13172 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13174 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13175 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13176 deplibs_check_method reload_flag reload_cmds need_locks \
13177 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13178 lt_cv_sys_global_symbol_to_c_name_address \
13179 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13180 old_postinstall_cmds old_postuninstall_cmds \
13184 lt_prog_compiler_wl_CXX \
13185 lt_prog_compiler_pic_CXX \
13186 lt_prog_compiler_static_CXX \
13187 lt_prog_compiler_no_builtin_flag_CXX \
13188 export_dynamic_flag_spec_CXX \
13189 thread_safe_flag_spec_CXX \
13190 whole_archive_flag_spec_CXX \
13191 enable_shared_with_static_runtimes_CXX \
13192 old_archive_cmds_CXX \
13193 old_archive_from_new_cmds_CXX \
13194 predep_objects_CXX \
13195 postdep_objects_CXX \
13198 compiler_lib_search_path_CXX \
13200 archive_expsym_cmds_CXX \
13201 postinstall_cmds_CXX \
13202 postuninstall_cmds_CXX \
13203 old_archive_from_expsyms_cmds_CXX \
13204 allow_undefined_flag_CXX \
13205 no_undefined_flag_CXX \
13206 export_symbols_cmds_CXX \
13207 hardcode_libdir_flag_spec_CXX \
13208 hardcode_libdir_flag_spec_ld_CXX \
13209 hardcode_libdir_separator_CXX \
13210 hardcode_automatic_CXX \
13212 module_expsym_cmds_CXX \
13213 lt_cv_prog_compiler_c_o_CXX \
13214 fix_srcfile_path_CXX \
13215 exclude_expsyms_CXX \
13216 include_expsyms_CXX
; do
13219 old_archive_cmds_CXX | \
13220 old_archive_from_new_cmds_CXX | \
13221 archive_cmds_CXX | \
13222 archive_expsym_cmds_CXX | \
13223 module_cmds_CXX | \
13224 module_expsym_cmds_CXX | \
13225 old_archive_from_expsyms_cmds_CXX | \
13226 export_symbols_cmds_CXX | \
13227 extract_expsyms_cmds | reload_cmds | finish_cmds | \
13228 postinstall_cmds | postuninstall_cmds | \
13229 old_postinstall_cmds | old_postuninstall_cmds | \
13230 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
13231 # Double-quote double-evaled strings.
13232 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13235 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13241 *'\$0 --fallback-echo"')
13242 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13248 cat <<__EOF__ >> "$cfgfile"
13249 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
13251 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13253 # Shell to use when invoking shell scripts.
13256 # Whether or not to build shared libraries.
13257 build_libtool_libs=$enable_shared
13259 # Whether or not to build static libraries.
13260 build_old_libs=$enable_static
13262 # Whether or not to add -lc for building shared libraries.
13263 build_libtool_need_lc=$archive_cmds_need_lc_CXX
13265 # Whether or not to disallow shared libs when runtime libs are static
13266 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13268 # Whether or not to optimize for fast installation.
13269 fast_install=$enable_fast_install
13272 host_alias=$host_alias
13276 # The build system.
13277 build_alias=$build_alias
13281 # An echo program that does not interpret backslashes.
13286 AR_FLAGS=$lt_AR_FLAGS
13291 # LTCC compiler flags.
13292 LTCFLAGS=$lt_LTCFLAGS
13294 # A language-specific compiler.
13295 CC=$lt_compiler_CXX
13297 # Is the compiler the GNU C compiler?
13303 # The linker used to build libraries.
13306 # Whether we need hard or soft links.
13309 # A BSD-compatible nm program.
13312 # A symbol stripping program
13315 # Used to examine libraries when file_magic_cmd begins "file"
13316 MAGIC_CMD=$MAGIC_CMD
13318 # Used on cygwin: DLL creation program.
13321 # Used on cygwin: object dumper.
13324 # Used on cygwin: assembler.
13327 # The name of the directory that contains temporary libtool files.
13330 # How to create reloadable object files.
13331 reload_flag=$lt_reload_flag
13332 reload_cmds=$lt_reload_cmds
13334 # How to pass a linker flag through the compiler.
13335 wl=$lt_lt_prog_compiler_wl_CXX
13337 # Object file suffix (normally "o").
13338 objext="$ac_objext"
13340 # Old archive suffix (normally "a").
13343 # Shared library suffix (normally ".so").
13344 shrext_cmds='$shrext_cmds'
13346 # Executable file suffix (normally "").
13349 # Additional compiler flags for building library objects.
13350 pic_flag=$lt_lt_prog_compiler_pic_CXX
13353 # What is the maximum length of a command?
13354 max_cmd_len=$lt_cv_sys_max_cmd_len
13356 # Does compiler simultaneously support -c and -o options?
13357 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13359 # Must we lock files when doing compilation?
13360 need_locks=$lt_need_locks
13362 # Do we need the lib prefix for modules?
13363 need_lib_prefix=$need_lib_prefix
13365 # Do we need a version for libraries?
13366 need_version=$need_version
13368 # Whether dlopen is supported.
13369 dlopen_support=$enable_dlopen
13371 # Whether dlopen of programs is supported.
13372 dlopen_self=$enable_dlopen_self
13374 # Whether dlopen of statically linked programs is supported.
13375 dlopen_self_static=$enable_dlopen_self_static
13377 # Compiler flag to prevent dynamic linking.
13378 link_static_flag=$lt_lt_prog_compiler_static_CXX
13380 # Compiler flag to turn off builtin functions.
13381 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13383 # Compiler flag to allow reflexive dlopens.
13384 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13386 # Compiler flag to generate shared objects directly from archives.
13387 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13389 # Compiler flag to generate thread-safe objects.
13390 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13392 # Library versioning type.
13393 version_type=$version_type
13395 # Format of library name prefix.
13396 libname_spec=$lt_libname_spec
13398 # List of archive names. First name is the real one, the rest are links.
13399 # The last name is the one that the linker finds with -lNAME.
13400 library_names_spec=$lt_library_names_spec
13402 # The coded name of the library, if different from the real name.
13403 soname_spec=$lt_soname_spec
13405 # Commands used to build and install an old-style archive.
13407 old_archive_cmds=$lt_old_archive_cmds_CXX
13408 old_postinstall_cmds=$lt_old_postinstall_cmds
13409 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13411 # Create an old-style archive from a shared archive.
13412 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13414 # Create a temporary old-style archive to link instead of a shared archive.
13415 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13417 # Commands used to build and install a shared archive.
13418 archive_cmds=$lt_archive_cmds_CXX
13419 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13420 postinstall_cmds=$lt_postinstall_cmds
13421 postuninstall_cmds=$lt_postuninstall_cmds
13423 # Commands used to build a loadable module (assumed same as above if empty)
13424 module_cmds=$lt_module_cmds_CXX
13425 module_expsym_cmds=$lt_module_expsym_cmds_CXX
13427 # Commands to strip libraries.
13428 old_striplib=$lt_old_striplib
13429 striplib=$lt_striplib
13431 # Dependencies to place before the objects being linked to create a
13433 predep_objects=$lt_predep_objects_CXX
13435 # Dependencies to place after the objects being linked to create a
13437 postdep_objects=$lt_postdep_objects_CXX
13439 # Dependencies to place before the objects being linked to create a
13441 predeps=$lt_predeps_CXX
13443 # Dependencies to place after the objects being linked to create a
13445 postdeps=$lt_postdeps_CXX
13447 # The library search path used internally by the compiler when linking
13448 # a shared library.
13449 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13451 # Method to check whether dependent libraries are shared objects.
13452 deplibs_check_method=$lt_deplibs_check_method
13454 # Command to use when deplibs_check_method == file_magic.
13455 file_magic_cmd=$lt_file_magic_cmd
13457 # Flag that allows shared libraries with undefined symbols to be built.
13458 allow_undefined_flag=$lt_allow_undefined_flag_CXX
13460 # Flag that forces no undefined symbols.
13461 no_undefined_flag=$lt_no_undefined_flag_CXX
13463 # Commands used to finish a libtool library installation in a directory.
13464 finish_cmds=$lt_finish_cmds
13466 # Same as above, but a single script fragment to be evaled but not shown.
13467 finish_eval=$lt_finish_eval
13469 # Take the output of nm and produce a listing of raw symbols and C names.
13470 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13472 # Transform the output of nm in a proper C declaration
13473 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13475 # Transform the output of nm in a C name address pair
13476 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13478 # This is the shared library runtime path variable.
13479 runpath_var=$runpath_var
13481 # This is the shared library path variable.
13482 shlibpath_var=$shlibpath_var
13484 # Is shlibpath searched before the hard-coded library search path?
13485 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13487 # How to hardcode a shared library path into an executable.
13488 hardcode_action=$hardcode_action_CXX
13490 # Whether we should hardcode library paths into libraries.
13491 hardcode_into_libs=$hardcode_into_libs
13493 # Flag to hardcode \$libdir into a binary during linking.
13494 # This must work even if \$libdir does not exist.
13495 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
13497 # If ld is used when linking, flag to hardcode \$libdir into
13498 # a binary during linking. This must work even if \$libdir does
13500 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
13502 # Whether we need a single -rpath flag with a separated argument.
13503 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
13505 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13506 # resulting binary.
13507 hardcode_direct=$hardcode_direct_CXX
13509 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13510 # resulting binary.
13511 hardcode_minus_L=$hardcode_minus_L_CXX
13513 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13514 # the resulting binary.
13515 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
13517 # Set to yes if building a shared library automatically hardcodes DIR into the library
13518 # and all subsequent libraries and executables linked against it.
13519 hardcode_automatic=$hardcode_automatic_CXX
13521 # Variables whose values should be saved in libtool wrapper scripts and
13522 # restored at relink time.
13523 variables_saved_for_relink="$variables_saved_for_relink"
13525 # Whether libtool must link a program against all its dependency libraries.
13526 link_all_deplibs=$link_all_deplibs_CXX
13528 # Compile-time system search path for libraries
13529 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13531 # Run-time system search path for libraries
13532 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13534 # Fix the shell variable \$srcfile for the compiler.
13535 fix_srcfile_path=$lt_fix_srcfile_path
13537 # Set to yes if exported symbols are required.
13538 always_export_symbols=$always_export_symbols_CXX
13540 # The commands to list exported symbols.
13541 export_symbols_cmds=$lt_export_symbols_cmds_CXX
13543 # The commands to extract the exported symbol list from a shared archive.
13544 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13546 # Symbols that should not be listed in the preloaded symbols.
13547 exclude_expsyms=$lt_exclude_expsyms_CXX
13549 # Symbols that must always be exported.
13550 include_expsyms=$lt_include_expsyms_CXX
13552 # ### END LIBTOOL TAG CONFIG: $tagname
13558 # If there is no Makefile yet, we rely on a make rule to execute
13559 # `config.status --recheck' to rerun these tests and create the
13560 # libtool script then.
13561 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
13562 if test -f "$ltmain_in"; then
13563 test -f Makefile
&& make "$ltmain"
13569 ac_cpp
='$CPP $CPPFLAGS'
13570 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13571 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13572 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13578 with_gnu_ldcxx
=$with_gnu_ld
13579 with_gnu_ld
=$lt_save_with_gnu_ld
13580 lt_cv_path_LDCXX
=$lt_cv_path_LD
13581 lt_cv_path_LD
=$lt_save_path_LD
13582 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
13583 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
13591 if test -n "$F77" && test "X$F77" != "Xno"; then
13594 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
13595 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13596 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
13599 archive_cmds_need_lc_F77
=no
13600 allow_undefined_flag_F77
=
13601 always_export_symbols_F77
=no
13602 archive_expsym_cmds_F77
=
13603 export_dynamic_flag_spec_F77
=
13604 hardcode_direct_F77
=no
13605 hardcode_libdir_flag_spec_F77
=
13606 hardcode_libdir_flag_spec_ld_F77
=
13607 hardcode_libdir_separator_F77
=
13608 hardcode_minus_L_F77
=no
13609 hardcode_automatic_F77
=no
13611 module_expsym_cmds_F77
=
13612 link_all_deplibs_F77
=unknown
13613 old_archive_cmds_F77
=$old_archive_cmds
13614 no_undefined_flag_F77
=
13615 whole_archive_flag_spec_F77
=
13616 enable_shared_with_static_runtimes_F77
=no
13618 # Source file extension for f77 test sources.
13621 # Object file extension for compiled f77 test sources.
13625 # Code to be used in simple compile tests
13626 lt_simple_compile_test_code
="\
13632 # Code to be used in simple link tests
13633 lt_simple_link_test_code
="\
13638 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13640 # If no C compiler was specified, use CC.
13643 # If no C compiler flags were specified, use CFLAGS.
13644 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13646 # Allow CC to be a program name with arguments.
13650 # save warnings/boilerplate of simple test code
13651 ac_outfile
=conftest.
$ac_objext
13652 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13653 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13654 _lt_compiler_boilerplate
=`cat conftest.err`
13657 ac_outfile
=conftest.
$ac_objext
13658 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13659 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13660 _lt_linker_boilerplate
=`cat conftest.err`
13664 # Allow CC to be a program name with arguments.
13669 for cc_temp
in $compiler""; do
13671 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13672 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13677 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13680 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13681 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
13682 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
13683 echo "${ECHO_T}$can_build_shared" >&6; }
13685 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13686 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
13687 test "$can_build_shared" = "no" && enable_shared
=no
13689 # On AIX, shared libraries and static libraries use the same namespace, and
13690 # are all built from PIC.
13693 test "$enable_shared" = yes && enable_static
=no
13694 if test -n "$RANLIB"; then
13695 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13696 postinstall_cmds
='$RANLIB $lib'
13700 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13701 test "$enable_shared" = yes && enable_static
=no
13705 { echo "$as_me:$LINENO: result: $enable_shared" >&5
13706 echo "${ECHO_T}$enable_shared" >&6; }
13708 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13709 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
13710 # Make sure either enable_shared or enable_static is yes.
13711 test "$enable_shared" = yes || enable_static
=yes
13712 { echo "$as_me:$LINENO: result: $enable_static" >&5
13713 echo "${ECHO_T}$enable_static" >&6; }
13718 lt_prog_compiler_wl_F77
=
13719 lt_prog_compiler_pic_F77
=
13720 lt_prog_compiler_static_F77
=
13722 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13723 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
13725 if test "$GCC" = yes; then
13726 lt_prog_compiler_wl_F77
='-Wl,'
13727 lt_prog_compiler_static_F77
='-static'
13731 # All AIX code is PIC.
13732 if test "$host_cpu" = ia64
; then
13733 # AIX 5 now supports IA64 processor
13734 lt_prog_compiler_static_F77
='-Bstatic'
13739 # FIXME: we need at least 68020 code to build shared libraries, but
13740 # adding the `-m68020' flag to GCC prevents building anything better,
13742 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
13745 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13746 # PIC is the default for these OSes.
13749 mingw
* | cygwin
* | pw32
* | os2
*)
13750 # This hack is so that the source file can tell whether it is being
13751 # built for inclusion in a dll (and should export symbols for example).
13752 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13753 # (--disable-auto-import) libraries
13754 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13757 darwin
* | rhapsody
*)
13758 # PIC is the default on this platform
13759 # Common symbols not allowed in MH_DYLIB files
13760 lt_prog_compiler_pic_F77
='-fno-common'
13764 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13765 # Instead, we relocate shared libraries at runtime.
13769 # Just because we use GCC doesn't mean we suddenly get shared libraries
13770 # on systems that don't support them.
13771 lt_prog_compiler_can_build_shared_F77
=no
13776 if test -d /usr
/nec
; then
13777 lt_prog_compiler_pic_F77
=-Kconform_pic
13782 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13783 # not for PA HP-UX.
13789 lt_prog_compiler_pic_F77
='-fPIC'
13795 lt_prog_compiler_pic_F77
='-fPIC'
13799 # PORTME Check for flag to pass linker flags through the system compiler.
13802 lt_prog_compiler_wl_F77
='-Wl,'
13803 if test "$host_cpu" = ia64
; then
13804 # AIX 5 now supports IA64 processor
13805 lt_prog_compiler_static_F77
='-Bstatic'
13807 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
13811 # PIC is the default on this platform
13812 # Common symbols not allowed in MH_DYLIB files
13813 case $cc_basename in
13815 lt_prog_compiler_pic_F77
='-qnocommon'
13816 lt_prog_compiler_wl_F77
='-Wl,'
13821 mingw
* | cygwin
* | pw32
* | os2
*)
13822 # This hack is so that the source file can tell whether it is being
13823 # built for inclusion in a dll (and should export symbols for example).
13824 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13827 hpux9
* | hpux10
* | hpux11
*)
13828 lt_prog_compiler_wl_F77
='-Wl,'
13829 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13830 # not for PA HP-UX.
13836 lt_prog_compiler_pic_F77
='+Z'
13839 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13840 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
13843 irix5
* | irix6
* | nonstopux
*)
13844 lt_prog_compiler_wl_F77
='-Wl,'
13845 # PIC (with -KPIC) is the default.
13846 lt_prog_compiler_static_F77
='-non_shared'
13850 lt_prog_compiler_pic_F77
='-KPIC'
13851 lt_prog_compiler_static_F77
='-Bstatic'
13854 linux
* | k
*bsd
*-gnu)
13855 case $cc_basename in
13857 lt_prog_compiler_wl_F77
='-Wl,'
13858 lt_prog_compiler_pic_F77
='-KPIC'
13859 lt_prog_compiler_static_F77
='-static'
13861 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
13862 # Portland Group compilers (*not* the Pentium gcc compiler,
13863 # which looks to be a dead project)
13864 lt_prog_compiler_wl_F77
='-Wl,'
13865 lt_prog_compiler_pic_F77
='-fpic'
13866 lt_prog_compiler_static_F77
='-Bstatic'
13869 lt_prog_compiler_wl_F77
='-Wl,'
13870 # All Alpha code is PIC.
13871 lt_prog_compiler_static_F77
='-non_shared'
13874 case `$CC -V 2>&1 | sed 5q` in
13877 lt_prog_compiler_pic_F77
='-KPIC'
13878 lt_prog_compiler_static_F77
='-Bstatic'
13879 lt_prog_compiler_wl_F77
='-Wl,'
13882 # Sun Fortran 8.3 passes all unrecognized flags to the linker
13883 lt_prog_compiler_pic_F77
='-KPIC'
13884 lt_prog_compiler_static_F77
='-Bstatic'
13885 lt_prog_compiler_wl_F77
=''
13892 osf3
* | osf4
* | osf5
*)
13893 lt_prog_compiler_wl_F77
='-Wl,'
13894 # All OSF/1 code is PIC.
13895 lt_prog_compiler_static_F77
='-non_shared'
13899 lt_prog_compiler_static_F77
='-non_shared'
13903 lt_prog_compiler_pic_F77
='-KPIC'
13904 lt_prog_compiler_static_F77
='-Bstatic'
13905 case $cc_basename in
13906 f77
* | f90
* | f95
*)
13907 lt_prog_compiler_wl_F77
='-Qoption ld ';;
13909 lt_prog_compiler_wl_F77
='-Wl,';;
13914 lt_prog_compiler_wl_F77
='-Qoption ld '
13915 lt_prog_compiler_pic_F77
='-PIC'
13916 lt_prog_compiler_static_F77
='-Bstatic'
13919 sysv4 | sysv4.2uw2
* | sysv4.3
*)
13920 lt_prog_compiler_wl_F77
='-Wl,'
13921 lt_prog_compiler_pic_F77
='-KPIC'
13922 lt_prog_compiler_static_F77
='-Bstatic'
13926 if test -d /usr
/nec
;then
13927 lt_prog_compiler_pic_F77
='-Kconform_pic'
13928 lt_prog_compiler_static_F77
='-Bstatic'
13932 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13933 lt_prog_compiler_wl_F77
='-Wl,'
13934 lt_prog_compiler_pic_F77
='-KPIC'
13935 lt_prog_compiler_static_F77
='-Bstatic'
13939 lt_prog_compiler_wl_F77
='-Wl,'
13940 lt_prog_compiler_can_build_shared_F77
=no
13944 lt_prog_compiler_pic_F77
='-pic'
13945 lt_prog_compiler_static_F77
='-Bstatic'
13949 lt_prog_compiler_can_build_shared_F77
=no
13954 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13955 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
13958 # Check to make sure the PIC flag actually works.
13960 if test -n "$lt_prog_compiler_pic_F77"; then
13962 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13963 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
13964 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13965 echo $ECHO_N "(cached) $ECHO_C" >&6
13967 lt_prog_compiler_pic_works_F77
=no
13968 ac_outfile
=conftest.
$ac_objext
13969 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13970 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
13971 # Insert the option either (1) after the last *FLAGS variable, or
13972 # (2) before a word containing "conftest.", or (3) at the end.
13973 # Note that $ac_compile itself does not contain backslashes and begins
13974 # with a dollar sign (not a hyphen), so the echo should work correctly.
13975 # The option is referenced via a variable to avoid confusing sed.
13976 lt_compile
=`echo "$ac_compile" | $SED \
13977 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13978 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13979 -e 's:$: $lt_compiler_flag:'`
13980 (eval echo "\"\$as_me:13980: $lt_compile\"" >&5)
13981 (eval "$lt_compile" 2>conftest.err
)
13983 cat conftest.err
>&5
13984 echo "$as_me:13984: \$? = $ac_status" >&5
13985 if (exit $ac_status) && test -s "$ac_outfile"; then
13986 # The compiler can only warn and ignore the option if not recognized
13987 # So say no if there are warnings other than the usual output.
13988 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
13989 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13990 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13991 lt_prog_compiler_pic_works_F77
=yes
13997 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13998 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
14000 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
14001 case $lt_prog_compiler_pic_F77 in
14003 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
14006 lt_prog_compiler_pic_F77
=
14007 lt_prog_compiler_can_build_shared_F77
=no
14012 # For platforms which do not support PIC, -DPIC is meaningless:
14014 lt_prog_compiler_pic_F77
=
14017 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
14022 # Check to make sure the static flag actually works.
14024 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
14025 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14026 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14027 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
14028 echo $ECHO_N "(cached) $ECHO_C" >&6
14030 lt_prog_compiler_static_works_F77
=no
14031 save_LDFLAGS
="$LDFLAGS"
14032 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14033 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14034 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14035 # The linker can only warn and ignore the option if not recognized
14036 # So say no if there are warnings
14037 if test -s conftest.err
; then
14038 # Append any errors to the config.log.
14039 cat conftest.err
1>&5
14040 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
14041 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14042 if diff conftest.exp conftest.er2
>/dev
/null
; then
14043 lt_prog_compiler_static_works_F77
=yes
14046 lt_prog_compiler_static_works_F77
=yes
14050 LDFLAGS
="$save_LDFLAGS"
14053 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
14054 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
14056 if test x
"$lt_prog_compiler_static_works_F77" = xyes
; then
14059 lt_prog_compiler_static_F77
=
14063 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14064 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14065 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14066 echo $ECHO_N "(cached) $ECHO_C" >&6
14068 lt_cv_prog_compiler_c_o_F77
=no
14069 $rm -r conftest
2>/dev
/null
14073 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14075 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14076 # Insert the option either (1) after the last *FLAGS variable, or
14077 # (2) before a word containing "conftest.", or (3) at the end.
14078 # Note that $ac_compile itself does not contain backslashes and begins
14079 # with a dollar sign (not a hyphen), so the echo should work correctly.
14080 lt_compile
=`echo "$ac_compile" | $SED \
14081 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14082 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14083 -e 's:$: $lt_compiler_flag:'`
14084 (eval echo "\"\$as_me:14084: $lt_compile\"" >&5)
14085 (eval "$lt_compile" 2>out
/conftest.err
)
14087 cat out
/conftest.err
>&5
14088 echo "$as_me:14088: \$? = $ac_status" >&5
14089 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14091 # The compiler can only warn and ignore the option if not recognized
14092 # So say no if there are warnings
14093 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
14094 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14095 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14096 lt_cv_prog_compiler_c_o_F77
=yes
14101 # SGI C++ compiler will create directory out/ii_files/ for
14102 # template instantiation
14103 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
14104 $rm out
/* && rmdir out
14110 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14111 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
14114 hard_links
="nottested"
14115 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
14116 # do not overwrite the value of need_locks provided by the user
14117 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14118 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14121 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14123 ln conftest.a conftest.b
2>&5 || hard_links
=no
14124 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14125 { echo "$as_me:$LINENO: result: $hard_links" >&5
14126 echo "${ECHO_T}$hard_links" >&6; }
14127 if test "$hard_links" = no
; then
14128 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14129 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14136 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14137 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14140 allow_undefined_flag_F77
=
14141 enable_shared_with_static_runtimes_F77
=no
14143 archive_expsym_cmds_F77
=
14144 old_archive_From_new_cmds_F77
=
14145 old_archive_from_expsyms_cmds_F77
=
14146 export_dynamic_flag_spec_F77
=
14147 whole_archive_flag_spec_F77
=
14148 thread_safe_flag_spec_F77
=
14149 hardcode_libdir_flag_spec_F77
=
14150 hardcode_libdir_flag_spec_ld_F77
=
14151 hardcode_libdir_separator_F77
=
14152 hardcode_direct_F77
=no
14153 hardcode_minus_L_F77
=no
14154 hardcode_shlibpath_var_F77
=unsupported
14155 link_all_deplibs_F77
=unknown
14156 hardcode_automatic_F77
=no
14158 module_expsym_cmds_F77
=
14159 always_export_symbols_F77
=no
14160 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14161 # include_expsyms should be a list of space-separated symbols to be *always*
14162 # included in the symbol list
14163 include_expsyms_F77
=
14164 # exclude_expsyms can be an extended regexp of symbols to exclude
14165 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14166 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14167 # as well as any symbol that contains `d'.
14168 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
14169 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14170 # platforms (ab)use it in PIC code, but their linkers get confused if
14171 # the symbol is explicitly referenced. Since portable code cannot
14172 # rely on this symbol name, it's probably fine to never include it in
14173 # preloaded symbol tables.
14174 extract_expsyms_cmds
=
14175 # Just being paranoid about ensuring that cc_basename is set.
14176 for cc_temp
in $compiler""; do
14178 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
14179 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
14184 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14187 cygwin
* | mingw
* | pw32
*)
14188 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14189 # When not using gcc, we currently assume that we are using
14190 # Microsoft Visual C++.
14191 if test "$GCC" != yes; then
14196 # we just hope/assume this is gcc and not c89 (= MSVC++)
14205 if test "$with_gnu_ld" = yes; then
14206 # If archive_cmds runs LD, not CC, wlarc should be empty
14209 # Set some defaults for GNU ld with shared library support. These
14210 # are reset later if shared libraries are not supported. Putting them
14211 # here allows them to be overridden if necessary.
14212 runpath_var
=LD_RUN_PATH
14213 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
14214 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
14215 # ancient GNU ld didn't support --whole-archive et. al.
14216 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
14217 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14219 whole_archive_flag_spec_F77
=
14221 supports_anon_versioning
=no
14222 case `$LD -v 2>/dev/null` in
14223 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
14224 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
14225 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
14226 *\
2.11.
*) ;; # other 2.11 versions
14227 *) supports_anon_versioning
=yes ;;
14230 # See if GNU ld supports shared libraries.
14232 aix3
* | aix4
* | aix5
*)
14233 # On AIX/PPC, the GNU linker is very broken
14234 if test "$host_cpu" != ia64
; then
14238 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
14239 *** to be unable to reliably create shared libraries on AIX.
14240 *** Therefore, libtool is disabling shared libraries support. If you
14241 *** really care for shared libraries, you may want to modify your PATH
14242 *** so that a non-GNU linker is found, and then restart.
14249 archive_cmds_F77
='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
14250 hardcode_libdir_flag_spec_F77
='-L$libdir'
14251 hardcode_minus_L_F77
=yes
14253 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14254 # that the semantics of dynamic libraries on AmigaOS, at least up
14255 # to version 4, is to share data among multiple programs linked
14256 # with the same dynamic library. Since this doesn't match the
14257 # behavior of shared libraries on other platforms, we can't use
14263 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14264 allow_undefined_flag_F77
=unsupported
14265 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14266 # support --undefined. This deserves some investigation. FIXME
14267 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14273 cygwin
* | mingw
* | pw32
*)
14274 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
14275 # as there is no search path for DLLs.
14276 hardcode_libdir_flag_spec_F77
='-L$libdir'
14277 allow_undefined_flag_F77
=unsupported
14278 always_export_symbols_F77
=no
14279 enable_shared_with_static_runtimes_F77
=yes
14280 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14282 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
14283 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14284 # If the export-symbols file already is a .def file (1st line
14285 # is EXPORTS), use it as is; otherwise, prepend...
14286 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14287 cp $export_symbols $output_objdir/$soname.def;
14289 echo EXPORTS > $output_objdir/$soname.def;
14290 cat $export_symbols >> $output_objdir/$soname.def;
14292 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14299 hardcode_direct_F77
=no
14300 hardcode_shlibpath_var_F77
=no
14301 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14302 export_dynamic_flag_spec_F77
='${wl}-E'
14303 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14304 # Instead, shared libraries are loaded at an image base (0x10000000 by
14305 # default) and relocated if they conflict, which is a slow very memory
14306 # consuming and fragmenting process. To avoid this, we pick a random,
14307 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14308 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14309 archive_cmds_F77
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14310 archive_expsym_cmds_F77
='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14313 gnu
* | linux
* | k
*bsd
*-gnu)
14314 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14316 case $cc_basename,$host_cpu in
14317 pgcc
*) # Portland Group C compiler
14318 whole_archive_flag_spec_F77
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
14319 tmp_addflag
=' $pic_flag'
14321 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
14322 whole_archive_flag_spec_F77
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
14323 tmp_addflag
=' $pic_flag -Mnomain' ;;
14324 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
14325 tmp_addflag
=' -i_dynamic' ;;
14326 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
14327 tmp_addflag
=' -i_dynamic -nofor_main' ;;
14328 ifc
* | ifort
*) # Intel Fortran compiler
14329 tmp_addflag
=' -nofor_main' ;;
14331 case `$CC -V 2>&1 | sed 5q` in
14332 *Sun\ C
*) # Sun C 5.9
14333 whole_archive_flag_spec_F77
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
14334 tmp_sharedflag
='-G' ;;
14335 *Sun\ F
*) # Sun Fortran 8.3
14336 tmp_sharedflag
='-G' ;;
14338 tmp_sharedflag
='-shared' ;;
14340 archive_cmds_F77
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14342 if test $supports_anon_versioning = yes; then
14343 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
14344 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14345 $echo "local: *; };" >> $output_objdir/$libname.ver~
14346 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14354 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14355 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14358 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14359 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14364 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
14368 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14369 *** create shared libraries on Solaris systems. Therefore, libtool
14370 *** is disabling shared libraries support. We urge you to upgrade GNU
14371 *** binutils to release 2.9.1 or newer. Another option is to modify
14372 *** your PATH or compiler configuration so that the native linker is
14373 *** used, and then restart.
14376 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14377 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14378 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14384 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
14385 case `$LD -v 2>&1` in
14386 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
14390 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14391 *** reliably create shared libraries on SCO systems. Therefore, libtool
14392 *** is disabling shared libraries support. We urge you to upgrade GNU
14393 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14394 *** your PATH or compiler configuration so that the native linker is
14395 *** used, and then restart.
14400 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14401 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
14402 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
14403 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
14412 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14414 hardcode_direct_F77
=yes
14415 hardcode_shlibpath_var_F77
=no
14419 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14420 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14421 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14428 if test "$ld_shlibs_F77" = no
; then
14430 hardcode_libdir_flag_spec_F77
=
14431 export_dynamic_flag_spec_F77
=
14432 whole_archive_flag_spec_F77
=
14435 # PORTME fill in a description of your system's linker (not GNU ld)
14438 allow_undefined_flag_F77
=unsupported
14439 always_export_symbols_F77
=yes
14440 archive_expsym_cmds_F77
='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
14441 # Note: this linker hardcodes the directories in LIBPATH if there
14442 # are no directories specified by -L.
14443 hardcode_minus_L_F77
=yes
14444 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14445 # Neither direct hardcoding nor static linking is supported with a
14447 hardcode_direct_F77
=unsupported
14452 if test "$host_cpu" = ia64
; then
14453 # On IA64, the linker does run time linking by default, so we don't
14454 # have to do anything special.
14455 aix_use_runtimelinking
=no
14456 exp_sym_flag
='-Bexport'
14459 # If we're using GNU nm, then we don't want the "-C" option.
14460 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14461 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
14462 export_symbols_cmds_F77
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
14464 export_symbols_cmds_F77
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
14466 aix_use_runtimelinking
=no
14468 # Test if we are trying to use run time linking or normal
14469 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14470 # need to do runtime linking.
14471 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
14472 for ld_flag
in $LDFLAGS; do
14473 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14474 aix_use_runtimelinking
=yes
14481 exp_sym_flag
='-bexport'
14482 no_entry_flag
='-bnoentry'
14485 # When large executables or shared objects are built, AIX ld can
14486 # have problems creating the table of contents. If linking a library
14487 # or program results in "error TOC overflow" add -mminimal-toc to
14488 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14489 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14491 archive_cmds_F77
=''
14492 hardcode_direct_F77
=yes
14493 hardcode_libdir_separator_F77
=':'
14494 link_all_deplibs_F77
=yes
14496 if test "$GCC" = yes; then
14497 case $host_os in aix4.
[012]|aix4.
[012].
*)
14498 # We only want to do this on AIX 4.2 and lower, the check
14499 # below for broken collect2 doesn't work under 4.3+
14500 collect2name
=`${CC} -print-prog-name=collect2`
14501 if test -f "$collect2name" && \
14502 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
14504 # We have reworked collect2
14507 # We have old collect2
14508 hardcode_direct_F77
=unsupported
14509 # It fails to find uninstalled libraries when the uninstalled
14510 # path is not listed in the libpath. Setting hardcode_minus_L
14511 # to unsupported forces relinking
14512 hardcode_minus_L_F77
=yes
14513 hardcode_libdir_flag_spec_F77
='-L$libdir'
14514 hardcode_libdir_separator_F77
=
14518 shared_flag
='-shared'
14519 if test "$aix_use_runtimelinking" = yes; then
14520 shared_flag
="$shared_flag "'${wl}-G'
14524 if test "$host_cpu" = ia64
; then
14525 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14526 # chokes on -Wl,-G. The following line is correct:
14529 if test "$aix_use_runtimelinking" = yes; then
14530 shared_flag
='${wl}-G'
14532 shared_flag
='${wl}-bM:SRE'
14537 # It seems that -bexpall does not export symbols beginning with
14538 # underscore (_), so it is better to generate a list of symbols to export.
14539 always_export_symbols_F77
=yes
14540 if test "$aix_use_runtimelinking" = yes; then
14541 # Warning - without using the other runtime loading flags (-brtl),
14542 # -berok will link without error, but may produce a broken library.
14543 allow_undefined_flag_F77
='-berok'
14544 # Determine the default libpath from the value encoded in an empty executable.
14545 cat >conftest.
$ac_ext <<_ACEOF
14550 rm -f conftest.
$ac_objext conftest
$ac_exeext
14551 if { (ac_try
="$ac_link"
14552 case "(($ac_try" in
14553 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14554 *) ac_try_echo=$ac_try;;
14556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14557 (eval "$ac_link") 2>conftest.er1
14559 grep -v '^ *+' conftest.er1 >conftest.err
14561 cat conftest.err >&5
14562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14563 (exit $ac_status); } && {
14564 test -z "$ac_f77_werror_flag" ||
14565 test ! -s conftest.err
14566 } && test -s conftest$ac_exeext &&
14567 $as_test_x conftest$ac_exeext; then
14569 lt_aix_libpath_sed='
14570 /Import File Strings/,/^$/ {
14576 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
14577 # Check for a 64-bit object if we didn't find anything.
14578 if test -z "$aix_libpath"; then
14579 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
14582 echo "$as_me: failed program was:" >&5
14583 sed 's/^/| /' conftest.$ac_ext >&5
14588 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14589 conftest$ac_exeext conftest.$ac_ext
14590 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14592 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14593 archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
14595 if test "$host_cpu" = ia64; then
14596 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
14597 allow_undefined_flag_F77="-z nodefs"
14598 archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
14600 # Determine the default libpath from the value encoded in an empty executable.
14601 cat >conftest.$ac_ext <<_ACEOF
14606 rm -f conftest.$ac_objext conftest$ac_exeext
14607 if { (ac_try="$ac_link"
14608 case "(($ac_try" in
14609 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14610 *) ac_try_echo
=$ac_try;;
14612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14613 (eval "$ac_link") 2>conftest.er1
14615 grep -v '^ *+' conftest.er1
>conftest.err
14617 cat conftest.err
>&5
14618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14619 (exit $ac_status); } && {
14620 test -z "$ac_f77_werror_flag" ||
14621 test ! -s conftest.err
14622 } && test -s conftest
$ac_exeext &&
14623 $as_test_x conftest
$ac_exeext; then
14625 lt_aix_libpath_sed
='
14626 /Import File Strings/,/^$/ {
14632 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14633 # Check for a 64-bit object if we didn't find anything.
14634 if test -z "$aix_libpath"; then
14635 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14638 echo "$as_me: failed program was:" >&5
14639 sed 's/^/| /' conftest.
$ac_ext >&5
14644 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14645 conftest
$ac_exeext conftest.
$ac_ext
14646 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14648 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
14649 # Warning - without using the other run time loading flags,
14650 # -berok will link without error, but may produce a broken library.
14651 no_undefined_flag_F77
=' ${wl}-bernotok'
14652 allow_undefined_flag_F77
=' ${wl}-berok'
14653 # Exported symbols can be pulled into shared objects from archives
14654 whole_archive_flag_spec_F77
='$convenience'
14655 archive_cmds_need_lc_F77
=yes
14656 # This is similar to how AIX traditionally builds its shared libraries.
14657 archive_expsym_cmds_F77
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
14663 archive_cmds_F77
='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
14664 hardcode_libdir_flag_spec_F77
='-L$libdir'
14665 hardcode_minus_L_F77
=yes
14666 # see comment about different semantics on the GNU ld section
14671 export_dynamic_flag_spec_F77
=-rdynamic
14674 cygwin
* | mingw
* | pw32
*)
14675 # When not using gcc, we currently assume that we are using
14676 # Microsoft Visual C++.
14677 # hardcode_libdir_flag_spec is actually meaningless, as there is
14678 # no search path for DLLs.
14679 hardcode_libdir_flag_spec_F77
=' '
14680 allow_undefined_flag_F77
=unsupported
14681 # Tell ltmain to make .lib files, not .a files.
14683 # Tell ltmain to make .dll files, not .so files.
14685 # FIXME: Setting linknames here is a bad hack.
14686 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
14687 # The linker will automatically build a .lib file if we build a DLL.
14688 old_archive_From_new_cmds_F77
='true'
14689 # FIXME: Should let the user specify the lib program.
14690 old_archive_cmds_F77
='lib -OUT:$oldlib$oldobjs$old_deplibs'
14691 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
14692 enable_shared_with_static_runtimes_F77
=yes
14695 darwin
* | rhapsody
*)
14697 rhapsody
* | darwin1.
[012])
14698 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
14701 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
14702 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14704 case ${MACOSX_DEPLOYMENT_TARGET} in
14706 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14709 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
14715 archive_cmds_need_lc_F77
=no
14716 hardcode_direct_F77
=no
14717 hardcode_automatic_F77
=yes
14718 hardcode_shlibpath_var_F77
=unsupported
14719 whole_archive_flag_spec_F77
=''
14720 link_all_deplibs_F77
=yes
14721 if test "$GCC" = yes ; then
14722 output_verbose_link_cmd
='echo'
14723 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14724 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14725 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14726 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14727 module_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14729 case $cc_basename in
14731 output_verbose_link_cmd
='echo'
14732 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
14733 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14734 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14735 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14736 module_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14746 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14747 hardcode_libdir_flag_spec_F77
='-L$libdir'
14748 hardcode_shlibpath_var_F77
=no
14755 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14756 # support. Future versions do this automatically, but an explicit c++rt0.o
14757 # does not break anything, and helps significantly (at the cost of a little
14760 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14761 hardcode_libdir_flag_spec_F77
='-R$libdir'
14762 hardcode_direct_F77
=yes
14763 hardcode_shlibpath_var_F77
=no
14766 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14768 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14769 hardcode_direct_F77
=yes
14770 hardcode_minus_L_F77
=yes
14771 hardcode_shlibpath_var_F77
=no
14774 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14775 freebsd
* | dragonfly
*)
14776 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14777 hardcode_libdir_flag_spec_F77
='-R$libdir'
14778 hardcode_direct_F77
=yes
14779 hardcode_shlibpath_var_F77
=no
14783 if test "$GCC" = yes; then
14784 archive_cmds_F77
='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
14786 archive_cmds_F77
='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
14788 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14789 hardcode_libdir_separator_F77
=:
14790 hardcode_direct_F77
=yes
14792 # hardcode_minus_L: Not really in the search PATH,
14793 # but as the default location of the library.
14794 hardcode_minus_L_F77
=yes
14795 export_dynamic_flag_spec_F77
='${wl}-E'
14799 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14800 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14802 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14804 if test "$with_gnu_ld" = no
; then
14805 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14806 hardcode_libdir_separator_F77
=:
14808 hardcode_direct_F77
=yes
14809 export_dynamic_flag_spec_F77
='${wl}-E'
14811 # hardcode_minus_L: Not really in the search PATH,
14812 # but as the default location of the library.
14813 hardcode_minus_L_F77
=yes
14818 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14821 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14824 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14827 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14833 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14836 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14839 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14843 if test "$with_gnu_ld" = no
; then
14844 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14845 hardcode_libdir_separator_F77
=:
14849 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
14850 hardcode_direct_F77
=no
14851 hardcode_shlibpath_var_F77
=no
14854 hardcode_direct_F77
=yes
14855 export_dynamic_flag_spec_F77
='${wl}-E'
14857 # hardcode_minus_L: Not really in the search PATH,
14858 # but as the default location of the library.
14859 hardcode_minus_L_F77
=yes
14865 irix5
* | irix6
* | nonstopux
*)
14866 if test "$GCC" = yes; then
14867 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14869 archive_cmds_F77
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
14870 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
14872 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14873 hardcode_libdir_separator_F77
=:
14874 link_all_deplibs_F77
=yes
14878 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14879 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14881 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14883 hardcode_libdir_flag_spec_F77
='-R$libdir'
14884 hardcode_direct_F77
=yes
14885 hardcode_shlibpath_var_F77
=no
14889 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14890 hardcode_direct_F77
=yes
14891 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14892 hardcode_libdir_separator_F77
=:
14893 hardcode_shlibpath_var_F77
=no
14897 if test -f /usr
/libexec
/ld.so
; then
14898 hardcode_direct_F77
=yes
14899 hardcode_shlibpath_var_F77
=no
14900 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14901 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14902 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14903 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14904 export_dynamic_flag_spec_F77
='${wl}-E'
14907 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
14908 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14909 hardcode_libdir_flag_spec_F77
='-R$libdir'
14912 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14913 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14923 hardcode_libdir_flag_spec_F77
='-L$libdir'
14924 hardcode_minus_L_F77
=yes
14925 allow_undefined_flag_F77
=unsupported
14926 archive_cmds_F77
='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
14927 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14931 if test "$GCC" = yes; then
14932 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14933 archive_cmds_F77
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14935 allow_undefined_flag_F77
=' -expect_unresolved \*'
14936 archive_cmds_F77
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
14938 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14939 hardcode_libdir_separator_F77
=:
14942 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
14943 if test "$GCC" = yes; then
14944 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14945 archive_cmds_F77
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14946 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14948 allow_undefined_flag_F77
=' -expect_unresolved \*'
14949 archive_cmds_F77
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
14950 archive_expsym_cmds_F77
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
14951 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
14953 # Both c and cxx compiler support -rpath directly
14954 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
14956 hardcode_libdir_separator_F77
=:
14960 no_undefined_flag_F77
=' -z text'
14961 if test "$GCC" = yes; then
14963 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14964 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14965 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
14968 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14969 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14970 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14972 hardcode_libdir_flag_spec_F77
='-R$libdir'
14973 hardcode_shlibpath_var_F77
=no
14975 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14977 # The compiler driver will combine and reorder linker options,
14978 # but understands `-z linker_flag'. GCC discards it without `$wl',
14979 # but is careful enough not to reorder.
14980 # Supported since Solaris 2.6 (maybe 2.5.1?)
14981 if test "$GCC" = yes; then
14982 whole_archive_flag_spec_F77
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14984 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract'
14988 link_all_deplibs_F77
=yes
14992 if test "x$host_vendor" = xsequent
; then
14993 # Use $CC to link under sequent, because it throws in some extra .o
14994 # files that make .init and .fini sections work.
14995 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14997 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14999 hardcode_libdir_flag_spec_F77
='-L$libdir'
15000 hardcode_direct_F77
=yes
15001 hardcode_minus_L_F77
=yes
15002 hardcode_shlibpath_var_F77
=no
15006 case $host_vendor in
15008 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15009 hardcode_direct_F77
=yes # is this really true???
15012 ## LD is ld it makes a PLAMLIB
15013 ## CC just makes a GrossModule.
15014 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15015 reload_cmds_F77
='$CC -r -o $output$reload_objs'
15016 hardcode_direct_F77
=no
15019 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15020 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
15023 runpath_var
='LD_RUN_PATH'
15024 hardcode_shlibpath_var_F77
=no
15028 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15029 hardcode_shlibpath_var_F77
=no
15030 export_dynamic_flag_spec_F77
='-Bexport'
15034 if test -d /usr
/nec
; then
15035 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15036 hardcode_shlibpath_var_F77
=no
15037 runpath_var
=LD_RUN_PATH
15038 hardcode_runpath_var
=yes
15043 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
15044 no_undefined_flag_F77
='${wl}-z,text'
15045 archive_cmds_need_lc_F77
=no
15046 hardcode_shlibpath_var_F77
=no
15047 runpath_var
='LD_RUN_PATH'
15049 if test "$GCC" = yes; then
15050 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15051 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15053 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15054 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15058 sysv5
* | sco3.2v5
* | sco5v6
*)
15059 # Note: We can NOT use -z defs as we might desire, because we do not
15060 # link with -lc, and that would cause any symbols used from libc to
15061 # always be unresolved, which means just about no library would
15062 # ever link correctly. If we're not using GNU ld we use -z text
15063 # though, which does catch some bad symbols but isn't as heavy-handed
15065 no_undefined_flag_F77
='${wl}-z,text'
15066 allow_undefined_flag_F77
='${wl}-z,nodefs'
15067 archive_cmds_need_lc_F77
=no
15068 hardcode_shlibpath_var_F77
=no
15069 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15070 hardcode_libdir_separator_F77
=':'
15071 link_all_deplibs_F77
=yes
15072 export_dynamic_flag_spec_F77
='${wl}-Bexport'
15073 runpath_var
='LD_RUN_PATH'
15075 if test "$GCC" = yes; then
15076 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15077 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15079 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15080 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15085 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15086 hardcode_libdir_flag_spec_F77
='-L$libdir'
15087 hardcode_shlibpath_var_F77
=no
15096 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15097 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
15098 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
15101 # Do we need to explicitly link libc?
15103 case "x$archive_cmds_need_lc_F77" in
15105 # Assume -lc should be added
15106 archive_cmds_need_lc_F77
=yes
15108 if test "$enable_shared" = yes && test "$GCC" = yes; then
15109 case $archive_cmds_F77 in
15111 # FIXME: we may have to deal with multi-command sequences.
15114 # Test whether the compiler implicitly links with -lc since on some
15115 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15116 # to ld, don't add -lc before -lgcc.
15117 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15118 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15120 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15123 (eval $ac_compile) 2>&5
15125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15126 (exit $ac_status); } 2>conftest.err
; then
15129 libobjs
=conftest.
$ac_objext
15131 wl
=$lt_prog_compiler_wl_F77
15132 pic_flag
=$lt_prog_compiler_pic_F77
15138 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
15139 allow_undefined_flag_F77
=
15140 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15141 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15144 (exit $ac_status); }
15146 archive_cmds_need_lc_F77
=no
15148 archive_cmds_need_lc_F77
=yes
15150 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
15152 cat conftest.err
1>&5
15155 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15156 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
15163 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15164 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15165 library_names_spec
=
15166 libname_spec
='lib$name'
15170 postuninstall_cmds
=
15174 shlibpath_overrides_runpath
=unknown
15176 dynamic_linker
="$host_os ld.so"
15177 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15179 need_lib_prefix
=unknown
15180 hardcode_into_libs
=no
15182 # when you set need_version to no, make sure it does not cause -set_version
15183 # flags to be left without arguments
15184 need_version
=unknown
15189 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15190 shlibpath_var
=LIBPATH
15192 # AIX 3 has no versioning support, so we append a major version to the name.
15193 soname_spec
='${libname}${release}${shared_ext}$major'
15200 hardcode_into_libs
=yes
15201 if test "$host_cpu" = ia64
; then
15202 # AIX 5 supports IA64
15203 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15204 shlibpath_var
=LD_LIBRARY_PATH
15206 # With GCC up to 2.95.x, collect2 would create an import file
15207 # for dependence libraries. The import file would start with
15208 # the line `#! .'. This would cause the generated library to
15209 # depend on `.', always an invalid library. This was fixed in
15210 # development snapshots of GCC prior to 3.0.
15212 aix4 | aix4.
[01] | aix4.
[01].
*)
15213 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15215 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
15218 can_build_shared
=no
15222 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15223 # soname into executable. Probably we can add versioning support to
15224 # collect2, so additional links can be useful in future.
15225 if test "$aix_use_runtimelinking" = yes; then
15226 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15227 # instead of lib<name>.a to let people know that these are not
15228 # typical AIX shared libraries.
15229 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15231 # We preserve .a as extension for shared libraries through AIX4.2
15232 # and later when we are not doing run time linking.
15233 library_names_spec
='${libname}${release}.a $libname.a'
15234 soname_spec
='${libname}${release}${shared_ext}$major'
15236 shlibpath_var
=LIBPATH
15241 library_names_spec
='$libname.ixlibrary $libname.a'
15242 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15243 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'
15247 library_names_spec
='${libname}${shared_ext}'
15248 dynamic_linker
="$host_os ld.so"
15249 shlibpath_var
=LIBRARY_PATH
15255 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15256 soname_spec
='${libname}${release}${shared_ext}$major'
15257 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15258 shlibpath_var
=LD_LIBRARY_PATH
15259 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15260 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15261 # the default ld.so.conf also contains /usr/contrib/lib and
15262 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15263 # libtool to hard-code these into programs
15266 cygwin
* | mingw
* | pw32
*)
15267 version_type
=windows
15272 case $GCC,$host_os in
15273 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
15274 library_names_spec
='$libname.dll.a'
15275 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15276 postinstall_cmds
='base_file=`basename \${file}`~
15277 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15278 dldir=$destdir/`dirname \$dlpath`~
15279 test -d \$dldir || mkdir -p \$dldir~
15280 $install_prog $dir/$dlname \$dldir/$dlname~
15281 chmod a+x \$dldir/$dlname'
15282 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15283 dlpath=$dir/\$dldll~
15285 shlibpath_overrides_runpath
=yes
15289 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15290 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15291 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
15294 # MinGW DLLs use traditional 'lib' prefix
15295 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15296 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15297 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
15298 # It is most probably a Windows format PATH printed by
15299 # mingw gcc, but we are running on Cygwin. Gcc prints its search
15300 # path with ; separators, and with drive letters. We can handle the
15301 # drive letters (cygwin fileutils understands them), so leave them,
15302 # especially as we might pass files found there to a mingw objdump,
15303 # which wouldn't understand a cygwinified path. Ahh.
15304 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15306 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15310 # pw32 DLLs use 'pw' prefix rather than 'lib'
15311 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15317 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15320 dynamic_linker
='Win32 ld.exe'
15321 # FIXME: first we should search . and the directory the executable is in
15325 darwin
* | rhapsody
*)
15326 dynamic_linker
="$host_os dyld"
15327 version_type
=darwin
15330 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15331 soname_spec
='${libname}${release}${major}$shared_ext'
15332 shlibpath_overrides_runpath
=yes
15333 shlibpath_var
=DYLD_LIBRARY_PATH
15334 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15336 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15343 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15344 soname_spec
='${libname}${release}${shared_ext}$major'
15345 shlibpath_var
=LD_LIBRARY_PATH
15352 freebsd
* | dragonfly
*)
15353 # DragonFly does not have aout. When/if they implement a new
15354 # versioning mechanism, adjust this.
15355 if test -x /usr
/bin
/objformat
; then
15356 objformat
=`/usr/bin/objformat`
15359 freebsd
[123]*) objformat
=aout
;;
15360 *) objformat
=elf
;;
15363 version_type
=freebsd-
$objformat
15364 case $version_type in
15366 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15371 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15375 shlibpath_var
=LD_LIBRARY_PATH
15378 shlibpath_overrides_runpath
=yes
15380 freebsd3.
[01]* | freebsdelf3.
[01]*)
15381 shlibpath_overrides_runpath
=yes
15382 hardcode_into_libs
=yes
15384 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15385 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15386 shlibpath_overrides_runpath
=no
15387 hardcode_into_libs
=yes
15389 *) # from 4.6 on, and DragonFly
15390 shlibpath_overrides_runpath
=yes
15391 hardcode_into_libs
=yes
15400 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15401 soname_spec
='${libname}${release}${shared_ext}$major'
15402 shlibpath_var
=LD_LIBRARY_PATH
15403 hardcode_into_libs
=yes
15406 hpux9
* | hpux10
* | hpux11
*)
15407 # Give a soname corresponding to the major version so that dld.sl refuses to
15408 # link against other versions.
15415 hardcode_into_libs
=yes
15416 dynamic_linker
="$host_os dld.so"
15417 shlibpath_var
=LD_LIBRARY_PATH
15418 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15419 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15420 soname_spec
='${libname}${release}${shared_ext}$major'
15421 if test "X$HPUX_IA64_MODE" = X32
; then
15422 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15424 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15426 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15430 hardcode_into_libs
=yes
15431 dynamic_linker
="$host_os dld.sl"
15432 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15433 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15434 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15435 soname_spec
='${libname}${release}${shared_ext}$major'
15436 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15437 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15441 dynamic_linker
="$host_os dld.sl"
15442 shlibpath_var
=SHLIB_PATH
15443 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15444 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15445 soname_spec
='${libname}${release}${shared_ext}$major'
15448 # HP-UX runs *really* slowly unless shared libraries are mode 555.
15449 postinstall_cmds
='chmod 555 $lib'
15456 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15457 soname_spec
='${libname}${release}${shared_ext}$major'
15458 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15459 shlibpath_var
=LD_LIBRARY_PATH
15460 shlibpath_overrides_runpath
=no
15461 hardcode_into_libs
=yes
15464 irix5
* | irix6
* | nonstopux
*)
15466 nonstopux
*) version_type
=nonstopux
;;
15468 if test "$lt_cv_prog_gnu_ld" = yes; then
15476 soname_spec
='${libname}${release}${shared_ext}$major'
15477 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15479 irix5
* | nonstopux
*)
15480 libsuff
= shlibsuff
=
15483 case $LD in # libtool.m4 will add one of these switches to LD
15484 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15485 libsuff
= shlibsuff
= libmagic
=32-bit;;
15486 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15487 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15488 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15489 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15490 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15494 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15495 shlibpath_overrides_runpath
=no
15496 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15497 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15498 hardcode_into_libs
=yes
15501 # No shared lib support for Linux oldld, aout, or coff.
15502 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15506 # This must be Linux ELF.
15507 linux
* | k
*bsd
*-gnu)
15511 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15512 soname_spec
='${libname}${release}${shared_ext}$major'
15513 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15514 shlibpath_var
=LD_LIBRARY_PATH
15515 shlibpath_overrides_runpath
=no
15516 # This implies no fast_install, which is unacceptable.
15517 # Some rework will be needed to allow for fast_install
15518 # before this can be enabled.
15519 hardcode_into_libs
=yes
15521 # Append ld.so.conf contents to the search path
15522 if test -f /etc
/ld.so.conf
; then
15523 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' ' '`
15524 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15527 # We used to test for /lib/ld.so.1 and disable shared libraries on
15528 # powerpc, because MkLinux only supported shared libraries with the
15529 # GNU dynamic linker. Since this was broken with cross compilers,
15530 # most powerpc-linux boxes support dynamic linking these days and
15531 # people can always --disable-shared, the test was removed, and we
15532 # assume the GNU/Linux dynamic linker is in use.
15533 dynamic_linker
='GNU/Linux ld.so'
15540 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15541 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15542 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15543 dynamic_linker
='NetBSD (a.out) ld.so'
15545 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15546 soname_spec
='${libname}${release}${shared_ext}$major'
15547 dynamic_linker
='NetBSD ld.elf_so'
15549 shlibpath_var
=LD_LIBRARY_PATH
15550 shlibpath_overrides_runpath
=yes
15551 hardcode_into_libs
=yes
15556 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15557 shlibpath_var
=LD_LIBRARY_PATH
15558 shlibpath_overrides_runpath
=yes
15565 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15566 soname_spec
='${libname}${release}${shared_ext}$major'
15567 shlibpath_var
=LD_LIBRARY_PATH
15568 shlibpath_overrides_runpath
=yes
15573 sys_lib_dlsearch_path_spec
="/usr/lib"
15575 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15577 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15578 *) need_version
=no
;;
15580 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15581 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15582 shlibpath_var
=LD_LIBRARY_PATH
15583 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15585 openbsd2.
[89] | openbsd2.
[89].
*)
15586 shlibpath_overrides_runpath
=no
15589 shlibpath_overrides_runpath
=yes
15593 shlibpath_overrides_runpath
=yes
15598 libname_spec
='$name'
15601 library_names_spec
='$libname${shared_ext} $libname.a'
15602 dynamic_linker
='OS/2 ld.exe'
15603 shlibpath_var
=LIBPATH
15606 osf3
* | osf4
* | osf5
*)
15610 soname_spec
='${libname}${release}${shared_ext}$major'
15611 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15612 shlibpath_var
=LD_LIBRARY_PATH
15613 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15614 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15625 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15626 soname_spec
='${libname}${release}${shared_ext}$major'
15627 shlibpath_var
=LD_LIBRARY_PATH
15628 shlibpath_overrides_runpath
=yes
15629 hardcode_into_libs
=yes
15630 # ldd complains unless libraries are executable
15631 postinstall_cmds
='chmod +x $lib'
15636 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15637 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15638 shlibpath_var
=LD_LIBRARY_PATH
15639 shlibpath_overrides_runpath
=yes
15640 if test "$with_gnu_ld" = yes; then
15648 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15649 soname_spec
='${libname}${release}${shared_ext}$major'
15650 shlibpath_var
=LD_LIBRARY_PATH
15651 case $host_vendor in
15653 shlibpath_overrides_runpath
=no
15655 export_dynamic_flag_spec
='${wl}-Blargedynsym'
15656 runpath_var
=LD_RUN_PATH
15664 shlibpath_overrides_runpath
=no
15665 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15671 if test -d /usr
/nec
;then
15673 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15674 soname_spec
='$libname${shared_ext}.$major'
15675 shlibpath_var
=LD_LIBRARY_PATH
15679 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15680 version_type
=freebsd-elf
15683 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15684 soname_spec
='${libname}${release}${shared_ext}$major'
15685 shlibpath_var
=LD_LIBRARY_PATH
15686 hardcode_into_libs
=yes
15687 if test "$with_gnu_ld" = yes; then
15688 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15689 shlibpath_overrides_runpath
=no
15691 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15692 shlibpath_overrides_runpath
=yes
15695 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15699 sys_lib_dlsearch_path_spec
='/usr/lib'
15704 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15705 soname_spec
='${libname}${release}${shared_ext}$major'
15706 shlibpath_var
=LD_LIBRARY_PATH
15713 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15714 echo "${ECHO_T}$dynamic_linker" >&6; }
15715 test "$dynamic_linker" = no
&& can_build_shared
=no
15717 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15718 if test "$GCC" = yes; then
15719 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15722 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15723 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
15724 hardcode_action_F77
=
15725 if test -n "$hardcode_libdir_flag_spec_F77" || \
15726 test -n "$runpath_var_F77" || \
15727 test "X$hardcode_automatic_F77" = "Xyes" ; then
15729 # We can hardcode non-existant directories.
15730 if test "$hardcode_direct_F77" != no
&&
15731 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15732 # have to relink, otherwise we might link with an installed library
15733 # when we should be linking with a yet-to-be-installed one
15734 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
15735 test "$hardcode_minus_L_F77" != no
; then
15736 # Linking always hardcodes the temporary library directory.
15737 hardcode_action_F77
=relink
15739 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15740 hardcode_action_F77
=immediate
15743 # We cannot hardcode anything, or else we can only hardcode existing
15745 hardcode_action_F77
=unsupported
15747 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15748 echo "${ECHO_T}$hardcode_action_F77" >&6; }
15750 if test "$hardcode_action_F77" = relink
; then
15751 # Fast installation is not supported
15752 enable_fast_install
=no
15753 elif test "$shlibpath_overrides_runpath" = yes ||
15754 test "$enable_shared" = no
; then
15755 # Fast installation is not necessary
15756 enable_fast_install
=needless
15760 # The else clause should only fire when bootstrapping the
15761 # libtool distribution, otherwise you forgot to ship ltmain.sh
15762 # with your package, and you will get complaints that there are
15763 # no rules to generate ltmain.sh.
15764 if test -f "$ltmain"; then
15765 # See if we are running on zsh, and set the options which allow our commands through
15766 # without removal of \ escapes.
15767 if test -n "${ZSH_VERSION+set}" ; then
15768 setopt NO_GLOB_SUBST
15770 # Now quote all the things that may contain metacharacters while being
15771 # careful not to overquote the AC_SUBSTed values. We take copies of the
15772 # variables and quote the copies for generation of the libtool script.
15773 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
15775 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15776 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15777 deplibs_check_method reload_flag reload_cmds need_locks \
15778 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15779 lt_cv_sys_global_symbol_to_c_name_address \
15780 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15781 old_postinstall_cmds old_postuninstall_cmds \
15785 lt_prog_compiler_wl_F77 \
15786 lt_prog_compiler_pic_F77 \
15787 lt_prog_compiler_static_F77 \
15788 lt_prog_compiler_no_builtin_flag_F77 \
15789 export_dynamic_flag_spec_F77 \
15790 thread_safe_flag_spec_F77 \
15791 whole_archive_flag_spec_F77 \
15792 enable_shared_with_static_runtimes_F77 \
15793 old_archive_cmds_F77 \
15794 old_archive_from_new_cmds_F77 \
15795 predep_objects_F77 \
15796 postdep_objects_F77 \
15799 compiler_lib_search_path_F77 \
15801 archive_expsym_cmds_F77 \
15802 postinstall_cmds_F77 \
15803 postuninstall_cmds_F77 \
15804 old_archive_from_expsyms_cmds_F77 \
15805 allow_undefined_flag_F77 \
15806 no_undefined_flag_F77 \
15807 export_symbols_cmds_F77 \
15808 hardcode_libdir_flag_spec_F77 \
15809 hardcode_libdir_flag_spec_ld_F77 \
15810 hardcode_libdir_separator_F77 \
15811 hardcode_automatic_F77 \
15813 module_expsym_cmds_F77 \
15814 lt_cv_prog_compiler_c_o_F77 \
15815 fix_srcfile_path_F77 \
15816 exclude_expsyms_F77 \
15817 include_expsyms_F77
; do
15820 old_archive_cmds_F77 | \
15821 old_archive_from_new_cmds_F77 | \
15822 archive_cmds_F77 | \
15823 archive_expsym_cmds_F77 | \
15824 module_cmds_F77 | \
15825 module_expsym_cmds_F77 | \
15826 old_archive_from_expsyms_cmds_F77 | \
15827 export_symbols_cmds_F77 | \
15828 extract_expsyms_cmds | reload_cmds | finish_cmds | \
15829 postinstall_cmds | postuninstall_cmds | \
15830 old_postinstall_cmds | old_postuninstall_cmds | \
15831 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
15832 # Double-quote double-evaled strings.
15833 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15836 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15842 *'\$0 --fallback-echo"')
15843 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15849 cat <<__EOF__ >> "$cfgfile"
15850 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
15852 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15854 # Shell to use when invoking shell scripts.
15857 # Whether or not to build shared libraries.
15858 build_libtool_libs=$enable_shared
15860 # Whether or not to build static libraries.
15861 build_old_libs=$enable_static
15863 # Whether or not to add -lc for building shared libraries.
15864 build_libtool_need_lc=$archive_cmds_need_lc_F77
15866 # Whether or not to disallow shared libs when runtime libs are static
15867 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
15869 # Whether or not to optimize for fast installation.
15870 fast_install=$enable_fast_install
15873 host_alias=$host_alias
15877 # The build system.
15878 build_alias=$build_alias
15882 # An echo program that does not interpret backslashes.
15887 AR_FLAGS=$lt_AR_FLAGS
15892 # LTCC compiler flags.
15893 LTCFLAGS=$lt_LTCFLAGS
15895 # A language-specific compiler.
15896 CC=$lt_compiler_F77
15898 # Is the compiler the GNU C compiler?
15904 # The linker used to build libraries.
15907 # Whether we need hard or soft links.
15910 # A BSD-compatible nm program.
15913 # A symbol stripping program
15916 # Used to examine libraries when file_magic_cmd begins "file"
15917 MAGIC_CMD=$MAGIC_CMD
15919 # Used on cygwin: DLL creation program.
15922 # Used on cygwin: object dumper.
15925 # Used on cygwin: assembler.
15928 # The name of the directory that contains temporary libtool files.
15931 # How to create reloadable object files.
15932 reload_flag=$lt_reload_flag
15933 reload_cmds=$lt_reload_cmds
15935 # How to pass a linker flag through the compiler.
15936 wl=$lt_lt_prog_compiler_wl_F77
15938 # Object file suffix (normally "o").
15939 objext="$ac_objext"
15941 # Old archive suffix (normally "a").
15944 # Shared library suffix (normally ".so").
15945 shrext_cmds='$shrext_cmds'
15947 # Executable file suffix (normally "").
15950 # Additional compiler flags for building library objects.
15951 pic_flag=$lt_lt_prog_compiler_pic_F77
15954 # What is the maximum length of a command?
15955 max_cmd_len=$lt_cv_sys_max_cmd_len
15957 # Does compiler simultaneously support -c and -o options?
15958 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
15960 # Must we lock files when doing compilation?
15961 need_locks=$lt_need_locks
15963 # Do we need the lib prefix for modules?
15964 need_lib_prefix=$need_lib_prefix
15966 # Do we need a version for libraries?
15967 need_version=$need_version
15969 # Whether dlopen is supported.
15970 dlopen_support=$enable_dlopen
15972 # Whether dlopen of programs is supported.
15973 dlopen_self=$enable_dlopen_self
15975 # Whether dlopen of statically linked programs is supported.
15976 dlopen_self_static=$enable_dlopen_self_static
15978 # Compiler flag to prevent dynamic linking.
15979 link_static_flag=$lt_lt_prog_compiler_static_F77
15981 # Compiler flag to turn off builtin functions.
15982 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
15984 # Compiler flag to allow reflexive dlopens.
15985 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
15987 # Compiler flag to generate shared objects directly from archives.
15988 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
15990 # Compiler flag to generate thread-safe objects.
15991 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
15993 # Library versioning type.
15994 version_type=$version_type
15996 # Format of library name prefix.
15997 libname_spec=$lt_libname_spec
15999 # List of archive names. First name is the real one, the rest are links.
16000 # The last name is the one that the linker finds with -lNAME.
16001 library_names_spec=$lt_library_names_spec
16003 # The coded name of the library, if different from the real name.
16004 soname_spec=$lt_soname_spec
16006 # Commands used to build and install an old-style archive.
16008 old_archive_cmds=$lt_old_archive_cmds_F77
16009 old_postinstall_cmds=$lt_old_postinstall_cmds
16010 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16012 # Create an old-style archive from a shared archive.
16013 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
16015 # Create a temporary old-style archive to link instead of a shared archive.
16016 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
16018 # Commands used to build and install a shared archive.
16019 archive_cmds=$lt_archive_cmds_F77
16020 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
16021 postinstall_cmds=$lt_postinstall_cmds
16022 postuninstall_cmds=$lt_postuninstall_cmds
16024 # Commands used to build a loadable module (assumed same as above if empty)
16025 module_cmds=$lt_module_cmds_F77
16026 module_expsym_cmds=$lt_module_expsym_cmds_F77
16028 # Commands to strip libraries.
16029 old_striplib=$lt_old_striplib
16030 striplib=$lt_striplib
16032 # Dependencies to place before the objects being linked to create a
16034 predep_objects=$lt_predep_objects_F77
16036 # Dependencies to place after the objects being linked to create a
16038 postdep_objects=$lt_postdep_objects_F77
16040 # Dependencies to place before the objects being linked to create a
16042 predeps=$lt_predeps_F77
16044 # Dependencies to place after the objects being linked to create a
16046 postdeps=$lt_postdeps_F77
16048 # The library search path used internally by the compiler when linking
16049 # a shared library.
16050 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16052 # Method to check whether dependent libraries are shared objects.
16053 deplibs_check_method=$lt_deplibs_check_method
16055 # Command to use when deplibs_check_method == file_magic.
16056 file_magic_cmd=$lt_file_magic_cmd
16058 # Flag that allows shared libraries with undefined symbols to be built.
16059 allow_undefined_flag=$lt_allow_undefined_flag_F77
16061 # Flag that forces no undefined symbols.
16062 no_undefined_flag=$lt_no_undefined_flag_F77
16064 # Commands used to finish a libtool library installation in a directory.
16065 finish_cmds=$lt_finish_cmds
16067 # Same as above, but a single script fragment to be evaled but not shown.
16068 finish_eval=$lt_finish_eval
16070 # Take the output of nm and produce a listing of raw symbols and C names.
16071 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16073 # Transform the output of nm in a proper C declaration
16074 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16076 # Transform the output of nm in a C name address pair
16077 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16079 # This is the shared library runtime path variable.
16080 runpath_var=$runpath_var
16082 # This is the shared library path variable.
16083 shlibpath_var=$shlibpath_var
16085 # Is shlibpath searched before the hard-coded library search path?
16086 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16088 # How to hardcode a shared library path into an executable.
16089 hardcode_action=$hardcode_action_F77
16091 # Whether we should hardcode library paths into libraries.
16092 hardcode_into_libs=$hardcode_into_libs
16094 # Flag to hardcode \$libdir into a binary during linking.
16095 # This must work even if \$libdir does not exist.
16096 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
16098 # If ld is used when linking, flag to hardcode \$libdir into
16099 # a binary during linking. This must work even if \$libdir does
16101 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
16103 # Whether we need a single -rpath flag with a separated argument.
16104 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
16106 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16107 # resulting binary.
16108 hardcode_direct=$hardcode_direct_F77
16110 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16111 # resulting binary.
16112 hardcode_minus_L=$hardcode_minus_L_F77
16114 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16115 # the resulting binary.
16116 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
16118 # Set to yes if building a shared library automatically hardcodes DIR into the library
16119 # and all subsequent libraries and executables linked against it.
16120 hardcode_automatic=$hardcode_automatic_F77
16122 # Variables whose values should be saved in libtool wrapper scripts and
16123 # restored at relink time.
16124 variables_saved_for_relink="$variables_saved_for_relink"
16126 # Whether libtool must link a program against all its dependency libraries.
16127 link_all_deplibs=$link_all_deplibs_F77
16129 # Compile-time system search path for libraries
16130 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16132 # Run-time system search path for libraries
16133 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16135 # Fix the shell variable \$srcfile for the compiler.
16136 fix_srcfile_path=$lt_fix_srcfile_path
16138 # Set to yes if exported symbols are required.
16139 always_export_symbols=$always_export_symbols_F77
16141 # The commands to list exported symbols.
16142 export_symbols_cmds=$lt_export_symbols_cmds_F77
16144 # The commands to extract the exported symbol list from a shared archive.
16145 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16147 # Symbols that should not be listed in the preloaded symbols.
16148 exclude_expsyms=$lt_exclude_expsyms_F77
16150 # Symbols that must always be exported.
16151 include_expsyms=$lt_include_expsyms_F77
16153 # ### END LIBTOOL TAG CONFIG: $tagname
16159 # If there is no Makefile yet, we rely on a make rule to execute
16160 # `config.status --recheck' to rerun these tests and create the
16161 # libtool script then.
16162 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16163 if test -f "$ltmain_in"; then
16164 test -f Makefile
&& make "$ltmain"
16170 ac_cpp
='$CPP $CPPFLAGS'
16171 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16172 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16173 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16183 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
16186 # Source file extension for Java test sources.
16189 # Object file extension for compiled Java test sources.
16193 # Code to be used in simple compile tests
16194 lt_simple_compile_test_code
="class foo {}"
16196 # Code to be used in simple link tests
16197 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }'
16199 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16201 # If no C compiler was specified, use CC.
16204 # If no C compiler flags were specified, use CFLAGS.
16205 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
16207 # Allow CC to be a program name with arguments.
16211 # save warnings/boilerplate of simple test code
16212 ac_outfile
=conftest.
$ac_objext
16213 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
16214 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16215 _lt_compiler_boilerplate
=`cat conftest.err`
16218 ac_outfile
=conftest.
$ac_objext
16219 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
16220 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16221 _lt_linker_boilerplate
=`cat conftest.err`
16225 # Allow CC to be a program name with arguments.
16230 for cc_temp
in $compiler""; do
16232 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16233 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16238 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16241 # GCJ did not exist at the time GCC didn't implicitly link libc in.
16242 archive_cmds_need_lc_GCJ
=no
16244 old_archive_cmds_GCJ
=$old_archive_cmds
16247 lt_prog_compiler_no_builtin_flag_GCJ
=
16249 if test "$GCC" = yes; then
16250 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
16253 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16254 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
16255 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16256 echo $ECHO_N "(cached) $ECHO_C" >&6
16258 lt_cv_prog_compiler_rtti_exceptions
=no
16259 ac_outfile
=conftest.
$ac_objext
16260 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16261 lt_compiler_flag
="-fno-rtti -fno-exceptions"
16262 # Insert the option either (1) after the last *FLAGS variable, or
16263 # (2) before a word containing "conftest.", or (3) at the end.
16264 # Note that $ac_compile itself does not contain backslashes and begins
16265 # with a dollar sign (not a hyphen), so the echo should work correctly.
16266 # The option is referenced via a variable to avoid confusing sed.
16267 lt_compile
=`echo "$ac_compile" | $SED \
16268 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16269 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16270 -e 's:$: $lt_compiler_flag:'`
16271 (eval echo "\"\$as_me:16271: $lt_compile\"" >&5)
16272 (eval "$lt_compile" 2>conftest.err
)
16274 cat conftest.err
>&5
16275 echo "$as_me:16275: \$? = $ac_status" >&5
16276 if (exit $ac_status) && test -s "$ac_outfile"; then
16277 # The compiler can only warn and ignore the option if not recognized
16278 # So say no if there are warnings other than the usual output.
16279 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16280 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16281 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16282 lt_cv_prog_compiler_rtti_exceptions
=yes
16288 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16289 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
16291 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
16292 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16299 lt_prog_compiler_wl_GCJ
=
16300 lt_prog_compiler_pic_GCJ
=
16301 lt_prog_compiler_static_GCJ
=
16303 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16304 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16306 if test "$GCC" = yes; then
16307 lt_prog_compiler_wl_GCJ
='-Wl,'
16308 lt_prog_compiler_static_GCJ
='-static'
16312 # All AIX code is PIC.
16313 if test "$host_cpu" = ia64
; then
16314 # AIX 5 now supports IA64 processor
16315 lt_prog_compiler_static_GCJ
='-Bstatic'
16320 # FIXME: we need at least 68020 code to build shared libraries, but
16321 # adding the `-m68020' flag to GCC prevents building anything better,
16323 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
16326 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
16327 # PIC is the default for these OSes.
16330 mingw
* | cygwin
* | pw32
* | os2
*)
16331 # This hack is so that the source file can tell whether it is being
16332 # built for inclusion in a dll (and should export symbols for example).
16333 # Although the cygwin gcc ignores -fPIC, still need this for old-style
16334 # (--disable-auto-import) libraries
16335 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16338 darwin
* | rhapsody
*)
16339 # PIC is the default on this platform
16340 # Common symbols not allowed in MH_DYLIB files
16341 lt_prog_compiler_pic_GCJ
='-fno-common'
16345 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16346 # Instead, we relocate shared libraries at runtime.
16350 # Just because we use GCC doesn't mean we suddenly get shared libraries
16351 # on systems that don't support them.
16352 lt_prog_compiler_can_build_shared_GCJ
=no
16357 if test -d /usr
/nec
; then
16358 lt_prog_compiler_pic_GCJ
=-Kconform_pic
16363 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16364 # not for PA HP-UX.
16370 lt_prog_compiler_pic_GCJ
='-fPIC'
16376 lt_prog_compiler_pic_GCJ
='-fPIC'
16380 # PORTME Check for flag to pass linker flags through the system compiler.
16383 lt_prog_compiler_wl_GCJ
='-Wl,'
16384 if test "$host_cpu" = ia64
; then
16385 # AIX 5 now supports IA64 processor
16386 lt_prog_compiler_static_GCJ
='-Bstatic'
16388 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
16392 # PIC is the default on this platform
16393 # Common symbols not allowed in MH_DYLIB files
16394 case $cc_basename in
16396 lt_prog_compiler_pic_GCJ
='-qnocommon'
16397 lt_prog_compiler_wl_GCJ
='-Wl,'
16402 mingw
* | cygwin
* | pw32
* | os2
*)
16403 # This hack is so that the source file can tell whether it is being
16404 # built for inclusion in a dll (and should export symbols for example).
16405 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16408 hpux9
* | hpux10
* | hpux11
*)
16409 lt_prog_compiler_wl_GCJ
='-Wl,'
16410 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16411 # not for PA HP-UX.
16417 lt_prog_compiler_pic_GCJ
='+Z'
16420 # Is there a better lt_prog_compiler_static that works with the bundled CC?
16421 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
16424 irix5
* | irix6
* | nonstopux
*)
16425 lt_prog_compiler_wl_GCJ
='-Wl,'
16426 # PIC (with -KPIC) is the default.
16427 lt_prog_compiler_static_GCJ
='-non_shared'
16431 lt_prog_compiler_pic_GCJ
='-KPIC'
16432 lt_prog_compiler_static_GCJ
='-Bstatic'
16435 linux
* | k
*bsd
*-gnu)
16436 case $cc_basename in
16438 lt_prog_compiler_wl_GCJ
='-Wl,'
16439 lt_prog_compiler_pic_GCJ
='-KPIC'
16440 lt_prog_compiler_static_GCJ
='-static'
16442 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
16443 # Portland Group compilers (*not* the Pentium gcc compiler,
16444 # which looks to be a dead project)
16445 lt_prog_compiler_wl_GCJ
='-Wl,'
16446 lt_prog_compiler_pic_GCJ
='-fpic'
16447 lt_prog_compiler_static_GCJ
='-Bstatic'
16450 lt_prog_compiler_wl_GCJ
='-Wl,'
16451 # All Alpha code is PIC.
16452 lt_prog_compiler_static_GCJ
='-non_shared'
16455 case `$CC -V 2>&1 | sed 5q` in
16458 lt_prog_compiler_pic_GCJ
='-KPIC'
16459 lt_prog_compiler_static_GCJ
='-Bstatic'
16460 lt_prog_compiler_wl_GCJ
='-Wl,'
16463 # Sun Fortran 8.3 passes all unrecognized flags to the linker
16464 lt_prog_compiler_pic_GCJ
='-KPIC'
16465 lt_prog_compiler_static_GCJ
='-Bstatic'
16466 lt_prog_compiler_wl_GCJ
=''
16473 osf3
* | osf4
* | osf5
*)
16474 lt_prog_compiler_wl_GCJ
='-Wl,'
16475 # All OSF/1 code is PIC.
16476 lt_prog_compiler_static_GCJ
='-non_shared'
16480 lt_prog_compiler_static_GCJ
='-non_shared'
16484 lt_prog_compiler_pic_GCJ
='-KPIC'
16485 lt_prog_compiler_static_GCJ
='-Bstatic'
16486 case $cc_basename in
16487 f77
* | f90
* | f95
*)
16488 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
16490 lt_prog_compiler_wl_GCJ
='-Wl,';;
16495 lt_prog_compiler_wl_GCJ
='-Qoption ld '
16496 lt_prog_compiler_pic_GCJ
='-PIC'
16497 lt_prog_compiler_static_GCJ
='-Bstatic'
16500 sysv4 | sysv4.2uw2
* | sysv4.3
*)
16501 lt_prog_compiler_wl_GCJ
='-Wl,'
16502 lt_prog_compiler_pic_GCJ
='-KPIC'
16503 lt_prog_compiler_static_GCJ
='-Bstatic'
16507 if test -d /usr
/nec
;then
16508 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
16509 lt_prog_compiler_static_GCJ
='-Bstatic'
16513 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
16514 lt_prog_compiler_wl_GCJ
='-Wl,'
16515 lt_prog_compiler_pic_GCJ
='-KPIC'
16516 lt_prog_compiler_static_GCJ
='-Bstatic'
16520 lt_prog_compiler_wl_GCJ
='-Wl,'
16521 lt_prog_compiler_can_build_shared_GCJ
=no
16525 lt_prog_compiler_pic_GCJ
='-pic'
16526 lt_prog_compiler_static_GCJ
='-Bstatic'
16530 lt_prog_compiler_can_build_shared_GCJ
=no
16535 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16536 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
16539 # Check to make sure the PIC flag actually works.
16541 if test -n "$lt_prog_compiler_pic_GCJ"; then
16543 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16544 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
16545 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
16546 echo $ECHO_N "(cached) $ECHO_C" >&6
16548 lt_prog_compiler_pic_works_GCJ
=no
16549 ac_outfile
=conftest.
$ac_objext
16550 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16551 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
16552 # Insert the option either (1) after the last *FLAGS variable, or
16553 # (2) before a word containing "conftest.", or (3) at the end.
16554 # Note that $ac_compile itself does not contain backslashes and begins
16555 # with a dollar sign (not a hyphen), so the echo should work correctly.
16556 # The option is referenced via a variable to avoid confusing sed.
16557 lt_compile
=`echo "$ac_compile" | $SED \
16558 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16559 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16560 -e 's:$: $lt_compiler_flag:'`
16561 (eval echo "\"\$as_me:16561: $lt_compile\"" >&5)
16562 (eval "$lt_compile" 2>conftest.err
)
16564 cat conftest.err
>&5
16565 echo "$as_me:16565: \$? = $ac_status" >&5
16566 if (exit $ac_status) && test -s "$ac_outfile"; then
16567 # The compiler can only warn and ignore the option if not recognized
16568 # So say no if there are warnings other than the usual output.
16569 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16570 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16571 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16572 lt_prog_compiler_pic_works_GCJ
=yes
16578 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16579 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
16581 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
16582 case $lt_prog_compiler_pic_GCJ in
16584 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
16587 lt_prog_compiler_pic_GCJ
=
16588 lt_prog_compiler_can_build_shared_GCJ
=no
16593 # For platforms which do not support PIC, -DPIC is meaningless:
16595 lt_prog_compiler_pic_GCJ
=
16598 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
16603 # Check to make sure the static flag actually works.
16605 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
16606 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16607 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
16608 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
16609 echo $ECHO_N "(cached) $ECHO_C" >&6
16611 lt_prog_compiler_static_works_GCJ
=no
16612 save_LDFLAGS
="$LDFLAGS"
16613 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
16614 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
16615 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
16616 # The linker can only warn and ignore the option if not recognized
16617 # So say no if there are warnings
16618 if test -s conftest.err
; then
16619 # Append any errors to the config.log.
16620 cat conftest.err
1>&5
16621 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
16622 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16623 if diff conftest.exp conftest.er2
>/dev
/null
; then
16624 lt_prog_compiler_static_works_GCJ
=yes
16627 lt_prog_compiler_static_works_GCJ
=yes
16631 LDFLAGS
="$save_LDFLAGS"
16634 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
16635 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
16637 if test x
"$lt_prog_compiler_static_works_GCJ" = xyes
; then
16640 lt_prog_compiler_static_GCJ
=
16644 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16645 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
16646 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16647 echo $ECHO_N "(cached) $ECHO_C" >&6
16649 lt_cv_prog_compiler_c_o_GCJ
=no
16650 $rm -r conftest
2>/dev
/null
16654 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16656 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16657 # Insert the option either (1) after the last *FLAGS variable, or
16658 # (2) before a word containing "conftest.", or (3) at the end.
16659 # Note that $ac_compile itself does not contain backslashes and begins
16660 # with a dollar sign (not a hyphen), so the echo should work correctly.
16661 lt_compile
=`echo "$ac_compile" | $SED \
16662 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16663 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16664 -e 's:$: $lt_compiler_flag:'`
16665 (eval echo "\"\$as_me:16665: $lt_compile\"" >&5)
16666 (eval "$lt_compile" 2>out
/conftest.err
)
16668 cat out
/conftest.err
>&5
16669 echo "$as_me:16669: \$? = $ac_status" >&5
16670 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16672 # The compiler can only warn and ignore the option if not recognized
16673 # So say no if there are warnings
16674 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
16675 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16676 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16677 lt_cv_prog_compiler_c_o_GCJ
=yes
16682 # SGI C++ compiler will create directory out/ii_files/ for
16683 # template instantiation
16684 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
16685 $rm out
/* && rmdir out
16691 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16692 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
16695 hard_links
="nottested"
16696 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
16697 # do not overwrite the value of need_locks provided by the user
16698 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16699 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
16702 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16704 ln conftest.a conftest.b
2>&5 || hard_links
=no
16705 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16706 { echo "$as_me:$LINENO: result: $hard_links" >&5
16707 echo "${ECHO_T}$hard_links" >&6; }
16708 if test "$hard_links" = no
; then
16709 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16710 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16717 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16718 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
16721 allow_undefined_flag_GCJ
=
16722 enable_shared_with_static_runtimes_GCJ
=no
16724 archive_expsym_cmds_GCJ
=
16725 old_archive_From_new_cmds_GCJ
=
16726 old_archive_from_expsyms_cmds_GCJ
=
16727 export_dynamic_flag_spec_GCJ
=
16728 whole_archive_flag_spec_GCJ
=
16729 thread_safe_flag_spec_GCJ
=
16730 hardcode_libdir_flag_spec_GCJ
=
16731 hardcode_libdir_flag_spec_ld_GCJ
=
16732 hardcode_libdir_separator_GCJ
=
16733 hardcode_direct_GCJ
=no
16734 hardcode_minus_L_GCJ
=no
16735 hardcode_shlibpath_var_GCJ
=unsupported
16736 link_all_deplibs_GCJ
=unknown
16737 hardcode_automatic_GCJ
=no
16739 module_expsym_cmds_GCJ
=
16740 always_export_symbols_GCJ
=no
16741 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16742 # include_expsyms should be a list of space-separated symbols to be *always*
16743 # included in the symbol list
16744 include_expsyms_GCJ
=
16745 # exclude_expsyms can be an extended regexp of symbols to exclude
16746 # it will be wrapped by ` (' and `)$', so one must not match beginning or
16747 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16748 # as well as any symbol that contains `d'.
16749 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
16750 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16751 # platforms (ab)use it in PIC code, but their linkers get confused if
16752 # the symbol is explicitly referenced. Since portable code cannot
16753 # rely on this symbol name, it's probably fine to never include it in
16754 # preloaded symbol tables.
16755 extract_expsyms_cmds
=
16756 # Just being paranoid about ensuring that cc_basename is set.
16757 for cc_temp
in $compiler""; do
16759 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16760 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16765 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16768 cygwin
* | mingw
* | pw32
*)
16769 # FIXME: the MSVC++ port hasn't been tested in a loooong time
16770 # When not using gcc, we currently assume that we are using
16771 # Microsoft Visual C++.
16772 if test "$GCC" != yes; then
16777 # we just hope/assume this is gcc and not c89 (= MSVC++)
16786 if test "$with_gnu_ld" = yes; then
16787 # If archive_cmds runs LD, not CC, wlarc should be empty
16790 # Set some defaults for GNU ld with shared library support. These
16791 # are reset later if shared libraries are not supported. Putting them
16792 # here allows them to be overridden if necessary.
16793 runpath_var
=LD_RUN_PATH
16794 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
16795 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
16796 # ancient GNU ld didn't support --whole-archive et. al.
16797 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
16798 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16800 whole_archive_flag_spec_GCJ
=
16802 supports_anon_versioning
=no
16803 case `$LD -v 2>/dev/null` in
16804 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
16805 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
16806 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
16807 *\
2.11.
*) ;; # other 2.11 versions
16808 *) supports_anon_versioning
=yes ;;
16811 # See if GNU ld supports shared libraries.
16813 aix3
* | aix4
* | aix5
*)
16814 # On AIX/PPC, the GNU linker is very broken
16815 if test "$host_cpu" != ia64
; then
16819 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
16820 *** to be unable to reliably create shared libraries on AIX.
16821 *** Therefore, libtool is disabling shared libraries support. If you
16822 *** really care for shared libraries, you may want to modify your PATH
16823 *** so that a non-GNU linker is found, and then restart.
16830 archive_cmds_GCJ
='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
16831 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16832 hardcode_minus_L_GCJ
=yes
16834 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16835 # that the semantics of dynamic libraries on AmigaOS, at least up
16836 # to version 4, is to share data among multiple programs linked
16837 # with the same dynamic library. Since this doesn't match the
16838 # behavior of shared libraries on other platforms, we can't use
16844 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16845 allow_undefined_flag_GCJ
=unsupported
16846 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16847 # support --undefined. This deserves some investigation. FIXME
16848 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16854 cygwin
* | mingw
* | pw32
*)
16855 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
16856 # as there is no search path for DLLs.
16857 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16858 allow_undefined_flag_GCJ
=unsupported
16859 always_export_symbols_GCJ
=no
16860 enable_shared_with_static_runtimes_GCJ
=yes
16861 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
16863 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
16864 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16865 # If the export-symbols file already is a .def file (1st line
16866 # is EXPORTS), use it as is; otherwise, prepend...
16867 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16868 cp $export_symbols $output_objdir/$soname.def;
16870 echo EXPORTS > $output_objdir/$soname.def;
16871 cat $export_symbols >> $output_objdir/$soname.def;
16873 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16880 hardcode_direct_GCJ
=no
16881 hardcode_shlibpath_var_GCJ
=no
16882 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16883 export_dynamic_flag_spec_GCJ
='${wl}-E'
16884 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
16885 # Instead, shared libraries are loaded at an image base (0x10000000 by
16886 # default) and relocated if they conflict, which is a slow very memory
16887 # consuming and fragmenting process. To avoid this, we pick a random,
16888 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
16889 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
16890 archive_cmds_GCJ
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
16891 archive_expsym_cmds_GCJ
='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
16894 gnu
* | linux
* | k
*bsd
*-gnu)
16895 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16897 case $cc_basename,$host_cpu in
16898 pgcc
*) # Portland Group C compiler
16899 whole_archive_flag_spec_GCJ
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
16900 tmp_addflag
=' $pic_flag'
16902 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
16903 whole_archive_flag_spec_GCJ
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
16904 tmp_addflag
=' $pic_flag -Mnomain' ;;
16905 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
16906 tmp_addflag
=' -i_dynamic' ;;
16907 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
16908 tmp_addflag
=' -i_dynamic -nofor_main' ;;
16909 ifc
* | ifort
*) # Intel Fortran compiler
16910 tmp_addflag
=' -nofor_main' ;;
16912 case `$CC -V 2>&1 | sed 5q` in
16913 *Sun\ C
*) # Sun C 5.9
16914 whole_archive_flag_spec_GCJ
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
16915 tmp_sharedflag
='-G' ;;
16916 *Sun\ F
*) # Sun Fortran 8.3
16917 tmp_sharedflag
='-G' ;;
16919 tmp_sharedflag
='-shared' ;;
16921 archive_cmds_GCJ
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16923 if test $supports_anon_versioning = yes; then
16924 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
16925 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16926 $echo "local: *; };" >> $output_objdir/$libname.ver~
16927 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16935 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16936 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16939 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16940 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16945 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
16949 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
16950 *** create shared libraries on Solaris systems. Therefore, libtool
16951 *** is disabling shared libraries support. We urge you to upgrade GNU
16952 *** binutils to release 2.9.1 or newer. Another option is to modify
16953 *** your PATH or compiler configuration so that the native linker is
16954 *** used, and then restart.
16957 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16958 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16959 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16965 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
16966 case `$LD -v 2>&1` in
16967 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
16971 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
16972 *** reliably create shared libraries on SCO systems. Therefore, libtool
16973 *** is disabling shared libraries support. We urge you to upgrade GNU
16974 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
16975 *** your PATH or compiler configuration so that the native linker is
16976 *** used, and then restart.
16981 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16982 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
16983 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
16984 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
16993 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16995 hardcode_direct_GCJ
=yes
16996 hardcode_shlibpath_var_GCJ
=no
17000 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17001 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17002 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17009 if test "$ld_shlibs_GCJ" = no
; then
17011 hardcode_libdir_flag_spec_GCJ
=
17012 export_dynamic_flag_spec_GCJ
=
17013 whole_archive_flag_spec_GCJ
=
17016 # PORTME fill in a description of your system's linker (not GNU ld)
17019 allow_undefined_flag_GCJ
=unsupported
17020 always_export_symbols_GCJ
=yes
17021 archive_expsym_cmds_GCJ
='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
17022 # Note: this linker hardcodes the directories in LIBPATH if there
17023 # are no directories specified by -L.
17024 hardcode_minus_L_GCJ
=yes
17025 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17026 # Neither direct hardcoding nor static linking is supported with a
17028 hardcode_direct_GCJ
=unsupported
17033 if test "$host_cpu" = ia64
; then
17034 # On IA64, the linker does run time linking by default, so we don't
17035 # have to do anything special.
17036 aix_use_runtimelinking
=no
17037 exp_sym_flag
='-Bexport'
17040 # If we're using GNU nm, then we don't want the "-C" option.
17041 # -C means demangle to AIX nm, but means don't demangle with GNU nm
17042 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
17043 export_symbols_cmds_GCJ
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
17045 export_symbols_cmds_GCJ
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
17047 aix_use_runtimelinking
=no
17049 # Test if we are trying to use run time linking or normal
17050 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17051 # need to do runtime linking.
17052 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
17053 for ld_flag
in $LDFLAGS; do
17054 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
17055 aix_use_runtimelinking
=yes
17062 exp_sym_flag
='-bexport'
17063 no_entry_flag
='-bnoentry'
17066 # When large executables or shared objects are built, AIX ld can
17067 # have problems creating the table of contents. If linking a library
17068 # or program results in "error TOC overflow" add -mminimal-toc to
17069 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
17070 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17072 archive_cmds_GCJ
=''
17073 hardcode_direct_GCJ
=yes
17074 hardcode_libdir_separator_GCJ
=':'
17075 link_all_deplibs_GCJ
=yes
17077 if test "$GCC" = yes; then
17078 case $host_os in aix4.
[012]|aix4.
[012].
*)
17079 # We only want to do this on AIX 4.2 and lower, the check
17080 # below for broken collect2 doesn't work under 4.3+
17081 collect2name
=`${CC} -print-prog-name=collect2`
17082 if test -f "$collect2name" && \
17083 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
17085 # We have reworked collect2
17088 # We have old collect2
17089 hardcode_direct_GCJ
=unsupported
17090 # It fails to find uninstalled libraries when the uninstalled
17091 # path is not listed in the libpath. Setting hardcode_minus_L
17092 # to unsupported forces relinking
17093 hardcode_minus_L_GCJ
=yes
17094 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17095 hardcode_libdir_separator_GCJ
=
17099 shared_flag
='-shared'
17100 if test "$aix_use_runtimelinking" = yes; then
17101 shared_flag
="$shared_flag "'${wl}-G'
17105 if test "$host_cpu" = ia64
; then
17106 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17107 # chokes on -Wl,-G. The following line is correct:
17110 if test "$aix_use_runtimelinking" = yes; then
17111 shared_flag
='${wl}-G'
17113 shared_flag
='${wl}-bM:SRE'
17118 # It seems that -bexpall does not export symbols beginning with
17119 # underscore (_), so it is better to generate a list of symbols to export.
17120 always_export_symbols_GCJ
=yes
17121 if test "$aix_use_runtimelinking" = yes; then
17122 # Warning - without using the other runtime loading flags (-brtl),
17123 # -berok will link without error, but may produce a broken library.
17124 allow_undefined_flag_GCJ
='-berok'
17125 # Determine the default libpath from the value encoded in an empty executable.
17126 cat >conftest.
$ac_ext <<_ACEOF
17129 cat confdefs.h
>>conftest.
$ac_ext
17130 cat >>conftest.
$ac_ext <<_ACEOF
17131 /* end confdefs.h. */
17141 rm -f conftest.
$ac_objext conftest
$ac_exeext
17142 if { (ac_try
="$ac_link"
17143 case "(($ac_try" in
17144 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17145 *) ac_try_echo=$ac_try;;
17147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17148 (eval "$ac_link") 2>conftest.er1
17150 grep -v '^ *+' conftest.er1 >conftest.err
17152 cat conftest.err >&5
17153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17154 (exit $ac_status); } && {
17155 test -z "$ac_c_werror_flag" ||
17156 test ! -s conftest.err
17157 } && test -s conftest$ac_exeext &&
17158 $as_test_x conftest$ac_exeext; then
17160 lt_aix_libpath_sed='
17161 /Import File Strings/,/^$/ {
17167 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
17168 # Check for a 64-bit object if we didn't find anything.
17169 if test -z "$aix_libpath"; then
17170 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
17173 echo "$as_me: failed program was:" >&5
17174 sed 's/^/| /' conftest.$ac_ext >&5
17179 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17180 conftest$ac_exeext conftest.$ac_ext
17181 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17183 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17184 archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
17186 if test "$host_cpu" = ia64; then
17187 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
17188 allow_undefined_flag_GCJ="-z nodefs"
17189 archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
17191 # Determine the default libpath from the value encoded in an empty executable.
17192 cat >conftest.$ac_ext <<_ACEOF
17195 cat confdefs.h >>conftest.$ac_ext
17196 cat >>conftest.$ac_ext <<_ACEOF
17197 /* end confdefs.h. */
17207 rm -f conftest.$ac_objext conftest$ac_exeext
17208 if { (ac_try="$ac_link"
17209 case "(($ac_try" in
17210 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17211 *) ac_try_echo
=$ac_try;;
17213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17214 (eval "$ac_link") 2>conftest.er1
17216 grep -v '^ *+' conftest.er1
>conftest.err
17218 cat conftest.err
>&5
17219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17220 (exit $ac_status); } && {
17221 test -z "$ac_c_werror_flag" ||
17222 test ! -s conftest.err
17223 } && test -s conftest
$ac_exeext &&
17224 $as_test_x conftest
$ac_exeext; then
17226 lt_aix_libpath_sed
='
17227 /Import File Strings/,/^$/ {
17233 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17234 # Check for a 64-bit object if we didn't find anything.
17235 if test -z "$aix_libpath"; then
17236 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17239 echo "$as_me: failed program was:" >&5
17240 sed 's/^/| /' conftest.
$ac_ext >&5
17245 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17246 conftest
$ac_exeext conftest.
$ac_ext
17247 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
17249 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
17250 # Warning - without using the other run time loading flags,
17251 # -berok will link without error, but may produce a broken library.
17252 no_undefined_flag_GCJ
=' ${wl}-bernotok'
17253 allow_undefined_flag_GCJ
=' ${wl}-berok'
17254 # Exported symbols can be pulled into shared objects from archives
17255 whole_archive_flag_spec_GCJ
='$convenience'
17256 archive_cmds_need_lc_GCJ
=yes
17257 # This is similar to how AIX traditionally builds its shared libraries.
17258 archive_expsym_cmds_GCJ
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
17264 archive_cmds_GCJ
='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
17265 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17266 hardcode_minus_L_GCJ
=yes
17267 # see comment about different semantics on the GNU ld section
17272 export_dynamic_flag_spec_GCJ
=-rdynamic
17275 cygwin
* | mingw
* | pw32
*)
17276 # When not using gcc, we currently assume that we are using
17277 # Microsoft Visual C++.
17278 # hardcode_libdir_flag_spec is actually meaningless, as there is
17279 # no search path for DLLs.
17280 hardcode_libdir_flag_spec_GCJ
=' '
17281 allow_undefined_flag_GCJ
=unsupported
17282 # Tell ltmain to make .lib files, not .a files.
17284 # Tell ltmain to make .dll files, not .so files.
17286 # FIXME: Setting linknames here is a bad hack.
17287 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17288 # The linker will automatically build a .lib file if we build a DLL.
17289 old_archive_From_new_cmds_GCJ
='true'
17290 # FIXME: Should let the user specify the lib program.
17291 old_archive_cmds_GCJ
='lib -OUT:$oldlib$oldobjs$old_deplibs'
17292 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
17293 enable_shared_with_static_runtimes_GCJ
=yes
17296 darwin
* | rhapsody
*)
17298 rhapsody
* | darwin1.
[012])
17299 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
17302 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17303 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17305 case ${MACOSX_DEPLOYMENT_TARGET} in
17307 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17310 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
17316 archive_cmds_need_lc_GCJ
=no
17317 hardcode_direct_GCJ
=no
17318 hardcode_automatic_GCJ
=yes
17319 hardcode_shlibpath_var_GCJ
=unsupported
17320 whole_archive_flag_spec_GCJ
=''
17321 link_all_deplibs_GCJ
=yes
17322 if test "$GCC" = yes ; then
17323 output_verbose_link_cmd
='echo'
17324 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17325 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17326 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17327 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17328 module_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17330 case $cc_basename in
17332 output_verbose_link_cmd
='echo'
17333 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
17334 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17335 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17336 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17337 module_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17347 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17348 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17349 hardcode_shlibpath_var_GCJ
=no
17356 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17357 # support. Future versions do this automatically, but an explicit c++rt0.o
17358 # does not break anything, and helps significantly (at the cost of a little
17361 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17362 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17363 hardcode_direct_GCJ
=yes
17364 hardcode_shlibpath_var_GCJ
=no
17367 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17369 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17370 hardcode_direct_GCJ
=yes
17371 hardcode_minus_L_GCJ
=yes
17372 hardcode_shlibpath_var_GCJ
=no
17375 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17376 freebsd
* | dragonfly
*)
17377 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17378 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17379 hardcode_direct_GCJ
=yes
17380 hardcode_shlibpath_var_GCJ
=no
17384 if test "$GCC" = yes; then
17385 archive_cmds_GCJ
='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
17387 archive_cmds_GCJ
='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
17389 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17390 hardcode_libdir_separator_GCJ
=:
17391 hardcode_direct_GCJ
=yes
17393 # hardcode_minus_L: Not really in the search PATH,
17394 # but as the default location of the library.
17395 hardcode_minus_L_GCJ
=yes
17396 export_dynamic_flag_spec_GCJ
='${wl}-E'
17400 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17401 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17403 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17405 if test "$with_gnu_ld" = no
; then
17406 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17407 hardcode_libdir_separator_GCJ
=:
17409 hardcode_direct_GCJ
=yes
17410 export_dynamic_flag_spec_GCJ
='${wl}-E'
17412 # hardcode_minus_L: Not really in the search PATH,
17413 # but as the default location of the library.
17414 hardcode_minus_L_GCJ
=yes
17419 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17422 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17425 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17428 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17434 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17437 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17440 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17444 if test "$with_gnu_ld" = no
; then
17445 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17446 hardcode_libdir_separator_GCJ
=:
17450 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
17451 hardcode_direct_GCJ
=no
17452 hardcode_shlibpath_var_GCJ
=no
17455 hardcode_direct_GCJ
=yes
17456 export_dynamic_flag_spec_GCJ
='${wl}-E'
17458 # hardcode_minus_L: Not really in the search PATH,
17459 # but as the default location of the library.
17460 hardcode_minus_L_GCJ
=yes
17466 irix5
* | irix6
* | nonstopux
*)
17467 if test "$GCC" = yes; then
17468 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17470 archive_cmds_GCJ
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
17471 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
17473 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17474 hardcode_libdir_separator_GCJ
=:
17475 link_all_deplibs_GCJ
=yes
17479 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17480 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
17482 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
17484 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17485 hardcode_direct_GCJ
=yes
17486 hardcode_shlibpath_var_GCJ
=no
17490 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17491 hardcode_direct_GCJ
=yes
17492 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17493 hardcode_libdir_separator_GCJ
=:
17494 hardcode_shlibpath_var_GCJ
=no
17498 if test -f /usr
/libexec
/ld.so
; then
17499 hardcode_direct_GCJ
=yes
17500 hardcode_shlibpath_var_GCJ
=no
17501 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17502 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17503 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17504 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17505 export_dynamic_flag_spec_GCJ
='${wl}-E'
17508 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
17509 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17510 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17513 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17514 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17524 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17525 hardcode_minus_L_GCJ
=yes
17526 allow_undefined_flag_GCJ
=unsupported
17527 archive_cmds_GCJ
='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
17528 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17532 if test "$GCC" = yes; then
17533 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17534 archive_cmds_GCJ
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17536 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17537 archive_cmds_GCJ
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
17539 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17540 hardcode_libdir_separator_GCJ
=:
17543 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
17544 if test "$GCC" = yes; then
17545 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17546 archive_cmds_GCJ
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17547 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17549 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17550 archive_cmds_GCJ
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
17551 archive_expsym_cmds_GCJ
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
17552 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
17554 # Both c and cxx compiler support -rpath directly
17555 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
17557 hardcode_libdir_separator_GCJ
=:
17561 no_undefined_flag_GCJ
=' -z text'
17562 if test "$GCC" = yes; then
17564 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17565 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17566 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
17569 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17570 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17571 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17573 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17574 hardcode_shlibpath_var_GCJ
=no
17576 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
17578 # The compiler driver will combine and reorder linker options,
17579 # but understands `-z linker_flag'. GCC discards it without `$wl',
17580 # but is careful enough not to reorder.
17581 # Supported since Solaris 2.6 (maybe 2.5.1?)
17582 if test "$GCC" = yes; then
17583 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
17585 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract'
17589 link_all_deplibs_GCJ
=yes
17593 if test "x$host_vendor" = xsequent
; then
17594 # Use $CC to link under sequent, because it throws in some extra .o
17595 # files that make .init and .fini sections work.
17596 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17598 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17600 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17601 hardcode_direct_GCJ
=yes
17602 hardcode_minus_L_GCJ
=yes
17603 hardcode_shlibpath_var_GCJ
=no
17607 case $host_vendor in
17609 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17610 hardcode_direct_GCJ
=yes # is this really true???
17613 ## LD is ld it makes a PLAMLIB
17614 ## CC just makes a GrossModule.
17615 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17616 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
17617 hardcode_direct_GCJ
=no
17620 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17621 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
17624 runpath_var
='LD_RUN_PATH'
17625 hardcode_shlibpath_var_GCJ
=no
17629 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17630 hardcode_shlibpath_var_GCJ
=no
17631 export_dynamic_flag_spec_GCJ
='-Bexport'
17635 if test -d /usr
/nec
; then
17636 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17637 hardcode_shlibpath_var_GCJ
=no
17638 runpath_var
=LD_RUN_PATH
17639 hardcode_runpath_var
=yes
17644 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
17645 no_undefined_flag_GCJ
='${wl}-z,text'
17646 archive_cmds_need_lc_GCJ
=no
17647 hardcode_shlibpath_var_GCJ
=no
17648 runpath_var
='LD_RUN_PATH'
17650 if test "$GCC" = yes; then
17651 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17652 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17654 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17655 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17659 sysv5
* | sco3.2v5
* | sco5v6
*)
17660 # Note: We can NOT use -z defs as we might desire, because we do not
17661 # link with -lc, and that would cause any symbols used from libc to
17662 # always be unresolved, which means just about no library would
17663 # ever link correctly. If we're not using GNU ld we use -z text
17664 # though, which does catch some bad symbols but isn't as heavy-handed
17666 no_undefined_flag_GCJ
='${wl}-z,text'
17667 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
17668 archive_cmds_need_lc_GCJ
=no
17669 hardcode_shlibpath_var_GCJ
=no
17670 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
17671 hardcode_libdir_separator_GCJ
=':'
17672 link_all_deplibs_GCJ
=yes
17673 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
17674 runpath_var
='LD_RUN_PATH'
17676 if test "$GCC" = yes; then
17677 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17678 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17680 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17681 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17686 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17687 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17688 hardcode_shlibpath_var_GCJ
=no
17697 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17698 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
17699 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
17702 # Do we need to explicitly link libc?
17704 case "x$archive_cmds_need_lc_GCJ" in
17706 # Assume -lc should be added
17707 archive_cmds_need_lc_GCJ
=yes
17709 if test "$enable_shared" = yes && test "$GCC" = yes; then
17710 case $archive_cmds_GCJ in
17712 # FIXME: we may have to deal with multi-command sequences.
17715 # Test whether the compiler implicitly links with -lc since on some
17716 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17717 # to ld, don't add -lc before -lgcc.
17718 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17719 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
17721 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17724 (eval $ac_compile) 2>&5
17726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17727 (exit $ac_status); } 2>conftest.err
; then
17730 libobjs
=conftest.
$ac_objext
17732 wl
=$lt_prog_compiler_wl_GCJ
17733 pic_flag
=$lt_prog_compiler_pic_GCJ
17739 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
17740 allow_undefined_flag_GCJ
=
17741 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
17742 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
17744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17745 (exit $ac_status); }
17747 archive_cmds_need_lc_GCJ
=no
17749 archive_cmds_need_lc_GCJ
=yes
17751 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
17753 cat conftest.err
1>&5
17756 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17757 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
17764 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17765 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
17766 library_names_spec
=
17767 libname_spec
='lib$name'
17771 postuninstall_cmds
=
17775 shlibpath_overrides_runpath
=unknown
17777 dynamic_linker
="$host_os ld.so"
17778 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
17780 need_lib_prefix
=unknown
17781 hardcode_into_libs
=no
17783 # when you set need_version to no, make sure it does not cause -set_version
17784 # flags to be left without arguments
17785 need_version
=unknown
17790 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
17791 shlibpath_var
=LIBPATH
17793 # AIX 3 has no versioning support, so we append a major version to the name.
17794 soname_spec
='${libname}${release}${shared_ext}$major'
17801 hardcode_into_libs
=yes
17802 if test "$host_cpu" = ia64
; then
17803 # AIX 5 supports IA64
17804 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17805 shlibpath_var
=LD_LIBRARY_PATH
17807 # With GCC up to 2.95.x, collect2 would create an import file
17808 # for dependence libraries. The import file would start with
17809 # the line `#! .'. This would cause the generated library to
17810 # depend on `.', always an invalid library. This was fixed in
17811 # development snapshots of GCC prior to 3.0.
17813 aix4 | aix4.
[01] | aix4.
[01].
*)
17814 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17816 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
17819 can_build_shared
=no
17823 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17824 # soname into executable. Probably we can add versioning support to
17825 # collect2, so additional links can be useful in future.
17826 if test "$aix_use_runtimelinking" = yes; then
17827 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17828 # instead of lib<name>.a to let people know that these are not
17829 # typical AIX shared libraries.
17830 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17832 # We preserve .a as extension for shared libraries through AIX4.2
17833 # and later when we are not doing run time linking.
17834 library_names_spec
='${libname}${release}.a $libname.a'
17835 soname_spec
='${libname}${release}${shared_ext}$major'
17837 shlibpath_var
=LIBPATH
17842 library_names_spec
='$libname.ixlibrary $libname.a'
17843 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17844 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'
17848 library_names_spec
='${libname}${shared_ext}'
17849 dynamic_linker
="$host_os ld.so"
17850 shlibpath_var
=LIBRARY_PATH
17856 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17857 soname_spec
='${libname}${release}${shared_ext}$major'
17858 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
17859 shlibpath_var
=LD_LIBRARY_PATH
17860 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17861 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
17862 # the default ld.so.conf also contains /usr/contrib/lib and
17863 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17864 # libtool to hard-code these into programs
17867 cygwin
* | mingw
* | pw32
*)
17868 version_type
=windows
17873 case $GCC,$host_os in
17874 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
17875 library_names_spec
='$libname.dll.a'
17876 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17877 postinstall_cmds
='base_file=`basename \${file}`~
17878 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
17879 dldir=$destdir/`dirname \$dlpath`~
17880 test -d \$dldir || mkdir -p \$dldir~
17881 $install_prog $dir/$dlname \$dldir/$dlname~
17882 chmod a+x \$dldir/$dlname'
17883 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17884 dlpath=$dir/\$dldll~
17886 shlibpath_overrides_runpath
=yes
17890 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17891 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17892 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
17895 # MinGW DLLs use traditional 'lib' prefix
17896 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17897 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17898 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
17899 # It is most probably a Windows format PATH printed by
17900 # mingw gcc, but we are running on Cygwin. Gcc prints its search
17901 # path with ; separators, and with drive letters. We can handle the
17902 # drive letters (cygwin fileutils understands them), so leave them,
17903 # especially as we might pass files found there to a mingw objdump,
17904 # which wouldn't understand a cygwinified path. Ahh.
17905 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17907 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17911 # pw32 DLLs use 'pw' prefix rather than 'lib'
17912 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17918 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17921 dynamic_linker
='Win32 ld.exe'
17922 # FIXME: first we should search . and the directory the executable is in
17926 darwin
* | rhapsody
*)
17927 dynamic_linker
="$host_os dyld"
17928 version_type
=darwin
17931 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17932 soname_spec
='${libname}${release}${major}$shared_ext'
17933 shlibpath_overrides_runpath
=yes
17934 shlibpath_var
=DYLD_LIBRARY_PATH
17935 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
17937 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
17944 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17945 soname_spec
='${libname}${release}${shared_ext}$major'
17946 shlibpath_var
=LD_LIBRARY_PATH
17953 freebsd
* | dragonfly
*)
17954 # DragonFly does not have aout. When/if they implement a new
17955 # versioning mechanism, adjust this.
17956 if test -x /usr
/bin
/objformat
; then
17957 objformat
=`/usr/bin/objformat`
17960 freebsd
[123]*) objformat
=aout
;;
17961 *) objformat
=elf
;;
17964 version_type
=freebsd-
$objformat
17965 case $version_type in
17967 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17972 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17976 shlibpath_var
=LD_LIBRARY_PATH
17979 shlibpath_overrides_runpath
=yes
17981 freebsd3.
[01]* | freebsdelf3.
[01]*)
17982 shlibpath_overrides_runpath
=yes
17983 hardcode_into_libs
=yes
17985 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
17986 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
17987 shlibpath_overrides_runpath
=no
17988 hardcode_into_libs
=yes
17990 *) # from 4.6 on, and DragonFly
17991 shlibpath_overrides_runpath
=yes
17992 hardcode_into_libs
=yes
18001 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18002 soname_spec
='${libname}${release}${shared_ext}$major'
18003 shlibpath_var
=LD_LIBRARY_PATH
18004 hardcode_into_libs
=yes
18007 hpux9
* | hpux10
* | hpux11
*)
18008 # Give a soname corresponding to the major version so that dld.sl refuses to
18009 # link against other versions.
18016 hardcode_into_libs
=yes
18017 dynamic_linker
="$host_os dld.so"
18018 shlibpath_var
=LD_LIBRARY_PATH
18019 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18020 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18021 soname_spec
='${libname}${release}${shared_ext}$major'
18022 if test "X$HPUX_IA64_MODE" = X32
; then
18023 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18025 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
18027 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18031 hardcode_into_libs
=yes
18032 dynamic_linker
="$host_os dld.sl"
18033 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
18034 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18035 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18036 soname_spec
='${libname}${release}${shared_ext}$major'
18037 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18038 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18042 dynamic_linker
="$host_os dld.sl"
18043 shlibpath_var
=SHLIB_PATH
18044 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
18045 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18046 soname_spec
='${libname}${release}${shared_ext}$major'
18049 # HP-UX runs *really* slowly unless shared libraries are mode 555.
18050 postinstall_cmds
='chmod 555 $lib'
18057 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18058 soname_spec
='${libname}${release}${shared_ext}$major'
18059 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
18060 shlibpath_var
=LD_LIBRARY_PATH
18061 shlibpath_overrides_runpath
=no
18062 hardcode_into_libs
=yes
18065 irix5
* | irix6
* | nonstopux
*)
18067 nonstopux
*) version_type
=nonstopux
;;
18069 if test "$lt_cv_prog_gnu_ld" = yes; then
18077 soname_spec
='${libname}${release}${shared_ext}$major'
18078 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18080 irix5
* | nonstopux
*)
18081 libsuff
= shlibsuff
=
18084 case $LD in # libtool.m4 will add one of these switches to LD
18085 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
18086 libsuff
= shlibsuff
= libmagic
=32-bit;;
18087 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
18088 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
18089 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
18090 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
18091 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
18095 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
18096 shlibpath_overrides_runpath
=no
18097 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18098 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
18099 hardcode_into_libs
=yes
18102 # No shared lib support for Linux oldld, aout, or coff.
18103 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
18107 # This must be Linux ELF.
18108 linux
* | k
*bsd
*-gnu)
18112 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18113 soname_spec
='${libname}${release}${shared_ext}$major'
18114 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18115 shlibpath_var
=LD_LIBRARY_PATH
18116 shlibpath_overrides_runpath
=no
18117 # This implies no fast_install, which is unacceptable.
18118 # Some rework will be needed to allow for fast_install
18119 # before this can be enabled.
18120 hardcode_into_libs
=yes
18122 # Append ld.so.conf contents to the search path
18123 if test -f /etc
/ld.so.conf
; then
18124 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' ' '`
18125 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
18128 # We used to test for /lib/ld.so.1 and disable shared libraries on
18129 # powerpc, because MkLinux only supported shared libraries with the
18130 # GNU dynamic linker. Since this was broken with cross compilers,
18131 # most powerpc-linux boxes support dynamic linking these days and
18132 # people can always --disable-shared, the test was removed, and we
18133 # assume the GNU/Linux dynamic linker is in use.
18134 dynamic_linker
='GNU/Linux ld.so'
18141 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18142 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18143 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18144 dynamic_linker
='NetBSD (a.out) ld.so'
18146 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18147 soname_spec
='${libname}${release}${shared_ext}$major'
18148 dynamic_linker
='NetBSD ld.elf_so'
18150 shlibpath_var
=LD_LIBRARY_PATH
18151 shlibpath_overrides_runpath
=yes
18152 hardcode_into_libs
=yes
18157 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18158 shlibpath_var
=LD_LIBRARY_PATH
18159 shlibpath_overrides_runpath
=yes
18166 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18167 soname_spec
='${libname}${release}${shared_ext}$major'
18168 shlibpath_var
=LD_LIBRARY_PATH
18169 shlibpath_overrides_runpath
=yes
18174 sys_lib_dlsearch_path_spec
="/usr/lib"
18176 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18178 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
18179 *) need_version
=no
;;
18181 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18182 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18183 shlibpath_var
=LD_LIBRARY_PATH
18184 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18186 openbsd2.
[89] | openbsd2.
[89].
*)
18187 shlibpath_overrides_runpath
=no
18190 shlibpath_overrides_runpath
=yes
18194 shlibpath_overrides_runpath
=yes
18199 libname_spec
='$name'
18202 library_names_spec
='$libname${shared_ext} $libname.a'
18203 dynamic_linker
='OS/2 ld.exe'
18204 shlibpath_var
=LIBPATH
18207 osf3
* | osf4
* | osf5
*)
18211 soname_spec
='${libname}${release}${shared_ext}$major'
18212 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18213 shlibpath_var
=LD_LIBRARY_PATH
18214 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18215 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
18226 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18227 soname_spec
='${libname}${release}${shared_ext}$major'
18228 shlibpath_var
=LD_LIBRARY_PATH
18229 shlibpath_overrides_runpath
=yes
18230 hardcode_into_libs
=yes
18231 # ldd complains unless libraries are executable
18232 postinstall_cmds
='chmod +x $lib'
18237 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18238 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18239 shlibpath_var
=LD_LIBRARY_PATH
18240 shlibpath_overrides_runpath
=yes
18241 if test "$with_gnu_ld" = yes; then
18249 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18250 soname_spec
='${libname}${release}${shared_ext}$major'
18251 shlibpath_var
=LD_LIBRARY_PATH
18252 case $host_vendor in
18254 shlibpath_overrides_runpath
=no
18256 export_dynamic_flag_spec
='${wl}-Blargedynsym'
18257 runpath_var
=LD_RUN_PATH
18265 shlibpath_overrides_runpath
=no
18266 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
18272 if test -d /usr
/nec
;then
18274 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18275 soname_spec
='$libname${shared_ext}.$major'
18276 shlibpath_var
=LD_LIBRARY_PATH
18280 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
18281 version_type
=freebsd-elf
18284 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18285 soname_spec
='${libname}${release}${shared_ext}$major'
18286 shlibpath_var
=LD_LIBRARY_PATH
18287 hardcode_into_libs
=yes
18288 if test "$with_gnu_ld" = yes; then
18289 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18290 shlibpath_overrides_runpath
=no
18292 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
18293 shlibpath_overrides_runpath
=yes
18296 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
18300 sys_lib_dlsearch_path_spec
='/usr/lib'
18305 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18306 soname_spec
='${libname}${release}${shared_ext}$major'
18307 shlibpath_var
=LD_LIBRARY_PATH
18314 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18315 echo "${ECHO_T}$dynamic_linker" >&6; }
18316 test "$dynamic_linker" = no
&& can_build_shared
=no
18318 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
18319 if test "$GCC" = yes; then
18320 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18323 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18324 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
18325 hardcode_action_GCJ
=
18326 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18327 test -n "$runpath_var_GCJ" || \
18328 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18330 # We can hardcode non-existant directories.
18331 if test "$hardcode_direct_GCJ" != no
&&
18332 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18333 # have to relink, otherwise we might link with an installed library
18334 # when we should be linking with a yet-to-be-installed one
18335 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18336 test "$hardcode_minus_L_GCJ" != no
; then
18337 # Linking always hardcodes the temporary library directory.
18338 hardcode_action_GCJ
=relink
18340 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18341 hardcode_action_GCJ
=immediate
18344 # We cannot hardcode anything, or else we can only hardcode existing
18346 hardcode_action_GCJ
=unsupported
18348 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18349 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
18351 if test "$hardcode_action_GCJ" = relink
; then
18352 # Fast installation is not supported
18353 enable_fast_install
=no
18354 elif test "$shlibpath_overrides_runpath" = yes ||
18355 test "$enable_shared" = no
; then
18356 # Fast installation is not necessary
18357 enable_fast_install
=needless
18361 # The else clause should only fire when bootstrapping the
18362 # libtool distribution, otherwise you forgot to ship ltmain.sh
18363 # with your package, and you will get complaints that there are
18364 # no rules to generate ltmain.sh.
18365 if test -f "$ltmain"; then
18366 # See if we are running on zsh, and set the options which allow our commands through
18367 # without removal of \ escapes.
18368 if test -n "${ZSH_VERSION+set}" ; then
18369 setopt NO_GLOB_SUBST
18371 # Now quote all the things that may contain metacharacters while being
18372 # careful not to overquote the AC_SUBSTed values. We take copies of the
18373 # variables and quote the copies for generation of the libtool script.
18374 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18376 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18377 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18378 deplibs_check_method reload_flag reload_cmds need_locks \
18379 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18380 lt_cv_sys_global_symbol_to_c_name_address \
18381 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18382 old_postinstall_cmds old_postuninstall_cmds \
18386 lt_prog_compiler_wl_GCJ \
18387 lt_prog_compiler_pic_GCJ \
18388 lt_prog_compiler_static_GCJ \
18389 lt_prog_compiler_no_builtin_flag_GCJ \
18390 export_dynamic_flag_spec_GCJ \
18391 thread_safe_flag_spec_GCJ \
18392 whole_archive_flag_spec_GCJ \
18393 enable_shared_with_static_runtimes_GCJ \
18394 old_archive_cmds_GCJ \
18395 old_archive_from_new_cmds_GCJ \
18396 predep_objects_GCJ \
18397 postdep_objects_GCJ \
18400 compiler_lib_search_path_GCJ \
18402 archive_expsym_cmds_GCJ \
18403 postinstall_cmds_GCJ \
18404 postuninstall_cmds_GCJ \
18405 old_archive_from_expsyms_cmds_GCJ \
18406 allow_undefined_flag_GCJ \
18407 no_undefined_flag_GCJ \
18408 export_symbols_cmds_GCJ \
18409 hardcode_libdir_flag_spec_GCJ \
18410 hardcode_libdir_flag_spec_ld_GCJ \
18411 hardcode_libdir_separator_GCJ \
18412 hardcode_automatic_GCJ \
18414 module_expsym_cmds_GCJ \
18415 lt_cv_prog_compiler_c_o_GCJ \
18416 fix_srcfile_path_GCJ \
18417 exclude_expsyms_GCJ \
18418 include_expsyms_GCJ
; do
18421 old_archive_cmds_GCJ | \
18422 old_archive_from_new_cmds_GCJ | \
18423 archive_cmds_GCJ | \
18424 archive_expsym_cmds_GCJ | \
18425 module_cmds_GCJ | \
18426 module_expsym_cmds_GCJ | \
18427 old_archive_from_expsyms_cmds_GCJ | \
18428 export_symbols_cmds_GCJ | \
18429 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18430 postinstall_cmds | postuninstall_cmds | \
18431 old_postinstall_cmds | old_postuninstall_cmds | \
18432 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18433 # Double-quote double-evaled strings.
18434 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18437 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18443 *'\$0 --fallback-echo"')
18444 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18450 cat <<__EOF__ >> "$cfgfile"
18451 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18453 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18455 # Shell to use when invoking shell scripts.
18458 # Whether or not to build shared libraries.
18459 build_libtool_libs=$enable_shared
18461 # Whether or not to build static libraries.
18462 build_old_libs=$enable_static
18464 # Whether or not to add -lc for building shared libraries.
18465 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
18467 # Whether or not to disallow shared libs when runtime libs are static
18468 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
18470 # Whether or not to optimize for fast installation.
18471 fast_install=$enable_fast_install
18474 host_alias=$host_alias
18478 # The build system.
18479 build_alias=$build_alias
18483 # An echo program that does not interpret backslashes.
18488 AR_FLAGS=$lt_AR_FLAGS
18493 # LTCC compiler flags.
18494 LTCFLAGS=$lt_LTCFLAGS
18496 # A language-specific compiler.
18497 CC=$lt_compiler_GCJ
18499 # Is the compiler the GNU C compiler?
18505 # The linker used to build libraries.
18508 # Whether we need hard or soft links.
18511 # A BSD-compatible nm program.
18514 # A symbol stripping program
18517 # Used to examine libraries when file_magic_cmd begins "file"
18518 MAGIC_CMD=$MAGIC_CMD
18520 # Used on cygwin: DLL creation program.
18523 # Used on cygwin: object dumper.
18526 # Used on cygwin: assembler.
18529 # The name of the directory that contains temporary libtool files.
18532 # How to create reloadable object files.
18533 reload_flag=$lt_reload_flag
18534 reload_cmds=$lt_reload_cmds
18536 # How to pass a linker flag through the compiler.
18537 wl=$lt_lt_prog_compiler_wl_GCJ
18539 # Object file suffix (normally "o").
18540 objext="$ac_objext"
18542 # Old archive suffix (normally "a").
18545 # Shared library suffix (normally ".so").
18546 shrext_cmds='$shrext_cmds'
18548 # Executable file suffix (normally "").
18551 # Additional compiler flags for building library objects.
18552 pic_flag=$lt_lt_prog_compiler_pic_GCJ
18555 # What is the maximum length of a command?
18556 max_cmd_len=$lt_cv_sys_max_cmd_len
18558 # Does compiler simultaneously support -c and -o options?
18559 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
18561 # Must we lock files when doing compilation?
18562 need_locks=$lt_need_locks
18564 # Do we need the lib prefix for modules?
18565 need_lib_prefix=$need_lib_prefix
18567 # Do we need a version for libraries?
18568 need_version=$need_version
18570 # Whether dlopen is supported.
18571 dlopen_support=$enable_dlopen
18573 # Whether dlopen of programs is supported.
18574 dlopen_self=$enable_dlopen_self
18576 # Whether dlopen of statically linked programs is supported.
18577 dlopen_self_static=$enable_dlopen_self_static
18579 # Compiler flag to prevent dynamic linking.
18580 link_static_flag=$lt_lt_prog_compiler_static_GCJ
18582 # Compiler flag to turn off builtin functions.
18583 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
18585 # Compiler flag to allow reflexive dlopens.
18586 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
18588 # Compiler flag to generate shared objects directly from archives.
18589 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
18591 # Compiler flag to generate thread-safe objects.
18592 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
18594 # Library versioning type.
18595 version_type=$version_type
18597 # Format of library name prefix.
18598 libname_spec=$lt_libname_spec
18600 # List of archive names. First name is the real one, the rest are links.
18601 # The last name is the one that the linker finds with -lNAME.
18602 library_names_spec=$lt_library_names_spec
18604 # The coded name of the library, if different from the real name.
18605 soname_spec=$lt_soname_spec
18607 # Commands used to build and install an old-style archive.
18609 old_archive_cmds=$lt_old_archive_cmds_GCJ
18610 old_postinstall_cmds=$lt_old_postinstall_cmds
18611 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18613 # Create an old-style archive from a shared archive.
18614 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
18616 # Create a temporary old-style archive to link instead of a shared archive.
18617 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
18619 # Commands used to build and install a shared archive.
18620 archive_cmds=$lt_archive_cmds_GCJ
18621 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
18622 postinstall_cmds=$lt_postinstall_cmds
18623 postuninstall_cmds=$lt_postuninstall_cmds
18625 # Commands used to build a loadable module (assumed same as above if empty)
18626 module_cmds=$lt_module_cmds_GCJ
18627 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
18629 # Commands to strip libraries.
18630 old_striplib=$lt_old_striplib
18631 striplib=$lt_striplib
18633 # Dependencies to place before the objects being linked to create a
18635 predep_objects=$lt_predep_objects_GCJ
18637 # Dependencies to place after the objects being linked to create a
18639 postdep_objects=$lt_postdep_objects_GCJ
18641 # Dependencies to place before the objects being linked to create a
18643 predeps=$lt_predeps_GCJ
18645 # Dependencies to place after the objects being linked to create a
18647 postdeps=$lt_postdeps_GCJ
18649 # The library search path used internally by the compiler when linking
18650 # a shared library.
18651 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
18653 # Method to check whether dependent libraries are shared objects.
18654 deplibs_check_method=$lt_deplibs_check_method
18656 # Command to use when deplibs_check_method == file_magic.
18657 file_magic_cmd=$lt_file_magic_cmd
18659 # Flag that allows shared libraries with undefined symbols to be built.
18660 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
18662 # Flag that forces no undefined symbols.
18663 no_undefined_flag=$lt_no_undefined_flag_GCJ
18665 # Commands used to finish a libtool library installation in a directory.
18666 finish_cmds=$lt_finish_cmds
18668 # Same as above, but a single script fragment to be evaled but not shown.
18669 finish_eval=$lt_finish_eval
18671 # Take the output of nm and produce a listing of raw symbols and C names.
18672 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18674 # Transform the output of nm in a proper C declaration
18675 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18677 # Transform the output of nm in a C name address pair
18678 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18680 # This is the shared library runtime path variable.
18681 runpath_var=$runpath_var
18683 # This is the shared library path variable.
18684 shlibpath_var=$shlibpath_var
18686 # Is shlibpath searched before the hard-coded library search path?
18687 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18689 # How to hardcode a shared library path into an executable.
18690 hardcode_action=$hardcode_action_GCJ
18692 # Whether we should hardcode library paths into libraries.
18693 hardcode_into_libs=$hardcode_into_libs
18695 # Flag to hardcode \$libdir into a binary during linking.
18696 # This must work even if \$libdir does not exist.
18697 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
18699 # If ld is used when linking, flag to hardcode \$libdir into
18700 # a binary during linking. This must work even if \$libdir does
18702 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
18704 # Whether we need a single -rpath flag with a separated argument.
18705 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
18707 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18708 # resulting binary.
18709 hardcode_direct=$hardcode_direct_GCJ
18711 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18712 # resulting binary.
18713 hardcode_minus_L=$hardcode_minus_L_GCJ
18715 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18716 # the resulting binary.
18717 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
18719 # Set to yes if building a shared library automatically hardcodes DIR into the library
18720 # and all subsequent libraries and executables linked against it.
18721 hardcode_automatic=$hardcode_automatic_GCJ
18723 # Variables whose values should be saved in libtool wrapper scripts and
18724 # restored at relink time.
18725 variables_saved_for_relink="$variables_saved_for_relink"
18727 # Whether libtool must link a program against all its dependency libraries.
18728 link_all_deplibs=$link_all_deplibs_GCJ
18730 # Compile-time system search path for libraries
18731 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18733 # Run-time system search path for libraries
18734 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18736 # Fix the shell variable \$srcfile for the compiler.
18737 fix_srcfile_path=$lt_fix_srcfile_path
18739 # Set to yes if exported symbols are required.
18740 always_export_symbols=$always_export_symbols_GCJ
18742 # The commands to list exported symbols.
18743 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
18745 # The commands to extract the exported symbol list from a shared archive.
18746 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18748 # Symbols that should not be listed in the preloaded symbols.
18749 exclude_expsyms=$lt_exclude_expsyms_GCJ
18751 # Symbols that must always be exported.
18752 include_expsyms=$lt_include_expsyms_GCJ
18754 # ### END LIBTOOL TAG CONFIG: $tagname
18760 # If there is no Makefile yet, we rely on a make rule to execute
18761 # `config.status --recheck' to rerun these tests and create the
18762 # libtool script then.
18763 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18764 if test -f "$ltmain_in"; then
18765 test -f Makefile
&& make "$ltmain"
18771 ac_cpp
='$CPP $CPPFLAGS'
18772 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18773 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18774 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18786 # Source file extension for RC test sources.
18789 # Object file extension for compiled RC test sources.
18793 # Code to be used in simple compile tests
18794 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
18796 # Code to be used in simple link tests
18797 lt_simple_link_test_code
="$lt_simple_compile_test_code"
18799 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18801 # If no C compiler was specified, use CC.
18804 # If no C compiler flags were specified, use CFLAGS.
18805 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
18807 # Allow CC to be a program name with arguments.
18811 # save warnings/boilerplate of simple test code
18812 ac_outfile
=conftest.
$ac_objext
18813 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
18814 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
18815 _lt_compiler_boilerplate
=`cat conftest.err`
18818 ac_outfile
=conftest.
$ac_objext
18819 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
18820 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
18821 _lt_linker_boilerplate
=`cat conftest.err`
18825 # Allow CC to be a program name with arguments.
18830 for cc_temp
in $compiler""; do
18832 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
18833 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
18838 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18840 lt_cv_prog_compiler_c_o_RC
=yes
18842 # The else clause should only fire when bootstrapping the
18843 # libtool distribution, otherwise you forgot to ship ltmain.sh
18844 # with your package, and you will get complaints that there are
18845 # no rules to generate ltmain.sh.
18846 if test -f "$ltmain"; then
18847 # See if we are running on zsh, and set the options which allow our commands through
18848 # without removal of \ escapes.
18849 if test -n "${ZSH_VERSION+set}" ; then
18850 setopt NO_GLOB_SUBST
18852 # Now quote all the things that may contain metacharacters while being
18853 # careful not to overquote the AC_SUBSTed values. We take copies of the
18854 # variables and quote the copies for generation of the libtool script.
18855 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18857 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18858 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18859 deplibs_check_method reload_flag reload_cmds need_locks \
18860 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18861 lt_cv_sys_global_symbol_to_c_name_address \
18862 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18863 old_postinstall_cmds old_postuninstall_cmds \
18867 lt_prog_compiler_wl_RC \
18868 lt_prog_compiler_pic_RC \
18869 lt_prog_compiler_static_RC \
18870 lt_prog_compiler_no_builtin_flag_RC \
18871 export_dynamic_flag_spec_RC \
18872 thread_safe_flag_spec_RC \
18873 whole_archive_flag_spec_RC \
18874 enable_shared_with_static_runtimes_RC \
18875 old_archive_cmds_RC \
18876 old_archive_from_new_cmds_RC \
18877 predep_objects_RC \
18878 postdep_objects_RC \
18881 compiler_lib_search_path_RC \
18883 archive_expsym_cmds_RC \
18884 postinstall_cmds_RC \
18885 postuninstall_cmds_RC \
18886 old_archive_from_expsyms_cmds_RC \
18887 allow_undefined_flag_RC \
18888 no_undefined_flag_RC \
18889 export_symbols_cmds_RC \
18890 hardcode_libdir_flag_spec_RC \
18891 hardcode_libdir_flag_spec_ld_RC \
18892 hardcode_libdir_separator_RC \
18893 hardcode_automatic_RC \
18895 module_expsym_cmds_RC \
18896 lt_cv_prog_compiler_c_o_RC \
18897 fix_srcfile_path_RC \
18898 exclude_expsyms_RC \
18899 include_expsyms_RC
; do
18902 old_archive_cmds_RC | \
18903 old_archive_from_new_cmds_RC | \
18904 archive_cmds_RC | \
18905 archive_expsym_cmds_RC | \
18907 module_expsym_cmds_RC | \
18908 old_archive_from_expsyms_cmds_RC | \
18909 export_symbols_cmds_RC | \
18910 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18911 postinstall_cmds | postuninstall_cmds | \
18912 old_postinstall_cmds | old_postuninstall_cmds | \
18913 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18914 # Double-quote double-evaled strings.
18915 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18918 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18924 *'\$0 --fallback-echo"')
18925 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18931 cat <<__EOF__ >> "$cfgfile"
18932 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18934 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18936 # Shell to use when invoking shell scripts.
18939 # Whether or not to build shared libraries.
18940 build_libtool_libs=$enable_shared
18942 # Whether or not to build static libraries.
18943 build_old_libs=$enable_static
18945 # Whether or not to add -lc for building shared libraries.
18946 build_libtool_need_lc=$archive_cmds_need_lc_RC
18948 # Whether or not to disallow shared libs when runtime libs are static
18949 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
18951 # Whether or not to optimize for fast installation.
18952 fast_install=$enable_fast_install
18955 host_alias=$host_alias
18959 # The build system.
18960 build_alias=$build_alias
18964 # An echo program that does not interpret backslashes.
18969 AR_FLAGS=$lt_AR_FLAGS
18974 # LTCC compiler flags.
18975 LTCFLAGS=$lt_LTCFLAGS
18977 # A language-specific compiler.
18980 # Is the compiler the GNU C compiler?
18986 # The linker used to build libraries.
18989 # Whether we need hard or soft links.
18992 # A BSD-compatible nm program.
18995 # A symbol stripping program
18998 # Used to examine libraries when file_magic_cmd begins "file"
18999 MAGIC_CMD=$MAGIC_CMD
19001 # Used on cygwin: DLL creation program.
19004 # Used on cygwin: object dumper.
19007 # Used on cygwin: assembler.
19010 # The name of the directory that contains temporary libtool files.
19013 # How to create reloadable object files.
19014 reload_flag=$lt_reload_flag
19015 reload_cmds=$lt_reload_cmds
19017 # How to pass a linker flag through the compiler.
19018 wl=$lt_lt_prog_compiler_wl_RC
19020 # Object file suffix (normally "o").
19021 objext="$ac_objext"
19023 # Old archive suffix (normally "a").
19026 # Shared library suffix (normally ".so").
19027 shrext_cmds='$shrext_cmds'
19029 # Executable file suffix (normally "").
19032 # Additional compiler flags for building library objects.
19033 pic_flag=$lt_lt_prog_compiler_pic_RC
19036 # What is the maximum length of a command?
19037 max_cmd_len=$lt_cv_sys_max_cmd_len
19039 # Does compiler simultaneously support -c and -o options?
19040 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19042 # Must we lock files when doing compilation?
19043 need_locks=$lt_need_locks
19045 # Do we need the lib prefix for modules?
19046 need_lib_prefix=$need_lib_prefix
19048 # Do we need a version for libraries?
19049 need_version=$need_version
19051 # Whether dlopen is supported.
19052 dlopen_support=$enable_dlopen
19054 # Whether dlopen of programs is supported.
19055 dlopen_self=$enable_dlopen_self
19057 # Whether dlopen of statically linked programs is supported.
19058 dlopen_self_static=$enable_dlopen_self_static
19060 # Compiler flag to prevent dynamic linking.
19061 link_static_flag=$lt_lt_prog_compiler_static_RC
19063 # Compiler flag to turn off builtin functions.
19064 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19066 # Compiler flag to allow reflexive dlopens.
19067 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19069 # Compiler flag to generate shared objects directly from archives.
19070 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19072 # Compiler flag to generate thread-safe objects.
19073 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19075 # Library versioning type.
19076 version_type=$version_type
19078 # Format of library name prefix.
19079 libname_spec=$lt_libname_spec
19081 # List of archive names. First name is the real one, the rest are links.
19082 # The last name is the one that the linker finds with -lNAME.
19083 library_names_spec=$lt_library_names_spec
19085 # The coded name of the library, if different from the real name.
19086 soname_spec=$lt_soname_spec
19088 # Commands used to build and install an old-style archive.
19090 old_archive_cmds=$lt_old_archive_cmds_RC
19091 old_postinstall_cmds=$lt_old_postinstall_cmds
19092 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19094 # Create an old-style archive from a shared archive.
19095 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19097 # Create a temporary old-style archive to link instead of a shared archive.
19098 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19100 # Commands used to build and install a shared archive.
19101 archive_cmds=$lt_archive_cmds_RC
19102 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19103 postinstall_cmds=$lt_postinstall_cmds
19104 postuninstall_cmds=$lt_postuninstall_cmds
19106 # Commands used to build a loadable module (assumed same as above if empty)
19107 module_cmds=$lt_module_cmds_RC
19108 module_expsym_cmds=$lt_module_expsym_cmds_RC
19110 # Commands to strip libraries.
19111 old_striplib=$lt_old_striplib
19112 striplib=$lt_striplib
19114 # Dependencies to place before the objects being linked to create a
19116 predep_objects=$lt_predep_objects_RC
19118 # Dependencies to place after the objects being linked to create a
19120 postdep_objects=$lt_postdep_objects_RC
19122 # Dependencies to place before the objects being linked to create a
19124 predeps=$lt_predeps_RC
19126 # Dependencies to place after the objects being linked to create a
19128 postdeps=$lt_postdeps_RC
19130 # The library search path used internally by the compiler when linking
19131 # a shared library.
19132 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19134 # Method to check whether dependent libraries are shared objects.
19135 deplibs_check_method=$lt_deplibs_check_method
19137 # Command to use when deplibs_check_method == file_magic.
19138 file_magic_cmd=$lt_file_magic_cmd
19140 # Flag that allows shared libraries with undefined symbols to be built.
19141 allow_undefined_flag=$lt_allow_undefined_flag_RC
19143 # Flag that forces no undefined symbols.
19144 no_undefined_flag=$lt_no_undefined_flag_RC
19146 # Commands used to finish a libtool library installation in a directory.
19147 finish_cmds=$lt_finish_cmds
19149 # Same as above, but a single script fragment to be evaled but not shown.
19150 finish_eval=$lt_finish_eval
19152 # Take the output of nm and produce a listing of raw symbols and C names.
19153 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19155 # Transform the output of nm in a proper C declaration
19156 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19158 # Transform the output of nm in a C name address pair
19159 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19161 # This is the shared library runtime path variable.
19162 runpath_var=$runpath_var
19164 # This is the shared library path variable.
19165 shlibpath_var=$shlibpath_var
19167 # Is shlibpath searched before the hard-coded library search path?
19168 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19170 # How to hardcode a shared library path into an executable.
19171 hardcode_action=$hardcode_action_RC
19173 # Whether we should hardcode library paths into libraries.
19174 hardcode_into_libs=$hardcode_into_libs
19176 # Flag to hardcode \$libdir into a binary during linking.
19177 # This must work even if \$libdir does not exist.
19178 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19180 # If ld is used when linking, flag to hardcode \$libdir into
19181 # a binary during linking. This must work even if \$libdir does
19183 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19185 # Whether we need a single -rpath flag with a separated argument.
19186 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19188 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19189 # resulting binary.
19190 hardcode_direct=$hardcode_direct_RC
19192 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19193 # resulting binary.
19194 hardcode_minus_L=$hardcode_minus_L_RC
19196 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19197 # the resulting binary.
19198 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19200 # Set to yes if building a shared library automatically hardcodes DIR into the library
19201 # and all subsequent libraries and executables linked against it.
19202 hardcode_automatic=$hardcode_automatic_RC
19204 # Variables whose values should be saved in libtool wrapper scripts and
19205 # restored at relink time.
19206 variables_saved_for_relink="$variables_saved_for_relink"
19208 # Whether libtool must link a program against all its dependency libraries.
19209 link_all_deplibs=$link_all_deplibs_RC
19211 # Compile-time system search path for libraries
19212 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19214 # Run-time system search path for libraries
19215 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19217 # Fix the shell variable \$srcfile for the compiler.
19218 fix_srcfile_path=$lt_fix_srcfile_path
19220 # Set to yes if exported symbols are required.
19221 always_export_symbols=$always_export_symbols_RC
19223 # The commands to list exported symbols.
19224 export_symbols_cmds=$lt_export_symbols_cmds_RC
19226 # The commands to extract the exported symbol list from a shared archive.
19227 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19229 # Symbols that should not be listed in the preloaded symbols.
19230 exclude_expsyms=$lt_exclude_expsyms_RC
19232 # Symbols that must always be exported.
19233 include_expsyms=$lt_include_expsyms_RC
19235 # ### END LIBTOOL TAG CONFIG: $tagname
19241 # If there is no Makefile yet, we rely on a make rule to execute
19242 # `config.status --recheck' to rerun these tests and create the
19243 # libtool script then.
19244 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19245 if test -f "$ltmain_in"; then
19246 test -f Makefile
&& make "$ltmain"
19252 ac_cpp
='$CPP $CPPFLAGS'
19253 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19254 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19255 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19262 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19263 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19264 { (exit 1); exit 1; }; }
19268 # Append the new tag name to the list of available tags.
19269 if test -n "$tagname" ; then
19270 available_tags
="$available_tags $tagname"
19276 # Now substitute the updated list of available tags.
19277 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
19278 mv "${ofile}T" "$ofile"
19282 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19283 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19284 { (exit 1); exit 1; }; }
19290 # This can be used to rebuild libtool when needed
19291 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
19293 # Always use our own libtool.
19294 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
19296 # Prevent multiple expansion
19318 # Checks for libraries.
19320 # Checks for header files.
19322 # Checks for typedefs, structures, and compiler characteristics.
19323 { echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
19324 echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6; }
19325 if test "${ac_cv_header_stdbool_h+set}" = set; then
19326 echo $ECHO_N "(cached) $ECHO_C" >&6
19328 cat >conftest.
$ac_ext <<_ACEOF
19331 cat confdefs.h
>>conftest.
$ac_ext
19332 cat >>conftest.
$ac_ext <<_ACEOF
19333 /* end confdefs.h. */
19335 #include <stdbool.h>
19337 "error: bool is not defined"
19340 "error: false is not defined"
19343 "error: false is not 0"
19346 "error: true is not defined"
19349 "error: true is not 1"
19351 #ifndef __bool_true_false_are_defined
19352 "error: __bool_true_false_are_defined is not defined"
19355 struct s { _Bool s: 1; _Bool t; } s;
19357 char a[true == 1 ? 1 : -1];
19358 char b[false == 0 ? 1 : -1];
19359 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
19360 char d[(bool) 0.5 == true ? 1 : -1];
19362 char f[(_Bool) 0.0 == false ? 1 : -1];
19364 char h[sizeof (_Bool)];
19365 char i[sizeof s.t];
19366 enum { j = false, k = true, l = false * true, m = true * 256 };
19368 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
19369 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
19370 # if defined __xlc__ || defined __GNUC__
19371 /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0
19372 reported by James Lemley on 2005-10-05; see
19373 http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html
19374 This test is not quite right, since xlc is allowed to
19375 reject this program, as the initializer for xlcbug is
19376 not one of the forms that C requires support for.
19377 However, doing the test right would require a runtime
19378 test, and that would make cross-compilation harder.
19379 Let us hope that IBM fixes the xlc bug, and also adds
19380 support for this kind of constant expression. In the
19381 meantime, this test will reject xlc, which is OK, since
19382 our stdbool.h substitute should suffice. We also test
19383 this with GCC, where it should work, to detect more
19384 quickly whether someone messes up the test in the
19386 char digs[] = "0123456789";
19387 int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
19389 /* Catch a bug in an HP-UX C compiler. See
19390 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
19391 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
19402 /* Refer to every declared value, to avoid compiler optimizations. */
19403 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
19404 + !m + !n + !o + !p + !q + !pq);
19410 rm -f conftest.
$ac_objext
19411 if { (ac_try
="$ac_compile"
19412 case "(($ac_try" in
19413 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19414 *) ac_try_echo=$ac_try;;
19416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19417 (eval "$ac_compile") 2>conftest.er1
19419 grep -v '^ *+' conftest.er1 >conftest.err
19421 cat conftest.err >&5
19422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19423 (exit $ac_status); } && {
19424 test -z "$ac_c_werror_flag" ||
19425 test ! -s conftest.err
19426 } && test -s conftest.$ac_objext; then
19427 ac_cv_header_stdbool_h=yes
19429 echo "$as_me: failed program was:" >&5
19430 sed 's/^/| /' conftest.$ac_ext >&5
19432 ac_cv_header_stdbool_h=no
19435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19437 { echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
19438 echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6; }
19439 { echo "$as_me:$LINENO: checking for _Bool" >&5
19440 echo $ECHO_N "checking for _Bool... $ECHO_C" >&6; }
19441 if test "${ac_cv_type__Bool+set}" = set; then
19442 echo $ECHO_N "(cached) $ECHO_C" >&6
19444 cat >conftest.$ac_ext <<_ACEOF
19447 cat confdefs.h >>conftest.$ac_ext
19448 cat >>conftest.$ac_ext <<_ACEOF
19449 /* end confdefs.h. */
19450 $ac_includes_default
19451 typedef _Bool ac__type_new_;
19455 if ((ac__type_new_ *) 0)
19457 if (sizeof (ac__type_new_))
19463 rm -f conftest.$ac_objext
19464 if { (ac_try="$ac_compile"
19465 case "(($ac_try" in
19466 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19467 *) ac_try_echo
=$ac_try;;
19469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19470 (eval "$ac_compile") 2>conftest.er1
19472 grep -v '^ *+' conftest.er1
>conftest.err
19474 cat conftest.err
>&5
19475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19476 (exit $ac_status); } && {
19477 test -z "$ac_c_werror_flag" ||
19478 test ! -s conftest.err
19479 } && test -s conftest.
$ac_objext; then
19480 ac_cv_type__Bool
=yes
19482 echo "$as_me: failed program was:" >&5
19483 sed 's/^/| /' conftest.
$ac_ext >&5
19485 ac_cv_type__Bool
=no
19488 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19490 { echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
19491 echo "${ECHO_T}$ac_cv_type__Bool" >&6; }
19492 if test $ac_cv_type__Bool = yes; then
19494 cat >>confdefs.h
<<_ACEOF
19495 #define HAVE__BOOL 1
19501 if test $ac_cv_header_stdbool_h = yes; then
19503 cat >>confdefs.h
<<\_ACEOF
19504 #define HAVE_STDBOOL_H 1
19509 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19510 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
19511 if test "${ac_cv_c_const+set}" = set; then
19512 echo $ECHO_N "(cached) $ECHO_C" >&6
19514 cat >conftest.
$ac_ext <<_ACEOF
19517 cat confdefs.h
>>conftest.
$ac_ext
19518 cat >>conftest.
$ac_ext <<_ACEOF
19519 /* end confdefs.h. */
19524 /* FIXME: Include the comments suggested by Paul. */
19525 #ifndef __cplusplus
19526 /* Ultrix mips cc rejects this. */
19527 typedef int charset[2];
19529 /* SunOS 4.1.1 cc rejects this. */
19530 char const *const *pcpcc;
19532 /* NEC SVR4.0.2 mips cc rejects this. */
19533 struct point {int x, y;};
19534 static struct point const zero = {0,0};
19535 /* AIX XL C 1.02.0.0 rejects this.
19536 It does not let you subtract one const X* pointer from another in
19537 an arm of an if-expression whose if-part is not a constant
19539 const char *g = "string";
19540 pcpcc = &g + (g ? g-g : 0);
19541 /* HPUX 7.0 cc rejects these. */
19543 ppc = (char**) pcpcc;
19544 pcpcc = (char const *const *) ppc;
19545 { /* SCO 3.2v4 cc rejects this. */
19547 char const *s = 0 ? (char *) 0 : (char const *) 0;
19552 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19553 int x[] = {25, 17};
19554 const int *foo = &x[0];
19557 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19558 typedef const int *iptr;
19562 { /* AIX XL C 1.02.0.0 rejects this saying
19563 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19564 struct s { int j; const int *ap[3]; };
19565 struct s *b; b->j = 5;
19567 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19568 const int foo = 10;
19569 if (!foo) return 0;
19571 return !cs[0] && !zero.x;
19578 rm -f conftest.
$ac_objext
19579 if { (ac_try
="$ac_compile"
19580 case "(($ac_try" in
19581 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19582 *) ac_try_echo=$ac_try;;
19584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19585 (eval "$ac_compile") 2>conftest.er1
19587 grep -v '^ *+' conftest.er1 >conftest.err
19589 cat conftest.err >&5
19590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19591 (exit $ac_status); } && {
19592 test -z "$ac_c_werror_flag" ||
19593 test ! -s conftest.err
19594 } && test -s conftest.$ac_objext; then
19597 echo "$as_me: failed program was:" >&5
19598 sed 's/^/| /' conftest.$ac_ext >&5
19603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19605 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19606 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19607 if test $ac_cv_c_const = no; then
19609 cat >>confdefs.h <<\_ACEOF
19616 # Checks for library functions.
19617 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19618 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
19619 if test "${ac_cv_header_stdc+set}" = set; then
19620 echo $ECHO_N "(cached) $ECHO_C" >&6
19622 cat >conftest.$ac_ext <<_ACEOF
19625 cat confdefs.h >>conftest.$ac_ext
19626 cat >>conftest.$ac_ext <<_ACEOF
19627 /* end confdefs.h. */
19628 #include <stdlib.h>
19629 #include <stdarg.h>
19630 #include <string.h>
19641 rm -f conftest.$ac_objext
19642 if { (ac_try="$ac_compile"
19643 case "(($ac_try" in
19644 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19645 *) ac_try_echo
=$ac_try;;
19647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19648 (eval "$ac_compile") 2>conftest.er1
19650 grep -v '^ *+' conftest.er1
>conftest.err
19652 cat conftest.err
>&5
19653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19654 (exit $ac_status); } && {
19655 test -z "$ac_c_werror_flag" ||
19656 test ! -s conftest.err
19657 } && test -s conftest.
$ac_objext; then
19658 ac_cv_header_stdc
=yes
19660 echo "$as_me: failed program was:" >&5
19661 sed 's/^/| /' conftest.
$ac_ext >&5
19663 ac_cv_header_stdc
=no
19666 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19668 if test $ac_cv_header_stdc = yes; then
19669 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19670 cat >conftest.
$ac_ext <<_ACEOF
19673 cat confdefs.h
>>conftest.
$ac_ext
19674 cat >>conftest.
$ac_ext <<_ACEOF
19675 /* end confdefs.h. */
19676 #include <string.h>
19679 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19680 $EGREP "memchr" >/dev
/null
2>&1; then
19683 ac_cv_header_stdc
=no
19689 if test $ac_cv_header_stdc = yes; then
19690 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19691 cat >conftest.
$ac_ext <<_ACEOF
19694 cat confdefs.h
>>conftest.
$ac_ext
19695 cat >>conftest.
$ac_ext <<_ACEOF
19696 /* end confdefs.h. */
19697 #include <stdlib.h>
19700 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19701 $EGREP "free" >/dev
/null
2>&1; then
19704 ac_cv_header_stdc
=no
19710 if test $ac_cv_header_stdc = yes; then
19711 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19712 if test "$cross_compiling" = yes; then
19715 cat >conftest.
$ac_ext <<_ACEOF
19718 cat confdefs.h
>>conftest.
$ac_ext
19719 cat >>conftest.
$ac_ext <<_ACEOF
19720 /* end confdefs.h. */
19722 #include <stdlib.h>
19723 #if ((' ' & 0x0FF) == 0x020)
19724 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19725 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19727 # define ISLOWER(c) \
19728 (('a' <= (c) && (c) <= 'i') \
19729 || ('j' <= (c) && (c) <= 'r') \
19730 || ('s' <= (c) && (c) <= 'z'))
19731 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19734 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19739 for (i = 0; i < 256; i++)
19740 if (XOR (islower (i), ISLOWER (i))
19741 || toupper (i) != TOUPPER (i))
19746 rm -f conftest
$ac_exeext
19747 if { (ac_try
="$ac_link"
19748 case "(($ac_try" in
19749 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19750 *) ac_try_echo=$ac_try;;
19752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19753 (eval "$ac_link") 2>&5
19755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19756 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19757 { (case "(($ac_try" in
19758 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19759 *) ac_try_echo
=$ac_try;;
19761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19762 (eval "$ac_try") 2>&5
19764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19765 (exit $ac_status); }; }; then
19768 echo "$as_me: program exited with status $ac_status" >&5
19769 echo "$as_me: failed program was:" >&5
19770 sed 's/^/| /' conftest.
$ac_ext >&5
19772 ( exit $ac_status )
19773 ac_cv_header_stdc
=no
19775 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19781 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19782 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19783 if test $ac_cv_header_stdc = yes; then
19785 cat >>confdefs.h
<<\_ACEOF
19786 #define STDC_HEADERS 1
19793 for ac_func
in memset regcomp
19795 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19796 { echo "$as_me:$LINENO: checking for $ac_func" >&5
19797 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
19798 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19799 echo $ECHO_N "(cached) $ECHO_C" >&6
19801 cat >conftest.
$ac_ext <<_ACEOF
19804 cat confdefs.h
>>conftest.
$ac_ext
19805 cat >>conftest.
$ac_ext <<_ACEOF
19806 /* end confdefs.h. */
19807 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19808 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19809 #define $ac_func innocuous_$ac_func
19811 /* System header to define __stub macros and hopefully few prototypes,
19812 which can conflict with char $ac_func (); below.
19813 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19814 <limits.h> exists even on freestanding compilers. */
19817 # include <limits.h>
19819 # include <assert.h>
19824 /* Override any GCC internal prototype to avoid an error.
19825 Use char because int might match the return type of a GCC
19826 builtin and then its argument prototype would still apply. */
19831 /* The GNU C library defines this for functions which it implements
19832 to always fail with ENOSYS. Some functions are actually named
19833 something starting with __ and the normal name is an alias. */
19834 #if defined __stub_$ac_func || defined __stub___$ac_func
19841 return $ac_func ();
19846 rm -f conftest.
$ac_objext conftest
$ac_exeext
19847 if { (ac_try
="$ac_link"
19848 case "(($ac_try" in
19849 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19850 *) ac_try_echo=$ac_try;;
19852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19853 (eval "$ac_link") 2>conftest.er1
19855 grep -v '^ *+' conftest.er1 >conftest.err
19857 cat conftest.err >&5
19858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19859 (exit $ac_status); } && {
19860 test -z "$ac_c_werror_flag" ||
19861 test ! -s conftest.err
19862 } && test -s conftest$ac_exeext &&
19863 $as_test_x conftest$ac_exeext; then
19864 eval "$as_ac_var=yes"
19866 echo "$as_me: failed program was:" >&5
19867 sed 's/^/| /' conftest.$ac_ext >&5
19869 eval "$as_ac_var=no"
19872 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19873 conftest$ac_exeext conftest.$ac_ext
19875 ac_res=`eval echo '${'$as_ac_var'}'`
19876 { echo "$as_me:$LINENO: result: $ac_res" >&5
19877 echo "${ECHO_T}$ac_res" >&6; }
19878 if test `eval echo '${'$as_ac_var'}'` = yes; then
19879 cat >>confdefs.h <<_ACEOF
19880 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
19887 ac_config_files="$ac_config_files libconfigfile.pc Makefile src/Makefile"
19889 cat >confcache <<\_ACEOF
19890 # This file is a shell script that caches the results of configure
19891 # tests run on this system so they can be shared between configure
19892 # scripts and configure runs, see configure's option --config-cache.
19893 # It is not useful on other systems. If it contains results you don't
19894 # want to keep, you may remove or edit it.
19896 # config.status only pays attention to the cache file if you give it
19897 # the --recheck option to rerun configure.
19899 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
19900 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19901 # following values.
19905 # The following way of writing the cache mishandles newlines in values,
19906 # but we know of no workaround that is simple, portable, and efficient.
19907 # So, we kill variables containing newlines.
19908 # Ultrix sh set writes to stderr and can't be redirected directly,
19909 # and sets the high bit in the cache file unless we assign to the vars.
19911 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19912 eval ac_val
=\$
$ac_var
19916 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
19917 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
19920 _ | IFS | as_nl
) ;; #(
19921 *) $as_unset $ac_var ;;
19927 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19928 *${as_nl}ac_space
=\
*)
19929 # `set' does not quote correctly, so add quotes (double-quote
19930 # substitution turns \\\\ into \\, and sed turns \\ into \).
19933 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19936 # `set' quotes correctly as required by POSIX, so do not add quotes.
19937 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19946 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19948 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19950 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
19951 if test -w "$cache_file"; then
19952 test "x$cache_file" != "x/dev/null" &&
19953 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
19954 echo "$as_me: updating cache $cache_file" >&6;}
19955 cat confcache
>$cache_file
19957 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
19958 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19963 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
19964 # Let make expand exec_prefix.
19965 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
19967 DEFS
=-DHAVE_CONFIG_H
19971 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
19972 # 1. Remove the extension, and $U if already installed.
19973 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
19974 ac_i
=`echo "$ac_i" | sed "$ac_script"`
19975 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19976 # will be set to the directory where LIBOBJS objects are built.
19977 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19978 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
19980 LIBOBJS
=$ac_libobjs
19982 LTLIBOBJS
=$ac_ltlibobjs
19985 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19986 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
19987 Usually this means the macro was only invoked conditionally." >&5
19988 echo "$as_me: error: conditional \"AMDEP\" was never defined.
19989 Usually this means the macro was only invoked conditionally." >&2;}
19990 { (exit 1); exit 1; }; }
19992 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19993 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
19994 Usually this means the macro was only invoked conditionally." >&5
19995 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
19996 Usually this means the macro was only invoked conditionally." >&2;}
19997 { (exit 1); exit 1; }; }
19999 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20000 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
20001 Usually this means the macro was only invoked conditionally." >&5
20002 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
20003 Usually this means the macro was only invoked conditionally." >&2;}
20004 { (exit 1); exit 1; }; }
20007 : ${CONFIG_STATUS=./config.status}
20008 ac_clean_files_save
=$ac_clean_files
20009 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
20010 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20011 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20012 cat >$CONFIG_STATUS <<_ACEOF
20014 # Generated by $as_me.
20015 # Run this file to recreate the current configuration.
20016 # Compiler output produced by configure, useful for debugging
20017 # configure, is in config.log if it exists.
20020 ac_cs_recheck=false
20022 SHELL=\${CONFIG_SHELL-$SHELL}
20025 cat >>$CONFIG_STATUS <<\_ACEOF
20026 ## --------------------- ##
20027 ## M4sh Initialization. ##
20028 ## --------------------- ##
20030 # Be more Bourne compatible
20031 DUALCASE
=1; export DUALCASE
# for MKS sh
20032 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20035 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20036 # is contrary to our usage. Disable this feature.
20037 alias -g '${1+"$@"}'='"$@"'
20038 setopt NO_GLOB_SUBST
20040 case `(set -o) 2>/dev/null` in
20041 *posix
*) set -o posix
;;
20050 # Avoid depending upon Character Ranges.
20051 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
20052 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20053 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
20054 as_cr_digits
='0123456789'
20055 as_cr_alnum
=$as_cr_Letters$as_cr_digits
20057 # The user is always right.
20058 if test "${PATH_SEPARATOR+set}" != set; then
20059 echo "#! /bin/sh" >conf$$.sh
20060 echo "exit 0" >>conf$$.sh
20062 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
20070 # Support unset when possible.
20071 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
20079 # We need space, tab and new line, in precisely that order. Quoting is
20080 # there to prevent editors from complaining about space-tab.
20081 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20082 # splitting by setting IFS to empty value.)
20087 # Find who we are. Look in the path if we contain no directory separator.
20089 *[\\/]* ) as_myself
=$0 ;;
20090 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20091 for as_dir
in $PATH
20094 test -z "$as_dir" && as_dir
=.
20095 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
20101 # We did not find ourselves, most probably we were run as `sh COMMAND'
20102 # in which case we are not to be found in the path.
20103 if test "x$as_myself" = x
; then
20106 if test ! -f "$as_myself"; then
20107 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20108 { (exit 1); exit 1; }
20111 # Work around bugs in pre-3.0 UWIN ksh.
20112 for as_var
in ENV MAIL MAILPATH
20113 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
20121 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20122 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20123 LC_TELEPHONE LC_TIME
20125 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20126 eval $as_var=C
; export $as_var
20128 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
20132 # Required to use basename.
20133 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
20134 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
20140 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20141 as_basename
=basename
20147 # Name of the executable.
20148 as_me
=`$as_basename -- "$0" ||
20149 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20150 X"$0" : 'X\(//\)$' \| \
20151 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20153 sed '/^.*\/\([^/][^/]*\)\/*$/{
20172 as_lineno_1
=$LINENO
20173 as_lineno_2
=$LINENO
20174 test "x$as_lineno_1" != "x$as_lineno_2" &&
20175 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
20177 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20178 # uniformly replaced by the line number. The first 'sed' inserts a
20179 # line-number line after each line using $LINENO; the second 'sed'
20180 # does the real work. The second script uses 'N' to pair each
20181 # line-number line with the line containing $LINENO, and appends
20182 # trailing '-' during substitution so that $LINENO is not a special
20183 # case at line end.
20184 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20185 # scripts with optimization help from Paolo Bonzini. Blame Lee
20186 # E. McMahon (1931-1989) for sed's syntax. :-)
20198 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
20201 ' >$as_me.lineno
&&
20202 chmod +x
"$as_me.lineno" ||
20203 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
20204 { (exit 1); exit 1; }; }
20206 # Don't try to exec as it changes $[0], causing all sort of problems
20207 # (the dirname of $[0] is not the place where we might find the
20208 # original and so on. Autoconf is especially sensitive to this).
20209 .
"./$as_me.lineno"
20210 # Exit status is that of the last command.
20215 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
20221 ECHO_C
= ECHO_N
= ECHO_T
=
20222 case `echo -n x` in
20224 case `echo 'x\c'` in
20225 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
20232 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
20233 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
20239 rm -f conf$$ conf$$.exe conf$$.
file
20240 if test -d conf$$.dir
; then
20241 rm -f conf$$.dir
/conf$$.
file
20247 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
20249 # ... but there are two gotchas:
20250 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20251 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20252 # In both cases, we have to default to `cp -p'.
20253 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
20255 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20260 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
20261 rmdir conf$$.dir
2>/dev
/null
20263 if mkdir
-p .
2>/dev
/null
; then
20266 test -d .
/-p && rmdir .
/-p
20270 if test -x / >/dev
/null
2>&1; then
20271 as_test_x
='test -x'
20273 if ls -dL / >/dev
/null
2>&1; then
20280 if test -d "$1"; then
20286 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
20287 ???[sx]*):;;*)false;;esac;fi
20291 as_executable_p
=$as_test_x
20293 # Sed expression to map a string onto a valid CPP name.
20294 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20296 # Sed expression to map a string onto a valid variable name.
20297 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20302 # Save the log message, to keep $[0] and so on meaningful, and to
20303 # report actual input values of CONFIG_FILES etc. instead of their
20304 # values after options handling.
20306 This file was extended by libconfigfile $as_me 1.0, which was
20307 generated by GNU Autoconf 2.61. Invocation command line was
20309 CONFIG_FILES = $CONFIG_FILES
20310 CONFIG_HEADERS = $CONFIG_HEADERS
20311 CONFIG_LINKS = $CONFIG_LINKS
20312 CONFIG_COMMANDS = $CONFIG_COMMANDS
20315 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20320 cat >>$CONFIG_STATUS <<_ACEOF
20321 # Files that config.status was made for.
20322 config_files="$ac_config_files"
20323 config_headers="$ac_config_headers"
20324 config_commands="$ac_config_commands"
20328 cat >>$CONFIG_STATUS <<\_ACEOF
20330 \`$as_me' instantiates files from templates according to the
20331 current configuration.
20333 Usage: $0 [OPTIONS] [FILE]...
20335 -h, --help print this help, then exit
20336 -V, --version print version number and configuration settings, then exit
20337 -q, --quiet do not print progress messages
20338 -d, --debug don't remove temporary files
20339 --recheck update $as_me by reconfiguring in the same conditions
20340 --file=FILE[:TEMPLATE]
20341 instantiate the configuration file FILE
20342 --header=FILE[:TEMPLATE]
20343 instantiate the configuration header FILE
20345 Configuration files:
20348 Configuration headers:
20351 Configuration commands:
20354 Report bugs to <bug-autoconf@gnu.org>."
20357 cat >>$CONFIG_STATUS <<_ACEOF
20359 libconfigfile config.status 1.0
20360 configured by $0, generated by GNU Autoconf 2.61,
20361 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
20363 Copyright (C) 2006 Free Software Foundation, Inc.
20364 This config.status script is free software; the Free Software Foundation
20365 gives unlimited permission to copy, distribute and modify it."
20373 cat >>$CONFIG_STATUS <<\_ACEOF
20374 # If no file are specified by the user, then we need to provide default
20375 # value. By we need to know if files were specified by the user.
20381 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20382 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
20393 # Handling of the options.
20394 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
20396 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
20397 echo "$ac_cs_version"; exit ;;
20398 --debug |
--debu |
--deb |
--de |
--d |
-d )
20400 --file |
--fil |
--fi |
--f )
20402 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
20403 ac_need_defaults
=false
;;
20404 --header |
--heade |
--head |
--hea )
20406 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
20407 ac_need_defaults
=false
;;
20409 # Conflict between --help and --header
20410 { echo "$as_me: error: ambiguous option: $1
20411 Try \`$0 --help' for more information." >&2
20412 { (exit 1); exit 1; }; };;
20413 --help |
--hel |
-h )
20414 echo "$ac_cs_usage"; exit ;;
20415 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
20416 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
20419 # This is an error.
20420 -*) { echo "$as_me: error: unrecognized option: $1
20421 Try \`$0 --help' for more information." >&2
20422 { (exit 1); exit 1; }; } ;;
20424 *) ac_config_targets
="$ac_config_targets $1"
20425 ac_need_defaults
=false
;;
20431 ac_configure_extra_args
=
20433 if $ac_cs_silent; then
20435 ac_configure_extra_args
="$ac_configure_extra_args --silent"
20439 cat >>$CONFIG_STATUS <<_ACEOF
20440 if \$ac_cs_recheck; then
20441 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
20442 CONFIG_SHELL=$SHELL
20443 export CONFIG_SHELL
20444 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20448 cat >>$CONFIG_STATUS <<\_ACEOF
20452 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20453 ## Running $as_me. ##
20459 cat >>$CONFIG_STATUS <<_ACEOF
20463 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20467 cat >>$CONFIG_STATUS <<\_ACEOF
20469 # Handling of arguments.
20470 for ac_config_target
in $ac_config_targets
20472 case $ac_config_target in
20473 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
20474 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
20475 "libconfigfile.pc") CONFIG_FILES
="$CONFIG_FILES libconfigfile.pc" ;;
20476 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
20477 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
20479 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
20480 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
20481 { (exit 1); exit 1; }; };;
20486 # If the user did not use the arguments to specify the items to instantiate,
20487 # then the envvar interface is used. Set only those that are not.
20488 # We use the long form for the default assignment because of an extremely
20489 # bizarre bug on SunOS 4.1.3.
20490 if $ac_need_defaults; then
20491 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
20492 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
20493 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
20496 # Have a temporary directory for convenience. Make it in the build tree
20497 # simply because there is no reason against having it here, and in addition,
20498 # creating and moving files from /tmp can sometimes cause problems.
20499 # Hook for its removal unless debugging.
20500 # Note that there is a small window in which the directory will not be cleaned:
20501 # after its creation but before its name has been assigned to `$tmp'.
20505 trap 'exit_status=$?
20506 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
20508 trap '{ (exit 1); exit 1; }' 1 2 13 15
20510 # Create a (secure) tmp directory for tmp files.
20513 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20514 test -n "$tmp" && test -d "$tmp"
20517 tmp
=.
/conf$$
-$RANDOM
20518 (umask 077 && mkdir
"$tmp")
20521 echo "$me: cannot create a temporary directory in ." >&2
20522 { (exit 1); exit 1; }
20526 # Set up the sed scripts for CONFIG_FILES section.
20529 # No need to generate the scripts if there are no CONFIG_FILES.
20530 # This happens for instance when ./config.status config.h
20531 if test -n "$CONFIG_FILES"; then
20538 for ac_last_try
in false false false false false
:; do
20539 cat >conf$
$subs.
sed <<_ACEOF
20540 SHELL!$SHELL$ac_delim
20541 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
20542 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
20543 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
20544 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
20545 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
20546 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
20547 exec_prefix!$exec_prefix$ac_delim
20548 prefix!$prefix$ac_delim
20549 program_transform_name!$program_transform_name$ac_delim
20550 bindir!$bindir$ac_delim
20551 sbindir!$sbindir$ac_delim
20552 libexecdir!$libexecdir$ac_delim
20553 datarootdir!$datarootdir$ac_delim
20554 datadir!$datadir$ac_delim
20555 sysconfdir!$sysconfdir$ac_delim
20556 sharedstatedir!$sharedstatedir$ac_delim
20557 localstatedir!$localstatedir$ac_delim
20558 includedir!$includedir$ac_delim
20559 oldincludedir!$oldincludedir$ac_delim
20560 docdir!$docdir$ac_delim
20561 infodir!$infodir$ac_delim
20562 htmldir!$htmldir$ac_delim
20563 dvidir!$dvidir$ac_delim
20564 pdfdir!$pdfdir$ac_delim
20565 psdir!$psdir$ac_delim
20566 libdir!$libdir$ac_delim
20567 localedir!$localedir$ac_delim
20568 mandir!$mandir$ac_delim
20569 DEFS!$DEFS$ac_delim
20570 ECHO_C!$ECHO_C$ac_delim
20571 ECHO_N!$ECHO_N$ac_delim
20572 ECHO_T!$ECHO_T$ac_delim
20573 LIBS!$LIBS$ac_delim
20574 build_alias!$build_alias$ac_delim
20575 host_alias!$host_alias$ac_delim
20576 target_alias!$target_alias$ac_delim
20577 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
20578 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
20579 INSTALL_DATA!$INSTALL_DATA$ac_delim
20580 am__isrc!$am__isrc$ac_delim
20581 CYGPATH_W!$CYGPATH_W$ac_delim
20582 PACKAGE!$PACKAGE$ac_delim
20583 VERSION!$VERSION$ac_delim
20584 ACLOCAL!$ACLOCAL$ac_delim
20585 AUTOCONF!$AUTOCONF$ac_delim
20586 AUTOMAKE!$AUTOMAKE$ac_delim
20587 AUTOHEADER!$AUTOHEADER$ac_delim
20588 MAKEINFO!$MAKEINFO$ac_delim
20589 install_sh!$install_sh$ac_delim
20590 STRIP!$STRIP$ac_delim
20591 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
20592 mkdir_p!$mkdir_p$ac_delim
20594 SET_MAKE!$SET_MAKE$ac_delim
20595 am__leading_dot!$am__leading_dot$ac_delim
20596 AMTAR!$AMTAR$ac_delim
20597 am__tar!$am__tar$ac_delim
20598 am__untar!$am__untar$ac_delim
20600 CXXFLAGS!$CXXFLAGS$ac_delim
20601 LDFLAGS!$LDFLAGS$ac_delim
20602 CPPFLAGS!$CPPFLAGS$ac_delim
20603 ac_ct_CXX!$ac_ct_CXX$ac_delim
20604 EXEEXT!$EXEEXT$ac_delim
20605 OBJEXT!$OBJEXT$ac_delim
20606 DEPDIR!$DEPDIR$ac_delim
20607 am__include!$am__include$ac_delim
20608 am__quote!$am__quote$ac_delim
20609 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
20610 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
20611 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
20612 CXXDEPMODE!$CXXDEPMODE$ac_delim
20613 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
20614 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
20616 CFLAGS!$CFLAGS$ac_delim
20617 ac_ct_CC!$ac_ct_CC$ac_delim
20618 CCDEPMODE!$CCDEPMODE$ac_delim
20619 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
20620 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
20621 build!$build$ac_delim
20622 build_cpu!$build_cpu$ac_delim
20623 build_vendor!$build_vendor$ac_delim
20624 build_os!$build_os$ac_delim
20625 host!$host$ac_delim
20626 host_cpu!$host_cpu$ac_delim
20627 host_vendor!$host_vendor$ac_delim
20628 host_os!$host_os$ac_delim
20630 GREP!$GREP$ac_delim
20631 EGREP!$EGREP$ac_delim
20632 LN_S!$LN_S$ac_delim
20633 ECHO!$ECHO$ac_delim
20635 RANLIB!$RANLIB$ac_delim
20639 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
20641 elif $ac_last_try; then
20642 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
20643 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
20644 { (exit 1); exit 1; }; }
20646 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
20650 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
20651 if test -n "$ac_eof"; then
20652 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
20653 ac_eof
=`expr $ac_eof + 1`
20656 cat >>$CONFIG_STATUS <<_ACEOF
20657 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
20658 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20661 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
20662 s/^/s,@/; s/!/@,|#_!!_#|/
20665 s/'"$ac_delim"'$/,g/; t
20667 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
20668 ' >>$CONFIG_STATUS <conf$
$subs.
sed
20669 rm -f conf$
$subs.
sed
20670 cat >>$CONFIG_STATUS <<_ACEOF
20676 for ac_last_try
in false false false false false
:; do
20677 cat >conf$
$subs.
sed <<_ACEOF
20678 CXXCPP!$CXXCPP$ac_delim
20680 FFLAGS!$FFLAGS$ac_delim
20681 ac_ct_F77!$ac_ct_F77$ac_delim
20682 LIBTOOL!$LIBTOOL$ac_delim
20683 LIBOBJS!$LIBOBJS$ac_delim
20684 LTLIBOBJS!$LTLIBOBJS$ac_delim
20687 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 7; then
20689 elif $ac_last_try; then
20690 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
20691 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
20692 { (exit 1); exit 1; }; }
20694 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
20698 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
20699 if test -n "$ac_eof"; then
20700 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
20701 ac_eof
=`expr $ac_eof + 1`
20704 cat >>$CONFIG_STATUS <<_ACEOF
20705 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
20706 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
20709 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
20710 s/^/s,@/; s/!/@,|#_!!_#|/
20713 s/'"$ac_delim"'$/,g/; t
20715 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
20716 ' >>$CONFIG_STATUS <conf$
$subs.
sed
20717 rm -f conf$
$subs.
sed
20718 cat >>$CONFIG_STATUS <<_ACEOF
20725 # VPATH may cause trouble with some makes, so we remove $(srcdir),
20726 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
20727 # trailing colons and then remove the whole line if VPATH becomes empty
20728 # (actually we leave an empty line to preserve line numbers).
20729 if test "x$srcdir" = x.
; then
20730 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
20731 s/:*\$(srcdir):*/:/
20732 s/:*\${srcdir}:*/:/
20734 s/^\([^=]*=[ ]*\):*/\1/
20740 cat >>$CONFIG_STATUS <<\_ACEOF
20741 fi # test -n "$CONFIG_FILES"
20744 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
20747 :[FHLC
]) ac_mode
=$ac_tag; continue;;
20749 case $ac_mode$ac_tag in
20751 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
20752 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
20753 { (exit 1); exit 1; }; };;
20754 :[FH
]-) ac_tag
=-:-;;
20755 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
20772 -) ac_f
="$tmp/stdin";;
20773 *) # Look for the file first in the build tree, then in the source tree
20774 # (if the path is not absolute). The absolute path cannot be DOS-style,
20775 # because $ac_f cannot contain `:'.
20779 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
20781 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
20782 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
20783 { (exit 1); exit 1; }; };;
20785 ac_file_inputs
="$ac_file_inputs $ac_f"
20788 # Let's still pretend it is `configure' which instantiates (i.e., don't
20789 # use $as_me), people would be surprised to read:
20790 # /* config.h. Generated by config.status. */
20791 configure_input
="Generated from "`IFS=:
20792 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
20793 if test x
"$ac_file" != x-
; then
20794 configure_input
="$ac_file. $configure_input"
20795 { echo "$as_me:$LINENO: creating $ac_file" >&5
20796 echo "$as_me: creating $ac_file" >&6;}
20800 *:-:* |
*:-) cat >"$tmp/stdin";;
20805 ac_dir
=`$as_dirname -- "$ac_file" ||
20806 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20807 X"$ac_file" : 'X\(//\)[^/]' \| \
20808 X"$ac_file" : 'X\(//\)$' \| \
20809 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20811 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20815 /^X\(\/\/\)[^/].*/{
20830 -*) as_dir
=.
/$as_dir;;
20832 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
20836 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
20837 *) as_qdir
=$as_dir;;
20839 as_dirs
="'$as_qdir' $as_dirs"
20840 as_dir
=`$as_dirname -- "$as_dir" ||
20841 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20842 X"$as_dir" : 'X\(//\)[^/]' \| \
20843 X"$as_dir" : 'X\(//\)$' \| \
20844 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20846 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20850 /^X\(\/\/\)[^/].*/{
20863 test -d "$as_dir" && break
20865 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
20866 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
20867 echo "$as_me: error: cannot create directory $as_dir" >&2;}
20868 { (exit 1); exit 1; }; }; }
20872 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
20874 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
20875 # A ".." for each directory in $ac_dir_suffix.
20876 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
20877 case $ac_top_builddir_sub in
20878 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
20879 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
20882 ac_abs_top_builddir
=$ac_pwd
20883 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
20884 # for backward compatibility:
20885 ac_top_builddir
=$ac_top_build_prefix
20888 .
) # We are building in place.
20890 ac_top_srcdir
=$ac_top_builddir_sub
20891 ac_abs_top_srcdir
=$ac_pwd ;;
20892 [\\/]* | ?
:[\\/]* ) # Absolute name.
20893 ac_srcdir
=$srcdir$ac_dir_suffix;
20894 ac_top_srcdir
=$srcdir
20895 ac_abs_top_srcdir
=$srcdir ;;
20896 *) # Relative name.
20897 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
20898 ac_top_srcdir
=$ac_top_build_prefix$srcdir
20899 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
20901 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
20911 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
20912 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
20914 ac_MKDIR_P
=$MKDIR_P
20916 [\\/$
]* | ?
:[\\/]* ) ;;
20917 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
20921 cat >>$CONFIG_STATUS <<\_ACEOF
20922 # If the template does not know about datarootdir, expand it.
20923 # FIXME: This hack should be removed a few years after 2.60.
20924 ac_datarootdir_hack
=; ac_datarootdir_seen
=
20926 case `sed -n '/datarootdir/ {
20935 ' $ac_file_inputs` in
20936 *datarootdir
*) ac_datarootdir_seen
=yes;;
20937 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
20938 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20939 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20941 cat >>$CONFIG_STATUS <<_ACEOF
20942 ac_datarootdir_hack='
20943 s&@datadir@&$datadir&g
20944 s&@docdir@&$docdir&g
20945 s&@infodir@&$infodir&g
20946 s&@localedir@&$localedir&g
20947 s&@mandir@&$mandir&g
20948 s&\\\${datarootdir}&$datarootdir&g' ;;
20952 # Neutralize VPATH when `$srcdir' = `.'.
20953 # Shell code in configure.ac might set extrasub.
20954 # FIXME: do we really want to maintain this feature?
20955 cat >>$CONFIG_STATUS <<_ACEOF
20959 cat >>$CONFIG_STATUS <<\_ACEOF
20961 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
20962 s
&@configure_input@
&$configure_input&;t t
20963 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
20964 s
&@srcdir@
&$ac_srcdir&;t t
20965 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
20966 s
&@top_srcdir@
&$ac_top_srcdir&;t t
20967 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
20968 s
&@builddir@
&$ac_builddir&;t t
20969 s
&@abs_builddir@
&$ac_abs_builddir&;t t
20970 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
20971 s
&@INSTALL@
&$ac_INSTALL&;t t
20972 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
20973 $ac_datarootdir_hack
20974 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
20976 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20977 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
20978 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
20979 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
20980 which seems to be undefined. Please make sure it is defined." >&5
20981 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
20982 which seems to be undefined. Please make sure it is defined." >&2;}
20986 -) cat "$tmp/out"; rm -f "$tmp/out";;
20987 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
20996 # Transform confdefs.h into a sed script `conftest.defines', that
20997 # substitutes the proper values into config.h.in to produce config.h.
20998 rm -f conftest.defines conftest.
tail
20999 # First, append a space to every undef/define line, to ease matching.
21000 echo 's/$/ /' >conftest.defines
21001 # Then, protect against being on the right side of a sed subst, or in
21002 # an unquoted here document, in config.status. If some macros were
21003 # called several times there might be several #defines for the same
21004 # symbol, which is useless. But do not sort them, since the last
21005 # AC_DEFINE must be honored.
21006 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
21007 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
21008 # NAME is the cpp macro being defined, VALUE is the value it is being given.
21009 # PARAMS is the parameter list in the macro definition--in most cases, it's
21010 # just an empty string.
21011 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
21012 ac_dB
='\\)[ (].*,\\1define\\2'
21020 s/^[ ]*#[ ]*define[ ][ ]*//
21025 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
21026 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
21027 ' >>conftest.defines
21029 # Remove the space that was appended to ease matching.
21030 # Then replace #undef with comments. This is necessary, for
21031 # example, in the case of _POSIX_SOURCE, which is predefined and required
21032 # on some systems where configure will not decide to define it.
21033 # (The regexp can be short, since the line contains either #define or #undef.)
21035 s,^[ #]*u.*,/* & */,' >>conftest.defines
21037 # Break up conftest.defines:
21038 ac_max_sed_lines
=50
21040 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
21041 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
21042 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
21044 ac_in
='$ac_file_inputs'
21045 ac_out
='"$tmp/out1"'
21046 ac_nxt
='"$tmp/out2"'
21050 # Write a here document:
21051 cat >>$CONFIG_STATUS <<_ACEOF
21052 # First, check the format of the line:
21053 cat >"\$tmp/defines.sed" <<\\CEOF
21054 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
21055 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
21059 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
21061 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
21062 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
21063 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
21064 grep . conftest.
tail >/dev
/null ||
break
21065 rm -f conftest.defines
21066 mv conftest.
tail conftest.defines
21068 rm -f conftest.defines conftest.
tail
21070 echo "ac_result=$ac_in" >>$CONFIG_STATUS
21071 cat >>$CONFIG_STATUS <<\_ACEOF
21072 if test x
"$ac_file" != x-
; then
21073 echo "/* $configure_input */" >"$tmp/config.h"
21074 cat "$ac_result" >>"$tmp/config.h"
21075 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
21076 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21077 echo "$as_me: $ac_file is unchanged" >&6;}
21080 mv "$tmp/config.h" $ac_file
21083 echo "/* $configure_input */"
21087 # Compute $ac_file's index in $config_headers.
21089 for _am_header
in $config_headers :; do
21090 case $_am_header in
21091 $ac_file |
$ac_file:* )
21094 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
21097 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
21098 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21099 X$ac_file : 'X\(//\)[^/]' \| \
21100 X$ac_file : 'X\(//\)$' \| \
21101 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
21103 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21107 /^X\(\/\/\)[^/].*/{
21119 s/.*/./; q'`/stamp-h
$_am_stamp_count
21122 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
21123 echo "$as_me: executing $ac_file commands" >&6;}
21128 case $ac_file$ac_mode in
21129 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
21130 # Strip MF so we end up with the name of the file.
21131 mf
=`echo "$mf" | sed -e 's/:.*$//'`
21132 # Check whether this is an Automake generated Makefile or not.
21133 # We used to match only the files named `Makefile.in', but
21134 # some people rename them; so instead we look at the file content.
21135 # Grep'ing the first line is not enough: some people post-process
21136 # each Makefile.in and add a new line on top of each file to say so.
21137 # Grep'ing the whole file is not good either: AIX grep has a line
21138 # limit of 2048, but all sed's we know have understand at least 4000.
21139 if sed 10q
"$mf" |
grep '^#.*generated by automake' > /dev
/null
2>&1; then
21140 dirpart
=`$as_dirname -- "$mf" ||
21141 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21142 X"$mf" : 'X\(//\)[^/]' \| \
21143 X"$mf" : 'X\(//\)$' \| \
21144 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
21146 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21150 /^X\(\/\/\)[^/].*/{
21166 # Extract the definition of DEPDIR, am__include, and am__quote
21167 # from the Makefile without running `make'.
21168 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
21169 test -z "$DEPDIR" && continue
21170 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
21171 test -z "am__include" && continue
21172 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
21173 # When using ansi2knr, U may be empty or an underscore; expand it
21174 U
=`sed -n 's/^U = //p' < "$mf"`
21175 # Find all dependency output files, they are included files with
21176 # $(DEPDIR) in their names. We invoke sed twice because it is the
21177 # simplest approach to changing $(DEPDIR) to its actual value in the
21179 for file in `sed -n "
21180 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21181 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21182 # Make sure the directory exists.
21183 test -f "$dirpart/$file" && continue
21184 fdir
=`$as_dirname -- "$file" ||
21185 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21186 X"$file" : 'X\(//\)[^/]' \| \
21187 X"$file" : 'X\(//\)$' \| \
21188 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21190 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21194 /^X\(\/\/\)[^/].*/{
21207 { as_dir
=$dirpart/$fdir
21209 -*) as_dir
=.
/$as_dir;;
21211 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
21215 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
21216 *) as_qdir
=$as_dir;;
21218 as_dirs
="'$as_qdir' $as_dirs"
21219 as_dir
=`$as_dirname -- "$as_dir" ||
21220 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21221 X"$as_dir" : 'X\(//\)[^/]' \| \
21222 X"$as_dir" : 'X\(//\)$' \| \
21223 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21225 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21229 /^X\(\/\/\)[^/].*/{
21242 test -d "$as_dir" && break
21244 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
21245 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
21246 echo "$as_me: error: cannot create directory $as_dir" >&2;}
21247 { (exit 1); exit 1; }; }; }
21248 # echo "creating $dirpart/$file"
21249 echo '# dummy' > "$dirpart/$file"
21258 { (exit 0); exit 0; }
21260 chmod +x
$CONFIG_STATUS
21261 ac_clean_files
=$ac_clean_files_save
21264 # configure is writing to config.log, and then calls config.status.
21265 # config.status does its own redirection, appending to config.log.
21266 # Unfortunately, on DOS this fails, as config.log is still kept open
21267 # by configure, so config.status won't be able to write to it; its
21268 # output is simply discarded. So we exec the FD to /dev/null,
21269 # effectively closing config.log, so it can be properly (re)opened and
21270 # appended to by config.status. When coming back to configure, we
21271 # need to make the FD available again.
21272 if test "$no_create" != yes; then
21274 ac_config_status_args
=
21275 test "$silent" = yes &&
21276 ac_config_status_args
="$ac_config_status_args --quiet"
21278 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
21280 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21281 # would make configure fail if this is the last instruction.
21282 $ac_cs_success ||
{ (exit 1); exit 1; }