2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for libhmac 1.00.
5 # Report bugs to <courier-users@lists.sourceforge.net>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 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
='libhmac'
730 PACKAGE_TARNAME
='libhmac'
731 PACKAGE_VERSION
='1.00'
732 PACKAGE_STRING
='libhmac 1.00'
733 PACKAGE_BUGREPORT
='courier-users@lists.sourceforge.net'
735 ac_unique_file
="hmac.h"
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
879 ac_precious_vars
='build_alias
896 # Initialize some variables set by options.
898 ac_init_version
=false
899 # The variables have the same names as the options, with
900 # dashes changed to underlines.
908 program_transform_name
=s
,x
,x
,
916 # Installation directory options.
917 # These are left unexpanded so users can "make install exec_prefix=/foo"
918 # and all the variables that are supposed to be based on exec_prefix
919 # by default will actually change.
920 # Use braces instead of parens because sh, perl, etc. also accept them.
921 # (The list follows the same order as the GNU Coding Standards.)
922 bindir
='${exec_prefix}/bin'
923 sbindir
='${exec_prefix}/sbin'
924 libexecdir
='${exec_prefix}/libexec'
925 datarootdir
='${prefix}/share'
926 datadir
='${datarootdir}'
927 sysconfdir
='${prefix}/etc'
928 sharedstatedir
='${prefix}/com'
929 localstatedir
='${prefix}/var'
930 includedir
='${prefix}/include'
931 oldincludedir
='/usr/include'
932 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
933 infodir
='${datarootdir}/info'
938 libdir
='${exec_prefix}/lib'
939 localedir
='${datarootdir}/locale'
940 mandir
='${datarootdir}/man'
946 # If the previous option needs an argument, assign it.
947 if test -n "$ac_prev"; then
948 eval $ac_prev=\
$ac_option
954 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
958 # Accept the important Cygnus configure options, so we can diagnose typos.
960 case $ac_dashdash$ac_option in
964 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
966 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
969 -build |
--build |
--buil |
--bui |
--bu)
970 ac_prev
=build_alias
;;
971 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
972 build_alias
=$ac_optarg ;;
974 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
975 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
976 ac_prev
=cache_file
;;
977 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
978 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
979 cache_file
=$ac_optarg ;;
982 cache_file
=config.cache
;;
984 -datadir |
--datadir |
--datadi |
--datad)
986 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
987 datadir
=$ac_optarg ;;
989 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
990 |
--dataroo |
--dataro |
--datar)
991 ac_prev
=datarootdir
;;
992 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
993 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
994 datarootdir
=$ac_optarg ;;
996 -disable-* |
--disable-*)
997 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
998 # Reject names that are not valid shell variable names.
999 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1000 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1001 { (exit 1); exit 1; }; }
1002 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1003 eval enable_
$ac_feature=no
;;
1005 -docdir |
--docdir |
--docdi |
--doc |
--do)
1007 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1008 docdir
=$ac_optarg ;;
1010 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1012 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1013 dvidir
=$ac_optarg ;;
1015 -enable-* |
--enable-*)
1016 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1017 # Reject names that are not valid shell variable names.
1018 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1019 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1020 { (exit 1); exit 1; }; }
1021 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1022 eval enable_
$ac_feature=\
$ac_optarg ;;
1024 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1025 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1026 |
--exec |
--exe |
--ex)
1027 ac_prev
=exec_prefix
;;
1028 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1029 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1030 |
--exec=* |
--exe=* |
--ex=*)
1031 exec_prefix
=$ac_optarg ;;
1033 -gas |
--gas |
--ga |
--g)
1034 # Obsolete; use --with-gas.
1037 -help |
--help |
--hel |
--he |
-h)
1038 ac_init_help
=long
;;
1039 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1040 ac_init_help
=recursive
;;
1041 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1042 ac_init_help
=short
;;
1044 -host |
--host |
--hos |
--ho)
1045 ac_prev
=host_alias
;;
1046 -host=* |
--host=* |
--hos=* |
--ho=*)
1047 host_alias
=$ac_optarg ;;
1049 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1051 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1053 htmldir
=$ac_optarg ;;
1055 -includedir |
--includedir |
--includedi |
--included |
--include \
1056 |
--includ |
--inclu |
--incl |
--inc)
1057 ac_prev
=includedir
;;
1058 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1059 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1060 includedir
=$ac_optarg ;;
1062 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1064 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1065 infodir
=$ac_optarg ;;
1067 -libdir |
--libdir |
--libdi |
--libd)
1069 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1070 libdir
=$ac_optarg ;;
1072 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1073 |
--libexe |
--libex |
--libe)
1074 ac_prev
=libexecdir
;;
1075 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1076 |
--libexe=* |
--libex=* |
--libe=*)
1077 libexecdir
=$ac_optarg ;;
1079 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1080 ac_prev
=localedir
;;
1081 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1082 localedir
=$ac_optarg ;;
1084 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1085 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1086 ac_prev
=localstatedir
;;
1087 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1088 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1089 localstatedir
=$ac_optarg ;;
1091 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1093 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1094 mandir
=$ac_optarg ;;
1096 -nfp |
--nfp |
--nf)
1097 # Obsolete; use --without-fp.
1100 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1101 |
--no-cr |
--no-c |
-n)
1104 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1105 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1108 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1109 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1110 |
--oldin |
--oldi |
--old |
--ol |
--o)
1111 ac_prev
=oldincludedir
;;
1112 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1113 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1114 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1115 oldincludedir
=$ac_optarg ;;
1117 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1119 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1120 prefix
=$ac_optarg ;;
1122 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1123 |
--program-pre |
--program-pr |
--program-p)
1124 ac_prev
=program_prefix
;;
1125 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1126 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1127 program_prefix
=$ac_optarg ;;
1129 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1130 |
--program-suf |
--program-su |
--program-s)
1131 ac_prev
=program_suffix
;;
1132 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1133 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1134 program_suffix
=$ac_optarg ;;
1136 -program-transform-name |
--program-transform-name \
1137 |
--program-transform-nam |
--program-transform-na \
1138 |
--program-transform-n |
--program-transform- \
1139 |
--program-transform |
--program-transfor \
1140 |
--program-transfo |
--program-transf \
1141 |
--program-trans |
--program-tran \
1142 |
--progr-tra |
--program-tr |
--program-t)
1143 ac_prev
=program_transform_name
;;
1144 -program-transform-name=* |
--program-transform-name=* \
1145 |
--program-transform-nam=* |
--program-transform-na=* \
1146 |
--program-transform-n=* |
--program-transform-=* \
1147 |
--program-transform=* |
--program-transfor=* \
1148 |
--program-transfo=* |
--program-transf=* \
1149 |
--program-trans=* |
--program-tran=* \
1150 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1151 program_transform_name
=$ac_optarg ;;
1153 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1155 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1156 pdfdir
=$ac_optarg ;;
1158 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1160 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1163 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1164 |
-silent |
--silent |
--silen |
--sile |
--sil)
1167 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1169 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1171 sbindir
=$ac_optarg ;;
1173 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1174 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1175 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1177 ac_prev
=sharedstatedir
;;
1178 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1179 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1180 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1182 sharedstatedir
=$ac_optarg ;;
1184 -site |
--site |
--sit)
1186 -site=* |
--site=* |
--sit=*)
1189 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1191 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1192 srcdir
=$ac_optarg ;;
1194 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1195 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1196 ac_prev
=sysconfdir
;;
1197 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1198 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1199 sysconfdir
=$ac_optarg ;;
1201 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1202 ac_prev
=target_alias
;;
1203 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1204 target_alias
=$ac_optarg ;;
1206 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1209 -version |
--version |
--versio |
--versi |
--vers |
-V)
1210 ac_init_version
=: ;;
1213 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1214 # Reject names that are not valid shell variable names.
1215 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1216 { echo "$as_me: error: invalid package name: $ac_package" >&2
1217 { (exit 1); exit 1; }; }
1218 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1219 eval with_
$ac_package=\
$ac_optarg ;;
1221 -without-* |
--without-*)
1222 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1223 # Reject names that are not valid shell variable names.
1224 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1225 { echo "$as_me: error: invalid package name: $ac_package" >&2
1226 { (exit 1); exit 1; }; }
1227 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1228 eval with_
$ac_package=no
;;
1231 # Obsolete; use --with-x.
1234 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1235 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1236 ac_prev
=x_includes
;;
1237 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1238 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1239 x_includes
=$ac_optarg ;;
1241 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1242 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1243 ac_prev
=x_libraries
;;
1244 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1245 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1246 x_libraries
=$ac_optarg ;;
1248 -*) { echo "$as_me: error: unrecognized option: $ac_option
1249 Try \`$0 --help' for more information." >&2
1250 { (exit 1); exit 1; }; }
1254 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1255 # Reject names that are not valid shell variable names.
1256 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1257 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1258 { (exit 1); exit 1; }; }
1259 eval $ac_envvar=\
$ac_optarg
1260 export $ac_envvar ;;
1263 # FIXME: should be removed in autoconf 3.0.
1264 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1265 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1266 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1267 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1273 if test -n "$ac_prev"; then
1274 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1275 { echo "$as_me: error: missing argument to $ac_option" >&2
1276 { (exit 1); exit 1; }; }
1279 # Be sure to have absolute directory names.
1280 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1281 datadir sysconfdir sharedstatedir localstatedir includedir \
1282 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1283 libdir localedir mandir
1285 eval ac_val
=\$
$ac_var
1287 [\\/$
]* | ?
:[\\/]* ) continue;;
1288 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1290 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1291 { (exit 1); exit 1; }; }
1294 # There might be people who depend on the old broken behavior: `$host'
1295 # used to hold the argument of --host etc.
1296 # FIXME: To remove some day.
1299 target
=$target_alias
1301 # FIXME: To remove some day.
1302 if test "x$host_alias" != x
; then
1303 if test "x$build_alias" = x
; then
1304 cross_compiling
=maybe
1305 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1306 If a cross compiler is detected then cross compile mode will be used." >&2
1307 elif test "x$build_alias" != "x$host_alias"; then
1313 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1315 test "$silent" = yes && exec 6>/dev
/null
1318 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1319 ac_ls_di
=`ls -di .` &&
1320 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1321 { echo "$as_me: error: Working directory cannot be determined" >&2
1322 { (exit 1); exit 1; }; }
1323 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1324 { echo "$as_me: error: pwd does not report name of working directory" >&2
1325 { (exit 1); exit 1; }; }
1328 # Find the source files, if location was not specified.
1329 if test -z "$srcdir"; then
1330 ac_srcdir_defaulted
=yes
1331 # Try the directory containing this script, then the parent directory.
1332 ac_confdir
=`$as_dirname -- "$0" ||
1333 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1334 X"$0" : 'X\(//\)[^/]' \| \
1335 X"$0" : 'X\(//\)$' \| \
1336 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1356 if test ! -r "$srcdir/$ac_unique_file"; then
1360 ac_srcdir_defaulted
=no
1362 if test ! -r "$srcdir/$ac_unique_file"; then
1363 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1364 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1365 { (exit 1); exit 1; }; }
1367 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1369 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1370 { (exit 1); exit 1; }; }
1372 # When building in place, set srcdir=.
1373 if test "$ac_abs_confdir" = "$ac_pwd"; then
1376 # Remove unnecessary trailing slashes from srcdir.
1377 # Double slashes in file names in object file debugging info
1378 # mess up M-x gdb in Emacs.
1380 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1382 for ac_var
in $ac_precious_vars; do
1383 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1384 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1385 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1386 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1390 # Report the --help message.
1392 if test "$ac_init_help" = "long"; then
1393 # Omit some internal or obsolete options to make the list less imposing.
1394 # This message is too long to be a string in the A/UX 3.1 sh.
1396 \`configure' configures libhmac 1.00 to adapt to many kinds of systems.
1398 Usage: $0 [OPTION]... [VAR=VALUE]...
1400 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1401 VAR=VALUE. See below for descriptions of some of the useful variables.
1403 Defaults for the options are specified in brackets.
1406 -h, --help display this help and exit
1407 --help=short display options specific to this package
1408 --help=recursive display the short help of all the included packages
1409 -V, --version display version information and exit
1410 -q, --quiet, --silent do not print \`checking...' messages
1411 --cache-file=FILE cache test results in FILE [disabled]
1412 -C, --config-cache alias for \`--cache-file=config.cache'
1413 -n, --no-create do not create output files
1414 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1416 Installation directories:
1417 --prefix=PREFIX install architecture-independent files in PREFIX
1418 [$ac_default_prefix]
1419 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1422 By default, \`make install' will install all the files in
1423 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1424 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1425 for instance \`--prefix=\$HOME'.
1427 For better control, use the options below.
1429 Fine tuning of the installation directories:
1430 --bindir=DIR user executables [EPREFIX/bin]
1431 --sbindir=DIR system admin executables [EPREFIX/sbin]
1432 --libexecdir=DIR program executables [EPREFIX/libexec]
1433 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1434 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1435 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1436 --libdir=DIR object code libraries [EPREFIX/lib]
1437 --includedir=DIR C header files [PREFIX/include]
1438 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1439 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1440 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1441 --infodir=DIR info documentation [DATAROOTDIR/info]
1442 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1443 --mandir=DIR man documentation [DATAROOTDIR/man]
1444 --docdir=DIR documentation root [DATAROOTDIR/doc/libhmac]
1445 --htmldir=DIR html documentation [DOCDIR]
1446 --dvidir=DIR dvi documentation [DOCDIR]
1447 --pdfdir=DIR pdf documentation [DOCDIR]
1448 --psdir=DIR ps documentation [DOCDIR]
1454 --program-prefix=PREFIX prepend PREFIX to installed program names
1455 --program-suffix=SUFFIX append SUFFIX to installed program names
1456 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1459 --build=BUILD configure
for building on BUILD
[guessed
]
1460 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1464 if test -n "$ac_init_help"; then
1465 case $ac_init_help in
1466 short | recursive
) echo "Configuration of libhmac 1.00:";;
1471 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1472 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1473 --disable-dependency-tracking speeds up one-time build
1474 --enable-dependency-tracking do not reject slow dependency extractors
1475 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1476 --enable-static[=PKGS
] build static libraries
[default
=yes]
1477 --enable-fast-install[=PKGS
]
1478 optimize
for fast installation
[default
=yes]
1479 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1482 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1483 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1484 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1485 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1487 --with-tags[=TAGS
] include additional configurations
[automatic
]
1489 Some influential environment variables
:
1490 CC C compiler
command
1491 CFLAGS C compiler flags
1492 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1493 nonstandard directory
<lib dir
>
1494 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1495 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1496 you have headers
in a nonstandard directory
<include dir
>
1498 CXX C
++ compiler
command
1499 CXXFLAGS C
++ compiler flags
1500 CXXCPP C
++ preprocessor
1501 F77 Fortran
77 compiler
command
1502 FFLAGS Fortran
77 compiler flags
1504 Use these variables to override the choices made by
`configure' or to help
1505 it to find libraries and programs with nonstandard names/locations.
1507 Report bugs to <courier-users@lists.sourceforge.net>.
1512 if test "$ac_init_help" = "recursive"; then
1513 # If there are subdirs, report their specific --help.
1514 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1515 test -d "$ac_dir" || continue
1519 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1521 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1522 # A ".." for each directory in $ac_dir_suffix.
1523 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1524 case $ac_top_builddir_sub in
1525 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1526 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1529 ac_abs_top_builddir=$ac_pwd
1530 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1531 # for backward compatibility:
1532 ac_top_builddir=$ac_top_build_prefix
1535 .) # We are building in place.
1537 ac_top_srcdir=$ac_top_builddir_sub
1538 ac_abs_top_srcdir=$ac_pwd ;;
1539 [\\/]* | ?:[\\/]* ) # Absolute name.
1540 ac_srcdir=$srcdir$ac_dir_suffix;
1541 ac_top_srcdir=$srcdir
1542 ac_abs_top_srcdir=$srcdir ;;
1544 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1545 ac_top_srcdir=$ac_top_build_prefix$srcdir
1546 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1548 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1550 cd "$ac_dir" || { ac_status=$?; continue; }
1551 # Check for guested configure.
1552 if test -f "$ac_srcdir/configure.gnu"; then
1554 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1555 elif test -f "$ac_srcdir/configure"; then
1557 $SHELL "$ac_srcdir/configure" --help=recursive
1559 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1561 cd "$ac_pwd" || { ac_status=$?; break; }
1565 test -n "$ac_init_help" && exit $ac_status
1566 if $ac_init_version; then
1568 libhmac configure 1.00
1569 generated by GNU Autoconf 2.61
1571 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1572 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1573 This configure script is free software; the Free Software Foundation
1574 gives unlimited permission to copy, distribute and modify it.
1578 cat >config.log <<_ACEOF
1579 This file contains any messages produced by compilers while
1580 running configure, to aid debugging if configure makes a mistake.
1582 It was created by libhmac $as_me 1.00, which was
1583 generated by GNU Autoconf 2.61. Invocation command line was
1595 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1596 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1597 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1598 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1599 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1601 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1602 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1604 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1605 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1606 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1607 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1608 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1609 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1610 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1618 test -z "$as_dir" && as_dir=.
1619 echo "PATH: $as_dir"
1635 # Keep a trace of the command line.
1636 # Strip out --no-create and --no-recursion so they do not pile up.
1637 # Strip out --silent because we don't want to record it for future runs.
1638 # Also quote any args containing shell meta-characters.
1639 # Make two passes to allow for proper duplicate-argument suppression.
1643 ac_must_keep_next=false
1649 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1650 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1651 | -silent | --silent | --silen | --sile | --sil)
1654 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1657 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1659 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1660 if test $ac_must_keep_next = true; then
1661 ac_must_keep_next=false # Got value, back to normal.
1664 *=* | --config-cache | -C | -disable-* | --disable-* \
1665 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1666 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1667 | -with-* | --with-* | -without-* | --without-* | --x)
1668 case "$ac_configure_args0 " in
1669 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1672 -* ) ac_must_keep_next=true ;;
1675 ac_configure_args="$ac_configure_args '$ac_arg'"
1680 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1681 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1683 # When interrupted or exit'd, cleanup temporary files, and complete
1684 # config.log. We remove comments because anyway the quotes in there
1685 # would cause problems or look ugly.
1686 # WARNING: Use '\'' to represent an apostrophe within the trap.
1687 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1688 trap 'exit_status=$?
1689 # Save into config.log some information that might help in debugging.
1694 ## ---------------- ##
1695 ## Cache variables. ##
1696 ## ---------------- ##
1699 # The following way of writing the cache mishandles newlines in values,
1701 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1702 eval ac_val=\$$ac_var
1706 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1707 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1710 _ | IFS | as_nl) ;; #(
1711 *) $as_unset $ac_var ;;
1716 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1717 *${as_nl}ac_space=\ *)
1719 "s/'\''/'\''\\\\'\'''\''/g;
1720 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1723 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1731 ## ----------------- ##
1732 ## Output variables. ##
1733 ## ----------------- ##
1736 for ac_var in $ac_subst_vars
1738 eval ac_val=\$$ac_var
1740 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1742 echo "$ac_var='\''$ac_val'\''"
1746 if test -n "$ac_subst_files"; then
1748 ## ------------------- ##
1749 ## File substitutions. ##
1750 ## ------------------- ##
1753 for ac_var in $ac_subst_files
1755 eval ac_val=\$$ac_var
1757 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1759 echo "$ac_var='\''$ac_val'\''"
1764 if test -s confdefs.h; then
1774 test "$ac_signal" != 0 &&
1775 echo "$as_me: caught signal $ac_signal"
1776 echo "$as_me: exit $exit_status"
1778 rm -f core *.core core.conftest.* &&
1779 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1782 for ac_signal in 1 2 13 15; do
1783 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1787 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1788 rm -f -r conftest* confdefs.h
1790 # Predefined preprocessor variables.
1792 cat >>confdefs.h <<_ACEOF
1793 #define PACKAGE_NAME "$PACKAGE_NAME"
1797 cat >>confdefs.h <<_ACEOF
1798 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1802 cat >>confdefs.h <<_ACEOF
1803 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1807 cat >>confdefs.h <<_ACEOF
1808 #define PACKAGE_STRING "$PACKAGE_STRING"
1812 cat >>confdefs.h <<_ACEOF
1813 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1817 # Let the site file select an alternate cache file if it wants to.
1818 # Prefer explicitly selected file to automatically selected ones.
1819 if test -n "$CONFIG_SITE"; then
1820 set x "$CONFIG_SITE"
1821 elif test "x$prefix" != xNONE; then
1822 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1824 set x "$ac_default_prefix/share/config.site" \
1825 "$ac_default_prefix/etc/config.site"
1830 if test -r "$ac_site_file"; then
1831 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1832 echo "$as_me: loading site script $ac_site_file" >&6;}
1833 sed 's/^/| /' "$ac_site_file" >&5
1838 if test -r "$cache_file"; then
1839 # Some versions of bash will fail to source /dev/null (special
1840 # files actually), so we avoid doing that.
1841 if test -f "$cache_file"; then
1842 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1843 echo "$as_me: loading cache $cache_file" >&6;}
1845 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1846 *) . "./$cache_file";;
1850 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1851 echo "$as_me: creating cache $cache_file" >&6;}
1855 # Check that the precious variables saved in the cache have kept the same
1857 ac_cache_corrupted=false
1858 for ac_var in $ac_precious_vars; do
1859 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1860 eval ac_new_set=\$ac_env_${ac_var}_set
1861 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1862 eval ac_new_val=\$ac_env_${ac_var}_value
1863 case $ac_old_set,$ac_new_set in
1865 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1866 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1867 ac_cache_corrupted=: ;;
1869 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1870 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1871 ac_cache_corrupted=: ;;
1874 if test "x$ac_old_val" != "x$ac_new_val"; then
1875 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1876 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1877 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1878 echo "$as_me: former value
: $ac_old_val" >&2;}
1879 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1880 echo "$as_me: current value
: $ac_new_val" >&2;}
1881 ac_cache_corrupted=:
1884 # Pass precious variables to config.status.
1885 if test "$ac_new_set" = set; then
1887 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1888 *) ac_arg=$ac_var=$ac_new_val ;;
1890 case " $ac_configure_args " in
1891 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1892 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1896 if $ac_cache_corrupted; then
1897 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1898 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1899 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1900 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1901 { (exit 1); exit 1; }; }
1929 ac_cpp='$CPP $CPPFLAGS'
1930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1936 >confdefs.h # Kill PACKAGE_ macros
1939 am__api_version='1.10'
1942 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1943 if test -f "$ac_dir/install-sh"; then
1945 ac_install_sh="$ac_aux_dir/install-sh -c"
1947 elif test -f "$ac_dir/install.sh"; then
1949 ac_install_sh="$ac_aux_dir/install.sh -c"
1951 elif test -f "$ac_dir/shtool"; then
1953 ac_install_sh="$ac_aux_dir/shtool install -c"
1957 if test -z "$ac_aux_dir"; then
1958 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1959 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1960 { (exit 1); exit 1; }; }
1963 # These three variables are undocumented and unsupported,
1964 # and are intended to be withdrawn in a future Autoconf release.
1965 # They can cause serious problems if a builder's source tree is in a directory
1966 # whose full name contains unusual characters.
1967 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1968 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1969 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1972 # Find a good install program. We prefer a C program (faster),
1973 # so one script is as good as another. But avoid the broken or
1974 # incompatible versions:
1975 # SysV /etc/install, /usr/sbin/install
1976 # SunOS /usr/etc/install
1977 # IRIX /sbin/install
1979 # AmigaOS /C/install, which installs bootblocks on floppy discs
1980 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1981 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1982 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1983 # OS/2's system install, which has a completely different semantic
1984 # ./install, which can be erroneously created by make from ./install.sh.
1985 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1986 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1987 if test -z "$INSTALL"; then
1988 if test "${ac_cv_path_install+set}" = set; then
1989 echo $ECHO_N "(cached) $ECHO_C" >&6
1991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1995 test -z "$as_dir" && as_dir=.
1996 # Account for people who put trailing slashes in PATH elements.
1998 ./ | .// | /cC/* | \
1999 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2000 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2003 # OSF1 and SCO ODT 3.0 have their own names for install.
2004 # Don't use installbsd from OSF since it installs stuff as root
2006 for ac_prog in ginstall scoinst install; do
2007 for ac_exec_ext in '' $ac_executable_extensions; do
2008 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2009 if test $ac_prog = install &&
2010 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2011 # AIX install. It has an incompatible calling convention.
2013 elif test $ac_prog = install &&
2014 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2015 # program-specific install script used by HP pwplus--don't use.
2018 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2031 if test "${ac_cv_path_install+set}" = set; then
2032 INSTALL=$ac_cv_path_install
2034 # As a last resort, use the slow shell script. Don't cache a
2035 # value for INSTALL within a source directory, because that will
2036 # break other packages using the cache if that directory is
2037 # removed, or if the value is a relative name.
2038 INSTALL=$ac_install_sh
2041 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2042 echo "${ECHO_T}$INSTALL" >&6; }
2044 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2045 # It thinks the first close brace ends the variable substitution.
2046 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2048 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2050 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2052 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2053 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2056 echo timestamp > conftest.file
2057 # Do `set' in a subshell so we don't clobber the current shell
's
2058 # arguments. Must try -L first in case configure is actually a
2059 # symlink; some systems play weird games with the mod time of symlinks
2060 # (eg FreeBSD returns the mod time of the symlink's containing
2063 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2064 if test "$*" = "X"; then
2066 set X
`ls -t $srcdir/configure conftest.file`
2069 if test "$*" != "X $srcdir/configure conftest.file" \
2070 && test "$*" != "X conftest.file $srcdir/configure"; then
2072 # If neither matched, then we have a broken ls. This can happen
2073 # if, for instance, CONFIG_SHELL is bash and it inherits a
2074 # broken ls alias from the environment. This has actually
2075 # happened. Such a system could not be considered "sane".
2076 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2077 alias in your environment" >&5
2078 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2079 alias in your environment" >&2;}
2080 { (exit 1); exit 1; }; }
2083 test "$2" = conftest.
file
2089 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2090 Check your system clock" >&5
2091 echo "$as_me: error: newly created file is older than distributed files!
2092 Check your system clock" >&2;}
2093 { (exit 1); exit 1; }; }
2095 { echo "$as_me:$LINENO: result: yes" >&5
2096 echo "${ECHO_T}yes" >&6; }
2097 test "$program_prefix" != NONE
&&
2098 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2099 # Use a double $ so make ignores it.
2100 test "$program_suffix" != NONE
&&
2101 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2102 # Double any \ or $. echo might interpret backslashes.
2103 # By default was `s,x,x', remove it if useless.
2104 cat <<\_ACEOF
>conftest.
sed
2105 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2107 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2110 # expand $ac_aux_dir to an absolute path
2111 am_aux_dir
=`cd $ac_aux_dir && pwd`
2113 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2114 # Use eval to expand $SHELL
2115 if eval "$MISSING --run true"; then
2116 am_missing_run
="$MISSING --run "
2119 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2120 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2123 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2124 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2125 if test -z "$MKDIR_P"; then
2126 if test "${ac_cv_path_mkdir+set}" = set; then
2127 echo $ECHO_N "(cached) $ECHO_C" >&6
2129 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2130 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2133 test -z "$as_dir" && as_dir
=.
2134 for ac_prog
in mkdir gmkdir
; do
2135 for ac_exec_ext
in '' $ac_executable_extensions; do
2136 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2137 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2138 'mkdir (GNU coreutils) '* | \
2139 'mkdir (coreutils) '* | \
2140 'mkdir (fileutils) '4.1*)
2141 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2151 if test "${ac_cv_path_mkdir+set}" = set; then
2152 MKDIR_P
="$ac_cv_path_mkdir -p"
2154 # As a last resort, use the slow shell script. Don't cache a
2155 # value for MKDIR_P within a source directory, because that will
2156 # break other packages using the cache if that directory is
2157 # removed, or if the value is a relative name.
2158 test -d .
/--version && rmdir .
/--version
2159 MKDIR_P
="$ac_install_sh -d"
2162 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2163 echo "${ECHO_T}$MKDIR_P" >&6; }
2167 [\\/$
]* | ?
:[\\/]*) ;;
2168 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2171 for ac_prog
in gawk mawk nawk
awk
2173 # Extract the first word of "$ac_prog", so it can be a program name with args.
2174 set dummy
$ac_prog; ac_word
=$2
2175 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2177 if test "${ac_cv_prog_AWK+set}" = set; then
2178 echo $ECHO_N "(cached) $ECHO_C" >&6
2180 if test -n "$AWK"; then
2181 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2187 test -z "$as_dir" && as_dir
=.
2188 for ac_exec_ext
in '' $ac_executable_extensions; do
2189 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2190 ac_cv_prog_AWK
="$ac_prog"
2191 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2201 if test -n "$AWK"; then
2202 { echo "$as_me:$LINENO: result: $AWK" >&5
2203 echo "${ECHO_T}$AWK" >&6; }
2205 { echo "$as_me:$LINENO: result: no" >&5
2206 echo "${ECHO_T}no" >&6; }
2210 test -n "$AWK" && break
2213 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2214 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2215 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2216 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2217 echo $ECHO_N "(cached) $ECHO_C" >&6
2219 cat >conftest.
make <<\_ACEOF
2222 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2224 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2225 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2227 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2229 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2233 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2234 { echo "$as_me:$LINENO: result: yes" >&5
2235 echo "${ECHO_T}yes" >&6; }
2238 { echo "$as_me:$LINENO: result: no" >&5
2239 echo "${ECHO_T}no" >&6; }
2240 SET_MAKE
="MAKE=${MAKE-make}"
2243 rm -rf .tst
2>/dev
/null
2244 mkdir .tst
2>/dev
/null
2245 if test -d .tst
; then
2250 rmdir .tst
2>/dev
/null
2252 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2253 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2254 # is not polluted with repeated "-I."
2255 am__isrc
=' -I$(srcdir)'
2256 # test to see if srcdir already configured
2257 if test -f $srcdir/config.status
; then
2258 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2259 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2260 { (exit 1); exit 1; }; }
2264 # test whether we have cygpath
2265 if test -z "$CYGPATH_W"; then
2266 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2267 CYGPATH_W
='cygpath -w'
2274 # Define the identity of the package.
2279 # Some tools Automake needs.
2281 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2284 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2287 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2290 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2293 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2295 install_sh
=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2297 # Installed binaries are usually stripped using `strip' when the user
2298 # run `make install-strip'. However `strip' might not be the right
2299 # tool to use in cross-compilation environments, therefore Automake
2300 # will honor the `STRIP' environment variable to overrule this program.
2301 if test "$cross_compiling" != no
; then
2302 if test -n "$ac_tool_prefix"; then
2303 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2304 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2305 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2306 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2307 if test "${ac_cv_prog_STRIP+set}" = set; then
2308 echo $ECHO_N "(cached) $ECHO_C" >&6
2310 if test -n "$STRIP"; then
2311 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2313 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2317 test -z "$as_dir" && as_dir
=.
2318 for ac_exec_ext
in '' $ac_executable_extensions; do
2319 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2320 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2321 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2330 STRIP
=$ac_cv_prog_STRIP
2331 if test -n "$STRIP"; then
2332 { echo "$as_me:$LINENO: result: $STRIP" >&5
2333 echo "${ECHO_T}$STRIP" >&6; }
2335 { echo "$as_me:$LINENO: result: no" >&5
2336 echo "${ECHO_T}no" >&6; }
2341 if test -z "$ac_cv_prog_STRIP"; then
2343 # Extract the first word of "strip", so it can be a program name with args.
2344 set dummy strip
; ac_word
=$2
2345 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2346 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2347 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2348 echo $ECHO_N "(cached) $ECHO_C" >&6
2350 if test -n "$ac_ct_STRIP"; then
2351 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2353 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2357 test -z "$as_dir" && as_dir
=.
2358 for ac_exec_ext
in '' $ac_executable_extensions; do
2359 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2360 ac_cv_prog_ac_ct_STRIP
="strip"
2361 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2370 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2371 if test -n "$ac_ct_STRIP"; then
2372 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2373 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2375 { echo "$as_me:$LINENO: result: no" >&5
2376 echo "${ECHO_T}no" >&6; }
2379 if test "x$ac_ct_STRIP" = x
; then
2382 case $cross_compiling:$ac_tool_warned in
2384 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2385 whose name does not start with the host triplet. If you think this
2386 configuration is useful to you, please write to autoconf@gnu.org." >&5
2387 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2388 whose name does not start with the host triplet. If you think this
2389 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2390 ac_tool_warned
=yes ;;
2395 STRIP
="$ac_cv_prog_STRIP"
2399 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2401 # We need awk for the "check" target. The system "awk" is bad on
2403 # Always define AMTAR for backward compatibility.
2405 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2407 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2415 ac_config_headers
="$ac_config_headers config.h"
2418 for ac_prog
in gawk mawk nawk
awk
2420 # Extract the first word of "$ac_prog", so it can be a program name with args.
2421 set dummy
$ac_prog; ac_word
=$2
2422 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2423 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2424 if test "${ac_cv_prog_AWK+set}" = set; then
2425 echo $ECHO_N "(cached) $ECHO_C" >&6
2427 if test -n "$AWK"; then
2428 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2430 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2434 test -z "$as_dir" && as_dir
=.
2435 for ac_exec_ext
in '' $ac_executable_extensions; do
2436 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2437 ac_cv_prog_AWK
="$ac_prog"
2438 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2448 if test -n "$AWK"; then
2449 { echo "$as_me:$LINENO: result: $AWK" >&5
2450 echo "${ECHO_T}$AWK" >&6; }
2452 { echo "$as_me:$LINENO: result: no" >&5
2453 echo "${ECHO_T}no" >&6; }
2457 test -n "$AWK" && break
2460 # Find a good install program. We prefer a C program (faster),
2461 # so one script is as good as another. But avoid the broken or
2462 # incompatible versions:
2463 # SysV /etc/install, /usr/sbin/install
2464 # SunOS /usr/etc/install
2465 # IRIX /sbin/install
2467 # AmigaOS /C/install, which installs bootblocks on floppy discs
2468 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2469 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2470 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2471 # OS/2's system install, which has a completely different semantic
2472 # ./install, which can be erroneously created by make from ./install.sh.
2473 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2474 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2475 if test -z "$INSTALL"; then
2476 if test "${ac_cv_path_install+set}" = set; then
2477 echo $ECHO_N "(cached) $ECHO_C" >&6
2479 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2483 test -z "$as_dir" && as_dir
=.
2484 # Account for people who put trailing slashes in PATH elements.
2486 .
/ | .
// |
/cC
/* | \
2487 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2488 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2491 # OSF1 and SCO ODT 3.0 have their own names for install.
2492 # Don't use installbsd from OSF since it installs stuff as root
2494 for ac_prog
in ginstall scoinst
install; do
2495 for ac_exec_ext
in '' $ac_executable_extensions; do
2496 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2497 if test $ac_prog = install &&
2498 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2499 # AIX install. It has an incompatible calling convention.
2501 elif test $ac_prog = install &&
2502 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2503 # program-specific install script used by HP pwplus--don't use.
2506 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2519 if test "${ac_cv_path_install+set}" = set; then
2520 INSTALL
=$ac_cv_path_install
2522 # As a last resort, use the slow shell script. Don't cache a
2523 # value for INSTALL within a source directory, because that will
2524 # break other packages using the cache if that directory is
2525 # removed, or if the value is a relative name.
2526 INSTALL
=$ac_install_sh
2529 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2530 echo "${ECHO_T}$INSTALL" >&6; }
2532 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2533 # It thinks the first close brace ends the variable substitution.
2534 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2536 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2538 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2540 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
2541 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
2543 if test "$LN_S" = "ln -s"; then
2544 { echo "$as_me:$LINENO: result: yes" >&5
2545 echo "${ECHO_T}yes" >&6; }
2547 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2548 echo "${ECHO_T}no, using $LN_S" >&6; }
2552 ac_cpp
='$CPP $CPPFLAGS'
2553 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2554 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2555 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2556 if test -n "$ac_tool_prefix"; then
2557 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2558 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2559 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2560 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2561 if test "${ac_cv_prog_CC+set}" = set; then
2562 echo $ECHO_N "(cached) $ECHO_C" >&6
2564 if test -n "$CC"; then
2565 ac_cv_prog_CC
="$CC" # Let the user override the test.
2567 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2571 test -z "$as_dir" && as_dir
=.
2572 for ac_exec_ext
in '' $ac_executable_extensions; do
2573 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2574 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2575 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2585 if test -n "$CC"; then
2586 { echo "$as_me:$LINENO: result: $CC" >&5
2587 echo "${ECHO_T}$CC" >&6; }
2589 { echo "$as_me:$LINENO: result: no" >&5
2590 echo "${ECHO_T}no" >&6; }
2595 if test -z "$ac_cv_prog_CC"; then
2597 # Extract the first word of "gcc", so it can be a program name with args.
2598 set dummy gcc
; ac_word
=$2
2599 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2600 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2601 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2602 echo $ECHO_N "(cached) $ECHO_C" >&6
2604 if test -n "$ac_ct_CC"; then
2605 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2607 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2611 test -z "$as_dir" && as_dir
=.
2612 for ac_exec_ext
in '' $ac_executable_extensions; do
2613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2614 ac_cv_prog_ac_ct_CC
="gcc"
2615 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2624 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2625 if test -n "$ac_ct_CC"; then
2626 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2627 echo "${ECHO_T}$ac_ct_CC" >&6; }
2629 { echo "$as_me:$LINENO: result: no" >&5
2630 echo "${ECHO_T}no" >&6; }
2633 if test "x$ac_ct_CC" = x
; then
2636 case $cross_compiling:$ac_tool_warned in
2638 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2639 whose name does not start with the host triplet. If you think this
2640 configuration is useful to you, please write to autoconf@gnu.org." >&5
2641 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2642 whose name does not start with the host triplet. If you think this
2643 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2644 ac_tool_warned
=yes ;;
2652 if test -z "$CC"; then
2653 if test -n "$ac_tool_prefix"; then
2654 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2655 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2656 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2657 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2658 if test "${ac_cv_prog_CC+set}" = set; then
2659 echo $ECHO_N "(cached) $ECHO_C" >&6
2661 if test -n "$CC"; then
2662 ac_cv_prog_CC
="$CC" # Let the user override the test.
2664 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2668 test -z "$as_dir" && as_dir
=.
2669 for ac_exec_ext
in '' $ac_executable_extensions; do
2670 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2671 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2672 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2682 if test -n "$CC"; then
2683 { echo "$as_me:$LINENO: result: $CC" >&5
2684 echo "${ECHO_T}$CC" >&6; }
2686 { echo "$as_me:$LINENO: result: no" >&5
2687 echo "${ECHO_T}no" >&6; }
2693 if test -z "$CC"; then
2694 # Extract the first word of "cc", so it can be a program name with args.
2695 set dummy cc
; ac_word
=$2
2696 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2697 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2698 if test "${ac_cv_prog_CC+set}" = set; then
2699 echo $ECHO_N "(cached) $ECHO_C" >&6
2701 if test -n "$CC"; then
2702 ac_cv_prog_CC
="$CC" # Let the user override the test.
2705 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2709 test -z "$as_dir" && as_dir
=.
2710 for ac_exec_ext
in '' $ac_executable_extensions; do
2711 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2712 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2713 ac_prog_rejected
=yes
2717 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2724 if test $ac_prog_rejected = yes; then
2725 # We found a bogon in the path, so make sure we never use it.
2726 set dummy
$ac_cv_prog_CC
2728 if test $# != 0; then
2729 # We chose a different compiler from the bogus one.
2730 # However, it has the same basename, so the bogon will be chosen
2731 # first if we set CC to just the basename; use the full file name.
2733 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2739 if test -n "$CC"; then
2740 { echo "$as_me:$LINENO: result: $CC" >&5
2741 echo "${ECHO_T}$CC" >&6; }
2743 { echo "$as_me:$LINENO: result: no" >&5
2744 echo "${ECHO_T}no" >&6; }
2749 if test -z "$CC"; then
2750 if test -n "$ac_tool_prefix"; then
2751 for ac_prog
in cl.exe
2753 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2754 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2755 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2756 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2757 if test "${ac_cv_prog_CC+set}" = set; then
2758 echo $ECHO_N "(cached) $ECHO_C" >&6
2760 if test -n "$CC"; then
2761 ac_cv_prog_CC
="$CC" # Let the user override the test.
2763 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2767 test -z "$as_dir" && as_dir
=.
2768 for ac_exec_ext
in '' $ac_executable_extensions; do
2769 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2770 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2771 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2781 if test -n "$CC"; then
2782 { echo "$as_me:$LINENO: result: $CC" >&5
2783 echo "${ECHO_T}$CC" >&6; }
2785 { echo "$as_me:$LINENO: result: no" >&5
2786 echo "${ECHO_T}no" >&6; }
2790 test -n "$CC" && break
2793 if test -z "$CC"; then
2795 for ac_prog
in cl.exe
2797 # Extract the first word of "$ac_prog", so it can be a program name with args.
2798 set dummy
$ac_prog; ac_word
=$2
2799 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2800 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2801 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2802 echo $ECHO_N "(cached) $ECHO_C" >&6
2804 if test -n "$ac_ct_CC"; then
2805 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2807 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2811 test -z "$as_dir" && as_dir
=.
2812 for ac_exec_ext
in '' $ac_executable_extensions; do
2813 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2814 ac_cv_prog_ac_ct_CC
="$ac_prog"
2815 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2824 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2825 if test -n "$ac_ct_CC"; then
2826 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2827 echo "${ECHO_T}$ac_ct_CC" >&6; }
2829 { echo "$as_me:$LINENO: result: no" >&5
2830 echo "${ECHO_T}no" >&6; }
2834 test -n "$ac_ct_CC" && break
2837 if test "x$ac_ct_CC" = x
; then
2840 case $cross_compiling:$ac_tool_warned in
2842 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2843 whose name does not start with the host triplet. If you think this
2844 configuration is useful to you, please write to autoconf@gnu.org." >&5
2845 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2846 whose name does not start with the host triplet. If you think this
2847 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2848 ac_tool_warned
=yes ;;
2857 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2858 See \`config.log' for more details." >&5
2859 echo "$as_me: error: no acceptable C compiler found in \$PATH
2860 See \`config.log' for more details." >&2;}
2861 { (exit 1); exit 1; }; }
2863 # Provide some information about the compiler.
2864 echo "$as_me:$LINENO: checking for C compiler version" >&5
2865 ac_compiler
=`set X $ac_compile; echo $2`
2866 { (ac_try
="$ac_compiler --version >&5"
2868 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2869 *) ac_try_echo=$ac_try;;
2871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2872 (eval "$ac_compiler --version >&5") 2>&5
2874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2875 (exit $ac_status); }
2876 { (ac_try="$ac_compiler -v >&5"
2878 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2879 *) ac_try_echo
=$ac_try;;
2881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2882 (eval "$ac_compiler -v >&5") 2>&5
2884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2885 (exit $ac_status); }
2886 { (ac_try
="$ac_compiler -V >&5"
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_compiler -V >&5") 2>&5
2894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2895 (exit $ac_status); }
2897 cat >conftest.$ac_ext <<_ACEOF
2900 cat confdefs.h >>conftest.$ac_ext
2901 cat >>conftest.$ac_ext <<_ACEOF
2902 /* end confdefs.h. */
2912 ac_clean_files_save=$ac_clean_files
2913 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2914 # Try to create an executable without -o first, disregard a.out.
2915 # It will help us diagnose broken compilers, and finding out an intuition
2917 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2918 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2919 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2921 # List of possible output files, starting from the most likely.
2922 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2923 # only as a last resort. b.out is created by i960 compilers.
2924 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2926 # The IRIX 6 linker writes into existing files which may not be
2927 # executable, retaining their permissions. Remove them first so a
2928 # subsequent execution test works.
2930 for ac_file in $ac_files
2933 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2934 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2939 if { (ac_try="$ac_link_default"
2941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2942 *) ac_try_echo=$ac_try;;
2944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2945 (eval "$ac_link_default") 2>&5
2947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2948 (exit $ac_status); }; then
2949 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2950 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2951 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2952 # so that the user can short-circuit this test for compilers unknown to
2954 for ac_file
in $ac_files ''
2956 test -f "$ac_file" ||
continue
2958 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2961 # We found the default executable, but exeext='' is most
2965 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2967 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2969 # We set ac_cv_exeext here because the later test for it is not
2970 # safe: cross compilers may not add the suffix if given an `-o'
2971 # argument, so we may need to know it at that point already.
2972 # Even if this section looks crufty: it has the advantage of
2979 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2985 { echo "$as_me:$LINENO: result: $ac_file" >&5
2986 echo "${ECHO_T}$ac_file" >&6; }
2987 if test -z "$ac_file"; then
2988 echo "$as_me: failed program was:" >&5
2989 sed 's/^/| /' conftest.
$ac_ext >&5
2991 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2992 See \`config.log' for more details." >&5
2993 echo "$as_me: error: C compiler cannot create executables
2994 See \`config.log' for more details." >&2;}
2995 { (exit 77); exit 77; }; }
2998 ac_exeext
=$ac_cv_exeext
3000 # Check that the compiler produces executables we can run. If not, either
3001 # the compiler is broken, or we cross compile.
3002 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3003 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3004 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3005 # If not cross compiling, check that we can run a simple program.
3006 if test "$cross_compiling" != yes; then
3007 if { ac_try
='./$ac_file'
3008 { (case "(($ac_try" in
3009 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3010 *) ac_try_echo=$ac_try;;
3012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3013 (eval "$ac_try") 2>&5
3015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3016 (exit $ac_status); }; }; then
3019 if test "$cross_compiling" = maybe; then
3022 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3023 If you meant to cross compile, use \`--host'.
3024 See \`config.log' for more details.
" >&5
3025 echo "$as_me: error
: cannot run C compiled programs.
3026 If you meant to cross compile
, use \
`--host'.
3027 See \`config.log
' for more details." >&2;}
3028 { (exit 1); exit 1; }; }
3032 { echo "$as_me:$LINENO: result: yes" >&5
3033 echo "${ECHO_T}yes" >&6; }
3035 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3036 ac_clean_files=$ac_clean_files_save
3037 # Check that the compiler produces executables we can run. If not, either
3038 # the compiler is broken, or we cross compile.
3039 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3040 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3041 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
3042 echo "${ECHO_T}$cross_compiling" >&6; }
3044 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
3045 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3046 if { (ac_try="$ac_link"
3048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3049 *) ac_try_echo=$ac_try;;
3051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3052 (eval "$ac_link") 2>&5
3054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3055 (exit $ac_status); }; then
3056 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3057 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3058 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3060 for ac_file
in conftest.exe conftest conftest.
*; do
3061 test -f "$ac_file" ||
continue
3063 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
3064 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3070 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3071 See \`config.log' for more details." >&5
3072 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3073 See \`config.log' for more details." >&2;}
3074 { (exit 1); exit 1; }; }
3077 rm -f conftest
$ac_cv_exeext
3078 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3079 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3081 rm -f conftest.
$ac_ext
3082 EXEEXT
=$ac_cv_exeext
3084 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3085 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3086 if test "${ac_cv_objext+set}" = set; then
3087 echo $ECHO_N "(cached) $ECHO_C" >&6
3089 cat >conftest.
$ac_ext <<_ACEOF
3092 cat confdefs.h
>>conftest.
$ac_ext
3093 cat >>conftest.
$ac_ext <<_ACEOF
3094 /* end confdefs.h. */
3104 rm -f conftest.o conftest.obj
3105 if { (ac_try
="$ac_compile"
3107 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3108 *) ac_try_echo=$ac_try;;
3110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3111 (eval "$ac_compile") 2>&5
3113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3114 (exit $ac_status); }; then
3115 for ac_file in conftest.o conftest.obj conftest.*; do
3116 test -f "$ac_file" || continue;
3118 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3119 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3124 echo "$as_me: failed program was:" >&5
3125 sed 's/^/| /' conftest.$ac_ext >&5
3127 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3128 See \`config.log
' for more details." >&5
3129 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3130 See \`config.log' for more details.
" >&2;}
3131 { (exit 1); exit 1; }; }
3134 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3136 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
3137 echo "${ECHO_T}$ac_cv_objext" >&6; }
3138 OBJEXT=$ac_cv_objext
3140 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
3141 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
3142 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3143 echo $ECHO_N "(cached
) $ECHO_C" >&6
3145 cat >conftest.$ac_ext <<_ACEOF
3148 cat confdefs.h >>conftest.$ac_ext
3149 cat >>conftest.$ac_ext <<_ACEOF
3150 /* end confdefs.h. */
3163 rm -f conftest.$ac_objext
3164 if { (ac_try="$ac_compile"
3166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3167 *) ac_try_echo=$ac_try;;
3169 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3170 (eval "$ac_compile") 2>conftest.er1
3172 grep -v '^ *+' conftest.er1 >conftest.err
3174 cat conftest.err >&5
3175 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3176 (exit $ac_status); } && {
3177 test -z "$ac_c_werror_flag" ||
3178 test ! -s conftest.err
3179 } && test -s conftest.$ac_objext; then
3182 echo "$as_me: failed program was
:" >&5
3183 sed 's/^/| /' conftest.$ac_ext >&5
3188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3189 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3192 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
3193 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3194 GCC=`test $ac_compiler_gnu = yes && echo yes`
3195 ac_test_CFLAGS=${CFLAGS+set}
3196 ac_save_CFLAGS=$CFLAGS
3197 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
3198 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
3199 if test "${ac_cv_prog_cc_g+set}" = set; then
3200 echo $ECHO_N "(cached
) $ECHO_C" >&6
3202 ac_save_c_werror_flag=$ac_c_werror_flag
3203 ac_c_werror_flag=yes
3206 cat >conftest.$ac_ext <<_ACEOF
3209 cat confdefs.h >>conftest.$ac_ext
3210 cat >>conftest.$ac_ext <<_ACEOF
3211 /* end confdefs.h. */
3221 rm -f conftest.$ac_objext
3222 if { (ac_try="$ac_compile"
3224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3225 *) ac_try_echo=$ac_try;;
3227 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3228 (eval "$ac_compile") 2>conftest.er1
3230 grep -v '^ *+' conftest.er1 >conftest.err
3232 cat conftest.err >&5
3233 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3234 (exit $ac_status); } && {
3235 test -z "$ac_c_werror_flag" ||
3236 test ! -s conftest.err
3237 } && test -s conftest.$ac_objext; then
3240 echo "$as_me: failed program was
:" >&5
3241 sed 's/^/| /' conftest.$ac_ext >&5
3244 cat >conftest.$ac_ext <<_ACEOF
3247 cat confdefs.h >>conftest.$ac_ext
3248 cat >>conftest.$ac_ext <<_ACEOF
3249 /* end confdefs.h. */
3259 rm -f conftest.$ac_objext
3260 if { (ac_try="$ac_compile"
3262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3263 *) ac_try_echo=$ac_try;;
3265 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3266 (eval "$ac_compile") 2>conftest.er1
3268 grep -v '^ *+' conftest.er1 >conftest.err
3270 cat conftest.err >&5
3271 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3272 (exit $ac_status); } && {
3273 test -z "$ac_c_werror_flag" ||
3274 test ! -s conftest.err
3275 } && test -s conftest.$ac_objext; then
3278 echo "$as_me: failed program was
:" >&5
3279 sed 's/^/| /' conftest.$ac_ext >&5
3281 ac_c_werror_flag=$ac_save_c_werror_flag
3283 cat >conftest.$ac_ext <<_ACEOF
3286 cat confdefs.h >>conftest.$ac_ext
3287 cat >>conftest.$ac_ext <<_ACEOF
3288 /* end confdefs.h. */
3298 rm -f conftest.$ac_objext
3299 if { (ac_try="$ac_compile"
3301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3302 *) ac_try_echo=$ac_try;;
3304 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3305 (eval "$ac_compile") 2>conftest.er1
3307 grep -v '^ *+' conftest.er1 >conftest.err
3309 cat conftest.err >&5
3310 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3311 (exit $ac_status); } && {
3312 test -z "$ac_c_werror_flag" ||
3313 test ! -s conftest.err
3314 } && test -s conftest.$ac_objext; then
3317 echo "$as_me: failed program was
:" >&5
3318 sed 's/^/| /' conftest.$ac_ext >&5
3323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3330 ac_c_werror_flag=$ac_save_c_werror_flag
3332 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3333 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3334 if test "$ac_test_CFLAGS" = set; then
3335 CFLAGS=$ac_save_CFLAGS
3336 elif test $ac_cv_prog_cc_g = yes; then
3337 if test "$GCC" = yes; then
3343 if test "$GCC" = yes; then
3349 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3350 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3351 if test "${ac_cv_prog_cc_c89+set}" = set; then
3352 echo $ECHO_N "(cached
) $ECHO_C" >&6
3354 ac_cv_prog_cc_c89=no
3356 cat >conftest.$ac_ext <<_ACEOF
3359 cat confdefs.h >>conftest.$ac_ext
3360 cat >>conftest.$ac_ext <<_ACEOF
3361 /* end confdefs.h. */
3364 #include <sys/types.h>
3365 #include <sys/stat.h>
3366 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3367 struct buf { int x; };
3368 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3369 static char *e (p, i)
3375 static char *f (char * (*g) (char **, int), char **p, ...)
3380 s = g (p, va_arg (v,int));
3385 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3386 function prototypes and stuff, but not '\xHH' hex character constants.
3387 These don't provoke an error unfortunately, instead are silently treated
3388 as 'x'. The following induces an error, until -std is added to get
3389 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3390 array size at least. It's necessary to write '\x00'==0 to get something
3391 that's true only with -std. */
3392 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3394 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3395 inside strings and character constants. */
3397 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3399 int test (int i, double x);
3400 struct s1 {int (*f) (int a);};
3401 struct s2 {int (*f) (double a);};
3402 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3408 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3413 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3414 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3416 CC="$ac_save_CC $ac_arg"
3417 rm -f conftest.$ac_objext
3418 if { (ac_try="$ac_compile"
3420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3421 *) ac_try_echo=$ac_try;;
3423 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3424 (eval "$ac_compile") 2>conftest.er1
3426 grep -v '^ *+' conftest.er1 >conftest.err
3428 cat conftest.err >&5
3429 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3430 (exit $ac_status); } && {
3431 test -z "$ac_c_werror_flag" ||
3432 test ! -s conftest.err
3433 } && test -s conftest.$ac_objext; then
3434 ac_cv_prog_cc_c89=$ac_arg
3436 echo "$as_me: failed program was
:" >&5
3437 sed 's/^/| /' conftest.$ac_ext >&5
3442 rm -f core conftest.err conftest.$ac_objext
3443 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3445 rm -f conftest.$ac_ext
3450 case "x
$ac_cv_prog_cc_c89" in
3452 { echo "$as_me:$LINENO: result
: none needed
" >&5
3453 echo "${ECHO_T}none needed
" >&6; } ;;
3455 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3456 echo "${ECHO_T}unsupported
" >&6; } ;;
3458 CC="$CC $ac_cv_prog_cc_c89"
3459 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3460 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3465 ac_cpp='$CPP $CPPFLAGS'
3466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3469 DEPDIR="${am__leading_dot}deps
"
3471 ac_config_commands="$ac_config_commands depfiles
"
3474 am_make=${MAKE-make}
3475 cat > confinc << 'END'
3480 # If we don't find an include directive, just comment out the code.
3481 { echo "$as_me:$LINENO: checking
for style of include used by
$am_make" >&5
3482 echo $ECHO_N "checking
for style of include used by
$am_make...
$ECHO_C" >&6; }
3486 # First try GNU make style include.
3487 echo "include confinc" > confmf
3488 # We grep out `Entering directory' and `Leaving directory'
3489 # messages which can occur if `w' ends up in MAKEFLAGS.
3490 # In particular we don't look at `^make:' because GNU make might
3491 # be invoked under some other name (usually "gmake"), in which
3492 # case it prints its new name instead of `make'.
3493 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3498 # Now try BSD make style include.
3499 if test "$am__include" = "#"; then
3500 echo '.include "confinc"' > confmf
3501 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3502 am__include
=.include
3509 { echo "$as_me:$LINENO: result: $_am_result" >&5
3510 echo "${ECHO_T}$_am_result" >&6; }
3511 rm -f confinc confmf
3513 # Check whether --enable-dependency-tracking was given.
3514 if test "${enable_dependency_tracking+set}" = set; then
3515 enableval
=$enable_dependency_tracking;
3518 if test "x$enable_dependency_tracking" != xno
; then
3519 am_depcomp
="$ac_aux_dir/depcomp"
3522 if test "x$enable_dependency_tracking" != xno; then
3532 depcc
="$CC" am_compiler_list
=
3534 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3535 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3536 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3537 echo $ECHO_N "(cached) $ECHO_C" >&6
3539 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3540 # We make a subdir and do the tests there. Otherwise we can end up
3541 # making bogus files that we don't know about and never remove. For
3542 # instance it was reported that on HP-UX the gcc test will end up
3543 # making a dummy file named `D' -- because `-MD' means `put the output
3546 # Copy depcomp to subdir because otherwise we won't find it if we're
3547 # using a relative directory.
3548 cp "$am_depcomp" conftest.dir
3550 # We will build objects and dependencies in a subdirectory because
3551 # it helps to detect inapplicable dependency modes. For instance
3552 # both Tru64's cc and ICC support -MD to output dependencies as a
3553 # side effect of compilation, but ICC will put the dependencies in
3554 # the current directory while Tru64 will put them in the object
3558 am_cv_CC_dependencies_compiler_type
=none
3559 if test "$am_compiler_list" = ""; then
3560 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3562 for depmode
in $am_compiler_list; do
3563 # Setup a source with many dependencies, because some compilers
3564 # like to wrap large dependency lists on column 80 (with \), and
3565 # we should not choose a depcomp mode which is confused by this.
3567 # We need to recreate these files for each test, as the compiler may
3568 # overwrite some of them when testing with obscure command lines.
3569 # This happens at least with the AIX C compiler.
3571 for i
in 1 2 3 4 5 6; do
3572 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3573 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3574 # Solaris 8's {/usr,}/bin/sh.
3575 touch sub
/conftst
$i.h
3577 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3581 # after this tag, mechanisms are not by side-effect, so they'll
3582 # only be used when explicitly requested
3583 if test "x$enable_dependency_tracking" = xyes
; then
3591 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3592 # mode. It turns out that the SunPro C++ compiler does not properly
3593 # handle `-M -o', and we need to detect this.
3594 if depmode
=$depmode \
3595 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3596 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3597 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3598 >/dev
/null
2>conftest.err
&&
3599 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3600 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3601 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3602 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3603 # icc doesn't choke on unknown options, it will just issue warnings
3604 # or remarks (even with -Werror). So we grep stderr for any message
3605 # that says an option was ignored or not supported.
3606 # When given -MP, icc 7.0 and 7.1 complain thusly:
3607 # icc: Command line warning: ignoring option '-M'; no argument required
3608 # The diagnosis changed in icc 8.0:
3609 # icc: Command line remark: option '-MP' not supported
3610 if (grep 'ignoring option' conftest.err ||
3611 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3612 am_cv_CC_dependencies_compiler_type
=$depmode
3621 am_cv_CC_dependencies_compiler_type
=none
3625 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3626 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3627 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3630 test "x$enable_dependency_tracking" != xno \
3631 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3633 am__fastdepCC_FALSE
='#'
3635 am__fastdepCC_TRUE
='#'
3636 am__fastdepCC_FALSE
=
3640 # Check whether --enable-shared was given.
3641 if test "${enable_shared+set}" = set; then
3642 enableval
=$enable_shared; p
=${PACKAGE-default}
3644 yes) enable_shared
=yes ;;
3645 no
) enable_shared
=no
;;
3648 # Look at the argument we got. We use all the common list separators.
3649 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3650 for pkg
in $enableval; do
3652 if test "X$pkg" = "X$p"; then
3664 # Check whether --enable-static was given.
3665 if test "${enable_static+set}" = set; then
3666 enableval
=$enable_static; p
=${PACKAGE-default}
3668 yes) enable_static
=yes ;;
3669 no
) enable_static
=no
;;
3672 # Look at the argument we got. We use all the common list separators.
3673 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3674 for pkg
in $enableval; do
3676 if test "X$pkg" = "X$p"; then
3688 # Check whether --enable-fast-install was given.
3689 if test "${enable_fast_install+set}" = set; then
3690 enableval
=$enable_fast_install; p
=${PACKAGE-default}
3692 yes) enable_fast_install
=yes ;;
3693 no
) enable_fast_install
=no
;;
3695 enable_fast_install
=no
3696 # Look at the argument we got. We use all the common list separators.
3697 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3698 for pkg
in $enableval; do
3700 if test "X$pkg" = "X$p"; then
3701 enable_fast_install
=yes
3708 enable_fast_install
=yes
3712 # Make sure we can run config.sub.
3713 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3714 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3715 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3716 { (exit 1); exit 1; }; }
3718 { echo "$as_me:$LINENO: checking build system type" >&5
3719 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
3720 if test "${ac_cv_build+set}" = set; then
3721 echo $ECHO_N "(cached) $ECHO_C" >&6
3723 ac_build_alias
=$build_alias
3724 test "x$ac_build_alias" = x
&&
3725 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3726 test "x$ac_build_alias" = x
&&
3727 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3728 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3729 { (exit 1); exit 1; }; }
3730 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3731 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3732 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3733 { (exit 1); exit 1; }; }
3736 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3737 echo "${ECHO_T}$ac_cv_build" >&6; }
3738 case $ac_cv_build in
3740 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3741 echo "$as_me: error: invalid value of canonical build" >&2;}
3742 { (exit 1); exit 1; }; };;
3745 ac_save_IFS
=$IFS; IFS
='-'
3751 # Remember, the first character of IFS is used to create $*,
3752 # except with old shells:
3755 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3758 { echo "$as_me:$LINENO: checking host system type" >&5
3759 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
3760 if test "${ac_cv_host+set}" = set; then
3761 echo $ECHO_N "(cached) $ECHO_C" >&6
3763 if test "x$host_alias" = x
; then
3764 ac_cv_host
=$ac_cv_build
3766 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3767 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3768 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3769 { (exit 1); exit 1; }; }
3773 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3774 echo "${ECHO_T}$ac_cv_host" >&6; }
3777 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3778 echo "$as_me: error: invalid value of canonical host" >&2;}
3779 { (exit 1); exit 1; }; };;
3782 ac_save_IFS
=$IFS; IFS
='-'
3788 # Remember, the first character of IFS is used to create $*,
3789 # except with old shells:
3792 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3795 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3796 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
3797 if test "${lt_cv_path_SED+set}" = set; then
3798 echo $ECHO_N "(cached) $ECHO_C" >&6
3800 # Loop through the user's path and test for sed and gsed.
3801 # Then use that list of sed's as ones to test for truncation.
3802 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3806 test -z "$as_dir" && as_dir
=.
3807 for lt_ac_prog
in sed gsed
; do
3808 for ac_exec_ext
in '' $ac_executable_extensions; do
3809 if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
3810 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3818 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3819 # along with /bin/sed that truncates output.
3820 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
3821 test ! -f $lt_ac_sed && continue
3822 cat /dev
/null
> conftest.
in
3824 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
3825 # Check for GNU sed and select it if it is found.
3826 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
3827 lt_cv_path_SED
=$lt_ac_sed
3831 cat conftest.
in conftest.
in >conftest.tmp
3832 mv conftest.tmp conftest.
in
3833 cp conftest.
in conftest.
nl
3835 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
3836 cmp -s conftest.out conftest.
nl ||
break
3837 # 10000 chars as input seems more than enough
3838 test $lt_ac_count -gt 10 && break
3839 lt_ac_count
=`expr $lt_ac_count + 1`
3840 if test $lt_ac_count -gt $lt_ac_max; then
3841 lt_ac_max
=$lt_ac_count
3842 lt_cv_path_SED
=$lt_ac_sed
3851 { echo "$as_me:$LINENO: result: $SED" >&5
3852 echo "${ECHO_T}$SED" >&6; }
3854 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3855 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3856 if test "${ac_cv_path_GREP+set}" = set; then
3857 echo $ECHO_N "(cached) $ECHO_C" >&6
3859 # Extract the first word of "grep ggrep" to use in msg output
3860 if test -z "$GREP"; then
3861 set dummy
grep ggrep
; ac_prog_name
=$2
3862 if test "${ac_cv_path_GREP+set}" = set; then
3863 echo $ECHO_N "(cached) $ECHO_C" >&6
3865 ac_path_GREP_found
=false
3866 # Loop through the user's path and test for each of PROGNAME-LIST
3867 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3868 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3871 test -z "$as_dir" && as_dir
=.
3872 for ac_prog
in grep ggrep
; do
3873 for ac_exec_ext
in '' $ac_executable_extensions; do
3874 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3875 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3876 # Check for GNU ac_path_GREP and select it if it is found.
3877 # Check for GNU $ac_path_GREP
3878 case `"$ac_path_GREP" --version 2>&1` in
3880 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3883 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3886 cat "conftest.in" "conftest.in" >"conftest.tmp"
3887 mv "conftest.tmp" "conftest.in"
3888 cp "conftest.in" "conftest.nl"
3889 echo 'GREP' >> "conftest.nl"
3890 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3891 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3892 ac_count
=`expr $ac_count + 1`
3893 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3894 # Best one so far, save it but keep looking for a better one
3895 ac_cv_path_GREP
="$ac_path_GREP"
3896 ac_path_GREP_max
=$ac_count
3898 # 10*(2^10) chars as input seems more than enough
3899 test $ac_count -gt 10 && break
3901 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3905 $ac_path_GREP_found && break 3
3915 GREP
="$ac_cv_path_GREP"
3916 if test -z "$GREP"; then
3917 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3918 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3919 { (exit 1); exit 1; }; }
3923 ac_cv_path_GREP
=$GREP
3928 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3929 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3930 GREP
="$ac_cv_path_GREP"
3933 { echo "$as_me:$LINENO: checking for egrep" >&5
3934 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3935 if test "${ac_cv_path_EGREP+set}" = set; then
3936 echo $ECHO_N "(cached) $ECHO_C" >&6
3938 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3939 then ac_cv_path_EGREP
="$GREP -E"
3941 # Extract the first word of "egrep" to use in msg output
3942 if test -z "$EGREP"; then
3943 set dummy
egrep; ac_prog_name
=$2
3944 if test "${ac_cv_path_EGREP+set}" = set; then
3945 echo $ECHO_N "(cached) $ECHO_C" >&6
3947 ac_path_EGREP_found
=false
3948 # Loop through the user's path and test for each of PROGNAME-LIST
3949 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3950 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3953 test -z "$as_dir" && as_dir
=.
3954 for ac_prog
in egrep; do
3955 for ac_exec_ext
in '' $ac_executable_extensions; do
3956 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3957 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3958 # Check for GNU ac_path_EGREP and select it if it is found.
3959 # Check for GNU $ac_path_EGREP
3960 case `"$ac_path_EGREP" --version 2>&1` in
3962 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3965 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3968 cat "conftest.in" "conftest.in" >"conftest.tmp"
3969 mv "conftest.tmp" "conftest.in"
3970 cp "conftest.in" "conftest.nl"
3971 echo 'EGREP' >> "conftest.nl"
3972 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3973 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3974 ac_count
=`expr $ac_count + 1`
3975 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3976 # Best one so far, save it but keep looking for a better one
3977 ac_cv_path_EGREP
="$ac_path_EGREP"
3978 ac_path_EGREP_max
=$ac_count
3980 # 10*(2^10) chars as input seems more than enough
3981 test $ac_count -gt 10 && break
3983 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3987 $ac_path_EGREP_found && break 3
3997 EGREP
="$ac_cv_path_EGREP"
3998 if test -z "$EGREP"; then
3999 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4000 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4001 { (exit 1); exit 1; }; }
4005 ac_cv_path_EGREP
=$EGREP
4011 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4012 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4013 EGREP
="$ac_cv_path_EGREP"
4017 # Check whether --with-gnu-ld was given.
4018 if test "${with_gnu_ld+set}" = set; then
4019 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4025 if test "$GCC" = yes; then
4026 # Check if gcc -print-prog-name=ld gives a path.
4027 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4028 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
4031 # gcc leaves a trailing carriage return which upsets mingw
4032 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4034 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4037 # Accept absolute paths.
4039 re_direlt
='/[^/][^/]*/\.\./'
4040 # Canonicalize the pathname of ld
4041 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
4042 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
4043 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4045 test -z "$LD" && LD
="$ac_prog"
4048 # If it fails, then pretend we aren't using GCC.
4052 # If it is relative, then search for the first ld in PATH.
4056 elif test "$with_gnu_ld" = yes; then
4057 { echo "$as_me:$LINENO: checking for GNU ld" >&5
4058 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
4060 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4061 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
4063 if test "${lt_cv_path_LD+set}" = set; then
4064 echo $ECHO_N "(cached) $ECHO_C" >&6
4066 if test -z "$LD"; then
4067 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4068 for ac_dir
in $PATH; do
4070 test -z "$ac_dir" && ac_dir
=.
4071 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4072 lt_cv_path_LD
="$ac_dir/$ac_prog"
4073 # Check to see if the program is GNU ld. I'd rather use --version,
4074 # but apparently some variants of GNU ld only accept -v.
4075 # Break only if it was the GNU/non-GNU ld that we prefer.
4076 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4077 *GNU
* |
*'with BFD'*)
4078 test "$with_gnu_ld" != no
&& break
4081 test "$with_gnu_ld" != yes && break
4088 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4093 if test -n "$LD"; then
4094 { echo "$as_me:$LINENO: result: $LD" >&5
4095 echo "${ECHO_T}$LD" >&6; }
4097 { echo "$as_me:$LINENO: result: no" >&5
4098 echo "${ECHO_T}no" >&6; }
4100 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4101 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4102 { (exit 1); exit 1; }; }
4103 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4104 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4105 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4106 echo $ECHO_N "(cached) $ECHO_C" >&6
4108 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4109 case `$LD -v 2>&1 </dev/null` in
4110 *GNU
* |
*'with BFD'*)
4111 lt_cv_prog_gnu_ld
=yes
4114 lt_cv_prog_gnu_ld
=no
4118 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4119 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4120 with_gnu_ld
=$lt_cv_prog_gnu_ld
4123 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4124 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4125 if test "${lt_cv_ld_reload_flag+set}" = set; then
4126 echo $ECHO_N "(cached) $ECHO_C" >&6
4128 lt_cv_ld_reload_flag
='-r'
4130 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4131 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4132 reload_flag
=$lt_cv_ld_reload_flag
4133 case $reload_flag in
4135 *) reload_flag
=" $reload_flag" ;;
4137 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4140 if test "$GCC" = yes; then
4141 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4143 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4148 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4149 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
4150 if test "${lt_cv_path_NM+set}" = set; then
4151 echo $ECHO_N "(cached) $ECHO_C" >&6
4153 if test -n "$NM"; then
4154 # Let the user override the test.
4157 lt_nm_to_check
="${ac_tool_prefix}nm"
4158 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4159 lt_nm_to_check
="$lt_nm_to_check nm"
4161 for lt_tmp_nm
in $lt_nm_to_check; do
4162 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4163 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4165 test -z "$ac_dir" && ac_dir
=.
4166 tmp_nm
="$ac_dir/$lt_tmp_nm"
4167 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4168 # Check to see if the nm accepts a BSD-compat flag.
4169 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4170 # nm: unknown option "B" ignored
4171 # Tru64's nm complains that /dev/null is an invalid object file
4172 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4173 */dev
/null
* |
*'Invalid file or object type'*)
4174 lt_cv_path_NM
="$tmp_nm -B"
4178 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4180 lt_cv_path_NM
="$tmp_nm -p"
4184 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4185 continue # so that we can try to find one that supports BSD flags
4194 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
4197 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4198 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4201 { echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4202 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
4203 if test "${lt_cv_deplibs_check_method+set}" = set; then
4204 echo $ECHO_N "(cached) $ECHO_C" >&6
4206 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4207 lt_cv_file_magic_test_file
=
4208 lt_cv_deplibs_check_method
='unknown'
4209 # Need to set the preceding variable on all platforms that support
4210 # interlibrary dependencies.
4211 # 'none' -- dependencies not supported.
4212 # `unknown' -- same as none, but documents that we really don't know.
4213 # 'pass_all' -- all dependencies passed with no checks.
4214 # 'test_compile' -- check by making test program.
4215 # 'file_magic [[regex]]' -- check by looking for files in library path
4216 # which responds to the $file_magic_cmd with a given extended regex.
4217 # If you have `file' or equivalent on your system and you're not sure
4218 # whether `pass_all' will *always* work, you probably want this one.
4222 lt_cv_deplibs_check_method
=pass_all
4226 lt_cv_deplibs_check_method
=pass_all
4230 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4231 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4232 lt_cv_file_magic_test_file
=/shlib
/libc.so
4236 # func_win32_libid is a shell function defined in ltmain.sh
4237 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4238 lt_cv_file_magic_cmd
='func_win32_libid'
4242 # Base MSYS/MinGW do not provide the 'file' command needed by
4243 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4244 # unless we find 'file', for example because we are cross-compiling.
4245 if ( file / ) >/dev
/null
2>&1; then
4246 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4247 lt_cv_file_magic_cmd
='func_win32_libid'
4249 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
4250 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4254 darwin
* | rhapsody
*)
4255 lt_cv_deplibs_check_method
=pass_all
4258 freebsd
* | dragonfly
*)
4259 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4262 # Not sure whether the presence of OpenBSD here was a mistake.
4263 # Let's accept both of them until this is cleared up.
4264 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4265 lt_cv_file_magic_cmd
=/usr
/bin
/file
4266 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4270 lt_cv_deplibs_check_method
=pass_all
4275 lt_cv_deplibs_check_method
=pass_all
4278 hpux10.20
* | hpux11
*)
4279 lt_cv_file_magic_cmd
=/usr
/bin
/file
4282 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4283 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
4286 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]'
4287 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
4290 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4291 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4297 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4298 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
4301 irix5
* | irix6
* | nonstopux
*)
4303 *-32|
*"-32 ") libmagic
=32-bit;;
4304 *-n32|
*"-n32 ") libmagic
=N32
;;
4305 *-64|
*"-64 ") libmagic
=64-bit;;
4306 *) libmagic
=never-match
;;
4308 lt_cv_deplibs_check_method
=pass_all
4311 # This must be Linux ELF.
4312 linux
* | k
*bsd
*-gnu)
4313 lt_cv_deplibs_check_method
=pass_all
4317 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4318 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4320 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4325 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4326 lt_cv_file_magic_cmd
=/usr
/bin
/file
4327 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4331 lt_cv_deplibs_check_method
=unknown
4335 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4336 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4338 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4342 osf3
* | osf4
* | osf5
*)
4343 lt_cv_deplibs_check_method
=pass_all
4347 lt_cv_deplibs_check_method
=pass_all
4351 lt_cv_deplibs_check_method
=pass_all
4355 case $host_vendor in
4357 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]'
4358 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4361 lt_cv_deplibs_check_method
=pass_all
4364 lt_cv_file_magic_cmd
='/bin/file'
4365 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4368 lt_cv_file_magic_cmd
='/bin/file'
4369 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4370 lt_cv_file_magic_test_file
=/lib
/libc.so
4373 lt_cv_deplibs_check_method
=pass_all
4376 lt_cv_deplibs_check_method
=pass_all
4381 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
4382 lt_cv_deplibs_check_method
=pass_all
4387 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4388 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4389 file_magic_cmd
=$lt_cv_file_magic_cmd
4390 deplibs_check_method
=$lt_cv_deplibs_check_method
4391 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
4396 # If no C compiler was specified, use CC.
4399 # If no C compiler flags were specified, use CFLAGS.
4400 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
4402 # Allow CC to be a program name with arguments.
4406 # Check whether --enable-libtool-lock was given.
4407 if test "${enable_libtool_lock+set}" = set; then
4408 enableval
=$enable_libtool_lock;
4411 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
4413 # Some flags need to be propagated to the compiler or linker for good
4417 # Find out which ABI we are using.
4418 echo 'int i;' > conftest.
$ac_ext
4419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4420 (eval $ac_compile) 2>&5
4422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4423 (exit $ac_status); }; then
4424 case `/usr/bin/file conftest.$ac_objext` in
4436 # Find out which ABI we are using.
4437 echo '#line 4437 "configure"' > conftest.
$ac_ext
4438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4439 (eval $ac_compile) 2>&5
4441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4442 (exit $ac_status); }; then
4443 if test "$lt_cv_prog_gnu_ld" = yes; then
4444 case `/usr/bin/file conftest.$ac_objext` in
4446 LD
="${LD-ld} -melf32bsmip"
4449 LD
="${LD-ld} -melf32bmipn32"
4452 LD
="${LD-ld} -melf64bmip"
4456 case `/usr/bin/file conftest.$ac_objext` in
4472 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
4473 s390
*-*linux
*|sparc
*-*linux
*)
4474 # Find out which ABI we are using.
4475 echo 'int i;' > conftest.
$ac_ext
4476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4477 (eval $ac_compile) 2>&5
4479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4480 (exit $ac_status); }; then
4481 case `/usr/bin/file conftest.o` in
4484 x86_64-
*kfreebsd
*-gnu)
4485 LD
="${LD-ld} -m elf_i386_fbsd"
4488 LD
="${LD-ld} -m elf_i386"
4490 ppc64-
*linux
*|powerpc64-
*linux
*)
4491 LD
="${LD-ld} -m elf32ppclinux"
4494 LD
="${LD-ld} -m elf_s390"
4497 LD
="${LD-ld} -m elf32_sparc"
4504 x86_64-
*kfreebsd
*-gnu)
4505 LD
="${LD-ld} -m elf_x86_64_fbsd"
4508 LD
="${LD-ld} -m elf_x86_64"
4510 ppc
*-*linux
*|powerpc
*-*linux
*)
4511 LD
="${LD-ld} -m elf64ppc"
4514 LD
="${LD-ld} -m elf64_s390"
4517 LD
="${LD-ld} -m elf64_sparc"
4527 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4528 SAVE_CFLAGS
="$CFLAGS"
4529 CFLAGS
="$CFLAGS -belf"
4530 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4531 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4532 if test "${lt_cv_cc_needs_belf+set}" = set; then
4533 echo $ECHO_N "(cached) $ECHO_C" >&6
4536 ac_cpp
='$CPP $CPPFLAGS'
4537 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4538 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4539 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4541 cat >conftest.
$ac_ext <<_ACEOF
4544 cat confdefs.h
>>conftest.
$ac_ext
4545 cat >>conftest.
$ac_ext <<_ACEOF
4546 /* end confdefs.h. */
4556 rm -f conftest.
$ac_objext conftest
$ac_exeext
4557 if { (ac_try
="$ac_link"
4559 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4560 *) ac_try_echo=$ac_try;;
4562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4563 (eval "$ac_link") 2>conftest.er1
4565 grep -v '^ *+' conftest.er1 >conftest.err
4567 cat conftest.err >&5
4568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4569 (exit $ac_status); } && {
4570 test -z "$ac_c_werror_flag" ||
4571 test ! -s conftest.err
4572 } && test -s conftest$ac_exeext &&
4573 $as_test_x conftest$ac_exeext; then
4574 lt_cv_cc_needs_belf=yes
4576 echo "$as_me: failed program was:" >&5
4577 sed 's/^/| /' conftest.$ac_ext >&5
4579 lt_cv_cc_needs_belf=no
4582 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4583 conftest$ac_exeext conftest.$ac_ext
4585 ac_cpp='$CPP $CPPFLAGS'
4586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4591 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4592 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
4593 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4594 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4595 CFLAGS="$SAVE_CFLAGS"
4599 # Find out which ABI we are using.
4600 echo 'int i;' > conftest.$ac_ext
4601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4602 (eval $ac_compile) 2>&5
4604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4605 (exit $ac_status); }; then
4606 case `/usr
/bin
/file conftest.o
` in
4608 case $lt_cv_prog_gnu_ld in
4609 yes*) LD="${LD-ld} -m elf64_sparc" ;;
4610 *) LD="${LD-ld} -64" ;;
4621 need_locks="$enable_libtool_lock"
4625 ac_cpp='$CPP $CPPFLAGS'
4626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4629 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4630 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4631 # On Suns, sometimes $CPP names a directory.
4632 if test -n "$CPP" && test -d "$CPP"; then
4635 if test -z "$CPP"; then
4636 if test "${ac_cv_prog_CPP+set}" = set; then
4637 echo $ECHO_N "(cached) $ECHO_C" >&6
4639 # Double quotes because CPP needs to be expanded
4640 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4643 for ac_c_preproc_warn_flag in '' yes
4645 # Use a header file that comes with gcc, so configuring glibc
4646 # with a fresh cross-compiler works.
4647 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4648 # <limits.h> exists even on freestanding compilers.
4649 # On the NeXT, cc -E runs the code through the compiler's parser,
4650 # not just through cpp. "Syntax error" is here to catch this case.
4651 cat >conftest.$ac_ext <<_ACEOF
4654 cat confdefs.h >>conftest.$ac_ext
4655 cat >>conftest.$ac_ext <<_ACEOF
4656 /* end confdefs.h. */
4658 # include <limits.h>
4660 # include <assert.h>
4664 if { (ac_try="$ac_cpp conftest.$ac_ext"
4666 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4667 *) ac_try_echo
=$ac_try;;
4669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4670 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4672 grep -v '^ *+' conftest.er1
>conftest.err
4674 cat conftest.err
>&5
4675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4676 (exit $ac_status); } >/dev
/null
&& {
4677 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4678 test ! -s conftest.err
4682 echo "$as_me: failed program was:" >&5
4683 sed 's/^/| /' conftest.
$ac_ext >&5
4685 # Broken: fails on valid input.
4689 rm -f conftest.err conftest.
$ac_ext
4691 # OK, works on sane cases. Now check whether nonexistent headers
4692 # can be detected and how.
4693 cat >conftest.
$ac_ext <<_ACEOF
4696 cat confdefs.h
>>conftest.
$ac_ext
4697 cat >>conftest.
$ac_ext <<_ACEOF
4698 /* end confdefs.h. */
4699 #include <ac_nonexistent.h>
4701 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4703 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4704 *) ac_try_echo=$ac_try;;
4706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4707 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4709 grep -v '^ *+' conftest.er1 >conftest.err
4711 cat conftest.err >&5
4712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4713 (exit $ac_status); } >/dev/null && {
4714 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4715 test ! -s conftest.err
4717 # Broken: success on invalid input.
4720 echo "$as_me: failed program was:" >&5
4721 sed 's/^/| /' conftest.$ac_ext >&5
4723 # Passes both tests.
4728 rm -f conftest.err conftest.$ac_ext
4731 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4732 rm -f conftest.err conftest.
$ac_ext
4733 if $ac_preproc_ok; then
4745 { echo "$as_me:$LINENO: result: $CPP" >&5
4746 echo "${ECHO_T}$CPP" >&6; }
4748 for ac_c_preproc_warn_flag
in '' yes
4750 # Use a header file that comes with gcc, so configuring glibc
4751 # with a fresh cross-compiler works.
4752 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4753 # <limits.h> exists even on freestanding compilers.
4754 # On the NeXT, cc -E runs the code through the compiler's parser,
4755 # not just through cpp. "Syntax error" is here to catch this case.
4756 cat >conftest.
$ac_ext <<_ACEOF
4759 cat confdefs.h
>>conftest.
$ac_ext
4760 cat >>conftest.
$ac_ext <<_ACEOF
4761 /* end confdefs.h. */
4763 # include <limits.h>
4765 # include <assert.h>
4769 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4771 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4772 *) ac_try_echo=$ac_try;;
4774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4775 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4777 grep -v '^ *+' conftest.er1 >conftest.err
4779 cat conftest.err >&5
4780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4781 (exit $ac_status); } >/dev/null && {
4782 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4783 test ! -s conftest.err
4787 echo "$as_me: failed program was:" >&5
4788 sed 's/^/| /' conftest.$ac_ext >&5
4790 # Broken: fails on valid input.
4794 rm -f conftest.err conftest.$ac_ext
4796 # OK, works on sane cases. Now check whether nonexistent headers
4797 # can be detected and how.
4798 cat >conftest.$ac_ext <<_ACEOF
4801 cat confdefs.h >>conftest.$ac_ext
4802 cat >>conftest.$ac_ext <<_ACEOF
4803 /* end confdefs.h. */
4804 #include <ac_nonexistent.h>
4806 if { (ac_try="$ac_cpp conftest.$ac_ext"
4808 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4809 *) ac_try_echo
=$ac_try;;
4811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4812 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4814 grep -v '^ *+' conftest.er1
>conftest.err
4816 cat conftest.err
>&5
4817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4818 (exit $ac_status); } >/dev
/null
&& {
4819 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4820 test ! -s conftest.err
4822 # Broken: success on invalid input.
4825 echo "$as_me: failed program was:" >&5
4826 sed 's/^/| /' conftest.
$ac_ext >&5
4828 # Passes both tests.
4833 rm -f conftest.err conftest.
$ac_ext
4836 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4837 rm -f conftest.err conftest.
$ac_ext
4838 if $ac_preproc_ok; then
4841 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4842 See \`config.log' for more details." >&5
4843 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4844 See \`config.log' for more details." >&2;}
4845 { (exit 1); exit 1; }; }
4849 ac_cpp
='$CPP $CPPFLAGS'
4850 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4851 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4852 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4855 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4856 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4857 if test "${ac_cv_header_stdc+set}" = set; then
4858 echo $ECHO_N "(cached) $ECHO_C" >&6
4860 cat >conftest.
$ac_ext <<_ACEOF
4863 cat confdefs.h
>>conftest.
$ac_ext
4864 cat >>conftest.
$ac_ext <<_ACEOF
4865 /* end confdefs.h. */
4879 rm -f conftest.
$ac_objext
4880 if { (ac_try
="$ac_compile"
4882 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4883 *) ac_try_echo=$ac_try;;
4885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4886 (eval "$ac_compile") 2>conftest.er1
4888 grep -v '^ *+' conftest.er1 >conftest.err
4890 cat conftest.err >&5
4891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4892 (exit $ac_status); } && {
4893 test -z "$ac_c_werror_flag" ||
4894 test ! -s conftest.err
4895 } && test -s conftest.$ac_objext; then
4896 ac_cv_header_stdc=yes
4898 echo "$as_me: failed program was:" >&5
4899 sed 's/^/| /' conftest.$ac_ext >&5
4901 ac_cv_header_stdc=no
4904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4906 if test $ac_cv_header_stdc = yes; then
4907 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4908 cat >conftest.$ac_ext <<_ACEOF
4911 cat confdefs.h >>conftest.$ac_ext
4912 cat >>conftest.$ac_ext <<_ACEOF
4913 /* end confdefs.h. */
4917 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4918 $EGREP "memchr" >/dev/null 2>&1; then
4921 ac_cv_header_stdc=no
4927 if test $ac_cv_header_stdc = yes; then
4928 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4929 cat >conftest.$ac_ext <<_ACEOF
4932 cat confdefs.h >>conftest.$ac_ext
4933 cat >>conftest.$ac_ext <<_ACEOF
4934 /* end confdefs.h. */
4938 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4939 $EGREP "free" >/dev/null 2>&1; then
4942 ac_cv_header_stdc=no
4948 if test $ac_cv_header_stdc = yes; then
4949 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4950 if test "$cross_compiling" = yes; then
4953 cat >conftest.$ac_ext <<_ACEOF
4956 cat confdefs.h >>conftest.$ac_ext
4957 cat >>conftest.$ac_ext <<_ACEOF
4958 /* end confdefs.h. */
4961 #if ((' ' & 0x0FF) == 0x020)
4962 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4963 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4965 # define ISLOWER(c) \
4966 (('a' <= (c) && (c) <= 'i') \
4967 || ('j' <= (c) && (c) <= 'r') \
4968 || ('s' <= (c) && (c) <= 'z'))
4969 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4972 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4977 for (i = 0; i < 256; i++)
4978 if (XOR (islower (i), ISLOWER (i))
4979 || toupper (i) != TOUPPER (i))
4984 rm -f conftest$ac_exeext
4985 if { (ac_try="$ac_link"
4987 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4988 *) ac_try_echo
=$ac_try;;
4990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4991 (eval "$ac_link") 2>&5
4993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4994 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4995 { (case "(($ac_try" in
4996 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4997 *) ac_try_echo=$ac_try;;
4999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5000 (eval "$ac_try") 2>&5
5002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5003 (exit $ac_status); }; }; then
5006 echo "$as_me: program exited with status $ac_status" >&5
5007 echo "$as_me: failed program was:" >&5
5008 sed 's/^/| /' conftest.$ac_ext >&5
5011 ac_cv_header_stdc=no
5013 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5019 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5020 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5021 if test $ac_cv_header_stdc = yes; then
5023 cat >>confdefs.h <<\_ACEOF
5024 #define STDC_HEADERS 1
5029 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5039 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5040 inttypes.h stdint.h unistd.h
5042 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5043 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5044 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5045 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5046 echo $ECHO_N "(cached) $ECHO_C" >&6
5048 cat >conftest.$ac_ext <<_ACEOF
5051 cat confdefs.h >>conftest.$ac_ext
5052 cat >>conftest.$ac_ext <<_ACEOF
5053 /* end confdefs.h. */
5054 $ac_includes_default
5056 #include <$ac_header>
5058 rm -f conftest.$ac_objext
5059 if { (ac_try="$ac_compile"
5061 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5062 *) ac_try_echo
=$ac_try;;
5064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5065 (eval "$ac_compile") 2>conftest.er1
5067 grep -v '^ *+' conftest.er1
>conftest.err
5069 cat conftest.err
>&5
5070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5071 (exit $ac_status); } && {
5072 test -z "$ac_c_werror_flag" ||
5073 test ! -s conftest.err
5074 } && test -s conftest.
$ac_objext; then
5075 eval "$as_ac_Header=yes"
5077 echo "$as_me: failed program was:" >&5
5078 sed 's/^/| /' conftest.
$ac_ext >&5
5080 eval "$as_ac_Header=no"
5083 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5085 ac_res
=`eval echo '${'$as_ac_Header'}'`
5086 { echo "$as_me:$LINENO: result: $ac_res" >&5
5087 echo "${ECHO_T}$ac_res" >&6; }
5088 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5089 cat >>confdefs.h
<<_ACEOF
5090 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5099 for ac_header
in dlfcn.h
5101 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5102 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5103 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5104 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5105 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5106 echo $ECHO_N "(cached) $ECHO_C" >&6
5108 ac_res
=`eval echo '${'$as_ac_Header'}'`
5109 { echo "$as_me:$LINENO: result: $ac_res" >&5
5110 echo "${ECHO_T}$ac_res" >&6; }
5112 # Is the header compilable?
5113 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5114 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5115 cat >conftest.
$ac_ext <<_ACEOF
5118 cat confdefs.h
>>conftest.
$ac_ext
5119 cat >>conftest.
$ac_ext <<_ACEOF
5120 /* end confdefs.h. */
5121 $ac_includes_default
5122 #include <$ac_header>
5124 rm -f conftest.
$ac_objext
5125 if { (ac_try
="$ac_compile"
5127 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5128 *) ac_try_echo=$ac_try;;
5130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5131 (eval "$ac_compile") 2>conftest.er1
5133 grep -v '^ *+' conftest.er1 >conftest.err
5135 cat conftest.err >&5
5136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5137 (exit $ac_status); } && {
5138 test -z "$ac_c_werror_flag" ||
5139 test ! -s conftest.err
5140 } && test -s conftest.$ac_objext; then
5141 ac_header_compiler=yes
5143 echo "$as_me: failed program was:" >&5
5144 sed 's/^/| /' conftest.$ac_ext >&5
5146 ac_header_compiler=no
5149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5150 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5151 echo "${ECHO_T}$ac_header_compiler" >&6; }
5153 # Is the header present?
5154 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5155 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5156 cat >conftest.$ac_ext <<_ACEOF
5159 cat confdefs.h >>conftest.$ac_ext
5160 cat >>conftest.$ac_ext <<_ACEOF
5161 /* end confdefs.h. */
5162 #include <$ac_header>
5164 if { (ac_try="$ac_cpp conftest.$ac_ext"
5166 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5167 *) ac_try_echo
=$ac_try;;
5169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5170 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5172 grep -v '^ *+' conftest.er1
>conftest.err
5174 cat conftest.err
>&5
5175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5176 (exit $ac_status); } >/dev
/null
&& {
5177 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5178 test ! -s conftest.err
5180 ac_header_preproc
=yes
5182 echo "$as_me: failed program was:" >&5
5183 sed 's/^/| /' conftest.
$ac_ext >&5
5185 ac_header_preproc
=no
5188 rm -f conftest.err conftest.
$ac_ext
5189 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5190 echo "${ECHO_T}$ac_header_preproc" >&6; }
5192 # So? What about this header?
5193 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5195 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5196 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5197 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5198 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5199 ac_header_preproc
=yes
5202 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5203 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5204 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5205 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5206 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5207 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5208 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5209 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5210 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5211 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5212 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5213 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5215 ## -------------------------------------------------- ##
5216 ## Report this to courier-users@lists.sourceforge.net ##
5217 ## -------------------------------------------------- ##
5219 ) |
sed "s/^/$as_me: WARNING: /" >&2
5222 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5223 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5224 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5225 echo $ECHO_N "(cached) $ECHO_C" >&6
5227 eval "$as_ac_Header=\$ac_header_preproc"
5229 ac_res
=`eval echo '${'$as_ac_Header'}'`
5230 { echo "$as_me:$LINENO: result: $ac_res" >&5
5231 echo "${ECHO_T}$ac_res" >&6; }
5234 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5235 cat >>confdefs.h
<<_ACEOF
5236 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5244 ac_cpp
='$CXXCPP $CPPFLAGS'
5245 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5246 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5247 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5248 if test -z "$CXX"; then
5249 if test -n "$CCC"; then
5252 if test -n "$ac_tool_prefix"; then
5253 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
5255 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5256 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5257 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5258 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5259 if test "${ac_cv_prog_CXX+set}" = set; then
5260 echo $ECHO_N "(cached) $ECHO_C" >&6
5262 if test -n "$CXX"; then
5263 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
5265 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5269 test -z "$as_dir" && as_dir
=.
5270 for ac_exec_ext
in '' $ac_executable_extensions; do
5271 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5272 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
5273 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5283 if test -n "$CXX"; then
5284 { echo "$as_me:$LINENO: result: $CXX" >&5
5285 echo "${ECHO_T}$CXX" >&6; }
5287 { echo "$as_me:$LINENO: result: no" >&5
5288 echo "${ECHO_T}no" >&6; }
5292 test -n "$CXX" && break
5295 if test -z "$CXX"; then
5297 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
5299 # Extract the first word of "$ac_prog", so it can be a program name with args.
5300 set dummy
$ac_prog; ac_word
=$2
5301 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5303 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5304 echo $ECHO_N "(cached) $ECHO_C" >&6
5306 if test -n "$ac_ct_CXX"; then
5307 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
5309 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5313 test -z "$as_dir" && as_dir
=.
5314 for ac_exec_ext
in '' $ac_executable_extensions; do
5315 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5316 ac_cv_prog_ac_ct_CXX
="$ac_prog"
5317 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5326 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
5327 if test -n "$ac_ct_CXX"; then
5328 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5329 echo "${ECHO_T}$ac_ct_CXX" >&6; }
5331 { echo "$as_me:$LINENO: result: no" >&5
5332 echo "${ECHO_T}no" >&6; }
5336 test -n "$ac_ct_CXX" && break
5339 if test "x$ac_ct_CXX" = x
; then
5342 case $cross_compiling:$ac_tool_warned in
5344 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5345 whose name does not start with the host triplet. If you think this
5346 configuration is useful to you, please write to autoconf@gnu.org." >&5
5347 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5348 whose name does not start with the host triplet. If you think this
5349 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5350 ac_tool_warned
=yes ;;
5358 # Provide some information about the compiler.
5359 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
5360 ac_compiler
=`set X $ac_compile; echo $2`
5361 { (ac_try
="$ac_compiler --version >&5"
5363 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5364 *) ac_try_echo=$ac_try;;
5366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5367 (eval "$ac_compiler --version >&5") 2>&5
5369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5370 (exit $ac_status); }
5371 { (ac_try="$ac_compiler -v >&5"
5373 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5374 *) ac_try_echo
=$ac_try;;
5376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5377 (eval "$ac_compiler -v >&5") 2>&5
5379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5380 (exit $ac_status); }
5381 { (ac_try
="$ac_compiler -V >&5"
5383 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5384 *) ac_try_echo=$ac_try;;
5386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5387 (eval "$ac_compiler -V >&5") 2>&5
5389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5390 (exit $ac_status); }
5392 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5393 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
5394 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5395 echo $ECHO_N "(cached) $ECHO_C" >&6
5397 cat >conftest.$ac_ext <<_ACEOF
5400 cat confdefs.h >>conftest.$ac_ext
5401 cat >>conftest.$ac_ext <<_ACEOF
5402 /* end confdefs.h. */
5415 rm -f conftest.$ac_objext
5416 if { (ac_try="$ac_compile"
5418 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5419 *) ac_try_echo
=$ac_try;;
5421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5422 (eval "$ac_compile") 2>conftest.er1
5424 grep -v '^ *+' conftest.er1
>conftest.err
5426 cat conftest.err
>&5
5427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5428 (exit $ac_status); } && {
5429 test -z "$ac_cxx_werror_flag" ||
5430 test ! -s conftest.err
5431 } && test -s conftest.
$ac_objext; then
5434 echo "$as_me: failed program was:" >&5
5435 sed 's/^/| /' conftest.
$ac_ext >&5
5440 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5441 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5444 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5445 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
5446 GXX
=`test $ac_compiler_gnu = yes && echo yes`
5447 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5448 ac_save_CXXFLAGS
=$CXXFLAGS
5449 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5450 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
5451 if test "${ac_cv_prog_cxx_g+set}" = set; then
5452 echo $ECHO_N "(cached) $ECHO_C" >&6
5454 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5455 ac_cxx_werror_flag
=yes
5458 cat >conftest.
$ac_ext <<_ACEOF
5461 cat confdefs.h
>>conftest.
$ac_ext
5462 cat >>conftest.
$ac_ext <<_ACEOF
5463 /* end confdefs.h. */
5473 rm -f conftest.
$ac_objext
5474 if { (ac_try
="$ac_compile"
5476 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5477 *) ac_try_echo=$ac_try;;
5479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5480 (eval "$ac_compile") 2>conftest.er1
5482 grep -v '^ *+' conftest.er1 >conftest.err
5484 cat conftest.err >&5
5485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5486 (exit $ac_status); } && {
5487 test -z "$ac_cxx_werror_flag" ||
5488 test ! -s conftest.err
5489 } && test -s conftest.$ac_objext; then
5490 ac_cv_prog_cxx_g=yes
5492 echo "$as_me: failed program was:" >&5
5493 sed 's/^/| /' conftest.$ac_ext >&5
5496 cat >conftest.$ac_ext <<_ACEOF
5499 cat confdefs.h >>conftest.$ac_ext
5500 cat >>conftest.$ac_ext <<_ACEOF
5501 /* end confdefs.h. */
5511 rm -f conftest.$ac_objext
5512 if { (ac_try="$ac_compile"
5514 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5515 *) ac_try_echo
=$ac_try;;
5517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5518 (eval "$ac_compile") 2>conftest.er1
5520 grep -v '^ *+' conftest.er1
>conftest.err
5522 cat conftest.err
>&5
5523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5524 (exit $ac_status); } && {
5525 test -z "$ac_cxx_werror_flag" ||
5526 test ! -s conftest.err
5527 } && test -s conftest.
$ac_objext; then
5530 echo "$as_me: failed program was:" >&5
5531 sed 's/^/| /' conftest.
$ac_ext >&5
5533 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5535 cat >conftest.
$ac_ext <<_ACEOF
5538 cat confdefs.h
>>conftest.
$ac_ext
5539 cat >>conftest.
$ac_ext <<_ACEOF
5540 /* end confdefs.h. */
5550 rm -f conftest.
$ac_objext
5551 if { (ac_try
="$ac_compile"
5553 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5554 *) ac_try_echo=$ac_try;;
5556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5557 (eval "$ac_compile") 2>conftest.er1
5559 grep -v '^ *+' conftest.er1 >conftest.err
5561 cat conftest.err >&5
5562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5563 (exit $ac_status); } && {
5564 test -z "$ac_cxx_werror_flag" ||
5565 test ! -s conftest.err
5566 } && test -s conftest.$ac_objext; then
5567 ac_cv_prog_cxx_g=yes
5569 echo "$as_me: failed program was:" >&5
5570 sed 's/^/| /' conftest.$ac_ext >&5
5575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5582 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5584 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5585 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
5586 if test "$ac_test_CXXFLAGS" = set; then
5587 CXXFLAGS=$ac_save_CXXFLAGS
5588 elif test $ac_cv_prog_cxx_g = yes; then
5589 if test "$GXX" = yes; then
5595 if test "$GXX" = yes; then
5602 ac_cpp='$CXXCPP $CPPFLAGS'
5603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5607 depcc="$CXX" am_compiler_list=
5609 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5610 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
5611 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5612 echo $ECHO_N "(cached) $ECHO_C" >&6
5614 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5615 # We make a subdir and do the tests there. Otherwise we can end up
5616 # making bogus files that we don't know about and never remove. For
5617 # instance it was reported that on HP-UX the gcc test will end up
5618 # making a dummy file named `D
' -- because `-MD' means
`put the output
5621 # Copy depcomp to subdir because otherwise we won't find it if we're
5622 # using a relative directory.
5623 cp "$am_depcomp" conftest.dir
5625 # We will build objects and dependencies in a subdirectory because
5626 # it helps to detect inapplicable dependency modes. For instance
5627 # both Tru64's cc and ICC support -MD to output dependencies as a
5628 # side effect of compilation, but ICC will put the dependencies in
5629 # the current directory while Tru64 will put them in the object
5633 am_cv_CXX_dependencies_compiler_type=none
5634 if test "$am_compiler_list" = ""; then
5635 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5637 for depmode in $am_compiler_list; do
5638 # Setup a source with many dependencies, because some compilers
5639 # like to wrap large dependency lists on column 80 (with \), and
5640 # we should not choose a depcomp mode which is confused by this.
5642 # We need to recreate these files for each test, as the compiler may
5643 # overwrite some of them when testing with obscure command lines.
5644 # This happens at least with the AIX C compiler.
5646 for i in 1 2 3 4 5 6; do
5647 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5648 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
5649 # Solaris 8's
{/usr
,}/bin
/sh.
5650 touch sub
/conftst
$i.h
5652 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5656 # after this tag, mechanisms are not by side-effect, so they'll
5657 # only be used when explicitly requested
5658 if test "x$enable_dependency_tracking" = xyes
; then
5666 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5667 # mode. It turns out that the SunPro C++ compiler does not properly
5668 # handle `-M -o', and we need to detect this.
5669 if depmode
=$depmode \
5670 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
5671 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5672 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
5673 >/dev
/null
2>conftest.err
&&
5674 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5675 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5676 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
5677 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5678 # icc doesn't choke on unknown options, it will just issue warnings
5679 # or remarks (even with -Werror). So we grep stderr for any message
5680 # that says an option was ignored or not supported.
5681 # When given -MP, icc 7.0 and 7.1 complain thusly:
5682 # icc: Command line warning: ignoring option '-M'; no argument required
5683 # The diagnosis changed in icc 8.0:
5684 # icc: Command line remark: option '-MP' not supported
5685 if (grep 'ignoring option' conftest.err ||
5686 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5687 am_cv_CXX_dependencies_compiler_type
=$depmode
5696 am_cv_CXX_dependencies_compiler_type
=none
5700 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5701 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
5702 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5705 test "x$enable_dependency_tracking" != xno \
5706 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5707 am__fastdepCXX_TRUE
=
5708 am__fastdepCXX_FALSE
='#'
5710 am__fastdepCXX_TRUE
='#'
5711 am__fastdepCXX_FALSE
=
5717 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5718 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5719 (test "X$CXX" != "Xg++"))) ; then
5721 ac_cpp
='$CXXCPP $CPPFLAGS'
5722 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5723 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5724 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5725 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5726 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5727 if test -z "$CXXCPP"; then
5728 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5729 echo $ECHO_N "(cached) $ECHO_C" >&6
5731 # Double quotes because CXXCPP needs to be expanded
5732 for CXXCPP
in "$CXX -E" "/lib/cpp"
5735 for ac_cxx_preproc_warn_flag
in '' yes
5737 # Use a header file that comes with gcc, so configuring glibc
5738 # with a fresh cross-compiler works.
5739 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5740 # <limits.h> exists even on freestanding compilers.
5741 # On the NeXT, cc -E runs the code through the compiler's parser,
5742 # not just through cpp. "Syntax error" is here to catch this case.
5743 cat >conftest.
$ac_ext <<_ACEOF
5746 cat confdefs.h
>>conftest.
$ac_ext
5747 cat >>conftest.
$ac_ext <<_ACEOF
5748 /* end confdefs.h. */
5750 # include <limits.h>
5752 # include <assert.h>
5756 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5758 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5759 *) ac_try_echo=$ac_try;;
5761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5762 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5764 grep -v '^ *+' conftest.er1 >conftest.err
5766 cat conftest.err >&5
5767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5768 (exit $ac_status); } >/dev/null && {
5769 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5770 test ! -s conftest.err
5774 echo "$as_me: failed program was:" >&5
5775 sed 's/^/| /' conftest.$ac_ext >&5
5777 # Broken: fails on valid input.
5781 rm -f conftest.err conftest.$ac_ext
5783 # OK, works on sane cases. Now check whether nonexistent headers
5784 # can be detected and how.
5785 cat >conftest.$ac_ext <<_ACEOF
5788 cat confdefs.h >>conftest.$ac_ext
5789 cat >>conftest.$ac_ext <<_ACEOF
5790 /* end confdefs.h. */
5791 #include <ac_nonexistent.h>
5793 if { (ac_try="$ac_cpp conftest.$ac_ext"
5795 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5796 *) ac_try_echo
=$ac_try;;
5798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5799 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5801 grep -v '^ *+' conftest.er1
>conftest.err
5803 cat conftest.err
>&5
5804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5805 (exit $ac_status); } >/dev
/null
&& {
5806 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5807 test ! -s conftest.err
5809 # Broken: success on invalid input.
5812 echo "$as_me: failed program was:" >&5
5813 sed 's/^/| /' conftest.
$ac_ext >&5
5815 # Passes both tests.
5820 rm -f conftest.err conftest.
$ac_ext
5823 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5824 rm -f conftest.err conftest.
$ac_ext
5825 if $ac_preproc_ok; then
5830 ac_cv_prog_CXXCPP
=$CXXCPP
5833 CXXCPP
=$ac_cv_prog_CXXCPP
5835 ac_cv_prog_CXXCPP
=$CXXCPP
5837 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
5838 echo "${ECHO_T}$CXXCPP" >&6; }
5840 for ac_cxx_preproc_warn_flag
in '' yes
5842 # Use a header file that comes with gcc, so configuring glibc
5843 # with a fresh cross-compiler works.
5844 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5845 # <limits.h> exists even on freestanding compilers.
5846 # On the NeXT, cc -E runs the code through the compiler's parser,
5847 # not just through cpp. "Syntax error" is here to catch this case.
5848 cat >conftest.
$ac_ext <<_ACEOF
5851 cat confdefs.h
>>conftest.
$ac_ext
5852 cat >>conftest.
$ac_ext <<_ACEOF
5853 /* end confdefs.h. */
5855 # include <limits.h>
5857 # include <assert.h>
5861 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5863 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5864 *) ac_try_echo=$ac_try;;
5866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5867 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5869 grep -v '^ *+' conftest.er1 >conftest.err
5871 cat conftest.err >&5
5872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5873 (exit $ac_status); } >/dev/null && {
5874 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5875 test ! -s conftest.err
5879 echo "$as_me: failed program was:" >&5
5880 sed 's/^/| /' conftest.$ac_ext >&5
5882 # Broken: fails on valid input.
5886 rm -f conftest.err conftest.$ac_ext
5888 # OK, works on sane cases. Now check whether nonexistent headers
5889 # can be detected and how.
5890 cat >conftest.$ac_ext <<_ACEOF
5893 cat confdefs.h >>conftest.$ac_ext
5894 cat >>conftest.$ac_ext <<_ACEOF
5895 /* end confdefs.h. */
5896 #include <ac_nonexistent.h>
5898 if { (ac_try="$ac_cpp conftest.$ac_ext"
5900 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5901 *) ac_try_echo
=$ac_try;;
5903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5904 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5906 grep -v '^ *+' conftest.er1
>conftest.err
5908 cat conftest.err
>&5
5909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5910 (exit $ac_status); } >/dev
/null
&& {
5911 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5912 test ! -s conftest.err
5914 # Broken: success on invalid input.
5917 echo "$as_me: failed program was:" >&5
5918 sed 's/^/| /' conftest.
$ac_ext >&5
5920 # Passes both tests.
5925 rm -f conftest.err conftest.
$ac_ext
5928 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5929 rm -f conftest.err conftest.
$ac_ext
5930 if $ac_preproc_ok; then
5933 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5934 See \`config.log' for more details." >&5
5935 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5936 See \`config.log' for more details." >&2;}
5937 { (exit 1); exit 1; }; }
5941 ac_cpp
='$CXXCPP $CPPFLAGS'
5942 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5943 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5944 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5950 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5951 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5952 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
5953 if test -n "$ac_tool_prefix"; then
5954 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
5956 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5957 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5958 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5959 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5960 if test "${ac_cv_prog_F77+set}" = set; then
5961 echo $ECHO_N "(cached) $ECHO_C" >&6
5963 if test -n "$F77"; then
5964 ac_cv_prog_F77
="$F77" # Let the user override the test.
5966 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5970 test -z "$as_dir" && as_dir
=.
5971 for ac_exec_ext
in '' $ac_executable_extensions; do
5972 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5973 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
5974 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5984 if test -n "$F77"; then
5985 { echo "$as_me:$LINENO: result: $F77" >&5
5986 echo "${ECHO_T}$F77" >&6; }
5988 { echo "$as_me:$LINENO: result: no" >&5
5989 echo "${ECHO_T}no" >&6; }
5993 test -n "$F77" && break
5996 if test -z "$F77"; then
5998 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
6000 # Extract the first word of "$ac_prog", so it can be a program name with args.
6001 set dummy
$ac_prog; ac_word
=$2
6002 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6003 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6004 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
6005 echo $ECHO_N "(cached) $ECHO_C" >&6
6007 if test -n "$ac_ct_F77"; then
6008 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
6010 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6014 test -z "$as_dir" && as_dir
=.
6015 for ac_exec_ext
in '' $ac_executable_extensions; do
6016 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6017 ac_cv_prog_ac_ct_F77
="$ac_prog"
6018 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6027 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
6028 if test -n "$ac_ct_F77"; then
6029 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
6030 echo "${ECHO_T}$ac_ct_F77" >&6; }
6032 { echo "$as_me:$LINENO: result: no" >&5
6033 echo "${ECHO_T}no" >&6; }
6037 test -n "$ac_ct_F77" && break
6040 if test "x$ac_ct_F77" = x
; then
6043 case $cross_compiling:$ac_tool_warned in
6045 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6046 whose name does not start with the host triplet. If you think this
6047 configuration is useful to you, please write to autoconf@gnu.org." >&5
6048 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6049 whose name does not start with the host triplet. If you think this
6050 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6051 ac_tool_warned
=yes ;;
6058 # Provide some information about the compiler.
6059 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
6060 ac_compiler
=`set X $ac_compile; echo $2`
6061 { (ac_try
="$ac_compiler --version >&5"
6063 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6064 *) ac_try_echo=$ac_try;;
6066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6067 (eval "$ac_compiler --version >&5") 2>&5
6069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6070 (exit $ac_status); }
6071 { (ac_try="$ac_compiler -v >&5"
6073 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6074 *) ac_try_echo
=$ac_try;;
6076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6077 (eval "$ac_compiler -v >&5") 2>&5
6079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6080 (exit $ac_status); }
6081 { (ac_try
="$ac_compiler -V >&5"
6083 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6084 *) ac_try_echo=$ac_try;;
6086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6087 (eval "$ac_compiler -V >&5") 2>&5
6089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6090 (exit $ac_status); }
6093 # If we don't use `.F
' as extension, the preprocessor is not run on the
6094 # input file. (Note that this only needs to work for GNU compilers.)
6097 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6098 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
6099 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6100 echo $ECHO_N "(cached) $ECHO_C" >&6
6102 cat >conftest.$ac_ext <<_ACEOF
6110 rm -f conftest.$ac_objext
6111 if { (ac_try="$ac_compile"
6113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6114 *) ac_try_echo=$ac_try;;
6116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6117 (eval "$ac_compile") 2>conftest.er1
6119 grep -v '^
*+' conftest.er1 >conftest.err
6121 cat conftest.err >&5
6122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6123 (exit $ac_status); } && {
6124 test -z "$ac_f77_werror_flag" ||
6125 test ! -s conftest.err
6126 } && test -s conftest.$ac_objext; then
6129 echo "$as_me: failed program was:" >&5
6130 sed 's
/^
/|
/' conftest.$ac_ext >&5
6135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6136 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6139 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6140 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
6142 ac_test_FFLAGS=${FFLAGS+set}
6143 ac_save_FFLAGS=$FFLAGS
6145 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6146 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
6147 if test "${ac_cv_prog_f77_g+set}" = set; then
6148 echo $ECHO_N "(cached) $ECHO_C" >&6
6151 cat >conftest.$ac_ext <<_ACEOF
6156 rm -f conftest.$ac_objext
6157 if { (ac_try="$ac_compile"
6159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6160 *) ac_try_echo=$ac_try;;
6162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6163 (eval "$ac_compile") 2>conftest.er1
6165 grep -v '^
*+' conftest.er1 >conftest.err
6167 cat conftest.err >&5
6168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6169 (exit $ac_status); } && {
6170 test -z "$ac_f77_werror_flag" ||
6171 test ! -s conftest.err
6172 } && test -s conftest.$ac_objext; then
6173 ac_cv_prog_f77_g=yes
6175 echo "$as_me: failed program was:" >&5
6176 sed 's
/^
/|
/' conftest.$ac_ext >&5
6181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6184 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6185 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
6186 if test "$ac_test_FFLAGS" = set; then
6187 FFLAGS=$ac_save_FFLAGS
6188 elif test $ac_cv_prog_f77_g = yes; then
6189 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6195 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6202 G77=`test $ac_compiler_gnu = yes && echo yes`
6204 ac_cpp='$CPP $CPPFLAGS'
6205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
6206 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6211 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works
for C compilers
!
6213 # find the maximum length of command line arguments
6214 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6215 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
6216 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6217 echo $ECHO_N "(cached) $ECHO_C" >&6
6224 # On DJGPP, this test can blow up pretty badly due to problems in libc
6225 # (any single argument exceeding 2000 bytes causes a buffer overrun
6226 # during glob expansion). Even if it were fixed, the result of this
6227 # check would be larger than it should be.
6228 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6232 # Under GNU Hurd, this test is not required because there is
6233 # no limit to the length of command line arguments.
6234 # Libtool will interpret -1 as no limit whatsoever
6235 lt_cv_sys_max_cmd_len
=-1;
6239 # On Win9x/ME, this test blows up -- it succeeds, but takes
6240 # about 5 minutes as the teststring grows exponentially.
6241 # Worse, since 9x/ME are not pre-emptively multitasking,
6242 # you end up with a "frozen" computer, even though with patience
6243 # the test eventually succeeds (with a max line length of 256k).
6244 # Instead, let's just punt: use the minimum linelength reported by
6245 # all of the supported platforms: 8192 (on NT/2K/XP).
6246 lt_cv_sys_max_cmd_len
=8192;
6250 # On AmigaOS with pdksh, this test takes hours, literally.
6251 # So we just punt and use a minimum line length of 8192.
6252 lt_cv_sys_max_cmd_len
=8192;
6255 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6256 # This has been around since 386BSD, at least. Likely further.
6257 if test -x /sbin
/sysctl
; then
6258 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6259 elif test -x /usr
/sbin
/sysctl
; then
6260 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6262 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6264 # And add a safety zone
6265 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6266 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6270 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6271 lt_cv_sys_max_cmd_len
=196608
6275 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6276 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6277 # nice to cause kernel panics so lets avoid the loop below.
6278 # First set a reasonable default.
6279 lt_cv_sys_max_cmd_len
=16384
6281 if test -x /sbin
/sysconfig
; then
6282 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6283 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6288 lt_cv_sys_max_cmd_len
=102400
6290 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6291 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6292 if test -n "$kargmax"; then
6293 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6295 lt_cv_sys_max_cmd_len
=32768
6299 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6300 if test -n "$lt_cv_sys_max_cmd_len"; then
6301 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6302 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6304 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6305 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6306 = "XX$teststring") >/dev
/null
2>&1 &&
6307 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
6308 lt_cv_sys_max_cmd_len
=$new_result &&
6309 test $i != 17 # 1/2 MB should be enough
6312 teststring
=$teststring$teststring
6315 # Add a significant safety factor because C++ compilers can tack on massive
6316 # amounts of additional arguments before passing them to the linker.
6317 # It appears as though 1/2 is a usable value.
6318 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6325 if test -n $lt_cv_sys_max_cmd_len ; then
6326 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6327 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
6329 { echo "$as_me:$LINENO: result: none" >&5
6330 echo "${ECHO_T}none" >&6; }
6337 # Check for command to grab the raw symbol name followed by C symbol from nm.
6338 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6339 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
6340 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6341 echo $ECHO_N "(cached) $ECHO_C" >&6
6344 # These are sane defaults that work on at least a few old systems.
6345 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6347 # Character class describing NM global symbol codes.
6348 symcode
='[BCDEGRST]'
6350 # Regexp to match symbols that can be accessed directly from C.
6351 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6353 # Transform an extracted symbol line into a proper C declaration
6354 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6356 # Transform an extracted symbol line into symbol name and symbol address
6357 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'"
6359 # Define system-specific variables.
6364 cygwin
* | mingw
* | pw32
*)
6365 symcode
='[ABCDGISTW]'
6367 hpux
*) # Its linker distinguishes data from code symbols
6368 if test "$host_cpu" = ia64
; then
6369 symcode
='[ABCDEGRST]'
6371 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6372 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'"
6374 linux
* | k
*bsd
*-gnu)
6375 if test "$host_cpu" = ia64
; then
6376 symcode
='[ABCDGIRSTW]'
6377 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6378 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'"
6382 symcode
='[BCDEGRST]'
6385 symcode
='[BCDEGQRST]'
6396 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6404 # Handle CRLF in mingw tool chain
6408 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6412 # If we're using GNU nm, then use its standard symbol codes.
6413 case `$NM -V 2>&1` in
6414 *GNU
* |
*'with BFD'*)
6415 symcode
='[ABCDGIRSTW]' ;;
6418 # Try without a prefix undercore, then with it.
6419 for ac_symprfx
in "" "_"; do
6421 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6422 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6424 # Write the raw and C identifiers.
6425 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6427 # Check to see that the pipe works correctly.
6431 cat > conftest.
$ac_ext <<EOF
6436 void nm_test_func(){}
6440 int main(){nm_test_var='a';nm_test_func();return(0);}
6443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6444 (eval $ac_compile) 2>&5
6446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6447 (exit $ac_status); }; then
6448 # Now try to grab the symbols.
6450 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6451 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
6453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6454 (exit $ac_status); } && test -s "$nlist"; then
6455 # Try sorting and uniquifying the output.
6456 if sort "$nlist" |
uniq > "$nlist"T
; then
6457 mv -f "$nlist"T
"$nlist"
6462 # Make sure that we snagged all the symbols we need.
6463 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
6464 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
6465 cat <<EOF > conftest.$ac_ext
6471 # Now generate the symbol file.
6472 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6474 cat <<EOF >> conftest.$ac_ext
6475 #if defined (__STDC__) && __STDC__
6476 # define lt_ptr_t void *
6478 # define lt_ptr_t char *
6482 /* The mapping between symbol names and symbols. */
6487 lt_preloaded_symbols[] =
6490 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
6491 cat <<\EOF
>> conftest.
$ac_ext
6499 # Now try linking the two files.
6500 mv conftest.
$ac_objext conftstm.
$ac_objext
6501 lt_save_LIBS
="$LIBS"
6502 lt_save_CFLAGS
="$CFLAGS"
6503 LIBS
="conftstm.$ac_objext"
6504 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6506 (eval $ac_link) 2>&5
6508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6509 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
6512 LIBS
="$lt_save_LIBS"
6513 CFLAGS
="$lt_save_CFLAGS"
6515 echo "cannot find nm_test_func in $nlist" >&5
6518 echo "cannot find nm_test_var in $nlist" >&5
6521 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6524 echo "$progname: failed program was:" >&5
6525 cat conftest.
$ac_ext >&5
6527 rm -f conftest
* conftst
*
6529 # Do not use the global_symbol_pipe unless it works.
6530 if test "$pipe_works" = yes; then
6533 lt_cv_sys_global_symbol_pipe
=
6539 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6540 lt_cv_sys_global_symbol_to_cdecl
=
6542 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6543 { echo "$as_me:$LINENO: result: failed" >&5
6544 echo "${ECHO_T}failed" >&6; }
6546 { echo "$as_me:$LINENO: result: ok" >&5
6547 echo "${ECHO_T}ok" >&6; }
6550 { echo "$as_me:$LINENO: checking for objdir" >&5
6551 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
6552 if test "${lt_cv_objdir+set}" = set; then
6553 echo $ECHO_N "(cached) $ECHO_C" >&6
6555 rm -f .libs
2>/dev
/null
6556 mkdir .libs
2>/dev
/null
6557 if test -d .libs
; then
6560 # MS-DOS does not allow filenames that begin with a dot.
6563 rmdir .libs
2>/dev
/null
6565 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6566 echo "${ECHO_T}$lt_cv_objdir" >&6; }
6567 objdir
=$lt_cv_objdir
6575 # AIX sometimes has problems with the GCC collect2 program. For some
6576 # reason, if we set the COLLECT_NAMES environment variable, the problems
6577 # vanish in a puff of smoke.
6578 if test "X${COLLECT_NAMES+set}" != Xset
; then
6580 export COLLECT_NAMES
6585 # Sed substitution that helps us do robust quoting. It backslashifies
6586 # metacharacters that are still active within double-quoted strings.
6587 Xsed
='sed -e 1s/^X//'
6588 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
6590 # Same as above, but do not quote variable references.
6591 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
6593 # Sed substitution to delay expansion of an escaped shell variable in a
6594 # double_quote_subst'ed string.
6595 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6597 # Sed substitution to avoid accidental globbing in evaled expressions
6598 no_glob_subst
='s/\*/\\\*/g'
6604 default_ofile
=libtool
6605 can_build_shared
=yes
6607 # All known linkers require a `.a' archive for static linking (except MSVC,
6608 # which needs '.lib').
6610 ltmain
="$ac_aux_dir/ltmain.sh"
6611 ofile
="$default_ofile"
6612 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6614 if test -n "$ac_tool_prefix"; then
6615 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6616 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6617 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6618 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6619 if test "${ac_cv_prog_AR+set}" = set; then
6620 echo $ECHO_N "(cached) $ECHO_C" >&6
6622 if test -n "$AR"; then
6623 ac_cv_prog_AR
="$AR" # Let the user override the test.
6625 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6629 test -z "$as_dir" && as_dir
=.
6630 for ac_exec_ext
in '' $ac_executable_extensions; do
6631 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6632 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6633 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6643 if test -n "$AR"; then
6644 { echo "$as_me:$LINENO: result: $AR" >&5
6645 echo "${ECHO_T}$AR" >&6; }
6647 { echo "$as_me:$LINENO: result: no" >&5
6648 echo "${ECHO_T}no" >&6; }
6653 if test -z "$ac_cv_prog_AR"; then
6655 # Extract the first word of "ar", so it can be a program name with args.
6656 set dummy
ar; ac_word
=$2
6657 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6658 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6659 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6660 echo $ECHO_N "(cached) $ECHO_C" >&6
6662 if test -n "$ac_ct_AR"; then
6663 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6665 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6669 test -z "$as_dir" && as_dir
=.
6670 for ac_exec_ext
in '' $ac_executable_extensions; do
6671 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6672 ac_cv_prog_ac_ct_AR
="ar"
6673 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6682 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6683 if test -n "$ac_ct_AR"; then
6684 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6685 echo "${ECHO_T}$ac_ct_AR" >&6; }
6687 { echo "$as_me:$LINENO: result: no" >&5
6688 echo "${ECHO_T}no" >&6; }
6691 if test "x$ac_ct_AR" = x
; then
6694 case $cross_compiling:$ac_tool_warned in
6696 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6697 whose name does not start with the host triplet. If you think this
6698 configuration is useful to you, please write to autoconf@gnu.org." >&5
6699 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6700 whose name does not start with the host triplet. If you think this
6701 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6702 ac_tool_warned
=yes ;;
6710 if test -n "$ac_tool_prefix"; then
6711 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6712 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6713 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6714 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6715 if test "${ac_cv_prog_RANLIB+set}" = set; then
6716 echo $ECHO_N "(cached) $ECHO_C" >&6
6718 if test -n "$RANLIB"; then
6719 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6721 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6725 test -z "$as_dir" && as_dir
=.
6726 for ac_exec_ext
in '' $ac_executable_extensions; do
6727 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6728 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6729 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6738 RANLIB
=$ac_cv_prog_RANLIB
6739 if test -n "$RANLIB"; then
6740 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6741 echo "${ECHO_T}$RANLIB" >&6; }
6743 { echo "$as_me:$LINENO: result: no" >&5
6744 echo "${ECHO_T}no" >&6; }
6749 if test -z "$ac_cv_prog_RANLIB"; then
6750 ac_ct_RANLIB
=$RANLIB
6751 # Extract the first word of "ranlib", so it can be a program name with args.
6752 set dummy ranlib
; ac_word
=$2
6753 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6754 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6755 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6756 echo $ECHO_N "(cached) $ECHO_C" >&6
6758 if test -n "$ac_ct_RANLIB"; then
6759 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6761 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6765 test -z "$as_dir" && as_dir
=.
6766 for ac_exec_ext
in '' $ac_executable_extensions; do
6767 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6768 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6769 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6778 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6779 if test -n "$ac_ct_RANLIB"; then
6780 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6781 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6783 { echo "$as_me:$LINENO: result: no" >&5
6784 echo "${ECHO_T}no" >&6; }
6787 if test "x$ac_ct_RANLIB" = x
; then
6790 case $cross_compiling:$ac_tool_warned in
6792 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6793 whose name does not start with the host triplet. If you think this
6794 configuration is useful to you, please write to autoconf@gnu.org." >&5
6795 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6796 whose name does not start with the host triplet. If you think this
6797 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6798 ac_tool_warned
=yes ;;
6800 RANLIB
=$ac_ct_RANLIB
6803 RANLIB
="$ac_cv_prog_RANLIB"
6806 if test -n "$ac_tool_prefix"; then
6807 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6808 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6809 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6810 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6811 if test "${ac_cv_prog_STRIP+set}" = set; then
6812 echo $ECHO_N "(cached) $ECHO_C" >&6
6814 if test -n "$STRIP"; then
6815 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6817 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6821 test -z "$as_dir" && as_dir
=.
6822 for ac_exec_ext
in '' $ac_executable_extensions; do
6823 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6824 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6825 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6834 STRIP
=$ac_cv_prog_STRIP
6835 if test -n "$STRIP"; then
6836 { echo "$as_me:$LINENO: result: $STRIP" >&5
6837 echo "${ECHO_T}$STRIP" >&6; }
6839 { echo "$as_me:$LINENO: result: no" >&5
6840 echo "${ECHO_T}no" >&6; }
6845 if test -z "$ac_cv_prog_STRIP"; then
6847 # Extract the first word of "strip", so it can be a program name with args.
6848 set dummy strip
; ac_word
=$2
6849 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6850 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6851 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6852 echo $ECHO_N "(cached) $ECHO_C" >&6
6854 if test -n "$ac_ct_STRIP"; then
6855 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6857 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6861 test -z "$as_dir" && as_dir
=.
6862 for ac_exec_ext
in '' $ac_executable_extensions; do
6863 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6864 ac_cv_prog_ac_ct_STRIP
="strip"
6865 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6874 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6875 if test -n "$ac_ct_STRIP"; then
6876 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6877 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6879 { echo "$as_me:$LINENO: result: no" >&5
6880 echo "${ECHO_T}no" >&6; }
6883 if test "x$ac_ct_STRIP" = x
; then
6886 case $cross_compiling:$ac_tool_warned in
6888 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6889 whose name does not start with the host triplet. If you think this
6890 configuration is useful to you, please write to autoconf@gnu.org." >&5
6891 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6892 whose name does not start with the host triplet. If you think this
6893 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6894 ac_tool_warned
=yes ;;
6899 STRIP
="$ac_cv_prog_STRIP"
6904 old_CFLAGS
="$CFLAGS"
6906 # Set sane defaults for various variables
6907 test -z "$AR" && AR
=ar
6908 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6909 test -z "$AS" && AS
=as
6910 test -z "$CC" && CC
=cc
6911 test -z "$LTCC" && LTCC
=$CC
6912 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
6913 test -z "$DLLTOOL" && DLLTOOL
=dlltool
6914 test -z "$LD" && LD
=ld
6915 test -z "$LN_S" && LN_S
="ln -s"
6916 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6917 test -z "$NM" && NM
=nm
6918 test -z "$SED" && SED
=sed
6919 test -z "$OBJDUMP" && OBJDUMP
=objdump
6920 test -z "$RANLIB" && RANLIB
=:
6921 test -z "$STRIP" && STRIP
=:
6922 test -z "$ac_objext" && ac_objext
=o
6924 # Determine commands to create old-style static archives.
6925 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
6926 old_postinstall_cmds
='chmod 644 $oldlib'
6927 old_postuninstall_cmds
=
6929 if test -n "$RANLIB"; then
6932 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6935 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
6938 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6941 for cc_temp
in $compiler""; do
6943 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
6944 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
6949 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6952 # Only perform the check for file, if the check method requires it
6953 case $deplibs_check_method in
6955 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6956 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6957 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
6958 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6959 echo $ECHO_N "(cached) $ECHO_C" >&6
6963 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6966 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6967 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6968 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6969 for ac_dir
in $ac_dummy; do
6971 test -z "$ac_dir" && ac_dir
=.
6972 if test -f $ac_dir/${ac_tool_prefix}file; then
6973 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
6974 if test -n "$file_magic_test_file"; then
6975 case $deplibs_check_method in
6977 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6978 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6979 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6980 $EGREP "$file_magic_regex" > /dev
/null
; then
6985 *** Warning: the command libtool uses to detect shared libraries,
6986 *** $file_magic_cmd, produces output that libtool cannot recognize.
6987 *** The result is that libtool may fail to recognize shared libraries
6988 *** as such. This will affect the creation of libtool libraries that
6989 *** depend on shared libraries, but programs linked with such libtool
6990 *** libraries will work regardless of this problem. Nevertheless, you
6991 *** may want to report the problem to your system manager and/or to
6992 *** bug-libtool@gnu.org
7002 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7007 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7008 if test -n "$MAGIC_CMD"; then
7009 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7010 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7012 { echo "$as_me:$LINENO: result: no" >&5
7013 echo "${ECHO_T}no" >&6; }
7016 if test -z "$lt_cv_path_MAGIC_CMD"; then
7017 if test -n "$ac_tool_prefix"; then
7018 { echo "$as_me:$LINENO: checking for file" >&5
7019 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
7020 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7021 echo $ECHO_N "(cached) $ECHO_C" >&6
7025 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7028 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7029 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7030 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7031 for ac_dir
in $ac_dummy; do
7033 test -z "$ac_dir" && ac_dir
=.
7034 if test -f $ac_dir/file; then
7035 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7036 if test -n "$file_magic_test_file"; then
7037 case $deplibs_check_method in
7039 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7040 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7041 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7042 $EGREP "$file_magic_regex" > /dev
/null
; then
7047 *** Warning: the command libtool uses to detect shared libraries,
7048 *** $file_magic_cmd, produces output that libtool cannot recognize.
7049 *** The result is that libtool may fail to recognize shared libraries
7050 *** as such. This will affect the creation of libtool libraries that
7051 *** depend on shared libraries, but programs linked with such libtool
7052 *** libraries will work regardless of this problem. Nevertheless, you
7053 *** may want to report the problem to your system manager and/or to
7054 *** bug-libtool@gnu.org
7064 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7069 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7070 if test -n "$MAGIC_CMD"; then
7071 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7072 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7074 { echo "$as_me:$LINENO: result: no" >&5
7075 echo "${ECHO_T}no" >&6; }
7090 # Check whether --enable-libtool-lock was given.
7091 if test "${enable_libtool_lock+set}" = set; then
7092 enableval
=$enable_libtool_lock;
7095 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
7098 # Check whether --with-pic was given.
7099 if test "${with_pic+set}" = set; then
7100 withval
=$with_pic; pic_mode
="$withval"
7105 test -z "$pic_mode" && pic_mode
=default
7107 # Use C for the default configuration in the libtool script
7111 ac_cpp
='$CPP $CPPFLAGS'
7112 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7113 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7114 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7117 # Source file extension for C test sources.
7120 # Object file extension for compiled C test sources.
7124 # Code to be used in simple compile tests
7125 lt_simple_compile_test_code
="int some_variable = 0;"
7127 # Code to be used in simple link tests
7128 lt_simple_link_test_code
='int main(){return(0);}'
7131 # If no C compiler was specified, use CC.
7134 # If no C compiler flags were specified, use CFLAGS.
7135 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7137 # Allow CC to be a program name with arguments.
7141 # save warnings/boilerplate of simple test code
7142 ac_outfile
=conftest.
$ac_objext
7143 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7144 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7145 _lt_compiler_boilerplate
=`cat conftest.err`
7148 ac_outfile
=conftest.
$ac_objext
7149 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7150 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7151 _lt_linker_boilerplate
=`cat conftest.err`
7156 lt_prog_compiler_no_builtin_flag
=
7158 if test "$GCC" = yes; then
7159 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
7162 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7163 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
7164 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7165 echo $ECHO_N "(cached) $ECHO_C" >&6
7167 lt_cv_prog_compiler_rtti_exceptions
=no
7168 ac_outfile
=conftest.
$ac_objext
7169 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7170 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7171 # Insert the option either (1) after the last *FLAGS variable, or
7172 # (2) before a word containing "conftest.", or (3) at the end.
7173 # Note that $ac_compile itself does not contain backslashes and begins
7174 # with a dollar sign (not a hyphen), so the echo should work correctly.
7175 # The option is referenced via a variable to avoid confusing sed.
7176 lt_compile
=`echo "$ac_compile" | $SED \
7177 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7178 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7179 -e 's:$: $lt_compiler_flag:'`
7180 (eval echo "\"\$as_me:7180: $lt_compile\"" >&5)
7181 (eval "$lt_compile" 2>conftest.err
)
7183 cat conftest.err
>&5
7184 echo "$as_me:7184: \$? = $ac_status" >&5
7185 if (exit $ac_status) && test -s "$ac_outfile"; then
7186 # The compiler can only warn and ignore the option if not recognized
7187 # So say no if there are warnings other than the usual output.
7188 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7189 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7190 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7191 lt_cv_prog_compiler_rtti_exceptions
=yes
7197 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7198 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7200 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7201 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7208 lt_prog_compiler_wl
=
7209 lt_prog_compiler_pic
=
7210 lt_prog_compiler_static
=
7212 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7213 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
7215 if test "$GCC" = yes; then
7216 lt_prog_compiler_wl
='-Wl,'
7217 lt_prog_compiler_static
='-static'
7221 # All AIX code is PIC.
7222 if test "$host_cpu" = ia64
; then
7223 # AIX 5 now supports IA64 processor
7224 lt_prog_compiler_static
='-Bstatic'
7229 # FIXME: we need at least 68020 code to build shared libraries, but
7230 # adding the `-m68020' flag to GCC prevents building anything better,
7232 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7235 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7236 # PIC is the default for these OSes.
7239 mingw
* | cygwin
* | pw32
* | os2
*)
7240 # This hack is so that the source file can tell whether it is being
7241 # built for inclusion in a dll (and should export symbols for example).
7242 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7243 # (--disable-auto-import) libraries
7244 lt_prog_compiler_pic
='-DDLL_EXPORT'
7247 darwin
* | rhapsody
*)
7248 # PIC is the default on this platform
7249 # Common symbols not allowed in MH_DYLIB files
7250 lt_prog_compiler_pic
='-fno-common'
7254 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7255 # Instead, we relocate shared libraries at runtime.
7259 # Just because we use GCC doesn't mean we suddenly get shared libraries
7260 # on systems that don't support them.
7261 lt_prog_compiler_can_build_shared
=no
7266 if test -d /usr
/nec
; then
7267 lt_prog_compiler_pic
=-Kconform_pic
7272 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7279 lt_prog_compiler_pic
='-fPIC'
7285 lt_prog_compiler_pic
='-fPIC'
7289 # PORTME Check for flag to pass linker flags through the system compiler.
7292 lt_prog_compiler_wl
='-Wl,'
7293 if test "$host_cpu" = ia64
; then
7294 # AIX 5 now supports IA64 processor
7295 lt_prog_compiler_static
='-Bstatic'
7297 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7301 # PIC is the default on this platform
7302 # Common symbols not allowed in MH_DYLIB files
7303 case $cc_basename in
7305 lt_prog_compiler_pic
='-qnocommon'
7306 lt_prog_compiler_wl
='-Wl,'
7311 mingw
* | cygwin
* | pw32
* | os2
*)
7312 # This hack is so that the source file can tell whether it is being
7313 # built for inclusion in a dll (and should export symbols for example).
7314 lt_prog_compiler_pic
='-DDLL_EXPORT'
7317 hpux9
* | hpux10
* | hpux11
*)
7318 lt_prog_compiler_wl
='-Wl,'
7319 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7326 lt_prog_compiler_pic
='+Z'
7329 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7330 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7333 irix5
* | irix6
* | nonstopux
*)
7334 lt_prog_compiler_wl
='-Wl,'
7335 # PIC (with -KPIC) is the default.
7336 lt_prog_compiler_static
='-non_shared'
7340 lt_prog_compiler_pic
='-KPIC'
7341 lt_prog_compiler_static
='-Bstatic'
7344 linux
* | k
*bsd
*-gnu)
7345 case $cc_basename in
7347 lt_prog_compiler_wl
='-Wl,'
7348 lt_prog_compiler_pic
='-KPIC'
7349 lt_prog_compiler_static
='-static'
7351 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7352 # Portland Group compilers (*not* the Pentium gcc compiler,
7353 # which looks to be a dead project)
7354 lt_prog_compiler_wl
='-Wl,'
7355 lt_prog_compiler_pic
='-fpic'
7356 lt_prog_compiler_static
='-Bstatic'
7359 lt_prog_compiler_wl
='-Wl,'
7360 # All Alpha code is PIC.
7361 lt_prog_compiler_static
='-non_shared'
7364 case `$CC -V 2>&1 | sed 5q` in
7367 lt_prog_compiler_pic
='-KPIC'
7368 lt_prog_compiler_static
='-Bstatic'
7369 lt_prog_compiler_wl
='-Wl,'
7372 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7373 lt_prog_compiler_pic
='-KPIC'
7374 lt_prog_compiler_static
='-Bstatic'
7375 lt_prog_compiler_wl
=''
7382 osf3
* | osf4
* | osf5
*)
7383 lt_prog_compiler_wl
='-Wl,'
7384 # All OSF/1 code is PIC.
7385 lt_prog_compiler_static
='-non_shared'
7389 lt_prog_compiler_static
='-non_shared'
7393 lt_prog_compiler_pic
='-KPIC'
7394 lt_prog_compiler_static
='-Bstatic'
7395 case $cc_basename in
7397 lt_prog_compiler_wl
='-Qoption ld ';;
7399 lt_prog_compiler_wl
='-Wl,';;
7404 lt_prog_compiler_wl
='-Qoption ld '
7405 lt_prog_compiler_pic
='-PIC'
7406 lt_prog_compiler_static
='-Bstatic'
7409 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7410 lt_prog_compiler_wl
='-Wl,'
7411 lt_prog_compiler_pic
='-KPIC'
7412 lt_prog_compiler_static
='-Bstatic'
7416 if test -d /usr
/nec
;then
7417 lt_prog_compiler_pic
='-Kconform_pic'
7418 lt_prog_compiler_static
='-Bstatic'
7422 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7423 lt_prog_compiler_wl
='-Wl,'
7424 lt_prog_compiler_pic
='-KPIC'
7425 lt_prog_compiler_static
='-Bstatic'
7429 lt_prog_compiler_wl
='-Wl,'
7430 lt_prog_compiler_can_build_shared
=no
7434 lt_prog_compiler_pic
='-pic'
7435 lt_prog_compiler_static
='-Bstatic'
7439 lt_prog_compiler_can_build_shared
=no
7444 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7445 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
7448 # Check to make sure the PIC flag actually works.
7450 if test -n "$lt_prog_compiler_pic"; then
7452 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7453 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7454 if test "${lt_prog_compiler_pic_works+set}" = set; then
7455 echo $ECHO_N "(cached) $ECHO_C" >&6
7457 lt_prog_compiler_pic_works
=no
7458 ac_outfile
=conftest.
$ac_objext
7459 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7460 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7461 # Insert the option either (1) after the last *FLAGS variable, or
7462 # (2) before a word containing "conftest.", or (3) at the end.
7463 # Note that $ac_compile itself does not contain backslashes and begins
7464 # with a dollar sign (not a hyphen), so the echo should work correctly.
7465 # The option is referenced via a variable to avoid confusing sed.
7466 lt_compile
=`echo "$ac_compile" | $SED \
7467 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7468 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7469 -e 's:$: $lt_compiler_flag:'`
7470 (eval echo "\"\$as_me:7470: $lt_compile\"" >&5)
7471 (eval "$lt_compile" 2>conftest.err
)
7473 cat conftest.err
>&5
7474 echo "$as_me:7474: \$? = $ac_status" >&5
7475 if (exit $ac_status) && test -s "$ac_outfile"; then
7476 # The compiler can only warn and ignore the option if not recognized
7477 # So say no if there are warnings other than the usual output.
7478 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7479 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7480 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7481 lt_prog_compiler_pic_works
=yes
7487 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7488 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
7490 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
7491 case $lt_prog_compiler_pic in
7493 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7496 lt_prog_compiler_pic
=
7497 lt_prog_compiler_can_build_shared
=no
7502 # For platforms which do not support PIC, -DPIC is meaningless:
7504 lt_prog_compiler_pic
=
7507 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7512 # Check to make sure the static flag actually works.
7514 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7515 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7516 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
7517 if test "${lt_prog_compiler_static_works+set}" = set; then
7518 echo $ECHO_N "(cached) $ECHO_C" >&6
7520 lt_prog_compiler_static_works
=no
7521 save_LDFLAGS
="$LDFLAGS"
7522 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7523 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7524 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7525 # The linker can only warn and ignore the option if not recognized
7526 # So say no if there are warnings
7527 if test -s conftest.err
; then
7528 # Append any errors to the config.log.
7529 cat conftest.err
1>&5
7530 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7531 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7532 if diff conftest.exp conftest.er2
>/dev
/null
; then
7533 lt_prog_compiler_static_works
=yes
7536 lt_prog_compiler_static_works
=yes
7540 LDFLAGS
="$save_LDFLAGS"
7543 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7544 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
7546 if test x
"$lt_prog_compiler_static_works" = xyes
; then
7549 lt_prog_compiler_static
=
7553 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7554 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7555 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7556 echo $ECHO_N "(cached) $ECHO_C" >&6
7558 lt_cv_prog_compiler_c_o
=no
7559 $rm -r conftest
2>/dev
/null
7563 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7565 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7566 # Insert the option either (1) after the last *FLAGS variable, or
7567 # (2) before a word containing "conftest.", or (3) at the end.
7568 # Note that $ac_compile itself does not contain backslashes and begins
7569 # with a dollar sign (not a hyphen), so the echo should work correctly.
7570 lt_compile
=`echo "$ac_compile" | $SED \
7571 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7572 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7573 -e 's:$: $lt_compiler_flag:'`
7574 (eval echo "\"\$as_me:7574: $lt_compile\"" >&5)
7575 (eval "$lt_compile" 2>out
/conftest.err
)
7577 cat out
/conftest.err
>&5
7578 echo "$as_me:7578: \$? = $ac_status" >&5
7579 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7581 # The compiler can only warn and ignore the option if not recognized
7582 # So say no if there are warnings
7583 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7584 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7585 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7586 lt_cv_prog_compiler_c_o
=yes
7591 # SGI C++ compiler will create directory out/ii_files/ for
7592 # template instantiation
7593 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
7594 $rm out
/* && rmdir out
7600 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7601 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
7604 hard_links
="nottested"
7605 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7606 # do not overwrite the value of need_locks provided by the user
7607 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7608 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
7611 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7613 ln conftest.a conftest.b
2>&5 || hard_links
=no
7614 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7615 { echo "$as_me:$LINENO: result: $hard_links" >&5
7616 echo "${ECHO_T}$hard_links" >&6; }
7617 if test "$hard_links" = no
; then
7618 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7619 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7626 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7627 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
7630 allow_undefined_flag
=
7631 enable_shared_with_static_runtimes
=no
7633 archive_expsym_cmds
=
7634 old_archive_From_new_cmds
=
7635 old_archive_from_expsyms_cmds
=
7636 export_dynamic_flag_spec
=
7637 whole_archive_flag_spec
=
7638 thread_safe_flag_spec
=
7639 hardcode_libdir_flag_spec
=
7640 hardcode_libdir_flag_spec_ld
=
7641 hardcode_libdir_separator
=
7644 hardcode_shlibpath_var
=unsupported
7645 link_all_deplibs
=unknown
7646 hardcode_automatic
=no
7649 always_export_symbols
=no
7650 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7651 # include_expsyms should be a list of space-separated symbols to be *always*
7652 # included in the symbol list
7654 # exclude_expsyms can be an extended regexp of symbols to exclude
7655 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7656 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7657 # as well as any symbol that contains `d'.
7658 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
7659 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7660 # platforms (ab)use it in PIC code, but their linkers get confused if
7661 # the symbol is explicitly referenced. Since portable code cannot
7662 # rely on this symbol name, it's probably fine to never include it in
7663 # preloaded symbol tables.
7664 extract_expsyms_cmds
=
7665 # Just being paranoid about ensuring that cc_basename is set.
7666 for cc_temp
in $compiler""; do
7668 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7669 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7674 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7677 cygwin
* | mingw
* | pw32
*)
7678 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7679 # When not using gcc, we currently assume that we are using
7680 # Microsoft Visual C++.
7681 if test "$GCC" != yes; then
7686 # we just hope/assume this is gcc and not c89 (= MSVC++)
7695 if test "$with_gnu_ld" = yes; then
7696 # If archive_cmds runs LD, not CC, wlarc should be empty
7699 # Set some defaults for GNU ld with shared library support. These
7700 # are reset later if shared libraries are not supported. Putting them
7701 # here allows them to be overridden if necessary.
7702 runpath_var
=LD_RUN_PATH
7703 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
7704 export_dynamic_flag_spec
='${wl}--export-dynamic'
7705 # ancient GNU ld didn't support --whole-archive et. al.
7706 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
7707 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7709 whole_archive_flag_spec
=
7711 supports_anon_versioning
=no
7712 case `$LD -v 2>/dev/null` in
7713 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
7714 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7715 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7716 *\
2.11.
*) ;; # other 2.11 versions
7717 *) supports_anon_versioning
=yes ;;
7720 # See if GNU ld supports shared libraries.
7722 aix3
* | aix4
* | aix5
*)
7723 # On AIX/PPC, the GNU linker is very broken
7724 if test "$host_cpu" != ia64
; then
7728 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7729 *** to be unable to reliably create shared libraries on AIX.
7730 *** Therefore, libtool is disabling shared libraries support. If you
7731 *** really care for shared libraries, you may want to modify your PATH
7732 *** so that a non-GNU linker is found, and then restart.
7739 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)'
7740 hardcode_libdir_flag_spec
='-L$libdir'
7741 hardcode_minus_L
=yes
7743 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7744 # that the semantics of dynamic libraries on AmigaOS, at least up
7745 # to version 4, is to share data among multiple programs linked
7746 # with the same dynamic library. Since this doesn't match the
7747 # behavior of shared libraries on other platforms, we can't use
7753 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7754 allow_undefined_flag
=unsupported
7755 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7756 # support --undefined. This deserves some investigation. FIXME
7757 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7763 cygwin
* | mingw
* | pw32
*)
7764 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7765 # as there is no search path for DLLs.
7766 hardcode_libdir_flag_spec
='-L$libdir'
7767 allow_undefined_flag
=unsupported
7768 always_export_symbols
=no
7769 enable_shared_with_static_runtimes
=yes
7770 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7772 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
7773 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7774 # If the export-symbols file already is a .def file (1st line
7775 # is EXPORTS), use it as is; otherwise, prepend...
7776 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7777 cp $export_symbols $output_objdir/$soname.def;
7779 echo EXPORTS > $output_objdir/$soname.def;
7780 cat $export_symbols >> $output_objdir/$soname.def;
7782 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7790 hardcode_shlibpath_var
=no
7791 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7792 export_dynamic_flag_spec
='${wl}-E'
7793 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7794 # Instead, shared libraries are loaded at an image base (0x10000000 by
7795 # default) and relocated if they conflict, which is a slow very memory
7796 # consuming and fragmenting process. To avoid this, we pick a random,
7797 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7798 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7799 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7800 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'
7803 gnu
* | linux
* | k
*bsd
*-gnu)
7804 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7806 case $cc_basename,$host_cpu in
7807 pgcc
*) # Portland Group C compiler
7808 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'
7809 tmp_addflag
=' $pic_flag'
7811 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7812 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'
7813 tmp_addflag
=' $pic_flag -Mnomain' ;;
7814 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7815 tmp_addflag
=' -i_dynamic' ;;
7816 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7817 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7818 ifc
* | ifort
*) # Intel Fortran compiler
7819 tmp_addflag
=' -nofor_main' ;;
7821 case `$CC -V 2>&1 | sed 5q` in
7822 *Sun\ C
*) # Sun C 5.9
7823 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'
7824 tmp_sharedflag
='-G' ;;
7825 *Sun\ F
*) # Sun Fortran 8.3
7826 tmp_sharedflag
='-G' ;;
7828 tmp_sharedflag
='-shared' ;;
7830 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7832 if test $supports_anon_versioning = yes; then
7833 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
7834 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7835 $echo "local: *; };" >> $output_objdir/$libname.ver~
7836 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7844 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7845 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7848 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7849 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7854 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
7858 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7859 *** create shared libraries on Solaris systems. Therefore, libtool
7860 *** is disabling shared libraries support. We urge you to upgrade GNU
7861 *** binutils to release 2.9.1 or newer. Another option is to modify
7862 *** your PATH or compiler configuration so that the native linker is
7863 *** used, and then restart.
7866 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7867 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7868 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7874 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7875 case `$LD -v 2>&1` in
7876 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
7880 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7881 *** reliably create shared libraries on SCO systems. Therefore, libtool
7882 *** is disabling shared libraries support. We urge you to upgrade GNU
7883 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7884 *** your PATH or compiler configuration so that the native linker is
7885 *** used, and then restart.
7890 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7891 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
7892 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
7893 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
7902 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7905 hardcode_shlibpath_var
=no
7909 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7910 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7911 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7918 if test "$ld_shlibs" = no
; then
7920 hardcode_libdir_flag_spec
=
7921 export_dynamic_flag_spec
=
7922 whole_archive_flag_spec
=
7925 # PORTME fill in a description of your system's linker (not GNU ld)
7928 allow_undefined_flag
=unsupported
7929 always_export_symbols
=yes
7930 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'
7931 # Note: this linker hardcodes the directories in LIBPATH if there
7932 # are no directories specified by -L.
7933 hardcode_minus_L
=yes
7934 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7935 # Neither direct hardcoding nor static linking is supported with a
7937 hardcode_direct
=unsupported
7942 if test "$host_cpu" = ia64
; then
7943 # On IA64, the linker does run time linking by default, so we don't
7944 # have to do anything special.
7945 aix_use_runtimelinking
=no
7946 exp_sym_flag
='-Bexport'
7949 # If we're using GNU nm, then we don't want the "-C" option.
7950 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7951 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
7952 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'
7954 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'
7956 aix_use_runtimelinking
=no
7958 # Test if we are trying to use run time linking or normal
7959 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7960 # need to do runtime linking.
7961 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
7962 for ld_flag
in $LDFLAGS; do
7963 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
7964 aix_use_runtimelinking
=yes
7971 exp_sym_flag
='-bexport'
7972 no_entry_flag
='-bnoentry'
7975 # When large executables or shared objects are built, AIX ld can
7976 # have problems creating the table of contents. If linking a library
7977 # or program results in "error TOC overflow" add -mminimal-toc to
7978 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7979 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7983 hardcode_libdir_separator
=':'
7984 link_all_deplibs
=yes
7986 if test "$GCC" = yes; then
7987 case $host_os in aix4.
[012]|aix4.
[012].
*)
7988 # We only want to do this on AIX 4.2 and lower, the check
7989 # below for broken collect2 doesn't work under 4.3+
7990 collect2name
=`${CC} -print-prog-name=collect2`
7991 if test -f "$collect2name" && \
7992 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
7994 # We have reworked collect2
7997 # We have old collect2
7998 hardcode_direct
=unsupported
7999 # It fails to find uninstalled libraries when the uninstalled
8000 # path is not listed in the libpath. Setting hardcode_minus_L
8001 # to unsupported forces relinking
8002 hardcode_minus_L
=yes
8003 hardcode_libdir_flag_spec
='-L$libdir'
8004 hardcode_libdir_separator
=
8008 shared_flag
='-shared'
8009 if test "$aix_use_runtimelinking" = yes; then
8010 shared_flag
="$shared_flag "'${wl}-G'
8014 if test "$host_cpu" = ia64
; then
8015 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8016 # chokes on -Wl,-G. The following line is correct:
8019 if test "$aix_use_runtimelinking" = yes; then
8020 shared_flag
='${wl}-G'
8022 shared_flag
='${wl}-bM:SRE'
8027 # It seems that -bexpall does not export symbols beginning with
8028 # underscore (_), so it is better to generate a list of symbols to export.
8029 always_export_symbols
=yes
8030 if test "$aix_use_runtimelinking" = yes; then
8031 # Warning - without using the other runtime loading flags (-brtl),
8032 # -berok will link without error, but may produce a broken library.
8033 allow_undefined_flag
='-berok'
8034 # Determine the default libpath from the value encoded in an empty executable.
8035 cat >conftest.
$ac_ext <<_ACEOF
8038 cat confdefs.h
>>conftest.
$ac_ext
8039 cat >>conftest.
$ac_ext <<_ACEOF
8040 /* end confdefs.h. */
8050 rm -f conftest.
$ac_objext conftest
$ac_exeext
8051 if { (ac_try
="$ac_link"
8053 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8054 *) ac_try_echo=$ac_try;;
8056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8057 (eval "$ac_link") 2>conftest.er1
8059 grep -v '^ *+' conftest.er1 >conftest.err
8061 cat conftest.err >&5
8062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8063 (exit $ac_status); } && {
8064 test -z "$ac_c_werror_flag" ||
8065 test ! -s conftest.err
8066 } && test -s conftest$ac_exeext &&
8067 $as_test_x conftest$ac_exeext; then
8069 lt_aix_libpath_sed='
8070 /Import File Strings/,/^$/ {
8076 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8077 # Check for a 64-bit object if we didn't find anything.
8078 if test -z "$aix_libpath"; then
8079 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8082 echo "$as_me: failed program was:" >&5
8083 sed 's/^/| /' conftest.$ac_ext >&5
8088 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8089 conftest$ac_exeext conftest.$ac_ext
8090 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8092 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8093 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"
8095 if test "$host_cpu" = ia64; then
8096 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8097 allow_undefined_flag="-z nodefs"
8098 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"
8100 # Determine the default libpath from the value encoded in an empty executable.
8101 cat >conftest.$ac_ext <<_ACEOF
8104 cat confdefs.h >>conftest.$ac_ext
8105 cat >>conftest.$ac_ext <<_ACEOF
8106 /* end confdefs.h. */
8116 rm -f conftest.$ac_objext conftest$ac_exeext
8117 if { (ac_try="$ac_link"
8119 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8120 *) ac_try_echo
=$ac_try;;
8122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8123 (eval "$ac_link") 2>conftest.er1
8125 grep -v '^ *+' conftest.er1
>conftest.err
8127 cat conftest.err
>&5
8128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8129 (exit $ac_status); } && {
8130 test -z "$ac_c_werror_flag" ||
8131 test ! -s conftest.err
8132 } && test -s conftest
$ac_exeext &&
8133 $as_test_x conftest
$ac_exeext; then
8135 lt_aix_libpath_sed
='
8136 /Import File Strings/,/^$/ {
8142 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8143 # Check for a 64-bit object if we didn't find anything.
8144 if test -z "$aix_libpath"; then
8145 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8148 echo "$as_me: failed program was:" >&5
8149 sed 's/^/| /' conftest.
$ac_ext >&5
8154 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8155 conftest
$ac_exeext conftest.
$ac_ext
8156 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8158 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8159 # Warning - without using the other run time loading flags,
8160 # -berok will link without error, but may produce a broken library.
8161 no_undefined_flag
=' ${wl}-bernotok'
8162 allow_undefined_flag
=' ${wl}-berok'
8163 # Exported symbols can be pulled into shared objects from archives
8164 whole_archive_flag_spec
='$convenience'
8165 archive_cmds_need_lc
=yes
8166 # This is similar to how AIX traditionally builds its shared libraries.
8167 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'
8173 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)'
8174 hardcode_libdir_flag_spec
='-L$libdir'
8175 hardcode_minus_L
=yes
8176 # see comment about different semantics on the GNU ld section
8181 export_dynamic_flag_spec
=-rdynamic
8184 cygwin
* | mingw
* | pw32
*)
8185 # When not using gcc, we currently assume that we are using
8186 # Microsoft Visual C++.
8187 # hardcode_libdir_flag_spec is actually meaningless, as there is
8188 # no search path for DLLs.
8189 hardcode_libdir_flag_spec
=' '
8190 allow_undefined_flag
=unsupported
8191 # Tell ltmain to make .lib files, not .a files.
8193 # Tell ltmain to make .dll files, not .so files.
8195 # FIXME: Setting linknames here is a bad hack.
8196 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
8197 # The linker will automatically build a .lib file if we build a DLL.
8198 old_archive_From_new_cmds
='true'
8199 # FIXME: Should let the user specify the lib program.
8200 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8201 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8202 enable_shared_with_static_runtimes
=yes
8205 darwin
* | rhapsody
*)
8207 rhapsody
* | darwin1.
[012])
8208 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
8211 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8212 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8214 case ${MACOSX_DEPLOYMENT_TARGET} in
8216 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8219 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
8225 archive_cmds_need_lc
=no
8227 hardcode_automatic
=yes
8228 hardcode_shlibpath_var
=unsupported
8229 whole_archive_flag_spec
=''
8230 link_all_deplibs
=yes
8231 if test "$GCC" = yes ; then
8232 output_verbose_link_cmd
='echo'
8233 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8234 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8235 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8236 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}'
8237 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}'
8239 case $cc_basename in
8241 output_verbose_link_cmd
='echo'
8242 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
8243 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8244 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8245 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}'
8246 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}'
8256 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8257 hardcode_libdir_flag_spec
='-L$libdir'
8258 hardcode_shlibpath_var
=no
8265 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8266 # support. Future versions do this automatically, but an explicit c++rt0.o
8267 # does not break anything, and helps significantly (at the cost of a little
8270 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8271 hardcode_libdir_flag_spec
='-R$libdir'
8273 hardcode_shlibpath_var
=no
8276 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8278 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8280 hardcode_minus_L
=yes
8281 hardcode_shlibpath_var
=no
8284 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8285 freebsd
* | dragonfly
*)
8286 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8287 hardcode_libdir_flag_spec
='-R$libdir'
8289 hardcode_shlibpath_var
=no
8293 if test "$GCC" = yes; then
8294 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'
8296 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'
8298 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8299 hardcode_libdir_separator
=:
8302 # hardcode_minus_L: Not really in the search PATH,
8303 # but as the default location of the library.
8304 hardcode_minus_L
=yes
8305 export_dynamic_flag_spec
='${wl}-E'
8309 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8310 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8312 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8314 if test "$with_gnu_ld" = no
; then
8315 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8316 hardcode_libdir_separator
=:
8319 export_dynamic_flag_spec
='${wl}-E'
8321 # hardcode_minus_L: Not really in the search PATH,
8322 # but as the default location of the library.
8323 hardcode_minus_L
=yes
8328 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8331 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8334 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8337 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8343 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8346 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8349 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8353 if test "$with_gnu_ld" = no
; then
8354 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8355 hardcode_libdir_separator
=:
8359 hardcode_libdir_flag_spec_ld
='+b $libdir'
8361 hardcode_shlibpath_var
=no
8365 export_dynamic_flag_spec
='${wl}-E'
8367 # hardcode_minus_L: Not really in the search PATH,
8368 # but as the default location of the library.
8369 hardcode_minus_L
=yes
8375 irix5
* | irix6
* | nonstopux
*)
8376 if test "$GCC" = yes; then
8377 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'
8379 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'
8380 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8382 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8383 hardcode_libdir_separator
=:
8384 link_all_deplibs
=yes
8388 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8389 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8391 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8393 hardcode_libdir_flag_spec
='-R$libdir'
8395 hardcode_shlibpath_var
=no
8399 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8401 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8402 hardcode_libdir_separator
=:
8403 hardcode_shlibpath_var
=no
8407 if test -f /usr
/libexec
/ld.so
; then
8409 hardcode_shlibpath_var
=no
8410 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8411 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8412 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8413 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8414 export_dynamic_flag_spec
='${wl}-E'
8417 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8418 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8419 hardcode_libdir_flag_spec
='-R$libdir'
8422 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8423 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8433 hardcode_libdir_flag_spec
='-L$libdir'
8434 hardcode_minus_L
=yes
8435 allow_undefined_flag
=unsupported
8436 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'
8437 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8441 if test "$GCC" = yes; then
8442 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8443 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'
8445 allow_undefined_flag
=' -expect_unresolved \*'
8446 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'
8448 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8449 hardcode_libdir_separator
=:
8452 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8453 if test "$GCC" = yes; then
8454 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8455 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'
8456 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8458 allow_undefined_flag
=' -expect_unresolved \*'
8459 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'
8460 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8461 $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'
8463 # Both c and cxx compiler support -rpath directly
8464 hardcode_libdir_flag_spec
='-rpath $libdir'
8466 hardcode_libdir_separator
=:
8470 no_undefined_flag
=' -z text'
8471 if test "$GCC" = yes; then
8473 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8474 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8475 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
8478 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8479 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8480 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8482 hardcode_libdir_flag_spec
='-R$libdir'
8483 hardcode_shlibpath_var
=no
8485 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8487 # The compiler driver will combine and reorder linker options,
8488 # but understands `-z linker_flag'. GCC discards it without `$wl',
8489 # but is careful enough not to reorder.
8490 # Supported since Solaris 2.6 (maybe 2.5.1?)
8491 if test "$GCC" = yes; then
8492 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8494 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8498 link_all_deplibs
=yes
8502 if test "x$host_vendor" = xsequent
; then
8503 # Use $CC to link under sequent, because it throws in some extra .o
8504 # files that make .init and .fini sections work.
8505 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8507 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8509 hardcode_libdir_flag_spec
='-L$libdir'
8511 hardcode_minus_L
=yes
8512 hardcode_shlibpath_var
=no
8516 case $host_vendor in
8518 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8519 hardcode_direct
=yes # is this really true???
8522 ## LD is ld it makes a PLAMLIB
8523 ## CC just makes a GrossModule.
8524 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8525 reload_cmds
='$CC -r -o $output$reload_objs'
8529 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8530 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8533 runpath_var
='LD_RUN_PATH'
8534 hardcode_shlibpath_var
=no
8538 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8539 hardcode_shlibpath_var
=no
8540 export_dynamic_flag_spec
='-Bexport'
8544 if test -d /usr
/nec
; then
8545 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8546 hardcode_shlibpath_var
=no
8547 runpath_var
=LD_RUN_PATH
8548 hardcode_runpath_var
=yes
8553 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
8554 no_undefined_flag
='${wl}-z,text'
8555 archive_cmds_need_lc
=no
8556 hardcode_shlibpath_var
=no
8557 runpath_var
='LD_RUN_PATH'
8559 if test "$GCC" = yes; then
8560 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8561 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8563 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8564 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8568 sysv5
* | sco3.2v5
* | sco5v6
*)
8569 # Note: We can NOT use -z defs as we might desire, because we do not
8570 # link with -lc, and that would cause any symbols used from libc to
8571 # always be unresolved, which means just about no library would
8572 # ever link correctly. If we're not using GNU ld we use -z text
8573 # though, which does catch some bad symbols but isn't as heavy-handed
8575 no_undefined_flag
='${wl}-z,text'
8576 allow_undefined_flag
='${wl}-z,nodefs'
8577 archive_cmds_need_lc
=no
8578 hardcode_shlibpath_var
=no
8579 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
8580 hardcode_libdir_separator
=':'
8581 link_all_deplibs
=yes
8582 export_dynamic_flag_spec
='${wl}-Bexport'
8583 runpath_var
='LD_RUN_PATH'
8585 if test "$GCC" = yes; then
8586 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8587 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8589 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8590 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8595 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8596 hardcode_libdir_flag_spec
='-L$libdir'
8597 hardcode_shlibpath_var
=no
8606 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8607 echo "${ECHO_T}$ld_shlibs" >&6; }
8608 test "$ld_shlibs" = no
&& can_build_shared
=no
8611 # Do we need to explicitly link libc?
8613 case "x$archive_cmds_need_lc" in
8615 # Assume -lc should be added
8616 archive_cmds_need_lc
=yes
8618 if test "$enable_shared" = yes && test "$GCC" = yes; then
8619 case $archive_cmds in
8621 # FIXME: we may have to deal with multi-command sequences.
8624 # Test whether the compiler implicitly links with -lc since on some
8625 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8626 # to ld, don't add -lc before -lgcc.
8627 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8628 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
8630 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8633 (eval $ac_compile) 2>&5
8635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8636 (exit $ac_status); } 2>conftest.err
; then
8639 libobjs
=conftest.
$ac_objext
8641 wl
=$lt_prog_compiler_wl
8642 pic_flag
=$lt_prog_compiler_pic
8648 lt_save_allow_undefined_flag
=$allow_undefined_flag
8649 allow_undefined_flag
=
8650 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
8651 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8654 (exit $ac_status); }
8656 archive_cmds_need_lc
=no
8658 archive_cmds_need_lc
=yes
8660 allow_undefined_flag
=$lt_save_allow_undefined_flag
8662 cat conftest.err
1>&5
8665 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8666 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
8673 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8674 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
8676 libname_spec
='lib$name'
8684 shlibpath_overrides_runpath
=unknown
8686 dynamic_linker
="$host_os ld.so"
8687 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8689 if test "$GCC" = yes; then
8691 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
8692 *) lt_awk_arg
="/^libraries:/" ;;
8694 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8695 if echo "$lt_search_path_spec" |
grep ';' >/dev
/null
; then
8696 # if the path contains ";" then we assume it to be the separator
8697 # otherwise default to the standard path separator (i.e. ":") - it is
8698 # assumed that no part of a normal pathname contains ";" but that should
8699 # okay in the real world where ";" in dirpaths is itself problematic.
8700 lt_search_path_spec
=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8702 lt_search_path_spec
=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8704 # Ok, now we have the path, separated by spaces, we can step through it
8705 # and add multilib dir if necessary.
8706 lt_tmp_lt_search_path_spec
=
8707 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8708 for lt_sys_path
in $lt_search_path_spec; do
8709 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8710 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8712 test -d "$lt_sys_path" && \
8713 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
8716 lt_search_path_spec
=`echo $lt_tmp_lt_search_path_spec | awk '
8717 BEGIN {RS=" "; FS="/|\n";} {
8720 for (lt_i = NF; lt_i > 0; lt_i--) {
8721 if ($lt_i != "" && $lt_i != ".") {
8722 if ($lt_i == "..") {
8725 if (lt_count == 0) {
8726 lt_foo="/" $lt_i lt_foo;
8733 if (lt_foo != "") { lt_freq[lt_foo]++; }
8734 if (lt_freq[lt_foo] == 1) { print lt_foo; }
8736 sys_lib_search_path_spec
=`echo $lt_search_path_spec`
8738 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8740 need_lib_prefix
=unknown
8741 hardcode_into_libs
=no
8743 # when you set need_version to no, make sure it does not cause -set_version
8744 # flags to be left without arguments
8745 need_version
=unknown
8750 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8751 shlibpath_var
=LIBPATH
8753 # AIX 3 has no versioning support, so we append a major version to the name.
8754 soname_spec
='${libname}${release}${shared_ext}$major'
8761 hardcode_into_libs
=yes
8762 if test "$host_cpu" = ia64
; then
8763 # AIX 5 supports IA64
8764 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8765 shlibpath_var
=LD_LIBRARY_PATH
8767 # With GCC up to 2.95.x, collect2 would create an import file
8768 # for dependence libraries. The import file would start with
8769 # the line `#! .'. This would cause the generated library to
8770 # depend on `.', always an invalid library. This was fixed in
8771 # development snapshots of GCC prior to 3.0.
8773 aix4 | aix4.
[01] | aix4.
[01].
*)
8774 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8776 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
8783 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8784 # soname into executable. Probably we can add versioning support to
8785 # collect2, so additional links can be useful in future.
8786 if test "$aix_use_runtimelinking" = yes; then
8787 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8788 # instead of lib<name>.a to let people know that these are not
8789 # typical AIX shared libraries.
8790 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8792 # We preserve .a as extension for shared libraries through AIX4.2
8793 # and later when we are not doing run time linking.
8794 library_names_spec
='${libname}${release}.a $libname.a'
8795 soname_spec
='${libname}${release}${shared_ext}$major'
8797 shlibpath_var
=LIBPATH
8802 library_names_spec
='$libname.ixlibrary $libname.a'
8803 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8804 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'
8808 library_names_spec
='${libname}${shared_ext}'
8809 dynamic_linker
="$host_os ld.so"
8810 shlibpath_var
=LIBRARY_PATH
8816 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8817 soname_spec
='${libname}${release}${shared_ext}$major'
8818 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8819 shlibpath_var
=LD_LIBRARY_PATH
8820 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8821 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8822 # the default ld.so.conf also contains /usr/contrib/lib and
8823 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8824 # libtool to hard-code these into programs
8827 cygwin
* | mingw
* | pw32
*)
8828 version_type
=windows
8833 case $GCC,$host_os in
8834 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
8835 library_names_spec
='$libname.dll.a'
8836 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8837 postinstall_cmds
='base_file=`basename \${file}`~
8838 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
8839 dldir=$destdir/`dirname \$dlpath`~
8840 test -d \$dldir || mkdir -p \$dldir~
8841 $install_prog $dir/$dlname \$dldir/$dlname~
8842 chmod a+x \$dldir/$dlname'
8843 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8844 dlpath=$dir/\$dldll~
8846 shlibpath_overrides_runpath
=yes
8850 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8851 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8852 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8855 # MinGW DLLs use traditional 'lib' prefix
8856 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8857 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8858 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
8859 # It is most probably a Windows format PATH printed by
8860 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8861 # path with ; separators, and with drive letters. We can handle the
8862 # drive letters (cygwin fileutils understands them), so leave them,
8863 # especially as we might pass files found there to a mingw objdump,
8864 # which wouldn't understand a cygwinified path. Ahh.
8865 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8867 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8871 # pw32 DLLs use 'pw' prefix rather than 'lib'
8872 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8878 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8881 dynamic_linker
='Win32 ld.exe'
8882 # FIXME: first we should search . and the directory the executable is in
8886 darwin
* | rhapsody
*)
8887 dynamic_linker
="$host_os dyld"
8891 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8892 soname_spec
='${libname}${release}${major}$shared_ext'
8893 shlibpath_overrides_runpath
=yes
8894 shlibpath_var
=DYLD_LIBRARY_PATH
8895 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8897 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
8898 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8905 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8906 soname_spec
='${libname}${release}${shared_ext}$major'
8907 shlibpath_var
=LD_LIBRARY_PATH
8914 freebsd
* | dragonfly
*)
8915 # DragonFly does not have aout. When/if they implement a new
8916 # versioning mechanism, adjust this.
8917 if test -x /usr
/bin
/objformat
; then
8918 objformat
=`/usr/bin/objformat`
8921 freebsd
[123]*) objformat
=aout
;;
8925 version_type
=freebsd-
$objformat
8926 case $version_type in
8928 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8933 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8937 shlibpath_var
=LD_LIBRARY_PATH
8940 shlibpath_overrides_runpath
=yes
8942 freebsd3.
[01]* | freebsdelf3.
[01]*)
8943 shlibpath_overrides_runpath
=yes
8944 hardcode_into_libs
=yes
8946 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
8947 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
8948 shlibpath_overrides_runpath
=no
8949 hardcode_into_libs
=yes
8951 *) # from 4.6 on, and DragonFly
8952 shlibpath_overrides_runpath
=yes
8953 hardcode_into_libs
=yes
8962 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8963 soname_spec
='${libname}${release}${shared_ext}$major'
8964 shlibpath_var
=LD_LIBRARY_PATH
8965 hardcode_into_libs
=yes
8968 hpux9
* | hpux10
* | hpux11
*)
8969 # Give a soname corresponding to the major version so that dld.sl refuses to
8970 # link against other versions.
8977 hardcode_into_libs
=yes
8978 dynamic_linker
="$host_os dld.so"
8979 shlibpath_var
=LD_LIBRARY_PATH
8980 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8981 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8982 soname_spec
='${libname}${release}${shared_ext}$major'
8983 if test "X$HPUX_IA64_MODE" = X32
; then
8984 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8986 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8988 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8992 hardcode_into_libs
=yes
8993 dynamic_linker
="$host_os dld.sl"
8994 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
8995 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8996 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8997 soname_spec
='${libname}${release}${shared_ext}$major'
8998 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8999 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9003 dynamic_linker
="$host_os dld.sl"
9004 shlibpath_var
=SHLIB_PATH
9005 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9006 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9007 soname_spec
='${libname}${release}${shared_ext}$major'
9010 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9011 postinstall_cmds
='chmod 555 $lib'
9018 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9019 soname_spec
='${libname}${release}${shared_ext}$major'
9020 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9021 shlibpath_var
=LD_LIBRARY_PATH
9022 shlibpath_overrides_runpath
=no
9023 hardcode_into_libs
=yes
9026 irix5
* | irix6
* | nonstopux
*)
9028 nonstopux
*) version_type
=nonstopux
;;
9030 if test "$lt_cv_prog_gnu_ld" = yes; then
9038 soname_spec
='${libname}${release}${shared_ext}$major'
9039 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9041 irix5
* | nonstopux
*)
9045 case $LD in # libtool.m4 will add one of these switches to LD
9046 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9047 libsuff
= shlibsuff
= libmagic
=32-bit;;
9048 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9049 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9050 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9051 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9052 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9056 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9057 shlibpath_overrides_runpath
=no
9058 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9059 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9060 hardcode_into_libs
=yes
9063 # No shared lib support for Linux oldld, aout, or coff.
9064 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9068 # This must be Linux ELF.
9069 linux
* | k
*bsd
*-gnu)
9073 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9074 soname_spec
='${libname}${release}${shared_ext}$major'
9075 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9076 shlibpath_var
=LD_LIBRARY_PATH
9077 shlibpath_overrides_runpath
=no
9078 # This implies no fast_install, which is unacceptable.
9079 # Some rework will be needed to allow for fast_install
9080 # before this can be enabled.
9081 hardcode_into_libs
=yes
9082 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9083 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9085 # Append ld.so.conf contents to the search path
9086 if test -f /etc
/ld.so.conf
; then
9087 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' ' '`
9088 sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec $lt_ld_extra"
9091 # We used to test for /lib/ld.so.1 and disable shared libraries on
9092 # powerpc, because MkLinux only supported shared libraries with the
9093 # GNU dynamic linker. Since this was broken with cross compilers,
9094 # most powerpc-linux boxes support dynamic linking these days and
9095 # people can always --disable-shared, the test was removed, and we
9096 # assume the GNU/Linux dynamic linker is in use.
9097 dynamic_linker
='GNU/Linux ld.so'
9104 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
9105 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9106 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9107 dynamic_linker
='NetBSD (a.out) ld.so'
9109 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9110 soname_spec
='${libname}${release}${shared_ext}$major'
9111 dynamic_linker
='NetBSD ld.elf_so'
9113 shlibpath_var
=LD_LIBRARY_PATH
9114 shlibpath_overrides_runpath
=yes
9115 hardcode_into_libs
=yes
9120 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9121 shlibpath_var
=LD_LIBRARY_PATH
9122 shlibpath_overrides_runpath
=yes
9129 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9130 soname_spec
='${libname}${release}${shared_ext}$major'
9131 shlibpath_var
=LD_LIBRARY_PATH
9132 shlibpath_overrides_runpath
=yes
9137 sys_lib_dlsearch_path_spec
="/usr/lib"
9139 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9141 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9142 *) need_version
=no
;;
9144 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9145 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9146 shlibpath_var
=LD_LIBRARY_PATH
9147 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9149 openbsd2.
[89] | openbsd2.
[89].
*)
9150 shlibpath_overrides_runpath
=no
9153 shlibpath_overrides_runpath
=yes
9157 shlibpath_overrides_runpath
=yes
9162 libname_spec
='$name'
9165 library_names_spec
='$libname${shared_ext} $libname.a'
9166 dynamic_linker
='OS/2 ld.exe'
9167 shlibpath_var
=LIBPATH
9170 osf3
* | osf4
* | osf5
*)
9174 soname_spec
='${libname}${release}${shared_ext}$major'
9175 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9176 shlibpath_var
=LD_LIBRARY_PATH
9177 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9178 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9189 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9190 soname_spec
='${libname}${release}${shared_ext}$major'
9191 shlibpath_var
=LD_LIBRARY_PATH
9192 shlibpath_overrides_runpath
=yes
9193 hardcode_into_libs
=yes
9194 # ldd complains unless libraries are executable
9195 postinstall_cmds
='chmod +x $lib'
9200 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9201 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9202 shlibpath_var
=LD_LIBRARY_PATH
9203 shlibpath_overrides_runpath
=yes
9204 if test "$with_gnu_ld" = yes; then
9212 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9213 soname_spec
='${libname}${release}${shared_ext}$major'
9214 shlibpath_var
=LD_LIBRARY_PATH
9215 case $host_vendor in
9217 shlibpath_overrides_runpath
=no
9219 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9220 runpath_var
=LD_RUN_PATH
9228 shlibpath_overrides_runpath
=no
9229 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9235 if test -d /usr
/nec
;then
9237 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9238 soname_spec
='$libname${shared_ext}.$major'
9239 shlibpath_var
=LD_LIBRARY_PATH
9243 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9244 version_type
=freebsd-elf
9247 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9248 soname_spec
='${libname}${release}${shared_ext}$major'
9249 shlibpath_var
=LD_LIBRARY_PATH
9250 hardcode_into_libs
=yes
9251 if test "$with_gnu_ld" = yes; then
9252 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9253 shlibpath_overrides_runpath
=no
9255 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9256 shlibpath_overrides_runpath
=yes
9259 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9263 sys_lib_dlsearch_path_spec
='/usr/lib'
9268 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9269 soname_spec
='${libname}${release}${shared_ext}$major'
9270 shlibpath_var
=LD_LIBRARY_PATH
9277 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9278 echo "${ECHO_T}$dynamic_linker" >&6; }
9279 test "$dynamic_linker" = no
&& can_build_shared
=no
9281 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9282 if test "$GCC" = yes; then
9283 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9286 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9287 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
9289 if test -n "$hardcode_libdir_flag_spec" || \
9290 test -n "$runpath_var" || \
9291 test "X$hardcode_automatic" = "Xyes" ; then
9293 # We can hardcode non-existant directories.
9294 if test "$hardcode_direct" != no
&&
9295 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9296 # have to relink, otherwise we might link with an installed library
9297 # when we should be linking with a yet-to-be-installed one
9298 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
9299 test "$hardcode_minus_L" != no
; then
9300 # Linking always hardcodes the temporary library directory.
9301 hardcode_action
=relink
9303 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9304 hardcode_action
=immediate
9307 # We cannot hardcode anything, or else we can only hardcode existing
9309 hardcode_action
=unsupported
9311 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
9312 echo "${ECHO_T}$hardcode_action" >&6; }
9314 if test "$hardcode_action" = relink
; then
9315 # Fast installation is not supported
9316 enable_fast_install
=no
9317 elif test "$shlibpath_overrides_runpath" = yes ||
9318 test "$enable_shared" = no
; then
9319 # Fast installation is not necessary
9320 enable_fast_install
=needless
9325 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9326 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
9327 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
9328 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
9329 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
9330 { echo "$as_me:$LINENO: result: yes" >&5
9331 echo "${ECHO_T}yes" >&6; }
9333 # FIXME - insert some real tests, host_os isn't really good enough
9336 if test -n "$STRIP" ; then
9337 striplib
="$STRIP -x"
9338 old_striplib
="$STRIP -S"
9339 { echo "$as_me:$LINENO: result: yes" >&5
9340 echo "${ECHO_T}yes" >&6; }
9342 { echo "$as_me:$LINENO: result: no" >&5
9343 echo "${ECHO_T}no" >&6; }
9347 { echo "$as_me:$LINENO: result: no" >&5
9348 echo "${ECHO_T}no" >&6; }
9353 if test "x$enable_dlopen" != xyes
; then
9354 enable_dlopen
=unknown
9355 enable_dlopen_self
=unknown
9356 enable_dlopen_self_static
=unknown
9363 lt_cv_dlopen
="load_add_on"
9365 lt_cv_dlopen_self
=yes
9369 lt_cv_dlopen
="LoadLibrary"
9374 lt_cv_dlopen
="dlopen"
9379 # if libdl is installed we need to link against it
9380 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9381 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9382 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9383 echo $ECHO_N "(cached) $ECHO_C" >&6
9385 ac_check_lib_save_LIBS
=$LIBS
9387 cat >conftest.
$ac_ext <<_ACEOF
9390 cat confdefs.h
>>conftest.
$ac_ext
9391 cat >>conftest.
$ac_ext <<_ACEOF
9392 /* end confdefs.h. */
9394 /* Override any GCC internal prototype to avoid an error.
9395 Use char because int might match the return type of a GCC
9396 builtin and then its argument prototype would still apply. */
9409 rm -f conftest.
$ac_objext conftest
$ac_exeext
9410 if { (ac_try
="$ac_link"
9412 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9413 *) ac_try_echo=$ac_try;;
9415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9416 (eval "$ac_link") 2>conftest.er1
9418 grep -v '^ *+' conftest.er1 >conftest.err
9420 cat conftest.err >&5
9421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9422 (exit $ac_status); } && {
9423 test -z "$ac_c_werror_flag" ||
9424 test ! -s conftest.err
9425 } && test -s conftest$ac_exeext &&
9426 $as_test_x conftest$ac_exeext; then
9427 ac_cv_lib_dl_dlopen=yes
9429 echo "$as_me: failed program was:" >&5
9430 sed 's/^/| /' conftest.$ac_ext >&5
9432 ac_cv_lib_dl_dlopen=no
9435 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9436 conftest$ac_exeext conftest.$ac_ext
9437 LIBS=$ac_check_lib_save_LIBS
9439 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9440 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9441 if test $ac_cv_lib_dl_dlopen = yes; then
9442 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9447 lt_cv_dlopen_self=yes
9454 { echo "$as_me:$LINENO: checking for shl_load" >&5
9455 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
9456 if test "${ac_cv_func_shl_load+set}" = set; then
9457 echo $ECHO_N "(cached) $ECHO_C" >&6
9459 cat >conftest.$ac_ext <<_ACEOF
9462 cat confdefs.h >>conftest.$ac_ext
9463 cat >>conftest.$ac_ext <<_ACEOF
9464 /* end confdefs.h. */
9465 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9466 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9467 #define shl_load innocuous_shl_load
9469 /* System header to define __stub macros and hopefully few prototypes,
9470 which can conflict with char shl_load (); below.
9471 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9472 <limits.h> exists even on freestanding compilers. */
9475 # include <limits.h>
9477 # include <assert.h>
9482 /* Override any GCC internal prototype to avoid an error.
9483 Use char because int might match the return type of a GCC
9484 builtin and then its argument prototype would still apply. */
9489 /* The GNU C library defines this for functions which it implements
9490 to always fail with ENOSYS. Some functions are actually named
9491 something starting with __ and the normal name is an alias. */
9492 #if defined __stub_shl_load || defined __stub___shl_load
9504 rm -f conftest.$ac_objext conftest$ac_exeext
9505 if { (ac_try="$ac_link"
9507 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9508 *) ac_try_echo
=$ac_try;;
9510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9511 (eval "$ac_link") 2>conftest.er1
9513 grep -v '^ *+' conftest.er1
>conftest.err
9515 cat conftest.err
>&5
9516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9517 (exit $ac_status); } && {
9518 test -z "$ac_c_werror_flag" ||
9519 test ! -s conftest.err
9520 } && test -s conftest
$ac_exeext &&
9521 $as_test_x conftest
$ac_exeext; then
9522 ac_cv_func_shl_load
=yes
9524 echo "$as_me: failed program was:" >&5
9525 sed 's/^/| /' conftest.
$ac_ext >&5
9527 ac_cv_func_shl_load
=no
9530 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9531 conftest
$ac_exeext conftest.
$ac_ext
9533 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9534 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9535 if test $ac_cv_func_shl_load = yes; then
9536 lt_cv_dlopen
="shl_load"
9538 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9539 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
9540 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9541 echo $ECHO_N "(cached) $ECHO_C" >&6
9543 ac_check_lib_save_LIBS
=$LIBS
9545 cat >conftest.
$ac_ext <<_ACEOF
9548 cat confdefs.h
>>conftest.
$ac_ext
9549 cat >>conftest.
$ac_ext <<_ACEOF
9550 /* end confdefs.h. */
9552 /* Override any GCC internal prototype to avoid an error.
9553 Use char because int might match the return type of a GCC
9554 builtin and then its argument prototype would still apply. */
9567 rm -f conftest.
$ac_objext conftest
$ac_exeext
9568 if { (ac_try
="$ac_link"
9570 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9571 *) ac_try_echo=$ac_try;;
9573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9574 (eval "$ac_link") 2>conftest.er1
9576 grep -v '^ *+' conftest.er1 >conftest.err
9578 cat conftest.err >&5
9579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9580 (exit $ac_status); } && {
9581 test -z "$ac_c_werror_flag" ||
9582 test ! -s conftest.err
9583 } && test -s conftest$ac_exeext &&
9584 $as_test_x conftest$ac_exeext; then
9585 ac_cv_lib_dld_shl_load=yes
9587 echo "$as_me: failed program was:" >&5
9588 sed 's/^/| /' conftest.$ac_ext >&5
9590 ac_cv_lib_dld_shl_load=no
9593 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9594 conftest$ac_exeext conftest.$ac_ext
9595 LIBS=$ac_check_lib_save_LIBS
9597 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9598 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9599 if test $ac_cv_lib_dld_shl_load = yes; then
9600 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
9602 { echo "$as_me:$LINENO: checking for dlopen" >&5
9603 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
9604 if test "${ac_cv_func_dlopen+set}" = set; then
9605 echo $ECHO_N "(cached) $ECHO_C" >&6
9607 cat >conftest.$ac_ext <<_ACEOF
9610 cat confdefs.h >>conftest.$ac_ext
9611 cat >>conftest.$ac_ext <<_ACEOF
9612 /* end confdefs.h. */
9613 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9614 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9615 #define dlopen innocuous_dlopen
9617 /* System header to define __stub macros and hopefully few prototypes,
9618 which can conflict with char dlopen (); below.
9619 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9620 <limits.h> exists even on freestanding compilers. */
9623 # include <limits.h>
9625 # include <assert.h>
9630 /* Override any GCC internal prototype to avoid an error.
9631 Use char because int might match the return type of a GCC
9632 builtin and then its argument prototype would still apply. */
9637 /* The GNU C library defines this for functions which it implements
9638 to always fail with ENOSYS. Some functions are actually named
9639 something starting with __ and the normal name is an alias. */
9640 #if defined __stub_dlopen || defined __stub___dlopen
9652 rm -f conftest.$ac_objext conftest$ac_exeext
9653 if { (ac_try="$ac_link"
9655 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9656 *) ac_try_echo
=$ac_try;;
9658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9659 (eval "$ac_link") 2>conftest.er1
9661 grep -v '^ *+' conftest.er1
>conftest.err
9663 cat conftest.err
>&5
9664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9665 (exit $ac_status); } && {
9666 test -z "$ac_c_werror_flag" ||
9667 test ! -s conftest.err
9668 } && test -s conftest
$ac_exeext &&
9669 $as_test_x conftest
$ac_exeext; then
9670 ac_cv_func_dlopen
=yes
9672 echo "$as_me: failed program was:" >&5
9673 sed 's/^/| /' conftest.
$ac_ext >&5
9675 ac_cv_func_dlopen
=no
9678 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9679 conftest
$ac_exeext conftest.
$ac_ext
9681 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9682 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
9683 if test $ac_cv_func_dlopen = yes; then
9684 lt_cv_dlopen
="dlopen"
9686 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9687 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9688 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9689 echo $ECHO_N "(cached) $ECHO_C" >&6
9691 ac_check_lib_save_LIBS
=$LIBS
9693 cat >conftest.
$ac_ext <<_ACEOF
9696 cat confdefs.h
>>conftest.
$ac_ext
9697 cat >>conftest.
$ac_ext <<_ACEOF
9698 /* end confdefs.h. */
9700 /* Override any GCC internal prototype to avoid an error.
9701 Use char because int might match the return type of a GCC
9702 builtin and then its argument prototype would still apply. */
9715 rm -f conftest.
$ac_objext conftest
$ac_exeext
9716 if { (ac_try
="$ac_link"
9718 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9719 *) ac_try_echo=$ac_try;;
9721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9722 (eval "$ac_link") 2>conftest.er1
9724 grep -v '^ *+' conftest.er1 >conftest.err
9726 cat conftest.err >&5
9727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9728 (exit $ac_status); } && {
9729 test -z "$ac_c_werror_flag" ||
9730 test ! -s conftest.err
9731 } && test -s conftest$ac_exeext &&
9732 $as_test_x conftest$ac_exeext; then
9733 ac_cv_lib_dl_dlopen=yes
9735 echo "$as_me: failed program was:" >&5
9736 sed 's/^/| /' conftest.$ac_ext >&5
9738 ac_cv_lib_dl_dlopen=no
9741 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9742 conftest$ac_exeext conftest.$ac_ext
9743 LIBS=$ac_check_lib_save_LIBS
9745 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9746 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9747 if test $ac_cv_lib_dl_dlopen = yes; then
9748 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9750 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9751 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
9752 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9753 echo $ECHO_N "(cached) $ECHO_C" >&6
9755 ac_check_lib_save_LIBS=$LIBS
9757 cat >conftest.$ac_ext <<_ACEOF
9760 cat confdefs.h >>conftest.$ac_ext
9761 cat >>conftest.$ac_ext <<_ACEOF
9762 /* end confdefs.h. */
9764 /* Override any GCC internal prototype to avoid an error.
9765 Use char because int might match the return type of a GCC
9766 builtin and then its argument prototype would still apply. */
9779 rm -f conftest.$ac_objext conftest$ac_exeext
9780 if { (ac_try="$ac_link"
9782 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9783 *) ac_try_echo
=$ac_try;;
9785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9786 (eval "$ac_link") 2>conftest.er1
9788 grep -v '^ *+' conftest.er1
>conftest.err
9790 cat conftest.err
>&5
9791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9792 (exit $ac_status); } && {
9793 test -z "$ac_c_werror_flag" ||
9794 test ! -s conftest.err
9795 } && test -s conftest
$ac_exeext &&
9796 $as_test_x conftest
$ac_exeext; then
9797 ac_cv_lib_svld_dlopen
=yes
9799 echo "$as_me: failed program was:" >&5
9800 sed 's/^/| /' conftest.
$ac_ext >&5
9802 ac_cv_lib_svld_dlopen
=no
9805 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9806 conftest
$ac_exeext conftest.
$ac_ext
9807 LIBS
=$ac_check_lib_save_LIBS
9809 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9810 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
9811 if test $ac_cv_lib_svld_dlopen = yes; then
9812 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9814 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9815 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
9816 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9817 echo $ECHO_N "(cached) $ECHO_C" >&6
9819 ac_check_lib_save_LIBS
=$LIBS
9821 cat >conftest.
$ac_ext <<_ACEOF
9824 cat confdefs.h
>>conftest.
$ac_ext
9825 cat >>conftest.
$ac_ext <<_ACEOF
9826 /* end confdefs.h. */
9828 /* Override any GCC internal prototype to avoid an error.
9829 Use char because int might match the return type of a GCC
9830 builtin and then its argument prototype would still apply. */
9843 rm -f conftest.
$ac_objext conftest
$ac_exeext
9844 if { (ac_try
="$ac_link"
9846 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9847 *) ac_try_echo=$ac_try;;
9849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9850 (eval "$ac_link") 2>conftest.er1
9852 grep -v '^ *+' conftest.er1 >conftest.err
9854 cat conftest.err >&5
9855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9856 (exit $ac_status); } && {
9857 test -z "$ac_c_werror_flag" ||
9858 test ! -s conftest.err
9859 } && test -s conftest$ac_exeext &&
9860 $as_test_x conftest$ac_exeext; then
9861 ac_cv_lib_dld_dld_link=yes
9863 echo "$as_me: failed program was:" >&5
9864 sed 's/^/| /' conftest.$ac_ext >&5
9866 ac_cv_lib_dld_dld_link=no
9869 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9870 conftest$ac_exeext conftest.$ac_ext
9871 LIBS=$ac_check_lib_save_LIBS
9873 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9874 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
9875 if test $ac_cv_lib_dld_dld_link = yes; then
9876 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
9897 if test "x$lt_cv_dlopen" != xno; then
9903 case $lt_cv_dlopen in
9905 save_CPPFLAGS="$CPPFLAGS"
9906 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
9908 save_LDFLAGS="$LDFLAGS"
9909 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
9912 LIBS="$lt_cv_dlopen_libs $LIBS"
9914 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9915 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
9916 if test "${lt_cv_dlopen_self+set}" = set; then
9917 echo $ECHO_N "(cached) $ECHO_C" >&6
9919 if test "$cross_compiling" = yes; then :
9920 lt_cv_dlopen_self=cross
9922 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9923 lt_status=$lt_dlunknown
9924 cat > conftest.$ac_ext <<EOF
9925 #line 9925 "configure"
9926 #include "confdefs.h"
9935 # define LT_DLGLOBAL RTLD_GLOBAL
9938 # define LT_DLGLOBAL DL_GLOBAL
9940 # define LT_DLGLOBAL 0
9944 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9945 find out it does not work in some platform. */
9946 #ifndef LT_DLLAZY_OR_NOW
9948 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9951 # define LT_DLLAZY_OR_NOW DL_LAZY
9954 # define LT_DLLAZY_OR_NOW RTLD_NOW
9957 # define LT_DLLAZY_OR_NOW DL_NOW
9959 # define LT_DLLAZY_OR_NOW 0
9967 extern "C" void exit (int);
9970 void fnord() { int i=42;}
9973 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9974 int status = $lt_dlunknown;
9978 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9979 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9980 /* dlclose (self); */
9988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9989 (eval $ac_link) 2>&5
9991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9992 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9993 (./conftest; exit; ) >&5 2>/dev/null
9996 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
9997 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
9998 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10001 # compilation failed
10002 lt_cv_dlopen_self=no
10009 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10010 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
10012 if test "x$lt_cv_dlopen_self" = xyes; then
10013 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10014 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10015 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
10016 if test "${lt_cv_dlopen_self_static+set}" = set; then
10017 echo $ECHO_N "(cached) $ECHO_C" >&6
10019 if test "$cross_compiling" = yes; then :
10020 lt_cv_dlopen_self_static=cross
10022 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10023 lt_status=$lt_dlunknown
10024 cat > conftest.$ac_ext <<EOF
10025 #line 10025 "configure"
10026 #include "confdefs.h"
10035 # define LT_DLGLOBAL RTLD_GLOBAL
10038 # define LT_DLGLOBAL DL_GLOBAL
10040 # define LT_DLGLOBAL 0
10044 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10045 find out it does not work in some platform. */
10046 #ifndef LT_DLLAZY_OR_NOW
10048 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10051 # define LT_DLLAZY_OR_NOW DL_LAZY
10054 # define LT_DLLAZY_OR_NOW RTLD_NOW
10057 # define LT_DLLAZY_OR_NOW DL_NOW
10059 # define LT_DLLAZY_OR_NOW 0
10067 extern "C" void exit (int);
10070 void fnord() { int i=42;}
10073 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10074 int status = $lt_dlunknown;
10078 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10079 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10080 /* dlclose (self); */
10088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10089 (eval $ac_link) 2>&5
10091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10092 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10093 (./conftest; exit; ) >&5 2>/dev/null
10095 case x$lt_status in
10096 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10097 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10098 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10101 # compilation failed
10102 lt_cv_dlopen_self_static=no
10109 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10110 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
10113 CPPFLAGS="$save_CPPFLAGS"
10114 LDFLAGS="$save_LDFLAGS"
10119 case $lt_cv_dlopen_self in
10120 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10121 *) enable_dlopen_self=unknown ;;
10124 case $lt_cv_dlopen_self_static in
10125 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10126 *) enable_dlopen_self_static=unknown ;;
10131 # Report which library types will actually be built
10132 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10133 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
10134 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
10135 echo "${ECHO_T}$can_build_shared" >&6; }
10137 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10138 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
10139 test "$can_build_shared" = "no" && enable_shared=no
10141 # On AIX, shared libraries and static libraries use the same namespace, and
10142 # are all built from PIC.
10145 test "$enable_shared" = yes && enable_static=no
10146 if test -n "$RANLIB"; then
10147 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10148 postinstall_cmds='$RANLIB $lib'
10153 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10154 test "$enable_shared" = yes && enable_static=no
10158 { echo "$as_me:$LINENO: result: $enable_shared" >&5
10159 echo "${ECHO_T}$enable_shared" >&6; }
10161 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10162 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
10163 # Make sure either enable_shared or enable_static is yes.
10164 test "$enable_shared" = yes || enable_static=yes
10165 { echo "$as_me:$LINENO: result: $enable_static" >&5
10166 echo "${ECHO_T}$enable_static" >&6; }
10168 # The else clause should only fire when bootstrapping the
10169 # libtool distribution, otherwise you forgot to ship ltmain.sh
10170 # with your package, and you will get complaints that there are
10171 # no rules to generate ltmain.sh.
10172 if test -f "$ltmain"; then
10173 # See if we are running on zsh, and set the options which allow our commands through
10174 # without removal of \ escapes.
10175 if test -n "${ZSH_VERSION+set}" ; then
10176 setopt NO_GLOB_SUBST
10178 # Now quote all the things that may contain metacharacters while being
10179 # careful not to overquote the AC_SUBSTed values. We take copies of the
10180 # variables and quote the copies for generation of the libtool script.
10181 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
10183 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10184 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10185 deplibs_check_method reload_flag reload_cmds need_locks \
10186 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10187 lt_cv_sys_global_symbol_to_c_name_address \
10188 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10189 old_postinstall_cmds old_postuninstall_cmds \
10193 lt_prog_compiler_wl \
10194 lt_prog_compiler_pic \
10195 lt_prog_compiler_static \
10196 lt_prog_compiler_no_builtin_flag \
10197 export_dynamic_flag_spec \
10198 thread_safe_flag_spec \
10199 whole_archive_flag_spec \
10200 enable_shared_with_static_runtimes \
10202 old_archive_from_new_cmds \
10207 compiler_lib_search_path \
10209 archive_expsym_cmds \
10211 postuninstall_cmds \
10212 old_archive_from_expsyms_cmds \
10213 allow_undefined_flag \
10214 no_undefined_flag \
10215 export_symbols_cmds \
10216 hardcode_libdir_flag_spec \
10217 hardcode_libdir_flag_spec_ld \
10218 hardcode_libdir_separator \
10219 hardcode_automatic \
10221 module_expsym_cmds \
10222 lt_cv_prog_compiler_c_o \
10225 include_expsyms; do
10228 old_archive_cmds | \
10229 old_archive_from_new_cmds | \
10231 archive_expsym_cmds | \
10233 module_expsym_cmds | \
10234 old_archive_from_expsyms_cmds | \
10235 export_symbols_cmds | \
10236 extract_expsyms_cmds | reload_cmds | finish_cmds | \
10237 postinstall_cmds | postuninstall_cmds | \
10238 old_postinstall_cmds | old_postuninstall_cmds | \
10239 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
10240 # Double-quote double-evaled strings.
10241 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
10244 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
10250 *'\$0 --fallback-echo"')
10251 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10255 cfgfile="${ofile}T"
10256 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
10258 { echo "$as_me:$LINENO: creating $ofile" >&5
10259 echo "$as_me: creating $ofile" >&6;}
10261 cat <<__EOF__ >> "$cfgfile"
10264 # `$echo "$cfgfile" |
sed 's%^.*/%%'` - Provide generalized library-building support services.
10265 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10266 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
10268 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
10269 # Free Software Foundation, Inc.
10271 # This file is part of GNU Libtool:
10272 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
10274 # This program is free software; you can redistribute it and/or modify
10275 # it under the terms of the GNU General Public License as published by
10276 # the Free Software Foundation; either version 2 of the License, or
10277 # (at your option) any later version.
10279 # This program is distributed in the hope that it will be useful, but
10280 # WITHOUT ANY WARRANTY; without even the implied warranty of
10281 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10282 # General Public License for more details.
10284 # You should have received a copy of the GNU General Public License
10285 # along with this program; if not, write to the Free Software
10286 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
10288 # As a special exception to the GNU General Public License, if you
10289 # distribute this file as part of a program that contains a
10290 # configuration script generated by Autoconf, you may include it under
10291 # the same distribution terms that you use for the rest of that program.
10293 # A sed program that does not truncate output.
10296 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
10297 Xsed="$SED -e 1s/^X//"
10299 # The HP-UX ksh and POSIX shell print the target directory to stdout
10300 # if CDPATH is set.
10301 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10303 # The names of the tagged configurations supported by this script.
10306 # ### BEGIN LIBTOOL CONFIG
10308 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
10310 # Shell to use when invoking shell scripts.
10313 # Whether or not to build shared libraries.
10314 build_libtool_libs=$enable_shared
10316 # Whether or not to build static libraries.
10317 build_old_libs=$enable_static
10319 # Whether or not to add -lc for building shared libraries.
10320 build_libtool_need_lc=$archive_cmds_need_lc
10322 # Whether or not to disallow shared libs when runtime libs are static
10323 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
10325 # Whether or not to optimize for fast installation.
10326 fast_install=$enable_fast_install
10329 host_alias=$host_alias
10333 # The build system.
10334 build_alias=$build_alias
10338 # An echo program that does not interpret backslashes.
10343 AR_FLAGS=$lt_AR_FLAGS
10348 # LTCC compiler flags.
10349 LTCFLAGS=$lt_LTCFLAGS
10351 # A language-specific compiler.
10354 # Is the compiler the GNU C compiler?
10360 # The linker used to build libraries.
10363 # Whether we need hard or soft links.
10366 # A BSD-compatible nm program.
10369 # A symbol stripping program
10372 # Used to examine libraries when file_magic_cmd begins "file"
10373 MAGIC_CMD=$MAGIC_CMD
10375 # Used on cygwin: DLL creation program.
10378 # Used on cygwin: object dumper.
10381 # Used on cygwin: assembler.
10384 # The name of the directory that contains temporary libtool files.
10387 # How to create reloadable object files.
10388 reload_flag=$lt_reload_flag
10389 reload_cmds=$lt_reload_cmds
10391 # How to pass a linker flag through the compiler.
10392 wl=$lt_lt_prog_compiler_wl
10394 # Object file suffix (normally "o").
10395 objext="$ac_objext"
10397 # Old archive suffix (normally "a").
10400 # Shared library suffix (normally ".so").
10401 shrext_cmds='$shrext_cmds'
10403 # Executable file suffix (normally "").
10406 # Additional compiler flags for building library objects.
10407 pic_flag=$lt_lt_prog_compiler_pic
10410 # What is the maximum length of a command?
10411 max_cmd_len=$lt_cv_sys_max_cmd_len
10413 # Does compiler simultaneously support -c and -o options?
10414 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
10416 # Must we lock files when doing compilation?
10417 need_locks=$lt_need_locks
10419 # Do we need the lib prefix for modules?
10420 need_lib_prefix=$need_lib_prefix
10422 # Do we need a version for libraries?
10423 need_version=$need_version
10425 # Whether dlopen is supported.
10426 dlopen_support=$enable_dlopen
10428 # Whether dlopen of programs is supported.
10429 dlopen_self=$enable_dlopen_self
10431 # Whether dlopen of statically linked programs is supported.
10432 dlopen_self_static=$enable_dlopen_self_static
10434 # Compiler flag to prevent dynamic linking.
10435 link_static_flag=$lt_lt_prog_compiler_static
10437 # Compiler flag to turn off builtin functions.
10438 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
10440 # Compiler flag to allow reflexive dlopens.
10441 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
10443 # Compiler flag to generate shared objects directly from archives.
10444 whole_archive_flag_spec=$lt_whole_archive_flag_spec
10446 # Compiler flag to generate thread-safe objects.
10447 thread_safe_flag_spec=$lt_thread_safe_flag_spec
10449 # Library versioning type.
10450 version_type=$version_type
10452 # Format of library name prefix.
10453 libname_spec=$lt_libname_spec
10455 # List of archive names. First name is the real one, the rest are links.
10456 # The last name is the one that the linker finds with -lNAME.
10457 library_names_spec=$lt_library_names_spec
10459 # The coded name of the library, if different from the real name.
10460 soname_spec=$lt_soname_spec
10462 # Commands used to build and install an old-style archive.
10464 old_archive_cmds=$lt_old_archive_cmds
10465 old_postinstall_cmds=$lt_old_postinstall_cmds
10466 old_postuninstall_cmds=$lt_old_postuninstall_cmds
10468 # Create an old-style archive from a shared archive.
10469 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
10471 # Create a temporary old-style archive to link instead of a shared archive.
10472 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
10474 # Commands used to build and install a shared archive.
10475 archive_cmds=$lt_archive_cmds
10476 archive_expsym_cmds=$lt_archive_expsym_cmds
10477 postinstall_cmds=$lt_postinstall_cmds
10478 postuninstall_cmds=$lt_postuninstall_cmds
10480 # Commands used to build a loadable module (assumed same as above if empty)
10481 module_cmds=$lt_module_cmds
10482 module_expsym_cmds=$lt_module_expsym_cmds
10484 # Commands to strip libraries.
10485 old_striplib=$lt_old_striplib
10486 striplib=$lt_striplib
10488 # Dependencies to place before the objects being linked to create a
10490 predep_objects=$lt_predep_objects
10492 # Dependencies to place after the objects being linked to create a
10494 postdep_objects=$lt_postdep_objects
10496 # Dependencies to place before the objects being linked to create a
10498 predeps=$lt_predeps
10500 # Dependencies to place after the objects being linked to create a
10502 postdeps=$lt_postdeps
10504 # The library search path used internally by the compiler when linking
10505 # a shared library.
10506 compiler_lib_search_path=$lt_compiler_lib_search_path
10508 # Method to check whether dependent libraries are shared objects.
10509 deplibs_check_method=$lt_deplibs_check_method
10511 # Command to use when deplibs_check_method == file_magic.
10512 file_magic_cmd=$lt_file_magic_cmd
10514 # Flag that allows shared libraries with undefined symbols to be built.
10515 allow_undefined_flag=$lt_allow_undefined_flag
10517 # Flag that forces no undefined symbols.
10518 no_undefined_flag=$lt_no_undefined_flag
10520 # Commands used to finish a libtool library installation in a directory.
10521 finish_cmds=$lt_finish_cmds
10523 # Same as above, but a single script fragment to be evaled but not shown.
10524 finish_eval=$lt_finish_eval
10526 # Take the output of nm and produce a listing of raw symbols and C names.
10527 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10529 # Transform the output of nm in a proper C declaration
10530 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10532 # Transform the output of nm in a C name address pair
10533 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10535 # This is the shared library runtime path variable.
10536 runpath_var=$runpath_var
10538 # This is the shared library path variable.
10539 shlibpath_var=$shlibpath_var
10541 # Is shlibpath searched before the hard-coded library search path?
10542 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10544 # How to hardcode a shared library path into an executable.
10545 hardcode_action=$hardcode_action
10547 # Whether we should hardcode library paths into libraries.
10548 hardcode_into_libs=$hardcode_into_libs
10550 # Flag to hardcode \$libdir into a binary during linking.
10551 # This must work even if \$libdir does not exist.
10552 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
10554 # If ld is used when linking, flag to hardcode \$libdir into
10555 # a binary during linking. This must work even if \$libdir does
10557 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
10559 # Whether we need a single -rpath flag with a separated argument.
10560 hardcode_libdir_separator=$lt_hardcode_libdir_separator
10562 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10563 # resulting binary.
10564 hardcode_direct=$hardcode_direct
10566 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10567 # resulting binary.
10568 hardcode_minus_L=$hardcode_minus_L
10570 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
10571 # the resulting binary.
10572 hardcode_shlibpath_var=$hardcode_shlibpath_var
10574 # Set to yes if building a shared library automatically hardcodes DIR into the library
10575 # and all subsequent libraries and executables linked against it.
10576 hardcode_automatic=$hardcode_automatic
10578 # Variables whose values should be saved in libtool wrapper scripts and
10579 # restored at relink time.
10580 variables_saved_for_relink="$variables_saved_for_relink"
10582 # Whether libtool must link a program against all its dependency libraries.
10583 link_all_deplibs=$link_all_deplibs
10585 # Compile-time system search path for libraries
10586 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
10588 # Run-time system search path for libraries
10589 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10591 # Fix the shell variable \$srcfile for the compiler.
10592 fix_srcfile_path=$lt_fix_srcfile_path
10594 # Set to yes if exported symbols are required.
10595 always_export_symbols=$always_export_symbols
10597 # The commands to list exported symbols.
10598 export_symbols_cmds=$lt_export_symbols_cmds
10600 # The commands to extract the exported symbol list from a shared archive.
10601 extract_expsyms_cmds=$lt_extract_expsyms_cmds
10603 # Symbols that should not be listed in the preloaded symbols.
10604 exclude_expsyms=$lt_exclude_expsyms
10606 # Symbols that must always be exported.
10607 include_expsyms=$lt_include_expsyms
10609 # ### END LIBTOOL CONFIG
10616 cat <<\EOF >> "$cfgfile"
10618 # AIX sometimes has problems with the GCC collect2 program. For some
10619 # reason, if we set the COLLECT_NAMES environment variable, the problems
10620 # vanish in a puff of smoke.
10621 if test "X${COLLECT_NAMES+set}" != Xset; then
10623 export COLLECT_NAMES
10629 # We use sed instead of cat because bash on DJGPP gets confused if
10630 # if finds mixed CR/LF and LF-only lines. Since sed operates in
10631 # text mode, it properly converts lines to CR/LF. This bash problem
10632 # is reportedly fixed, but why not run on old versions too?
10633 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
10635 mv -f "$cfgfile" "$ofile" || \
10636 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
10640 # If there is no Makefile yet, we rely on a make rule to execute
10641 # `config.status
--recheck' to rerun these tests and create the
10642 # libtool script then.
10643 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
10644 if test -f "$ltmain_in"; then
10645 test -f Makefile && make "$ltmain"
10651 ac_cpp='$CPP $CPPFLAGS'
10652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
10653 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
10654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10659 # Check whether --with-tags was given.
10660 if test "${with_tags+set}" = set; then
10661 withval=$with_tags; tagnames="$withval"
10665 if test -f "$ltmain" && test -n "$tagnames"; then
10666 if test ! -f "${ofile}"; then
10667 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist
" >&5
10668 echo "$as_me: WARNING
: output
file \
`$ofile' does not exist" >&2;}
10671 if test -z "$LTCC"; then
10672 eval "`$SHELL ${ofile} --config |
grep '^LTCC='`"
10673 if test -z "$LTCC"; then
10674 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
10675 echo "$as_me: WARNING: output file \`$ofile' does not
look like a libtool
script" >&2;}
10677 { echo "$as_me:$LINENO: WARNING
: using \
`LTCC=$LTCC', extracted from \`$ofile'" >&5
10678 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \
`$ofile'" >&2;}
10681 if test -z "$LTCFLAGS"; then
10682 eval "`$SHELL ${ofile} --config |
grep '^LTCFLAGS='`"
10685 # Extract list of available tagged configurations in $ofile.
10686 # Note that this assumes the entire list is on one line.
10687 available_tags=`grep "^available_tags=" "${ofile}" |
$SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
10689 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10690 for tagname in $tagnames; do
10692 # Check whether tagname contains only valid characters
10693 case `$echo "X$tagname" |
$Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
10695 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
10696 echo "$as_me: error: invalid tag name: $tagname" >&2;}
10697 { (exit 1); exit 1; }; }
10701 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
10703 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
10704 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
10705 { (exit 1); exit 1; }; }
10708 # Update the list of available tags.
10709 if test -n "$tagname"; then
10710 echo appending configuration tag \"$tagname\" to $ofile
10714 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
10715 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
10716 (test "X$CXX" != "Xg++"))) ; then
10718 ac_cpp='$CXXCPP $CPPFLAGS'
10719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10726 archive_cmds_need_lc_CXX=no
10727 allow_undefined_flag_CXX=
10728 always_export_symbols_CXX=no
10729 archive_expsym_cmds_CXX=
10730 export_dynamic_flag_spec_CXX=
10731 hardcode_direct_CXX=no
10732 hardcode_libdir_flag_spec_CXX=
10733 hardcode_libdir_flag_spec_ld_CXX=
10734 hardcode_libdir_separator_CXX=
10735 hardcode_minus_L_CXX=no
10736 hardcode_shlibpath_var_CXX=unsupported
10737 hardcode_automatic_CXX=no
10739 module_expsym_cmds_CXX=
10740 link_all_deplibs_CXX=unknown
10741 old_archive_cmds_CXX=$old_archive_cmds
10742 no_undefined_flag_CXX=
10743 whole_archive_flag_spec_CXX=
10744 enable_shared_with_static_runtimes_CXX=no
10746 # Dependencies to place before and after the object being linked:
10747 predep_objects_CXX=
10748 postdep_objects_CXX=
10751 compiler_lib_search_path_CXX=
10753 # Source file extension for C++ test sources.
10756 # Object file extension for compiled C++ test sources.
10760 # Code to be used in simple compile tests
10761 lt_simple_compile_test_code="int some_variable = 0;"
10763 # Code to be used in simple link tests
10764 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
10766 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10768 # If no C compiler was specified, use CC.
10771 # If no C compiler flags were specified, use CFLAGS.
10772 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10774 # Allow CC to be a program name with arguments.
10778 # save warnings/boilerplate of simple test code
10779 ac_outfile=conftest.$ac_objext
10780 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10781 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10782 _lt_compiler_boilerplate=`cat conftest.err
`
10785 ac_outfile=conftest.$ac_objext
10786 echo "$lt_simple_link_test_code" >conftest.$ac_ext
10787 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10788 _lt_linker_boilerplate=`cat conftest.err
`
10792 # Allow CC to be a program name with arguments.
10797 lt_save_with_gnu_ld=$with_gnu_ld
10798 lt_save_path_LD=$lt_cv_path_LD
10799 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10800 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
10802 $as_unset lt_cv_prog_gnu_ld
10804 if test -n "${lt_cv_path_LDCXX+set}"; then
10805 lt_cv_path_LD=$lt_cv_path_LDCXX
10807 $as_unset lt_cv_path_LD
10809 test -z "${LDCXX+set}" || LD=$LDCXX
10813 for cc_temp in $compiler""; do
10815 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10816 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10821 cc_basename=`$echo "X$cc_temp" |
$Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10824 # We don't want -fno-exception wen compiling C++ code, so set the
10825 # no_builtin_flag separately
10826 if test "$GXX" = yes; then
10827 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
10829 lt_prog_compiler_no_builtin_flag_CXX=
10832 if test "$GXX" = yes; then
10833 # Set up default GNU C++ configuration
10836 # Check whether --with-gnu-ld was given.
10837 if test "${with_gnu_ld+set}" = set; then
10838 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
10844 if test "$GCC" = yes; then
10845 # Check if gcc -print-prog-name=ld gives a path.
10846 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10847 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
10850 # gcc leaves a trailing carriage return which upsets mingw
10851 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
10853 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
10856 # Accept absolute paths.
10858 re_direlt='/[^/][^/]*/\.\./'
10859 # Canonicalize the pathname of ld
10860 ac_prog=`echo $ac_prog|
$SED 's%\\\\%/%g'`
10861 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
10862 ac_prog=`echo $ac_prog|
$SED "s%$re_direlt%/%"`
10864 test -z "$LD" && LD="$ac_prog"
10867 # If it fails, then pretend we aren't using GCC.
10871 # If it is relative, then search for the first ld in PATH.
10872 with_gnu_ld=unknown
10875 elif test "$with_gnu_ld" = yes; then
10876 { echo "$as_me:$LINENO: checking for GNU ld" >&5
10877 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
10879 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10880 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
10882 if test "${lt_cv_path_LD+set}" = set; then
10883 echo $ECHO_N "(cached) $ECHO_C" >&6
10885 if test -z "$LD"; then
10886 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10887 for ac_dir in $PATH; do
10889 test -z "$ac_dir" && ac_dir=.
10890 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
10891 lt_cv_path_LD="$ac_dir/$ac_prog"
10892 # Check to see if the program is GNU ld. I'd rather use --version,
10893 # but apparently some variants of GNU ld only accept -v.
10894 # Break only if it was the GNU/non-GNU ld that we prefer.
10895 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
10896 *GNU* | *'with BFD'*)
10897 test "$with_gnu_ld" != no && break
10900 test "$with_gnu_ld" != yes && break
10907 lt_cv_path_LD="$LD" # Let the user override the test with a path.
10911 LD="$lt_cv_path_LD"
10912 if test -n "$LD"; then
10913 { echo "$as_me:$LINENO: result: $LD" >&5
10914 echo "${ECHO_T}$LD" >&6; }
10916 { echo "$as_me:$LINENO: result: no" >&5
10917 echo "${ECHO_T}no" >&6; }
10919 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10920 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10921 { (exit 1); exit 1; }; }
10922 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10923 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
10924 if test "${lt_cv_prog_gnu_ld+set}" = set; then
10925 echo $ECHO_N "(cached) $ECHO_C" >&6
10927 # I'd rather use --version here, but apparently some GNU lds only accept -v.
10928 case `$LD -v 2>&1 </dev
/null
` in
10929 *GNU* | *'with BFD'*)
10930 lt_cv_prog_gnu_ld=yes
10933 lt_cv_prog_gnu_ld=no
10937 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10938 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
10939 with_gnu_ld=$lt_cv_prog_gnu_ld
10943 # Check if GNU C++ uses GNU ld as the underlying linker, since the
10944 # archiving commands below assume that GNU ld is being used.
10945 if test "$with_gnu_ld" = yes; then
10946 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10947 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'
10949 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
10950 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10952 # If archive_cmds runs LD, not CC, wlarc should be empty
10953 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
10954 # investigate it a little bit more. (MM)
10957 # ancient GNU ld didn't support --whole-archive et. al.
10958 if eval "`$CC -print-prog-name=ld
` --help 2>&1" | \
10959 grep 'no-whole-archive' > /dev/null; then
10960 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10962 whole_archive_flag_spec_CXX=
10968 # A generic and very simple default shared library creation
10969 # command for GNU C++ for the case where it uses the native
10970 # linker, instead of GNU ld. If possible, this setting should
10971 # overridden to take advantage of the native linker features on
10972 # the platform it is being used on.
10973 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10976 # Commands to make compiler produce verbose output that lists
10977 # what "hidden" libraries, object files and flags are used when
10978 # linking a shared library.
10979 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10987 # PORTME: fill in a description of your system's C++ link characteristics
10988 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10989 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
10993 # FIXME: insert proper C++ library support
10997 if test "$host_cpu" = ia64; then
10998 # On IA64, the linker does run time linking by default, so we don't
10999 # have to do anything special.
11000 aix_use_runtimelinking=no
11001 exp_sym_flag='-Bexport'
11004 aix_use_runtimelinking=no
11006 # Test if we are trying to use run time linking or normal
11007 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11008 # need to do runtime linking.
11009 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
11010 for ld_flag in $LDFLAGS; do
11013 aix_use_runtimelinking=yes
11021 exp_sym_flag='-bexport'
11022 no_entry_flag='-bnoentry'
11025 # When large executables or shared objects are built, AIX ld can
11026 # have problems creating the table of contents. If linking a library
11027 # or program results in "error TOC overflow" add -mminimal-toc to
11028 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11029 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11031 archive_cmds_CXX=''
11032 hardcode_direct_CXX=yes
11033 hardcode_libdir_separator_CXX=':'
11034 link_all_deplibs_CXX=yes
11036 if test "$GXX" = yes; then
11037 case $host_os in aix4.[012]|aix4.[012].*)
11038 # We only want to do this on AIX 4.2 and lower, the check
11039 # below for broken collect2 doesn't work under 4.3+
11040 collect2name=`${CC} -print-prog-name=collect2
`
11041 if test -f "$collect2name" && \
11042 strings "$collect2name" | grep resolve_lib_name >/dev/null
11044 # We have reworked collect2
11047 # We have old collect2
11048 hardcode_direct_CXX=unsupported
11049 # It fails to find uninstalled libraries when the uninstalled
11050 # path is not listed in the libpath. Setting hardcode_minus_L
11051 # to unsupported forces relinking
11052 hardcode_minus_L_CXX=yes
11053 hardcode_libdir_flag_spec_CXX='-L$libdir'
11054 hardcode_libdir_separator_CXX=
11058 shared_flag='-shared'
11059 if test "$aix_use_runtimelinking" = yes; then
11060 shared_flag="$shared_flag "'${wl}-G'
11064 if test "$host_cpu" = ia64; then
11065 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11066 # chokes on -Wl,-G. The following line is correct:
11069 if test "$aix_use_runtimelinking" = yes; then
11070 shared_flag='${wl}-G'
11072 shared_flag='${wl}-bM:SRE'
11077 # It seems that -bexpall does not export symbols beginning with
11078 # underscore (_), so it is better to generate a list of symbols to export.
11079 always_export_symbols_CXX=yes
11080 if test "$aix_use_runtimelinking" = yes; then
11081 # Warning - without using the other runtime loading flags (-brtl),
11082 # -berok will link without error, but may produce a broken library.
11083 allow_undefined_flag_CXX='-berok'
11084 # Determine the default libpath from the value encoded in an empty executable.
11085 cat >conftest.$ac_ext <<_ACEOF
11088 cat confdefs.h >>conftest.$ac_ext
11089 cat >>conftest.$ac_ext <<_ACEOF
11090 /* end confdefs.h. */
11100 rm -f conftest.$ac_objext conftest$ac_exeext
11101 if { (ac_try="$ac_link"
11102 case "(($ac_try" in
11103 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11104 *) ac_try_echo
=$ac_try;;
11106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11107 (eval "$ac_link") 2>conftest.er1
11109 grep -v '^ *+' conftest.er1
>conftest.err
11111 cat conftest.err
>&5
11112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11113 (exit $ac_status); } && {
11114 test -z "$ac_cxx_werror_flag" ||
11115 test ! -s conftest.err
11116 } && test -s conftest
$ac_exeext &&
11117 $as_test_x conftest
$ac_exeext; then
11119 lt_aix_libpath_sed
='
11120 /Import File Strings/,/^$/ {
11126 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11127 # Check for a 64-bit object if we didn't find anything.
11128 if test -z "$aix_libpath"; then
11129 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11132 echo "$as_me: failed program was:" >&5
11133 sed 's/^/| /' conftest.
$ac_ext >&5
11138 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11139 conftest
$ac_exeext conftest.
$ac_ext
11140 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11142 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11144 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"
11146 if test "$host_cpu" = ia64
; then
11147 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
11148 allow_undefined_flag_CXX
="-z nodefs"
11149 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"
11151 # Determine the default libpath from the value encoded in an empty executable.
11152 cat >conftest.
$ac_ext <<_ACEOF
11155 cat confdefs.h
>>conftest.
$ac_ext
11156 cat >>conftest.
$ac_ext <<_ACEOF
11157 /* end confdefs.h. */
11167 rm -f conftest.
$ac_objext conftest
$ac_exeext
11168 if { (ac_try
="$ac_link"
11169 case "(($ac_try" in
11170 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11171 *) ac_try_echo=$ac_try;;
11173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11174 (eval "$ac_link") 2>conftest.er1
11176 grep -v '^ *+' conftest.er1 >conftest.err
11178 cat conftest.err >&5
11179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11180 (exit $ac_status); } && {
11181 test -z "$ac_cxx_werror_flag" ||
11182 test ! -s conftest.err
11183 } && test -s conftest$ac_exeext &&
11184 $as_test_x conftest$ac_exeext; then
11186 lt_aix_libpath_sed='
11187 /Import File Strings/,/^$/ {
11193 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
11194 # Check for a 64-bit object if we didn't find anything.
11195 if test -z "$aix_libpath"; then
11196 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
11199 echo "$as_me: failed program was:" >&5
11200 sed 's/^/| /' conftest.$ac_ext >&5
11205 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11206 conftest$ac_exeext conftest.$ac_ext
11207 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11209 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11210 # Warning - without using the other run time loading flags,
11211 # -berok will link without error, but may produce a broken library.
11212 no_undefined_flag_CXX=' ${wl}-bernotok'
11213 allow_undefined_flag_CXX=' ${wl}-berok'
11214 # Exported symbols can be pulled into shared objects from archives
11215 whole_archive_flag_spec_CXX='$convenience'
11216 archive_cmds_need_lc_CXX=yes
11217 # This is similar to how AIX traditionally builds its shared libraries.
11218 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'
11224 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11225 allow_undefined_flag_CXX=unsupported
11226 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11227 # support --undefined. This deserves some investigation. FIXME
11228 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11235 case $cc_basename in
11237 # FIXME: insert proper C++ library support
11243 cygwin* | mingw* | pw32*)
11244 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11245 # as there is no search path for DLLs.
11246 hardcode_libdir_flag_spec_CXX='-L$libdir'
11247 allow_undefined_flag_CXX=unsupported
11248 always_export_symbols_CXX=no
11249 enable_shared_with_static_runtimes_CXX=yes
11251 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11252 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'
11253 # If the export-symbols file already is a .def file (1st line
11254 # is EXPORTS), use it as is; otherwise, prepend...
11255 archive_expsym_cmds_CXX='if test "x`$SED 1q
$export_symbols`" = xEXPORTS; then
11256 cp $export_symbols $output_objdir/$soname.def;
11258 echo EXPORTS > $output_objdir/$soname.def;
11259 cat $export_symbols >> $output_objdir/$soname.def;
11261 $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'
11266 darwin* | rhapsody*)
11268 rhapsody* | darwin1.[012])
11269 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11272 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
11273 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11275 case ${MACOSX_DEPLOYMENT_TARGET} in
11277 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11280 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11286 archive_cmds_need_lc_CXX=no
11287 hardcode_direct_CXX=no
11288 hardcode_automatic_CXX=yes
11289 hardcode_shlibpath_var_CXX=unsupported
11290 whole_archive_flag_spec_CXX=''
11291 link_all_deplibs_CXX=yes
11293 if test "$GXX" = yes ; then
11294 lt_int_apple_cc_single_mod=no
11295 output_verbose_link_cmd='echo'
11296 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
11297 lt_int_apple_cc_single_mod=yes
11299 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11300 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11302 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'
11304 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11305 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11306 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11307 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}'
11309 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}'
11311 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}'
11313 case $cc_basename in
11315 output_verbose_link_cmd='echo'
11316 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'
11317 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11318 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11319 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}'
11320 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}'
11330 case $cc_basename in
11332 # FIXME: insert proper C++ library support
11336 # Green Hills C++ Compiler
11337 # FIXME: insert proper C++ library support
11341 # FIXME: insert proper C++ library support
11347 # C++ shared libraries reported to be fairly broken before switch to ELF
11351 archive_cmds_need_lc_CXX=no
11353 freebsd* | dragonfly*)
11354 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11361 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11362 hardcode_libdir_separator_CXX=:
11363 export_dynamic_flag_spec_CXX='${wl}-E'
11364 hardcode_direct_CXX=yes
11365 hardcode_minus_L_CXX=yes # Not in the search PATH,
11366 # but as the default
11367 # location of the library.
11369 case $cc_basename in
11371 # FIXME: insert proper C++ library support
11375 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'
11376 # Commands to make compiler produce verbose output that lists
11377 # what "hidden" libraries, object files and flags are used when
11378 # linking a shared library.
11380 # There doesn't appear to be a way to prevent this compiler from
11381 # explicitly linking system object files so we need to strip them
11382 # from the output so that they don't get included in the library
11384 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'
11387 if test "$GXX" = yes; then
11388 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'
11390 # FIXME: insert proper C++ library support
11397 if test $with_gnu_ld = no; then
11398 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11399 hardcode_libdir_separator_CXX=:
11404 export_dynamic_flag_spec_CXX='${wl}-E'
11410 hardcode_direct_CXX=no
11411 hardcode_shlibpath_var_CXX=no
11414 hardcode_direct_CXX=yes
11415 hardcode_minus_L_CXX=yes # Not in the search PATH,
11416 # but as the default
11417 # location of the library.
11421 case $cc_basename in
11423 # FIXME: insert proper C++ library support
11429 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11432 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11435 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11438 # Commands to make compiler produce verbose output that lists
11439 # what "hidden" libraries, object files and flags are used when
11440 # linking a shared library.
11442 # There doesn't appear to be a way to prevent this compiler from
11443 # explicitly linking system object files so we need to strip them
11444 # from the output so that they don't get included in the library
11446 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'
11449 if test "$GXX" = yes; then
11450 if test $with_gnu_ld = no; then
11453 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11456 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11459 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'
11464 # FIXME: insert proper C++ library support
11471 hardcode_direct_CXX=no
11472 hardcode_shlibpath_var_CXX=no
11473 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11474 export_dynamic_flag_spec_CXX='${wl}-E'
11475 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11476 # Instead, shared libraries are loaded at an image base (0x10000000 by
11477 # default) and relocated if they conflict, which is a slow very memory
11478 # consuming and fragmenting process. To avoid this, we pick a random,
11479 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11480 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11481 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'
11482 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'
11485 case $cc_basename in
11488 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'
11490 # Archives containing C++ object files must be created using
11491 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11492 # necessary to make sure instantiated templates are included
11494 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11497 if test "$GXX" = yes; then
11498 if test "$with_gnu_ld" = no; then
11499 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'
11501 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'
11504 link_all_deplibs_CXX=yes
11507 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11508 hardcode_libdir_separator_CXX=:
11510 linux* | k*bsd*-gnu)
11511 case $cc_basename in
11513 # Kuck and Associates, Inc. (KAI) C++ Compiler
11515 # KCC will only create a shared library if the output file
11516 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11517 # to its proper name (with version) after linking.
11518 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'
11519 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'
11520 # Commands to make compiler produce verbose output that lists
11521 # what "hidden" libraries, object files and flags are used when
11522 # linking a shared library.
11524 # There doesn't appear to be a way to prevent this compiler from
11525 # explicitly linking system object files so we need to strip them
11526 # from the output so that they don't get included in the library
11528 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'
11530 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
11531 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11533 # Archives containing C++ object files must be created using
11534 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11535 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11540 # version 8.0 and above of icpc choke on multiply defined symbols
11541 # if we add $predep_objects and $postdep_objects, however 7.1 and
11542 # earlier do not add the objects themselves.
11543 case `$CC -V 2>&1` in
11545 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11546 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'
11548 *) # Version 8.0 or newer
11551 ia64
*) tmp_idyn
=' -i_dynamic';;
11553 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11554 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'
11557 archive_cmds_need_lc_CXX
=no
11558 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11559 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11560 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11563 # Portland Group C++ compiler
11564 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11565 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'
11567 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
11568 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11569 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'
11573 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11574 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'
11576 runpath_var
=LD_RUN_PATH
11577 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11578 hardcode_libdir_separator_CXX
=:
11580 # Commands to make compiler produce verbose output that lists
11581 # what "hidden" libraries, object files and flags are used when
11582 # linking a shared library.
11584 # There doesn't appear to be a way to prevent this compiler from
11585 # explicitly linking system object files so we need to strip them
11586 # from the output so that they don't get included in the library
11588 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'
11591 case `$CC -V 2>&1 | sed 5q` in
11594 no_undefined_flag_CXX
=' -zdefs'
11595 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11596 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'
11597 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11598 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'
11600 # Not sure whether something based on
11601 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
11603 output_verbose_link_cmd
='echo'
11605 # Archives containing C++ object files must be created using
11606 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11607 # necessary to make sure instantiated templates are included
11609 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
11616 # FIXME: insert proper C++ library support
11620 # FIXME: insert proper C++ library support
11624 case $cc_basename in
11626 # FIXME: insert proper C++ library support
11630 # FIXME: insert proper C++ library support
11636 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
11637 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11639 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11640 hardcode_direct_CXX
=yes
11641 hardcode_shlibpath_var_CXX
=no
11643 # Workaround some broken pre-1.5 toolchains
11644 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11647 # C++ shared libraries are fairly broken
11651 if test -f /usr
/libexec
/ld.so
; then
11652 hardcode_direct_CXX
=yes
11653 hardcode_shlibpath_var_CXX
=no
11654 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11655 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11656 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11657 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11658 export_dynamic_flag_spec_CXX
='${wl}-E'
11659 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11661 output_verbose_link_cmd
='echo'
11667 case $cc_basename in
11669 # Kuck and Associates, Inc. (KAI) C++ Compiler
11671 # KCC will only create a shared library if the output file
11672 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11673 # to its proper name (with version) after linking.
11674 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'
11676 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11677 hardcode_libdir_separator_CXX
=:
11679 # Archives containing C++ object files must be created using
11680 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11681 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11685 # Rational C++ 2.4.1
11686 # FIXME: insert proper C++ library support
11690 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11691 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'
11693 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11694 hardcode_libdir_separator_CXX
=:
11696 # Commands to make compiler produce verbose output that lists
11697 # what "hidden" libraries, object files and flags are used when
11698 # linking a shared library.
11700 # There doesn't appear to be a way to prevent this compiler from
11701 # explicitly linking system object files so we need to strip them
11702 # from the output so that they don't get included in the library
11704 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'
11707 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11708 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11709 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'
11711 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11712 hardcode_libdir_separator_CXX
=:
11714 # Commands to make compiler produce verbose output that lists
11715 # what "hidden" libraries, object files and flags are used when
11716 # linking a shared library.
11717 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11720 # FIXME: insert proper C++ library support
11727 case $cc_basename in
11729 # Kuck and Associates, Inc. (KAI) C++ Compiler
11731 # KCC will only create a shared library if the output file
11732 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11733 # to its proper name (with version) after linking.
11734 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'
11736 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11737 hardcode_libdir_separator_CXX
=:
11739 # Archives containing C++ object files must be created using
11740 # the KAI C++ compiler.
11741 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
11744 # Rational C++ 2.4.1
11745 # FIXME: insert proper C++ library support
11749 allow_undefined_flag_CXX
=' -expect_unresolved \*'
11750 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'
11751 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11752 echo "-hidden">> $lib.exp~
11753 $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~
11756 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11757 hardcode_libdir_separator_CXX
=:
11759 # Commands to make compiler produce verbose output that lists
11760 # what "hidden" libraries, object files and flags are used when
11761 # linking a shared library.
11763 # There doesn't appear to be a way to prevent this compiler from
11764 # explicitly linking system object files so we need to strip them
11765 # from the output so that they don't get included in the library
11767 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'
11770 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11771 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11772 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'
11774 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11775 hardcode_libdir_separator_CXX
=:
11777 # Commands to make compiler produce verbose output that lists
11778 # what "hidden" libraries, object files and flags are used when
11779 # linking a shared library.
11780 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11783 # FIXME: insert proper C++ library support
11790 # FIXME: insert proper C++ library support
11794 case $cc_basename in
11797 # FIXME: insert proper C++ library support
11802 # FIXME: insert proper C++ library support
11806 # FIXME: insert proper C++ library support
11812 case $cc_basename in
11814 # Sun C++ 4.2, 5.x and Centerline C++
11815 archive_cmds_need_lc_CXX
=yes
11816 no_undefined_flag_CXX
=' -zdefs'
11817 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11818 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11819 $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'
11821 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11822 hardcode_shlibpath_var_CXX
=no
11824 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11826 # The compiler driver will combine and reorder linker options,
11827 # but understands `-z linker_flag'.
11828 # Supported since Solaris 2.6 (maybe 2.5.1?)
11829 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
11832 link_all_deplibs_CXX
=yes
11834 output_verbose_link_cmd
='echo'
11836 # Archives containing C++ object files must be created using
11837 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11838 # necessary to make sure instantiated templates are included
11840 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
11843 # Green Hills C++ Compiler
11844 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11846 # The C++ compiler must be used to create the archive.
11847 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
11850 # GNU C++ compiler with Solaris linker
11851 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11852 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
11853 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
11854 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11855 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11856 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11858 # Commands to make compiler produce verbose output that lists
11859 # what "hidden" libraries, object files and flags are used when
11860 # linking a shared library.
11861 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11863 # g++ 2.7 appears to require `-G' NOT `-shared' on this
11865 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11866 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11867 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11869 # Commands to make compiler produce verbose output that lists
11870 # what "hidden" libraries, object files and flags are used when
11871 # linking a shared library.
11872 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11875 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
11877 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11879 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11886 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11887 no_undefined_flag_CXX
='${wl}-z,text'
11888 archive_cmds_need_lc_CXX
=no
11889 hardcode_shlibpath_var_CXX
=no
11890 runpath_var
='LD_RUN_PATH'
11892 case $cc_basename in
11894 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11895 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11898 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11899 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11903 sysv5
* | sco3.2v5
* | sco5v6
*)
11904 # Note: We can NOT use -z defs as we might desire, because we do not
11905 # link with -lc, and that would cause any symbols used from libc to
11906 # always be unresolved, which means just about no library would
11907 # ever link correctly. If we're not using GNU ld we use -z text
11908 # though, which does catch some bad symbols but isn't as heavy-handed
11910 # For security reasons, it is highly recommended that you always
11911 # use absolute paths for naming shared libraries, and exclude the
11912 # DT_RUNPATH tag from executables and libraries. But doing so
11913 # requires that you compile everything twice, which is a pain.
11914 # So that behaviour is only enabled if SCOABSPATH is set to a
11915 # non-empty value in the environment. Most likely only useful for
11916 # creating official distributions of packages.
11917 # This is a hack until libtool officially supports absolute path
11918 # names for shared libraries.
11919 no_undefined_flag_CXX
='${wl}-z,text'
11920 allow_undefined_flag_CXX
='${wl}-z,nodefs'
11921 archive_cmds_need_lc_CXX
=no
11922 hardcode_shlibpath_var_CXX
=no
11923 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
11924 hardcode_libdir_separator_CXX
=':'
11925 link_all_deplibs_CXX
=yes
11926 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
11927 runpath_var
='LD_RUN_PATH'
11929 case $cc_basename in
11931 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11932 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11935 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11936 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11941 case $cc_basename in
11943 # NonStop-UX NCC 3.20
11944 # FIXME: insert proper C++ library support
11948 # FIXME: insert proper C++ library support
11954 # FIXME: insert proper C++ library support
11958 # FIXME: insert proper C++ library support
11962 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11963 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
11964 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
11970 cat > conftest.
$ac_ext <<EOF
11974 Foo (void) { a = 0; }
11980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11981 (eval $ac_compile) 2>&5
11983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11984 (exit $ac_status); }; then
11985 # Parse the compiler output and extract the necessary
11986 # objects, libraries and library flags.
11988 # Sentinel used to keep track of whether or not we are before
11989 # the conftest object file.
11990 pre_test_object_deps_done
=no
11992 # The `*' in the case matches for architectures that use `case' in
11993 # $output_verbose_cmd can trigger glob expansion during the loop
11994 # eval without this substitution.
11995 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
11997 for p
in `eval $output_verbose_link_cmd`; do
12001 # Some compilers place space between "-{L,R}" and the path.
12002 # Remove the space.
12003 if test $p = "-L" \
12004 ||
test $p = "-R"; then
12011 if test "$pre_test_object_deps_done" = no
; then
12014 # Internal compiler library paths should come after those
12015 # provided the user. The postdeps already come after the
12016 # user supplied libs so there is no need to process them.
12017 if test -z "$compiler_lib_search_path_CXX"; then
12018 compiler_lib_search_path_CXX
="${prev}${p}"
12020 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
12023 # The "-l" case would never come before the object being
12024 # linked, so don't bother handling this case.
12027 if test -z "$postdeps_CXX"; then
12028 postdeps_CXX
="${prev}${p}"
12030 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
12036 # This assumes that the test object file only shows up
12037 # once in the compiler output.
12038 if test "$p" = "conftest.$objext"; then
12039 pre_test_object_deps_done
=yes
12043 if test "$pre_test_object_deps_done" = no
; then
12044 if test -z "$predep_objects_CXX"; then
12045 predep_objects_CXX
="$p"
12047 predep_objects_CXX
="$predep_objects_CXX $p"
12050 if test -z "$postdep_objects_CXX"; then
12051 postdep_objects_CXX
="$p"
12053 postdep_objects_CXX
="$postdep_objects_CXX $p"
12058 *) ;; # Ignore the rest.
12066 echo "libtool.m4: error: problem compiling CXX test program"
12069 $rm -f confest.
$objext
12071 # PORTME: override above test on systems where it is broken
12074 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12075 # hack all around it, let's just trust "g++" to DTRT.
12076 predep_objects_CXX
=
12077 postdep_objects_CXX
=
12082 case `$CC -V 2>&1 | sed 5q` in
12086 # The more standards-conforming stlport4 library is
12087 # incompatible with the Cstd library. Avoid specifying
12088 # it if it's in CXXFLAGS. Ignore libCrun as
12089 # -library=stlport4 depends on it.
12090 case " $CXX $CXXFLAGS " in
12091 *" -library=stlport4 "*)
12092 solaris_use_stlport4
=yes
12095 if test "$solaris_use_stlport4" != yes; then
12096 postdeps_CXX
='-library=Cstd -library=Crun'
12103 case $cc_basename in
12105 # The more standards-conforming stlport4 library is
12106 # incompatible with the Cstd library. Avoid specifying
12107 # it if it's in CXXFLAGS. Ignore libCrun as
12108 # -library=stlport4 depends on it.
12109 case " $CXX $CXXFLAGS " in
12110 *" -library=stlport4 "*)
12111 solaris_use_stlport4
=yes
12115 # Adding this requires a known-good setup of shared libraries for
12116 # Sun compiler versions before 5.6, else PIC objects from an old
12117 # archive will be linked into the output, leading to subtle bugs.
12118 if test "$solaris_use_stlport4" != yes; then
12119 postdeps_CXX
='-library=Cstd -library=Crun'
12127 case " $postdeps_CXX " in
12128 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
12131 lt_prog_compiler_wl_CXX
=
12132 lt_prog_compiler_pic_CXX
=
12133 lt_prog_compiler_static_CXX
=
12135 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12136 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
12138 # C++ specific cases for pic, static, wl, etc.
12139 if test "$GXX" = yes; then
12140 lt_prog_compiler_wl_CXX
='-Wl,'
12141 lt_prog_compiler_static_CXX
='-static'
12145 # All AIX code is PIC.
12146 if test "$host_cpu" = ia64
; then
12147 # AIX 5 now supports IA64 processor
12148 lt_prog_compiler_static_CXX
='-Bstatic'
12152 # FIXME: we need at least 68020 code to build shared libraries, but
12153 # adding the `-m68020' flag to GCC prevents building anything better,
12155 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
12157 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12158 # PIC is the default for these OSes.
12160 mingw
* | cygwin
* | os2
* | pw32
*)
12161 # This hack is so that the source file can tell whether it is being
12162 # built for inclusion in a dll (and should export symbols for example).
12163 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12164 # (--disable-auto-import) libraries
12165 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
12167 darwin
* | rhapsody
*)
12168 # PIC is the default on this platform
12169 # Common symbols not allowed in MH_DYLIB files
12170 lt_prog_compiler_pic_CXX
='-fno-common'
12173 # DJGPP does not support shared libraries at all
12174 lt_prog_compiler_pic_CXX
=
12177 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12178 # Instead, we relocate shared libraries at runtime.
12181 if test -d /usr
/nec
; then
12182 lt_prog_compiler_pic_CXX
=-Kconform_pic
12186 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12187 # not for PA HP-UX.
12192 lt_prog_compiler_pic_CXX
='-fPIC'
12197 lt_prog_compiler_pic_CXX
='-fPIC'
12203 # All AIX code is PIC.
12204 if test "$host_cpu" = ia64
; then
12205 # AIX 5 now supports IA64 processor
12206 lt_prog_compiler_static_CXX
='-Bstatic'
12208 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
12212 case $cc_basename in
12214 # Green Hills C++ Compiler
12215 # _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"
12220 # PIC is the default on this platform
12221 # Common symbols not allowed in MH_DYLIB files
12222 case $cc_basename in
12224 lt_prog_compiler_pic_CXX
='-qnocommon'
12225 lt_prog_compiler_wl_CXX
='-Wl,'
12230 case $cc_basename in
12232 lt_prog_compiler_pic_CXX
='-KPIC'
12235 # Green Hills C++ Compiler
12236 lt_prog_compiler_pic_CXX
='-pic'
12242 freebsd
* | dragonfly
*)
12243 # FreeBSD uses GNU C++
12245 hpux9
* | hpux10
* | hpux11
*)
12246 case $cc_basename in
12248 lt_prog_compiler_wl_CXX
='-Wl,'
12249 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12250 if test "$host_cpu" != ia64
; then
12251 lt_prog_compiler_pic_CXX
='+Z'
12255 lt_prog_compiler_wl_CXX
='-Wl,'
12256 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12262 lt_prog_compiler_pic_CXX
='+Z'
12271 # This is c89, which is MS Visual C++ (no shared libs)
12272 # Anyone wants to do a port?
12274 irix5
* | irix6
* | nonstopux
*)
12275 case $cc_basename in
12277 lt_prog_compiler_wl_CXX
='-Wl,'
12278 lt_prog_compiler_static_CXX
='-non_shared'
12279 # CC pic flag -KPIC is the default.
12285 linux
* | k
*bsd
*-gnu)
12286 case $cc_basename in
12289 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12290 lt_prog_compiler_pic_CXX
='-fPIC'
12294 lt_prog_compiler_wl_CXX
='-Wl,'
12295 lt_prog_compiler_pic_CXX
='-KPIC'
12296 lt_prog_compiler_static_CXX
='-static'
12299 # Portland Group C++ compiler.
12300 lt_prog_compiler_wl_CXX
='-Wl,'
12301 lt_prog_compiler_pic_CXX
='-fpic'
12302 lt_prog_compiler_static_CXX
='-Bstatic'
12306 # Make sure the PIC flag is empty. It appears that all Alpha
12307 # Linux and Compaq Tru64 Unix objects are PIC.
12308 lt_prog_compiler_pic_CXX
=
12309 lt_prog_compiler_static_CXX
='-non_shared'
12312 case `$CC -V 2>&1 | sed 5q` in
12315 lt_prog_compiler_pic_CXX
='-KPIC'
12316 lt_prog_compiler_static_CXX
='-Bstatic'
12317 lt_prog_compiler_wl_CXX
='-Qoption ld '
12328 case $cc_basename in
12330 lt_prog_compiler_pic_CXX
='-W c,exportall'
12338 osf3
* | osf4
* | osf5
*)
12339 case $cc_basename in
12341 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12344 # Rational C++ 2.4.1
12345 lt_prog_compiler_pic_CXX
='-pic'
12348 # Digital/Compaq C++
12349 lt_prog_compiler_wl_CXX
='-Wl,'
12350 # Make sure the PIC flag is empty. It appears that all Alpha
12351 # Linux and Compaq Tru64 Unix objects are PIC.
12352 lt_prog_compiler_pic_CXX
=
12353 lt_prog_compiler_static_CXX
='-non_shared'
12362 case $cc_basename in
12364 # Sun C++ 4.2, 5.x and Centerline C++
12365 lt_prog_compiler_pic_CXX
='-KPIC'
12366 lt_prog_compiler_static_CXX
='-Bstatic'
12367 lt_prog_compiler_wl_CXX
='-Qoption ld '
12370 # Green Hills C++ Compiler
12371 lt_prog_compiler_pic_CXX
='-PIC'
12378 case $cc_basename in
12381 lt_prog_compiler_pic_CXX
='-pic'
12382 lt_prog_compiler_static_CXX
='-Bstatic'
12386 lt_prog_compiler_pic_CXX
='-pic'
12393 case $cc_basename in
12395 # NonStop-UX NCC 3.20
12396 lt_prog_compiler_pic_CXX
='-KPIC'
12402 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12403 case $cc_basename in
12405 lt_prog_compiler_wl_CXX
='-Wl,'
12406 lt_prog_compiler_pic_CXX
='-KPIC'
12407 lt_prog_compiler_static_CXX
='-Bstatic'
12414 lt_prog_compiler_can_build_shared_CXX
=no
12419 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12420 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
12423 # Check to make sure the PIC flag actually works.
12425 if test -n "$lt_prog_compiler_pic_CXX"; then
12427 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12428 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
12429 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12430 echo $ECHO_N "(cached) $ECHO_C" >&6
12432 lt_prog_compiler_pic_works_CXX
=no
12433 ac_outfile
=conftest.
$ac_objext
12434 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12435 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
12436 # Insert the option either (1) after the last *FLAGS variable, or
12437 # (2) before a word containing "conftest.", or (3) at the end.
12438 # Note that $ac_compile itself does not contain backslashes and begins
12439 # with a dollar sign (not a hyphen), so the echo should work correctly.
12440 # The option is referenced via a variable to avoid confusing sed.
12441 lt_compile
=`echo "$ac_compile" | $SED \
12442 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12443 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12444 -e 's:$: $lt_compiler_flag:'`
12445 (eval echo "\"\$as_me:12445: $lt_compile\"" >&5)
12446 (eval "$lt_compile" 2>conftest.err
)
12448 cat conftest.err
>&5
12449 echo "$as_me:12449: \$? = $ac_status" >&5
12450 if (exit $ac_status) && test -s "$ac_outfile"; then
12451 # The compiler can only warn and ignore the option if not recognized
12452 # So say no if there are warnings other than the usual output.
12453 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
12454 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12455 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
12456 lt_prog_compiler_pic_works_CXX
=yes
12462 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12463 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
12465 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
12466 case $lt_prog_compiler_pic_CXX in
12468 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
12471 lt_prog_compiler_pic_CXX
=
12472 lt_prog_compiler_can_build_shared_CXX
=no
12477 # For platforms which do not support PIC, -DPIC is meaningless:
12479 lt_prog_compiler_pic_CXX
=
12482 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
12487 # Check to make sure the static flag actually works.
12489 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
12490 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12491 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
12492 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
12493 echo $ECHO_N "(cached) $ECHO_C" >&6
12495 lt_prog_compiler_static_works_CXX
=no
12496 save_LDFLAGS
="$LDFLAGS"
12497 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
12498 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
12499 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12500 # The linker can only warn and ignore the option if not recognized
12501 # So say no if there are warnings
12502 if test -s conftest.err
; then
12503 # Append any errors to the config.log.
12504 cat conftest.err
1>&5
12505 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
12506 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12507 if diff conftest.exp conftest.er2
>/dev
/null
; then
12508 lt_prog_compiler_static_works_CXX
=yes
12511 lt_prog_compiler_static_works_CXX
=yes
12515 LDFLAGS
="$save_LDFLAGS"
12518 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12519 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
12521 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
12524 lt_prog_compiler_static_CXX
=
12528 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12529 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
12530 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12531 echo $ECHO_N "(cached) $ECHO_C" >&6
12533 lt_cv_prog_compiler_c_o_CXX
=no
12534 $rm -r conftest
2>/dev
/null
12538 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12540 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12541 # Insert the option either (1) after the last *FLAGS variable, or
12542 # (2) before a word containing "conftest.", or (3) at the end.
12543 # Note that $ac_compile itself does not contain backslashes and begins
12544 # with a dollar sign (not a hyphen), so the echo should work correctly.
12545 lt_compile
=`echo "$ac_compile" | $SED \
12546 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12547 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12548 -e 's:$: $lt_compiler_flag:'`
12549 (eval echo "\"\$as_me:12549: $lt_compile\"" >&5)
12550 (eval "$lt_compile" 2>out
/conftest.err
)
12552 cat out
/conftest.err
>&5
12553 echo "$as_me:12553: \$? = $ac_status" >&5
12554 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12556 # The compiler can only warn and ignore the option if not recognized
12557 # So say no if there are warnings
12558 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
12559 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12560 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12561 lt_cv_prog_compiler_c_o_CXX
=yes
12566 # SGI C++ compiler will create directory out/ii_files/ for
12567 # template instantiation
12568 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
12569 $rm out
/* && rmdir out
12575 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12576 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
12579 hard_links
="nottested"
12580 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
12581 # do not overwrite the value of need_locks provided by the user
12582 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12583 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
12586 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12588 ln conftest.a conftest.b
2>&5 || hard_links
=no
12589 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12590 { echo "$as_me:$LINENO: result: $hard_links" >&5
12591 echo "${ECHO_T}$hard_links" >&6; }
12592 if test "$hard_links" = no
; then
12593 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12594 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12601 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12602 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12604 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12607 # If we're using GNU nm, then we don't want the "-C" option.
12608 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12609 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
12610 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'
12612 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'
12616 export_symbols_cmds_CXX
="$ltdll_cmds"
12619 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'
12622 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12626 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12627 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12628 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12631 # Do we need to explicitly link libc?
12633 case "x$archive_cmds_need_lc_CXX" in
12635 # Assume -lc should be added
12636 archive_cmds_need_lc_CXX
=yes
12638 if test "$enable_shared" = yes && test "$GCC" = yes; then
12639 case $archive_cmds_CXX in
12641 # FIXME: we may have to deal with multi-command sequences.
12644 # Test whether the compiler implicitly links with -lc since on some
12645 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12646 # to ld, don't add -lc before -lgcc.
12647 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12648 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
12650 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12653 (eval $ac_compile) 2>&5
12655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12656 (exit $ac_status); } 2>conftest.err
; then
12659 libobjs
=conftest.
$ac_objext
12661 wl
=$lt_prog_compiler_wl_CXX
12662 pic_flag
=$lt_prog_compiler_pic_CXX
12668 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
12669 allow_undefined_flag_CXX
=
12670 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
12671 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12674 (exit $ac_status); }
12676 archive_cmds_need_lc_CXX
=no
12678 archive_cmds_need_lc_CXX
=yes
12680 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
12682 cat conftest.err
1>&5
12685 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12686 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
12693 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12694 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
12695 library_names_spec
=
12696 libname_spec
='lib$name'
12700 postuninstall_cmds
=
12704 shlibpath_overrides_runpath
=unknown
12706 dynamic_linker
="$host_os ld.so"
12707 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
12709 need_lib_prefix
=unknown
12710 hardcode_into_libs
=no
12712 # when you set need_version to no, make sure it does not cause -set_version
12713 # flags to be left without arguments
12714 need_version
=unknown
12719 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
12720 shlibpath_var
=LIBPATH
12722 # AIX 3 has no versioning support, so we append a major version to the name.
12723 soname_spec
='${libname}${release}${shared_ext}$major'
12730 hardcode_into_libs
=yes
12731 if test "$host_cpu" = ia64
; then
12732 # AIX 5 supports IA64
12733 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12734 shlibpath_var
=LD_LIBRARY_PATH
12736 # With GCC up to 2.95.x, collect2 would create an import file
12737 # for dependence libraries. The import file would start with
12738 # the line `#! .'. This would cause the generated library to
12739 # depend on `.', always an invalid library. This was fixed in
12740 # development snapshots of GCC prior to 3.0.
12742 aix4 | aix4.
[01] | aix4.
[01].
*)
12743 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12745 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
12748 can_build_shared
=no
12752 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12753 # soname into executable. Probably we can add versioning support to
12754 # collect2, so additional links can be useful in future.
12755 if test "$aix_use_runtimelinking" = yes; then
12756 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12757 # instead of lib<name>.a to let people know that these are not
12758 # typical AIX shared libraries.
12759 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12761 # We preserve .a as extension for shared libraries through AIX4.2
12762 # and later when we are not doing run time linking.
12763 library_names_spec
='${libname}${release}.a $libname.a'
12764 soname_spec
='${libname}${release}${shared_ext}$major'
12766 shlibpath_var
=LIBPATH
12771 library_names_spec
='$libname.ixlibrary $libname.a'
12772 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12773 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'
12777 library_names_spec
='${libname}${shared_ext}'
12778 dynamic_linker
="$host_os ld.so"
12779 shlibpath_var
=LIBRARY_PATH
12785 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12786 soname_spec
='${libname}${release}${shared_ext}$major'
12787 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
12788 shlibpath_var
=LD_LIBRARY_PATH
12789 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12790 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
12791 # the default ld.so.conf also contains /usr/contrib/lib and
12792 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12793 # libtool to hard-code these into programs
12796 cygwin
* | mingw
* | pw32
*)
12797 version_type
=windows
12802 case $GCC,$host_os in
12803 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
12804 library_names_spec
='$libname.dll.a'
12805 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12806 postinstall_cmds
='base_file=`basename \${file}`~
12807 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
12808 dldir=$destdir/`dirname \$dlpath`~
12809 test -d \$dldir || mkdir -p \$dldir~
12810 $install_prog $dir/$dlname \$dldir/$dlname~
12811 chmod a+x \$dldir/$dlname'
12812 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12813 dlpath=$dir/\$dldll~
12815 shlibpath_overrides_runpath
=yes
12819 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12820 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12821 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
12824 # MinGW DLLs use traditional 'lib' prefix
12825 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12826 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12827 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
12828 # It is most probably a Windows format PATH printed by
12829 # mingw gcc, but we are running on Cygwin. Gcc prints its search
12830 # path with ; separators, and with drive letters. We can handle the
12831 # drive letters (cygwin fileutils understands them), so leave them,
12832 # especially as we might pass files found there to a mingw objdump,
12833 # which wouldn't understand a cygwinified path. Ahh.
12834 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12836 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12840 # pw32 DLLs use 'pw' prefix rather than 'lib'
12841 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12847 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12850 dynamic_linker
='Win32 ld.exe'
12851 # FIXME: first we should search . and the directory the executable is in
12855 darwin
* | rhapsody
*)
12856 dynamic_linker
="$host_os dyld"
12857 version_type
=darwin
12860 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12861 soname_spec
='${libname}${release}${major}$shared_ext'
12862 shlibpath_overrides_runpath
=yes
12863 shlibpath_var
=DYLD_LIBRARY_PATH
12864 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
12866 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12873 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12874 soname_spec
='${libname}${release}${shared_ext}$major'
12875 shlibpath_var
=LD_LIBRARY_PATH
12882 freebsd
* | dragonfly
*)
12883 # DragonFly does not have aout. When/if they implement a new
12884 # versioning mechanism, adjust this.
12885 if test -x /usr
/bin
/objformat
; then
12886 objformat
=`/usr/bin/objformat`
12889 freebsd
[123]*) objformat
=aout
;;
12890 *) objformat
=elf
;;
12893 version_type
=freebsd-
$objformat
12894 case $version_type in
12896 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12901 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12905 shlibpath_var
=LD_LIBRARY_PATH
12908 shlibpath_overrides_runpath
=yes
12910 freebsd3.
[01]* | freebsdelf3.
[01]*)
12911 shlibpath_overrides_runpath
=yes
12912 hardcode_into_libs
=yes
12914 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12915 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12916 shlibpath_overrides_runpath
=no
12917 hardcode_into_libs
=yes
12919 *) # from 4.6 on, and DragonFly
12920 shlibpath_overrides_runpath
=yes
12921 hardcode_into_libs
=yes
12930 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12931 soname_spec
='${libname}${release}${shared_ext}$major'
12932 shlibpath_var
=LD_LIBRARY_PATH
12933 hardcode_into_libs
=yes
12936 hpux9
* | hpux10
* | hpux11
*)
12937 # Give a soname corresponding to the major version so that dld.sl refuses to
12938 # link against other versions.
12945 hardcode_into_libs
=yes
12946 dynamic_linker
="$host_os dld.so"
12947 shlibpath_var
=LD_LIBRARY_PATH
12948 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12949 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12950 soname_spec
='${libname}${release}${shared_ext}$major'
12951 if test "X$HPUX_IA64_MODE" = X32
; then
12952 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12954 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12956 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12960 hardcode_into_libs
=yes
12961 dynamic_linker
="$host_os dld.sl"
12962 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12963 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
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 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12967 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12971 dynamic_linker
="$host_os dld.sl"
12972 shlibpath_var
=SHLIB_PATH
12973 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12974 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12975 soname_spec
='${libname}${release}${shared_ext}$major'
12978 # HP-UX runs *really* slowly unless shared libraries are mode 555.
12979 postinstall_cmds
='chmod 555 $lib'
12986 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12987 soname_spec
='${libname}${release}${shared_ext}$major'
12988 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12989 shlibpath_var
=LD_LIBRARY_PATH
12990 shlibpath_overrides_runpath
=no
12991 hardcode_into_libs
=yes
12994 irix5
* | irix6
* | nonstopux
*)
12996 nonstopux
*) version_type
=nonstopux
;;
12998 if test "$lt_cv_prog_gnu_ld" = yes; then
13006 soname_spec
='${libname}${release}${shared_ext}$major'
13007 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13009 irix5
* | nonstopux
*)
13010 libsuff
= shlibsuff
=
13013 case $LD in # libtool.m4 will add one of these switches to LD
13014 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
13015 libsuff
= shlibsuff
= libmagic
=32-bit;;
13016 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
13017 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13018 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
13019 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
13020 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
13024 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
13025 shlibpath_overrides_runpath
=no
13026 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13027 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13028 hardcode_into_libs
=yes
13031 # No shared lib support for Linux oldld, aout, or coff.
13032 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
13036 # This must be Linux ELF.
13037 linux
* | k
*bsd
*-gnu)
13041 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13042 soname_spec
='${libname}${release}${shared_ext}$major'
13043 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13044 shlibpath_var
=LD_LIBRARY_PATH
13045 shlibpath_overrides_runpath
=no
13046 # This implies no fast_install, which is unacceptable.
13047 # Some rework will be needed to allow for fast_install
13048 # before this can be enabled.
13049 hardcode_into_libs
=yes
13050 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13051 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13053 # Append ld.so.conf contents to the search path
13054 if test -f /etc
/ld.so.conf
; then
13055 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' ' '`
13056 sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec $lt_ld_extra"
13059 # We used to test for /lib/ld.so.1 and disable shared libraries on
13060 # powerpc, because MkLinux only supported shared libraries with the
13061 # GNU dynamic linker. Since this was broken with cross compilers,
13062 # most powerpc-linux boxes support dynamic linking these days and
13063 # people can always --disable-shared, the test was removed, and we
13064 # assume the GNU/Linux dynamic linker is in use.
13065 dynamic_linker
='GNU/Linux ld.so'
13072 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
13073 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13074 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13075 dynamic_linker
='NetBSD (a.out) ld.so'
13077 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13078 soname_spec
='${libname}${release}${shared_ext}$major'
13079 dynamic_linker
='NetBSD ld.elf_so'
13081 shlibpath_var
=LD_LIBRARY_PATH
13082 shlibpath_overrides_runpath
=yes
13083 hardcode_into_libs
=yes
13088 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13089 shlibpath_var
=LD_LIBRARY_PATH
13090 shlibpath_overrides_runpath
=yes
13097 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13098 soname_spec
='${libname}${release}${shared_ext}$major'
13099 shlibpath_var
=LD_LIBRARY_PATH
13100 shlibpath_overrides_runpath
=yes
13105 sys_lib_dlsearch_path_spec
="/usr/lib"
13107 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13109 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
13110 *) need_version
=no
;;
13112 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13113 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13114 shlibpath_var
=LD_LIBRARY_PATH
13115 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13117 openbsd2.
[89] | openbsd2.
[89].
*)
13118 shlibpath_overrides_runpath
=no
13121 shlibpath_overrides_runpath
=yes
13125 shlibpath_overrides_runpath
=yes
13130 libname_spec
='$name'
13133 library_names_spec
='$libname${shared_ext} $libname.a'
13134 dynamic_linker
='OS/2 ld.exe'
13135 shlibpath_var
=LIBPATH
13138 osf3
* | osf4
* | osf5
*)
13142 soname_spec
='${libname}${release}${shared_ext}$major'
13143 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13144 shlibpath_var
=LD_LIBRARY_PATH
13145 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13146 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
13157 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13158 soname_spec
='${libname}${release}${shared_ext}$major'
13159 shlibpath_var
=LD_LIBRARY_PATH
13160 shlibpath_overrides_runpath
=yes
13161 hardcode_into_libs
=yes
13162 # ldd complains unless libraries are executable
13163 postinstall_cmds
='chmod +x $lib'
13168 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13169 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13170 shlibpath_var
=LD_LIBRARY_PATH
13171 shlibpath_overrides_runpath
=yes
13172 if test "$with_gnu_ld" = yes; then
13180 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13181 soname_spec
='${libname}${release}${shared_ext}$major'
13182 shlibpath_var
=LD_LIBRARY_PATH
13183 case $host_vendor in
13185 shlibpath_overrides_runpath
=no
13187 export_dynamic_flag_spec
='${wl}-Blargedynsym'
13188 runpath_var
=LD_RUN_PATH
13196 shlibpath_overrides_runpath
=no
13197 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13203 if test -d /usr
/nec
;then
13205 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13206 soname_spec
='$libname${shared_ext}.$major'
13207 shlibpath_var
=LD_LIBRARY_PATH
13211 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
13212 version_type
=freebsd-elf
13215 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13216 soname_spec
='${libname}${release}${shared_ext}$major'
13217 shlibpath_var
=LD_LIBRARY_PATH
13218 hardcode_into_libs
=yes
13219 if test "$with_gnu_ld" = yes; then
13220 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13221 shlibpath_overrides_runpath
=no
13223 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
13224 shlibpath_overrides_runpath
=yes
13227 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
13231 sys_lib_dlsearch_path_spec
='/usr/lib'
13236 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13237 soname_spec
='${libname}${release}${shared_ext}$major'
13238 shlibpath_var
=LD_LIBRARY_PATH
13245 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13246 echo "${ECHO_T}$dynamic_linker" >&6; }
13247 test "$dynamic_linker" = no
&& can_build_shared
=no
13249 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
13250 if test "$GCC" = yes; then
13251 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13254 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13255 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
13256 hardcode_action_CXX
=
13257 if test -n "$hardcode_libdir_flag_spec_CXX" || \
13258 test -n "$runpath_var_CXX" || \
13259 test "X$hardcode_automatic_CXX" = "Xyes" ; then
13261 # We can hardcode non-existant directories.
13262 if test "$hardcode_direct_CXX" != no
&&
13263 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13264 # have to relink, otherwise we might link with an installed library
13265 # when we should be linking with a yet-to-be-installed one
13266 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13267 test "$hardcode_minus_L_CXX" != no
; then
13268 # Linking always hardcodes the temporary library directory.
13269 hardcode_action_CXX
=relink
13271 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13272 hardcode_action_CXX
=immediate
13275 # We cannot hardcode anything, or else we can only hardcode existing
13277 hardcode_action_CXX
=unsupported
13279 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13280 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
13282 if test "$hardcode_action_CXX" = relink
; then
13283 # Fast installation is not supported
13284 enable_fast_install
=no
13285 elif test "$shlibpath_overrides_runpath" = yes ||
13286 test "$enable_shared" = no
; then
13287 # Fast installation is not necessary
13288 enable_fast_install
=needless
13292 # The else clause should only fire when bootstrapping the
13293 # libtool distribution, otherwise you forgot to ship ltmain.sh
13294 # with your package, and you will get complaints that there are
13295 # no rules to generate ltmain.sh.
13296 if test -f "$ltmain"; then
13297 # See if we are running on zsh, and set the options which allow our commands through
13298 # without removal of \ escapes.
13299 if test -n "${ZSH_VERSION+set}" ; then
13300 setopt NO_GLOB_SUBST
13302 # Now quote all the things that may contain metacharacters while being
13303 # careful not to overquote the AC_SUBSTed values. We take copies of the
13304 # variables and quote the copies for generation of the libtool script.
13305 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13307 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13308 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13309 deplibs_check_method reload_flag reload_cmds need_locks \
13310 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13311 lt_cv_sys_global_symbol_to_c_name_address \
13312 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13313 old_postinstall_cmds old_postuninstall_cmds \
13317 lt_prog_compiler_wl_CXX \
13318 lt_prog_compiler_pic_CXX \
13319 lt_prog_compiler_static_CXX \
13320 lt_prog_compiler_no_builtin_flag_CXX \
13321 export_dynamic_flag_spec_CXX \
13322 thread_safe_flag_spec_CXX \
13323 whole_archive_flag_spec_CXX \
13324 enable_shared_with_static_runtimes_CXX \
13325 old_archive_cmds_CXX \
13326 old_archive_from_new_cmds_CXX \
13327 predep_objects_CXX \
13328 postdep_objects_CXX \
13331 compiler_lib_search_path_CXX \
13333 archive_expsym_cmds_CXX \
13334 postinstall_cmds_CXX \
13335 postuninstall_cmds_CXX \
13336 old_archive_from_expsyms_cmds_CXX \
13337 allow_undefined_flag_CXX \
13338 no_undefined_flag_CXX \
13339 export_symbols_cmds_CXX \
13340 hardcode_libdir_flag_spec_CXX \
13341 hardcode_libdir_flag_spec_ld_CXX \
13342 hardcode_libdir_separator_CXX \
13343 hardcode_automatic_CXX \
13345 module_expsym_cmds_CXX \
13346 lt_cv_prog_compiler_c_o_CXX \
13347 fix_srcfile_path_CXX \
13348 exclude_expsyms_CXX \
13349 include_expsyms_CXX
; do
13352 old_archive_cmds_CXX | \
13353 old_archive_from_new_cmds_CXX | \
13354 archive_cmds_CXX | \
13355 archive_expsym_cmds_CXX | \
13356 module_cmds_CXX | \
13357 module_expsym_cmds_CXX | \
13358 old_archive_from_expsyms_cmds_CXX | \
13359 export_symbols_cmds_CXX | \
13360 extract_expsyms_cmds | reload_cmds | finish_cmds | \
13361 postinstall_cmds | postuninstall_cmds | \
13362 old_postinstall_cmds | old_postuninstall_cmds | \
13363 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
13364 # Double-quote double-evaled strings.
13365 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13368 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13374 *'\$0 --fallback-echo"')
13375 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13381 cat <<__EOF__ >> "$cfgfile"
13382 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
13384 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13386 # Shell to use when invoking shell scripts.
13389 # Whether or not to build shared libraries.
13390 build_libtool_libs=$enable_shared
13392 # Whether or not to build static libraries.
13393 build_old_libs=$enable_static
13395 # Whether or not to add -lc for building shared libraries.
13396 build_libtool_need_lc=$archive_cmds_need_lc_CXX
13398 # Whether or not to disallow shared libs when runtime libs are static
13399 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13401 # Whether or not to optimize for fast installation.
13402 fast_install=$enable_fast_install
13405 host_alias=$host_alias
13409 # The build system.
13410 build_alias=$build_alias
13414 # An echo program that does not interpret backslashes.
13419 AR_FLAGS=$lt_AR_FLAGS
13424 # LTCC compiler flags.
13425 LTCFLAGS=$lt_LTCFLAGS
13427 # A language-specific compiler.
13428 CC=$lt_compiler_CXX
13430 # Is the compiler the GNU C compiler?
13436 # The linker used to build libraries.
13439 # Whether we need hard or soft links.
13442 # A BSD-compatible nm program.
13445 # A symbol stripping program
13448 # Used to examine libraries when file_magic_cmd begins "file"
13449 MAGIC_CMD=$MAGIC_CMD
13451 # Used on cygwin: DLL creation program.
13454 # Used on cygwin: object dumper.
13457 # Used on cygwin: assembler.
13460 # The name of the directory that contains temporary libtool files.
13463 # How to create reloadable object files.
13464 reload_flag=$lt_reload_flag
13465 reload_cmds=$lt_reload_cmds
13467 # How to pass a linker flag through the compiler.
13468 wl=$lt_lt_prog_compiler_wl_CXX
13470 # Object file suffix (normally "o").
13471 objext="$ac_objext"
13473 # Old archive suffix (normally "a").
13476 # Shared library suffix (normally ".so").
13477 shrext_cmds='$shrext_cmds'
13479 # Executable file suffix (normally "").
13482 # Additional compiler flags for building library objects.
13483 pic_flag=$lt_lt_prog_compiler_pic_CXX
13486 # What is the maximum length of a command?
13487 max_cmd_len=$lt_cv_sys_max_cmd_len
13489 # Does compiler simultaneously support -c and -o options?
13490 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13492 # Must we lock files when doing compilation?
13493 need_locks=$lt_need_locks
13495 # Do we need the lib prefix for modules?
13496 need_lib_prefix=$need_lib_prefix
13498 # Do we need a version for libraries?
13499 need_version=$need_version
13501 # Whether dlopen is supported.
13502 dlopen_support=$enable_dlopen
13504 # Whether dlopen of programs is supported.
13505 dlopen_self=$enable_dlopen_self
13507 # Whether dlopen of statically linked programs is supported.
13508 dlopen_self_static=$enable_dlopen_self_static
13510 # Compiler flag to prevent dynamic linking.
13511 link_static_flag=$lt_lt_prog_compiler_static_CXX
13513 # Compiler flag to turn off builtin functions.
13514 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13516 # Compiler flag to allow reflexive dlopens.
13517 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13519 # Compiler flag to generate shared objects directly from archives.
13520 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13522 # Compiler flag to generate thread-safe objects.
13523 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13525 # Library versioning type.
13526 version_type=$version_type
13528 # Format of library name prefix.
13529 libname_spec=$lt_libname_spec
13531 # List of archive names. First name is the real one, the rest are links.
13532 # The last name is the one that the linker finds with -lNAME.
13533 library_names_spec=$lt_library_names_spec
13535 # The coded name of the library, if different from the real name.
13536 soname_spec=$lt_soname_spec
13538 # Commands used to build and install an old-style archive.
13540 old_archive_cmds=$lt_old_archive_cmds_CXX
13541 old_postinstall_cmds=$lt_old_postinstall_cmds
13542 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13544 # Create an old-style archive from a shared archive.
13545 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13547 # Create a temporary old-style archive to link instead of a shared archive.
13548 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13550 # Commands used to build and install a shared archive.
13551 archive_cmds=$lt_archive_cmds_CXX
13552 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13553 postinstall_cmds=$lt_postinstall_cmds
13554 postuninstall_cmds=$lt_postuninstall_cmds
13556 # Commands used to build a loadable module (assumed same as above if empty)
13557 module_cmds=$lt_module_cmds_CXX
13558 module_expsym_cmds=$lt_module_expsym_cmds_CXX
13560 # Commands to strip libraries.
13561 old_striplib=$lt_old_striplib
13562 striplib=$lt_striplib
13564 # Dependencies to place before the objects being linked to create a
13566 predep_objects=$lt_predep_objects_CXX
13568 # Dependencies to place after the objects being linked to create a
13570 postdep_objects=$lt_postdep_objects_CXX
13572 # Dependencies to place before the objects being linked to create a
13574 predeps=$lt_predeps_CXX
13576 # Dependencies to place after the objects being linked to create a
13578 postdeps=$lt_postdeps_CXX
13580 # The library search path used internally by the compiler when linking
13581 # a shared library.
13582 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13584 # Method to check whether dependent libraries are shared objects.
13585 deplibs_check_method=$lt_deplibs_check_method
13587 # Command to use when deplibs_check_method == file_magic.
13588 file_magic_cmd=$lt_file_magic_cmd
13590 # Flag that allows shared libraries with undefined symbols to be built.
13591 allow_undefined_flag=$lt_allow_undefined_flag_CXX
13593 # Flag that forces no undefined symbols.
13594 no_undefined_flag=$lt_no_undefined_flag_CXX
13596 # Commands used to finish a libtool library installation in a directory.
13597 finish_cmds=$lt_finish_cmds
13599 # Same as above, but a single script fragment to be evaled but not shown.
13600 finish_eval=$lt_finish_eval
13602 # Take the output of nm and produce a listing of raw symbols and C names.
13603 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13605 # Transform the output of nm in a proper C declaration
13606 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13608 # Transform the output of nm in a C name address pair
13609 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13611 # This is the shared library runtime path variable.
13612 runpath_var=$runpath_var
13614 # This is the shared library path variable.
13615 shlibpath_var=$shlibpath_var
13617 # Is shlibpath searched before the hard-coded library search path?
13618 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13620 # How to hardcode a shared library path into an executable.
13621 hardcode_action=$hardcode_action_CXX
13623 # Whether we should hardcode library paths into libraries.
13624 hardcode_into_libs=$hardcode_into_libs
13626 # Flag to hardcode \$libdir into a binary during linking.
13627 # This must work even if \$libdir does not exist.
13628 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
13630 # If ld is used when linking, flag to hardcode \$libdir into
13631 # a binary during linking. This must work even if \$libdir does
13633 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
13635 # Whether we need a single -rpath flag with a separated argument.
13636 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
13638 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13639 # resulting binary.
13640 hardcode_direct=$hardcode_direct_CXX
13642 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13643 # resulting binary.
13644 hardcode_minus_L=$hardcode_minus_L_CXX
13646 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13647 # the resulting binary.
13648 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
13650 # Set to yes if building a shared library automatically hardcodes DIR into the library
13651 # and all subsequent libraries and executables linked against it.
13652 hardcode_automatic=$hardcode_automatic_CXX
13654 # Variables whose values should be saved in libtool wrapper scripts and
13655 # restored at relink time.
13656 variables_saved_for_relink="$variables_saved_for_relink"
13658 # Whether libtool must link a program against all its dependency libraries.
13659 link_all_deplibs=$link_all_deplibs_CXX
13661 # Compile-time system search path for libraries
13662 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13664 # Run-time system search path for libraries
13665 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13667 # Fix the shell variable \$srcfile for the compiler.
13668 fix_srcfile_path=$lt_fix_srcfile_path
13670 # Set to yes if exported symbols are required.
13671 always_export_symbols=$always_export_symbols_CXX
13673 # The commands to list exported symbols.
13674 export_symbols_cmds=$lt_export_symbols_cmds_CXX
13676 # The commands to extract the exported symbol list from a shared archive.
13677 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13679 # Symbols that should not be listed in the preloaded symbols.
13680 exclude_expsyms=$lt_exclude_expsyms_CXX
13682 # Symbols that must always be exported.
13683 include_expsyms=$lt_include_expsyms_CXX
13685 # ### END LIBTOOL TAG CONFIG: $tagname
13691 # If there is no Makefile yet, we rely on a make rule to execute
13692 # `config.status --recheck' to rerun these tests and create the
13693 # libtool script then.
13694 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
13695 if test -f "$ltmain_in"; then
13696 test -f Makefile
&& make "$ltmain"
13702 ac_cpp
='$CPP $CPPFLAGS'
13703 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13704 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13705 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13711 with_gnu_ldcxx
=$with_gnu_ld
13712 with_gnu_ld
=$lt_save_with_gnu_ld
13713 lt_cv_path_LDCXX
=$lt_cv_path_LD
13714 lt_cv_path_LD
=$lt_save_path_LD
13715 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
13716 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
13724 if test -n "$F77" && test "X$F77" != "Xno"; then
13727 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
13728 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13729 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
13732 archive_cmds_need_lc_F77
=no
13733 allow_undefined_flag_F77
=
13734 always_export_symbols_F77
=no
13735 archive_expsym_cmds_F77
=
13736 export_dynamic_flag_spec_F77
=
13737 hardcode_direct_F77
=no
13738 hardcode_libdir_flag_spec_F77
=
13739 hardcode_libdir_flag_spec_ld_F77
=
13740 hardcode_libdir_separator_F77
=
13741 hardcode_minus_L_F77
=no
13742 hardcode_automatic_F77
=no
13744 module_expsym_cmds_F77
=
13745 link_all_deplibs_F77
=unknown
13746 old_archive_cmds_F77
=$old_archive_cmds
13747 no_undefined_flag_F77
=
13748 whole_archive_flag_spec_F77
=
13749 enable_shared_with_static_runtimes_F77
=no
13751 # Source file extension for f77 test sources.
13754 # Object file extension for compiled f77 test sources.
13758 # Code to be used in simple compile tests
13759 lt_simple_compile_test_code
="\
13765 # Code to be used in simple link tests
13766 lt_simple_link_test_code
="\
13771 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13773 # If no C compiler was specified, use CC.
13776 # If no C compiler flags were specified, use CFLAGS.
13777 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13779 # Allow CC to be a program name with arguments.
13783 # save warnings/boilerplate of simple test code
13784 ac_outfile
=conftest.
$ac_objext
13785 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13786 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13787 _lt_compiler_boilerplate
=`cat conftest.err`
13790 ac_outfile
=conftest.
$ac_objext
13791 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13792 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13793 _lt_linker_boilerplate
=`cat conftest.err`
13797 # Allow CC to be a program name with arguments.
13802 for cc_temp
in $compiler""; do
13804 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13805 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13810 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13813 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13814 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
13815 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
13816 echo "${ECHO_T}$can_build_shared" >&6; }
13818 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13819 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
13820 test "$can_build_shared" = "no" && enable_shared
=no
13822 # On AIX, shared libraries and static libraries use the same namespace, and
13823 # are all built from PIC.
13826 test "$enable_shared" = yes && enable_static
=no
13827 if test -n "$RANLIB"; then
13828 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13829 postinstall_cmds
='$RANLIB $lib'
13833 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13834 test "$enable_shared" = yes && enable_static
=no
13838 { echo "$as_me:$LINENO: result: $enable_shared" >&5
13839 echo "${ECHO_T}$enable_shared" >&6; }
13841 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13842 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
13843 # Make sure either enable_shared or enable_static is yes.
13844 test "$enable_shared" = yes || enable_static
=yes
13845 { echo "$as_me:$LINENO: result: $enable_static" >&5
13846 echo "${ECHO_T}$enable_static" >&6; }
13851 lt_prog_compiler_wl_F77
=
13852 lt_prog_compiler_pic_F77
=
13853 lt_prog_compiler_static_F77
=
13855 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13856 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
13858 if test "$GCC" = yes; then
13859 lt_prog_compiler_wl_F77
='-Wl,'
13860 lt_prog_compiler_static_F77
='-static'
13864 # All AIX code is PIC.
13865 if test "$host_cpu" = ia64
; then
13866 # AIX 5 now supports IA64 processor
13867 lt_prog_compiler_static_F77
='-Bstatic'
13872 # FIXME: we need at least 68020 code to build shared libraries, but
13873 # adding the `-m68020' flag to GCC prevents building anything better,
13875 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
13878 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13879 # PIC is the default for these OSes.
13882 mingw
* | cygwin
* | pw32
* | os2
*)
13883 # This hack is so that the source file can tell whether it is being
13884 # built for inclusion in a dll (and should export symbols for example).
13885 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13886 # (--disable-auto-import) libraries
13887 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13890 darwin
* | rhapsody
*)
13891 # PIC is the default on this platform
13892 # Common symbols not allowed in MH_DYLIB files
13893 lt_prog_compiler_pic_F77
='-fno-common'
13897 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13898 # Instead, we relocate shared libraries at runtime.
13902 # Just because we use GCC doesn't mean we suddenly get shared libraries
13903 # on systems that don't support them.
13904 lt_prog_compiler_can_build_shared_F77
=no
13909 if test -d /usr
/nec
; then
13910 lt_prog_compiler_pic_F77
=-Kconform_pic
13915 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13916 # not for PA HP-UX.
13922 lt_prog_compiler_pic_F77
='-fPIC'
13928 lt_prog_compiler_pic_F77
='-fPIC'
13932 # PORTME Check for flag to pass linker flags through the system compiler.
13935 lt_prog_compiler_wl_F77
='-Wl,'
13936 if test "$host_cpu" = ia64
; then
13937 # AIX 5 now supports IA64 processor
13938 lt_prog_compiler_static_F77
='-Bstatic'
13940 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
13944 # PIC is the default on this platform
13945 # Common symbols not allowed in MH_DYLIB files
13946 case $cc_basename in
13948 lt_prog_compiler_pic_F77
='-qnocommon'
13949 lt_prog_compiler_wl_F77
='-Wl,'
13954 mingw
* | cygwin
* | pw32
* | os2
*)
13955 # This hack is so that the source file can tell whether it is being
13956 # built for inclusion in a dll (and should export symbols for example).
13957 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13960 hpux9
* | hpux10
* | hpux11
*)
13961 lt_prog_compiler_wl_F77
='-Wl,'
13962 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13963 # not for PA HP-UX.
13969 lt_prog_compiler_pic_F77
='+Z'
13972 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13973 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
13976 irix5
* | irix6
* | nonstopux
*)
13977 lt_prog_compiler_wl_F77
='-Wl,'
13978 # PIC (with -KPIC) is the default.
13979 lt_prog_compiler_static_F77
='-non_shared'
13983 lt_prog_compiler_pic_F77
='-KPIC'
13984 lt_prog_compiler_static_F77
='-Bstatic'
13987 linux
* | k
*bsd
*-gnu)
13988 case $cc_basename in
13990 lt_prog_compiler_wl_F77
='-Wl,'
13991 lt_prog_compiler_pic_F77
='-KPIC'
13992 lt_prog_compiler_static_F77
='-static'
13994 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
13995 # Portland Group compilers (*not* the Pentium gcc compiler,
13996 # which looks to be a dead project)
13997 lt_prog_compiler_wl_F77
='-Wl,'
13998 lt_prog_compiler_pic_F77
='-fpic'
13999 lt_prog_compiler_static_F77
='-Bstatic'
14002 lt_prog_compiler_wl_F77
='-Wl,'
14003 # All Alpha code is PIC.
14004 lt_prog_compiler_static_F77
='-non_shared'
14007 case `$CC -V 2>&1 | sed 5q` in
14010 lt_prog_compiler_pic_F77
='-KPIC'
14011 lt_prog_compiler_static_F77
='-Bstatic'
14012 lt_prog_compiler_wl_F77
='-Wl,'
14015 # Sun Fortran 8.3 passes all unrecognized flags to the linker
14016 lt_prog_compiler_pic_F77
='-KPIC'
14017 lt_prog_compiler_static_F77
='-Bstatic'
14018 lt_prog_compiler_wl_F77
=''
14025 osf3
* | osf4
* | osf5
*)
14026 lt_prog_compiler_wl_F77
='-Wl,'
14027 # All OSF/1 code is PIC.
14028 lt_prog_compiler_static_F77
='-non_shared'
14032 lt_prog_compiler_static_F77
='-non_shared'
14036 lt_prog_compiler_pic_F77
='-KPIC'
14037 lt_prog_compiler_static_F77
='-Bstatic'
14038 case $cc_basename in
14039 f77
* | f90
* | f95
*)
14040 lt_prog_compiler_wl_F77
='-Qoption ld ';;
14042 lt_prog_compiler_wl_F77
='-Wl,';;
14047 lt_prog_compiler_wl_F77
='-Qoption ld '
14048 lt_prog_compiler_pic_F77
='-PIC'
14049 lt_prog_compiler_static_F77
='-Bstatic'
14052 sysv4 | sysv4.2uw2
* | sysv4.3
*)
14053 lt_prog_compiler_wl_F77
='-Wl,'
14054 lt_prog_compiler_pic_F77
='-KPIC'
14055 lt_prog_compiler_static_F77
='-Bstatic'
14059 if test -d /usr
/nec
;then
14060 lt_prog_compiler_pic_F77
='-Kconform_pic'
14061 lt_prog_compiler_static_F77
='-Bstatic'
14065 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14066 lt_prog_compiler_wl_F77
='-Wl,'
14067 lt_prog_compiler_pic_F77
='-KPIC'
14068 lt_prog_compiler_static_F77
='-Bstatic'
14072 lt_prog_compiler_wl_F77
='-Wl,'
14073 lt_prog_compiler_can_build_shared_F77
=no
14077 lt_prog_compiler_pic_F77
='-pic'
14078 lt_prog_compiler_static_F77
='-Bstatic'
14082 lt_prog_compiler_can_build_shared_F77
=no
14087 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
14088 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
14091 # Check to make sure the PIC flag actually works.
14093 if test -n "$lt_prog_compiler_pic_F77"; then
14095 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
14096 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
14097 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
14098 echo $ECHO_N "(cached) $ECHO_C" >&6
14100 lt_prog_compiler_pic_works_F77
=no
14101 ac_outfile
=conftest.
$ac_objext
14102 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14103 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
14104 # Insert the option either (1) after the last *FLAGS variable, or
14105 # (2) before a word containing "conftest.", or (3) at the end.
14106 # Note that $ac_compile itself does not contain backslashes and begins
14107 # with a dollar sign (not a hyphen), so the echo should work correctly.
14108 # The option is referenced via a variable to avoid confusing sed.
14109 lt_compile
=`echo "$ac_compile" | $SED \
14110 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14111 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14112 -e 's:$: $lt_compiler_flag:'`
14113 (eval echo "\"\$as_me:14113: $lt_compile\"" >&5)
14114 (eval "$lt_compile" 2>conftest.err
)
14116 cat conftest.err
>&5
14117 echo "$as_me:14117: \$? = $ac_status" >&5
14118 if (exit $ac_status) && test -s "$ac_outfile"; then
14119 # The compiler can only warn and ignore the option if not recognized
14120 # So say no if there are warnings other than the usual output.
14121 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
14122 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14123 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14124 lt_prog_compiler_pic_works_F77
=yes
14130 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
14131 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
14133 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
14134 case $lt_prog_compiler_pic_F77 in
14136 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
14139 lt_prog_compiler_pic_F77
=
14140 lt_prog_compiler_can_build_shared_F77
=no
14145 # For platforms which do not support PIC, -DPIC is meaningless:
14147 lt_prog_compiler_pic_F77
=
14150 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
14155 # Check to make sure the static flag actually works.
14157 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
14158 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14159 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14160 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
14161 echo $ECHO_N "(cached) $ECHO_C" >&6
14163 lt_prog_compiler_static_works_F77
=no
14164 save_LDFLAGS
="$LDFLAGS"
14165 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14166 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14167 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14168 # The linker can only warn and ignore the option if not recognized
14169 # So say no if there are warnings
14170 if test -s conftest.err
; then
14171 # Append any errors to the config.log.
14172 cat conftest.err
1>&5
14173 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
14174 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14175 if diff conftest.exp conftest.er2
>/dev
/null
; then
14176 lt_prog_compiler_static_works_F77
=yes
14179 lt_prog_compiler_static_works_F77
=yes
14183 LDFLAGS
="$save_LDFLAGS"
14186 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
14187 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
14189 if test x
"$lt_prog_compiler_static_works_F77" = xyes
; then
14192 lt_prog_compiler_static_F77
=
14196 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14197 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14198 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14199 echo $ECHO_N "(cached) $ECHO_C" >&6
14201 lt_cv_prog_compiler_c_o_F77
=no
14202 $rm -r conftest
2>/dev
/null
14206 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14208 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14209 # Insert the option either (1) after the last *FLAGS variable, or
14210 # (2) before a word containing "conftest.", or (3) at the end.
14211 # Note that $ac_compile itself does not contain backslashes and begins
14212 # with a dollar sign (not a hyphen), so the echo should work correctly.
14213 lt_compile
=`echo "$ac_compile" | $SED \
14214 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14215 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14216 -e 's:$: $lt_compiler_flag:'`
14217 (eval echo "\"\$as_me:14217: $lt_compile\"" >&5)
14218 (eval "$lt_compile" 2>out
/conftest.err
)
14220 cat out
/conftest.err
>&5
14221 echo "$as_me:14221: \$? = $ac_status" >&5
14222 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14224 # The compiler can only warn and ignore the option if not recognized
14225 # So say no if there are warnings
14226 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
14227 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14228 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14229 lt_cv_prog_compiler_c_o_F77
=yes
14234 # SGI C++ compiler will create directory out/ii_files/ for
14235 # template instantiation
14236 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
14237 $rm out
/* && rmdir out
14243 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14244 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
14247 hard_links
="nottested"
14248 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
14249 # do not overwrite the value of need_locks provided by the user
14250 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14251 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14254 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14256 ln conftest.a conftest.b
2>&5 || hard_links
=no
14257 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14258 { echo "$as_me:$LINENO: result: $hard_links" >&5
14259 echo "${ECHO_T}$hard_links" >&6; }
14260 if test "$hard_links" = no
; then
14261 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14262 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14269 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14270 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14273 allow_undefined_flag_F77
=
14274 enable_shared_with_static_runtimes_F77
=no
14276 archive_expsym_cmds_F77
=
14277 old_archive_From_new_cmds_F77
=
14278 old_archive_from_expsyms_cmds_F77
=
14279 export_dynamic_flag_spec_F77
=
14280 whole_archive_flag_spec_F77
=
14281 thread_safe_flag_spec_F77
=
14282 hardcode_libdir_flag_spec_F77
=
14283 hardcode_libdir_flag_spec_ld_F77
=
14284 hardcode_libdir_separator_F77
=
14285 hardcode_direct_F77
=no
14286 hardcode_minus_L_F77
=no
14287 hardcode_shlibpath_var_F77
=unsupported
14288 link_all_deplibs_F77
=unknown
14289 hardcode_automatic_F77
=no
14291 module_expsym_cmds_F77
=
14292 always_export_symbols_F77
=no
14293 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14294 # include_expsyms should be a list of space-separated symbols to be *always*
14295 # included in the symbol list
14296 include_expsyms_F77
=
14297 # exclude_expsyms can be an extended regexp of symbols to exclude
14298 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14299 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14300 # as well as any symbol that contains `d'.
14301 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
14302 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14303 # platforms (ab)use it in PIC code, but their linkers get confused if
14304 # the symbol is explicitly referenced. Since portable code cannot
14305 # rely on this symbol name, it's probably fine to never include it in
14306 # preloaded symbol tables.
14307 extract_expsyms_cmds
=
14308 # Just being paranoid about ensuring that cc_basename is set.
14309 for cc_temp
in $compiler""; do
14311 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
14312 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
14317 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14320 cygwin
* | mingw
* | pw32
*)
14321 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14322 # When not using gcc, we currently assume that we are using
14323 # Microsoft Visual C++.
14324 if test "$GCC" != yes; then
14329 # we just hope/assume this is gcc and not c89 (= MSVC++)
14338 if test "$with_gnu_ld" = yes; then
14339 # If archive_cmds runs LD, not CC, wlarc should be empty
14342 # Set some defaults for GNU ld with shared library support. These
14343 # are reset later if shared libraries are not supported. Putting them
14344 # here allows them to be overridden if necessary.
14345 runpath_var
=LD_RUN_PATH
14346 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
14347 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
14348 # ancient GNU ld didn't support --whole-archive et. al.
14349 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
14350 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14352 whole_archive_flag_spec_F77
=
14354 supports_anon_versioning
=no
14355 case `$LD -v 2>/dev/null` in
14356 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
14357 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
14358 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
14359 *\
2.11.
*) ;; # other 2.11 versions
14360 *) supports_anon_versioning
=yes ;;
14363 # See if GNU ld supports shared libraries.
14365 aix3
* | aix4
* | aix5
*)
14366 # On AIX/PPC, the GNU linker is very broken
14367 if test "$host_cpu" != ia64
; then
14371 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
14372 *** to be unable to reliably create shared libraries on AIX.
14373 *** Therefore, libtool is disabling shared libraries support. If you
14374 *** really care for shared libraries, you may want to modify your PATH
14375 *** so that a non-GNU linker is found, and then restart.
14382 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)'
14383 hardcode_libdir_flag_spec_F77
='-L$libdir'
14384 hardcode_minus_L_F77
=yes
14386 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14387 # that the semantics of dynamic libraries on AmigaOS, at least up
14388 # to version 4, is to share data among multiple programs linked
14389 # with the same dynamic library. Since this doesn't match the
14390 # behavior of shared libraries on other platforms, we can't use
14396 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14397 allow_undefined_flag_F77
=unsupported
14398 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14399 # support --undefined. This deserves some investigation. FIXME
14400 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14406 cygwin
* | mingw
* | pw32
*)
14407 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
14408 # as there is no search path for DLLs.
14409 hardcode_libdir_flag_spec_F77
='-L$libdir'
14410 allow_undefined_flag_F77
=unsupported
14411 always_export_symbols_F77
=no
14412 enable_shared_with_static_runtimes_F77
=yes
14413 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14415 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
14416 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14417 # If the export-symbols file already is a .def file (1st line
14418 # is EXPORTS), use it as is; otherwise, prepend...
14419 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14420 cp $export_symbols $output_objdir/$soname.def;
14422 echo EXPORTS > $output_objdir/$soname.def;
14423 cat $export_symbols >> $output_objdir/$soname.def;
14425 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14432 hardcode_direct_F77
=no
14433 hardcode_shlibpath_var_F77
=no
14434 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14435 export_dynamic_flag_spec_F77
='${wl}-E'
14436 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14437 # Instead, shared libraries are loaded at an image base (0x10000000 by
14438 # default) and relocated if they conflict, which is a slow very memory
14439 # consuming and fragmenting process. To avoid this, we pick a random,
14440 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14441 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14442 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'
14443 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'
14446 gnu
* | linux
* | k
*bsd
*-gnu)
14447 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14449 case $cc_basename,$host_cpu in
14450 pgcc
*) # Portland Group C compiler
14451 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'
14452 tmp_addflag
=' $pic_flag'
14454 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
14455 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'
14456 tmp_addflag
=' $pic_flag -Mnomain' ;;
14457 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
14458 tmp_addflag
=' -i_dynamic' ;;
14459 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
14460 tmp_addflag
=' -i_dynamic -nofor_main' ;;
14461 ifc
* | ifort
*) # Intel Fortran compiler
14462 tmp_addflag
=' -nofor_main' ;;
14464 case `$CC -V 2>&1 | sed 5q` in
14465 *Sun\ C
*) # Sun C 5.9
14466 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'
14467 tmp_sharedflag
='-G' ;;
14468 *Sun\ F
*) # Sun Fortran 8.3
14469 tmp_sharedflag
='-G' ;;
14471 tmp_sharedflag
='-shared' ;;
14473 archive_cmds_F77
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14475 if test $supports_anon_versioning = yes; then
14476 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
14477 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14478 $echo "local: *; };" >> $output_objdir/$libname.ver~
14479 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14487 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14488 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14491 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14492 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14497 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
14501 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14502 *** create shared libraries on Solaris systems. Therefore, libtool
14503 *** is disabling shared libraries support. We urge you to upgrade GNU
14504 *** binutils to release 2.9.1 or newer. Another option is to modify
14505 *** your PATH or compiler configuration so that the native linker is
14506 *** used, and then restart.
14509 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14510 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14511 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14517 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
14518 case `$LD -v 2>&1` in
14519 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
14523 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14524 *** reliably create shared libraries on SCO systems. Therefore, libtool
14525 *** is disabling shared libraries support. We urge you to upgrade GNU
14526 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14527 *** your PATH or compiler configuration so that the native linker is
14528 *** used, and then restart.
14533 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14534 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
14535 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
14536 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
14545 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14547 hardcode_direct_F77
=yes
14548 hardcode_shlibpath_var_F77
=no
14552 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14553 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14554 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14561 if test "$ld_shlibs_F77" = no
; then
14563 hardcode_libdir_flag_spec_F77
=
14564 export_dynamic_flag_spec_F77
=
14565 whole_archive_flag_spec_F77
=
14568 # PORTME fill in a description of your system's linker (not GNU ld)
14571 allow_undefined_flag_F77
=unsupported
14572 always_export_symbols_F77
=yes
14573 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'
14574 # Note: this linker hardcodes the directories in LIBPATH if there
14575 # are no directories specified by -L.
14576 hardcode_minus_L_F77
=yes
14577 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14578 # Neither direct hardcoding nor static linking is supported with a
14580 hardcode_direct_F77
=unsupported
14585 if test "$host_cpu" = ia64
; then
14586 # On IA64, the linker does run time linking by default, so we don't
14587 # have to do anything special.
14588 aix_use_runtimelinking
=no
14589 exp_sym_flag
='-Bexport'
14592 # If we're using GNU nm, then we don't want the "-C" option.
14593 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14594 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
14595 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'
14597 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'
14599 aix_use_runtimelinking
=no
14601 # Test if we are trying to use run time linking or normal
14602 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14603 # need to do runtime linking.
14604 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
14605 for ld_flag
in $LDFLAGS; do
14606 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14607 aix_use_runtimelinking
=yes
14614 exp_sym_flag
='-bexport'
14615 no_entry_flag
='-bnoentry'
14618 # When large executables or shared objects are built, AIX ld can
14619 # have problems creating the table of contents. If linking a library
14620 # or program results in "error TOC overflow" add -mminimal-toc to
14621 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14622 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14624 archive_cmds_F77
=''
14625 hardcode_direct_F77
=yes
14626 hardcode_libdir_separator_F77
=':'
14627 link_all_deplibs_F77
=yes
14629 if test "$GCC" = yes; then
14630 case $host_os in aix4.
[012]|aix4.
[012].
*)
14631 # We only want to do this on AIX 4.2 and lower, the check
14632 # below for broken collect2 doesn't work under 4.3+
14633 collect2name
=`${CC} -print-prog-name=collect2`
14634 if test -f "$collect2name" && \
14635 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
14637 # We have reworked collect2
14640 # We have old collect2
14641 hardcode_direct_F77
=unsupported
14642 # It fails to find uninstalled libraries when the uninstalled
14643 # path is not listed in the libpath. Setting hardcode_minus_L
14644 # to unsupported forces relinking
14645 hardcode_minus_L_F77
=yes
14646 hardcode_libdir_flag_spec_F77
='-L$libdir'
14647 hardcode_libdir_separator_F77
=
14651 shared_flag
='-shared'
14652 if test "$aix_use_runtimelinking" = yes; then
14653 shared_flag
="$shared_flag "'${wl}-G'
14657 if test "$host_cpu" = ia64
; then
14658 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14659 # chokes on -Wl,-G. The following line is correct:
14662 if test "$aix_use_runtimelinking" = yes; then
14663 shared_flag
='${wl}-G'
14665 shared_flag
='${wl}-bM:SRE'
14670 # It seems that -bexpall does not export symbols beginning with
14671 # underscore (_), so it is better to generate a list of symbols to export.
14672 always_export_symbols_F77
=yes
14673 if test "$aix_use_runtimelinking" = yes; then
14674 # Warning - without using the other runtime loading flags (-brtl),
14675 # -berok will link without error, but may produce a broken library.
14676 allow_undefined_flag_F77
='-berok'
14677 # Determine the default libpath from the value encoded in an empty executable.
14678 cat >conftest.
$ac_ext <<_ACEOF
14683 rm -f conftest.
$ac_objext conftest
$ac_exeext
14684 if { (ac_try
="$ac_link"
14685 case "(($ac_try" in
14686 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14687 *) ac_try_echo=$ac_try;;
14689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14690 (eval "$ac_link") 2>conftest.er1
14692 grep -v '^ *+' conftest.er1 >conftest.err
14694 cat conftest.err >&5
14695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14696 (exit $ac_status); } && {
14697 test -z "$ac_f77_werror_flag" ||
14698 test ! -s conftest.err
14699 } && test -s conftest$ac_exeext &&
14700 $as_test_x conftest$ac_exeext; then
14702 lt_aix_libpath_sed='
14703 /Import File Strings/,/^$/ {
14709 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
14710 # Check for a 64-bit object if we didn't find anything.
14711 if test -z "$aix_libpath"; then
14712 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
14715 echo "$as_me: failed program was:" >&5
14716 sed 's/^/| /' conftest.$ac_ext >&5
14721 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14722 conftest$ac_exeext conftest.$ac_ext
14723 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14725 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14726 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"
14728 if test "$host_cpu" = ia64; then
14729 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
14730 allow_undefined_flag_F77="-z nodefs"
14731 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"
14733 # Determine the default libpath from the value encoded in an empty executable.
14734 cat >conftest.$ac_ext <<_ACEOF
14739 rm -f conftest.$ac_objext conftest$ac_exeext
14740 if { (ac_try="$ac_link"
14741 case "(($ac_try" in
14742 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14743 *) ac_try_echo
=$ac_try;;
14745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14746 (eval "$ac_link") 2>conftest.er1
14748 grep -v '^ *+' conftest.er1
>conftest.err
14750 cat conftest.err
>&5
14751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14752 (exit $ac_status); } && {
14753 test -z "$ac_f77_werror_flag" ||
14754 test ! -s conftest.err
14755 } && test -s conftest
$ac_exeext &&
14756 $as_test_x conftest
$ac_exeext; then
14758 lt_aix_libpath_sed
='
14759 /Import File Strings/,/^$/ {
14765 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14766 # Check for a 64-bit object if we didn't find anything.
14767 if test -z "$aix_libpath"; then
14768 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14771 echo "$as_me: failed program was:" >&5
14772 sed 's/^/| /' conftest.
$ac_ext >&5
14777 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14778 conftest
$ac_exeext conftest.
$ac_ext
14779 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14781 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
14782 # Warning - without using the other run time loading flags,
14783 # -berok will link without error, but may produce a broken library.
14784 no_undefined_flag_F77
=' ${wl}-bernotok'
14785 allow_undefined_flag_F77
=' ${wl}-berok'
14786 # Exported symbols can be pulled into shared objects from archives
14787 whole_archive_flag_spec_F77
='$convenience'
14788 archive_cmds_need_lc_F77
=yes
14789 # This is similar to how AIX traditionally builds its shared libraries.
14790 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'
14796 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)'
14797 hardcode_libdir_flag_spec_F77
='-L$libdir'
14798 hardcode_minus_L_F77
=yes
14799 # see comment about different semantics on the GNU ld section
14804 export_dynamic_flag_spec_F77
=-rdynamic
14807 cygwin
* | mingw
* | pw32
*)
14808 # When not using gcc, we currently assume that we are using
14809 # Microsoft Visual C++.
14810 # hardcode_libdir_flag_spec is actually meaningless, as there is
14811 # no search path for DLLs.
14812 hardcode_libdir_flag_spec_F77
=' '
14813 allow_undefined_flag_F77
=unsupported
14814 # Tell ltmain to make .lib files, not .a files.
14816 # Tell ltmain to make .dll files, not .so files.
14818 # FIXME: Setting linknames here is a bad hack.
14819 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
14820 # The linker will automatically build a .lib file if we build a DLL.
14821 old_archive_From_new_cmds_F77
='true'
14822 # FIXME: Should let the user specify the lib program.
14823 old_archive_cmds_F77
='lib -OUT:$oldlib$oldobjs$old_deplibs'
14824 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
14825 enable_shared_with_static_runtimes_F77
=yes
14828 darwin
* | rhapsody
*)
14830 rhapsody
* | darwin1.
[012])
14831 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
14834 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
14835 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14837 case ${MACOSX_DEPLOYMENT_TARGET} in
14839 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14842 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
14848 archive_cmds_need_lc_F77
=no
14849 hardcode_direct_F77
=no
14850 hardcode_automatic_F77
=yes
14851 hardcode_shlibpath_var_F77
=unsupported
14852 whole_archive_flag_spec_F77
=''
14853 link_all_deplibs_F77
=yes
14854 if test "$GCC" = yes ; then
14855 output_verbose_link_cmd
='echo'
14856 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14857 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14858 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14859 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}'
14860 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}'
14862 case $cc_basename in
14864 output_verbose_link_cmd
='echo'
14865 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
14866 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14867 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14868 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}'
14869 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}'
14879 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14880 hardcode_libdir_flag_spec_F77
='-L$libdir'
14881 hardcode_shlibpath_var_F77
=no
14888 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14889 # support. Future versions do this automatically, but an explicit c++rt0.o
14890 # does not break anything, and helps significantly (at the cost of a little
14893 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14894 hardcode_libdir_flag_spec_F77
='-R$libdir'
14895 hardcode_direct_F77
=yes
14896 hardcode_shlibpath_var_F77
=no
14899 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14901 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14902 hardcode_direct_F77
=yes
14903 hardcode_minus_L_F77
=yes
14904 hardcode_shlibpath_var_F77
=no
14907 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14908 freebsd
* | dragonfly
*)
14909 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14910 hardcode_libdir_flag_spec_F77
='-R$libdir'
14911 hardcode_direct_F77
=yes
14912 hardcode_shlibpath_var_F77
=no
14916 if test "$GCC" = yes; then
14917 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'
14919 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'
14921 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14922 hardcode_libdir_separator_F77
=:
14923 hardcode_direct_F77
=yes
14925 # hardcode_minus_L: Not really in the search PATH,
14926 # but as the default location of the library.
14927 hardcode_minus_L_F77
=yes
14928 export_dynamic_flag_spec_F77
='${wl}-E'
14932 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14933 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14935 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14937 if test "$with_gnu_ld" = no
; then
14938 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14939 hardcode_libdir_separator_F77
=:
14941 hardcode_direct_F77
=yes
14942 export_dynamic_flag_spec_F77
='${wl}-E'
14944 # hardcode_minus_L: Not really in the search PATH,
14945 # but as the default location of the library.
14946 hardcode_minus_L_F77
=yes
14951 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14954 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14957 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14960 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14966 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14969 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14972 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14976 if test "$with_gnu_ld" = no
; then
14977 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14978 hardcode_libdir_separator_F77
=:
14982 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
14983 hardcode_direct_F77
=no
14984 hardcode_shlibpath_var_F77
=no
14987 hardcode_direct_F77
=yes
14988 export_dynamic_flag_spec_F77
='${wl}-E'
14990 # hardcode_minus_L: Not really in the search PATH,
14991 # but as the default location of the library.
14992 hardcode_minus_L_F77
=yes
14998 irix5
* | irix6
* | nonstopux
*)
14999 if test "$GCC" = yes; then
15000 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'
15002 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'
15003 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
15005 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15006 hardcode_libdir_separator_F77
=:
15007 link_all_deplibs_F77
=yes
15011 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15012 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15014 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15016 hardcode_libdir_flag_spec_F77
='-R$libdir'
15017 hardcode_direct_F77
=yes
15018 hardcode_shlibpath_var_F77
=no
15022 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15023 hardcode_direct_F77
=yes
15024 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15025 hardcode_libdir_separator_F77
=:
15026 hardcode_shlibpath_var_F77
=no
15030 if test -f /usr
/libexec
/ld.so
; then
15031 hardcode_direct_F77
=yes
15032 hardcode_shlibpath_var_F77
=no
15033 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15034 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15035 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15036 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15037 export_dynamic_flag_spec_F77
='${wl}-E'
15040 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
15041 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15042 hardcode_libdir_flag_spec_F77
='-R$libdir'
15045 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15046 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15056 hardcode_libdir_flag_spec_F77
='-L$libdir'
15057 hardcode_minus_L_F77
=yes
15058 allow_undefined_flag_F77
=unsupported
15059 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'
15060 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15064 if test "$GCC" = yes; then
15065 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15066 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'
15068 allow_undefined_flag_F77
=' -expect_unresolved \*'
15069 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'
15071 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15072 hardcode_libdir_separator_F77
=:
15075 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
15076 if test "$GCC" = yes; then
15077 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15078 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'
15079 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15081 allow_undefined_flag_F77
=' -expect_unresolved \*'
15082 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'
15083 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~
15084 $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'
15086 # Both c and cxx compiler support -rpath directly
15087 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
15089 hardcode_libdir_separator_F77
=:
15093 no_undefined_flag_F77
=' -z text'
15094 if test "$GCC" = yes; then
15096 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15097 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15098 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15101 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15102 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15103 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15105 hardcode_libdir_flag_spec_F77
='-R$libdir'
15106 hardcode_shlibpath_var_F77
=no
15108 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
15110 # The compiler driver will combine and reorder linker options,
15111 # but understands `-z linker_flag'. GCC discards it without `$wl',
15112 # but is careful enough not to reorder.
15113 # Supported since Solaris 2.6 (maybe 2.5.1?)
15114 if test "$GCC" = yes; then
15115 whole_archive_flag_spec_F77
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15117 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract'
15121 link_all_deplibs_F77
=yes
15125 if test "x$host_vendor" = xsequent
; then
15126 # Use $CC to link under sequent, because it throws in some extra .o
15127 # files that make .init and .fini sections work.
15128 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15130 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15132 hardcode_libdir_flag_spec_F77
='-L$libdir'
15133 hardcode_direct_F77
=yes
15134 hardcode_minus_L_F77
=yes
15135 hardcode_shlibpath_var_F77
=no
15139 case $host_vendor in
15141 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15142 hardcode_direct_F77
=yes # is this really true???
15145 ## LD is ld it makes a PLAMLIB
15146 ## CC just makes a GrossModule.
15147 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15148 reload_cmds_F77
='$CC -r -o $output$reload_objs'
15149 hardcode_direct_F77
=no
15152 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15153 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
15156 runpath_var
='LD_RUN_PATH'
15157 hardcode_shlibpath_var_F77
=no
15161 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15162 hardcode_shlibpath_var_F77
=no
15163 export_dynamic_flag_spec_F77
='-Bexport'
15167 if test -d /usr
/nec
; then
15168 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15169 hardcode_shlibpath_var_F77
=no
15170 runpath_var
=LD_RUN_PATH
15171 hardcode_runpath_var
=yes
15176 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
15177 no_undefined_flag_F77
='${wl}-z,text'
15178 archive_cmds_need_lc_F77
=no
15179 hardcode_shlibpath_var_F77
=no
15180 runpath_var
='LD_RUN_PATH'
15182 if test "$GCC" = yes; then
15183 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15184 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15186 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15187 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15191 sysv5
* | sco3.2v5
* | sco5v6
*)
15192 # Note: We can NOT use -z defs as we might desire, because we do not
15193 # link with -lc, and that would cause any symbols used from libc to
15194 # always be unresolved, which means just about no library would
15195 # ever link correctly. If we're not using GNU ld we use -z text
15196 # though, which does catch some bad symbols but isn't as heavy-handed
15198 no_undefined_flag_F77
='${wl}-z,text'
15199 allow_undefined_flag_F77
='${wl}-z,nodefs'
15200 archive_cmds_need_lc_F77
=no
15201 hardcode_shlibpath_var_F77
=no
15202 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15203 hardcode_libdir_separator_F77
=':'
15204 link_all_deplibs_F77
=yes
15205 export_dynamic_flag_spec_F77
='${wl}-Bexport'
15206 runpath_var
='LD_RUN_PATH'
15208 if test "$GCC" = yes; then
15209 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15210 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15212 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15213 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15218 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15219 hardcode_libdir_flag_spec_F77
='-L$libdir'
15220 hardcode_shlibpath_var_F77
=no
15229 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15230 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
15231 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
15234 # Do we need to explicitly link libc?
15236 case "x$archive_cmds_need_lc_F77" in
15238 # Assume -lc should be added
15239 archive_cmds_need_lc_F77
=yes
15241 if test "$enable_shared" = yes && test "$GCC" = yes; then
15242 case $archive_cmds_F77 in
15244 # FIXME: we may have to deal with multi-command sequences.
15247 # Test whether the compiler implicitly links with -lc since on some
15248 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15249 # to ld, don't add -lc before -lgcc.
15250 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15251 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15253 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15256 (eval $ac_compile) 2>&5
15258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15259 (exit $ac_status); } 2>conftest.err
; then
15262 libobjs
=conftest.
$ac_objext
15264 wl
=$lt_prog_compiler_wl_F77
15265 pic_flag
=$lt_prog_compiler_pic_F77
15271 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
15272 allow_undefined_flag_F77
=
15273 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15274 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15277 (exit $ac_status); }
15279 archive_cmds_need_lc_F77
=no
15281 archive_cmds_need_lc_F77
=yes
15283 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
15285 cat conftest.err
1>&5
15288 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15289 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
15296 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15297 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15298 library_names_spec
=
15299 libname_spec
='lib$name'
15303 postuninstall_cmds
=
15307 shlibpath_overrides_runpath
=unknown
15309 dynamic_linker
="$host_os ld.so"
15310 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15312 need_lib_prefix
=unknown
15313 hardcode_into_libs
=no
15315 # when you set need_version to no, make sure it does not cause -set_version
15316 # flags to be left without arguments
15317 need_version
=unknown
15322 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15323 shlibpath_var
=LIBPATH
15325 # AIX 3 has no versioning support, so we append a major version to the name.
15326 soname_spec
='${libname}${release}${shared_ext}$major'
15333 hardcode_into_libs
=yes
15334 if test "$host_cpu" = ia64
; then
15335 # AIX 5 supports IA64
15336 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15337 shlibpath_var
=LD_LIBRARY_PATH
15339 # With GCC up to 2.95.x, collect2 would create an import file
15340 # for dependence libraries. The import file would start with
15341 # the line `#! .'. This would cause the generated library to
15342 # depend on `.', always an invalid library. This was fixed in
15343 # development snapshots of GCC prior to 3.0.
15345 aix4 | aix4.
[01] | aix4.
[01].
*)
15346 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15348 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
15351 can_build_shared
=no
15355 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15356 # soname into executable. Probably we can add versioning support to
15357 # collect2, so additional links can be useful in future.
15358 if test "$aix_use_runtimelinking" = yes; then
15359 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15360 # instead of lib<name>.a to let people know that these are not
15361 # typical AIX shared libraries.
15362 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15364 # We preserve .a as extension for shared libraries through AIX4.2
15365 # and later when we are not doing run time linking.
15366 library_names_spec
='${libname}${release}.a $libname.a'
15367 soname_spec
='${libname}${release}${shared_ext}$major'
15369 shlibpath_var
=LIBPATH
15374 library_names_spec
='$libname.ixlibrary $libname.a'
15375 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15376 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'
15380 library_names_spec
='${libname}${shared_ext}'
15381 dynamic_linker
="$host_os ld.so"
15382 shlibpath_var
=LIBRARY_PATH
15388 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15389 soname_spec
='${libname}${release}${shared_ext}$major'
15390 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15391 shlibpath_var
=LD_LIBRARY_PATH
15392 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15393 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15394 # the default ld.so.conf also contains /usr/contrib/lib and
15395 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15396 # libtool to hard-code these into programs
15399 cygwin
* | mingw
* | pw32
*)
15400 version_type
=windows
15405 case $GCC,$host_os in
15406 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
15407 library_names_spec
='$libname.dll.a'
15408 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15409 postinstall_cmds
='base_file=`basename \${file}`~
15410 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15411 dldir=$destdir/`dirname \$dlpath`~
15412 test -d \$dldir || mkdir -p \$dldir~
15413 $install_prog $dir/$dlname \$dldir/$dlname~
15414 chmod a+x \$dldir/$dlname'
15415 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15416 dlpath=$dir/\$dldll~
15418 shlibpath_overrides_runpath
=yes
15422 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15423 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15424 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
15427 # MinGW DLLs use traditional 'lib' prefix
15428 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15429 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15430 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
15431 # It is most probably a Windows format PATH printed by
15432 # mingw gcc, but we are running on Cygwin. Gcc prints its search
15433 # path with ; separators, and with drive letters. We can handle the
15434 # drive letters (cygwin fileutils understands them), so leave them,
15435 # especially as we might pass files found there to a mingw objdump,
15436 # which wouldn't understand a cygwinified path. Ahh.
15437 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15439 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15443 # pw32 DLLs use 'pw' prefix rather than 'lib'
15444 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15450 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15453 dynamic_linker
='Win32 ld.exe'
15454 # FIXME: first we should search . and the directory the executable is in
15458 darwin
* | rhapsody
*)
15459 dynamic_linker
="$host_os dyld"
15460 version_type
=darwin
15463 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15464 soname_spec
='${libname}${release}${major}$shared_ext'
15465 shlibpath_overrides_runpath
=yes
15466 shlibpath_var
=DYLD_LIBRARY_PATH
15467 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15469 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15476 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15477 soname_spec
='${libname}${release}${shared_ext}$major'
15478 shlibpath_var
=LD_LIBRARY_PATH
15485 freebsd
* | dragonfly
*)
15486 # DragonFly does not have aout. When/if they implement a new
15487 # versioning mechanism, adjust this.
15488 if test -x /usr
/bin
/objformat
; then
15489 objformat
=`/usr/bin/objformat`
15492 freebsd
[123]*) objformat
=aout
;;
15493 *) objformat
=elf
;;
15496 version_type
=freebsd-
$objformat
15497 case $version_type in
15499 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15504 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15508 shlibpath_var
=LD_LIBRARY_PATH
15511 shlibpath_overrides_runpath
=yes
15513 freebsd3.
[01]* | freebsdelf3.
[01]*)
15514 shlibpath_overrides_runpath
=yes
15515 hardcode_into_libs
=yes
15517 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15518 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15519 shlibpath_overrides_runpath
=no
15520 hardcode_into_libs
=yes
15522 *) # from 4.6 on, and DragonFly
15523 shlibpath_overrides_runpath
=yes
15524 hardcode_into_libs
=yes
15533 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15534 soname_spec
='${libname}${release}${shared_ext}$major'
15535 shlibpath_var
=LD_LIBRARY_PATH
15536 hardcode_into_libs
=yes
15539 hpux9
* | hpux10
* | hpux11
*)
15540 # Give a soname corresponding to the major version so that dld.sl refuses to
15541 # link against other versions.
15548 hardcode_into_libs
=yes
15549 dynamic_linker
="$host_os dld.so"
15550 shlibpath_var
=LD_LIBRARY_PATH
15551 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15552 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15553 soname_spec
='${libname}${release}${shared_ext}$major'
15554 if test "X$HPUX_IA64_MODE" = X32
; then
15555 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15557 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15559 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15563 hardcode_into_libs
=yes
15564 dynamic_linker
="$host_os dld.sl"
15565 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15566 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15567 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15568 soname_spec
='${libname}${release}${shared_ext}$major'
15569 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15570 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15574 dynamic_linker
="$host_os dld.sl"
15575 shlibpath_var
=SHLIB_PATH
15576 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15577 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15578 soname_spec
='${libname}${release}${shared_ext}$major'
15581 # HP-UX runs *really* slowly unless shared libraries are mode 555.
15582 postinstall_cmds
='chmod 555 $lib'
15589 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15590 soname_spec
='${libname}${release}${shared_ext}$major'
15591 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15592 shlibpath_var
=LD_LIBRARY_PATH
15593 shlibpath_overrides_runpath
=no
15594 hardcode_into_libs
=yes
15597 irix5
* | irix6
* | nonstopux
*)
15599 nonstopux
*) version_type
=nonstopux
;;
15601 if test "$lt_cv_prog_gnu_ld" = yes; then
15609 soname_spec
='${libname}${release}${shared_ext}$major'
15610 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15612 irix5
* | nonstopux
*)
15613 libsuff
= shlibsuff
=
15616 case $LD in # libtool.m4 will add one of these switches to LD
15617 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15618 libsuff
= shlibsuff
= libmagic
=32-bit;;
15619 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15620 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15621 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15622 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15623 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15627 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15628 shlibpath_overrides_runpath
=no
15629 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15630 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15631 hardcode_into_libs
=yes
15634 # No shared lib support for Linux oldld, aout, or coff.
15635 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15639 # This must be Linux ELF.
15640 linux
* | k
*bsd
*-gnu)
15644 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15645 soname_spec
='${libname}${release}${shared_ext}$major'
15646 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15647 shlibpath_var
=LD_LIBRARY_PATH
15648 shlibpath_overrides_runpath
=no
15649 # This implies no fast_install, which is unacceptable.
15650 # Some rework will be needed to allow for fast_install
15651 # before this can be enabled.
15652 hardcode_into_libs
=yes
15653 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15654 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15656 # Append ld.so.conf contents to the search path
15657 if test -f /etc
/ld.so.conf
; then
15658 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' ' '`
15659 sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec $lt_ld_extra"
15662 # We used to test for /lib/ld.so.1 and disable shared libraries on
15663 # powerpc, because MkLinux only supported shared libraries with the
15664 # GNU dynamic linker. Since this was broken with cross compilers,
15665 # most powerpc-linux boxes support dynamic linking these days and
15666 # people can always --disable-shared, the test was removed, and we
15667 # assume the GNU/Linux dynamic linker is in use.
15668 dynamic_linker
='GNU/Linux ld.so'
15675 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15676 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15677 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15678 dynamic_linker
='NetBSD (a.out) ld.so'
15680 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15681 soname_spec
='${libname}${release}${shared_ext}$major'
15682 dynamic_linker
='NetBSD ld.elf_so'
15684 shlibpath_var
=LD_LIBRARY_PATH
15685 shlibpath_overrides_runpath
=yes
15686 hardcode_into_libs
=yes
15691 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15692 shlibpath_var
=LD_LIBRARY_PATH
15693 shlibpath_overrides_runpath
=yes
15700 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15701 soname_spec
='${libname}${release}${shared_ext}$major'
15702 shlibpath_var
=LD_LIBRARY_PATH
15703 shlibpath_overrides_runpath
=yes
15708 sys_lib_dlsearch_path_spec
="/usr/lib"
15710 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15712 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15713 *) need_version
=no
;;
15715 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15716 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15717 shlibpath_var
=LD_LIBRARY_PATH
15718 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15720 openbsd2.
[89] | openbsd2.
[89].
*)
15721 shlibpath_overrides_runpath
=no
15724 shlibpath_overrides_runpath
=yes
15728 shlibpath_overrides_runpath
=yes
15733 libname_spec
='$name'
15736 library_names_spec
='$libname${shared_ext} $libname.a'
15737 dynamic_linker
='OS/2 ld.exe'
15738 shlibpath_var
=LIBPATH
15741 osf3
* | osf4
* | osf5
*)
15745 soname_spec
='${libname}${release}${shared_ext}$major'
15746 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15747 shlibpath_var
=LD_LIBRARY_PATH
15748 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15749 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15760 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15761 soname_spec
='${libname}${release}${shared_ext}$major'
15762 shlibpath_var
=LD_LIBRARY_PATH
15763 shlibpath_overrides_runpath
=yes
15764 hardcode_into_libs
=yes
15765 # ldd complains unless libraries are executable
15766 postinstall_cmds
='chmod +x $lib'
15771 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15772 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15773 shlibpath_var
=LD_LIBRARY_PATH
15774 shlibpath_overrides_runpath
=yes
15775 if test "$with_gnu_ld" = yes; then
15783 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15784 soname_spec
='${libname}${release}${shared_ext}$major'
15785 shlibpath_var
=LD_LIBRARY_PATH
15786 case $host_vendor in
15788 shlibpath_overrides_runpath
=no
15790 export_dynamic_flag_spec
='${wl}-Blargedynsym'
15791 runpath_var
=LD_RUN_PATH
15799 shlibpath_overrides_runpath
=no
15800 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15806 if test -d /usr
/nec
;then
15808 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15809 soname_spec
='$libname${shared_ext}.$major'
15810 shlibpath_var
=LD_LIBRARY_PATH
15814 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15815 version_type
=freebsd-elf
15818 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15819 soname_spec
='${libname}${release}${shared_ext}$major'
15820 shlibpath_var
=LD_LIBRARY_PATH
15821 hardcode_into_libs
=yes
15822 if test "$with_gnu_ld" = yes; then
15823 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15824 shlibpath_overrides_runpath
=no
15826 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15827 shlibpath_overrides_runpath
=yes
15830 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15834 sys_lib_dlsearch_path_spec
='/usr/lib'
15839 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15840 soname_spec
='${libname}${release}${shared_ext}$major'
15841 shlibpath_var
=LD_LIBRARY_PATH
15848 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15849 echo "${ECHO_T}$dynamic_linker" >&6; }
15850 test "$dynamic_linker" = no
&& can_build_shared
=no
15852 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15853 if test "$GCC" = yes; then
15854 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15857 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15858 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
15859 hardcode_action_F77
=
15860 if test -n "$hardcode_libdir_flag_spec_F77" || \
15861 test -n "$runpath_var_F77" || \
15862 test "X$hardcode_automatic_F77" = "Xyes" ; then
15864 # We can hardcode non-existant directories.
15865 if test "$hardcode_direct_F77" != no
&&
15866 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15867 # have to relink, otherwise we might link with an installed library
15868 # when we should be linking with a yet-to-be-installed one
15869 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
15870 test "$hardcode_minus_L_F77" != no
; then
15871 # Linking always hardcodes the temporary library directory.
15872 hardcode_action_F77
=relink
15874 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15875 hardcode_action_F77
=immediate
15878 # We cannot hardcode anything, or else we can only hardcode existing
15880 hardcode_action_F77
=unsupported
15882 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15883 echo "${ECHO_T}$hardcode_action_F77" >&6; }
15885 if test "$hardcode_action_F77" = relink
; then
15886 # Fast installation is not supported
15887 enable_fast_install
=no
15888 elif test "$shlibpath_overrides_runpath" = yes ||
15889 test "$enable_shared" = no
; then
15890 # Fast installation is not necessary
15891 enable_fast_install
=needless
15895 # The else clause should only fire when bootstrapping the
15896 # libtool distribution, otherwise you forgot to ship ltmain.sh
15897 # with your package, and you will get complaints that there are
15898 # no rules to generate ltmain.sh.
15899 if test -f "$ltmain"; then
15900 # See if we are running on zsh, and set the options which allow our commands through
15901 # without removal of \ escapes.
15902 if test -n "${ZSH_VERSION+set}" ; then
15903 setopt NO_GLOB_SUBST
15905 # Now quote all the things that may contain metacharacters while being
15906 # careful not to overquote the AC_SUBSTed values. We take copies of the
15907 # variables and quote the copies for generation of the libtool script.
15908 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
15910 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15911 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15912 deplibs_check_method reload_flag reload_cmds need_locks \
15913 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15914 lt_cv_sys_global_symbol_to_c_name_address \
15915 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15916 old_postinstall_cmds old_postuninstall_cmds \
15920 lt_prog_compiler_wl_F77 \
15921 lt_prog_compiler_pic_F77 \
15922 lt_prog_compiler_static_F77 \
15923 lt_prog_compiler_no_builtin_flag_F77 \
15924 export_dynamic_flag_spec_F77 \
15925 thread_safe_flag_spec_F77 \
15926 whole_archive_flag_spec_F77 \
15927 enable_shared_with_static_runtimes_F77 \
15928 old_archive_cmds_F77 \
15929 old_archive_from_new_cmds_F77 \
15930 predep_objects_F77 \
15931 postdep_objects_F77 \
15934 compiler_lib_search_path_F77 \
15936 archive_expsym_cmds_F77 \
15937 postinstall_cmds_F77 \
15938 postuninstall_cmds_F77 \
15939 old_archive_from_expsyms_cmds_F77 \
15940 allow_undefined_flag_F77 \
15941 no_undefined_flag_F77 \
15942 export_symbols_cmds_F77 \
15943 hardcode_libdir_flag_spec_F77 \
15944 hardcode_libdir_flag_spec_ld_F77 \
15945 hardcode_libdir_separator_F77 \
15946 hardcode_automatic_F77 \
15948 module_expsym_cmds_F77 \
15949 lt_cv_prog_compiler_c_o_F77 \
15950 fix_srcfile_path_F77 \
15951 exclude_expsyms_F77 \
15952 include_expsyms_F77
; do
15955 old_archive_cmds_F77 | \
15956 old_archive_from_new_cmds_F77 | \
15957 archive_cmds_F77 | \
15958 archive_expsym_cmds_F77 | \
15959 module_cmds_F77 | \
15960 module_expsym_cmds_F77 | \
15961 old_archive_from_expsyms_cmds_F77 | \
15962 export_symbols_cmds_F77 | \
15963 extract_expsyms_cmds | reload_cmds | finish_cmds | \
15964 postinstall_cmds | postuninstall_cmds | \
15965 old_postinstall_cmds | old_postuninstall_cmds | \
15966 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
15967 # Double-quote double-evaled strings.
15968 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15971 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15977 *'\$0 --fallback-echo"')
15978 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15984 cat <<__EOF__ >> "$cfgfile"
15985 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
15987 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15989 # Shell to use when invoking shell scripts.
15992 # Whether or not to build shared libraries.
15993 build_libtool_libs=$enable_shared
15995 # Whether or not to build static libraries.
15996 build_old_libs=$enable_static
15998 # Whether or not to add -lc for building shared libraries.
15999 build_libtool_need_lc=$archive_cmds_need_lc_F77
16001 # Whether or not to disallow shared libs when runtime libs are static
16002 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
16004 # Whether or not to optimize for fast installation.
16005 fast_install=$enable_fast_install
16008 host_alias=$host_alias
16012 # The build system.
16013 build_alias=$build_alias
16017 # An echo program that does not interpret backslashes.
16022 AR_FLAGS=$lt_AR_FLAGS
16027 # LTCC compiler flags.
16028 LTCFLAGS=$lt_LTCFLAGS
16030 # A language-specific compiler.
16031 CC=$lt_compiler_F77
16033 # Is the compiler the GNU C compiler?
16039 # The linker used to build libraries.
16042 # Whether we need hard or soft links.
16045 # A BSD-compatible nm program.
16048 # A symbol stripping program
16051 # Used to examine libraries when file_magic_cmd begins "file"
16052 MAGIC_CMD=$MAGIC_CMD
16054 # Used on cygwin: DLL creation program.
16057 # Used on cygwin: object dumper.
16060 # Used on cygwin: assembler.
16063 # The name of the directory that contains temporary libtool files.
16066 # How to create reloadable object files.
16067 reload_flag=$lt_reload_flag
16068 reload_cmds=$lt_reload_cmds
16070 # How to pass a linker flag through the compiler.
16071 wl=$lt_lt_prog_compiler_wl_F77
16073 # Object file suffix (normally "o").
16074 objext="$ac_objext"
16076 # Old archive suffix (normally "a").
16079 # Shared library suffix (normally ".so").
16080 shrext_cmds='$shrext_cmds'
16082 # Executable file suffix (normally "").
16085 # Additional compiler flags for building library objects.
16086 pic_flag=$lt_lt_prog_compiler_pic_F77
16089 # What is the maximum length of a command?
16090 max_cmd_len=$lt_cv_sys_max_cmd_len
16092 # Does compiler simultaneously support -c and -o options?
16093 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
16095 # Must we lock files when doing compilation?
16096 need_locks=$lt_need_locks
16098 # Do we need the lib prefix for modules?
16099 need_lib_prefix=$need_lib_prefix
16101 # Do we need a version for libraries?
16102 need_version=$need_version
16104 # Whether dlopen is supported.
16105 dlopen_support=$enable_dlopen
16107 # Whether dlopen of programs is supported.
16108 dlopen_self=$enable_dlopen_self
16110 # Whether dlopen of statically linked programs is supported.
16111 dlopen_self_static=$enable_dlopen_self_static
16113 # Compiler flag to prevent dynamic linking.
16114 link_static_flag=$lt_lt_prog_compiler_static_F77
16116 # Compiler flag to turn off builtin functions.
16117 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
16119 # Compiler flag to allow reflexive dlopens.
16120 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
16122 # Compiler flag to generate shared objects directly from archives.
16123 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
16125 # Compiler flag to generate thread-safe objects.
16126 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
16128 # Library versioning type.
16129 version_type=$version_type
16131 # Format of library name prefix.
16132 libname_spec=$lt_libname_spec
16134 # List of archive names. First name is the real one, the rest are links.
16135 # The last name is the one that the linker finds with -lNAME.
16136 library_names_spec=$lt_library_names_spec
16138 # The coded name of the library, if different from the real name.
16139 soname_spec=$lt_soname_spec
16141 # Commands used to build and install an old-style archive.
16143 old_archive_cmds=$lt_old_archive_cmds_F77
16144 old_postinstall_cmds=$lt_old_postinstall_cmds
16145 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16147 # Create an old-style archive from a shared archive.
16148 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
16150 # Create a temporary old-style archive to link instead of a shared archive.
16151 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
16153 # Commands used to build and install a shared archive.
16154 archive_cmds=$lt_archive_cmds_F77
16155 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
16156 postinstall_cmds=$lt_postinstall_cmds
16157 postuninstall_cmds=$lt_postuninstall_cmds
16159 # Commands used to build a loadable module (assumed same as above if empty)
16160 module_cmds=$lt_module_cmds_F77
16161 module_expsym_cmds=$lt_module_expsym_cmds_F77
16163 # Commands to strip libraries.
16164 old_striplib=$lt_old_striplib
16165 striplib=$lt_striplib
16167 # Dependencies to place before the objects being linked to create a
16169 predep_objects=$lt_predep_objects_F77
16171 # Dependencies to place after the objects being linked to create a
16173 postdep_objects=$lt_postdep_objects_F77
16175 # Dependencies to place before the objects being linked to create a
16177 predeps=$lt_predeps_F77
16179 # Dependencies to place after the objects being linked to create a
16181 postdeps=$lt_postdeps_F77
16183 # The library search path used internally by the compiler when linking
16184 # a shared library.
16185 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16187 # Method to check whether dependent libraries are shared objects.
16188 deplibs_check_method=$lt_deplibs_check_method
16190 # Command to use when deplibs_check_method == file_magic.
16191 file_magic_cmd=$lt_file_magic_cmd
16193 # Flag that allows shared libraries with undefined symbols to be built.
16194 allow_undefined_flag=$lt_allow_undefined_flag_F77
16196 # Flag that forces no undefined symbols.
16197 no_undefined_flag=$lt_no_undefined_flag_F77
16199 # Commands used to finish a libtool library installation in a directory.
16200 finish_cmds=$lt_finish_cmds
16202 # Same as above, but a single script fragment to be evaled but not shown.
16203 finish_eval=$lt_finish_eval
16205 # Take the output of nm and produce a listing of raw symbols and C names.
16206 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16208 # Transform the output of nm in a proper C declaration
16209 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16211 # Transform the output of nm in a C name address pair
16212 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16214 # This is the shared library runtime path variable.
16215 runpath_var=$runpath_var
16217 # This is the shared library path variable.
16218 shlibpath_var=$shlibpath_var
16220 # Is shlibpath searched before the hard-coded library search path?
16221 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16223 # How to hardcode a shared library path into an executable.
16224 hardcode_action=$hardcode_action_F77
16226 # Whether we should hardcode library paths into libraries.
16227 hardcode_into_libs=$hardcode_into_libs
16229 # Flag to hardcode \$libdir into a binary during linking.
16230 # This must work even if \$libdir does not exist.
16231 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
16233 # If ld is used when linking, flag to hardcode \$libdir into
16234 # a binary during linking. This must work even if \$libdir does
16236 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
16238 # Whether we need a single -rpath flag with a separated argument.
16239 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
16241 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16242 # resulting binary.
16243 hardcode_direct=$hardcode_direct_F77
16245 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16246 # resulting binary.
16247 hardcode_minus_L=$hardcode_minus_L_F77
16249 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16250 # the resulting binary.
16251 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
16253 # Set to yes if building a shared library automatically hardcodes DIR into the library
16254 # and all subsequent libraries and executables linked against it.
16255 hardcode_automatic=$hardcode_automatic_F77
16257 # Variables whose values should be saved in libtool wrapper scripts and
16258 # restored at relink time.
16259 variables_saved_for_relink="$variables_saved_for_relink"
16261 # Whether libtool must link a program against all its dependency libraries.
16262 link_all_deplibs=$link_all_deplibs_F77
16264 # Compile-time system search path for libraries
16265 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16267 # Run-time system search path for libraries
16268 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16270 # Fix the shell variable \$srcfile for the compiler.
16271 fix_srcfile_path=$lt_fix_srcfile_path
16273 # Set to yes if exported symbols are required.
16274 always_export_symbols=$always_export_symbols_F77
16276 # The commands to list exported symbols.
16277 export_symbols_cmds=$lt_export_symbols_cmds_F77
16279 # The commands to extract the exported symbol list from a shared archive.
16280 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16282 # Symbols that should not be listed in the preloaded symbols.
16283 exclude_expsyms=$lt_exclude_expsyms_F77
16285 # Symbols that must always be exported.
16286 include_expsyms=$lt_include_expsyms_F77
16288 # ### END LIBTOOL TAG CONFIG: $tagname
16294 # If there is no Makefile yet, we rely on a make rule to execute
16295 # `config.status --recheck' to rerun these tests and create the
16296 # libtool script then.
16297 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16298 if test -f "$ltmain_in"; then
16299 test -f Makefile
&& make "$ltmain"
16305 ac_cpp
='$CPP $CPPFLAGS'
16306 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16307 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16308 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16318 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
16321 # Source file extension for Java test sources.
16324 # Object file extension for compiled Java test sources.
16328 # Code to be used in simple compile tests
16329 lt_simple_compile_test_code
="class foo {}"
16331 # Code to be used in simple link tests
16332 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }'
16334 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16336 # If no C compiler was specified, use CC.
16339 # If no C compiler flags were specified, use CFLAGS.
16340 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
16342 # Allow CC to be a program name with arguments.
16346 # save warnings/boilerplate of simple test code
16347 ac_outfile
=conftest.
$ac_objext
16348 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
16349 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16350 _lt_compiler_boilerplate
=`cat conftest.err`
16353 ac_outfile
=conftest.
$ac_objext
16354 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
16355 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16356 _lt_linker_boilerplate
=`cat conftest.err`
16360 # Allow CC to be a program name with arguments.
16365 for cc_temp
in $compiler""; do
16367 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16368 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16373 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16376 # GCJ did not exist at the time GCC didn't implicitly link libc in.
16377 archive_cmds_need_lc_GCJ
=no
16379 old_archive_cmds_GCJ
=$old_archive_cmds
16382 lt_prog_compiler_no_builtin_flag_GCJ
=
16384 if test "$GCC" = yes; then
16385 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
16388 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16389 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
16390 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16391 echo $ECHO_N "(cached) $ECHO_C" >&6
16393 lt_cv_prog_compiler_rtti_exceptions
=no
16394 ac_outfile
=conftest.
$ac_objext
16395 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16396 lt_compiler_flag
="-fno-rtti -fno-exceptions"
16397 # Insert the option either (1) after the last *FLAGS variable, or
16398 # (2) before a word containing "conftest.", or (3) at the end.
16399 # Note that $ac_compile itself does not contain backslashes and begins
16400 # with a dollar sign (not a hyphen), so the echo should work correctly.
16401 # The option is referenced via a variable to avoid confusing sed.
16402 lt_compile
=`echo "$ac_compile" | $SED \
16403 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16404 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16405 -e 's:$: $lt_compiler_flag:'`
16406 (eval echo "\"\$as_me:16406: $lt_compile\"" >&5)
16407 (eval "$lt_compile" 2>conftest.err
)
16409 cat conftest.err
>&5
16410 echo "$as_me:16410: \$? = $ac_status" >&5
16411 if (exit $ac_status) && test -s "$ac_outfile"; then
16412 # The compiler can only warn and ignore the option if not recognized
16413 # So say no if there are warnings other than the usual output.
16414 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16415 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16416 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16417 lt_cv_prog_compiler_rtti_exceptions
=yes
16423 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16424 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
16426 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
16427 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16434 lt_prog_compiler_wl_GCJ
=
16435 lt_prog_compiler_pic_GCJ
=
16436 lt_prog_compiler_static_GCJ
=
16438 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16439 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16441 if test "$GCC" = yes; then
16442 lt_prog_compiler_wl_GCJ
='-Wl,'
16443 lt_prog_compiler_static_GCJ
='-static'
16447 # All AIX code is PIC.
16448 if test "$host_cpu" = ia64
; then
16449 # AIX 5 now supports IA64 processor
16450 lt_prog_compiler_static_GCJ
='-Bstatic'
16455 # FIXME: we need at least 68020 code to build shared libraries, but
16456 # adding the `-m68020' flag to GCC prevents building anything better,
16458 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
16461 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
16462 # PIC is the default for these OSes.
16465 mingw
* | cygwin
* | pw32
* | os2
*)
16466 # This hack is so that the source file can tell whether it is being
16467 # built for inclusion in a dll (and should export symbols for example).
16468 # Although the cygwin gcc ignores -fPIC, still need this for old-style
16469 # (--disable-auto-import) libraries
16470 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16473 darwin
* | rhapsody
*)
16474 # PIC is the default on this platform
16475 # Common symbols not allowed in MH_DYLIB files
16476 lt_prog_compiler_pic_GCJ
='-fno-common'
16480 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16481 # Instead, we relocate shared libraries at runtime.
16485 # Just because we use GCC doesn't mean we suddenly get shared libraries
16486 # on systems that don't support them.
16487 lt_prog_compiler_can_build_shared_GCJ
=no
16492 if test -d /usr
/nec
; then
16493 lt_prog_compiler_pic_GCJ
=-Kconform_pic
16498 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16499 # not for PA HP-UX.
16505 lt_prog_compiler_pic_GCJ
='-fPIC'
16511 lt_prog_compiler_pic_GCJ
='-fPIC'
16515 # PORTME Check for flag to pass linker flags through the system compiler.
16518 lt_prog_compiler_wl_GCJ
='-Wl,'
16519 if test "$host_cpu" = ia64
; then
16520 # AIX 5 now supports IA64 processor
16521 lt_prog_compiler_static_GCJ
='-Bstatic'
16523 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
16527 # PIC is the default on this platform
16528 # Common symbols not allowed in MH_DYLIB files
16529 case $cc_basename in
16531 lt_prog_compiler_pic_GCJ
='-qnocommon'
16532 lt_prog_compiler_wl_GCJ
='-Wl,'
16537 mingw
* | cygwin
* | pw32
* | os2
*)
16538 # This hack is so that the source file can tell whether it is being
16539 # built for inclusion in a dll (and should export symbols for example).
16540 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16543 hpux9
* | hpux10
* | hpux11
*)
16544 lt_prog_compiler_wl_GCJ
='-Wl,'
16545 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16546 # not for PA HP-UX.
16552 lt_prog_compiler_pic_GCJ
='+Z'
16555 # Is there a better lt_prog_compiler_static that works with the bundled CC?
16556 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
16559 irix5
* | irix6
* | nonstopux
*)
16560 lt_prog_compiler_wl_GCJ
='-Wl,'
16561 # PIC (with -KPIC) is the default.
16562 lt_prog_compiler_static_GCJ
='-non_shared'
16566 lt_prog_compiler_pic_GCJ
='-KPIC'
16567 lt_prog_compiler_static_GCJ
='-Bstatic'
16570 linux
* | k
*bsd
*-gnu)
16571 case $cc_basename in
16573 lt_prog_compiler_wl_GCJ
='-Wl,'
16574 lt_prog_compiler_pic_GCJ
='-KPIC'
16575 lt_prog_compiler_static_GCJ
='-static'
16577 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
16578 # Portland Group compilers (*not* the Pentium gcc compiler,
16579 # which looks to be a dead project)
16580 lt_prog_compiler_wl_GCJ
='-Wl,'
16581 lt_prog_compiler_pic_GCJ
='-fpic'
16582 lt_prog_compiler_static_GCJ
='-Bstatic'
16585 lt_prog_compiler_wl_GCJ
='-Wl,'
16586 # All Alpha code is PIC.
16587 lt_prog_compiler_static_GCJ
='-non_shared'
16590 case `$CC -V 2>&1 | sed 5q` in
16593 lt_prog_compiler_pic_GCJ
='-KPIC'
16594 lt_prog_compiler_static_GCJ
='-Bstatic'
16595 lt_prog_compiler_wl_GCJ
='-Wl,'
16598 # Sun Fortran 8.3 passes all unrecognized flags to the linker
16599 lt_prog_compiler_pic_GCJ
='-KPIC'
16600 lt_prog_compiler_static_GCJ
='-Bstatic'
16601 lt_prog_compiler_wl_GCJ
=''
16608 osf3
* | osf4
* | osf5
*)
16609 lt_prog_compiler_wl_GCJ
='-Wl,'
16610 # All OSF/1 code is PIC.
16611 lt_prog_compiler_static_GCJ
='-non_shared'
16615 lt_prog_compiler_static_GCJ
='-non_shared'
16619 lt_prog_compiler_pic_GCJ
='-KPIC'
16620 lt_prog_compiler_static_GCJ
='-Bstatic'
16621 case $cc_basename in
16622 f77
* | f90
* | f95
*)
16623 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
16625 lt_prog_compiler_wl_GCJ
='-Wl,';;
16630 lt_prog_compiler_wl_GCJ
='-Qoption ld '
16631 lt_prog_compiler_pic_GCJ
='-PIC'
16632 lt_prog_compiler_static_GCJ
='-Bstatic'
16635 sysv4 | sysv4.2uw2
* | sysv4.3
*)
16636 lt_prog_compiler_wl_GCJ
='-Wl,'
16637 lt_prog_compiler_pic_GCJ
='-KPIC'
16638 lt_prog_compiler_static_GCJ
='-Bstatic'
16642 if test -d /usr
/nec
;then
16643 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
16644 lt_prog_compiler_static_GCJ
='-Bstatic'
16648 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
16649 lt_prog_compiler_wl_GCJ
='-Wl,'
16650 lt_prog_compiler_pic_GCJ
='-KPIC'
16651 lt_prog_compiler_static_GCJ
='-Bstatic'
16655 lt_prog_compiler_wl_GCJ
='-Wl,'
16656 lt_prog_compiler_can_build_shared_GCJ
=no
16660 lt_prog_compiler_pic_GCJ
='-pic'
16661 lt_prog_compiler_static_GCJ
='-Bstatic'
16665 lt_prog_compiler_can_build_shared_GCJ
=no
16670 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16671 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
16674 # Check to make sure the PIC flag actually works.
16676 if test -n "$lt_prog_compiler_pic_GCJ"; then
16678 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16679 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
16680 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
16681 echo $ECHO_N "(cached) $ECHO_C" >&6
16683 lt_prog_compiler_pic_works_GCJ
=no
16684 ac_outfile
=conftest.
$ac_objext
16685 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16686 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
16687 # Insert the option either (1) after the last *FLAGS variable, or
16688 # (2) before a word containing "conftest.", or (3) at the end.
16689 # Note that $ac_compile itself does not contain backslashes and begins
16690 # with a dollar sign (not a hyphen), so the echo should work correctly.
16691 # The option is referenced via a variable to avoid confusing sed.
16692 lt_compile
=`echo "$ac_compile" | $SED \
16693 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16694 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16695 -e 's:$: $lt_compiler_flag:'`
16696 (eval echo "\"\$as_me:16696: $lt_compile\"" >&5)
16697 (eval "$lt_compile" 2>conftest.err
)
16699 cat conftest.err
>&5
16700 echo "$as_me:16700: \$? = $ac_status" >&5
16701 if (exit $ac_status) && test -s "$ac_outfile"; then
16702 # The compiler can only warn and ignore the option if not recognized
16703 # So say no if there are warnings other than the usual output.
16704 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16705 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16706 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16707 lt_prog_compiler_pic_works_GCJ
=yes
16713 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16714 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
16716 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
16717 case $lt_prog_compiler_pic_GCJ in
16719 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
16722 lt_prog_compiler_pic_GCJ
=
16723 lt_prog_compiler_can_build_shared_GCJ
=no
16728 # For platforms which do not support PIC, -DPIC is meaningless:
16730 lt_prog_compiler_pic_GCJ
=
16733 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
16738 # Check to make sure the static flag actually works.
16740 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
16741 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16742 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
16743 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
16744 echo $ECHO_N "(cached) $ECHO_C" >&6
16746 lt_prog_compiler_static_works_GCJ
=no
16747 save_LDFLAGS
="$LDFLAGS"
16748 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
16749 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
16750 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
16751 # The linker can only warn and ignore the option if not recognized
16752 # So say no if there are warnings
16753 if test -s conftest.err
; then
16754 # Append any errors to the config.log.
16755 cat conftest.err
1>&5
16756 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
16757 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16758 if diff conftest.exp conftest.er2
>/dev
/null
; then
16759 lt_prog_compiler_static_works_GCJ
=yes
16762 lt_prog_compiler_static_works_GCJ
=yes
16766 LDFLAGS
="$save_LDFLAGS"
16769 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
16770 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
16772 if test x
"$lt_prog_compiler_static_works_GCJ" = xyes
; then
16775 lt_prog_compiler_static_GCJ
=
16779 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16780 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
16781 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16782 echo $ECHO_N "(cached) $ECHO_C" >&6
16784 lt_cv_prog_compiler_c_o_GCJ
=no
16785 $rm -r conftest
2>/dev
/null
16789 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16791 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16792 # Insert the option either (1) after the last *FLAGS variable, or
16793 # (2) before a word containing "conftest.", or (3) at the end.
16794 # Note that $ac_compile itself does not contain backslashes and begins
16795 # with a dollar sign (not a hyphen), so the echo should work correctly.
16796 lt_compile
=`echo "$ac_compile" | $SED \
16797 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16798 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16799 -e 's:$: $lt_compiler_flag:'`
16800 (eval echo "\"\$as_me:16800: $lt_compile\"" >&5)
16801 (eval "$lt_compile" 2>out
/conftest.err
)
16803 cat out
/conftest.err
>&5
16804 echo "$as_me:16804: \$? = $ac_status" >&5
16805 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16807 # The compiler can only warn and ignore the option if not recognized
16808 # So say no if there are warnings
16809 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
16810 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16811 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16812 lt_cv_prog_compiler_c_o_GCJ
=yes
16817 # SGI C++ compiler will create directory out/ii_files/ for
16818 # template instantiation
16819 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
16820 $rm out
/* && rmdir out
16826 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16827 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
16830 hard_links
="nottested"
16831 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
16832 # do not overwrite the value of need_locks provided by the user
16833 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16834 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
16837 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16839 ln conftest.a conftest.b
2>&5 || hard_links
=no
16840 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16841 { echo "$as_me:$LINENO: result: $hard_links" >&5
16842 echo "${ECHO_T}$hard_links" >&6; }
16843 if test "$hard_links" = no
; then
16844 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16845 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16852 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16853 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
16856 allow_undefined_flag_GCJ
=
16857 enable_shared_with_static_runtimes_GCJ
=no
16859 archive_expsym_cmds_GCJ
=
16860 old_archive_From_new_cmds_GCJ
=
16861 old_archive_from_expsyms_cmds_GCJ
=
16862 export_dynamic_flag_spec_GCJ
=
16863 whole_archive_flag_spec_GCJ
=
16864 thread_safe_flag_spec_GCJ
=
16865 hardcode_libdir_flag_spec_GCJ
=
16866 hardcode_libdir_flag_spec_ld_GCJ
=
16867 hardcode_libdir_separator_GCJ
=
16868 hardcode_direct_GCJ
=no
16869 hardcode_minus_L_GCJ
=no
16870 hardcode_shlibpath_var_GCJ
=unsupported
16871 link_all_deplibs_GCJ
=unknown
16872 hardcode_automatic_GCJ
=no
16874 module_expsym_cmds_GCJ
=
16875 always_export_symbols_GCJ
=no
16876 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16877 # include_expsyms should be a list of space-separated symbols to be *always*
16878 # included in the symbol list
16879 include_expsyms_GCJ
=
16880 # exclude_expsyms can be an extended regexp of symbols to exclude
16881 # it will be wrapped by ` (' and `)$', so one must not match beginning or
16882 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16883 # as well as any symbol that contains `d'.
16884 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
16885 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16886 # platforms (ab)use it in PIC code, but their linkers get confused if
16887 # the symbol is explicitly referenced. Since portable code cannot
16888 # rely on this symbol name, it's probably fine to never include it in
16889 # preloaded symbol tables.
16890 extract_expsyms_cmds
=
16891 # Just being paranoid about ensuring that cc_basename is set.
16892 for cc_temp
in $compiler""; do
16894 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16895 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16900 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16903 cygwin
* | mingw
* | pw32
*)
16904 # FIXME: the MSVC++ port hasn't been tested in a loooong time
16905 # When not using gcc, we currently assume that we are using
16906 # Microsoft Visual C++.
16907 if test "$GCC" != yes; then
16912 # we just hope/assume this is gcc and not c89 (= MSVC++)
16921 if test "$with_gnu_ld" = yes; then
16922 # If archive_cmds runs LD, not CC, wlarc should be empty
16925 # Set some defaults for GNU ld with shared library support. These
16926 # are reset later if shared libraries are not supported. Putting them
16927 # here allows them to be overridden if necessary.
16928 runpath_var
=LD_RUN_PATH
16929 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
16930 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
16931 # ancient GNU ld didn't support --whole-archive et. al.
16932 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
16933 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16935 whole_archive_flag_spec_GCJ
=
16937 supports_anon_versioning
=no
16938 case `$LD -v 2>/dev/null` in
16939 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
16940 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
16941 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
16942 *\
2.11.
*) ;; # other 2.11 versions
16943 *) supports_anon_versioning
=yes ;;
16946 # See if GNU ld supports shared libraries.
16948 aix3
* | aix4
* | aix5
*)
16949 # On AIX/PPC, the GNU linker is very broken
16950 if test "$host_cpu" != ia64
; then
16954 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
16955 *** to be unable to reliably create shared libraries on AIX.
16956 *** Therefore, libtool is disabling shared libraries support. If you
16957 *** really care for shared libraries, you may want to modify your PATH
16958 *** so that a non-GNU linker is found, and then restart.
16965 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)'
16966 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16967 hardcode_minus_L_GCJ
=yes
16969 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16970 # that the semantics of dynamic libraries on AmigaOS, at least up
16971 # to version 4, is to share data among multiple programs linked
16972 # with the same dynamic library. Since this doesn't match the
16973 # behavior of shared libraries on other platforms, we can't use
16979 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16980 allow_undefined_flag_GCJ
=unsupported
16981 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16982 # support --undefined. This deserves some investigation. FIXME
16983 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16989 cygwin
* | mingw
* | pw32
*)
16990 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
16991 # as there is no search path for DLLs.
16992 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16993 allow_undefined_flag_GCJ
=unsupported
16994 always_export_symbols_GCJ
=no
16995 enable_shared_with_static_runtimes_GCJ
=yes
16996 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
16998 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
16999 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17000 # If the export-symbols file already is a .def file (1st line
17001 # is EXPORTS), use it as is; otherwise, prepend...
17002 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17003 cp $export_symbols $output_objdir/$soname.def;
17005 echo EXPORTS > $output_objdir/$soname.def;
17006 cat $export_symbols >> $output_objdir/$soname.def;
17008 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17015 hardcode_direct_GCJ
=no
17016 hardcode_shlibpath_var_GCJ
=no
17017 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17018 export_dynamic_flag_spec_GCJ
='${wl}-E'
17019 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17020 # Instead, shared libraries are loaded at an image base (0x10000000 by
17021 # default) and relocated if they conflict, which is a slow very memory
17022 # consuming and fragmenting process. To avoid this, we pick a random,
17023 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17024 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
17025 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'
17026 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'
17029 gnu
* | linux
* | k
*bsd
*-gnu)
17030 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17032 case $cc_basename,$host_cpu in
17033 pgcc
*) # Portland Group C compiler
17034 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'
17035 tmp_addflag
=' $pic_flag'
17037 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
17038 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'
17039 tmp_addflag
=' $pic_flag -Mnomain' ;;
17040 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
17041 tmp_addflag
=' -i_dynamic' ;;
17042 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
17043 tmp_addflag
=' -i_dynamic -nofor_main' ;;
17044 ifc
* | ifort
*) # Intel Fortran compiler
17045 tmp_addflag
=' -nofor_main' ;;
17047 case `$CC -V 2>&1 | sed 5q` in
17048 *Sun\ C
*) # Sun C 5.9
17049 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'
17050 tmp_sharedflag
='-G' ;;
17051 *Sun\ F
*) # Sun Fortran 8.3
17052 tmp_sharedflag
='-G' ;;
17054 tmp_sharedflag
='-shared' ;;
17056 archive_cmds_GCJ
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17058 if test $supports_anon_versioning = yes; then
17059 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
17060 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17061 $echo "local: *; };" >> $output_objdir/$libname.ver~
17062 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17070 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17071 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17074 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17075 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17080 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
17084 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
17085 *** create shared libraries on Solaris systems. Therefore, libtool
17086 *** is disabling shared libraries support. We urge you to upgrade GNU
17087 *** binutils to release 2.9.1 or newer. Another option is to modify
17088 *** your PATH or compiler configuration so that the native linker is
17089 *** used, and then restart.
17092 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17093 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17094 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17100 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
17101 case `$LD -v 2>&1` in
17102 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
17106 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17107 *** reliably create shared libraries on SCO systems. Therefore, libtool
17108 *** is disabling shared libraries support. We urge you to upgrade GNU
17109 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
17110 *** your PATH or compiler configuration so that the native linker is
17111 *** used, and then restart.
17116 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17117 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
17118 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
17119 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17128 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17130 hardcode_direct_GCJ
=yes
17131 hardcode_shlibpath_var_GCJ
=no
17135 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17136 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17137 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17144 if test "$ld_shlibs_GCJ" = no
; then
17146 hardcode_libdir_flag_spec_GCJ
=
17147 export_dynamic_flag_spec_GCJ
=
17148 whole_archive_flag_spec_GCJ
=
17151 # PORTME fill in a description of your system's linker (not GNU ld)
17154 allow_undefined_flag_GCJ
=unsupported
17155 always_export_symbols_GCJ
=yes
17156 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'
17157 # Note: this linker hardcodes the directories in LIBPATH if there
17158 # are no directories specified by -L.
17159 hardcode_minus_L_GCJ
=yes
17160 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17161 # Neither direct hardcoding nor static linking is supported with a
17163 hardcode_direct_GCJ
=unsupported
17168 if test "$host_cpu" = ia64
; then
17169 # On IA64, the linker does run time linking by default, so we don't
17170 # have to do anything special.
17171 aix_use_runtimelinking
=no
17172 exp_sym_flag
='-Bexport'
17175 # If we're using GNU nm, then we don't want the "-C" option.
17176 # -C means demangle to AIX nm, but means don't demangle with GNU nm
17177 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
17178 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'
17180 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'
17182 aix_use_runtimelinking
=no
17184 # Test if we are trying to use run time linking or normal
17185 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17186 # need to do runtime linking.
17187 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
17188 for ld_flag
in $LDFLAGS; do
17189 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
17190 aix_use_runtimelinking
=yes
17197 exp_sym_flag
='-bexport'
17198 no_entry_flag
='-bnoentry'
17201 # When large executables or shared objects are built, AIX ld can
17202 # have problems creating the table of contents. If linking a library
17203 # or program results in "error TOC overflow" add -mminimal-toc to
17204 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
17205 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17207 archive_cmds_GCJ
=''
17208 hardcode_direct_GCJ
=yes
17209 hardcode_libdir_separator_GCJ
=':'
17210 link_all_deplibs_GCJ
=yes
17212 if test "$GCC" = yes; then
17213 case $host_os in aix4.
[012]|aix4.
[012].
*)
17214 # We only want to do this on AIX 4.2 and lower, the check
17215 # below for broken collect2 doesn't work under 4.3+
17216 collect2name
=`${CC} -print-prog-name=collect2`
17217 if test -f "$collect2name" && \
17218 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
17220 # We have reworked collect2
17223 # We have old collect2
17224 hardcode_direct_GCJ
=unsupported
17225 # It fails to find uninstalled libraries when the uninstalled
17226 # path is not listed in the libpath. Setting hardcode_minus_L
17227 # to unsupported forces relinking
17228 hardcode_minus_L_GCJ
=yes
17229 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17230 hardcode_libdir_separator_GCJ
=
17234 shared_flag
='-shared'
17235 if test "$aix_use_runtimelinking" = yes; then
17236 shared_flag
="$shared_flag "'${wl}-G'
17240 if test "$host_cpu" = ia64
; then
17241 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17242 # chokes on -Wl,-G. The following line is correct:
17245 if test "$aix_use_runtimelinking" = yes; then
17246 shared_flag
='${wl}-G'
17248 shared_flag
='${wl}-bM:SRE'
17253 # It seems that -bexpall does not export symbols beginning with
17254 # underscore (_), so it is better to generate a list of symbols to export.
17255 always_export_symbols_GCJ
=yes
17256 if test "$aix_use_runtimelinking" = yes; then
17257 # Warning - without using the other runtime loading flags (-brtl),
17258 # -berok will link without error, but may produce a broken library.
17259 allow_undefined_flag_GCJ
='-berok'
17260 # Determine the default libpath from the value encoded in an empty executable.
17261 cat >conftest.
$ac_ext <<_ACEOF
17264 cat confdefs.h
>>conftest.
$ac_ext
17265 cat >>conftest.
$ac_ext <<_ACEOF
17266 /* end confdefs.h. */
17276 rm -f conftest.
$ac_objext conftest
$ac_exeext
17277 if { (ac_try
="$ac_link"
17278 case "(($ac_try" in
17279 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17280 *) ac_try_echo=$ac_try;;
17282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17283 (eval "$ac_link") 2>conftest.er1
17285 grep -v '^ *+' conftest.er1 >conftest.err
17287 cat conftest.err >&5
17288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17289 (exit $ac_status); } && {
17290 test -z "$ac_c_werror_flag" ||
17291 test ! -s conftest.err
17292 } && test -s conftest$ac_exeext &&
17293 $as_test_x conftest$ac_exeext; then
17295 lt_aix_libpath_sed='
17296 /Import File Strings/,/^$/ {
17302 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
17303 # Check for a 64-bit object if we didn't find anything.
17304 if test -z "$aix_libpath"; then
17305 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
17308 echo "$as_me: failed program was:" >&5
17309 sed 's/^/| /' conftest.$ac_ext >&5
17314 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17315 conftest$ac_exeext conftest.$ac_ext
17316 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17318 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17319 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"
17321 if test "$host_cpu" = ia64; then
17322 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
17323 allow_undefined_flag_GCJ="-z nodefs"
17324 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"
17326 # Determine the default libpath from the value encoded in an empty executable.
17327 cat >conftest.$ac_ext <<_ACEOF
17330 cat confdefs.h >>conftest.$ac_ext
17331 cat >>conftest.$ac_ext <<_ACEOF
17332 /* end confdefs.h. */
17342 rm -f conftest.$ac_objext conftest$ac_exeext
17343 if { (ac_try="$ac_link"
17344 case "(($ac_try" in
17345 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17346 *) ac_try_echo
=$ac_try;;
17348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17349 (eval "$ac_link") 2>conftest.er1
17351 grep -v '^ *+' conftest.er1
>conftest.err
17353 cat conftest.err
>&5
17354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17355 (exit $ac_status); } && {
17356 test -z "$ac_c_werror_flag" ||
17357 test ! -s conftest.err
17358 } && test -s conftest
$ac_exeext &&
17359 $as_test_x conftest
$ac_exeext; then
17361 lt_aix_libpath_sed
='
17362 /Import File Strings/,/^$/ {
17368 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17369 # Check for a 64-bit object if we didn't find anything.
17370 if test -z "$aix_libpath"; then
17371 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17374 echo "$as_me: failed program was:" >&5
17375 sed 's/^/| /' conftest.
$ac_ext >&5
17380 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17381 conftest
$ac_exeext conftest.
$ac_ext
17382 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
17384 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
17385 # Warning - without using the other run time loading flags,
17386 # -berok will link without error, but may produce a broken library.
17387 no_undefined_flag_GCJ
=' ${wl}-bernotok'
17388 allow_undefined_flag_GCJ
=' ${wl}-berok'
17389 # Exported symbols can be pulled into shared objects from archives
17390 whole_archive_flag_spec_GCJ
='$convenience'
17391 archive_cmds_need_lc_GCJ
=yes
17392 # This is similar to how AIX traditionally builds its shared libraries.
17393 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'
17399 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)'
17400 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17401 hardcode_minus_L_GCJ
=yes
17402 # see comment about different semantics on the GNU ld section
17407 export_dynamic_flag_spec_GCJ
=-rdynamic
17410 cygwin
* | mingw
* | pw32
*)
17411 # When not using gcc, we currently assume that we are using
17412 # Microsoft Visual C++.
17413 # hardcode_libdir_flag_spec is actually meaningless, as there is
17414 # no search path for DLLs.
17415 hardcode_libdir_flag_spec_GCJ
=' '
17416 allow_undefined_flag_GCJ
=unsupported
17417 # Tell ltmain to make .lib files, not .a files.
17419 # Tell ltmain to make .dll files, not .so files.
17421 # FIXME: Setting linknames here is a bad hack.
17422 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17423 # The linker will automatically build a .lib file if we build a DLL.
17424 old_archive_From_new_cmds_GCJ
='true'
17425 # FIXME: Should let the user specify the lib program.
17426 old_archive_cmds_GCJ
='lib -OUT:$oldlib$oldobjs$old_deplibs'
17427 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
17428 enable_shared_with_static_runtimes_GCJ
=yes
17431 darwin
* | rhapsody
*)
17433 rhapsody
* | darwin1.
[012])
17434 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
17437 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17438 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17440 case ${MACOSX_DEPLOYMENT_TARGET} in
17442 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17445 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
17451 archive_cmds_need_lc_GCJ
=no
17452 hardcode_direct_GCJ
=no
17453 hardcode_automatic_GCJ
=yes
17454 hardcode_shlibpath_var_GCJ
=unsupported
17455 whole_archive_flag_spec_GCJ
=''
17456 link_all_deplibs_GCJ
=yes
17457 if test "$GCC" = yes ; then
17458 output_verbose_link_cmd
='echo'
17459 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17460 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17461 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17462 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}'
17463 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}'
17465 case $cc_basename in
17467 output_verbose_link_cmd
='echo'
17468 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
17469 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17470 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17471 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}'
17472 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}'
17482 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17483 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17484 hardcode_shlibpath_var_GCJ
=no
17491 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17492 # support. Future versions do this automatically, but an explicit c++rt0.o
17493 # does not break anything, and helps significantly (at the cost of a little
17496 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17497 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17498 hardcode_direct_GCJ
=yes
17499 hardcode_shlibpath_var_GCJ
=no
17502 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17504 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17505 hardcode_direct_GCJ
=yes
17506 hardcode_minus_L_GCJ
=yes
17507 hardcode_shlibpath_var_GCJ
=no
17510 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17511 freebsd
* | dragonfly
*)
17512 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17513 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17514 hardcode_direct_GCJ
=yes
17515 hardcode_shlibpath_var_GCJ
=no
17519 if test "$GCC" = yes; then
17520 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'
17522 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'
17524 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17525 hardcode_libdir_separator_GCJ
=:
17526 hardcode_direct_GCJ
=yes
17528 # hardcode_minus_L: Not really in the search PATH,
17529 # but as the default location of the library.
17530 hardcode_minus_L_GCJ
=yes
17531 export_dynamic_flag_spec_GCJ
='${wl}-E'
17535 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17536 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17538 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17540 if test "$with_gnu_ld" = no
; then
17541 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17542 hardcode_libdir_separator_GCJ
=:
17544 hardcode_direct_GCJ
=yes
17545 export_dynamic_flag_spec_GCJ
='${wl}-E'
17547 # hardcode_minus_L: Not really in the search PATH,
17548 # but as the default location of the library.
17549 hardcode_minus_L_GCJ
=yes
17554 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17557 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17560 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17563 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17569 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17572 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17575 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17579 if test "$with_gnu_ld" = no
; then
17580 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17581 hardcode_libdir_separator_GCJ
=:
17585 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
17586 hardcode_direct_GCJ
=no
17587 hardcode_shlibpath_var_GCJ
=no
17590 hardcode_direct_GCJ
=yes
17591 export_dynamic_flag_spec_GCJ
='${wl}-E'
17593 # hardcode_minus_L: Not really in the search PATH,
17594 # but as the default location of the library.
17595 hardcode_minus_L_GCJ
=yes
17601 irix5
* | irix6
* | nonstopux
*)
17602 if test "$GCC" = yes; then
17603 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'
17605 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'
17606 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
17608 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17609 hardcode_libdir_separator_GCJ
=:
17610 link_all_deplibs_GCJ
=yes
17614 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17615 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
17617 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
17619 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17620 hardcode_direct_GCJ
=yes
17621 hardcode_shlibpath_var_GCJ
=no
17625 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17626 hardcode_direct_GCJ
=yes
17627 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17628 hardcode_libdir_separator_GCJ
=:
17629 hardcode_shlibpath_var_GCJ
=no
17633 if test -f /usr
/libexec
/ld.so
; then
17634 hardcode_direct_GCJ
=yes
17635 hardcode_shlibpath_var_GCJ
=no
17636 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17637 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17638 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17639 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17640 export_dynamic_flag_spec_GCJ
='${wl}-E'
17643 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
17644 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17645 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17648 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17649 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17659 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17660 hardcode_minus_L_GCJ
=yes
17661 allow_undefined_flag_GCJ
=unsupported
17662 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'
17663 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17667 if test "$GCC" = yes; then
17668 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17669 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'
17671 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17672 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'
17674 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17675 hardcode_libdir_separator_GCJ
=:
17678 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
17679 if test "$GCC" = yes; then
17680 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17681 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'
17682 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17684 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17685 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'
17686 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~
17687 $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'
17689 # Both c and cxx compiler support -rpath directly
17690 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
17692 hardcode_libdir_separator_GCJ
=:
17696 no_undefined_flag_GCJ
=' -z text'
17697 if test "$GCC" = yes; then
17699 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17700 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17701 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
17704 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17705 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17706 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17708 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17709 hardcode_shlibpath_var_GCJ
=no
17711 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
17713 # The compiler driver will combine and reorder linker options,
17714 # but understands `-z linker_flag'. GCC discards it without `$wl',
17715 # but is careful enough not to reorder.
17716 # Supported since Solaris 2.6 (maybe 2.5.1?)
17717 if test "$GCC" = yes; then
17718 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
17720 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract'
17724 link_all_deplibs_GCJ
=yes
17728 if test "x$host_vendor" = xsequent
; then
17729 # Use $CC to link under sequent, because it throws in some extra .o
17730 # files that make .init and .fini sections work.
17731 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17733 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17735 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17736 hardcode_direct_GCJ
=yes
17737 hardcode_minus_L_GCJ
=yes
17738 hardcode_shlibpath_var_GCJ
=no
17742 case $host_vendor in
17744 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17745 hardcode_direct_GCJ
=yes # is this really true???
17748 ## LD is ld it makes a PLAMLIB
17749 ## CC just makes a GrossModule.
17750 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17751 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
17752 hardcode_direct_GCJ
=no
17755 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17756 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
17759 runpath_var
='LD_RUN_PATH'
17760 hardcode_shlibpath_var_GCJ
=no
17764 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17765 hardcode_shlibpath_var_GCJ
=no
17766 export_dynamic_flag_spec_GCJ
='-Bexport'
17770 if test -d /usr
/nec
; then
17771 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17772 hardcode_shlibpath_var_GCJ
=no
17773 runpath_var
=LD_RUN_PATH
17774 hardcode_runpath_var
=yes
17779 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
17780 no_undefined_flag_GCJ
='${wl}-z,text'
17781 archive_cmds_need_lc_GCJ
=no
17782 hardcode_shlibpath_var_GCJ
=no
17783 runpath_var
='LD_RUN_PATH'
17785 if test "$GCC" = yes; then
17786 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17787 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17789 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17790 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17794 sysv5
* | sco3.2v5
* | sco5v6
*)
17795 # Note: We can NOT use -z defs as we might desire, because we do not
17796 # link with -lc, and that would cause any symbols used from libc to
17797 # always be unresolved, which means just about no library would
17798 # ever link correctly. If we're not using GNU ld we use -z text
17799 # though, which does catch some bad symbols but isn't as heavy-handed
17801 no_undefined_flag_GCJ
='${wl}-z,text'
17802 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
17803 archive_cmds_need_lc_GCJ
=no
17804 hardcode_shlibpath_var_GCJ
=no
17805 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
17806 hardcode_libdir_separator_GCJ
=':'
17807 link_all_deplibs_GCJ
=yes
17808 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
17809 runpath_var
='LD_RUN_PATH'
17811 if test "$GCC" = yes; then
17812 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17813 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17815 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17816 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17821 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17822 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17823 hardcode_shlibpath_var_GCJ
=no
17832 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17833 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
17834 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
17837 # Do we need to explicitly link libc?
17839 case "x$archive_cmds_need_lc_GCJ" in
17841 # Assume -lc should be added
17842 archive_cmds_need_lc_GCJ
=yes
17844 if test "$enable_shared" = yes && test "$GCC" = yes; then
17845 case $archive_cmds_GCJ in
17847 # FIXME: we may have to deal with multi-command sequences.
17850 # Test whether the compiler implicitly links with -lc since on some
17851 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17852 # to ld, don't add -lc before -lgcc.
17853 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17854 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
17856 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17859 (eval $ac_compile) 2>&5
17861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17862 (exit $ac_status); } 2>conftest.err
; then
17865 libobjs
=conftest.
$ac_objext
17867 wl
=$lt_prog_compiler_wl_GCJ
17868 pic_flag
=$lt_prog_compiler_pic_GCJ
17874 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
17875 allow_undefined_flag_GCJ
=
17876 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
17877 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
17879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17880 (exit $ac_status); }
17882 archive_cmds_need_lc_GCJ
=no
17884 archive_cmds_need_lc_GCJ
=yes
17886 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
17888 cat conftest.err
1>&5
17891 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17892 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
17899 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17900 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
17901 library_names_spec
=
17902 libname_spec
='lib$name'
17906 postuninstall_cmds
=
17910 shlibpath_overrides_runpath
=unknown
17912 dynamic_linker
="$host_os ld.so"
17913 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
17915 need_lib_prefix
=unknown
17916 hardcode_into_libs
=no
17918 # when you set need_version to no, make sure it does not cause -set_version
17919 # flags to be left without arguments
17920 need_version
=unknown
17925 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
17926 shlibpath_var
=LIBPATH
17928 # AIX 3 has no versioning support, so we append a major version to the name.
17929 soname_spec
='${libname}${release}${shared_ext}$major'
17936 hardcode_into_libs
=yes
17937 if test "$host_cpu" = ia64
; then
17938 # AIX 5 supports IA64
17939 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17940 shlibpath_var
=LD_LIBRARY_PATH
17942 # With GCC up to 2.95.x, collect2 would create an import file
17943 # for dependence libraries. The import file would start with
17944 # the line `#! .'. This would cause the generated library to
17945 # depend on `.', always an invalid library. This was fixed in
17946 # development snapshots of GCC prior to 3.0.
17948 aix4 | aix4.
[01] | aix4.
[01].
*)
17949 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17951 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
17954 can_build_shared
=no
17958 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17959 # soname into executable. Probably we can add versioning support to
17960 # collect2, so additional links can be useful in future.
17961 if test "$aix_use_runtimelinking" = yes; then
17962 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17963 # instead of lib<name>.a to let people know that these are not
17964 # typical AIX shared libraries.
17965 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17967 # We preserve .a as extension for shared libraries through AIX4.2
17968 # and later when we are not doing run time linking.
17969 library_names_spec
='${libname}${release}.a $libname.a'
17970 soname_spec
='${libname}${release}${shared_ext}$major'
17972 shlibpath_var
=LIBPATH
17977 library_names_spec
='$libname.ixlibrary $libname.a'
17978 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17979 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'
17983 library_names_spec
='${libname}${shared_ext}'
17984 dynamic_linker
="$host_os ld.so"
17985 shlibpath_var
=LIBRARY_PATH
17991 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17992 soname_spec
='${libname}${release}${shared_ext}$major'
17993 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
17994 shlibpath_var
=LD_LIBRARY_PATH
17995 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17996 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
17997 # the default ld.so.conf also contains /usr/contrib/lib and
17998 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17999 # libtool to hard-code these into programs
18002 cygwin
* | mingw
* | pw32
*)
18003 version_type
=windows
18008 case $GCC,$host_os in
18009 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
18010 library_names_spec
='$libname.dll.a'
18011 # DLL is installed to $(libdir)/../bin by postinstall_cmds
18012 postinstall_cmds
='base_file=`basename \${file}`~
18013 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18014 dldir=$destdir/`dirname \$dlpath`~
18015 test -d \$dldir || mkdir -p \$dldir~
18016 $install_prog $dir/$dlname \$dldir/$dlname~
18017 chmod a+x \$dldir/$dlname'
18018 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18019 dlpath=$dir/\$dldll~
18021 shlibpath_overrides_runpath
=yes
18025 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18026 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18027 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
18030 # MinGW DLLs use traditional 'lib' prefix
18031 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18032 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18033 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
18034 # It is most probably a Windows format PATH printed by
18035 # mingw gcc, but we are running on Cygwin. Gcc prints its search
18036 # path with ; separators, and with drive letters. We can handle the
18037 # drive letters (cygwin fileutils understands them), so leave them,
18038 # especially as we might pass files found there to a mingw objdump,
18039 # which wouldn't understand a cygwinified path. Ahh.
18040 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18042 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18046 # pw32 DLLs use 'pw' prefix rather than 'lib'
18047 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18053 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18056 dynamic_linker
='Win32 ld.exe'
18057 # FIXME: first we should search . and the directory the executable is in
18061 darwin
* | rhapsody
*)
18062 dynamic_linker
="$host_os dyld"
18063 version_type
=darwin
18066 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18067 soname_spec
='${libname}${release}${major}$shared_ext'
18068 shlibpath_overrides_runpath
=yes
18069 shlibpath_var
=DYLD_LIBRARY_PATH
18070 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
18072 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
18079 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18080 soname_spec
='${libname}${release}${shared_ext}$major'
18081 shlibpath_var
=LD_LIBRARY_PATH
18088 freebsd
* | dragonfly
*)
18089 # DragonFly does not have aout. When/if they implement a new
18090 # versioning mechanism, adjust this.
18091 if test -x /usr
/bin
/objformat
; then
18092 objformat
=`/usr/bin/objformat`
18095 freebsd
[123]*) objformat
=aout
;;
18096 *) objformat
=elf
;;
18099 version_type
=freebsd-
$objformat
18100 case $version_type in
18102 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18107 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18111 shlibpath_var
=LD_LIBRARY_PATH
18114 shlibpath_overrides_runpath
=yes
18116 freebsd3.
[01]* | freebsdelf3.
[01]*)
18117 shlibpath_overrides_runpath
=yes
18118 hardcode_into_libs
=yes
18120 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
18121 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
18122 shlibpath_overrides_runpath
=no
18123 hardcode_into_libs
=yes
18125 *) # from 4.6 on, and DragonFly
18126 shlibpath_overrides_runpath
=yes
18127 hardcode_into_libs
=yes
18136 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18137 soname_spec
='${libname}${release}${shared_ext}$major'
18138 shlibpath_var
=LD_LIBRARY_PATH
18139 hardcode_into_libs
=yes
18142 hpux9
* | hpux10
* | hpux11
*)
18143 # Give a soname corresponding to the major version so that dld.sl refuses to
18144 # link against other versions.
18151 hardcode_into_libs
=yes
18152 dynamic_linker
="$host_os dld.so"
18153 shlibpath_var
=LD_LIBRARY_PATH
18154 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18155 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18156 soname_spec
='${libname}${release}${shared_ext}$major'
18157 if test "X$HPUX_IA64_MODE" = X32
; then
18158 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18160 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
18162 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18166 hardcode_into_libs
=yes
18167 dynamic_linker
="$host_os dld.sl"
18168 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
18169 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18170 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18171 soname_spec
='${libname}${release}${shared_ext}$major'
18172 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18173 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18177 dynamic_linker
="$host_os dld.sl"
18178 shlibpath_var
=SHLIB_PATH
18179 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
18180 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18181 soname_spec
='${libname}${release}${shared_ext}$major'
18184 # HP-UX runs *really* slowly unless shared libraries are mode 555.
18185 postinstall_cmds
='chmod 555 $lib'
18192 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18193 soname_spec
='${libname}${release}${shared_ext}$major'
18194 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
18195 shlibpath_var
=LD_LIBRARY_PATH
18196 shlibpath_overrides_runpath
=no
18197 hardcode_into_libs
=yes
18200 irix5
* | irix6
* | nonstopux
*)
18202 nonstopux
*) version_type
=nonstopux
;;
18204 if test "$lt_cv_prog_gnu_ld" = yes; then
18212 soname_spec
='${libname}${release}${shared_ext}$major'
18213 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18215 irix5
* | nonstopux
*)
18216 libsuff
= shlibsuff
=
18219 case $LD in # libtool.m4 will add one of these switches to LD
18220 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
18221 libsuff
= shlibsuff
= libmagic
=32-bit;;
18222 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
18223 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
18224 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
18225 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
18226 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
18230 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
18231 shlibpath_overrides_runpath
=no
18232 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18233 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
18234 hardcode_into_libs
=yes
18237 # No shared lib support for Linux oldld, aout, or coff.
18238 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
18242 # This must be Linux ELF.
18243 linux
* | k
*bsd
*-gnu)
18247 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18248 soname_spec
='${libname}${release}${shared_ext}$major'
18249 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18250 shlibpath_var
=LD_LIBRARY_PATH
18251 shlibpath_overrides_runpath
=no
18252 # This implies no fast_install, which is unacceptable.
18253 # Some rework will be needed to allow for fast_install
18254 # before this can be enabled.
18255 hardcode_into_libs
=yes
18256 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18257 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
18259 # Append ld.so.conf contents to the search path
18260 if test -f /etc
/ld.so.conf
; then
18261 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' ' '`
18262 sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec $lt_ld_extra"
18265 # We used to test for /lib/ld.so.1 and disable shared libraries on
18266 # powerpc, because MkLinux only supported shared libraries with the
18267 # GNU dynamic linker. Since this was broken with cross compilers,
18268 # most powerpc-linux boxes support dynamic linking these days and
18269 # people can always --disable-shared, the test was removed, and we
18270 # assume the GNU/Linux dynamic linker is in use.
18271 dynamic_linker
='GNU/Linux ld.so'
18278 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18279 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18280 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18281 dynamic_linker
='NetBSD (a.out) ld.so'
18283 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18284 soname_spec
='${libname}${release}${shared_ext}$major'
18285 dynamic_linker
='NetBSD ld.elf_so'
18287 shlibpath_var
=LD_LIBRARY_PATH
18288 shlibpath_overrides_runpath
=yes
18289 hardcode_into_libs
=yes
18294 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18295 shlibpath_var
=LD_LIBRARY_PATH
18296 shlibpath_overrides_runpath
=yes
18303 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18304 soname_spec
='${libname}${release}${shared_ext}$major'
18305 shlibpath_var
=LD_LIBRARY_PATH
18306 shlibpath_overrides_runpath
=yes
18311 sys_lib_dlsearch_path_spec
="/usr/lib"
18313 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18315 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
18316 *) need_version
=no
;;
18318 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18319 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18320 shlibpath_var
=LD_LIBRARY_PATH
18321 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18323 openbsd2.
[89] | openbsd2.
[89].
*)
18324 shlibpath_overrides_runpath
=no
18327 shlibpath_overrides_runpath
=yes
18331 shlibpath_overrides_runpath
=yes
18336 libname_spec
='$name'
18339 library_names_spec
='$libname${shared_ext} $libname.a'
18340 dynamic_linker
='OS/2 ld.exe'
18341 shlibpath_var
=LIBPATH
18344 osf3
* | osf4
* | osf5
*)
18348 soname_spec
='${libname}${release}${shared_ext}$major'
18349 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18350 shlibpath_var
=LD_LIBRARY_PATH
18351 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18352 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
18363 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18364 soname_spec
='${libname}${release}${shared_ext}$major'
18365 shlibpath_var
=LD_LIBRARY_PATH
18366 shlibpath_overrides_runpath
=yes
18367 hardcode_into_libs
=yes
18368 # ldd complains unless libraries are executable
18369 postinstall_cmds
='chmod +x $lib'
18374 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18375 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18376 shlibpath_var
=LD_LIBRARY_PATH
18377 shlibpath_overrides_runpath
=yes
18378 if test "$with_gnu_ld" = yes; then
18386 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18387 soname_spec
='${libname}${release}${shared_ext}$major'
18388 shlibpath_var
=LD_LIBRARY_PATH
18389 case $host_vendor in
18391 shlibpath_overrides_runpath
=no
18393 export_dynamic_flag_spec
='${wl}-Blargedynsym'
18394 runpath_var
=LD_RUN_PATH
18402 shlibpath_overrides_runpath
=no
18403 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
18409 if test -d /usr
/nec
;then
18411 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18412 soname_spec
='$libname${shared_ext}.$major'
18413 shlibpath_var
=LD_LIBRARY_PATH
18417 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
18418 version_type
=freebsd-elf
18421 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18422 soname_spec
='${libname}${release}${shared_ext}$major'
18423 shlibpath_var
=LD_LIBRARY_PATH
18424 hardcode_into_libs
=yes
18425 if test "$with_gnu_ld" = yes; then
18426 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18427 shlibpath_overrides_runpath
=no
18429 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
18430 shlibpath_overrides_runpath
=yes
18433 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
18437 sys_lib_dlsearch_path_spec
='/usr/lib'
18442 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18443 soname_spec
='${libname}${release}${shared_ext}$major'
18444 shlibpath_var
=LD_LIBRARY_PATH
18451 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18452 echo "${ECHO_T}$dynamic_linker" >&6; }
18453 test "$dynamic_linker" = no
&& can_build_shared
=no
18455 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
18456 if test "$GCC" = yes; then
18457 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18460 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18461 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
18462 hardcode_action_GCJ
=
18463 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18464 test -n "$runpath_var_GCJ" || \
18465 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18467 # We can hardcode non-existant directories.
18468 if test "$hardcode_direct_GCJ" != no
&&
18469 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18470 # have to relink, otherwise we might link with an installed library
18471 # when we should be linking with a yet-to-be-installed one
18472 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18473 test "$hardcode_minus_L_GCJ" != no
; then
18474 # Linking always hardcodes the temporary library directory.
18475 hardcode_action_GCJ
=relink
18477 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18478 hardcode_action_GCJ
=immediate
18481 # We cannot hardcode anything, or else we can only hardcode existing
18483 hardcode_action_GCJ
=unsupported
18485 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18486 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
18488 if test "$hardcode_action_GCJ" = relink
; then
18489 # Fast installation is not supported
18490 enable_fast_install
=no
18491 elif test "$shlibpath_overrides_runpath" = yes ||
18492 test "$enable_shared" = no
; then
18493 # Fast installation is not necessary
18494 enable_fast_install
=needless
18498 # The else clause should only fire when bootstrapping the
18499 # libtool distribution, otherwise you forgot to ship ltmain.sh
18500 # with your package, and you will get complaints that there are
18501 # no rules to generate ltmain.sh.
18502 if test -f "$ltmain"; then
18503 # See if we are running on zsh, and set the options which allow our commands through
18504 # without removal of \ escapes.
18505 if test -n "${ZSH_VERSION+set}" ; then
18506 setopt NO_GLOB_SUBST
18508 # Now quote all the things that may contain metacharacters while being
18509 # careful not to overquote the AC_SUBSTed values. We take copies of the
18510 # variables and quote the copies for generation of the libtool script.
18511 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18513 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18514 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18515 deplibs_check_method reload_flag reload_cmds need_locks \
18516 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18517 lt_cv_sys_global_symbol_to_c_name_address \
18518 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18519 old_postinstall_cmds old_postuninstall_cmds \
18523 lt_prog_compiler_wl_GCJ \
18524 lt_prog_compiler_pic_GCJ \
18525 lt_prog_compiler_static_GCJ \
18526 lt_prog_compiler_no_builtin_flag_GCJ \
18527 export_dynamic_flag_spec_GCJ \
18528 thread_safe_flag_spec_GCJ \
18529 whole_archive_flag_spec_GCJ \
18530 enable_shared_with_static_runtimes_GCJ \
18531 old_archive_cmds_GCJ \
18532 old_archive_from_new_cmds_GCJ \
18533 predep_objects_GCJ \
18534 postdep_objects_GCJ \
18537 compiler_lib_search_path_GCJ \
18539 archive_expsym_cmds_GCJ \
18540 postinstall_cmds_GCJ \
18541 postuninstall_cmds_GCJ \
18542 old_archive_from_expsyms_cmds_GCJ \
18543 allow_undefined_flag_GCJ \
18544 no_undefined_flag_GCJ \
18545 export_symbols_cmds_GCJ \
18546 hardcode_libdir_flag_spec_GCJ \
18547 hardcode_libdir_flag_spec_ld_GCJ \
18548 hardcode_libdir_separator_GCJ \
18549 hardcode_automatic_GCJ \
18551 module_expsym_cmds_GCJ \
18552 lt_cv_prog_compiler_c_o_GCJ \
18553 fix_srcfile_path_GCJ \
18554 exclude_expsyms_GCJ \
18555 include_expsyms_GCJ
; do
18558 old_archive_cmds_GCJ | \
18559 old_archive_from_new_cmds_GCJ | \
18560 archive_cmds_GCJ | \
18561 archive_expsym_cmds_GCJ | \
18562 module_cmds_GCJ | \
18563 module_expsym_cmds_GCJ | \
18564 old_archive_from_expsyms_cmds_GCJ | \
18565 export_symbols_cmds_GCJ | \
18566 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18567 postinstall_cmds | postuninstall_cmds | \
18568 old_postinstall_cmds | old_postuninstall_cmds | \
18569 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18570 # Double-quote double-evaled strings.
18571 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18574 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18580 *'\$0 --fallback-echo"')
18581 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18587 cat <<__EOF__ >> "$cfgfile"
18588 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18590 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18592 # Shell to use when invoking shell scripts.
18595 # Whether or not to build shared libraries.
18596 build_libtool_libs=$enable_shared
18598 # Whether or not to build static libraries.
18599 build_old_libs=$enable_static
18601 # Whether or not to add -lc for building shared libraries.
18602 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
18604 # Whether or not to disallow shared libs when runtime libs are static
18605 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
18607 # Whether or not to optimize for fast installation.
18608 fast_install=$enable_fast_install
18611 host_alias=$host_alias
18615 # The build system.
18616 build_alias=$build_alias
18620 # An echo program that does not interpret backslashes.
18625 AR_FLAGS=$lt_AR_FLAGS
18630 # LTCC compiler flags.
18631 LTCFLAGS=$lt_LTCFLAGS
18633 # A language-specific compiler.
18634 CC=$lt_compiler_GCJ
18636 # Is the compiler the GNU C compiler?
18642 # The linker used to build libraries.
18645 # Whether we need hard or soft links.
18648 # A BSD-compatible nm program.
18651 # A symbol stripping program
18654 # Used to examine libraries when file_magic_cmd begins "file"
18655 MAGIC_CMD=$MAGIC_CMD
18657 # Used on cygwin: DLL creation program.
18660 # Used on cygwin: object dumper.
18663 # Used on cygwin: assembler.
18666 # The name of the directory that contains temporary libtool files.
18669 # How to create reloadable object files.
18670 reload_flag=$lt_reload_flag
18671 reload_cmds=$lt_reload_cmds
18673 # How to pass a linker flag through the compiler.
18674 wl=$lt_lt_prog_compiler_wl_GCJ
18676 # Object file suffix (normally "o").
18677 objext="$ac_objext"
18679 # Old archive suffix (normally "a").
18682 # Shared library suffix (normally ".so").
18683 shrext_cmds='$shrext_cmds'
18685 # Executable file suffix (normally "").
18688 # Additional compiler flags for building library objects.
18689 pic_flag=$lt_lt_prog_compiler_pic_GCJ
18692 # What is the maximum length of a command?
18693 max_cmd_len=$lt_cv_sys_max_cmd_len
18695 # Does compiler simultaneously support -c and -o options?
18696 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
18698 # Must we lock files when doing compilation?
18699 need_locks=$lt_need_locks
18701 # Do we need the lib prefix for modules?
18702 need_lib_prefix=$need_lib_prefix
18704 # Do we need a version for libraries?
18705 need_version=$need_version
18707 # Whether dlopen is supported.
18708 dlopen_support=$enable_dlopen
18710 # Whether dlopen of programs is supported.
18711 dlopen_self=$enable_dlopen_self
18713 # Whether dlopen of statically linked programs is supported.
18714 dlopen_self_static=$enable_dlopen_self_static
18716 # Compiler flag to prevent dynamic linking.
18717 link_static_flag=$lt_lt_prog_compiler_static_GCJ
18719 # Compiler flag to turn off builtin functions.
18720 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
18722 # Compiler flag to allow reflexive dlopens.
18723 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
18725 # Compiler flag to generate shared objects directly from archives.
18726 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
18728 # Compiler flag to generate thread-safe objects.
18729 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
18731 # Library versioning type.
18732 version_type=$version_type
18734 # Format of library name prefix.
18735 libname_spec=$lt_libname_spec
18737 # List of archive names. First name is the real one, the rest are links.
18738 # The last name is the one that the linker finds with -lNAME.
18739 library_names_spec=$lt_library_names_spec
18741 # The coded name of the library, if different from the real name.
18742 soname_spec=$lt_soname_spec
18744 # Commands used to build and install an old-style archive.
18746 old_archive_cmds=$lt_old_archive_cmds_GCJ
18747 old_postinstall_cmds=$lt_old_postinstall_cmds
18748 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18750 # Create an old-style archive from a shared archive.
18751 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
18753 # Create a temporary old-style archive to link instead of a shared archive.
18754 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
18756 # Commands used to build and install a shared archive.
18757 archive_cmds=$lt_archive_cmds_GCJ
18758 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
18759 postinstall_cmds=$lt_postinstall_cmds
18760 postuninstall_cmds=$lt_postuninstall_cmds
18762 # Commands used to build a loadable module (assumed same as above if empty)
18763 module_cmds=$lt_module_cmds_GCJ
18764 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
18766 # Commands to strip libraries.
18767 old_striplib=$lt_old_striplib
18768 striplib=$lt_striplib
18770 # Dependencies to place before the objects being linked to create a
18772 predep_objects=$lt_predep_objects_GCJ
18774 # Dependencies to place after the objects being linked to create a
18776 postdep_objects=$lt_postdep_objects_GCJ
18778 # Dependencies to place before the objects being linked to create a
18780 predeps=$lt_predeps_GCJ
18782 # Dependencies to place after the objects being linked to create a
18784 postdeps=$lt_postdeps_GCJ
18786 # The library search path used internally by the compiler when linking
18787 # a shared library.
18788 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
18790 # Method to check whether dependent libraries are shared objects.
18791 deplibs_check_method=$lt_deplibs_check_method
18793 # Command to use when deplibs_check_method == file_magic.
18794 file_magic_cmd=$lt_file_magic_cmd
18796 # Flag that allows shared libraries with undefined symbols to be built.
18797 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
18799 # Flag that forces no undefined symbols.
18800 no_undefined_flag=$lt_no_undefined_flag_GCJ
18802 # Commands used to finish a libtool library installation in a directory.
18803 finish_cmds=$lt_finish_cmds
18805 # Same as above, but a single script fragment to be evaled but not shown.
18806 finish_eval=$lt_finish_eval
18808 # Take the output of nm and produce a listing of raw symbols and C names.
18809 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18811 # Transform the output of nm in a proper C declaration
18812 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18814 # Transform the output of nm in a C name address pair
18815 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18817 # This is the shared library runtime path variable.
18818 runpath_var=$runpath_var
18820 # This is the shared library path variable.
18821 shlibpath_var=$shlibpath_var
18823 # Is shlibpath searched before the hard-coded library search path?
18824 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18826 # How to hardcode a shared library path into an executable.
18827 hardcode_action=$hardcode_action_GCJ
18829 # Whether we should hardcode library paths into libraries.
18830 hardcode_into_libs=$hardcode_into_libs
18832 # Flag to hardcode \$libdir into a binary during linking.
18833 # This must work even if \$libdir does not exist.
18834 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
18836 # If ld is used when linking, flag to hardcode \$libdir into
18837 # a binary during linking. This must work even if \$libdir does
18839 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
18841 # Whether we need a single -rpath flag with a separated argument.
18842 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
18844 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18845 # resulting binary.
18846 hardcode_direct=$hardcode_direct_GCJ
18848 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18849 # resulting binary.
18850 hardcode_minus_L=$hardcode_minus_L_GCJ
18852 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18853 # the resulting binary.
18854 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
18856 # Set to yes if building a shared library automatically hardcodes DIR into the library
18857 # and all subsequent libraries and executables linked against it.
18858 hardcode_automatic=$hardcode_automatic_GCJ
18860 # Variables whose values should be saved in libtool wrapper scripts and
18861 # restored at relink time.
18862 variables_saved_for_relink="$variables_saved_for_relink"
18864 # Whether libtool must link a program against all its dependency libraries.
18865 link_all_deplibs=$link_all_deplibs_GCJ
18867 # Compile-time system search path for libraries
18868 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18870 # Run-time system search path for libraries
18871 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18873 # Fix the shell variable \$srcfile for the compiler.
18874 fix_srcfile_path=$lt_fix_srcfile_path
18876 # Set to yes if exported symbols are required.
18877 always_export_symbols=$always_export_symbols_GCJ
18879 # The commands to list exported symbols.
18880 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
18882 # The commands to extract the exported symbol list from a shared archive.
18883 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18885 # Symbols that should not be listed in the preloaded symbols.
18886 exclude_expsyms=$lt_exclude_expsyms_GCJ
18888 # Symbols that must always be exported.
18889 include_expsyms=$lt_include_expsyms_GCJ
18891 # ### END LIBTOOL TAG CONFIG: $tagname
18897 # If there is no Makefile yet, we rely on a make rule to execute
18898 # `config.status --recheck' to rerun these tests and create the
18899 # libtool script then.
18900 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18901 if test -f "$ltmain_in"; then
18902 test -f Makefile
&& make "$ltmain"
18908 ac_cpp
='$CPP $CPPFLAGS'
18909 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18910 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18911 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18923 # Source file extension for RC test sources.
18926 # Object file extension for compiled RC test sources.
18930 # Code to be used in simple compile tests
18931 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
18933 # Code to be used in simple link tests
18934 lt_simple_link_test_code
="$lt_simple_compile_test_code"
18936 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18938 # If no C compiler was specified, use CC.
18941 # If no C compiler flags were specified, use CFLAGS.
18942 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
18944 # Allow CC to be a program name with arguments.
18948 # save warnings/boilerplate of simple test code
18949 ac_outfile
=conftest.
$ac_objext
18950 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
18951 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
18952 _lt_compiler_boilerplate
=`cat conftest.err`
18955 ac_outfile
=conftest.
$ac_objext
18956 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
18957 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
18958 _lt_linker_boilerplate
=`cat conftest.err`
18962 # Allow CC to be a program name with arguments.
18967 for cc_temp
in $compiler""; do
18969 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
18970 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
18975 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18977 lt_cv_prog_compiler_c_o_RC
=yes
18979 # The else clause should only fire when bootstrapping the
18980 # libtool distribution, otherwise you forgot to ship ltmain.sh
18981 # with your package, and you will get complaints that there are
18982 # no rules to generate ltmain.sh.
18983 if test -f "$ltmain"; then
18984 # See if we are running on zsh, and set the options which allow our commands through
18985 # without removal of \ escapes.
18986 if test -n "${ZSH_VERSION+set}" ; then
18987 setopt NO_GLOB_SUBST
18989 # Now quote all the things that may contain metacharacters while being
18990 # careful not to overquote the AC_SUBSTed values. We take copies of the
18991 # variables and quote the copies for generation of the libtool script.
18992 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18994 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18995 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18996 deplibs_check_method reload_flag reload_cmds need_locks \
18997 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18998 lt_cv_sys_global_symbol_to_c_name_address \
18999 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19000 old_postinstall_cmds old_postuninstall_cmds \
19004 lt_prog_compiler_wl_RC \
19005 lt_prog_compiler_pic_RC \
19006 lt_prog_compiler_static_RC \
19007 lt_prog_compiler_no_builtin_flag_RC \
19008 export_dynamic_flag_spec_RC \
19009 thread_safe_flag_spec_RC \
19010 whole_archive_flag_spec_RC \
19011 enable_shared_with_static_runtimes_RC \
19012 old_archive_cmds_RC \
19013 old_archive_from_new_cmds_RC \
19014 predep_objects_RC \
19015 postdep_objects_RC \
19018 compiler_lib_search_path_RC \
19020 archive_expsym_cmds_RC \
19021 postinstall_cmds_RC \
19022 postuninstall_cmds_RC \
19023 old_archive_from_expsyms_cmds_RC \
19024 allow_undefined_flag_RC \
19025 no_undefined_flag_RC \
19026 export_symbols_cmds_RC \
19027 hardcode_libdir_flag_spec_RC \
19028 hardcode_libdir_flag_spec_ld_RC \
19029 hardcode_libdir_separator_RC \
19030 hardcode_automatic_RC \
19032 module_expsym_cmds_RC \
19033 lt_cv_prog_compiler_c_o_RC \
19034 fix_srcfile_path_RC \
19035 exclude_expsyms_RC \
19036 include_expsyms_RC
; do
19039 old_archive_cmds_RC | \
19040 old_archive_from_new_cmds_RC | \
19041 archive_cmds_RC | \
19042 archive_expsym_cmds_RC | \
19044 module_expsym_cmds_RC | \
19045 old_archive_from_expsyms_cmds_RC | \
19046 export_symbols_cmds_RC | \
19047 extract_expsyms_cmds | reload_cmds | finish_cmds | \
19048 postinstall_cmds | postuninstall_cmds | \
19049 old_postinstall_cmds | old_postuninstall_cmds | \
19050 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
19051 # Double-quote double-evaled strings.
19052 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19055 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19061 *'\$0 --fallback-echo"')
19062 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19068 cat <<__EOF__ >> "$cfgfile"
19069 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19071 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19073 # Shell to use when invoking shell scripts.
19076 # Whether or not to build shared libraries.
19077 build_libtool_libs=$enable_shared
19079 # Whether or not to build static libraries.
19080 build_old_libs=$enable_static
19082 # Whether or not to add -lc for building shared libraries.
19083 build_libtool_need_lc=$archive_cmds_need_lc_RC
19085 # Whether or not to disallow shared libs when runtime libs are static
19086 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19088 # Whether or not to optimize for fast installation.
19089 fast_install=$enable_fast_install
19092 host_alias=$host_alias
19096 # The build system.
19097 build_alias=$build_alias
19101 # An echo program that does not interpret backslashes.
19106 AR_FLAGS=$lt_AR_FLAGS
19111 # LTCC compiler flags.
19112 LTCFLAGS=$lt_LTCFLAGS
19114 # A language-specific compiler.
19117 # Is the compiler the GNU C compiler?
19123 # The linker used to build libraries.
19126 # Whether we need hard or soft links.
19129 # A BSD-compatible nm program.
19132 # A symbol stripping program
19135 # Used to examine libraries when file_magic_cmd begins "file"
19136 MAGIC_CMD=$MAGIC_CMD
19138 # Used on cygwin: DLL creation program.
19141 # Used on cygwin: object dumper.
19144 # Used on cygwin: assembler.
19147 # The name of the directory that contains temporary libtool files.
19150 # How to create reloadable object files.
19151 reload_flag=$lt_reload_flag
19152 reload_cmds=$lt_reload_cmds
19154 # How to pass a linker flag through the compiler.
19155 wl=$lt_lt_prog_compiler_wl_RC
19157 # Object file suffix (normally "o").
19158 objext="$ac_objext"
19160 # Old archive suffix (normally "a").
19163 # Shared library suffix (normally ".so").
19164 shrext_cmds='$shrext_cmds'
19166 # Executable file suffix (normally "").
19169 # Additional compiler flags for building library objects.
19170 pic_flag=$lt_lt_prog_compiler_pic_RC
19173 # What is the maximum length of a command?
19174 max_cmd_len=$lt_cv_sys_max_cmd_len
19176 # Does compiler simultaneously support -c and -o options?
19177 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19179 # Must we lock files when doing compilation?
19180 need_locks=$lt_need_locks
19182 # Do we need the lib prefix for modules?
19183 need_lib_prefix=$need_lib_prefix
19185 # Do we need a version for libraries?
19186 need_version=$need_version
19188 # Whether dlopen is supported.
19189 dlopen_support=$enable_dlopen
19191 # Whether dlopen of programs is supported.
19192 dlopen_self=$enable_dlopen_self
19194 # Whether dlopen of statically linked programs is supported.
19195 dlopen_self_static=$enable_dlopen_self_static
19197 # Compiler flag to prevent dynamic linking.
19198 link_static_flag=$lt_lt_prog_compiler_static_RC
19200 # Compiler flag to turn off builtin functions.
19201 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19203 # Compiler flag to allow reflexive dlopens.
19204 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19206 # Compiler flag to generate shared objects directly from archives.
19207 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19209 # Compiler flag to generate thread-safe objects.
19210 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19212 # Library versioning type.
19213 version_type=$version_type
19215 # Format of library name prefix.
19216 libname_spec=$lt_libname_spec
19218 # List of archive names. First name is the real one, the rest are links.
19219 # The last name is the one that the linker finds with -lNAME.
19220 library_names_spec=$lt_library_names_spec
19222 # The coded name of the library, if different from the real name.
19223 soname_spec=$lt_soname_spec
19225 # Commands used to build and install an old-style archive.
19227 old_archive_cmds=$lt_old_archive_cmds_RC
19228 old_postinstall_cmds=$lt_old_postinstall_cmds
19229 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19231 # Create an old-style archive from a shared archive.
19232 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19234 # Create a temporary old-style archive to link instead of a shared archive.
19235 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19237 # Commands used to build and install a shared archive.
19238 archive_cmds=$lt_archive_cmds_RC
19239 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19240 postinstall_cmds=$lt_postinstall_cmds
19241 postuninstall_cmds=$lt_postuninstall_cmds
19243 # Commands used to build a loadable module (assumed same as above if empty)
19244 module_cmds=$lt_module_cmds_RC
19245 module_expsym_cmds=$lt_module_expsym_cmds_RC
19247 # Commands to strip libraries.
19248 old_striplib=$lt_old_striplib
19249 striplib=$lt_striplib
19251 # Dependencies to place before the objects being linked to create a
19253 predep_objects=$lt_predep_objects_RC
19255 # Dependencies to place after the objects being linked to create a
19257 postdep_objects=$lt_postdep_objects_RC
19259 # Dependencies to place before the objects being linked to create a
19261 predeps=$lt_predeps_RC
19263 # Dependencies to place after the objects being linked to create a
19265 postdeps=$lt_postdeps_RC
19267 # The library search path used internally by the compiler when linking
19268 # a shared library.
19269 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19271 # Method to check whether dependent libraries are shared objects.
19272 deplibs_check_method=$lt_deplibs_check_method
19274 # Command to use when deplibs_check_method == file_magic.
19275 file_magic_cmd=$lt_file_magic_cmd
19277 # Flag that allows shared libraries with undefined symbols to be built.
19278 allow_undefined_flag=$lt_allow_undefined_flag_RC
19280 # Flag that forces no undefined symbols.
19281 no_undefined_flag=$lt_no_undefined_flag_RC
19283 # Commands used to finish a libtool library installation in a directory.
19284 finish_cmds=$lt_finish_cmds
19286 # Same as above, but a single script fragment to be evaled but not shown.
19287 finish_eval=$lt_finish_eval
19289 # Take the output of nm and produce a listing of raw symbols and C names.
19290 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19292 # Transform the output of nm in a proper C declaration
19293 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19295 # Transform the output of nm in a C name address pair
19296 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19298 # This is the shared library runtime path variable.
19299 runpath_var=$runpath_var
19301 # This is the shared library path variable.
19302 shlibpath_var=$shlibpath_var
19304 # Is shlibpath searched before the hard-coded library search path?
19305 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19307 # How to hardcode a shared library path into an executable.
19308 hardcode_action=$hardcode_action_RC
19310 # Whether we should hardcode library paths into libraries.
19311 hardcode_into_libs=$hardcode_into_libs
19313 # Flag to hardcode \$libdir into a binary during linking.
19314 # This must work even if \$libdir does not exist.
19315 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19317 # If ld is used when linking, flag to hardcode \$libdir into
19318 # a binary during linking. This must work even if \$libdir does
19320 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19322 # Whether we need a single -rpath flag with a separated argument.
19323 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19325 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19326 # resulting binary.
19327 hardcode_direct=$hardcode_direct_RC
19329 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19330 # resulting binary.
19331 hardcode_minus_L=$hardcode_minus_L_RC
19333 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19334 # the resulting binary.
19335 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19337 # Set to yes if building a shared library automatically hardcodes DIR into the library
19338 # and all subsequent libraries and executables linked against it.
19339 hardcode_automatic=$hardcode_automatic_RC
19341 # Variables whose values should be saved in libtool wrapper scripts and
19342 # restored at relink time.
19343 variables_saved_for_relink="$variables_saved_for_relink"
19345 # Whether libtool must link a program against all its dependency libraries.
19346 link_all_deplibs=$link_all_deplibs_RC
19348 # Compile-time system search path for libraries
19349 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19351 # Run-time system search path for libraries
19352 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19354 # Fix the shell variable \$srcfile for the compiler.
19355 fix_srcfile_path=$lt_fix_srcfile_path
19357 # Set to yes if exported symbols are required.
19358 always_export_symbols=$always_export_symbols_RC
19360 # The commands to list exported symbols.
19361 export_symbols_cmds=$lt_export_symbols_cmds_RC
19363 # The commands to extract the exported symbol list from a shared archive.
19364 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19366 # Symbols that should not be listed in the preloaded symbols.
19367 exclude_expsyms=$lt_exclude_expsyms_RC
19369 # Symbols that must always be exported.
19370 include_expsyms=$lt_include_expsyms_RC
19372 # ### END LIBTOOL TAG CONFIG: $tagname
19378 # If there is no Makefile yet, we rely on a make rule to execute
19379 # `config.status --recheck' to rerun these tests and create the
19380 # libtool script then.
19381 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19382 if test -f "$ltmain_in"; then
19383 test -f Makefile
&& make "$ltmain"
19389 ac_cpp
='$CPP $CPPFLAGS'
19390 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19391 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19392 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19399 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19400 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19401 { (exit 1); exit 1; }; }
19405 # Append the new tag name to the list of available tags.
19406 if test -n "$tagname" ; then
19407 available_tags
="$available_tags $tagname"
19413 # Now substitute the updated list of available tags.
19414 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
19415 mv "${ofile}T" "$ofile"
19419 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19420 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19421 { (exit 1); exit 1; }; }
19427 # This can be used to rebuild libtool when needed
19428 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
19430 # Always use our own libtool.
19431 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
19433 # Prevent multiple expansion
19455 if test "$GCC" = yes
19457 CFLAGS
="-Wall $CFLAGS"
19460 CPPFLAGS
="$CPPFLAGS -I$srcdir/.. -I.."
19463 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19464 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
19465 if test "${ac_cv_header_stdc+set}" = set; then
19466 echo $ECHO_N "(cached) $ECHO_C" >&6
19468 cat >conftest.
$ac_ext <<_ACEOF
19471 cat confdefs.h
>>conftest.
$ac_ext
19472 cat >>conftest.
$ac_ext <<_ACEOF
19473 /* end confdefs.h. */
19474 #include <stdlib.h>
19475 #include <stdarg.h>
19476 #include <string.h>
19487 rm -f conftest.
$ac_objext
19488 if { (ac_try
="$ac_compile"
19489 case "(($ac_try" in
19490 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19491 *) ac_try_echo=$ac_try;;
19493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19494 (eval "$ac_compile") 2>conftest.er1
19496 grep -v '^ *+' conftest.er1 >conftest.err
19498 cat conftest.err >&5
19499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19500 (exit $ac_status); } && {
19501 test -z "$ac_c_werror_flag" ||
19502 test ! -s conftest.err
19503 } && test -s conftest.$ac_objext; then
19504 ac_cv_header_stdc=yes
19506 echo "$as_me: failed program was:" >&5
19507 sed 's/^/| /' conftest.$ac_ext >&5
19509 ac_cv_header_stdc=no
19512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19514 if test $ac_cv_header_stdc = yes; then
19515 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19516 cat >conftest.$ac_ext <<_ACEOF
19519 cat confdefs.h >>conftest.$ac_ext
19520 cat >>conftest.$ac_ext <<_ACEOF
19521 /* end confdefs.h. */
19522 #include <string.h>
19525 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19526 $EGREP "memchr" >/dev/null 2>&1; then
19529 ac_cv_header_stdc=no
19535 if test $ac_cv_header_stdc = yes; then
19536 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19537 cat >conftest.$ac_ext <<_ACEOF
19540 cat confdefs.h >>conftest.$ac_ext
19541 cat >>conftest.$ac_ext <<_ACEOF
19542 /* end confdefs.h. */
19543 #include <stdlib.h>
19546 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19547 $EGREP "free" >/dev/null 2>&1; then
19550 ac_cv_header_stdc=no
19556 if test $ac_cv_header_stdc = yes; then
19557 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19558 if test "$cross_compiling" = yes; then
19561 cat >conftest.$ac_ext <<_ACEOF
19564 cat confdefs.h >>conftest.$ac_ext
19565 cat >>conftest.$ac_ext <<_ACEOF
19566 /* end confdefs.h. */
19568 #include <stdlib.h>
19569 #if ((' ' & 0x0FF) == 0x020)
19570 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19571 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19573 # define ISLOWER(c) \
19574 (('a' <= (c) && (c) <= 'i') \
19575 || ('j' <= (c) && (c) <= 'r') \
19576 || ('s' <= (c) && (c) <= 'z'))
19577 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19580 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19585 for (i = 0; i < 256; i++)
19586 if (XOR (islower (i), ISLOWER (i))
19587 || toupper (i) != TOUPPER (i))
19592 rm -f conftest$ac_exeext
19593 if { (ac_try="$ac_link"
19594 case "(($ac_try" in
19595 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19596 *) ac_try_echo
=$ac_try;;
19598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19599 (eval "$ac_link") 2>&5
19601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19602 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19603 { (case "(($ac_try" in
19604 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19605 *) ac_try_echo=$ac_try;;
19607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19608 (eval "$ac_try") 2>&5
19610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19611 (exit $ac_status); }; }; then
19614 echo "$as_me: program exited with status $ac_status" >&5
19615 echo "$as_me: failed program was:" >&5
19616 sed 's/^/| /' conftest.$ac_ext >&5
19618 ( exit $ac_status )
19619 ac_cv_header_stdc=no
19621 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19627 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19628 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19629 if test $ac_cv_header_stdc = yes; then
19631 cat >>confdefs.h <<\_ACEOF
19632 #define STDC_HEADERS 1
19638 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19639 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
19640 if test "${ac_cv_c_const+set}" = set; then
19641 echo $ECHO_N "(cached) $ECHO_C" >&6
19643 cat >conftest.$ac_ext <<_ACEOF
19646 cat confdefs.h >>conftest.$ac_ext
19647 cat >>conftest.$ac_ext <<_ACEOF
19648 /* end confdefs.h. */
19653 /* FIXME: Include the comments suggested by Paul. */
19654 #ifndef __cplusplus
19655 /* Ultrix mips cc rejects this. */
19656 typedef int charset[2];
19658 /* SunOS 4.1.1 cc rejects this. */
19659 char const *const *pcpcc;
19661 /* NEC SVR4.0.2 mips cc rejects this. */
19662 struct point {int x, y;};
19663 static struct point const zero = {0,0};
19664 /* AIX XL C 1.02.0.0 rejects this.
19665 It does not let you subtract one const X* pointer from another in
19666 an arm of an if-expression whose if-part is not a constant
19668 const char *g = "string";
19669 pcpcc = &g + (g ? g-g : 0);
19670 /* HPUX 7.0 cc rejects these. */
19672 ppc = (char**) pcpcc;
19673 pcpcc = (char const *const *) ppc;
19674 { /* SCO 3.2v4 cc rejects this. */
19676 char const *s = 0 ? (char *) 0 : (char const *) 0;
19681 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19682 int x[] = {25, 17};
19683 const int *foo = &x[0];
19686 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19687 typedef const int *iptr;
19691 { /* AIX XL C 1.02.0.0 rejects this saying
19692 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19693 struct s { int j; const int *ap[3]; };
19694 struct s *b; b->j = 5;
19696 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19697 const int foo = 10;
19698 if (!foo) return 0;
19700 return !cs[0] && !zero.x;
19707 rm -f conftest.$ac_objext
19708 if { (ac_try="$ac_compile"
19709 case "(($ac_try" in
19710 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19711 *) ac_try_echo
=$ac_try;;
19713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19714 (eval "$ac_compile") 2>conftest.er1
19716 grep -v '^ *+' conftest.er1
>conftest.err
19718 cat conftest.err
>&5
19719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19720 (exit $ac_status); } && {
19721 test -z "$ac_c_werror_flag" ||
19722 test ! -s conftest.err
19723 } && test -s conftest.
$ac_objext; then
19726 echo "$as_me: failed program was:" >&5
19727 sed 's/^/| /' conftest.
$ac_ext >&5
19732 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19734 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19735 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19736 if test $ac_cv_c_const = no
; then
19738 cat >>confdefs.h
<<\_ACEOF
19744 { echo "$as_me:$LINENO: checking for size_t" >&5
19745 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
19746 if test "${ac_cv_type_size_t+set}" = set; then
19747 echo $ECHO_N "(cached) $ECHO_C" >&6
19749 cat >conftest.
$ac_ext <<_ACEOF
19752 cat confdefs.h
>>conftest.
$ac_ext
19753 cat >>conftest.
$ac_ext <<_ACEOF
19754 /* end confdefs.h. */
19755 $ac_includes_default
19756 typedef size_t ac__type_new_;
19760 if ((ac__type_new_ *) 0)
19762 if (sizeof (ac__type_new_))
19768 rm -f conftest.
$ac_objext
19769 if { (ac_try
="$ac_compile"
19770 case "(($ac_try" in
19771 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19772 *) ac_try_echo=$ac_try;;
19774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19775 (eval "$ac_compile") 2>conftest.er1
19777 grep -v '^ *+' conftest.er1 >conftest.err
19779 cat conftest.err >&5
19780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19781 (exit $ac_status); } && {
19782 test -z "$ac_c_werror_flag" ||
19783 test ! -s conftest.err
19784 } && test -s conftest.$ac_objext; then
19785 ac_cv_type_size_t=yes
19787 echo "$as_me: failed program was:" >&5
19788 sed 's/^/| /' conftest.$ac_ext >&5
19790 ac_cv_type_size_t=no
19793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19795 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19796 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
19797 if test $ac_cv_type_size_t = yes; then
19801 cat >>confdefs.h <<_ACEOF
19802 #define size_t unsigned int
19815 if test -d ${srcdir}/../md5
19817 TESTPROGS="$TESTPROGS md5hmactest${EXEEXT}"
19818 hmac_list="$hmac_list &hmac_md5,"
19819 hashlibs="$hashlibs ../md5/libmd5.la"
19822 if test -d ${srcdir}/../sha1
19824 TESTPROGS="$TESTPROGS sha1hmactest${EXEEXT}"
19825 hmac_list="$hmac_list &hmac_sha1, &hmac_sha256, "
19826 hashlibs="$hashlibs ../sha1/libsha1.la"
19830 hmac_list="$hmac_list 0"
19834 cat >>confdefs.h <<_ACEOF
19835 #define HMAC_LIST $hmac_list
19839 ac_config_files="$ac_config_files Makefile"
19841 cat >confcache <<\_ACEOF
19842 # This file is a shell script that caches the results of configure
19843 # tests run on this system so they can be shared between configure
19844 # scripts and configure runs, see configure's option --config-cache.
19845 # It is not useful on other systems. If it contains results you don't
19846 # want to keep, you may remove or edit it.
19848 # config.status only pays attention to the cache file if you give it
19849 # the --recheck option to rerun configure.
19851 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
19852 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19853 # following values.
19857 # The following way of writing the cache mishandles newlines in values,
19858 # but we know of no workaround that is simple, portable, and efficient.
19859 # So, we kill variables containing newlines.
19860 # Ultrix sh set writes to stderr and can't be redirected directly,
19861 # and sets the high bit in the cache file unless we assign to the vars.
19863 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19864 eval ac_val
=\$
$ac_var
19868 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
19869 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
19872 _ | IFS | as_nl
) ;; #(
19873 *) $as_unset $ac_var ;;
19879 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19880 *${as_nl}ac_space
=\
*)
19881 # `set' does not quote correctly, so add quotes (double-quote
19882 # substitution turns \\\\ into \\, and sed turns \\ into \).
19885 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19888 # `set' quotes correctly as required by POSIX, so do not add quotes.
19889 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19898 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19900 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19902 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
19903 if test -w "$cache_file"; then
19904 test "x$cache_file" != "x/dev/null" &&
19905 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
19906 echo "$as_me: updating cache $cache_file" >&6;}
19907 cat confcache
>$cache_file
19909 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
19910 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19915 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
19916 # Let make expand exec_prefix.
19917 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
19919 DEFS
=-DHAVE_CONFIG_H
19923 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
19924 # 1. Remove the extension, and $U if already installed.
19925 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
19926 ac_i
=`echo "$ac_i" | sed "$ac_script"`
19927 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19928 # will be set to the directory where LIBOBJS objects are built.
19929 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19930 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
19932 LIBOBJS
=$ac_libobjs
19934 LTLIBOBJS
=$ac_ltlibobjs
19937 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19938 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
19939 Usually this means the macro was only invoked conditionally." >&5
19940 echo "$as_me: error: conditional \"AMDEP\" was never defined.
19941 Usually this means the macro was only invoked conditionally." >&2;}
19942 { (exit 1); exit 1; }; }
19944 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19945 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
19946 Usually this means the macro was only invoked conditionally." >&5
19947 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
19948 Usually this means the macro was only invoked conditionally." >&2;}
19949 { (exit 1); exit 1; }; }
19951 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19952 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
19953 Usually this means the macro was only invoked conditionally." >&5
19954 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
19955 Usually this means the macro was only invoked conditionally." >&2;}
19956 { (exit 1); exit 1; }; }
19959 : ${CONFIG_STATUS=./config.status}
19960 ac_clean_files_save
=$ac_clean_files
19961 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
19962 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
19963 echo "$as_me: creating $CONFIG_STATUS" >&6;}
19964 cat >$CONFIG_STATUS <<_ACEOF
19966 # Generated by $as_me.
19967 # Run this file to recreate the current configuration.
19968 # Compiler output produced by configure, useful for debugging
19969 # configure, is in config.log if it exists.
19972 ac_cs_recheck=false
19974 SHELL=\${CONFIG_SHELL-$SHELL}
19977 cat >>$CONFIG_STATUS <<\_ACEOF
19978 ## --------------------- ##
19979 ## M4sh Initialization. ##
19980 ## --------------------- ##
19982 # Be more Bourne compatible
19983 DUALCASE
=1; export DUALCASE
# for MKS sh
19984 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19987 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19988 # is contrary to our usage. Disable this feature.
19989 alias -g '${1+"$@"}'='"$@"'
19990 setopt NO_GLOB_SUBST
19992 case `(set -o) 2>/dev/null` in
19993 *posix
*) set -o posix
;;
20002 # Avoid depending upon Character Ranges.
20003 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
20004 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20005 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
20006 as_cr_digits
='0123456789'
20007 as_cr_alnum
=$as_cr_Letters$as_cr_digits
20009 # The user is always right.
20010 if test "${PATH_SEPARATOR+set}" != set; then
20011 echo "#! /bin/sh" >conf$$.sh
20012 echo "exit 0" >>conf$$.sh
20014 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
20022 # Support unset when possible.
20023 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
20031 # We need space, tab and new line, in precisely that order. Quoting is
20032 # there to prevent editors from complaining about space-tab.
20033 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20034 # splitting by setting IFS to empty value.)
20039 # Find who we are. Look in the path if we contain no directory separator.
20041 *[\\/]* ) as_myself
=$0 ;;
20042 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20043 for as_dir
in $PATH
20046 test -z "$as_dir" && as_dir
=.
20047 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
20053 # We did not find ourselves, most probably we were run as `sh COMMAND'
20054 # in which case we are not to be found in the path.
20055 if test "x$as_myself" = x
; then
20058 if test ! -f "$as_myself"; then
20059 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20060 { (exit 1); exit 1; }
20063 # Work around bugs in pre-3.0 UWIN ksh.
20064 for as_var
in ENV MAIL MAILPATH
20065 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
20073 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20074 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20075 LC_TELEPHONE LC_TIME
20077 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20078 eval $as_var=C
; export $as_var
20080 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
20084 # Required to use basename.
20085 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
20086 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
20092 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20093 as_basename
=basename
20099 # Name of the executable.
20100 as_me
=`$as_basename -- "$0" ||
20101 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20102 X"$0" : 'X\(//\)$' \| \
20103 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20105 sed '/^.*\/\([^/][^/]*\)\/*$/{
20124 as_lineno_1
=$LINENO
20125 as_lineno_2
=$LINENO
20126 test "x$as_lineno_1" != "x$as_lineno_2" &&
20127 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
20129 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20130 # uniformly replaced by the line number. The first 'sed' inserts a
20131 # line-number line after each line using $LINENO; the second 'sed'
20132 # does the real work. The second script uses 'N' to pair each
20133 # line-number line with the line containing $LINENO, and appends
20134 # trailing '-' during substitution so that $LINENO is not a special
20135 # case at line end.
20136 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20137 # scripts with optimization help from Paolo Bonzini. Blame Lee
20138 # E. McMahon (1931-1989) for sed's syntax. :-)
20150 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
20153 ' >$as_me.lineno
&&
20154 chmod +x
"$as_me.lineno" ||
20155 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
20156 { (exit 1); exit 1; }; }
20158 # Don't try to exec as it changes $[0], causing all sort of problems
20159 # (the dirname of $[0] is not the place where we might find the
20160 # original and so on. Autoconf is especially sensitive to this).
20161 .
"./$as_me.lineno"
20162 # Exit status is that of the last command.
20167 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
20173 ECHO_C
= ECHO_N
= ECHO_T
=
20174 case `echo -n x` in
20176 case `echo 'x\c'` in
20177 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
20184 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
20185 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
20191 rm -f conf$$ conf$$.exe conf$$.
file
20192 if test -d conf$$.dir
; then
20193 rm -f conf$$.dir
/conf$$.
file
20199 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
20201 # ... but there are two gotchas:
20202 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20203 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20204 # In both cases, we have to default to `cp -p'.
20205 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
20207 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20212 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
20213 rmdir conf$$.dir
2>/dev
/null
20215 if mkdir
-p .
2>/dev
/null
; then
20218 test -d .
/-p && rmdir .
/-p
20222 if test -x / >/dev
/null
2>&1; then
20223 as_test_x
='test -x'
20225 if ls -dL / >/dev
/null
2>&1; then
20232 if test -d "$1"; then
20238 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
20239 ???[sx]*):;;*)false;;esac;fi
20243 as_executable_p
=$as_test_x
20245 # Sed expression to map a string onto a valid CPP name.
20246 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20248 # Sed expression to map a string onto a valid variable name.
20249 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20254 # Save the log message, to keep $[0] and so on meaningful, and to
20255 # report actual input values of CONFIG_FILES etc. instead of their
20256 # values after options handling.
20258 This file was extended by libhmac $as_me 1.00, which was
20259 generated by GNU Autoconf 2.61. Invocation command line was
20261 CONFIG_FILES = $CONFIG_FILES
20262 CONFIG_HEADERS = $CONFIG_HEADERS
20263 CONFIG_LINKS = $CONFIG_LINKS
20264 CONFIG_COMMANDS = $CONFIG_COMMANDS
20267 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20272 cat >>$CONFIG_STATUS <<_ACEOF
20273 # Files that config.status was made for.
20274 config_files="$ac_config_files"
20275 config_headers="$ac_config_headers"
20276 config_commands="$ac_config_commands"
20280 cat >>$CONFIG_STATUS <<\_ACEOF
20282 \`$as_me' instantiates files from templates according to the
20283 current configuration.
20285 Usage: $0 [OPTIONS] [FILE]...
20287 -h, --help print this help, then exit
20288 -V, --version print version number and configuration settings, then exit
20289 -q, --quiet do not print progress messages
20290 -d, --debug don't remove temporary files
20291 --recheck update $as_me by reconfiguring in the same conditions
20292 --file=FILE[:TEMPLATE]
20293 instantiate the configuration file FILE
20294 --header=FILE[:TEMPLATE]
20295 instantiate the configuration header FILE
20297 Configuration files:
20300 Configuration headers:
20303 Configuration commands:
20306 Report bugs to <bug-autoconf@gnu.org>."
20309 cat >>$CONFIG_STATUS <<_ACEOF
20311 libhmac config.status 1.00
20312 configured by $0, generated by GNU Autoconf 2.61,
20313 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
20315 Copyright (C) 2006 Free Software Foundation, Inc.
20316 This config.status script is free software; the Free Software Foundation
20317 gives unlimited permission to copy, distribute and modify it."
20325 cat >>$CONFIG_STATUS <<\_ACEOF
20326 # If no file are specified by the user, then we need to provide default
20327 # value. By we need to know if files were specified by the user.
20333 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20334 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
20345 # Handling of the options.
20346 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
20348 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
20349 echo "$ac_cs_version"; exit ;;
20350 --debug |
--debu |
--deb |
--de |
--d |
-d )
20352 --file |
--fil |
--fi |
--f )
20354 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
20355 ac_need_defaults
=false
;;
20356 --header |
--heade |
--head |
--hea )
20358 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
20359 ac_need_defaults
=false
;;
20361 # Conflict between --help and --header
20362 { echo "$as_me: error: ambiguous option: $1
20363 Try \`$0 --help' for more information." >&2
20364 { (exit 1); exit 1; }; };;
20365 --help |
--hel |
-h )
20366 echo "$ac_cs_usage"; exit ;;
20367 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
20368 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
20371 # This is an error.
20372 -*) { echo "$as_me: error: unrecognized option: $1
20373 Try \`$0 --help' for more information." >&2
20374 { (exit 1); exit 1; }; } ;;
20376 *) ac_config_targets
="$ac_config_targets $1"
20377 ac_need_defaults
=false
;;
20383 ac_configure_extra_args
=
20385 if $ac_cs_silent; then
20387 ac_configure_extra_args
="$ac_configure_extra_args --silent"
20391 cat >>$CONFIG_STATUS <<_ACEOF
20392 if \$ac_cs_recheck; then
20393 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
20394 CONFIG_SHELL=$SHELL
20395 export CONFIG_SHELL
20396 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20400 cat >>$CONFIG_STATUS <<\_ACEOF
20404 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20405 ## Running $as_me. ##
20411 cat >>$CONFIG_STATUS <<_ACEOF
20415 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20419 cat >>$CONFIG_STATUS <<\_ACEOF
20421 # Handling of arguments.
20422 for ac_config_target
in $ac_config_targets
20424 case $ac_config_target in
20425 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
20426 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
20427 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
20429 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
20430 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
20431 { (exit 1); exit 1; }; };;
20436 # If the user did not use the arguments to specify the items to instantiate,
20437 # then the envvar interface is used. Set only those that are not.
20438 # We use the long form for the default assignment because of an extremely
20439 # bizarre bug on SunOS 4.1.3.
20440 if $ac_need_defaults; then
20441 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
20442 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
20443 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
20446 # Have a temporary directory for convenience. Make it in the build tree
20447 # simply because there is no reason against having it here, and in addition,
20448 # creating and moving files from /tmp can sometimes cause problems.
20449 # Hook for its removal unless debugging.
20450 # Note that there is a small window in which the directory will not be cleaned:
20451 # after its creation but before its name has been assigned to `$tmp'.
20455 trap 'exit_status=$?
20456 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
20458 trap '{ (exit 1); exit 1; }' 1 2 13 15
20460 # Create a (secure) tmp directory for tmp files.
20463 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20464 test -n "$tmp" && test -d "$tmp"
20467 tmp
=.
/conf$$
-$RANDOM
20468 (umask 077 && mkdir
"$tmp")
20471 echo "$me: cannot create a temporary directory in ." >&2
20472 { (exit 1); exit 1; }
20476 # Set up the sed scripts for CONFIG_FILES section.
20479 # No need to generate the scripts if there are no CONFIG_FILES.
20480 # This happens for instance when ./config.status config.h
20481 if test -n "$CONFIG_FILES"; then
20488 for ac_last_try
in false false false false false
:; do
20489 cat >conf$
$subs.
sed <<_ACEOF
20490 SHELL!$SHELL$ac_delim
20491 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
20492 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
20493 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
20494 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
20495 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
20496 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
20497 exec_prefix!$exec_prefix$ac_delim
20498 prefix!$prefix$ac_delim
20499 program_transform_name!$program_transform_name$ac_delim
20500 bindir!$bindir$ac_delim
20501 sbindir!$sbindir$ac_delim
20502 libexecdir!$libexecdir$ac_delim
20503 datarootdir!$datarootdir$ac_delim
20504 datadir!$datadir$ac_delim
20505 sysconfdir!$sysconfdir$ac_delim
20506 sharedstatedir!$sharedstatedir$ac_delim
20507 localstatedir!$localstatedir$ac_delim
20508 includedir!$includedir$ac_delim
20509 oldincludedir!$oldincludedir$ac_delim
20510 docdir!$docdir$ac_delim
20511 infodir!$infodir$ac_delim
20512 htmldir!$htmldir$ac_delim
20513 dvidir!$dvidir$ac_delim
20514 pdfdir!$pdfdir$ac_delim
20515 psdir!$psdir$ac_delim
20516 libdir!$libdir$ac_delim
20517 localedir!$localedir$ac_delim
20518 mandir!$mandir$ac_delim
20519 DEFS!$DEFS$ac_delim
20520 ECHO_C!$ECHO_C$ac_delim
20521 ECHO_N!$ECHO_N$ac_delim
20522 ECHO_T!$ECHO_T$ac_delim
20523 LIBS!$LIBS$ac_delim
20524 build_alias!$build_alias$ac_delim
20525 host_alias!$host_alias$ac_delim
20526 target_alias!$target_alias$ac_delim
20527 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
20528 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
20529 INSTALL_DATA!$INSTALL_DATA$ac_delim
20530 am__isrc!$am__isrc$ac_delim
20531 CYGPATH_W!$CYGPATH_W$ac_delim
20532 PACKAGE!$PACKAGE$ac_delim
20533 VERSION!$VERSION$ac_delim
20534 ACLOCAL!$ACLOCAL$ac_delim
20535 AUTOCONF!$AUTOCONF$ac_delim
20536 AUTOMAKE!$AUTOMAKE$ac_delim
20537 AUTOHEADER!$AUTOHEADER$ac_delim
20538 MAKEINFO!$MAKEINFO$ac_delim
20539 install_sh!$install_sh$ac_delim
20540 STRIP!$STRIP$ac_delim
20541 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
20542 mkdir_p!$mkdir_p$ac_delim
20544 SET_MAKE!$SET_MAKE$ac_delim
20545 am__leading_dot!$am__leading_dot$ac_delim
20546 AMTAR!$AMTAR$ac_delim
20547 am__tar!$am__tar$ac_delim
20548 am__untar!$am__untar$ac_delim
20549 LN_S!$LN_S$ac_delim
20551 CFLAGS!$CFLAGS$ac_delim
20552 LDFLAGS!$LDFLAGS$ac_delim
20553 CPPFLAGS!$CPPFLAGS$ac_delim
20554 ac_ct_CC!$ac_ct_CC$ac_delim
20555 EXEEXT!$EXEEXT$ac_delim
20556 OBJEXT!$OBJEXT$ac_delim
20557 DEPDIR!$DEPDIR$ac_delim
20558 am__include!$am__include$ac_delim
20559 am__quote!$am__quote$ac_delim
20560 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
20561 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
20562 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
20563 CCDEPMODE!$CCDEPMODE$ac_delim
20564 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
20565 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
20566 build!$build$ac_delim
20567 build_cpu!$build_cpu$ac_delim
20568 build_vendor!$build_vendor$ac_delim
20569 build_os!$build_os$ac_delim
20570 host!$host$ac_delim
20571 host_cpu!$host_cpu$ac_delim
20572 host_vendor!$host_vendor$ac_delim
20573 host_os!$host_os$ac_delim
20575 GREP!$GREP$ac_delim
20576 EGREP!$EGREP$ac_delim
20577 ECHO!$ECHO$ac_delim
20579 RANLIB!$RANLIB$ac_delim
20582 CXXFLAGS!$CXXFLAGS$ac_delim
20583 ac_ct_CXX!$ac_ct_CXX$ac_delim
20584 CXXDEPMODE!$CXXDEPMODE$ac_delim
20585 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
20586 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
20589 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
20591 elif $ac_last_try; then
20592 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
20593 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
20594 { (exit 1); exit 1; }; }
20596 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
20600 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
20601 if test -n "$ac_eof"; then
20602 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
20603 ac_eof
=`expr $ac_eof + 1`
20606 cat >>$CONFIG_STATUS <<_ACEOF
20607 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
20608 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20611 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
20612 s/^/s,@/; s/!/@,|#_!!_#|/
20615 s/'"$ac_delim"'$/,g/; t
20617 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
20618 ' >>$CONFIG_STATUS <conf$
$subs.
sed
20619 rm -f conf$
$subs.
sed
20620 cat >>$CONFIG_STATUS <<_ACEOF
20626 for ac_last_try
in false false false false false
:; do
20627 cat >conf$
$subs.
sed <<_ACEOF
20628 CXXCPP!$CXXCPP$ac_delim
20630 FFLAGS!$FFLAGS$ac_delim
20631 ac_ct_F77!$ac_ct_F77$ac_delim
20632 LIBTOOL!$LIBTOOL$ac_delim
20633 hashlibs!$hashlibs$ac_delim
20634 TESTPROGS!$TESTPROGS$ac_delim
20635 LIBOBJS!$LIBOBJS$ac_delim
20636 LTLIBOBJS!$LTLIBOBJS$ac_delim
20639 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 9; 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-2.sed" <<\CEOF$ac_eof
20658 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
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
20677 # VPATH may cause trouble with some makes, so we remove $(srcdir),
20678 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
20679 # trailing colons and then remove the whole line if VPATH becomes empty
20680 # (actually we leave an empty line to preserve line numbers).
20681 if test "x$srcdir" = x.
; then
20682 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
20683 s/:*\$(srcdir):*/:/
20684 s/:*\${srcdir}:*/:/
20686 s/^\([^=]*=[ ]*\):*/\1/
20692 cat >>$CONFIG_STATUS <<\_ACEOF
20693 fi # test -n "$CONFIG_FILES"
20696 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
20699 :[FHLC
]) ac_mode
=$ac_tag; continue;;
20701 case $ac_mode$ac_tag in
20703 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
20704 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
20705 { (exit 1); exit 1; }; };;
20706 :[FH
]-) ac_tag
=-:-;;
20707 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
20724 -) ac_f
="$tmp/stdin";;
20725 *) # Look for the file first in the build tree, then in the source tree
20726 # (if the path is not absolute). The absolute path cannot be DOS-style,
20727 # because $ac_f cannot contain `:'.
20731 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
20733 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
20734 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
20735 { (exit 1); exit 1; }; };;
20737 ac_file_inputs
="$ac_file_inputs $ac_f"
20740 # Let's still pretend it is `configure' which instantiates (i.e., don't
20741 # use $as_me), people would be surprised to read:
20742 # /* config.h. Generated by config.status. */
20743 configure_input
="Generated from "`IFS=:
20744 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
20745 if test x
"$ac_file" != x-
; then
20746 configure_input
="$ac_file. $configure_input"
20747 { echo "$as_me:$LINENO: creating $ac_file" >&5
20748 echo "$as_me: creating $ac_file" >&6;}
20752 *:-:* |
*:-) cat >"$tmp/stdin";;
20757 ac_dir
=`$as_dirname -- "$ac_file" ||
20758 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20759 X"$ac_file" : 'X\(//\)[^/]' \| \
20760 X"$ac_file" : 'X\(//\)$' \| \
20761 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20763 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20767 /^X\(\/\/\)[^/].*/{
20782 -*) as_dir
=.
/$as_dir;;
20784 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
20788 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
20789 *) as_qdir
=$as_dir;;
20791 as_dirs
="'$as_qdir' $as_dirs"
20792 as_dir
=`$as_dirname -- "$as_dir" ||
20793 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20794 X"$as_dir" : 'X\(//\)[^/]' \| \
20795 X"$as_dir" : 'X\(//\)$' \| \
20796 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20798 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20802 /^X\(\/\/\)[^/].*/{
20815 test -d "$as_dir" && break
20817 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
20818 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
20819 echo "$as_me: error: cannot create directory $as_dir" >&2;}
20820 { (exit 1); exit 1; }; }; }
20824 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
20826 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
20827 # A ".." for each directory in $ac_dir_suffix.
20828 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
20829 case $ac_top_builddir_sub in
20830 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
20831 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
20834 ac_abs_top_builddir
=$ac_pwd
20835 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
20836 # for backward compatibility:
20837 ac_top_builddir
=$ac_top_build_prefix
20840 .
) # We are building in place.
20842 ac_top_srcdir
=$ac_top_builddir_sub
20843 ac_abs_top_srcdir
=$ac_pwd ;;
20844 [\\/]* | ?
:[\\/]* ) # Absolute name.
20845 ac_srcdir
=$srcdir$ac_dir_suffix;
20846 ac_top_srcdir
=$srcdir
20847 ac_abs_top_srcdir
=$srcdir ;;
20848 *) # Relative name.
20849 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
20850 ac_top_srcdir
=$ac_top_build_prefix$srcdir
20851 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
20853 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
20863 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
20864 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
20866 ac_MKDIR_P
=$MKDIR_P
20868 [\\/$
]* | ?
:[\\/]* ) ;;
20869 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
20873 cat >>$CONFIG_STATUS <<\_ACEOF
20874 # If the template does not know about datarootdir, expand it.
20875 # FIXME: This hack should be removed a few years after 2.60.
20876 ac_datarootdir_hack
=; ac_datarootdir_seen
=
20878 case `sed -n '/datarootdir/ {
20887 ' $ac_file_inputs` in
20888 *datarootdir
*) ac_datarootdir_seen
=yes;;
20889 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
20890 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20891 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20893 cat >>$CONFIG_STATUS <<_ACEOF
20894 ac_datarootdir_hack='
20895 s&@datadir@&$datadir&g
20896 s&@docdir@&$docdir&g
20897 s&@infodir@&$infodir&g
20898 s&@localedir@&$localedir&g
20899 s&@mandir@&$mandir&g
20900 s&\\\${datarootdir}&$datarootdir&g' ;;
20904 # Neutralize VPATH when `$srcdir' = `.'.
20905 # Shell code in configure.ac might set extrasub.
20906 # FIXME: do we really want to maintain this feature?
20907 cat >>$CONFIG_STATUS <<_ACEOF
20911 cat >>$CONFIG_STATUS <<\_ACEOF
20913 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
20914 s
&@configure_input@
&$configure_input&;t t
20915 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
20916 s
&@srcdir@
&$ac_srcdir&;t t
20917 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
20918 s
&@top_srcdir@
&$ac_top_srcdir&;t t
20919 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
20920 s
&@builddir@
&$ac_builddir&;t t
20921 s
&@abs_builddir@
&$ac_abs_builddir&;t t
20922 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
20923 s
&@INSTALL@
&$ac_INSTALL&;t t
20924 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
20925 $ac_datarootdir_hack
20926 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
20928 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20929 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
20930 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
20931 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
20932 which seems to be undefined. Please make sure it is defined." >&5
20933 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
20934 which seems to be undefined. Please make sure it is defined." >&2;}
20938 -) cat "$tmp/out"; rm -f "$tmp/out";;
20939 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
20948 # Transform confdefs.h into a sed script `conftest.defines', that
20949 # substitutes the proper values into config.h.in to produce config.h.
20950 rm -f conftest.defines conftest.
tail
20951 # First, append a space to every undef/define line, to ease matching.
20952 echo 's/$/ /' >conftest.defines
20953 # Then, protect against being on the right side of a sed subst, or in
20954 # an unquoted here document, in config.status. If some macros were
20955 # called several times there might be several #defines for the same
20956 # symbol, which is useless. But do not sort them, since the last
20957 # AC_DEFINE must be honored.
20958 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
20959 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
20960 # NAME is the cpp macro being defined, VALUE is the value it is being given.
20961 # PARAMS is the parameter list in the macro definition--in most cases, it's
20962 # just an empty string.
20963 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
20964 ac_dB
='\\)[ (].*,\\1define\\2'
20972 s/^[ ]*#[ ]*define[ ][ ]*//
20977 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
20978 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
20979 ' >>conftest.defines
20981 # Remove the space that was appended to ease matching.
20982 # Then replace #undef with comments. This is necessary, for
20983 # example, in the case of _POSIX_SOURCE, which is predefined and required
20984 # on some systems where configure will not decide to define it.
20985 # (The regexp can be short, since the line contains either #define or #undef.)
20987 s,^[ #]*u.*,/* & */,' >>conftest.defines
20989 # Break up conftest.defines:
20990 ac_max_sed_lines
=50
20992 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
20993 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
20994 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
20996 ac_in
='$ac_file_inputs'
20997 ac_out
='"$tmp/out1"'
20998 ac_nxt
='"$tmp/out2"'
21002 # Write a here document:
21003 cat >>$CONFIG_STATUS <<_ACEOF
21004 # First, check the format of the line:
21005 cat >"\$tmp/defines.sed" <<\\CEOF
21006 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
21007 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
21011 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
21013 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
21014 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
21015 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
21016 grep . conftest.
tail >/dev
/null ||
break
21017 rm -f conftest.defines
21018 mv conftest.
tail conftest.defines
21020 rm -f conftest.defines conftest.
tail
21022 echo "ac_result=$ac_in" >>$CONFIG_STATUS
21023 cat >>$CONFIG_STATUS <<\_ACEOF
21024 if test x
"$ac_file" != x-
; then
21025 echo "/* $configure_input */" >"$tmp/config.h"
21026 cat "$ac_result" >>"$tmp/config.h"
21027 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
21028 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21029 echo "$as_me: $ac_file is unchanged" >&6;}
21032 mv "$tmp/config.h" $ac_file
21035 echo "/* $configure_input */"
21039 # Compute $ac_file's index in $config_headers.
21042 for _am_header
in $config_headers :; do
21043 case $_am_header in
21044 $_am_arg |
$_am_arg:* )
21047 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
21050 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
21051 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21052 X"$_am_arg" : 'X\(//\)[^/]' \| \
21053 X"$_am_arg" : 'X\(//\)$' \| \
21054 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
21056 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21060 /^X\(\/\/\)[^/].*/{
21072 s/.*/./; q'`/stamp-h
$_am_stamp_count
21075 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
21076 echo "$as_me: executing $ac_file commands" >&6;}
21081 case $ac_file$ac_mode in
21082 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
21083 # Strip MF so we end up with the name of the file.
21084 mf
=`echo "$mf" | sed -e 's/:.*$//'`
21085 # Check whether this is an Automake generated Makefile or not.
21086 # We used to match only the files named `Makefile.in', but
21087 # some people rename them; so instead we look at the file content.
21088 # Grep'ing the first line is not enough: some people post-process
21089 # each Makefile.in and add a new line on top of each file to say so.
21090 # Grep'ing the whole file is not good either: AIX grep has a line
21091 # limit of 2048, but all sed's we know have understand at least 4000.
21092 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
21093 dirpart
=`$as_dirname -- "$mf" ||
21094 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21095 X"$mf" : 'X\(//\)[^/]' \| \
21096 X"$mf" : 'X\(//\)$' \| \
21097 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
21099 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21103 /^X\(\/\/\)[^/].*/{
21119 # Extract the definition of DEPDIR, am__include, and am__quote
21120 # from the Makefile without running `make'.
21121 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
21122 test -z "$DEPDIR" && continue
21123 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
21124 test -z "am__include" && continue
21125 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
21126 # When using ansi2knr, U may be empty or an underscore; expand it
21127 U
=`sed -n 's/^U = //p' < "$mf"`
21128 # Find all dependency output files, they are included files with
21129 # $(DEPDIR) in their names. We invoke sed twice because it is the
21130 # simplest approach to changing $(DEPDIR) to its actual value in the
21132 for file in `sed -n "
21133 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21134 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21135 # Make sure the directory exists.
21136 test -f "$dirpart/$file" && continue
21137 fdir
=`$as_dirname -- "$file" ||
21138 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21139 X"$file" : 'X\(//\)[^/]' \| \
21140 X"$file" : 'X\(//\)$' \| \
21141 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21143 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21147 /^X\(\/\/\)[^/].*/{
21160 { as_dir
=$dirpart/$fdir
21162 -*) as_dir
=.
/$as_dir;;
21164 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
21168 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
21169 *) as_qdir
=$as_dir;;
21171 as_dirs
="'$as_qdir' $as_dirs"
21172 as_dir
=`$as_dirname -- "$as_dir" ||
21173 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21174 X"$as_dir" : 'X\(//\)[^/]' \| \
21175 X"$as_dir" : 'X\(//\)$' \| \
21176 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21178 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21182 /^X\(\/\/\)[^/].*/{
21195 test -d "$as_dir" && break
21197 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
21198 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
21199 echo "$as_me: error: cannot create directory $as_dir" >&2;}
21200 { (exit 1); exit 1; }; }; }
21201 # echo "creating $dirpart/$file"
21202 echo '# dummy' > "$dirpart/$file"
21211 { (exit 0); exit 0; }
21213 chmod +x
$CONFIG_STATUS
21214 ac_clean_files
=$ac_clean_files_save
21217 # configure is writing to config.log, and then calls config.status.
21218 # config.status does its own redirection, appending to config.log.
21219 # Unfortunately, on DOS this fails, as config.log is still kept open
21220 # by configure, so config.status won't be able to write to it; its
21221 # output is simply discarded. So we exec the FD to /dev/null,
21222 # effectively closing config.log, so it can be properly (re)opened and
21223 # appended to by config.status. When coming back to configure, we
21224 # need to make the FD available again.
21225 if test "$no_create" != yes; then
21227 ac_config_status_args
=
21228 test "$silent" = yes &&
21229 ac_config_status_args
="$ac_config_status_args --quiet"
21231 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
21233 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21234 # would make configure fail if this is the last instruction.
21235 $ac_cs_success ||
{ (exit 1); exit 1; }