2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for libmd5 1.21.
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
='libmd5'
730 PACKAGE_TARNAME
='libmd5'
731 PACKAGE_VERSION
='1.21'
732 PACKAGE_STRING
='libmd5 1.21'
733 PACKAGE_BUGREPORT
='courier-users@lists.sourceforge.net'
735 ac_unique_file
="hmac.c"
736 # Factoring default headers for most tests.
737 ac_includes_default
="\
739 #ifdef HAVE_SYS_TYPES_H
740 # include <sys/types.h>
742 #ifdef HAVE_SYS_STAT_H
743 # include <sys/stat.h>
749 # ifdef HAVE_STDLIB_H
754 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
759 #ifdef HAVE_STRINGS_H
760 # include <strings.h>
762 #ifdef HAVE_INTTYPES_H
763 # include <inttypes.h>
781 program_transform_name
823 INSTALL_STRIP_PROGRAM
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 libmd5 1.21 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/libmd5]
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 libmd5 1.21:";;
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
]
1488 --with-int32='type' use
'type' for an unsigned
32 bit integer
type
1489 ( default is
'unsigned')
1491 Some influential environment variables
:
1492 CC C compiler
command
1493 CFLAGS C compiler flags
1494 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1495 nonstandard directory
<lib dir
>
1496 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1497 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1498 you have headers
in a nonstandard directory
<include dir
>
1500 CXX C
++ compiler
command
1501 CXXFLAGS C
++ compiler flags
1502 CXXCPP C
++ preprocessor
1503 F77 Fortran
77 compiler
command
1504 FFLAGS Fortran
77 compiler flags
1506 Use these variables to override the choices made by
`configure' or to help
1507 it to find libraries and programs with nonstandard names/locations.
1509 Report bugs to <courier-users@lists.sourceforge.net>.
1514 if test "$ac_init_help" = "recursive"; then
1515 # If there are subdirs, report their specific --help.
1516 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1517 test -d "$ac_dir" || continue
1521 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1523 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1524 # A ".." for each directory in $ac_dir_suffix.
1525 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1526 case $ac_top_builddir_sub in
1527 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1528 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1531 ac_abs_top_builddir=$ac_pwd
1532 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1533 # for backward compatibility:
1534 ac_top_builddir=$ac_top_build_prefix
1537 .) # We are building in place.
1539 ac_top_srcdir=$ac_top_builddir_sub
1540 ac_abs_top_srcdir=$ac_pwd ;;
1541 [\\/]* | ?:[\\/]* ) # Absolute name.
1542 ac_srcdir=$srcdir$ac_dir_suffix;
1543 ac_top_srcdir=$srcdir
1544 ac_abs_top_srcdir=$srcdir ;;
1546 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1547 ac_top_srcdir=$ac_top_build_prefix$srcdir
1548 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1550 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1552 cd "$ac_dir" || { ac_status=$?; continue; }
1553 # Check for guested configure.
1554 if test -f "$ac_srcdir/configure.gnu"; then
1556 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1557 elif test -f "$ac_srcdir/configure"; then
1559 $SHELL "$ac_srcdir/configure" --help=recursive
1561 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1563 cd "$ac_pwd" || { ac_status=$?; break; }
1567 test -n "$ac_init_help" && exit $ac_status
1568 if $ac_init_version; then
1570 libmd5 configure 1.21
1571 generated by GNU Autoconf 2.61
1573 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1574 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1575 This configure script is free software; the Free Software Foundation
1576 gives unlimited permission to copy, distribute and modify it.
1580 cat >config.log <<_ACEOF
1581 This file contains any messages produced by compilers while
1582 running configure, to aid debugging if configure makes a mistake.
1584 It was created by libmd5 $as_me 1.21, which was
1585 generated by GNU Autoconf 2.61. Invocation command line was
1597 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1598 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1599 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1600 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1601 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1603 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1604 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1606 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1607 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1608 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1609 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1610 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1611 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1612 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1620 test -z "$as_dir" && as_dir=.
1621 echo "PATH: $as_dir"
1637 # Keep a trace of the command line.
1638 # Strip out --no-create and --no-recursion so they do not pile up.
1639 # Strip out --silent because we don't want to record it for future runs.
1640 # Also quote any args containing shell meta-characters.
1641 # Make two passes to allow for proper duplicate-argument suppression.
1645 ac_must_keep_next=false
1651 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1652 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1653 | -silent | --silent | --silen | --sile | --sil)
1656 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1659 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1661 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1662 if test $ac_must_keep_next = true; then
1663 ac_must_keep_next=false # Got value, back to normal.
1666 *=* | --config-cache | -C | -disable-* | --disable-* \
1667 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1668 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1669 | -with-* | --with-* | -without-* | --without-* | --x)
1670 case "$ac_configure_args0 " in
1671 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1674 -* ) ac_must_keep_next=true ;;
1677 ac_configure_args="$ac_configure_args '$ac_arg'"
1682 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1683 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1685 # When interrupted or exit'd, cleanup temporary files, and complete
1686 # config.log. We remove comments because anyway the quotes in there
1687 # would cause problems or look ugly.
1688 # WARNING: Use '\'' to represent an apostrophe within the trap.
1689 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1690 trap 'exit_status=$?
1691 # Save into config.log some information that might help in debugging.
1696 ## ---------------- ##
1697 ## Cache variables. ##
1698 ## ---------------- ##
1701 # The following way of writing the cache mishandles newlines in values,
1703 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1704 eval ac_val=\$$ac_var
1708 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1709 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1712 _ | IFS | as_nl) ;; #(
1713 *) $as_unset $ac_var ;;
1718 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1719 *${as_nl}ac_space=\ *)
1721 "s/'\''/'\''\\\\'\'''\''/g;
1722 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1725 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1733 ## ----------------- ##
1734 ## Output variables. ##
1735 ## ----------------- ##
1738 for ac_var in $ac_subst_vars
1740 eval ac_val=\$$ac_var
1742 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1744 echo "$ac_var='\''$ac_val'\''"
1748 if test -n "$ac_subst_files"; then
1750 ## ------------------- ##
1751 ## File substitutions. ##
1752 ## ------------------- ##
1755 for ac_var in $ac_subst_files
1757 eval ac_val=\$$ac_var
1759 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1761 echo "$ac_var='\''$ac_val'\''"
1766 if test -s confdefs.h; then
1776 test "$ac_signal" != 0 &&
1777 echo "$as_me: caught signal $ac_signal"
1778 echo "$as_me: exit $exit_status"
1780 rm -f core *.core core.conftest.* &&
1781 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1784 for ac_signal in 1 2 13 15; do
1785 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1789 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1790 rm -f -r conftest* confdefs.h
1792 # Predefined preprocessor variables.
1794 cat >>confdefs.h <<_ACEOF
1795 #define PACKAGE_NAME "$PACKAGE_NAME"
1799 cat >>confdefs.h <<_ACEOF
1800 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1804 cat >>confdefs.h <<_ACEOF
1805 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1809 cat >>confdefs.h <<_ACEOF
1810 #define PACKAGE_STRING "$PACKAGE_STRING"
1814 cat >>confdefs.h <<_ACEOF
1815 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1819 # Let the site file select an alternate cache file if it wants to.
1820 # Prefer explicitly selected file to automatically selected ones.
1821 if test -n "$CONFIG_SITE"; then
1822 set x "$CONFIG_SITE"
1823 elif test "x$prefix" != xNONE; then
1824 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1826 set x "$ac_default_prefix/share/config.site" \
1827 "$ac_default_prefix/etc/config.site"
1832 if test -r "$ac_site_file"; then
1833 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1834 echo "$as_me: loading site script $ac_site_file" >&6;}
1835 sed 's/^/| /' "$ac_site_file" >&5
1840 if test -r "$cache_file"; then
1841 # Some versions of bash will fail to source /dev/null (special
1842 # files actually), so we avoid doing that.
1843 if test -f "$cache_file"; then
1844 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1845 echo "$as_me: loading cache $cache_file" >&6;}
1847 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1848 *) . "./$cache_file";;
1852 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1853 echo "$as_me: creating cache $cache_file" >&6;}
1857 # Check that the precious variables saved in the cache have kept the same
1859 ac_cache_corrupted=false
1860 for ac_var in $ac_precious_vars; do
1861 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1862 eval ac_new_set=\$ac_env_${ac_var}_set
1863 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1864 eval ac_new_val=\$ac_env_${ac_var}_value
1865 case $ac_old_set,$ac_new_set in
1867 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1868 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1869 ac_cache_corrupted=: ;;
1871 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1872 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1873 ac_cache_corrupted=: ;;
1876 if test "x$ac_old_val" != "x$ac_new_val"; then
1877 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1878 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1879 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1880 echo "$as_me: former value
: $ac_old_val" >&2;}
1881 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1882 echo "$as_me: current value
: $ac_new_val" >&2;}
1883 ac_cache_corrupted=:
1886 # Pass precious variables to config.status.
1887 if test "$ac_new_set" = set; then
1889 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1890 *) ac_arg=$ac_var=$ac_new_val ;;
1892 case " $ac_configure_args " in
1893 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1894 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1898 if $ac_cache_corrupted; then
1899 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1900 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1901 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1902 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1903 { (exit 1); exit 1; }; }
1931 ac_cpp='$CPP $CPPFLAGS'
1932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1938 >confdefs.h # Kill PACKAGE_ macros
1941 ac_config_headers="$ac_config_headers config.h"
1943 am__api_version='1.10'
1946 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1947 if test -f "$ac_dir/install-sh"; then
1949 ac_install_sh="$ac_aux_dir/install-sh -c"
1951 elif test -f "$ac_dir/install.sh"; then
1953 ac_install_sh="$ac_aux_dir/install.sh -c"
1955 elif test -f "$ac_dir/shtool"; then
1957 ac_install_sh="$ac_aux_dir/shtool install -c"
1961 if test -z "$ac_aux_dir"; then
1962 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1963 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1964 { (exit 1); exit 1; }; }
1967 # These three variables are undocumented and unsupported,
1968 # and are intended to be withdrawn in a future Autoconf release.
1969 # They can cause serious problems if a builder's source tree is in a directory
1970 # whose full name contains unusual characters.
1971 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1972 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1973 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1976 # Find a good install program. We prefer a C program (faster),
1977 # so one script is as good as another. But avoid the broken or
1978 # incompatible versions:
1979 # SysV /etc/install, /usr/sbin/install
1980 # SunOS /usr/etc/install
1981 # IRIX /sbin/install
1983 # AmigaOS /C/install, which installs bootblocks on floppy discs
1984 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1985 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1986 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1987 # OS/2's system install, which has a completely different semantic
1988 # ./install, which can be erroneously created by make from ./install.sh.
1989 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1990 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1991 if test -z "$INSTALL"; then
1992 if test "${ac_cv_path_install+set}" = set; then
1993 echo $ECHO_N "(cached) $ECHO_C" >&6
1995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1999 test -z "$as_dir" && as_dir=.
2000 # Account for people who put trailing slashes in PATH elements.
2002 ./ | .// | /cC/* | \
2003 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2004 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2007 # OSF1 and SCO ODT 3.0 have their own names for install.
2008 # Don't use installbsd from OSF since it installs stuff as root
2010 for ac_prog in ginstall scoinst install; do
2011 for ac_exec_ext in '' $ac_executable_extensions; do
2012 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2013 if test $ac_prog = install &&
2014 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2015 # AIX install. It has an incompatible calling convention.
2017 elif test $ac_prog = install &&
2018 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2019 # program-specific install script used by HP pwplus--don't use.
2022 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2035 if test "${ac_cv_path_install+set}" = set; then
2036 INSTALL=$ac_cv_path_install
2038 # As a last resort, use the slow shell script. Don't cache a
2039 # value for INSTALL within a source directory, because that will
2040 # break other packages using the cache if that directory is
2041 # removed, or if the value is a relative name.
2042 INSTALL=$ac_install_sh
2045 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2046 echo "${ECHO_T}$INSTALL" >&6; }
2048 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2049 # It thinks the first close brace ends the variable substitution.
2050 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2052 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2054 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2056 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2057 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2060 echo timestamp > conftest.file
2061 # Do `set' in a subshell so we don't clobber the current shell
's
2062 # arguments. Must try -L first in case configure is actually a
2063 # symlink; some systems play weird games with the mod time of symlinks
2064 # (eg FreeBSD returns the mod time of the symlink's containing
2067 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2068 if test "$*" = "X"; then
2070 set X
`ls -t $srcdir/configure conftest.file`
2073 if test "$*" != "X $srcdir/configure conftest.file" \
2074 && test "$*" != "X conftest.file $srcdir/configure"; then
2076 # If neither matched, then we have a broken ls. This can happen
2077 # if, for instance, CONFIG_SHELL is bash and it inherits a
2078 # broken ls alias from the environment. This has actually
2079 # happened. Such a system could not be considered "sane".
2080 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2081 alias in your environment" >&5
2082 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2083 alias in your environment" >&2;}
2084 { (exit 1); exit 1; }; }
2087 test "$2" = conftest.
file
2093 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2094 Check your system clock" >&5
2095 echo "$as_me: error: newly created file is older than distributed files!
2096 Check your system clock" >&2;}
2097 { (exit 1); exit 1; }; }
2099 { echo "$as_me:$LINENO: result: yes" >&5
2100 echo "${ECHO_T}yes" >&6; }
2101 test "$program_prefix" != NONE
&&
2102 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2103 # Use a double $ so make ignores it.
2104 test "$program_suffix" != NONE
&&
2105 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2106 # Double any \ or $. echo might interpret backslashes.
2107 # By default was `s,x,x', remove it if useless.
2108 cat <<\_ACEOF
>conftest.
sed
2109 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2111 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2114 # expand $ac_aux_dir to an absolute path
2115 am_aux_dir
=`cd $ac_aux_dir && pwd`
2117 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2118 # Use eval to expand $SHELL
2119 if eval "$MISSING --run true"; then
2120 am_missing_run
="$MISSING --run "
2123 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2124 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2127 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2128 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2129 if test -z "$MKDIR_P"; then
2130 if test "${ac_cv_path_mkdir+set}" = set; then
2131 echo $ECHO_N "(cached) $ECHO_C" >&6
2133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2134 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2137 test -z "$as_dir" && as_dir
=.
2138 for ac_prog
in mkdir gmkdir
; do
2139 for ac_exec_ext
in '' $ac_executable_extensions; do
2140 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2141 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2142 'mkdir (GNU coreutils) '* | \
2143 'mkdir (coreutils) '* | \
2144 'mkdir (fileutils) '4.1*)
2145 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2155 if test "${ac_cv_path_mkdir+set}" = set; then
2156 MKDIR_P
="$ac_cv_path_mkdir -p"
2158 # As a last resort, use the slow shell script. Don't cache a
2159 # value for MKDIR_P within a source directory, because that will
2160 # break other packages using the cache if that directory is
2161 # removed, or if the value is a relative name.
2162 test -d .
/--version && rmdir .
/--version
2163 MKDIR_P
="$ac_install_sh -d"
2166 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2167 echo "${ECHO_T}$MKDIR_P" >&6; }
2171 [\\/$
]* | ?
:[\\/]*) ;;
2172 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2175 for ac_prog
in gawk mawk nawk
awk
2177 # Extract the first word of "$ac_prog", so it can be a program name with args.
2178 set dummy
$ac_prog; ac_word
=$2
2179 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2180 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2181 if test "${ac_cv_prog_AWK+set}" = set; then
2182 echo $ECHO_N "(cached) $ECHO_C" >&6
2184 if test -n "$AWK"; then
2185 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2187 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2191 test -z "$as_dir" && as_dir
=.
2192 for ac_exec_ext
in '' $ac_executable_extensions; do
2193 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2194 ac_cv_prog_AWK
="$ac_prog"
2195 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2205 if test -n "$AWK"; then
2206 { echo "$as_me:$LINENO: result: $AWK" >&5
2207 echo "${ECHO_T}$AWK" >&6; }
2209 { echo "$as_me:$LINENO: result: no" >&5
2210 echo "${ECHO_T}no" >&6; }
2214 test -n "$AWK" && break
2217 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2218 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2219 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2220 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2221 echo $ECHO_N "(cached) $ECHO_C" >&6
2223 cat >conftest.
make <<\_ACEOF
2226 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2228 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2229 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2231 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2233 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2237 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2238 { echo "$as_me:$LINENO: result: yes" >&5
2239 echo "${ECHO_T}yes" >&6; }
2242 { echo "$as_me:$LINENO: result: no" >&5
2243 echo "${ECHO_T}no" >&6; }
2244 SET_MAKE
="MAKE=${MAKE-make}"
2247 rm -rf .tst
2>/dev
/null
2248 mkdir .tst
2>/dev
/null
2249 if test -d .tst
; then
2254 rmdir .tst
2>/dev
/null
2256 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2257 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2258 # is not polluted with repeated "-I."
2259 am__isrc
=' -I$(srcdir)'
2260 # test to see if srcdir already configured
2261 if test -f $srcdir/config.status
; then
2262 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2263 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2264 { (exit 1); exit 1; }; }
2268 # test whether we have cygpath
2269 if test -z "$CYGPATH_W"; then
2270 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2271 CYGPATH_W
='cygpath -w'
2278 # Define the identity of the package.
2283 # Some tools Automake needs.
2285 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2288 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2291 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2294 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2297 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2299 install_sh
=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2301 # Installed binaries are usually stripped using `strip' when the user
2302 # run `make install-strip'. However `strip' might not be the right
2303 # tool to use in cross-compilation environments, therefore Automake
2304 # will honor the `STRIP' environment variable to overrule this program.
2305 if test "$cross_compiling" != no
; then
2306 if test -n "$ac_tool_prefix"; then
2307 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2308 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2309 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2310 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2311 if test "${ac_cv_prog_STRIP+set}" = set; then
2312 echo $ECHO_N "(cached) $ECHO_C" >&6
2314 if test -n "$STRIP"; then
2315 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2317 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2321 test -z "$as_dir" && as_dir
=.
2322 for ac_exec_ext
in '' $ac_executable_extensions; do
2323 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2324 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2325 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2334 STRIP
=$ac_cv_prog_STRIP
2335 if test -n "$STRIP"; then
2336 { echo "$as_me:$LINENO: result: $STRIP" >&5
2337 echo "${ECHO_T}$STRIP" >&6; }
2339 { echo "$as_me:$LINENO: result: no" >&5
2340 echo "${ECHO_T}no" >&6; }
2345 if test -z "$ac_cv_prog_STRIP"; then
2347 # Extract the first word of "strip", so it can be a program name with args.
2348 set dummy strip
; ac_word
=$2
2349 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2350 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2351 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2352 echo $ECHO_N "(cached) $ECHO_C" >&6
2354 if test -n "$ac_ct_STRIP"; then
2355 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2357 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2361 test -z "$as_dir" && as_dir
=.
2362 for ac_exec_ext
in '' $ac_executable_extensions; do
2363 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2364 ac_cv_prog_ac_ct_STRIP
="strip"
2365 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2374 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2375 if test -n "$ac_ct_STRIP"; then
2376 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2377 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2379 { echo "$as_me:$LINENO: result: no" >&5
2380 echo "${ECHO_T}no" >&6; }
2383 if test "x$ac_ct_STRIP" = x
; then
2386 case $cross_compiling:$ac_tool_warned in
2388 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2389 whose name does not start with the host triplet. If you think this
2390 configuration is useful to you, please write to autoconf@gnu.org." >&5
2391 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2392 whose name does not start with the host triplet. If you think this
2393 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2394 ac_tool_warned
=yes ;;
2399 STRIP
="$ac_cv_prog_STRIP"
2403 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2405 # We need awk for the "check" target. The system "awk" is bad on
2407 # Always define AMTAR for backward compatibility.
2409 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2411 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2418 if test -d ${srcdir}/..
/libhmac
; then
2427 for ac_prog
in gawk mawk nawk
awk
2429 # Extract the first word of "$ac_prog", so it can be a program name with args.
2430 set dummy
$ac_prog; ac_word
=$2
2431 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2432 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2433 if test "${ac_cv_prog_AWK+set}" = set; then
2434 echo $ECHO_N "(cached) $ECHO_C" >&6
2436 if test -n "$AWK"; then
2437 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2439 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2443 test -z "$as_dir" && as_dir
=.
2444 for ac_exec_ext
in '' $ac_executable_extensions; do
2445 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2446 ac_cv_prog_AWK
="$ac_prog"
2447 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2457 if test -n "$AWK"; then
2458 { echo "$as_me:$LINENO: result: $AWK" >&5
2459 echo "${ECHO_T}$AWK" >&6; }
2461 { echo "$as_me:$LINENO: result: no" >&5
2462 echo "${ECHO_T}no" >&6; }
2466 test -n "$AWK" && break
2469 # Find a good install program. We prefer a C program (faster),
2470 # so one script is as good as another. But avoid the broken or
2471 # incompatible versions:
2472 # SysV /etc/install, /usr/sbin/install
2473 # SunOS /usr/etc/install
2474 # IRIX /sbin/install
2476 # AmigaOS /C/install, which installs bootblocks on floppy discs
2477 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2478 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2479 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2480 # OS/2's system install, which has a completely different semantic
2481 # ./install, which can be erroneously created by make from ./install.sh.
2482 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2483 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2484 if test -z "$INSTALL"; then
2485 if test "${ac_cv_path_install+set}" = set; then
2486 echo $ECHO_N "(cached) $ECHO_C" >&6
2488 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2492 test -z "$as_dir" && as_dir
=.
2493 # Account for people who put trailing slashes in PATH elements.
2495 .
/ | .
// |
/cC
/* | \
2496 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2497 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2500 # OSF1 and SCO ODT 3.0 have their own names for install.
2501 # Don't use installbsd from OSF since it installs stuff as root
2503 for ac_prog
in ginstall scoinst
install; do
2504 for ac_exec_ext
in '' $ac_executable_extensions; do
2505 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2506 if test $ac_prog = install &&
2507 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2508 # AIX install. It has an incompatible calling convention.
2510 elif test $ac_prog = install &&
2511 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2512 # program-specific install script used by HP pwplus--don't use.
2515 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2528 if test "${ac_cv_path_install+set}" = set; then
2529 INSTALL
=$ac_cv_path_install
2531 # As a last resort, use the slow shell script. Don't cache a
2532 # value for INSTALL within a source directory, because that will
2533 # break other packages using the cache if that directory is
2534 # removed, or if the value is a relative name.
2535 INSTALL
=$ac_install_sh
2538 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2539 echo "${ECHO_T}$INSTALL" >&6; }
2541 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2542 # It thinks the first close brace ends the variable substitution.
2543 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2545 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2547 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2549 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
2550 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
2552 if test "$LN_S" = "ln -s"; then
2553 { echo "$as_me:$LINENO: result: yes" >&5
2554 echo "${ECHO_T}yes" >&6; }
2556 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2557 echo "${ECHO_T}no, using $LN_S" >&6; }
2561 ac_cpp
='$CPP $CPPFLAGS'
2562 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2563 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2564 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2565 if test -n "$ac_tool_prefix"; then
2566 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2567 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2568 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2569 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2570 if test "${ac_cv_prog_CC+set}" = set; then
2571 echo $ECHO_N "(cached) $ECHO_C" >&6
2573 if test -n "$CC"; then
2574 ac_cv_prog_CC
="$CC" # Let the user override the test.
2576 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2580 test -z "$as_dir" && as_dir
=.
2581 for ac_exec_ext
in '' $ac_executable_extensions; do
2582 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2583 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2584 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2594 if test -n "$CC"; then
2595 { echo "$as_me:$LINENO: result: $CC" >&5
2596 echo "${ECHO_T}$CC" >&6; }
2598 { echo "$as_me:$LINENO: result: no" >&5
2599 echo "${ECHO_T}no" >&6; }
2604 if test -z "$ac_cv_prog_CC"; then
2606 # Extract the first word of "gcc", so it can be a program name with args.
2607 set dummy gcc
; ac_word
=$2
2608 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2609 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2610 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2611 echo $ECHO_N "(cached) $ECHO_C" >&6
2613 if test -n "$ac_ct_CC"; then
2614 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2616 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2620 test -z "$as_dir" && as_dir
=.
2621 for ac_exec_ext
in '' $ac_executable_extensions; do
2622 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2623 ac_cv_prog_ac_ct_CC
="gcc"
2624 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2633 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2634 if test -n "$ac_ct_CC"; then
2635 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2636 echo "${ECHO_T}$ac_ct_CC" >&6; }
2638 { echo "$as_me:$LINENO: result: no" >&5
2639 echo "${ECHO_T}no" >&6; }
2642 if test "x$ac_ct_CC" = x
; then
2645 case $cross_compiling:$ac_tool_warned in
2647 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2648 whose name does not start with the host triplet. If you think this
2649 configuration is useful to you, please write to autoconf@gnu.org." >&5
2650 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2651 whose name does not start with the host triplet. If you think this
2652 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2653 ac_tool_warned
=yes ;;
2661 if test -z "$CC"; then
2662 if test -n "$ac_tool_prefix"; then
2663 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2664 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2665 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2666 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2667 if test "${ac_cv_prog_CC+set}" = set; then
2668 echo $ECHO_N "(cached) $ECHO_C" >&6
2670 if test -n "$CC"; then
2671 ac_cv_prog_CC
="$CC" # Let the user override the test.
2673 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2677 test -z "$as_dir" && as_dir
=.
2678 for ac_exec_ext
in '' $ac_executable_extensions; do
2679 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2680 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2681 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2691 if test -n "$CC"; then
2692 { echo "$as_me:$LINENO: result: $CC" >&5
2693 echo "${ECHO_T}$CC" >&6; }
2695 { echo "$as_me:$LINENO: result: no" >&5
2696 echo "${ECHO_T}no" >&6; }
2702 if test -z "$CC"; then
2703 # Extract the first word of "cc", so it can be a program name with args.
2704 set dummy cc
; ac_word
=$2
2705 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2706 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2707 if test "${ac_cv_prog_CC+set}" = set; then
2708 echo $ECHO_N "(cached) $ECHO_C" >&6
2710 if test -n "$CC"; then
2711 ac_cv_prog_CC
="$CC" # Let the user override the test.
2714 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2718 test -z "$as_dir" && as_dir
=.
2719 for ac_exec_ext
in '' $ac_executable_extensions; do
2720 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2721 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2722 ac_prog_rejected
=yes
2726 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2733 if test $ac_prog_rejected = yes; then
2734 # We found a bogon in the path, so make sure we never use it.
2735 set dummy
$ac_cv_prog_CC
2737 if test $# != 0; then
2738 # We chose a different compiler from the bogus one.
2739 # However, it has the same basename, so the bogon will be chosen
2740 # first if we set CC to just the basename; use the full file name.
2742 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2748 if test -n "$CC"; then
2749 { echo "$as_me:$LINENO: result: $CC" >&5
2750 echo "${ECHO_T}$CC" >&6; }
2752 { echo "$as_me:$LINENO: result: no" >&5
2753 echo "${ECHO_T}no" >&6; }
2758 if test -z "$CC"; then
2759 if test -n "$ac_tool_prefix"; then
2760 for ac_prog
in cl.exe
2762 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2763 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2764 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2765 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2766 if test "${ac_cv_prog_CC+set}" = set; then
2767 echo $ECHO_N "(cached) $ECHO_C" >&6
2769 if test -n "$CC"; then
2770 ac_cv_prog_CC
="$CC" # Let the user override the test.
2772 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2776 test -z "$as_dir" && as_dir
=.
2777 for ac_exec_ext
in '' $ac_executable_extensions; do
2778 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2779 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2780 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2790 if test -n "$CC"; then
2791 { echo "$as_me:$LINENO: result: $CC" >&5
2792 echo "${ECHO_T}$CC" >&6; }
2794 { echo "$as_me:$LINENO: result: no" >&5
2795 echo "${ECHO_T}no" >&6; }
2799 test -n "$CC" && break
2802 if test -z "$CC"; then
2804 for ac_prog
in cl.exe
2806 # Extract the first word of "$ac_prog", so it can be a program name with args.
2807 set dummy
$ac_prog; ac_word
=$2
2808 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2809 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2810 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2811 echo $ECHO_N "(cached) $ECHO_C" >&6
2813 if test -n "$ac_ct_CC"; then
2814 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2816 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2820 test -z "$as_dir" && as_dir
=.
2821 for ac_exec_ext
in '' $ac_executable_extensions; do
2822 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2823 ac_cv_prog_ac_ct_CC
="$ac_prog"
2824 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2833 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2834 if test -n "$ac_ct_CC"; then
2835 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2836 echo "${ECHO_T}$ac_ct_CC" >&6; }
2838 { echo "$as_me:$LINENO: result: no" >&5
2839 echo "${ECHO_T}no" >&6; }
2843 test -n "$ac_ct_CC" && break
2846 if test "x$ac_ct_CC" = x
; then
2849 case $cross_compiling:$ac_tool_warned in
2851 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2852 whose name does not start with the host triplet. If you think this
2853 configuration is useful to you, please write to autoconf@gnu.org." >&5
2854 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2855 whose name does not start with the host triplet. If you think this
2856 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2857 ac_tool_warned
=yes ;;
2866 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2867 See \`config.log' for more details." >&5
2868 echo "$as_me: error: no acceptable C compiler found in \$PATH
2869 See \`config.log' for more details." >&2;}
2870 { (exit 1); exit 1; }; }
2872 # Provide some information about the compiler.
2873 echo "$as_me:$LINENO: checking for C compiler version" >&5
2874 ac_compiler
=`set X $ac_compile; echo $2`
2875 { (ac_try
="$ac_compiler --version >&5"
2877 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2878 *) ac_try_echo=$ac_try;;
2880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2881 (eval "$ac_compiler --version >&5") 2>&5
2883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2884 (exit $ac_status); }
2885 { (ac_try="$ac_compiler -v >&5"
2887 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2888 *) ac_try_echo
=$ac_try;;
2890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2891 (eval "$ac_compiler -v >&5") 2>&5
2893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2894 (exit $ac_status); }
2895 { (ac_try
="$ac_compiler -V >&5"
2897 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2898 *) ac_try_echo=$ac_try;;
2900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2901 (eval "$ac_compiler -V >&5") 2>&5
2903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2904 (exit $ac_status); }
2906 cat >conftest.$ac_ext <<_ACEOF
2909 cat confdefs.h >>conftest.$ac_ext
2910 cat >>conftest.$ac_ext <<_ACEOF
2911 /* end confdefs.h. */
2921 ac_clean_files_save=$ac_clean_files
2922 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2923 # Try to create an executable without -o first, disregard a.out.
2924 # It will help us diagnose broken compilers, and finding out an intuition
2926 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2927 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2928 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2930 # List of possible output files, starting from the most likely.
2931 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2932 # only as a last resort. b.out is created by i960 compilers.
2933 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2935 # The IRIX 6 linker writes into existing files which may not be
2936 # executable, retaining their permissions. Remove them first so a
2937 # subsequent execution test works.
2939 for ac_file in $ac_files
2942 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2943 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2948 if { (ac_try="$ac_link_default"
2950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2951 *) ac_try_echo=$ac_try;;
2953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2954 (eval "$ac_link_default") 2>&5
2956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2957 (exit $ac_status); }; then
2958 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2959 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2960 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2961 # so that the user can short-circuit this test for compilers unknown to
2963 for ac_file
in $ac_files ''
2965 test -f "$ac_file" ||
continue
2967 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2970 # We found the default executable, but exeext='' is most
2974 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2976 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2978 # We set ac_cv_exeext here because the later test for it is not
2979 # safe: cross compilers may not add the suffix if given an `-o'
2980 # argument, so we may need to know it at that point already.
2981 # Even if this section looks crufty: it has the advantage of
2988 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2994 { echo "$as_me:$LINENO: result: $ac_file" >&5
2995 echo "${ECHO_T}$ac_file" >&6; }
2996 if test -z "$ac_file"; then
2997 echo "$as_me: failed program was:" >&5
2998 sed 's/^/| /' conftest.
$ac_ext >&5
3000 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3001 See \`config.log' for more details." >&5
3002 echo "$as_me: error: C compiler cannot create executables
3003 See \`config.log' for more details." >&2;}
3004 { (exit 77); exit 77; }; }
3007 ac_exeext
=$ac_cv_exeext
3009 # Check that the compiler produces executables we can run. If not, either
3010 # the compiler is broken, or we cross compile.
3011 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3012 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3013 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3014 # If not cross compiling, check that we can run a simple program.
3015 if test "$cross_compiling" != yes; then
3016 if { ac_try
='./$ac_file'
3017 { (case "(($ac_try" in
3018 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3019 *) ac_try_echo=$ac_try;;
3021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3022 (eval "$ac_try") 2>&5
3024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3025 (exit $ac_status); }; }; then
3028 if test "$cross_compiling" = maybe; then
3031 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3032 If you meant to cross compile, use \`--host'.
3033 See \`config.log' for more details.
" >&5
3034 echo "$as_me: error
: cannot run C compiled programs.
3035 If you meant to cross compile
, use \
`--host'.
3036 See \`config.log
' for more details." >&2;}
3037 { (exit 1); exit 1; }; }
3041 { echo "$as_me:$LINENO: result: yes" >&5
3042 echo "${ECHO_T}yes" >&6; }
3044 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3045 ac_clean_files=$ac_clean_files_save
3046 # Check that the compiler produces executables we can run. If not, either
3047 # the compiler is broken, or we cross compile.
3048 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3049 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3050 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
3051 echo "${ECHO_T}$cross_compiling" >&6; }
3053 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
3054 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3055 if { (ac_try="$ac_link"
3057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3058 *) ac_try_echo=$ac_try;;
3060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3061 (eval "$ac_link") 2>&5
3063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3064 (exit $ac_status); }; then
3065 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3066 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3067 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3069 for ac_file
in conftest.exe conftest conftest.
*; do
3070 test -f "$ac_file" ||
continue
3072 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
3073 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3079 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3080 See \`config.log' for more details." >&5
3081 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3082 See \`config.log' for more details." >&2;}
3083 { (exit 1); exit 1; }; }
3086 rm -f conftest
$ac_cv_exeext
3087 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3088 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3090 rm -f conftest.
$ac_ext
3091 EXEEXT
=$ac_cv_exeext
3093 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3094 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3095 if test "${ac_cv_objext+set}" = set; then
3096 echo $ECHO_N "(cached) $ECHO_C" >&6
3098 cat >conftest.
$ac_ext <<_ACEOF
3101 cat confdefs.h
>>conftest.
$ac_ext
3102 cat >>conftest.
$ac_ext <<_ACEOF
3103 /* end confdefs.h. */
3113 rm -f conftest.o conftest.obj
3114 if { (ac_try
="$ac_compile"
3116 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3117 *) ac_try_echo=$ac_try;;
3119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3120 (eval "$ac_compile") 2>&5
3122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3123 (exit $ac_status); }; then
3124 for ac_file in conftest.o conftest.obj conftest.*; do
3125 test -f "$ac_file" || continue;
3127 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3128 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3133 echo "$as_me: failed program was:" >&5
3134 sed 's/^/| /' conftest.$ac_ext >&5
3136 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3137 See \`config.log
' for more details." >&5
3138 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3139 See \`config.log' for more details.
" >&2;}
3140 { (exit 1); exit 1; }; }
3143 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3145 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
3146 echo "${ECHO_T}$ac_cv_objext" >&6; }
3147 OBJEXT=$ac_cv_objext
3149 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
3150 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
3151 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3152 echo $ECHO_N "(cached
) $ECHO_C" >&6
3154 cat >conftest.$ac_ext <<_ACEOF
3157 cat confdefs.h >>conftest.$ac_ext
3158 cat >>conftest.$ac_ext <<_ACEOF
3159 /* end confdefs.h. */
3172 rm -f conftest.$ac_objext
3173 if { (ac_try="$ac_compile"
3175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3176 *) ac_try_echo=$ac_try;;
3178 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3179 (eval "$ac_compile") 2>conftest.er1
3181 grep -v '^ *+' conftest.er1 >conftest.err
3183 cat conftest.err >&5
3184 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3185 (exit $ac_status); } && {
3186 test -z "$ac_c_werror_flag" ||
3187 test ! -s conftest.err
3188 } && test -s conftest.$ac_objext; then
3191 echo "$as_me: failed program was
:" >&5
3192 sed 's/^/| /' conftest.$ac_ext >&5
3197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3198 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3201 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
3202 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3203 GCC=`test $ac_compiler_gnu = yes && echo yes`
3204 ac_test_CFLAGS=${CFLAGS+set}
3205 ac_save_CFLAGS=$CFLAGS
3206 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
3207 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
3208 if test "${ac_cv_prog_cc_g+set}" = set; then
3209 echo $ECHO_N "(cached
) $ECHO_C" >&6
3211 ac_save_c_werror_flag=$ac_c_werror_flag
3212 ac_c_werror_flag=yes
3215 cat >conftest.$ac_ext <<_ACEOF
3218 cat confdefs.h >>conftest.$ac_ext
3219 cat >>conftest.$ac_ext <<_ACEOF
3220 /* end confdefs.h. */
3230 rm -f conftest.$ac_objext
3231 if { (ac_try="$ac_compile"
3233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3234 *) ac_try_echo=$ac_try;;
3236 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3237 (eval "$ac_compile") 2>conftest.er1
3239 grep -v '^ *+' conftest.er1 >conftest.err
3241 cat conftest.err >&5
3242 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3243 (exit $ac_status); } && {
3244 test -z "$ac_c_werror_flag" ||
3245 test ! -s conftest.err
3246 } && test -s conftest.$ac_objext; then
3249 echo "$as_me: failed program was
:" >&5
3250 sed 's/^/| /' conftest.$ac_ext >&5
3253 cat >conftest.$ac_ext <<_ACEOF
3256 cat confdefs.h >>conftest.$ac_ext
3257 cat >>conftest.$ac_ext <<_ACEOF
3258 /* end confdefs.h. */
3268 rm -f conftest.$ac_objext
3269 if { (ac_try="$ac_compile"
3271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3272 *) ac_try_echo=$ac_try;;
3274 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3275 (eval "$ac_compile") 2>conftest.er1
3277 grep -v '^ *+' conftest.er1 >conftest.err
3279 cat conftest.err >&5
3280 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3281 (exit $ac_status); } && {
3282 test -z "$ac_c_werror_flag" ||
3283 test ! -s conftest.err
3284 } && test -s conftest.$ac_objext; then
3287 echo "$as_me: failed program was
:" >&5
3288 sed 's/^/| /' conftest.$ac_ext >&5
3290 ac_c_werror_flag=$ac_save_c_werror_flag
3292 cat >conftest.$ac_ext <<_ACEOF
3295 cat confdefs.h >>conftest.$ac_ext
3296 cat >>conftest.$ac_ext <<_ACEOF
3297 /* end confdefs.h. */
3307 rm -f conftest.$ac_objext
3308 if { (ac_try="$ac_compile"
3310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3311 *) ac_try_echo=$ac_try;;
3313 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3314 (eval "$ac_compile") 2>conftest.er1
3316 grep -v '^ *+' conftest.er1 >conftest.err
3318 cat conftest.err >&5
3319 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3320 (exit $ac_status); } && {
3321 test -z "$ac_c_werror_flag" ||
3322 test ! -s conftest.err
3323 } && test -s conftest.$ac_objext; then
3326 echo "$as_me: failed program was
:" >&5
3327 sed 's/^/| /' conftest.$ac_ext >&5
3332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3339 ac_c_werror_flag=$ac_save_c_werror_flag
3341 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3342 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3343 if test "$ac_test_CFLAGS" = set; then
3344 CFLAGS=$ac_save_CFLAGS
3345 elif test $ac_cv_prog_cc_g = yes; then
3346 if test "$GCC" = yes; then
3352 if test "$GCC" = yes; then
3358 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3359 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3360 if test "${ac_cv_prog_cc_c89+set}" = set; then
3361 echo $ECHO_N "(cached
) $ECHO_C" >&6
3363 ac_cv_prog_cc_c89=no
3365 cat >conftest.$ac_ext <<_ACEOF
3368 cat confdefs.h >>conftest.$ac_ext
3369 cat >>conftest.$ac_ext <<_ACEOF
3370 /* end confdefs.h. */
3373 #include <sys/types.h>
3374 #include <sys/stat.h>
3375 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3376 struct buf { int x; };
3377 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3378 static char *e (p, i)
3384 static char *f (char * (*g) (char **, int), char **p, ...)
3389 s = g (p, va_arg (v,int));
3394 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3395 function prototypes and stuff, but not '\xHH' hex character constants.
3396 These don't provoke an error unfortunately, instead are silently treated
3397 as 'x'. The following induces an error, until -std is added to get
3398 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3399 array size at least. It's necessary to write '\x00'==0 to get something
3400 that's true only with -std. */
3401 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3403 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3404 inside strings and character constants. */
3406 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3408 int test (int i, double x);
3409 struct s1 {int (*f) (int a);};
3410 struct s2 {int (*f) (double a);};
3411 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3417 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3422 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3423 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3425 CC="$ac_save_CC $ac_arg"
3426 rm -f conftest.$ac_objext
3427 if { (ac_try="$ac_compile"
3429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3430 *) ac_try_echo=$ac_try;;
3432 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3433 (eval "$ac_compile") 2>conftest.er1
3435 grep -v '^ *+' conftest.er1 >conftest.err
3437 cat conftest.err >&5
3438 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3439 (exit $ac_status); } && {
3440 test -z "$ac_c_werror_flag" ||
3441 test ! -s conftest.err
3442 } && test -s conftest.$ac_objext; then
3443 ac_cv_prog_cc_c89=$ac_arg
3445 echo "$as_me: failed program was
:" >&5
3446 sed 's/^/| /' conftest.$ac_ext >&5
3451 rm -f core conftest.err conftest.$ac_objext
3452 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3454 rm -f conftest.$ac_ext
3459 case "x
$ac_cv_prog_cc_c89" in
3461 { echo "$as_me:$LINENO: result
: none needed
" >&5
3462 echo "${ECHO_T}none needed
" >&6; } ;;
3464 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3465 echo "${ECHO_T}unsupported
" >&6; } ;;
3467 CC="$CC $ac_cv_prog_cc_c89"
3468 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3469 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3474 ac_cpp='$CPP $CPPFLAGS'
3475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3478 DEPDIR="${am__leading_dot}deps
"
3480 ac_config_commands="$ac_config_commands depfiles
"
3483 am_make=${MAKE-make}
3484 cat > confinc << 'END'
3489 # If we don't find an include directive, just comment out the code.
3490 { echo "$as_me:$LINENO: checking
for style of include used by
$am_make" >&5
3491 echo $ECHO_N "checking
for style of include used by
$am_make...
$ECHO_C" >&6; }
3495 # First try GNU make style include.
3496 echo "include confinc" > confmf
3497 # We grep out `Entering directory' and `Leaving directory'
3498 # messages which can occur if `w' ends up in MAKEFLAGS.
3499 # In particular we don't look at `^make:' because GNU make might
3500 # be invoked under some other name (usually "gmake"), in which
3501 # case it prints its new name instead of `make'.
3502 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3507 # Now try BSD make style include.
3508 if test "$am__include" = "#"; then
3509 echo '.include "confinc"' > confmf
3510 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3511 am__include
=.include
3518 { echo "$as_me:$LINENO: result: $_am_result" >&5
3519 echo "${ECHO_T}$_am_result" >&6; }
3520 rm -f confinc confmf
3522 # Check whether --enable-dependency-tracking was given.
3523 if test "${enable_dependency_tracking+set}" = set; then
3524 enableval
=$enable_dependency_tracking;
3527 if test "x$enable_dependency_tracking" != xno
; then
3528 am_depcomp
="$ac_aux_dir/depcomp"
3531 if test "x$enable_dependency_tracking" != xno; then
3541 depcc
="$CC" am_compiler_list
=
3543 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3544 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3545 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3546 echo $ECHO_N "(cached) $ECHO_C" >&6
3548 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3549 # We make a subdir and do the tests there. Otherwise we can end up
3550 # making bogus files that we don't know about and never remove. For
3551 # instance it was reported that on HP-UX the gcc test will end up
3552 # making a dummy file named `D' -- because `-MD' means `put the output
3555 # Copy depcomp to subdir because otherwise we won't find it if we're
3556 # using a relative directory.
3557 cp "$am_depcomp" conftest.dir
3559 # We will build objects and dependencies in a subdirectory because
3560 # it helps to detect inapplicable dependency modes. For instance
3561 # both Tru64's cc and ICC support -MD to output dependencies as a
3562 # side effect of compilation, but ICC will put the dependencies in
3563 # the current directory while Tru64 will put them in the object
3567 am_cv_CC_dependencies_compiler_type
=none
3568 if test "$am_compiler_list" = ""; then
3569 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3571 for depmode
in $am_compiler_list; do
3572 # Setup a source with many dependencies, because some compilers
3573 # like to wrap large dependency lists on column 80 (with \), and
3574 # we should not choose a depcomp mode which is confused by this.
3576 # We need to recreate these files for each test, as the compiler may
3577 # overwrite some of them when testing with obscure command lines.
3578 # This happens at least with the AIX C compiler.
3580 for i
in 1 2 3 4 5 6; do
3581 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3582 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3583 # Solaris 8's {/usr,}/bin/sh.
3584 touch sub
/conftst
$i.h
3586 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3590 # after this tag, mechanisms are not by side-effect, so they'll
3591 # only be used when explicitly requested
3592 if test "x$enable_dependency_tracking" = xyes
; then
3600 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3601 # mode. It turns out that the SunPro C++ compiler does not properly
3602 # handle `-M -o', and we need to detect this.
3603 if depmode
=$depmode \
3604 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3605 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3606 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3607 >/dev
/null
2>conftest.err
&&
3608 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3609 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3610 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3611 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3612 # icc doesn't choke on unknown options, it will just issue warnings
3613 # or remarks (even with -Werror). So we grep stderr for any message
3614 # that says an option was ignored or not supported.
3615 # When given -MP, icc 7.0 and 7.1 complain thusly:
3616 # icc: Command line warning: ignoring option '-M'; no argument required
3617 # The diagnosis changed in icc 8.0:
3618 # icc: Command line remark: option '-MP' not supported
3619 if (grep 'ignoring option' conftest.err ||
3620 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3621 am_cv_CC_dependencies_compiler_type
=$depmode
3630 am_cv_CC_dependencies_compiler_type
=none
3634 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3635 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3636 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3639 test "x$enable_dependency_tracking" != xno \
3640 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3642 am__fastdepCC_FALSE
='#'
3644 am__fastdepCC_TRUE
='#'
3645 am__fastdepCC_FALSE
=
3649 # Check whether --enable-shared was given.
3650 if test "${enable_shared+set}" = set; then
3651 enableval
=$enable_shared; p
=${PACKAGE-default}
3653 yes) enable_shared
=yes ;;
3654 no
) enable_shared
=no
;;
3657 # Look at the argument we got. We use all the common list separators.
3658 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3659 for pkg
in $enableval; do
3661 if test "X$pkg" = "X$p"; then
3673 # Check whether --enable-static was given.
3674 if test "${enable_static+set}" = set; then
3675 enableval
=$enable_static; p
=${PACKAGE-default}
3677 yes) enable_static
=yes ;;
3678 no
) enable_static
=no
;;
3681 # Look at the argument we got. We use all the common list separators.
3682 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3683 for pkg
in $enableval; do
3685 if test "X$pkg" = "X$p"; then
3697 # Check whether --enable-fast-install was given.
3698 if test "${enable_fast_install+set}" = set; then
3699 enableval
=$enable_fast_install; p
=${PACKAGE-default}
3701 yes) enable_fast_install
=yes ;;
3702 no
) enable_fast_install
=no
;;
3704 enable_fast_install
=no
3705 # Look at the argument we got. We use all the common list separators.
3706 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3707 for pkg
in $enableval; do
3709 if test "X$pkg" = "X$p"; then
3710 enable_fast_install
=yes
3717 enable_fast_install
=yes
3721 # Make sure we can run config.sub.
3722 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3723 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3724 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3725 { (exit 1); exit 1; }; }
3727 { echo "$as_me:$LINENO: checking build system type" >&5
3728 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
3729 if test "${ac_cv_build+set}" = set; then
3730 echo $ECHO_N "(cached) $ECHO_C" >&6
3732 ac_build_alias
=$build_alias
3733 test "x$ac_build_alias" = x
&&
3734 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3735 test "x$ac_build_alias" = x
&&
3736 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3737 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3738 { (exit 1); exit 1; }; }
3739 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3740 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3741 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3742 { (exit 1); exit 1; }; }
3745 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3746 echo "${ECHO_T}$ac_cv_build" >&6; }
3747 case $ac_cv_build in
3749 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3750 echo "$as_me: error: invalid value of canonical build" >&2;}
3751 { (exit 1); exit 1; }; };;
3754 ac_save_IFS
=$IFS; IFS
='-'
3760 # Remember, the first character of IFS is used to create $*,
3761 # except with old shells:
3764 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3767 { echo "$as_me:$LINENO: checking host system type" >&5
3768 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
3769 if test "${ac_cv_host+set}" = set; then
3770 echo $ECHO_N "(cached) $ECHO_C" >&6
3772 if test "x$host_alias" = x
; then
3773 ac_cv_host
=$ac_cv_build
3775 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3776 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3777 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3778 { (exit 1); exit 1; }; }
3782 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3783 echo "${ECHO_T}$ac_cv_host" >&6; }
3786 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3787 echo "$as_me: error: invalid value of canonical host" >&2;}
3788 { (exit 1); exit 1; }; };;
3791 ac_save_IFS
=$IFS; IFS
='-'
3797 # Remember, the first character of IFS is used to create $*,
3798 # except with old shells:
3801 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3804 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3805 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
3806 if test "${lt_cv_path_SED+set}" = set; then
3807 echo $ECHO_N "(cached) $ECHO_C" >&6
3809 # Loop through the user's path and test for sed and gsed.
3810 # Then use that list of sed's as ones to test for truncation.
3811 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3815 test -z "$as_dir" && as_dir
=.
3816 for lt_ac_prog
in sed gsed
; do
3817 for ac_exec_ext
in '' $ac_executable_extensions; do
3818 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3819 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3827 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3828 # along with /bin/sed that truncates output.
3829 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
3830 test ! -f $lt_ac_sed && continue
3831 cat /dev
/null
> conftest.
in
3833 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
3834 # Check for GNU sed and select it if it is found.
3835 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
3836 lt_cv_path_SED
=$lt_ac_sed
3840 cat conftest.
in conftest.
in >conftest.tmp
3841 mv conftest.tmp conftest.
in
3842 cp conftest.
in conftest.
nl
3844 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
3845 cmp -s conftest.out conftest.
nl ||
break
3846 # 10000 chars as input seems more than enough
3847 test $lt_ac_count -gt 10 && break
3848 lt_ac_count
=`expr $lt_ac_count + 1`
3849 if test $lt_ac_count -gt $lt_ac_max; then
3850 lt_ac_max
=$lt_ac_count
3851 lt_cv_path_SED
=$lt_ac_sed
3860 { echo "$as_me:$LINENO: result: $SED" >&5
3861 echo "${ECHO_T}$SED" >&6; }
3863 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3864 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3865 if test "${ac_cv_path_GREP+set}" = set; then
3866 echo $ECHO_N "(cached) $ECHO_C" >&6
3868 # Extract the first word of "grep ggrep" to use in msg output
3869 if test -z "$GREP"; then
3870 set dummy
grep ggrep
; ac_prog_name
=$2
3871 if test "${ac_cv_path_GREP+set}" = set; then
3872 echo $ECHO_N "(cached) $ECHO_C" >&6
3874 ac_path_GREP_found
=false
3875 # Loop through the user's path and test for each of PROGNAME-LIST
3876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3877 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3880 test -z "$as_dir" && as_dir
=.
3881 for ac_prog
in grep ggrep
; do
3882 for ac_exec_ext
in '' $ac_executable_extensions; do
3883 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3884 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3885 # Check for GNU ac_path_GREP and select it if it is found.
3886 # Check for GNU $ac_path_GREP
3887 case `"$ac_path_GREP" --version 2>&1` in
3889 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3892 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3895 cat "conftest.in" "conftest.in" >"conftest.tmp"
3896 mv "conftest.tmp" "conftest.in"
3897 cp "conftest.in" "conftest.nl"
3898 echo 'GREP' >> "conftest.nl"
3899 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3900 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3901 ac_count
=`expr $ac_count + 1`
3902 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3903 # Best one so far, save it but keep looking for a better one
3904 ac_cv_path_GREP
="$ac_path_GREP"
3905 ac_path_GREP_max
=$ac_count
3907 # 10*(2^10) chars as input seems more than enough
3908 test $ac_count -gt 10 && break
3910 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3914 $ac_path_GREP_found && break 3
3924 GREP
="$ac_cv_path_GREP"
3925 if test -z "$GREP"; then
3926 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3927 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3928 { (exit 1); exit 1; }; }
3932 ac_cv_path_GREP
=$GREP
3937 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3938 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3939 GREP
="$ac_cv_path_GREP"
3942 { echo "$as_me:$LINENO: checking for egrep" >&5
3943 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3944 if test "${ac_cv_path_EGREP+set}" = set; then
3945 echo $ECHO_N "(cached) $ECHO_C" >&6
3947 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3948 then ac_cv_path_EGREP
="$GREP -E"
3950 # Extract the first word of "egrep" to use in msg output
3951 if test -z "$EGREP"; then
3952 set dummy
egrep; ac_prog_name
=$2
3953 if test "${ac_cv_path_EGREP+set}" = set; then
3954 echo $ECHO_N "(cached) $ECHO_C" >&6
3956 ac_path_EGREP_found
=false
3957 # Loop through the user's path and test for each of PROGNAME-LIST
3958 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3959 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3962 test -z "$as_dir" && as_dir
=.
3963 for ac_prog
in egrep; do
3964 for ac_exec_ext
in '' $ac_executable_extensions; do
3965 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3966 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3967 # Check for GNU ac_path_EGREP and select it if it is found.
3968 # Check for GNU $ac_path_EGREP
3969 case `"$ac_path_EGREP" --version 2>&1` in
3971 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3974 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3977 cat "conftest.in" "conftest.in" >"conftest.tmp"
3978 mv "conftest.tmp" "conftest.in"
3979 cp "conftest.in" "conftest.nl"
3980 echo 'EGREP' >> "conftest.nl"
3981 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3982 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3983 ac_count
=`expr $ac_count + 1`
3984 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3985 # Best one so far, save it but keep looking for a better one
3986 ac_cv_path_EGREP
="$ac_path_EGREP"
3987 ac_path_EGREP_max
=$ac_count
3989 # 10*(2^10) chars as input seems more than enough
3990 test $ac_count -gt 10 && break
3992 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3996 $ac_path_EGREP_found && break 3
4006 EGREP
="$ac_cv_path_EGREP"
4007 if test -z "$EGREP"; then
4008 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4009 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4010 { (exit 1); exit 1; }; }
4014 ac_cv_path_EGREP
=$EGREP
4020 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4021 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4022 EGREP
="$ac_cv_path_EGREP"
4026 # Check whether --with-gnu-ld was given.
4027 if test "${with_gnu_ld+set}" = set; then
4028 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4034 if test "$GCC" = yes; then
4035 # Check if gcc -print-prog-name=ld gives a path.
4036 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4037 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
4040 # gcc leaves a trailing carriage return which upsets mingw
4041 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4043 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4046 # Accept absolute paths.
4048 re_direlt
='/[^/][^/]*/\.\./'
4049 # Canonicalize the pathname of ld
4050 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
4051 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
4052 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4054 test -z "$LD" && LD
="$ac_prog"
4057 # If it fails, then pretend we aren't using GCC.
4061 # If it is relative, then search for the first ld in PATH.
4065 elif test "$with_gnu_ld" = yes; then
4066 { echo "$as_me:$LINENO: checking for GNU ld" >&5
4067 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
4069 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4070 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
4072 if test "${lt_cv_path_LD+set}" = set; then
4073 echo $ECHO_N "(cached) $ECHO_C" >&6
4075 if test -z "$LD"; then
4076 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4077 for ac_dir
in $PATH; do
4079 test -z "$ac_dir" && ac_dir
=.
4080 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4081 lt_cv_path_LD
="$ac_dir/$ac_prog"
4082 # Check to see if the program is GNU ld. I'd rather use --version,
4083 # but apparently some variants of GNU ld only accept -v.
4084 # Break only if it was the GNU/non-GNU ld that we prefer.
4085 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4086 *GNU
* |
*'with BFD'*)
4087 test "$with_gnu_ld" != no
&& break
4090 test "$with_gnu_ld" != yes && break
4097 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4102 if test -n "$LD"; then
4103 { echo "$as_me:$LINENO: result: $LD" >&5
4104 echo "${ECHO_T}$LD" >&6; }
4106 { echo "$as_me:$LINENO: result: no" >&5
4107 echo "${ECHO_T}no" >&6; }
4109 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4110 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4111 { (exit 1); exit 1; }; }
4112 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4113 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4114 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4115 echo $ECHO_N "(cached) $ECHO_C" >&6
4117 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4118 case `$LD -v 2>&1 </dev/null` in
4119 *GNU
* |
*'with BFD'*)
4120 lt_cv_prog_gnu_ld
=yes
4123 lt_cv_prog_gnu_ld
=no
4127 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4128 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4129 with_gnu_ld
=$lt_cv_prog_gnu_ld
4132 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4133 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4134 if test "${lt_cv_ld_reload_flag+set}" = set; then
4135 echo $ECHO_N "(cached) $ECHO_C" >&6
4137 lt_cv_ld_reload_flag
='-r'
4139 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4140 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4141 reload_flag
=$lt_cv_ld_reload_flag
4142 case $reload_flag in
4144 *) reload_flag
=" $reload_flag" ;;
4146 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4149 if test "$GCC" = yes; then
4150 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4152 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4157 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4158 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
4159 if test "${lt_cv_path_NM+set}" = set; then
4160 echo $ECHO_N "(cached) $ECHO_C" >&6
4162 if test -n "$NM"; then
4163 # Let the user override the test.
4166 lt_nm_to_check
="${ac_tool_prefix}nm"
4167 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4168 lt_nm_to_check
="$lt_nm_to_check nm"
4170 for lt_tmp_nm
in $lt_nm_to_check; do
4171 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4172 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4174 test -z "$ac_dir" && ac_dir
=.
4175 tmp_nm
="$ac_dir/$lt_tmp_nm"
4176 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4177 # Check to see if the nm accepts a BSD-compat flag.
4178 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4179 # nm: unknown option "B" ignored
4180 # Tru64's nm complains that /dev/null is an invalid object file
4181 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4182 */dev
/null
* |
*'Invalid file or object type'*)
4183 lt_cv_path_NM
="$tmp_nm -B"
4187 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4189 lt_cv_path_NM
="$tmp_nm -p"
4193 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4194 continue # so that we can try to find one that supports BSD flags
4203 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
4206 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4207 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4210 { echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4211 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
4212 if test "${lt_cv_deplibs_check_method+set}" = set; then
4213 echo $ECHO_N "(cached) $ECHO_C" >&6
4215 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4216 lt_cv_file_magic_test_file
=
4217 lt_cv_deplibs_check_method
='unknown'
4218 # Need to set the preceding variable on all platforms that support
4219 # interlibrary dependencies.
4220 # 'none' -- dependencies not supported.
4221 # `unknown' -- same as none, but documents that we really don't know.
4222 # 'pass_all' -- all dependencies passed with no checks.
4223 # 'test_compile' -- check by making test program.
4224 # 'file_magic [[regex]]' -- check by looking for files in library path
4225 # which responds to the $file_magic_cmd with a given extended regex.
4226 # If you have `file' or equivalent on your system and you're not sure
4227 # whether `pass_all' will *always* work, you probably want this one.
4231 lt_cv_deplibs_check_method
=pass_all
4235 lt_cv_deplibs_check_method
=pass_all
4239 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4240 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4241 lt_cv_file_magic_test_file
=/shlib
/libc.so
4245 # func_win32_libid is a shell function defined in ltmain.sh
4246 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4247 lt_cv_file_magic_cmd
='func_win32_libid'
4251 # Base MSYS/MinGW do not provide the 'file' command needed by
4252 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
4253 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
4254 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4257 darwin
* | rhapsody
*)
4258 lt_cv_deplibs_check_method
=pass_all
4261 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
4262 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4265 # Not sure whether the presence of OpenBSD here was a mistake.
4266 # Let's accept both of them until this is cleared up.
4267 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4268 lt_cv_file_magic_cmd
=/usr
/bin
/file
4269 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4273 lt_cv_deplibs_check_method
=pass_all
4278 lt_cv_deplibs_check_method
=pass_all
4281 hpux10.20
* | hpux11
*)
4282 lt_cv_file_magic_cmd
=/usr
/bin
/file
4285 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4286 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
4289 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]'
4290 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
4293 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4294 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4300 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4301 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
4304 irix5
* | irix6
* | nonstopux
*)
4306 *-32|
*"-32 ") libmagic
=32-bit;;
4307 *-n32|
*"-n32 ") libmagic
=N32
;;
4308 *-64|
*"-64 ") libmagic
=64-bit;;
4309 *) libmagic
=never-match
;;
4311 lt_cv_deplibs_check_method
=pass_all
4314 # This must be Linux ELF.
4316 lt_cv_deplibs_check_method
=pass_all
4320 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4321 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4323 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4328 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4329 lt_cv_file_magic_cmd
=/usr
/bin
/file
4330 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4334 lt_cv_deplibs_check_method
=unknown
4338 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4339 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4341 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4345 osf3
* | osf4
* | osf5
*)
4346 lt_cv_deplibs_check_method
=pass_all
4350 lt_cv_deplibs_check_method
=pass_all
4354 case $host_vendor in
4356 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]'
4357 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4360 lt_cv_deplibs_check_method
=pass_all
4363 lt_cv_file_magic_cmd
='/bin/file'
4364 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4367 lt_cv_file_magic_cmd
='/bin/file'
4368 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4369 lt_cv_file_magic_test_file
=/lib
/libc.so
4372 lt_cv_deplibs_check_method
=pass_all
4375 lt_cv_deplibs_check_method
=pass_all
4380 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
4381 lt_cv_deplibs_check_method
=pass_all
4386 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4387 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4388 file_magic_cmd
=$lt_cv_file_magic_cmd
4389 deplibs_check_method
=$lt_cv_deplibs_check_method
4390 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
4395 # If no C compiler was specified, use CC.
4398 # If no C compiler flags were specified, use CFLAGS.
4399 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
4401 # Allow CC to be a program name with arguments.
4405 # Check whether --enable-libtool-lock was given.
4406 if test "${enable_libtool_lock+set}" = set; then
4407 enableval
=$enable_libtool_lock;
4410 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
4412 # Some flags need to be propagated to the compiler or linker for good
4416 # Find out which ABI we are using.
4417 echo 'int i;' > conftest.
$ac_ext
4418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4419 (eval $ac_compile) 2>&5
4421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4422 (exit $ac_status); }; then
4423 case `/usr/bin/file conftest.$ac_objext` in
4435 # Find out which ABI we are using.
4436 echo '#line 4436 "configure"' > conftest.
$ac_ext
4437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4438 (eval $ac_compile) 2>&5
4440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4441 (exit $ac_status); }; then
4442 if test "$lt_cv_prog_gnu_ld" = yes; then
4443 case `/usr/bin/file conftest.$ac_objext` in
4445 LD
="${LD-ld} -melf32bsmip"
4448 LD
="${LD-ld} -melf32bmipn32"
4451 LD
="${LD-ld} -melf64bmip"
4455 case `/usr/bin/file conftest.$ac_objext` in
4471 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
4472 # Find out which ABI we are using.
4473 echo 'int i;' > conftest.
$ac_ext
4474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4475 (eval $ac_compile) 2>&5
4477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4478 (exit $ac_status); }; then
4479 case `/usr/bin/file conftest.o` in
4483 LD
="${LD-ld} -m elf_i386"
4485 ppc64-
*linux
*|powerpc64-
*linux
*)
4486 LD
="${LD-ld} -m elf32ppclinux"
4489 LD
="${LD-ld} -m elf_s390"
4492 LD
="${LD-ld} -m elf32_sparc"
4499 LD
="${LD-ld} -m elf_x86_64"
4501 ppc
*-*linux
*|powerpc
*-*linux
*)
4502 LD
="${LD-ld} -m elf64ppc"
4505 LD
="${LD-ld} -m elf64_s390"
4508 LD
="${LD-ld} -m elf64_sparc"
4518 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4519 SAVE_CFLAGS
="$CFLAGS"
4520 CFLAGS
="$CFLAGS -belf"
4521 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4522 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4523 if test "${lt_cv_cc_needs_belf+set}" = set; then
4524 echo $ECHO_N "(cached) $ECHO_C" >&6
4527 ac_cpp
='$CPP $CPPFLAGS'
4528 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4529 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4530 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4532 cat >conftest.
$ac_ext <<_ACEOF
4535 cat confdefs.h
>>conftest.
$ac_ext
4536 cat >>conftest.
$ac_ext <<_ACEOF
4537 /* end confdefs.h. */
4547 rm -f conftest.
$ac_objext conftest
$ac_exeext
4548 if { (ac_try
="$ac_link"
4550 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4551 *) ac_try_echo=$ac_try;;
4553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4554 (eval "$ac_link") 2>conftest.er1
4556 grep -v '^ *+' conftest.er1 >conftest.err
4558 cat conftest.err >&5
4559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4560 (exit $ac_status); } && {
4561 test -z "$ac_c_werror_flag" ||
4562 test ! -s conftest.err
4563 } && test -s conftest$ac_exeext &&
4564 $as_test_x conftest$ac_exeext; then
4565 lt_cv_cc_needs_belf=yes
4567 echo "$as_me: failed program was:" >&5
4568 sed 's/^/| /' conftest.$ac_ext >&5
4570 lt_cv_cc_needs_belf=no
4573 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4574 conftest$ac_exeext conftest.$ac_ext
4576 ac_cpp='$CPP $CPPFLAGS'
4577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4582 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4583 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
4584 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4585 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4586 CFLAGS="$SAVE_CFLAGS"
4590 # Find out which ABI we are using.
4591 echo 'int i;' > conftest.$ac_ext
4592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4593 (eval $ac_compile) 2>&5
4595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4596 (exit $ac_status); }; then
4597 case `/usr
/bin
/file conftest.o
` in
4599 case $lt_cv_prog_gnu_ld in
4600 yes*) LD="${LD-ld} -m elf64_sparc" ;;
4601 *) LD="${LD-ld} -64" ;;
4612 need_locks="$enable_libtool_lock"
4616 ac_cpp='$CPP $CPPFLAGS'
4617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4620 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4621 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4622 # On Suns, sometimes $CPP names a directory.
4623 if test -n "$CPP" && test -d "$CPP"; then
4626 if test -z "$CPP"; then
4627 if test "${ac_cv_prog_CPP+set}" = set; then
4628 echo $ECHO_N "(cached) $ECHO_C" >&6
4630 # Double quotes because CPP needs to be expanded
4631 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4634 for ac_c_preproc_warn_flag in '' yes
4636 # Use a header file that comes with gcc, so configuring glibc
4637 # with a fresh cross-compiler works.
4638 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4639 # <limits.h> exists even on freestanding compilers.
4640 # On the NeXT, cc -E runs the code through the compiler's parser,
4641 # not just through cpp. "Syntax error" is here to catch this case.
4642 cat >conftest.$ac_ext <<_ACEOF
4645 cat confdefs.h >>conftest.$ac_ext
4646 cat >>conftest.$ac_ext <<_ACEOF
4647 /* end confdefs.h. */
4649 # include <limits.h>
4651 # include <assert.h>
4655 if { (ac_try="$ac_cpp conftest.$ac_ext"
4657 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4658 *) ac_try_echo
=$ac_try;;
4660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4661 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4663 grep -v '^ *+' conftest.er1
>conftest.err
4665 cat conftest.err
>&5
4666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4667 (exit $ac_status); } >/dev
/null
&& {
4668 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4669 test ! -s conftest.err
4673 echo "$as_me: failed program was:" >&5
4674 sed 's/^/| /' conftest.
$ac_ext >&5
4676 # Broken: fails on valid input.
4680 rm -f conftest.err conftest.
$ac_ext
4682 # OK, works on sane cases. Now check whether nonexistent headers
4683 # can be detected and how.
4684 cat >conftest.
$ac_ext <<_ACEOF
4687 cat confdefs.h
>>conftest.
$ac_ext
4688 cat >>conftest.
$ac_ext <<_ACEOF
4689 /* end confdefs.h. */
4690 #include <ac_nonexistent.h>
4692 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4694 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4695 *) ac_try_echo=$ac_try;;
4697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4698 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4700 grep -v '^ *+' conftest.er1 >conftest.err
4702 cat conftest.err >&5
4703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4704 (exit $ac_status); } >/dev/null && {
4705 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4706 test ! -s conftest.err
4708 # Broken: success on invalid input.
4711 echo "$as_me: failed program was:" >&5
4712 sed 's/^/| /' conftest.$ac_ext >&5
4714 # Passes both tests.
4719 rm -f conftest.err conftest.$ac_ext
4722 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4723 rm -f conftest.err conftest.
$ac_ext
4724 if $ac_preproc_ok; then
4736 { echo "$as_me:$LINENO: result: $CPP" >&5
4737 echo "${ECHO_T}$CPP" >&6; }
4739 for ac_c_preproc_warn_flag
in '' yes
4741 # Use a header file that comes with gcc, so configuring glibc
4742 # with a fresh cross-compiler works.
4743 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4744 # <limits.h> exists even on freestanding compilers.
4745 # On the NeXT, cc -E runs the code through the compiler's parser,
4746 # not just through cpp. "Syntax error" is here to catch this case.
4747 cat >conftest.
$ac_ext <<_ACEOF
4750 cat confdefs.h
>>conftest.
$ac_ext
4751 cat >>conftest.
$ac_ext <<_ACEOF
4752 /* end confdefs.h. */
4754 # include <limits.h>
4756 # include <assert.h>
4760 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4762 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4763 *) ac_try_echo=$ac_try;;
4765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4766 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4768 grep -v '^ *+' conftest.er1 >conftest.err
4770 cat conftest.err >&5
4771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4772 (exit $ac_status); } >/dev/null && {
4773 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4774 test ! -s conftest.err
4778 echo "$as_me: failed program was:" >&5
4779 sed 's/^/| /' conftest.$ac_ext >&5
4781 # Broken: fails on valid input.
4785 rm -f conftest.err conftest.$ac_ext
4787 # OK, works on sane cases. Now check whether nonexistent headers
4788 # can be detected and how.
4789 cat >conftest.$ac_ext <<_ACEOF
4792 cat confdefs.h >>conftest.$ac_ext
4793 cat >>conftest.$ac_ext <<_ACEOF
4794 /* end confdefs.h. */
4795 #include <ac_nonexistent.h>
4797 if { (ac_try="$ac_cpp conftest.$ac_ext"
4799 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4800 *) ac_try_echo
=$ac_try;;
4802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4803 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4805 grep -v '^ *+' conftest.er1
>conftest.err
4807 cat conftest.err
>&5
4808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4809 (exit $ac_status); } >/dev
/null
&& {
4810 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4811 test ! -s conftest.err
4813 # Broken: success on invalid input.
4816 echo "$as_me: failed program was:" >&5
4817 sed 's/^/| /' conftest.
$ac_ext >&5
4819 # Passes both tests.
4824 rm -f conftest.err conftest.
$ac_ext
4827 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4828 rm -f conftest.err conftest.
$ac_ext
4829 if $ac_preproc_ok; then
4832 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4833 See \`config.log' for more details." >&5
4834 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4835 See \`config.log' for more details." >&2;}
4836 { (exit 1); exit 1; }; }
4840 ac_cpp
='$CPP $CPPFLAGS'
4841 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4842 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4843 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4846 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4847 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4848 if test "${ac_cv_header_stdc+set}" = set; then
4849 echo $ECHO_N "(cached) $ECHO_C" >&6
4851 cat >conftest.
$ac_ext <<_ACEOF
4854 cat confdefs.h
>>conftest.
$ac_ext
4855 cat >>conftest.
$ac_ext <<_ACEOF
4856 /* end confdefs.h. */
4870 rm -f conftest.
$ac_objext
4871 if { (ac_try
="$ac_compile"
4873 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4874 *) ac_try_echo=$ac_try;;
4876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4877 (eval "$ac_compile") 2>conftest.er1
4879 grep -v '^ *+' conftest.er1 >conftest.err
4881 cat conftest.err >&5
4882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4883 (exit $ac_status); } && {
4884 test -z "$ac_c_werror_flag" ||
4885 test ! -s conftest.err
4886 } && test -s conftest.$ac_objext; then
4887 ac_cv_header_stdc=yes
4889 echo "$as_me: failed program was:" >&5
4890 sed 's/^/| /' conftest.$ac_ext >&5
4892 ac_cv_header_stdc=no
4895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4897 if test $ac_cv_header_stdc = yes; then
4898 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4899 cat >conftest.$ac_ext <<_ACEOF
4902 cat confdefs.h >>conftest.$ac_ext
4903 cat >>conftest.$ac_ext <<_ACEOF
4904 /* end confdefs.h. */
4908 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4909 $EGREP "memchr" >/dev/null 2>&1; then
4912 ac_cv_header_stdc=no
4918 if test $ac_cv_header_stdc = yes; then
4919 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4920 cat >conftest.$ac_ext <<_ACEOF
4923 cat confdefs.h >>conftest.$ac_ext
4924 cat >>conftest.$ac_ext <<_ACEOF
4925 /* end confdefs.h. */
4929 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4930 $EGREP "free" >/dev/null 2>&1; then
4933 ac_cv_header_stdc=no
4939 if test $ac_cv_header_stdc = yes; then
4940 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4941 if test "$cross_compiling" = yes; then
4944 cat >conftest.$ac_ext <<_ACEOF
4947 cat confdefs.h >>conftest.$ac_ext
4948 cat >>conftest.$ac_ext <<_ACEOF
4949 /* end confdefs.h. */
4952 #if ((' ' & 0x0FF) == 0x020)
4953 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4954 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4956 # define ISLOWER(c) \
4957 (('a' <= (c) && (c) <= 'i') \
4958 || ('j' <= (c) && (c) <= 'r') \
4959 || ('s' <= (c) && (c) <= 'z'))
4960 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4963 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4968 for (i = 0; i < 256; i++)
4969 if (XOR (islower (i), ISLOWER (i))
4970 || toupper (i) != TOUPPER (i))
4975 rm -f conftest$ac_exeext
4976 if { (ac_try="$ac_link"
4978 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4979 *) ac_try_echo
=$ac_try;;
4981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4982 (eval "$ac_link") 2>&5
4984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4985 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4986 { (case "(($ac_try" in
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_try") 2>&5
4993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4994 (exit $ac_status); }; }; then
4997 echo "$as_me: program exited with status $ac_status" >&5
4998 echo "$as_me: failed program was:" >&5
4999 sed 's/^/| /' conftest.$ac_ext >&5
5002 ac_cv_header_stdc=no
5004 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5010 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5011 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5012 if test $ac_cv_header_stdc = yes; then
5014 cat >>confdefs.h <<\_ACEOF
5015 #define STDC_HEADERS 1
5020 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5030 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5031 inttypes.h stdint.h unistd.h
5033 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5034 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5035 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5036 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5037 echo $ECHO_N "(cached) $ECHO_C" >&6
5039 cat >conftest.$ac_ext <<_ACEOF
5042 cat confdefs.h >>conftest.$ac_ext
5043 cat >>conftest.$ac_ext <<_ACEOF
5044 /* end confdefs.h. */
5045 $ac_includes_default
5047 #include <$ac_header>
5049 rm -f conftest.$ac_objext
5050 if { (ac_try="$ac_compile"
5052 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5053 *) ac_try_echo
=$ac_try;;
5055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5056 (eval "$ac_compile") 2>conftest.er1
5058 grep -v '^ *+' conftest.er1
>conftest.err
5060 cat conftest.err
>&5
5061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5062 (exit $ac_status); } && {
5063 test -z "$ac_c_werror_flag" ||
5064 test ! -s conftest.err
5065 } && test -s conftest.
$ac_objext; then
5066 eval "$as_ac_Header=yes"
5068 echo "$as_me: failed program was:" >&5
5069 sed 's/^/| /' conftest.
$ac_ext >&5
5071 eval "$as_ac_Header=no"
5074 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5076 ac_res
=`eval echo '${'$as_ac_Header'}'`
5077 { echo "$as_me:$LINENO: result: $ac_res" >&5
5078 echo "${ECHO_T}$ac_res" >&6; }
5079 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5080 cat >>confdefs.h
<<_ACEOF
5081 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5090 for ac_header
in dlfcn.h
5092 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5093 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5094 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5095 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5096 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5097 echo $ECHO_N "(cached) $ECHO_C" >&6
5099 ac_res
=`eval echo '${'$as_ac_Header'}'`
5100 { echo "$as_me:$LINENO: result: $ac_res" >&5
5101 echo "${ECHO_T}$ac_res" >&6; }
5103 # Is the header compilable?
5104 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5105 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5106 cat >conftest.
$ac_ext <<_ACEOF
5109 cat confdefs.h
>>conftest.
$ac_ext
5110 cat >>conftest.
$ac_ext <<_ACEOF
5111 /* end confdefs.h. */
5112 $ac_includes_default
5113 #include <$ac_header>
5115 rm -f conftest.
$ac_objext
5116 if { (ac_try
="$ac_compile"
5118 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5119 *) ac_try_echo=$ac_try;;
5121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5122 (eval "$ac_compile") 2>conftest.er1
5124 grep -v '^ *+' conftest.er1 >conftest.err
5126 cat conftest.err >&5
5127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5128 (exit $ac_status); } && {
5129 test -z "$ac_c_werror_flag" ||
5130 test ! -s conftest.err
5131 } && test -s conftest.$ac_objext; then
5132 ac_header_compiler=yes
5134 echo "$as_me: failed program was:" >&5
5135 sed 's/^/| /' conftest.$ac_ext >&5
5137 ac_header_compiler=no
5140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5141 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5142 echo "${ECHO_T}$ac_header_compiler" >&6; }
5144 # Is the header present?
5145 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5146 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5147 cat >conftest.$ac_ext <<_ACEOF
5150 cat confdefs.h >>conftest.$ac_ext
5151 cat >>conftest.$ac_ext <<_ACEOF
5152 /* end confdefs.h. */
5153 #include <$ac_header>
5155 if { (ac_try="$ac_cpp conftest.$ac_ext"
5157 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5158 *) ac_try_echo
=$ac_try;;
5160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5161 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5163 grep -v '^ *+' conftest.er1
>conftest.err
5165 cat conftest.err
>&5
5166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5167 (exit $ac_status); } >/dev
/null
&& {
5168 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5169 test ! -s conftest.err
5171 ac_header_preproc
=yes
5173 echo "$as_me: failed program was:" >&5
5174 sed 's/^/| /' conftest.
$ac_ext >&5
5176 ac_header_preproc
=no
5179 rm -f conftest.err conftest.
$ac_ext
5180 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5181 echo "${ECHO_T}$ac_header_preproc" >&6; }
5183 # So? What about this header?
5184 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5186 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5187 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5188 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5189 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5190 ac_header_preproc
=yes
5193 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5194 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5195 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5196 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5197 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5198 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5199 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5200 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5201 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5202 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5203 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5204 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5206 ## -------------------------------------------------- ##
5207 ## Report this to courier-users@lists.sourceforge.net ##
5208 ## -------------------------------------------------- ##
5210 ) |
sed "s/^/$as_me: WARNING: /" >&2
5213 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5214 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5215 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5216 echo $ECHO_N "(cached) $ECHO_C" >&6
5218 eval "$as_ac_Header=\$ac_header_preproc"
5220 ac_res
=`eval echo '${'$as_ac_Header'}'`
5221 { echo "$as_me:$LINENO: result: $ac_res" >&5
5222 echo "${ECHO_T}$ac_res" >&6; }
5225 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5226 cat >>confdefs.h
<<_ACEOF
5227 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5235 ac_cpp
='$CXXCPP $CPPFLAGS'
5236 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5237 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5238 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5239 if test -z "$CXX"; then
5240 if test -n "$CCC"; then
5243 if test -n "$ac_tool_prefix"; then
5244 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
5246 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5247 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5248 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5249 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5250 if test "${ac_cv_prog_CXX+set}" = set; then
5251 echo $ECHO_N "(cached) $ECHO_C" >&6
5253 if test -n "$CXX"; then
5254 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
5256 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5260 test -z "$as_dir" && as_dir
=.
5261 for ac_exec_ext
in '' $ac_executable_extensions; do
5262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5263 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
5264 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5274 if test -n "$CXX"; then
5275 { echo "$as_me:$LINENO: result: $CXX" >&5
5276 echo "${ECHO_T}$CXX" >&6; }
5278 { echo "$as_me:$LINENO: result: no" >&5
5279 echo "${ECHO_T}no" >&6; }
5283 test -n "$CXX" && break
5286 if test -z "$CXX"; then
5288 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
5290 # Extract the first word of "$ac_prog", so it can be a program name with args.
5291 set dummy
$ac_prog; ac_word
=$2
5292 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5293 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5294 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5295 echo $ECHO_N "(cached) $ECHO_C" >&6
5297 if test -n "$ac_ct_CXX"; then
5298 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
5300 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5304 test -z "$as_dir" && as_dir
=.
5305 for ac_exec_ext
in '' $ac_executable_extensions; do
5306 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5307 ac_cv_prog_ac_ct_CXX
="$ac_prog"
5308 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5317 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
5318 if test -n "$ac_ct_CXX"; then
5319 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5320 echo "${ECHO_T}$ac_ct_CXX" >&6; }
5322 { echo "$as_me:$LINENO: result: no" >&5
5323 echo "${ECHO_T}no" >&6; }
5327 test -n "$ac_ct_CXX" && break
5330 if test "x$ac_ct_CXX" = x
; then
5333 case $cross_compiling:$ac_tool_warned in
5335 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5336 whose name does not start with the host triplet. If you think this
5337 configuration is useful to you, please write to autoconf@gnu.org." >&5
5338 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5339 whose name does not start with the host triplet. If you think this
5340 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5341 ac_tool_warned
=yes ;;
5349 # Provide some information about the compiler.
5350 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
5351 ac_compiler
=`set X $ac_compile; echo $2`
5352 { (ac_try
="$ac_compiler --version >&5"
5354 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5355 *) ac_try_echo=$ac_try;;
5357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5358 (eval "$ac_compiler --version >&5") 2>&5
5360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5361 (exit $ac_status); }
5362 { (ac_try="$ac_compiler -v >&5"
5364 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5365 *) ac_try_echo
=$ac_try;;
5367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5368 (eval "$ac_compiler -v >&5") 2>&5
5370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5371 (exit $ac_status); }
5372 { (ac_try
="$ac_compiler -V >&5"
5374 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5375 *) ac_try_echo=$ac_try;;
5377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5378 (eval "$ac_compiler -V >&5") 2>&5
5380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5381 (exit $ac_status); }
5383 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5384 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
5385 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5386 echo $ECHO_N "(cached) $ECHO_C" >&6
5388 cat >conftest.$ac_ext <<_ACEOF
5391 cat confdefs.h >>conftest.$ac_ext
5392 cat >>conftest.$ac_ext <<_ACEOF
5393 /* end confdefs.h. */
5406 rm -f conftest.$ac_objext
5407 if { (ac_try="$ac_compile"
5409 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5410 *) ac_try_echo
=$ac_try;;
5412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5413 (eval "$ac_compile") 2>conftest.er1
5415 grep -v '^ *+' conftest.er1
>conftest.err
5417 cat conftest.err
>&5
5418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5419 (exit $ac_status); } && {
5420 test -z "$ac_cxx_werror_flag" ||
5421 test ! -s conftest.err
5422 } && test -s conftest.
$ac_objext; then
5425 echo "$as_me: failed program was:" >&5
5426 sed 's/^/| /' conftest.
$ac_ext >&5
5431 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5432 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5435 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5436 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
5437 GXX
=`test $ac_compiler_gnu = yes && echo yes`
5438 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5439 ac_save_CXXFLAGS
=$CXXFLAGS
5440 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5441 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
5442 if test "${ac_cv_prog_cxx_g+set}" = set; then
5443 echo $ECHO_N "(cached) $ECHO_C" >&6
5445 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5446 ac_cxx_werror_flag
=yes
5449 cat >conftest.
$ac_ext <<_ACEOF
5452 cat confdefs.h
>>conftest.
$ac_ext
5453 cat >>conftest.
$ac_ext <<_ACEOF
5454 /* end confdefs.h. */
5464 rm -f conftest.
$ac_objext
5465 if { (ac_try
="$ac_compile"
5467 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5468 *) ac_try_echo=$ac_try;;
5470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5471 (eval "$ac_compile") 2>conftest.er1
5473 grep -v '^ *+' conftest.er1 >conftest.err
5475 cat conftest.err >&5
5476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5477 (exit $ac_status); } && {
5478 test -z "$ac_cxx_werror_flag" ||
5479 test ! -s conftest.err
5480 } && test -s conftest.$ac_objext; then
5481 ac_cv_prog_cxx_g=yes
5483 echo "$as_me: failed program was:" >&5
5484 sed 's/^/| /' conftest.$ac_ext >&5
5487 cat >conftest.$ac_ext <<_ACEOF
5490 cat confdefs.h >>conftest.$ac_ext
5491 cat >>conftest.$ac_ext <<_ACEOF
5492 /* end confdefs.h. */
5502 rm -f conftest.$ac_objext
5503 if { (ac_try="$ac_compile"
5505 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5506 *) ac_try_echo
=$ac_try;;
5508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5509 (eval "$ac_compile") 2>conftest.er1
5511 grep -v '^ *+' conftest.er1
>conftest.err
5513 cat conftest.err
>&5
5514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5515 (exit $ac_status); } && {
5516 test -z "$ac_cxx_werror_flag" ||
5517 test ! -s conftest.err
5518 } && test -s conftest.
$ac_objext; then
5521 echo "$as_me: failed program was:" >&5
5522 sed 's/^/| /' conftest.
$ac_ext >&5
5524 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5526 cat >conftest.
$ac_ext <<_ACEOF
5529 cat confdefs.h
>>conftest.
$ac_ext
5530 cat >>conftest.
$ac_ext <<_ACEOF
5531 /* end confdefs.h. */
5541 rm -f conftest.
$ac_objext
5542 if { (ac_try
="$ac_compile"
5544 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5545 *) ac_try_echo=$ac_try;;
5547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5548 (eval "$ac_compile") 2>conftest.er1
5550 grep -v '^ *+' conftest.er1 >conftest.err
5552 cat conftest.err >&5
5553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5554 (exit $ac_status); } && {
5555 test -z "$ac_cxx_werror_flag" ||
5556 test ! -s conftest.err
5557 } && test -s conftest.$ac_objext; then
5558 ac_cv_prog_cxx_g=yes
5560 echo "$as_me: failed program was:" >&5
5561 sed 's/^/| /' conftest.$ac_ext >&5
5566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5573 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5575 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5576 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
5577 if test "$ac_test_CXXFLAGS" = set; then
5578 CXXFLAGS=$ac_save_CXXFLAGS
5579 elif test $ac_cv_prog_cxx_g = yes; then
5580 if test "$GXX" = yes; then
5586 if test "$GXX" = yes; then
5593 ac_cpp='$CXXCPP $CPPFLAGS'
5594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5598 depcc="$CXX" am_compiler_list=
5600 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5601 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
5602 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5603 echo $ECHO_N "(cached) $ECHO_C" >&6
5605 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5606 # We make a subdir and do the tests there. Otherwise we can end up
5607 # making bogus files that we don't know about and never remove. For
5608 # instance it was reported that on HP-UX the gcc test will end up
5609 # making a dummy file named `D
' -- because `-MD' means
`put the output
5612 # Copy depcomp to subdir because otherwise we won't find it if we're
5613 # using a relative directory.
5614 cp "$am_depcomp" conftest.dir
5616 # We will build objects and dependencies in a subdirectory because
5617 # it helps to detect inapplicable dependency modes. For instance
5618 # both Tru64's cc and ICC support -MD to output dependencies as a
5619 # side effect of compilation, but ICC will put the dependencies in
5620 # the current directory while Tru64 will put them in the object
5624 am_cv_CXX_dependencies_compiler_type=none
5625 if test "$am_compiler_list" = ""; then
5626 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5628 for depmode in $am_compiler_list; do
5629 # Setup a source with many dependencies, because some compilers
5630 # like to wrap large dependency lists on column 80 (with \), and
5631 # we should not choose a depcomp mode which is confused by this.
5633 # We need to recreate these files for each test, as the compiler may
5634 # overwrite some of them when testing with obscure command lines.
5635 # This happens at least with the AIX C compiler.
5637 for i in 1 2 3 4 5 6; do
5638 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5639 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
5640 # Solaris 8's
{/usr
,}/bin
/sh.
5641 touch sub
/conftst
$i.h
5643 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5647 # after this tag, mechanisms are not by side-effect, so they'll
5648 # only be used when explicitly requested
5649 if test "x$enable_dependency_tracking" = xyes
; then
5657 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5658 # mode. It turns out that the SunPro C++ compiler does not properly
5659 # handle `-M -o', and we need to detect this.
5660 if depmode
=$depmode \
5661 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
5662 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5663 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
5664 >/dev
/null
2>conftest.err
&&
5665 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5666 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5667 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
5668 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5669 # icc doesn't choke on unknown options, it will just issue warnings
5670 # or remarks (even with -Werror). So we grep stderr for any message
5671 # that says an option was ignored or not supported.
5672 # When given -MP, icc 7.0 and 7.1 complain thusly:
5673 # icc: Command line warning: ignoring option '-M'; no argument required
5674 # The diagnosis changed in icc 8.0:
5675 # icc: Command line remark: option '-MP' not supported
5676 if (grep 'ignoring option' conftest.err ||
5677 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5678 am_cv_CXX_dependencies_compiler_type
=$depmode
5687 am_cv_CXX_dependencies_compiler_type
=none
5691 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5692 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
5693 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5696 test "x$enable_dependency_tracking" != xno \
5697 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5698 am__fastdepCXX_TRUE
=
5699 am__fastdepCXX_FALSE
='#'
5701 am__fastdepCXX_TRUE
='#'
5702 am__fastdepCXX_FALSE
=
5708 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5709 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5710 (test "X$CXX" != "Xg++"))) ; then
5712 ac_cpp
='$CXXCPP $CPPFLAGS'
5713 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5714 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5715 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5716 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5717 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5718 if test -z "$CXXCPP"; then
5719 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5720 echo $ECHO_N "(cached) $ECHO_C" >&6
5722 # Double quotes because CXXCPP needs to be expanded
5723 for CXXCPP
in "$CXX -E" "/lib/cpp"
5726 for ac_cxx_preproc_warn_flag
in '' yes
5728 # Use a header file that comes with gcc, so configuring glibc
5729 # with a fresh cross-compiler works.
5730 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5731 # <limits.h> exists even on freestanding compilers.
5732 # On the NeXT, cc -E runs the code through the compiler's parser,
5733 # not just through cpp. "Syntax error" is here to catch this case.
5734 cat >conftest.
$ac_ext <<_ACEOF
5737 cat confdefs.h
>>conftest.
$ac_ext
5738 cat >>conftest.
$ac_ext <<_ACEOF
5739 /* end confdefs.h. */
5741 # include <limits.h>
5743 # include <assert.h>
5747 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5749 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5750 *) ac_try_echo=$ac_try;;
5752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5753 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5755 grep -v '^ *+' conftest.er1 >conftest.err
5757 cat conftest.err >&5
5758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5759 (exit $ac_status); } >/dev/null && {
5760 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5761 test ! -s conftest.err
5765 echo "$as_me: failed program was:" >&5
5766 sed 's/^/| /' conftest.$ac_ext >&5
5768 # Broken: fails on valid input.
5772 rm -f conftest.err conftest.$ac_ext
5774 # OK, works on sane cases. Now check whether nonexistent headers
5775 # can be detected and how.
5776 cat >conftest.$ac_ext <<_ACEOF
5779 cat confdefs.h >>conftest.$ac_ext
5780 cat >>conftest.$ac_ext <<_ACEOF
5781 /* end confdefs.h. */
5782 #include <ac_nonexistent.h>
5784 if { (ac_try="$ac_cpp conftest.$ac_ext"
5786 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5787 *) ac_try_echo
=$ac_try;;
5789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5790 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5792 grep -v '^ *+' conftest.er1
>conftest.err
5794 cat conftest.err
>&5
5795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5796 (exit $ac_status); } >/dev
/null
&& {
5797 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5798 test ! -s conftest.err
5800 # Broken: success on invalid input.
5803 echo "$as_me: failed program was:" >&5
5804 sed 's/^/| /' conftest.
$ac_ext >&5
5806 # Passes both tests.
5811 rm -f conftest.err conftest.
$ac_ext
5814 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5815 rm -f conftest.err conftest.
$ac_ext
5816 if $ac_preproc_ok; then
5821 ac_cv_prog_CXXCPP
=$CXXCPP
5824 CXXCPP
=$ac_cv_prog_CXXCPP
5826 ac_cv_prog_CXXCPP
=$CXXCPP
5828 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
5829 echo "${ECHO_T}$CXXCPP" >&6; }
5831 for ac_cxx_preproc_warn_flag
in '' yes
5833 # Use a header file that comes with gcc, so configuring glibc
5834 # with a fresh cross-compiler works.
5835 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5836 # <limits.h> exists even on freestanding compilers.
5837 # On the NeXT, cc -E runs the code through the compiler's parser,
5838 # not just through cpp. "Syntax error" is here to catch this case.
5839 cat >conftest.
$ac_ext <<_ACEOF
5842 cat confdefs.h
>>conftest.
$ac_ext
5843 cat >>conftest.
$ac_ext <<_ACEOF
5844 /* end confdefs.h. */
5846 # include <limits.h>
5848 # include <assert.h>
5852 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5854 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5855 *) ac_try_echo=$ac_try;;
5857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5858 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5860 grep -v '^ *+' conftest.er1 >conftest.err
5862 cat conftest.err >&5
5863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5864 (exit $ac_status); } >/dev/null && {
5865 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5866 test ! -s conftest.err
5870 echo "$as_me: failed program was:" >&5
5871 sed 's/^/| /' conftest.$ac_ext >&5
5873 # Broken: fails on valid input.
5877 rm -f conftest.err conftest.$ac_ext
5879 # OK, works on sane cases. Now check whether nonexistent headers
5880 # can be detected and how.
5881 cat >conftest.$ac_ext <<_ACEOF
5884 cat confdefs.h >>conftest.$ac_ext
5885 cat >>conftest.$ac_ext <<_ACEOF
5886 /* end confdefs.h. */
5887 #include <ac_nonexistent.h>
5889 if { (ac_try="$ac_cpp conftest.$ac_ext"
5891 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5892 *) ac_try_echo
=$ac_try;;
5894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5895 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5897 grep -v '^ *+' conftest.er1
>conftest.err
5899 cat conftest.err
>&5
5900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5901 (exit $ac_status); } >/dev
/null
&& {
5902 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5903 test ! -s conftest.err
5905 # Broken: success on invalid input.
5908 echo "$as_me: failed program was:" >&5
5909 sed 's/^/| /' conftest.
$ac_ext >&5
5911 # Passes both tests.
5916 rm -f conftest.err conftest.
$ac_ext
5919 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5920 rm -f conftest.err conftest.
$ac_ext
5921 if $ac_preproc_ok; then
5924 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5925 See \`config.log' for more details." >&5
5926 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5927 See \`config.log' for more details." >&2;}
5928 { (exit 1); exit 1; }; }
5932 ac_cpp
='$CXXCPP $CPPFLAGS'
5933 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5934 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5935 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5941 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5942 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5943 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
5944 if test -n "$ac_tool_prefix"; then
5945 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
5947 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5948 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5949 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5950 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5951 if test "${ac_cv_prog_F77+set}" = set; then
5952 echo $ECHO_N "(cached) $ECHO_C" >&6
5954 if test -n "$F77"; then
5955 ac_cv_prog_F77
="$F77" # Let the user override the test.
5957 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5961 test -z "$as_dir" && as_dir
=.
5962 for ac_exec_ext
in '' $ac_executable_extensions; do
5963 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5964 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
5965 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5975 if test -n "$F77"; then
5976 { echo "$as_me:$LINENO: result: $F77" >&5
5977 echo "${ECHO_T}$F77" >&6; }
5979 { echo "$as_me:$LINENO: result: no" >&5
5980 echo "${ECHO_T}no" >&6; }
5984 test -n "$F77" && break
5987 if test -z "$F77"; then
5989 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
5991 # Extract the first word of "$ac_prog", so it can be a program name with args.
5992 set dummy
$ac_prog; ac_word
=$2
5993 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5994 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5995 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5996 echo $ECHO_N "(cached) $ECHO_C" >&6
5998 if test -n "$ac_ct_F77"; then
5999 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
6001 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6005 test -z "$as_dir" && as_dir
=.
6006 for ac_exec_ext
in '' $ac_executable_extensions; do
6007 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6008 ac_cv_prog_ac_ct_F77
="$ac_prog"
6009 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6018 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
6019 if test -n "$ac_ct_F77"; then
6020 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
6021 echo "${ECHO_T}$ac_ct_F77" >&6; }
6023 { echo "$as_me:$LINENO: result: no" >&5
6024 echo "${ECHO_T}no" >&6; }
6028 test -n "$ac_ct_F77" && break
6031 if test "x$ac_ct_F77" = x
; then
6034 case $cross_compiling:$ac_tool_warned in
6036 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6037 whose name does not start with the host triplet. If you think this
6038 configuration is useful to you, please write to autoconf@gnu.org." >&5
6039 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6040 whose name does not start with the host triplet. If you think this
6041 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6042 ac_tool_warned
=yes ;;
6049 # Provide some information about the compiler.
6050 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
6051 ac_compiler
=`set X $ac_compile; echo $2`
6052 { (ac_try
="$ac_compiler --version >&5"
6054 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6055 *) ac_try_echo=$ac_try;;
6057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6058 (eval "$ac_compiler --version >&5") 2>&5
6060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6061 (exit $ac_status); }
6062 { (ac_try="$ac_compiler -v >&5"
6064 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6065 *) ac_try_echo
=$ac_try;;
6067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6068 (eval "$ac_compiler -v >&5") 2>&5
6070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6071 (exit $ac_status); }
6072 { (ac_try
="$ac_compiler -V >&5"
6074 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6075 *) ac_try_echo=$ac_try;;
6077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6078 (eval "$ac_compiler -V >&5") 2>&5
6080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6081 (exit $ac_status); }
6084 # If we don't use `.F
' as extension, the preprocessor is not run on the
6085 # input file. (Note that this only needs to work for GNU compilers.)
6088 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6089 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
6090 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6091 echo $ECHO_N "(cached) $ECHO_C" >&6
6093 cat >conftest.$ac_ext <<_ACEOF
6101 rm -f conftest.$ac_objext
6102 if { (ac_try="$ac_compile"
6104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6105 *) ac_try_echo=$ac_try;;
6107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6108 (eval "$ac_compile") 2>conftest.er1
6110 grep -v '^
*+' conftest.er1 >conftest.err
6112 cat conftest.err >&5
6113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6114 (exit $ac_status); } && {
6115 test -z "$ac_f77_werror_flag" ||
6116 test ! -s conftest.err
6117 } && test -s conftest.$ac_objext; then
6120 echo "$as_me: failed program was:" >&5
6121 sed 's
/^
/|
/' conftest.$ac_ext >&5
6126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6127 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6130 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6131 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
6133 ac_test_FFLAGS=${FFLAGS+set}
6134 ac_save_FFLAGS=$FFLAGS
6136 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6137 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
6138 if test "${ac_cv_prog_f77_g+set}" = set; then
6139 echo $ECHO_N "(cached) $ECHO_C" >&6
6142 cat >conftest.$ac_ext <<_ACEOF
6147 rm -f conftest.$ac_objext
6148 if { (ac_try="$ac_compile"
6150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6151 *) ac_try_echo=$ac_try;;
6153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6154 (eval "$ac_compile") 2>conftest.er1
6156 grep -v '^
*+' conftest.er1 >conftest.err
6158 cat conftest.err >&5
6159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6160 (exit $ac_status); } && {
6161 test -z "$ac_f77_werror_flag" ||
6162 test ! -s conftest.err
6163 } && test -s conftest.$ac_objext; then
6164 ac_cv_prog_f77_g=yes
6166 echo "$as_me: failed program was:" >&5
6167 sed 's
/^
/|
/' conftest.$ac_ext >&5
6172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6175 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6176 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
6177 if test "$ac_test_FFLAGS" = set; then
6178 FFLAGS=$ac_save_FFLAGS
6179 elif test $ac_cv_prog_f77_g = yes; then
6180 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6186 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6193 G77=`test $ac_compiler_gnu = yes && echo yes`
6195 ac_cpp='$CPP $CPPFLAGS'
6196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
6197 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6202 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works
for C compilers
!
6204 # find the maximum length of command line arguments
6205 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6206 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
6207 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6208 echo $ECHO_N "(cached) $ECHO_C" >&6
6215 # On DJGPP, this test can blow up pretty badly due to problems in libc
6216 # (any single argument exceeding 2000 bytes causes a buffer overrun
6217 # during glob expansion). Even if it were fixed, the result of this
6218 # check would be larger than it should be.
6219 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6223 # Under GNU Hurd, this test is not required because there is
6224 # no limit to the length of command line arguments.
6225 # Libtool will interpret -1 as no limit whatsoever
6226 lt_cv_sys_max_cmd_len
=-1;
6230 # On Win9x/ME, this test blows up -- it succeeds, but takes
6231 # about 5 minutes as the teststring grows exponentially.
6232 # Worse, since 9x/ME are not pre-emptively multitasking,
6233 # you end up with a "frozen" computer, even though with patience
6234 # the test eventually succeeds (with a max line length of 256k).
6235 # Instead, let's just punt: use the minimum linelength reported by
6236 # all of the supported platforms: 8192 (on NT/2K/XP).
6237 lt_cv_sys_max_cmd_len
=8192;
6241 # On AmigaOS with pdksh, this test takes hours, literally.
6242 # So we just punt and use a minimum line length of 8192.
6243 lt_cv_sys_max_cmd_len
=8192;
6246 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6247 # This has been around since 386BSD, at least. Likely further.
6248 if test -x /sbin
/sysctl
; then
6249 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6250 elif test -x /usr
/sbin
/sysctl
; then
6251 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6253 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6255 # And add a safety zone
6256 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6257 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6261 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6262 lt_cv_sys_max_cmd_len
=196608
6266 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6267 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6268 # nice to cause kernel panics so lets avoid the loop below.
6269 # First set a reasonable default.
6270 lt_cv_sys_max_cmd_len
=16384
6272 if test -x /sbin
/sysconfig
; then
6273 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6274 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6279 lt_cv_sys_max_cmd_len
=102400
6281 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6282 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6283 if test -n "$kargmax"; then
6284 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6286 lt_cv_sys_max_cmd_len
=32768
6290 # If test is not a shell built-in, we'll probably end up computing a
6291 # maximum length that is only half of the actual maximum length, but
6293 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6294 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6295 = "XX$teststring") >/dev
/null
2>&1 &&
6296 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
6297 lt_cv_sys_max_cmd_len
=$new_result &&
6298 test $i != 17 # 1/2 MB should be enough
6301 teststring
=$teststring$teststring
6304 # Add a significant safety factor because C++ compilers can tack on massive
6305 # amounts of additional arguments before passing them to the linker.
6306 # It appears as though 1/2 is a usable value.
6307 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6313 if test -n $lt_cv_sys_max_cmd_len ; then
6314 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6315 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
6317 { echo "$as_me:$LINENO: result: none" >&5
6318 echo "${ECHO_T}none" >&6; }
6324 # Check for command to grab the raw symbol name followed by C symbol from nm.
6325 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6326 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
6327 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6328 echo $ECHO_N "(cached) $ECHO_C" >&6
6331 # These are sane defaults that work on at least a few old systems.
6332 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6334 # Character class describing NM global symbol codes.
6335 symcode
='[BCDEGRST]'
6337 # Regexp to match symbols that can be accessed directly from C.
6338 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6340 # Transform an extracted symbol line into a proper C declaration
6341 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6343 # Transform an extracted symbol line into symbol name and symbol address
6344 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'"
6346 # Define system-specific variables.
6351 cygwin
* | mingw
* | pw32
*)
6352 symcode
='[ABCDGISTW]'
6354 hpux
*) # Its linker distinguishes data from code symbols
6355 if test "$host_cpu" = ia64
; then
6356 symcode
='[ABCDEGRST]'
6358 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6359 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'"
6362 if test "$host_cpu" = ia64
; then
6363 symcode
='[ABCDGIRSTW]'
6364 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6365 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'"
6369 symcode
='[BCDEGRST]'
6372 symcode
='[BCDEGQRST]'
6383 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6391 # Handle CRLF in mingw tool chain
6395 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6399 # If we're using GNU nm, then use its standard symbol codes.
6400 case `$NM -V 2>&1` in
6401 *GNU
* |
*'with BFD'*)
6402 symcode
='[ABCDGIRSTW]' ;;
6405 # Try without a prefix undercore, then with it.
6406 for ac_symprfx
in "" "_"; do
6408 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6409 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6411 # Write the raw and C identifiers.
6412 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6414 # Check to see that the pipe works correctly.
6418 cat > conftest.
$ac_ext <<EOF
6423 void nm_test_func(){}
6427 int main(){nm_test_var='a';nm_test_func();return(0);}
6430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6431 (eval $ac_compile) 2>&5
6433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6434 (exit $ac_status); }; then
6435 # Now try to grab the symbols.
6437 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6438 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
6440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6441 (exit $ac_status); } && test -s "$nlist"; then
6442 # Try sorting and uniquifying the output.
6443 if sort "$nlist" |
uniq > "$nlist"T
; then
6444 mv -f "$nlist"T
"$nlist"
6449 # Make sure that we snagged all the symbols we need.
6450 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
6451 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
6452 cat <<EOF > conftest.$ac_ext
6458 # Now generate the symbol file.
6459 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6461 cat <<EOF >> conftest.$ac_ext
6462 #if defined (__STDC__) && __STDC__
6463 # define lt_ptr_t void *
6465 # define lt_ptr_t char *
6469 /* The mapping between symbol names and symbols. */
6474 lt_preloaded_symbols[] =
6477 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
6478 cat <<\EOF
>> conftest.
$ac_ext
6486 # Now try linking the two files.
6487 mv conftest.
$ac_objext conftstm.
$ac_objext
6488 lt_save_LIBS
="$LIBS"
6489 lt_save_CFLAGS
="$CFLAGS"
6490 LIBS
="conftstm.$ac_objext"
6491 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6493 (eval $ac_link) 2>&5
6495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6496 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
6499 LIBS
="$lt_save_LIBS"
6500 CFLAGS
="$lt_save_CFLAGS"
6502 echo "cannot find nm_test_func in $nlist" >&5
6505 echo "cannot find nm_test_var in $nlist" >&5
6508 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6511 echo "$progname: failed program was:" >&5
6512 cat conftest.
$ac_ext >&5
6514 rm -f conftest
* conftst
*
6516 # Do not use the global_symbol_pipe unless it works.
6517 if test "$pipe_works" = yes; then
6520 lt_cv_sys_global_symbol_pipe
=
6526 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6527 lt_cv_sys_global_symbol_to_cdecl
=
6529 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6530 { echo "$as_me:$LINENO: result: failed" >&5
6531 echo "${ECHO_T}failed" >&6; }
6533 { echo "$as_me:$LINENO: result: ok" >&5
6534 echo "${ECHO_T}ok" >&6; }
6537 { echo "$as_me:$LINENO: checking for objdir" >&5
6538 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
6539 if test "${lt_cv_objdir+set}" = set; then
6540 echo $ECHO_N "(cached) $ECHO_C" >&6
6542 rm -f .libs
2>/dev
/null
6543 mkdir .libs
2>/dev
/null
6544 if test -d .libs
; then
6547 # MS-DOS does not allow filenames that begin with a dot.
6550 rmdir .libs
2>/dev
/null
6552 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6553 echo "${ECHO_T}$lt_cv_objdir" >&6; }
6554 objdir
=$lt_cv_objdir
6562 # AIX sometimes has problems with the GCC collect2 program. For some
6563 # reason, if we set the COLLECT_NAMES environment variable, the problems
6564 # vanish in a puff of smoke.
6565 if test "X${COLLECT_NAMES+set}" != Xset
; then
6567 export COLLECT_NAMES
6572 # Sed substitution that helps us do robust quoting. It backslashifies
6573 # metacharacters that are still active within double-quoted strings.
6574 Xsed
='sed -e 1s/^X//'
6575 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
6577 # Same as above, but do not quote variable references.
6578 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
6580 # Sed substitution to delay expansion of an escaped shell variable in a
6581 # double_quote_subst'ed string.
6582 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6584 # Sed substitution to avoid accidental globbing in evaled expressions
6585 no_glob_subst
='s/\*/\\\*/g'
6591 default_ofile
=libtool
6592 can_build_shared
=yes
6594 # All known linkers require a `.a' archive for static linking (except MSVC,
6595 # which needs '.lib').
6597 ltmain
="$ac_aux_dir/ltmain.sh"
6598 ofile
="$default_ofile"
6599 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6601 if test -n "$ac_tool_prefix"; then
6602 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6603 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6604 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6605 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6606 if test "${ac_cv_prog_AR+set}" = set; then
6607 echo $ECHO_N "(cached) $ECHO_C" >&6
6609 if test -n "$AR"; then
6610 ac_cv_prog_AR
="$AR" # Let the user override the test.
6612 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6616 test -z "$as_dir" && as_dir
=.
6617 for ac_exec_ext
in '' $ac_executable_extensions; do
6618 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6619 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6620 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6630 if test -n "$AR"; then
6631 { echo "$as_me:$LINENO: result: $AR" >&5
6632 echo "${ECHO_T}$AR" >&6; }
6634 { echo "$as_me:$LINENO: result: no" >&5
6635 echo "${ECHO_T}no" >&6; }
6640 if test -z "$ac_cv_prog_AR"; then
6642 # Extract the first word of "ar", so it can be a program name with args.
6643 set dummy
ar; ac_word
=$2
6644 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6645 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6646 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6647 echo $ECHO_N "(cached) $ECHO_C" >&6
6649 if test -n "$ac_ct_AR"; then
6650 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6652 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6656 test -z "$as_dir" && as_dir
=.
6657 for ac_exec_ext
in '' $ac_executable_extensions; do
6658 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6659 ac_cv_prog_ac_ct_AR
="ar"
6660 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6669 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6670 if test -n "$ac_ct_AR"; then
6671 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6672 echo "${ECHO_T}$ac_ct_AR" >&6; }
6674 { echo "$as_me:$LINENO: result: no" >&5
6675 echo "${ECHO_T}no" >&6; }
6678 if test "x$ac_ct_AR" = x
; then
6681 case $cross_compiling:$ac_tool_warned in
6683 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6684 whose name does not start with the host triplet. If you think this
6685 configuration is useful to you, please write to autoconf@gnu.org." >&5
6686 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6687 whose name does not start with the host triplet. If you think this
6688 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6689 ac_tool_warned
=yes ;;
6697 if test -n "$ac_tool_prefix"; then
6698 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6699 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6700 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6701 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6702 if test "${ac_cv_prog_RANLIB+set}" = set; then
6703 echo $ECHO_N "(cached) $ECHO_C" >&6
6705 if test -n "$RANLIB"; then
6706 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6708 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6712 test -z "$as_dir" && as_dir
=.
6713 for ac_exec_ext
in '' $ac_executable_extensions; do
6714 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6715 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6716 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6725 RANLIB
=$ac_cv_prog_RANLIB
6726 if test -n "$RANLIB"; then
6727 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6728 echo "${ECHO_T}$RANLIB" >&6; }
6730 { echo "$as_me:$LINENO: result: no" >&5
6731 echo "${ECHO_T}no" >&6; }
6736 if test -z "$ac_cv_prog_RANLIB"; then
6737 ac_ct_RANLIB
=$RANLIB
6738 # Extract the first word of "ranlib", so it can be a program name with args.
6739 set dummy ranlib
; ac_word
=$2
6740 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6741 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6742 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6743 echo $ECHO_N "(cached) $ECHO_C" >&6
6745 if test -n "$ac_ct_RANLIB"; then
6746 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6748 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6752 test -z "$as_dir" && as_dir
=.
6753 for ac_exec_ext
in '' $ac_executable_extensions; do
6754 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6755 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6756 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6765 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6766 if test -n "$ac_ct_RANLIB"; then
6767 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6768 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6770 { echo "$as_me:$LINENO: result: no" >&5
6771 echo "${ECHO_T}no" >&6; }
6774 if test "x$ac_ct_RANLIB" = x
; then
6777 case $cross_compiling:$ac_tool_warned in
6779 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6780 whose name does not start with the host triplet. If you think this
6781 configuration is useful to you, please write to autoconf@gnu.org." >&5
6782 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6783 whose name does not start with the host triplet. If you think this
6784 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6785 ac_tool_warned
=yes ;;
6787 RANLIB
=$ac_ct_RANLIB
6790 RANLIB
="$ac_cv_prog_RANLIB"
6793 if test -n "$ac_tool_prefix"; then
6794 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6795 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6796 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6797 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6798 if test "${ac_cv_prog_STRIP+set}" = set; then
6799 echo $ECHO_N "(cached) $ECHO_C" >&6
6801 if test -n "$STRIP"; then
6802 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6804 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6808 test -z "$as_dir" && as_dir
=.
6809 for ac_exec_ext
in '' $ac_executable_extensions; do
6810 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6811 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6812 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6821 STRIP
=$ac_cv_prog_STRIP
6822 if test -n "$STRIP"; then
6823 { echo "$as_me:$LINENO: result: $STRIP" >&5
6824 echo "${ECHO_T}$STRIP" >&6; }
6826 { echo "$as_me:$LINENO: result: no" >&5
6827 echo "${ECHO_T}no" >&6; }
6832 if test -z "$ac_cv_prog_STRIP"; then
6834 # Extract the first word of "strip", so it can be a program name with args.
6835 set dummy strip
; ac_word
=$2
6836 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6837 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6838 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6839 echo $ECHO_N "(cached) $ECHO_C" >&6
6841 if test -n "$ac_ct_STRIP"; then
6842 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6844 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6848 test -z "$as_dir" && as_dir
=.
6849 for ac_exec_ext
in '' $ac_executable_extensions; do
6850 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6851 ac_cv_prog_ac_ct_STRIP
="strip"
6852 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6861 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6862 if test -n "$ac_ct_STRIP"; then
6863 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6864 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6866 { echo "$as_me:$LINENO: result: no" >&5
6867 echo "${ECHO_T}no" >&6; }
6870 if test "x$ac_ct_STRIP" = x
; then
6873 case $cross_compiling:$ac_tool_warned in
6875 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6876 whose name does not start with the host triplet. If you think this
6877 configuration is useful to you, please write to autoconf@gnu.org." >&5
6878 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6879 whose name does not start with the host triplet. If you think this
6880 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6881 ac_tool_warned
=yes ;;
6886 STRIP
="$ac_cv_prog_STRIP"
6891 old_CFLAGS
="$CFLAGS"
6893 # Set sane defaults for various variables
6894 test -z "$AR" && AR
=ar
6895 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6896 test -z "$AS" && AS
=as
6897 test -z "$CC" && CC
=cc
6898 test -z "$LTCC" && LTCC
=$CC
6899 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
6900 test -z "$DLLTOOL" && DLLTOOL
=dlltool
6901 test -z "$LD" && LD
=ld
6902 test -z "$LN_S" && LN_S
="ln -s"
6903 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6904 test -z "$NM" && NM
=nm
6905 test -z "$SED" && SED
=sed
6906 test -z "$OBJDUMP" && OBJDUMP
=objdump
6907 test -z "$RANLIB" && RANLIB
=:
6908 test -z "$STRIP" && STRIP
=:
6909 test -z "$ac_objext" && ac_objext
=o
6911 # Determine commands to create old-style static archives.
6912 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
6913 old_postinstall_cmds
='chmod 644 $oldlib'
6914 old_postuninstall_cmds
=
6916 if test -n "$RANLIB"; then
6919 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6922 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
6925 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6928 for cc_temp
in $compiler""; do
6930 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
6931 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
6936 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6939 # Only perform the check for file, if the check method requires it
6940 case $deplibs_check_method in
6942 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6943 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6944 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
6945 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6946 echo $ECHO_N "(cached) $ECHO_C" >&6
6950 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6953 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6954 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6955 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6956 for ac_dir
in $ac_dummy; do
6958 test -z "$ac_dir" && ac_dir
=.
6959 if test -f $ac_dir/${ac_tool_prefix}file; then
6960 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
6961 if test -n "$file_magic_test_file"; then
6962 case $deplibs_check_method in
6964 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6965 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6966 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6967 $EGREP "$file_magic_regex" > /dev
/null
; then
6972 *** Warning: the command libtool uses to detect shared libraries,
6973 *** $file_magic_cmd, produces output that libtool cannot recognize.
6974 *** The result is that libtool may fail to recognize shared libraries
6975 *** as such. This will affect the creation of libtool libraries that
6976 *** depend on shared libraries, but programs linked with such libtool
6977 *** libraries will work regardless of this problem. Nevertheless, you
6978 *** may want to report the problem to your system manager and/or to
6979 *** bug-libtool@gnu.org
6989 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6994 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6995 if test -n "$MAGIC_CMD"; then
6996 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6997 echo "${ECHO_T}$MAGIC_CMD" >&6; }
6999 { echo "$as_me:$LINENO: result: no" >&5
7000 echo "${ECHO_T}no" >&6; }
7003 if test -z "$lt_cv_path_MAGIC_CMD"; then
7004 if test -n "$ac_tool_prefix"; then
7005 { echo "$as_me:$LINENO: checking for file" >&5
7006 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
7007 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7008 echo $ECHO_N "(cached) $ECHO_C" >&6
7012 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7015 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7016 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7017 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7018 for ac_dir
in $ac_dummy; do
7020 test -z "$ac_dir" && ac_dir
=.
7021 if test -f $ac_dir/file; then
7022 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7023 if test -n "$file_magic_test_file"; then
7024 case $deplibs_check_method in
7026 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7027 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7028 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7029 $EGREP "$file_magic_regex" > /dev
/null
; then
7034 *** Warning: the command libtool uses to detect shared libraries,
7035 *** $file_magic_cmd, produces output that libtool cannot recognize.
7036 *** The result is that libtool may fail to recognize shared libraries
7037 *** as such. This will affect the creation of libtool libraries that
7038 *** depend on shared libraries, but programs linked with such libtool
7039 *** libraries will work regardless of this problem. Nevertheless, you
7040 *** may want to report the problem to your system manager and/or to
7041 *** bug-libtool@gnu.org
7051 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7056 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7057 if test -n "$MAGIC_CMD"; then
7058 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7059 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7061 { echo "$as_me:$LINENO: result: no" >&5
7062 echo "${ECHO_T}no" >&6; }
7077 # Check whether --enable-libtool-lock was given.
7078 if test "${enable_libtool_lock+set}" = set; then
7079 enableval
=$enable_libtool_lock;
7082 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
7085 # Check whether --with-pic was given.
7086 if test "${with_pic+set}" = set; then
7087 withval
=$with_pic; pic_mode
="$withval"
7092 test -z "$pic_mode" && pic_mode
=default
7094 # Use C for the default configuration in the libtool script
7098 ac_cpp
='$CPP $CPPFLAGS'
7099 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7100 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7101 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7104 # Source file extension for C test sources.
7107 # Object file extension for compiled C test sources.
7111 # Code to be used in simple compile tests
7112 lt_simple_compile_test_code
="int some_variable = 0;\n"
7114 # Code to be used in simple link tests
7115 lt_simple_link_test_code
='int main(){return(0);}\n'
7118 # If no C compiler was specified, use CC.
7121 # If no C compiler flags were specified, use CFLAGS.
7122 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7124 # Allow CC to be a program name with arguments.
7128 # save warnings/boilerplate of simple test code
7129 ac_outfile
=conftest.
$ac_objext
7130 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
7131 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7132 _lt_compiler_boilerplate
=`cat conftest.err`
7135 ac_outfile
=conftest.
$ac_objext
7136 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
7137 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7138 _lt_linker_boilerplate
=`cat conftest.err`
7143 lt_prog_compiler_no_builtin_flag
=
7145 if test "$GCC" = yes; then
7146 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
7149 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7150 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
7151 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7152 echo $ECHO_N "(cached) $ECHO_C" >&6
7154 lt_cv_prog_compiler_rtti_exceptions
=no
7155 ac_outfile
=conftest.
$ac_objext
7156 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7157 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7158 # Insert the option either (1) after the last *FLAGS variable, or
7159 # (2) before a word containing "conftest.", or (3) at the end.
7160 # Note that $ac_compile itself does not contain backslashes and begins
7161 # with a dollar sign (not a hyphen), so the echo should work correctly.
7162 # The option is referenced via a variable to avoid confusing sed.
7163 lt_compile
=`echo "$ac_compile" | $SED \
7164 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7165 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7166 -e 's:$: $lt_compiler_flag:'`
7167 (eval echo "\"\$as_me:7167: $lt_compile\"" >&5)
7168 (eval "$lt_compile" 2>conftest.err
)
7170 cat conftest.err
>&5
7171 echo "$as_me:7171: \$? = $ac_status" >&5
7172 if (exit $ac_status) && test -s "$ac_outfile"; then
7173 # The compiler can only warn and ignore the option if not recognized
7174 # So say no if there are warnings other than the usual output.
7175 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7176 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7177 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7178 lt_cv_prog_compiler_rtti_exceptions
=yes
7184 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7185 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7187 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7188 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7195 lt_prog_compiler_wl
=
7196 lt_prog_compiler_pic
=
7197 lt_prog_compiler_static
=
7199 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7200 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
7202 if test "$GCC" = yes; then
7203 lt_prog_compiler_wl
='-Wl,'
7204 lt_prog_compiler_static
='-static'
7208 # All AIX code is PIC.
7209 if test "$host_cpu" = ia64
; then
7210 # AIX 5 now supports IA64 processor
7211 lt_prog_compiler_static
='-Bstatic'
7216 # FIXME: we need at least 68020 code to build shared libraries, but
7217 # adding the `-m68020' flag to GCC prevents building anything better,
7219 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7222 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7223 # PIC is the default for these OSes.
7226 mingw
* | pw32
* | os2
*)
7227 # This hack is so that the source file can tell whether it is being
7228 # built for inclusion in a dll (and should export symbols for example).
7229 lt_prog_compiler_pic
='-DDLL_EXPORT'
7232 darwin
* | rhapsody
*)
7233 # PIC is the default on this platform
7234 # Common symbols not allowed in MH_DYLIB files
7235 lt_prog_compiler_pic
='-fno-common'
7239 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7240 # Instead, we relocate shared libraries at runtime.
7244 # Just because we use GCC doesn't mean we suddenly get shared libraries
7245 # on systems that don't support them.
7246 lt_prog_compiler_can_build_shared
=no
7251 if test -d /usr
/nec
; then
7252 lt_prog_compiler_pic
=-Kconform_pic
7257 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7264 lt_prog_compiler_pic
='-fPIC'
7270 lt_prog_compiler_pic
='-fPIC'
7274 # PORTME Check for flag to pass linker flags through the system compiler.
7277 lt_prog_compiler_wl
='-Wl,'
7278 if test "$host_cpu" = ia64
; then
7279 # AIX 5 now supports IA64 processor
7280 lt_prog_compiler_static
='-Bstatic'
7282 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7286 # PIC is the default on this platform
7287 # Common symbols not allowed in MH_DYLIB files
7288 case $cc_basename in
7290 lt_prog_compiler_pic
='-qnocommon'
7291 lt_prog_compiler_wl
='-Wl,'
7296 mingw
* | pw32
* | os2
*)
7297 # This hack is so that the source file can tell whether it is being
7298 # built for inclusion in a dll (and should export symbols for example).
7299 lt_prog_compiler_pic
='-DDLL_EXPORT'
7302 hpux9
* | hpux10
* | hpux11
*)
7303 lt_prog_compiler_wl
='-Wl,'
7304 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7311 lt_prog_compiler_pic
='+Z'
7314 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7315 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7318 irix5
* | irix6
* | nonstopux
*)
7319 lt_prog_compiler_wl
='-Wl,'
7320 # PIC (with -KPIC) is the default.
7321 lt_prog_compiler_static
='-non_shared'
7325 lt_prog_compiler_pic
='-KPIC'
7326 lt_prog_compiler_static
='-Bstatic'
7330 case $cc_basename in
7332 lt_prog_compiler_wl
='-Wl,'
7333 lt_prog_compiler_pic
='-KPIC'
7334 lt_prog_compiler_static
='-static'
7336 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7337 # Portland Group compilers (*not* the Pentium gcc compiler,
7338 # which looks to be a dead project)
7339 lt_prog_compiler_wl
='-Wl,'
7340 lt_prog_compiler_pic
='-fpic'
7341 lt_prog_compiler_static
='-Bstatic'
7344 lt_prog_compiler_wl
='-Wl,'
7345 # All Alpha code is PIC.
7346 lt_prog_compiler_static
='-non_shared'
7351 osf3
* | osf4
* | osf5
*)
7352 lt_prog_compiler_wl
='-Wl,'
7353 # All OSF/1 code is PIC.
7354 lt_prog_compiler_static
='-non_shared'
7358 lt_prog_compiler_pic
='-KPIC'
7359 lt_prog_compiler_static
='-Bstatic'
7360 case $cc_basename in
7362 lt_prog_compiler_wl
='-Qoption ld ';;
7364 lt_prog_compiler_wl
='-Wl,';;
7369 lt_prog_compiler_wl
='-Qoption ld '
7370 lt_prog_compiler_pic
='-PIC'
7371 lt_prog_compiler_static
='-Bstatic'
7374 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7375 lt_prog_compiler_wl
='-Wl,'
7376 lt_prog_compiler_pic
='-KPIC'
7377 lt_prog_compiler_static
='-Bstatic'
7381 if test -d /usr
/nec
;then
7382 lt_prog_compiler_pic
='-Kconform_pic'
7383 lt_prog_compiler_static
='-Bstatic'
7387 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7388 lt_prog_compiler_wl
='-Wl,'
7389 lt_prog_compiler_pic
='-KPIC'
7390 lt_prog_compiler_static
='-Bstatic'
7394 lt_prog_compiler_wl
='-Wl,'
7395 lt_prog_compiler_can_build_shared
=no
7399 lt_prog_compiler_pic
='-pic'
7400 lt_prog_compiler_static
='-Bstatic'
7404 lt_prog_compiler_can_build_shared
=no
7409 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7410 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
7413 # Check to make sure the PIC flag actually works.
7415 if test -n "$lt_prog_compiler_pic"; then
7417 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7418 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7419 if test "${lt_prog_compiler_pic_works+set}" = set; then
7420 echo $ECHO_N "(cached) $ECHO_C" >&6
7422 lt_prog_compiler_pic_works
=no
7423 ac_outfile
=conftest.
$ac_objext
7424 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7425 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7426 # Insert the option either (1) after the last *FLAGS variable, or
7427 # (2) before a word containing "conftest.", or (3) at the end.
7428 # Note that $ac_compile itself does not contain backslashes and begins
7429 # with a dollar sign (not a hyphen), so the echo should work correctly.
7430 # The option is referenced via a variable to avoid confusing sed.
7431 lt_compile
=`echo "$ac_compile" | $SED \
7432 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7433 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7434 -e 's:$: $lt_compiler_flag:'`
7435 (eval echo "\"\$as_me:7435: $lt_compile\"" >&5)
7436 (eval "$lt_compile" 2>conftest.err
)
7438 cat conftest.err
>&5
7439 echo "$as_me:7439: \$? = $ac_status" >&5
7440 if (exit $ac_status) && test -s "$ac_outfile"; then
7441 # The compiler can only warn and ignore the option if not recognized
7442 # So say no if there are warnings other than the usual output.
7443 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7444 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7445 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7446 lt_prog_compiler_pic_works
=yes
7452 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7453 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
7455 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
7456 case $lt_prog_compiler_pic in
7458 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7461 lt_prog_compiler_pic
=
7462 lt_prog_compiler_can_build_shared
=no
7467 # For platforms which do not support PIC, -DPIC is meaningless:
7469 lt_prog_compiler_pic
=
7472 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7477 # Check to make sure the static flag actually works.
7479 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7480 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7481 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
7482 if test "${lt_prog_compiler_static_works+set}" = set; then
7483 echo $ECHO_N "(cached) $ECHO_C" >&6
7485 lt_prog_compiler_static_works
=no
7486 save_LDFLAGS
="$LDFLAGS"
7487 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7488 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
7489 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7490 # The linker can only warn and ignore the option if not recognized
7491 # So say no if there are warnings
7492 if test -s conftest.err
; then
7493 # Append any errors to the config.log.
7494 cat conftest.err
1>&5
7495 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7496 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7497 if diff conftest.exp conftest.er2
>/dev
/null
; then
7498 lt_prog_compiler_static_works
=yes
7501 lt_prog_compiler_static_works
=yes
7505 LDFLAGS
="$save_LDFLAGS"
7508 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7509 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
7511 if test x
"$lt_prog_compiler_static_works" = xyes
; then
7514 lt_prog_compiler_static
=
7518 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7519 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7520 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7521 echo $ECHO_N "(cached) $ECHO_C" >&6
7523 lt_cv_prog_compiler_c_o
=no
7524 $rm -r conftest
2>/dev
/null
7528 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7530 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7531 # Insert the option either (1) after the last *FLAGS variable, or
7532 # (2) before a word containing "conftest.", or (3) at the end.
7533 # Note that $ac_compile itself does not contain backslashes and begins
7534 # with a dollar sign (not a hyphen), so the echo should work correctly.
7535 lt_compile
=`echo "$ac_compile" | $SED \
7536 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7537 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7538 -e 's:$: $lt_compiler_flag:'`
7539 (eval echo "\"\$as_me:7539: $lt_compile\"" >&5)
7540 (eval "$lt_compile" 2>out
/conftest.err
)
7542 cat out
/conftest.err
>&5
7543 echo "$as_me:7543: \$? = $ac_status" >&5
7544 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7546 # The compiler can only warn and ignore the option if not recognized
7547 # So say no if there are warnings
7548 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7549 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7550 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7551 lt_cv_prog_compiler_c_o
=yes
7556 # SGI C++ compiler will create directory out/ii_files/ for
7557 # template instantiation
7558 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
7559 $rm out
/* && rmdir out
7565 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7566 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
7569 hard_links
="nottested"
7570 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7571 # do not overwrite the value of need_locks provided by the user
7572 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7573 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
7576 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7578 ln conftest.a conftest.b
2>&5 || hard_links
=no
7579 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7580 { echo "$as_me:$LINENO: result: $hard_links" >&5
7581 echo "${ECHO_T}$hard_links" >&6; }
7582 if test "$hard_links" = no
; then
7583 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7584 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7591 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7592 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
7595 allow_undefined_flag
=
7596 enable_shared_with_static_runtimes
=no
7598 archive_expsym_cmds
=
7599 old_archive_From_new_cmds
=
7600 old_archive_from_expsyms_cmds
=
7601 export_dynamic_flag_spec
=
7602 whole_archive_flag_spec
=
7603 thread_safe_flag_spec
=
7604 hardcode_libdir_flag_spec
=
7605 hardcode_libdir_flag_spec_ld
=
7606 hardcode_libdir_separator
=
7609 hardcode_shlibpath_var
=unsupported
7610 link_all_deplibs
=unknown
7611 hardcode_automatic
=no
7614 always_export_symbols
=no
7615 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7616 # include_expsyms should be a list of space-separated symbols to be *always*
7617 # included in the symbol list
7619 # exclude_expsyms can be an extended regexp of symbols to exclude
7620 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7621 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7622 # as well as any symbol that contains `d'.
7623 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
7624 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7625 # platforms (ab)use it in PIC code, but their linkers get confused if
7626 # the symbol is explicitly referenced. Since portable code cannot
7627 # rely on this symbol name, it's probably fine to never include it in
7628 # preloaded symbol tables.
7629 extract_expsyms_cmds
=
7630 # Just being paranoid about ensuring that cc_basename is set.
7631 for cc_temp
in $compiler""; do
7633 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7634 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7639 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7642 cygwin
* | mingw
* | pw32
*)
7643 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7644 # When not using gcc, we currently assume that we are using
7645 # Microsoft Visual C++.
7646 if test "$GCC" != yes; then
7651 # we just hope/assume this is gcc and not c89 (= MSVC++)
7660 if test "$with_gnu_ld" = yes; then
7661 # If archive_cmds runs LD, not CC, wlarc should be empty
7664 # Set some defaults for GNU ld with shared library support. These
7665 # are reset later if shared libraries are not supported. Putting them
7666 # here allows them to be overridden if necessary.
7667 runpath_var
=LD_RUN_PATH
7668 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
7669 export_dynamic_flag_spec
='${wl}--export-dynamic'
7670 # ancient GNU ld didn't support --whole-archive et. al.
7671 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
7672 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7674 whole_archive_flag_spec
=
7676 supports_anon_versioning
=no
7677 case `$LD -v 2>/dev/null` in
7678 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
7679 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7680 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7681 *\
2.11.
*) ;; # other 2.11 versions
7682 *) supports_anon_versioning
=yes ;;
7685 # See if GNU ld supports shared libraries.
7687 aix3
* | aix4
* | aix5
*)
7688 # On AIX/PPC, the GNU linker is very broken
7689 if test "$host_cpu" != ia64
; then
7693 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7694 *** to be unable to reliably create shared libraries on AIX.
7695 *** Therefore, libtool is disabling shared libraries support. If you
7696 *** really care for shared libraries, you may want to modify your PATH
7697 *** so that a non-GNU linker is found, and then restart.
7704 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)'
7705 hardcode_libdir_flag_spec
='-L$libdir'
7706 hardcode_minus_L
=yes
7708 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7709 # that the semantics of dynamic libraries on AmigaOS, at least up
7710 # to version 4, is to share data among multiple programs linked
7711 # with the same dynamic library. Since this doesn't match the
7712 # behavior of shared libraries on other platforms, we can't use
7718 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7719 allow_undefined_flag
=unsupported
7720 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7721 # support --undefined. This deserves some investigation. FIXME
7722 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7728 cygwin
* | mingw
* | pw32
*)
7729 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7730 # as there is no search path for DLLs.
7731 hardcode_libdir_flag_spec
='-L$libdir'
7732 allow_undefined_flag
=unsupported
7733 always_export_symbols
=no
7734 enable_shared_with_static_runtimes
=yes
7735 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
7737 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
7738 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7739 # If the export-symbols file already is a .def file (1st line
7740 # is EXPORTS), use it as is; otherwise, prepend...
7741 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7742 cp $export_symbols $output_objdir/$soname.def;
7744 echo EXPORTS > $output_objdir/$soname.def;
7745 cat $export_symbols >> $output_objdir/$soname.def;
7747 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7755 hardcode_shlibpath_var
=no
7756 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7757 export_dynamic_flag_spec
='${wl}-E'
7758 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7759 # Instead, shared libraries are loaded at an image base (0x10000000 by
7760 # default) and relocated if they conflict, which is a slow very memory
7761 # consuming and fragmenting process. To avoid this, we pick a random,
7762 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7763 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7764 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7765 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'
7769 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7771 case $cc_basename,$host_cpu in
7772 pgcc
*) # Portland Group C compiler
7773 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'
7774 tmp_addflag
=' $pic_flag'
7776 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7777 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'
7778 tmp_addflag
=' $pic_flag -Mnomain' ;;
7779 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7780 tmp_addflag
=' -i_dynamic' ;;
7781 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7782 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7783 ifc
* | ifort
*) # Intel Fortran compiler
7784 tmp_addflag
=' -nofor_main' ;;
7786 archive_cmds
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7788 if test $supports_anon_versioning = yes; then
7789 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
7790 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7791 $echo "local: *; };" >> $output_objdir/$libname.ver~
7792 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7800 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7801 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7804 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7805 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7810 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
7814 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7815 *** create shared libraries on Solaris systems. Therefore, libtool
7816 *** is disabling shared libraries support. We urge you to upgrade GNU
7817 *** binutils to release 2.9.1 or newer. Another option is to modify
7818 *** your PATH or compiler configuration so that the native linker is
7819 *** used, and then restart.
7822 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7823 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7824 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7830 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7831 case `$LD -v 2>&1` in
7832 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
7836 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7837 *** reliably create shared libraries on SCO systems. Therefore, libtool
7838 *** is disabling shared libraries support. We urge you to upgrade GNU
7839 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7840 *** your PATH or compiler configuration so that the native linker is
7841 *** used, and then restart.
7846 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7847 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
7848 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
7849 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
7858 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7861 hardcode_shlibpath_var
=no
7865 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7866 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7867 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7874 if test "$ld_shlibs" = no
; then
7876 hardcode_libdir_flag_spec
=
7877 export_dynamic_flag_spec
=
7878 whole_archive_flag_spec
=
7881 # PORTME fill in a description of your system's linker (not GNU ld)
7884 allow_undefined_flag
=unsupported
7885 always_export_symbols
=yes
7886 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'
7887 # Note: this linker hardcodes the directories in LIBPATH if there
7888 # are no directories specified by -L.
7889 hardcode_minus_L
=yes
7890 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7891 # Neither direct hardcoding nor static linking is supported with a
7893 hardcode_direct
=unsupported
7898 if test "$host_cpu" = ia64
; then
7899 # On IA64, the linker does run time linking by default, so we don't
7900 # have to do anything special.
7901 aix_use_runtimelinking
=no
7902 exp_sym_flag
='-Bexport'
7905 # If we're using GNU nm, then we don't want the "-C" option.
7906 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7907 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
7908 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'
7910 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'
7912 aix_use_runtimelinking
=no
7914 # Test if we are trying to use run time linking or normal
7915 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7916 # need to do runtime linking.
7917 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
7918 for ld_flag
in $LDFLAGS; do
7919 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
7920 aix_use_runtimelinking
=yes
7927 exp_sym_flag
='-bexport'
7928 no_entry_flag
='-bnoentry'
7931 # When large executables or shared objects are built, AIX ld can
7932 # have problems creating the table of contents. If linking a library
7933 # or program results in "error TOC overflow" add -mminimal-toc to
7934 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7935 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7939 hardcode_libdir_separator
=':'
7940 link_all_deplibs
=yes
7942 if test "$GCC" = yes; then
7943 case $host_os in aix4.
[012]|aix4.
[012].
*)
7944 # We only want to do this on AIX 4.2 and lower, the check
7945 # below for broken collect2 doesn't work under 4.3+
7946 collect2name
=`${CC} -print-prog-name=collect2`
7947 if test -f "$collect2name" && \
7948 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
7950 # We have reworked collect2
7953 # We have old collect2
7954 hardcode_direct
=unsupported
7955 # It fails to find uninstalled libraries when the uninstalled
7956 # path is not listed in the libpath. Setting hardcode_minus_L
7957 # to unsupported forces relinking
7958 hardcode_minus_L
=yes
7959 hardcode_libdir_flag_spec
='-L$libdir'
7960 hardcode_libdir_separator
=
7964 shared_flag
='-shared'
7965 if test "$aix_use_runtimelinking" = yes; then
7966 shared_flag
="$shared_flag "'${wl}-G'
7970 if test "$host_cpu" = ia64
; then
7971 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7972 # chokes on -Wl,-G. The following line is correct:
7975 if test "$aix_use_runtimelinking" = yes; then
7976 shared_flag
='${wl}-G'
7978 shared_flag
='${wl}-bM:SRE'
7983 # It seems that -bexpall does not export symbols beginning with
7984 # underscore (_), so it is better to generate a list of symbols to export.
7985 always_export_symbols
=yes
7986 if test "$aix_use_runtimelinking" = yes; then
7987 # Warning - without using the other runtime loading flags (-brtl),
7988 # -berok will link without error, but may produce a broken library.
7989 allow_undefined_flag
='-berok'
7990 # Determine the default libpath from the value encoded in an empty executable.
7991 cat >conftest.
$ac_ext <<_ACEOF
7994 cat confdefs.h
>>conftest.
$ac_ext
7995 cat >>conftest.
$ac_ext <<_ACEOF
7996 /* end confdefs.h. */
8006 rm -f conftest.
$ac_objext conftest
$ac_exeext
8007 if { (ac_try
="$ac_link"
8009 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8010 *) ac_try_echo=$ac_try;;
8012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8013 (eval "$ac_link") 2>conftest.er1
8015 grep -v '^ *+' conftest.er1 >conftest.err
8017 cat conftest.err >&5
8018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8019 (exit $ac_status); } && {
8020 test -z "$ac_c_werror_flag" ||
8021 test ! -s conftest.err
8022 } && test -s conftest$ac_exeext &&
8023 $as_test_x conftest$ac_exeext; then
8025 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8027 # Check for a 64-bit object if we didn't find anything.
8028 if test -z "$aix_libpath"; then aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8031 echo "$as_me: failed program was:" >&5
8032 sed 's/^/| /' conftest.$ac_ext >&5
8037 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8038 conftest$ac_exeext conftest.$ac_ext
8039 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8041 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8042 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"
8044 if test "$host_cpu" = ia64; then
8045 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8046 allow_undefined_flag="-z nodefs"
8047 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"
8049 # Determine the default libpath from the value encoded in an empty executable.
8050 cat >conftest.$ac_ext <<_ACEOF
8053 cat confdefs.h >>conftest.$ac_ext
8054 cat >>conftest.$ac_ext <<_ACEOF
8055 /* end confdefs.h. */
8065 rm -f conftest.$ac_objext conftest$ac_exeext
8066 if { (ac_try="$ac_link"
8068 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8069 *) ac_try_echo
=$ac_try;;
8071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8072 (eval "$ac_link") 2>conftest.er1
8074 grep -v '^ *+' conftest.er1
>conftest.err
8076 cat conftest.err
>&5
8077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8078 (exit $ac_status); } && {
8079 test -z "$ac_c_werror_flag" ||
8080 test ! -s conftest.err
8081 } && test -s conftest
$ac_exeext &&
8082 $as_test_x conftest
$ac_exeext; then
8084 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8086 # Check for a 64-bit object if we didn't find anything.
8087 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8090 echo "$as_me: failed program was:" >&5
8091 sed 's/^/| /' conftest.
$ac_ext >&5
8096 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8097 conftest
$ac_exeext conftest.
$ac_ext
8098 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8100 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8101 # Warning - without using the other run time loading flags,
8102 # -berok will link without error, but may produce a broken library.
8103 no_undefined_flag
=' ${wl}-bernotok'
8104 allow_undefined_flag
=' ${wl}-berok'
8105 # Exported symbols can be pulled into shared objects from archives
8106 whole_archive_flag_spec
='$convenience'
8107 archive_cmds_need_lc
=yes
8108 # This is similar to how AIX traditionally builds its shared libraries.
8109 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'
8115 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)'
8116 hardcode_libdir_flag_spec
='-L$libdir'
8117 hardcode_minus_L
=yes
8118 # see comment about different semantics on the GNU ld section
8123 export_dynamic_flag_spec
=-rdynamic
8126 cygwin
* | mingw
* | pw32
*)
8127 # When not using gcc, we currently assume that we are using
8128 # Microsoft Visual C++.
8129 # hardcode_libdir_flag_spec is actually meaningless, as there is
8130 # no search path for DLLs.
8131 hardcode_libdir_flag_spec
=' '
8132 allow_undefined_flag
=unsupported
8133 # Tell ltmain to make .lib files, not .a files.
8135 # Tell ltmain to make .dll files, not .so files.
8137 # FIXME: Setting linknames here is a bad hack.
8138 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
8139 # The linker will automatically build a .lib file if we build a DLL.
8140 old_archive_From_new_cmds
='true'
8141 # FIXME: Should let the user specify the lib program.
8142 old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs'
8143 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8144 enable_shared_with_static_runtimes
=yes
8147 darwin
* | rhapsody
*)
8149 rhapsody
* | darwin1.
[012])
8150 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
8153 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8154 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8156 case ${MACOSX_DEPLOYMENT_TARGET} in
8158 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8161 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
8167 archive_cmds_need_lc
=no
8169 hardcode_automatic
=yes
8170 hardcode_shlibpath_var
=unsupported
8171 whole_archive_flag_spec
=''
8172 link_all_deplibs
=yes
8173 if test "$GCC" = yes ; then
8174 output_verbose_link_cmd
='echo'
8175 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8176 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8177 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8178 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}'
8179 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}'
8181 case $cc_basename in
8183 output_verbose_link_cmd
='echo'
8184 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
8185 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8186 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8187 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8188 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}'
8198 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8199 hardcode_libdir_flag_spec
='-L$libdir'
8200 hardcode_shlibpath_var
=no
8207 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8208 # support. Future versions do this automatically, but an explicit c++rt0.o
8209 # does not break anything, and helps significantly (at the cost of a little
8212 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8213 hardcode_libdir_flag_spec
='-R$libdir'
8215 hardcode_shlibpath_var
=no
8218 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8220 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8222 hardcode_minus_L
=yes
8223 hardcode_shlibpath_var
=no
8226 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8227 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
8228 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8229 hardcode_libdir_flag_spec
='-R$libdir'
8231 hardcode_shlibpath_var
=no
8235 if test "$GCC" = yes; then
8236 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'
8238 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'
8240 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8241 hardcode_libdir_separator
=:
8244 # hardcode_minus_L: Not really in the search PATH,
8245 # but as the default location of the library.
8246 hardcode_minus_L
=yes
8247 export_dynamic_flag_spec
='${wl}-E'
8251 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8252 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8254 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8256 if test "$with_gnu_ld" = no
; then
8257 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8258 hardcode_libdir_separator
=:
8261 export_dynamic_flag_spec
='${wl}-E'
8263 # hardcode_minus_L: Not really in the search PATH,
8264 # but as the default location of the library.
8265 hardcode_minus_L
=yes
8270 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8273 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8276 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8279 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8285 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8288 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8291 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8295 if test "$with_gnu_ld" = no
; then
8296 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8297 hardcode_libdir_separator
=:
8301 hardcode_libdir_flag_spec_ld
='+b $libdir'
8303 hardcode_shlibpath_var
=no
8307 export_dynamic_flag_spec
='${wl}-E'
8309 # hardcode_minus_L: Not really in the search PATH,
8310 # but as the default location of the library.
8311 hardcode_minus_L
=yes
8317 irix5
* | irix6
* | nonstopux
*)
8318 if test "$GCC" = yes; then
8319 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'
8321 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'
8322 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8324 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8325 hardcode_libdir_separator
=:
8326 link_all_deplibs
=yes
8330 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8331 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8333 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8335 hardcode_libdir_flag_spec
='-R$libdir'
8337 hardcode_shlibpath_var
=no
8341 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8343 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8344 hardcode_libdir_separator
=:
8345 hardcode_shlibpath_var
=no
8350 hardcode_shlibpath_var
=no
8351 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8352 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8353 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8354 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8355 export_dynamic_flag_spec
='${wl}-E'
8358 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8359 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8360 hardcode_libdir_flag_spec
='-R$libdir'
8363 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8364 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8371 hardcode_libdir_flag_spec
='-L$libdir'
8372 hardcode_minus_L
=yes
8373 allow_undefined_flag
=unsupported
8374 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'
8375 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8379 if test "$GCC" = yes; then
8380 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8381 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'
8383 allow_undefined_flag
=' -expect_unresolved \*'
8384 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'
8386 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8387 hardcode_libdir_separator
=:
8390 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8391 if test "$GCC" = yes; then
8392 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8393 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'
8394 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8396 allow_undefined_flag
=' -expect_unresolved \*'
8397 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'
8398 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8399 $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'
8401 # Both c and cxx compiler support -rpath directly
8402 hardcode_libdir_flag_spec
='-rpath $libdir'
8404 hardcode_libdir_separator
=:
8408 no_undefined_flag
=' -z text'
8409 if test "$GCC" = yes; then
8411 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8412 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8413 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
8416 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8417 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8418 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8420 hardcode_libdir_flag_spec
='-R$libdir'
8421 hardcode_shlibpath_var
=no
8423 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8425 # The compiler driver will combine linker options so we
8426 # cannot just pass the convience library names through
8427 # without $wl, iff we do not link with $LD.
8428 # Luckily, gcc supports the same syntax we need for Sun Studio.
8429 # Supported since Solaris 2.6 (maybe 2.5.1?)
8432 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract' ;;
8434 whole_archive_flag_spec
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
8437 link_all_deplibs
=yes
8441 if test "x$host_vendor" = xsequent
; then
8442 # Use $CC to link under sequent, because it throws in some extra .o
8443 # files that make .init and .fini sections work.
8444 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8446 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8448 hardcode_libdir_flag_spec
='-L$libdir'
8450 hardcode_minus_L
=yes
8451 hardcode_shlibpath_var
=no
8455 case $host_vendor in
8457 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8458 hardcode_direct
=yes # is this really true???
8461 ## LD is ld it makes a PLAMLIB
8462 ## CC just makes a GrossModule.
8463 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8464 reload_cmds
='$CC -r -o $output$reload_objs'
8468 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8469 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8472 runpath_var
='LD_RUN_PATH'
8473 hardcode_shlibpath_var
=no
8477 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8478 hardcode_shlibpath_var
=no
8479 export_dynamic_flag_spec
='-Bexport'
8483 if test -d /usr
/nec
; then
8484 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8485 hardcode_shlibpath_var
=no
8486 runpath_var
=LD_RUN_PATH
8487 hardcode_runpath_var
=yes
8492 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
8493 no_undefined_flag
='${wl}-z,text'
8494 archive_cmds_need_lc
=no
8495 hardcode_shlibpath_var
=no
8496 runpath_var
='LD_RUN_PATH'
8498 if test "$GCC" = yes; then
8499 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8500 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8502 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8503 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8507 sysv5
* | sco3.2v5
* | sco5v6
*)
8508 # Note: We can NOT use -z defs as we might desire, because we do not
8509 # link with -lc, and that would cause any symbols used from libc to
8510 # always be unresolved, which means just about no library would
8511 # ever link correctly. If we're not using GNU ld we use -z text
8512 # though, which does catch some bad symbols but isn't as heavy-handed
8514 no_undefined_flag
='${wl}-z,text'
8515 allow_undefined_flag
='${wl}-z,nodefs'
8516 archive_cmds_need_lc
=no
8517 hardcode_shlibpath_var
=no
8518 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
8519 hardcode_libdir_separator
=':'
8520 link_all_deplibs
=yes
8521 export_dynamic_flag_spec
='${wl}-Bexport'
8522 runpath_var
='LD_RUN_PATH'
8524 if test "$GCC" = yes; then
8525 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8526 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8528 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8529 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8534 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8535 hardcode_libdir_flag_spec
='-L$libdir'
8536 hardcode_shlibpath_var
=no
8545 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8546 echo "${ECHO_T}$ld_shlibs" >&6; }
8547 test "$ld_shlibs" = no
&& can_build_shared
=no
8550 # Do we need to explicitly link libc?
8552 case "x$archive_cmds_need_lc" in
8554 # Assume -lc should be added
8555 archive_cmds_need_lc
=yes
8557 if test "$enable_shared" = yes && test "$GCC" = yes; then
8558 case $archive_cmds in
8560 # FIXME: we may have to deal with multi-command sequences.
8563 # Test whether the compiler implicitly links with -lc since on some
8564 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8565 # to ld, don't add -lc before -lgcc.
8566 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8567 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
8569 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
8571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8572 (eval $ac_compile) 2>&5
8574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8575 (exit $ac_status); } 2>conftest.err
; then
8578 libobjs
=conftest.
$ac_objext
8580 wl
=$lt_prog_compiler_wl
8581 pic_flag
=$lt_prog_compiler_pic
8587 lt_save_allow_undefined_flag
=$allow_undefined_flag
8588 allow_undefined_flag
=
8589 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
8590 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8593 (exit $ac_status); }
8595 archive_cmds_need_lc
=no
8597 archive_cmds_need_lc
=yes
8599 allow_undefined_flag
=$lt_save_allow_undefined_flag
8601 cat conftest.err
1>&5
8604 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8605 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
8612 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8613 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
8615 libname_spec
='lib$name'
8623 shlibpath_overrides_runpath
=unknown
8625 dynamic_linker
="$host_os ld.so"
8626 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8627 if test "$GCC" = yes; then
8628 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8629 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
8630 # if the path contains ";" then we assume it to be the separator
8631 # otherwise default to the standard path separator (i.e. ":") - it is
8632 # assumed that no part of a normal pathname contains ";" but that should
8633 # okay in the real world where ";" in dirpaths is itself problematic.
8634 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8636 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8639 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8641 need_lib_prefix
=unknown
8642 hardcode_into_libs
=no
8644 # when you set need_version to no, make sure it does not cause -set_version
8645 # flags to be left without arguments
8646 need_version
=unknown
8651 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8652 shlibpath_var
=LIBPATH
8654 # AIX 3 has no versioning support, so we append a major version to the name.
8655 soname_spec
='${libname}${release}${shared_ext}$major'
8662 hardcode_into_libs
=yes
8663 if test "$host_cpu" = ia64
; then
8664 # AIX 5 supports IA64
8665 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8666 shlibpath_var
=LD_LIBRARY_PATH
8668 # With GCC up to 2.95.x, collect2 would create an import file
8669 # for dependence libraries. The import file would start with
8670 # the line `#! .'. This would cause the generated library to
8671 # depend on `.', always an invalid library. This was fixed in
8672 # development snapshots of GCC prior to 3.0.
8674 aix4 | aix4.
[01] | aix4.
[01].
*)
8675 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8677 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
8684 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8685 # soname into executable. Probably we can add versioning support to
8686 # collect2, so additional links can be useful in future.
8687 if test "$aix_use_runtimelinking" = yes; then
8688 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8689 # instead of lib<name>.a to let people know that these are not
8690 # typical AIX shared libraries.
8691 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8693 # We preserve .a as extension for shared libraries through AIX4.2
8694 # and later when we are not doing run time linking.
8695 library_names_spec
='${libname}${release}.a $libname.a'
8696 soname_spec
='${libname}${release}${shared_ext}$major'
8698 shlibpath_var
=LIBPATH
8703 library_names_spec
='$libname.ixlibrary $libname.a'
8704 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8705 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'
8709 library_names_spec
='${libname}${shared_ext}'
8710 dynamic_linker
="$host_os ld.so"
8711 shlibpath_var
=LIBRARY_PATH
8717 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8718 soname_spec
='${libname}${release}${shared_ext}$major'
8719 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8720 shlibpath_var
=LD_LIBRARY_PATH
8721 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8722 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8723 # the default ld.so.conf also contains /usr/contrib/lib and
8724 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8725 # libtool to hard-code these into programs
8728 cygwin
* | mingw
* | pw32
*)
8729 version_type
=windows
8734 case $GCC,$host_os in
8735 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
8736 library_names_spec
='$libname.dll.a'
8737 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8738 postinstall_cmds
='base_file=`basename \${file}`~
8739 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
8740 dldir=$destdir/`dirname \$dlpath`~
8741 test -d \$dldir || mkdir -p \$dldir~
8742 $install_prog $dir/$dlname \$dldir/$dlname~
8743 chmod a+x \$dldir/$dlname'
8744 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8745 dlpath=$dir/\$dldll~
8747 shlibpath_overrides_runpath
=yes
8751 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8752 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8753 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8756 # MinGW DLLs use traditional 'lib' prefix
8757 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8758 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8759 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
8760 # It is most probably a Windows format PATH printed by
8761 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8762 # path with ; separators, and with drive letters. We can handle the
8763 # drive letters (cygwin fileutils understands them), so leave them,
8764 # especially as we might pass files found there to a mingw objdump,
8765 # which wouldn't understand a cygwinified path. Ahh.
8766 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8768 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8772 # pw32 DLLs use 'pw' prefix rather than 'lib'
8773 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8779 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8782 dynamic_linker
='Win32 ld.exe'
8783 # FIXME: first we should search . and the directory the executable is in
8787 darwin
* | rhapsody
*)
8788 dynamic_linker
="$host_os dyld"
8792 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8793 soname_spec
='${libname}${release}${major}$shared_ext'
8794 shlibpath_overrides_runpath
=yes
8795 shlibpath_var
=DYLD_LIBRARY_PATH
8796 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8797 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
8798 if test "$GCC" = yes; then
8799 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
8801 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
8803 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8810 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8811 soname_spec
='${libname}${release}${shared_ext}$major'
8812 shlibpath_var
=LD_LIBRARY_PATH
8823 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8824 soname_spec
='${libname}${release}${shared_ext}$major'
8825 shlibpath_var
=LD_LIBRARY_PATH
8826 shlibpath_overrides_runpath
=no
8827 hardcode_into_libs
=yes
8828 dynamic_linker
='GNU ld.so'
8831 freebsd
* | dragonfly
*)
8832 # DragonFly does not have aout. When/if they implement a new
8833 # versioning mechanism, adjust this.
8834 if test -x /usr
/bin
/objformat
; then
8835 objformat
=`/usr/bin/objformat`
8838 freebsd
[123]*) objformat
=aout
;;
8842 version_type
=freebsd-
$objformat
8843 case $version_type in
8845 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8850 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8854 shlibpath_var
=LD_LIBRARY_PATH
8857 shlibpath_overrides_runpath
=yes
8859 freebsd3.
[01]* | freebsdelf3.
[01]*)
8860 shlibpath_overrides_runpath
=yes
8861 hardcode_into_libs
=yes
8863 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
8864 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
8865 shlibpath_overrides_runpath
=no
8866 hardcode_into_libs
=yes
8868 freebsd
*) # from 4.6 on
8869 shlibpath_overrides_runpath
=yes
8870 hardcode_into_libs
=yes
8879 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8880 soname_spec
='${libname}${release}${shared_ext}$major'
8881 shlibpath_var
=LD_LIBRARY_PATH
8882 hardcode_into_libs
=yes
8885 hpux9
* | hpux10
* | hpux11
*)
8886 # Give a soname corresponding to the major version so that dld.sl refuses to
8887 # link against other versions.
8894 hardcode_into_libs
=yes
8895 dynamic_linker
="$host_os dld.so"
8896 shlibpath_var
=LD_LIBRARY_PATH
8897 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8898 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8899 soname_spec
='${libname}${release}${shared_ext}$major'
8900 if test "X$HPUX_IA64_MODE" = X32
; then
8901 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8903 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8905 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8909 hardcode_into_libs
=yes
8910 dynamic_linker
="$host_os dld.sl"
8911 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
8912 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8913 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8914 soname_spec
='${libname}${release}${shared_ext}$major'
8915 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8916 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8920 dynamic_linker
="$host_os dld.sl"
8921 shlibpath_var
=SHLIB_PATH
8922 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
8923 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8924 soname_spec
='${libname}${release}${shared_ext}$major'
8927 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8928 postinstall_cmds
='chmod 555 $lib'
8935 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8936 soname_spec
='${libname}${release}${shared_ext}$major'
8937 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
8938 shlibpath_var
=LD_LIBRARY_PATH
8939 shlibpath_overrides_runpath
=no
8940 hardcode_into_libs
=yes
8943 irix5
* | irix6
* | nonstopux
*)
8945 nonstopux
*) version_type
=nonstopux
;;
8947 if test "$lt_cv_prog_gnu_ld" = yes; then
8955 soname_spec
='${libname}${release}${shared_ext}$major'
8956 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8958 irix5
* | nonstopux
*)
8962 case $LD in # libtool.m4 will add one of these switches to LD
8963 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
8964 libsuff
= shlibsuff
= libmagic
=32-bit;;
8965 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
8966 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
8967 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
8968 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
8969 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
8973 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
8974 shlibpath_overrides_runpath
=no
8975 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8976 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
8977 hardcode_into_libs
=yes
8980 # No shared lib support for Linux oldld, aout, or coff.
8981 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
8985 # This must be Linux ELF.
8990 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8991 soname_spec
='${libname}${release}${shared_ext}$major'
8992 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8993 shlibpath_var
=LD_LIBRARY_PATH
8994 shlibpath_overrides_runpath
=no
8995 # This implies no fast_install, which is unacceptable.
8996 # Some rework will be needed to allow for fast_install
8997 # before this can be enabled.
8998 hardcode_into_libs
=yes
9000 # find out which ABI we are using
9003 x86_64
*|s390x
*|powerpc64
*)
9004 echo '#line 9004 "configure"' > conftest.
$ac_ext
9005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9006 (eval $ac_compile) 2>&5
9008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9009 (exit $ac_status); }; then
9010 case `/usr/bin/file conftest.$ac_objext` in
9013 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
9021 # Append ld.so.conf contents to the search path
9022 if test -f /etc
/ld.so.conf
; then
9023 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/^ *//;s/#.*//;/^[^\/]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9024 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
9027 # We used to test for /lib/ld.so.1 and disable shared libraries on
9028 # powerpc, because MkLinux only supported shared libraries with the
9029 # GNU dynamic linker. Since this was broken with cross compilers,
9030 # most powerpc-linux boxes support dynamic linking these days and
9031 # people can always --disable-shared, the test was removed, and we
9032 # assume the GNU/Linux dynamic linker is in use.
9033 dynamic_linker
='GNU/Linux ld.so'
9040 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9041 soname_spec
='${libname}${release}${shared_ext}$major'
9042 shlibpath_var
=LD_LIBRARY_PATH
9043 shlibpath_overrides_runpath
=no
9044 hardcode_into_libs
=yes
9045 dynamic_linker
='GNU ld.so'
9052 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
9053 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9054 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9055 dynamic_linker
='NetBSD (a.out) ld.so'
9057 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9058 soname_spec
='${libname}${release}${shared_ext}$major'
9059 dynamic_linker
='NetBSD ld.elf_so'
9061 shlibpath_var
=LD_LIBRARY_PATH
9062 shlibpath_overrides_runpath
=yes
9063 hardcode_into_libs
=yes
9068 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9069 shlibpath_var
=LD_LIBRARY_PATH
9070 shlibpath_overrides_runpath
=yes
9077 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9078 soname_spec
='${libname}${release}${shared_ext}$major'
9079 shlibpath_var
=LD_LIBRARY_PATH
9080 shlibpath_overrides_runpath
=yes
9085 sys_lib_dlsearch_path_spec
="/usr/lib"
9087 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9089 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9090 *) need_version
=no
;;
9092 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9093 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9094 shlibpath_var
=LD_LIBRARY_PATH
9095 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9097 openbsd2.
[89] | openbsd2.
[89].
*)
9098 shlibpath_overrides_runpath
=no
9101 shlibpath_overrides_runpath
=yes
9105 shlibpath_overrides_runpath
=yes
9110 libname_spec
='$name'
9113 library_names_spec
='$libname${shared_ext} $libname.a'
9114 dynamic_linker
='OS/2 ld.exe'
9115 shlibpath_var
=LIBPATH
9118 osf3
* | osf4
* | osf5
*)
9122 soname_spec
='${libname}${release}${shared_ext}$major'
9123 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9124 shlibpath_var
=LD_LIBRARY_PATH
9125 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9126 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9133 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9134 soname_spec
='${libname}${release}${shared_ext}$major'
9135 shlibpath_var
=LD_LIBRARY_PATH
9136 shlibpath_overrides_runpath
=yes
9137 hardcode_into_libs
=yes
9138 # ldd complains unless libraries are executable
9139 postinstall_cmds
='chmod +x $lib'
9144 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9145 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9146 shlibpath_var
=LD_LIBRARY_PATH
9147 shlibpath_overrides_runpath
=yes
9148 if test "$with_gnu_ld" = yes; then
9156 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9157 soname_spec
='${libname}${release}${shared_ext}$major'
9158 shlibpath_var
=LD_LIBRARY_PATH
9159 case $host_vendor in
9161 shlibpath_overrides_runpath
=no
9163 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9164 runpath_var
=LD_RUN_PATH
9172 shlibpath_overrides_runpath
=no
9173 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9179 if test -d /usr
/nec
;then
9181 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9182 soname_spec
='$libname${shared_ext}.$major'
9183 shlibpath_var
=LD_LIBRARY_PATH
9187 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9188 version_type
=freebsd-elf
9191 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9192 soname_spec
='${libname}${release}${shared_ext}$major'
9193 shlibpath_var
=LD_LIBRARY_PATH
9194 hardcode_into_libs
=yes
9195 if test "$with_gnu_ld" = yes; then
9196 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9197 shlibpath_overrides_runpath
=no
9199 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9200 shlibpath_overrides_runpath
=yes
9203 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9207 sys_lib_dlsearch_path_spec
='/usr/lib'
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
9221 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9222 echo "${ECHO_T}$dynamic_linker" >&6; }
9223 test "$dynamic_linker" = no
&& can_build_shared
=no
9225 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9226 if test "$GCC" = yes; then
9227 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9230 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9231 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
9233 if test -n "$hardcode_libdir_flag_spec" || \
9234 test -n "$runpath_var" || \
9235 test "X$hardcode_automatic" = "Xyes" ; then
9237 # We can hardcode non-existant directories.
9238 if test "$hardcode_direct" != no
&&
9239 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9240 # have to relink, otherwise we might link with an installed library
9241 # when we should be linking with a yet-to-be-installed one
9242 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
9243 test "$hardcode_minus_L" != no
; then
9244 # Linking always hardcodes the temporary library directory.
9245 hardcode_action
=relink
9247 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9248 hardcode_action
=immediate
9251 # We cannot hardcode anything, or else we can only hardcode existing
9253 hardcode_action
=unsupported
9255 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
9256 echo "${ECHO_T}$hardcode_action" >&6; }
9258 if test "$hardcode_action" = relink
; then
9259 # Fast installation is not supported
9260 enable_fast_install
=no
9261 elif test "$shlibpath_overrides_runpath" = yes ||
9262 test "$enable_shared" = no
; then
9263 # Fast installation is not necessary
9264 enable_fast_install
=needless
9269 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9270 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
9271 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
9272 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
9273 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
9274 { echo "$as_me:$LINENO: result: yes" >&5
9275 echo "${ECHO_T}yes" >&6; }
9277 # FIXME - insert some real tests, host_os isn't really good enough
9280 if test -n "$STRIP" ; then
9281 striplib
="$STRIP -x"
9282 { echo "$as_me:$LINENO: result: yes" >&5
9283 echo "${ECHO_T}yes" >&6; }
9285 { echo "$as_me:$LINENO: result: no" >&5
9286 echo "${ECHO_T}no" >&6; }
9290 { echo "$as_me:$LINENO: result: no" >&5
9291 echo "${ECHO_T}no" >&6; }
9296 if test "x$enable_dlopen" != xyes
; then
9297 enable_dlopen
=unknown
9298 enable_dlopen_self
=unknown
9299 enable_dlopen_self_static
=unknown
9306 lt_cv_dlopen
="load_add_on"
9308 lt_cv_dlopen_self
=yes
9312 lt_cv_dlopen
="LoadLibrary"
9317 lt_cv_dlopen
="dlopen"
9322 # if libdl is installed we need to link against it
9323 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9324 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9325 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9326 echo $ECHO_N "(cached) $ECHO_C" >&6
9328 ac_check_lib_save_LIBS
=$LIBS
9330 cat >conftest.
$ac_ext <<_ACEOF
9333 cat confdefs.h
>>conftest.
$ac_ext
9334 cat >>conftest.
$ac_ext <<_ACEOF
9335 /* end confdefs.h. */
9337 /* Override any GCC internal prototype to avoid an error.
9338 Use char because int might match the return type of a GCC
9339 builtin and then its argument prototype would still apply. */
9352 rm -f conftest.
$ac_objext conftest
$ac_exeext
9353 if { (ac_try
="$ac_link"
9355 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9356 *) ac_try_echo=$ac_try;;
9358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9359 (eval "$ac_link") 2>conftest.er1
9361 grep -v '^ *+' conftest.er1 >conftest.err
9363 cat conftest.err >&5
9364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9365 (exit $ac_status); } && {
9366 test -z "$ac_c_werror_flag" ||
9367 test ! -s conftest.err
9368 } && test -s conftest$ac_exeext &&
9369 $as_test_x conftest$ac_exeext; then
9370 ac_cv_lib_dl_dlopen=yes
9372 echo "$as_me: failed program was:" >&5
9373 sed 's/^/| /' conftest.$ac_ext >&5
9375 ac_cv_lib_dl_dlopen=no
9378 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9379 conftest$ac_exeext conftest.$ac_ext
9380 LIBS=$ac_check_lib_save_LIBS
9382 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9383 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9384 if test $ac_cv_lib_dl_dlopen = yes; then
9385 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9390 lt_cv_dlopen_self=yes
9397 { echo "$as_me:$LINENO: checking for shl_load" >&5
9398 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
9399 if test "${ac_cv_func_shl_load+set}" = set; then
9400 echo $ECHO_N "(cached) $ECHO_C" >&6
9402 cat >conftest.$ac_ext <<_ACEOF
9405 cat confdefs.h >>conftest.$ac_ext
9406 cat >>conftest.$ac_ext <<_ACEOF
9407 /* end confdefs.h. */
9408 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9409 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9410 #define shl_load innocuous_shl_load
9412 /* System header to define __stub macros and hopefully few prototypes,
9413 which can conflict with char shl_load (); below.
9414 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9415 <limits.h> exists even on freestanding compilers. */
9418 # include <limits.h>
9420 # include <assert.h>
9425 /* Override any GCC internal prototype to avoid an error.
9426 Use char because int might match the return type of a GCC
9427 builtin and then its argument prototype would still apply. */
9432 /* The GNU C library defines this for functions which it implements
9433 to always fail with ENOSYS. Some functions are actually named
9434 something starting with __ and the normal name is an alias. */
9435 #if defined __stub_shl_load || defined __stub___shl_load
9447 rm -f conftest.$ac_objext conftest$ac_exeext
9448 if { (ac_try="$ac_link"
9450 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9451 *) ac_try_echo
=$ac_try;;
9453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9454 (eval "$ac_link") 2>conftest.er1
9456 grep -v '^ *+' conftest.er1
>conftest.err
9458 cat conftest.err
>&5
9459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9460 (exit $ac_status); } && {
9461 test -z "$ac_c_werror_flag" ||
9462 test ! -s conftest.err
9463 } && test -s conftest
$ac_exeext &&
9464 $as_test_x conftest
$ac_exeext; then
9465 ac_cv_func_shl_load
=yes
9467 echo "$as_me: failed program was:" >&5
9468 sed 's/^/| /' conftest.
$ac_ext >&5
9470 ac_cv_func_shl_load
=no
9473 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9474 conftest
$ac_exeext conftest.
$ac_ext
9476 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9477 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9478 if test $ac_cv_func_shl_load = yes; then
9479 lt_cv_dlopen
="shl_load"
9481 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9482 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
9483 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9484 echo $ECHO_N "(cached) $ECHO_C" >&6
9486 ac_check_lib_save_LIBS
=$LIBS
9488 cat >conftest.
$ac_ext <<_ACEOF
9491 cat confdefs.h
>>conftest.
$ac_ext
9492 cat >>conftest.
$ac_ext <<_ACEOF
9493 /* end confdefs.h. */
9495 /* Override any GCC internal prototype to avoid an error.
9496 Use char because int might match the return type of a GCC
9497 builtin and then its argument prototype would still apply. */
9510 rm -f conftest.
$ac_objext conftest
$ac_exeext
9511 if { (ac_try
="$ac_link"
9513 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9514 *) ac_try_echo=$ac_try;;
9516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9517 (eval "$ac_link") 2>conftest.er1
9519 grep -v '^ *+' conftest.er1 >conftest.err
9521 cat conftest.err >&5
9522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9523 (exit $ac_status); } && {
9524 test -z "$ac_c_werror_flag" ||
9525 test ! -s conftest.err
9526 } && test -s conftest$ac_exeext &&
9527 $as_test_x conftest$ac_exeext; then
9528 ac_cv_lib_dld_shl_load=yes
9530 echo "$as_me: failed program was:" >&5
9531 sed 's/^/| /' conftest.$ac_ext >&5
9533 ac_cv_lib_dld_shl_load=no
9536 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9537 conftest$ac_exeext conftest.$ac_ext
9538 LIBS=$ac_check_lib_save_LIBS
9540 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9541 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9542 if test $ac_cv_lib_dld_shl_load = yes; then
9543 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
9545 { echo "$as_me:$LINENO: checking for dlopen" >&5
9546 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
9547 if test "${ac_cv_func_dlopen+set}" = set; then
9548 echo $ECHO_N "(cached) $ECHO_C" >&6
9550 cat >conftest.$ac_ext <<_ACEOF
9553 cat confdefs.h >>conftest.$ac_ext
9554 cat >>conftest.$ac_ext <<_ACEOF
9555 /* end confdefs.h. */
9556 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9557 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9558 #define dlopen innocuous_dlopen
9560 /* System header to define __stub macros and hopefully few prototypes,
9561 which can conflict with char dlopen (); below.
9562 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9563 <limits.h> exists even on freestanding compilers. */
9566 # include <limits.h>
9568 # include <assert.h>
9573 /* Override any GCC internal prototype to avoid an error.
9574 Use char because int might match the return type of a GCC
9575 builtin and then its argument prototype would still apply. */
9580 /* The GNU C library defines this for functions which it implements
9581 to always fail with ENOSYS. Some functions are actually named
9582 something starting with __ and the normal name is an alias. */
9583 #if defined __stub_dlopen || defined __stub___dlopen
9595 rm -f conftest.$ac_objext conftest$ac_exeext
9596 if { (ac_try="$ac_link"
9598 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9599 *) ac_try_echo
=$ac_try;;
9601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9602 (eval "$ac_link") 2>conftest.er1
9604 grep -v '^ *+' conftest.er1
>conftest.err
9606 cat conftest.err
>&5
9607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9608 (exit $ac_status); } && {
9609 test -z "$ac_c_werror_flag" ||
9610 test ! -s conftest.err
9611 } && test -s conftest
$ac_exeext &&
9612 $as_test_x conftest
$ac_exeext; then
9613 ac_cv_func_dlopen
=yes
9615 echo "$as_me: failed program was:" >&5
9616 sed 's/^/| /' conftest.
$ac_ext >&5
9618 ac_cv_func_dlopen
=no
9621 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9622 conftest
$ac_exeext conftest.
$ac_ext
9624 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9625 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
9626 if test $ac_cv_func_dlopen = yes; then
9627 lt_cv_dlopen
="dlopen"
9629 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9630 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9631 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9632 echo $ECHO_N "(cached) $ECHO_C" >&6
9634 ac_check_lib_save_LIBS
=$LIBS
9636 cat >conftest.
$ac_ext <<_ACEOF
9639 cat confdefs.h
>>conftest.
$ac_ext
9640 cat >>conftest.
$ac_ext <<_ACEOF
9641 /* end confdefs.h. */
9643 /* Override any GCC internal prototype to avoid an error.
9644 Use char because int might match the return type of a GCC
9645 builtin and then its argument prototype would still apply. */
9658 rm -f conftest.
$ac_objext conftest
$ac_exeext
9659 if { (ac_try
="$ac_link"
9661 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9662 *) ac_try_echo=$ac_try;;
9664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9665 (eval "$ac_link") 2>conftest.er1
9667 grep -v '^ *+' conftest.er1 >conftest.err
9669 cat conftest.err >&5
9670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9671 (exit $ac_status); } && {
9672 test -z "$ac_c_werror_flag" ||
9673 test ! -s conftest.err
9674 } && test -s conftest$ac_exeext &&
9675 $as_test_x conftest$ac_exeext; then
9676 ac_cv_lib_dl_dlopen=yes
9678 echo "$as_me: failed program was:" >&5
9679 sed 's/^/| /' conftest.$ac_ext >&5
9681 ac_cv_lib_dl_dlopen=no
9684 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9685 conftest$ac_exeext conftest.$ac_ext
9686 LIBS=$ac_check_lib_save_LIBS
9688 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9689 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9690 if test $ac_cv_lib_dl_dlopen = yes; then
9691 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9693 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9694 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
9695 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9696 echo $ECHO_N "(cached) $ECHO_C" >&6
9698 ac_check_lib_save_LIBS=$LIBS
9700 cat >conftest.$ac_ext <<_ACEOF
9703 cat confdefs.h >>conftest.$ac_ext
9704 cat >>conftest.$ac_ext <<_ACEOF
9705 /* end confdefs.h. */
9707 /* Override any GCC internal prototype to avoid an error.
9708 Use char because int might match the return type of a GCC
9709 builtin and then its argument prototype would still apply. */
9722 rm -f conftest.$ac_objext conftest$ac_exeext
9723 if { (ac_try="$ac_link"
9725 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9726 *) ac_try_echo
=$ac_try;;
9728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9729 (eval "$ac_link") 2>conftest.er1
9731 grep -v '^ *+' conftest.er1
>conftest.err
9733 cat conftest.err
>&5
9734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9735 (exit $ac_status); } && {
9736 test -z "$ac_c_werror_flag" ||
9737 test ! -s conftest.err
9738 } && test -s conftest
$ac_exeext &&
9739 $as_test_x conftest
$ac_exeext; then
9740 ac_cv_lib_svld_dlopen
=yes
9742 echo "$as_me: failed program was:" >&5
9743 sed 's/^/| /' conftest.
$ac_ext >&5
9745 ac_cv_lib_svld_dlopen
=no
9748 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9749 conftest
$ac_exeext conftest.
$ac_ext
9750 LIBS
=$ac_check_lib_save_LIBS
9752 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9753 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
9754 if test $ac_cv_lib_svld_dlopen = yes; then
9755 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9757 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9758 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
9759 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9760 echo $ECHO_N "(cached) $ECHO_C" >&6
9762 ac_check_lib_save_LIBS
=$LIBS
9764 cat >conftest.
$ac_ext <<_ACEOF
9767 cat confdefs.h
>>conftest.
$ac_ext
9768 cat >>conftest.
$ac_ext <<_ACEOF
9769 /* end confdefs.h. */
9771 /* Override any GCC internal prototype to avoid an error.
9772 Use char because int might match the return type of a GCC
9773 builtin and then its argument prototype would still apply. */
9786 rm -f conftest.
$ac_objext conftest
$ac_exeext
9787 if { (ac_try
="$ac_link"
9789 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9790 *) ac_try_echo=$ac_try;;
9792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9793 (eval "$ac_link") 2>conftest.er1
9795 grep -v '^ *+' conftest.er1 >conftest.err
9797 cat conftest.err >&5
9798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9799 (exit $ac_status); } && {
9800 test -z "$ac_c_werror_flag" ||
9801 test ! -s conftest.err
9802 } && test -s conftest$ac_exeext &&
9803 $as_test_x conftest$ac_exeext; then
9804 ac_cv_lib_dld_dld_link=yes
9806 echo "$as_me: failed program was:" >&5
9807 sed 's/^/| /' conftest.$ac_ext >&5
9809 ac_cv_lib_dld_dld_link=no
9812 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9813 conftest$ac_exeext conftest.$ac_ext
9814 LIBS=$ac_check_lib_save_LIBS
9816 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9817 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
9818 if test $ac_cv_lib_dld_dld_link = yes; then
9819 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
9840 if test "x$lt_cv_dlopen" != xno; then
9846 case $lt_cv_dlopen in
9848 save_CPPFLAGS="$CPPFLAGS"
9849 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
9851 save_LDFLAGS="$LDFLAGS"
9852 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
9855 LIBS="$lt_cv_dlopen_libs $LIBS"
9857 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9858 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
9859 if test "${lt_cv_dlopen_self+set}" = set; then
9860 echo $ECHO_N "(cached) $ECHO_C" >&6
9862 if test "$cross_compiling" = yes; then :
9863 lt_cv_dlopen_self=cross
9865 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9866 lt_status=$lt_dlunknown
9867 cat > conftest.$ac_ext <<EOF
9868 #line 9868 "configure"
9869 #include "confdefs.h"
9878 # define LT_DLGLOBAL RTLD_GLOBAL
9881 # define LT_DLGLOBAL DL_GLOBAL
9883 # define LT_DLGLOBAL 0
9887 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9888 find out it does not work in some platform. */
9889 #ifndef LT_DLLAZY_OR_NOW
9891 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9894 # define LT_DLLAZY_OR_NOW DL_LAZY
9897 # define LT_DLLAZY_OR_NOW RTLD_NOW
9900 # define LT_DLLAZY_OR_NOW DL_NOW
9902 # define LT_DLLAZY_OR_NOW 0
9910 extern "C" void exit (int);
9913 void fnord() { int i=42;}
9916 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9917 int status = $lt_dlunknown;
9921 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9922 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9923 /* dlclose (self); */
9931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9932 (eval $ac_link) 2>&5
9934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9935 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9936 (./conftest; exit; ) >&5 2>/dev/null
9939 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
9940 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
9941 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
9944 # compilation failed
9945 lt_cv_dlopen_self=no
9952 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9953 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
9955 if test "x$lt_cv_dlopen_self" = xyes; then
9956 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
9957 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9958 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
9959 if test "${lt_cv_dlopen_self_static+set}" = set; then
9960 echo $ECHO_N "(cached) $ECHO_C" >&6
9962 if test "$cross_compiling" = yes; then :
9963 lt_cv_dlopen_self_static=cross
9965 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9966 lt_status=$lt_dlunknown
9967 cat > conftest.$ac_ext <<EOF
9968 #line 9968 "configure"
9969 #include "confdefs.h"
9978 # define LT_DLGLOBAL RTLD_GLOBAL
9981 # define LT_DLGLOBAL DL_GLOBAL
9983 # define LT_DLGLOBAL 0
9987 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9988 find out it does not work in some platform. */
9989 #ifndef LT_DLLAZY_OR_NOW
9991 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9994 # define LT_DLLAZY_OR_NOW DL_LAZY
9997 # define LT_DLLAZY_OR_NOW RTLD_NOW
10000 # define LT_DLLAZY_OR_NOW DL_NOW
10002 # define LT_DLLAZY_OR_NOW 0
10010 extern "C" void exit (int);
10013 void fnord() { int i=42;}
10016 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10017 int status = $lt_dlunknown;
10021 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10022 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10023 /* dlclose (self); */
10031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10032 (eval $ac_link) 2>&5
10034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10035 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10036 (./conftest; exit; ) >&5 2>/dev/null
10038 case x$lt_status in
10039 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10040 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10041 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10044 # compilation failed
10045 lt_cv_dlopen_self_static=no
10052 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10053 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
10056 CPPFLAGS="$save_CPPFLAGS"
10057 LDFLAGS="$save_LDFLAGS"
10062 case $lt_cv_dlopen_self in
10063 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10064 *) enable_dlopen_self=unknown ;;
10067 case $lt_cv_dlopen_self_static in
10068 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10069 *) enable_dlopen_self_static=unknown ;;
10074 # Report which library types will actually be built
10075 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10076 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
10077 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
10078 echo "${ECHO_T}$can_build_shared" >&6; }
10080 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10081 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
10082 test "$can_build_shared" = "no" && enable_shared=no
10084 # On AIX, shared libraries and static libraries use the same namespace, and
10085 # are all built from PIC.
10088 test "$enable_shared" = yes && enable_static=no
10089 if test -n "$RANLIB"; then
10090 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10091 postinstall_cmds='$RANLIB $lib'
10096 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10097 test "$enable_shared" = yes && enable_static=no
10101 { echo "$as_me:$LINENO: result: $enable_shared" >&5
10102 echo "${ECHO_T}$enable_shared" >&6; }
10104 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10105 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
10106 # Make sure either enable_shared or enable_static is yes.
10107 test "$enable_shared" = yes || enable_static=yes
10108 { echo "$as_me:$LINENO: result: $enable_static" >&5
10109 echo "${ECHO_T}$enable_static" >&6; }
10111 # The else clause should only fire when bootstrapping the
10112 # libtool distribution, otherwise you forgot to ship ltmain.sh
10113 # with your package, and you will get complaints that there are
10114 # no rules to generate ltmain.sh.
10115 if test -f "$ltmain"; then
10116 # See if we are running on zsh, and set the options which allow our commands through
10117 # without removal of \ escapes.
10118 if test -n "${ZSH_VERSION+set}" ; then
10119 setopt NO_GLOB_SUBST
10121 # Now quote all the things that may contain metacharacters while being
10122 # careful not to overquote the AC_SUBSTed values. We take copies of the
10123 # variables and quote the copies for generation of the libtool script.
10124 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
10126 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10127 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10128 deplibs_check_method reload_flag reload_cmds need_locks \
10129 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10130 lt_cv_sys_global_symbol_to_c_name_address \
10131 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10132 old_postinstall_cmds old_postuninstall_cmds \
10136 lt_prog_compiler_wl \
10137 lt_prog_compiler_pic \
10138 lt_prog_compiler_static \
10139 lt_prog_compiler_no_builtin_flag \
10140 export_dynamic_flag_spec \
10141 thread_safe_flag_spec \
10142 whole_archive_flag_spec \
10143 enable_shared_with_static_runtimes \
10145 old_archive_from_new_cmds \
10150 compiler_lib_search_path \
10152 archive_expsym_cmds \
10154 postuninstall_cmds \
10155 old_archive_from_expsyms_cmds \
10156 allow_undefined_flag \
10157 no_undefined_flag \
10158 export_symbols_cmds \
10159 hardcode_libdir_flag_spec \
10160 hardcode_libdir_flag_spec_ld \
10161 hardcode_libdir_separator \
10162 hardcode_automatic \
10164 module_expsym_cmds \
10165 lt_cv_prog_compiler_c_o \
10167 include_expsyms; do
10170 old_archive_cmds | \
10171 old_archive_from_new_cmds | \
10173 archive_expsym_cmds | \
10175 module_expsym_cmds | \
10176 old_archive_from_expsyms_cmds | \
10177 export_symbols_cmds | \
10178 extract_expsyms_cmds | reload_cmds | finish_cmds | \
10179 postinstall_cmds | postuninstall_cmds | \
10180 old_postinstall_cmds | old_postuninstall_cmds | \
10181 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
10182 # Double-quote double-evaled strings.
10183 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
10186 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
10192 *'\$0 --fallback-echo"')
10193 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10197 cfgfile="${ofile}T"
10198 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
10200 { echo "$as_me:$LINENO: creating $ofile" >&5
10201 echo "$as_me: creating $ofile" >&6;}
10203 cat <<__EOF__ >> "$cfgfile"
10206 # `$echo "$cfgfile" |
sed 's%^.*/%%'` - Provide generalized library-building support services.
10207 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10208 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
10210 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
10211 # Free Software Foundation, Inc.
10213 # This file is part of GNU Libtool:
10214 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
10216 # This program is free software; you can redistribute it and/or modify
10217 # it under the terms of the GNU General Public License as published by
10218 # the Free Software Foundation; either version 2 of the License, or
10219 # (at your option) any later version.
10221 # This program is distributed in the hope that it will be useful, but
10222 # WITHOUT ANY WARRANTY; without even the implied warranty of
10223 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10224 # General Public License for more details.
10226 # You should have received a copy of the GNU General Public License
10227 # along with this program; if not, write to the Free Software
10228 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
10230 # As a special exception to the GNU General Public License, if you
10231 # distribute this file as part of a program that contains a
10232 # configuration script generated by Autoconf, you may include it under
10233 # the same distribution terms that you use for the rest of that program.
10235 # A sed program that does not truncate output.
10238 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
10239 Xsed="$SED -e 1s/^X//"
10241 # The HP-UX ksh and POSIX shell print the target directory to stdout
10242 # if CDPATH is set.
10243 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10245 # The names of the tagged configurations supported by this script.
10248 # ### BEGIN LIBTOOL CONFIG
10250 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
10252 # Shell to use when invoking shell scripts.
10255 # Whether or not to build shared libraries.
10256 build_libtool_libs=$enable_shared
10258 # Whether or not to build static libraries.
10259 build_old_libs=$enable_static
10261 # Whether or not to add -lc for building shared libraries.
10262 build_libtool_need_lc=$archive_cmds_need_lc
10264 # Whether or not to disallow shared libs when runtime libs are static
10265 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
10267 # Whether or not to optimize for fast installation.
10268 fast_install=$enable_fast_install
10271 host_alias=$host_alias
10275 # The build system.
10276 build_alias=$build_alias
10280 # An echo program that does not interpret backslashes.
10285 AR_FLAGS=$lt_AR_FLAGS
10290 # LTCC compiler flags.
10291 LTCFLAGS=$lt_LTCFLAGS
10293 # A language-specific compiler.
10296 # Is the compiler the GNU C compiler?
10302 # The linker used to build libraries.
10305 # Whether we need hard or soft links.
10308 # A BSD-compatible nm program.
10311 # A symbol stripping program
10314 # Used to examine libraries when file_magic_cmd begins "file"
10315 MAGIC_CMD=$MAGIC_CMD
10317 # Used on cygwin: DLL creation program.
10320 # Used on cygwin: object dumper.
10323 # Used on cygwin: assembler.
10326 # The name of the directory that contains temporary libtool files.
10329 # How to create reloadable object files.
10330 reload_flag=$lt_reload_flag
10331 reload_cmds=$lt_reload_cmds
10333 # How to pass a linker flag through the compiler.
10334 wl=$lt_lt_prog_compiler_wl
10336 # Object file suffix (normally "o").
10337 objext="$ac_objext"
10339 # Old archive suffix (normally "a").
10342 # Shared library suffix (normally ".so").
10343 shrext_cmds='$shrext_cmds'
10345 # Executable file suffix (normally "").
10348 # Additional compiler flags for building library objects.
10349 pic_flag=$lt_lt_prog_compiler_pic
10352 # What is the maximum length of a command?
10353 max_cmd_len=$lt_cv_sys_max_cmd_len
10355 # Does compiler simultaneously support -c and -o options?
10356 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
10358 # Must we lock files when doing compilation?
10359 need_locks=$lt_need_locks
10361 # Do we need the lib prefix for modules?
10362 need_lib_prefix=$need_lib_prefix
10364 # Do we need a version for libraries?
10365 need_version=$need_version
10367 # Whether dlopen is supported.
10368 dlopen_support=$enable_dlopen
10370 # Whether dlopen of programs is supported.
10371 dlopen_self=$enable_dlopen_self
10373 # Whether dlopen of statically linked programs is supported.
10374 dlopen_self_static=$enable_dlopen_self_static
10376 # Compiler flag to prevent dynamic linking.
10377 link_static_flag=$lt_lt_prog_compiler_static
10379 # Compiler flag to turn off builtin functions.
10380 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
10382 # Compiler flag to allow reflexive dlopens.
10383 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
10385 # Compiler flag to generate shared objects directly from archives.
10386 whole_archive_flag_spec=$lt_whole_archive_flag_spec
10388 # Compiler flag to generate thread-safe objects.
10389 thread_safe_flag_spec=$lt_thread_safe_flag_spec
10391 # Library versioning type.
10392 version_type=$version_type
10394 # Format of library name prefix.
10395 libname_spec=$lt_libname_spec
10397 # List of archive names. First name is the real one, the rest are links.
10398 # The last name is the one that the linker finds with -lNAME.
10399 library_names_spec=$lt_library_names_spec
10401 # The coded name of the library, if different from the real name.
10402 soname_spec=$lt_soname_spec
10404 # Commands used to build and install an old-style archive.
10406 old_archive_cmds=$lt_old_archive_cmds
10407 old_postinstall_cmds=$lt_old_postinstall_cmds
10408 old_postuninstall_cmds=$lt_old_postuninstall_cmds
10410 # Create an old-style archive from a shared archive.
10411 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
10413 # Create a temporary old-style archive to link instead of a shared archive.
10414 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
10416 # Commands used to build and install a shared archive.
10417 archive_cmds=$lt_archive_cmds
10418 archive_expsym_cmds=$lt_archive_expsym_cmds
10419 postinstall_cmds=$lt_postinstall_cmds
10420 postuninstall_cmds=$lt_postuninstall_cmds
10422 # Commands used to build a loadable module (assumed same as above if empty)
10423 module_cmds=$lt_module_cmds
10424 module_expsym_cmds=$lt_module_expsym_cmds
10426 # Commands to strip libraries.
10427 old_striplib=$lt_old_striplib
10428 striplib=$lt_striplib
10430 # Dependencies to place before the objects being linked to create a
10432 predep_objects=$lt_predep_objects
10434 # Dependencies to place after the objects being linked to create a
10436 postdep_objects=$lt_postdep_objects
10438 # Dependencies to place before the objects being linked to create a
10440 predeps=$lt_predeps
10442 # Dependencies to place after the objects being linked to create a
10444 postdeps=$lt_postdeps
10446 # The library search path used internally by the compiler when linking
10447 # a shared library.
10448 compiler_lib_search_path=$lt_compiler_lib_search_path
10450 # Method to check whether dependent libraries are shared objects.
10451 deplibs_check_method=$lt_deplibs_check_method
10453 # Command to use when deplibs_check_method == file_magic.
10454 file_magic_cmd=$lt_file_magic_cmd
10456 # Flag that allows shared libraries with undefined symbols to be built.
10457 allow_undefined_flag=$lt_allow_undefined_flag
10459 # Flag that forces no undefined symbols.
10460 no_undefined_flag=$lt_no_undefined_flag
10462 # Commands used to finish a libtool library installation in a directory.
10463 finish_cmds=$lt_finish_cmds
10465 # Same as above, but a single script fragment to be evaled but not shown.
10466 finish_eval=$lt_finish_eval
10468 # Take the output of nm and produce a listing of raw symbols and C names.
10469 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10471 # Transform the output of nm in a proper C declaration
10472 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10474 # Transform the output of nm in a C name address pair
10475 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10477 # This is the shared library runtime path variable.
10478 runpath_var=$runpath_var
10480 # This is the shared library path variable.
10481 shlibpath_var=$shlibpath_var
10483 # Is shlibpath searched before the hard-coded library search path?
10484 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10486 # How to hardcode a shared library path into an executable.
10487 hardcode_action=$hardcode_action
10489 # Whether we should hardcode library paths into libraries.
10490 hardcode_into_libs=$hardcode_into_libs
10492 # Flag to hardcode \$libdir into a binary during linking.
10493 # This must work even if \$libdir does not exist.
10494 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
10496 # If ld is used when linking, flag to hardcode \$libdir into
10497 # a binary during linking. This must work even if \$libdir does
10499 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
10501 # Whether we need a single -rpath flag with a separated argument.
10502 hardcode_libdir_separator=$lt_hardcode_libdir_separator
10504 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10505 # resulting binary.
10506 hardcode_direct=$hardcode_direct
10508 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10509 # resulting binary.
10510 hardcode_minus_L=$hardcode_minus_L
10512 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
10513 # the resulting binary.
10514 hardcode_shlibpath_var=$hardcode_shlibpath_var
10516 # Set to yes if building a shared library automatically hardcodes DIR into the library
10517 # and all subsequent libraries and executables linked against it.
10518 hardcode_automatic=$hardcode_automatic
10520 # Variables whose values should be saved in libtool wrapper scripts and
10521 # restored at relink time.
10522 variables_saved_for_relink="$variables_saved_for_relink"
10524 # Whether libtool must link a program against all its dependency libraries.
10525 link_all_deplibs=$link_all_deplibs
10527 # Compile-time system search path for libraries
10528 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
10530 # Run-time system search path for libraries
10531 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10533 # Fix the shell variable \$srcfile for the compiler.
10534 fix_srcfile_path="$fix_srcfile_path"
10536 # Set to yes if exported symbols are required.
10537 always_export_symbols=$always_export_symbols
10539 # The commands to list exported symbols.
10540 export_symbols_cmds=$lt_export_symbols_cmds
10542 # The commands to extract the exported symbol list from a shared archive.
10543 extract_expsyms_cmds=$lt_extract_expsyms_cmds
10545 # Symbols that should not be listed in the preloaded symbols.
10546 exclude_expsyms=$lt_exclude_expsyms
10548 # Symbols that must always be exported.
10549 include_expsyms=$lt_include_expsyms
10551 # ### END LIBTOOL CONFIG
10558 cat <<\EOF >> "$cfgfile"
10560 # AIX sometimes has problems with the GCC collect2 program. For some
10561 # reason, if we set the COLLECT_NAMES environment variable, the problems
10562 # vanish in a puff of smoke.
10563 if test "X${COLLECT_NAMES+set}" != Xset; then
10565 export COLLECT_NAMES
10571 # We use sed instead of cat because bash on DJGPP gets confused if
10572 # if finds mixed CR/LF and LF-only lines. Since sed operates in
10573 # text mode, it properly converts lines to CR/LF. This bash problem
10574 # is reportedly fixed, but why not run on old versions too?
10575 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
10577 mv -f "$cfgfile" "$ofile" || \
10578 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
10582 # If there is no Makefile yet, we rely on a make rule to execute
10583 # `config.status
--recheck' to rerun these tests and create the
10584 # libtool script then.
10585 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
10586 if test -f "$ltmain_in"; then
10587 test -f Makefile && make "$ltmain"
10593 ac_cpp='$CPP $CPPFLAGS'
10594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
10595 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
10596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10601 # Check whether --with-tags was given.
10602 if test "${with_tags+set}" = set; then
10603 withval=$with_tags; tagnames="$withval"
10607 if test -f "$ltmain" && test -n "$tagnames"; then
10608 if test ! -f "${ofile}"; then
10609 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist
" >&5
10610 echo "$as_me: WARNING
: output
file \
`$ofile' does not exist" >&2;}
10613 if test -z "$LTCC"; then
10614 eval "`$SHELL ${ofile} --config |
grep '^LTCC='`"
10615 if test -z "$LTCC"; then
10616 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
10617 echo "$as_me: WARNING: output file \`$ofile' does not
look like a libtool
script" >&2;}
10619 { echo "$as_me:$LINENO: WARNING
: using \
`LTCC=$LTCC', extracted from \`$ofile'" >&5
10620 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \
`$ofile'" >&2;}
10623 if test -z "$LTCFLAGS"; then
10624 eval "`$SHELL ${ofile} --config |
grep '^LTCFLAGS='`"
10627 # Extract list of available tagged configurations in $ofile.
10628 # Note that this assumes the entire list is on one line.
10629 available_tags=`grep "^available_tags=" "${ofile}" |
$SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
10631 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10632 for tagname in $tagnames; do
10634 # Check whether tagname contains only valid characters
10635 case `$echo "X$tagname" |
$Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
10637 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
10638 echo "$as_me: error: invalid tag name: $tagname" >&2;}
10639 { (exit 1); exit 1; }; }
10643 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
10645 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
10646 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
10647 { (exit 1); exit 1; }; }
10650 # Update the list of available tags.
10651 if test -n "$tagname"; then
10652 echo appending configuration tag \"$tagname\" to $ofile
10656 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
10657 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
10658 (test "X$CXX" != "Xg++"))) ; then
10660 ac_cpp='$CXXCPP $CPPFLAGS'
10661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10668 archive_cmds_need_lc_CXX=no
10669 allow_undefined_flag_CXX=
10670 always_export_symbols_CXX=no
10671 archive_expsym_cmds_CXX=
10672 export_dynamic_flag_spec_CXX=
10673 hardcode_direct_CXX=no
10674 hardcode_libdir_flag_spec_CXX=
10675 hardcode_libdir_flag_spec_ld_CXX=
10676 hardcode_libdir_separator_CXX=
10677 hardcode_minus_L_CXX=no
10678 hardcode_shlibpath_var_CXX=unsupported
10679 hardcode_automatic_CXX=no
10681 module_expsym_cmds_CXX=
10682 link_all_deplibs_CXX=unknown
10683 old_archive_cmds_CXX=$old_archive_cmds
10684 no_undefined_flag_CXX=
10685 whole_archive_flag_spec_CXX=
10686 enable_shared_with_static_runtimes_CXX=no
10688 # Dependencies to place before and after the object being linked:
10689 predep_objects_CXX=
10690 postdep_objects_CXX=
10693 compiler_lib_search_path_CXX=
10695 # Source file extension for C++ test sources.
10698 # Object file extension for compiled C++ test sources.
10702 # Code to be used in simple compile tests
10703 lt_simple_compile_test_code="int some_variable = 0;\n"
10705 # Code to be used in simple link tests
10706 lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
10708 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10710 # If no C compiler was specified, use CC.
10713 # If no C compiler flags were specified, use CFLAGS.
10714 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10716 # Allow CC to be a program name with arguments.
10720 # save warnings/boilerplate of simple test code
10721 ac_outfile=conftest.$ac_objext
10722 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
10723 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10724 _lt_compiler_boilerplate=`cat conftest.err
`
10727 ac_outfile=conftest.$ac_objext
10728 printf "$lt_simple_link_test_code" >conftest.$ac_ext
10729 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10730 _lt_linker_boilerplate=`cat conftest.err
`
10734 # Allow CC to be a program name with arguments.
10739 lt_save_with_gnu_ld=$with_gnu_ld
10740 lt_save_path_LD=$lt_cv_path_LD
10741 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10742 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
10744 $as_unset lt_cv_prog_gnu_ld
10746 if test -n "${lt_cv_path_LDCXX+set}"; then
10747 lt_cv_path_LD=$lt_cv_path_LDCXX
10749 $as_unset lt_cv_path_LD
10751 test -z "${LDCXX+set}" || LD=$LDCXX
10755 for cc_temp in $compiler""; do
10757 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10758 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10763 cc_basename=`$echo "X$cc_temp" |
$Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10766 # We don't want -fno-exception wen compiling C++ code, so set the
10767 # no_builtin_flag separately
10768 if test "$GXX" = yes; then
10769 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
10771 lt_prog_compiler_no_builtin_flag_CXX=
10774 if test "$GXX" = yes; then
10775 # Set up default GNU C++ configuration
10778 # Check whether --with-gnu-ld was given.
10779 if test "${with_gnu_ld+set}" = set; then
10780 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
10786 if test "$GCC" = yes; then
10787 # Check if gcc -print-prog-name=ld gives a path.
10788 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10789 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
10792 # gcc leaves a trailing carriage return which upsets mingw
10793 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
10795 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
10798 # Accept absolute paths.
10800 re_direlt='/[^/][^/]*/\.\./'
10801 # Canonicalize the pathname of ld
10802 ac_prog=`echo $ac_prog|
$SED 's%\\\\%/%g'`
10803 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
10804 ac_prog=`echo $ac_prog|
$SED "s%$re_direlt%/%"`
10806 test -z "$LD" && LD="$ac_prog"
10809 # If it fails, then pretend we aren't using GCC.
10813 # If it is relative, then search for the first ld in PATH.
10814 with_gnu_ld=unknown
10817 elif test "$with_gnu_ld" = yes; then
10818 { echo "$as_me:$LINENO: checking for GNU ld" >&5
10819 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
10821 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10822 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
10824 if test "${lt_cv_path_LD+set}" = set; then
10825 echo $ECHO_N "(cached) $ECHO_C" >&6
10827 if test -z "$LD"; then
10828 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10829 for ac_dir in $PATH; do
10831 test -z "$ac_dir" && ac_dir=.
10832 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
10833 lt_cv_path_LD="$ac_dir/$ac_prog"
10834 # Check to see if the program is GNU ld. I'd rather use --version,
10835 # but apparently some variants of GNU ld only accept -v.
10836 # Break only if it was the GNU/non-GNU ld that we prefer.
10837 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
10838 *GNU* | *'with BFD'*)
10839 test "$with_gnu_ld" != no && break
10842 test "$with_gnu_ld" != yes && break
10849 lt_cv_path_LD="$LD" # Let the user override the test with a path.
10853 LD="$lt_cv_path_LD"
10854 if test -n "$LD"; then
10855 { echo "$as_me:$LINENO: result: $LD" >&5
10856 echo "${ECHO_T}$LD" >&6; }
10858 { echo "$as_me:$LINENO: result: no" >&5
10859 echo "${ECHO_T}no" >&6; }
10861 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10862 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10863 { (exit 1); exit 1; }; }
10864 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10865 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
10866 if test "${lt_cv_prog_gnu_ld+set}" = set; then
10867 echo $ECHO_N "(cached) $ECHO_C" >&6
10869 # I'd rather use --version here, but apparently some GNU lds only accept -v.
10870 case `$LD -v 2>&1 </dev
/null
` in
10871 *GNU* | *'with BFD'*)
10872 lt_cv_prog_gnu_ld=yes
10875 lt_cv_prog_gnu_ld=no
10879 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10880 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
10881 with_gnu_ld=$lt_cv_prog_gnu_ld
10885 # Check if GNU C++ uses GNU ld as the underlying linker, since the
10886 # archiving commands below assume that GNU ld is being used.
10887 if test "$with_gnu_ld" = yes; then
10888 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10889 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'
10891 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
10892 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10894 # If archive_cmds runs LD, not CC, wlarc should be empty
10895 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
10896 # investigate it a little bit more. (MM)
10899 # ancient GNU ld didn't support --whole-archive et. al.
10900 if eval "`$CC -print-prog-name=ld
` --help 2>&1" | \
10901 grep 'no-whole-archive' > /dev/null; then
10902 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10904 whole_archive_flag_spec_CXX=
10910 # A generic and very simple default shared library creation
10911 # command for GNU C++ for the case where it uses the native
10912 # linker, instead of GNU ld. If possible, this setting should
10913 # overridden to take advantage of the native linker features on
10914 # the platform it is being used on.
10915 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10918 # Commands to make compiler produce verbose output that lists
10919 # what "hidden" libraries, object files and flags are used when
10920 # linking a shared library.
10921 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10929 # PORTME: fill in a description of your system's C++ link characteristics
10930 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10931 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
10935 # FIXME: insert proper C++ library support
10939 if test "$host_cpu" = ia64; then
10940 # On IA64, the linker does run time linking by default, so we don't
10941 # have to do anything special.
10942 aix_use_runtimelinking=no
10943 exp_sym_flag='-Bexport'
10946 aix_use_runtimelinking=no
10948 # Test if we are trying to use run time linking or normal
10949 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10950 # need to do runtime linking.
10951 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
10952 for ld_flag in $LDFLAGS; do
10955 aix_use_runtimelinking=yes
10963 exp_sym_flag='-bexport'
10964 no_entry_flag='-bnoentry'
10967 # When large executables or shared objects are built, AIX ld can
10968 # have problems creating the table of contents. If linking a library
10969 # or program results in "error TOC overflow" add -mminimal-toc to
10970 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10971 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10973 archive_cmds_CXX=''
10974 hardcode_direct_CXX=yes
10975 hardcode_libdir_separator_CXX=':'
10976 link_all_deplibs_CXX=yes
10978 if test "$GXX" = yes; then
10979 case $host_os in aix4.[012]|aix4.[012].*)
10980 # We only want to do this on AIX 4.2 and lower, the check
10981 # below for broken collect2 doesn't work under 4.3+
10982 collect2name=`${CC} -print-prog-name=collect2
`
10983 if test -f "$collect2name" && \
10984 strings "$collect2name" | grep resolve_lib_name >/dev/null
10986 # We have reworked collect2
10987 hardcode_direct_CXX=yes
10989 # We have old collect2
10990 hardcode_direct_CXX=unsupported
10991 # It fails to find uninstalled libraries when the uninstalled
10992 # path is not listed in the libpath. Setting hardcode_minus_L
10993 # to unsupported forces relinking
10994 hardcode_minus_L_CXX=yes
10995 hardcode_libdir_flag_spec_CXX='-L$libdir'
10996 hardcode_libdir_separator_CXX=
11000 shared_flag='-shared'
11001 if test "$aix_use_runtimelinking" = yes; then
11002 shared_flag="$shared_flag "'${wl}-G'
11006 if test "$host_cpu" = ia64; then
11007 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11008 # chokes on -Wl,-G. The following line is correct:
11011 if test "$aix_use_runtimelinking" = yes; then
11012 shared_flag='${wl}-G'
11014 shared_flag='${wl}-bM:SRE'
11019 # It seems that -bexpall does not export symbols beginning with
11020 # underscore (_), so it is better to generate a list of symbols to export.
11021 always_export_symbols_CXX=yes
11022 if test "$aix_use_runtimelinking" = yes; then
11023 # Warning - without using the other runtime loading flags (-brtl),
11024 # -berok will link without error, but may produce a broken library.
11025 allow_undefined_flag_CXX='-berok'
11026 # Determine the default libpath from the value encoded in an empty executable.
11027 cat >conftest.$ac_ext <<_ACEOF
11030 cat confdefs.h >>conftest.$ac_ext
11031 cat >>conftest.$ac_ext <<_ACEOF
11032 /* end confdefs.h. */
11042 rm -f conftest.$ac_objext conftest$ac_exeext
11043 if { (ac_try="$ac_link"
11044 case "(($ac_try" in
11045 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11046 *) ac_try_echo
=$ac_try;;
11048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11049 (eval "$ac_link") 2>conftest.er1
11051 grep -v '^ *+' conftest.er1
>conftest.err
11053 cat conftest.err
>&5
11054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11055 (exit $ac_status); } && {
11056 test -z "$ac_cxx_werror_flag" ||
11057 test ! -s conftest.err
11058 } && test -s conftest
$ac_exeext &&
11059 $as_test_x conftest
$ac_exeext; then
11061 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11063 # Check for a 64-bit object if we didn't find anything.
11064 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11067 echo "$as_me: failed program was:" >&5
11068 sed 's/^/| /' conftest.
$ac_ext >&5
11073 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11074 conftest
$ac_exeext conftest.
$ac_ext
11075 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11077 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11079 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"
11081 if test "$host_cpu" = ia64
; then
11082 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
11083 allow_undefined_flag_CXX
="-z nodefs"
11084 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"
11086 # Determine the default libpath from the value encoded in an empty executable.
11087 cat >conftest.
$ac_ext <<_ACEOF
11090 cat confdefs.h
>>conftest.
$ac_ext
11091 cat >>conftest.
$ac_ext <<_ACEOF
11092 /* end confdefs.h. */
11102 rm -f conftest.
$ac_objext conftest
$ac_exeext
11103 if { (ac_try
="$ac_link"
11104 case "(($ac_try" in
11105 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11106 *) ac_try_echo=$ac_try;;
11108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11109 (eval "$ac_link") 2>conftest.er1
11111 grep -v '^ *+' conftest.er1 >conftest.err
11113 cat conftest.err >&5
11114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11115 (exit $ac_status); } && {
11116 test -z "$ac_cxx_werror_flag" ||
11117 test ! -s conftest.err
11118 } && test -s conftest$ac_exeext &&
11119 $as_test_x conftest$ac_exeext; then
11121 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11123 # Check for a 64-bit object if we didn't find anything.
11124 if test -z "$aix_libpath"; then aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11127 echo "$as_me: failed program was:" >&5
11128 sed 's/^/| /' conftest.$ac_ext >&5
11133 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11134 conftest$ac_exeext conftest.$ac_ext
11135 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11137 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11138 # Warning - without using the other run time loading flags,
11139 # -berok will link without error, but may produce a broken library.
11140 no_undefined_flag_CXX=' ${wl}-bernotok'
11141 allow_undefined_flag_CXX=' ${wl}-berok'
11142 # Exported symbols can be pulled into shared objects from archives
11143 whole_archive_flag_spec_CXX='$convenience'
11144 archive_cmds_need_lc_CXX=yes
11145 # This is similar to how AIX traditionally builds its shared libraries.
11146 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'
11152 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11153 allow_undefined_flag_CXX=unsupported
11154 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11155 # support --undefined. This deserves some investigation. FIXME
11156 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11163 case $cc_basename in
11165 # FIXME: insert proper C++ library support
11171 cygwin* | mingw* | pw32*)
11172 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11173 # as there is no search path for DLLs.
11174 hardcode_libdir_flag_spec_CXX='-L$libdir'
11175 allow_undefined_flag_CXX=unsupported
11176 always_export_symbols_CXX=no
11177 enable_shared_with_static_runtimes_CXX=yes
11179 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11180 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'
11181 # If the export-symbols file already is a .def file (1st line
11182 # is EXPORTS), use it as is; otherwise, prepend...
11183 archive_expsym_cmds_CXX='if test "x`$SED 1q
$export_symbols`" = xEXPORTS; then
11184 cp $export_symbols $output_objdir/$soname.def;
11186 echo EXPORTS > $output_objdir/$soname.def;
11187 cat $export_symbols >> $output_objdir/$soname.def;
11189 $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'
11194 darwin* | rhapsody*)
11196 rhapsody* | darwin1.[012])
11197 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11200 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
11201 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11203 case ${MACOSX_DEPLOYMENT_TARGET} in
11205 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11208 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11214 archive_cmds_need_lc_CXX=no
11215 hardcode_direct_CXX=no
11216 hardcode_automatic_CXX=yes
11217 hardcode_shlibpath_var_CXX=unsupported
11218 whole_archive_flag_spec_CXX=''
11219 link_all_deplibs_CXX=yes
11221 if test "$GXX" = yes ; then
11222 lt_int_apple_cc_single_mod=no
11223 output_verbose_link_cmd='echo'
11224 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
11225 lt_int_apple_cc_single_mod=yes
11227 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11228 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11230 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'
11232 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11233 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11234 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11235 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}'
11237 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}'
11239 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}'
11241 case $cc_basename in
11243 output_verbose_link_cmd='echo'
11244 archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
11245 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11246 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11247 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11248 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}'
11258 case $cc_basename in
11260 # FIXME: insert proper C++ library support
11264 # Green Hills C++ Compiler
11265 # FIXME: insert proper C++ library support
11269 # FIXME: insert proper C++ library support
11275 # C++ shared libraries reported to be fairly broken before switch to ELF
11279 archive_cmds_need_lc_CXX=no
11281 freebsd* | kfreebsd*-gnu | dragonfly*)
11282 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11289 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11290 hardcode_libdir_separator_CXX=:
11291 export_dynamic_flag_spec_CXX='${wl}-E'
11292 hardcode_direct_CXX=yes
11293 hardcode_minus_L_CXX=yes # Not in the search PATH,
11294 # but as the default
11295 # location of the library.
11297 case $cc_basename in
11299 # FIXME: insert proper C++ library support
11303 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'
11304 # Commands to make compiler produce verbose output that lists
11305 # what "hidden" libraries, object files and flags are used when
11306 # linking a shared library.
11308 # There doesn't appear to be a way to prevent this compiler from
11309 # explicitly linking system object files so we need to strip them
11310 # from the output so that they don't get included in the library
11312 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'
11315 if test "$GXX" = yes; then
11316 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'
11318 # FIXME: insert proper C++ library support
11325 if test $with_gnu_ld = no; then
11326 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11327 hardcode_libdir_separator_CXX=:
11331 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
11334 export_dynamic_flag_spec_CXX='${wl}-E'
11340 hardcode_direct_CXX=no
11341 hardcode_shlibpath_var_CXX=no
11344 hardcode_direct_CXX=yes
11345 hardcode_minus_L_CXX=yes # Not in the search PATH,
11346 # but as the default
11347 # location of the library.
11351 case $cc_basename in
11353 # FIXME: insert proper C++ library support
11359 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11362 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11365 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11368 # Commands to make compiler produce verbose output that lists
11369 # what "hidden" libraries, object files and flags are used when
11370 # linking a shared library.
11372 # There doesn't appear to be a way to prevent this compiler from
11373 # explicitly linking system object files so we need to strip them
11374 # from the output so that they don't get included in the library
11376 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'
11379 if test "$GXX" = yes; then
11380 if test $with_gnu_ld = no; then
11383 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11386 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11389 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'
11394 # FIXME: insert proper C++ library support
11401 hardcode_direct_CXX=no
11402 hardcode_shlibpath_var_CXX=no
11403 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11404 export_dynamic_flag_spec_CXX='${wl}-E'
11405 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11406 # Instead, shared libraries are loaded at an image base (0x10000000 by
11407 # default) and relocated if they conflict, which is a slow very memory
11408 # consuming and fragmenting process. To avoid this, we pick a random,
11409 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11410 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11411 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'
11412 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'
11415 case $cc_basename in
11418 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'
11420 # Archives containing C++ object files must be created using
11421 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11422 # necessary to make sure instantiated templates are included
11424 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11427 if test "$GXX" = yes; then
11428 if test "$with_gnu_ld" = no; then
11429 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'
11431 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'
11434 link_all_deplibs_CXX=yes
11437 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11438 hardcode_libdir_separator_CXX=:
11441 case $cc_basename in
11443 # Kuck and Associates, Inc. (KAI) C++ Compiler
11445 # KCC will only create a shared library if the output file
11446 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11447 # to its proper name (with version) after linking.
11448 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'
11449 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'
11450 # Commands to make compiler produce verbose output that lists
11451 # what "hidden" libraries, object files and flags are used when
11452 # linking a shared library.
11454 # There doesn't appear to be a way to prevent this compiler from
11455 # explicitly linking system object files so we need to strip them
11456 # from the output so that they don't get included in the library
11458 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'
11460 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
11461 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11463 # Archives containing C++ object files must be created using
11464 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11465 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11470 # version 8.0 and above of icpc choke on multiply defined symbols
11471 # if we add $predep_objects and $postdep_objects, however 7.1 and
11472 # earlier do not add the objects themselves.
11473 case `$CC -V 2>&1` in
11475 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11476 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'
11478 *) # Version 8.0 or newer
11481 ia64
*) tmp_idyn
=' -i_dynamic';;
11483 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11484 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'
11487 archive_cmds_need_lc_CXX
=no
11488 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11489 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11490 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11493 # Portland Group C++ compiler
11494 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11495 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'
11497 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
11498 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11499 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'
11503 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11504 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'
11506 runpath_var
=LD_RUN_PATH
11507 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11508 hardcode_libdir_separator_CXX
=:
11510 # Commands to make compiler produce verbose output that lists
11511 # what "hidden" libraries, object files and flags are used when
11512 # linking a shared library.
11514 # There doesn't appear to be a way to prevent this compiler from
11515 # explicitly linking system object files so we need to strip them
11516 # from the output so that they don't get included in the library
11518 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'
11523 # FIXME: insert proper C++ library support
11527 # FIXME: insert proper C++ library support
11531 case $cc_basename in
11533 # FIXME: insert proper C++ library support
11537 # FIXME: insert proper C++ library support
11543 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
11544 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11546 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11547 hardcode_direct_CXX
=yes
11548 hardcode_shlibpath_var_CXX
=no
11550 # Workaround some broken pre-1.5 toolchains
11551 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11554 # C++ shared libraries are fairly broken
11558 hardcode_direct_CXX
=yes
11559 hardcode_shlibpath_var_CXX
=no
11560 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11561 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11562 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11563 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11564 export_dynamic_flag_spec_CXX
='${wl}-E'
11565 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11567 output_verbose_link_cmd
='echo'
11570 case $cc_basename in
11572 # Kuck and Associates, Inc. (KAI) C++ Compiler
11574 # KCC will only create a shared library if the output file
11575 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11576 # to its proper name (with version) after linking.
11577 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'
11579 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11580 hardcode_libdir_separator_CXX
=:
11582 # Archives containing C++ object files must be created using
11583 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11584 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11588 # Rational C++ 2.4.1
11589 # FIXME: insert proper C++ library support
11593 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11594 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'
11596 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11597 hardcode_libdir_separator_CXX
=:
11599 # Commands to make compiler produce verbose output that lists
11600 # what "hidden" libraries, object files and flags are used when
11601 # linking a shared library.
11603 # There doesn't appear to be a way to prevent this compiler from
11604 # explicitly linking system object files so we need to strip them
11605 # from the output so that they don't get included in the library
11607 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'
11610 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11611 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11612 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'
11614 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11615 hardcode_libdir_separator_CXX
=:
11617 # Commands to make compiler produce verbose output that lists
11618 # what "hidden" libraries, object files and flags are used when
11619 # linking a shared library.
11620 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11623 # FIXME: insert proper C++ library support
11630 case $cc_basename in
11632 # Kuck and Associates, Inc. (KAI) C++ Compiler
11634 # KCC will only create a shared library if the output file
11635 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11636 # to its proper name (with version) after linking.
11637 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'
11639 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11640 hardcode_libdir_separator_CXX
=:
11642 # Archives containing C++ object files must be created using
11643 # the KAI C++ compiler.
11644 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
11647 # Rational C++ 2.4.1
11648 # FIXME: insert proper C++ library support
11652 allow_undefined_flag_CXX
=' -expect_unresolved \*'
11653 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'
11654 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11655 echo "-hidden">> $lib.exp~
11656 $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~
11659 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11660 hardcode_libdir_separator_CXX
=:
11662 # Commands to make compiler produce verbose output that lists
11663 # what "hidden" libraries, object files and flags are used when
11664 # linking a shared library.
11666 # There doesn't appear to be a way to prevent this compiler from
11667 # explicitly linking system object files so we need to strip them
11668 # from the output so that they don't get included in the library
11670 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'
11673 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11674 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11675 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'
11677 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11678 hardcode_libdir_separator_CXX
=:
11680 # Commands to make compiler produce verbose output that lists
11681 # what "hidden" libraries, object files and flags are used when
11682 # linking a shared library.
11683 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11686 # FIXME: insert proper C++ library support
11693 # FIXME: insert proper C++ library support
11697 case $cc_basename in
11700 # FIXME: insert proper C++ library support
11705 # FIXME: insert proper C++ library support
11709 # FIXME: insert proper C++ library support
11715 case $cc_basename in
11717 # Sun C++ 4.2, 5.x and Centerline C++
11718 archive_cmds_need_lc_CXX
=yes
11719 no_undefined_flag_CXX
=' -zdefs'
11720 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11721 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11722 $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'
11724 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11725 hardcode_shlibpath_var_CXX
=no
11727 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11729 # The C++ compiler is used as linker so we must use $wl
11730 # flag to pass the commands to the underlying system
11731 # linker. We must also pass each convience library through
11732 # to the system linker between allextract/defaultextract.
11733 # The C++ compiler will combine linker options so we
11734 # cannot just pass the convience library names through
11736 # Supported since Solaris 2.6 (maybe 2.5.1?)
11737 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
11740 link_all_deplibs_CXX
=yes
11742 output_verbose_link_cmd
='echo'
11744 # Archives containing C++ object files must be created using
11745 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11746 # necessary to make sure instantiated templates are included
11748 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
11751 # Green Hills C++ Compiler
11752 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11754 # The C++ compiler must be used to create the archive.
11755 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
11758 # GNU C++ compiler with Solaris linker
11759 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11760 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
11761 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
11762 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11763 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11764 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11766 # Commands to make compiler produce verbose output that lists
11767 # what "hidden" libraries, object files and flags are used when
11768 # linking a shared library.
11769 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11771 # g++ 2.7 appears to require `-G' NOT `-shared' on this
11773 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11774 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11775 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
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 -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11783 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
11788 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11789 no_undefined_flag_CXX
='${wl}-z,text'
11790 archive_cmds_need_lc_CXX
=no
11791 hardcode_shlibpath_var_CXX
=no
11792 runpath_var
='LD_RUN_PATH'
11794 case $cc_basename in
11796 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11797 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11800 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11801 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11805 sysv5
* | sco3.2v5
* | sco5v6
*)
11806 # Note: We can NOT use -z defs as we might desire, because we do not
11807 # link with -lc, and that would cause any symbols used from libc to
11808 # always be unresolved, which means just about no library would
11809 # ever link correctly. If we're not using GNU ld we use -z text
11810 # though, which does catch some bad symbols but isn't as heavy-handed
11812 # For security reasons, it is highly recommended that you always
11813 # use absolute paths for naming shared libraries, and exclude the
11814 # DT_RUNPATH tag from executables and libraries. But doing so
11815 # requires that you compile everything twice, which is a pain.
11816 # So that behaviour is only enabled if SCOABSPATH is set to a
11817 # non-empty value in the environment. Most likely only useful for
11818 # creating official distributions of packages.
11819 # This is a hack until libtool officially supports absolute path
11820 # names for shared libraries.
11821 no_undefined_flag_CXX
='${wl}-z,text'
11822 allow_undefined_flag_CXX
='${wl}-z,nodefs'
11823 archive_cmds_need_lc_CXX
=no
11824 hardcode_shlibpath_var_CXX
=no
11825 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
11826 hardcode_libdir_separator_CXX
=':'
11827 link_all_deplibs_CXX
=yes
11828 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
11829 runpath_var
='LD_RUN_PATH'
11831 case $cc_basename in
11833 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11834 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11837 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11838 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11843 case $cc_basename in
11845 # NonStop-UX NCC 3.20
11846 # FIXME: insert proper C++ library support
11850 # FIXME: insert proper C++ library support
11856 # FIXME: insert proper C++ library support
11860 # FIXME: insert proper C++ library support
11864 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11865 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
11866 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
11872 cat > conftest.
$ac_ext <<EOF
11876 Foo (void) { a = 0; }
11882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11883 (eval $ac_compile) 2>&5
11885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11886 (exit $ac_status); }; then
11887 # Parse the compiler output and extract the necessary
11888 # objects, libraries and library flags.
11890 # Sentinel used to keep track of whether or not we are before
11891 # the conftest object file.
11892 pre_test_object_deps_done
=no
11894 # The `*' in the case matches for architectures that use `case' in
11895 # $output_verbose_cmd can trigger glob expansion during the loop
11896 # eval without this substitution.
11897 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
11899 for p
in `eval $output_verbose_link_cmd`; do
11903 # Some compilers place space between "-{L,R}" and the path.
11904 # Remove the space.
11905 if test $p = "-L" \
11906 ||
test $p = "-R"; then
11913 if test "$pre_test_object_deps_done" = no
; then
11916 # Internal compiler library paths should come after those
11917 # provided the user. The postdeps already come after the
11918 # user supplied libs so there is no need to process them.
11919 if test -z "$compiler_lib_search_path_CXX"; then
11920 compiler_lib_search_path_CXX
="${prev}${p}"
11922 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
11925 # The "-l" case would never come before the object being
11926 # linked, so don't bother handling this case.
11929 if test -z "$postdeps_CXX"; then
11930 postdeps_CXX
="${prev}${p}"
11932 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
11938 # This assumes that the test object file only shows up
11939 # once in the compiler output.
11940 if test "$p" = "conftest.$objext"; then
11941 pre_test_object_deps_done
=yes
11945 if test "$pre_test_object_deps_done" = no
; then
11946 if test -z "$predep_objects_CXX"; then
11947 predep_objects_CXX
="$p"
11949 predep_objects_CXX
="$predep_objects_CXX $p"
11952 if test -z "$postdep_objects_CXX"; then
11953 postdep_objects_CXX
="$p"
11955 postdep_objects_CXX
="$postdep_objects_CXX $p"
11960 *) ;; # Ignore the rest.
11968 echo "libtool.m4: error: problem compiling CXX test program"
11971 $rm -f confest.
$objext
11973 # PORTME: override above test on systems where it is broken
11976 # Interix 3.5 installs completely hosed .la files for C++, so rather than
11977 # hack all around it, let's just trust "g++" to DTRT.
11978 predep_objects_CXX
=
11979 postdep_objects_CXX
=
11984 case $cc_basename in
11986 # Adding this requires a known-good setup of shared libraries for
11987 # Sun compiler versions before 5.6, else PIC objects from an old
11988 # archive will be linked into the output, leading to subtle bugs.
11989 postdeps_CXX
='-lCstd -lCrun'
11996 case " $postdeps_CXX " in
11997 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
12000 lt_prog_compiler_wl_CXX
=
12001 lt_prog_compiler_pic_CXX
=
12002 lt_prog_compiler_static_CXX
=
12004 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12005 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
12007 # C++ specific cases for pic, static, wl, etc.
12008 if test "$GXX" = yes; then
12009 lt_prog_compiler_wl_CXX
='-Wl,'
12010 lt_prog_compiler_static_CXX
='-static'
12014 # All AIX code is PIC.
12015 if test "$host_cpu" = ia64
; then
12016 # AIX 5 now supports IA64 processor
12017 lt_prog_compiler_static_CXX
='-Bstatic'
12021 # FIXME: we need at least 68020 code to build shared libraries, but
12022 # adding the `-m68020' flag to GCC prevents building anything better,
12024 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
12026 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12027 # PIC is the default for these OSes.
12029 mingw
* | os2
* | pw32
*)
12030 # This hack is so that the source file can tell whether it is being
12031 # built for inclusion in a dll (and should export symbols for example).
12032 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
12034 darwin
* | rhapsody
*)
12035 # PIC is the default on this platform
12036 # Common symbols not allowed in MH_DYLIB files
12037 lt_prog_compiler_pic_CXX
='-fno-common'
12040 # DJGPP does not support shared libraries at all
12041 lt_prog_compiler_pic_CXX
=
12044 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12045 # Instead, we relocate shared libraries at runtime.
12048 if test -d /usr
/nec
; then
12049 lt_prog_compiler_pic_CXX
=-Kconform_pic
12053 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12054 # not for PA HP-UX.
12059 lt_prog_compiler_pic_CXX
='-fPIC'
12064 lt_prog_compiler_pic_CXX
='-fPIC'
12070 # All AIX code is PIC.
12071 if test "$host_cpu" = ia64
; then
12072 # AIX 5 now supports IA64 processor
12073 lt_prog_compiler_static_CXX
='-Bstatic'
12075 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
12079 case $cc_basename in
12081 # Green Hills C++ Compiler
12082 # _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"
12087 # PIC is the default on this platform
12088 # Common symbols not allowed in MH_DYLIB files
12089 case $cc_basename in
12091 lt_prog_compiler_pic_CXX
='-qnocommon'
12092 lt_prog_compiler_wl_CXX
='-Wl,'
12097 case $cc_basename in
12099 lt_prog_compiler_pic_CXX
='-KPIC'
12102 # Green Hills C++ Compiler
12103 lt_prog_compiler_pic_CXX
='-pic'
12109 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
12110 # FreeBSD uses GNU C++
12112 hpux9
* | hpux10
* | hpux11
*)
12113 case $cc_basename in
12115 lt_prog_compiler_wl_CXX
='-Wl,'
12116 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12117 if test "$host_cpu" != ia64
; then
12118 lt_prog_compiler_pic_CXX
='+Z'
12122 lt_prog_compiler_wl_CXX
='-Wl,'
12123 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12129 lt_prog_compiler_pic_CXX
='+Z'
12138 # This is c89, which is MS Visual C++ (no shared libs)
12139 # Anyone wants to do a port?
12141 irix5
* | irix6
* | nonstopux
*)
12142 case $cc_basename in
12144 lt_prog_compiler_wl_CXX
='-Wl,'
12145 lt_prog_compiler_static_CXX
='-non_shared'
12146 # CC pic flag -KPIC is the default.
12153 case $cc_basename in
12156 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12157 lt_prog_compiler_pic_CXX
='-fPIC'
12161 lt_prog_compiler_wl_CXX
='-Wl,'
12162 lt_prog_compiler_pic_CXX
='-KPIC'
12163 lt_prog_compiler_static_CXX
='-static'
12166 # Portland Group C++ compiler.
12167 lt_prog_compiler_wl_CXX
='-Wl,'
12168 lt_prog_compiler_pic_CXX
='-fpic'
12169 lt_prog_compiler_static_CXX
='-Bstatic'
12173 # Make sure the PIC flag is empty. It appears that all Alpha
12174 # Linux and Compaq Tru64 Unix objects are PIC.
12175 lt_prog_compiler_pic_CXX
=
12176 lt_prog_compiler_static_CXX
='-non_shared'
12187 case $cc_basename in
12189 lt_prog_compiler_pic_CXX
='-W c,exportall'
12197 osf3
* | osf4
* | osf5
*)
12198 case $cc_basename in
12200 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12203 # Rational C++ 2.4.1
12204 lt_prog_compiler_pic_CXX
='-pic'
12207 # Digital/Compaq C++
12208 lt_prog_compiler_wl_CXX
='-Wl,'
12209 # Make sure the PIC flag is empty. It appears that all Alpha
12210 # Linux and Compaq Tru64 Unix objects are PIC.
12211 lt_prog_compiler_pic_CXX
=
12212 lt_prog_compiler_static_CXX
='-non_shared'
12221 case $cc_basename in
12223 # Sun C++ 4.2, 5.x and Centerline C++
12224 lt_prog_compiler_pic_CXX
='-KPIC'
12225 lt_prog_compiler_static_CXX
='-Bstatic'
12226 lt_prog_compiler_wl_CXX
='-Qoption ld '
12229 # Green Hills C++ Compiler
12230 lt_prog_compiler_pic_CXX
='-PIC'
12237 case $cc_basename in
12240 lt_prog_compiler_pic_CXX
='-pic'
12241 lt_prog_compiler_static_CXX
='-Bstatic'
12245 lt_prog_compiler_pic_CXX
='-pic'
12252 case $cc_basename in
12254 # NonStop-UX NCC 3.20
12255 lt_prog_compiler_pic_CXX
='-KPIC'
12261 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12262 case $cc_basename in
12264 lt_prog_compiler_wl_CXX
='-Wl,'
12265 lt_prog_compiler_pic_CXX
='-KPIC'
12266 lt_prog_compiler_static_CXX
='-Bstatic'
12273 lt_prog_compiler_can_build_shared_CXX
=no
12278 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12279 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
12282 # Check to make sure the PIC flag actually works.
12284 if test -n "$lt_prog_compiler_pic_CXX"; then
12286 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12287 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
12288 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12289 echo $ECHO_N "(cached) $ECHO_C" >&6
12291 lt_prog_compiler_pic_works_CXX
=no
12292 ac_outfile
=conftest.
$ac_objext
12293 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12294 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
12295 # Insert the option either (1) after the last *FLAGS variable, or
12296 # (2) before a word containing "conftest.", or (3) at the end.
12297 # Note that $ac_compile itself does not contain backslashes and begins
12298 # with a dollar sign (not a hyphen), so the echo should work correctly.
12299 # The option is referenced via a variable to avoid confusing sed.
12300 lt_compile
=`echo "$ac_compile" | $SED \
12301 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12302 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12303 -e 's:$: $lt_compiler_flag:'`
12304 (eval echo "\"\$as_me:12304: $lt_compile\"" >&5)
12305 (eval "$lt_compile" 2>conftest.err
)
12307 cat conftest.err
>&5
12308 echo "$as_me:12308: \$? = $ac_status" >&5
12309 if (exit $ac_status) && test -s "$ac_outfile"; then
12310 # The compiler can only warn and ignore the option if not recognized
12311 # So say no if there are warnings other than the usual output.
12312 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
12313 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12314 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
12315 lt_prog_compiler_pic_works_CXX
=yes
12321 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12322 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
12324 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
12325 case $lt_prog_compiler_pic_CXX in
12327 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
12330 lt_prog_compiler_pic_CXX
=
12331 lt_prog_compiler_can_build_shared_CXX
=no
12336 # For platforms which do not support PIC, -DPIC is meaningless:
12338 lt_prog_compiler_pic_CXX
=
12341 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
12346 # Check to make sure the static flag actually works.
12348 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
12349 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12350 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
12351 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
12352 echo $ECHO_N "(cached) $ECHO_C" >&6
12354 lt_prog_compiler_static_works_CXX
=no
12355 save_LDFLAGS
="$LDFLAGS"
12356 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
12357 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
12358 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12359 # The linker can only warn and ignore the option if not recognized
12360 # So say no if there are warnings
12361 if test -s conftest.err
; then
12362 # Append any errors to the config.log.
12363 cat conftest.err
1>&5
12364 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
12365 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12366 if diff conftest.exp conftest.er2
>/dev
/null
; then
12367 lt_prog_compiler_static_works_CXX
=yes
12370 lt_prog_compiler_static_works_CXX
=yes
12374 LDFLAGS
="$save_LDFLAGS"
12377 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12378 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
12380 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
12383 lt_prog_compiler_static_CXX
=
12387 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12388 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
12389 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12390 echo $ECHO_N "(cached) $ECHO_C" >&6
12392 lt_cv_prog_compiler_c_o_CXX
=no
12393 $rm -r conftest
2>/dev
/null
12397 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12399 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12400 # Insert the option either (1) after the last *FLAGS variable, or
12401 # (2) before a word containing "conftest.", or (3) at the end.
12402 # Note that $ac_compile itself does not contain backslashes and begins
12403 # with a dollar sign (not a hyphen), so the echo should work correctly.
12404 lt_compile
=`echo "$ac_compile" | $SED \
12405 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12406 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12407 -e 's:$: $lt_compiler_flag:'`
12408 (eval echo "\"\$as_me:12408: $lt_compile\"" >&5)
12409 (eval "$lt_compile" 2>out
/conftest.err
)
12411 cat out
/conftest.err
>&5
12412 echo "$as_me:12412: \$? = $ac_status" >&5
12413 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12415 # The compiler can only warn and ignore the option if not recognized
12416 # So say no if there are warnings
12417 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
12418 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12419 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12420 lt_cv_prog_compiler_c_o_CXX
=yes
12425 # SGI C++ compiler will create directory out/ii_files/ for
12426 # template instantiation
12427 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
12428 $rm out
/* && rmdir out
12434 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12435 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
12438 hard_links
="nottested"
12439 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
12440 # do not overwrite the value of need_locks provided by the user
12441 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12442 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
12445 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12447 ln conftest.a conftest.b
2>&5 || hard_links
=no
12448 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12449 { echo "$as_me:$LINENO: result: $hard_links" >&5
12450 echo "${ECHO_T}$hard_links" >&6; }
12451 if test "$hard_links" = no
; then
12452 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12453 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12460 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12461 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12463 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12466 # If we're using GNU nm, then we don't want the "-C" option.
12467 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12468 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
12469 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'
12471 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'
12475 export_symbols_cmds_CXX
="$ltdll_cmds"
12478 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'
12481 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12485 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12486 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12487 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12490 # Do we need to explicitly link libc?
12492 case "x$archive_cmds_need_lc_CXX" in
12494 # Assume -lc should be added
12495 archive_cmds_need_lc_CXX
=yes
12497 if test "$enable_shared" = yes && test "$GCC" = yes; then
12498 case $archive_cmds_CXX in
12500 # FIXME: we may have to deal with multi-command sequences.
12503 # Test whether the compiler implicitly links with -lc since on some
12504 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12505 # to ld, don't add -lc before -lgcc.
12506 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12507 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
12509 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12512 (eval $ac_compile) 2>&5
12514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12515 (exit $ac_status); } 2>conftest.err
; then
12518 libobjs
=conftest.
$ac_objext
12520 wl
=$lt_prog_compiler_wl_CXX
12521 pic_flag
=$lt_prog_compiler_pic_CXX
12527 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
12528 allow_undefined_flag_CXX
=
12529 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
12530 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12533 (exit $ac_status); }
12535 archive_cmds_need_lc_CXX
=no
12537 archive_cmds_need_lc_CXX
=yes
12539 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
12541 cat conftest.err
1>&5
12544 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12545 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
12552 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12553 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
12554 library_names_spec
=
12555 libname_spec
='lib$name'
12559 postuninstall_cmds
=
12563 shlibpath_overrides_runpath
=unknown
12565 dynamic_linker
="$host_os ld.so"
12566 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
12567 if test "$GCC" = yes; then
12568 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12569 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
12570 # if the path contains ";" then we assume it to be the separator
12571 # otherwise default to the standard path separator (i.e. ":") - it is
12572 # assumed that no part of a normal pathname contains ";" but that should
12573 # okay in the real world where ";" in dirpaths is itself problematic.
12574 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12576 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12579 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
12581 need_lib_prefix
=unknown
12582 hardcode_into_libs
=no
12584 # when you set need_version to no, make sure it does not cause -set_version
12585 # flags to be left without arguments
12586 need_version
=unknown
12591 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
12592 shlibpath_var
=LIBPATH
12594 # AIX 3 has no versioning support, so we append a major version to the name.
12595 soname_spec
='${libname}${release}${shared_ext}$major'
12602 hardcode_into_libs
=yes
12603 if test "$host_cpu" = ia64
; then
12604 # AIX 5 supports IA64
12605 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12606 shlibpath_var
=LD_LIBRARY_PATH
12608 # With GCC up to 2.95.x, collect2 would create an import file
12609 # for dependence libraries. The import file would start with
12610 # the line `#! .'. This would cause the generated library to
12611 # depend on `.', always an invalid library. This was fixed in
12612 # development snapshots of GCC prior to 3.0.
12614 aix4 | aix4.
[01] | aix4.
[01].
*)
12615 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12617 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
12620 can_build_shared
=no
12624 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12625 # soname into executable. Probably we can add versioning support to
12626 # collect2, so additional links can be useful in future.
12627 if test "$aix_use_runtimelinking" = yes; then
12628 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12629 # instead of lib<name>.a to let people know that these are not
12630 # typical AIX shared libraries.
12631 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12633 # We preserve .a as extension for shared libraries through AIX4.2
12634 # and later when we are not doing run time linking.
12635 library_names_spec
='${libname}${release}.a $libname.a'
12636 soname_spec
='${libname}${release}${shared_ext}$major'
12638 shlibpath_var
=LIBPATH
12643 library_names_spec
='$libname.ixlibrary $libname.a'
12644 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12645 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'
12649 library_names_spec
='${libname}${shared_ext}'
12650 dynamic_linker
="$host_os ld.so"
12651 shlibpath_var
=LIBRARY_PATH
12657 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12658 soname_spec
='${libname}${release}${shared_ext}$major'
12659 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
12660 shlibpath_var
=LD_LIBRARY_PATH
12661 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12662 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
12663 # the default ld.so.conf also contains /usr/contrib/lib and
12664 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12665 # libtool to hard-code these into programs
12668 cygwin
* | mingw
* | pw32
*)
12669 version_type
=windows
12674 case $GCC,$host_os in
12675 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
12676 library_names_spec
='$libname.dll.a'
12677 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12678 postinstall_cmds
='base_file=`basename \${file}`~
12679 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
12680 dldir=$destdir/`dirname \$dlpath`~
12681 test -d \$dldir || mkdir -p \$dldir~
12682 $install_prog $dir/$dlname \$dldir/$dlname~
12683 chmod a+x \$dldir/$dlname'
12684 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12685 dlpath=$dir/\$dldll~
12687 shlibpath_overrides_runpath
=yes
12691 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12692 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12693 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
12696 # MinGW DLLs use traditional 'lib' prefix
12697 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12698 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12699 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
12700 # It is most probably a Windows format PATH printed by
12701 # mingw gcc, but we are running on Cygwin. Gcc prints its search
12702 # path with ; separators, and with drive letters. We can handle the
12703 # drive letters (cygwin fileutils understands them), so leave them,
12704 # especially as we might pass files found there to a mingw objdump,
12705 # which wouldn't understand a cygwinified path. Ahh.
12706 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12708 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12712 # pw32 DLLs use 'pw' prefix rather than 'lib'
12713 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12719 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12722 dynamic_linker
='Win32 ld.exe'
12723 # FIXME: first we should search . and the directory the executable is in
12727 darwin
* | rhapsody
*)
12728 dynamic_linker
="$host_os dyld"
12729 version_type
=darwin
12732 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12733 soname_spec
='${libname}${release}${major}$shared_ext'
12734 shlibpath_overrides_runpath
=yes
12735 shlibpath_var
=DYLD_LIBRARY_PATH
12736 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
12737 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
12738 if test "$GCC" = yes; then
12739 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
12741 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
12743 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12750 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12751 soname_spec
='${libname}${release}${shared_ext}$major'
12752 shlibpath_var
=LD_LIBRARY_PATH
12763 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12764 soname_spec
='${libname}${release}${shared_ext}$major'
12765 shlibpath_var
=LD_LIBRARY_PATH
12766 shlibpath_overrides_runpath
=no
12767 hardcode_into_libs
=yes
12768 dynamic_linker
='GNU ld.so'
12771 freebsd
* | dragonfly
*)
12772 # DragonFly does not have aout. When/if they implement a new
12773 # versioning mechanism, adjust this.
12774 if test -x /usr
/bin
/objformat
; then
12775 objformat
=`/usr/bin/objformat`
12778 freebsd
[123]*) objformat
=aout
;;
12779 *) objformat
=elf
;;
12782 version_type
=freebsd-
$objformat
12783 case $version_type in
12785 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12790 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12794 shlibpath_var
=LD_LIBRARY_PATH
12797 shlibpath_overrides_runpath
=yes
12799 freebsd3.
[01]* | freebsdelf3.
[01]*)
12800 shlibpath_overrides_runpath
=yes
12801 hardcode_into_libs
=yes
12803 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12804 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12805 shlibpath_overrides_runpath
=no
12806 hardcode_into_libs
=yes
12808 freebsd
*) # from 4.6 on
12809 shlibpath_overrides_runpath
=yes
12810 hardcode_into_libs
=yes
12819 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12820 soname_spec
='${libname}${release}${shared_ext}$major'
12821 shlibpath_var
=LD_LIBRARY_PATH
12822 hardcode_into_libs
=yes
12825 hpux9
* | hpux10
* | hpux11
*)
12826 # Give a soname corresponding to the major version so that dld.sl refuses to
12827 # link against other versions.
12834 hardcode_into_libs
=yes
12835 dynamic_linker
="$host_os dld.so"
12836 shlibpath_var
=LD_LIBRARY_PATH
12837 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12838 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12839 soname_spec
='${libname}${release}${shared_ext}$major'
12840 if test "X$HPUX_IA64_MODE" = X32
; then
12841 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12843 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12845 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12849 hardcode_into_libs
=yes
12850 dynamic_linker
="$host_os dld.sl"
12851 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12852 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12853 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12854 soname_spec
='${libname}${release}${shared_ext}$major'
12855 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12856 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12860 dynamic_linker
="$host_os dld.sl"
12861 shlibpath_var
=SHLIB_PATH
12862 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12863 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12864 soname_spec
='${libname}${release}${shared_ext}$major'
12867 # HP-UX runs *really* slowly unless shared libraries are mode 555.
12868 postinstall_cmds
='chmod 555 $lib'
12875 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12876 soname_spec
='${libname}${release}${shared_ext}$major'
12877 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12878 shlibpath_var
=LD_LIBRARY_PATH
12879 shlibpath_overrides_runpath
=no
12880 hardcode_into_libs
=yes
12883 irix5
* | irix6
* | nonstopux
*)
12885 nonstopux
*) version_type
=nonstopux
;;
12887 if test "$lt_cv_prog_gnu_ld" = yes; then
12895 soname_spec
='${libname}${release}${shared_ext}$major'
12896 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12898 irix5
* | nonstopux
*)
12899 libsuff
= shlibsuff
=
12902 case $LD in # libtool.m4 will add one of these switches to LD
12903 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12904 libsuff
= shlibsuff
= libmagic
=32-bit;;
12905 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12906 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12907 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12908 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12909 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12913 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12914 shlibpath_overrides_runpath
=no
12915 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12916 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
12917 hardcode_into_libs
=yes
12920 # No shared lib support for Linux oldld, aout, or coff.
12921 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12925 # This must be Linux ELF.
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 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12933 shlibpath_var
=LD_LIBRARY_PATH
12934 shlibpath_overrides_runpath
=no
12935 # This implies no fast_install, which is unacceptable.
12936 # Some rework will be needed to allow for fast_install
12937 # before this can be enabled.
12938 hardcode_into_libs
=yes
12940 # find out which ABI we are using
12942 case "$host_cpu" in
12943 x86_64
*|s390x
*|powerpc64
*)
12944 echo '#line 12944 "configure"' > conftest.
$ac_ext
12945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12946 (eval $ac_compile) 2>&5
12948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12949 (exit $ac_status); }; then
12950 case `/usr/bin/file conftest.$ac_objext` in
12953 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
12961 # Append ld.so.conf contents to the search path
12962 if test -f /etc
/ld.so.conf
; then
12963 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/^ *//;s/#.*//;/^[^\/]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
12964 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
12967 # We used to test for /lib/ld.so.1 and disable shared libraries on
12968 # powerpc, because MkLinux only supported shared libraries with the
12969 # GNU dynamic linker. Since this was broken with cross compilers,
12970 # most powerpc-linux boxes support dynamic linking these days and
12971 # people can always --disable-shared, the test was removed, and we
12972 # assume the GNU/Linux dynamic linker is in use.
12973 dynamic_linker
='GNU/Linux ld.so'
12980 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12981 soname_spec
='${libname}${release}${shared_ext}$major'
12982 shlibpath_var
=LD_LIBRARY_PATH
12983 shlibpath_overrides_runpath
=no
12984 hardcode_into_libs
=yes
12985 dynamic_linker
='GNU ld.so'
12992 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
12993 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12994 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12995 dynamic_linker
='NetBSD (a.out) ld.so'
12997 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12998 soname_spec
='${libname}${release}${shared_ext}$major'
12999 dynamic_linker
='NetBSD ld.elf_so'
13001 shlibpath_var
=LD_LIBRARY_PATH
13002 shlibpath_overrides_runpath
=yes
13003 hardcode_into_libs
=yes
13008 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13009 shlibpath_var
=LD_LIBRARY_PATH
13010 shlibpath_overrides_runpath
=yes
13017 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13018 soname_spec
='${libname}${release}${shared_ext}$major'
13019 shlibpath_var
=LD_LIBRARY_PATH
13020 shlibpath_overrides_runpath
=yes
13025 sys_lib_dlsearch_path_spec
="/usr/lib"
13027 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13029 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
13030 *) need_version
=no
;;
13032 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13033 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13034 shlibpath_var
=LD_LIBRARY_PATH
13035 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13037 openbsd2.
[89] | openbsd2.
[89].
*)
13038 shlibpath_overrides_runpath
=no
13041 shlibpath_overrides_runpath
=yes
13045 shlibpath_overrides_runpath
=yes
13050 libname_spec
='$name'
13053 library_names_spec
='$libname${shared_ext} $libname.a'
13054 dynamic_linker
='OS/2 ld.exe'
13055 shlibpath_var
=LIBPATH
13058 osf3
* | osf4
* | osf5
*)
13062 soname_spec
='${libname}${release}${shared_ext}$major'
13063 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13064 shlibpath_var
=LD_LIBRARY_PATH
13065 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13066 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
13073 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13074 soname_spec
='${libname}${release}${shared_ext}$major'
13075 shlibpath_var
=LD_LIBRARY_PATH
13076 shlibpath_overrides_runpath
=yes
13077 hardcode_into_libs
=yes
13078 # ldd complains unless libraries are executable
13079 postinstall_cmds
='chmod +x $lib'
13084 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13085 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13086 shlibpath_var
=LD_LIBRARY_PATH
13087 shlibpath_overrides_runpath
=yes
13088 if test "$with_gnu_ld" = yes; then
13096 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13097 soname_spec
='${libname}${release}${shared_ext}$major'
13098 shlibpath_var
=LD_LIBRARY_PATH
13099 case $host_vendor in
13101 shlibpath_overrides_runpath
=no
13103 export_dynamic_flag_spec
='${wl}-Blargedynsym'
13104 runpath_var
=LD_RUN_PATH
13112 shlibpath_overrides_runpath
=no
13113 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13119 if test -d /usr
/nec
;then
13121 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13122 soname_spec
='$libname${shared_ext}.$major'
13123 shlibpath_var
=LD_LIBRARY_PATH
13127 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
13128 version_type
=freebsd-elf
13131 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13132 soname_spec
='${libname}${release}${shared_ext}$major'
13133 shlibpath_var
=LD_LIBRARY_PATH
13134 hardcode_into_libs
=yes
13135 if test "$with_gnu_ld" = yes; then
13136 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13137 shlibpath_overrides_runpath
=no
13139 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
13140 shlibpath_overrides_runpath
=yes
13143 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
13147 sys_lib_dlsearch_path_spec
='/usr/lib'
13152 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13153 soname_spec
='${libname}${release}${shared_ext}$major'
13154 shlibpath_var
=LD_LIBRARY_PATH
13161 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13162 echo "${ECHO_T}$dynamic_linker" >&6; }
13163 test "$dynamic_linker" = no
&& can_build_shared
=no
13165 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
13166 if test "$GCC" = yes; then
13167 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13170 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13171 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
13172 hardcode_action_CXX
=
13173 if test -n "$hardcode_libdir_flag_spec_CXX" || \
13174 test -n "$runpath_var_CXX" || \
13175 test "X$hardcode_automatic_CXX" = "Xyes" ; then
13177 # We can hardcode non-existant directories.
13178 if test "$hardcode_direct_CXX" != no
&&
13179 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13180 # have to relink, otherwise we might link with an installed library
13181 # when we should be linking with a yet-to-be-installed one
13182 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13183 test "$hardcode_minus_L_CXX" != no
; then
13184 # Linking always hardcodes the temporary library directory.
13185 hardcode_action_CXX
=relink
13187 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13188 hardcode_action_CXX
=immediate
13191 # We cannot hardcode anything, or else we can only hardcode existing
13193 hardcode_action_CXX
=unsupported
13195 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13196 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
13198 if test "$hardcode_action_CXX" = relink
; then
13199 # Fast installation is not supported
13200 enable_fast_install
=no
13201 elif test "$shlibpath_overrides_runpath" = yes ||
13202 test "$enable_shared" = no
; then
13203 # Fast installation is not necessary
13204 enable_fast_install
=needless
13208 # The else clause should only fire when bootstrapping the
13209 # libtool distribution, otherwise you forgot to ship ltmain.sh
13210 # with your package, and you will get complaints that there are
13211 # no rules to generate ltmain.sh.
13212 if test -f "$ltmain"; then
13213 # See if we are running on zsh, and set the options which allow our commands through
13214 # without removal of \ escapes.
13215 if test -n "${ZSH_VERSION+set}" ; then
13216 setopt NO_GLOB_SUBST
13218 # Now quote all the things that may contain metacharacters while being
13219 # careful not to overquote the AC_SUBSTed values. We take copies of the
13220 # variables and quote the copies for generation of the libtool script.
13221 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13223 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13224 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13225 deplibs_check_method reload_flag reload_cmds need_locks \
13226 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13227 lt_cv_sys_global_symbol_to_c_name_address \
13228 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13229 old_postinstall_cmds old_postuninstall_cmds \
13233 lt_prog_compiler_wl_CXX \
13234 lt_prog_compiler_pic_CXX \
13235 lt_prog_compiler_static_CXX \
13236 lt_prog_compiler_no_builtin_flag_CXX \
13237 export_dynamic_flag_spec_CXX \
13238 thread_safe_flag_spec_CXX \
13239 whole_archive_flag_spec_CXX \
13240 enable_shared_with_static_runtimes_CXX \
13241 old_archive_cmds_CXX \
13242 old_archive_from_new_cmds_CXX \
13243 predep_objects_CXX \
13244 postdep_objects_CXX \
13247 compiler_lib_search_path_CXX \
13249 archive_expsym_cmds_CXX \
13250 postinstall_cmds_CXX \
13251 postuninstall_cmds_CXX \
13252 old_archive_from_expsyms_cmds_CXX \
13253 allow_undefined_flag_CXX \
13254 no_undefined_flag_CXX \
13255 export_symbols_cmds_CXX \
13256 hardcode_libdir_flag_spec_CXX \
13257 hardcode_libdir_flag_spec_ld_CXX \
13258 hardcode_libdir_separator_CXX \
13259 hardcode_automatic_CXX \
13261 module_expsym_cmds_CXX \
13262 lt_cv_prog_compiler_c_o_CXX \
13263 exclude_expsyms_CXX \
13264 include_expsyms_CXX
; do
13267 old_archive_cmds_CXX | \
13268 old_archive_from_new_cmds_CXX | \
13269 archive_cmds_CXX | \
13270 archive_expsym_cmds_CXX | \
13271 module_cmds_CXX | \
13272 module_expsym_cmds_CXX | \
13273 old_archive_from_expsyms_cmds_CXX | \
13274 export_symbols_cmds_CXX | \
13275 extract_expsyms_cmds | reload_cmds | finish_cmds | \
13276 postinstall_cmds | postuninstall_cmds | \
13277 old_postinstall_cmds | old_postuninstall_cmds | \
13278 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
13279 # Double-quote double-evaled strings.
13280 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13283 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13289 *'\$0 --fallback-echo"')
13290 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13296 cat <<__EOF__ >> "$cfgfile"
13297 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
13299 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13301 # Shell to use when invoking shell scripts.
13304 # Whether or not to build shared libraries.
13305 build_libtool_libs=$enable_shared
13307 # Whether or not to build static libraries.
13308 build_old_libs=$enable_static
13310 # Whether or not to add -lc for building shared libraries.
13311 build_libtool_need_lc=$archive_cmds_need_lc_CXX
13313 # Whether or not to disallow shared libs when runtime libs are static
13314 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13316 # Whether or not to optimize for fast installation.
13317 fast_install=$enable_fast_install
13320 host_alias=$host_alias
13324 # The build system.
13325 build_alias=$build_alias
13329 # An echo program that does not interpret backslashes.
13334 AR_FLAGS=$lt_AR_FLAGS
13339 # LTCC compiler flags.
13340 LTCFLAGS=$lt_LTCFLAGS
13342 # A language-specific compiler.
13343 CC=$lt_compiler_CXX
13345 # Is the compiler the GNU C compiler?
13351 # The linker used to build libraries.
13354 # Whether we need hard or soft links.
13357 # A BSD-compatible nm program.
13360 # A symbol stripping program
13363 # Used to examine libraries when file_magic_cmd begins "file"
13364 MAGIC_CMD=$MAGIC_CMD
13366 # Used on cygwin: DLL creation program.
13369 # Used on cygwin: object dumper.
13372 # Used on cygwin: assembler.
13375 # The name of the directory that contains temporary libtool files.
13378 # How to create reloadable object files.
13379 reload_flag=$lt_reload_flag
13380 reload_cmds=$lt_reload_cmds
13382 # How to pass a linker flag through the compiler.
13383 wl=$lt_lt_prog_compiler_wl_CXX
13385 # Object file suffix (normally "o").
13386 objext="$ac_objext"
13388 # Old archive suffix (normally "a").
13391 # Shared library suffix (normally ".so").
13392 shrext_cmds='$shrext_cmds'
13394 # Executable file suffix (normally "").
13397 # Additional compiler flags for building library objects.
13398 pic_flag=$lt_lt_prog_compiler_pic_CXX
13401 # What is the maximum length of a command?
13402 max_cmd_len=$lt_cv_sys_max_cmd_len
13404 # Does compiler simultaneously support -c and -o options?
13405 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13407 # Must we lock files when doing compilation?
13408 need_locks=$lt_need_locks
13410 # Do we need the lib prefix for modules?
13411 need_lib_prefix=$need_lib_prefix
13413 # Do we need a version for libraries?
13414 need_version=$need_version
13416 # Whether dlopen is supported.
13417 dlopen_support=$enable_dlopen
13419 # Whether dlopen of programs is supported.
13420 dlopen_self=$enable_dlopen_self
13422 # Whether dlopen of statically linked programs is supported.
13423 dlopen_self_static=$enable_dlopen_self_static
13425 # Compiler flag to prevent dynamic linking.
13426 link_static_flag=$lt_lt_prog_compiler_static_CXX
13428 # Compiler flag to turn off builtin functions.
13429 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13431 # Compiler flag to allow reflexive dlopens.
13432 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13434 # Compiler flag to generate shared objects directly from archives.
13435 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13437 # Compiler flag to generate thread-safe objects.
13438 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13440 # Library versioning type.
13441 version_type=$version_type
13443 # Format of library name prefix.
13444 libname_spec=$lt_libname_spec
13446 # List of archive names. First name is the real one, the rest are links.
13447 # The last name is the one that the linker finds with -lNAME.
13448 library_names_spec=$lt_library_names_spec
13450 # The coded name of the library, if different from the real name.
13451 soname_spec=$lt_soname_spec
13453 # Commands used to build and install an old-style archive.
13455 old_archive_cmds=$lt_old_archive_cmds_CXX
13456 old_postinstall_cmds=$lt_old_postinstall_cmds
13457 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13459 # Create an old-style archive from a shared archive.
13460 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13462 # Create a temporary old-style archive to link instead of a shared archive.
13463 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13465 # Commands used to build and install a shared archive.
13466 archive_cmds=$lt_archive_cmds_CXX
13467 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13468 postinstall_cmds=$lt_postinstall_cmds
13469 postuninstall_cmds=$lt_postuninstall_cmds
13471 # Commands used to build a loadable module (assumed same as above if empty)
13472 module_cmds=$lt_module_cmds_CXX
13473 module_expsym_cmds=$lt_module_expsym_cmds_CXX
13475 # Commands to strip libraries.
13476 old_striplib=$lt_old_striplib
13477 striplib=$lt_striplib
13479 # Dependencies to place before the objects being linked to create a
13481 predep_objects=$lt_predep_objects_CXX
13483 # Dependencies to place after the objects being linked to create a
13485 postdep_objects=$lt_postdep_objects_CXX
13487 # Dependencies to place before the objects being linked to create a
13489 predeps=$lt_predeps_CXX
13491 # Dependencies to place after the objects being linked to create a
13493 postdeps=$lt_postdeps_CXX
13495 # The library search path used internally by the compiler when linking
13496 # a shared library.
13497 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13499 # Method to check whether dependent libraries are shared objects.
13500 deplibs_check_method=$lt_deplibs_check_method
13502 # Command to use when deplibs_check_method == file_magic.
13503 file_magic_cmd=$lt_file_magic_cmd
13505 # Flag that allows shared libraries with undefined symbols to be built.
13506 allow_undefined_flag=$lt_allow_undefined_flag_CXX
13508 # Flag that forces no undefined symbols.
13509 no_undefined_flag=$lt_no_undefined_flag_CXX
13511 # Commands used to finish a libtool library installation in a directory.
13512 finish_cmds=$lt_finish_cmds
13514 # Same as above, but a single script fragment to be evaled but not shown.
13515 finish_eval=$lt_finish_eval
13517 # Take the output of nm and produce a listing of raw symbols and C names.
13518 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13520 # Transform the output of nm in a proper C declaration
13521 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13523 # Transform the output of nm in a C name address pair
13524 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13526 # This is the shared library runtime path variable.
13527 runpath_var=$runpath_var
13529 # This is the shared library path variable.
13530 shlibpath_var=$shlibpath_var
13532 # Is shlibpath searched before the hard-coded library search path?
13533 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13535 # How to hardcode a shared library path into an executable.
13536 hardcode_action=$hardcode_action_CXX
13538 # Whether we should hardcode library paths into libraries.
13539 hardcode_into_libs=$hardcode_into_libs
13541 # Flag to hardcode \$libdir into a binary during linking.
13542 # This must work even if \$libdir does not exist.
13543 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
13545 # If ld is used when linking, flag to hardcode \$libdir into
13546 # a binary during linking. This must work even if \$libdir does
13548 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
13550 # Whether we need a single -rpath flag with a separated argument.
13551 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
13553 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13554 # resulting binary.
13555 hardcode_direct=$hardcode_direct_CXX
13557 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13558 # resulting binary.
13559 hardcode_minus_L=$hardcode_minus_L_CXX
13561 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13562 # the resulting binary.
13563 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
13565 # Set to yes if building a shared library automatically hardcodes DIR into the library
13566 # and all subsequent libraries and executables linked against it.
13567 hardcode_automatic=$hardcode_automatic_CXX
13569 # Variables whose values should be saved in libtool wrapper scripts and
13570 # restored at relink time.
13571 variables_saved_for_relink="$variables_saved_for_relink"
13573 # Whether libtool must link a program against all its dependency libraries.
13574 link_all_deplibs=$link_all_deplibs_CXX
13576 # Compile-time system search path for libraries
13577 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13579 # Run-time system search path for libraries
13580 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13582 # Fix the shell variable \$srcfile for the compiler.
13583 fix_srcfile_path="$fix_srcfile_path_CXX"
13585 # Set to yes if exported symbols are required.
13586 always_export_symbols=$always_export_symbols_CXX
13588 # The commands to list exported symbols.
13589 export_symbols_cmds=$lt_export_symbols_cmds_CXX
13591 # The commands to extract the exported symbol list from a shared archive.
13592 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13594 # Symbols that should not be listed in the preloaded symbols.
13595 exclude_expsyms=$lt_exclude_expsyms_CXX
13597 # Symbols that must always be exported.
13598 include_expsyms=$lt_include_expsyms_CXX
13600 # ### END LIBTOOL TAG CONFIG: $tagname
13606 # If there is no Makefile yet, we rely on a make rule to execute
13607 # `config.status --recheck' to rerun these tests and create the
13608 # libtool script then.
13609 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
13610 if test -f "$ltmain_in"; then
13611 test -f Makefile
&& make "$ltmain"
13617 ac_cpp
='$CPP $CPPFLAGS'
13618 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13619 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13620 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13626 with_gnu_ldcxx
=$with_gnu_ld
13627 with_gnu_ld
=$lt_save_with_gnu_ld
13628 lt_cv_path_LDCXX
=$lt_cv_path_LD
13629 lt_cv_path_LD
=$lt_save_path_LD
13630 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
13631 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
13639 if test -n "$F77" && test "X$F77" != "Xno"; then
13642 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
13643 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13644 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
13647 archive_cmds_need_lc_F77
=no
13648 allow_undefined_flag_F77
=
13649 always_export_symbols_F77
=no
13650 archive_expsym_cmds_F77
=
13651 export_dynamic_flag_spec_F77
=
13652 hardcode_direct_F77
=no
13653 hardcode_libdir_flag_spec_F77
=
13654 hardcode_libdir_flag_spec_ld_F77
=
13655 hardcode_libdir_separator_F77
=
13656 hardcode_minus_L_F77
=no
13657 hardcode_automatic_F77
=no
13659 module_expsym_cmds_F77
=
13660 link_all_deplibs_F77
=unknown
13661 old_archive_cmds_F77
=$old_archive_cmds
13662 no_undefined_flag_F77
=
13663 whole_archive_flag_spec_F77
=
13664 enable_shared_with_static_runtimes_F77
=no
13666 # Source file extension for f77 test sources.
13669 # Object file extension for compiled f77 test sources.
13673 # Code to be used in simple compile tests
13674 lt_simple_compile_test_code
=" subroutine t\n return\n end\n"
13676 # Code to be used in simple link tests
13677 lt_simple_link_test_code
=" program t\n end\n"
13679 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13681 # If no C compiler was specified, use CC.
13684 # If no C compiler flags were specified, use CFLAGS.
13685 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13687 # Allow CC to be a program name with arguments.
13691 # save warnings/boilerplate of simple test code
13692 ac_outfile
=conftest.
$ac_objext
13693 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
13694 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13695 _lt_compiler_boilerplate
=`cat conftest.err`
13698 ac_outfile
=conftest.
$ac_objext
13699 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
13700 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13701 _lt_linker_boilerplate
=`cat conftest.err`
13705 # Allow CC to be a program name with arguments.
13710 for cc_temp
in $compiler""; do
13712 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13713 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13718 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13721 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13722 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
13723 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
13724 echo "${ECHO_T}$can_build_shared" >&6; }
13726 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13727 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
13728 test "$can_build_shared" = "no" && enable_shared
=no
13730 # On AIX, shared libraries and static libraries use the same namespace, and
13731 # are all built from PIC.
13734 test "$enable_shared" = yes && enable_static
=no
13735 if test -n "$RANLIB"; then
13736 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13737 postinstall_cmds
='$RANLIB $lib'
13741 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13742 test "$enable_shared" = yes && enable_static
=no
13746 { echo "$as_me:$LINENO: result: $enable_shared" >&5
13747 echo "${ECHO_T}$enable_shared" >&6; }
13749 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13750 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
13751 # Make sure either enable_shared or enable_static is yes.
13752 test "$enable_shared" = yes || enable_static
=yes
13753 { echo "$as_me:$LINENO: result: $enable_static" >&5
13754 echo "${ECHO_T}$enable_static" >&6; }
13759 lt_prog_compiler_wl_F77
=
13760 lt_prog_compiler_pic_F77
=
13761 lt_prog_compiler_static_F77
=
13763 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13764 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
13766 if test "$GCC" = yes; then
13767 lt_prog_compiler_wl_F77
='-Wl,'
13768 lt_prog_compiler_static_F77
='-static'
13772 # All AIX code is PIC.
13773 if test "$host_cpu" = ia64
; then
13774 # AIX 5 now supports IA64 processor
13775 lt_prog_compiler_static_F77
='-Bstatic'
13780 # FIXME: we need at least 68020 code to build shared libraries, but
13781 # adding the `-m68020' flag to GCC prevents building anything better,
13783 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
13786 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13787 # PIC is the default for these OSes.
13790 mingw
* | pw32
* | os2
*)
13791 # This hack is so that the source file can tell whether it is being
13792 # built for inclusion in a dll (and should export symbols for example).
13793 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13796 darwin
* | rhapsody
*)
13797 # PIC is the default on this platform
13798 # Common symbols not allowed in MH_DYLIB files
13799 lt_prog_compiler_pic_F77
='-fno-common'
13803 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13804 # Instead, we relocate shared libraries at runtime.
13808 # Just because we use GCC doesn't mean we suddenly get shared libraries
13809 # on systems that don't support them.
13810 lt_prog_compiler_can_build_shared_F77
=no
13815 if test -d /usr
/nec
; then
13816 lt_prog_compiler_pic_F77
=-Kconform_pic
13821 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13822 # not for PA HP-UX.
13828 lt_prog_compiler_pic_F77
='-fPIC'
13834 lt_prog_compiler_pic_F77
='-fPIC'
13838 # PORTME Check for flag to pass linker flags through the system compiler.
13841 lt_prog_compiler_wl_F77
='-Wl,'
13842 if test "$host_cpu" = ia64
; then
13843 # AIX 5 now supports IA64 processor
13844 lt_prog_compiler_static_F77
='-Bstatic'
13846 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
13850 # PIC is the default on this platform
13851 # Common symbols not allowed in MH_DYLIB files
13852 case $cc_basename in
13854 lt_prog_compiler_pic_F77
='-qnocommon'
13855 lt_prog_compiler_wl_F77
='-Wl,'
13860 mingw
* | pw32
* | os2
*)
13861 # This hack is so that the source file can tell whether it is being
13862 # built for inclusion in a dll (and should export symbols for example).
13863 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13866 hpux9
* | hpux10
* | hpux11
*)
13867 lt_prog_compiler_wl_F77
='-Wl,'
13868 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13869 # not for PA HP-UX.
13875 lt_prog_compiler_pic_F77
='+Z'
13878 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13879 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
13882 irix5
* | irix6
* | nonstopux
*)
13883 lt_prog_compiler_wl_F77
='-Wl,'
13884 # PIC (with -KPIC) is the default.
13885 lt_prog_compiler_static_F77
='-non_shared'
13889 lt_prog_compiler_pic_F77
='-KPIC'
13890 lt_prog_compiler_static_F77
='-Bstatic'
13894 case $cc_basename in
13896 lt_prog_compiler_wl_F77
='-Wl,'
13897 lt_prog_compiler_pic_F77
='-KPIC'
13898 lt_prog_compiler_static_F77
='-static'
13900 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
13901 # Portland Group compilers (*not* the Pentium gcc compiler,
13902 # which looks to be a dead project)
13903 lt_prog_compiler_wl_F77
='-Wl,'
13904 lt_prog_compiler_pic_F77
='-fpic'
13905 lt_prog_compiler_static_F77
='-Bstatic'
13908 lt_prog_compiler_wl_F77
='-Wl,'
13909 # All Alpha code is PIC.
13910 lt_prog_compiler_static_F77
='-non_shared'
13915 osf3
* | osf4
* | osf5
*)
13916 lt_prog_compiler_wl_F77
='-Wl,'
13917 # All OSF/1 code is PIC.
13918 lt_prog_compiler_static_F77
='-non_shared'
13922 lt_prog_compiler_pic_F77
='-KPIC'
13923 lt_prog_compiler_static_F77
='-Bstatic'
13924 case $cc_basename in
13925 f77
* | f90
* | f95
*)
13926 lt_prog_compiler_wl_F77
='-Qoption ld ';;
13928 lt_prog_compiler_wl_F77
='-Wl,';;
13933 lt_prog_compiler_wl_F77
='-Qoption ld '
13934 lt_prog_compiler_pic_F77
='-PIC'
13935 lt_prog_compiler_static_F77
='-Bstatic'
13938 sysv4 | sysv4.2uw2
* | sysv4.3
*)
13939 lt_prog_compiler_wl_F77
='-Wl,'
13940 lt_prog_compiler_pic_F77
='-KPIC'
13941 lt_prog_compiler_static_F77
='-Bstatic'
13945 if test -d /usr
/nec
;then
13946 lt_prog_compiler_pic_F77
='-Kconform_pic'
13947 lt_prog_compiler_static_F77
='-Bstatic'
13951 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13952 lt_prog_compiler_wl_F77
='-Wl,'
13953 lt_prog_compiler_pic_F77
='-KPIC'
13954 lt_prog_compiler_static_F77
='-Bstatic'
13958 lt_prog_compiler_wl_F77
='-Wl,'
13959 lt_prog_compiler_can_build_shared_F77
=no
13963 lt_prog_compiler_pic_F77
='-pic'
13964 lt_prog_compiler_static_F77
='-Bstatic'
13968 lt_prog_compiler_can_build_shared_F77
=no
13973 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13974 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
13977 # Check to make sure the PIC flag actually works.
13979 if test -n "$lt_prog_compiler_pic_F77"; then
13981 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13982 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
13983 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13984 echo $ECHO_N "(cached) $ECHO_C" >&6
13986 lt_prog_compiler_pic_works_F77
=no
13987 ac_outfile
=conftest.
$ac_objext
13988 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
13989 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
13990 # Insert the option either (1) after the last *FLAGS variable, or
13991 # (2) before a word containing "conftest.", or (3) at the end.
13992 # Note that $ac_compile itself does not contain backslashes and begins
13993 # with a dollar sign (not a hyphen), so the echo should work correctly.
13994 # The option is referenced via a variable to avoid confusing sed.
13995 lt_compile
=`echo "$ac_compile" | $SED \
13996 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13997 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13998 -e 's:$: $lt_compiler_flag:'`
13999 (eval echo "\"\$as_me:13999: $lt_compile\"" >&5)
14000 (eval "$lt_compile" 2>conftest.err
)
14002 cat conftest.err
>&5
14003 echo "$as_me:14003: \$? = $ac_status" >&5
14004 if (exit $ac_status) && test -s "$ac_outfile"; then
14005 # The compiler can only warn and ignore the option if not recognized
14006 # So say no if there are warnings other than the usual output.
14007 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
14008 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14009 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14010 lt_prog_compiler_pic_works_F77
=yes
14016 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
14017 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
14019 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
14020 case $lt_prog_compiler_pic_F77 in
14022 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
14025 lt_prog_compiler_pic_F77
=
14026 lt_prog_compiler_can_build_shared_F77
=no
14031 # For platforms which do not support PIC, -DPIC is meaningless:
14033 lt_prog_compiler_pic_F77
=
14036 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
14041 # Check to make sure the static flag actually works.
14043 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
14044 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14045 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14046 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
14047 echo $ECHO_N "(cached) $ECHO_C" >&6
14049 lt_prog_compiler_static_works_F77
=no
14050 save_LDFLAGS
="$LDFLAGS"
14051 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14052 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
14053 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14054 # The linker can only warn and ignore the option if not recognized
14055 # So say no if there are warnings
14056 if test -s conftest.err
; then
14057 # Append any errors to the config.log.
14058 cat conftest.err
1>&5
14059 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
14060 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14061 if diff conftest.exp conftest.er2
>/dev
/null
; then
14062 lt_prog_compiler_static_works_F77
=yes
14065 lt_prog_compiler_static_works_F77
=yes
14069 LDFLAGS
="$save_LDFLAGS"
14072 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
14073 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
14075 if test x
"$lt_prog_compiler_static_works_F77" = xyes
; then
14078 lt_prog_compiler_static_F77
=
14082 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14083 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14084 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14085 echo $ECHO_N "(cached) $ECHO_C" >&6
14087 lt_cv_prog_compiler_c_o_F77
=no
14088 $rm -r conftest
2>/dev
/null
14092 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14094 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14095 # Insert the option either (1) after the last *FLAGS variable, or
14096 # (2) before a word containing "conftest.", or (3) at the end.
14097 # Note that $ac_compile itself does not contain backslashes and begins
14098 # with a dollar sign (not a hyphen), so the echo should work correctly.
14099 lt_compile
=`echo "$ac_compile" | $SED \
14100 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14101 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14102 -e 's:$: $lt_compiler_flag:'`
14103 (eval echo "\"\$as_me:14103: $lt_compile\"" >&5)
14104 (eval "$lt_compile" 2>out
/conftest.err
)
14106 cat out
/conftest.err
>&5
14107 echo "$as_me:14107: \$? = $ac_status" >&5
14108 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14110 # The compiler can only warn and ignore the option if not recognized
14111 # So say no if there are warnings
14112 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
14113 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14114 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14115 lt_cv_prog_compiler_c_o_F77
=yes
14120 # SGI C++ compiler will create directory out/ii_files/ for
14121 # template instantiation
14122 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
14123 $rm out
/* && rmdir out
14129 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14130 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
14133 hard_links
="nottested"
14134 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
14135 # do not overwrite the value of need_locks provided by the user
14136 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14137 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14140 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14142 ln conftest.a conftest.b
2>&5 || hard_links
=no
14143 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14144 { echo "$as_me:$LINENO: result: $hard_links" >&5
14145 echo "${ECHO_T}$hard_links" >&6; }
14146 if test "$hard_links" = no
; then
14147 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14148 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14155 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14156 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14159 allow_undefined_flag_F77
=
14160 enable_shared_with_static_runtimes_F77
=no
14162 archive_expsym_cmds_F77
=
14163 old_archive_From_new_cmds_F77
=
14164 old_archive_from_expsyms_cmds_F77
=
14165 export_dynamic_flag_spec_F77
=
14166 whole_archive_flag_spec_F77
=
14167 thread_safe_flag_spec_F77
=
14168 hardcode_libdir_flag_spec_F77
=
14169 hardcode_libdir_flag_spec_ld_F77
=
14170 hardcode_libdir_separator_F77
=
14171 hardcode_direct_F77
=no
14172 hardcode_minus_L_F77
=no
14173 hardcode_shlibpath_var_F77
=unsupported
14174 link_all_deplibs_F77
=unknown
14175 hardcode_automatic_F77
=no
14177 module_expsym_cmds_F77
=
14178 always_export_symbols_F77
=no
14179 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14180 # include_expsyms should be a list of space-separated symbols to be *always*
14181 # included in the symbol list
14182 include_expsyms_F77
=
14183 # exclude_expsyms can be an extended regexp of symbols to exclude
14184 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14185 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14186 # as well as any symbol that contains `d'.
14187 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
14188 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14189 # platforms (ab)use it in PIC code, but their linkers get confused if
14190 # the symbol is explicitly referenced. Since portable code cannot
14191 # rely on this symbol name, it's probably fine to never include it in
14192 # preloaded symbol tables.
14193 extract_expsyms_cmds
=
14194 # Just being paranoid about ensuring that cc_basename is set.
14195 for cc_temp
in $compiler""; do
14197 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
14198 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
14203 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14206 cygwin
* | mingw
* | pw32
*)
14207 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14208 # When not using gcc, we currently assume that we are using
14209 # Microsoft Visual C++.
14210 if test "$GCC" != yes; then
14215 # we just hope/assume this is gcc and not c89 (= MSVC++)
14224 if test "$with_gnu_ld" = yes; then
14225 # If archive_cmds runs LD, not CC, wlarc should be empty
14228 # Set some defaults for GNU ld with shared library support. These
14229 # are reset later if shared libraries are not supported. Putting them
14230 # here allows them to be overridden if necessary.
14231 runpath_var
=LD_RUN_PATH
14232 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
14233 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
14234 # ancient GNU ld didn't support --whole-archive et. al.
14235 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
14236 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14238 whole_archive_flag_spec_F77
=
14240 supports_anon_versioning
=no
14241 case `$LD -v 2>/dev/null` in
14242 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
14243 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
14244 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
14245 *\
2.11.
*) ;; # other 2.11 versions
14246 *) supports_anon_versioning
=yes ;;
14249 # See if GNU ld supports shared libraries.
14251 aix3
* | aix4
* | aix5
*)
14252 # On AIX/PPC, the GNU linker is very broken
14253 if test "$host_cpu" != ia64
; then
14257 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
14258 *** to be unable to reliably create shared libraries on AIX.
14259 *** Therefore, libtool is disabling shared libraries support. If you
14260 *** really care for shared libraries, you may want to modify your PATH
14261 *** so that a non-GNU linker is found, and then restart.
14268 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)'
14269 hardcode_libdir_flag_spec_F77
='-L$libdir'
14270 hardcode_minus_L_F77
=yes
14272 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14273 # that the semantics of dynamic libraries on AmigaOS, at least up
14274 # to version 4, is to share data among multiple programs linked
14275 # with the same dynamic library. Since this doesn't match the
14276 # behavior of shared libraries on other platforms, we can't use
14282 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14283 allow_undefined_flag_F77
=unsupported
14284 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14285 # support --undefined. This deserves some investigation. FIXME
14286 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14292 cygwin
* | mingw
* | pw32
*)
14293 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
14294 # as there is no search path for DLLs.
14295 hardcode_libdir_flag_spec_F77
='-L$libdir'
14296 allow_undefined_flag_F77
=unsupported
14297 always_export_symbols_F77
=no
14298 enable_shared_with_static_runtimes_F77
=yes
14299 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
14301 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
14302 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14303 # If the export-symbols file already is a .def file (1st line
14304 # is EXPORTS), use it as is; otherwise, prepend...
14305 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14306 cp $export_symbols $output_objdir/$soname.def;
14308 echo EXPORTS > $output_objdir/$soname.def;
14309 cat $export_symbols >> $output_objdir/$soname.def;
14311 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14318 hardcode_direct_F77
=no
14319 hardcode_shlibpath_var_F77
=no
14320 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14321 export_dynamic_flag_spec_F77
='${wl}-E'
14322 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14323 # Instead, shared libraries are loaded at an image base (0x10000000 by
14324 # default) and relocated if they conflict, which is a slow very memory
14325 # consuming and fragmenting process. To avoid this, we pick a random,
14326 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14327 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14328 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'
14329 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'
14333 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14335 case $cc_basename,$host_cpu in
14336 pgcc
*) # Portland Group C compiler
14337 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'
14338 tmp_addflag
=' $pic_flag'
14340 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
14341 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'
14342 tmp_addflag
=' $pic_flag -Mnomain' ;;
14343 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
14344 tmp_addflag
=' -i_dynamic' ;;
14345 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
14346 tmp_addflag
=' -i_dynamic -nofor_main' ;;
14347 ifc
* | ifort
*) # Intel Fortran compiler
14348 tmp_addflag
=' -nofor_main' ;;
14350 archive_cmds_F77
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14352 if test $supports_anon_versioning = yes; then
14353 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
14354 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14355 $echo "local: *; };" >> $output_objdir/$libname.ver~
14356 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14364 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14365 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14368 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14369 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14374 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
14378 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14379 *** create shared libraries on Solaris systems. Therefore, libtool
14380 *** is disabling shared libraries support. We urge you to upgrade GNU
14381 *** binutils to release 2.9.1 or newer. Another option is to modify
14382 *** your PATH or compiler configuration so that the native linker is
14383 *** used, and then restart.
14386 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14387 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14388 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14394 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
14395 case `$LD -v 2>&1` in
14396 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
14400 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14401 *** reliably create shared libraries on SCO systems. Therefore, libtool
14402 *** is disabling shared libraries support. We urge you to upgrade GNU
14403 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14404 *** your PATH or compiler configuration so that the native linker is
14405 *** used, and then restart.
14410 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14411 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
14412 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
14413 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
14422 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14424 hardcode_direct_F77
=yes
14425 hardcode_shlibpath_var_F77
=no
14429 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14430 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14431 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14438 if test "$ld_shlibs_F77" = no
; then
14440 hardcode_libdir_flag_spec_F77
=
14441 export_dynamic_flag_spec_F77
=
14442 whole_archive_flag_spec_F77
=
14445 # PORTME fill in a description of your system's linker (not GNU ld)
14448 allow_undefined_flag_F77
=unsupported
14449 always_export_symbols_F77
=yes
14450 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'
14451 # Note: this linker hardcodes the directories in LIBPATH if there
14452 # are no directories specified by -L.
14453 hardcode_minus_L_F77
=yes
14454 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14455 # Neither direct hardcoding nor static linking is supported with a
14457 hardcode_direct_F77
=unsupported
14462 if test "$host_cpu" = ia64
; then
14463 # On IA64, the linker does run time linking by default, so we don't
14464 # have to do anything special.
14465 aix_use_runtimelinking
=no
14466 exp_sym_flag
='-Bexport'
14469 # If we're using GNU nm, then we don't want the "-C" option.
14470 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14471 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
14472 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'
14474 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'
14476 aix_use_runtimelinking
=no
14478 # Test if we are trying to use run time linking or normal
14479 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14480 # need to do runtime linking.
14481 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
14482 for ld_flag
in $LDFLAGS; do
14483 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14484 aix_use_runtimelinking
=yes
14491 exp_sym_flag
='-bexport'
14492 no_entry_flag
='-bnoentry'
14495 # When large executables or shared objects are built, AIX ld can
14496 # have problems creating the table of contents. If linking a library
14497 # or program results in "error TOC overflow" add -mminimal-toc to
14498 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14499 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14501 archive_cmds_F77
=''
14502 hardcode_direct_F77
=yes
14503 hardcode_libdir_separator_F77
=':'
14504 link_all_deplibs_F77
=yes
14506 if test "$GCC" = yes; then
14507 case $host_os in aix4.
[012]|aix4.
[012].
*)
14508 # We only want to do this on AIX 4.2 and lower, the check
14509 # below for broken collect2 doesn't work under 4.3+
14510 collect2name
=`${CC} -print-prog-name=collect2`
14511 if test -f "$collect2name" && \
14512 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
14514 # We have reworked collect2
14515 hardcode_direct_F77
=yes
14517 # We have old collect2
14518 hardcode_direct_F77
=unsupported
14519 # It fails to find uninstalled libraries when the uninstalled
14520 # path is not listed in the libpath. Setting hardcode_minus_L
14521 # to unsupported forces relinking
14522 hardcode_minus_L_F77
=yes
14523 hardcode_libdir_flag_spec_F77
='-L$libdir'
14524 hardcode_libdir_separator_F77
=
14528 shared_flag
='-shared'
14529 if test "$aix_use_runtimelinking" = yes; then
14530 shared_flag
="$shared_flag "'${wl}-G'
14534 if test "$host_cpu" = ia64
; then
14535 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14536 # chokes on -Wl,-G. The following line is correct:
14539 if test "$aix_use_runtimelinking" = yes; then
14540 shared_flag
='${wl}-G'
14542 shared_flag
='${wl}-bM:SRE'
14547 # It seems that -bexpall does not export symbols beginning with
14548 # underscore (_), so it is better to generate a list of symbols to export.
14549 always_export_symbols_F77
=yes
14550 if test "$aix_use_runtimelinking" = yes; then
14551 # Warning - without using the other runtime loading flags (-brtl),
14552 # -berok will link without error, but may produce a broken library.
14553 allow_undefined_flag_F77
='-berok'
14554 # Determine the default libpath from the value encoded in an empty executable.
14555 cat >conftest.
$ac_ext <<_ACEOF
14560 rm -f conftest.
$ac_objext conftest
$ac_exeext
14561 if { (ac_try
="$ac_link"
14562 case "(($ac_try" in
14563 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14564 *) ac_try_echo=$ac_try;;
14566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14567 (eval "$ac_link") 2>conftest.er1
14569 grep -v '^ *+' conftest.er1 >conftest.err
14571 cat conftest.err >&5
14572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14573 (exit $ac_status); } && {
14574 test -z "$ac_f77_werror_flag" ||
14575 test ! -s conftest.err
14576 } && test -s conftest$ac_exeext &&
14577 $as_test_x conftest$ac_exeext; then
14579 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14581 # Check for a 64-bit object if we didn't find anything.
14582 if test -z "$aix_libpath"; then aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14585 echo "$as_me: failed program was:" >&5
14586 sed 's/^/| /' conftest.$ac_ext >&5
14591 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14592 conftest$ac_exeext conftest.$ac_ext
14593 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14595 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14596 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"
14598 if test "$host_cpu" = ia64; then
14599 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
14600 allow_undefined_flag_F77="-z nodefs"
14601 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"
14603 # Determine the default libpath from the value encoded in an empty executable.
14604 cat >conftest.$ac_ext <<_ACEOF
14609 rm -f conftest.$ac_objext conftest$ac_exeext
14610 if { (ac_try="$ac_link"
14611 case "(($ac_try" in
14612 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14613 *) ac_try_echo
=$ac_try;;
14615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14616 (eval "$ac_link") 2>conftest.er1
14618 grep -v '^ *+' conftest.er1
>conftest.err
14620 cat conftest.err
>&5
14621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14622 (exit $ac_status); } && {
14623 test -z "$ac_f77_werror_flag" ||
14624 test ! -s conftest.err
14625 } && test -s conftest
$ac_exeext &&
14626 $as_test_x conftest
$ac_exeext; then
14628 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14630 # Check for a 64-bit object if we didn't find anything.
14631 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14634 echo "$as_me: failed program was:" >&5
14635 sed 's/^/| /' conftest.
$ac_ext >&5
14640 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14641 conftest
$ac_exeext conftest.
$ac_ext
14642 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14644 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
14645 # Warning - without using the other run time loading flags,
14646 # -berok will link without error, but may produce a broken library.
14647 no_undefined_flag_F77
=' ${wl}-bernotok'
14648 allow_undefined_flag_F77
=' ${wl}-berok'
14649 # Exported symbols can be pulled into shared objects from archives
14650 whole_archive_flag_spec_F77
='$convenience'
14651 archive_cmds_need_lc_F77
=yes
14652 # This is similar to how AIX traditionally builds its shared libraries.
14653 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'
14659 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)'
14660 hardcode_libdir_flag_spec_F77
='-L$libdir'
14661 hardcode_minus_L_F77
=yes
14662 # see comment about different semantics on the GNU ld section
14667 export_dynamic_flag_spec_F77
=-rdynamic
14670 cygwin
* | mingw
* | pw32
*)
14671 # When not using gcc, we currently assume that we are using
14672 # Microsoft Visual C++.
14673 # hardcode_libdir_flag_spec is actually meaningless, as there is
14674 # no search path for DLLs.
14675 hardcode_libdir_flag_spec_F77
=' '
14676 allow_undefined_flag_F77
=unsupported
14677 # Tell ltmain to make .lib files, not .a files.
14679 # Tell ltmain to make .dll files, not .so files.
14681 # FIXME: Setting linknames here is a bad hack.
14682 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
14683 # The linker will automatically build a .lib file if we build a DLL.
14684 old_archive_From_new_cmds_F77
='true'
14685 # FIXME: Should let the user specify the lib program.
14686 old_archive_cmds_F77
='lib /OUT:$oldlib$oldobjs$old_deplibs'
14687 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
14688 enable_shared_with_static_runtimes_F77
=yes
14691 darwin
* | rhapsody
*)
14693 rhapsody
* | darwin1.
[012])
14694 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
14697 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
14698 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14700 case ${MACOSX_DEPLOYMENT_TARGET} in
14702 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14705 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
14711 archive_cmds_need_lc_F77
=no
14712 hardcode_direct_F77
=no
14713 hardcode_automatic_F77
=yes
14714 hardcode_shlibpath_var_F77
=unsupported
14715 whole_archive_flag_spec_F77
=''
14716 link_all_deplibs_F77
=yes
14717 if test "$GCC" = yes ; then
14718 output_verbose_link_cmd
='echo'
14719 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14720 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14721 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14722 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}'
14723 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}'
14725 case $cc_basename in
14727 output_verbose_link_cmd
='echo'
14728 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
14729 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14730 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14731 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14732 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}'
14742 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14743 hardcode_libdir_flag_spec_F77
='-L$libdir'
14744 hardcode_shlibpath_var_F77
=no
14751 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14752 # support. Future versions do this automatically, but an explicit c++rt0.o
14753 # does not break anything, and helps significantly (at the cost of a little
14756 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14757 hardcode_libdir_flag_spec_F77
='-R$libdir'
14758 hardcode_direct_F77
=yes
14759 hardcode_shlibpath_var_F77
=no
14762 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14764 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14765 hardcode_direct_F77
=yes
14766 hardcode_minus_L_F77
=yes
14767 hardcode_shlibpath_var_F77
=no
14770 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14771 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
14772 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14773 hardcode_libdir_flag_spec_F77
='-R$libdir'
14774 hardcode_direct_F77
=yes
14775 hardcode_shlibpath_var_F77
=no
14779 if test "$GCC" = yes; then
14780 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'
14782 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'
14784 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14785 hardcode_libdir_separator_F77
=:
14786 hardcode_direct_F77
=yes
14788 # hardcode_minus_L: Not really in the search PATH,
14789 # but as the default location of the library.
14790 hardcode_minus_L_F77
=yes
14791 export_dynamic_flag_spec_F77
='${wl}-E'
14795 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14796 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14798 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14800 if test "$with_gnu_ld" = no
; then
14801 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14802 hardcode_libdir_separator_F77
=:
14804 hardcode_direct_F77
=yes
14805 export_dynamic_flag_spec_F77
='${wl}-E'
14807 # hardcode_minus_L: Not really in the search PATH,
14808 # but as the default location of the library.
14809 hardcode_minus_L_F77
=yes
14814 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14817 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14820 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14823 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14829 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14832 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14835 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14839 if test "$with_gnu_ld" = no
; then
14840 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14841 hardcode_libdir_separator_F77
=:
14845 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
14846 hardcode_direct_F77
=no
14847 hardcode_shlibpath_var_F77
=no
14850 hardcode_direct_F77
=yes
14851 export_dynamic_flag_spec_F77
='${wl}-E'
14853 # hardcode_minus_L: Not really in the search PATH,
14854 # but as the default location of the library.
14855 hardcode_minus_L_F77
=yes
14861 irix5
* | irix6
* | nonstopux
*)
14862 if test "$GCC" = yes; then
14863 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'
14865 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'
14866 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
14868 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14869 hardcode_libdir_separator_F77
=:
14870 link_all_deplibs_F77
=yes
14874 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14875 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14877 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14879 hardcode_libdir_flag_spec_F77
='-R$libdir'
14880 hardcode_direct_F77
=yes
14881 hardcode_shlibpath_var_F77
=no
14885 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14886 hardcode_direct_F77
=yes
14887 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14888 hardcode_libdir_separator_F77
=:
14889 hardcode_shlibpath_var_F77
=no
14893 hardcode_direct_F77
=yes
14894 hardcode_shlibpath_var_F77
=no
14895 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14896 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14897 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14898 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14899 export_dynamic_flag_spec_F77
='${wl}-E'
14902 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
14903 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14904 hardcode_libdir_flag_spec_F77
='-R$libdir'
14907 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14908 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14915 hardcode_libdir_flag_spec_F77
='-L$libdir'
14916 hardcode_minus_L_F77
=yes
14917 allow_undefined_flag_F77
=unsupported
14918 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'
14919 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14923 if test "$GCC" = yes; then
14924 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14925 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'
14927 allow_undefined_flag_F77
=' -expect_unresolved \*'
14928 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'
14930 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14931 hardcode_libdir_separator_F77
=:
14934 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
14935 if test "$GCC" = yes; then
14936 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14937 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'
14938 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14940 allow_undefined_flag_F77
=' -expect_unresolved \*'
14941 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'
14942 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~
14943 $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'
14945 # Both c and cxx compiler support -rpath directly
14946 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
14948 hardcode_libdir_separator_F77
=:
14952 no_undefined_flag_F77
=' -z text'
14953 if test "$GCC" = yes; then
14955 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14956 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14957 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
14960 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14961 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14962 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14964 hardcode_libdir_flag_spec_F77
='-R$libdir'
14965 hardcode_shlibpath_var_F77
=no
14967 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14969 # The compiler driver will combine linker options so we
14970 # cannot just pass the convience library names through
14971 # without $wl, iff we do not link with $LD.
14972 # Luckily, gcc supports the same syntax we need for Sun Studio.
14973 # Supported since Solaris 2.6 (maybe 2.5.1?)
14976 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract' ;;
14978 whole_archive_flag_spec_F77
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
14981 link_all_deplibs_F77
=yes
14985 if test "x$host_vendor" = xsequent
; then
14986 # Use $CC to link under sequent, because it throws in some extra .o
14987 # files that make .init and .fini sections work.
14988 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14990 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14992 hardcode_libdir_flag_spec_F77
='-L$libdir'
14993 hardcode_direct_F77
=yes
14994 hardcode_minus_L_F77
=yes
14995 hardcode_shlibpath_var_F77
=no
14999 case $host_vendor in
15001 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15002 hardcode_direct_F77
=yes # is this really true???
15005 ## LD is ld it makes a PLAMLIB
15006 ## CC just makes a GrossModule.
15007 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15008 reload_cmds_F77
='$CC -r -o $output$reload_objs'
15009 hardcode_direct_F77
=no
15012 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15013 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
15016 runpath_var
='LD_RUN_PATH'
15017 hardcode_shlibpath_var_F77
=no
15021 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15022 hardcode_shlibpath_var_F77
=no
15023 export_dynamic_flag_spec_F77
='-Bexport'
15027 if test -d /usr
/nec
; then
15028 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15029 hardcode_shlibpath_var_F77
=no
15030 runpath_var
=LD_RUN_PATH
15031 hardcode_runpath_var
=yes
15036 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
15037 no_undefined_flag_F77
='${wl}-z,text'
15038 archive_cmds_need_lc_F77
=no
15039 hardcode_shlibpath_var_F77
=no
15040 runpath_var
='LD_RUN_PATH'
15042 if test "$GCC" = yes; then
15043 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15044 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15046 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15047 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15051 sysv5
* | sco3.2v5
* | sco5v6
*)
15052 # Note: We can NOT use -z defs as we might desire, because we do not
15053 # link with -lc, and that would cause any symbols used from libc to
15054 # always be unresolved, which means just about no library would
15055 # ever link correctly. If we're not using GNU ld we use -z text
15056 # though, which does catch some bad symbols but isn't as heavy-handed
15058 no_undefined_flag_F77
='${wl}-z,text'
15059 allow_undefined_flag_F77
='${wl}-z,nodefs'
15060 archive_cmds_need_lc_F77
=no
15061 hardcode_shlibpath_var_F77
=no
15062 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15063 hardcode_libdir_separator_F77
=':'
15064 link_all_deplibs_F77
=yes
15065 export_dynamic_flag_spec_F77
='${wl}-Bexport'
15066 runpath_var
='LD_RUN_PATH'
15068 if test "$GCC" = yes; then
15069 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15070 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15072 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15073 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15078 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15079 hardcode_libdir_flag_spec_F77
='-L$libdir'
15080 hardcode_shlibpath_var_F77
=no
15089 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15090 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
15091 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
15094 # Do we need to explicitly link libc?
15096 case "x$archive_cmds_need_lc_F77" in
15098 # Assume -lc should be added
15099 archive_cmds_need_lc_F77
=yes
15101 if test "$enable_shared" = yes && test "$GCC" = yes; then
15102 case $archive_cmds_F77 in
15104 # FIXME: we may have to deal with multi-command sequences.
15107 # Test whether the compiler implicitly links with -lc since on some
15108 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15109 # to ld, don't add -lc before -lgcc.
15110 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15111 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15113 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15116 (eval $ac_compile) 2>&5
15118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15119 (exit $ac_status); } 2>conftest.err
; then
15122 libobjs
=conftest.
$ac_objext
15124 wl
=$lt_prog_compiler_wl_F77
15125 pic_flag
=$lt_prog_compiler_pic_F77
15131 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
15132 allow_undefined_flag_F77
=
15133 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15134 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15137 (exit $ac_status); }
15139 archive_cmds_need_lc_F77
=no
15141 archive_cmds_need_lc_F77
=yes
15143 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
15145 cat conftest.err
1>&5
15148 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15149 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
15156 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15157 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15158 library_names_spec
=
15159 libname_spec
='lib$name'
15163 postuninstall_cmds
=
15167 shlibpath_overrides_runpath
=unknown
15169 dynamic_linker
="$host_os ld.so"
15170 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15171 if test "$GCC" = yes; then
15172 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15173 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
15174 # if the path contains ";" then we assume it to be the separator
15175 # otherwise default to the standard path separator (i.e. ":") - it is
15176 # assumed that no part of a normal pathname contains ";" but that should
15177 # okay in the real world where ";" in dirpaths is itself problematic.
15178 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15180 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15183 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
15185 need_lib_prefix
=unknown
15186 hardcode_into_libs
=no
15188 # when you set need_version to no, make sure it does not cause -set_version
15189 # flags to be left without arguments
15190 need_version
=unknown
15195 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15196 shlibpath_var
=LIBPATH
15198 # AIX 3 has no versioning support, so we append a major version to the name.
15199 soname_spec
='${libname}${release}${shared_ext}$major'
15206 hardcode_into_libs
=yes
15207 if test "$host_cpu" = ia64
; then
15208 # AIX 5 supports IA64
15209 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15210 shlibpath_var
=LD_LIBRARY_PATH
15212 # With GCC up to 2.95.x, collect2 would create an import file
15213 # for dependence libraries. The import file would start with
15214 # the line `#! .'. This would cause the generated library to
15215 # depend on `.', always an invalid library. This was fixed in
15216 # development snapshots of GCC prior to 3.0.
15218 aix4 | aix4.
[01] | aix4.
[01].
*)
15219 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15221 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
15224 can_build_shared
=no
15228 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15229 # soname into executable. Probably we can add versioning support to
15230 # collect2, so additional links can be useful in future.
15231 if test "$aix_use_runtimelinking" = yes; then
15232 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15233 # instead of lib<name>.a to let people know that these are not
15234 # typical AIX shared libraries.
15235 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15237 # We preserve .a as extension for shared libraries through AIX4.2
15238 # and later when we are not doing run time linking.
15239 library_names_spec
='${libname}${release}.a $libname.a'
15240 soname_spec
='${libname}${release}${shared_ext}$major'
15242 shlibpath_var
=LIBPATH
15247 library_names_spec
='$libname.ixlibrary $libname.a'
15248 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15249 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'
15253 library_names_spec
='${libname}${shared_ext}'
15254 dynamic_linker
="$host_os ld.so"
15255 shlibpath_var
=LIBRARY_PATH
15261 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15262 soname_spec
='${libname}${release}${shared_ext}$major'
15263 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15264 shlibpath_var
=LD_LIBRARY_PATH
15265 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15266 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15267 # the default ld.so.conf also contains /usr/contrib/lib and
15268 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15269 # libtool to hard-code these into programs
15272 cygwin
* | mingw
* | pw32
*)
15273 version_type
=windows
15278 case $GCC,$host_os in
15279 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
15280 library_names_spec
='$libname.dll.a'
15281 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15282 postinstall_cmds
='base_file=`basename \${file}`~
15283 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15284 dldir=$destdir/`dirname \$dlpath`~
15285 test -d \$dldir || mkdir -p \$dldir~
15286 $install_prog $dir/$dlname \$dldir/$dlname~
15287 chmod a+x \$dldir/$dlname'
15288 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15289 dlpath=$dir/\$dldll~
15291 shlibpath_overrides_runpath
=yes
15295 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15296 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15297 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
15300 # MinGW DLLs use traditional 'lib' prefix
15301 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15302 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15303 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
15304 # It is most probably a Windows format PATH printed by
15305 # mingw gcc, but we are running on Cygwin. Gcc prints its search
15306 # path with ; separators, and with drive letters. We can handle the
15307 # drive letters (cygwin fileutils understands them), so leave them,
15308 # especially as we might pass files found there to a mingw objdump,
15309 # which wouldn't understand a cygwinified path. Ahh.
15310 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15312 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15316 # pw32 DLLs use 'pw' prefix rather than 'lib'
15317 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15323 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15326 dynamic_linker
='Win32 ld.exe'
15327 # FIXME: first we should search . and the directory the executable is in
15331 darwin
* | rhapsody
*)
15332 dynamic_linker
="$host_os dyld"
15333 version_type
=darwin
15336 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15337 soname_spec
='${libname}${release}${major}$shared_ext'
15338 shlibpath_overrides_runpath
=yes
15339 shlibpath_var
=DYLD_LIBRARY_PATH
15340 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15341 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
15342 if test "$GCC" = yes; then
15343 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
15345 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
15347 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15354 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15355 soname_spec
='${libname}${release}${shared_ext}$major'
15356 shlibpath_var
=LD_LIBRARY_PATH
15367 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15368 soname_spec
='${libname}${release}${shared_ext}$major'
15369 shlibpath_var
=LD_LIBRARY_PATH
15370 shlibpath_overrides_runpath
=no
15371 hardcode_into_libs
=yes
15372 dynamic_linker
='GNU ld.so'
15375 freebsd
* | dragonfly
*)
15376 # DragonFly does not have aout. When/if they implement a new
15377 # versioning mechanism, adjust this.
15378 if test -x /usr
/bin
/objformat
; then
15379 objformat
=`/usr/bin/objformat`
15382 freebsd
[123]*) objformat
=aout
;;
15383 *) objformat
=elf
;;
15386 version_type
=freebsd-
$objformat
15387 case $version_type in
15389 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15394 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15398 shlibpath_var
=LD_LIBRARY_PATH
15401 shlibpath_overrides_runpath
=yes
15403 freebsd3.
[01]* | freebsdelf3.
[01]*)
15404 shlibpath_overrides_runpath
=yes
15405 hardcode_into_libs
=yes
15407 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15408 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15409 shlibpath_overrides_runpath
=no
15410 hardcode_into_libs
=yes
15412 freebsd
*) # from 4.6 on
15413 shlibpath_overrides_runpath
=yes
15414 hardcode_into_libs
=yes
15423 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15424 soname_spec
='${libname}${release}${shared_ext}$major'
15425 shlibpath_var
=LD_LIBRARY_PATH
15426 hardcode_into_libs
=yes
15429 hpux9
* | hpux10
* | hpux11
*)
15430 # Give a soname corresponding to the major version so that dld.sl refuses to
15431 # link against other versions.
15438 hardcode_into_libs
=yes
15439 dynamic_linker
="$host_os dld.so"
15440 shlibpath_var
=LD_LIBRARY_PATH
15441 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15442 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15443 soname_spec
='${libname}${release}${shared_ext}$major'
15444 if test "X$HPUX_IA64_MODE" = X32
; then
15445 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15447 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15449 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15453 hardcode_into_libs
=yes
15454 dynamic_linker
="$host_os dld.sl"
15455 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15456 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15457 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15458 soname_spec
='${libname}${release}${shared_ext}$major'
15459 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15460 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15464 dynamic_linker
="$host_os dld.sl"
15465 shlibpath_var
=SHLIB_PATH
15466 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15467 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15468 soname_spec
='${libname}${release}${shared_ext}$major'
15471 # HP-UX runs *really* slowly unless shared libraries are mode 555.
15472 postinstall_cmds
='chmod 555 $lib'
15479 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15480 soname_spec
='${libname}${release}${shared_ext}$major'
15481 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15482 shlibpath_var
=LD_LIBRARY_PATH
15483 shlibpath_overrides_runpath
=no
15484 hardcode_into_libs
=yes
15487 irix5
* | irix6
* | nonstopux
*)
15489 nonstopux
*) version_type
=nonstopux
;;
15491 if test "$lt_cv_prog_gnu_ld" = yes; then
15499 soname_spec
='${libname}${release}${shared_ext}$major'
15500 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15502 irix5
* | nonstopux
*)
15503 libsuff
= shlibsuff
=
15506 case $LD in # libtool.m4 will add one of these switches to LD
15507 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15508 libsuff
= shlibsuff
= libmagic
=32-bit;;
15509 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15510 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15511 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15512 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15513 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15517 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15518 shlibpath_overrides_runpath
=no
15519 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15520 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15521 hardcode_into_libs
=yes
15524 # No shared lib support for Linux oldld, aout, or coff.
15525 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15529 # This must be Linux ELF.
15534 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15535 soname_spec
='${libname}${release}${shared_ext}$major'
15536 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15537 shlibpath_var
=LD_LIBRARY_PATH
15538 shlibpath_overrides_runpath
=no
15539 # This implies no fast_install, which is unacceptable.
15540 # Some rework will be needed to allow for fast_install
15541 # before this can be enabled.
15542 hardcode_into_libs
=yes
15544 # find out which ABI we are using
15546 case "$host_cpu" in
15547 x86_64
*|s390x
*|powerpc64
*)
15548 echo '#line 15548 "configure"' > conftest.
$ac_ext
15549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15550 (eval $ac_compile) 2>&5
15552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15553 (exit $ac_status); }; then
15554 case `/usr/bin/file conftest.$ac_objext` in
15557 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
15565 # Append ld.so.conf contents to the search path
15566 if test -f /etc
/ld.so.conf
; then
15567 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/^ *//;s/#.*//;/^[^\/]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
15568 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
15571 # We used to test for /lib/ld.so.1 and disable shared libraries on
15572 # powerpc, because MkLinux only supported shared libraries with the
15573 # GNU dynamic linker. Since this was broken with cross compilers,
15574 # most powerpc-linux boxes support dynamic linking these days and
15575 # people can always --disable-shared, the test was removed, and we
15576 # assume the GNU/Linux dynamic linker is in use.
15577 dynamic_linker
='GNU/Linux ld.so'
15584 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15585 soname_spec
='${libname}${release}${shared_ext}$major'
15586 shlibpath_var
=LD_LIBRARY_PATH
15587 shlibpath_overrides_runpath
=no
15588 hardcode_into_libs
=yes
15589 dynamic_linker
='GNU ld.so'
15596 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15597 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15598 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15599 dynamic_linker
='NetBSD (a.out) ld.so'
15601 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15602 soname_spec
='${libname}${release}${shared_ext}$major'
15603 dynamic_linker
='NetBSD ld.elf_so'
15605 shlibpath_var
=LD_LIBRARY_PATH
15606 shlibpath_overrides_runpath
=yes
15607 hardcode_into_libs
=yes
15612 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15613 shlibpath_var
=LD_LIBRARY_PATH
15614 shlibpath_overrides_runpath
=yes
15621 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15622 soname_spec
='${libname}${release}${shared_ext}$major'
15623 shlibpath_var
=LD_LIBRARY_PATH
15624 shlibpath_overrides_runpath
=yes
15629 sys_lib_dlsearch_path_spec
="/usr/lib"
15631 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15633 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15634 *) need_version
=no
;;
15636 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15637 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15638 shlibpath_var
=LD_LIBRARY_PATH
15639 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15641 openbsd2.
[89] | openbsd2.
[89].
*)
15642 shlibpath_overrides_runpath
=no
15645 shlibpath_overrides_runpath
=yes
15649 shlibpath_overrides_runpath
=yes
15654 libname_spec
='$name'
15657 library_names_spec
='$libname${shared_ext} $libname.a'
15658 dynamic_linker
='OS/2 ld.exe'
15659 shlibpath_var
=LIBPATH
15662 osf3
* | osf4
* | osf5
*)
15666 soname_spec
='${libname}${release}${shared_ext}$major'
15667 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15668 shlibpath_var
=LD_LIBRARY_PATH
15669 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15670 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15677 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15678 soname_spec
='${libname}${release}${shared_ext}$major'
15679 shlibpath_var
=LD_LIBRARY_PATH
15680 shlibpath_overrides_runpath
=yes
15681 hardcode_into_libs
=yes
15682 # ldd complains unless libraries are executable
15683 postinstall_cmds
='chmod +x $lib'
15688 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15689 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15690 shlibpath_var
=LD_LIBRARY_PATH
15691 shlibpath_overrides_runpath
=yes
15692 if test "$with_gnu_ld" = yes; then
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 case $host_vendor in
15705 shlibpath_overrides_runpath
=no
15707 export_dynamic_flag_spec
='${wl}-Blargedynsym'
15708 runpath_var
=LD_RUN_PATH
15716 shlibpath_overrides_runpath
=no
15717 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15723 if test -d /usr
/nec
;then
15725 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15726 soname_spec
='$libname${shared_ext}.$major'
15727 shlibpath_var
=LD_LIBRARY_PATH
15731 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15732 version_type
=freebsd-elf
15735 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15736 soname_spec
='${libname}${release}${shared_ext}$major'
15737 shlibpath_var
=LD_LIBRARY_PATH
15738 hardcode_into_libs
=yes
15739 if test "$with_gnu_ld" = yes; then
15740 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15741 shlibpath_overrides_runpath
=no
15743 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15744 shlibpath_overrides_runpath
=yes
15747 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15751 sys_lib_dlsearch_path_spec
='/usr/lib'
15756 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15757 soname_spec
='${libname}${release}${shared_ext}$major'
15758 shlibpath_var
=LD_LIBRARY_PATH
15765 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15766 echo "${ECHO_T}$dynamic_linker" >&6; }
15767 test "$dynamic_linker" = no
&& can_build_shared
=no
15769 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15770 if test "$GCC" = yes; then
15771 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15774 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15775 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
15776 hardcode_action_F77
=
15777 if test -n "$hardcode_libdir_flag_spec_F77" || \
15778 test -n "$runpath_var_F77" || \
15779 test "X$hardcode_automatic_F77" = "Xyes" ; then
15781 # We can hardcode non-existant directories.
15782 if test "$hardcode_direct_F77" != no
&&
15783 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15784 # have to relink, otherwise we might link with an installed library
15785 # when we should be linking with a yet-to-be-installed one
15786 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
15787 test "$hardcode_minus_L_F77" != no
; then
15788 # Linking always hardcodes the temporary library directory.
15789 hardcode_action_F77
=relink
15791 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15792 hardcode_action_F77
=immediate
15795 # We cannot hardcode anything, or else we can only hardcode existing
15797 hardcode_action_F77
=unsupported
15799 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15800 echo "${ECHO_T}$hardcode_action_F77" >&6; }
15802 if test "$hardcode_action_F77" = relink
; then
15803 # Fast installation is not supported
15804 enable_fast_install
=no
15805 elif test "$shlibpath_overrides_runpath" = yes ||
15806 test "$enable_shared" = no
; then
15807 # Fast installation is not necessary
15808 enable_fast_install
=needless
15812 # The else clause should only fire when bootstrapping the
15813 # libtool distribution, otherwise you forgot to ship ltmain.sh
15814 # with your package, and you will get complaints that there are
15815 # no rules to generate ltmain.sh.
15816 if test -f "$ltmain"; then
15817 # See if we are running on zsh, and set the options which allow our commands through
15818 # without removal of \ escapes.
15819 if test -n "${ZSH_VERSION+set}" ; then
15820 setopt NO_GLOB_SUBST
15822 # Now quote all the things that may contain metacharacters while being
15823 # careful not to overquote the AC_SUBSTed values. We take copies of the
15824 # variables and quote the copies for generation of the libtool script.
15825 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
15827 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15828 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15829 deplibs_check_method reload_flag reload_cmds need_locks \
15830 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15831 lt_cv_sys_global_symbol_to_c_name_address \
15832 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15833 old_postinstall_cmds old_postuninstall_cmds \
15837 lt_prog_compiler_wl_F77 \
15838 lt_prog_compiler_pic_F77 \
15839 lt_prog_compiler_static_F77 \
15840 lt_prog_compiler_no_builtin_flag_F77 \
15841 export_dynamic_flag_spec_F77 \
15842 thread_safe_flag_spec_F77 \
15843 whole_archive_flag_spec_F77 \
15844 enable_shared_with_static_runtimes_F77 \
15845 old_archive_cmds_F77 \
15846 old_archive_from_new_cmds_F77 \
15847 predep_objects_F77 \
15848 postdep_objects_F77 \
15851 compiler_lib_search_path_F77 \
15853 archive_expsym_cmds_F77 \
15854 postinstall_cmds_F77 \
15855 postuninstall_cmds_F77 \
15856 old_archive_from_expsyms_cmds_F77 \
15857 allow_undefined_flag_F77 \
15858 no_undefined_flag_F77 \
15859 export_symbols_cmds_F77 \
15860 hardcode_libdir_flag_spec_F77 \
15861 hardcode_libdir_flag_spec_ld_F77 \
15862 hardcode_libdir_separator_F77 \
15863 hardcode_automatic_F77 \
15865 module_expsym_cmds_F77 \
15866 lt_cv_prog_compiler_c_o_F77 \
15867 exclude_expsyms_F77 \
15868 include_expsyms_F77
; do
15871 old_archive_cmds_F77 | \
15872 old_archive_from_new_cmds_F77 | \
15873 archive_cmds_F77 | \
15874 archive_expsym_cmds_F77 | \
15875 module_cmds_F77 | \
15876 module_expsym_cmds_F77 | \
15877 old_archive_from_expsyms_cmds_F77 | \
15878 export_symbols_cmds_F77 | \
15879 extract_expsyms_cmds | reload_cmds | finish_cmds | \
15880 postinstall_cmds | postuninstall_cmds | \
15881 old_postinstall_cmds | old_postuninstall_cmds | \
15882 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
15883 # Double-quote double-evaled strings.
15884 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15887 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15893 *'\$0 --fallback-echo"')
15894 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15900 cat <<__EOF__ >> "$cfgfile"
15901 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
15903 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15905 # Shell to use when invoking shell scripts.
15908 # Whether or not to build shared libraries.
15909 build_libtool_libs=$enable_shared
15911 # Whether or not to build static libraries.
15912 build_old_libs=$enable_static
15914 # Whether or not to add -lc for building shared libraries.
15915 build_libtool_need_lc=$archive_cmds_need_lc_F77
15917 # Whether or not to disallow shared libs when runtime libs are static
15918 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
15920 # Whether or not to optimize for fast installation.
15921 fast_install=$enable_fast_install
15924 host_alias=$host_alias
15928 # The build system.
15929 build_alias=$build_alias
15933 # An echo program that does not interpret backslashes.
15938 AR_FLAGS=$lt_AR_FLAGS
15943 # LTCC compiler flags.
15944 LTCFLAGS=$lt_LTCFLAGS
15946 # A language-specific compiler.
15947 CC=$lt_compiler_F77
15949 # Is the compiler the GNU C compiler?
15955 # The linker used to build libraries.
15958 # Whether we need hard or soft links.
15961 # A BSD-compatible nm program.
15964 # A symbol stripping program
15967 # Used to examine libraries when file_magic_cmd begins "file"
15968 MAGIC_CMD=$MAGIC_CMD
15970 # Used on cygwin: DLL creation program.
15973 # Used on cygwin: object dumper.
15976 # Used on cygwin: assembler.
15979 # The name of the directory that contains temporary libtool files.
15982 # How to create reloadable object files.
15983 reload_flag=$lt_reload_flag
15984 reload_cmds=$lt_reload_cmds
15986 # How to pass a linker flag through the compiler.
15987 wl=$lt_lt_prog_compiler_wl_F77
15989 # Object file suffix (normally "o").
15990 objext="$ac_objext"
15992 # Old archive suffix (normally "a").
15995 # Shared library suffix (normally ".so").
15996 shrext_cmds='$shrext_cmds'
15998 # Executable file suffix (normally "").
16001 # Additional compiler flags for building library objects.
16002 pic_flag=$lt_lt_prog_compiler_pic_F77
16005 # What is the maximum length of a command?
16006 max_cmd_len=$lt_cv_sys_max_cmd_len
16008 # Does compiler simultaneously support -c and -o options?
16009 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
16011 # Must we lock files when doing compilation?
16012 need_locks=$lt_need_locks
16014 # Do we need the lib prefix for modules?
16015 need_lib_prefix=$need_lib_prefix
16017 # Do we need a version for libraries?
16018 need_version=$need_version
16020 # Whether dlopen is supported.
16021 dlopen_support=$enable_dlopen
16023 # Whether dlopen of programs is supported.
16024 dlopen_self=$enable_dlopen_self
16026 # Whether dlopen of statically linked programs is supported.
16027 dlopen_self_static=$enable_dlopen_self_static
16029 # Compiler flag to prevent dynamic linking.
16030 link_static_flag=$lt_lt_prog_compiler_static_F77
16032 # Compiler flag to turn off builtin functions.
16033 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
16035 # Compiler flag to allow reflexive dlopens.
16036 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
16038 # Compiler flag to generate shared objects directly from archives.
16039 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
16041 # Compiler flag to generate thread-safe objects.
16042 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
16044 # Library versioning type.
16045 version_type=$version_type
16047 # Format of library name prefix.
16048 libname_spec=$lt_libname_spec
16050 # List of archive names. First name is the real one, the rest are links.
16051 # The last name is the one that the linker finds with -lNAME.
16052 library_names_spec=$lt_library_names_spec
16054 # The coded name of the library, if different from the real name.
16055 soname_spec=$lt_soname_spec
16057 # Commands used to build and install an old-style archive.
16059 old_archive_cmds=$lt_old_archive_cmds_F77
16060 old_postinstall_cmds=$lt_old_postinstall_cmds
16061 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16063 # Create an old-style archive from a shared archive.
16064 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
16066 # Create a temporary old-style archive to link instead of a shared archive.
16067 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
16069 # Commands used to build and install a shared archive.
16070 archive_cmds=$lt_archive_cmds_F77
16071 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
16072 postinstall_cmds=$lt_postinstall_cmds
16073 postuninstall_cmds=$lt_postuninstall_cmds
16075 # Commands used to build a loadable module (assumed same as above if empty)
16076 module_cmds=$lt_module_cmds_F77
16077 module_expsym_cmds=$lt_module_expsym_cmds_F77
16079 # Commands to strip libraries.
16080 old_striplib=$lt_old_striplib
16081 striplib=$lt_striplib
16083 # Dependencies to place before the objects being linked to create a
16085 predep_objects=$lt_predep_objects_F77
16087 # Dependencies to place after the objects being linked to create a
16089 postdep_objects=$lt_postdep_objects_F77
16091 # Dependencies to place before the objects being linked to create a
16093 predeps=$lt_predeps_F77
16095 # Dependencies to place after the objects being linked to create a
16097 postdeps=$lt_postdeps_F77
16099 # The library search path used internally by the compiler when linking
16100 # a shared library.
16101 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16103 # Method to check whether dependent libraries are shared objects.
16104 deplibs_check_method=$lt_deplibs_check_method
16106 # Command to use when deplibs_check_method == file_magic.
16107 file_magic_cmd=$lt_file_magic_cmd
16109 # Flag that allows shared libraries with undefined symbols to be built.
16110 allow_undefined_flag=$lt_allow_undefined_flag_F77
16112 # Flag that forces no undefined symbols.
16113 no_undefined_flag=$lt_no_undefined_flag_F77
16115 # Commands used to finish a libtool library installation in a directory.
16116 finish_cmds=$lt_finish_cmds
16118 # Same as above, but a single script fragment to be evaled but not shown.
16119 finish_eval=$lt_finish_eval
16121 # Take the output of nm and produce a listing of raw symbols and C names.
16122 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16124 # Transform the output of nm in a proper C declaration
16125 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16127 # Transform the output of nm in a C name address pair
16128 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16130 # This is the shared library runtime path variable.
16131 runpath_var=$runpath_var
16133 # This is the shared library path variable.
16134 shlibpath_var=$shlibpath_var
16136 # Is shlibpath searched before the hard-coded library search path?
16137 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16139 # How to hardcode a shared library path into an executable.
16140 hardcode_action=$hardcode_action_F77
16142 # Whether we should hardcode library paths into libraries.
16143 hardcode_into_libs=$hardcode_into_libs
16145 # Flag to hardcode \$libdir into a binary during linking.
16146 # This must work even if \$libdir does not exist.
16147 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
16149 # If ld is used when linking, flag to hardcode \$libdir into
16150 # a binary during linking. This must work even if \$libdir does
16152 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
16154 # Whether we need a single -rpath flag with a separated argument.
16155 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
16157 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16158 # resulting binary.
16159 hardcode_direct=$hardcode_direct_F77
16161 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16162 # resulting binary.
16163 hardcode_minus_L=$hardcode_minus_L_F77
16165 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16166 # the resulting binary.
16167 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
16169 # Set to yes if building a shared library automatically hardcodes DIR into the library
16170 # and all subsequent libraries and executables linked against it.
16171 hardcode_automatic=$hardcode_automatic_F77
16173 # Variables whose values should be saved in libtool wrapper scripts and
16174 # restored at relink time.
16175 variables_saved_for_relink="$variables_saved_for_relink"
16177 # Whether libtool must link a program against all its dependency libraries.
16178 link_all_deplibs=$link_all_deplibs_F77
16180 # Compile-time system search path for libraries
16181 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16183 # Run-time system search path for libraries
16184 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16186 # Fix the shell variable \$srcfile for the compiler.
16187 fix_srcfile_path="$fix_srcfile_path_F77"
16189 # Set to yes if exported symbols are required.
16190 always_export_symbols=$always_export_symbols_F77
16192 # The commands to list exported symbols.
16193 export_symbols_cmds=$lt_export_symbols_cmds_F77
16195 # The commands to extract the exported symbol list from a shared archive.
16196 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16198 # Symbols that should not be listed in the preloaded symbols.
16199 exclude_expsyms=$lt_exclude_expsyms_F77
16201 # Symbols that must always be exported.
16202 include_expsyms=$lt_include_expsyms_F77
16204 # ### END LIBTOOL TAG CONFIG: $tagname
16210 # If there is no Makefile yet, we rely on a make rule to execute
16211 # `config.status --recheck' to rerun these tests and create the
16212 # libtool script then.
16213 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16214 if test -f "$ltmain_in"; then
16215 test -f Makefile
&& make "$ltmain"
16221 ac_cpp
='$CPP $CPPFLAGS'
16222 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16223 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16224 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16234 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
16237 # Source file extension for Java test sources.
16240 # Object file extension for compiled Java test sources.
16244 # Code to be used in simple compile tests
16245 lt_simple_compile_test_code
="class foo {}\n"
16247 # Code to be used in simple link tests
16248 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }\n'
16250 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16252 # If no C compiler was specified, use CC.
16255 # If no C compiler flags were specified, use CFLAGS.
16256 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
16258 # Allow CC to be a program name with arguments.
16262 # save warnings/boilerplate of simple test code
16263 ac_outfile
=conftest.
$ac_objext
16264 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
16265 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16266 _lt_compiler_boilerplate
=`cat conftest.err`
16269 ac_outfile
=conftest.
$ac_objext
16270 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
16271 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16272 _lt_linker_boilerplate
=`cat conftest.err`
16276 # Allow CC to be a program name with arguments.
16281 for cc_temp
in $compiler""; do
16283 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16284 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16289 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16292 # GCJ did not exist at the time GCC didn't implicitly link libc in.
16293 archive_cmds_need_lc_GCJ
=no
16295 old_archive_cmds_GCJ
=$old_archive_cmds
16298 lt_prog_compiler_no_builtin_flag_GCJ
=
16300 if test "$GCC" = yes; then
16301 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
16304 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16305 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
16306 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16307 echo $ECHO_N "(cached) $ECHO_C" >&6
16309 lt_cv_prog_compiler_rtti_exceptions
=no
16310 ac_outfile
=conftest.
$ac_objext
16311 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16312 lt_compiler_flag
="-fno-rtti -fno-exceptions"
16313 # Insert the option either (1) after the last *FLAGS variable, or
16314 # (2) before a word containing "conftest.", or (3) at the end.
16315 # Note that $ac_compile itself does not contain backslashes and begins
16316 # with a dollar sign (not a hyphen), so the echo should work correctly.
16317 # The option is referenced via a variable to avoid confusing sed.
16318 lt_compile
=`echo "$ac_compile" | $SED \
16319 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16320 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16321 -e 's:$: $lt_compiler_flag:'`
16322 (eval echo "\"\$as_me:16322: $lt_compile\"" >&5)
16323 (eval "$lt_compile" 2>conftest.err
)
16325 cat conftest.err
>&5
16326 echo "$as_me:16326: \$? = $ac_status" >&5
16327 if (exit $ac_status) && test -s "$ac_outfile"; then
16328 # The compiler can only warn and ignore the option if not recognized
16329 # So say no if there are warnings other than the usual output.
16330 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16331 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16332 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16333 lt_cv_prog_compiler_rtti_exceptions
=yes
16339 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16340 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
16342 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
16343 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16350 lt_prog_compiler_wl_GCJ
=
16351 lt_prog_compiler_pic_GCJ
=
16352 lt_prog_compiler_static_GCJ
=
16354 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16355 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16357 if test "$GCC" = yes; then
16358 lt_prog_compiler_wl_GCJ
='-Wl,'
16359 lt_prog_compiler_static_GCJ
='-static'
16363 # All AIX code is PIC.
16364 if test "$host_cpu" = ia64
; then
16365 # AIX 5 now supports IA64 processor
16366 lt_prog_compiler_static_GCJ
='-Bstatic'
16371 # FIXME: we need at least 68020 code to build shared libraries, but
16372 # adding the `-m68020' flag to GCC prevents building anything better,
16374 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
16377 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
16378 # PIC is the default for these OSes.
16381 mingw
* | pw32
* | os2
*)
16382 # This hack is so that the source file can tell whether it is being
16383 # built for inclusion in a dll (and should export symbols for example).
16384 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16387 darwin
* | rhapsody
*)
16388 # PIC is the default on this platform
16389 # Common symbols not allowed in MH_DYLIB files
16390 lt_prog_compiler_pic_GCJ
='-fno-common'
16394 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16395 # Instead, we relocate shared libraries at runtime.
16399 # Just because we use GCC doesn't mean we suddenly get shared libraries
16400 # on systems that don't support them.
16401 lt_prog_compiler_can_build_shared_GCJ
=no
16406 if test -d /usr
/nec
; then
16407 lt_prog_compiler_pic_GCJ
=-Kconform_pic
16412 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16413 # not for PA HP-UX.
16419 lt_prog_compiler_pic_GCJ
='-fPIC'
16425 lt_prog_compiler_pic_GCJ
='-fPIC'
16429 # PORTME Check for flag to pass linker flags through the system compiler.
16432 lt_prog_compiler_wl_GCJ
='-Wl,'
16433 if test "$host_cpu" = ia64
; then
16434 # AIX 5 now supports IA64 processor
16435 lt_prog_compiler_static_GCJ
='-Bstatic'
16437 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
16441 # PIC is the default on this platform
16442 # Common symbols not allowed in MH_DYLIB files
16443 case $cc_basename in
16445 lt_prog_compiler_pic_GCJ
='-qnocommon'
16446 lt_prog_compiler_wl_GCJ
='-Wl,'
16451 mingw
* | pw32
* | os2
*)
16452 # This hack is so that the source file can tell whether it is being
16453 # built for inclusion in a dll (and should export symbols for example).
16454 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16457 hpux9
* | hpux10
* | hpux11
*)
16458 lt_prog_compiler_wl_GCJ
='-Wl,'
16459 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16460 # not for PA HP-UX.
16466 lt_prog_compiler_pic_GCJ
='+Z'
16469 # Is there a better lt_prog_compiler_static that works with the bundled CC?
16470 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
16473 irix5
* | irix6
* | nonstopux
*)
16474 lt_prog_compiler_wl_GCJ
='-Wl,'
16475 # PIC (with -KPIC) is the default.
16476 lt_prog_compiler_static_GCJ
='-non_shared'
16480 lt_prog_compiler_pic_GCJ
='-KPIC'
16481 lt_prog_compiler_static_GCJ
='-Bstatic'
16485 case $cc_basename in
16487 lt_prog_compiler_wl_GCJ
='-Wl,'
16488 lt_prog_compiler_pic_GCJ
='-KPIC'
16489 lt_prog_compiler_static_GCJ
='-static'
16491 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
16492 # Portland Group compilers (*not* the Pentium gcc compiler,
16493 # which looks to be a dead project)
16494 lt_prog_compiler_wl_GCJ
='-Wl,'
16495 lt_prog_compiler_pic_GCJ
='-fpic'
16496 lt_prog_compiler_static_GCJ
='-Bstatic'
16499 lt_prog_compiler_wl_GCJ
='-Wl,'
16500 # All Alpha code is PIC.
16501 lt_prog_compiler_static_GCJ
='-non_shared'
16506 osf3
* | osf4
* | osf5
*)
16507 lt_prog_compiler_wl_GCJ
='-Wl,'
16508 # All OSF/1 code is PIC.
16509 lt_prog_compiler_static_GCJ
='-non_shared'
16513 lt_prog_compiler_pic_GCJ
='-KPIC'
16514 lt_prog_compiler_static_GCJ
='-Bstatic'
16515 case $cc_basename in
16516 f77
* | f90
* | f95
*)
16517 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
16519 lt_prog_compiler_wl_GCJ
='-Wl,';;
16524 lt_prog_compiler_wl_GCJ
='-Qoption ld '
16525 lt_prog_compiler_pic_GCJ
='-PIC'
16526 lt_prog_compiler_static_GCJ
='-Bstatic'
16529 sysv4 | sysv4.2uw2
* | sysv4.3
*)
16530 lt_prog_compiler_wl_GCJ
='-Wl,'
16531 lt_prog_compiler_pic_GCJ
='-KPIC'
16532 lt_prog_compiler_static_GCJ
='-Bstatic'
16536 if test -d /usr
/nec
;then
16537 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
16538 lt_prog_compiler_static_GCJ
='-Bstatic'
16542 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
16543 lt_prog_compiler_wl_GCJ
='-Wl,'
16544 lt_prog_compiler_pic_GCJ
='-KPIC'
16545 lt_prog_compiler_static_GCJ
='-Bstatic'
16549 lt_prog_compiler_wl_GCJ
='-Wl,'
16550 lt_prog_compiler_can_build_shared_GCJ
=no
16554 lt_prog_compiler_pic_GCJ
='-pic'
16555 lt_prog_compiler_static_GCJ
='-Bstatic'
16559 lt_prog_compiler_can_build_shared_GCJ
=no
16564 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16565 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
16568 # Check to make sure the PIC flag actually works.
16570 if test -n "$lt_prog_compiler_pic_GCJ"; then
16572 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16573 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
16574 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
16575 echo $ECHO_N "(cached) $ECHO_C" >&6
16577 lt_prog_compiler_pic_works_GCJ
=no
16578 ac_outfile
=conftest.
$ac_objext
16579 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16580 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
16581 # Insert the option either (1) after the last *FLAGS variable, or
16582 # (2) before a word containing "conftest.", or (3) at the end.
16583 # Note that $ac_compile itself does not contain backslashes and begins
16584 # with a dollar sign (not a hyphen), so the echo should work correctly.
16585 # The option is referenced via a variable to avoid confusing sed.
16586 lt_compile
=`echo "$ac_compile" | $SED \
16587 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16588 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16589 -e 's:$: $lt_compiler_flag:'`
16590 (eval echo "\"\$as_me:16590: $lt_compile\"" >&5)
16591 (eval "$lt_compile" 2>conftest.err
)
16593 cat conftest.err
>&5
16594 echo "$as_me:16594: \$? = $ac_status" >&5
16595 if (exit $ac_status) && test -s "$ac_outfile"; then
16596 # The compiler can only warn and ignore the option if not recognized
16597 # So say no if there are warnings other than the usual output.
16598 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16599 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16600 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16601 lt_prog_compiler_pic_works_GCJ
=yes
16607 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16608 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
16610 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
16611 case $lt_prog_compiler_pic_GCJ in
16613 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
16616 lt_prog_compiler_pic_GCJ
=
16617 lt_prog_compiler_can_build_shared_GCJ
=no
16622 # For platforms which do not support PIC, -DPIC is meaningless:
16624 lt_prog_compiler_pic_GCJ
=
16627 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
16632 # Check to make sure the static flag actually works.
16634 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
16635 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16636 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
16637 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
16638 echo $ECHO_N "(cached) $ECHO_C" >&6
16640 lt_prog_compiler_static_works_GCJ
=no
16641 save_LDFLAGS
="$LDFLAGS"
16642 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
16643 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
16644 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
16645 # The linker can only warn and ignore the option if not recognized
16646 # So say no if there are warnings
16647 if test -s conftest.err
; then
16648 # Append any errors to the config.log.
16649 cat conftest.err
1>&5
16650 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
16651 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16652 if diff conftest.exp conftest.er2
>/dev
/null
; then
16653 lt_prog_compiler_static_works_GCJ
=yes
16656 lt_prog_compiler_static_works_GCJ
=yes
16660 LDFLAGS
="$save_LDFLAGS"
16663 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
16664 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
16666 if test x
"$lt_prog_compiler_static_works_GCJ" = xyes
; then
16669 lt_prog_compiler_static_GCJ
=
16673 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16674 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
16675 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16676 echo $ECHO_N "(cached) $ECHO_C" >&6
16678 lt_cv_prog_compiler_c_o_GCJ
=no
16679 $rm -r conftest
2>/dev
/null
16683 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16685 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16686 # Insert the option either (1) after the last *FLAGS variable, or
16687 # (2) before a word containing "conftest.", or (3) at the end.
16688 # Note that $ac_compile itself does not contain backslashes and begins
16689 # with a dollar sign (not a hyphen), so the echo should work correctly.
16690 lt_compile
=`echo "$ac_compile" | $SED \
16691 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16692 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16693 -e 's:$: $lt_compiler_flag:'`
16694 (eval echo "\"\$as_me:16694: $lt_compile\"" >&5)
16695 (eval "$lt_compile" 2>out
/conftest.err
)
16697 cat out
/conftest.err
>&5
16698 echo "$as_me:16698: \$? = $ac_status" >&5
16699 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16701 # The compiler can only warn and ignore the option if not recognized
16702 # So say no if there are warnings
16703 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
16704 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16705 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16706 lt_cv_prog_compiler_c_o_GCJ
=yes
16711 # SGI C++ compiler will create directory out/ii_files/ for
16712 # template instantiation
16713 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
16714 $rm out
/* && rmdir out
16720 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16721 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
16724 hard_links
="nottested"
16725 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
16726 # do not overwrite the value of need_locks provided by the user
16727 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16728 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
16731 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16733 ln conftest.a conftest.b
2>&5 || hard_links
=no
16734 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16735 { echo "$as_me:$LINENO: result: $hard_links" >&5
16736 echo "${ECHO_T}$hard_links" >&6; }
16737 if test "$hard_links" = no
; then
16738 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16739 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16746 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16747 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
16750 allow_undefined_flag_GCJ
=
16751 enable_shared_with_static_runtimes_GCJ
=no
16753 archive_expsym_cmds_GCJ
=
16754 old_archive_From_new_cmds_GCJ
=
16755 old_archive_from_expsyms_cmds_GCJ
=
16756 export_dynamic_flag_spec_GCJ
=
16757 whole_archive_flag_spec_GCJ
=
16758 thread_safe_flag_spec_GCJ
=
16759 hardcode_libdir_flag_spec_GCJ
=
16760 hardcode_libdir_flag_spec_ld_GCJ
=
16761 hardcode_libdir_separator_GCJ
=
16762 hardcode_direct_GCJ
=no
16763 hardcode_minus_L_GCJ
=no
16764 hardcode_shlibpath_var_GCJ
=unsupported
16765 link_all_deplibs_GCJ
=unknown
16766 hardcode_automatic_GCJ
=no
16768 module_expsym_cmds_GCJ
=
16769 always_export_symbols_GCJ
=no
16770 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16771 # include_expsyms should be a list of space-separated symbols to be *always*
16772 # included in the symbol list
16773 include_expsyms_GCJ
=
16774 # exclude_expsyms can be an extended regexp of symbols to exclude
16775 # it will be wrapped by ` (' and `)$', so one must not match beginning or
16776 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16777 # as well as any symbol that contains `d'.
16778 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
16779 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16780 # platforms (ab)use it in PIC code, but their linkers get confused if
16781 # the symbol is explicitly referenced. Since portable code cannot
16782 # rely on this symbol name, it's probably fine to never include it in
16783 # preloaded symbol tables.
16784 extract_expsyms_cmds
=
16785 # Just being paranoid about ensuring that cc_basename is set.
16786 for cc_temp
in $compiler""; do
16788 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16789 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16794 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16797 cygwin
* | mingw
* | pw32
*)
16798 # FIXME: the MSVC++ port hasn't been tested in a loooong time
16799 # When not using gcc, we currently assume that we are using
16800 # Microsoft Visual C++.
16801 if test "$GCC" != yes; then
16806 # we just hope/assume this is gcc and not c89 (= MSVC++)
16815 if test "$with_gnu_ld" = yes; then
16816 # If archive_cmds runs LD, not CC, wlarc should be empty
16819 # Set some defaults for GNU ld with shared library support. These
16820 # are reset later if shared libraries are not supported. Putting them
16821 # here allows them to be overridden if necessary.
16822 runpath_var
=LD_RUN_PATH
16823 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
16824 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
16825 # ancient GNU ld didn't support --whole-archive et. al.
16826 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
16827 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16829 whole_archive_flag_spec_GCJ
=
16831 supports_anon_versioning
=no
16832 case `$LD -v 2>/dev/null` in
16833 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
16834 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
16835 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
16836 *\
2.11.
*) ;; # other 2.11 versions
16837 *) supports_anon_versioning
=yes ;;
16840 # See if GNU ld supports shared libraries.
16842 aix3
* | aix4
* | aix5
*)
16843 # On AIX/PPC, the GNU linker is very broken
16844 if test "$host_cpu" != ia64
; then
16848 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
16849 *** to be unable to reliably create shared libraries on AIX.
16850 *** Therefore, libtool is disabling shared libraries support. If you
16851 *** really care for shared libraries, you may want to modify your PATH
16852 *** so that a non-GNU linker is found, and then restart.
16859 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)'
16860 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16861 hardcode_minus_L_GCJ
=yes
16863 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16864 # that the semantics of dynamic libraries on AmigaOS, at least up
16865 # to version 4, is to share data among multiple programs linked
16866 # with the same dynamic library. Since this doesn't match the
16867 # behavior of shared libraries on other platforms, we can't use
16873 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16874 allow_undefined_flag_GCJ
=unsupported
16875 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16876 # support --undefined. This deserves some investigation. FIXME
16877 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16883 cygwin
* | mingw
* | pw32
*)
16884 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
16885 # as there is no search path for DLLs.
16886 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16887 allow_undefined_flag_GCJ
=unsupported
16888 always_export_symbols_GCJ
=no
16889 enable_shared_with_static_runtimes_GCJ
=yes
16890 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
16892 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
16893 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16894 # If the export-symbols file already is a .def file (1st line
16895 # is EXPORTS), use it as is; otherwise, prepend...
16896 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16897 cp $export_symbols $output_objdir/$soname.def;
16899 echo EXPORTS > $output_objdir/$soname.def;
16900 cat $export_symbols >> $output_objdir/$soname.def;
16902 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16909 hardcode_direct_GCJ
=no
16910 hardcode_shlibpath_var_GCJ
=no
16911 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16912 export_dynamic_flag_spec_GCJ
='${wl}-E'
16913 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
16914 # Instead, shared libraries are loaded at an image base (0x10000000 by
16915 # default) and relocated if they conflict, which is a slow very memory
16916 # consuming and fragmenting process. To avoid this, we pick a random,
16917 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
16918 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
16919 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'
16920 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'
16924 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16926 case $cc_basename,$host_cpu in
16927 pgcc
*) # Portland Group C compiler
16928 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'
16929 tmp_addflag
=' $pic_flag'
16931 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
16932 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'
16933 tmp_addflag
=' $pic_flag -Mnomain' ;;
16934 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
16935 tmp_addflag
=' -i_dynamic' ;;
16936 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
16937 tmp_addflag
=' -i_dynamic -nofor_main' ;;
16938 ifc
* | ifort
*) # Intel Fortran compiler
16939 tmp_addflag
=' -nofor_main' ;;
16941 archive_cmds_GCJ
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16943 if test $supports_anon_versioning = yes; then
16944 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
16945 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16946 $echo "local: *; };" >> $output_objdir/$libname.ver~
16947 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16955 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16956 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16959 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16960 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16965 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
16969 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
16970 *** create shared libraries on Solaris systems. Therefore, libtool
16971 *** is disabling shared libraries support. We urge you to upgrade GNU
16972 *** binutils to release 2.9.1 or newer. Another option is to modify
16973 *** your PATH or compiler configuration so that the native linker is
16974 *** used, and then restart.
16977 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16978 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16979 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16985 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
16986 case `$LD -v 2>&1` in
16987 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
16991 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
16992 *** reliably create shared libraries on SCO systems. Therefore, libtool
16993 *** is disabling shared libraries support. We urge you to upgrade GNU
16994 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
16995 *** your PATH or compiler configuration so that the native linker is
16996 *** used, and then restart.
17001 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17002 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
17003 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
17004 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17013 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17015 hardcode_direct_GCJ
=yes
17016 hardcode_shlibpath_var_GCJ
=no
17020 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17021 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17022 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17029 if test "$ld_shlibs_GCJ" = no
; then
17031 hardcode_libdir_flag_spec_GCJ
=
17032 export_dynamic_flag_spec_GCJ
=
17033 whole_archive_flag_spec_GCJ
=
17036 # PORTME fill in a description of your system's linker (not GNU ld)
17039 allow_undefined_flag_GCJ
=unsupported
17040 always_export_symbols_GCJ
=yes
17041 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'
17042 # Note: this linker hardcodes the directories in LIBPATH if there
17043 # are no directories specified by -L.
17044 hardcode_minus_L_GCJ
=yes
17045 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17046 # Neither direct hardcoding nor static linking is supported with a
17048 hardcode_direct_GCJ
=unsupported
17053 if test "$host_cpu" = ia64
; then
17054 # On IA64, the linker does run time linking by default, so we don't
17055 # have to do anything special.
17056 aix_use_runtimelinking
=no
17057 exp_sym_flag
='-Bexport'
17060 # If we're using GNU nm, then we don't want the "-C" option.
17061 # -C means demangle to AIX nm, but means don't demangle with GNU nm
17062 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
17063 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'
17065 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'
17067 aix_use_runtimelinking
=no
17069 # Test if we are trying to use run time linking or normal
17070 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17071 # need to do runtime linking.
17072 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
17073 for ld_flag
in $LDFLAGS; do
17074 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
17075 aix_use_runtimelinking
=yes
17082 exp_sym_flag
='-bexport'
17083 no_entry_flag
='-bnoentry'
17086 # When large executables or shared objects are built, AIX ld can
17087 # have problems creating the table of contents. If linking a library
17088 # or program results in "error TOC overflow" add -mminimal-toc to
17089 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
17090 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17092 archive_cmds_GCJ
=''
17093 hardcode_direct_GCJ
=yes
17094 hardcode_libdir_separator_GCJ
=':'
17095 link_all_deplibs_GCJ
=yes
17097 if test "$GCC" = yes; then
17098 case $host_os in aix4.
[012]|aix4.
[012].
*)
17099 # We only want to do this on AIX 4.2 and lower, the check
17100 # below for broken collect2 doesn't work under 4.3+
17101 collect2name
=`${CC} -print-prog-name=collect2`
17102 if test -f "$collect2name" && \
17103 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
17105 # We have reworked collect2
17106 hardcode_direct_GCJ
=yes
17108 # We have old collect2
17109 hardcode_direct_GCJ
=unsupported
17110 # It fails to find uninstalled libraries when the uninstalled
17111 # path is not listed in the libpath. Setting hardcode_minus_L
17112 # to unsupported forces relinking
17113 hardcode_minus_L_GCJ
=yes
17114 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17115 hardcode_libdir_separator_GCJ
=
17119 shared_flag
='-shared'
17120 if test "$aix_use_runtimelinking" = yes; then
17121 shared_flag
="$shared_flag "'${wl}-G'
17125 if test "$host_cpu" = ia64
; then
17126 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17127 # chokes on -Wl,-G. The following line is correct:
17130 if test "$aix_use_runtimelinking" = yes; then
17131 shared_flag
='${wl}-G'
17133 shared_flag
='${wl}-bM:SRE'
17138 # It seems that -bexpall does not export symbols beginning with
17139 # underscore (_), so it is better to generate a list of symbols to export.
17140 always_export_symbols_GCJ
=yes
17141 if test "$aix_use_runtimelinking" = yes; then
17142 # Warning - without using the other runtime loading flags (-brtl),
17143 # -berok will link without error, but may produce a broken library.
17144 allow_undefined_flag_GCJ
='-berok'
17145 # Determine the default libpath from the value encoded in an empty executable.
17146 cat >conftest.
$ac_ext <<_ACEOF
17149 cat confdefs.h
>>conftest.
$ac_ext
17150 cat >>conftest.
$ac_ext <<_ACEOF
17151 /* end confdefs.h. */
17161 rm -f conftest.
$ac_objext conftest
$ac_exeext
17162 if { (ac_try
="$ac_link"
17163 case "(($ac_try" in
17164 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17165 *) ac_try_echo=$ac_try;;
17167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17168 (eval "$ac_link") 2>conftest.er1
17170 grep -v '^ *+' conftest.er1 >conftest.err
17172 cat conftest.err >&5
17173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17174 (exit $ac_status); } && {
17175 test -z "$ac_c_werror_flag" ||
17176 test ! -s conftest.err
17177 } && test -s conftest$ac_exeext &&
17178 $as_test_x conftest$ac_exeext; then
17180 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17182 # Check for a 64-bit object if we didn't find anything.
17183 if test -z "$aix_libpath"; then aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17186 echo "$as_me: failed program was:" >&5
17187 sed 's/^/| /' conftest.$ac_ext >&5
17192 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17193 conftest$ac_exeext conftest.$ac_ext
17194 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17196 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17197 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"
17199 if test "$host_cpu" = ia64; then
17200 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
17201 allow_undefined_flag_GCJ="-z nodefs"
17202 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"
17204 # Determine the default libpath from the value encoded in an empty executable.
17205 cat >conftest.$ac_ext <<_ACEOF
17208 cat confdefs.h >>conftest.$ac_ext
17209 cat >>conftest.$ac_ext <<_ACEOF
17210 /* end confdefs.h. */
17220 rm -f conftest.$ac_objext conftest$ac_exeext
17221 if { (ac_try="$ac_link"
17222 case "(($ac_try" in
17223 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17224 *) ac_try_echo
=$ac_try;;
17226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17227 (eval "$ac_link") 2>conftest.er1
17229 grep -v '^ *+' conftest.er1
>conftest.err
17231 cat conftest.err
>&5
17232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17233 (exit $ac_status); } && {
17234 test -z "$ac_c_werror_flag" ||
17235 test ! -s conftest.err
17236 } && test -s conftest
$ac_exeext &&
17237 $as_test_x conftest
$ac_exeext; then
17239 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17241 # Check for a 64-bit object if we didn't find anything.
17242 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17245 echo "$as_me: failed program was:" >&5
17246 sed 's/^/| /' conftest.
$ac_ext >&5
17251 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17252 conftest
$ac_exeext conftest.
$ac_ext
17253 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
17255 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
17256 # Warning - without using the other run time loading flags,
17257 # -berok will link without error, but may produce a broken library.
17258 no_undefined_flag_GCJ
=' ${wl}-bernotok'
17259 allow_undefined_flag_GCJ
=' ${wl}-berok'
17260 # Exported symbols can be pulled into shared objects from archives
17261 whole_archive_flag_spec_GCJ
='$convenience'
17262 archive_cmds_need_lc_GCJ
=yes
17263 # This is similar to how AIX traditionally builds its shared libraries.
17264 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'
17270 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)'
17271 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17272 hardcode_minus_L_GCJ
=yes
17273 # see comment about different semantics on the GNU ld section
17278 export_dynamic_flag_spec_GCJ
=-rdynamic
17281 cygwin
* | mingw
* | pw32
*)
17282 # When not using gcc, we currently assume that we are using
17283 # Microsoft Visual C++.
17284 # hardcode_libdir_flag_spec is actually meaningless, as there is
17285 # no search path for DLLs.
17286 hardcode_libdir_flag_spec_GCJ
=' '
17287 allow_undefined_flag_GCJ
=unsupported
17288 # Tell ltmain to make .lib files, not .a files.
17290 # Tell ltmain to make .dll files, not .so files.
17292 # FIXME: Setting linknames here is a bad hack.
17293 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17294 # The linker will automatically build a .lib file if we build a DLL.
17295 old_archive_From_new_cmds_GCJ
='true'
17296 # FIXME: Should let the user specify the lib program.
17297 old_archive_cmds_GCJ
='lib /OUT:$oldlib$oldobjs$old_deplibs'
17298 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
17299 enable_shared_with_static_runtimes_GCJ
=yes
17302 darwin
* | rhapsody
*)
17304 rhapsody
* | darwin1.
[012])
17305 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
17308 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17309 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17311 case ${MACOSX_DEPLOYMENT_TARGET} in
17313 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17316 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
17322 archive_cmds_need_lc_GCJ
=no
17323 hardcode_direct_GCJ
=no
17324 hardcode_automatic_GCJ
=yes
17325 hardcode_shlibpath_var_GCJ
=unsupported
17326 whole_archive_flag_spec_GCJ
=''
17327 link_all_deplibs_GCJ
=yes
17328 if test "$GCC" = yes ; then
17329 output_verbose_link_cmd
='echo'
17330 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17331 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17332 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17333 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}'
17334 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}'
17336 case $cc_basename in
17338 output_verbose_link_cmd
='echo'
17339 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
17340 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17341 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17342 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17343 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}'
17353 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17354 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17355 hardcode_shlibpath_var_GCJ
=no
17362 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17363 # support. Future versions do this automatically, but an explicit c++rt0.o
17364 # does not break anything, and helps significantly (at the cost of a little
17367 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17368 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17369 hardcode_direct_GCJ
=yes
17370 hardcode_shlibpath_var_GCJ
=no
17373 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17375 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17376 hardcode_direct_GCJ
=yes
17377 hardcode_minus_L_GCJ
=yes
17378 hardcode_shlibpath_var_GCJ
=no
17381 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17382 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
17383 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17384 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17385 hardcode_direct_GCJ
=yes
17386 hardcode_shlibpath_var_GCJ
=no
17390 if test "$GCC" = yes; then
17391 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'
17393 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'
17395 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17396 hardcode_libdir_separator_GCJ
=:
17397 hardcode_direct_GCJ
=yes
17399 # hardcode_minus_L: Not really in the search PATH,
17400 # but as the default location of the library.
17401 hardcode_minus_L_GCJ
=yes
17402 export_dynamic_flag_spec_GCJ
='${wl}-E'
17406 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17407 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17409 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17411 if test "$with_gnu_ld" = no
; then
17412 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17413 hardcode_libdir_separator_GCJ
=:
17415 hardcode_direct_GCJ
=yes
17416 export_dynamic_flag_spec_GCJ
='${wl}-E'
17418 # hardcode_minus_L: Not really in the search PATH,
17419 # but as the default location of the library.
17420 hardcode_minus_L_GCJ
=yes
17425 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17428 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17431 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17434 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17440 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17443 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17446 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17450 if test "$with_gnu_ld" = no
; then
17451 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17452 hardcode_libdir_separator_GCJ
=:
17456 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
17457 hardcode_direct_GCJ
=no
17458 hardcode_shlibpath_var_GCJ
=no
17461 hardcode_direct_GCJ
=yes
17462 export_dynamic_flag_spec_GCJ
='${wl}-E'
17464 # hardcode_minus_L: Not really in the search PATH,
17465 # but as the default location of the library.
17466 hardcode_minus_L_GCJ
=yes
17472 irix5
* | irix6
* | nonstopux
*)
17473 if test "$GCC" = yes; then
17474 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'
17476 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'
17477 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
17479 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17480 hardcode_libdir_separator_GCJ
=:
17481 link_all_deplibs_GCJ
=yes
17485 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17486 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
17488 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
17490 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17491 hardcode_direct_GCJ
=yes
17492 hardcode_shlibpath_var_GCJ
=no
17496 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17497 hardcode_direct_GCJ
=yes
17498 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17499 hardcode_libdir_separator_GCJ
=:
17500 hardcode_shlibpath_var_GCJ
=no
17504 hardcode_direct_GCJ
=yes
17505 hardcode_shlibpath_var_GCJ
=no
17506 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17507 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17508 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17509 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17510 export_dynamic_flag_spec_GCJ
='${wl}-E'
17513 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
17514 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17515 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17518 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17519 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17526 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17527 hardcode_minus_L_GCJ
=yes
17528 allow_undefined_flag_GCJ
=unsupported
17529 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'
17530 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17534 if test "$GCC" = yes; then
17535 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17536 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'
17538 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17539 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'
17541 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17542 hardcode_libdir_separator_GCJ
=:
17545 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
17546 if test "$GCC" = yes; then
17547 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17548 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'
17549 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17551 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17552 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'
17553 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~
17554 $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'
17556 # Both c and cxx compiler support -rpath directly
17557 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
17559 hardcode_libdir_separator_GCJ
=:
17563 no_undefined_flag_GCJ
=' -z text'
17564 if test "$GCC" = yes; then
17566 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17567 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17568 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
17571 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17572 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17573 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17575 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17576 hardcode_shlibpath_var_GCJ
=no
17578 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
17580 # The compiler driver will combine linker options so we
17581 # cannot just pass the convience library names through
17582 # without $wl, iff we do not link with $LD.
17583 # Luckily, gcc supports the same syntax we need for Sun Studio.
17584 # Supported since Solaris 2.6 (maybe 2.5.1?)
17587 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract' ;;
17589 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
17592 link_all_deplibs_GCJ
=yes
17596 if test "x$host_vendor" = xsequent
; then
17597 # Use $CC to link under sequent, because it throws in some extra .o
17598 # files that make .init and .fini sections work.
17599 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17601 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17603 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17604 hardcode_direct_GCJ
=yes
17605 hardcode_minus_L_GCJ
=yes
17606 hardcode_shlibpath_var_GCJ
=no
17610 case $host_vendor in
17612 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17613 hardcode_direct_GCJ
=yes # is this really true???
17616 ## LD is ld it makes a PLAMLIB
17617 ## CC just makes a GrossModule.
17618 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17619 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
17620 hardcode_direct_GCJ
=no
17623 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17624 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
17627 runpath_var
='LD_RUN_PATH'
17628 hardcode_shlibpath_var_GCJ
=no
17632 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17633 hardcode_shlibpath_var_GCJ
=no
17634 export_dynamic_flag_spec_GCJ
='-Bexport'
17638 if test -d /usr
/nec
; then
17639 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17640 hardcode_shlibpath_var_GCJ
=no
17641 runpath_var
=LD_RUN_PATH
17642 hardcode_runpath_var
=yes
17647 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
17648 no_undefined_flag_GCJ
='${wl}-z,text'
17649 archive_cmds_need_lc_GCJ
=no
17650 hardcode_shlibpath_var_GCJ
=no
17651 runpath_var
='LD_RUN_PATH'
17653 if test "$GCC" = yes; then
17654 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17655 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17657 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17658 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17662 sysv5
* | sco3.2v5
* | sco5v6
*)
17663 # Note: We can NOT use -z defs as we might desire, because we do not
17664 # link with -lc, and that would cause any symbols used from libc to
17665 # always be unresolved, which means just about no library would
17666 # ever link correctly. If we're not using GNU ld we use -z text
17667 # though, which does catch some bad symbols but isn't as heavy-handed
17669 no_undefined_flag_GCJ
='${wl}-z,text'
17670 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
17671 archive_cmds_need_lc_GCJ
=no
17672 hardcode_shlibpath_var_GCJ
=no
17673 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
17674 hardcode_libdir_separator_GCJ
=':'
17675 link_all_deplibs_GCJ
=yes
17676 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
17677 runpath_var
='LD_RUN_PATH'
17679 if test "$GCC" = yes; then
17680 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17681 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17683 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17684 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17689 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17690 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17691 hardcode_shlibpath_var_GCJ
=no
17700 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17701 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
17702 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
17705 # Do we need to explicitly link libc?
17707 case "x$archive_cmds_need_lc_GCJ" in
17709 # Assume -lc should be added
17710 archive_cmds_need_lc_GCJ
=yes
17712 if test "$enable_shared" = yes && test "$GCC" = yes; then
17713 case $archive_cmds_GCJ in
17715 # FIXME: we may have to deal with multi-command sequences.
17718 # Test whether the compiler implicitly links with -lc since on some
17719 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17720 # to ld, don't add -lc before -lgcc.
17721 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17722 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
17724 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
17726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17727 (eval $ac_compile) 2>&5
17729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17730 (exit $ac_status); } 2>conftest.err
; then
17733 libobjs
=conftest.
$ac_objext
17735 wl
=$lt_prog_compiler_wl_GCJ
17736 pic_flag
=$lt_prog_compiler_pic_GCJ
17742 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
17743 allow_undefined_flag_GCJ
=
17744 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
17745 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
17747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17748 (exit $ac_status); }
17750 archive_cmds_need_lc_GCJ
=no
17752 archive_cmds_need_lc_GCJ
=yes
17754 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
17756 cat conftest.err
1>&5
17759 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17760 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
17767 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17768 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
17769 library_names_spec
=
17770 libname_spec
='lib$name'
17774 postuninstall_cmds
=
17778 shlibpath_overrides_runpath
=unknown
17780 dynamic_linker
="$host_os ld.so"
17781 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
17782 if test "$GCC" = yes; then
17783 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17784 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
17785 # if the path contains ";" then we assume it to be the separator
17786 # otherwise default to the standard path separator (i.e. ":") - it is
17787 # assumed that no part of a normal pathname contains ";" but that should
17788 # okay in the real world where ";" in dirpaths is itself problematic.
17789 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17791 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17794 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
17796 need_lib_prefix
=unknown
17797 hardcode_into_libs
=no
17799 # when you set need_version to no, make sure it does not cause -set_version
17800 # flags to be left without arguments
17801 need_version
=unknown
17806 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
17807 shlibpath_var
=LIBPATH
17809 # AIX 3 has no versioning support, so we append a major version to the name.
17810 soname_spec
='${libname}${release}${shared_ext}$major'
17817 hardcode_into_libs
=yes
17818 if test "$host_cpu" = ia64
; then
17819 # AIX 5 supports IA64
17820 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17821 shlibpath_var
=LD_LIBRARY_PATH
17823 # With GCC up to 2.95.x, collect2 would create an import file
17824 # for dependence libraries. The import file would start with
17825 # the line `#! .'. This would cause the generated library to
17826 # depend on `.', always an invalid library. This was fixed in
17827 # development snapshots of GCC prior to 3.0.
17829 aix4 | aix4.
[01] | aix4.
[01].
*)
17830 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17832 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
17835 can_build_shared
=no
17839 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17840 # soname into executable. Probably we can add versioning support to
17841 # collect2, so additional links can be useful in future.
17842 if test "$aix_use_runtimelinking" = yes; then
17843 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17844 # instead of lib<name>.a to let people know that these are not
17845 # typical AIX shared libraries.
17846 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17848 # We preserve .a as extension for shared libraries through AIX4.2
17849 # and later when we are not doing run time linking.
17850 library_names_spec
='${libname}${release}.a $libname.a'
17851 soname_spec
='${libname}${release}${shared_ext}$major'
17853 shlibpath_var
=LIBPATH
17858 library_names_spec
='$libname.ixlibrary $libname.a'
17859 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17860 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'
17864 library_names_spec
='${libname}${shared_ext}'
17865 dynamic_linker
="$host_os ld.so"
17866 shlibpath_var
=LIBRARY_PATH
17872 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17873 soname_spec
='${libname}${release}${shared_ext}$major'
17874 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
17875 shlibpath_var
=LD_LIBRARY_PATH
17876 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17877 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
17878 # the default ld.so.conf also contains /usr/contrib/lib and
17879 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17880 # libtool to hard-code these into programs
17883 cygwin
* | mingw
* | pw32
*)
17884 version_type
=windows
17889 case $GCC,$host_os in
17890 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
17891 library_names_spec
='$libname.dll.a'
17892 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17893 postinstall_cmds
='base_file=`basename \${file}`~
17894 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
17895 dldir=$destdir/`dirname \$dlpath`~
17896 test -d \$dldir || mkdir -p \$dldir~
17897 $install_prog $dir/$dlname \$dldir/$dlname~
17898 chmod a+x \$dldir/$dlname'
17899 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17900 dlpath=$dir/\$dldll~
17902 shlibpath_overrides_runpath
=yes
17906 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17907 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17908 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
17911 # MinGW DLLs use traditional 'lib' prefix
17912 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17913 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17914 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
17915 # It is most probably a Windows format PATH printed by
17916 # mingw gcc, but we are running on Cygwin. Gcc prints its search
17917 # path with ; separators, and with drive letters. We can handle the
17918 # drive letters (cygwin fileutils understands them), so leave them,
17919 # especially as we might pass files found there to a mingw objdump,
17920 # which wouldn't understand a cygwinified path. Ahh.
17921 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17923 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17927 # pw32 DLLs use 'pw' prefix rather than 'lib'
17928 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17934 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17937 dynamic_linker
='Win32 ld.exe'
17938 # FIXME: first we should search . and the directory the executable is in
17942 darwin
* | rhapsody
*)
17943 dynamic_linker
="$host_os dyld"
17944 version_type
=darwin
17947 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17948 soname_spec
='${libname}${release}${major}$shared_ext'
17949 shlibpath_overrides_runpath
=yes
17950 shlibpath_var
=DYLD_LIBRARY_PATH
17951 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
17952 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
17953 if test "$GCC" = yes; then
17954 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
17956 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
17958 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
17965 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17966 soname_spec
='${libname}${release}${shared_ext}$major'
17967 shlibpath_var
=LD_LIBRARY_PATH
17978 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17979 soname_spec
='${libname}${release}${shared_ext}$major'
17980 shlibpath_var
=LD_LIBRARY_PATH
17981 shlibpath_overrides_runpath
=no
17982 hardcode_into_libs
=yes
17983 dynamic_linker
='GNU ld.so'
17986 freebsd
* | dragonfly
*)
17987 # DragonFly does not have aout. When/if they implement a new
17988 # versioning mechanism, adjust this.
17989 if test -x /usr
/bin
/objformat
; then
17990 objformat
=`/usr/bin/objformat`
17993 freebsd
[123]*) objformat
=aout
;;
17994 *) objformat
=elf
;;
17997 version_type
=freebsd-
$objformat
17998 case $version_type in
18000 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18005 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18009 shlibpath_var
=LD_LIBRARY_PATH
18012 shlibpath_overrides_runpath
=yes
18014 freebsd3.
[01]* | freebsdelf3.
[01]*)
18015 shlibpath_overrides_runpath
=yes
18016 hardcode_into_libs
=yes
18018 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
18019 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
18020 shlibpath_overrides_runpath
=no
18021 hardcode_into_libs
=yes
18023 freebsd
*) # from 4.6 on
18024 shlibpath_overrides_runpath
=yes
18025 hardcode_into_libs
=yes
18034 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18035 soname_spec
='${libname}${release}${shared_ext}$major'
18036 shlibpath_var
=LD_LIBRARY_PATH
18037 hardcode_into_libs
=yes
18040 hpux9
* | hpux10
* | hpux11
*)
18041 # Give a soname corresponding to the major version so that dld.sl refuses to
18042 # link against other versions.
18049 hardcode_into_libs
=yes
18050 dynamic_linker
="$host_os dld.so"
18051 shlibpath_var
=LD_LIBRARY_PATH
18052 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18053 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18054 soname_spec
='${libname}${release}${shared_ext}$major'
18055 if test "X$HPUX_IA64_MODE" = X32
; then
18056 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18058 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
18060 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18064 hardcode_into_libs
=yes
18065 dynamic_linker
="$host_os dld.sl"
18066 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
18067 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18068 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18069 soname_spec
='${libname}${release}${shared_ext}$major'
18070 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18071 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18075 dynamic_linker
="$host_os dld.sl"
18076 shlibpath_var
=SHLIB_PATH
18077 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
18078 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18079 soname_spec
='${libname}${release}${shared_ext}$major'
18082 # HP-UX runs *really* slowly unless shared libraries are mode 555.
18083 postinstall_cmds
='chmod 555 $lib'
18090 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18091 soname_spec
='${libname}${release}${shared_ext}$major'
18092 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
18093 shlibpath_var
=LD_LIBRARY_PATH
18094 shlibpath_overrides_runpath
=no
18095 hardcode_into_libs
=yes
18098 irix5
* | irix6
* | nonstopux
*)
18100 nonstopux
*) version_type
=nonstopux
;;
18102 if test "$lt_cv_prog_gnu_ld" = yes; then
18110 soname_spec
='${libname}${release}${shared_ext}$major'
18111 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18113 irix5
* | nonstopux
*)
18114 libsuff
= shlibsuff
=
18117 case $LD in # libtool.m4 will add one of these switches to LD
18118 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
18119 libsuff
= shlibsuff
= libmagic
=32-bit;;
18120 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
18121 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
18122 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
18123 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
18124 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
18128 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
18129 shlibpath_overrides_runpath
=no
18130 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18131 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
18132 hardcode_into_libs
=yes
18135 # No shared lib support for Linux oldld, aout, or coff.
18136 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
18140 # This must be Linux ELF.
18145 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18146 soname_spec
='${libname}${release}${shared_ext}$major'
18147 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18148 shlibpath_var
=LD_LIBRARY_PATH
18149 shlibpath_overrides_runpath
=no
18150 # This implies no fast_install, which is unacceptable.
18151 # Some rework will be needed to allow for fast_install
18152 # before this can be enabled.
18153 hardcode_into_libs
=yes
18155 # find out which ABI we are using
18157 case "$host_cpu" in
18158 x86_64
*|s390x
*|powerpc64
*)
18159 echo '#line 18159 "configure"' > conftest.
$ac_ext
18160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18161 (eval $ac_compile) 2>&5
18163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18164 (exit $ac_status); }; then
18165 case `/usr/bin/file conftest.$ac_objext` in
18168 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
18176 # Append ld.so.conf contents to the search path
18177 if test -f /etc
/ld.so.conf
; then
18178 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/^ *//;s/#.*//;/^[^\/]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
18179 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
18182 # We used to test for /lib/ld.so.1 and disable shared libraries on
18183 # powerpc, because MkLinux only supported shared libraries with the
18184 # GNU dynamic linker. Since this was broken with cross compilers,
18185 # most powerpc-linux boxes support dynamic linking these days and
18186 # people can always --disable-shared, the test was removed, and we
18187 # assume the GNU/Linux dynamic linker is in use.
18188 dynamic_linker
='GNU/Linux ld.so'
18195 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18196 soname_spec
='${libname}${release}${shared_ext}$major'
18197 shlibpath_var
=LD_LIBRARY_PATH
18198 shlibpath_overrides_runpath
=no
18199 hardcode_into_libs
=yes
18200 dynamic_linker
='GNU ld.so'
18207 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18208 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18209 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18210 dynamic_linker
='NetBSD (a.out) ld.so'
18212 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18213 soname_spec
='${libname}${release}${shared_ext}$major'
18214 dynamic_linker
='NetBSD ld.elf_so'
18216 shlibpath_var
=LD_LIBRARY_PATH
18217 shlibpath_overrides_runpath
=yes
18218 hardcode_into_libs
=yes
18223 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18224 shlibpath_var
=LD_LIBRARY_PATH
18225 shlibpath_overrides_runpath
=yes
18232 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18233 soname_spec
='${libname}${release}${shared_ext}$major'
18234 shlibpath_var
=LD_LIBRARY_PATH
18235 shlibpath_overrides_runpath
=yes
18240 sys_lib_dlsearch_path_spec
="/usr/lib"
18242 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18244 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
18245 *) need_version
=no
;;
18247 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18248 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18249 shlibpath_var
=LD_LIBRARY_PATH
18250 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18252 openbsd2.
[89] | openbsd2.
[89].
*)
18253 shlibpath_overrides_runpath
=no
18256 shlibpath_overrides_runpath
=yes
18260 shlibpath_overrides_runpath
=yes
18265 libname_spec
='$name'
18268 library_names_spec
='$libname${shared_ext} $libname.a'
18269 dynamic_linker
='OS/2 ld.exe'
18270 shlibpath_var
=LIBPATH
18273 osf3
* | osf4
* | osf5
*)
18277 soname_spec
='${libname}${release}${shared_ext}$major'
18278 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18279 shlibpath_var
=LD_LIBRARY_PATH
18280 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18281 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
18288 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18289 soname_spec
='${libname}${release}${shared_ext}$major'
18290 shlibpath_var
=LD_LIBRARY_PATH
18291 shlibpath_overrides_runpath
=yes
18292 hardcode_into_libs
=yes
18293 # ldd complains unless libraries are executable
18294 postinstall_cmds
='chmod +x $lib'
18299 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18300 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18301 shlibpath_var
=LD_LIBRARY_PATH
18302 shlibpath_overrides_runpath
=yes
18303 if test "$with_gnu_ld" = yes; then
18311 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18312 soname_spec
='${libname}${release}${shared_ext}$major'
18313 shlibpath_var
=LD_LIBRARY_PATH
18314 case $host_vendor in
18316 shlibpath_overrides_runpath
=no
18318 export_dynamic_flag_spec
='${wl}-Blargedynsym'
18319 runpath_var
=LD_RUN_PATH
18327 shlibpath_overrides_runpath
=no
18328 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
18334 if test -d /usr
/nec
;then
18336 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18337 soname_spec
='$libname${shared_ext}.$major'
18338 shlibpath_var
=LD_LIBRARY_PATH
18342 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
18343 version_type
=freebsd-elf
18346 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18347 soname_spec
='${libname}${release}${shared_ext}$major'
18348 shlibpath_var
=LD_LIBRARY_PATH
18349 hardcode_into_libs
=yes
18350 if test "$with_gnu_ld" = yes; then
18351 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18352 shlibpath_overrides_runpath
=no
18354 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
18355 shlibpath_overrides_runpath
=yes
18358 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
18362 sys_lib_dlsearch_path_spec
='/usr/lib'
18367 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18368 soname_spec
='${libname}${release}${shared_ext}$major'
18369 shlibpath_var
=LD_LIBRARY_PATH
18376 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18377 echo "${ECHO_T}$dynamic_linker" >&6; }
18378 test "$dynamic_linker" = no
&& can_build_shared
=no
18380 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
18381 if test "$GCC" = yes; then
18382 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18385 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18386 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
18387 hardcode_action_GCJ
=
18388 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18389 test -n "$runpath_var_GCJ" || \
18390 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18392 # We can hardcode non-existant directories.
18393 if test "$hardcode_direct_GCJ" != no
&&
18394 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18395 # have to relink, otherwise we might link with an installed library
18396 # when we should be linking with a yet-to-be-installed one
18397 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18398 test "$hardcode_minus_L_GCJ" != no
; then
18399 # Linking always hardcodes the temporary library directory.
18400 hardcode_action_GCJ
=relink
18402 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18403 hardcode_action_GCJ
=immediate
18406 # We cannot hardcode anything, or else we can only hardcode existing
18408 hardcode_action_GCJ
=unsupported
18410 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18411 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
18413 if test "$hardcode_action_GCJ" = relink
; then
18414 # Fast installation is not supported
18415 enable_fast_install
=no
18416 elif test "$shlibpath_overrides_runpath" = yes ||
18417 test "$enable_shared" = no
; then
18418 # Fast installation is not necessary
18419 enable_fast_install
=needless
18423 # The else clause should only fire when bootstrapping the
18424 # libtool distribution, otherwise you forgot to ship ltmain.sh
18425 # with your package, and you will get complaints that there are
18426 # no rules to generate ltmain.sh.
18427 if test -f "$ltmain"; then
18428 # See if we are running on zsh, and set the options which allow our commands through
18429 # without removal of \ escapes.
18430 if test -n "${ZSH_VERSION+set}" ; then
18431 setopt NO_GLOB_SUBST
18433 # Now quote all the things that may contain metacharacters while being
18434 # careful not to overquote the AC_SUBSTed values. We take copies of the
18435 # variables and quote the copies for generation of the libtool script.
18436 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18438 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18439 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18440 deplibs_check_method reload_flag reload_cmds need_locks \
18441 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18442 lt_cv_sys_global_symbol_to_c_name_address \
18443 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18444 old_postinstall_cmds old_postuninstall_cmds \
18448 lt_prog_compiler_wl_GCJ \
18449 lt_prog_compiler_pic_GCJ \
18450 lt_prog_compiler_static_GCJ \
18451 lt_prog_compiler_no_builtin_flag_GCJ \
18452 export_dynamic_flag_spec_GCJ \
18453 thread_safe_flag_spec_GCJ \
18454 whole_archive_flag_spec_GCJ \
18455 enable_shared_with_static_runtimes_GCJ \
18456 old_archive_cmds_GCJ \
18457 old_archive_from_new_cmds_GCJ \
18458 predep_objects_GCJ \
18459 postdep_objects_GCJ \
18462 compiler_lib_search_path_GCJ \
18464 archive_expsym_cmds_GCJ \
18465 postinstall_cmds_GCJ \
18466 postuninstall_cmds_GCJ \
18467 old_archive_from_expsyms_cmds_GCJ \
18468 allow_undefined_flag_GCJ \
18469 no_undefined_flag_GCJ \
18470 export_symbols_cmds_GCJ \
18471 hardcode_libdir_flag_spec_GCJ \
18472 hardcode_libdir_flag_spec_ld_GCJ \
18473 hardcode_libdir_separator_GCJ \
18474 hardcode_automatic_GCJ \
18476 module_expsym_cmds_GCJ \
18477 lt_cv_prog_compiler_c_o_GCJ \
18478 exclude_expsyms_GCJ \
18479 include_expsyms_GCJ
; do
18482 old_archive_cmds_GCJ | \
18483 old_archive_from_new_cmds_GCJ | \
18484 archive_cmds_GCJ | \
18485 archive_expsym_cmds_GCJ | \
18486 module_cmds_GCJ | \
18487 module_expsym_cmds_GCJ | \
18488 old_archive_from_expsyms_cmds_GCJ | \
18489 export_symbols_cmds_GCJ | \
18490 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18491 postinstall_cmds | postuninstall_cmds | \
18492 old_postinstall_cmds | old_postuninstall_cmds | \
18493 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18494 # Double-quote double-evaled strings.
18495 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18498 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18504 *'\$0 --fallback-echo"')
18505 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18511 cat <<__EOF__ >> "$cfgfile"
18512 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18514 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18516 # Shell to use when invoking shell scripts.
18519 # Whether or not to build shared libraries.
18520 build_libtool_libs=$enable_shared
18522 # Whether or not to build static libraries.
18523 build_old_libs=$enable_static
18525 # Whether or not to add -lc for building shared libraries.
18526 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
18528 # Whether or not to disallow shared libs when runtime libs are static
18529 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
18531 # Whether or not to optimize for fast installation.
18532 fast_install=$enable_fast_install
18535 host_alias=$host_alias
18539 # The build system.
18540 build_alias=$build_alias
18544 # An echo program that does not interpret backslashes.
18549 AR_FLAGS=$lt_AR_FLAGS
18554 # LTCC compiler flags.
18555 LTCFLAGS=$lt_LTCFLAGS
18557 # A language-specific compiler.
18558 CC=$lt_compiler_GCJ
18560 # Is the compiler the GNU C compiler?
18566 # The linker used to build libraries.
18569 # Whether we need hard or soft links.
18572 # A BSD-compatible nm program.
18575 # A symbol stripping program
18578 # Used to examine libraries when file_magic_cmd begins "file"
18579 MAGIC_CMD=$MAGIC_CMD
18581 # Used on cygwin: DLL creation program.
18584 # Used on cygwin: object dumper.
18587 # Used on cygwin: assembler.
18590 # The name of the directory that contains temporary libtool files.
18593 # How to create reloadable object files.
18594 reload_flag=$lt_reload_flag
18595 reload_cmds=$lt_reload_cmds
18597 # How to pass a linker flag through the compiler.
18598 wl=$lt_lt_prog_compiler_wl_GCJ
18600 # Object file suffix (normally "o").
18601 objext="$ac_objext"
18603 # Old archive suffix (normally "a").
18606 # Shared library suffix (normally ".so").
18607 shrext_cmds='$shrext_cmds'
18609 # Executable file suffix (normally "").
18612 # Additional compiler flags for building library objects.
18613 pic_flag=$lt_lt_prog_compiler_pic_GCJ
18616 # What is the maximum length of a command?
18617 max_cmd_len=$lt_cv_sys_max_cmd_len
18619 # Does compiler simultaneously support -c and -o options?
18620 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
18622 # Must we lock files when doing compilation?
18623 need_locks=$lt_need_locks
18625 # Do we need the lib prefix for modules?
18626 need_lib_prefix=$need_lib_prefix
18628 # Do we need a version for libraries?
18629 need_version=$need_version
18631 # Whether dlopen is supported.
18632 dlopen_support=$enable_dlopen
18634 # Whether dlopen of programs is supported.
18635 dlopen_self=$enable_dlopen_self
18637 # Whether dlopen of statically linked programs is supported.
18638 dlopen_self_static=$enable_dlopen_self_static
18640 # Compiler flag to prevent dynamic linking.
18641 link_static_flag=$lt_lt_prog_compiler_static_GCJ
18643 # Compiler flag to turn off builtin functions.
18644 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
18646 # Compiler flag to allow reflexive dlopens.
18647 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
18649 # Compiler flag to generate shared objects directly from archives.
18650 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
18652 # Compiler flag to generate thread-safe objects.
18653 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
18655 # Library versioning type.
18656 version_type=$version_type
18658 # Format of library name prefix.
18659 libname_spec=$lt_libname_spec
18661 # List of archive names. First name is the real one, the rest are links.
18662 # The last name is the one that the linker finds with -lNAME.
18663 library_names_spec=$lt_library_names_spec
18665 # The coded name of the library, if different from the real name.
18666 soname_spec=$lt_soname_spec
18668 # Commands used to build and install an old-style archive.
18670 old_archive_cmds=$lt_old_archive_cmds_GCJ
18671 old_postinstall_cmds=$lt_old_postinstall_cmds
18672 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18674 # Create an old-style archive from a shared archive.
18675 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
18677 # Create a temporary old-style archive to link instead of a shared archive.
18678 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
18680 # Commands used to build and install a shared archive.
18681 archive_cmds=$lt_archive_cmds_GCJ
18682 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
18683 postinstall_cmds=$lt_postinstall_cmds
18684 postuninstall_cmds=$lt_postuninstall_cmds
18686 # Commands used to build a loadable module (assumed same as above if empty)
18687 module_cmds=$lt_module_cmds_GCJ
18688 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
18690 # Commands to strip libraries.
18691 old_striplib=$lt_old_striplib
18692 striplib=$lt_striplib
18694 # Dependencies to place before the objects being linked to create a
18696 predep_objects=$lt_predep_objects_GCJ
18698 # Dependencies to place after the objects being linked to create a
18700 postdep_objects=$lt_postdep_objects_GCJ
18702 # Dependencies to place before the objects being linked to create a
18704 predeps=$lt_predeps_GCJ
18706 # Dependencies to place after the objects being linked to create a
18708 postdeps=$lt_postdeps_GCJ
18710 # The library search path used internally by the compiler when linking
18711 # a shared library.
18712 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
18714 # Method to check whether dependent libraries are shared objects.
18715 deplibs_check_method=$lt_deplibs_check_method
18717 # Command to use when deplibs_check_method == file_magic.
18718 file_magic_cmd=$lt_file_magic_cmd
18720 # Flag that allows shared libraries with undefined symbols to be built.
18721 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
18723 # Flag that forces no undefined symbols.
18724 no_undefined_flag=$lt_no_undefined_flag_GCJ
18726 # Commands used to finish a libtool library installation in a directory.
18727 finish_cmds=$lt_finish_cmds
18729 # Same as above, but a single script fragment to be evaled but not shown.
18730 finish_eval=$lt_finish_eval
18732 # Take the output of nm and produce a listing of raw symbols and C names.
18733 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18735 # Transform the output of nm in a proper C declaration
18736 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18738 # Transform the output of nm in a C name address pair
18739 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18741 # This is the shared library runtime path variable.
18742 runpath_var=$runpath_var
18744 # This is the shared library path variable.
18745 shlibpath_var=$shlibpath_var
18747 # Is shlibpath searched before the hard-coded library search path?
18748 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18750 # How to hardcode a shared library path into an executable.
18751 hardcode_action=$hardcode_action_GCJ
18753 # Whether we should hardcode library paths into libraries.
18754 hardcode_into_libs=$hardcode_into_libs
18756 # Flag to hardcode \$libdir into a binary during linking.
18757 # This must work even if \$libdir does not exist.
18758 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
18760 # If ld is used when linking, flag to hardcode \$libdir into
18761 # a binary during linking. This must work even if \$libdir does
18763 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
18765 # Whether we need a single -rpath flag with a separated argument.
18766 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
18768 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18769 # resulting binary.
18770 hardcode_direct=$hardcode_direct_GCJ
18772 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18773 # resulting binary.
18774 hardcode_minus_L=$hardcode_minus_L_GCJ
18776 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18777 # the resulting binary.
18778 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
18780 # Set to yes if building a shared library automatically hardcodes DIR into the library
18781 # and all subsequent libraries and executables linked against it.
18782 hardcode_automatic=$hardcode_automatic_GCJ
18784 # Variables whose values should be saved in libtool wrapper scripts and
18785 # restored at relink time.
18786 variables_saved_for_relink="$variables_saved_for_relink"
18788 # Whether libtool must link a program against all its dependency libraries.
18789 link_all_deplibs=$link_all_deplibs_GCJ
18791 # Compile-time system search path for libraries
18792 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18794 # Run-time system search path for libraries
18795 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18797 # Fix the shell variable \$srcfile for the compiler.
18798 fix_srcfile_path="$fix_srcfile_path_GCJ"
18800 # Set to yes if exported symbols are required.
18801 always_export_symbols=$always_export_symbols_GCJ
18803 # The commands to list exported symbols.
18804 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
18806 # The commands to extract the exported symbol list from a shared archive.
18807 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18809 # Symbols that should not be listed in the preloaded symbols.
18810 exclude_expsyms=$lt_exclude_expsyms_GCJ
18812 # Symbols that must always be exported.
18813 include_expsyms=$lt_include_expsyms_GCJ
18815 # ### END LIBTOOL TAG CONFIG: $tagname
18821 # If there is no Makefile yet, we rely on a make rule to execute
18822 # `config.status --recheck' to rerun these tests and create the
18823 # libtool script then.
18824 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18825 if test -f "$ltmain_in"; then
18826 test -f Makefile
&& make "$ltmain"
18832 ac_cpp
='$CPP $CPPFLAGS'
18833 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18834 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18835 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18847 # Source file extension for RC test sources.
18850 # Object file extension for compiled RC test sources.
18854 # Code to be used in simple compile tests
18855 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
18857 # Code to be used in simple link tests
18858 lt_simple_link_test_code
="$lt_simple_compile_test_code"
18860 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18862 # If no C compiler was specified, use CC.
18865 # If no C compiler flags were specified, use CFLAGS.
18866 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
18868 # Allow CC to be a program name with arguments.
18872 # save warnings/boilerplate of simple test code
18873 ac_outfile
=conftest.
$ac_objext
18874 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
18875 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
18876 _lt_compiler_boilerplate
=`cat conftest.err`
18879 ac_outfile
=conftest.
$ac_objext
18880 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
18881 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
18882 _lt_linker_boilerplate
=`cat conftest.err`
18886 # Allow CC to be a program name with arguments.
18891 for cc_temp
in $compiler""; do
18893 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
18894 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
18899 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18901 lt_cv_prog_compiler_c_o_RC
=yes
18903 # The else clause should only fire when bootstrapping the
18904 # libtool distribution, otherwise you forgot to ship ltmain.sh
18905 # with your package, and you will get complaints that there are
18906 # no rules to generate ltmain.sh.
18907 if test -f "$ltmain"; then
18908 # See if we are running on zsh, and set the options which allow our commands through
18909 # without removal of \ escapes.
18910 if test -n "${ZSH_VERSION+set}" ; then
18911 setopt NO_GLOB_SUBST
18913 # Now quote all the things that may contain metacharacters while being
18914 # careful not to overquote the AC_SUBSTed values. We take copies of the
18915 # variables and quote the copies for generation of the libtool script.
18916 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18918 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18919 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18920 deplibs_check_method reload_flag reload_cmds need_locks \
18921 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18922 lt_cv_sys_global_symbol_to_c_name_address \
18923 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18924 old_postinstall_cmds old_postuninstall_cmds \
18928 lt_prog_compiler_wl_RC \
18929 lt_prog_compiler_pic_RC \
18930 lt_prog_compiler_static_RC \
18931 lt_prog_compiler_no_builtin_flag_RC \
18932 export_dynamic_flag_spec_RC \
18933 thread_safe_flag_spec_RC \
18934 whole_archive_flag_spec_RC \
18935 enable_shared_with_static_runtimes_RC \
18936 old_archive_cmds_RC \
18937 old_archive_from_new_cmds_RC \
18938 predep_objects_RC \
18939 postdep_objects_RC \
18942 compiler_lib_search_path_RC \
18944 archive_expsym_cmds_RC \
18945 postinstall_cmds_RC \
18946 postuninstall_cmds_RC \
18947 old_archive_from_expsyms_cmds_RC \
18948 allow_undefined_flag_RC \
18949 no_undefined_flag_RC \
18950 export_symbols_cmds_RC \
18951 hardcode_libdir_flag_spec_RC \
18952 hardcode_libdir_flag_spec_ld_RC \
18953 hardcode_libdir_separator_RC \
18954 hardcode_automatic_RC \
18956 module_expsym_cmds_RC \
18957 lt_cv_prog_compiler_c_o_RC \
18958 exclude_expsyms_RC \
18959 include_expsyms_RC
; do
18962 old_archive_cmds_RC | \
18963 old_archive_from_new_cmds_RC | \
18964 archive_cmds_RC | \
18965 archive_expsym_cmds_RC | \
18967 module_expsym_cmds_RC | \
18968 old_archive_from_expsyms_cmds_RC | \
18969 export_symbols_cmds_RC | \
18970 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18971 postinstall_cmds | postuninstall_cmds | \
18972 old_postinstall_cmds | old_postuninstall_cmds | \
18973 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18974 # Double-quote double-evaled strings.
18975 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18978 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18984 *'\$0 --fallback-echo"')
18985 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18991 cat <<__EOF__ >> "$cfgfile"
18992 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18994 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18996 # Shell to use when invoking shell scripts.
18999 # Whether or not to build shared libraries.
19000 build_libtool_libs=$enable_shared
19002 # Whether or not to build static libraries.
19003 build_old_libs=$enable_static
19005 # Whether or not to add -lc for building shared libraries.
19006 build_libtool_need_lc=$archive_cmds_need_lc_RC
19008 # Whether or not to disallow shared libs when runtime libs are static
19009 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19011 # Whether or not to optimize for fast installation.
19012 fast_install=$enable_fast_install
19015 host_alias=$host_alias
19019 # The build system.
19020 build_alias=$build_alias
19024 # An echo program that does not interpret backslashes.
19029 AR_FLAGS=$lt_AR_FLAGS
19034 # LTCC compiler flags.
19035 LTCFLAGS=$lt_LTCFLAGS
19037 # A language-specific compiler.
19040 # Is the compiler the GNU C compiler?
19046 # The linker used to build libraries.
19049 # Whether we need hard or soft links.
19052 # A BSD-compatible nm program.
19055 # A symbol stripping program
19058 # Used to examine libraries when file_magic_cmd begins "file"
19059 MAGIC_CMD=$MAGIC_CMD
19061 # Used on cygwin: DLL creation program.
19064 # Used on cygwin: object dumper.
19067 # Used on cygwin: assembler.
19070 # The name of the directory that contains temporary libtool files.
19073 # How to create reloadable object files.
19074 reload_flag=$lt_reload_flag
19075 reload_cmds=$lt_reload_cmds
19077 # How to pass a linker flag through the compiler.
19078 wl=$lt_lt_prog_compiler_wl_RC
19080 # Object file suffix (normally "o").
19081 objext="$ac_objext"
19083 # Old archive suffix (normally "a").
19086 # Shared library suffix (normally ".so").
19087 shrext_cmds='$shrext_cmds'
19089 # Executable file suffix (normally "").
19092 # Additional compiler flags for building library objects.
19093 pic_flag=$lt_lt_prog_compiler_pic_RC
19096 # What is the maximum length of a command?
19097 max_cmd_len=$lt_cv_sys_max_cmd_len
19099 # Does compiler simultaneously support -c and -o options?
19100 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19102 # Must we lock files when doing compilation?
19103 need_locks=$lt_need_locks
19105 # Do we need the lib prefix for modules?
19106 need_lib_prefix=$need_lib_prefix
19108 # Do we need a version for libraries?
19109 need_version=$need_version
19111 # Whether dlopen is supported.
19112 dlopen_support=$enable_dlopen
19114 # Whether dlopen of programs is supported.
19115 dlopen_self=$enable_dlopen_self
19117 # Whether dlopen of statically linked programs is supported.
19118 dlopen_self_static=$enable_dlopen_self_static
19120 # Compiler flag to prevent dynamic linking.
19121 link_static_flag=$lt_lt_prog_compiler_static_RC
19123 # Compiler flag to turn off builtin functions.
19124 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19126 # Compiler flag to allow reflexive dlopens.
19127 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19129 # Compiler flag to generate shared objects directly from archives.
19130 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19132 # Compiler flag to generate thread-safe objects.
19133 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19135 # Library versioning type.
19136 version_type=$version_type
19138 # Format of library name prefix.
19139 libname_spec=$lt_libname_spec
19141 # List of archive names. First name is the real one, the rest are links.
19142 # The last name is the one that the linker finds with -lNAME.
19143 library_names_spec=$lt_library_names_spec
19145 # The coded name of the library, if different from the real name.
19146 soname_spec=$lt_soname_spec
19148 # Commands used to build and install an old-style archive.
19150 old_archive_cmds=$lt_old_archive_cmds_RC
19151 old_postinstall_cmds=$lt_old_postinstall_cmds
19152 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19154 # Create an old-style archive from a shared archive.
19155 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19157 # Create a temporary old-style archive to link instead of a shared archive.
19158 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19160 # Commands used to build and install a shared archive.
19161 archive_cmds=$lt_archive_cmds_RC
19162 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19163 postinstall_cmds=$lt_postinstall_cmds
19164 postuninstall_cmds=$lt_postuninstall_cmds
19166 # Commands used to build a loadable module (assumed same as above if empty)
19167 module_cmds=$lt_module_cmds_RC
19168 module_expsym_cmds=$lt_module_expsym_cmds_RC
19170 # Commands to strip libraries.
19171 old_striplib=$lt_old_striplib
19172 striplib=$lt_striplib
19174 # Dependencies to place before the objects being linked to create a
19176 predep_objects=$lt_predep_objects_RC
19178 # Dependencies to place after the objects being linked to create a
19180 postdep_objects=$lt_postdep_objects_RC
19182 # Dependencies to place before the objects being linked to create a
19184 predeps=$lt_predeps_RC
19186 # Dependencies to place after the objects being linked to create a
19188 postdeps=$lt_postdeps_RC
19190 # The library search path used internally by the compiler when linking
19191 # a shared library.
19192 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19194 # Method to check whether dependent libraries are shared objects.
19195 deplibs_check_method=$lt_deplibs_check_method
19197 # Command to use when deplibs_check_method == file_magic.
19198 file_magic_cmd=$lt_file_magic_cmd
19200 # Flag that allows shared libraries with undefined symbols to be built.
19201 allow_undefined_flag=$lt_allow_undefined_flag_RC
19203 # Flag that forces no undefined symbols.
19204 no_undefined_flag=$lt_no_undefined_flag_RC
19206 # Commands used to finish a libtool library installation in a directory.
19207 finish_cmds=$lt_finish_cmds
19209 # Same as above, but a single script fragment to be evaled but not shown.
19210 finish_eval=$lt_finish_eval
19212 # Take the output of nm and produce a listing of raw symbols and C names.
19213 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19215 # Transform the output of nm in a proper C declaration
19216 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19218 # Transform the output of nm in a C name address pair
19219 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19221 # This is the shared library runtime path variable.
19222 runpath_var=$runpath_var
19224 # This is the shared library path variable.
19225 shlibpath_var=$shlibpath_var
19227 # Is shlibpath searched before the hard-coded library search path?
19228 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19230 # How to hardcode a shared library path into an executable.
19231 hardcode_action=$hardcode_action_RC
19233 # Whether we should hardcode library paths into libraries.
19234 hardcode_into_libs=$hardcode_into_libs
19236 # Flag to hardcode \$libdir into a binary during linking.
19237 # This must work even if \$libdir does not exist.
19238 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19240 # If ld is used when linking, flag to hardcode \$libdir into
19241 # a binary during linking. This must work even if \$libdir does
19243 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19245 # Whether we need a single -rpath flag with a separated argument.
19246 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19248 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19249 # resulting binary.
19250 hardcode_direct=$hardcode_direct_RC
19252 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19253 # resulting binary.
19254 hardcode_minus_L=$hardcode_minus_L_RC
19256 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19257 # the resulting binary.
19258 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19260 # Set to yes if building a shared library automatically hardcodes DIR into the library
19261 # and all subsequent libraries and executables linked against it.
19262 hardcode_automatic=$hardcode_automatic_RC
19264 # Variables whose values should be saved in libtool wrapper scripts and
19265 # restored at relink time.
19266 variables_saved_for_relink="$variables_saved_for_relink"
19268 # Whether libtool must link a program against all its dependency libraries.
19269 link_all_deplibs=$link_all_deplibs_RC
19271 # Compile-time system search path for libraries
19272 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19274 # Run-time system search path for libraries
19275 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19277 # Fix the shell variable \$srcfile for the compiler.
19278 fix_srcfile_path="$fix_srcfile_path_RC"
19280 # Set to yes if exported symbols are required.
19281 always_export_symbols=$always_export_symbols_RC
19283 # The commands to list exported symbols.
19284 export_symbols_cmds=$lt_export_symbols_cmds_RC
19286 # The commands to extract the exported symbol list from a shared archive.
19287 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19289 # Symbols that should not be listed in the preloaded symbols.
19290 exclude_expsyms=$lt_exclude_expsyms_RC
19292 # Symbols that must always be exported.
19293 include_expsyms=$lt_include_expsyms_RC
19295 # ### END LIBTOOL TAG CONFIG: $tagname
19301 # If there is no Makefile yet, we rely on a make rule to execute
19302 # `config.status --recheck' to rerun these tests and create the
19303 # libtool script then.
19304 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19305 if test -f "$ltmain_in"; then
19306 test -f Makefile
&& make "$ltmain"
19312 ac_cpp
='$CPP $CPPFLAGS'
19313 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19314 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19315 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19322 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19323 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19324 { (exit 1); exit 1; }; }
19328 # Append the new tag name to the list of available tags.
19329 if test -n "$tagname" ; then
19330 available_tags
="$available_tags $tagname"
19336 # Now substitute the updated list of available tags.
19337 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
19338 mv "${ofile}T" "$ofile"
19342 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19343 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19344 { (exit 1); exit 1; }; }
19350 # This can be used to rebuild libtool when needed
19351 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
19353 # Always use our own libtool.
19354 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
19356 # Prevent multiple expansion
19378 if test "$GCC" = yes
19380 CFLAGS
="-Wall $CFLAGS"
19383 CFLAGS
="$CFLAGS -I$srcdir/.. -I.."
19386 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19387 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
19388 if test "${ac_cv_header_stdc+set}" = set; then
19389 echo $ECHO_N "(cached) $ECHO_C" >&6
19391 cat >conftest.
$ac_ext <<_ACEOF
19394 cat confdefs.h
>>conftest.
$ac_ext
19395 cat >>conftest.
$ac_ext <<_ACEOF
19396 /* end confdefs.h. */
19397 #include <stdlib.h>
19398 #include <stdarg.h>
19399 #include <string.h>
19410 rm -f conftest.
$ac_objext
19411 if { (ac_try
="$ac_compile"
19412 case "(($ac_try" in
19413 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19414 *) ac_try_echo=$ac_try;;
19416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19417 (eval "$ac_compile") 2>conftest.er1
19419 grep -v '^ *+' conftest.er1 >conftest.err
19421 cat conftest.err >&5
19422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19423 (exit $ac_status); } && {
19424 test -z "$ac_c_werror_flag" ||
19425 test ! -s conftest.err
19426 } && test -s conftest.$ac_objext; then
19427 ac_cv_header_stdc=yes
19429 echo "$as_me: failed program was:" >&5
19430 sed 's/^/| /' conftest.$ac_ext >&5
19432 ac_cv_header_stdc=no
19435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19437 if test $ac_cv_header_stdc = yes; then
19438 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19439 cat >conftest.$ac_ext <<_ACEOF
19442 cat confdefs.h >>conftest.$ac_ext
19443 cat >>conftest.$ac_ext <<_ACEOF
19444 /* end confdefs.h. */
19445 #include <string.h>
19448 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19449 $EGREP "memchr" >/dev/null 2>&1; then
19452 ac_cv_header_stdc=no
19458 if test $ac_cv_header_stdc = yes; then
19459 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19460 cat >conftest.$ac_ext <<_ACEOF
19463 cat confdefs.h >>conftest.$ac_ext
19464 cat >>conftest.$ac_ext <<_ACEOF
19465 /* end confdefs.h. */
19466 #include <stdlib.h>
19469 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19470 $EGREP "free" >/dev/null 2>&1; then
19473 ac_cv_header_stdc=no
19479 if test $ac_cv_header_stdc = yes; then
19480 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19481 if test "$cross_compiling" = yes; then
19484 cat >conftest.$ac_ext <<_ACEOF
19487 cat confdefs.h >>conftest.$ac_ext
19488 cat >>conftest.$ac_ext <<_ACEOF
19489 /* end confdefs.h. */
19491 #include <stdlib.h>
19492 #if ((' ' & 0x0FF) == 0x020)
19493 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19494 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19496 # define ISLOWER(c) \
19497 (('a' <= (c) && (c) <= 'i') \
19498 || ('j' <= (c) && (c) <= 'r') \
19499 || ('s' <= (c) && (c) <= 'z'))
19500 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19503 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19508 for (i = 0; i < 256; i++)
19509 if (XOR (islower (i), ISLOWER (i))
19510 || toupper (i) != TOUPPER (i))
19515 rm -f conftest$ac_exeext
19516 if { (ac_try="$ac_link"
19517 case "(($ac_try" in
19518 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19519 *) ac_try_echo
=$ac_try;;
19521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19522 (eval "$ac_link") 2>&5
19524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19525 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19526 { (case "(($ac_try" in
19527 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19528 *) ac_try_echo=$ac_try;;
19530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19531 (eval "$ac_try") 2>&5
19533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19534 (exit $ac_status); }; }; then
19537 echo "$as_me: program exited with status $ac_status" >&5
19538 echo "$as_me: failed program was:" >&5
19539 sed 's/^/| /' conftest.$ac_ext >&5
19541 ( exit $ac_status )
19542 ac_cv_header_stdc=no
19544 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19550 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19551 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19552 if test $ac_cv_header_stdc = yes; then
19554 cat >>confdefs.h <<\_ACEOF
19555 #define STDC_HEADERS 1
19562 for ac_header in sys/types.h
19564 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
19565 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19566 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19567 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19568 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19569 echo $ECHO_N "(cached) $ECHO_C" >&6
19571 ac_res=`eval echo '${'$as_ac_Header'}'`
19572 { echo "$as_me:$LINENO: result: $ac_res" >&5
19573 echo "${ECHO_T}$ac_res" >&6; }
19575 # Is the header compilable?
19576 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
19577 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
19578 cat >conftest.$ac_ext <<_ACEOF
19581 cat confdefs.h >>conftest.$ac_ext
19582 cat >>conftest.$ac_ext <<_ACEOF
19583 /* end confdefs.h. */
19584 $ac_includes_default
19585 #include <$ac_header>
19587 rm -f conftest.$ac_objext
19588 if { (ac_try="$ac_compile"
19589 case "(($ac_try" in
19590 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19591 *) ac_try_echo
=$ac_try;;
19593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19594 (eval "$ac_compile") 2>conftest.er1
19596 grep -v '^ *+' conftest.er1
>conftest.err
19598 cat conftest.err
>&5
19599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19600 (exit $ac_status); } && {
19601 test -z "$ac_c_werror_flag" ||
19602 test ! -s conftest.err
19603 } && test -s conftest.
$ac_objext; then
19604 ac_header_compiler
=yes
19606 echo "$as_me: failed program was:" >&5
19607 sed 's/^/| /' conftest.
$ac_ext >&5
19609 ac_header_compiler
=no
19612 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19613 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19614 echo "${ECHO_T}$ac_header_compiler" >&6; }
19616 # Is the header present?
19617 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
19618 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
19619 cat >conftest.
$ac_ext <<_ACEOF
19622 cat confdefs.h
>>conftest.
$ac_ext
19623 cat >>conftest.
$ac_ext <<_ACEOF
19624 /* end confdefs.h. */
19625 #include <$ac_header>
19627 if { (ac_try
="$ac_cpp conftest.$ac_ext"
19628 case "(($ac_try" in
19629 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19630 *) ac_try_echo=$ac_try;;
19632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19633 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19635 grep -v '^ *+' conftest.er1 >conftest.err
19637 cat conftest.err >&5
19638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19639 (exit $ac_status); } >/dev/null && {
19640 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19641 test ! -s conftest.err
19643 ac_header_preproc=yes
19645 echo "$as_me: failed program was:" >&5
19646 sed 's/^/| /' conftest.$ac_ext >&5
19648 ac_header_preproc=no
19651 rm -f conftest.err conftest.$ac_ext
19652 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19653 echo "${ECHO_T}$ac_header_preproc" >&6; }
19655 # So? What about this header?
19656 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19658 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19659 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19660 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19661 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19662 ac_header_preproc=yes
19665 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19666 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19667 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19668 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19669 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19670 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19671 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19672 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19673 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19674 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19675 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19676 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19678 ## -------------------------------------------------- ##
19679 ## Report this to courier-users@lists.sourceforge.net ##
19680 ## -------------------------------------------------- ##
19682 ) | sed "s/^/$as_me: WARNING: /" >&2
19685 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19686 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19687 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19688 echo $ECHO_N "(cached) $ECHO_C" >&6
19690 eval "$as_ac_Header=\$ac_header_preproc"
19692 ac_res=`eval echo '${'$as_ac_Header'}'`
19693 { echo "$as_me:$LINENO: result: $ac_res" >&5
19694 echo "${ECHO_T}$ac_res" >&6; }
19697 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19698 cat >>confdefs.h <<_ACEOF
19699 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
19709 # Check whether --with-int32 was given.
19710 if test "${with_int32+set}" = set; then
19711 withval=$with_int32; int32="$withval"
19715 { echo "$as_me:$LINENO: checking for uint32_t" >&5
19716 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6; }
19718 cat >conftest.$ac_ext <<_ACEOF
19721 cat confdefs.h >>conftest.$ac_ext
19722 cat >>conftest.$ac_ext <<_ACEOF
19723 /* end confdefs.h. */
19725 #if HAVE_SYS_TYPES_H
19726 #include <sys/types.h>
19739 rm -f conftest.$ac_objext
19740 if { (ac_try="$ac_compile"
19741 case "(($ac_try" in
19742 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19743 *) ac_try_echo
=$ac_try;;
19745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19746 (eval "$ac_compile") 2>conftest.er1
19748 grep -v '^ *+' conftest.er1
>conftest.err
19750 cat conftest.err
>&5
19751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19752 (exit $ac_status); } && {
19753 test -z "$ac_c_werror_flag" ||
19754 test ! -s conftest.err
19755 } && test -s conftest.
$ac_objext; then
19756 { echo "$as_me:$LINENO: result: yes" >&5
19757 echo "${ECHO_T}yes" >&6; } ; int32
="uint32_t"
19759 echo "$as_me: failed program was:" >&5
19760 sed 's/^/| /' conftest.
$ac_ext >&5
19764 { echo "$as_me:$LINENO: result: no" >&5
19765 echo "${ECHO_T}no" >&6; }
19766 { echo "$as_me:$LINENO: checking for u_int_32_t" >&5
19767 echo $ECHO_N "checking for u_int_32_t... $ECHO_C" >&6; }
19769 cat >conftest.
$ac_ext <<_ACEOF
19772 cat confdefs.h
>>conftest.
$ac_ext
19773 cat >>conftest.
$ac_ext <<_ACEOF
19774 /* end confdefs.h. */
19776 #if HAVE_SYS_TYPES_H
19777 #include <sys/types.h>
19790 rm -f conftest.
$ac_objext
19791 if { (ac_try
="$ac_compile"
19792 case "(($ac_try" in
19793 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19794 *) ac_try_echo=$ac_try;;
19796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19797 (eval "$ac_compile") 2>conftest.er1
19799 grep -v '^ *+' conftest.er1 >conftest.err
19801 cat conftest.err >&5
19802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19803 (exit $ac_status); } && {
19804 test -z "$ac_c_werror_flag" ||
19805 test ! -s conftest.err
19806 } && test -s conftest.$ac_objext; then
19807 { echo "$as_me:$LINENO: result: yes" >&5
19808 echo "${ECHO_T}yes" >&6; }; int32="u_int32_t"
19810 echo "$as_me: failed program was:" >&5
19811 sed 's/^/| /' conftest.$ac_ext >&5
19815 { echo "$as_me:$LINENO: result: no" >&5
19816 echo "${ECHO_T}no" >&6; }
19818 { echo "$as_me:$LINENO: checking for unsigned" >&5
19819 echo $ECHO_N "checking for unsigned... $ECHO_C" >&6; }
19820 if test "${ac_cv_type_unsigned+set}" = set; then
19821 echo $ECHO_N "(cached) $ECHO_C" >&6
19823 cat >conftest.$ac_ext <<_ACEOF
19826 cat confdefs.h >>conftest.$ac_ext
19827 cat >>conftest.$ac_ext <<_ACEOF
19828 /* end confdefs.h. */
19829 $ac_includes_default
19830 typedef unsigned ac__type_new_;
19834 if ((ac__type_new_ *) 0)
19836 if (sizeof (ac__type_new_))
19842 rm -f conftest.$ac_objext
19843 if { (ac_try="$ac_compile"
19844 case "(($ac_try" in
19845 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19846 *) ac_try_echo
=$ac_try;;
19848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19849 (eval "$ac_compile") 2>conftest.er1
19851 grep -v '^ *+' conftest.er1
>conftest.err
19853 cat conftest.err
>&5
19854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19855 (exit $ac_status); } && {
19856 test -z "$ac_c_werror_flag" ||
19857 test ! -s conftest.err
19858 } && test -s conftest.
$ac_objext; then
19859 ac_cv_type_unsigned
=yes
19861 echo "$as_me: failed program was:" >&5
19862 sed 's/^/| /' conftest.
$ac_ext >&5
19864 ac_cv_type_unsigned
=no
19867 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19869 { echo "$as_me:$LINENO: result: $ac_cv_type_unsigned" >&5
19870 echo "${ECHO_T}$ac_cv_type_unsigned" >&6; }
19872 # The cast to long int works around a bug in the HP C Compiler
19873 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19874 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19875 # This bug is HP SR number 8606223364.
19876 { echo "$as_me:$LINENO: checking size of unsigned" >&5
19877 echo $ECHO_N "checking size of unsigned... $ECHO_C" >&6; }
19878 if test "${ac_cv_sizeof_unsigned+set}" = set; then
19879 echo $ECHO_N "(cached) $ECHO_C" >&6
19881 if test "$cross_compiling" = yes; then
19882 # Depending upon the size, compute the lo and hi bounds.
19883 cat >conftest.
$ac_ext <<_ACEOF
19886 cat confdefs.h
>>conftest.
$ac_ext
19887 cat >>conftest.
$ac_ext <<_ACEOF
19888 /* end confdefs.h. */
19889 $ac_includes_default
19890 typedef unsigned ac__type_sizeof_;
19894 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19901 rm -f conftest.
$ac_objext
19902 if { (ac_try
="$ac_compile"
19903 case "(($ac_try" in
19904 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19905 *) ac_try_echo=$ac_try;;
19907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19908 (eval "$ac_compile") 2>conftest.er1
19910 grep -v '^ *+' conftest.er1 >conftest.err
19912 cat conftest.err >&5
19913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19914 (exit $ac_status); } && {
19915 test -z "$ac_c_werror_flag" ||
19916 test ! -s conftest.err
19917 } && test -s conftest.$ac_objext; then
19920 cat >conftest.$ac_ext <<_ACEOF
19923 cat confdefs.h >>conftest.$ac_ext
19924 cat >>conftest.$ac_ext <<_ACEOF
19925 /* end confdefs.h. */
19926 $ac_includes_default
19927 typedef unsigned ac__type_sizeof_;
19931 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19938 rm -f conftest.$ac_objext
19939 if { (ac_try="$ac_compile"
19940 case "(($ac_try" in
19941 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19942 *) ac_try_echo
=$ac_try;;
19944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19945 (eval "$ac_compile") 2>conftest.er1
19947 grep -v '^ *+' conftest.er1
>conftest.err
19949 cat conftest.err
>&5
19950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19951 (exit $ac_status); } && {
19952 test -z "$ac_c_werror_flag" ||
19953 test ! -s conftest.err
19954 } && test -s conftest.
$ac_objext; then
19955 ac_hi
=$ac_mid; break
19957 echo "$as_me: failed program was:" >&5
19958 sed 's/^/| /' conftest.
$ac_ext >&5
19960 ac_lo
=`expr $ac_mid + 1`
19961 if test $ac_lo -le $ac_mid; then
19965 ac_mid
=`expr 2 '*' $ac_mid + 1`
19968 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19971 echo "$as_me: failed program was:" >&5
19972 sed 's/^/| /' conftest.
$ac_ext >&5
19974 cat >conftest.
$ac_ext <<_ACEOF
19977 cat confdefs.h
>>conftest.
$ac_ext
19978 cat >>conftest.
$ac_ext <<_ACEOF
19979 /* end confdefs.h. */
19980 $ac_includes_default
19981 typedef unsigned ac__type_sizeof_;
19985 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19992 rm -f conftest.
$ac_objext
19993 if { (ac_try
="$ac_compile"
19994 case "(($ac_try" in
19995 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19996 *) ac_try_echo=$ac_try;;
19998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19999 (eval "$ac_compile") 2>conftest.er1
20001 grep -v '^ *+' conftest.er1 >conftest.err
20003 cat conftest.err >&5
20004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20005 (exit $ac_status); } && {
20006 test -z "$ac_c_werror_flag" ||
20007 test ! -s conftest.err
20008 } && test -s conftest.$ac_objext; then
20011 cat >conftest.$ac_ext <<_ACEOF
20014 cat confdefs.h >>conftest.$ac_ext
20015 cat >>conftest.$ac_ext <<_ACEOF
20016 /* end confdefs.h. */
20017 $ac_includes_default
20018 typedef unsigned ac__type_sizeof_;
20022 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20029 rm -f conftest.$ac_objext
20030 if { (ac_try="$ac_compile"
20031 case "(($ac_try" in
20032 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20033 *) ac_try_echo
=$ac_try;;
20035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20036 (eval "$ac_compile") 2>conftest.er1
20038 grep -v '^ *+' conftest.er1
>conftest.err
20040 cat conftest.err
>&5
20041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20042 (exit $ac_status); } && {
20043 test -z "$ac_c_werror_flag" ||
20044 test ! -s conftest.err
20045 } && test -s conftest.
$ac_objext; then
20046 ac_lo
=$ac_mid; break
20048 echo "$as_me: failed program was:" >&5
20049 sed 's/^/| /' conftest.
$ac_ext >&5
20051 ac_hi
=`expr '(' $ac_mid ')' - 1`
20052 if test $ac_mid -le $ac_hi; then
20056 ac_mid
=`expr 2 '*' $ac_mid`
20059 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20062 echo "$as_me: failed program was:" >&5
20063 sed 's/^/| /' conftest.
$ac_ext >&5
20068 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20071 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20072 # Binary search between lo and hi bounds.
20073 while test "x$ac_lo" != "x$ac_hi"; do
20074 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20075 cat >conftest.
$ac_ext <<_ACEOF
20078 cat confdefs.h
>>conftest.
$ac_ext
20079 cat >>conftest.
$ac_ext <<_ACEOF
20080 /* end confdefs.h. */
20081 $ac_includes_default
20082 typedef unsigned ac__type_sizeof_;
20086 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20093 rm -f conftest.
$ac_objext
20094 if { (ac_try
="$ac_compile"
20095 case "(($ac_try" in
20096 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20097 *) ac_try_echo=$ac_try;;
20099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20100 (eval "$ac_compile") 2>conftest.er1
20102 grep -v '^ *+' conftest.er1 >conftest.err
20104 cat conftest.err >&5
20105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20106 (exit $ac_status); } && {
20107 test -z "$ac_c_werror_flag" ||
20108 test ! -s conftest.err
20109 } && test -s conftest.$ac_objext; then
20112 echo "$as_me: failed program was:" >&5
20113 sed 's/^/| /' conftest.$ac_ext >&5
20115 ac_lo=`expr '(' $ac_mid ')' + 1`
20118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20121 ?*) ac_cv_sizeof_unsigned=$ac_lo;;
20122 '') if test "$ac_cv_type_unsigned" = yes; then
20123 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned)
20124 See \`config.log
' for more details." >&5
20125 echo "$as_me: error: cannot compute sizeof (unsigned)
20126 See \`config.log' for more details.
" >&2;}
20127 { (exit 77); exit 77; }; }
20129 ac_cv_sizeof_unsigned=0
20133 cat >conftest.$ac_ext <<_ACEOF
20136 cat confdefs.h >>conftest.$ac_ext
20137 cat >>conftest.$ac_ext <<_ACEOF
20138 /* end confdefs.h. */
20139 $ac_includes_default
20140 typedef unsigned ac__type_sizeof_;
20141 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20142 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20144 #include <stdlib.h>
20149 FILE *f = fopen ("conftest.val
", "w
");
20152 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20154 long int i = longval ();
20155 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20157 fprintf (f, "%ld
\n", i);
20161 unsigned long int i = ulongval ();
20162 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20164 fprintf (f, "%lu
\n", i);
20166 return ferror (f) || fclose (f) != 0;
20172 rm -f conftest$ac_exeext
20173 if { (ac_try="$ac_link"
20174 case "(($ac_try" in
20175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20176 *) ac_try_echo=$ac_try;;
20178 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20179 (eval "$ac_link") 2>&5
20181 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20182 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20183 { (case "(($ac_try" in
20184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20185 *) ac_try_echo=$ac_try;;
20187 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20188 (eval "$ac_try") 2>&5
20190 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20191 (exit $ac_status); }; }; then
20192 ac_cv_sizeof_unsigned=`cat conftest.val`
20194 echo "$as_me: program exited with status
$ac_status" >&5
20195 echo "$as_me: failed program was
:" >&5
20196 sed 's/^/| /' conftest.$ac_ext >&5
20198 ( exit $ac_status )
20199 if test "$ac_cv_type_unsigned" = yes; then
20200 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(unsigned
)
20201 See \
`config.log' for more details." >&5
20202 echo "$as_me: error: cannot compute sizeof (unsigned)
20203 See \`config.log
' for more details." >&2;}
20204 { (exit 77); exit 77; }; }
20206 ac_cv_sizeof_unsigned=0
20209 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20213 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned" >&5
20214 echo "${ECHO_T}$ac_cv_sizeof_unsigned" >&6; }
20218 cat >>confdefs.h <<_ACEOF
20219 #define SIZEOF_UNSIGNED $ac_cv_sizeof_unsigned
20223 if test "$ac_cv_sizeof_unsigned" != 4
20225 { echo "$as_me:$LINENO: checking for unsigned long" >&5
20226 echo $ECHO_N "checking for unsigned long... $ECHO_C" >&6; }
20227 if test "${ac_cv_type_unsigned_long+set}" = set; then
20228 echo $ECHO_N "(cached) $ECHO_C" >&6
20230 cat >conftest.$ac_ext <<_ACEOF
20233 cat confdefs.h >>conftest.$ac_ext
20234 cat >>conftest.$ac_ext <<_ACEOF
20235 /* end confdefs.h. */
20236 $ac_includes_default
20237 typedef unsigned long ac__type_new_;
20241 if ((ac__type_new_ *) 0)
20243 if (sizeof (ac__type_new_))
20249 rm -f conftest.$ac_objext
20250 if { (ac_try="$ac_compile"
20251 case "(($ac_try" in
20252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20253 *) ac_try_echo=$ac_try;;
20255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20256 (eval "$ac_compile") 2>conftest.er1
20258 grep -v '^
*+' conftest.er1 >conftest.err
20260 cat conftest.err >&5
20261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20262 (exit $ac_status); } && {
20263 test -z "$ac_c_werror_flag" ||
20264 test ! -s conftest.err
20265 } && test -s conftest.$ac_objext; then
20266 ac_cv_type_unsigned_long=yes
20268 echo "$as_me: failed program was:" >&5
20269 sed 's
/^
/|
/' conftest.$ac_ext >&5
20271 ac_cv_type_unsigned_long=no
20274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20276 { echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long" >&5
20277 echo "${ECHO_T}$ac_cv_type_unsigned_long" >&6; }
20279 # The cast to long int works around a bug in the HP C Compiler
20280 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20281 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20282 # This bug is HP SR number 8606223364.
20283 { echo "$as_me:$LINENO: checking size of unsigned long" >&5
20284 echo $ECHO_N "checking size of unsigned long... $ECHO_C" >&6; }
20285 if test "${ac_cv_sizeof_unsigned_long+set}" = set; then
20286 echo $ECHO_N "(cached) $ECHO_C" >&6
20288 if test "$cross_compiling" = yes; then
20289 # Depending upon the size, compute the lo and hi bounds.
20290 cat >conftest.
$ac_ext <<_ACEOF
20293 cat confdefs.h
>>conftest.
$ac_ext
20294 cat >>conftest.
$ac_ext <<_ACEOF
20295 /* end confdefs.h. */
20296 $ac_includes_default
20297 typedef unsigned long ac__type_sizeof_;
20301 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20308 rm -f conftest.
$ac_objext
20309 if { (ac_try
="$ac_compile"
20310 case "(($ac_try" in
20311 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20312 *) ac_try_echo=$ac_try;;
20314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20315 (eval "$ac_compile") 2>conftest.er1
20317 grep -v '^ *+' conftest.er1 >conftest.err
20319 cat conftest.err >&5
20320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20321 (exit $ac_status); } && {
20322 test -z "$ac_c_werror_flag" ||
20323 test ! -s conftest.err
20324 } && test -s conftest.$ac_objext; then
20327 cat >conftest.$ac_ext <<_ACEOF
20330 cat confdefs.h >>conftest.$ac_ext
20331 cat >>conftest.$ac_ext <<_ACEOF
20332 /* end confdefs.h. */
20333 $ac_includes_default
20334 typedef unsigned long ac__type_sizeof_;
20338 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20345 rm -f conftest.$ac_objext
20346 if { (ac_try="$ac_compile"
20347 case "(($ac_try" in
20348 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20349 *) ac_try_echo
=$ac_try;;
20351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20352 (eval "$ac_compile") 2>conftest.er1
20354 grep -v '^ *+' conftest.er1
>conftest.err
20356 cat conftest.err
>&5
20357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20358 (exit $ac_status); } && {
20359 test -z "$ac_c_werror_flag" ||
20360 test ! -s conftest.err
20361 } && test -s conftest.
$ac_objext; then
20362 ac_hi
=$ac_mid; break
20364 echo "$as_me: failed program was:" >&5
20365 sed 's/^/| /' conftest.
$ac_ext >&5
20367 ac_lo
=`expr $ac_mid + 1`
20368 if test $ac_lo -le $ac_mid; then
20372 ac_mid
=`expr 2 '*' $ac_mid + 1`
20375 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20378 echo "$as_me: failed program was:" >&5
20379 sed 's/^/| /' conftest.
$ac_ext >&5
20381 cat >conftest.
$ac_ext <<_ACEOF
20384 cat confdefs.h
>>conftest.
$ac_ext
20385 cat >>conftest.
$ac_ext <<_ACEOF
20386 /* end confdefs.h. */
20387 $ac_includes_default
20388 typedef unsigned long ac__type_sizeof_;
20392 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20399 rm -f conftest.
$ac_objext
20400 if { (ac_try
="$ac_compile"
20401 case "(($ac_try" in
20402 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20403 *) ac_try_echo=$ac_try;;
20405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20406 (eval "$ac_compile") 2>conftest.er1
20408 grep -v '^ *+' conftest.er1 >conftest.err
20410 cat conftest.err >&5
20411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20412 (exit $ac_status); } && {
20413 test -z "$ac_c_werror_flag" ||
20414 test ! -s conftest.err
20415 } && test -s conftest.$ac_objext; then
20418 cat >conftest.$ac_ext <<_ACEOF
20421 cat confdefs.h >>conftest.$ac_ext
20422 cat >>conftest.$ac_ext <<_ACEOF
20423 /* end confdefs.h. */
20424 $ac_includes_default
20425 typedef unsigned long ac__type_sizeof_;
20429 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20436 rm -f conftest.$ac_objext
20437 if { (ac_try="$ac_compile"
20438 case "(($ac_try" in
20439 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20440 *) ac_try_echo
=$ac_try;;
20442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20443 (eval "$ac_compile") 2>conftest.er1
20445 grep -v '^ *+' conftest.er1
>conftest.err
20447 cat conftest.err
>&5
20448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20449 (exit $ac_status); } && {
20450 test -z "$ac_c_werror_flag" ||
20451 test ! -s conftest.err
20452 } && test -s conftest.
$ac_objext; then
20453 ac_lo
=$ac_mid; break
20455 echo "$as_me: failed program was:" >&5
20456 sed 's/^/| /' conftest.
$ac_ext >&5
20458 ac_hi
=`expr '(' $ac_mid ')' - 1`
20459 if test $ac_mid -le $ac_hi; then
20463 ac_mid
=`expr 2 '*' $ac_mid`
20466 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20469 echo "$as_me: failed program was:" >&5
20470 sed 's/^/| /' conftest.
$ac_ext >&5
20475 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20478 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20479 # Binary search between lo and hi bounds.
20480 while test "x$ac_lo" != "x$ac_hi"; do
20481 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20482 cat >conftest.
$ac_ext <<_ACEOF
20485 cat confdefs.h
>>conftest.
$ac_ext
20486 cat >>conftest.
$ac_ext <<_ACEOF
20487 /* end confdefs.h. */
20488 $ac_includes_default
20489 typedef unsigned long ac__type_sizeof_;
20493 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20500 rm -f conftest.
$ac_objext
20501 if { (ac_try
="$ac_compile"
20502 case "(($ac_try" in
20503 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20504 *) ac_try_echo=$ac_try;;
20506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20507 (eval "$ac_compile") 2>conftest.er1
20509 grep -v '^ *+' conftest.er1 >conftest.err
20511 cat conftest.err >&5
20512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20513 (exit $ac_status); } && {
20514 test -z "$ac_c_werror_flag" ||
20515 test ! -s conftest.err
20516 } && test -s conftest.$ac_objext; then
20519 echo "$as_me: failed program was:" >&5
20520 sed 's/^/| /' conftest.$ac_ext >&5
20522 ac_lo=`expr '(' $ac_mid ')' + 1`
20525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20528 ?*) ac_cv_sizeof_unsigned_long=$ac_lo;;
20529 '') if test "$ac_cv_type_unsigned_long" = yes; then
20530 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long)
20531 See \`config.log
' for more details." >&5
20532 echo "$as_me: error: cannot compute sizeof (unsigned long)
20533 See \`config.log' for more details.
" >&2;}
20534 { (exit 77); exit 77; }; }
20536 ac_cv_sizeof_unsigned_long=0
20540 cat >conftest.$ac_ext <<_ACEOF
20543 cat confdefs.h >>conftest.$ac_ext
20544 cat >>conftest.$ac_ext <<_ACEOF
20545 /* end confdefs.h. */
20546 $ac_includes_default
20547 typedef unsigned long ac__type_sizeof_;
20548 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20549 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20551 #include <stdlib.h>
20556 FILE *f = fopen ("conftest.val
", "w
");
20559 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20561 long int i = longval ();
20562 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20564 fprintf (f, "%ld
\n", i);
20568 unsigned long int i = ulongval ();
20569 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20571 fprintf (f, "%lu
\n", i);
20573 return ferror (f) || fclose (f) != 0;
20579 rm -f conftest$ac_exeext
20580 if { (ac_try="$ac_link"
20581 case "(($ac_try" in
20582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20583 *) ac_try_echo=$ac_try;;
20585 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20586 (eval "$ac_link") 2>&5
20588 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20589 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20590 { (case "(($ac_try" in
20591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20592 *) ac_try_echo=$ac_try;;
20594 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20595 (eval "$ac_try") 2>&5
20597 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20598 (exit $ac_status); }; }; then
20599 ac_cv_sizeof_unsigned_long=`cat conftest.val`
20601 echo "$as_me: program exited with status
$ac_status" >&5
20602 echo "$as_me: failed program was
:" >&5
20603 sed 's/^/| /' conftest.$ac_ext >&5
20605 ( exit $ac_status )
20606 if test "$ac_cv_type_unsigned_long" = yes; then
20607 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(unsigned long
)
20608 See \
`config.log' for more details." >&5
20609 echo "$as_me: error: cannot compute sizeof (unsigned long)
20610 See \`config.log
' for more details." >&2;}
20611 { (exit 77); exit 77; }; }
20613 ac_cv_sizeof_unsigned_long=0
20616 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20620 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long" >&5
20621 echo "${ECHO_T}$ac_cv_sizeof_unsigned_long" >&6; }
20625 cat >>confdefs.h <<_ACEOF
20626 #define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
20630 if test "$ac_cv_sizeof_unsigned_long" != 4
20632 { echo "$as_me:$LINENO: checking for unsigned short" >&5
20633 echo $ECHO_N "checking for unsigned short... $ECHO_C" >&6; }
20634 if test "${ac_cv_type_unsigned_short+set}" = set; then
20635 echo $ECHO_N "(cached) $ECHO_C" >&6
20637 cat >conftest.$ac_ext <<_ACEOF
20640 cat confdefs.h >>conftest.$ac_ext
20641 cat >>conftest.$ac_ext <<_ACEOF
20642 /* end confdefs.h. */
20643 $ac_includes_default
20644 typedef unsigned short ac__type_new_;
20648 if ((ac__type_new_ *) 0)
20650 if (sizeof (ac__type_new_))
20656 rm -f conftest.$ac_objext
20657 if { (ac_try="$ac_compile"
20658 case "(($ac_try" in
20659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20660 *) ac_try_echo=$ac_try;;
20662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20663 (eval "$ac_compile") 2>conftest.er1
20665 grep -v '^
*+' conftest.er1 >conftest.err
20667 cat conftest.err >&5
20668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20669 (exit $ac_status); } && {
20670 test -z "$ac_c_werror_flag" ||
20671 test ! -s conftest.err
20672 } && test -s conftest.$ac_objext; then
20673 ac_cv_type_unsigned_short=yes
20675 echo "$as_me: failed program was:" >&5
20676 sed 's
/^
/|
/' conftest.$ac_ext >&5
20678 ac_cv_type_unsigned_short=no
20681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20683 { echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_short" >&5
20684 echo "${ECHO_T}$ac_cv_type_unsigned_short" >&6; }
20686 # The cast to long int works around a bug in the HP C Compiler
20687 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20688 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20689 # This bug is HP SR number 8606223364.
20690 { echo "$as_me:$LINENO: checking size of unsigned short" >&5
20691 echo $ECHO_N "checking size of unsigned short... $ECHO_C" >&6; }
20692 if test "${ac_cv_sizeof_unsigned_short+set}" = set; then
20693 echo $ECHO_N "(cached) $ECHO_C" >&6
20695 if test "$cross_compiling" = yes; then
20696 # Depending upon the size, compute the lo and hi bounds.
20697 cat >conftest.
$ac_ext <<_ACEOF
20700 cat confdefs.h
>>conftest.
$ac_ext
20701 cat >>conftest.
$ac_ext <<_ACEOF
20702 /* end confdefs.h. */
20703 $ac_includes_default
20704 typedef unsigned short ac__type_sizeof_;
20708 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20715 rm -f conftest.
$ac_objext
20716 if { (ac_try
="$ac_compile"
20717 case "(($ac_try" in
20718 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20719 *) ac_try_echo=$ac_try;;
20721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20722 (eval "$ac_compile") 2>conftest.er1
20724 grep -v '^ *+' conftest.er1 >conftest.err
20726 cat conftest.err >&5
20727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20728 (exit $ac_status); } && {
20729 test -z "$ac_c_werror_flag" ||
20730 test ! -s conftest.err
20731 } && test -s conftest.$ac_objext; then
20734 cat >conftest.$ac_ext <<_ACEOF
20737 cat confdefs.h >>conftest.$ac_ext
20738 cat >>conftest.$ac_ext <<_ACEOF
20739 /* end confdefs.h. */
20740 $ac_includes_default
20741 typedef unsigned short ac__type_sizeof_;
20745 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20752 rm -f conftest.$ac_objext
20753 if { (ac_try="$ac_compile"
20754 case "(($ac_try" in
20755 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20756 *) ac_try_echo
=$ac_try;;
20758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20759 (eval "$ac_compile") 2>conftest.er1
20761 grep -v '^ *+' conftest.er1
>conftest.err
20763 cat conftest.err
>&5
20764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20765 (exit $ac_status); } && {
20766 test -z "$ac_c_werror_flag" ||
20767 test ! -s conftest.err
20768 } && test -s conftest.
$ac_objext; then
20769 ac_hi
=$ac_mid; break
20771 echo "$as_me: failed program was:" >&5
20772 sed 's/^/| /' conftest.
$ac_ext >&5
20774 ac_lo
=`expr $ac_mid + 1`
20775 if test $ac_lo -le $ac_mid; then
20779 ac_mid
=`expr 2 '*' $ac_mid + 1`
20782 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20785 echo "$as_me: failed program was:" >&5
20786 sed 's/^/| /' conftest.
$ac_ext >&5
20788 cat >conftest.
$ac_ext <<_ACEOF
20791 cat confdefs.h
>>conftest.
$ac_ext
20792 cat >>conftest.
$ac_ext <<_ACEOF
20793 /* end confdefs.h. */
20794 $ac_includes_default
20795 typedef unsigned short ac__type_sizeof_;
20799 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20806 rm -f conftest.
$ac_objext
20807 if { (ac_try
="$ac_compile"
20808 case "(($ac_try" in
20809 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20810 *) ac_try_echo=$ac_try;;
20812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20813 (eval "$ac_compile") 2>conftest.er1
20815 grep -v '^ *+' conftest.er1 >conftest.err
20817 cat conftest.err >&5
20818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20819 (exit $ac_status); } && {
20820 test -z "$ac_c_werror_flag" ||
20821 test ! -s conftest.err
20822 } && test -s conftest.$ac_objext; then
20825 cat >conftest.$ac_ext <<_ACEOF
20828 cat confdefs.h >>conftest.$ac_ext
20829 cat >>conftest.$ac_ext <<_ACEOF
20830 /* end confdefs.h. */
20831 $ac_includes_default
20832 typedef unsigned short ac__type_sizeof_;
20836 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20843 rm -f conftest.$ac_objext
20844 if { (ac_try="$ac_compile"
20845 case "(($ac_try" in
20846 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20847 *) ac_try_echo
=$ac_try;;
20849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20850 (eval "$ac_compile") 2>conftest.er1
20852 grep -v '^ *+' conftest.er1
>conftest.err
20854 cat conftest.err
>&5
20855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20856 (exit $ac_status); } && {
20857 test -z "$ac_c_werror_flag" ||
20858 test ! -s conftest.err
20859 } && test -s conftest.
$ac_objext; then
20860 ac_lo
=$ac_mid; break
20862 echo "$as_me: failed program was:" >&5
20863 sed 's/^/| /' conftest.
$ac_ext >&5
20865 ac_hi
=`expr '(' $ac_mid ')' - 1`
20866 if test $ac_mid -le $ac_hi; then
20870 ac_mid
=`expr 2 '*' $ac_mid`
20873 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20876 echo "$as_me: failed program was:" >&5
20877 sed 's/^/| /' conftest.
$ac_ext >&5
20882 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20885 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20886 # Binary search between lo and hi bounds.
20887 while test "x$ac_lo" != "x$ac_hi"; do
20888 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20889 cat >conftest.
$ac_ext <<_ACEOF
20892 cat confdefs.h
>>conftest.
$ac_ext
20893 cat >>conftest.
$ac_ext <<_ACEOF
20894 /* end confdefs.h. */
20895 $ac_includes_default
20896 typedef unsigned short ac__type_sizeof_;
20900 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20907 rm -f conftest.
$ac_objext
20908 if { (ac_try
="$ac_compile"
20909 case "(($ac_try" in
20910 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20911 *) ac_try_echo=$ac_try;;
20913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20914 (eval "$ac_compile") 2>conftest.er1
20916 grep -v '^ *+' conftest.er1 >conftest.err
20918 cat conftest.err >&5
20919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20920 (exit $ac_status); } && {
20921 test -z "$ac_c_werror_flag" ||
20922 test ! -s conftest.err
20923 } && test -s conftest.$ac_objext; then
20926 echo "$as_me: failed program was:" >&5
20927 sed 's/^/| /' conftest.$ac_ext >&5
20929 ac_lo=`expr '(' $ac_mid ')' + 1`
20932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20935 ?*) ac_cv_sizeof_unsigned_short=$ac_lo;;
20936 '') if test "$ac_cv_type_unsigned_short" = yes; then
20937 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned short)
20938 See \`config.log
' for more details." >&5
20939 echo "$as_me: error: cannot compute sizeof (unsigned short)
20940 See \`config.log' for more details.
" >&2;}
20941 { (exit 77); exit 77; }; }
20943 ac_cv_sizeof_unsigned_short=0
20947 cat >conftest.$ac_ext <<_ACEOF
20950 cat confdefs.h >>conftest.$ac_ext
20951 cat >>conftest.$ac_ext <<_ACEOF
20952 /* end confdefs.h. */
20953 $ac_includes_default
20954 typedef unsigned short ac__type_sizeof_;
20955 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20956 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20958 #include <stdlib.h>
20963 FILE *f = fopen ("conftest.val
", "w
");
20966 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20968 long int i = longval ();
20969 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20971 fprintf (f, "%ld
\n", i);
20975 unsigned long int i = ulongval ();
20976 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20978 fprintf (f, "%lu
\n", i);
20980 return ferror (f) || fclose (f) != 0;
20986 rm -f conftest$ac_exeext
20987 if { (ac_try="$ac_link"
20988 case "(($ac_try" in
20989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20990 *) ac_try_echo=$ac_try;;
20992 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20993 (eval "$ac_link") 2>&5
20995 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20996 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20997 { (case "(($ac_try" in
20998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20999 *) ac_try_echo=$ac_try;;
21001 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21002 (eval "$ac_try") 2>&5
21004 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21005 (exit $ac_status); }; }; then
21006 ac_cv_sizeof_unsigned_short=`cat conftest.val`
21008 echo "$as_me: program exited with status
$ac_status" >&5
21009 echo "$as_me: failed program was
:" >&5
21010 sed 's/^/| /' conftest.$ac_ext >&5
21012 ( exit $ac_status )
21013 if test "$ac_cv_type_unsigned_short" = yes; then
21014 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(unsigned short
)
21015 See \
`config.log' for more details." >&5
21016 echo "$as_me: error: cannot compute sizeof (unsigned short)
21017 See \`config.log
' for more details." >&2;}
21018 { (exit 77); exit 77; }; }
21020 ac_cv_sizeof_unsigned_short=0
21023 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21027 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_short" >&5
21028 echo "${ECHO_T}$ac_cv_sizeof_unsigned_short" >&6; }
21032 cat >>confdefs.h <<_ACEOF
21033 #define SIZEOF_UNSIGNED_SHORT $ac_cv_sizeof_unsigned_short
21037 if test "$ac_cv_sizeof_unsigned_short" != 4
21039 { { echo "$as_me:$LINENO: error: --with-int32 option is required" >&5
21040 echo "$as_me: error: --with-int32 option is required" >&2;}
21041 { (exit 1); exit 1; }; }
21043 int32="unsigned short"
21045 int32="unsigned long"
21052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21064 cat >>confdefs.h <<_ACEOF
21065 #define MD5_WORD $UINT32
21069 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
21070 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
21071 if test "${ac_cv_c_const+set}" = set; then
21072 echo $ECHO_N "(cached) $ECHO_C" >&6
21074 cat >conftest.$ac_ext <<_ACEOF
21077 cat confdefs.h >>conftest.$ac_ext
21078 cat >>conftest.$ac_ext <<_ACEOF
21079 /* end confdefs.h. */
21084 /* FIXME: Include the comments suggested by Paul. */
21085 #ifndef __cplusplus
21086 /* Ultrix mips cc rejects this. */
21087 typedef int charset[2];
21089 /* SunOS 4.1.1 cc rejects this. */
21090 char const *const *pcpcc;
21092 /* NEC SVR4.0.2 mips cc rejects this. */
21093 struct point {int x, y;};
21094 static struct point const zero = {0,0};
21095 /* AIX XL C 1.02.0.0 rejects this.
21096 It does not let you subtract one const X* pointer from another in
21097 an arm of an if-expression whose if-part is not a constant
21099 const char *g = "string";
21100 pcpcc = &g + (g ? g-g : 0);
21101 /* HPUX 7.0 cc rejects these. */
21103 ppc = (char**) pcpcc;
21104 pcpcc = (char const *const *) ppc;
21105 { /* SCO 3.2v4 cc rejects this. */
21107 char const *s = 0 ? (char *) 0 : (char const *) 0;
21112 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
21113 int x[] = {25, 17};
21114 const int *foo = &x[0];
21117 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
21118 typedef const int *iptr;
21122 { /* AIX XL C 1.02.0.0 rejects this saying
21123 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
21124 struct s { int j; const int *ap[3]; };
21125 struct s *b; b->j = 5;
21127 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
21128 const int foo = 10;
21129 if (!foo) return 0;
21131 return !cs[0] && !zero.x;
21138 rm -f conftest.$ac_objext
21139 if { (ac_try="$ac_compile"
21140 case "(($ac_try" in
21141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21142 *) ac_try_echo=$ac_try;;
21144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21145 (eval "$ac_compile") 2>conftest.er1
21147 grep -v '^
*+' conftest.er1 >conftest.err
21149 cat conftest.err >&5
21150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21151 (exit $ac_status); } && {
21152 test -z "$ac_c_werror_flag" ||
21153 test ! -s conftest.err
21154 } && test -s conftest.$ac_objext; then
21157 echo "$as_me: failed program was:" >&5
21158 sed 's
/^
/|
/' conftest.$ac_ext >&5
21163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21165 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
21166 echo "${ECHO_T}$ac_cv_c_const" >&6; }
21167 if test $ac_cv_c_const = no; then
21169 cat >>confdefs.h <<\_ACEOF
21177 ac_config_files="$ac_config_files Makefile"
21179 cat >confcache <<\_ACEOF
21180 # This file is a shell script that caches the results of configure
21181 # tests run on this system so they can be shared between configure
21182 # scripts and configure runs, see configure's option
--config-cache.
21183 # It is not useful on other systems. If it contains results you don't
21184 # want to keep, you may remove or edit it.
21186 # config.status only pays attention to the cache file if you give it
21187 # the --recheck option to rerun configure.
21189 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21190 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21191 # following values.
21195 # The following way of writing the cache mishandles newlines in values,
21196 # but we know of no workaround that is simple, portable, and efficient.
21197 # So, we kill variables containing newlines.
21198 # Ultrix sh set writes to stderr and can't be redirected directly,
21199 # and sets the high bit in the cache file unless we assign to the vars.
21201 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21202 eval ac_val
=\$
$ac_var
21206 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
21207 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
21210 _ | IFS | as_nl
) ;; #(
21211 *) $as_unset $ac_var ;;
21217 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21218 *${as_nl}ac_space
=\
*)
21219 # `set' does not quote correctly, so add quotes (double-quote
21220 # substitution turns \\\\ into \\, and sed turns \\ into \).
21223 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21226 # `set' quotes correctly as required by POSIX, so do not add quotes.
21227 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21236 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21238 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21240 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
21241 if test -w "$cache_file"; then
21242 test "x$cache_file" != "x/dev/null" &&
21243 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
21244 echo "$as_me: updating cache $cache_file" >&6;}
21245 cat confcache
>$cache_file
21247 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
21248 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21253 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
21254 # Let make expand exec_prefix.
21255 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
21257 DEFS
=-DHAVE_CONFIG_H
21261 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
21262 # 1. Remove the extension, and $U if already installed.
21263 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
21264 ac_i
=`echo "$ac_i" | sed "$ac_script"`
21265 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21266 # will be set to the directory where LIBOBJS objects are built.
21267 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21268 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
21270 LIBOBJS
=$ac_libobjs
21272 LTLIBOBJS
=$ac_ltlibobjs
21275 if test -z "${HMACC_TRUE}" && test -z "${HMACC_FALSE}"; then
21276 { { echo "$as_me:$LINENO: error: conditional \"HMACC\" was never defined.
21277 Usually this means the macro was only invoked conditionally." >&5
21278 echo "$as_me: error: conditional \"HMACC\" was never defined.
21279 Usually this means the macro was only invoked conditionally." >&2;}
21280 { (exit 1); exit 1; }; }
21282 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
21283 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
21284 Usually this means the macro was only invoked conditionally." >&5
21285 echo "$as_me: error: conditional \"AMDEP\" was never defined.
21286 Usually this means the macro was only invoked conditionally." >&2;}
21287 { (exit 1); exit 1; }; }
21289 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
21290 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
21291 Usually this means the macro was only invoked conditionally." >&5
21292 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
21293 Usually this means the macro was only invoked conditionally." >&2;}
21294 { (exit 1); exit 1; }; }
21296 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
21297 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
21298 Usually this means the macro was only invoked conditionally." >&5
21299 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
21300 Usually this means the macro was only invoked conditionally." >&2;}
21301 { (exit 1); exit 1; }; }
21304 : ${CONFIG_STATUS=./config.status}
21305 ac_clean_files_save
=$ac_clean_files
21306 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
21307 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21308 echo "$as_me: creating $CONFIG_STATUS" >&6;}
21309 cat >$CONFIG_STATUS <<_ACEOF
21311 # Generated by $as_me.
21312 # Run this file to recreate the current configuration.
21313 # Compiler output produced by configure, useful for debugging
21314 # configure, is in config.log if it exists.
21317 ac_cs_recheck=false
21319 SHELL=\${CONFIG_SHELL-$SHELL}
21322 cat >>$CONFIG_STATUS <<\_ACEOF
21323 ## --------------------- ##
21324 ## M4sh Initialization. ##
21325 ## --------------------- ##
21327 # Be more Bourne compatible
21328 DUALCASE
=1; export DUALCASE
# for MKS sh
21329 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21332 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21333 # is contrary to our usage. Disable this feature.
21334 alias -g '${1+"$@"}'='"$@"'
21335 setopt NO_GLOB_SUBST
21337 case `(set -o) 2>/dev/null` in
21338 *posix
*) set -o posix
;;
21347 # Avoid depending upon Character Ranges.
21348 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
21349 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21350 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
21351 as_cr_digits
='0123456789'
21352 as_cr_alnum
=$as_cr_Letters$as_cr_digits
21354 # The user is always right.
21355 if test "${PATH_SEPARATOR+set}" != set; then
21356 echo "#! /bin/sh" >conf$$.sh
21357 echo "exit 0" >>conf$$.sh
21359 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
21367 # Support unset when possible.
21368 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
21376 # We need space, tab and new line, in precisely that order. Quoting is
21377 # there to prevent editors from complaining about space-tab.
21378 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21379 # splitting by setting IFS to empty value.)
21384 # Find who we are. Look in the path if we contain no directory separator.
21386 *[\\/]* ) as_myself
=$0 ;;
21387 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21388 for as_dir
in $PATH
21391 test -z "$as_dir" && as_dir
=.
21392 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
21398 # We did not find ourselves, most probably we were run as `sh COMMAND'
21399 # in which case we are not to be found in the path.
21400 if test "x$as_myself" = x
; then
21403 if test ! -f "$as_myself"; then
21404 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21405 { (exit 1); exit 1; }
21408 # Work around bugs in pre-3.0 UWIN ksh.
21409 for as_var
in ENV MAIL MAILPATH
21410 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
21418 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21419 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21420 LC_TELEPHONE LC_TIME
21422 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21423 eval $as_var=C
; export $as_var
21425 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
21429 # Required to use basename.
21430 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21431 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21437 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21438 as_basename
=basename
21444 # Name of the executable.
21445 as_me
=`$as_basename -- "$0" ||
21446 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21447 X"$0" : 'X\(//\)$' \| \
21448 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21450 sed '/^.*\/\([^/][^/]*\)\/*$/{
21469 as_lineno_1
=$LINENO
21470 as_lineno_2
=$LINENO
21471 test "x$as_lineno_1" != "x$as_lineno_2" &&
21472 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
21474 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21475 # uniformly replaced by the line number. The first 'sed' inserts a
21476 # line-number line after each line using $LINENO; the second 'sed'
21477 # does the real work. The second script uses 'N' to pair each
21478 # line-number line with the line containing $LINENO, and appends
21479 # trailing '-' during substitution so that $LINENO is not a special
21480 # case at line end.
21481 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21482 # scripts with optimization help from Paolo Bonzini. Blame Lee
21483 # E. McMahon (1931-1989) for sed's syntax. :-)
21495 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21498 ' >$as_me.lineno
&&
21499 chmod +x
"$as_me.lineno" ||
21500 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21501 { (exit 1); exit 1; }; }
21503 # Don't try to exec as it changes $[0], causing all sort of problems
21504 # (the dirname of $[0] is not the place where we might find the
21505 # original and so on. Autoconf is especially sensitive to this).
21506 .
"./$as_me.lineno"
21507 # Exit status is that of the last command.
21512 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
21518 ECHO_C
= ECHO_N
= ECHO_T
=
21519 case `echo -n x` in
21521 case `echo 'x\c'` in
21522 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
21529 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21530 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21536 rm -f conf$$ conf$$.exe conf$$.
file
21537 if test -d conf$$.dir
; then
21538 rm -f conf$$.dir
/conf$$.
file
21544 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
21546 # ... but there are two gotchas:
21547 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21548 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21549 # In both cases, we have to default to `cp -p'.
21550 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
21552 elif ln conf$$.
file conf$$
2>/dev
/null
; then
21557 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
21558 rmdir conf$$.dir
2>/dev
/null
21560 if mkdir
-p .
2>/dev
/null
; then
21563 test -d .
/-p && rmdir .
/-p
21567 if test -x / >/dev
/null
2>&1; then
21568 as_test_x
='test -x'
21570 if ls -dL / >/dev
/null
2>&1; then
21577 if test -d "$1"; then
21583 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
21584 ???[sx]*):;;*)false;;esac;fi
21588 as_executable_p
=$as_test_x
21590 # Sed expression to map a string onto a valid CPP name.
21591 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21593 # Sed expression to map a string onto a valid variable name.
21594 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21599 # Save the log message, to keep $[0] and so on meaningful, and to
21600 # report actual input values of CONFIG_FILES etc. instead of their
21601 # values after options handling.
21603 This file was extended by libmd5 $as_me 1.21, which was
21604 generated by GNU Autoconf 2.61. Invocation command line was
21606 CONFIG_FILES = $CONFIG_FILES
21607 CONFIG_HEADERS = $CONFIG_HEADERS
21608 CONFIG_LINKS = $CONFIG_LINKS
21609 CONFIG_COMMANDS = $CONFIG_COMMANDS
21612 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21617 cat >>$CONFIG_STATUS <<_ACEOF
21618 # Files that config.status was made for.
21619 config_files="$ac_config_files"
21620 config_headers="$ac_config_headers"
21621 config_commands="$ac_config_commands"
21625 cat >>$CONFIG_STATUS <<\_ACEOF
21627 \`$as_me' instantiates files from templates according to the
21628 current configuration.
21630 Usage: $0 [OPTIONS] [FILE]...
21632 -h, --help print this help, then exit
21633 -V, --version print version number and configuration settings, then exit
21634 -q, --quiet do not print progress messages
21635 -d, --debug don't remove temporary files
21636 --recheck update $as_me by reconfiguring in the same conditions
21637 --file=FILE[:TEMPLATE]
21638 instantiate the configuration file FILE
21639 --header=FILE[:TEMPLATE]
21640 instantiate the configuration header FILE
21642 Configuration files:
21645 Configuration headers:
21648 Configuration commands:
21651 Report bugs to <bug-autoconf@gnu.org>."
21654 cat >>$CONFIG_STATUS <<_ACEOF
21656 libmd5 config.status 1.21
21657 configured by $0, generated by GNU Autoconf 2.61,
21658 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21660 Copyright (C) 2006 Free Software Foundation, Inc.
21661 This config.status script is free software; the Free Software Foundation
21662 gives unlimited permission to copy, distribute and modify it."
21670 cat >>$CONFIG_STATUS <<\_ACEOF
21671 # If no file are specified by the user, then we need to provide default
21672 # value. By we need to know if files were specified by the user.
21678 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
21679 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
21690 # Handling of the options.
21691 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
21693 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
21694 echo "$ac_cs_version"; exit ;;
21695 --debug |
--debu |
--deb |
--de |
--d |
-d )
21697 --file |
--fil |
--fi |
--f )
21699 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
21700 ac_need_defaults
=false
;;
21701 --header |
--heade |
--head |
--hea )
21703 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
21704 ac_need_defaults
=false
;;
21706 # Conflict between --help and --header
21707 { echo "$as_me: error: ambiguous option: $1
21708 Try \`$0 --help' for more information." >&2
21709 { (exit 1); exit 1; }; };;
21710 --help |
--hel |
-h )
21711 echo "$ac_cs_usage"; exit ;;
21712 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
21713 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
21716 # This is an error.
21717 -*) { echo "$as_me: error: unrecognized option: $1
21718 Try \`$0 --help' for more information." >&2
21719 { (exit 1); exit 1; }; } ;;
21721 *) ac_config_targets
="$ac_config_targets $1"
21722 ac_need_defaults
=false
;;
21728 ac_configure_extra_args
=
21730 if $ac_cs_silent; then
21732 ac_configure_extra_args
="$ac_configure_extra_args --silent"
21736 cat >>$CONFIG_STATUS <<_ACEOF
21737 if \$ac_cs_recheck; then
21738 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21739 CONFIG_SHELL=$SHELL
21740 export CONFIG_SHELL
21741 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21745 cat >>$CONFIG_STATUS <<\_ACEOF
21749 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21750 ## Running $as_me. ##
21756 cat >>$CONFIG_STATUS <<_ACEOF
21760 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
21764 cat >>$CONFIG_STATUS <<\_ACEOF
21766 # Handling of arguments.
21767 for ac_config_target
in $ac_config_targets
21769 case $ac_config_target in
21770 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
21771 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
21772 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
21774 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21775 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21776 { (exit 1); exit 1; }; };;
21781 # If the user did not use the arguments to specify the items to instantiate,
21782 # then the envvar interface is used. Set only those that are not.
21783 # We use the long form for the default assignment because of an extremely
21784 # bizarre bug on SunOS 4.1.3.
21785 if $ac_need_defaults; then
21786 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
21787 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
21788 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
21791 # Have a temporary directory for convenience. Make it in the build tree
21792 # simply because there is no reason against having it here, and in addition,
21793 # creating and moving files from /tmp can sometimes cause problems.
21794 # Hook for its removal unless debugging.
21795 # Note that there is a small window in which the directory will not be cleaned:
21796 # after its creation but before its name has been assigned to `$tmp'.
21800 trap 'exit_status=$?
21801 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21803 trap '{ (exit 1); exit 1; }' 1 2 13 15
21805 # Create a (secure) tmp directory for tmp files.
21808 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21809 test -n "$tmp" && test -d "$tmp"
21812 tmp
=.
/conf$$
-$RANDOM
21813 (umask 077 && mkdir
"$tmp")
21816 echo "$me: cannot create a temporary directory in ." >&2
21817 { (exit 1); exit 1; }
21821 # Set up the sed scripts for CONFIG_FILES section.
21824 # No need to generate the scripts if there are no CONFIG_FILES.
21825 # This happens for instance when ./config.status config.h
21826 if test -n "$CONFIG_FILES"; then
21833 for ac_last_try
in false false false false false
:; do
21834 cat >conf$
$subs.
sed <<_ACEOF
21835 SHELL!$SHELL$ac_delim
21836 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
21837 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
21838 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
21839 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
21840 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
21841 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
21842 exec_prefix!$exec_prefix$ac_delim
21843 prefix!$prefix$ac_delim
21844 program_transform_name!$program_transform_name$ac_delim
21845 bindir!$bindir$ac_delim
21846 sbindir!$sbindir$ac_delim
21847 libexecdir!$libexecdir$ac_delim
21848 datarootdir!$datarootdir$ac_delim
21849 datadir!$datadir$ac_delim
21850 sysconfdir!$sysconfdir$ac_delim
21851 sharedstatedir!$sharedstatedir$ac_delim
21852 localstatedir!$localstatedir$ac_delim
21853 includedir!$includedir$ac_delim
21854 oldincludedir!$oldincludedir$ac_delim
21855 docdir!$docdir$ac_delim
21856 infodir!$infodir$ac_delim
21857 htmldir!$htmldir$ac_delim
21858 dvidir!$dvidir$ac_delim
21859 pdfdir!$pdfdir$ac_delim
21860 psdir!$psdir$ac_delim
21861 libdir!$libdir$ac_delim
21862 localedir!$localedir$ac_delim
21863 mandir!$mandir$ac_delim
21864 DEFS!$DEFS$ac_delim
21865 ECHO_C!$ECHO_C$ac_delim
21866 ECHO_N!$ECHO_N$ac_delim
21867 ECHO_T!$ECHO_T$ac_delim
21868 LIBS!$LIBS$ac_delim
21869 build_alias!$build_alias$ac_delim
21870 host_alias!$host_alias$ac_delim
21871 target_alias!$target_alias$ac_delim
21872 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
21873 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
21874 INSTALL_DATA!$INSTALL_DATA$ac_delim
21875 am__isrc!$am__isrc$ac_delim
21876 CYGPATH_W!$CYGPATH_W$ac_delim
21877 PACKAGE!$PACKAGE$ac_delim
21878 VERSION!$VERSION$ac_delim
21879 ACLOCAL!$ACLOCAL$ac_delim
21880 AUTOCONF!$AUTOCONF$ac_delim
21881 AUTOMAKE!$AUTOMAKE$ac_delim
21882 AUTOHEADER!$AUTOHEADER$ac_delim
21883 MAKEINFO!$MAKEINFO$ac_delim
21884 install_sh!$install_sh$ac_delim
21885 STRIP!$STRIP$ac_delim
21886 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
21887 mkdir_p!$mkdir_p$ac_delim
21889 SET_MAKE!$SET_MAKE$ac_delim
21890 am__leading_dot!$am__leading_dot$ac_delim
21891 AMTAR!$AMTAR$ac_delim
21892 am__tar!$am__tar$ac_delim
21893 am__untar!$am__untar$ac_delim
21894 HMACC_TRUE!$HMACC_TRUE$ac_delim
21895 HMACC_FALSE!$HMACC_FALSE$ac_delim
21896 LN_S!$LN_S$ac_delim
21898 CFLAGS!$CFLAGS$ac_delim
21899 LDFLAGS!$LDFLAGS$ac_delim
21900 CPPFLAGS!$CPPFLAGS$ac_delim
21901 ac_ct_CC!$ac_ct_CC$ac_delim
21902 EXEEXT!$EXEEXT$ac_delim
21903 OBJEXT!$OBJEXT$ac_delim
21904 DEPDIR!$DEPDIR$ac_delim
21905 am__include!$am__include$ac_delim
21906 am__quote!$am__quote$ac_delim
21907 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
21908 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
21909 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
21910 CCDEPMODE!$CCDEPMODE$ac_delim
21911 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
21912 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
21913 build!$build$ac_delim
21914 build_cpu!$build_cpu$ac_delim
21915 build_vendor!$build_vendor$ac_delim
21916 build_os!$build_os$ac_delim
21917 host!$host$ac_delim
21918 host_cpu!$host_cpu$ac_delim
21919 host_vendor!$host_vendor$ac_delim
21920 host_os!$host_os$ac_delim
21922 GREP!$GREP$ac_delim
21923 EGREP!$EGREP$ac_delim
21924 ECHO!$ECHO$ac_delim
21926 RANLIB!$RANLIB$ac_delim
21929 CXXFLAGS!$CXXFLAGS$ac_delim
21930 ac_ct_CXX!$ac_ct_CXX$ac_delim
21931 CXXDEPMODE!$CXXDEPMODE$ac_delim
21934 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
21936 elif $ac_last_try; then
21937 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21938 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21939 { (exit 1); exit 1; }; }
21941 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
21945 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21946 if test -n "$ac_eof"; then
21947 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
21948 ac_eof
=`expr $ac_eof + 1`
21951 cat >>$CONFIG_STATUS <<_ACEOF
21952 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
21953 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21956 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21957 s/^/s,@/; s/!/@,|#_!!_#|/
21960 s/'"$ac_delim"'$/,g/; t
21962 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21963 ' >>$CONFIG_STATUS <conf$
$subs.
sed
21964 rm -f conf$
$subs.
sed
21965 cat >>$CONFIG_STATUS <<_ACEOF
21971 for ac_last_try
in false false false false false
:; do
21972 cat >conf$
$subs.
sed <<_ACEOF
21973 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
21974 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
21975 CXXCPP!$CXXCPP$ac_delim
21977 FFLAGS!$FFLAGS$ac_delim
21978 ac_ct_F77!$ac_ct_F77$ac_delim
21979 LIBTOOL!$LIBTOOL$ac_delim
21980 LIBOBJS!$LIBOBJS$ac_delim
21981 LTLIBOBJS!$LTLIBOBJS$ac_delim
21984 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 9; then
21986 elif $ac_last_try; then
21987 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21988 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21989 { (exit 1); exit 1; }; }
21991 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
21995 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21996 if test -n "$ac_eof"; then
21997 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
21998 ac_eof
=`expr $ac_eof + 1`
22001 cat >>$CONFIG_STATUS <<_ACEOF
22002 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
22003 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
22006 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22007 s/^/s,@/; s/!/@,|#_!!_#|/
22010 s/'"$ac_delim"'$/,g/; t
22012 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22013 ' >>$CONFIG_STATUS <conf$
$subs.
sed
22014 rm -f conf$
$subs.
sed
22015 cat >>$CONFIG_STATUS <<_ACEOF
22022 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22023 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22024 # trailing colons and then remove the whole line if VPATH becomes empty
22025 # (actually we leave an empty line to preserve line numbers).
22026 if test "x$srcdir" = x.
; then
22027 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
22028 s/:*\$(srcdir):*/:/
22029 s/:*\${srcdir}:*/:/
22031 s/^\([^=]*=[ ]*\):*/\1/
22037 cat >>$CONFIG_STATUS <<\_ACEOF
22038 fi # test -n "$CONFIG_FILES"
22041 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
22044 :[FHLC
]) ac_mode
=$ac_tag; continue;;
22046 case $ac_mode$ac_tag in
22048 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
22049 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
22050 { (exit 1); exit 1; }; };;
22051 :[FH
]-) ac_tag
=-:-;;
22052 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
22069 -) ac_f
="$tmp/stdin";;
22070 *) # Look for the file first in the build tree, then in the source tree
22071 # (if the path is not absolute). The absolute path cannot be DOS-style,
22072 # because $ac_f cannot contain `:'.
22076 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
22078 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22079 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22080 { (exit 1); exit 1; }; };;
22082 ac_file_inputs
="$ac_file_inputs $ac_f"
22085 # Let's still pretend it is `configure' which instantiates (i.e., don't
22086 # use $as_me), people would be surprised to read:
22087 # /* config.h. Generated by config.status. */
22088 configure_input
="Generated from "`IFS=:
22089 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
22090 if test x
"$ac_file" != x-
; then
22091 configure_input
="$ac_file. $configure_input"
22092 { echo "$as_me:$LINENO: creating $ac_file" >&5
22093 echo "$as_me: creating $ac_file" >&6;}
22097 *:-:* |
*:-) cat >"$tmp/stdin";;
22102 ac_dir
=`$as_dirname -- "$ac_file" ||
22103 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22104 X"$ac_file" : 'X\(//\)[^/]' \| \
22105 X"$ac_file" : 'X\(//\)$' \| \
22106 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22108 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22112 /^X\(\/\/\)[^/].*/{
22127 -*) as_dir
=.
/$as_dir;;
22129 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
22133 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22134 *) as_qdir
=$as_dir;;
22136 as_dirs
="'$as_qdir' $as_dirs"
22137 as_dir
=`$as_dirname -- "$as_dir" ||
22138 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22139 X"$as_dir" : 'X\(//\)[^/]' \| \
22140 X"$as_dir" : 'X\(//\)$' \| \
22141 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22143 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22147 /^X\(\/\/\)[^/].*/{
22160 test -d "$as_dir" && break
22162 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22163 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22164 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22165 { (exit 1); exit 1; }; }; }
22169 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22171 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22172 # A ".." for each directory in $ac_dir_suffix.
22173 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
22174 case $ac_top_builddir_sub in
22175 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22176 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
22179 ac_abs_top_builddir
=$ac_pwd
22180 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
22181 # for backward compatibility:
22182 ac_top_builddir
=$ac_top_build_prefix
22185 .
) # We are building in place.
22187 ac_top_srcdir
=$ac_top_builddir_sub
22188 ac_abs_top_srcdir
=$ac_pwd ;;
22189 [\\/]* | ?
:[\\/]* ) # Absolute name.
22190 ac_srcdir
=$srcdir$ac_dir_suffix;
22191 ac_top_srcdir
=$srcdir
22192 ac_abs_top_srcdir
=$srcdir ;;
22193 *) # Relative name.
22194 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
22195 ac_top_srcdir
=$ac_top_build_prefix$srcdir
22196 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
22198 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
22208 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
22209 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
22211 ac_MKDIR_P
=$MKDIR_P
22213 [\\/$
]* | ?
:[\\/]* ) ;;
22214 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
22218 cat >>$CONFIG_STATUS <<\_ACEOF
22219 # If the template does not know about datarootdir, expand it.
22220 # FIXME: This hack should be removed a few years after 2.60.
22221 ac_datarootdir_hack
=; ac_datarootdir_seen
=
22223 case `sed -n '/datarootdir/ {
22232 ' $ac_file_inputs` in
22233 *datarootdir
*) ac_datarootdir_seen
=yes;;
22234 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
22235 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22236 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22238 cat >>$CONFIG_STATUS <<_ACEOF
22239 ac_datarootdir_hack='
22240 s&@datadir@&$datadir&g
22241 s&@docdir@&$docdir&g
22242 s&@infodir@&$infodir&g
22243 s&@localedir@&$localedir&g
22244 s&@mandir@&$mandir&g
22245 s&\\\${datarootdir}&$datarootdir&g' ;;
22249 # Neutralize VPATH when `$srcdir' = `.'.
22250 # Shell code in configure.ac might set extrasub.
22251 # FIXME: do we really want to maintain this feature?
22252 cat >>$CONFIG_STATUS <<_ACEOF
22256 cat >>$CONFIG_STATUS <<\_ACEOF
22258 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
22259 s
&@configure_input@
&$configure_input&;t t
22260 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
22261 s
&@srcdir@
&$ac_srcdir&;t t
22262 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
22263 s
&@top_srcdir@
&$ac_top_srcdir&;t t
22264 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
22265 s
&@builddir@
&$ac_builddir&;t t
22266 s
&@abs_builddir@
&$ac_abs_builddir&;t t
22267 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
22268 s
&@INSTALL@
&$ac_INSTALL&;t t
22269 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
22270 $ac_datarootdir_hack
22271 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
22273 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22274 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
22275 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
22276 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
22277 which seems to be undefined. Please make sure it is defined." >&5
22278 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
22279 which seems to be undefined. Please make sure it is defined." >&2;}
22283 -) cat "$tmp/out"; rm -f "$tmp/out";;
22284 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
22293 # Transform confdefs.h into a sed script `conftest.defines', that
22294 # substitutes the proper values into config.h.in to produce config.h.
22295 rm -f conftest.defines conftest.
tail
22296 # First, append a space to every undef/define line, to ease matching.
22297 echo 's/$/ /' >conftest.defines
22298 # Then, protect against being on the right side of a sed subst, or in
22299 # an unquoted here document, in config.status. If some macros were
22300 # called several times there might be several #defines for the same
22301 # symbol, which is useless. But do not sort them, since the last
22302 # AC_DEFINE must be honored.
22303 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
22304 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
22305 # NAME is the cpp macro being defined, VALUE is the value it is being given.
22306 # PARAMS is the parameter list in the macro definition--in most cases, it's
22307 # just an empty string.
22308 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
22309 ac_dB
='\\)[ (].*,\\1define\\2'
22317 s/^[ ]*#[ ]*define[ ][ ]*//
22322 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
22323 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
22324 ' >>conftest.defines
22326 # Remove the space that was appended to ease matching.
22327 # Then replace #undef with comments. This is necessary, for
22328 # example, in the case of _POSIX_SOURCE, which is predefined and required
22329 # on some systems where configure will not decide to define it.
22330 # (The regexp can be short, since the line contains either #define or #undef.)
22332 s,^[ #]*u.*,/* & */,' >>conftest.defines
22334 # Break up conftest.defines:
22335 ac_max_sed_lines
=50
22337 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
22338 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
22339 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
22341 ac_in
='$ac_file_inputs'
22342 ac_out
='"$tmp/out1"'
22343 ac_nxt
='"$tmp/out2"'
22347 # Write a here document:
22348 cat >>$CONFIG_STATUS <<_ACEOF
22349 # First, check the format of the line:
22350 cat >"\$tmp/defines.sed" <<\\CEOF
22351 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
22352 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
22356 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
22358 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
22359 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
22360 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
22361 grep . conftest.
tail >/dev
/null ||
break
22362 rm -f conftest.defines
22363 mv conftest.
tail conftest.defines
22365 rm -f conftest.defines conftest.
tail
22367 echo "ac_result=$ac_in" >>$CONFIG_STATUS
22368 cat >>$CONFIG_STATUS <<\_ACEOF
22369 if test x
"$ac_file" != x-
; then
22370 echo "/* $configure_input */" >"$tmp/config.h"
22371 cat "$ac_result" >>"$tmp/config.h"
22372 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
22373 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22374 echo "$as_me: $ac_file is unchanged" >&6;}
22377 mv "$tmp/config.h" $ac_file
22380 echo "/* $configure_input */"
22384 # Compute $ac_file's index in $config_headers.
22386 for _am_header
in $config_headers :; do
22387 case $_am_header in
22388 $ac_file |
$ac_file:* )
22391 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
22394 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
22395 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22396 X$ac_file : 'X\(//\)[^/]' \| \
22397 X$ac_file : 'X\(//\)$' \| \
22398 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
22400 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22404 /^X\(\/\/\)[^/].*/{
22416 s/.*/./; q'`/stamp-h
$_am_stamp_count
22419 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
22420 echo "$as_me: executing $ac_file commands" >&6;}
22425 case $ac_file$ac_mode in
22426 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
22427 # Strip MF so we end up with the name of the file.
22428 mf
=`echo "$mf" | sed -e 's/:.*$//'`
22429 # Check whether this is an Automake generated Makefile or not.
22430 # We used to match only the files named `Makefile.in', but
22431 # some people rename them; so instead we look at the file content.
22432 # Grep'ing the first line is not enough: some people post-process
22433 # each Makefile.in and add a new line on top of each file to say so.
22434 # Grep'ing the whole file is not good either: AIX grep has a line
22435 # limit of 2048, but all sed's we know have understand at least 4000.
22436 if sed 10q
"$mf" |
grep '^#.*generated by automake' > /dev
/null
2>&1; then
22437 dirpart
=`$as_dirname -- "$mf" ||
22438 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22439 X"$mf" : 'X\(//\)[^/]' \| \
22440 X"$mf" : 'X\(//\)$' \| \
22441 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
22443 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22447 /^X\(\/\/\)[^/].*/{
22463 # Extract the definition of DEPDIR, am__include, and am__quote
22464 # from the Makefile without running `make'.
22465 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
22466 test -z "$DEPDIR" && continue
22467 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
22468 test -z "am__include" && continue
22469 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
22470 # When using ansi2knr, U may be empty or an underscore; expand it
22471 U
=`sed -n 's/^U = //p' < "$mf"`
22472 # Find all dependency output files, they are included files with
22473 # $(DEPDIR) in their names. We invoke sed twice because it is the
22474 # simplest approach to changing $(DEPDIR) to its actual value in the
22476 for file in `sed -n "
22477 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
22478 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
22479 # Make sure the directory exists.
22480 test -f "$dirpart/$file" && continue
22481 fdir
=`$as_dirname -- "$file" ||
22482 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22483 X"$file" : 'X\(//\)[^/]' \| \
22484 X"$file" : 'X\(//\)$' \| \
22485 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
22487 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22491 /^X\(\/\/\)[^/].*/{
22504 { as_dir
=$dirpart/$fdir
22506 -*) as_dir
=.
/$as_dir;;
22508 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
22512 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22513 *) as_qdir
=$as_dir;;
22515 as_dirs
="'$as_qdir' $as_dirs"
22516 as_dir
=`$as_dirname -- "$as_dir" ||
22517 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22518 X"$as_dir" : 'X\(//\)[^/]' \| \
22519 X"$as_dir" : 'X\(//\)$' \| \
22520 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22522 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22526 /^X\(\/\/\)[^/].*/{
22539 test -d "$as_dir" && break
22541 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22542 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22543 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22544 { (exit 1); exit 1; }; }; }
22545 # echo "creating $dirpart/$file"
22546 echo '# dummy' > "$dirpart/$file"
22555 { (exit 0); exit 0; }
22557 chmod +x
$CONFIG_STATUS
22558 ac_clean_files
=$ac_clean_files_save
22561 # configure is writing to config.log, and then calls config.status.
22562 # config.status does its own redirection, appending to config.log.
22563 # Unfortunately, on DOS this fails, as config.log is still kept open
22564 # by configure, so config.status won't be able to write to it; its
22565 # output is simply discarded. So we exec the FD to /dev/null,
22566 # effectively closing config.log, so it can be properly (re)opened and
22567 # appended to by config.status. When coming back to configure, we
22568 # need to make the FD available again.
22569 if test "$no_create" != yes; then
22571 ac_config_status_args
=
22572 test "$silent" = yes &&
22573 ac_config_status_args
="$ac_config_status_args --quiet"
22575 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
22577 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22578 # would make configure fail if this is the last instruction.
22579 $ac_cs_success ||
{ (exit 1); exit 1; }