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 { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$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 recognize dependent libraries" >&5
4211 echo $ECHO_N "checking how to recognize 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 # unless we find 'file', for example because we are cross-compiling.
4254 if ( file / ) >/dev
/null
2>&1; then
4255 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4256 lt_cv_file_magic_cmd
='func_win32_libid'
4258 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
4259 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4263 darwin
* | rhapsody
*)
4264 lt_cv_deplibs_check_method
=pass_all
4267 freebsd
* | dragonfly
*)
4268 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4271 # Not sure whether the presence of OpenBSD here was a mistake.
4272 # Let's accept both of them until this is cleared up.
4273 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4274 lt_cv_file_magic_cmd
=/usr
/bin
/file
4275 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4279 lt_cv_deplibs_check_method
=pass_all
4284 lt_cv_deplibs_check_method
=pass_all
4287 hpux10.20
* | hpux11
*)
4288 lt_cv_file_magic_cmd
=/usr
/bin
/file
4291 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4292 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
4295 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]'
4296 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
4299 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4300 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4306 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4307 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
4310 irix5
* | irix6
* | nonstopux
*)
4312 *-32|
*"-32 ") libmagic
=32-bit;;
4313 *-n32|
*"-n32 ") libmagic
=N32
;;
4314 *-64|
*"-64 ") libmagic
=64-bit;;
4315 *) libmagic
=never-match
;;
4317 lt_cv_deplibs_check_method
=pass_all
4320 # This must be Linux ELF.
4321 linux
* | k
*bsd
*-gnu)
4322 lt_cv_deplibs_check_method
=pass_all
4326 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4327 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4329 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4334 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4335 lt_cv_file_magic_cmd
=/usr
/bin
/file
4336 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4340 lt_cv_deplibs_check_method
=unknown
4344 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4345 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4347 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4351 osf3
* | osf4
* | osf5
*)
4352 lt_cv_deplibs_check_method
=pass_all
4356 lt_cv_deplibs_check_method
=pass_all
4360 lt_cv_deplibs_check_method
=pass_all
4364 case $host_vendor in
4366 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]'
4367 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4370 lt_cv_deplibs_check_method
=pass_all
4373 lt_cv_file_magic_cmd
='/bin/file'
4374 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4377 lt_cv_file_magic_cmd
='/bin/file'
4378 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4379 lt_cv_file_magic_test_file
=/lib
/libc.so
4382 lt_cv_deplibs_check_method
=pass_all
4385 lt_cv_deplibs_check_method
=pass_all
4390 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
4391 lt_cv_deplibs_check_method
=pass_all
4396 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4397 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4398 file_magic_cmd
=$lt_cv_file_magic_cmd
4399 deplibs_check_method
=$lt_cv_deplibs_check_method
4400 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
4405 # If no C compiler was specified, use CC.
4408 # If no C compiler flags were specified, use CFLAGS.
4409 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
4411 # Allow CC to be a program name with arguments.
4415 # Check whether --enable-libtool-lock was given.
4416 if test "${enable_libtool_lock+set}" = set; then
4417 enableval
=$enable_libtool_lock;
4420 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
4422 # Some flags need to be propagated to the compiler or linker for good
4426 # Find out which ABI we are using.
4427 echo 'int i;' > conftest.
$ac_ext
4428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4429 (eval $ac_compile) 2>&5
4431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4432 (exit $ac_status); }; then
4433 case `/usr/bin/file conftest.$ac_objext` in
4445 # Find out which ABI we are using.
4446 echo '#line 4446 "configure"' > conftest.
$ac_ext
4447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4448 (eval $ac_compile) 2>&5
4450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4451 (exit $ac_status); }; then
4452 if test "$lt_cv_prog_gnu_ld" = yes; then
4453 case `/usr/bin/file conftest.$ac_objext` in
4455 LD
="${LD-ld} -melf32bsmip"
4458 LD
="${LD-ld} -melf32bmipn32"
4461 LD
="${LD-ld} -melf64bmip"
4465 case `/usr/bin/file conftest.$ac_objext` in
4481 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
4482 s390
*-*linux
*|sparc
*-*linux
*)
4483 # Find out which ABI we are using.
4484 echo 'int i;' > conftest.
$ac_ext
4485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4486 (eval $ac_compile) 2>&5
4488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4489 (exit $ac_status); }; then
4490 case `/usr/bin/file conftest.o` in
4493 x86_64-
*kfreebsd
*-gnu)
4494 LD
="${LD-ld} -m elf_i386_fbsd"
4497 LD
="${LD-ld} -m elf_i386"
4499 ppc64-
*linux
*|powerpc64-
*linux
*)
4500 LD
="${LD-ld} -m elf32ppclinux"
4503 LD
="${LD-ld} -m elf_s390"
4506 LD
="${LD-ld} -m elf32_sparc"
4513 x86_64-
*kfreebsd
*-gnu)
4514 LD
="${LD-ld} -m elf_x86_64_fbsd"
4517 LD
="${LD-ld} -m elf_x86_64"
4519 ppc
*-*linux
*|powerpc
*-*linux
*)
4520 LD
="${LD-ld} -m elf64ppc"
4523 LD
="${LD-ld} -m elf64_s390"
4526 LD
="${LD-ld} -m elf64_sparc"
4536 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4537 SAVE_CFLAGS
="$CFLAGS"
4538 CFLAGS
="$CFLAGS -belf"
4539 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4540 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4541 if test "${lt_cv_cc_needs_belf+set}" = set; then
4542 echo $ECHO_N "(cached) $ECHO_C" >&6
4545 ac_cpp
='$CPP $CPPFLAGS'
4546 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4547 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4548 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4550 cat >conftest.
$ac_ext <<_ACEOF
4553 cat confdefs.h
>>conftest.
$ac_ext
4554 cat >>conftest.
$ac_ext <<_ACEOF
4555 /* end confdefs.h. */
4565 rm -f conftest.
$ac_objext conftest
$ac_exeext
4566 if { (ac_try
="$ac_link"
4568 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4569 *) ac_try_echo=$ac_try;;
4571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4572 (eval "$ac_link") 2>conftest.er1
4574 grep -v '^ *+' conftest.er1 >conftest.err
4576 cat conftest.err >&5
4577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4578 (exit $ac_status); } && {
4579 test -z "$ac_c_werror_flag" ||
4580 test ! -s conftest.err
4581 } && test -s conftest$ac_exeext &&
4582 $as_test_x conftest$ac_exeext; then
4583 lt_cv_cc_needs_belf=yes
4585 echo "$as_me: failed program was:" >&5
4586 sed 's/^/| /' conftest.$ac_ext >&5
4588 lt_cv_cc_needs_belf=no
4591 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4592 conftest$ac_exeext conftest.$ac_ext
4594 ac_cpp='$CPP $CPPFLAGS'
4595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4600 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4601 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
4602 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4603 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4604 CFLAGS="$SAVE_CFLAGS"
4608 # Find out which ABI we are using.
4609 echo 'int i;' > conftest.$ac_ext
4610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4611 (eval $ac_compile) 2>&5
4613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4614 (exit $ac_status); }; then
4615 case `/usr
/bin
/file conftest.o
` in
4617 case $lt_cv_prog_gnu_ld in
4618 yes*) LD="${LD-ld} -m elf64_sparc" ;;
4619 *) LD="${LD-ld} -64" ;;
4630 need_locks="$enable_libtool_lock"
4634 ac_cpp='$CPP $CPPFLAGS'
4635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4638 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4639 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4640 # On Suns, sometimes $CPP names a directory.
4641 if test -n "$CPP" && test -d "$CPP"; then
4644 if test -z "$CPP"; then
4645 if test "${ac_cv_prog_CPP+set}" = set; then
4646 echo $ECHO_N "(cached) $ECHO_C" >&6
4648 # Double quotes because CPP needs to be expanded
4649 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4652 for ac_c_preproc_warn_flag in '' yes
4654 # Use a header file that comes with gcc, so configuring glibc
4655 # with a fresh cross-compiler works.
4656 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4657 # <limits.h> exists even on freestanding compilers.
4658 # On the NeXT, cc -E runs the code through the compiler's parser,
4659 # not just through cpp. "Syntax error" is here to catch this case.
4660 cat >conftest.$ac_ext <<_ACEOF
4663 cat confdefs.h >>conftest.$ac_ext
4664 cat >>conftest.$ac_ext <<_ACEOF
4665 /* end confdefs.h. */
4667 # include <limits.h>
4669 # include <assert.h>
4673 if { (ac_try="$ac_cpp conftest.$ac_ext"
4675 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4676 *) ac_try_echo
=$ac_try;;
4678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4679 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4681 grep -v '^ *+' conftest.er1
>conftest.err
4683 cat conftest.err
>&5
4684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4685 (exit $ac_status); } >/dev
/null
&& {
4686 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4687 test ! -s conftest.err
4691 echo "$as_me: failed program was:" >&5
4692 sed 's/^/| /' conftest.
$ac_ext >&5
4694 # Broken: fails on valid input.
4698 rm -f conftest.err conftest.
$ac_ext
4700 # OK, works on sane cases. Now check whether nonexistent headers
4701 # can be detected and how.
4702 cat >conftest.
$ac_ext <<_ACEOF
4705 cat confdefs.h
>>conftest.
$ac_ext
4706 cat >>conftest.
$ac_ext <<_ACEOF
4707 /* end confdefs.h. */
4708 #include <ac_nonexistent.h>
4710 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4712 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4713 *) ac_try_echo=$ac_try;;
4715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4716 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4718 grep -v '^ *+' conftest.er1 >conftest.err
4720 cat conftest.err >&5
4721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4722 (exit $ac_status); } >/dev/null && {
4723 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4724 test ! -s conftest.err
4726 # Broken: success on invalid input.
4729 echo "$as_me: failed program was:" >&5
4730 sed 's/^/| /' conftest.$ac_ext >&5
4732 # Passes both tests.
4737 rm -f conftest.err conftest.$ac_ext
4740 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4741 rm -f conftest.err conftest.
$ac_ext
4742 if $ac_preproc_ok; then
4754 { echo "$as_me:$LINENO: result: $CPP" >&5
4755 echo "${ECHO_T}$CPP" >&6; }
4757 for ac_c_preproc_warn_flag
in '' yes
4759 # Use a header file that comes with gcc, so configuring glibc
4760 # with a fresh cross-compiler works.
4761 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4762 # <limits.h> exists even on freestanding compilers.
4763 # On the NeXT, cc -E runs the code through the compiler's parser,
4764 # not just through cpp. "Syntax error" is here to catch this case.
4765 cat >conftest.
$ac_ext <<_ACEOF
4768 cat confdefs.h
>>conftest.
$ac_ext
4769 cat >>conftest.
$ac_ext <<_ACEOF
4770 /* end confdefs.h. */
4772 # include <limits.h>
4774 # include <assert.h>
4778 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4780 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4781 *) ac_try_echo=$ac_try;;
4783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4784 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4786 grep -v '^ *+' conftest.er1 >conftest.err
4788 cat conftest.err >&5
4789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4790 (exit $ac_status); } >/dev/null && {
4791 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4792 test ! -s conftest.err
4796 echo "$as_me: failed program was:" >&5
4797 sed 's/^/| /' conftest.$ac_ext >&5
4799 # Broken: fails on valid input.
4803 rm -f conftest.err conftest.$ac_ext
4805 # OK, works on sane cases. Now check whether nonexistent headers
4806 # can be detected and how.
4807 cat >conftest.$ac_ext <<_ACEOF
4810 cat confdefs.h >>conftest.$ac_ext
4811 cat >>conftest.$ac_ext <<_ACEOF
4812 /* end confdefs.h. */
4813 #include <ac_nonexistent.h>
4815 if { (ac_try="$ac_cpp conftest.$ac_ext"
4817 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4818 *) ac_try_echo
=$ac_try;;
4820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4821 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4823 grep -v '^ *+' conftest.er1
>conftest.err
4825 cat conftest.err
>&5
4826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4827 (exit $ac_status); } >/dev
/null
&& {
4828 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4829 test ! -s conftest.err
4831 # Broken: success on invalid input.
4834 echo "$as_me: failed program was:" >&5
4835 sed 's/^/| /' conftest.
$ac_ext >&5
4837 # Passes both tests.
4842 rm -f conftest.err conftest.
$ac_ext
4845 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4846 rm -f conftest.err conftest.
$ac_ext
4847 if $ac_preproc_ok; then
4850 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4851 See \`config.log' for more details." >&5
4852 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4853 See \`config.log' for more details." >&2;}
4854 { (exit 1); exit 1; }; }
4858 ac_cpp
='$CPP $CPPFLAGS'
4859 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4860 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4861 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4864 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4865 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4866 if test "${ac_cv_header_stdc+set}" = set; then
4867 echo $ECHO_N "(cached) $ECHO_C" >&6
4869 cat >conftest.
$ac_ext <<_ACEOF
4872 cat confdefs.h
>>conftest.
$ac_ext
4873 cat >>conftest.
$ac_ext <<_ACEOF
4874 /* end confdefs.h. */
4888 rm -f conftest.
$ac_objext
4889 if { (ac_try
="$ac_compile"
4891 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4892 *) ac_try_echo=$ac_try;;
4894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4895 (eval "$ac_compile") 2>conftest.er1
4897 grep -v '^ *+' conftest.er1 >conftest.err
4899 cat conftest.err >&5
4900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4901 (exit $ac_status); } && {
4902 test -z "$ac_c_werror_flag" ||
4903 test ! -s conftest.err
4904 } && test -s conftest.$ac_objext; then
4905 ac_cv_header_stdc=yes
4907 echo "$as_me: failed program was:" >&5
4908 sed 's/^/| /' conftest.$ac_ext >&5
4910 ac_cv_header_stdc=no
4913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4915 if test $ac_cv_header_stdc = yes; then
4916 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4917 cat >conftest.$ac_ext <<_ACEOF
4920 cat confdefs.h >>conftest.$ac_ext
4921 cat >>conftest.$ac_ext <<_ACEOF
4922 /* end confdefs.h. */
4926 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4927 $EGREP "memchr" >/dev/null 2>&1; then
4930 ac_cv_header_stdc=no
4936 if test $ac_cv_header_stdc = yes; then
4937 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4938 cat >conftest.$ac_ext <<_ACEOF
4941 cat confdefs.h >>conftest.$ac_ext
4942 cat >>conftest.$ac_ext <<_ACEOF
4943 /* end confdefs.h. */
4947 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4948 $EGREP "free" >/dev/null 2>&1; then
4951 ac_cv_header_stdc=no
4957 if test $ac_cv_header_stdc = yes; then
4958 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4959 if test "$cross_compiling" = yes; then
4962 cat >conftest.$ac_ext <<_ACEOF
4965 cat confdefs.h >>conftest.$ac_ext
4966 cat >>conftest.$ac_ext <<_ACEOF
4967 /* end confdefs.h. */
4970 #if ((' ' & 0x0FF) == 0x020)
4971 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4972 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4974 # define ISLOWER(c) \
4975 (('a' <= (c) && (c) <= 'i') \
4976 || ('j' <= (c) && (c) <= 'r') \
4977 || ('s' <= (c) && (c) <= 'z'))
4978 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4981 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4986 for (i = 0; i < 256; i++)
4987 if (XOR (islower (i), ISLOWER (i))
4988 || toupper (i) != TOUPPER (i))
4993 rm -f conftest$ac_exeext
4994 if { (ac_try="$ac_link"
4996 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4997 *) ac_try_echo
=$ac_try;;
4999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5000 (eval "$ac_link") 2>&5
5002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5003 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5004 { (case "(($ac_try" in
5005 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5006 *) ac_try_echo=$ac_try;;
5008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5009 (eval "$ac_try") 2>&5
5011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5012 (exit $ac_status); }; }; then
5015 echo "$as_me: program exited with status $ac_status" >&5
5016 echo "$as_me: failed program was:" >&5
5017 sed 's/^/| /' conftest.$ac_ext >&5
5020 ac_cv_header_stdc=no
5022 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5028 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5029 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5030 if test $ac_cv_header_stdc = yes; then
5032 cat >>confdefs.h <<\_ACEOF
5033 #define STDC_HEADERS 1
5038 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5048 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5049 inttypes.h stdint.h unistd.h
5051 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5052 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5053 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5054 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5055 echo $ECHO_N "(cached) $ECHO_C" >&6
5057 cat >conftest.$ac_ext <<_ACEOF
5060 cat confdefs.h >>conftest.$ac_ext
5061 cat >>conftest.$ac_ext <<_ACEOF
5062 /* end confdefs.h. */
5063 $ac_includes_default
5065 #include <$ac_header>
5067 rm -f conftest.$ac_objext
5068 if { (ac_try="$ac_compile"
5070 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5071 *) ac_try_echo
=$ac_try;;
5073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5074 (eval "$ac_compile") 2>conftest.er1
5076 grep -v '^ *+' conftest.er1
>conftest.err
5078 cat conftest.err
>&5
5079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5080 (exit $ac_status); } && {
5081 test -z "$ac_c_werror_flag" ||
5082 test ! -s conftest.err
5083 } && test -s conftest.
$ac_objext; then
5084 eval "$as_ac_Header=yes"
5086 echo "$as_me: failed program was:" >&5
5087 sed 's/^/| /' conftest.
$ac_ext >&5
5089 eval "$as_ac_Header=no"
5092 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5094 ac_res
=`eval echo '${'$as_ac_Header'}'`
5095 { echo "$as_me:$LINENO: result: $ac_res" >&5
5096 echo "${ECHO_T}$ac_res" >&6; }
5097 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5098 cat >>confdefs.h
<<_ACEOF
5099 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5108 for ac_header
in dlfcn.h
5110 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5111 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5112 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5113 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5114 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5115 echo $ECHO_N "(cached) $ECHO_C" >&6
5117 ac_res
=`eval echo '${'$as_ac_Header'}'`
5118 { echo "$as_me:$LINENO: result: $ac_res" >&5
5119 echo "${ECHO_T}$ac_res" >&6; }
5121 # Is the header compilable?
5122 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5123 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5124 cat >conftest.
$ac_ext <<_ACEOF
5127 cat confdefs.h
>>conftest.
$ac_ext
5128 cat >>conftest.
$ac_ext <<_ACEOF
5129 /* end confdefs.h. */
5130 $ac_includes_default
5131 #include <$ac_header>
5133 rm -f conftest.
$ac_objext
5134 if { (ac_try
="$ac_compile"
5136 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5137 *) ac_try_echo=$ac_try;;
5139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5140 (eval "$ac_compile") 2>conftest.er1
5142 grep -v '^ *+' conftest.er1 >conftest.err
5144 cat conftest.err >&5
5145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5146 (exit $ac_status); } && {
5147 test -z "$ac_c_werror_flag" ||
5148 test ! -s conftest.err
5149 } && test -s conftest.$ac_objext; then
5150 ac_header_compiler=yes
5152 echo "$as_me: failed program was:" >&5
5153 sed 's/^/| /' conftest.$ac_ext >&5
5155 ac_header_compiler=no
5158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5159 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5160 echo "${ECHO_T}$ac_header_compiler" >&6; }
5162 # Is the header present?
5163 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5164 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5165 cat >conftest.$ac_ext <<_ACEOF
5168 cat confdefs.h >>conftest.$ac_ext
5169 cat >>conftest.$ac_ext <<_ACEOF
5170 /* end confdefs.h. */
5171 #include <$ac_header>
5173 if { (ac_try="$ac_cpp conftest.$ac_ext"
5175 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5176 *) ac_try_echo
=$ac_try;;
5178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5179 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5181 grep -v '^ *+' conftest.er1
>conftest.err
5183 cat conftest.err
>&5
5184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5185 (exit $ac_status); } >/dev
/null
&& {
5186 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5187 test ! -s conftest.err
5189 ac_header_preproc
=yes
5191 echo "$as_me: failed program was:" >&5
5192 sed 's/^/| /' conftest.
$ac_ext >&5
5194 ac_header_preproc
=no
5197 rm -f conftest.err conftest.
$ac_ext
5198 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5199 echo "${ECHO_T}$ac_header_preproc" >&6; }
5201 # So? What about this header?
5202 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5204 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5205 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5206 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5207 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5208 ac_header_preproc
=yes
5211 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5212 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5213 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5214 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5215 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5216 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5217 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5218 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5219 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5220 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5221 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5222 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5224 ## -------------------------------------------------- ##
5225 ## Report this to courier-users@lists.sourceforge.net ##
5226 ## -------------------------------------------------- ##
5228 ) |
sed "s/^/$as_me: WARNING: /" >&2
5231 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5232 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5233 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5234 echo $ECHO_N "(cached) $ECHO_C" >&6
5236 eval "$as_ac_Header=\$ac_header_preproc"
5238 ac_res
=`eval echo '${'$as_ac_Header'}'`
5239 { echo "$as_me:$LINENO: result: $ac_res" >&5
5240 echo "${ECHO_T}$ac_res" >&6; }
5243 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5244 cat >>confdefs.h
<<_ACEOF
5245 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5253 ac_cpp
='$CXXCPP $CPPFLAGS'
5254 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5255 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5256 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5257 if test -z "$CXX"; then
5258 if test -n "$CCC"; then
5261 if test -n "$ac_tool_prefix"; then
5262 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
5264 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5265 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5266 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5267 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5268 if test "${ac_cv_prog_CXX+set}" = set; then
5269 echo $ECHO_N "(cached) $ECHO_C" >&6
5271 if test -n "$CXX"; then
5272 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
5274 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5278 test -z "$as_dir" && as_dir
=.
5279 for ac_exec_ext
in '' $ac_executable_extensions; do
5280 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5281 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
5282 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5292 if test -n "$CXX"; then
5293 { echo "$as_me:$LINENO: result: $CXX" >&5
5294 echo "${ECHO_T}$CXX" >&6; }
5296 { echo "$as_me:$LINENO: result: no" >&5
5297 echo "${ECHO_T}no" >&6; }
5301 test -n "$CXX" && break
5304 if test -z "$CXX"; then
5306 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
5308 # Extract the first word of "$ac_prog", so it can be a program name with args.
5309 set dummy
$ac_prog; ac_word
=$2
5310 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5311 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5312 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5313 echo $ECHO_N "(cached) $ECHO_C" >&6
5315 if test -n "$ac_ct_CXX"; then
5316 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
5318 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5322 test -z "$as_dir" && as_dir
=.
5323 for ac_exec_ext
in '' $ac_executable_extensions; do
5324 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5325 ac_cv_prog_ac_ct_CXX
="$ac_prog"
5326 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5335 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
5336 if test -n "$ac_ct_CXX"; then
5337 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5338 echo "${ECHO_T}$ac_ct_CXX" >&6; }
5340 { echo "$as_me:$LINENO: result: no" >&5
5341 echo "${ECHO_T}no" >&6; }
5345 test -n "$ac_ct_CXX" && break
5348 if test "x$ac_ct_CXX" = x
; then
5351 case $cross_compiling:$ac_tool_warned in
5353 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5354 whose name does not start with the host triplet. If you think this
5355 configuration is useful to you, please write to autoconf@gnu.org." >&5
5356 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5357 whose name does not start with the host triplet. If you think this
5358 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5359 ac_tool_warned
=yes ;;
5367 # Provide some information about the compiler.
5368 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
5369 ac_compiler
=`set X $ac_compile; echo $2`
5370 { (ac_try
="$ac_compiler --version >&5"
5372 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5373 *) ac_try_echo=$ac_try;;
5375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5376 (eval "$ac_compiler --version >&5") 2>&5
5378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5379 (exit $ac_status); }
5380 { (ac_try="$ac_compiler -v >&5"
5382 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5383 *) ac_try_echo
=$ac_try;;
5385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5386 (eval "$ac_compiler -v >&5") 2>&5
5388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5389 (exit $ac_status); }
5390 { (ac_try
="$ac_compiler -V >&5"
5392 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5393 *) ac_try_echo=$ac_try;;
5395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5396 (eval "$ac_compiler -V >&5") 2>&5
5398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5399 (exit $ac_status); }
5401 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5402 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
5403 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5404 echo $ECHO_N "(cached) $ECHO_C" >&6
5406 cat >conftest.$ac_ext <<_ACEOF
5409 cat confdefs.h >>conftest.$ac_ext
5410 cat >>conftest.$ac_ext <<_ACEOF
5411 /* end confdefs.h. */
5424 rm -f conftest.$ac_objext
5425 if { (ac_try="$ac_compile"
5427 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5428 *) ac_try_echo
=$ac_try;;
5430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5431 (eval "$ac_compile") 2>conftest.er1
5433 grep -v '^ *+' conftest.er1
>conftest.err
5435 cat conftest.err
>&5
5436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5437 (exit $ac_status); } && {
5438 test -z "$ac_cxx_werror_flag" ||
5439 test ! -s conftest.err
5440 } && test -s conftest.
$ac_objext; then
5443 echo "$as_me: failed program was:" >&5
5444 sed 's/^/| /' conftest.
$ac_ext >&5
5449 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5450 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5453 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5454 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
5455 GXX
=`test $ac_compiler_gnu = yes && echo yes`
5456 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5457 ac_save_CXXFLAGS
=$CXXFLAGS
5458 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5459 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
5460 if test "${ac_cv_prog_cxx_g+set}" = set; then
5461 echo $ECHO_N "(cached) $ECHO_C" >&6
5463 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5464 ac_cxx_werror_flag
=yes
5467 cat >conftest.
$ac_ext <<_ACEOF
5470 cat confdefs.h
>>conftest.
$ac_ext
5471 cat >>conftest.
$ac_ext <<_ACEOF
5472 /* end confdefs.h. */
5482 rm -f conftest.
$ac_objext
5483 if { (ac_try
="$ac_compile"
5485 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5486 *) ac_try_echo=$ac_try;;
5488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5489 (eval "$ac_compile") 2>conftest.er1
5491 grep -v '^ *+' conftest.er1 >conftest.err
5493 cat conftest.err >&5
5494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5495 (exit $ac_status); } && {
5496 test -z "$ac_cxx_werror_flag" ||
5497 test ! -s conftest.err
5498 } && test -s conftest.$ac_objext; then
5499 ac_cv_prog_cxx_g=yes
5501 echo "$as_me: failed program was:" >&5
5502 sed 's/^/| /' conftest.$ac_ext >&5
5505 cat >conftest.$ac_ext <<_ACEOF
5508 cat confdefs.h >>conftest.$ac_ext
5509 cat >>conftest.$ac_ext <<_ACEOF
5510 /* end confdefs.h. */
5520 rm -f conftest.$ac_objext
5521 if { (ac_try="$ac_compile"
5523 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5524 *) ac_try_echo
=$ac_try;;
5526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5527 (eval "$ac_compile") 2>conftest.er1
5529 grep -v '^ *+' conftest.er1
>conftest.err
5531 cat conftest.err
>&5
5532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5533 (exit $ac_status); } && {
5534 test -z "$ac_cxx_werror_flag" ||
5535 test ! -s conftest.err
5536 } && test -s conftest.
$ac_objext; then
5539 echo "$as_me: failed program was:" >&5
5540 sed 's/^/| /' conftest.
$ac_ext >&5
5542 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5544 cat >conftest.
$ac_ext <<_ACEOF
5547 cat confdefs.h
>>conftest.
$ac_ext
5548 cat >>conftest.
$ac_ext <<_ACEOF
5549 /* end confdefs.h. */
5559 rm -f conftest.
$ac_objext
5560 if { (ac_try
="$ac_compile"
5562 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5563 *) ac_try_echo=$ac_try;;
5565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5566 (eval "$ac_compile") 2>conftest.er1
5568 grep -v '^ *+' conftest.er1 >conftest.err
5570 cat conftest.err >&5
5571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5572 (exit $ac_status); } && {
5573 test -z "$ac_cxx_werror_flag" ||
5574 test ! -s conftest.err
5575 } && test -s conftest.$ac_objext; then
5576 ac_cv_prog_cxx_g=yes
5578 echo "$as_me: failed program was:" >&5
5579 sed 's/^/| /' conftest.$ac_ext >&5
5584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5591 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5593 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5594 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
5595 if test "$ac_test_CXXFLAGS" = set; then
5596 CXXFLAGS=$ac_save_CXXFLAGS
5597 elif test $ac_cv_prog_cxx_g = yes; then
5598 if test "$GXX" = yes; then
5604 if test "$GXX" = yes; then
5611 ac_cpp='$CXXCPP $CPPFLAGS'
5612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5616 depcc="$CXX" am_compiler_list=
5618 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5619 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
5620 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5621 echo $ECHO_N "(cached) $ECHO_C" >&6
5623 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5624 # We make a subdir and do the tests there. Otherwise we can end up
5625 # making bogus files that we don't know about and never remove. For
5626 # instance it was reported that on HP-UX the gcc test will end up
5627 # making a dummy file named `D
' -- because `-MD' means
`put the output
5630 # Copy depcomp to subdir because otherwise we won't find it if we're
5631 # using a relative directory.
5632 cp "$am_depcomp" conftest.dir
5634 # We will build objects and dependencies in a subdirectory because
5635 # it helps to detect inapplicable dependency modes. For instance
5636 # both Tru64's cc and ICC support -MD to output dependencies as a
5637 # side effect of compilation, but ICC will put the dependencies in
5638 # the current directory while Tru64 will put them in the object
5642 am_cv_CXX_dependencies_compiler_type=none
5643 if test "$am_compiler_list" = ""; then
5644 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5646 for depmode in $am_compiler_list; do
5647 # Setup a source with many dependencies, because some compilers
5648 # like to wrap large dependency lists on column 80 (with \), and
5649 # we should not choose a depcomp mode which is confused by this.
5651 # We need to recreate these files for each test, as the compiler may
5652 # overwrite some of them when testing with obscure command lines.
5653 # This happens at least with the AIX C compiler.
5655 for i in 1 2 3 4 5 6; do
5656 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5657 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
5658 # Solaris 8's
{/usr
,}/bin
/sh.
5659 touch sub
/conftst
$i.h
5661 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5665 # after this tag, mechanisms are not by side-effect, so they'll
5666 # only be used when explicitly requested
5667 if test "x$enable_dependency_tracking" = xyes
; then
5675 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5676 # mode. It turns out that the SunPro C++ compiler does not properly
5677 # handle `-M -o', and we need to detect this.
5678 if depmode
=$depmode \
5679 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
5680 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5681 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
5682 >/dev
/null
2>conftest.err
&&
5683 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5684 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5685 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
5686 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5687 # icc doesn't choke on unknown options, it will just issue warnings
5688 # or remarks (even with -Werror). So we grep stderr for any message
5689 # that says an option was ignored or not supported.
5690 # When given -MP, icc 7.0 and 7.1 complain thusly:
5691 # icc: Command line warning: ignoring option '-M'; no argument required
5692 # The diagnosis changed in icc 8.0:
5693 # icc: Command line remark: option '-MP' not supported
5694 if (grep 'ignoring option' conftest.err ||
5695 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5696 am_cv_CXX_dependencies_compiler_type
=$depmode
5705 am_cv_CXX_dependencies_compiler_type
=none
5709 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5710 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
5711 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5714 test "x$enable_dependency_tracking" != xno \
5715 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5716 am__fastdepCXX_TRUE
=
5717 am__fastdepCXX_FALSE
='#'
5719 am__fastdepCXX_TRUE
='#'
5720 am__fastdepCXX_FALSE
=
5726 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5727 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5728 (test "X$CXX" != "Xg++"))) ; then
5730 ac_cpp
='$CXXCPP $CPPFLAGS'
5731 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5732 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5733 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5734 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5735 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5736 if test -z "$CXXCPP"; then
5737 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5738 echo $ECHO_N "(cached) $ECHO_C" >&6
5740 # Double quotes because CXXCPP needs to be expanded
5741 for CXXCPP
in "$CXX -E" "/lib/cpp"
5744 for ac_cxx_preproc_warn_flag
in '' yes
5746 # Use a header file that comes with gcc, so configuring glibc
5747 # with a fresh cross-compiler works.
5748 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5749 # <limits.h> exists even on freestanding compilers.
5750 # On the NeXT, cc -E runs the code through the compiler's parser,
5751 # not just through cpp. "Syntax error" is here to catch this case.
5752 cat >conftest.
$ac_ext <<_ACEOF
5755 cat confdefs.h
>>conftest.
$ac_ext
5756 cat >>conftest.
$ac_ext <<_ACEOF
5757 /* end confdefs.h. */
5759 # include <limits.h>
5761 # include <assert.h>
5765 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5767 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5768 *) ac_try_echo=$ac_try;;
5770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5771 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5773 grep -v '^ *+' conftest.er1 >conftest.err
5775 cat conftest.err >&5
5776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5777 (exit $ac_status); } >/dev/null && {
5778 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5779 test ! -s conftest.err
5783 echo "$as_me: failed program was:" >&5
5784 sed 's/^/| /' conftest.$ac_ext >&5
5786 # Broken: fails on valid input.
5790 rm -f conftest.err conftest.$ac_ext
5792 # OK, works on sane cases. Now check whether nonexistent headers
5793 # can be detected and how.
5794 cat >conftest.$ac_ext <<_ACEOF
5797 cat confdefs.h >>conftest.$ac_ext
5798 cat >>conftest.$ac_ext <<_ACEOF
5799 /* end confdefs.h. */
5800 #include <ac_nonexistent.h>
5802 if { (ac_try="$ac_cpp conftest.$ac_ext"
5804 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5805 *) ac_try_echo
=$ac_try;;
5807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5808 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5810 grep -v '^ *+' conftest.er1
>conftest.err
5812 cat conftest.err
>&5
5813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5814 (exit $ac_status); } >/dev
/null
&& {
5815 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5816 test ! -s conftest.err
5818 # Broken: success on invalid input.
5821 echo "$as_me: failed program was:" >&5
5822 sed 's/^/| /' conftest.
$ac_ext >&5
5824 # Passes both tests.
5829 rm -f conftest.err conftest.
$ac_ext
5832 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5833 rm -f conftest.err conftest.
$ac_ext
5834 if $ac_preproc_ok; then
5839 ac_cv_prog_CXXCPP
=$CXXCPP
5842 CXXCPP
=$ac_cv_prog_CXXCPP
5844 ac_cv_prog_CXXCPP
=$CXXCPP
5846 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
5847 echo "${ECHO_T}$CXXCPP" >&6; }
5849 for ac_cxx_preproc_warn_flag
in '' yes
5851 # Use a header file that comes with gcc, so configuring glibc
5852 # with a fresh cross-compiler works.
5853 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5854 # <limits.h> exists even on freestanding compilers.
5855 # On the NeXT, cc -E runs the code through the compiler's parser,
5856 # not just through cpp. "Syntax error" is here to catch this case.
5857 cat >conftest.
$ac_ext <<_ACEOF
5860 cat confdefs.h
>>conftest.
$ac_ext
5861 cat >>conftest.
$ac_ext <<_ACEOF
5862 /* end confdefs.h. */
5864 # include <limits.h>
5866 # include <assert.h>
5870 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5872 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5873 *) ac_try_echo=$ac_try;;
5875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5876 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5878 grep -v '^ *+' conftest.er1 >conftest.err
5880 cat conftest.err >&5
5881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5882 (exit $ac_status); } >/dev/null && {
5883 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5884 test ! -s conftest.err
5888 echo "$as_me: failed program was:" >&5
5889 sed 's/^/| /' conftest.$ac_ext >&5
5891 # Broken: fails on valid input.
5895 rm -f conftest.err conftest.$ac_ext
5897 # OK, works on sane cases. Now check whether nonexistent headers
5898 # can be detected and how.
5899 cat >conftest.$ac_ext <<_ACEOF
5902 cat confdefs.h >>conftest.$ac_ext
5903 cat >>conftest.$ac_ext <<_ACEOF
5904 /* end confdefs.h. */
5905 #include <ac_nonexistent.h>
5907 if { (ac_try="$ac_cpp conftest.$ac_ext"
5909 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5910 *) ac_try_echo
=$ac_try;;
5912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5913 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5915 grep -v '^ *+' conftest.er1
>conftest.err
5917 cat conftest.err
>&5
5918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5919 (exit $ac_status); } >/dev
/null
&& {
5920 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5921 test ! -s conftest.err
5923 # Broken: success on invalid input.
5926 echo "$as_me: failed program was:" >&5
5927 sed 's/^/| /' conftest.
$ac_ext >&5
5929 # Passes both tests.
5934 rm -f conftest.err conftest.
$ac_ext
5937 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5938 rm -f conftest.err conftest.
$ac_ext
5939 if $ac_preproc_ok; then
5942 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5943 See \`config.log' for more details." >&5
5944 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5945 See \`config.log' for more details." >&2;}
5946 { (exit 1); exit 1; }; }
5950 ac_cpp
='$CXXCPP $CPPFLAGS'
5951 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5952 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5953 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5959 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5960 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5961 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
5962 if test -n "$ac_tool_prefix"; then
5963 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
5965 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5966 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5967 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5968 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5969 if test "${ac_cv_prog_F77+set}" = set; then
5970 echo $ECHO_N "(cached) $ECHO_C" >&6
5972 if test -n "$F77"; then
5973 ac_cv_prog_F77
="$F77" # Let the user override the test.
5975 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5979 test -z "$as_dir" && as_dir
=.
5980 for ac_exec_ext
in '' $ac_executable_extensions; do
5981 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5982 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
5983 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5993 if test -n "$F77"; then
5994 { echo "$as_me:$LINENO: result: $F77" >&5
5995 echo "${ECHO_T}$F77" >&6; }
5997 { echo "$as_me:$LINENO: result: no" >&5
5998 echo "${ECHO_T}no" >&6; }
6002 test -n "$F77" && break
6005 if test -z "$F77"; then
6007 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
6009 # Extract the first word of "$ac_prog", so it can be a program name with args.
6010 set dummy
$ac_prog; ac_word
=$2
6011 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6012 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6013 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
6014 echo $ECHO_N "(cached) $ECHO_C" >&6
6016 if test -n "$ac_ct_F77"; then
6017 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
6019 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6023 test -z "$as_dir" && as_dir
=.
6024 for ac_exec_ext
in '' $ac_executable_extensions; do
6025 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6026 ac_cv_prog_ac_ct_F77
="$ac_prog"
6027 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6036 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
6037 if test -n "$ac_ct_F77"; then
6038 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
6039 echo "${ECHO_T}$ac_ct_F77" >&6; }
6041 { echo "$as_me:$LINENO: result: no" >&5
6042 echo "${ECHO_T}no" >&6; }
6046 test -n "$ac_ct_F77" && break
6049 if test "x$ac_ct_F77" = x
; then
6052 case $cross_compiling:$ac_tool_warned in
6054 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6055 whose name does not start with the host triplet. If you think this
6056 configuration is useful to you, please write to autoconf@gnu.org." >&5
6057 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6058 whose name does not start with the host triplet. If you think this
6059 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6060 ac_tool_warned
=yes ;;
6067 # Provide some information about the compiler.
6068 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
6069 ac_compiler
=`set X $ac_compile; echo $2`
6070 { (ac_try
="$ac_compiler --version >&5"
6072 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6073 *) ac_try_echo=$ac_try;;
6075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6076 (eval "$ac_compiler --version >&5") 2>&5
6078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6079 (exit $ac_status); }
6080 { (ac_try="$ac_compiler -v >&5"
6082 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6083 *) ac_try_echo
=$ac_try;;
6085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6086 (eval "$ac_compiler -v >&5") 2>&5
6088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6089 (exit $ac_status); }
6090 { (ac_try
="$ac_compiler -V >&5"
6092 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6093 *) ac_try_echo=$ac_try;;
6095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6096 (eval "$ac_compiler -V >&5") 2>&5
6098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6099 (exit $ac_status); }
6102 # If we don't use `.F
' as extension, the preprocessor is not run on the
6103 # input file. (Note that this only needs to work for GNU compilers.)
6106 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6107 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
6108 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6109 echo $ECHO_N "(cached) $ECHO_C" >&6
6111 cat >conftest.$ac_ext <<_ACEOF
6119 rm -f conftest.$ac_objext
6120 if { (ac_try="$ac_compile"
6122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6123 *) ac_try_echo=$ac_try;;
6125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6126 (eval "$ac_compile") 2>conftest.er1
6128 grep -v '^
*+' conftest.er1 >conftest.err
6130 cat conftest.err >&5
6131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6132 (exit $ac_status); } && {
6133 test -z "$ac_f77_werror_flag" ||
6134 test ! -s conftest.err
6135 } && test -s conftest.$ac_objext; then
6138 echo "$as_me: failed program was:" >&5
6139 sed 's
/^
/|
/' conftest.$ac_ext >&5
6144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6145 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6148 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6149 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
6151 ac_test_FFLAGS=${FFLAGS+set}
6152 ac_save_FFLAGS=$FFLAGS
6154 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6155 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
6156 if test "${ac_cv_prog_f77_g+set}" = set; then
6157 echo $ECHO_N "(cached) $ECHO_C" >&6
6160 cat >conftest.$ac_ext <<_ACEOF
6165 rm -f conftest.$ac_objext
6166 if { (ac_try="$ac_compile"
6168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6169 *) ac_try_echo=$ac_try;;
6171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6172 (eval "$ac_compile") 2>conftest.er1
6174 grep -v '^
*+' conftest.er1 >conftest.err
6176 cat conftest.err >&5
6177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6178 (exit $ac_status); } && {
6179 test -z "$ac_f77_werror_flag" ||
6180 test ! -s conftest.err
6181 } && test -s conftest.$ac_objext; then
6182 ac_cv_prog_f77_g=yes
6184 echo "$as_me: failed program was:" >&5
6185 sed 's
/^
/|
/' conftest.$ac_ext >&5
6190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6193 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6194 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
6195 if test "$ac_test_FFLAGS" = set; then
6196 FFLAGS=$ac_save_FFLAGS
6197 elif test $ac_cv_prog_f77_g = yes; then
6198 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6204 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6211 G77=`test $ac_compiler_gnu = yes && echo yes`
6213 ac_cpp='$CPP $CPPFLAGS'
6214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
6215 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6220 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works
for C compilers
!
6222 # find the maximum length of command line arguments
6223 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6224 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
6225 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6226 echo $ECHO_N "(cached) $ECHO_C" >&6
6233 # On DJGPP, this test can blow up pretty badly due to problems in libc
6234 # (any single argument exceeding 2000 bytes causes a buffer overrun
6235 # during glob expansion). Even if it were fixed, the result of this
6236 # check would be larger than it should be.
6237 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6241 # Under GNU Hurd, this test is not required because there is
6242 # no limit to the length of command line arguments.
6243 # Libtool will interpret -1 as no limit whatsoever
6244 lt_cv_sys_max_cmd_len
=-1;
6248 # On Win9x/ME, this test blows up -- it succeeds, but takes
6249 # about 5 minutes as the teststring grows exponentially.
6250 # Worse, since 9x/ME are not pre-emptively multitasking,
6251 # you end up with a "frozen" computer, even though with patience
6252 # the test eventually succeeds (with a max line length of 256k).
6253 # Instead, let's just punt: use the minimum linelength reported by
6254 # all of the supported platforms: 8192 (on NT/2K/XP).
6255 lt_cv_sys_max_cmd_len
=8192;
6259 # On AmigaOS with pdksh, this test takes hours, literally.
6260 # So we just punt and use a minimum line length of 8192.
6261 lt_cv_sys_max_cmd_len
=8192;
6264 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6265 # This has been around since 386BSD, at least. Likely further.
6266 if test -x /sbin
/sysctl
; then
6267 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6268 elif test -x /usr
/sbin
/sysctl
; then
6269 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6271 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6273 # And add a safety zone
6274 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6275 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6279 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6280 lt_cv_sys_max_cmd_len
=196608
6284 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6285 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6286 # nice to cause kernel panics so lets avoid the loop below.
6287 # First set a reasonable default.
6288 lt_cv_sys_max_cmd_len
=16384
6290 if test -x /sbin
/sysconfig
; then
6291 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6292 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6297 lt_cv_sys_max_cmd_len
=102400
6299 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6300 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6301 if test -n "$kargmax"; then
6302 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6304 lt_cv_sys_max_cmd_len
=32768
6308 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6309 if test -n "$lt_cv_sys_max_cmd_len"; then
6310 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6311 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6313 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6314 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6315 = "XX$teststring") >/dev
/null
2>&1 &&
6316 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
6317 lt_cv_sys_max_cmd_len
=$new_result &&
6318 test $i != 17 # 1/2 MB should be enough
6321 teststring
=$teststring$teststring
6324 # Add a significant safety factor because C++ compilers can tack on massive
6325 # amounts of additional arguments before passing them to the linker.
6326 # It appears as though 1/2 is a usable value.
6327 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6334 if test -n $lt_cv_sys_max_cmd_len ; then
6335 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6336 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
6338 { echo "$as_me:$LINENO: result: none" >&5
6339 echo "${ECHO_T}none" >&6; }
6346 # Check for command to grab the raw symbol name followed by C symbol from nm.
6347 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6348 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
6349 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6350 echo $ECHO_N "(cached) $ECHO_C" >&6
6353 # These are sane defaults that work on at least a few old systems.
6354 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6356 # Character class describing NM global symbol codes.
6357 symcode
='[BCDEGRST]'
6359 # Regexp to match symbols that can be accessed directly from C.
6360 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6362 # Transform an extracted symbol line into a proper C declaration
6363 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6365 # Transform an extracted symbol line into symbol name and symbol address
6366 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'"
6368 # Define system-specific variables.
6373 cygwin
* | mingw
* | pw32
*)
6374 symcode
='[ABCDGISTW]'
6376 hpux
*) # Its linker distinguishes data from code symbols
6377 if test "$host_cpu" = ia64
; then
6378 symcode
='[ABCDEGRST]'
6380 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6381 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'"
6383 linux
* | k
*bsd
*-gnu)
6384 if test "$host_cpu" = ia64
; then
6385 symcode
='[ABCDGIRSTW]'
6386 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6387 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'"
6391 symcode
='[BCDEGRST]'
6394 symcode
='[BCDEGQRST]'
6405 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6413 # Handle CRLF in mingw tool chain
6417 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6421 # If we're using GNU nm, then use its standard symbol codes.
6422 case `$NM -V 2>&1` in
6423 *GNU
* |
*'with BFD'*)
6424 symcode
='[ABCDGIRSTW]' ;;
6427 # Try without a prefix undercore, then with it.
6428 for ac_symprfx
in "" "_"; do
6430 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6431 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6433 # Write the raw and C identifiers.
6434 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6436 # Check to see that the pipe works correctly.
6440 cat > conftest.
$ac_ext <<EOF
6445 void nm_test_func(){}
6449 int main(){nm_test_var='a';nm_test_func();return(0);}
6452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6453 (eval $ac_compile) 2>&5
6455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6456 (exit $ac_status); }; then
6457 # Now try to grab the symbols.
6459 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6460 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
6462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6463 (exit $ac_status); } && test -s "$nlist"; then
6464 # Try sorting and uniquifying the output.
6465 if sort "$nlist" |
uniq > "$nlist"T
; then
6466 mv -f "$nlist"T
"$nlist"
6471 # Make sure that we snagged all the symbols we need.
6472 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
6473 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
6474 cat <<EOF > conftest.$ac_ext
6480 # Now generate the symbol file.
6481 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6483 cat <<EOF >> conftest.$ac_ext
6484 #if defined (__STDC__) && __STDC__
6485 # define lt_ptr_t void *
6487 # define lt_ptr_t char *
6491 /* The mapping between symbol names and symbols. */
6496 lt_preloaded_symbols[] =
6499 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
6500 cat <<\EOF
>> conftest.
$ac_ext
6508 # Now try linking the two files.
6509 mv conftest.
$ac_objext conftstm.
$ac_objext
6510 lt_save_LIBS
="$LIBS"
6511 lt_save_CFLAGS
="$CFLAGS"
6512 LIBS
="conftstm.$ac_objext"
6513 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6515 (eval $ac_link) 2>&5
6517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6518 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
6521 LIBS
="$lt_save_LIBS"
6522 CFLAGS
="$lt_save_CFLAGS"
6524 echo "cannot find nm_test_func in $nlist" >&5
6527 echo "cannot find nm_test_var in $nlist" >&5
6530 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6533 echo "$progname: failed program was:" >&5
6534 cat conftest.
$ac_ext >&5
6536 rm -f conftest
* conftst
*
6538 # Do not use the global_symbol_pipe unless it works.
6539 if test "$pipe_works" = yes; then
6542 lt_cv_sys_global_symbol_pipe
=
6548 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6549 lt_cv_sys_global_symbol_to_cdecl
=
6551 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6552 { echo "$as_me:$LINENO: result: failed" >&5
6553 echo "${ECHO_T}failed" >&6; }
6555 { echo "$as_me:$LINENO: result: ok" >&5
6556 echo "${ECHO_T}ok" >&6; }
6559 { echo "$as_me:$LINENO: checking for objdir" >&5
6560 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
6561 if test "${lt_cv_objdir+set}" = set; then
6562 echo $ECHO_N "(cached) $ECHO_C" >&6
6564 rm -f .libs
2>/dev
/null
6565 mkdir .libs
2>/dev
/null
6566 if test -d .libs
; then
6569 # MS-DOS does not allow filenames that begin with a dot.
6572 rmdir .libs
2>/dev
/null
6574 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6575 echo "${ECHO_T}$lt_cv_objdir" >&6; }
6576 objdir
=$lt_cv_objdir
6584 # AIX sometimes has problems with the GCC collect2 program. For some
6585 # reason, if we set the COLLECT_NAMES environment variable, the problems
6586 # vanish in a puff of smoke.
6587 if test "X${COLLECT_NAMES+set}" != Xset
; then
6589 export COLLECT_NAMES
6594 # Sed substitution that helps us do robust quoting. It backslashifies
6595 # metacharacters that are still active within double-quoted strings.
6596 Xsed
='sed -e 1s/^X//'
6597 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
6599 # Same as above, but do not quote variable references.
6600 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
6602 # Sed substitution to delay expansion of an escaped shell variable in a
6603 # double_quote_subst'ed string.
6604 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6606 # Sed substitution to avoid accidental globbing in evaled expressions
6607 no_glob_subst
='s/\*/\\\*/g'
6613 default_ofile
=libtool
6614 can_build_shared
=yes
6616 # All known linkers require a `.a' archive for static linking (except MSVC,
6617 # which needs '.lib').
6619 ltmain
="$ac_aux_dir/ltmain.sh"
6620 ofile
="$default_ofile"
6621 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6623 if test -n "$ac_tool_prefix"; then
6624 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6625 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6626 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6627 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6628 if test "${ac_cv_prog_AR+set}" = set; then
6629 echo $ECHO_N "(cached) $ECHO_C" >&6
6631 if test -n "$AR"; then
6632 ac_cv_prog_AR
="$AR" # Let the user override the test.
6634 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6638 test -z "$as_dir" && as_dir
=.
6639 for ac_exec_ext
in '' $ac_executable_extensions; do
6640 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6641 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6642 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6652 if test -n "$AR"; then
6653 { echo "$as_me:$LINENO: result: $AR" >&5
6654 echo "${ECHO_T}$AR" >&6; }
6656 { echo "$as_me:$LINENO: result: no" >&5
6657 echo "${ECHO_T}no" >&6; }
6662 if test -z "$ac_cv_prog_AR"; then
6664 # Extract the first word of "ar", so it can be a program name with args.
6665 set dummy
ar; ac_word
=$2
6666 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6667 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6668 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6669 echo $ECHO_N "(cached) $ECHO_C" >&6
6671 if test -n "$ac_ct_AR"; then
6672 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6674 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6678 test -z "$as_dir" && as_dir
=.
6679 for ac_exec_ext
in '' $ac_executable_extensions; do
6680 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6681 ac_cv_prog_ac_ct_AR
="ar"
6682 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6691 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6692 if test -n "$ac_ct_AR"; then
6693 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6694 echo "${ECHO_T}$ac_ct_AR" >&6; }
6696 { echo "$as_me:$LINENO: result: no" >&5
6697 echo "${ECHO_T}no" >&6; }
6700 if test "x$ac_ct_AR" = x
; then
6703 case $cross_compiling:$ac_tool_warned in
6705 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6706 whose name does not start with the host triplet. If you think this
6707 configuration is useful to you, please write to autoconf@gnu.org." >&5
6708 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6709 whose name does not start with the host triplet. If you think this
6710 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6711 ac_tool_warned
=yes ;;
6719 if test -n "$ac_tool_prefix"; then
6720 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6721 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6722 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6723 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6724 if test "${ac_cv_prog_RANLIB+set}" = set; then
6725 echo $ECHO_N "(cached) $ECHO_C" >&6
6727 if test -n "$RANLIB"; then
6728 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6730 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6734 test -z "$as_dir" && as_dir
=.
6735 for ac_exec_ext
in '' $ac_executable_extensions; do
6736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6737 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6738 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6747 RANLIB
=$ac_cv_prog_RANLIB
6748 if test -n "$RANLIB"; then
6749 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6750 echo "${ECHO_T}$RANLIB" >&6; }
6752 { echo "$as_me:$LINENO: result: no" >&5
6753 echo "${ECHO_T}no" >&6; }
6758 if test -z "$ac_cv_prog_RANLIB"; then
6759 ac_ct_RANLIB
=$RANLIB
6760 # Extract the first word of "ranlib", so it can be a program name with args.
6761 set dummy ranlib
; ac_word
=$2
6762 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6763 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6764 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6765 echo $ECHO_N "(cached) $ECHO_C" >&6
6767 if test -n "$ac_ct_RANLIB"; then
6768 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6770 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6774 test -z "$as_dir" && as_dir
=.
6775 for ac_exec_ext
in '' $ac_executable_extensions; do
6776 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6777 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6778 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6787 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6788 if test -n "$ac_ct_RANLIB"; then
6789 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6790 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6792 { echo "$as_me:$LINENO: result: no" >&5
6793 echo "${ECHO_T}no" >&6; }
6796 if test "x$ac_ct_RANLIB" = x
; then
6799 case $cross_compiling:$ac_tool_warned in
6801 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6802 whose name does not start with the host triplet. If you think this
6803 configuration is useful to you, please write to autoconf@gnu.org." >&5
6804 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6805 whose name does not start with the host triplet. If you think this
6806 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6807 ac_tool_warned
=yes ;;
6809 RANLIB
=$ac_ct_RANLIB
6812 RANLIB
="$ac_cv_prog_RANLIB"
6815 if test -n "$ac_tool_prefix"; then
6816 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6817 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6818 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6819 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6820 if test "${ac_cv_prog_STRIP+set}" = set; then
6821 echo $ECHO_N "(cached) $ECHO_C" >&6
6823 if test -n "$STRIP"; then
6824 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6826 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6830 test -z "$as_dir" && as_dir
=.
6831 for ac_exec_ext
in '' $ac_executable_extensions; do
6832 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6833 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6834 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6843 STRIP
=$ac_cv_prog_STRIP
6844 if test -n "$STRIP"; then
6845 { echo "$as_me:$LINENO: result: $STRIP" >&5
6846 echo "${ECHO_T}$STRIP" >&6; }
6848 { echo "$as_me:$LINENO: result: no" >&5
6849 echo "${ECHO_T}no" >&6; }
6854 if test -z "$ac_cv_prog_STRIP"; then
6856 # Extract the first word of "strip", so it can be a program name with args.
6857 set dummy strip
; ac_word
=$2
6858 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6859 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6860 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6861 echo $ECHO_N "(cached) $ECHO_C" >&6
6863 if test -n "$ac_ct_STRIP"; then
6864 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6866 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6870 test -z "$as_dir" && as_dir
=.
6871 for ac_exec_ext
in '' $ac_executable_extensions; do
6872 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6873 ac_cv_prog_ac_ct_STRIP
="strip"
6874 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6883 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6884 if test -n "$ac_ct_STRIP"; then
6885 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6886 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6888 { echo "$as_me:$LINENO: result: no" >&5
6889 echo "${ECHO_T}no" >&6; }
6892 if test "x$ac_ct_STRIP" = x
; then
6895 case $cross_compiling:$ac_tool_warned in
6897 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6898 whose name does not start with the host triplet. If you think this
6899 configuration is useful to you, please write to autoconf@gnu.org." >&5
6900 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6901 whose name does not start with the host triplet. If you think this
6902 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6903 ac_tool_warned
=yes ;;
6908 STRIP
="$ac_cv_prog_STRIP"
6913 old_CFLAGS
="$CFLAGS"
6915 # Set sane defaults for various variables
6916 test -z "$AR" && AR
=ar
6917 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6918 test -z "$AS" && AS
=as
6919 test -z "$CC" && CC
=cc
6920 test -z "$LTCC" && LTCC
=$CC
6921 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
6922 test -z "$DLLTOOL" && DLLTOOL
=dlltool
6923 test -z "$LD" && LD
=ld
6924 test -z "$LN_S" && LN_S
="ln -s"
6925 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6926 test -z "$NM" && NM
=nm
6927 test -z "$SED" && SED
=sed
6928 test -z "$OBJDUMP" && OBJDUMP
=objdump
6929 test -z "$RANLIB" && RANLIB
=:
6930 test -z "$STRIP" && STRIP
=:
6931 test -z "$ac_objext" && ac_objext
=o
6933 # Determine commands to create old-style static archives.
6934 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
6935 old_postinstall_cmds
='chmod 644 $oldlib'
6936 old_postuninstall_cmds
=
6938 if test -n "$RANLIB"; then
6941 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6944 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
6947 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6950 for cc_temp
in $compiler""; do
6952 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
6953 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
6958 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6961 # Only perform the check for file, if the check method requires it
6962 case $deplibs_check_method in
6964 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6965 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6966 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
6967 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6968 echo $ECHO_N "(cached) $ECHO_C" >&6
6972 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6975 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6976 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6977 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6978 for ac_dir
in $ac_dummy; do
6980 test -z "$ac_dir" && ac_dir
=.
6981 if test -f $ac_dir/${ac_tool_prefix}file; then
6982 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
6983 if test -n "$file_magic_test_file"; then
6984 case $deplibs_check_method in
6986 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6987 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6988 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6989 $EGREP "$file_magic_regex" > /dev
/null
; then
6994 *** Warning: the command libtool uses to detect shared libraries,
6995 *** $file_magic_cmd, produces output that libtool cannot recognize.
6996 *** The result is that libtool may fail to recognize shared libraries
6997 *** as such. This will affect the creation of libtool libraries that
6998 *** depend on shared libraries, but programs linked with such libtool
6999 *** libraries will work regardless of this problem. Nevertheless, you
7000 *** may want to report the problem to your system manager and/or to
7001 *** bug-libtool@gnu.org
7011 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7016 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7017 if test -n "$MAGIC_CMD"; then
7018 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7019 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7021 { echo "$as_me:$LINENO: result: no" >&5
7022 echo "${ECHO_T}no" >&6; }
7025 if test -z "$lt_cv_path_MAGIC_CMD"; then
7026 if test -n "$ac_tool_prefix"; then
7027 { echo "$as_me:$LINENO: checking for file" >&5
7028 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
7029 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7030 echo $ECHO_N "(cached) $ECHO_C" >&6
7034 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7037 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7038 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7039 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7040 for ac_dir
in $ac_dummy; do
7042 test -z "$ac_dir" && ac_dir
=.
7043 if test -f $ac_dir/file; then
7044 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7045 if test -n "$file_magic_test_file"; then
7046 case $deplibs_check_method in
7048 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7049 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7050 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7051 $EGREP "$file_magic_regex" > /dev
/null
; then
7056 *** Warning: the command libtool uses to detect shared libraries,
7057 *** $file_magic_cmd, produces output that libtool cannot recognize.
7058 *** The result is that libtool may fail to recognize shared libraries
7059 *** as such. This will affect the creation of libtool libraries that
7060 *** depend on shared libraries, but programs linked with such libtool
7061 *** libraries will work regardless of this problem. Nevertheless, you
7062 *** may want to report the problem to your system manager and/or to
7063 *** bug-libtool@gnu.org
7073 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7078 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7079 if test -n "$MAGIC_CMD"; then
7080 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7081 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7083 { echo "$as_me:$LINENO: result: no" >&5
7084 echo "${ECHO_T}no" >&6; }
7099 # Check whether --enable-libtool-lock was given.
7100 if test "${enable_libtool_lock+set}" = set; then
7101 enableval
=$enable_libtool_lock;
7104 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
7107 # Check whether --with-pic was given.
7108 if test "${with_pic+set}" = set; then
7109 withval
=$with_pic; pic_mode
="$withval"
7114 test -z "$pic_mode" && pic_mode
=default
7116 # Use C for the default configuration in the libtool script
7120 ac_cpp
='$CPP $CPPFLAGS'
7121 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7122 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7123 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7126 # Source file extension for C test sources.
7129 # Object file extension for compiled C test sources.
7133 # Code to be used in simple compile tests
7134 lt_simple_compile_test_code
="int some_variable = 0;"
7136 # Code to be used in simple link tests
7137 lt_simple_link_test_code
='int main(){return(0);}'
7140 # If no C compiler was specified, use CC.
7143 # If no C compiler flags were specified, use CFLAGS.
7144 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7146 # Allow CC to be a program name with arguments.
7150 # save warnings/boilerplate of simple test code
7151 ac_outfile
=conftest.
$ac_objext
7152 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7153 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7154 _lt_compiler_boilerplate
=`cat conftest.err`
7157 ac_outfile
=conftest.
$ac_objext
7158 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7159 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7160 _lt_linker_boilerplate
=`cat conftest.err`
7165 lt_prog_compiler_no_builtin_flag
=
7167 if test "$GCC" = yes; then
7168 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
7171 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7172 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
7173 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7174 echo $ECHO_N "(cached) $ECHO_C" >&6
7176 lt_cv_prog_compiler_rtti_exceptions
=no
7177 ac_outfile
=conftest.
$ac_objext
7178 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7179 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7180 # Insert the option either (1) after the last *FLAGS variable, or
7181 # (2) before a word containing "conftest.", or (3) at the end.
7182 # Note that $ac_compile itself does not contain backslashes and begins
7183 # with a dollar sign (not a hyphen), so the echo should work correctly.
7184 # The option is referenced via a variable to avoid confusing sed.
7185 lt_compile
=`echo "$ac_compile" | $SED \
7186 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7187 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7188 -e 's:$: $lt_compiler_flag:'`
7189 (eval echo "\"\$as_me:7189: $lt_compile\"" >&5)
7190 (eval "$lt_compile" 2>conftest.err
)
7192 cat conftest.err
>&5
7193 echo "$as_me:7193: \$? = $ac_status" >&5
7194 if (exit $ac_status) && test -s "$ac_outfile"; then
7195 # The compiler can only warn and ignore the option if not recognized
7196 # So say no if there are warnings other than the usual output.
7197 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7198 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7199 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7200 lt_cv_prog_compiler_rtti_exceptions
=yes
7206 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7207 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7209 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7210 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7217 lt_prog_compiler_wl
=
7218 lt_prog_compiler_pic
=
7219 lt_prog_compiler_static
=
7221 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7222 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
7224 if test "$GCC" = yes; then
7225 lt_prog_compiler_wl
='-Wl,'
7226 lt_prog_compiler_static
='-static'
7230 # All AIX code is PIC.
7231 if test "$host_cpu" = ia64
; then
7232 # AIX 5 now supports IA64 processor
7233 lt_prog_compiler_static
='-Bstatic'
7238 # FIXME: we need at least 68020 code to build shared libraries, but
7239 # adding the `-m68020' flag to GCC prevents building anything better,
7241 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7244 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7245 # PIC is the default for these OSes.
7248 mingw
* | cygwin
* | pw32
* | os2
*)
7249 # This hack is so that the source file can tell whether it is being
7250 # built for inclusion in a dll (and should export symbols for example).
7251 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7252 # (--disable-auto-import) libraries
7253 lt_prog_compiler_pic
='-DDLL_EXPORT'
7256 darwin
* | rhapsody
*)
7257 # PIC is the default on this platform
7258 # Common symbols not allowed in MH_DYLIB files
7259 lt_prog_compiler_pic
='-fno-common'
7263 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7264 # Instead, we relocate shared libraries at runtime.
7268 # Just because we use GCC doesn't mean we suddenly get shared libraries
7269 # on systems that don't support them.
7270 lt_prog_compiler_can_build_shared
=no
7275 if test -d /usr
/nec
; then
7276 lt_prog_compiler_pic
=-Kconform_pic
7281 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7288 lt_prog_compiler_pic
='-fPIC'
7294 lt_prog_compiler_pic
='-fPIC'
7298 # PORTME Check for flag to pass linker flags through the system compiler.
7301 lt_prog_compiler_wl
='-Wl,'
7302 if test "$host_cpu" = ia64
; then
7303 # AIX 5 now supports IA64 processor
7304 lt_prog_compiler_static
='-Bstatic'
7306 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7310 # PIC is the default on this platform
7311 # Common symbols not allowed in MH_DYLIB files
7312 case $cc_basename in
7314 lt_prog_compiler_pic
='-qnocommon'
7315 lt_prog_compiler_wl
='-Wl,'
7320 mingw
* | cygwin
* | pw32
* | os2
*)
7321 # This hack is so that the source file can tell whether it is being
7322 # built for inclusion in a dll (and should export symbols for example).
7323 lt_prog_compiler_pic
='-DDLL_EXPORT'
7326 hpux9
* | hpux10
* | hpux11
*)
7327 lt_prog_compiler_wl
='-Wl,'
7328 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7335 lt_prog_compiler_pic
='+Z'
7338 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7339 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7342 irix5
* | irix6
* | nonstopux
*)
7343 lt_prog_compiler_wl
='-Wl,'
7344 # PIC (with -KPIC) is the default.
7345 lt_prog_compiler_static
='-non_shared'
7349 lt_prog_compiler_pic
='-KPIC'
7350 lt_prog_compiler_static
='-Bstatic'
7353 linux
* | k
*bsd
*-gnu)
7354 case $cc_basename in
7356 lt_prog_compiler_wl
='-Wl,'
7357 lt_prog_compiler_pic
='-KPIC'
7358 lt_prog_compiler_static
='-static'
7360 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7361 # Portland Group compilers (*not* the Pentium gcc compiler,
7362 # which looks to be a dead project)
7363 lt_prog_compiler_wl
='-Wl,'
7364 lt_prog_compiler_pic
='-fpic'
7365 lt_prog_compiler_static
='-Bstatic'
7368 lt_prog_compiler_wl
='-Wl,'
7369 # All Alpha code is PIC.
7370 lt_prog_compiler_static
='-non_shared'
7373 case `$CC -V 2>&1 | sed 5q` in
7376 lt_prog_compiler_pic
='-KPIC'
7377 lt_prog_compiler_static
='-Bstatic'
7378 lt_prog_compiler_wl
='-Wl,'
7381 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7382 lt_prog_compiler_pic
='-KPIC'
7383 lt_prog_compiler_static
='-Bstatic'
7384 lt_prog_compiler_wl
=''
7391 osf3
* | osf4
* | osf5
*)
7392 lt_prog_compiler_wl
='-Wl,'
7393 # All OSF/1 code is PIC.
7394 lt_prog_compiler_static
='-non_shared'
7398 lt_prog_compiler_static
='-non_shared'
7402 lt_prog_compiler_pic
='-KPIC'
7403 lt_prog_compiler_static
='-Bstatic'
7404 case $cc_basename in
7406 lt_prog_compiler_wl
='-Qoption ld ';;
7408 lt_prog_compiler_wl
='-Wl,';;
7413 lt_prog_compiler_wl
='-Qoption ld '
7414 lt_prog_compiler_pic
='-PIC'
7415 lt_prog_compiler_static
='-Bstatic'
7418 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7419 lt_prog_compiler_wl
='-Wl,'
7420 lt_prog_compiler_pic
='-KPIC'
7421 lt_prog_compiler_static
='-Bstatic'
7425 if test -d /usr
/nec
;then
7426 lt_prog_compiler_pic
='-Kconform_pic'
7427 lt_prog_compiler_static
='-Bstatic'
7431 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7432 lt_prog_compiler_wl
='-Wl,'
7433 lt_prog_compiler_pic
='-KPIC'
7434 lt_prog_compiler_static
='-Bstatic'
7438 lt_prog_compiler_wl
='-Wl,'
7439 lt_prog_compiler_can_build_shared
=no
7443 lt_prog_compiler_pic
='-pic'
7444 lt_prog_compiler_static
='-Bstatic'
7448 lt_prog_compiler_can_build_shared
=no
7453 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7454 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
7457 # Check to make sure the PIC flag actually works.
7459 if test -n "$lt_prog_compiler_pic"; then
7461 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7462 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7463 if test "${lt_prog_compiler_pic_works+set}" = set; then
7464 echo $ECHO_N "(cached) $ECHO_C" >&6
7466 lt_prog_compiler_pic_works
=no
7467 ac_outfile
=conftest.
$ac_objext
7468 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7469 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7470 # Insert the option either (1) after the last *FLAGS variable, or
7471 # (2) before a word containing "conftest.", or (3) at the end.
7472 # Note that $ac_compile itself does not contain backslashes and begins
7473 # with a dollar sign (not a hyphen), so the echo should work correctly.
7474 # The option is referenced via a variable to avoid confusing sed.
7475 lt_compile
=`echo "$ac_compile" | $SED \
7476 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7477 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7478 -e 's:$: $lt_compiler_flag:'`
7479 (eval echo "\"\$as_me:7479: $lt_compile\"" >&5)
7480 (eval "$lt_compile" 2>conftest.err
)
7482 cat conftest.err
>&5
7483 echo "$as_me:7483: \$? = $ac_status" >&5
7484 if (exit $ac_status) && test -s "$ac_outfile"; then
7485 # The compiler can only warn and ignore the option if not recognized
7486 # So say no if there are warnings other than the usual output.
7487 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7488 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7489 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7490 lt_prog_compiler_pic_works
=yes
7496 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7497 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
7499 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
7500 case $lt_prog_compiler_pic in
7502 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7505 lt_prog_compiler_pic
=
7506 lt_prog_compiler_can_build_shared
=no
7511 # For platforms which do not support PIC, -DPIC is meaningless:
7513 lt_prog_compiler_pic
=
7516 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7521 # Check to make sure the static flag actually works.
7523 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7524 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7525 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
7526 if test "${lt_prog_compiler_static_works+set}" = set; then
7527 echo $ECHO_N "(cached) $ECHO_C" >&6
7529 lt_prog_compiler_static_works
=no
7530 save_LDFLAGS
="$LDFLAGS"
7531 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7532 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7533 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7534 # The linker can only warn and ignore the option if not recognized
7535 # So say no if there are warnings
7536 if test -s conftest.err
; then
7537 # Append any errors to the config.log.
7538 cat conftest.err
1>&5
7539 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7540 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7541 if diff conftest.exp conftest.er2
>/dev
/null
; then
7542 lt_prog_compiler_static_works
=yes
7545 lt_prog_compiler_static_works
=yes
7549 LDFLAGS
="$save_LDFLAGS"
7552 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7553 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
7555 if test x
"$lt_prog_compiler_static_works" = xyes
; then
7558 lt_prog_compiler_static
=
7562 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7563 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7564 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7565 echo $ECHO_N "(cached) $ECHO_C" >&6
7567 lt_cv_prog_compiler_c_o
=no
7568 $rm -r conftest
2>/dev
/null
7572 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7574 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7575 # Insert the option either (1) after the last *FLAGS variable, or
7576 # (2) before a word containing "conftest.", or (3) at the end.
7577 # Note that $ac_compile itself does not contain backslashes and begins
7578 # with a dollar sign (not a hyphen), so the echo should work correctly.
7579 lt_compile
=`echo "$ac_compile" | $SED \
7580 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7581 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7582 -e 's:$: $lt_compiler_flag:'`
7583 (eval echo "\"\$as_me:7583: $lt_compile\"" >&5)
7584 (eval "$lt_compile" 2>out
/conftest.err
)
7586 cat out
/conftest.err
>&5
7587 echo "$as_me:7587: \$? = $ac_status" >&5
7588 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7590 # The compiler can only warn and ignore the option if not recognized
7591 # So say no if there are warnings
7592 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7593 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7594 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7595 lt_cv_prog_compiler_c_o
=yes
7600 # SGI C++ compiler will create directory out/ii_files/ for
7601 # template instantiation
7602 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
7603 $rm out
/* && rmdir out
7609 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7610 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
7613 hard_links
="nottested"
7614 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7615 # do not overwrite the value of need_locks provided by the user
7616 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7617 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
7620 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7622 ln conftest.a conftest.b
2>&5 || hard_links
=no
7623 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7624 { echo "$as_me:$LINENO: result: $hard_links" >&5
7625 echo "${ECHO_T}$hard_links" >&6; }
7626 if test "$hard_links" = no
; then
7627 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7628 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7635 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7636 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
7639 allow_undefined_flag
=
7640 enable_shared_with_static_runtimes
=no
7642 archive_expsym_cmds
=
7643 old_archive_From_new_cmds
=
7644 old_archive_from_expsyms_cmds
=
7645 export_dynamic_flag_spec
=
7646 whole_archive_flag_spec
=
7647 thread_safe_flag_spec
=
7648 hardcode_libdir_flag_spec
=
7649 hardcode_libdir_flag_spec_ld
=
7650 hardcode_libdir_separator
=
7653 hardcode_shlibpath_var
=unsupported
7654 link_all_deplibs
=unknown
7655 hardcode_automatic
=no
7658 always_export_symbols
=no
7659 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7660 # include_expsyms should be a list of space-separated symbols to be *always*
7661 # included in the symbol list
7663 # exclude_expsyms can be an extended regexp of symbols to exclude
7664 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7665 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7666 # as well as any symbol that contains `d'.
7667 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
7668 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7669 # platforms (ab)use it in PIC code, but their linkers get confused if
7670 # the symbol is explicitly referenced. Since portable code cannot
7671 # rely on this symbol name, it's probably fine to never include it in
7672 # preloaded symbol tables.
7673 extract_expsyms_cmds
=
7674 # Just being paranoid about ensuring that cc_basename is set.
7675 for cc_temp
in $compiler""; do
7677 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7678 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7683 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7686 cygwin
* | mingw
* | pw32
*)
7687 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7688 # When not using gcc, we currently assume that we are using
7689 # Microsoft Visual C++.
7690 if test "$GCC" != yes; then
7695 # we just hope/assume this is gcc and not c89 (= MSVC++)
7704 if test "$with_gnu_ld" = yes; then
7705 # If archive_cmds runs LD, not CC, wlarc should be empty
7708 # Set some defaults for GNU ld with shared library support. These
7709 # are reset later if shared libraries are not supported. Putting them
7710 # here allows them to be overridden if necessary.
7711 runpath_var
=LD_RUN_PATH
7712 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
7713 export_dynamic_flag_spec
='${wl}--export-dynamic'
7714 # ancient GNU ld didn't support --whole-archive et. al.
7715 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
7716 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7718 whole_archive_flag_spec
=
7720 supports_anon_versioning
=no
7721 case `$LD -v 2>/dev/null` in
7722 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
7723 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7724 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7725 *\
2.11.
*) ;; # other 2.11 versions
7726 *) supports_anon_versioning
=yes ;;
7729 # See if GNU ld supports shared libraries.
7731 aix3
* | aix4
* | aix5
*)
7732 # On AIX/PPC, the GNU linker is very broken
7733 if test "$host_cpu" != ia64
; then
7737 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7738 *** to be unable to reliably create shared libraries on AIX.
7739 *** Therefore, libtool is disabling shared libraries support. If you
7740 *** really care for shared libraries, you may want to modify your PATH
7741 *** so that a non-GNU linker is found, and then restart.
7748 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)'
7749 hardcode_libdir_flag_spec
='-L$libdir'
7750 hardcode_minus_L
=yes
7752 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7753 # that the semantics of dynamic libraries on AmigaOS, at least up
7754 # to version 4, is to share data among multiple programs linked
7755 # with the same dynamic library. Since this doesn't match the
7756 # behavior of shared libraries on other platforms, we can't use
7762 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7763 allow_undefined_flag
=unsupported
7764 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7765 # support --undefined. This deserves some investigation. FIXME
7766 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7772 cygwin
* | mingw
* | pw32
*)
7773 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7774 # as there is no search path for DLLs.
7775 hardcode_libdir_flag_spec
='-L$libdir'
7776 allow_undefined_flag
=unsupported
7777 always_export_symbols
=no
7778 enable_shared_with_static_runtimes
=yes
7779 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7781 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
7782 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7783 # If the export-symbols file already is a .def file (1st line
7784 # is EXPORTS), use it as is; otherwise, prepend...
7785 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7786 cp $export_symbols $output_objdir/$soname.def;
7788 echo EXPORTS > $output_objdir/$soname.def;
7789 cat $export_symbols >> $output_objdir/$soname.def;
7791 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7799 hardcode_shlibpath_var
=no
7800 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7801 export_dynamic_flag_spec
='${wl}-E'
7802 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7803 # Instead, shared libraries are loaded at an image base (0x10000000 by
7804 # default) and relocated if they conflict, which is a slow very memory
7805 # consuming and fragmenting process. To avoid this, we pick a random,
7806 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7807 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7808 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7809 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'
7812 gnu
* | linux
* | k
*bsd
*-gnu)
7813 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7815 case $cc_basename,$host_cpu in
7816 pgcc
*) # Portland Group C compiler
7817 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'
7818 tmp_addflag
=' $pic_flag'
7820 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7821 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'
7822 tmp_addflag
=' $pic_flag -Mnomain' ;;
7823 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7824 tmp_addflag
=' -i_dynamic' ;;
7825 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7826 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7827 ifc
* | ifort
*) # Intel Fortran compiler
7828 tmp_addflag
=' -nofor_main' ;;
7830 case `$CC -V 2>&1 | sed 5q` in
7831 *Sun\ C
*) # Sun C 5.9
7832 whole_archive_flag_spec
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
7833 tmp_sharedflag
='-G' ;;
7834 *Sun\ F
*) # Sun Fortran 8.3
7835 tmp_sharedflag
='-G' ;;
7837 tmp_sharedflag
='-shared' ;;
7839 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7841 if test $supports_anon_versioning = yes; then
7842 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
7843 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7844 $echo "local: *; };" >> $output_objdir/$libname.ver~
7845 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7853 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7854 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7857 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7858 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7863 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
7867 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7868 *** create shared libraries on Solaris systems. Therefore, libtool
7869 *** is disabling shared libraries support. We urge you to upgrade GNU
7870 *** binutils to release 2.9.1 or newer. Another option is to modify
7871 *** your PATH or compiler configuration so that the native linker is
7872 *** used, and then restart.
7875 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7876 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7877 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7883 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7884 case `$LD -v 2>&1` in
7885 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
7889 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7890 *** reliably create shared libraries on SCO systems. Therefore, libtool
7891 *** is disabling shared libraries support. We urge you to upgrade GNU
7892 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7893 *** your PATH or compiler configuration so that the native linker is
7894 *** used, and then restart.
7899 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7900 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
7901 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
7902 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
7911 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7914 hardcode_shlibpath_var
=no
7918 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7919 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7920 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7927 if test "$ld_shlibs" = no
; then
7929 hardcode_libdir_flag_spec
=
7930 export_dynamic_flag_spec
=
7931 whole_archive_flag_spec
=
7934 # PORTME fill in a description of your system's linker (not GNU ld)
7937 allow_undefined_flag
=unsupported
7938 always_export_symbols
=yes
7939 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'
7940 # Note: this linker hardcodes the directories in LIBPATH if there
7941 # are no directories specified by -L.
7942 hardcode_minus_L
=yes
7943 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7944 # Neither direct hardcoding nor static linking is supported with a
7946 hardcode_direct
=unsupported
7951 if test "$host_cpu" = ia64
; then
7952 # On IA64, the linker does run time linking by default, so we don't
7953 # have to do anything special.
7954 aix_use_runtimelinking
=no
7955 exp_sym_flag
='-Bexport'
7958 # If we're using GNU nm, then we don't want the "-C" option.
7959 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7960 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
7961 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'
7963 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'
7965 aix_use_runtimelinking
=no
7967 # Test if we are trying to use run time linking or normal
7968 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7969 # need to do runtime linking.
7970 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
7971 for ld_flag
in $LDFLAGS; do
7972 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
7973 aix_use_runtimelinking
=yes
7980 exp_sym_flag
='-bexport'
7981 no_entry_flag
='-bnoentry'
7984 # When large executables or shared objects are built, AIX ld can
7985 # have problems creating the table of contents. If linking a library
7986 # or program results in "error TOC overflow" add -mminimal-toc to
7987 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7988 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7992 hardcode_libdir_separator
=':'
7993 link_all_deplibs
=yes
7995 if test "$GCC" = yes; then
7996 case $host_os in aix4.
[012]|aix4.
[012].
*)
7997 # We only want to do this on AIX 4.2 and lower, the check
7998 # below for broken collect2 doesn't work under 4.3+
7999 collect2name
=`${CC} -print-prog-name=collect2`
8000 if test -f "$collect2name" && \
8001 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
8003 # We have reworked collect2
8006 # We have old collect2
8007 hardcode_direct
=unsupported
8008 # It fails to find uninstalled libraries when the uninstalled
8009 # path is not listed in the libpath. Setting hardcode_minus_L
8010 # to unsupported forces relinking
8011 hardcode_minus_L
=yes
8012 hardcode_libdir_flag_spec
='-L$libdir'
8013 hardcode_libdir_separator
=
8017 shared_flag
='-shared'
8018 if test "$aix_use_runtimelinking" = yes; then
8019 shared_flag
="$shared_flag "'${wl}-G'
8023 if test "$host_cpu" = ia64
; then
8024 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8025 # chokes on -Wl,-G. The following line is correct:
8028 if test "$aix_use_runtimelinking" = yes; then
8029 shared_flag
='${wl}-G'
8031 shared_flag
='${wl}-bM:SRE'
8036 # It seems that -bexpall does not export symbols beginning with
8037 # underscore (_), so it is better to generate a list of symbols to export.
8038 always_export_symbols
=yes
8039 if test "$aix_use_runtimelinking" = yes; then
8040 # Warning - without using the other runtime loading flags (-brtl),
8041 # -berok will link without error, but may produce a broken library.
8042 allow_undefined_flag
='-berok'
8043 # Determine the default libpath from the value encoded in an empty executable.
8044 cat >conftest.
$ac_ext <<_ACEOF
8047 cat confdefs.h
>>conftest.
$ac_ext
8048 cat >>conftest.
$ac_ext <<_ACEOF
8049 /* end confdefs.h. */
8059 rm -f conftest.
$ac_objext conftest
$ac_exeext
8060 if { (ac_try
="$ac_link"
8062 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8063 *) ac_try_echo=$ac_try;;
8065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8066 (eval "$ac_link") 2>conftest.er1
8068 grep -v '^ *+' conftest.er1 >conftest.err
8070 cat conftest.err >&5
8071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8072 (exit $ac_status); } && {
8073 test -z "$ac_c_werror_flag" ||
8074 test ! -s conftest.err
8075 } && test -s conftest$ac_exeext &&
8076 $as_test_x conftest$ac_exeext; then
8078 lt_aix_libpath_sed='
8079 /Import File Strings/,/^$/ {
8085 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8086 # Check for a 64-bit object if we didn't find anything.
8087 if test -z "$aix_libpath"; then
8088 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8091 echo "$as_me: failed program was:" >&5
8092 sed 's/^/| /' conftest.$ac_ext >&5
8097 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8098 conftest$ac_exeext conftest.$ac_ext
8099 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8101 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8102 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"
8104 if test "$host_cpu" = ia64; then
8105 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8106 allow_undefined_flag="-z nodefs"
8107 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"
8109 # Determine the default libpath from the value encoded in an empty executable.
8110 cat >conftest.$ac_ext <<_ACEOF
8113 cat confdefs.h >>conftest.$ac_ext
8114 cat >>conftest.$ac_ext <<_ACEOF
8115 /* end confdefs.h. */
8125 rm -f conftest.$ac_objext conftest$ac_exeext
8126 if { (ac_try="$ac_link"
8128 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8129 *) ac_try_echo
=$ac_try;;
8131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8132 (eval "$ac_link") 2>conftest.er1
8134 grep -v '^ *+' conftest.er1
>conftest.err
8136 cat conftest.err
>&5
8137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8138 (exit $ac_status); } && {
8139 test -z "$ac_c_werror_flag" ||
8140 test ! -s conftest.err
8141 } && test -s conftest
$ac_exeext &&
8142 $as_test_x conftest
$ac_exeext; then
8144 lt_aix_libpath_sed
='
8145 /Import File Strings/,/^$/ {
8151 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8152 # Check for a 64-bit object if we didn't find anything.
8153 if test -z "$aix_libpath"; then
8154 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8157 echo "$as_me: failed program was:" >&5
8158 sed 's/^/| /' conftest.
$ac_ext >&5
8163 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8164 conftest
$ac_exeext conftest.
$ac_ext
8165 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8167 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8168 # Warning - without using the other run time loading flags,
8169 # -berok will link without error, but may produce a broken library.
8170 no_undefined_flag
=' ${wl}-bernotok'
8171 allow_undefined_flag
=' ${wl}-berok'
8172 # Exported symbols can be pulled into shared objects from archives
8173 whole_archive_flag_spec
='$convenience'
8174 archive_cmds_need_lc
=yes
8175 # This is similar to how AIX traditionally builds its shared libraries.
8176 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'
8182 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)'
8183 hardcode_libdir_flag_spec
='-L$libdir'
8184 hardcode_minus_L
=yes
8185 # see comment about different semantics on the GNU ld section
8190 export_dynamic_flag_spec
=-rdynamic
8193 cygwin
* | mingw
* | pw32
*)
8194 # When not using gcc, we currently assume that we are using
8195 # Microsoft Visual C++.
8196 # hardcode_libdir_flag_spec is actually meaningless, as there is
8197 # no search path for DLLs.
8198 hardcode_libdir_flag_spec
=' '
8199 allow_undefined_flag
=unsupported
8200 # Tell ltmain to make .lib files, not .a files.
8202 # Tell ltmain to make .dll files, not .so files.
8204 # FIXME: Setting linknames here is a bad hack.
8205 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
8206 # The linker will automatically build a .lib file if we build a DLL.
8207 old_archive_From_new_cmds
='true'
8208 # FIXME: Should let the user specify the lib program.
8209 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8210 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8211 enable_shared_with_static_runtimes
=yes
8214 darwin
* | rhapsody
*)
8216 rhapsody
* | darwin1.
[012])
8217 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
8220 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8221 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8223 case ${MACOSX_DEPLOYMENT_TARGET} in
8225 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8228 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
8234 archive_cmds_need_lc
=no
8236 hardcode_automatic
=yes
8237 hardcode_shlibpath_var
=unsupported
8238 whole_archive_flag_spec
=''
8239 link_all_deplibs
=yes
8240 if test "$GCC" = yes ; then
8241 output_verbose_link_cmd
='echo'
8242 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8243 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8244 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8245 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8246 module_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8248 case $cc_basename in
8250 output_verbose_link_cmd
='echo'
8251 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
8252 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8253 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8254 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8255 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}'
8265 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8266 hardcode_libdir_flag_spec
='-L$libdir'
8267 hardcode_shlibpath_var
=no
8274 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8275 # support. Future versions do this automatically, but an explicit c++rt0.o
8276 # does not break anything, and helps significantly (at the cost of a little
8279 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8280 hardcode_libdir_flag_spec
='-R$libdir'
8282 hardcode_shlibpath_var
=no
8285 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8287 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8289 hardcode_minus_L
=yes
8290 hardcode_shlibpath_var
=no
8293 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8294 freebsd
* | dragonfly
*)
8295 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8296 hardcode_libdir_flag_spec
='-R$libdir'
8298 hardcode_shlibpath_var
=no
8302 if test "$GCC" = yes; then
8303 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'
8305 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'
8307 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8308 hardcode_libdir_separator
=:
8311 # hardcode_minus_L: Not really in the search PATH,
8312 # but as the default location of the library.
8313 hardcode_minus_L
=yes
8314 export_dynamic_flag_spec
='${wl}-E'
8318 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8319 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8321 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8323 if test "$with_gnu_ld" = no
; then
8324 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8325 hardcode_libdir_separator
=:
8328 export_dynamic_flag_spec
='${wl}-E'
8330 # hardcode_minus_L: Not really in the search PATH,
8331 # but as the default location of the library.
8332 hardcode_minus_L
=yes
8337 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8340 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8343 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8346 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8352 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8355 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8358 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8362 if test "$with_gnu_ld" = no
; then
8363 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8364 hardcode_libdir_separator
=:
8368 hardcode_libdir_flag_spec_ld
='+b $libdir'
8370 hardcode_shlibpath_var
=no
8374 export_dynamic_flag_spec
='${wl}-E'
8376 # hardcode_minus_L: Not really in the search PATH,
8377 # but as the default location of the library.
8378 hardcode_minus_L
=yes
8384 irix5
* | irix6
* | nonstopux
*)
8385 if test "$GCC" = yes; then
8386 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'
8388 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'
8389 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8391 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8392 hardcode_libdir_separator
=:
8393 link_all_deplibs
=yes
8397 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8398 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8400 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8402 hardcode_libdir_flag_spec
='-R$libdir'
8404 hardcode_shlibpath_var
=no
8408 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8410 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8411 hardcode_libdir_separator
=:
8412 hardcode_shlibpath_var
=no
8416 if test -f /usr
/libexec
/ld.so
; then
8418 hardcode_shlibpath_var
=no
8419 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8420 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8421 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8422 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8423 export_dynamic_flag_spec
='${wl}-E'
8426 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8427 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8428 hardcode_libdir_flag_spec
='-R$libdir'
8431 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8432 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8442 hardcode_libdir_flag_spec
='-L$libdir'
8443 hardcode_minus_L
=yes
8444 allow_undefined_flag
=unsupported
8445 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'
8446 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8450 if test "$GCC" = yes; then
8451 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8452 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'
8454 allow_undefined_flag
=' -expect_unresolved \*'
8455 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'
8457 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8458 hardcode_libdir_separator
=:
8461 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8462 if test "$GCC" = yes; then
8463 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8464 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'
8465 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8467 allow_undefined_flag
=' -expect_unresolved \*'
8468 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'
8469 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8470 $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'
8472 # Both c and cxx compiler support -rpath directly
8473 hardcode_libdir_flag_spec
='-rpath $libdir'
8475 hardcode_libdir_separator
=:
8479 no_undefined_flag
=' -z text'
8480 if test "$GCC" = yes; then
8482 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8483 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8484 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
8487 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8488 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8489 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8491 hardcode_libdir_flag_spec
='-R$libdir'
8492 hardcode_shlibpath_var
=no
8494 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8496 # The compiler driver will combine and reorder linker options,
8497 # but understands `-z linker_flag'. GCC discards it without `$wl',
8498 # but is careful enough not to reorder.
8499 # Supported since Solaris 2.6 (maybe 2.5.1?)
8500 if test "$GCC" = yes; then
8501 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8503 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8507 link_all_deplibs
=yes
8511 if test "x$host_vendor" = xsequent
; then
8512 # Use $CC to link under sequent, because it throws in some extra .o
8513 # files that make .init and .fini sections work.
8514 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8516 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8518 hardcode_libdir_flag_spec
='-L$libdir'
8520 hardcode_minus_L
=yes
8521 hardcode_shlibpath_var
=no
8525 case $host_vendor in
8527 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8528 hardcode_direct
=yes # is this really true???
8531 ## LD is ld it makes a PLAMLIB
8532 ## CC just makes a GrossModule.
8533 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8534 reload_cmds
='$CC -r -o $output$reload_objs'
8538 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8539 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8542 runpath_var
='LD_RUN_PATH'
8543 hardcode_shlibpath_var
=no
8547 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8548 hardcode_shlibpath_var
=no
8549 export_dynamic_flag_spec
='-Bexport'
8553 if test -d /usr
/nec
; then
8554 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8555 hardcode_shlibpath_var
=no
8556 runpath_var
=LD_RUN_PATH
8557 hardcode_runpath_var
=yes
8562 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
8563 no_undefined_flag
='${wl}-z,text'
8564 archive_cmds_need_lc
=no
8565 hardcode_shlibpath_var
=no
8566 runpath_var
='LD_RUN_PATH'
8568 if test "$GCC" = yes; then
8569 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8570 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8572 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8573 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8577 sysv5
* | sco3.2v5
* | sco5v6
*)
8578 # Note: We can NOT use -z defs as we might desire, because we do not
8579 # link with -lc, and that would cause any symbols used from libc to
8580 # always be unresolved, which means just about no library would
8581 # ever link correctly. If we're not using GNU ld we use -z text
8582 # though, which does catch some bad symbols but isn't as heavy-handed
8584 no_undefined_flag
='${wl}-z,text'
8585 allow_undefined_flag
='${wl}-z,nodefs'
8586 archive_cmds_need_lc
=no
8587 hardcode_shlibpath_var
=no
8588 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
8589 hardcode_libdir_separator
=':'
8590 link_all_deplibs
=yes
8591 export_dynamic_flag_spec
='${wl}-Bexport'
8592 runpath_var
='LD_RUN_PATH'
8594 if test "$GCC" = yes; then
8595 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8596 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8598 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8599 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8604 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8605 hardcode_libdir_flag_spec
='-L$libdir'
8606 hardcode_shlibpath_var
=no
8615 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8616 echo "${ECHO_T}$ld_shlibs" >&6; }
8617 test "$ld_shlibs" = no
&& can_build_shared
=no
8620 # Do we need to explicitly link libc?
8622 case "x$archive_cmds_need_lc" in
8624 # Assume -lc should be added
8625 archive_cmds_need_lc
=yes
8627 if test "$enable_shared" = yes && test "$GCC" = yes; then
8628 case $archive_cmds in
8630 # FIXME: we may have to deal with multi-command sequences.
8633 # Test whether the compiler implicitly links with -lc since on some
8634 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8635 # to ld, don't add -lc before -lgcc.
8636 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8637 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
8639 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8642 (eval $ac_compile) 2>&5
8644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8645 (exit $ac_status); } 2>conftest.err
; then
8648 libobjs
=conftest.
$ac_objext
8650 wl
=$lt_prog_compiler_wl
8651 pic_flag
=$lt_prog_compiler_pic
8657 lt_save_allow_undefined_flag
=$allow_undefined_flag
8658 allow_undefined_flag
=
8659 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
8660 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8663 (exit $ac_status); }
8665 archive_cmds_need_lc
=no
8667 archive_cmds_need_lc
=yes
8669 allow_undefined_flag
=$lt_save_allow_undefined_flag
8671 cat conftest.err
1>&5
8674 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8675 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
8682 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8683 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
8685 libname_spec
='lib$name'
8693 shlibpath_overrides_runpath
=unknown
8695 dynamic_linker
="$host_os ld.so"
8696 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8698 if test "$GCC" = yes; then
8700 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
8701 *) lt_awk_arg
="/^libraries:/" ;;
8703 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8704 if echo "$lt_search_path_spec" |
grep ';' >/dev
/null
; then
8705 # if the path contains ";" then we assume it to be the separator
8706 # otherwise default to the standard path separator (i.e. ":") - it is
8707 # assumed that no part of a normal pathname contains ";" but that should
8708 # okay in the real world where ";" in dirpaths is itself problematic.
8709 lt_search_path_spec
=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8711 lt_search_path_spec
=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8713 # Ok, now we have the path, separated by spaces, we can step through it
8714 # and add multilib dir if necessary.
8715 lt_tmp_lt_search_path_spec
=
8716 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8717 for lt_sys_path
in $lt_search_path_spec; do
8718 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8719 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8721 test -d "$lt_sys_path" && \
8722 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
8725 lt_search_path_spec
=`echo $lt_tmp_lt_search_path_spec | awk '
8726 BEGIN {RS=" "; FS="/|\n";} {
8729 for (lt_i = NF; lt_i > 0; lt_i--) {
8730 if ($lt_i != "" && $lt_i != ".") {
8731 if ($lt_i == "..") {
8734 if (lt_count == 0) {
8735 lt_foo="/" $lt_i lt_foo;
8742 if (lt_foo != "") { lt_freq[lt_foo]++; }
8743 if (lt_freq[lt_foo] == 1) { print lt_foo; }
8745 sys_lib_search_path_spec
=`echo $lt_search_path_spec`
8747 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8749 need_lib_prefix
=unknown
8750 hardcode_into_libs
=no
8752 # when you set need_version to no, make sure it does not cause -set_version
8753 # flags to be left without arguments
8754 need_version
=unknown
8759 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8760 shlibpath_var
=LIBPATH
8762 # AIX 3 has no versioning support, so we append a major version to the name.
8763 soname_spec
='${libname}${release}${shared_ext}$major'
8770 hardcode_into_libs
=yes
8771 if test "$host_cpu" = ia64
; then
8772 # AIX 5 supports IA64
8773 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8774 shlibpath_var
=LD_LIBRARY_PATH
8776 # With GCC up to 2.95.x, collect2 would create an import file
8777 # for dependence libraries. The import file would start with
8778 # the line `#! .'. This would cause the generated library to
8779 # depend on `.', always an invalid library. This was fixed in
8780 # development snapshots of GCC prior to 3.0.
8782 aix4 | aix4.
[01] | aix4.
[01].
*)
8783 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8785 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
8792 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8793 # soname into executable. Probably we can add versioning support to
8794 # collect2, so additional links can be useful in future.
8795 if test "$aix_use_runtimelinking" = yes; then
8796 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8797 # instead of lib<name>.a to let people know that these are not
8798 # typical AIX shared libraries.
8799 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8801 # We preserve .a as extension for shared libraries through AIX4.2
8802 # and later when we are not doing run time linking.
8803 library_names_spec
='${libname}${release}.a $libname.a'
8804 soname_spec
='${libname}${release}${shared_ext}$major'
8806 shlibpath_var
=LIBPATH
8811 library_names_spec
='$libname.ixlibrary $libname.a'
8812 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8813 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'
8817 library_names_spec
='${libname}${shared_ext}'
8818 dynamic_linker
="$host_os ld.so"
8819 shlibpath_var
=LIBRARY_PATH
8825 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8826 soname_spec
='${libname}${release}${shared_ext}$major'
8827 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8828 shlibpath_var
=LD_LIBRARY_PATH
8829 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8830 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8831 # the default ld.so.conf also contains /usr/contrib/lib and
8832 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8833 # libtool to hard-code these into programs
8836 cygwin
* | mingw
* | pw32
*)
8837 version_type
=windows
8842 case $GCC,$host_os in
8843 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
8844 library_names_spec
='$libname.dll.a'
8845 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8846 postinstall_cmds
='base_file=`basename \${file}`~
8847 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
8848 dldir=$destdir/`dirname \$dlpath`~
8849 test -d \$dldir || mkdir -p \$dldir~
8850 $install_prog $dir/$dlname \$dldir/$dlname~
8851 chmod a+x \$dldir/$dlname'
8852 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8853 dlpath=$dir/\$dldll~
8855 shlibpath_overrides_runpath
=yes
8859 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8860 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8861 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8864 # MinGW DLLs use traditional 'lib' prefix
8865 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8866 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8867 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
8868 # It is most probably a Windows format PATH printed by
8869 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8870 # path with ; separators, and with drive letters. We can handle the
8871 # drive letters (cygwin fileutils understands them), so leave them,
8872 # especially as we might pass files found there to a mingw objdump,
8873 # which wouldn't understand a cygwinified path. Ahh.
8874 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8876 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8880 # pw32 DLLs use 'pw' prefix rather than 'lib'
8881 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8887 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8890 dynamic_linker
='Win32 ld.exe'
8891 # FIXME: first we should search . and the directory the executable is in
8895 darwin
* | rhapsody
*)
8896 dynamic_linker
="$host_os dyld"
8900 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8901 soname_spec
='${libname}${release}${major}$shared_ext'
8902 shlibpath_overrides_runpath
=yes
8903 shlibpath_var
=DYLD_LIBRARY_PATH
8904 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8906 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
8907 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8914 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8915 soname_spec
='${libname}${release}${shared_ext}$major'
8916 shlibpath_var
=LD_LIBRARY_PATH
8923 freebsd
* | dragonfly
*)
8924 # DragonFly does not have aout. When/if they implement a new
8925 # versioning mechanism, adjust this.
8926 if test -x /usr
/bin
/objformat
; then
8927 objformat
=`/usr/bin/objformat`
8930 freebsd
[123]*) objformat
=aout
;;
8934 version_type
=freebsd-
$objformat
8935 case $version_type in
8937 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8942 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8946 shlibpath_var
=LD_LIBRARY_PATH
8949 shlibpath_overrides_runpath
=yes
8951 freebsd3.
[01]* | freebsdelf3.
[01]*)
8952 shlibpath_overrides_runpath
=yes
8953 hardcode_into_libs
=yes
8955 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
8956 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
8957 shlibpath_overrides_runpath
=no
8958 hardcode_into_libs
=yes
8960 *) # from 4.6 on, and DragonFly
8961 shlibpath_overrides_runpath
=yes
8962 hardcode_into_libs
=yes
8971 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8972 soname_spec
='${libname}${release}${shared_ext}$major'
8973 shlibpath_var
=LD_LIBRARY_PATH
8974 hardcode_into_libs
=yes
8977 hpux9
* | hpux10
* | hpux11
*)
8978 # Give a soname corresponding to the major version so that dld.sl refuses to
8979 # link against other versions.
8986 hardcode_into_libs
=yes
8987 dynamic_linker
="$host_os dld.so"
8988 shlibpath_var
=LD_LIBRARY_PATH
8989 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
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 if test "X$HPUX_IA64_MODE" = X32
; then
8993 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8995 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8997 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9001 hardcode_into_libs
=yes
9002 dynamic_linker
="$host_os dld.sl"
9003 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9004 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9005 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9006 soname_spec
='${libname}${release}${shared_ext}$major'
9007 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9008 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9012 dynamic_linker
="$host_os dld.sl"
9013 shlibpath_var
=SHLIB_PATH
9014 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9015 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9016 soname_spec
='${libname}${release}${shared_ext}$major'
9019 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9020 postinstall_cmds
='chmod 555 $lib'
9027 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9028 soname_spec
='${libname}${release}${shared_ext}$major'
9029 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9030 shlibpath_var
=LD_LIBRARY_PATH
9031 shlibpath_overrides_runpath
=no
9032 hardcode_into_libs
=yes
9035 irix5
* | irix6
* | nonstopux
*)
9037 nonstopux
*) version_type
=nonstopux
;;
9039 if test "$lt_cv_prog_gnu_ld" = yes; then
9047 soname_spec
='${libname}${release}${shared_ext}$major'
9048 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9050 irix5
* | nonstopux
*)
9054 case $LD in # libtool.m4 will add one of these switches to LD
9055 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9056 libsuff
= shlibsuff
= libmagic
=32-bit;;
9057 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9058 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9059 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9060 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9061 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9065 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9066 shlibpath_overrides_runpath
=no
9067 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9068 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9069 hardcode_into_libs
=yes
9072 # No shared lib support for Linux oldld, aout, or coff.
9073 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9077 # This must be Linux ELF.
9078 linux
* | k
*bsd
*-gnu)
9082 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9083 soname_spec
='${libname}${release}${shared_ext}$major'
9084 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9085 shlibpath_var
=LD_LIBRARY_PATH
9086 shlibpath_overrides_runpath
=no
9087 # This implies no fast_install, which is unacceptable.
9088 # Some rework will be needed to allow for fast_install
9089 # before this can be enabled.
9090 hardcode_into_libs
=yes
9091 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9092 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9094 # Append ld.so.conf contents to the search path
9095 if test -f /etc
/ld.so.conf
; then
9096 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9097 sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec $lt_ld_extra"
9100 # We used to test for /lib/ld.so.1 and disable shared libraries on
9101 # powerpc, because MkLinux only supported shared libraries with the
9102 # GNU dynamic linker. Since this was broken with cross compilers,
9103 # most powerpc-linux boxes support dynamic linking these days and
9104 # people can always --disable-shared, the test was removed, and we
9105 # assume the GNU/Linux dynamic linker is in use.
9106 dynamic_linker
='GNU/Linux ld.so'
9113 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
9114 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9115 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9116 dynamic_linker
='NetBSD (a.out) ld.so'
9118 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9119 soname_spec
='${libname}${release}${shared_ext}$major'
9120 dynamic_linker
='NetBSD ld.elf_so'
9122 shlibpath_var
=LD_LIBRARY_PATH
9123 shlibpath_overrides_runpath
=yes
9124 hardcode_into_libs
=yes
9129 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9130 shlibpath_var
=LD_LIBRARY_PATH
9131 shlibpath_overrides_runpath
=yes
9138 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9139 soname_spec
='${libname}${release}${shared_ext}$major'
9140 shlibpath_var
=LD_LIBRARY_PATH
9141 shlibpath_overrides_runpath
=yes
9146 sys_lib_dlsearch_path_spec
="/usr/lib"
9148 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9150 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9151 *) need_version
=no
;;
9153 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9154 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9155 shlibpath_var
=LD_LIBRARY_PATH
9156 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9158 openbsd2.
[89] | openbsd2.
[89].
*)
9159 shlibpath_overrides_runpath
=no
9162 shlibpath_overrides_runpath
=yes
9166 shlibpath_overrides_runpath
=yes
9171 libname_spec
='$name'
9174 library_names_spec
='$libname${shared_ext} $libname.a'
9175 dynamic_linker
='OS/2 ld.exe'
9176 shlibpath_var
=LIBPATH
9179 osf3
* | osf4
* | osf5
*)
9183 soname_spec
='${libname}${release}${shared_ext}$major'
9184 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9185 shlibpath_var
=LD_LIBRARY_PATH
9186 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9187 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9198 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9199 soname_spec
='${libname}${release}${shared_ext}$major'
9200 shlibpath_var
=LD_LIBRARY_PATH
9201 shlibpath_overrides_runpath
=yes
9202 hardcode_into_libs
=yes
9203 # ldd complains unless libraries are executable
9204 postinstall_cmds
='chmod +x $lib'
9209 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9210 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9211 shlibpath_var
=LD_LIBRARY_PATH
9212 shlibpath_overrides_runpath
=yes
9213 if test "$with_gnu_ld" = yes; then
9221 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9222 soname_spec
='${libname}${release}${shared_ext}$major'
9223 shlibpath_var
=LD_LIBRARY_PATH
9224 case $host_vendor in
9226 shlibpath_overrides_runpath
=no
9228 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9229 runpath_var
=LD_RUN_PATH
9237 shlibpath_overrides_runpath
=no
9238 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9244 if test -d /usr
/nec
;then
9246 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9247 soname_spec
='$libname${shared_ext}.$major'
9248 shlibpath_var
=LD_LIBRARY_PATH
9252 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9253 version_type
=freebsd-elf
9256 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9257 soname_spec
='${libname}${release}${shared_ext}$major'
9258 shlibpath_var
=LD_LIBRARY_PATH
9259 hardcode_into_libs
=yes
9260 if test "$with_gnu_ld" = yes; then
9261 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9262 shlibpath_overrides_runpath
=no
9264 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9265 shlibpath_overrides_runpath
=yes
9268 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9272 sys_lib_dlsearch_path_spec
='/usr/lib'
9277 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9278 soname_spec
='${libname}${release}${shared_ext}$major'
9279 shlibpath_var
=LD_LIBRARY_PATH
9286 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9287 echo "${ECHO_T}$dynamic_linker" >&6; }
9288 test "$dynamic_linker" = no
&& can_build_shared
=no
9290 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9291 if test "$GCC" = yes; then
9292 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9295 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9296 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
9298 if test -n "$hardcode_libdir_flag_spec" || \
9299 test -n "$runpath_var" || \
9300 test "X$hardcode_automatic" = "Xyes" ; then
9302 # We can hardcode non-existant directories.
9303 if test "$hardcode_direct" != no
&&
9304 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9305 # have to relink, otherwise we might link with an installed library
9306 # when we should be linking with a yet-to-be-installed one
9307 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
9308 test "$hardcode_minus_L" != no
; then
9309 # Linking always hardcodes the temporary library directory.
9310 hardcode_action
=relink
9312 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9313 hardcode_action
=immediate
9316 # We cannot hardcode anything, or else we can only hardcode existing
9318 hardcode_action
=unsupported
9320 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
9321 echo "${ECHO_T}$hardcode_action" >&6; }
9323 if test "$hardcode_action" = relink
; then
9324 # Fast installation is not supported
9325 enable_fast_install
=no
9326 elif test "$shlibpath_overrides_runpath" = yes ||
9327 test "$enable_shared" = no
; then
9328 # Fast installation is not necessary
9329 enable_fast_install
=needless
9334 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9335 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
9336 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
9337 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
9338 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
9339 { echo "$as_me:$LINENO: result: yes" >&5
9340 echo "${ECHO_T}yes" >&6; }
9342 # FIXME - insert some real tests, host_os isn't really good enough
9345 if test -n "$STRIP" ; then
9346 striplib
="$STRIP -x"
9347 old_striplib
="$STRIP -S"
9348 { echo "$as_me:$LINENO: result: yes" >&5
9349 echo "${ECHO_T}yes" >&6; }
9351 { echo "$as_me:$LINENO: result: no" >&5
9352 echo "${ECHO_T}no" >&6; }
9356 { echo "$as_me:$LINENO: result: no" >&5
9357 echo "${ECHO_T}no" >&6; }
9362 if test "x$enable_dlopen" != xyes
; then
9363 enable_dlopen
=unknown
9364 enable_dlopen_self
=unknown
9365 enable_dlopen_self_static
=unknown
9372 lt_cv_dlopen
="load_add_on"
9374 lt_cv_dlopen_self
=yes
9378 lt_cv_dlopen
="LoadLibrary"
9383 lt_cv_dlopen
="dlopen"
9388 # if libdl is installed we need to link against it
9389 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9390 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9391 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9392 echo $ECHO_N "(cached) $ECHO_C" >&6
9394 ac_check_lib_save_LIBS
=$LIBS
9396 cat >conftest.
$ac_ext <<_ACEOF
9399 cat confdefs.h
>>conftest.
$ac_ext
9400 cat >>conftest.
$ac_ext <<_ACEOF
9401 /* end confdefs.h. */
9403 /* Override any GCC internal prototype to avoid an error.
9404 Use char because int might match the return type of a GCC
9405 builtin and then its argument prototype would still apply. */
9418 rm -f conftest.
$ac_objext conftest
$ac_exeext
9419 if { (ac_try
="$ac_link"
9421 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9422 *) ac_try_echo=$ac_try;;
9424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9425 (eval "$ac_link") 2>conftest.er1
9427 grep -v '^ *+' conftest.er1 >conftest.err
9429 cat conftest.err >&5
9430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9431 (exit $ac_status); } && {
9432 test -z "$ac_c_werror_flag" ||
9433 test ! -s conftest.err
9434 } && test -s conftest$ac_exeext &&
9435 $as_test_x conftest$ac_exeext; then
9436 ac_cv_lib_dl_dlopen=yes
9438 echo "$as_me: failed program was:" >&5
9439 sed 's/^/| /' conftest.$ac_ext >&5
9441 ac_cv_lib_dl_dlopen=no
9444 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9445 conftest$ac_exeext conftest.$ac_ext
9446 LIBS=$ac_check_lib_save_LIBS
9448 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9449 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9450 if test $ac_cv_lib_dl_dlopen = yes; then
9451 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9456 lt_cv_dlopen_self=yes
9463 { echo "$as_me:$LINENO: checking for shl_load" >&5
9464 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
9465 if test "${ac_cv_func_shl_load+set}" = set; then
9466 echo $ECHO_N "(cached) $ECHO_C" >&6
9468 cat >conftest.$ac_ext <<_ACEOF
9471 cat confdefs.h >>conftest.$ac_ext
9472 cat >>conftest.$ac_ext <<_ACEOF
9473 /* end confdefs.h. */
9474 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9475 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9476 #define shl_load innocuous_shl_load
9478 /* System header to define __stub macros and hopefully few prototypes,
9479 which can conflict with char shl_load (); below.
9480 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9481 <limits.h> exists even on freestanding compilers. */
9484 # include <limits.h>
9486 # include <assert.h>
9491 /* Override any GCC internal prototype to avoid an error.
9492 Use char because int might match the return type of a GCC
9493 builtin and then its argument prototype would still apply. */
9498 /* The GNU C library defines this for functions which it implements
9499 to always fail with ENOSYS. Some functions are actually named
9500 something starting with __ and the normal name is an alias. */
9501 #if defined __stub_shl_load || defined __stub___shl_load
9513 rm -f conftest.$ac_objext conftest$ac_exeext
9514 if { (ac_try="$ac_link"
9516 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9517 *) ac_try_echo
=$ac_try;;
9519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9520 (eval "$ac_link") 2>conftest.er1
9522 grep -v '^ *+' conftest.er1
>conftest.err
9524 cat conftest.err
>&5
9525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9526 (exit $ac_status); } && {
9527 test -z "$ac_c_werror_flag" ||
9528 test ! -s conftest.err
9529 } && test -s conftest
$ac_exeext &&
9530 $as_test_x conftest
$ac_exeext; then
9531 ac_cv_func_shl_load
=yes
9533 echo "$as_me: failed program was:" >&5
9534 sed 's/^/| /' conftest.
$ac_ext >&5
9536 ac_cv_func_shl_load
=no
9539 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9540 conftest
$ac_exeext conftest.
$ac_ext
9542 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9543 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9544 if test $ac_cv_func_shl_load = yes; then
9545 lt_cv_dlopen
="shl_load"
9547 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9548 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
9549 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9550 echo $ECHO_N "(cached) $ECHO_C" >&6
9552 ac_check_lib_save_LIBS
=$LIBS
9554 cat >conftest.
$ac_ext <<_ACEOF
9557 cat confdefs.h
>>conftest.
$ac_ext
9558 cat >>conftest.
$ac_ext <<_ACEOF
9559 /* end confdefs.h. */
9561 /* Override any GCC internal prototype to avoid an error.
9562 Use char because int might match the return type of a GCC
9563 builtin and then its argument prototype would still apply. */
9576 rm -f conftest.
$ac_objext conftest
$ac_exeext
9577 if { (ac_try
="$ac_link"
9579 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9580 *) ac_try_echo=$ac_try;;
9582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9583 (eval "$ac_link") 2>conftest.er1
9585 grep -v '^ *+' conftest.er1 >conftest.err
9587 cat conftest.err >&5
9588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9589 (exit $ac_status); } && {
9590 test -z "$ac_c_werror_flag" ||
9591 test ! -s conftest.err
9592 } && test -s conftest$ac_exeext &&
9593 $as_test_x conftest$ac_exeext; then
9594 ac_cv_lib_dld_shl_load=yes
9596 echo "$as_me: failed program was:" >&5
9597 sed 's/^/| /' conftest.$ac_ext >&5
9599 ac_cv_lib_dld_shl_load=no
9602 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9603 conftest$ac_exeext conftest.$ac_ext
9604 LIBS=$ac_check_lib_save_LIBS
9606 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9607 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9608 if test $ac_cv_lib_dld_shl_load = yes; then
9609 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
9611 { echo "$as_me:$LINENO: checking for dlopen" >&5
9612 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
9613 if test "${ac_cv_func_dlopen+set}" = set; then
9614 echo $ECHO_N "(cached) $ECHO_C" >&6
9616 cat >conftest.$ac_ext <<_ACEOF
9619 cat confdefs.h >>conftest.$ac_ext
9620 cat >>conftest.$ac_ext <<_ACEOF
9621 /* end confdefs.h. */
9622 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9623 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9624 #define dlopen innocuous_dlopen
9626 /* System header to define __stub macros and hopefully few prototypes,
9627 which can conflict with char dlopen (); below.
9628 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9629 <limits.h> exists even on freestanding compilers. */
9632 # include <limits.h>
9634 # include <assert.h>
9639 /* Override any GCC internal prototype to avoid an error.
9640 Use char because int might match the return type of a GCC
9641 builtin and then its argument prototype would still apply. */
9646 /* The GNU C library defines this for functions which it implements
9647 to always fail with ENOSYS. Some functions are actually named
9648 something starting with __ and the normal name is an alias. */
9649 #if defined __stub_dlopen || defined __stub___dlopen
9661 rm -f conftest.$ac_objext conftest$ac_exeext
9662 if { (ac_try="$ac_link"
9664 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9665 *) ac_try_echo
=$ac_try;;
9667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9668 (eval "$ac_link") 2>conftest.er1
9670 grep -v '^ *+' conftest.er1
>conftest.err
9672 cat conftest.err
>&5
9673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9674 (exit $ac_status); } && {
9675 test -z "$ac_c_werror_flag" ||
9676 test ! -s conftest.err
9677 } && test -s conftest
$ac_exeext &&
9678 $as_test_x conftest
$ac_exeext; then
9679 ac_cv_func_dlopen
=yes
9681 echo "$as_me: failed program was:" >&5
9682 sed 's/^/| /' conftest.
$ac_ext >&5
9684 ac_cv_func_dlopen
=no
9687 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9688 conftest
$ac_exeext conftest.
$ac_ext
9690 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9691 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
9692 if test $ac_cv_func_dlopen = yes; then
9693 lt_cv_dlopen
="dlopen"
9695 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9696 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9697 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9698 echo $ECHO_N "(cached) $ECHO_C" >&6
9700 ac_check_lib_save_LIBS
=$LIBS
9702 cat >conftest.
$ac_ext <<_ACEOF
9705 cat confdefs.h
>>conftest.
$ac_ext
9706 cat >>conftest.
$ac_ext <<_ACEOF
9707 /* end confdefs.h. */
9709 /* Override any GCC internal prototype to avoid an error.
9710 Use char because int might match the return type of a GCC
9711 builtin and then its argument prototype would still apply. */
9724 rm -f conftest.
$ac_objext conftest
$ac_exeext
9725 if { (ac_try
="$ac_link"
9727 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9728 *) ac_try_echo=$ac_try;;
9730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9731 (eval "$ac_link") 2>conftest.er1
9733 grep -v '^ *+' conftest.er1 >conftest.err
9735 cat conftest.err >&5
9736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9737 (exit $ac_status); } && {
9738 test -z "$ac_c_werror_flag" ||
9739 test ! -s conftest.err
9740 } && test -s conftest$ac_exeext &&
9741 $as_test_x conftest$ac_exeext; then
9742 ac_cv_lib_dl_dlopen=yes
9744 echo "$as_me: failed program was:" >&5
9745 sed 's/^/| /' conftest.$ac_ext >&5
9747 ac_cv_lib_dl_dlopen=no
9750 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9751 conftest$ac_exeext conftest.$ac_ext
9752 LIBS=$ac_check_lib_save_LIBS
9754 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9755 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9756 if test $ac_cv_lib_dl_dlopen = yes; then
9757 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9759 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9760 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
9761 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9762 echo $ECHO_N "(cached) $ECHO_C" >&6
9764 ac_check_lib_save_LIBS=$LIBS
9766 cat >conftest.$ac_ext <<_ACEOF
9769 cat confdefs.h >>conftest.$ac_ext
9770 cat >>conftest.$ac_ext <<_ACEOF
9771 /* end confdefs.h. */
9773 /* Override any GCC internal prototype to avoid an error.
9774 Use char because int might match the return type of a GCC
9775 builtin and then its argument prototype would still apply. */
9788 rm -f conftest.$ac_objext conftest$ac_exeext
9789 if { (ac_try="$ac_link"
9791 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9792 *) ac_try_echo
=$ac_try;;
9794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9795 (eval "$ac_link") 2>conftest.er1
9797 grep -v '^ *+' conftest.er1
>conftest.err
9799 cat conftest.err
>&5
9800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9801 (exit $ac_status); } && {
9802 test -z "$ac_c_werror_flag" ||
9803 test ! -s conftest.err
9804 } && test -s conftest
$ac_exeext &&
9805 $as_test_x conftest
$ac_exeext; then
9806 ac_cv_lib_svld_dlopen
=yes
9808 echo "$as_me: failed program was:" >&5
9809 sed 's/^/| /' conftest.
$ac_ext >&5
9811 ac_cv_lib_svld_dlopen
=no
9814 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9815 conftest
$ac_exeext conftest.
$ac_ext
9816 LIBS
=$ac_check_lib_save_LIBS
9818 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9819 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
9820 if test $ac_cv_lib_svld_dlopen = yes; then
9821 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9823 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9824 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
9825 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9826 echo $ECHO_N "(cached) $ECHO_C" >&6
9828 ac_check_lib_save_LIBS
=$LIBS
9830 cat >conftest.
$ac_ext <<_ACEOF
9833 cat confdefs.h
>>conftest.
$ac_ext
9834 cat >>conftest.
$ac_ext <<_ACEOF
9835 /* end confdefs.h. */
9837 /* Override any GCC internal prototype to avoid an error.
9838 Use char because int might match the return type of a GCC
9839 builtin and then its argument prototype would still apply. */
9852 rm -f conftest.
$ac_objext conftest
$ac_exeext
9853 if { (ac_try
="$ac_link"
9855 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9856 *) ac_try_echo=$ac_try;;
9858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9859 (eval "$ac_link") 2>conftest.er1
9861 grep -v '^ *+' conftest.er1 >conftest.err
9863 cat conftest.err >&5
9864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9865 (exit $ac_status); } && {
9866 test -z "$ac_c_werror_flag" ||
9867 test ! -s conftest.err
9868 } && test -s conftest$ac_exeext &&
9869 $as_test_x conftest$ac_exeext; then
9870 ac_cv_lib_dld_dld_link=yes
9872 echo "$as_me: failed program was:" >&5
9873 sed 's/^/| /' conftest.$ac_ext >&5
9875 ac_cv_lib_dld_dld_link=no
9878 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9879 conftest$ac_exeext conftest.$ac_ext
9880 LIBS=$ac_check_lib_save_LIBS
9882 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9883 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
9884 if test $ac_cv_lib_dld_dld_link = yes; then
9885 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
9906 if test "x$lt_cv_dlopen" != xno; then
9912 case $lt_cv_dlopen in
9914 save_CPPFLAGS="$CPPFLAGS"
9915 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
9917 save_LDFLAGS="$LDFLAGS"
9918 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
9921 LIBS="$lt_cv_dlopen_libs $LIBS"
9923 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9924 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
9925 if test "${lt_cv_dlopen_self+set}" = set; then
9926 echo $ECHO_N "(cached) $ECHO_C" >&6
9928 if test "$cross_compiling" = yes; then :
9929 lt_cv_dlopen_self=cross
9931 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9932 lt_status=$lt_dlunknown
9933 cat > conftest.$ac_ext <<EOF
9934 #line 9934 "configure"
9935 #include "confdefs.h"
9944 # define LT_DLGLOBAL RTLD_GLOBAL
9947 # define LT_DLGLOBAL DL_GLOBAL
9949 # define LT_DLGLOBAL 0
9953 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9954 find out it does not work in some platform. */
9955 #ifndef LT_DLLAZY_OR_NOW
9957 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9960 # define LT_DLLAZY_OR_NOW DL_LAZY
9963 # define LT_DLLAZY_OR_NOW RTLD_NOW
9966 # define LT_DLLAZY_OR_NOW DL_NOW
9968 # define LT_DLLAZY_OR_NOW 0
9976 extern "C" void exit (int);
9979 void fnord() { int i=42;}
9982 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9983 int status = $lt_dlunknown;
9987 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9988 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9989 /* dlclose (self); */
9997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9998 (eval $ac_link) 2>&5
10000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10001 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10002 (./conftest; exit; ) >&5 2>/dev/null
10004 case x$lt_status in
10005 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10006 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10007 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10010 # compilation failed
10011 lt_cv_dlopen_self=no
10018 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10019 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
10021 if test "x$lt_cv_dlopen_self" = xyes; then
10022 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10023 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10024 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
10025 if test "${lt_cv_dlopen_self_static+set}" = set; then
10026 echo $ECHO_N "(cached) $ECHO_C" >&6
10028 if test "$cross_compiling" = yes; then :
10029 lt_cv_dlopen_self_static=cross
10031 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10032 lt_status=$lt_dlunknown
10033 cat > conftest.$ac_ext <<EOF
10034 #line 10034 "configure"
10035 #include "confdefs.h"
10044 # define LT_DLGLOBAL RTLD_GLOBAL
10047 # define LT_DLGLOBAL DL_GLOBAL
10049 # define LT_DLGLOBAL 0
10053 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10054 find out it does not work in some platform. */
10055 #ifndef LT_DLLAZY_OR_NOW
10057 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10060 # define LT_DLLAZY_OR_NOW DL_LAZY
10063 # define LT_DLLAZY_OR_NOW RTLD_NOW
10066 # define LT_DLLAZY_OR_NOW DL_NOW
10068 # define LT_DLLAZY_OR_NOW 0
10076 extern "C" void exit (int);
10079 void fnord() { int i=42;}
10082 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10083 int status = $lt_dlunknown;
10087 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10088 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10089 /* dlclose (self); */
10097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10098 (eval $ac_link) 2>&5
10100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10101 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10102 (./conftest; exit; ) >&5 2>/dev/null
10104 case x$lt_status in
10105 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10106 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10107 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10110 # compilation failed
10111 lt_cv_dlopen_self_static=no
10118 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10119 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
10122 CPPFLAGS="$save_CPPFLAGS"
10123 LDFLAGS="$save_LDFLAGS"
10128 case $lt_cv_dlopen_self in
10129 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10130 *) enable_dlopen_self=unknown ;;
10133 case $lt_cv_dlopen_self_static in
10134 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10135 *) enable_dlopen_self_static=unknown ;;
10140 # Report which library types will actually be built
10141 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10142 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
10143 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
10144 echo "${ECHO_T}$can_build_shared" >&6; }
10146 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10147 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
10148 test "$can_build_shared" = "no" && enable_shared=no
10150 # On AIX, shared libraries and static libraries use the same namespace, and
10151 # are all built from PIC.
10154 test "$enable_shared" = yes && enable_static=no
10155 if test -n "$RANLIB"; then
10156 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10157 postinstall_cmds='$RANLIB $lib'
10162 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10163 test "$enable_shared" = yes && enable_static=no
10167 { echo "$as_me:$LINENO: result: $enable_shared" >&5
10168 echo "${ECHO_T}$enable_shared" >&6; }
10170 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10171 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
10172 # Make sure either enable_shared or enable_static is yes.
10173 test "$enable_shared" = yes || enable_static=yes
10174 { echo "$as_me:$LINENO: result: $enable_static" >&5
10175 echo "${ECHO_T}$enable_static" >&6; }
10177 # The else clause should only fire when bootstrapping the
10178 # libtool distribution, otherwise you forgot to ship ltmain.sh
10179 # with your package, and you will get complaints that there are
10180 # no rules to generate ltmain.sh.
10181 if test -f "$ltmain"; then
10182 # See if we are running on zsh, and set the options which allow our commands through
10183 # without removal of \ escapes.
10184 if test -n "${ZSH_VERSION+set}" ; then
10185 setopt NO_GLOB_SUBST
10187 # Now quote all the things that may contain metacharacters while being
10188 # careful not to overquote the AC_SUBSTed values. We take copies of the
10189 # variables and quote the copies for generation of the libtool script.
10190 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
10192 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10193 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10194 deplibs_check_method reload_flag reload_cmds need_locks \
10195 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10196 lt_cv_sys_global_symbol_to_c_name_address \
10197 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10198 old_postinstall_cmds old_postuninstall_cmds \
10202 lt_prog_compiler_wl \
10203 lt_prog_compiler_pic \
10204 lt_prog_compiler_static \
10205 lt_prog_compiler_no_builtin_flag \
10206 export_dynamic_flag_spec \
10207 thread_safe_flag_spec \
10208 whole_archive_flag_spec \
10209 enable_shared_with_static_runtimes \
10211 old_archive_from_new_cmds \
10216 compiler_lib_search_path \
10218 archive_expsym_cmds \
10220 postuninstall_cmds \
10221 old_archive_from_expsyms_cmds \
10222 allow_undefined_flag \
10223 no_undefined_flag \
10224 export_symbols_cmds \
10225 hardcode_libdir_flag_spec \
10226 hardcode_libdir_flag_spec_ld \
10227 hardcode_libdir_separator \
10228 hardcode_automatic \
10230 module_expsym_cmds \
10231 lt_cv_prog_compiler_c_o \
10234 include_expsyms; do
10237 old_archive_cmds | \
10238 old_archive_from_new_cmds | \
10240 archive_expsym_cmds | \
10242 module_expsym_cmds | \
10243 old_archive_from_expsyms_cmds | \
10244 export_symbols_cmds | \
10245 extract_expsyms_cmds | reload_cmds | finish_cmds | \
10246 postinstall_cmds | postuninstall_cmds | \
10247 old_postinstall_cmds | old_postuninstall_cmds | \
10248 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
10249 # Double-quote double-evaled strings.
10250 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
10253 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
10259 *'\$0 --fallback-echo"')
10260 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10264 cfgfile="${ofile}T"
10265 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
10267 { echo "$as_me:$LINENO: creating $ofile" >&5
10268 echo "$as_me: creating $ofile" >&6;}
10270 cat <<__EOF__ >> "$cfgfile"
10273 # `$echo "$cfgfile" |
sed 's%^.*/%%'` - Provide generalized library-building support services.
10274 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10275 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
10277 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
10278 # Free Software Foundation, Inc.
10280 # This file is part of GNU Libtool:
10281 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
10283 # This program is free software; you can redistribute it and/or modify
10284 # it under the terms of the GNU General Public License as published by
10285 # the Free Software Foundation; either version 2 of the License, or
10286 # (at your option) any later version.
10288 # This program is distributed in the hope that it will be useful, but
10289 # WITHOUT ANY WARRANTY; without even the implied warranty of
10290 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10291 # General Public License for more details.
10293 # You should have received a copy of the GNU General Public License
10294 # along with this program; if not, write to the Free Software
10295 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
10297 # As a special exception to the GNU General Public License, if you
10298 # distribute this file as part of a program that contains a
10299 # configuration script generated by Autoconf, you may include it under
10300 # the same distribution terms that you use for the rest of that program.
10302 # A sed program that does not truncate output.
10305 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
10306 Xsed="$SED -e 1s/^X//"
10308 # The HP-UX ksh and POSIX shell print the target directory to stdout
10309 # if CDPATH is set.
10310 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10312 # The names of the tagged configurations supported by this script.
10315 # ### BEGIN LIBTOOL CONFIG
10317 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
10319 # Shell to use when invoking shell scripts.
10322 # Whether or not to build shared libraries.
10323 build_libtool_libs=$enable_shared
10325 # Whether or not to build static libraries.
10326 build_old_libs=$enable_static
10328 # Whether or not to add -lc for building shared libraries.
10329 build_libtool_need_lc=$archive_cmds_need_lc
10331 # Whether or not to disallow shared libs when runtime libs are static
10332 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
10334 # Whether or not to optimize for fast installation.
10335 fast_install=$enable_fast_install
10338 host_alias=$host_alias
10342 # The build system.
10343 build_alias=$build_alias
10347 # An echo program that does not interpret backslashes.
10352 AR_FLAGS=$lt_AR_FLAGS
10357 # LTCC compiler flags.
10358 LTCFLAGS=$lt_LTCFLAGS
10360 # A language-specific compiler.
10363 # Is the compiler the GNU C compiler?
10369 # The linker used to build libraries.
10372 # Whether we need hard or soft links.
10375 # A BSD-compatible nm program.
10378 # A symbol stripping program
10381 # Used to examine libraries when file_magic_cmd begins "file"
10382 MAGIC_CMD=$MAGIC_CMD
10384 # Used on cygwin: DLL creation program.
10387 # Used on cygwin: object dumper.
10390 # Used on cygwin: assembler.
10393 # The name of the directory that contains temporary libtool files.
10396 # How to create reloadable object files.
10397 reload_flag=$lt_reload_flag
10398 reload_cmds=$lt_reload_cmds
10400 # How to pass a linker flag through the compiler.
10401 wl=$lt_lt_prog_compiler_wl
10403 # Object file suffix (normally "o").
10404 objext="$ac_objext"
10406 # Old archive suffix (normally "a").
10409 # Shared library suffix (normally ".so").
10410 shrext_cmds='$shrext_cmds'
10412 # Executable file suffix (normally "").
10415 # Additional compiler flags for building library objects.
10416 pic_flag=$lt_lt_prog_compiler_pic
10419 # What is the maximum length of a command?
10420 max_cmd_len=$lt_cv_sys_max_cmd_len
10422 # Does compiler simultaneously support -c and -o options?
10423 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
10425 # Must we lock files when doing compilation?
10426 need_locks=$lt_need_locks
10428 # Do we need the lib prefix for modules?
10429 need_lib_prefix=$need_lib_prefix
10431 # Do we need a version for libraries?
10432 need_version=$need_version
10434 # Whether dlopen is supported.
10435 dlopen_support=$enable_dlopen
10437 # Whether dlopen of programs is supported.
10438 dlopen_self=$enable_dlopen_self
10440 # Whether dlopen of statically linked programs is supported.
10441 dlopen_self_static=$enable_dlopen_self_static
10443 # Compiler flag to prevent dynamic linking.
10444 link_static_flag=$lt_lt_prog_compiler_static
10446 # Compiler flag to turn off builtin functions.
10447 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
10449 # Compiler flag to allow reflexive dlopens.
10450 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
10452 # Compiler flag to generate shared objects directly from archives.
10453 whole_archive_flag_spec=$lt_whole_archive_flag_spec
10455 # Compiler flag to generate thread-safe objects.
10456 thread_safe_flag_spec=$lt_thread_safe_flag_spec
10458 # Library versioning type.
10459 version_type=$version_type
10461 # Format of library name prefix.
10462 libname_spec=$lt_libname_spec
10464 # List of archive names. First name is the real one, the rest are links.
10465 # The last name is the one that the linker finds with -lNAME.
10466 library_names_spec=$lt_library_names_spec
10468 # The coded name of the library, if different from the real name.
10469 soname_spec=$lt_soname_spec
10471 # Commands used to build and install an old-style archive.
10473 old_archive_cmds=$lt_old_archive_cmds
10474 old_postinstall_cmds=$lt_old_postinstall_cmds
10475 old_postuninstall_cmds=$lt_old_postuninstall_cmds
10477 # Create an old-style archive from a shared archive.
10478 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
10480 # Create a temporary old-style archive to link instead of a shared archive.
10481 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
10483 # Commands used to build and install a shared archive.
10484 archive_cmds=$lt_archive_cmds
10485 archive_expsym_cmds=$lt_archive_expsym_cmds
10486 postinstall_cmds=$lt_postinstall_cmds
10487 postuninstall_cmds=$lt_postuninstall_cmds
10489 # Commands used to build a loadable module (assumed same as above if empty)
10490 module_cmds=$lt_module_cmds
10491 module_expsym_cmds=$lt_module_expsym_cmds
10493 # Commands to strip libraries.
10494 old_striplib=$lt_old_striplib
10495 striplib=$lt_striplib
10497 # Dependencies to place before the objects being linked to create a
10499 predep_objects=$lt_predep_objects
10501 # Dependencies to place after the objects being linked to create a
10503 postdep_objects=$lt_postdep_objects
10505 # Dependencies to place before the objects being linked to create a
10507 predeps=$lt_predeps
10509 # Dependencies to place after the objects being linked to create a
10511 postdeps=$lt_postdeps
10513 # The library search path used internally by the compiler when linking
10514 # a shared library.
10515 compiler_lib_search_path=$lt_compiler_lib_search_path
10517 # Method to check whether dependent libraries are shared objects.
10518 deplibs_check_method=$lt_deplibs_check_method
10520 # Command to use when deplibs_check_method == file_magic.
10521 file_magic_cmd=$lt_file_magic_cmd
10523 # Flag that allows shared libraries with undefined symbols to be built.
10524 allow_undefined_flag=$lt_allow_undefined_flag
10526 # Flag that forces no undefined symbols.
10527 no_undefined_flag=$lt_no_undefined_flag
10529 # Commands used to finish a libtool library installation in a directory.
10530 finish_cmds=$lt_finish_cmds
10532 # Same as above, but a single script fragment to be evaled but not shown.
10533 finish_eval=$lt_finish_eval
10535 # Take the output of nm and produce a listing of raw symbols and C names.
10536 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10538 # Transform the output of nm in a proper C declaration
10539 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10541 # Transform the output of nm in a C name address pair
10542 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10544 # This is the shared library runtime path variable.
10545 runpath_var=$runpath_var
10547 # This is the shared library path variable.
10548 shlibpath_var=$shlibpath_var
10550 # Is shlibpath searched before the hard-coded library search path?
10551 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10553 # How to hardcode a shared library path into an executable.
10554 hardcode_action=$hardcode_action
10556 # Whether we should hardcode library paths into libraries.
10557 hardcode_into_libs=$hardcode_into_libs
10559 # Flag to hardcode \$libdir into a binary during linking.
10560 # This must work even if \$libdir does not exist.
10561 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
10563 # If ld is used when linking, flag to hardcode \$libdir into
10564 # a binary during linking. This must work even if \$libdir does
10566 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
10568 # Whether we need a single -rpath flag with a separated argument.
10569 hardcode_libdir_separator=$lt_hardcode_libdir_separator
10571 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10572 # resulting binary.
10573 hardcode_direct=$hardcode_direct
10575 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10576 # resulting binary.
10577 hardcode_minus_L=$hardcode_minus_L
10579 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
10580 # the resulting binary.
10581 hardcode_shlibpath_var=$hardcode_shlibpath_var
10583 # Set to yes if building a shared library automatically hardcodes DIR into the library
10584 # and all subsequent libraries and executables linked against it.
10585 hardcode_automatic=$hardcode_automatic
10587 # Variables whose values should be saved in libtool wrapper scripts and
10588 # restored at relink time.
10589 variables_saved_for_relink="$variables_saved_for_relink"
10591 # Whether libtool must link a program against all its dependency libraries.
10592 link_all_deplibs=$link_all_deplibs
10594 # Compile-time system search path for libraries
10595 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
10597 # Run-time system search path for libraries
10598 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10600 # Fix the shell variable \$srcfile for the compiler.
10601 fix_srcfile_path=$lt_fix_srcfile_path
10603 # Set to yes if exported symbols are required.
10604 always_export_symbols=$always_export_symbols
10606 # The commands to list exported symbols.
10607 export_symbols_cmds=$lt_export_symbols_cmds
10609 # The commands to extract the exported symbol list from a shared archive.
10610 extract_expsyms_cmds=$lt_extract_expsyms_cmds
10612 # Symbols that should not be listed in the preloaded symbols.
10613 exclude_expsyms=$lt_exclude_expsyms
10615 # Symbols that must always be exported.
10616 include_expsyms=$lt_include_expsyms
10618 # ### END LIBTOOL CONFIG
10625 cat <<\EOF >> "$cfgfile"
10627 # AIX sometimes has problems with the GCC collect2 program. For some
10628 # reason, if we set the COLLECT_NAMES environment variable, the problems
10629 # vanish in a puff of smoke.
10630 if test "X${COLLECT_NAMES+set}" != Xset; then
10632 export COLLECT_NAMES
10638 # We use sed instead of cat because bash on DJGPP gets confused if
10639 # if finds mixed CR/LF and LF-only lines. Since sed operates in
10640 # text mode, it properly converts lines to CR/LF. This bash problem
10641 # is reportedly fixed, but why not run on old versions too?
10642 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
10644 mv -f "$cfgfile" "$ofile" || \
10645 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
10649 # If there is no Makefile yet, we rely on a make rule to execute
10650 # `config.status
--recheck' to rerun these tests and create the
10651 # libtool script then.
10652 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
10653 if test -f "$ltmain_in"; then
10654 test -f Makefile && make "$ltmain"
10660 ac_cpp='$CPP $CPPFLAGS'
10661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
10662 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
10663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10668 # Check whether --with-tags was given.
10669 if test "${with_tags+set}" = set; then
10670 withval=$with_tags; tagnames="$withval"
10674 if test -f "$ltmain" && test -n "$tagnames"; then
10675 if test ! -f "${ofile}"; then
10676 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist
" >&5
10677 echo "$as_me: WARNING
: output
file \
`$ofile' does not exist" >&2;}
10680 if test -z "$LTCC"; then
10681 eval "`$SHELL ${ofile} --config |
grep '^LTCC='`"
10682 if test -z "$LTCC"; then
10683 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
10684 echo "$as_me: WARNING: output file \`$ofile' does not
look like a libtool
script" >&2;}
10686 { echo "$as_me:$LINENO: WARNING
: using \
`LTCC=$LTCC', extracted from \`$ofile'" >&5
10687 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \
`$ofile'" >&2;}
10690 if test -z "$LTCFLAGS"; then
10691 eval "`$SHELL ${ofile} --config |
grep '^LTCFLAGS='`"
10694 # Extract list of available tagged configurations in $ofile.
10695 # Note that this assumes the entire list is on one line.
10696 available_tags=`grep "^available_tags=" "${ofile}" |
$SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
10698 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10699 for tagname in $tagnames; do
10701 # Check whether tagname contains only valid characters
10702 case `$echo "X$tagname" |
$Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
10704 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
10705 echo "$as_me: error: invalid tag name: $tagname" >&2;}
10706 { (exit 1); exit 1; }; }
10710 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
10712 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
10713 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
10714 { (exit 1); exit 1; }; }
10717 # Update the list of available tags.
10718 if test -n "$tagname"; then
10719 echo appending configuration tag \"$tagname\" to $ofile
10723 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
10724 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
10725 (test "X$CXX" != "Xg++"))) ; then
10727 ac_cpp='$CXXCPP $CPPFLAGS'
10728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10735 archive_cmds_need_lc_CXX=no
10736 allow_undefined_flag_CXX=
10737 always_export_symbols_CXX=no
10738 archive_expsym_cmds_CXX=
10739 export_dynamic_flag_spec_CXX=
10740 hardcode_direct_CXX=no
10741 hardcode_libdir_flag_spec_CXX=
10742 hardcode_libdir_flag_spec_ld_CXX=
10743 hardcode_libdir_separator_CXX=
10744 hardcode_minus_L_CXX=no
10745 hardcode_shlibpath_var_CXX=unsupported
10746 hardcode_automatic_CXX=no
10748 module_expsym_cmds_CXX=
10749 link_all_deplibs_CXX=unknown
10750 old_archive_cmds_CXX=$old_archive_cmds
10751 no_undefined_flag_CXX=
10752 whole_archive_flag_spec_CXX=
10753 enable_shared_with_static_runtimes_CXX=no
10755 # Dependencies to place before and after the object being linked:
10756 predep_objects_CXX=
10757 postdep_objects_CXX=
10760 compiler_lib_search_path_CXX=
10762 # Source file extension for C++ test sources.
10765 # Object file extension for compiled C++ test sources.
10769 # Code to be used in simple compile tests
10770 lt_simple_compile_test_code="int some_variable = 0;"
10772 # Code to be used in simple link tests
10773 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
10775 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10777 # If no C compiler was specified, use CC.
10780 # If no C compiler flags were specified, use CFLAGS.
10781 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10783 # Allow CC to be a program name with arguments.
10787 # save warnings/boilerplate of simple test code
10788 ac_outfile=conftest.$ac_objext
10789 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10790 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10791 _lt_compiler_boilerplate=`cat conftest.err
`
10794 ac_outfile=conftest.$ac_objext
10795 echo "$lt_simple_link_test_code" >conftest.$ac_ext
10796 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10797 _lt_linker_boilerplate=`cat conftest.err
`
10801 # Allow CC to be a program name with arguments.
10806 lt_save_with_gnu_ld=$with_gnu_ld
10807 lt_save_path_LD=$lt_cv_path_LD
10808 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10809 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
10811 $as_unset lt_cv_prog_gnu_ld
10813 if test -n "${lt_cv_path_LDCXX+set}"; then
10814 lt_cv_path_LD=$lt_cv_path_LDCXX
10816 $as_unset lt_cv_path_LD
10818 test -z "${LDCXX+set}" || LD=$LDCXX
10822 for cc_temp in $compiler""; do
10824 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10825 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10830 cc_basename=`$echo "X$cc_temp" |
$Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10833 # We don't want -fno-exception wen compiling C++ code, so set the
10834 # no_builtin_flag separately
10835 if test "$GXX" = yes; then
10836 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
10838 lt_prog_compiler_no_builtin_flag_CXX=
10841 if test "$GXX" = yes; then
10842 # Set up default GNU C++ configuration
10845 # Check whether --with-gnu-ld was given.
10846 if test "${with_gnu_ld+set}" = set; then
10847 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
10853 if test "$GCC" = yes; then
10854 # Check if gcc -print-prog-name=ld gives a path.
10855 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10856 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
10859 # gcc leaves a trailing carriage return which upsets mingw
10860 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
10862 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
10865 # Accept absolute paths.
10867 re_direlt='/[^/][^/]*/\.\./'
10868 # Canonicalize the pathname of ld
10869 ac_prog=`echo $ac_prog|
$SED 's%\\\\%/%g'`
10870 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
10871 ac_prog=`echo $ac_prog|
$SED "s%$re_direlt%/%"`
10873 test -z "$LD" && LD="$ac_prog"
10876 # If it fails, then pretend we aren't using GCC.
10880 # If it is relative, then search for the first ld in PATH.
10881 with_gnu_ld=unknown
10884 elif test "$with_gnu_ld" = yes; then
10885 { echo "$as_me:$LINENO: checking for GNU ld" >&5
10886 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
10888 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10889 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
10891 if test "${lt_cv_path_LD+set}" = set; then
10892 echo $ECHO_N "(cached) $ECHO_C" >&6
10894 if test -z "$LD"; then
10895 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10896 for ac_dir in $PATH; do
10898 test -z "$ac_dir" && ac_dir=.
10899 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
10900 lt_cv_path_LD="$ac_dir/$ac_prog"
10901 # Check to see if the program is GNU ld. I'd rather use --version,
10902 # but apparently some variants of GNU ld only accept -v.
10903 # Break only if it was the GNU/non-GNU ld that we prefer.
10904 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
10905 *GNU* | *'with BFD'*)
10906 test "$with_gnu_ld" != no && break
10909 test "$with_gnu_ld" != yes && break
10916 lt_cv_path_LD="$LD" # Let the user override the test with a path.
10920 LD="$lt_cv_path_LD"
10921 if test -n "$LD"; then
10922 { echo "$as_me:$LINENO: result: $LD" >&5
10923 echo "${ECHO_T}$LD" >&6; }
10925 { echo "$as_me:$LINENO: result: no" >&5
10926 echo "${ECHO_T}no" >&6; }
10928 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10929 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10930 { (exit 1); exit 1; }; }
10931 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10932 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
10933 if test "${lt_cv_prog_gnu_ld+set}" = set; then
10934 echo $ECHO_N "(cached) $ECHO_C" >&6
10936 # I'd rather use --version here, but apparently some GNU lds only accept -v.
10937 case `$LD -v 2>&1 </dev
/null
` in
10938 *GNU* | *'with BFD'*)
10939 lt_cv_prog_gnu_ld=yes
10942 lt_cv_prog_gnu_ld=no
10946 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10947 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
10948 with_gnu_ld=$lt_cv_prog_gnu_ld
10952 # Check if GNU C++ uses GNU ld as the underlying linker, since the
10953 # archiving commands below assume that GNU ld is being used.
10954 if test "$with_gnu_ld" = yes; then
10955 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10956 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'
10958 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
10959 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10961 # If archive_cmds runs LD, not CC, wlarc should be empty
10962 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
10963 # investigate it a little bit more. (MM)
10966 # ancient GNU ld didn't support --whole-archive et. al.
10967 if eval "`$CC -print-prog-name=ld
` --help 2>&1" | \
10968 grep 'no-whole-archive' > /dev/null; then
10969 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10971 whole_archive_flag_spec_CXX=
10977 # A generic and very simple default shared library creation
10978 # command for GNU C++ for the case where it uses the native
10979 # linker, instead of GNU ld. If possible, this setting should
10980 # overridden to take advantage of the native linker features on
10981 # the platform it is being used on.
10982 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10985 # Commands to make compiler produce verbose output that lists
10986 # what "hidden" libraries, object files and flags are used when
10987 # linking a shared library.
10988 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10996 # PORTME: fill in a description of your system's C++ link characteristics
10997 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10998 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
11002 # FIXME: insert proper C++ library support
11006 if test "$host_cpu" = ia64; then
11007 # On IA64, the linker does run time linking by default, so we don't
11008 # have to do anything special.
11009 aix_use_runtimelinking=no
11010 exp_sym_flag='-Bexport'
11013 aix_use_runtimelinking=no
11015 # Test if we are trying to use run time linking or normal
11016 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11017 # need to do runtime linking.
11018 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
11019 for ld_flag in $LDFLAGS; do
11022 aix_use_runtimelinking=yes
11030 exp_sym_flag='-bexport'
11031 no_entry_flag='-bnoentry'
11034 # When large executables or shared objects are built, AIX ld can
11035 # have problems creating the table of contents. If linking a library
11036 # or program results in "error TOC overflow" add -mminimal-toc to
11037 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11038 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11040 archive_cmds_CXX=''
11041 hardcode_direct_CXX=yes
11042 hardcode_libdir_separator_CXX=':'
11043 link_all_deplibs_CXX=yes
11045 if test "$GXX" = yes; then
11046 case $host_os in aix4.[012]|aix4.[012].*)
11047 # We only want to do this on AIX 4.2 and lower, the check
11048 # below for broken collect2 doesn't work under 4.3+
11049 collect2name=`${CC} -print-prog-name=collect2
`
11050 if test -f "$collect2name" && \
11051 strings "$collect2name" | grep resolve_lib_name >/dev/null
11053 # We have reworked collect2
11056 # We have old collect2
11057 hardcode_direct_CXX=unsupported
11058 # It fails to find uninstalled libraries when the uninstalled
11059 # path is not listed in the libpath. Setting hardcode_minus_L
11060 # to unsupported forces relinking
11061 hardcode_minus_L_CXX=yes
11062 hardcode_libdir_flag_spec_CXX='-L$libdir'
11063 hardcode_libdir_separator_CXX=
11067 shared_flag='-shared'
11068 if test "$aix_use_runtimelinking" = yes; then
11069 shared_flag="$shared_flag "'${wl}-G'
11073 if test "$host_cpu" = ia64; then
11074 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11075 # chokes on -Wl,-G. The following line is correct:
11078 if test "$aix_use_runtimelinking" = yes; then
11079 shared_flag='${wl}-G'
11081 shared_flag='${wl}-bM:SRE'
11086 # It seems that -bexpall does not export symbols beginning with
11087 # underscore (_), so it is better to generate a list of symbols to export.
11088 always_export_symbols_CXX=yes
11089 if test "$aix_use_runtimelinking" = yes; then
11090 # Warning - without using the other runtime loading flags (-brtl),
11091 # -berok will link without error, but may produce a broken library.
11092 allow_undefined_flag_CXX='-berok'
11093 # Determine the default libpath from the value encoded in an empty executable.
11094 cat >conftest.$ac_ext <<_ACEOF
11097 cat confdefs.h >>conftest.$ac_ext
11098 cat >>conftest.$ac_ext <<_ACEOF
11099 /* end confdefs.h. */
11109 rm -f conftest.$ac_objext conftest$ac_exeext
11110 if { (ac_try="$ac_link"
11111 case "(($ac_try" in
11112 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11113 *) ac_try_echo
=$ac_try;;
11115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11116 (eval "$ac_link") 2>conftest.er1
11118 grep -v '^ *+' conftest.er1
>conftest.err
11120 cat conftest.err
>&5
11121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11122 (exit $ac_status); } && {
11123 test -z "$ac_cxx_werror_flag" ||
11124 test ! -s conftest.err
11125 } && test -s conftest
$ac_exeext &&
11126 $as_test_x conftest
$ac_exeext; then
11128 lt_aix_libpath_sed
='
11129 /Import File Strings/,/^$/ {
11135 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11136 # Check for a 64-bit object if we didn't find anything.
11137 if test -z "$aix_libpath"; then
11138 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11141 echo "$as_me: failed program was:" >&5
11142 sed 's/^/| /' conftest.
$ac_ext >&5
11147 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11148 conftest
$ac_exeext conftest.
$ac_ext
11149 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11151 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11153 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"
11155 if test "$host_cpu" = ia64
; then
11156 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
11157 allow_undefined_flag_CXX
="-z nodefs"
11158 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"
11160 # Determine the default libpath from the value encoded in an empty executable.
11161 cat >conftest.
$ac_ext <<_ACEOF
11164 cat confdefs.h
>>conftest.
$ac_ext
11165 cat >>conftest.
$ac_ext <<_ACEOF
11166 /* end confdefs.h. */
11176 rm -f conftest.
$ac_objext conftest
$ac_exeext
11177 if { (ac_try
="$ac_link"
11178 case "(($ac_try" in
11179 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11180 *) ac_try_echo=$ac_try;;
11182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11183 (eval "$ac_link") 2>conftest.er1
11185 grep -v '^ *+' conftest.er1 >conftest.err
11187 cat conftest.err >&5
11188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11189 (exit $ac_status); } && {
11190 test -z "$ac_cxx_werror_flag" ||
11191 test ! -s conftest.err
11192 } && test -s conftest$ac_exeext &&
11193 $as_test_x conftest$ac_exeext; then
11195 lt_aix_libpath_sed='
11196 /Import File Strings/,/^$/ {
11202 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
11203 # Check for a 64-bit object if we didn't find anything.
11204 if test -z "$aix_libpath"; then
11205 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
11208 echo "$as_me: failed program was:" >&5
11209 sed 's/^/| /' conftest.$ac_ext >&5
11214 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11215 conftest$ac_exeext conftest.$ac_ext
11216 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11218 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11219 # Warning - without using the other run time loading flags,
11220 # -berok will link without error, but may produce a broken library.
11221 no_undefined_flag_CXX=' ${wl}-bernotok'
11222 allow_undefined_flag_CXX=' ${wl}-berok'
11223 # Exported symbols can be pulled into shared objects from archives
11224 whole_archive_flag_spec_CXX='$convenience'
11225 archive_cmds_need_lc_CXX=yes
11226 # This is similar to how AIX traditionally builds its shared libraries.
11227 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'
11233 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11234 allow_undefined_flag_CXX=unsupported
11235 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11236 # support --undefined. This deserves some investigation. FIXME
11237 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11244 case $cc_basename in
11246 # FIXME: insert proper C++ library support
11252 cygwin* | mingw* | pw32*)
11253 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11254 # as there is no search path for DLLs.
11255 hardcode_libdir_flag_spec_CXX='-L$libdir'
11256 allow_undefined_flag_CXX=unsupported
11257 always_export_symbols_CXX=no
11258 enable_shared_with_static_runtimes_CXX=yes
11260 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11261 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'
11262 # If the export-symbols file already is a .def file (1st line
11263 # is EXPORTS), use it as is; otherwise, prepend...
11264 archive_expsym_cmds_CXX='if test "x`$SED 1q
$export_symbols`" = xEXPORTS; then
11265 cp $export_symbols $output_objdir/$soname.def;
11267 echo EXPORTS > $output_objdir/$soname.def;
11268 cat $export_symbols >> $output_objdir/$soname.def;
11270 $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'
11275 darwin* | rhapsody*)
11277 rhapsody* | darwin1.[012])
11278 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11281 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
11282 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11284 case ${MACOSX_DEPLOYMENT_TARGET} in
11286 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11289 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11295 archive_cmds_need_lc_CXX=no
11296 hardcode_direct_CXX=no
11297 hardcode_automatic_CXX=yes
11298 hardcode_shlibpath_var_CXX=unsupported
11299 whole_archive_flag_spec_CXX=''
11300 link_all_deplibs_CXX=yes
11302 if test "$GXX" = yes ; then
11303 lt_int_apple_cc_single_mod=no
11304 output_verbose_link_cmd='echo'
11305 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
11306 lt_int_apple_cc_single_mod=yes
11308 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11309 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11311 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'
11313 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11314 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11315 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11316 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}'
11318 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}'
11320 module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11322 case $cc_basename in
11324 output_verbose_link_cmd='echo'
11325 archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
11326 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11327 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11328 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11329 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}'
11339 case $cc_basename in
11341 # FIXME: insert proper C++ library support
11345 # Green Hills C++ Compiler
11346 # FIXME: insert proper C++ library support
11350 # FIXME: insert proper C++ library support
11356 # C++ shared libraries reported to be fairly broken before switch to ELF
11360 archive_cmds_need_lc_CXX=no
11362 freebsd* | dragonfly*)
11363 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11370 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11371 hardcode_libdir_separator_CXX=:
11372 export_dynamic_flag_spec_CXX='${wl}-E'
11373 hardcode_direct_CXX=yes
11374 hardcode_minus_L_CXX=yes # Not in the search PATH,
11375 # but as the default
11376 # location of the library.
11378 case $cc_basename in
11380 # FIXME: insert proper C++ library support
11384 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'
11385 # Commands to make compiler produce verbose output that lists
11386 # what "hidden" libraries, object files and flags are used when
11387 # linking a shared library.
11389 # There doesn't appear to be a way to prevent this compiler from
11390 # explicitly linking system object files so we need to strip them
11391 # from the output so that they don't get included in the library
11393 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'
11396 if test "$GXX" = yes; then
11397 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'
11399 # FIXME: insert proper C++ library support
11406 if test $with_gnu_ld = no; then
11407 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11408 hardcode_libdir_separator_CXX=:
11413 export_dynamic_flag_spec_CXX='${wl}-E'
11419 hardcode_direct_CXX=no
11420 hardcode_shlibpath_var_CXX=no
11423 hardcode_direct_CXX=yes
11424 hardcode_minus_L_CXX=yes # Not in the search PATH,
11425 # but as the default
11426 # location of the library.
11430 case $cc_basename in
11432 # FIXME: insert proper C++ library support
11438 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11441 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11444 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11447 # Commands to make compiler produce verbose output that lists
11448 # what "hidden" libraries, object files and flags are used when
11449 # linking a shared library.
11451 # There doesn't appear to be a way to prevent this compiler from
11452 # explicitly linking system object files so we need to strip them
11453 # from the output so that they don't get included in the library
11455 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'
11458 if test "$GXX" = yes; then
11459 if test $with_gnu_ld = no; then
11462 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11465 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11468 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'
11473 # FIXME: insert proper C++ library support
11480 hardcode_direct_CXX=no
11481 hardcode_shlibpath_var_CXX=no
11482 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11483 export_dynamic_flag_spec_CXX='${wl}-E'
11484 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11485 # Instead, shared libraries are loaded at an image base (0x10000000 by
11486 # default) and relocated if they conflict, which is a slow very memory
11487 # consuming and fragmenting process. To avoid this, we pick a random,
11488 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11489 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11490 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'
11491 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'
11494 case $cc_basename in
11497 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'
11499 # Archives containing C++ object files must be created using
11500 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11501 # necessary to make sure instantiated templates are included
11503 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11506 if test "$GXX" = yes; then
11507 if test "$with_gnu_ld" = no; then
11508 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'
11510 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'
11513 link_all_deplibs_CXX=yes
11516 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11517 hardcode_libdir_separator_CXX=:
11519 linux* | k*bsd*-gnu)
11520 case $cc_basename in
11522 # Kuck and Associates, Inc. (KAI) C++ Compiler
11524 # KCC will only create a shared library if the output file
11525 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11526 # to its proper name (with version) after linking.
11527 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'
11528 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'
11529 # Commands to make compiler produce verbose output that lists
11530 # what "hidden" libraries, object files and flags are used when
11531 # linking a shared library.
11533 # There doesn't appear to be a way to prevent this compiler from
11534 # explicitly linking system object files so we need to strip them
11535 # from the output so that they don't get included in the library
11537 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'
11539 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
11540 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11542 # Archives containing C++ object files must be created using
11543 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11544 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11549 # version 8.0 and above of icpc choke on multiply defined symbols
11550 # if we add $predep_objects and $postdep_objects, however 7.1 and
11551 # earlier do not add the objects themselves.
11552 case `$CC -V 2>&1` in
11554 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11555 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'
11557 *) # Version 8.0 or newer
11560 ia64
*) tmp_idyn
=' -i_dynamic';;
11562 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11563 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'
11566 archive_cmds_need_lc_CXX
=no
11567 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11568 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11569 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11572 # Portland Group C++ compiler
11573 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11574 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'
11576 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
11577 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11578 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'
11582 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11583 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'
11585 runpath_var
=LD_RUN_PATH
11586 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11587 hardcode_libdir_separator_CXX
=:
11589 # Commands to make compiler produce verbose output that lists
11590 # what "hidden" libraries, object files and flags are used when
11591 # linking a shared library.
11593 # There doesn't appear to be a way to prevent this compiler from
11594 # explicitly linking system object files so we need to strip them
11595 # from the output so that they don't get included in the library
11597 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'
11600 case `$CC -V 2>&1 | sed 5q` in
11603 no_undefined_flag_CXX
=' -zdefs'
11604 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11605 archive_expsym_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
11606 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11607 whole_archive_flag_spec_CXX
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
11609 # Not sure whether something based on
11610 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
11612 output_verbose_link_cmd
='echo'
11614 # Archives containing C++ object files must be created using
11615 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11616 # necessary to make sure instantiated templates are included
11618 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
11625 # FIXME: insert proper C++ library support
11629 # FIXME: insert proper C++ library support
11633 case $cc_basename in
11635 # FIXME: insert proper C++ library support
11639 # FIXME: insert proper C++ library support
11645 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
11646 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11648 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11649 hardcode_direct_CXX
=yes
11650 hardcode_shlibpath_var_CXX
=no
11652 # Workaround some broken pre-1.5 toolchains
11653 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11656 # C++ shared libraries are fairly broken
11660 if test -f /usr
/libexec
/ld.so
; then
11661 hardcode_direct_CXX
=yes
11662 hardcode_shlibpath_var_CXX
=no
11663 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11664 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11665 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11666 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11667 export_dynamic_flag_spec_CXX
='${wl}-E'
11668 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11670 output_verbose_link_cmd
='echo'
11676 case $cc_basename in
11678 # Kuck and Associates, Inc. (KAI) C++ Compiler
11680 # KCC will only create a shared library if the output file
11681 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11682 # to its proper name (with version) after linking.
11683 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'
11685 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11686 hardcode_libdir_separator_CXX
=:
11688 # Archives containing C++ object files must be created using
11689 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11690 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11694 # Rational C++ 2.4.1
11695 # FIXME: insert proper C++ library support
11699 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11700 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'
11702 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11703 hardcode_libdir_separator_CXX
=:
11705 # Commands to make compiler produce verbose output that lists
11706 # what "hidden" libraries, object files and flags are used when
11707 # linking a shared library.
11709 # There doesn't appear to be a way to prevent this compiler from
11710 # explicitly linking system object files so we need to strip them
11711 # from the output so that they don't get included in the library
11713 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'
11716 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11717 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11718 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'
11720 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11721 hardcode_libdir_separator_CXX
=:
11723 # Commands to make compiler produce verbose output that lists
11724 # what "hidden" libraries, object files and flags are used when
11725 # linking a shared library.
11726 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11729 # FIXME: insert proper C++ library support
11736 case $cc_basename in
11738 # Kuck and Associates, Inc. (KAI) C++ Compiler
11740 # KCC will only create a shared library if the output file
11741 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11742 # to its proper name (with version) after linking.
11743 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'
11745 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11746 hardcode_libdir_separator_CXX
=:
11748 # Archives containing C++ object files must be created using
11749 # the KAI C++ compiler.
11750 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
11753 # Rational C++ 2.4.1
11754 # FIXME: insert proper C++ library support
11758 allow_undefined_flag_CXX
=' -expect_unresolved \*'
11759 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'
11760 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11761 echo "-hidden">> $lib.exp~
11762 $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~
11765 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11766 hardcode_libdir_separator_CXX
=:
11768 # Commands to make compiler produce verbose output that lists
11769 # what "hidden" libraries, object files and flags are used when
11770 # linking a shared library.
11772 # There doesn't appear to be a way to prevent this compiler from
11773 # explicitly linking system object files so we need to strip them
11774 # from the output so that they don't get included in the library
11776 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'
11779 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11780 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11781 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'
11783 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11784 hardcode_libdir_separator_CXX
=:
11786 # Commands to make compiler produce verbose output that lists
11787 # what "hidden" libraries, object files and flags are used when
11788 # linking a shared library.
11789 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11792 # FIXME: insert proper C++ library support
11799 # FIXME: insert proper C++ library support
11803 case $cc_basename in
11806 # FIXME: insert proper C++ library support
11811 # FIXME: insert proper C++ library support
11815 # FIXME: insert proper C++ library support
11821 case $cc_basename in
11823 # Sun C++ 4.2, 5.x and Centerline C++
11824 archive_cmds_need_lc_CXX
=yes
11825 no_undefined_flag_CXX
=' -zdefs'
11826 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11827 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11828 $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'
11830 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11831 hardcode_shlibpath_var_CXX
=no
11833 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11835 # The compiler driver will combine and reorder linker options,
11836 # but understands `-z linker_flag'.
11837 # Supported since Solaris 2.6 (maybe 2.5.1?)
11838 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
11841 link_all_deplibs_CXX
=yes
11843 output_verbose_link_cmd
='echo'
11845 # Archives containing C++ object files must be created using
11846 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11847 # necessary to make sure instantiated templates are included
11849 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
11852 # Green Hills C++ Compiler
11853 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11855 # The C++ compiler must be used to create the archive.
11856 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
11859 # GNU C++ compiler with Solaris linker
11860 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11861 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
11862 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
11863 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11864 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11865 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11867 # Commands to make compiler produce verbose output that lists
11868 # what "hidden" libraries, object files and flags are used when
11869 # linking a shared library.
11870 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11872 # g++ 2.7 appears to require `-G' NOT `-shared' on this
11874 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11875 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11876 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11878 # Commands to make compiler produce verbose output that lists
11879 # what "hidden" libraries, object files and flags are used when
11880 # linking a shared library.
11881 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11884 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
11886 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11888 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11895 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11896 no_undefined_flag_CXX
='${wl}-z,text'
11897 archive_cmds_need_lc_CXX
=no
11898 hardcode_shlibpath_var_CXX
=no
11899 runpath_var
='LD_RUN_PATH'
11901 case $cc_basename in
11903 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11904 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11907 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11908 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11912 sysv5
* | sco3.2v5
* | sco5v6
*)
11913 # Note: We can NOT use -z defs as we might desire, because we do not
11914 # link with -lc, and that would cause any symbols used from libc to
11915 # always be unresolved, which means just about no library would
11916 # ever link correctly. If we're not using GNU ld we use -z text
11917 # though, which does catch some bad symbols but isn't as heavy-handed
11919 # For security reasons, it is highly recommended that you always
11920 # use absolute paths for naming shared libraries, and exclude the
11921 # DT_RUNPATH tag from executables and libraries. But doing so
11922 # requires that you compile everything twice, which is a pain.
11923 # So that behaviour is only enabled if SCOABSPATH is set to a
11924 # non-empty value in the environment. Most likely only useful for
11925 # creating official distributions of packages.
11926 # This is a hack until libtool officially supports absolute path
11927 # names for shared libraries.
11928 no_undefined_flag_CXX
='${wl}-z,text'
11929 allow_undefined_flag_CXX
='${wl}-z,nodefs'
11930 archive_cmds_need_lc_CXX
=no
11931 hardcode_shlibpath_var_CXX
=no
11932 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
11933 hardcode_libdir_separator_CXX
=':'
11934 link_all_deplibs_CXX
=yes
11935 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
11936 runpath_var
='LD_RUN_PATH'
11938 case $cc_basename in
11940 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11941 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11944 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11945 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11950 case $cc_basename in
11952 # NonStop-UX NCC 3.20
11953 # FIXME: insert proper C++ library support
11957 # FIXME: insert proper C++ library support
11963 # FIXME: insert proper C++ library support
11967 # FIXME: insert proper C++ library support
11971 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11972 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
11973 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
11979 cat > conftest.
$ac_ext <<EOF
11983 Foo (void) { a = 0; }
11989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11990 (eval $ac_compile) 2>&5
11992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11993 (exit $ac_status); }; then
11994 # Parse the compiler output and extract the necessary
11995 # objects, libraries and library flags.
11997 # Sentinel used to keep track of whether or not we are before
11998 # the conftest object file.
11999 pre_test_object_deps_done
=no
12001 # The `*' in the case matches for architectures that use `case' in
12002 # $output_verbose_cmd can trigger glob expansion during the loop
12003 # eval without this substitution.
12004 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12006 for p
in `eval $output_verbose_link_cmd`; do
12010 # Some compilers place space between "-{L,R}" and the path.
12011 # Remove the space.
12012 if test $p = "-L" \
12013 ||
test $p = "-R"; then
12020 if test "$pre_test_object_deps_done" = no
; then
12023 # Internal compiler library paths should come after those
12024 # provided the user. The postdeps already come after the
12025 # user supplied libs so there is no need to process them.
12026 if test -z "$compiler_lib_search_path_CXX"; then
12027 compiler_lib_search_path_CXX
="${prev}${p}"
12029 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
12032 # The "-l" case would never come before the object being
12033 # linked, so don't bother handling this case.
12036 if test -z "$postdeps_CXX"; then
12037 postdeps_CXX
="${prev}${p}"
12039 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
12045 # This assumes that the test object file only shows up
12046 # once in the compiler output.
12047 if test "$p" = "conftest.$objext"; then
12048 pre_test_object_deps_done
=yes
12052 if test "$pre_test_object_deps_done" = no
; then
12053 if test -z "$predep_objects_CXX"; then
12054 predep_objects_CXX
="$p"
12056 predep_objects_CXX
="$predep_objects_CXX $p"
12059 if test -z "$postdep_objects_CXX"; then
12060 postdep_objects_CXX
="$p"
12062 postdep_objects_CXX
="$postdep_objects_CXX $p"
12067 *) ;; # Ignore the rest.
12075 echo "libtool.m4: error: problem compiling CXX test program"
12078 $rm -f confest.
$objext
12080 # PORTME: override above test on systems where it is broken
12083 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12084 # hack all around it, let's just trust "g++" to DTRT.
12085 predep_objects_CXX
=
12086 postdep_objects_CXX
=
12091 case `$CC -V 2>&1 | sed 5q` in
12095 # The more standards-conforming stlport4 library is
12096 # incompatible with the Cstd library. Avoid specifying
12097 # it if it's in CXXFLAGS. Ignore libCrun as
12098 # -library=stlport4 depends on it.
12099 case " $CXX $CXXFLAGS " in
12100 *" -library=stlport4 "*)
12101 solaris_use_stlport4
=yes
12104 if test "$solaris_use_stlport4" != yes; then
12105 postdeps_CXX
='-library=Cstd -library=Crun'
12112 case $cc_basename in
12114 # The more standards-conforming stlport4 library is
12115 # incompatible with the Cstd library. Avoid specifying
12116 # it if it's in CXXFLAGS. Ignore libCrun as
12117 # -library=stlport4 depends on it.
12118 case " $CXX $CXXFLAGS " in
12119 *" -library=stlport4 "*)
12120 solaris_use_stlport4
=yes
12124 # Adding this requires a known-good setup of shared libraries for
12125 # Sun compiler versions before 5.6, else PIC objects from an old
12126 # archive will be linked into the output, leading to subtle bugs.
12127 if test "$solaris_use_stlport4" != yes; then
12128 postdeps_CXX
='-library=Cstd -library=Crun'
12136 case " $postdeps_CXX " in
12137 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
12140 lt_prog_compiler_wl_CXX
=
12141 lt_prog_compiler_pic_CXX
=
12142 lt_prog_compiler_static_CXX
=
12144 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12145 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
12147 # C++ specific cases for pic, static, wl, etc.
12148 if test "$GXX" = yes; then
12149 lt_prog_compiler_wl_CXX
='-Wl,'
12150 lt_prog_compiler_static_CXX
='-static'
12154 # All AIX code is PIC.
12155 if test "$host_cpu" = ia64
; then
12156 # AIX 5 now supports IA64 processor
12157 lt_prog_compiler_static_CXX
='-Bstatic'
12161 # FIXME: we need at least 68020 code to build shared libraries, but
12162 # adding the `-m68020' flag to GCC prevents building anything better,
12164 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
12166 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12167 # PIC is the default for these OSes.
12169 mingw
* | cygwin
* | os2
* | pw32
*)
12170 # This hack is so that the source file can tell whether it is being
12171 # built for inclusion in a dll (and should export symbols for example).
12172 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12173 # (--disable-auto-import) libraries
12174 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
12176 darwin
* | rhapsody
*)
12177 # PIC is the default on this platform
12178 # Common symbols not allowed in MH_DYLIB files
12179 lt_prog_compiler_pic_CXX
='-fno-common'
12182 # DJGPP does not support shared libraries at all
12183 lt_prog_compiler_pic_CXX
=
12186 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12187 # Instead, we relocate shared libraries at runtime.
12190 if test -d /usr
/nec
; then
12191 lt_prog_compiler_pic_CXX
=-Kconform_pic
12195 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12196 # not for PA HP-UX.
12201 lt_prog_compiler_pic_CXX
='-fPIC'
12206 lt_prog_compiler_pic_CXX
='-fPIC'
12212 # All AIX code is PIC.
12213 if test "$host_cpu" = ia64
; then
12214 # AIX 5 now supports IA64 processor
12215 lt_prog_compiler_static_CXX
='-Bstatic'
12217 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
12221 case $cc_basename in
12223 # Green Hills C++ Compiler
12224 # _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"
12229 # PIC is the default on this platform
12230 # Common symbols not allowed in MH_DYLIB files
12231 case $cc_basename in
12233 lt_prog_compiler_pic_CXX
='-qnocommon'
12234 lt_prog_compiler_wl_CXX
='-Wl,'
12239 case $cc_basename in
12241 lt_prog_compiler_pic_CXX
='-KPIC'
12244 # Green Hills C++ Compiler
12245 lt_prog_compiler_pic_CXX
='-pic'
12251 freebsd
* | dragonfly
*)
12252 # FreeBSD uses GNU C++
12254 hpux9
* | hpux10
* | hpux11
*)
12255 case $cc_basename in
12257 lt_prog_compiler_wl_CXX
='-Wl,'
12258 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12259 if test "$host_cpu" != ia64
; then
12260 lt_prog_compiler_pic_CXX
='+Z'
12264 lt_prog_compiler_wl_CXX
='-Wl,'
12265 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12271 lt_prog_compiler_pic_CXX
='+Z'
12280 # This is c89, which is MS Visual C++ (no shared libs)
12281 # Anyone wants to do a port?
12283 irix5
* | irix6
* | nonstopux
*)
12284 case $cc_basename in
12286 lt_prog_compiler_wl_CXX
='-Wl,'
12287 lt_prog_compiler_static_CXX
='-non_shared'
12288 # CC pic flag -KPIC is the default.
12294 linux
* | k
*bsd
*-gnu)
12295 case $cc_basename in
12298 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12299 lt_prog_compiler_pic_CXX
='-fPIC'
12303 lt_prog_compiler_wl_CXX
='-Wl,'
12304 lt_prog_compiler_pic_CXX
='-KPIC'
12305 lt_prog_compiler_static_CXX
='-static'
12308 # Portland Group C++ compiler.
12309 lt_prog_compiler_wl_CXX
='-Wl,'
12310 lt_prog_compiler_pic_CXX
='-fpic'
12311 lt_prog_compiler_static_CXX
='-Bstatic'
12315 # Make sure the PIC flag is empty. It appears that all Alpha
12316 # Linux and Compaq Tru64 Unix objects are PIC.
12317 lt_prog_compiler_pic_CXX
=
12318 lt_prog_compiler_static_CXX
='-non_shared'
12321 case `$CC -V 2>&1 | sed 5q` in
12324 lt_prog_compiler_pic_CXX
='-KPIC'
12325 lt_prog_compiler_static_CXX
='-Bstatic'
12326 lt_prog_compiler_wl_CXX
='-Qoption ld '
12337 case $cc_basename in
12339 lt_prog_compiler_pic_CXX
='-W c,exportall'
12347 osf3
* | osf4
* | osf5
*)
12348 case $cc_basename in
12350 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12353 # Rational C++ 2.4.1
12354 lt_prog_compiler_pic_CXX
='-pic'
12357 # Digital/Compaq C++
12358 lt_prog_compiler_wl_CXX
='-Wl,'
12359 # Make sure the PIC flag is empty. It appears that all Alpha
12360 # Linux and Compaq Tru64 Unix objects are PIC.
12361 lt_prog_compiler_pic_CXX
=
12362 lt_prog_compiler_static_CXX
='-non_shared'
12371 case $cc_basename in
12373 # Sun C++ 4.2, 5.x and Centerline C++
12374 lt_prog_compiler_pic_CXX
='-KPIC'
12375 lt_prog_compiler_static_CXX
='-Bstatic'
12376 lt_prog_compiler_wl_CXX
='-Qoption ld '
12379 # Green Hills C++ Compiler
12380 lt_prog_compiler_pic_CXX
='-PIC'
12387 case $cc_basename in
12390 lt_prog_compiler_pic_CXX
='-pic'
12391 lt_prog_compiler_static_CXX
='-Bstatic'
12395 lt_prog_compiler_pic_CXX
='-pic'
12402 case $cc_basename in
12404 # NonStop-UX NCC 3.20
12405 lt_prog_compiler_pic_CXX
='-KPIC'
12411 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12412 case $cc_basename in
12414 lt_prog_compiler_wl_CXX
='-Wl,'
12415 lt_prog_compiler_pic_CXX
='-KPIC'
12416 lt_prog_compiler_static_CXX
='-Bstatic'
12423 lt_prog_compiler_can_build_shared_CXX
=no
12428 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12429 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
12432 # Check to make sure the PIC flag actually works.
12434 if test -n "$lt_prog_compiler_pic_CXX"; then
12436 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12437 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
12438 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12439 echo $ECHO_N "(cached) $ECHO_C" >&6
12441 lt_prog_compiler_pic_works_CXX
=no
12442 ac_outfile
=conftest.
$ac_objext
12443 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12444 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
12445 # Insert the option either (1) after the last *FLAGS variable, or
12446 # (2) before a word containing "conftest.", or (3) at the end.
12447 # Note that $ac_compile itself does not contain backslashes and begins
12448 # with a dollar sign (not a hyphen), so the echo should work correctly.
12449 # The option is referenced via a variable to avoid confusing sed.
12450 lt_compile
=`echo "$ac_compile" | $SED \
12451 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12452 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12453 -e 's:$: $lt_compiler_flag:'`
12454 (eval echo "\"\$as_me:12454: $lt_compile\"" >&5)
12455 (eval "$lt_compile" 2>conftest.err
)
12457 cat conftest.err
>&5
12458 echo "$as_me:12458: \$? = $ac_status" >&5
12459 if (exit $ac_status) && test -s "$ac_outfile"; then
12460 # The compiler can only warn and ignore the option if not recognized
12461 # So say no if there are warnings other than the usual output.
12462 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
12463 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12464 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
12465 lt_prog_compiler_pic_works_CXX
=yes
12471 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12472 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
12474 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
12475 case $lt_prog_compiler_pic_CXX in
12477 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
12480 lt_prog_compiler_pic_CXX
=
12481 lt_prog_compiler_can_build_shared_CXX
=no
12486 # For platforms which do not support PIC, -DPIC is meaningless:
12488 lt_prog_compiler_pic_CXX
=
12491 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
12496 # Check to make sure the static flag actually works.
12498 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
12499 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12500 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
12501 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
12502 echo $ECHO_N "(cached) $ECHO_C" >&6
12504 lt_prog_compiler_static_works_CXX
=no
12505 save_LDFLAGS
="$LDFLAGS"
12506 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
12507 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
12508 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12509 # The linker can only warn and ignore the option if not recognized
12510 # So say no if there are warnings
12511 if test -s conftest.err
; then
12512 # Append any errors to the config.log.
12513 cat conftest.err
1>&5
12514 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
12515 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12516 if diff conftest.exp conftest.er2
>/dev
/null
; then
12517 lt_prog_compiler_static_works_CXX
=yes
12520 lt_prog_compiler_static_works_CXX
=yes
12524 LDFLAGS
="$save_LDFLAGS"
12527 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12528 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
12530 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
12533 lt_prog_compiler_static_CXX
=
12537 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12538 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
12539 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12540 echo $ECHO_N "(cached) $ECHO_C" >&6
12542 lt_cv_prog_compiler_c_o_CXX
=no
12543 $rm -r conftest
2>/dev
/null
12547 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12549 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12550 # Insert the option either (1) after the last *FLAGS variable, or
12551 # (2) before a word containing "conftest.", or (3) at the end.
12552 # Note that $ac_compile itself does not contain backslashes and begins
12553 # with a dollar sign (not a hyphen), so the echo should work correctly.
12554 lt_compile
=`echo "$ac_compile" | $SED \
12555 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12556 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12557 -e 's:$: $lt_compiler_flag:'`
12558 (eval echo "\"\$as_me:12558: $lt_compile\"" >&5)
12559 (eval "$lt_compile" 2>out
/conftest.err
)
12561 cat out
/conftest.err
>&5
12562 echo "$as_me:12562: \$? = $ac_status" >&5
12563 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12565 # The compiler can only warn and ignore the option if not recognized
12566 # So say no if there are warnings
12567 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
12568 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12569 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12570 lt_cv_prog_compiler_c_o_CXX
=yes
12575 # SGI C++ compiler will create directory out/ii_files/ for
12576 # template instantiation
12577 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
12578 $rm out
/* && rmdir out
12584 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12585 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
12588 hard_links
="nottested"
12589 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
12590 # do not overwrite the value of need_locks provided by the user
12591 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12592 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
12595 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12597 ln conftest.a conftest.b
2>&5 || hard_links
=no
12598 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12599 { echo "$as_me:$LINENO: result: $hard_links" >&5
12600 echo "${ECHO_T}$hard_links" >&6; }
12601 if test "$hard_links" = no
; then
12602 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12603 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12610 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12611 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12613 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12616 # If we're using GNU nm, then we don't want the "-C" option.
12617 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12618 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
12619 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'
12621 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'
12625 export_symbols_cmds_CXX
="$ltdll_cmds"
12628 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'
12631 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12635 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12636 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12637 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12640 # Do we need to explicitly link libc?
12642 case "x$archive_cmds_need_lc_CXX" in
12644 # Assume -lc should be added
12645 archive_cmds_need_lc_CXX
=yes
12647 if test "$enable_shared" = yes && test "$GCC" = yes; then
12648 case $archive_cmds_CXX in
12650 # FIXME: we may have to deal with multi-command sequences.
12653 # Test whether the compiler implicitly links with -lc since on some
12654 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12655 # to ld, don't add -lc before -lgcc.
12656 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12657 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
12659 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12662 (eval $ac_compile) 2>&5
12664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12665 (exit $ac_status); } 2>conftest.err
; then
12668 libobjs
=conftest.
$ac_objext
12670 wl
=$lt_prog_compiler_wl_CXX
12671 pic_flag
=$lt_prog_compiler_pic_CXX
12677 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
12678 allow_undefined_flag_CXX
=
12679 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
12680 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12683 (exit $ac_status); }
12685 archive_cmds_need_lc_CXX
=no
12687 archive_cmds_need_lc_CXX
=yes
12689 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
12691 cat conftest.err
1>&5
12694 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12695 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
12702 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12703 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
12704 library_names_spec
=
12705 libname_spec
='lib$name'
12709 postuninstall_cmds
=
12713 shlibpath_overrides_runpath
=unknown
12715 dynamic_linker
="$host_os ld.so"
12716 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
12718 need_lib_prefix
=unknown
12719 hardcode_into_libs
=no
12721 # when you set need_version to no, make sure it does not cause -set_version
12722 # flags to be left without arguments
12723 need_version
=unknown
12728 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
12729 shlibpath_var
=LIBPATH
12731 # AIX 3 has no versioning support, so we append a major version to the name.
12732 soname_spec
='${libname}${release}${shared_ext}$major'
12739 hardcode_into_libs
=yes
12740 if test "$host_cpu" = ia64
; then
12741 # AIX 5 supports IA64
12742 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12743 shlibpath_var
=LD_LIBRARY_PATH
12745 # With GCC up to 2.95.x, collect2 would create an import file
12746 # for dependence libraries. The import file would start with
12747 # the line `#! .'. This would cause the generated library to
12748 # depend on `.', always an invalid library. This was fixed in
12749 # development snapshots of GCC prior to 3.0.
12751 aix4 | aix4.
[01] | aix4.
[01].
*)
12752 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12754 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
12757 can_build_shared
=no
12761 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12762 # soname into executable. Probably we can add versioning support to
12763 # collect2, so additional links can be useful in future.
12764 if test "$aix_use_runtimelinking" = yes; then
12765 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12766 # instead of lib<name>.a to let people know that these are not
12767 # typical AIX shared libraries.
12768 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12770 # We preserve .a as extension for shared libraries through AIX4.2
12771 # and later when we are not doing run time linking.
12772 library_names_spec
='${libname}${release}.a $libname.a'
12773 soname_spec
='${libname}${release}${shared_ext}$major'
12775 shlibpath_var
=LIBPATH
12780 library_names_spec
='$libname.ixlibrary $libname.a'
12781 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12782 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'
12786 library_names_spec
='${libname}${shared_ext}'
12787 dynamic_linker
="$host_os ld.so"
12788 shlibpath_var
=LIBRARY_PATH
12794 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12795 soname_spec
='${libname}${release}${shared_ext}$major'
12796 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
12797 shlibpath_var
=LD_LIBRARY_PATH
12798 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12799 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
12800 # the default ld.so.conf also contains /usr/contrib/lib and
12801 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12802 # libtool to hard-code these into programs
12805 cygwin
* | mingw
* | pw32
*)
12806 version_type
=windows
12811 case $GCC,$host_os in
12812 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
12813 library_names_spec
='$libname.dll.a'
12814 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12815 postinstall_cmds
='base_file=`basename \${file}`~
12816 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
12817 dldir=$destdir/`dirname \$dlpath`~
12818 test -d \$dldir || mkdir -p \$dldir~
12819 $install_prog $dir/$dlname \$dldir/$dlname~
12820 chmod a+x \$dldir/$dlname'
12821 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12822 dlpath=$dir/\$dldll~
12824 shlibpath_overrides_runpath
=yes
12828 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12829 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12830 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
12833 # MinGW DLLs use traditional 'lib' prefix
12834 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12835 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12836 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
12837 # It is most probably a Windows format PATH printed by
12838 # mingw gcc, but we are running on Cygwin. Gcc prints its search
12839 # path with ; separators, and with drive letters. We can handle the
12840 # drive letters (cygwin fileutils understands them), so leave them,
12841 # especially as we might pass files found there to a mingw objdump,
12842 # which wouldn't understand a cygwinified path. Ahh.
12843 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12845 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12849 # pw32 DLLs use 'pw' prefix rather than 'lib'
12850 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12856 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12859 dynamic_linker
='Win32 ld.exe'
12860 # FIXME: first we should search . and the directory the executable is in
12864 darwin
* | rhapsody
*)
12865 dynamic_linker
="$host_os dyld"
12866 version_type
=darwin
12869 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12870 soname_spec
='${libname}${release}${major}$shared_ext'
12871 shlibpath_overrides_runpath
=yes
12872 shlibpath_var
=DYLD_LIBRARY_PATH
12873 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
12875 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12882 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12883 soname_spec
='${libname}${release}${shared_ext}$major'
12884 shlibpath_var
=LD_LIBRARY_PATH
12891 freebsd
* | dragonfly
*)
12892 # DragonFly does not have aout. When/if they implement a new
12893 # versioning mechanism, adjust this.
12894 if test -x /usr
/bin
/objformat
; then
12895 objformat
=`/usr/bin/objformat`
12898 freebsd
[123]*) objformat
=aout
;;
12899 *) objformat
=elf
;;
12902 version_type
=freebsd-
$objformat
12903 case $version_type in
12905 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12910 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12914 shlibpath_var
=LD_LIBRARY_PATH
12917 shlibpath_overrides_runpath
=yes
12919 freebsd3.
[01]* | freebsdelf3.
[01]*)
12920 shlibpath_overrides_runpath
=yes
12921 hardcode_into_libs
=yes
12923 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12924 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12925 shlibpath_overrides_runpath
=no
12926 hardcode_into_libs
=yes
12928 *) # from 4.6 on, and DragonFly
12929 shlibpath_overrides_runpath
=yes
12930 hardcode_into_libs
=yes
12939 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12940 soname_spec
='${libname}${release}${shared_ext}$major'
12941 shlibpath_var
=LD_LIBRARY_PATH
12942 hardcode_into_libs
=yes
12945 hpux9
* | hpux10
* | hpux11
*)
12946 # Give a soname corresponding to the major version so that dld.sl refuses to
12947 # link against other versions.
12954 hardcode_into_libs
=yes
12955 dynamic_linker
="$host_os dld.so"
12956 shlibpath_var
=LD_LIBRARY_PATH
12957 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12958 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12959 soname_spec
='${libname}${release}${shared_ext}$major'
12960 if test "X$HPUX_IA64_MODE" = X32
; then
12961 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12963 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12965 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12969 hardcode_into_libs
=yes
12970 dynamic_linker
="$host_os dld.sl"
12971 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12972 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12973 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12974 soname_spec
='${libname}${release}${shared_ext}$major'
12975 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12976 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12980 dynamic_linker
="$host_os dld.sl"
12981 shlibpath_var
=SHLIB_PATH
12982 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12983 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12984 soname_spec
='${libname}${release}${shared_ext}$major'
12987 # HP-UX runs *really* slowly unless shared libraries are mode 555.
12988 postinstall_cmds
='chmod 555 $lib'
12995 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12996 soname_spec
='${libname}${release}${shared_ext}$major'
12997 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12998 shlibpath_var
=LD_LIBRARY_PATH
12999 shlibpath_overrides_runpath
=no
13000 hardcode_into_libs
=yes
13003 irix5
* | irix6
* | nonstopux
*)
13005 nonstopux
*) version_type
=nonstopux
;;
13007 if test "$lt_cv_prog_gnu_ld" = yes; then
13015 soname_spec
='${libname}${release}${shared_ext}$major'
13016 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13018 irix5
* | nonstopux
*)
13019 libsuff
= shlibsuff
=
13022 case $LD in # libtool.m4 will add one of these switches to LD
13023 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
13024 libsuff
= shlibsuff
= libmagic
=32-bit;;
13025 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
13026 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13027 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
13028 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
13029 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
13033 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
13034 shlibpath_overrides_runpath
=no
13035 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13036 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13037 hardcode_into_libs
=yes
13040 # No shared lib support for Linux oldld, aout, or coff.
13041 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
13045 # This must be Linux ELF.
13046 linux
* | k
*bsd
*-gnu)
13050 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13051 soname_spec
='${libname}${release}${shared_ext}$major'
13052 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13053 shlibpath_var
=LD_LIBRARY_PATH
13054 shlibpath_overrides_runpath
=no
13055 # This implies no fast_install, which is unacceptable.
13056 # Some rework will be needed to allow for fast_install
13057 # before this can be enabled.
13058 hardcode_into_libs
=yes
13059 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13060 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13062 # Append ld.so.conf contents to the search path
13063 if test -f /etc
/ld.so.conf
; then
13064 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
13065 sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec $lt_ld_extra"
13068 # We used to test for /lib/ld.so.1 and disable shared libraries on
13069 # powerpc, because MkLinux only supported shared libraries with the
13070 # GNU dynamic linker. Since this was broken with cross compilers,
13071 # most powerpc-linux boxes support dynamic linking these days and
13072 # people can always --disable-shared, the test was removed, and we
13073 # assume the GNU/Linux dynamic linker is in use.
13074 dynamic_linker
='GNU/Linux ld.so'
13081 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
13082 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13083 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13084 dynamic_linker
='NetBSD (a.out) ld.so'
13086 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13087 soname_spec
='${libname}${release}${shared_ext}$major'
13088 dynamic_linker
='NetBSD ld.elf_so'
13090 shlibpath_var
=LD_LIBRARY_PATH
13091 shlibpath_overrides_runpath
=yes
13092 hardcode_into_libs
=yes
13097 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13098 shlibpath_var
=LD_LIBRARY_PATH
13099 shlibpath_overrides_runpath
=yes
13106 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13107 soname_spec
='${libname}${release}${shared_ext}$major'
13108 shlibpath_var
=LD_LIBRARY_PATH
13109 shlibpath_overrides_runpath
=yes
13114 sys_lib_dlsearch_path_spec
="/usr/lib"
13116 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13118 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
13119 *) need_version
=no
;;
13121 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13122 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13123 shlibpath_var
=LD_LIBRARY_PATH
13124 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13126 openbsd2.
[89] | openbsd2.
[89].
*)
13127 shlibpath_overrides_runpath
=no
13130 shlibpath_overrides_runpath
=yes
13134 shlibpath_overrides_runpath
=yes
13139 libname_spec
='$name'
13142 library_names_spec
='$libname${shared_ext} $libname.a'
13143 dynamic_linker
='OS/2 ld.exe'
13144 shlibpath_var
=LIBPATH
13147 osf3
* | osf4
* | osf5
*)
13151 soname_spec
='${libname}${release}${shared_ext}$major'
13152 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13153 shlibpath_var
=LD_LIBRARY_PATH
13154 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13155 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
13166 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13167 soname_spec
='${libname}${release}${shared_ext}$major'
13168 shlibpath_var
=LD_LIBRARY_PATH
13169 shlibpath_overrides_runpath
=yes
13170 hardcode_into_libs
=yes
13171 # ldd complains unless libraries are executable
13172 postinstall_cmds
='chmod +x $lib'
13177 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13178 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13179 shlibpath_var
=LD_LIBRARY_PATH
13180 shlibpath_overrides_runpath
=yes
13181 if test "$with_gnu_ld" = yes; then
13189 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13190 soname_spec
='${libname}${release}${shared_ext}$major'
13191 shlibpath_var
=LD_LIBRARY_PATH
13192 case $host_vendor in
13194 shlibpath_overrides_runpath
=no
13196 export_dynamic_flag_spec
='${wl}-Blargedynsym'
13197 runpath_var
=LD_RUN_PATH
13205 shlibpath_overrides_runpath
=no
13206 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13212 if test -d /usr
/nec
;then
13214 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13215 soname_spec
='$libname${shared_ext}.$major'
13216 shlibpath_var
=LD_LIBRARY_PATH
13220 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
13221 version_type
=freebsd-elf
13224 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13225 soname_spec
='${libname}${release}${shared_ext}$major'
13226 shlibpath_var
=LD_LIBRARY_PATH
13227 hardcode_into_libs
=yes
13228 if test "$with_gnu_ld" = yes; then
13229 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13230 shlibpath_overrides_runpath
=no
13232 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
13233 shlibpath_overrides_runpath
=yes
13236 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
13240 sys_lib_dlsearch_path_spec
='/usr/lib'
13245 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13246 soname_spec
='${libname}${release}${shared_ext}$major'
13247 shlibpath_var
=LD_LIBRARY_PATH
13254 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13255 echo "${ECHO_T}$dynamic_linker" >&6; }
13256 test "$dynamic_linker" = no
&& can_build_shared
=no
13258 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
13259 if test "$GCC" = yes; then
13260 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13263 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13264 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
13265 hardcode_action_CXX
=
13266 if test -n "$hardcode_libdir_flag_spec_CXX" || \
13267 test -n "$runpath_var_CXX" || \
13268 test "X$hardcode_automatic_CXX" = "Xyes" ; then
13270 # We can hardcode non-existant directories.
13271 if test "$hardcode_direct_CXX" != no
&&
13272 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13273 # have to relink, otherwise we might link with an installed library
13274 # when we should be linking with a yet-to-be-installed one
13275 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13276 test "$hardcode_minus_L_CXX" != no
; then
13277 # Linking always hardcodes the temporary library directory.
13278 hardcode_action_CXX
=relink
13280 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13281 hardcode_action_CXX
=immediate
13284 # We cannot hardcode anything, or else we can only hardcode existing
13286 hardcode_action_CXX
=unsupported
13288 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13289 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
13291 if test "$hardcode_action_CXX" = relink
; then
13292 # Fast installation is not supported
13293 enable_fast_install
=no
13294 elif test "$shlibpath_overrides_runpath" = yes ||
13295 test "$enable_shared" = no
; then
13296 # Fast installation is not necessary
13297 enable_fast_install
=needless
13301 # The else clause should only fire when bootstrapping the
13302 # libtool distribution, otherwise you forgot to ship ltmain.sh
13303 # with your package, and you will get complaints that there are
13304 # no rules to generate ltmain.sh.
13305 if test -f "$ltmain"; then
13306 # See if we are running on zsh, and set the options which allow our commands through
13307 # without removal of \ escapes.
13308 if test -n "${ZSH_VERSION+set}" ; then
13309 setopt NO_GLOB_SUBST
13311 # Now quote all the things that may contain metacharacters while being
13312 # careful not to overquote the AC_SUBSTed values. We take copies of the
13313 # variables and quote the copies for generation of the libtool script.
13314 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13316 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13317 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13318 deplibs_check_method reload_flag reload_cmds need_locks \
13319 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13320 lt_cv_sys_global_symbol_to_c_name_address \
13321 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13322 old_postinstall_cmds old_postuninstall_cmds \
13326 lt_prog_compiler_wl_CXX \
13327 lt_prog_compiler_pic_CXX \
13328 lt_prog_compiler_static_CXX \
13329 lt_prog_compiler_no_builtin_flag_CXX \
13330 export_dynamic_flag_spec_CXX \
13331 thread_safe_flag_spec_CXX \
13332 whole_archive_flag_spec_CXX \
13333 enable_shared_with_static_runtimes_CXX \
13334 old_archive_cmds_CXX \
13335 old_archive_from_new_cmds_CXX \
13336 predep_objects_CXX \
13337 postdep_objects_CXX \
13340 compiler_lib_search_path_CXX \
13342 archive_expsym_cmds_CXX \
13343 postinstall_cmds_CXX \
13344 postuninstall_cmds_CXX \
13345 old_archive_from_expsyms_cmds_CXX \
13346 allow_undefined_flag_CXX \
13347 no_undefined_flag_CXX \
13348 export_symbols_cmds_CXX \
13349 hardcode_libdir_flag_spec_CXX \
13350 hardcode_libdir_flag_spec_ld_CXX \
13351 hardcode_libdir_separator_CXX \
13352 hardcode_automatic_CXX \
13354 module_expsym_cmds_CXX \
13355 lt_cv_prog_compiler_c_o_CXX \
13356 fix_srcfile_path_CXX \
13357 exclude_expsyms_CXX \
13358 include_expsyms_CXX
; do
13361 old_archive_cmds_CXX | \
13362 old_archive_from_new_cmds_CXX | \
13363 archive_cmds_CXX | \
13364 archive_expsym_cmds_CXX | \
13365 module_cmds_CXX | \
13366 module_expsym_cmds_CXX | \
13367 old_archive_from_expsyms_cmds_CXX | \
13368 export_symbols_cmds_CXX | \
13369 extract_expsyms_cmds | reload_cmds | finish_cmds | \
13370 postinstall_cmds | postuninstall_cmds | \
13371 old_postinstall_cmds | old_postuninstall_cmds | \
13372 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
13373 # Double-quote double-evaled strings.
13374 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13377 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13383 *'\$0 --fallback-echo"')
13384 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13390 cat <<__EOF__ >> "$cfgfile"
13391 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
13393 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13395 # Shell to use when invoking shell scripts.
13398 # Whether or not to build shared libraries.
13399 build_libtool_libs=$enable_shared
13401 # Whether or not to build static libraries.
13402 build_old_libs=$enable_static
13404 # Whether or not to add -lc for building shared libraries.
13405 build_libtool_need_lc=$archive_cmds_need_lc_CXX
13407 # Whether or not to disallow shared libs when runtime libs are static
13408 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13410 # Whether or not to optimize for fast installation.
13411 fast_install=$enable_fast_install
13414 host_alias=$host_alias
13418 # The build system.
13419 build_alias=$build_alias
13423 # An echo program that does not interpret backslashes.
13428 AR_FLAGS=$lt_AR_FLAGS
13433 # LTCC compiler flags.
13434 LTCFLAGS=$lt_LTCFLAGS
13436 # A language-specific compiler.
13437 CC=$lt_compiler_CXX
13439 # Is the compiler the GNU C compiler?
13445 # The linker used to build libraries.
13448 # Whether we need hard or soft links.
13451 # A BSD-compatible nm program.
13454 # A symbol stripping program
13457 # Used to examine libraries when file_magic_cmd begins "file"
13458 MAGIC_CMD=$MAGIC_CMD
13460 # Used on cygwin: DLL creation program.
13463 # Used on cygwin: object dumper.
13466 # Used on cygwin: assembler.
13469 # The name of the directory that contains temporary libtool files.
13472 # How to create reloadable object files.
13473 reload_flag=$lt_reload_flag
13474 reload_cmds=$lt_reload_cmds
13476 # How to pass a linker flag through the compiler.
13477 wl=$lt_lt_prog_compiler_wl_CXX
13479 # Object file suffix (normally "o").
13480 objext="$ac_objext"
13482 # Old archive suffix (normally "a").
13485 # Shared library suffix (normally ".so").
13486 shrext_cmds='$shrext_cmds'
13488 # Executable file suffix (normally "").
13491 # Additional compiler flags for building library objects.
13492 pic_flag=$lt_lt_prog_compiler_pic_CXX
13495 # What is the maximum length of a command?
13496 max_cmd_len=$lt_cv_sys_max_cmd_len
13498 # Does compiler simultaneously support -c and -o options?
13499 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13501 # Must we lock files when doing compilation?
13502 need_locks=$lt_need_locks
13504 # Do we need the lib prefix for modules?
13505 need_lib_prefix=$need_lib_prefix
13507 # Do we need a version for libraries?
13508 need_version=$need_version
13510 # Whether dlopen is supported.
13511 dlopen_support=$enable_dlopen
13513 # Whether dlopen of programs is supported.
13514 dlopen_self=$enable_dlopen_self
13516 # Whether dlopen of statically linked programs is supported.
13517 dlopen_self_static=$enable_dlopen_self_static
13519 # Compiler flag to prevent dynamic linking.
13520 link_static_flag=$lt_lt_prog_compiler_static_CXX
13522 # Compiler flag to turn off builtin functions.
13523 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13525 # Compiler flag to allow reflexive dlopens.
13526 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13528 # Compiler flag to generate shared objects directly from archives.
13529 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13531 # Compiler flag to generate thread-safe objects.
13532 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13534 # Library versioning type.
13535 version_type=$version_type
13537 # Format of library name prefix.
13538 libname_spec=$lt_libname_spec
13540 # List of archive names. First name is the real one, the rest are links.
13541 # The last name is the one that the linker finds with -lNAME.
13542 library_names_spec=$lt_library_names_spec
13544 # The coded name of the library, if different from the real name.
13545 soname_spec=$lt_soname_spec
13547 # Commands used to build and install an old-style archive.
13549 old_archive_cmds=$lt_old_archive_cmds_CXX
13550 old_postinstall_cmds=$lt_old_postinstall_cmds
13551 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13553 # Create an old-style archive from a shared archive.
13554 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13556 # Create a temporary old-style archive to link instead of a shared archive.
13557 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13559 # Commands used to build and install a shared archive.
13560 archive_cmds=$lt_archive_cmds_CXX
13561 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13562 postinstall_cmds=$lt_postinstall_cmds
13563 postuninstall_cmds=$lt_postuninstall_cmds
13565 # Commands used to build a loadable module (assumed same as above if empty)
13566 module_cmds=$lt_module_cmds_CXX
13567 module_expsym_cmds=$lt_module_expsym_cmds_CXX
13569 # Commands to strip libraries.
13570 old_striplib=$lt_old_striplib
13571 striplib=$lt_striplib
13573 # Dependencies to place before the objects being linked to create a
13575 predep_objects=$lt_predep_objects_CXX
13577 # Dependencies to place after the objects being linked to create a
13579 postdep_objects=$lt_postdep_objects_CXX
13581 # Dependencies to place before the objects being linked to create a
13583 predeps=$lt_predeps_CXX
13585 # Dependencies to place after the objects being linked to create a
13587 postdeps=$lt_postdeps_CXX
13589 # The library search path used internally by the compiler when linking
13590 # a shared library.
13591 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13593 # Method to check whether dependent libraries are shared objects.
13594 deplibs_check_method=$lt_deplibs_check_method
13596 # Command to use when deplibs_check_method == file_magic.
13597 file_magic_cmd=$lt_file_magic_cmd
13599 # Flag that allows shared libraries with undefined symbols to be built.
13600 allow_undefined_flag=$lt_allow_undefined_flag_CXX
13602 # Flag that forces no undefined symbols.
13603 no_undefined_flag=$lt_no_undefined_flag_CXX
13605 # Commands used to finish a libtool library installation in a directory.
13606 finish_cmds=$lt_finish_cmds
13608 # Same as above, but a single script fragment to be evaled but not shown.
13609 finish_eval=$lt_finish_eval
13611 # Take the output of nm and produce a listing of raw symbols and C names.
13612 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13614 # Transform the output of nm in a proper C declaration
13615 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13617 # Transform the output of nm in a C name address pair
13618 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13620 # This is the shared library runtime path variable.
13621 runpath_var=$runpath_var
13623 # This is the shared library path variable.
13624 shlibpath_var=$shlibpath_var
13626 # Is shlibpath searched before the hard-coded library search path?
13627 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13629 # How to hardcode a shared library path into an executable.
13630 hardcode_action=$hardcode_action_CXX
13632 # Whether we should hardcode library paths into libraries.
13633 hardcode_into_libs=$hardcode_into_libs
13635 # Flag to hardcode \$libdir into a binary during linking.
13636 # This must work even if \$libdir does not exist.
13637 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
13639 # If ld is used when linking, flag to hardcode \$libdir into
13640 # a binary during linking. This must work even if \$libdir does
13642 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
13644 # Whether we need a single -rpath flag with a separated argument.
13645 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
13647 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13648 # resulting binary.
13649 hardcode_direct=$hardcode_direct_CXX
13651 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13652 # resulting binary.
13653 hardcode_minus_L=$hardcode_minus_L_CXX
13655 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13656 # the resulting binary.
13657 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
13659 # Set to yes if building a shared library automatically hardcodes DIR into the library
13660 # and all subsequent libraries and executables linked against it.
13661 hardcode_automatic=$hardcode_automatic_CXX
13663 # Variables whose values should be saved in libtool wrapper scripts and
13664 # restored at relink time.
13665 variables_saved_for_relink="$variables_saved_for_relink"
13667 # Whether libtool must link a program against all its dependency libraries.
13668 link_all_deplibs=$link_all_deplibs_CXX
13670 # Compile-time system search path for libraries
13671 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13673 # Run-time system search path for libraries
13674 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13676 # Fix the shell variable \$srcfile for the compiler.
13677 fix_srcfile_path=$lt_fix_srcfile_path
13679 # Set to yes if exported symbols are required.
13680 always_export_symbols=$always_export_symbols_CXX
13682 # The commands to list exported symbols.
13683 export_symbols_cmds=$lt_export_symbols_cmds_CXX
13685 # The commands to extract the exported symbol list from a shared archive.
13686 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13688 # Symbols that should not be listed in the preloaded symbols.
13689 exclude_expsyms=$lt_exclude_expsyms_CXX
13691 # Symbols that must always be exported.
13692 include_expsyms=$lt_include_expsyms_CXX
13694 # ### END LIBTOOL TAG CONFIG: $tagname
13700 # If there is no Makefile yet, we rely on a make rule to execute
13701 # `config.status --recheck' to rerun these tests and create the
13702 # libtool script then.
13703 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
13704 if test -f "$ltmain_in"; then
13705 test -f Makefile
&& make "$ltmain"
13711 ac_cpp
='$CPP $CPPFLAGS'
13712 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13713 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13714 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13720 with_gnu_ldcxx
=$with_gnu_ld
13721 with_gnu_ld
=$lt_save_with_gnu_ld
13722 lt_cv_path_LDCXX
=$lt_cv_path_LD
13723 lt_cv_path_LD
=$lt_save_path_LD
13724 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
13725 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
13733 if test -n "$F77" && test "X$F77" != "Xno"; then
13736 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
13737 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13738 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
13741 archive_cmds_need_lc_F77
=no
13742 allow_undefined_flag_F77
=
13743 always_export_symbols_F77
=no
13744 archive_expsym_cmds_F77
=
13745 export_dynamic_flag_spec_F77
=
13746 hardcode_direct_F77
=no
13747 hardcode_libdir_flag_spec_F77
=
13748 hardcode_libdir_flag_spec_ld_F77
=
13749 hardcode_libdir_separator_F77
=
13750 hardcode_minus_L_F77
=no
13751 hardcode_automatic_F77
=no
13753 module_expsym_cmds_F77
=
13754 link_all_deplibs_F77
=unknown
13755 old_archive_cmds_F77
=$old_archive_cmds
13756 no_undefined_flag_F77
=
13757 whole_archive_flag_spec_F77
=
13758 enable_shared_with_static_runtimes_F77
=no
13760 # Source file extension for f77 test sources.
13763 # Object file extension for compiled f77 test sources.
13767 # Code to be used in simple compile tests
13768 lt_simple_compile_test_code
="\
13774 # Code to be used in simple link tests
13775 lt_simple_link_test_code
="\
13780 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13782 # If no C compiler was specified, use CC.
13785 # If no C compiler flags were specified, use CFLAGS.
13786 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13788 # Allow CC to be a program name with arguments.
13792 # save warnings/boilerplate of simple test code
13793 ac_outfile
=conftest.
$ac_objext
13794 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13795 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13796 _lt_compiler_boilerplate
=`cat conftest.err`
13799 ac_outfile
=conftest.
$ac_objext
13800 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13801 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13802 _lt_linker_boilerplate
=`cat conftest.err`
13806 # Allow CC to be a program name with arguments.
13811 for cc_temp
in $compiler""; do
13813 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13814 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13819 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13822 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13823 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
13824 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
13825 echo "${ECHO_T}$can_build_shared" >&6; }
13827 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13828 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
13829 test "$can_build_shared" = "no" && enable_shared
=no
13831 # On AIX, shared libraries and static libraries use the same namespace, and
13832 # are all built from PIC.
13835 test "$enable_shared" = yes && enable_static
=no
13836 if test -n "$RANLIB"; then
13837 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13838 postinstall_cmds
='$RANLIB $lib'
13842 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13843 test "$enable_shared" = yes && enable_static
=no
13847 { echo "$as_me:$LINENO: result: $enable_shared" >&5
13848 echo "${ECHO_T}$enable_shared" >&6; }
13850 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13851 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
13852 # Make sure either enable_shared or enable_static is yes.
13853 test "$enable_shared" = yes || enable_static
=yes
13854 { echo "$as_me:$LINENO: result: $enable_static" >&5
13855 echo "${ECHO_T}$enable_static" >&6; }
13860 lt_prog_compiler_wl_F77
=
13861 lt_prog_compiler_pic_F77
=
13862 lt_prog_compiler_static_F77
=
13864 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13865 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
13867 if test "$GCC" = yes; then
13868 lt_prog_compiler_wl_F77
='-Wl,'
13869 lt_prog_compiler_static_F77
='-static'
13873 # All AIX code is PIC.
13874 if test "$host_cpu" = ia64
; then
13875 # AIX 5 now supports IA64 processor
13876 lt_prog_compiler_static_F77
='-Bstatic'
13881 # FIXME: we need at least 68020 code to build shared libraries, but
13882 # adding the `-m68020' flag to GCC prevents building anything better,
13884 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
13887 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13888 # PIC is the default for these OSes.
13891 mingw
* | cygwin
* | pw32
* | os2
*)
13892 # This hack is so that the source file can tell whether it is being
13893 # built for inclusion in a dll (and should export symbols for example).
13894 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13895 # (--disable-auto-import) libraries
13896 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13899 darwin
* | rhapsody
*)
13900 # PIC is the default on this platform
13901 # Common symbols not allowed in MH_DYLIB files
13902 lt_prog_compiler_pic_F77
='-fno-common'
13906 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13907 # Instead, we relocate shared libraries at runtime.
13911 # Just because we use GCC doesn't mean we suddenly get shared libraries
13912 # on systems that don't support them.
13913 lt_prog_compiler_can_build_shared_F77
=no
13918 if test -d /usr
/nec
; then
13919 lt_prog_compiler_pic_F77
=-Kconform_pic
13924 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13925 # not for PA HP-UX.
13931 lt_prog_compiler_pic_F77
='-fPIC'
13937 lt_prog_compiler_pic_F77
='-fPIC'
13941 # PORTME Check for flag to pass linker flags through the system compiler.
13944 lt_prog_compiler_wl_F77
='-Wl,'
13945 if test "$host_cpu" = ia64
; then
13946 # AIX 5 now supports IA64 processor
13947 lt_prog_compiler_static_F77
='-Bstatic'
13949 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
13953 # PIC is the default on this platform
13954 # Common symbols not allowed in MH_DYLIB files
13955 case $cc_basename in
13957 lt_prog_compiler_pic_F77
='-qnocommon'
13958 lt_prog_compiler_wl_F77
='-Wl,'
13963 mingw
* | cygwin
* | pw32
* | os2
*)
13964 # This hack is so that the source file can tell whether it is being
13965 # built for inclusion in a dll (and should export symbols for example).
13966 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13969 hpux9
* | hpux10
* | hpux11
*)
13970 lt_prog_compiler_wl_F77
='-Wl,'
13971 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13972 # not for PA HP-UX.
13978 lt_prog_compiler_pic_F77
='+Z'
13981 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13982 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
13985 irix5
* | irix6
* | nonstopux
*)
13986 lt_prog_compiler_wl_F77
='-Wl,'
13987 # PIC (with -KPIC) is the default.
13988 lt_prog_compiler_static_F77
='-non_shared'
13992 lt_prog_compiler_pic_F77
='-KPIC'
13993 lt_prog_compiler_static_F77
='-Bstatic'
13996 linux
* | k
*bsd
*-gnu)
13997 case $cc_basename in
13999 lt_prog_compiler_wl_F77
='-Wl,'
14000 lt_prog_compiler_pic_F77
='-KPIC'
14001 lt_prog_compiler_static_F77
='-static'
14003 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
14004 # Portland Group compilers (*not* the Pentium gcc compiler,
14005 # which looks to be a dead project)
14006 lt_prog_compiler_wl_F77
='-Wl,'
14007 lt_prog_compiler_pic_F77
='-fpic'
14008 lt_prog_compiler_static_F77
='-Bstatic'
14011 lt_prog_compiler_wl_F77
='-Wl,'
14012 # All Alpha code is PIC.
14013 lt_prog_compiler_static_F77
='-non_shared'
14016 case `$CC -V 2>&1 | sed 5q` in
14019 lt_prog_compiler_pic_F77
='-KPIC'
14020 lt_prog_compiler_static_F77
='-Bstatic'
14021 lt_prog_compiler_wl_F77
='-Wl,'
14024 # Sun Fortran 8.3 passes all unrecognized flags to the linker
14025 lt_prog_compiler_pic_F77
='-KPIC'
14026 lt_prog_compiler_static_F77
='-Bstatic'
14027 lt_prog_compiler_wl_F77
=''
14034 osf3
* | osf4
* | osf5
*)
14035 lt_prog_compiler_wl_F77
='-Wl,'
14036 # All OSF/1 code is PIC.
14037 lt_prog_compiler_static_F77
='-non_shared'
14041 lt_prog_compiler_static_F77
='-non_shared'
14045 lt_prog_compiler_pic_F77
='-KPIC'
14046 lt_prog_compiler_static_F77
='-Bstatic'
14047 case $cc_basename in
14048 f77
* | f90
* | f95
*)
14049 lt_prog_compiler_wl_F77
='-Qoption ld ';;
14051 lt_prog_compiler_wl_F77
='-Wl,';;
14056 lt_prog_compiler_wl_F77
='-Qoption ld '
14057 lt_prog_compiler_pic_F77
='-PIC'
14058 lt_prog_compiler_static_F77
='-Bstatic'
14061 sysv4 | sysv4.2uw2
* | sysv4.3
*)
14062 lt_prog_compiler_wl_F77
='-Wl,'
14063 lt_prog_compiler_pic_F77
='-KPIC'
14064 lt_prog_compiler_static_F77
='-Bstatic'
14068 if test -d /usr
/nec
;then
14069 lt_prog_compiler_pic_F77
='-Kconform_pic'
14070 lt_prog_compiler_static_F77
='-Bstatic'
14074 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14075 lt_prog_compiler_wl_F77
='-Wl,'
14076 lt_prog_compiler_pic_F77
='-KPIC'
14077 lt_prog_compiler_static_F77
='-Bstatic'
14081 lt_prog_compiler_wl_F77
='-Wl,'
14082 lt_prog_compiler_can_build_shared_F77
=no
14086 lt_prog_compiler_pic_F77
='-pic'
14087 lt_prog_compiler_static_F77
='-Bstatic'
14091 lt_prog_compiler_can_build_shared_F77
=no
14096 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
14097 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
14100 # Check to make sure the PIC flag actually works.
14102 if test -n "$lt_prog_compiler_pic_F77"; then
14104 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
14105 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
14106 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
14107 echo $ECHO_N "(cached) $ECHO_C" >&6
14109 lt_prog_compiler_pic_works_F77
=no
14110 ac_outfile
=conftest.
$ac_objext
14111 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14112 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
14113 # Insert the option either (1) after the last *FLAGS variable, or
14114 # (2) before a word containing "conftest.", or (3) at the end.
14115 # Note that $ac_compile itself does not contain backslashes and begins
14116 # with a dollar sign (not a hyphen), so the echo should work correctly.
14117 # The option is referenced via a variable to avoid confusing sed.
14118 lt_compile
=`echo "$ac_compile" | $SED \
14119 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14120 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14121 -e 's:$: $lt_compiler_flag:'`
14122 (eval echo "\"\$as_me:14122: $lt_compile\"" >&5)
14123 (eval "$lt_compile" 2>conftest.err
)
14125 cat conftest.err
>&5
14126 echo "$as_me:14126: \$? = $ac_status" >&5
14127 if (exit $ac_status) && test -s "$ac_outfile"; then
14128 # The compiler can only warn and ignore the option if not recognized
14129 # So say no if there are warnings other than the usual output.
14130 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
14131 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14132 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14133 lt_prog_compiler_pic_works_F77
=yes
14139 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
14140 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
14142 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
14143 case $lt_prog_compiler_pic_F77 in
14145 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
14148 lt_prog_compiler_pic_F77
=
14149 lt_prog_compiler_can_build_shared_F77
=no
14154 # For platforms which do not support PIC, -DPIC is meaningless:
14156 lt_prog_compiler_pic_F77
=
14159 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
14164 # Check to make sure the static flag actually works.
14166 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
14167 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14168 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14169 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
14170 echo $ECHO_N "(cached) $ECHO_C" >&6
14172 lt_prog_compiler_static_works_F77
=no
14173 save_LDFLAGS
="$LDFLAGS"
14174 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14175 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14176 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14177 # The linker can only warn and ignore the option if not recognized
14178 # So say no if there are warnings
14179 if test -s conftest.err
; then
14180 # Append any errors to the config.log.
14181 cat conftest.err
1>&5
14182 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
14183 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14184 if diff conftest.exp conftest.er2
>/dev
/null
; then
14185 lt_prog_compiler_static_works_F77
=yes
14188 lt_prog_compiler_static_works_F77
=yes
14192 LDFLAGS
="$save_LDFLAGS"
14195 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
14196 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
14198 if test x
"$lt_prog_compiler_static_works_F77" = xyes
; then
14201 lt_prog_compiler_static_F77
=
14205 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14206 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14207 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14208 echo $ECHO_N "(cached) $ECHO_C" >&6
14210 lt_cv_prog_compiler_c_o_F77
=no
14211 $rm -r conftest
2>/dev
/null
14215 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14217 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14218 # Insert the option either (1) after the last *FLAGS variable, or
14219 # (2) before a word containing "conftest.", or (3) at the end.
14220 # Note that $ac_compile itself does not contain backslashes and begins
14221 # with a dollar sign (not a hyphen), so the echo should work correctly.
14222 lt_compile
=`echo "$ac_compile" | $SED \
14223 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14224 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14225 -e 's:$: $lt_compiler_flag:'`
14226 (eval echo "\"\$as_me:14226: $lt_compile\"" >&5)
14227 (eval "$lt_compile" 2>out
/conftest.err
)
14229 cat out
/conftest.err
>&5
14230 echo "$as_me:14230: \$? = $ac_status" >&5
14231 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14233 # The compiler can only warn and ignore the option if not recognized
14234 # So say no if there are warnings
14235 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
14236 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14237 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14238 lt_cv_prog_compiler_c_o_F77
=yes
14243 # SGI C++ compiler will create directory out/ii_files/ for
14244 # template instantiation
14245 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
14246 $rm out
/* && rmdir out
14252 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14253 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
14256 hard_links
="nottested"
14257 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
14258 # do not overwrite the value of need_locks provided by the user
14259 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14260 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14263 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14265 ln conftest.a conftest.b
2>&5 || hard_links
=no
14266 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14267 { echo "$as_me:$LINENO: result: $hard_links" >&5
14268 echo "${ECHO_T}$hard_links" >&6; }
14269 if test "$hard_links" = no
; then
14270 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14271 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14278 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14279 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14282 allow_undefined_flag_F77
=
14283 enable_shared_with_static_runtimes_F77
=no
14285 archive_expsym_cmds_F77
=
14286 old_archive_From_new_cmds_F77
=
14287 old_archive_from_expsyms_cmds_F77
=
14288 export_dynamic_flag_spec_F77
=
14289 whole_archive_flag_spec_F77
=
14290 thread_safe_flag_spec_F77
=
14291 hardcode_libdir_flag_spec_F77
=
14292 hardcode_libdir_flag_spec_ld_F77
=
14293 hardcode_libdir_separator_F77
=
14294 hardcode_direct_F77
=no
14295 hardcode_minus_L_F77
=no
14296 hardcode_shlibpath_var_F77
=unsupported
14297 link_all_deplibs_F77
=unknown
14298 hardcode_automatic_F77
=no
14300 module_expsym_cmds_F77
=
14301 always_export_symbols_F77
=no
14302 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14303 # include_expsyms should be a list of space-separated symbols to be *always*
14304 # included in the symbol list
14305 include_expsyms_F77
=
14306 # exclude_expsyms can be an extended regexp of symbols to exclude
14307 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14308 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14309 # as well as any symbol that contains `d'.
14310 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
14311 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14312 # platforms (ab)use it in PIC code, but their linkers get confused if
14313 # the symbol is explicitly referenced. Since portable code cannot
14314 # rely on this symbol name, it's probably fine to never include it in
14315 # preloaded symbol tables.
14316 extract_expsyms_cmds
=
14317 # Just being paranoid about ensuring that cc_basename is set.
14318 for cc_temp
in $compiler""; do
14320 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
14321 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
14326 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14329 cygwin
* | mingw
* | pw32
*)
14330 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14331 # When not using gcc, we currently assume that we are using
14332 # Microsoft Visual C++.
14333 if test "$GCC" != yes; then
14338 # we just hope/assume this is gcc and not c89 (= MSVC++)
14347 if test "$with_gnu_ld" = yes; then
14348 # If archive_cmds runs LD, not CC, wlarc should be empty
14351 # Set some defaults for GNU ld with shared library support. These
14352 # are reset later if shared libraries are not supported. Putting them
14353 # here allows them to be overridden if necessary.
14354 runpath_var
=LD_RUN_PATH
14355 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
14356 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
14357 # ancient GNU ld didn't support --whole-archive et. al.
14358 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
14359 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14361 whole_archive_flag_spec_F77
=
14363 supports_anon_versioning
=no
14364 case `$LD -v 2>/dev/null` in
14365 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
14366 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
14367 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
14368 *\
2.11.
*) ;; # other 2.11 versions
14369 *) supports_anon_versioning
=yes ;;
14372 # See if GNU ld supports shared libraries.
14374 aix3
* | aix4
* | aix5
*)
14375 # On AIX/PPC, the GNU linker is very broken
14376 if test "$host_cpu" != ia64
; then
14380 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
14381 *** to be unable to reliably create shared libraries on AIX.
14382 *** Therefore, libtool is disabling shared libraries support. If you
14383 *** really care for shared libraries, you may want to modify your PATH
14384 *** so that a non-GNU linker is found, and then restart.
14391 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)'
14392 hardcode_libdir_flag_spec_F77
='-L$libdir'
14393 hardcode_minus_L_F77
=yes
14395 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14396 # that the semantics of dynamic libraries on AmigaOS, at least up
14397 # to version 4, is to share data among multiple programs linked
14398 # with the same dynamic library. Since this doesn't match the
14399 # behavior of shared libraries on other platforms, we can't use
14405 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14406 allow_undefined_flag_F77
=unsupported
14407 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14408 # support --undefined. This deserves some investigation. FIXME
14409 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14415 cygwin
* | mingw
* | pw32
*)
14416 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
14417 # as there is no search path for DLLs.
14418 hardcode_libdir_flag_spec_F77
='-L$libdir'
14419 allow_undefined_flag_F77
=unsupported
14420 always_export_symbols_F77
=no
14421 enable_shared_with_static_runtimes_F77
=yes
14422 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14424 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
14425 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14426 # If the export-symbols file already is a .def file (1st line
14427 # is EXPORTS), use it as is; otherwise, prepend...
14428 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14429 cp $export_symbols $output_objdir/$soname.def;
14431 echo EXPORTS > $output_objdir/$soname.def;
14432 cat $export_symbols >> $output_objdir/$soname.def;
14434 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14441 hardcode_direct_F77
=no
14442 hardcode_shlibpath_var_F77
=no
14443 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14444 export_dynamic_flag_spec_F77
='${wl}-E'
14445 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14446 # Instead, shared libraries are loaded at an image base (0x10000000 by
14447 # default) and relocated if they conflict, which is a slow very memory
14448 # consuming and fragmenting process. To avoid this, we pick a random,
14449 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14450 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14451 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'
14452 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'
14455 gnu
* | linux
* | k
*bsd
*-gnu)
14456 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14458 case $cc_basename,$host_cpu in
14459 pgcc
*) # Portland Group C compiler
14460 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'
14461 tmp_addflag
=' $pic_flag'
14463 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
14464 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'
14465 tmp_addflag
=' $pic_flag -Mnomain' ;;
14466 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
14467 tmp_addflag
=' -i_dynamic' ;;
14468 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
14469 tmp_addflag
=' -i_dynamic -nofor_main' ;;
14470 ifc
* | ifort
*) # Intel Fortran compiler
14471 tmp_addflag
=' -nofor_main' ;;
14473 case `$CC -V 2>&1 | sed 5q` in
14474 *Sun\ C
*) # Sun C 5.9
14475 whole_archive_flag_spec_F77
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
14476 tmp_sharedflag
='-G' ;;
14477 *Sun\ F
*) # Sun Fortran 8.3
14478 tmp_sharedflag
='-G' ;;
14480 tmp_sharedflag
='-shared' ;;
14482 archive_cmds_F77
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14484 if test $supports_anon_versioning = yes; then
14485 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
14486 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14487 $echo "local: *; };" >> $output_objdir/$libname.ver~
14488 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14496 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14497 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14500 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14501 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14506 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
14510 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14511 *** create shared libraries on Solaris systems. Therefore, libtool
14512 *** is disabling shared libraries support. We urge you to upgrade GNU
14513 *** binutils to release 2.9.1 or newer. Another option is to modify
14514 *** your PATH or compiler configuration so that the native linker is
14515 *** used, and then restart.
14518 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14519 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14520 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14526 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
14527 case `$LD -v 2>&1` in
14528 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
14532 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14533 *** reliably create shared libraries on SCO systems. Therefore, libtool
14534 *** is disabling shared libraries support. We urge you to upgrade GNU
14535 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14536 *** your PATH or compiler configuration so that the native linker is
14537 *** used, and then restart.
14542 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14543 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
14544 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
14545 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
14554 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14556 hardcode_direct_F77
=yes
14557 hardcode_shlibpath_var_F77
=no
14561 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14562 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14563 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14570 if test "$ld_shlibs_F77" = no
; then
14572 hardcode_libdir_flag_spec_F77
=
14573 export_dynamic_flag_spec_F77
=
14574 whole_archive_flag_spec_F77
=
14577 # PORTME fill in a description of your system's linker (not GNU ld)
14580 allow_undefined_flag_F77
=unsupported
14581 always_export_symbols_F77
=yes
14582 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'
14583 # Note: this linker hardcodes the directories in LIBPATH if there
14584 # are no directories specified by -L.
14585 hardcode_minus_L_F77
=yes
14586 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14587 # Neither direct hardcoding nor static linking is supported with a
14589 hardcode_direct_F77
=unsupported
14594 if test "$host_cpu" = ia64
; then
14595 # On IA64, the linker does run time linking by default, so we don't
14596 # have to do anything special.
14597 aix_use_runtimelinking
=no
14598 exp_sym_flag
='-Bexport'
14601 # If we're using GNU nm, then we don't want the "-C" option.
14602 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14603 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
14604 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'
14606 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'
14608 aix_use_runtimelinking
=no
14610 # Test if we are trying to use run time linking or normal
14611 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14612 # need to do runtime linking.
14613 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
14614 for ld_flag
in $LDFLAGS; do
14615 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14616 aix_use_runtimelinking
=yes
14623 exp_sym_flag
='-bexport'
14624 no_entry_flag
='-bnoentry'
14627 # When large executables or shared objects are built, AIX ld can
14628 # have problems creating the table of contents. If linking a library
14629 # or program results in "error TOC overflow" add -mminimal-toc to
14630 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14631 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14633 archive_cmds_F77
=''
14634 hardcode_direct_F77
=yes
14635 hardcode_libdir_separator_F77
=':'
14636 link_all_deplibs_F77
=yes
14638 if test "$GCC" = yes; then
14639 case $host_os in aix4.
[012]|aix4.
[012].
*)
14640 # We only want to do this on AIX 4.2 and lower, the check
14641 # below for broken collect2 doesn't work under 4.3+
14642 collect2name
=`${CC} -print-prog-name=collect2`
14643 if test -f "$collect2name" && \
14644 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
14646 # We have reworked collect2
14649 # We have old collect2
14650 hardcode_direct_F77
=unsupported
14651 # It fails to find uninstalled libraries when the uninstalled
14652 # path is not listed in the libpath. Setting hardcode_minus_L
14653 # to unsupported forces relinking
14654 hardcode_minus_L_F77
=yes
14655 hardcode_libdir_flag_spec_F77
='-L$libdir'
14656 hardcode_libdir_separator_F77
=
14660 shared_flag
='-shared'
14661 if test "$aix_use_runtimelinking" = yes; then
14662 shared_flag
="$shared_flag "'${wl}-G'
14666 if test "$host_cpu" = ia64
; then
14667 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14668 # chokes on -Wl,-G. The following line is correct:
14671 if test "$aix_use_runtimelinking" = yes; then
14672 shared_flag
='${wl}-G'
14674 shared_flag
='${wl}-bM:SRE'
14679 # It seems that -bexpall does not export symbols beginning with
14680 # underscore (_), so it is better to generate a list of symbols to export.
14681 always_export_symbols_F77
=yes
14682 if test "$aix_use_runtimelinking" = yes; then
14683 # Warning - without using the other runtime loading flags (-brtl),
14684 # -berok will link without error, but may produce a broken library.
14685 allow_undefined_flag_F77
='-berok'
14686 # Determine the default libpath from the value encoded in an empty executable.
14687 cat >conftest.
$ac_ext <<_ACEOF
14692 rm -f conftest.
$ac_objext conftest
$ac_exeext
14693 if { (ac_try
="$ac_link"
14694 case "(($ac_try" in
14695 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14696 *) ac_try_echo=$ac_try;;
14698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14699 (eval "$ac_link") 2>conftest.er1
14701 grep -v '^ *+' conftest.er1 >conftest.err
14703 cat conftest.err >&5
14704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14705 (exit $ac_status); } && {
14706 test -z "$ac_f77_werror_flag" ||
14707 test ! -s conftest.err
14708 } && test -s conftest$ac_exeext &&
14709 $as_test_x conftest$ac_exeext; then
14711 lt_aix_libpath_sed='
14712 /Import File Strings/,/^$/ {
14718 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
14719 # Check for a 64-bit object if we didn't find anything.
14720 if test -z "$aix_libpath"; then
14721 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
14724 echo "$as_me: failed program was:" >&5
14725 sed 's/^/| /' conftest.$ac_ext >&5
14730 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14731 conftest$ac_exeext conftest.$ac_ext
14732 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14734 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14735 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"
14737 if test "$host_cpu" = ia64; then
14738 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
14739 allow_undefined_flag_F77="-z nodefs"
14740 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"
14742 # Determine the default libpath from the value encoded in an empty executable.
14743 cat >conftest.$ac_ext <<_ACEOF
14748 rm -f conftest.$ac_objext conftest$ac_exeext
14749 if { (ac_try="$ac_link"
14750 case "(($ac_try" in
14751 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14752 *) ac_try_echo
=$ac_try;;
14754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14755 (eval "$ac_link") 2>conftest.er1
14757 grep -v '^ *+' conftest.er1
>conftest.err
14759 cat conftest.err
>&5
14760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14761 (exit $ac_status); } && {
14762 test -z "$ac_f77_werror_flag" ||
14763 test ! -s conftest.err
14764 } && test -s conftest
$ac_exeext &&
14765 $as_test_x conftest
$ac_exeext; then
14767 lt_aix_libpath_sed
='
14768 /Import File Strings/,/^$/ {
14774 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14775 # Check for a 64-bit object if we didn't find anything.
14776 if test -z "$aix_libpath"; then
14777 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14780 echo "$as_me: failed program was:" >&5
14781 sed 's/^/| /' conftest.
$ac_ext >&5
14786 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14787 conftest
$ac_exeext conftest.
$ac_ext
14788 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14790 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
14791 # Warning - without using the other run time loading flags,
14792 # -berok will link without error, but may produce a broken library.
14793 no_undefined_flag_F77
=' ${wl}-bernotok'
14794 allow_undefined_flag_F77
=' ${wl}-berok'
14795 # Exported symbols can be pulled into shared objects from archives
14796 whole_archive_flag_spec_F77
='$convenience'
14797 archive_cmds_need_lc_F77
=yes
14798 # This is similar to how AIX traditionally builds its shared libraries.
14799 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'
14805 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)'
14806 hardcode_libdir_flag_spec_F77
='-L$libdir'
14807 hardcode_minus_L_F77
=yes
14808 # see comment about different semantics on the GNU ld section
14813 export_dynamic_flag_spec_F77
=-rdynamic
14816 cygwin
* | mingw
* | pw32
*)
14817 # When not using gcc, we currently assume that we are using
14818 # Microsoft Visual C++.
14819 # hardcode_libdir_flag_spec is actually meaningless, as there is
14820 # no search path for DLLs.
14821 hardcode_libdir_flag_spec_F77
=' '
14822 allow_undefined_flag_F77
=unsupported
14823 # Tell ltmain to make .lib files, not .a files.
14825 # Tell ltmain to make .dll files, not .so files.
14827 # FIXME: Setting linknames here is a bad hack.
14828 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
14829 # The linker will automatically build a .lib file if we build a DLL.
14830 old_archive_From_new_cmds_F77
='true'
14831 # FIXME: Should let the user specify the lib program.
14832 old_archive_cmds_F77
='lib -OUT:$oldlib$oldobjs$old_deplibs'
14833 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
14834 enable_shared_with_static_runtimes_F77
=yes
14837 darwin
* | rhapsody
*)
14839 rhapsody
* | darwin1.
[012])
14840 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
14843 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
14844 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14846 case ${MACOSX_DEPLOYMENT_TARGET} in
14848 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14851 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
14857 archive_cmds_need_lc_F77
=no
14858 hardcode_direct_F77
=no
14859 hardcode_automatic_F77
=yes
14860 hardcode_shlibpath_var_F77
=unsupported
14861 whole_archive_flag_spec_F77
=''
14862 link_all_deplibs_F77
=yes
14863 if test "$GCC" = yes ; then
14864 output_verbose_link_cmd
='echo'
14865 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14866 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14867 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14868 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14869 module_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14871 case $cc_basename in
14873 output_verbose_link_cmd
='echo'
14874 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
14875 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14876 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14877 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14878 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}'
14888 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14889 hardcode_libdir_flag_spec_F77
='-L$libdir'
14890 hardcode_shlibpath_var_F77
=no
14897 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14898 # support. Future versions do this automatically, but an explicit c++rt0.o
14899 # does not break anything, and helps significantly (at the cost of a little
14902 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14903 hardcode_libdir_flag_spec_F77
='-R$libdir'
14904 hardcode_direct_F77
=yes
14905 hardcode_shlibpath_var_F77
=no
14908 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14910 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14911 hardcode_direct_F77
=yes
14912 hardcode_minus_L_F77
=yes
14913 hardcode_shlibpath_var_F77
=no
14916 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14917 freebsd
* | dragonfly
*)
14918 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14919 hardcode_libdir_flag_spec_F77
='-R$libdir'
14920 hardcode_direct_F77
=yes
14921 hardcode_shlibpath_var_F77
=no
14925 if test "$GCC" = yes; then
14926 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'
14928 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'
14930 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14931 hardcode_libdir_separator_F77
=:
14932 hardcode_direct_F77
=yes
14934 # hardcode_minus_L: Not really in the search PATH,
14935 # but as the default location of the library.
14936 hardcode_minus_L_F77
=yes
14937 export_dynamic_flag_spec_F77
='${wl}-E'
14941 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14942 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14944 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14946 if test "$with_gnu_ld" = no
; then
14947 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14948 hardcode_libdir_separator_F77
=:
14950 hardcode_direct_F77
=yes
14951 export_dynamic_flag_spec_F77
='${wl}-E'
14953 # hardcode_minus_L: Not really in the search PATH,
14954 # but as the default location of the library.
14955 hardcode_minus_L_F77
=yes
14960 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14963 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14966 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14969 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14975 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14978 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14981 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14985 if test "$with_gnu_ld" = no
; then
14986 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14987 hardcode_libdir_separator_F77
=:
14991 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
14992 hardcode_direct_F77
=no
14993 hardcode_shlibpath_var_F77
=no
14996 hardcode_direct_F77
=yes
14997 export_dynamic_flag_spec_F77
='${wl}-E'
14999 # hardcode_minus_L: Not really in the search PATH,
15000 # but as the default location of the library.
15001 hardcode_minus_L_F77
=yes
15007 irix5
* | irix6
* | nonstopux
*)
15008 if test "$GCC" = yes; then
15009 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'
15011 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'
15012 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
15014 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15015 hardcode_libdir_separator_F77
=:
15016 link_all_deplibs_F77
=yes
15020 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15021 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15023 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15025 hardcode_libdir_flag_spec_F77
='-R$libdir'
15026 hardcode_direct_F77
=yes
15027 hardcode_shlibpath_var_F77
=no
15031 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15032 hardcode_direct_F77
=yes
15033 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15034 hardcode_libdir_separator_F77
=:
15035 hardcode_shlibpath_var_F77
=no
15039 if test -f /usr
/libexec
/ld.so
; then
15040 hardcode_direct_F77
=yes
15041 hardcode_shlibpath_var_F77
=no
15042 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15043 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15044 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15045 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15046 export_dynamic_flag_spec_F77
='${wl}-E'
15049 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
15050 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15051 hardcode_libdir_flag_spec_F77
='-R$libdir'
15054 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15055 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15065 hardcode_libdir_flag_spec_F77
='-L$libdir'
15066 hardcode_minus_L_F77
=yes
15067 allow_undefined_flag_F77
=unsupported
15068 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'
15069 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15073 if test "$GCC" = yes; then
15074 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15075 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'
15077 allow_undefined_flag_F77
=' -expect_unresolved \*'
15078 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'
15080 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15081 hardcode_libdir_separator_F77
=:
15084 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
15085 if test "$GCC" = yes; then
15086 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15087 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'
15088 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15090 allow_undefined_flag_F77
=' -expect_unresolved \*'
15091 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'
15092 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~
15093 $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'
15095 # Both c and cxx compiler support -rpath directly
15096 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
15098 hardcode_libdir_separator_F77
=:
15102 no_undefined_flag_F77
=' -z text'
15103 if test "$GCC" = yes; then
15105 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15106 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15107 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15110 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15111 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15112 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15114 hardcode_libdir_flag_spec_F77
='-R$libdir'
15115 hardcode_shlibpath_var_F77
=no
15117 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
15119 # The compiler driver will combine and reorder linker options,
15120 # but understands `-z linker_flag'. GCC discards it without `$wl',
15121 # but is careful enough not to reorder.
15122 # Supported since Solaris 2.6 (maybe 2.5.1?)
15123 if test "$GCC" = yes; then
15124 whole_archive_flag_spec_F77
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15126 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract'
15130 link_all_deplibs_F77
=yes
15134 if test "x$host_vendor" = xsequent
; then
15135 # Use $CC to link under sequent, because it throws in some extra .o
15136 # files that make .init and .fini sections work.
15137 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15139 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15141 hardcode_libdir_flag_spec_F77
='-L$libdir'
15142 hardcode_direct_F77
=yes
15143 hardcode_minus_L_F77
=yes
15144 hardcode_shlibpath_var_F77
=no
15148 case $host_vendor in
15150 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15151 hardcode_direct_F77
=yes # is this really true???
15154 ## LD is ld it makes a PLAMLIB
15155 ## CC just makes a GrossModule.
15156 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15157 reload_cmds_F77
='$CC -r -o $output$reload_objs'
15158 hardcode_direct_F77
=no
15161 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15162 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
15165 runpath_var
='LD_RUN_PATH'
15166 hardcode_shlibpath_var_F77
=no
15170 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15171 hardcode_shlibpath_var_F77
=no
15172 export_dynamic_flag_spec_F77
='-Bexport'
15176 if test -d /usr
/nec
; then
15177 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15178 hardcode_shlibpath_var_F77
=no
15179 runpath_var
=LD_RUN_PATH
15180 hardcode_runpath_var
=yes
15185 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
15186 no_undefined_flag_F77
='${wl}-z,text'
15187 archive_cmds_need_lc_F77
=no
15188 hardcode_shlibpath_var_F77
=no
15189 runpath_var
='LD_RUN_PATH'
15191 if test "$GCC" = yes; then
15192 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15193 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15195 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15196 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15200 sysv5
* | sco3.2v5
* | sco5v6
*)
15201 # Note: We can NOT use -z defs as we might desire, because we do not
15202 # link with -lc, and that would cause any symbols used from libc to
15203 # always be unresolved, which means just about no library would
15204 # ever link correctly. If we're not using GNU ld we use -z text
15205 # though, which does catch some bad symbols but isn't as heavy-handed
15207 no_undefined_flag_F77
='${wl}-z,text'
15208 allow_undefined_flag_F77
='${wl}-z,nodefs'
15209 archive_cmds_need_lc_F77
=no
15210 hardcode_shlibpath_var_F77
=no
15211 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15212 hardcode_libdir_separator_F77
=':'
15213 link_all_deplibs_F77
=yes
15214 export_dynamic_flag_spec_F77
='${wl}-Bexport'
15215 runpath_var
='LD_RUN_PATH'
15217 if test "$GCC" = yes; then
15218 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15219 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15221 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15222 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15227 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15228 hardcode_libdir_flag_spec_F77
='-L$libdir'
15229 hardcode_shlibpath_var_F77
=no
15238 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15239 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
15240 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
15243 # Do we need to explicitly link libc?
15245 case "x$archive_cmds_need_lc_F77" in
15247 # Assume -lc should be added
15248 archive_cmds_need_lc_F77
=yes
15250 if test "$enable_shared" = yes && test "$GCC" = yes; then
15251 case $archive_cmds_F77 in
15253 # FIXME: we may have to deal with multi-command sequences.
15256 # Test whether the compiler implicitly links with -lc since on some
15257 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15258 # to ld, don't add -lc before -lgcc.
15259 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15260 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15262 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15265 (eval $ac_compile) 2>&5
15267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15268 (exit $ac_status); } 2>conftest.err
; then
15271 libobjs
=conftest.
$ac_objext
15273 wl
=$lt_prog_compiler_wl_F77
15274 pic_flag
=$lt_prog_compiler_pic_F77
15280 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
15281 allow_undefined_flag_F77
=
15282 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15283 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15286 (exit $ac_status); }
15288 archive_cmds_need_lc_F77
=no
15290 archive_cmds_need_lc_F77
=yes
15292 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
15294 cat conftest.err
1>&5
15297 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15298 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
15305 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15306 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15307 library_names_spec
=
15308 libname_spec
='lib$name'
15312 postuninstall_cmds
=
15316 shlibpath_overrides_runpath
=unknown
15318 dynamic_linker
="$host_os ld.so"
15319 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15321 need_lib_prefix
=unknown
15322 hardcode_into_libs
=no
15324 # when you set need_version to no, make sure it does not cause -set_version
15325 # flags to be left without arguments
15326 need_version
=unknown
15331 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15332 shlibpath_var
=LIBPATH
15334 # AIX 3 has no versioning support, so we append a major version to the name.
15335 soname_spec
='${libname}${release}${shared_ext}$major'
15342 hardcode_into_libs
=yes
15343 if test "$host_cpu" = ia64
; then
15344 # AIX 5 supports IA64
15345 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15346 shlibpath_var
=LD_LIBRARY_PATH
15348 # With GCC up to 2.95.x, collect2 would create an import file
15349 # for dependence libraries. The import file would start with
15350 # the line `#! .'. This would cause the generated library to
15351 # depend on `.', always an invalid library. This was fixed in
15352 # development snapshots of GCC prior to 3.0.
15354 aix4 | aix4.
[01] | aix4.
[01].
*)
15355 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15357 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
15360 can_build_shared
=no
15364 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15365 # soname into executable. Probably we can add versioning support to
15366 # collect2, so additional links can be useful in future.
15367 if test "$aix_use_runtimelinking" = yes; then
15368 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15369 # instead of lib<name>.a to let people know that these are not
15370 # typical AIX shared libraries.
15371 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15373 # We preserve .a as extension for shared libraries through AIX4.2
15374 # and later when we are not doing run time linking.
15375 library_names_spec
='${libname}${release}.a $libname.a'
15376 soname_spec
='${libname}${release}${shared_ext}$major'
15378 shlibpath_var
=LIBPATH
15383 library_names_spec
='$libname.ixlibrary $libname.a'
15384 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15385 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'
15389 library_names_spec
='${libname}${shared_ext}'
15390 dynamic_linker
="$host_os ld.so"
15391 shlibpath_var
=LIBRARY_PATH
15397 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15398 soname_spec
='${libname}${release}${shared_ext}$major'
15399 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15400 shlibpath_var
=LD_LIBRARY_PATH
15401 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15402 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15403 # the default ld.so.conf also contains /usr/contrib/lib and
15404 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15405 # libtool to hard-code these into programs
15408 cygwin
* | mingw
* | pw32
*)
15409 version_type
=windows
15414 case $GCC,$host_os in
15415 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
15416 library_names_spec
='$libname.dll.a'
15417 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15418 postinstall_cmds
='base_file=`basename \${file}`~
15419 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15420 dldir=$destdir/`dirname \$dlpath`~
15421 test -d \$dldir || mkdir -p \$dldir~
15422 $install_prog $dir/$dlname \$dldir/$dlname~
15423 chmod a+x \$dldir/$dlname'
15424 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15425 dlpath=$dir/\$dldll~
15427 shlibpath_overrides_runpath
=yes
15431 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15432 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15433 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
15436 # MinGW DLLs use traditional 'lib' prefix
15437 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15438 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15439 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
15440 # It is most probably a Windows format PATH printed by
15441 # mingw gcc, but we are running on Cygwin. Gcc prints its search
15442 # path with ; separators, and with drive letters. We can handle the
15443 # drive letters (cygwin fileutils understands them), so leave them,
15444 # especially as we might pass files found there to a mingw objdump,
15445 # which wouldn't understand a cygwinified path. Ahh.
15446 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15448 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15452 # pw32 DLLs use 'pw' prefix rather than 'lib'
15453 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15459 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15462 dynamic_linker
='Win32 ld.exe'
15463 # FIXME: first we should search . and the directory the executable is in
15467 darwin
* | rhapsody
*)
15468 dynamic_linker
="$host_os dyld"
15469 version_type
=darwin
15472 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15473 soname_spec
='${libname}${release}${major}$shared_ext'
15474 shlibpath_overrides_runpath
=yes
15475 shlibpath_var
=DYLD_LIBRARY_PATH
15476 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15478 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15485 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15486 soname_spec
='${libname}${release}${shared_ext}$major'
15487 shlibpath_var
=LD_LIBRARY_PATH
15494 freebsd
* | dragonfly
*)
15495 # DragonFly does not have aout. When/if they implement a new
15496 # versioning mechanism, adjust this.
15497 if test -x /usr
/bin
/objformat
; then
15498 objformat
=`/usr/bin/objformat`
15501 freebsd
[123]*) objformat
=aout
;;
15502 *) objformat
=elf
;;
15505 version_type
=freebsd-
$objformat
15506 case $version_type in
15508 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15513 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15517 shlibpath_var
=LD_LIBRARY_PATH
15520 shlibpath_overrides_runpath
=yes
15522 freebsd3.
[01]* | freebsdelf3.
[01]*)
15523 shlibpath_overrides_runpath
=yes
15524 hardcode_into_libs
=yes
15526 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15527 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15528 shlibpath_overrides_runpath
=no
15529 hardcode_into_libs
=yes
15531 *) # from 4.6 on, and DragonFly
15532 shlibpath_overrides_runpath
=yes
15533 hardcode_into_libs
=yes
15542 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15543 soname_spec
='${libname}${release}${shared_ext}$major'
15544 shlibpath_var
=LD_LIBRARY_PATH
15545 hardcode_into_libs
=yes
15548 hpux9
* | hpux10
* | hpux11
*)
15549 # Give a soname corresponding to the major version so that dld.sl refuses to
15550 # link against other versions.
15557 hardcode_into_libs
=yes
15558 dynamic_linker
="$host_os dld.so"
15559 shlibpath_var
=LD_LIBRARY_PATH
15560 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15561 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15562 soname_spec
='${libname}${release}${shared_ext}$major'
15563 if test "X$HPUX_IA64_MODE" = X32
; then
15564 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15566 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15568 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15572 hardcode_into_libs
=yes
15573 dynamic_linker
="$host_os dld.sl"
15574 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15575 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15576 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15577 soname_spec
='${libname}${release}${shared_ext}$major'
15578 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15579 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15583 dynamic_linker
="$host_os dld.sl"
15584 shlibpath_var
=SHLIB_PATH
15585 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15586 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15587 soname_spec
='${libname}${release}${shared_ext}$major'
15590 # HP-UX runs *really* slowly unless shared libraries are mode 555.
15591 postinstall_cmds
='chmod 555 $lib'
15598 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15599 soname_spec
='${libname}${release}${shared_ext}$major'
15600 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15601 shlibpath_var
=LD_LIBRARY_PATH
15602 shlibpath_overrides_runpath
=no
15603 hardcode_into_libs
=yes
15606 irix5
* | irix6
* | nonstopux
*)
15608 nonstopux
*) version_type
=nonstopux
;;
15610 if test "$lt_cv_prog_gnu_ld" = yes; then
15618 soname_spec
='${libname}${release}${shared_ext}$major'
15619 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15621 irix5
* | nonstopux
*)
15622 libsuff
= shlibsuff
=
15625 case $LD in # libtool.m4 will add one of these switches to LD
15626 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15627 libsuff
= shlibsuff
= libmagic
=32-bit;;
15628 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15629 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15630 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15631 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15632 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15636 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15637 shlibpath_overrides_runpath
=no
15638 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15639 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15640 hardcode_into_libs
=yes
15643 # No shared lib support for Linux oldld, aout, or coff.
15644 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15648 # This must be Linux ELF.
15649 linux
* | k
*bsd
*-gnu)
15653 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15654 soname_spec
='${libname}${release}${shared_ext}$major'
15655 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15656 shlibpath_var
=LD_LIBRARY_PATH
15657 shlibpath_overrides_runpath
=no
15658 # This implies no fast_install, which is unacceptable.
15659 # Some rework will be needed to allow for fast_install
15660 # before this can be enabled.
15661 hardcode_into_libs
=yes
15662 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15663 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15665 # Append ld.so.conf contents to the search path
15666 if test -f /etc
/ld.so.conf
; then
15667 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
15668 sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec $lt_ld_extra"
15671 # We used to test for /lib/ld.so.1 and disable shared libraries on
15672 # powerpc, because MkLinux only supported shared libraries with the
15673 # GNU dynamic linker. Since this was broken with cross compilers,
15674 # most powerpc-linux boxes support dynamic linking these days and
15675 # people can always --disable-shared, the test was removed, and we
15676 # assume the GNU/Linux dynamic linker is in use.
15677 dynamic_linker
='GNU/Linux ld.so'
15684 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15685 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15686 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15687 dynamic_linker
='NetBSD (a.out) ld.so'
15689 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15690 soname_spec
='${libname}${release}${shared_ext}$major'
15691 dynamic_linker
='NetBSD ld.elf_so'
15693 shlibpath_var
=LD_LIBRARY_PATH
15694 shlibpath_overrides_runpath
=yes
15695 hardcode_into_libs
=yes
15700 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15701 shlibpath_var
=LD_LIBRARY_PATH
15702 shlibpath_overrides_runpath
=yes
15709 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15710 soname_spec
='${libname}${release}${shared_ext}$major'
15711 shlibpath_var
=LD_LIBRARY_PATH
15712 shlibpath_overrides_runpath
=yes
15717 sys_lib_dlsearch_path_spec
="/usr/lib"
15719 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15721 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15722 *) need_version
=no
;;
15724 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15725 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15726 shlibpath_var
=LD_LIBRARY_PATH
15727 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15729 openbsd2.
[89] | openbsd2.
[89].
*)
15730 shlibpath_overrides_runpath
=no
15733 shlibpath_overrides_runpath
=yes
15737 shlibpath_overrides_runpath
=yes
15742 libname_spec
='$name'
15745 library_names_spec
='$libname${shared_ext} $libname.a'
15746 dynamic_linker
='OS/2 ld.exe'
15747 shlibpath_var
=LIBPATH
15750 osf3
* | osf4
* | osf5
*)
15754 soname_spec
='${libname}${release}${shared_ext}$major'
15755 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15756 shlibpath_var
=LD_LIBRARY_PATH
15757 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15758 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15769 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15770 soname_spec
='${libname}${release}${shared_ext}$major'
15771 shlibpath_var
=LD_LIBRARY_PATH
15772 shlibpath_overrides_runpath
=yes
15773 hardcode_into_libs
=yes
15774 # ldd complains unless libraries are executable
15775 postinstall_cmds
='chmod +x $lib'
15780 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15781 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15782 shlibpath_var
=LD_LIBRARY_PATH
15783 shlibpath_overrides_runpath
=yes
15784 if test "$with_gnu_ld" = yes; then
15792 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15793 soname_spec
='${libname}${release}${shared_ext}$major'
15794 shlibpath_var
=LD_LIBRARY_PATH
15795 case $host_vendor in
15797 shlibpath_overrides_runpath
=no
15799 export_dynamic_flag_spec
='${wl}-Blargedynsym'
15800 runpath_var
=LD_RUN_PATH
15808 shlibpath_overrides_runpath
=no
15809 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15815 if test -d /usr
/nec
;then
15817 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15818 soname_spec
='$libname${shared_ext}.$major'
15819 shlibpath_var
=LD_LIBRARY_PATH
15823 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15824 version_type
=freebsd-elf
15827 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15828 soname_spec
='${libname}${release}${shared_ext}$major'
15829 shlibpath_var
=LD_LIBRARY_PATH
15830 hardcode_into_libs
=yes
15831 if test "$with_gnu_ld" = yes; then
15832 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15833 shlibpath_overrides_runpath
=no
15835 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15836 shlibpath_overrides_runpath
=yes
15839 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15843 sys_lib_dlsearch_path_spec
='/usr/lib'
15848 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15849 soname_spec
='${libname}${release}${shared_ext}$major'
15850 shlibpath_var
=LD_LIBRARY_PATH
15857 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15858 echo "${ECHO_T}$dynamic_linker" >&6; }
15859 test "$dynamic_linker" = no
&& can_build_shared
=no
15861 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15862 if test "$GCC" = yes; then
15863 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15866 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15867 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
15868 hardcode_action_F77
=
15869 if test -n "$hardcode_libdir_flag_spec_F77" || \
15870 test -n "$runpath_var_F77" || \
15871 test "X$hardcode_automatic_F77" = "Xyes" ; then
15873 # We can hardcode non-existant directories.
15874 if test "$hardcode_direct_F77" != no
&&
15875 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15876 # have to relink, otherwise we might link with an installed library
15877 # when we should be linking with a yet-to-be-installed one
15878 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
15879 test "$hardcode_minus_L_F77" != no
; then
15880 # Linking always hardcodes the temporary library directory.
15881 hardcode_action_F77
=relink
15883 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15884 hardcode_action_F77
=immediate
15887 # We cannot hardcode anything, or else we can only hardcode existing
15889 hardcode_action_F77
=unsupported
15891 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15892 echo "${ECHO_T}$hardcode_action_F77" >&6; }
15894 if test "$hardcode_action_F77" = relink
; then
15895 # Fast installation is not supported
15896 enable_fast_install
=no
15897 elif test "$shlibpath_overrides_runpath" = yes ||
15898 test "$enable_shared" = no
; then
15899 # Fast installation is not necessary
15900 enable_fast_install
=needless
15904 # The else clause should only fire when bootstrapping the
15905 # libtool distribution, otherwise you forgot to ship ltmain.sh
15906 # with your package, and you will get complaints that there are
15907 # no rules to generate ltmain.sh.
15908 if test -f "$ltmain"; then
15909 # See if we are running on zsh, and set the options which allow our commands through
15910 # without removal of \ escapes.
15911 if test -n "${ZSH_VERSION+set}" ; then
15912 setopt NO_GLOB_SUBST
15914 # Now quote all the things that may contain metacharacters while being
15915 # careful not to overquote the AC_SUBSTed values. We take copies of the
15916 # variables and quote the copies for generation of the libtool script.
15917 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
15919 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15920 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15921 deplibs_check_method reload_flag reload_cmds need_locks \
15922 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15923 lt_cv_sys_global_symbol_to_c_name_address \
15924 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15925 old_postinstall_cmds old_postuninstall_cmds \
15929 lt_prog_compiler_wl_F77 \
15930 lt_prog_compiler_pic_F77 \
15931 lt_prog_compiler_static_F77 \
15932 lt_prog_compiler_no_builtin_flag_F77 \
15933 export_dynamic_flag_spec_F77 \
15934 thread_safe_flag_spec_F77 \
15935 whole_archive_flag_spec_F77 \
15936 enable_shared_with_static_runtimes_F77 \
15937 old_archive_cmds_F77 \
15938 old_archive_from_new_cmds_F77 \
15939 predep_objects_F77 \
15940 postdep_objects_F77 \
15943 compiler_lib_search_path_F77 \
15945 archive_expsym_cmds_F77 \
15946 postinstall_cmds_F77 \
15947 postuninstall_cmds_F77 \
15948 old_archive_from_expsyms_cmds_F77 \
15949 allow_undefined_flag_F77 \
15950 no_undefined_flag_F77 \
15951 export_symbols_cmds_F77 \
15952 hardcode_libdir_flag_spec_F77 \
15953 hardcode_libdir_flag_spec_ld_F77 \
15954 hardcode_libdir_separator_F77 \
15955 hardcode_automatic_F77 \
15957 module_expsym_cmds_F77 \
15958 lt_cv_prog_compiler_c_o_F77 \
15959 fix_srcfile_path_F77 \
15960 exclude_expsyms_F77 \
15961 include_expsyms_F77
; do
15964 old_archive_cmds_F77 | \
15965 old_archive_from_new_cmds_F77 | \
15966 archive_cmds_F77 | \
15967 archive_expsym_cmds_F77 | \
15968 module_cmds_F77 | \
15969 module_expsym_cmds_F77 | \
15970 old_archive_from_expsyms_cmds_F77 | \
15971 export_symbols_cmds_F77 | \
15972 extract_expsyms_cmds | reload_cmds | finish_cmds | \
15973 postinstall_cmds | postuninstall_cmds | \
15974 old_postinstall_cmds | old_postuninstall_cmds | \
15975 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
15976 # Double-quote double-evaled strings.
15977 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15980 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15986 *'\$0 --fallback-echo"')
15987 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15993 cat <<__EOF__ >> "$cfgfile"
15994 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
15996 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15998 # Shell to use when invoking shell scripts.
16001 # Whether or not to build shared libraries.
16002 build_libtool_libs=$enable_shared
16004 # Whether or not to build static libraries.
16005 build_old_libs=$enable_static
16007 # Whether or not to add -lc for building shared libraries.
16008 build_libtool_need_lc=$archive_cmds_need_lc_F77
16010 # Whether or not to disallow shared libs when runtime libs are static
16011 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
16013 # Whether or not to optimize for fast installation.
16014 fast_install=$enable_fast_install
16017 host_alias=$host_alias
16021 # The build system.
16022 build_alias=$build_alias
16026 # An echo program that does not interpret backslashes.
16031 AR_FLAGS=$lt_AR_FLAGS
16036 # LTCC compiler flags.
16037 LTCFLAGS=$lt_LTCFLAGS
16039 # A language-specific compiler.
16040 CC=$lt_compiler_F77
16042 # Is the compiler the GNU C compiler?
16048 # The linker used to build libraries.
16051 # Whether we need hard or soft links.
16054 # A BSD-compatible nm program.
16057 # A symbol stripping program
16060 # Used to examine libraries when file_magic_cmd begins "file"
16061 MAGIC_CMD=$MAGIC_CMD
16063 # Used on cygwin: DLL creation program.
16066 # Used on cygwin: object dumper.
16069 # Used on cygwin: assembler.
16072 # The name of the directory that contains temporary libtool files.
16075 # How to create reloadable object files.
16076 reload_flag=$lt_reload_flag
16077 reload_cmds=$lt_reload_cmds
16079 # How to pass a linker flag through the compiler.
16080 wl=$lt_lt_prog_compiler_wl_F77
16082 # Object file suffix (normally "o").
16083 objext="$ac_objext"
16085 # Old archive suffix (normally "a").
16088 # Shared library suffix (normally ".so").
16089 shrext_cmds='$shrext_cmds'
16091 # Executable file suffix (normally "").
16094 # Additional compiler flags for building library objects.
16095 pic_flag=$lt_lt_prog_compiler_pic_F77
16098 # What is the maximum length of a command?
16099 max_cmd_len=$lt_cv_sys_max_cmd_len
16101 # Does compiler simultaneously support -c and -o options?
16102 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
16104 # Must we lock files when doing compilation?
16105 need_locks=$lt_need_locks
16107 # Do we need the lib prefix for modules?
16108 need_lib_prefix=$need_lib_prefix
16110 # Do we need a version for libraries?
16111 need_version=$need_version
16113 # Whether dlopen is supported.
16114 dlopen_support=$enable_dlopen
16116 # Whether dlopen of programs is supported.
16117 dlopen_self=$enable_dlopen_self
16119 # Whether dlopen of statically linked programs is supported.
16120 dlopen_self_static=$enable_dlopen_self_static
16122 # Compiler flag to prevent dynamic linking.
16123 link_static_flag=$lt_lt_prog_compiler_static_F77
16125 # Compiler flag to turn off builtin functions.
16126 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
16128 # Compiler flag to allow reflexive dlopens.
16129 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
16131 # Compiler flag to generate shared objects directly from archives.
16132 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
16134 # Compiler flag to generate thread-safe objects.
16135 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
16137 # Library versioning type.
16138 version_type=$version_type
16140 # Format of library name prefix.
16141 libname_spec=$lt_libname_spec
16143 # List of archive names. First name is the real one, the rest are links.
16144 # The last name is the one that the linker finds with -lNAME.
16145 library_names_spec=$lt_library_names_spec
16147 # The coded name of the library, if different from the real name.
16148 soname_spec=$lt_soname_spec
16150 # Commands used to build and install an old-style archive.
16152 old_archive_cmds=$lt_old_archive_cmds_F77
16153 old_postinstall_cmds=$lt_old_postinstall_cmds
16154 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16156 # Create an old-style archive from a shared archive.
16157 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
16159 # Create a temporary old-style archive to link instead of a shared archive.
16160 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
16162 # Commands used to build and install a shared archive.
16163 archive_cmds=$lt_archive_cmds_F77
16164 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
16165 postinstall_cmds=$lt_postinstall_cmds
16166 postuninstall_cmds=$lt_postuninstall_cmds
16168 # Commands used to build a loadable module (assumed same as above if empty)
16169 module_cmds=$lt_module_cmds_F77
16170 module_expsym_cmds=$lt_module_expsym_cmds_F77
16172 # Commands to strip libraries.
16173 old_striplib=$lt_old_striplib
16174 striplib=$lt_striplib
16176 # Dependencies to place before the objects being linked to create a
16178 predep_objects=$lt_predep_objects_F77
16180 # Dependencies to place after the objects being linked to create a
16182 postdep_objects=$lt_postdep_objects_F77
16184 # Dependencies to place before the objects being linked to create a
16186 predeps=$lt_predeps_F77
16188 # Dependencies to place after the objects being linked to create a
16190 postdeps=$lt_postdeps_F77
16192 # The library search path used internally by the compiler when linking
16193 # a shared library.
16194 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16196 # Method to check whether dependent libraries are shared objects.
16197 deplibs_check_method=$lt_deplibs_check_method
16199 # Command to use when deplibs_check_method == file_magic.
16200 file_magic_cmd=$lt_file_magic_cmd
16202 # Flag that allows shared libraries with undefined symbols to be built.
16203 allow_undefined_flag=$lt_allow_undefined_flag_F77
16205 # Flag that forces no undefined symbols.
16206 no_undefined_flag=$lt_no_undefined_flag_F77
16208 # Commands used to finish a libtool library installation in a directory.
16209 finish_cmds=$lt_finish_cmds
16211 # Same as above, but a single script fragment to be evaled but not shown.
16212 finish_eval=$lt_finish_eval
16214 # Take the output of nm and produce a listing of raw symbols and C names.
16215 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16217 # Transform the output of nm in a proper C declaration
16218 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16220 # Transform the output of nm in a C name address pair
16221 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16223 # This is the shared library runtime path variable.
16224 runpath_var=$runpath_var
16226 # This is the shared library path variable.
16227 shlibpath_var=$shlibpath_var
16229 # Is shlibpath searched before the hard-coded library search path?
16230 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16232 # How to hardcode a shared library path into an executable.
16233 hardcode_action=$hardcode_action_F77
16235 # Whether we should hardcode library paths into libraries.
16236 hardcode_into_libs=$hardcode_into_libs
16238 # Flag to hardcode \$libdir into a binary during linking.
16239 # This must work even if \$libdir does not exist.
16240 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
16242 # If ld is used when linking, flag to hardcode \$libdir into
16243 # a binary during linking. This must work even if \$libdir does
16245 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
16247 # Whether we need a single -rpath flag with a separated argument.
16248 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
16250 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16251 # resulting binary.
16252 hardcode_direct=$hardcode_direct_F77
16254 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16255 # resulting binary.
16256 hardcode_minus_L=$hardcode_minus_L_F77
16258 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16259 # the resulting binary.
16260 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
16262 # Set to yes if building a shared library automatically hardcodes DIR into the library
16263 # and all subsequent libraries and executables linked against it.
16264 hardcode_automatic=$hardcode_automatic_F77
16266 # Variables whose values should be saved in libtool wrapper scripts and
16267 # restored at relink time.
16268 variables_saved_for_relink="$variables_saved_for_relink"
16270 # Whether libtool must link a program against all its dependency libraries.
16271 link_all_deplibs=$link_all_deplibs_F77
16273 # Compile-time system search path for libraries
16274 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16276 # Run-time system search path for libraries
16277 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16279 # Fix the shell variable \$srcfile for the compiler.
16280 fix_srcfile_path=$lt_fix_srcfile_path
16282 # Set to yes if exported symbols are required.
16283 always_export_symbols=$always_export_symbols_F77
16285 # The commands to list exported symbols.
16286 export_symbols_cmds=$lt_export_symbols_cmds_F77
16288 # The commands to extract the exported symbol list from a shared archive.
16289 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16291 # Symbols that should not be listed in the preloaded symbols.
16292 exclude_expsyms=$lt_exclude_expsyms_F77
16294 # Symbols that must always be exported.
16295 include_expsyms=$lt_include_expsyms_F77
16297 # ### END LIBTOOL TAG CONFIG: $tagname
16303 # If there is no Makefile yet, we rely on a make rule to execute
16304 # `config.status --recheck' to rerun these tests and create the
16305 # libtool script then.
16306 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16307 if test -f "$ltmain_in"; then
16308 test -f Makefile
&& make "$ltmain"
16314 ac_cpp
='$CPP $CPPFLAGS'
16315 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16316 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16317 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16327 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
16330 # Source file extension for Java test sources.
16333 # Object file extension for compiled Java test sources.
16337 # Code to be used in simple compile tests
16338 lt_simple_compile_test_code
="class foo {}"
16340 # Code to be used in simple link tests
16341 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }'
16343 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16345 # If no C compiler was specified, use CC.
16348 # If no C compiler flags were specified, use CFLAGS.
16349 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
16351 # Allow CC to be a program name with arguments.
16355 # save warnings/boilerplate of simple test code
16356 ac_outfile
=conftest.
$ac_objext
16357 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
16358 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16359 _lt_compiler_boilerplate
=`cat conftest.err`
16362 ac_outfile
=conftest.
$ac_objext
16363 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
16364 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16365 _lt_linker_boilerplate
=`cat conftest.err`
16369 # Allow CC to be a program name with arguments.
16374 for cc_temp
in $compiler""; do
16376 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16377 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16382 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16385 # GCJ did not exist at the time GCC didn't implicitly link libc in.
16386 archive_cmds_need_lc_GCJ
=no
16388 old_archive_cmds_GCJ
=$old_archive_cmds
16391 lt_prog_compiler_no_builtin_flag_GCJ
=
16393 if test "$GCC" = yes; then
16394 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
16397 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16398 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
16399 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16400 echo $ECHO_N "(cached) $ECHO_C" >&6
16402 lt_cv_prog_compiler_rtti_exceptions
=no
16403 ac_outfile
=conftest.
$ac_objext
16404 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16405 lt_compiler_flag
="-fno-rtti -fno-exceptions"
16406 # Insert the option either (1) after the last *FLAGS variable, or
16407 # (2) before a word containing "conftest.", or (3) at the end.
16408 # Note that $ac_compile itself does not contain backslashes and begins
16409 # with a dollar sign (not a hyphen), so the echo should work correctly.
16410 # The option is referenced via a variable to avoid confusing sed.
16411 lt_compile
=`echo "$ac_compile" | $SED \
16412 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16413 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16414 -e 's:$: $lt_compiler_flag:'`
16415 (eval echo "\"\$as_me:16415: $lt_compile\"" >&5)
16416 (eval "$lt_compile" 2>conftest.err
)
16418 cat conftest.err
>&5
16419 echo "$as_me:16419: \$? = $ac_status" >&5
16420 if (exit $ac_status) && test -s "$ac_outfile"; then
16421 # The compiler can only warn and ignore the option if not recognized
16422 # So say no if there are warnings other than the usual output.
16423 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16424 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16425 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16426 lt_cv_prog_compiler_rtti_exceptions
=yes
16432 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16433 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
16435 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
16436 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16443 lt_prog_compiler_wl_GCJ
=
16444 lt_prog_compiler_pic_GCJ
=
16445 lt_prog_compiler_static_GCJ
=
16447 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16448 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16450 if test "$GCC" = yes; then
16451 lt_prog_compiler_wl_GCJ
='-Wl,'
16452 lt_prog_compiler_static_GCJ
='-static'
16456 # All AIX code is PIC.
16457 if test "$host_cpu" = ia64
; then
16458 # AIX 5 now supports IA64 processor
16459 lt_prog_compiler_static_GCJ
='-Bstatic'
16464 # FIXME: we need at least 68020 code to build shared libraries, but
16465 # adding the `-m68020' flag to GCC prevents building anything better,
16467 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
16470 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
16471 # PIC is the default for these OSes.
16474 mingw
* | cygwin
* | pw32
* | os2
*)
16475 # This hack is so that the source file can tell whether it is being
16476 # built for inclusion in a dll (and should export symbols for example).
16477 # Although the cygwin gcc ignores -fPIC, still need this for old-style
16478 # (--disable-auto-import) libraries
16479 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16482 darwin
* | rhapsody
*)
16483 # PIC is the default on this platform
16484 # Common symbols not allowed in MH_DYLIB files
16485 lt_prog_compiler_pic_GCJ
='-fno-common'
16489 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16490 # Instead, we relocate shared libraries at runtime.
16494 # Just because we use GCC doesn't mean we suddenly get shared libraries
16495 # on systems that don't support them.
16496 lt_prog_compiler_can_build_shared_GCJ
=no
16501 if test -d /usr
/nec
; then
16502 lt_prog_compiler_pic_GCJ
=-Kconform_pic
16507 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16508 # not for PA HP-UX.
16514 lt_prog_compiler_pic_GCJ
='-fPIC'
16520 lt_prog_compiler_pic_GCJ
='-fPIC'
16524 # PORTME Check for flag to pass linker flags through the system compiler.
16527 lt_prog_compiler_wl_GCJ
='-Wl,'
16528 if test "$host_cpu" = ia64
; then
16529 # AIX 5 now supports IA64 processor
16530 lt_prog_compiler_static_GCJ
='-Bstatic'
16532 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
16536 # PIC is the default on this platform
16537 # Common symbols not allowed in MH_DYLIB files
16538 case $cc_basename in
16540 lt_prog_compiler_pic_GCJ
='-qnocommon'
16541 lt_prog_compiler_wl_GCJ
='-Wl,'
16546 mingw
* | cygwin
* | pw32
* | os2
*)
16547 # This hack is so that the source file can tell whether it is being
16548 # built for inclusion in a dll (and should export symbols for example).
16549 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16552 hpux9
* | hpux10
* | hpux11
*)
16553 lt_prog_compiler_wl_GCJ
='-Wl,'
16554 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16555 # not for PA HP-UX.
16561 lt_prog_compiler_pic_GCJ
='+Z'
16564 # Is there a better lt_prog_compiler_static that works with the bundled CC?
16565 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
16568 irix5
* | irix6
* | nonstopux
*)
16569 lt_prog_compiler_wl_GCJ
='-Wl,'
16570 # PIC (with -KPIC) is the default.
16571 lt_prog_compiler_static_GCJ
='-non_shared'
16575 lt_prog_compiler_pic_GCJ
='-KPIC'
16576 lt_prog_compiler_static_GCJ
='-Bstatic'
16579 linux
* | k
*bsd
*-gnu)
16580 case $cc_basename in
16582 lt_prog_compiler_wl_GCJ
='-Wl,'
16583 lt_prog_compiler_pic_GCJ
='-KPIC'
16584 lt_prog_compiler_static_GCJ
='-static'
16586 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
16587 # Portland Group compilers (*not* the Pentium gcc compiler,
16588 # which looks to be a dead project)
16589 lt_prog_compiler_wl_GCJ
='-Wl,'
16590 lt_prog_compiler_pic_GCJ
='-fpic'
16591 lt_prog_compiler_static_GCJ
='-Bstatic'
16594 lt_prog_compiler_wl_GCJ
='-Wl,'
16595 # All Alpha code is PIC.
16596 lt_prog_compiler_static_GCJ
='-non_shared'
16599 case `$CC -V 2>&1 | sed 5q` in
16602 lt_prog_compiler_pic_GCJ
='-KPIC'
16603 lt_prog_compiler_static_GCJ
='-Bstatic'
16604 lt_prog_compiler_wl_GCJ
='-Wl,'
16607 # Sun Fortran 8.3 passes all unrecognized flags to the linker
16608 lt_prog_compiler_pic_GCJ
='-KPIC'
16609 lt_prog_compiler_static_GCJ
='-Bstatic'
16610 lt_prog_compiler_wl_GCJ
=''
16617 osf3
* | osf4
* | osf5
*)
16618 lt_prog_compiler_wl_GCJ
='-Wl,'
16619 # All OSF/1 code is PIC.
16620 lt_prog_compiler_static_GCJ
='-non_shared'
16624 lt_prog_compiler_static_GCJ
='-non_shared'
16628 lt_prog_compiler_pic_GCJ
='-KPIC'
16629 lt_prog_compiler_static_GCJ
='-Bstatic'
16630 case $cc_basename in
16631 f77
* | f90
* | f95
*)
16632 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
16634 lt_prog_compiler_wl_GCJ
='-Wl,';;
16639 lt_prog_compiler_wl_GCJ
='-Qoption ld '
16640 lt_prog_compiler_pic_GCJ
='-PIC'
16641 lt_prog_compiler_static_GCJ
='-Bstatic'
16644 sysv4 | sysv4.2uw2
* | sysv4.3
*)
16645 lt_prog_compiler_wl_GCJ
='-Wl,'
16646 lt_prog_compiler_pic_GCJ
='-KPIC'
16647 lt_prog_compiler_static_GCJ
='-Bstatic'
16651 if test -d /usr
/nec
;then
16652 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
16653 lt_prog_compiler_static_GCJ
='-Bstatic'
16657 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
16658 lt_prog_compiler_wl_GCJ
='-Wl,'
16659 lt_prog_compiler_pic_GCJ
='-KPIC'
16660 lt_prog_compiler_static_GCJ
='-Bstatic'
16664 lt_prog_compiler_wl_GCJ
='-Wl,'
16665 lt_prog_compiler_can_build_shared_GCJ
=no
16669 lt_prog_compiler_pic_GCJ
='-pic'
16670 lt_prog_compiler_static_GCJ
='-Bstatic'
16674 lt_prog_compiler_can_build_shared_GCJ
=no
16679 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16680 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
16683 # Check to make sure the PIC flag actually works.
16685 if test -n "$lt_prog_compiler_pic_GCJ"; then
16687 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16688 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
16689 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
16690 echo $ECHO_N "(cached) $ECHO_C" >&6
16692 lt_prog_compiler_pic_works_GCJ
=no
16693 ac_outfile
=conftest.
$ac_objext
16694 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16695 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
16696 # Insert the option either (1) after the last *FLAGS variable, or
16697 # (2) before a word containing "conftest.", or (3) at the end.
16698 # Note that $ac_compile itself does not contain backslashes and begins
16699 # with a dollar sign (not a hyphen), so the echo should work correctly.
16700 # The option is referenced via a variable to avoid confusing sed.
16701 lt_compile
=`echo "$ac_compile" | $SED \
16702 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16703 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16704 -e 's:$: $lt_compiler_flag:'`
16705 (eval echo "\"\$as_me:16705: $lt_compile\"" >&5)
16706 (eval "$lt_compile" 2>conftest.err
)
16708 cat conftest.err
>&5
16709 echo "$as_me:16709: \$? = $ac_status" >&5
16710 if (exit $ac_status) && test -s "$ac_outfile"; then
16711 # The compiler can only warn and ignore the option if not recognized
16712 # So say no if there are warnings other than the usual output.
16713 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16714 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16715 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16716 lt_prog_compiler_pic_works_GCJ
=yes
16722 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16723 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
16725 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
16726 case $lt_prog_compiler_pic_GCJ in
16728 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
16731 lt_prog_compiler_pic_GCJ
=
16732 lt_prog_compiler_can_build_shared_GCJ
=no
16737 # For platforms which do not support PIC, -DPIC is meaningless:
16739 lt_prog_compiler_pic_GCJ
=
16742 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
16747 # Check to make sure the static flag actually works.
16749 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
16750 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16751 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
16752 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
16753 echo $ECHO_N "(cached) $ECHO_C" >&6
16755 lt_prog_compiler_static_works_GCJ
=no
16756 save_LDFLAGS
="$LDFLAGS"
16757 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
16758 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
16759 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
16760 # The linker can only warn and ignore the option if not recognized
16761 # So say no if there are warnings
16762 if test -s conftest.err
; then
16763 # Append any errors to the config.log.
16764 cat conftest.err
1>&5
16765 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
16766 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16767 if diff conftest.exp conftest.er2
>/dev
/null
; then
16768 lt_prog_compiler_static_works_GCJ
=yes
16771 lt_prog_compiler_static_works_GCJ
=yes
16775 LDFLAGS
="$save_LDFLAGS"
16778 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
16779 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
16781 if test x
"$lt_prog_compiler_static_works_GCJ" = xyes
; then
16784 lt_prog_compiler_static_GCJ
=
16788 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16789 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
16790 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16791 echo $ECHO_N "(cached) $ECHO_C" >&6
16793 lt_cv_prog_compiler_c_o_GCJ
=no
16794 $rm -r conftest
2>/dev
/null
16798 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16800 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16801 # Insert the option either (1) after the last *FLAGS variable, or
16802 # (2) before a word containing "conftest.", or (3) at the end.
16803 # Note that $ac_compile itself does not contain backslashes and begins
16804 # with a dollar sign (not a hyphen), so the echo should work correctly.
16805 lt_compile
=`echo "$ac_compile" | $SED \
16806 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16807 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16808 -e 's:$: $lt_compiler_flag:'`
16809 (eval echo "\"\$as_me:16809: $lt_compile\"" >&5)
16810 (eval "$lt_compile" 2>out
/conftest.err
)
16812 cat out
/conftest.err
>&5
16813 echo "$as_me:16813: \$? = $ac_status" >&5
16814 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16816 # The compiler can only warn and ignore the option if not recognized
16817 # So say no if there are warnings
16818 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
16819 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16820 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16821 lt_cv_prog_compiler_c_o_GCJ
=yes
16826 # SGI C++ compiler will create directory out/ii_files/ for
16827 # template instantiation
16828 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
16829 $rm out
/* && rmdir out
16835 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16836 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
16839 hard_links
="nottested"
16840 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
16841 # do not overwrite the value of need_locks provided by the user
16842 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16843 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
16846 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16848 ln conftest.a conftest.b
2>&5 || hard_links
=no
16849 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16850 { echo "$as_me:$LINENO: result: $hard_links" >&5
16851 echo "${ECHO_T}$hard_links" >&6; }
16852 if test "$hard_links" = no
; then
16853 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16854 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16861 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16862 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
16865 allow_undefined_flag_GCJ
=
16866 enable_shared_with_static_runtimes_GCJ
=no
16868 archive_expsym_cmds_GCJ
=
16869 old_archive_From_new_cmds_GCJ
=
16870 old_archive_from_expsyms_cmds_GCJ
=
16871 export_dynamic_flag_spec_GCJ
=
16872 whole_archive_flag_spec_GCJ
=
16873 thread_safe_flag_spec_GCJ
=
16874 hardcode_libdir_flag_spec_GCJ
=
16875 hardcode_libdir_flag_spec_ld_GCJ
=
16876 hardcode_libdir_separator_GCJ
=
16877 hardcode_direct_GCJ
=no
16878 hardcode_minus_L_GCJ
=no
16879 hardcode_shlibpath_var_GCJ
=unsupported
16880 link_all_deplibs_GCJ
=unknown
16881 hardcode_automatic_GCJ
=no
16883 module_expsym_cmds_GCJ
=
16884 always_export_symbols_GCJ
=no
16885 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16886 # include_expsyms should be a list of space-separated symbols to be *always*
16887 # included in the symbol list
16888 include_expsyms_GCJ
=
16889 # exclude_expsyms can be an extended regexp of symbols to exclude
16890 # it will be wrapped by ` (' and `)$', so one must not match beginning or
16891 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16892 # as well as any symbol that contains `d'.
16893 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
16894 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16895 # platforms (ab)use it in PIC code, but their linkers get confused if
16896 # the symbol is explicitly referenced. Since portable code cannot
16897 # rely on this symbol name, it's probably fine to never include it in
16898 # preloaded symbol tables.
16899 extract_expsyms_cmds
=
16900 # Just being paranoid about ensuring that cc_basename is set.
16901 for cc_temp
in $compiler""; do
16903 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16904 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16909 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16912 cygwin
* | mingw
* | pw32
*)
16913 # FIXME: the MSVC++ port hasn't been tested in a loooong time
16914 # When not using gcc, we currently assume that we are using
16915 # Microsoft Visual C++.
16916 if test "$GCC" != yes; then
16921 # we just hope/assume this is gcc and not c89 (= MSVC++)
16930 if test "$with_gnu_ld" = yes; then
16931 # If archive_cmds runs LD, not CC, wlarc should be empty
16934 # Set some defaults for GNU ld with shared library support. These
16935 # are reset later if shared libraries are not supported. Putting them
16936 # here allows them to be overridden if necessary.
16937 runpath_var
=LD_RUN_PATH
16938 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
16939 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
16940 # ancient GNU ld didn't support --whole-archive et. al.
16941 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
16942 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16944 whole_archive_flag_spec_GCJ
=
16946 supports_anon_versioning
=no
16947 case `$LD -v 2>/dev/null` in
16948 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
16949 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
16950 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
16951 *\
2.11.
*) ;; # other 2.11 versions
16952 *) supports_anon_versioning
=yes ;;
16955 # See if GNU ld supports shared libraries.
16957 aix3
* | aix4
* | aix5
*)
16958 # On AIX/PPC, the GNU linker is very broken
16959 if test "$host_cpu" != ia64
; then
16963 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
16964 *** to be unable to reliably create shared libraries on AIX.
16965 *** Therefore, libtool is disabling shared libraries support. If you
16966 *** really care for shared libraries, you may want to modify your PATH
16967 *** so that a non-GNU linker is found, and then restart.
16974 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)'
16975 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16976 hardcode_minus_L_GCJ
=yes
16978 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16979 # that the semantics of dynamic libraries on AmigaOS, at least up
16980 # to version 4, is to share data among multiple programs linked
16981 # with the same dynamic library. Since this doesn't match the
16982 # behavior of shared libraries on other platforms, we can't use
16988 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16989 allow_undefined_flag_GCJ
=unsupported
16990 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16991 # support --undefined. This deserves some investigation. FIXME
16992 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16998 cygwin
* | mingw
* | pw32
*)
16999 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
17000 # as there is no search path for DLLs.
17001 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17002 allow_undefined_flag_GCJ
=unsupported
17003 always_export_symbols_GCJ
=no
17004 enable_shared_with_static_runtimes_GCJ
=yes
17005 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
17007 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
17008 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17009 # If the export-symbols file already is a .def file (1st line
17010 # is EXPORTS), use it as is; otherwise, prepend...
17011 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17012 cp $export_symbols $output_objdir/$soname.def;
17014 echo EXPORTS > $output_objdir/$soname.def;
17015 cat $export_symbols >> $output_objdir/$soname.def;
17017 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17024 hardcode_direct_GCJ
=no
17025 hardcode_shlibpath_var_GCJ
=no
17026 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17027 export_dynamic_flag_spec_GCJ
='${wl}-E'
17028 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17029 # Instead, shared libraries are loaded at an image base (0x10000000 by
17030 # default) and relocated if they conflict, which is a slow very memory
17031 # consuming and fragmenting process. To avoid this, we pick a random,
17032 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17033 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
17034 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'
17035 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'
17038 gnu
* | linux
* | k
*bsd
*-gnu)
17039 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17041 case $cc_basename,$host_cpu in
17042 pgcc
*) # Portland Group C compiler
17043 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'
17044 tmp_addflag
=' $pic_flag'
17046 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
17047 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'
17048 tmp_addflag
=' $pic_flag -Mnomain' ;;
17049 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
17050 tmp_addflag
=' -i_dynamic' ;;
17051 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
17052 tmp_addflag
=' -i_dynamic -nofor_main' ;;
17053 ifc
* | ifort
*) # Intel Fortran compiler
17054 tmp_addflag
=' -nofor_main' ;;
17056 case `$CC -V 2>&1 | sed 5q` in
17057 *Sun\ C
*) # Sun C 5.9
17058 whole_archive_flag_spec_GCJ
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
17059 tmp_sharedflag
='-G' ;;
17060 *Sun\ F
*) # Sun Fortran 8.3
17061 tmp_sharedflag
='-G' ;;
17063 tmp_sharedflag
='-shared' ;;
17065 archive_cmds_GCJ
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17067 if test $supports_anon_versioning = yes; then
17068 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
17069 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17070 $echo "local: *; };" >> $output_objdir/$libname.ver~
17071 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17079 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17080 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17083 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17084 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17089 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
17093 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
17094 *** create shared libraries on Solaris systems. Therefore, libtool
17095 *** is disabling shared libraries support. We urge you to upgrade GNU
17096 *** binutils to release 2.9.1 or newer. Another option is to modify
17097 *** your PATH or compiler configuration so that the native linker is
17098 *** used, and then restart.
17101 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17102 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17103 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17109 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
17110 case `$LD -v 2>&1` in
17111 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
17115 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17116 *** reliably create shared libraries on SCO systems. Therefore, libtool
17117 *** is disabling shared libraries support. We urge you to upgrade GNU
17118 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
17119 *** your PATH or compiler configuration so that the native linker is
17120 *** used, and then restart.
17125 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17126 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
17127 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
17128 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17137 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17139 hardcode_direct_GCJ
=yes
17140 hardcode_shlibpath_var_GCJ
=no
17144 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17145 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17146 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17153 if test "$ld_shlibs_GCJ" = no
; then
17155 hardcode_libdir_flag_spec_GCJ
=
17156 export_dynamic_flag_spec_GCJ
=
17157 whole_archive_flag_spec_GCJ
=
17160 # PORTME fill in a description of your system's linker (not GNU ld)
17163 allow_undefined_flag_GCJ
=unsupported
17164 always_export_symbols_GCJ
=yes
17165 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'
17166 # Note: this linker hardcodes the directories in LIBPATH if there
17167 # are no directories specified by -L.
17168 hardcode_minus_L_GCJ
=yes
17169 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17170 # Neither direct hardcoding nor static linking is supported with a
17172 hardcode_direct_GCJ
=unsupported
17177 if test "$host_cpu" = ia64
; then
17178 # On IA64, the linker does run time linking by default, so we don't
17179 # have to do anything special.
17180 aix_use_runtimelinking
=no
17181 exp_sym_flag
='-Bexport'
17184 # If we're using GNU nm, then we don't want the "-C" option.
17185 # -C means demangle to AIX nm, but means don't demangle with GNU nm
17186 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
17187 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'
17189 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'
17191 aix_use_runtimelinking
=no
17193 # Test if we are trying to use run time linking or normal
17194 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17195 # need to do runtime linking.
17196 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
17197 for ld_flag
in $LDFLAGS; do
17198 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
17199 aix_use_runtimelinking
=yes
17206 exp_sym_flag
='-bexport'
17207 no_entry_flag
='-bnoentry'
17210 # When large executables or shared objects are built, AIX ld can
17211 # have problems creating the table of contents. If linking a library
17212 # or program results in "error TOC overflow" add -mminimal-toc to
17213 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
17214 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17216 archive_cmds_GCJ
=''
17217 hardcode_direct_GCJ
=yes
17218 hardcode_libdir_separator_GCJ
=':'
17219 link_all_deplibs_GCJ
=yes
17221 if test "$GCC" = yes; then
17222 case $host_os in aix4.
[012]|aix4.
[012].
*)
17223 # We only want to do this on AIX 4.2 and lower, the check
17224 # below for broken collect2 doesn't work under 4.3+
17225 collect2name
=`${CC} -print-prog-name=collect2`
17226 if test -f "$collect2name" && \
17227 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
17229 # We have reworked collect2
17232 # We have old collect2
17233 hardcode_direct_GCJ
=unsupported
17234 # It fails to find uninstalled libraries when the uninstalled
17235 # path is not listed in the libpath. Setting hardcode_minus_L
17236 # to unsupported forces relinking
17237 hardcode_minus_L_GCJ
=yes
17238 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17239 hardcode_libdir_separator_GCJ
=
17243 shared_flag
='-shared'
17244 if test "$aix_use_runtimelinking" = yes; then
17245 shared_flag
="$shared_flag "'${wl}-G'
17249 if test "$host_cpu" = ia64
; then
17250 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17251 # chokes on -Wl,-G. The following line is correct:
17254 if test "$aix_use_runtimelinking" = yes; then
17255 shared_flag
='${wl}-G'
17257 shared_flag
='${wl}-bM:SRE'
17262 # It seems that -bexpall does not export symbols beginning with
17263 # underscore (_), so it is better to generate a list of symbols to export.
17264 always_export_symbols_GCJ
=yes
17265 if test "$aix_use_runtimelinking" = yes; then
17266 # Warning - without using the other runtime loading flags (-brtl),
17267 # -berok will link without error, but may produce a broken library.
17268 allow_undefined_flag_GCJ
='-berok'
17269 # Determine the default libpath from the value encoded in an empty executable.
17270 cat >conftest.
$ac_ext <<_ACEOF
17273 cat confdefs.h
>>conftest.
$ac_ext
17274 cat >>conftest.
$ac_ext <<_ACEOF
17275 /* end confdefs.h. */
17285 rm -f conftest.
$ac_objext conftest
$ac_exeext
17286 if { (ac_try
="$ac_link"
17287 case "(($ac_try" in
17288 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17289 *) ac_try_echo=$ac_try;;
17291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17292 (eval "$ac_link") 2>conftest.er1
17294 grep -v '^ *+' conftest.er1 >conftest.err
17296 cat conftest.err >&5
17297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17298 (exit $ac_status); } && {
17299 test -z "$ac_c_werror_flag" ||
17300 test ! -s conftest.err
17301 } && test -s conftest$ac_exeext &&
17302 $as_test_x conftest$ac_exeext; then
17304 lt_aix_libpath_sed='
17305 /Import File Strings/,/^$/ {
17311 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
17312 # Check for a 64-bit object if we didn't find anything.
17313 if test -z "$aix_libpath"; then
17314 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
17317 echo "$as_me: failed program was:" >&5
17318 sed 's/^/| /' conftest.$ac_ext >&5
17323 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17324 conftest$ac_exeext conftest.$ac_ext
17325 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17327 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17328 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"
17330 if test "$host_cpu" = ia64; then
17331 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
17332 allow_undefined_flag_GCJ="-z nodefs"
17333 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"
17335 # Determine the default libpath from the value encoded in an empty executable.
17336 cat >conftest.$ac_ext <<_ACEOF
17339 cat confdefs.h >>conftest.$ac_ext
17340 cat >>conftest.$ac_ext <<_ACEOF
17341 /* end confdefs.h. */
17351 rm -f conftest.$ac_objext conftest$ac_exeext
17352 if { (ac_try="$ac_link"
17353 case "(($ac_try" in
17354 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17355 *) ac_try_echo
=$ac_try;;
17357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17358 (eval "$ac_link") 2>conftest.er1
17360 grep -v '^ *+' conftest.er1
>conftest.err
17362 cat conftest.err
>&5
17363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17364 (exit $ac_status); } && {
17365 test -z "$ac_c_werror_flag" ||
17366 test ! -s conftest.err
17367 } && test -s conftest
$ac_exeext &&
17368 $as_test_x conftest
$ac_exeext; then
17370 lt_aix_libpath_sed
='
17371 /Import File Strings/,/^$/ {
17377 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17378 # Check for a 64-bit object if we didn't find anything.
17379 if test -z "$aix_libpath"; then
17380 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17383 echo "$as_me: failed program was:" >&5
17384 sed 's/^/| /' conftest.
$ac_ext >&5
17389 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17390 conftest
$ac_exeext conftest.
$ac_ext
17391 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
17393 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
17394 # Warning - without using the other run time loading flags,
17395 # -berok will link without error, but may produce a broken library.
17396 no_undefined_flag_GCJ
=' ${wl}-bernotok'
17397 allow_undefined_flag_GCJ
=' ${wl}-berok'
17398 # Exported symbols can be pulled into shared objects from archives
17399 whole_archive_flag_spec_GCJ
='$convenience'
17400 archive_cmds_need_lc_GCJ
=yes
17401 # This is similar to how AIX traditionally builds its shared libraries.
17402 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'
17408 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)'
17409 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17410 hardcode_minus_L_GCJ
=yes
17411 # see comment about different semantics on the GNU ld section
17416 export_dynamic_flag_spec_GCJ
=-rdynamic
17419 cygwin
* | mingw
* | pw32
*)
17420 # When not using gcc, we currently assume that we are using
17421 # Microsoft Visual C++.
17422 # hardcode_libdir_flag_spec is actually meaningless, as there is
17423 # no search path for DLLs.
17424 hardcode_libdir_flag_spec_GCJ
=' '
17425 allow_undefined_flag_GCJ
=unsupported
17426 # Tell ltmain to make .lib files, not .a files.
17428 # Tell ltmain to make .dll files, not .so files.
17430 # FIXME: Setting linknames here is a bad hack.
17431 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17432 # The linker will automatically build a .lib file if we build a DLL.
17433 old_archive_From_new_cmds_GCJ
='true'
17434 # FIXME: Should let the user specify the lib program.
17435 old_archive_cmds_GCJ
='lib -OUT:$oldlib$oldobjs$old_deplibs'
17436 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
17437 enable_shared_with_static_runtimes_GCJ
=yes
17440 darwin
* | rhapsody
*)
17442 rhapsody
* | darwin1.
[012])
17443 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
17446 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17447 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17449 case ${MACOSX_DEPLOYMENT_TARGET} in
17451 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17454 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
17460 archive_cmds_need_lc_GCJ
=no
17461 hardcode_direct_GCJ
=no
17462 hardcode_automatic_GCJ
=yes
17463 hardcode_shlibpath_var_GCJ
=unsupported
17464 whole_archive_flag_spec_GCJ
=''
17465 link_all_deplibs_GCJ
=yes
17466 if test "$GCC" = yes ; then
17467 output_verbose_link_cmd
='echo'
17468 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17469 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17470 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17471 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17472 module_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17474 case $cc_basename in
17476 output_verbose_link_cmd
='echo'
17477 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
17478 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17479 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17480 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17481 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}'
17491 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17492 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17493 hardcode_shlibpath_var_GCJ
=no
17500 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17501 # support. Future versions do this automatically, but an explicit c++rt0.o
17502 # does not break anything, and helps significantly (at the cost of a little
17505 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17506 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17507 hardcode_direct_GCJ
=yes
17508 hardcode_shlibpath_var_GCJ
=no
17511 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17513 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17514 hardcode_direct_GCJ
=yes
17515 hardcode_minus_L_GCJ
=yes
17516 hardcode_shlibpath_var_GCJ
=no
17519 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17520 freebsd
* | dragonfly
*)
17521 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17522 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17523 hardcode_direct_GCJ
=yes
17524 hardcode_shlibpath_var_GCJ
=no
17528 if test "$GCC" = yes; then
17529 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'
17531 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'
17533 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17534 hardcode_libdir_separator_GCJ
=:
17535 hardcode_direct_GCJ
=yes
17537 # hardcode_minus_L: Not really in the search PATH,
17538 # but as the default location of the library.
17539 hardcode_minus_L_GCJ
=yes
17540 export_dynamic_flag_spec_GCJ
='${wl}-E'
17544 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17545 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17547 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17549 if test "$with_gnu_ld" = no
; then
17550 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17551 hardcode_libdir_separator_GCJ
=:
17553 hardcode_direct_GCJ
=yes
17554 export_dynamic_flag_spec_GCJ
='${wl}-E'
17556 # hardcode_minus_L: Not really in the search PATH,
17557 # but as the default location of the library.
17558 hardcode_minus_L_GCJ
=yes
17563 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17566 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17569 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17572 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17578 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17581 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17584 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17588 if test "$with_gnu_ld" = no
; then
17589 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17590 hardcode_libdir_separator_GCJ
=:
17594 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
17595 hardcode_direct_GCJ
=no
17596 hardcode_shlibpath_var_GCJ
=no
17599 hardcode_direct_GCJ
=yes
17600 export_dynamic_flag_spec_GCJ
='${wl}-E'
17602 # hardcode_minus_L: Not really in the search PATH,
17603 # but as the default location of the library.
17604 hardcode_minus_L_GCJ
=yes
17610 irix5
* | irix6
* | nonstopux
*)
17611 if test "$GCC" = yes; then
17612 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'
17614 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'
17615 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
17617 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17618 hardcode_libdir_separator_GCJ
=:
17619 link_all_deplibs_GCJ
=yes
17623 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17624 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
17626 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
17628 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17629 hardcode_direct_GCJ
=yes
17630 hardcode_shlibpath_var_GCJ
=no
17634 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17635 hardcode_direct_GCJ
=yes
17636 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17637 hardcode_libdir_separator_GCJ
=:
17638 hardcode_shlibpath_var_GCJ
=no
17642 if test -f /usr
/libexec
/ld.so
; then
17643 hardcode_direct_GCJ
=yes
17644 hardcode_shlibpath_var_GCJ
=no
17645 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17646 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17647 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17648 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17649 export_dynamic_flag_spec_GCJ
='${wl}-E'
17652 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
17653 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17654 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17657 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17658 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17668 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17669 hardcode_minus_L_GCJ
=yes
17670 allow_undefined_flag_GCJ
=unsupported
17671 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'
17672 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17676 if test "$GCC" = yes; then
17677 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17678 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'
17680 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17681 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'
17683 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17684 hardcode_libdir_separator_GCJ
=:
17687 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
17688 if test "$GCC" = yes; then
17689 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17690 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'
17691 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17693 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17694 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'
17695 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~
17696 $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'
17698 # Both c and cxx compiler support -rpath directly
17699 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
17701 hardcode_libdir_separator_GCJ
=:
17705 no_undefined_flag_GCJ
=' -z text'
17706 if test "$GCC" = yes; then
17708 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17709 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17710 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
17713 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17714 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17715 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17717 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17718 hardcode_shlibpath_var_GCJ
=no
17720 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
17722 # The compiler driver will combine and reorder linker options,
17723 # but understands `-z linker_flag'. GCC discards it without `$wl',
17724 # but is careful enough not to reorder.
17725 # Supported since Solaris 2.6 (maybe 2.5.1?)
17726 if test "$GCC" = yes; then
17727 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
17729 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract'
17733 link_all_deplibs_GCJ
=yes
17737 if test "x$host_vendor" = xsequent
; then
17738 # Use $CC to link under sequent, because it throws in some extra .o
17739 # files that make .init and .fini sections work.
17740 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17742 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17744 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17745 hardcode_direct_GCJ
=yes
17746 hardcode_minus_L_GCJ
=yes
17747 hardcode_shlibpath_var_GCJ
=no
17751 case $host_vendor in
17753 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17754 hardcode_direct_GCJ
=yes # is this really true???
17757 ## LD is ld it makes a PLAMLIB
17758 ## CC just makes a GrossModule.
17759 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17760 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
17761 hardcode_direct_GCJ
=no
17764 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17765 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
17768 runpath_var
='LD_RUN_PATH'
17769 hardcode_shlibpath_var_GCJ
=no
17773 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17774 hardcode_shlibpath_var_GCJ
=no
17775 export_dynamic_flag_spec_GCJ
='-Bexport'
17779 if test -d /usr
/nec
; then
17780 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17781 hardcode_shlibpath_var_GCJ
=no
17782 runpath_var
=LD_RUN_PATH
17783 hardcode_runpath_var
=yes
17788 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
17789 no_undefined_flag_GCJ
='${wl}-z,text'
17790 archive_cmds_need_lc_GCJ
=no
17791 hardcode_shlibpath_var_GCJ
=no
17792 runpath_var
='LD_RUN_PATH'
17794 if test "$GCC" = yes; then
17795 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17796 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17798 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17799 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17803 sysv5
* | sco3.2v5
* | sco5v6
*)
17804 # Note: We can NOT use -z defs as we might desire, because we do not
17805 # link with -lc, and that would cause any symbols used from libc to
17806 # always be unresolved, which means just about no library would
17807 # ever link correctly. If we're not using GNU ld we use -z text
17808 # though, which does catch some bad symbols but isn't as heavy-handed
17810 no_undefined_flag_GCJ
='${wl}-z,text'
17811 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
17812 archive_cmds_need_lc_GCJ
=no
17813 hardcode_shlibpath_var_GCJ
=no
17814 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
17815 hardcode_libdir_separator_GCJ
=':'
17816 link_all_deplibs_GCJ
=yes
17817 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
17818 runpath_var
='LD_RUN_PATH'
17820 if test "$GCC" = yes; then
17821 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17822 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17824 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17825 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17830 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17831 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17832 hardcode_shlibpath_var_GCJ
=no
17841 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17842 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
17843 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
17846 # Do we need to explicitly link libc?
17848 case "x$archive_cmds_need_lc_GCJ" in
17850 # Assume -lc should be added
17851 archive_cmds_need_lc_GCJ
=yes
17853 if test "$enable_shared" = yes && test "$GCC" = yes; then
17854 case $archive_cmds_GCJ in
17856 # FIXME: we may have to deal with multi-command sequences.
17859 # Test whether the compiler implicitly links with -lc since on some
17860 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17861 # to ld, don't add -lc before -lgcc.
17862 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17863 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
17865 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17868 (eval $ac_compile) 2>&5
17870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17871 (exit $ac_status); } 2>conftest.err
; then
17874 libobjs
=conftest.
$ac_objext
17876 wl
=$lt_prog_compiler_wl_GCJ
17877 pic_flag
=$lt_prog_compiler_pic_GCJ
17883 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
17884 allow_undefined_flag_GCJ
=
17885 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
17886 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
17888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17889 (exit $ac_status); }
17891 archive_cmds_need_lc_GCJ
=no
17893 archive_cmds_need_lc_GCJ
=yes
17895 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
17897 cat conftest.err
1>&5
17900 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17901 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
17908 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17909 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
17910 library_names_spec
=
17911 libname_spec
='lib$name'
17915 postuninstall_cmds
=
17919 shlibpath_overrides_runpath
=unknown
17921 dynamic_linker
="$host_os ld.so"
17922 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
17924 need_lib_prefix
=unknown
17925 hardcode_into_libs
=no
17927 # when you set need_version to no, make sure it does not cause -set_version
17928 # flags to be left without arguments
17929 need_version
=unknown
17934 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
17935 shlibpath_var
=LIBPATH
17937 # AIX 3 has no versioning support, so we append a major version to the name.
17938 soname_spec
='${libname}${release}${shared_ext}$major'
17945 hardcode_into_libs
=yes
17946 if test "$host_cpu" = ia64
; then
17947 # AIX 5 supports IA64
17948 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17949 shlibpath_var
=LD_LIBRARY_PATH
17951 # With GCC up to 2.95.x, collect2 would create an import file
17952 # for dependence libraries. The import file would start with
17953 # the line `#! .'. This would cause the generated library to
17954 # depend on `.', always an invalid library. This was fixed in
17955 # development snapshots of GCC prior to 3.0.
17957 aix4 | aix4.
[01] | aix4.
[01].
*)
17958 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17960 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
17963 can_build_shared
=no
17967 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17968 # soname into executable. Probably we can add versioning support to
17969 # collect2, so additional links can be useful in future.
17970 if test "$aix_use_runtimelinking" = yes; then
17971 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17972 # instead of lib<name>.a to let people know that these are not
17973 # typical AIX shared libraries.
17974 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17976 # We preserve .a as extension for shared libraries through AIX4.2
17977 # and later when we are not doing run time linking.
17978 library_names_spec
='${libname}${release}.a $libname.a'
17979 soname_spec
='${libname}${release}${shared_ext}$major'
17981 shlibpath_var
=LIBPATH
17986 library_names_spec
='$libname.ixlibrary $libname.a'
17987 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17988 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'
17992 library_names_spec
='${libname}${shared_ext}'
17993 dynamic_linker
="$host_os ld.so"
17994 shlibpath_var
=LIBRARY_PATH
18000 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18001 soname_spec
='${libname}${release}${shared_ext}$major'
18002 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
18003 shlibpath_var
=LD_LIBRARY_PATH
18004 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18005 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
18006 # the default ld.so.conf also contains /usr/contrib/lib and
18007 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18008 # libtool to hard-code these into programs
18011 cygwin
* | mingw
* | pw32
*)
18012 version_type
=windows
18017 case $GCC,$host_os in
18018 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
18019 library_names_spec
='$libname.dll.a'
18020 # DLL is installed to $(libdir)/../bin by postinstall_cmds
18021 postinstall_cmds
='base_file=`basename \${file}`~
18022 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18023 dldir=$destdir/`dirname \$dlpath`~
18024 test -d \$dldir || mkdir -p \$dldir~
18025 $install_prog $dir/$dlname \$dldir/$dlname~
18026 chmod a+x \$dldir/$dlname'
18027 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18028 dlpath=$dir/\$dldll~
18030 shlibpath_overrides_runpath
=yes
18034 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18035 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18036 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
18039 # MinGW DLLs use traditional 'lib' prefix
18040 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18041 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18042 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
18043 # It is most probably a Windows format PATH printed by
18044 # mingw gcc, but we are running on Cygwin. Gcc prints its search
18045 # path with ; separators, and with drive letters. We can handle the
18046 # drive letters (cygwin fileutils understands them), so leave them,
18047 # especially as we might pass files found there to a mingw objdump,
18048 # which wouldn't understand a cygwinified path. Ahh.
18049 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18051 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18055 # pw32 DLLs use 'pw' prefix rather than 'lib'
18056 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18062 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18065 dynamic_linker
='Win32 ld.exe'
18066 # FIXME: first we should search . and the directory the executable is in
18070 darwin
* | rhapsody
*)
18071 dynamic_linker
="$host_os dyld"
18072 version_type
=darwin
18075 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18076 soname_spec
='${libname}${release}${major}$shared_ext'
18077 shlibpath_overrides_runpath
=yes
18078 shlibpath_var
=DYLD_LIBRARY_PATH
18079 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
18081 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
18088 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18089 soname_spec
='${libname}${release}${shared_ext}$major'
18090 shlibpath_var
=LD_LIBRARY_PATH
18097 freebsd
* | dragonfly
*)
18098 # DragonFly does not have aout. When/if they implement a new
18099 # versioning mechanism, adjust this.
18100 if test -x /usr
/bin
/objformat
; then
18101 objformat
=`/usr/bin/objformat`
18104 freebsd
[123]*) objformat
=aout
;;
18105 *) objformat
=elf
;;
18108 version_type
=freebsd-
$objformat
18109 case $version_type in
18111 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18116 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18120 shlibpath_var
=LD_LIBRARY_PATH
18123 shlibpath_overrides_runpath
=yes
18125 freebsd3.
[01]* | freebsdelf3.
[01]*)
18126 shlibpath_overrides_runpath
=yes
18127 hardcode_into_libs
=yes
18129 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
18130 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
18131 shlibpath_overrides_runpath
=no
18132 hardcode_into_libs
=yes
18134 *) # from 4.6 on, and DragonFly
18135 shlibpath_overrides_runpath
=yes
18136 hardcode_into_libs
=yes
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 shlibpath_var
=LD_LIBRARY_PATH
18148 hardcode_into_libs
=yes
18151 hpux9
* | hpux10
* | hpux11
*)
18152 # Give a soname corresponding to the major version so that dld.sl refuses to
18153 # link against other versions.
18160 hardcode_into_libs
=yes
18161 dynamic_linker
="$host_os dld.so"
18162 shlibpath_var
=LD_LIBRARY_PATH
18163 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18164 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18165 soname_spec
='${libname}${release}${shared_ext}$major'
18166 if test "X$HPUX_IA64_MODE" = X32
; then
18167 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18169 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
18171 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18175 hardcode_into_libs
=yes
18176 dynamic_linker
="$host_os dld.sl"
18177 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
18178 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18179 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18180 soname_spec
='${libname}${release}${shared_ext}$major'
18181 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18182 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18186 dynamic_linker
="$host_os dld.sl"
18187 shlibpath_var
=SHLIB_PATH
18188 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
18189 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18190 soname_spec
='${libname}${release}${shared_ext}$major'
18193 # HP-UX runs *really* slowly unless shared libraries are mode 555.
18194 postinstall_cmds
='chmod 555 $lib'
18201 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18202 soname_spec
='${libname}${release}${shared_ext}$major'
18203 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
18204 shlibpath_var
=LD_LIBRARY_PATH
18205 shlibpath_overrides_runpath
=no
18206 hardcode_into_libs
=yes
18209 irix5
* | irix6
* | nonstopux
*)
18211 nonstopux
*) version_type
=nonstopux
;;
18213 if test "$lt_cv_prog_gnu_ld" = yes; then
18221 soname_spec
='${libname}${release}${shared_ext}$major'
18222 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18224 irix5
* | nonstopux
*)
18225 libsuff
= shlibsuff
=
18228 case $LD in # libtool.m4 will add one of these switches to LD
18229 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
18230 libsuff
= shlibsuff
= libmagic
=32-bit;;
18231 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
18232 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
18233 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
18234 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
18235 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
18239 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
18240 shlibpath_overrides_runpath
=no
18241 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18242 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
18243 hardcode_into_libs
=yes
18246 # No shared lib support for Linux oldld, aout, or coff.
18247 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
18251 # This must be Linux ELF.
18252 linux
* | k
*bsd
*-gnu)
18256 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18257 soname_spec
='${libname}${release}${shared_ext}$major'
18258 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18259 shlibpath_var
=LD_LIBRARY_PATH
18260 shlibpath_overrides_runpath
=no
18261 # This implies no fast_install, which is unacceptable.
18262 # Some rework will be needed to allow for fast_install
18263 # before this can be enabled.
18264 hardcode_into_libs
=yes
18265 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18266 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
18268 # Append ld.so.conf contents to the search path
18269 if test -f /etc
/ld.so.conf
; then
18270 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
18271 sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec $lt_ld_extra"
18274 # We used to test for /lib/ld.so.1 and disable shared libraries on
18275 # powerpc, because MkLinux only supported shared libraries with the
18276 # GNU dynamic linker. Since this was broken with cross compilers,
18277 # most powerpc-linux boxes support dynamic linking these days and
18278 # people can always --disable-shared, the test was removed, and we
18279 # assume the GNU/Linux dynamic linker is in use.
18280 dynamic_linker
='GNU/Linux ld.so'
18287 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18288 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18289 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18290 dynamic_linker
='NetBSD (a.out) ld.so'
18292 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18293 soname_spec
='${libname}${release}${shared_ext}$major'
18294 dynamic_linker
='NetBSD ld.elf_so'
18296 shlibpath_var
=LD_LIBRARY_PATH
18297 shlibpath_overrides_runpath
=yes
18298 hardcode_into_libs
=yes
18303 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18304 shlibpath_var
=LD_LIBRARY_PATH
18305 shlibpath_overrides_runpath
=yes
18312 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18313 soname_spec
='${libname}${release}${shared_ext}$major'
18314 shlibpath_var
=LD_LIBRARY_PATH
18315 shlibpath_overrides_runpath
=yes
18320 sys_lib_dlsearch_path_spec
="/usr/lib"
18322 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18324 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
18325 *) need_version
=no
;;
18327 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18328 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18329 shlibpath_var
=LD_LIBRARY_PATH
18330 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18332 openbsd2.
[89] | openbsd2.
[89].
*)
18333 shlibpath_overrides_runpath
=no
18336 shlibpath_overrides_runpath
=yes
18340 shlibpath_overrides_runpath
=yes
18345 libname_spec
='$name'
18348 library_names_spec
='$libname${shared_ext} $libname.a'
18349 dynamic_linker
='OS/2 ld.exe'
18350 shlibpath_var
=LIBPATH
18353 osf3
* | osf4
* | osf5
*)
18357 soname_spec
='${libname}${release}${shared_ext}$major'
18358 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18359 shlibpath_var
=LD_LIBRARY_PATH
18360 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18361 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
18372 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18373 soname_spec
='${libname}${release}${shared_ext}$major'
18374 shlibpath_var
=LD_LIBRARY_PATH
18375 shlibpath_overrides_runpath
=yes
18376 hardcode_into_libs
=yes
18377 # ldd complains unless libraries are executable
18378 postinstall_cmds
='chmod +x $lib'
18383 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18384 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18385 shlibpath_var
=LD_LIBRARY_PATH
18386 shlibpath_overrides_runpath
=yes
18387 if test "$with_gnu_ld" = yes; then
18395 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18396 soname_spec
='${libname}${release}${shared_ext}$major'
18397 shlibpath_var
=LD_LIBRARY_PATH
18398 case $host_vendor in
18400 shlibpath_overrides_runpath
=no
18402 export_dynamic_flag_spec
='${wl}-Blargedynsym'
18403 runpath_var
=LD_RUN_PATH
18411 shlibpath_overrides_runpath
=no
18412 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
18418 if test -d /usr
/nec
;then
18420 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18421 soname_spec
='$libname${shared_ext}.$major'
18422 shlibpath_var
=LD_LIBRARY_PATH
18426 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
18427 version_type
=freebsd-elf
18430 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18431 soname_spec
='${libname}${release}${shared_ext}$major'
18432 shlibpath_var
=LD_LIBRARY_PATH
18433 hardcode_into_libs
=yes
18434 if test "$with_gnu_ld" = yes; then
18435 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18436 shlibpath_overrides_runpath
=no
18438 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
18439 shlibpath_overrides_runpath
=yes
18442 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
18446 sys_lib_dlsearch_path_spec
='/usr/lib'
18451 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18452 soname_spec
='${libname}${release}${shared_ext}$major'
18453 shlibpath_var
=LD_LIBRARY_PATH
18460 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18461 echo "${ECHO_T}$dynamic_linker" >&6; }
18462 test "$dynamic_linker" = no
&& can_build_shared
=no
18464 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
18465 if test "$GCC" = yes; then
18466 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18469 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18470 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
18471 hardcode_action_GCJ
=
18472 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18473 test -n "$runpath_var_GCJ" || \
18474 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18476 # We can hardcode non-existant directories.
18477 if test "$hardcode_direct_GCJ" != no
&&
18478 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18479 # have to relink, otherwise we might link with an installed library
18480 # when we should be linking with a yet-to-be-installed one
18481 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18482 test "$hardcode_minus_L_GCJ" != no
; then
18483 # Linking always hardcodes the temporary library directory.
18484 hardcode_action_GCJ
=relink
18486 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18487 hardcode_action_GCJ
=immediate
18490 # We cannot hardcode anything, or else we can only hardcode existing
18492 hardcode_action_GCJ
=unsupported
18494 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18495 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
18497 if test "$hardcode_action_GCJ" = relink
; then
18498 # Fast installation is not supported
18499 enable_fast_install
=no
18500 elif test "$shlibpath_overrides_runpath" = yes ||
18501 test "$enable_shared" = no
; then
18502 # Fast installation is not necessary
18503 enable_fast_install
=needless
18507 # The else clause should only fire when bootstrapping the
18508 # libtool distribution, otherwise you forgot to ship ltmain.sh
18509 # with your package, and you will get complaints that there are
18510 # no rules to generate ltmain.sh.
18511 if test -f "$ltmain"; then
18512 # See if we are running on zsh, and set the options which allow our commands through
18513 # without removal of \ escapes.
18514 if test -n "${ZSH_VERSION+set}" ; then
18515 setopt NO_GLOB_SUBST
18517 # Now quote all the things that may contain metacharacters while being
18518 # careful not to overquote the AC_SUBSTed values. We take copies of the
18519 # variables and quote the copies for generation of the libtool script.
18520 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18522 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18523 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18524 deplibs_check_method reload_flag reload_cmds need_locks \
18525 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18526 lt_cv_sys_global_symbol_to_c_name_address \
18527 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18528 old_postinstall_cmds old_postuninstall_cmds \
18532 lt_prog_compiler_wl_GCJ \
18533 lt_prog_compiler_pic_GCJ \
18534 lt_prog_compiler_static_GCJ \
18535 lt_prog_compiler_no_builtin_flag_GCJ \
18536 export_dynamic_flag_spec_GCJ \
18537 thread_safe_flag_spec_GCJ \
18538 whole_archive_flag_spec_GCJ \
18539 enable_shared_with_static_runtimes_GCJ \
18540 old_archive_cmds_GCJ \
18541 old_archive_from_new_cmds_GCJ \
18542 predep_objects_GCJ \
18543 postdep_objects_GCJ \
18546 compiler_lib_search_path_GCJ \
18548 archive_expsym_cmds_GCJ \
18549 postinstall_cmds_GCJ \
18550 postuninstall_cmds_GCJ \
18551 old_archive_from_expsyms_cmds_GCJ \
18552 allow_undefined_flag_GCJ \
18553 no_undefined_flag_GCJ \
18554 export_symbols_cmds_GCJ \
18555 hardcode_libdir_flag_spec_GCJ \
18556 hardcode_libdir_flag_spec_ld_GCJ \
18557 hardcode_libdir_separator_GCJ \
18558 hardcode_automatic_GCJ \
18560 module_expsym_cmds_GCJ \
18561 lt_cv_prog_compiler_c_o_GCJ \
18562 fix_srcfile_path_GCJ \
18563 exclude_expsyms_GCJ \
18564 include_expsyms_GCJ
; do
18567 old_archive_cmds_GCJ | \
18568 old_archive_from_new_cmds_GCJ | \
18569 archive_cmds_GCJ | \
18570 archive_expsym_cmds_GCJ | \
18571 module_cmds_GCJ | \
18572 module_expsym_cmds_GCJ | \
18573 old_archive_from_expsyms_cmds_GCJ | \
18574 export_symbols_cmds_GCJ | \
18575 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18576 postinstall_cmds | postuninstall_cmds | \
18577 old_postinstall_cmds | old_postuninstall_cmds | \
18578 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18579 # Double-quote double-evaled strings.
18580 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18583 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18589 *'\$0 --fallback-echo"')
18590 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18596 cat <<__EOF__ >> "$cfgfile"
18597 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18599 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18601 # Shell to use when invoking shell scripts.
18604 # Whether or not to build shared libraries.
18605 build_libtool_libs=$enable_shared
18607 # Whether or not to build static libraries.
18608 build_old_libs=$enable_static
18610 # Whether or not to add -lc for building shared libraries.
18611 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
18613 # Whether or not to disallow shared libs when runtime libs are static
18614 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
18616 # Whether or not to optimize for fast installation.
18617 fast_install=$enable_fast_install
18620 host_alias=$host_alias
18624 # The build system.
18625 build_alias=$build_alias
18629 # An echo program that does not interpret backslashes.
18634 AR_FLAGS=$lt_AR_FLAGS
18639 # LTCC compiler flags.
18640 LTCFLAGS=$lt_LTCFLAGS
18642 # A language-specific compiler.
18643 CC=$lt_compiler_GCJ
18645 # Is the compiler the GNU C compiler?
18651 # The linker used to build libraries.
18654 # Whether we need hard or soft links.
18657 # A BSD-compatible nm program.
18660 # A symbol stripping program
18663 # Used to examine libraries when file_magic_cmd begins "file"
18664 MAGIC_CMD=$MAGIC_CMD
18666 # Used on cygwin: DLL creation program.
18669 # Used on cygwin: object dumper.
18672 # Used on cygwin: assembler.
18675 # The name of the directory that contains temporary libtool files.
18678 # How to create reloadable object files.
18679 reload_flag=$lt_reload_flag
18680 reload_cmds=$lt_reload_cmds
18682 # How to pass a linker flag through the compiler.
18683 wl=$lt_lt_prog_compiler_wl_GCJ
18685 # Object file suffix (normally "o").
18686 objext="$ac_objext"
18688 # Old archive suffix (normally "a").
18691 # Shared library suffix (normally ".so").
18692 shrext_cmds='$shrext_cmds'
18694 # Executable file suffix (normally "").
18697 # Additional compiler flags for building library objects.
18698 pic_flag=$lt_lt_prog_compiler_pic_GCJ
18701 # What is the maximum length of a command?
18702 max_cmd_len=$lt_cv_sys_max_cmd_len
18704 # Does compiler simultaneously support -c and -o options?
18705 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
18707 # Must we lock files when doing compilation?
18708 need_locks=$lt_need_locks
18710 # Do we need the lib prefix for modules?
18711 need_lib_prefix=$need_lib_prefix
18713 # Do we need a version for libraries?
18714 need_version=$need_version
18716 # Whether dlopen is supported.
18717 dlopen_support=$enable_dlopen
18719 # Whether dlopen of programs is supported.
18720 dlopen_self=$enable_dlopen_self
18722 # Whether dlopen of statically linked programs is supported.
18723 dlopen_self_static=$enable_dlopen_self_static
18725 # Compiler flag to prevent dynamic linking.
18726 link_static_flag=$lt_lt_prog_compiler_static_GCJ
18728 # Compiler flag to turn off builtin functions.
18729 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
18731 # Compiler flag to allow reflexive dlopens.
18732 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
18734 # Compiler flag to generate shared objects directly from archives.
18735 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
18737 # Compiler flag to generate thread-safe objects.
18738 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
18740 # Library versioning type.
18741 version_type=$version_type
18743 # Format of library name prefix.
18744 libname_spec=$lt_libname_spec
18746 # List of archive names. First name is the real one, the rest are links.
18747 # The last name is the one that the linker finds with -lNAME.
18748 library_names_spec=$lt_library_names_spec
18750 # The coded name of the library, if different from the real name.
18751 soname_spec=$lt_soname_spec
18753 # Commands used to build and install an old-style archive.
18755 old_archive_cmds=$lt_old_archive_cmds_GCJ
18756 old_postinstall_cmds=$lt_old_postinstall_cmds
18757 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18759 # Create an old-style archive from a shared archive.
18760 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
18762 # Create a temporary old-style archive to link instead of a shared archive.
18763 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
18765 # Commands used to build and install a shared archive.
18766 archive_cmds=$lt_archive_cmds_GCJ
18767 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
18768 postinstall_cmds=$lt_postinstall_cmds
18769 postuninstall_cmds=$lt_postuninstall_cmds
18771 # Commands used to build a loadable module (assumed same as above if empty)
18772 module_cmds=$lt_module_cmds_GCJ
18773 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
18775 # Commands to strip libraries.
18776 old_striplib=$lt_old_striplib
18777 striplib=$lt_striplib
18779 # Dependencies to place before the objects being linked to create a
18781 predep_objects=$lt_predep_objects_GCJ
18783 # Dependencies to place after the objects being linked to create a
18785 postdep_objects=$lt_postdep_objects_GCJ
18787 # Dependencies to place before the objects being linked to create a
18789 predeps=$lt_predeps_GCJ
18791 # Dependencies to place after the objects being linked to create a
18793 postdeps=$lt_postdeps_GCJ
18795 # The library search path used internally by the compiler when linking
18796 # a shared library.
18797 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
18799 # Method to check whether dependent libraries are shared objects.
18800 deplibs_check_method=$lt_deplibs_check_method
18802 # Command to use when deplibs_check_method == file_magic.
18803 file_magic_cmd=$lt_file_magic_cmd
18805 # Flag that allows shared libraries with undefined symbols to be built.
18806 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
18808 # Flag that forces no undefined symbols.
18809 no_undefined_flag=$lt_no_undefined_flag_GCJ
18811 # Commands used to finish a libtool library installation in a directory.
18812 finish_cmds=$lt_finish_cmds
18814 # Same as above, but a single script fragment to be evaled but not shown.
18815 finish_eval=$lt_finish_eval
18817 # Take the output of nm and produce a listing of raw symbols and C names.
18818 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18820 # Transform the output of nm in a proper C declaration
18821 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18823 # Transform the output of nm in a C name address pair
18824 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18826 # This is the shared library runtime path variable.
18827 runpath_var=$runpath_var
18829 # This is the shared library path variable.
18830 shlibpath_var=$shlibpath_var
18832 # Is shlibpath searched before the hard-coded library search path?
18833 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18835 # How to hardcode a shared library path into an executable.
18836 hardcode_action=$hardcode_action_GCJ
18838 # Whether we should hardcode library paths into libraries.
18839 hardcode_into_libs=$hardcode_into_libs
18841 # Flag to hardcode \$libdir into a binary during linking.
18842 # This must work even if \$libdir does not exist.
18843 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
18845 # If ld is used when linking, flag to hardcode \$libdir into
18846 # a binary during linking. This must work even if \$libdir does
18848 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
18850 # Whether we need a single -rpath flag with a separated argument.
18851 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
18853 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18854 # resulting binary.
18855 hardcode_direct=$hardcode_direct_GCJ
18857 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18858 # resulting binary.
18859 hardcode_minus_L=$hardcode_minus_L_GCJ
18861 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18862 # the resulting binary.
18863 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
18865 # Set to yes if building a shared library automatically hardcodes DIR into the library
18866 # and all subsequent libraries and executables linked against it.
18867 hardcode_automatic=$hardcode_automatic_GCJ
18869 # Variables whose values should be saved in libtool wrapper scripts and
18870 # restored at relink time.
18871 variables_saved_for_relink="$variables_saved_for_relink"
18873 # Whether libtool must link a program against all its dependency libraries.
18874 link_all_deplibs=$link_all_deplibs_GCJ
18876 # Compile-time system search path for libraries
18877 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18879 # Run-time system search path for libraries
18880 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18882 # Fix the shell variable \$srcfile for the compiler.
18883 fix_srcfile_path=$lt_fix_srcfile_path
18885 # Set to yes if exported symbols are required.
18886 always_export_symbols=$always_export_symbols_GCJ
18888 # The commands to list exported symbols.
18889 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
18891 # The commands to extract the exported symbol list from a shared archive.
18892 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18894 # Symbols that should not be listed in the preloaded symbols.
18895 exclude_expsyms=$lt_exclude_expsyms_GCJ
18897 # Symbols that must always be exported.
18898 include_expsyms=$lt_include_expsyms_GCJ
18900 # ### END LIBTOOL TAG CONFIG: $tagname
18906 # If there is no Makefile yet, we rely on a make rule to execute
18907 # `config.status --recheck' to rerun these tests and create the
18908 # libtool script then.
18909 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18910 if test -f "$ltmain_in"; then
18911 test -f Makefile
&& make "$ltmain"
18917 ac_cpp
='$CPP $CPPFLAGS'
18918 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18919 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18920 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18932 # Source file extension for RC test sources.
18935 # Object file extension for compiled RC test sources.
18939 # Code to be used in simple compile tests
18940 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
18942 # Code to be used in simple link tests
18943 lt_simple_link_test_code
="$lt_simple_compile_test_code"
18945 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18947 # If no C compiler was specified, use CC.
18950 # If no C compiler flags were specified, use CFLAGS.
18951 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
18953 # Allow CC to be a program name with arguments.
18957 # save warnings/boilerplate of simple test code
18958 ac_outfile
=conftest.
$ac_objext
18959 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
18960 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
18961 _lt_compiler_boilerplate
=`cat conftest.err`
18964 ac_outfile
=conftest.
$ac_objext
18965 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
18966 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
18967 _lt_linker_boilerplate
=`cat conftest.err`
18971 # Allow CC to be a program name with arguments.
18976 for cc_temp
in $compiler""; do
18978 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
18979 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
18984 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18986 lt_cv_prog_compiler_c_o_RC
=yes
18988 # The else clause should only fire when bootstrapping the
18989 # libtool distribution, otherwise you forgot to ship ltmain.sh
18990 # with your package, and you will get complaints that there are
18991 # no rules to generate ltmain.sh.
18992 if test -f "$ltmain"; then
18993 # See if we are running on zsh, and set the options which allow our commands through
18994 # without removal of \ escapes.
18995 if test -n "${ZSH_VERSION+set}" ; then
18996 setopt NO_GLOB_SUBST
18998 # Now quote all the things that may contain metacharacters while being
18999 # careful not to overquote the AC_SUBSTed values. We take copies of the
19000 # variables and quote the copies for generation of the libtool script.
19001 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19003 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19004 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19005 deplibs_check_method reload_flag reload_cmds need_locks \
19006 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19007 lt_cv_sys_global_symbol_to_c_name_address \
19008 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19009 old_postinstall_cmds old_postuninstall_cmds \
19013 lt_prog_compiler_wl_RC \
19014 lt_prog_compiler_pic_RC \
19015 lt_prog_compiler_static_RC \
19016 lt_prog_compiler_no_builtin_flag_RC \
19017 export_dynamic_flag_spec_RC \
19018 thread_safe_flag_spec_RC \
19019 whole_archive_flag_spec_RC \
19020 enable_shared_with_static_runtimes_RC \
19021 old_archive_cmds_RC \
19022 old_archive_from_new_cmds_RC \
19023 predep_objects_RC \
19024 postdep_objects_RC \
19027 compiler_lib_search_path_RC \
19029 archive_expsym_cmds_RC \
19030 postinstall_cmds_RC \
19031 postuninstall_cmds_RC \
19032 old_archive_from_expsyms_cmds_RC \
19033 allow_undefined_flag_RC \
19034 no_undefined_flag_RC \
19035 export_symbols_cmds_RC \
19036 hardcode_libdir_flag_spec_RC \
19037 hardcode_libdir_flag_spec_ld_RC \
19038 hardcode_libdir_separator_RC \
19039 hardcode_automatic_RC \
19041 module_expsym_cmds_RC \
19042 lt_cv_prog_compiler_c_o_RC \
19043 fix_srcfile_path_RC \
19044 exclude_expsyms_RC \
19045 include_expsyms_RC
; do
19048 old_archive_cmds_RC | \
19049 old_archive_from_new_cmds_RC | \
19050 archive_cmds_RC | \
19051 archive_expsym_cmds_RC | \
19053 module_expsym_cmds_RC | \
19054 old_archive_from_expsyms_cmds_RC | \
19055 export_symbols_cmds_RC | \
19056 extract_expsyms_cmds | reload_cmds | finish_cmds | \
19057 postinstall_cmds | postuninstall_cmds | \
19058 old_postinstall_cmds | old_postuninstall_cmds | \
19059 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
19060 # Double-quote double-evaled strings.
19061 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19064 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19070 *'\$0 --fallback-echo"')
19071 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19077 cat <<__EOF__ >> "$cfgfile"
19078 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19080 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19082 # Shell to use when invoking shell scripts.
19085 # Whether or not to build shared libraries.
19086 build_libtool_libs=$enable_shared
19088 # Whether or not to build static libraries.
19089 build_old_libs=$enable_static
19091 # Whether or not to add -lc for building shared libraries.
19092 build_libtool_need_lc=$archive_cmds_need_lc_RC
19094 # Whether or not to disallow shared libs when runtime libs are static
19095 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19097 # Whether or not to optimize for fast installation.
19098 fast_install=$enable_fast_install
19101 host_alias=$host_alias
19105 # The build system.
19106 build_alias=$build_alias
19110 # An echo program that does not interpret backslashes.
19115 AR_FLAGS=$lt_AR_FLAGS
19120 # LTCC compiler flags.
19121 LTCFLAGS=$lt_LTCFLAGS
19123 # A language-specific compiler.
19126 # Is the compiler the GNU C compiler?
19132 # The linker used to build libraries.
19135 # Whether we need hard or soft links.
19138 # A BSD-compatible nm program.
19141 # A symbol stripping program
19144 # Used to examine libraries when file_magic_cmd begins "file"
19145 MAGIC_CMD=$MAGIC_CMD
19147 # Used on cygwin: DLL creation program.
19150 # Used on cygwin: object dumper.
19153 # Used on cygwin: assembler.
19156 # The name of the directory that contains temporary libtool files.
19159 # How to create reloadable object files.
19160 reload_flag=$lt_reload_flag
19161 reload_cmds=$lt_reload_cmds
19163 # How to pass a linker flag through the compiler.
19164 wl=$lt_lt_prog_compiler_wl_RC
19166 # Object file suffix (normally "o").
19167 objext="$ac_objext"
19169 # Old archive suffix (normally "a").
19172 # Shared library suffix (normally ".so").
19173 shrext_cmds='$shrext_cmds'
19175 # Executable file suffix (normally "").
19178 # Additional compiler flags for building library objects.
19179 pic_flag=$lt_lt_prog_compiler_pic_RC
19182 # What is the maximum length of a command?
19183 max_cmd_len=$lt_cv_sys_max_cmd_len
19185 # Does compiler simultaneously support -c and -o options?
19186 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19188 # Must we lock files when doing compilation?
19189 need_locks=$lt_need_locks
19191 # Do we need the lib prefix for modules?
19192 need_lib_prefix=$need_lib_prefix
19194 # Do we need a version for libraries?
19195 need_version=$need_version
19197 # Whether dlopen is supported.
19198 dlopen_support=$enable_dlopen
19200 # Whether dlopen of programs is supported.
19201 dlopen_self=$enable_dlopen_self
19203 # Whether dlopen of statically linked programs is supported.
19204 dlopen_self_static=$enable_dlopen_self_static
19206 # Compiler flag to prevent dynamic linking.
19207 link_static_flag=$lt_lt_prog_compiler_static_RC
19209 # Compiler flag to turn off builtin functions.
19210 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19212 # Compiler flag to allow reflexive dlopens.
19213 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19215 # Compiler flag to generate shared objects directly from archives.
19216 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19218 # Compiler flag to generate thread-safe objects.
19219 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19221 # Library versioning type.
19222 version_type=$version_type
19224 # Format of library name prefix.
19225 libname_spec=$lt_libname_spec
19227 # List of archive names. First name is the real one, the rest are links.
19228 # The last name is the one that the linker finds with -lNAME.
19229 library_names_spec=$lt_library_names_spec
19231 # The coded name of the library, if different from the real name.
19232 soname_spec=$lt_soname_spec
19234 # Commands used to build and install an old-style archive.
19236 old_archive_cmds=$lt_old_archive_cmds_RC
19237 old_postinstall_cmds=$lt_old_postinstall_cmds
19238 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19240 # Create an old-style archive from a shared archive.
19241 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19243 # Create a temporary old-style archive to link instead of a shared archive.
19244 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19246 # Commands used to build and install a shared archive.
19247 archive_cmds=$lt_archive_cmds_RC
19248 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19249 postinstall_cmds=$lt_postinstall_cmds
19250 postuninstall_cmds=$lt_postuninstall_cmds
19252 # Commands used to build a loadable module (assumed same as above if empty)
19253 module_cmds=$lt_module_cmds_RC
19254 module_expsym_cmds=$lt_module_expsym_cmds_RC
19256 # Commands to strip libraries.
19257 old_striplib=$lt_old_striplib
19258 striplib=$lt_striplib
19260 # Dependencies to place before the objects being linked to create a
19262 predep_objects=$lt_predep_objects_RC
19264 # Dependencies to place after the objects being linked to create a
19266 postdep_objects=$lt_postdep_objects_RC
19268 # Dependencies to place before the objects being linked to create a
19270 predeps=$lt_predeps_RC
19272 # Dependencies to place after the objects being linked to create a
19274 postdeps=$lt_postdeps_RC
19276 # The library search path used internally by the compiler when linking
19277 # a shared library.
19278 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19280 # Method to check whether dependent libraries are shared objects.
19281 deplibs_check_method=$lt_deplibs_check_method
19283 # Command to use when deplibs_check_method == file_magic.
19284 file_magic_cmd=$lt_file_magic_cmd
19286 # Flag that allows shared libraries with undefined symbols to be built.
19287 allow_undefined_flag=$lt_allow_undefined_flag_RC
19289 # Flag that forces no undefined symbols.
19290 no_undefined_flag=$lt_no_undefined_flag_RC
19292 # Commands used to finish a libtool library installation in a directory.
19293 finish_cmds=$lt_finish_cmds
19295 # Same as above, but a single script fragment to be evaled but not shown.
19296 finish_eval=$lt_finish_eval
19298 # Take the output of nm and produce a listing of raw symbols and C names.
19299 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19301 # Transform the output of nm in a proper C declaration
19302 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19304 # Transform the output of nm in a C name address pair
19305 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19307 # This is the shared library runtime path variable.
19308 runpath_var=$runpath_var
19310 # This is the shared library path variable.
19311 shlibpath_var=$shlibpath_var
19313 # Is shlibpath searched before the hard-coded library search path?
19314 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19316 # How to hardcode a shared library path into an executable.
19317 hardcode_action=$hardcode_action_RC
19319 # Whether we should hardcode library paths into libraries.
19320 hardcode_into_libs=$hardcode_into_libs
19322 # Flag to hardcode \$libdir into a binary during linking.
19323 # This must work even if \$libdir does not exist.
19324 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19326 # If ld is used when linking, flag to hardcode \$libdir into
19327 # a binary during linking. This must work even if \$libdir does
19329 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19331 # Whether we need a single -rpath flag with a separated argument.
19332 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19334 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19335 # resulting binary.
19336 hardcode_direct=$hardcode_direct_RC
19338 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19339 # resulting binary.
19340 hardcode_minus_L=$hardcode_minus_L_RC
19342 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19343 # the resulting binary.
19344 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19346 # Set to yes if building a shared library automatically hardcodes DIR into the library
19347 # and all subsequent libraries and executables linked against it.
19348 hardcode_automatic=$hardcode_automatic_RC
19350 # Variables whose values should be saved in libtool wrapper scripts and
19351 # restored at relink time.
19352 variables_saved_for_relink="$variables_saved_for_relink"
19354 # Whether libtool must link a program against all its dependency libraries.
19355 link_all_deplibs=$link_all_deplibs_RC
19357 # Compile-time system search path for libraries
19358 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19360 # Run-time system search path for libraries
19361 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19363 # Fix the shell variable \$srcfile for the compiler.
19364 fix_srcfile_path=$lt_fix_srcfile_path
19366 # Set to yes if exported symbols are required.
19367 always_export_symbols=$always_export_symbols_RC
19369 # The commands to list exported symbols.
19370 export_symbols_cmds=$lt_export_symbols_cmds_RC
19372 # The commands to extract the exported symbol list from a shared archive.
19373 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19375 # Symbols that should not be listed in the preloaded symbols.
19376 exclude_expsyms=$lt_exclude_expsyms_RC
19378 # Symbols that must always be exported.
19379 include_expsyms=$lt_include_expsyms_RC
19381 # ### END LIBTOOL TAG CONFIG: $tagname
19387 # If there is no Makefile yet, we rely on a make rule to execute
19388 # `config.status --recheck' to rerun these tests and create the
19389 # libtool script then.
19390 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19391 if test -f "$ltmain_in"; then
19392 test -f Makefile
&& make "$ltmain"
19398 ac_cpp
='$CPP $CPPFLAGS'
19399 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19400 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19401 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19408 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19409 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19410 { (exit 1); exit 1; }; }
19414 # Append the new tag name to the list of available tags.
19415 if test -n "$tagname" ; then
19416 available_tags
="$available_tags $tagname"
19422 # Now substitute the updated list of available tags.
19423 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
19424 mv "${ofile}T" "$ofile"
19428 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19429 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19430 { (exit 1); exit 1; }; }
19436 # This can be used to rebuild libtool when needed
19437 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
19439 # Always use our own libtool.
19440 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
19442 # Prevent multiple expansion
19464 if test "$GCC" = yes
19466 CFLAGS
="-Wall $CFLAGS"
19469 CFLAGS
="$CFLAGS -I$srcdir/.. -I.."
19472 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19473 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
19474 if test "${ac_cv_header_stdc+set}" = set; then
19475 echo $ECHO_N "(cached) $ECHO_C" >&6
19477 cat >conftest.
$ac_ext <<_ACEOF
19480 cat confdefs.h
>>conftest.
$ac_ext
19481 cat >>conftest.
$ac_ext <<_ACEOF
19482 /* end confdefs.h. */
19483 #include <stdlib.h>
19484 #include <stdarg.h>
19485 #include <string.h>
19496 rm -f conftest.
$ac_objext
19497 if { (ac_try
="$ac_compile"
19498 case "(($ac_try" in
19499 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19500 *) ac_try_echo=$ac_try;;
19502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19503 (eval "$ac_compile") 2>conftest.er1
19505 grep -v '^ *+' conftest.er1 >conftest.err
19507 cat conftest.err >&5
19508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19509 (exit $ac_status); } && {
19510 test -z "$ac_c_werror_flag" ||
19511 test ! -s conftest.err
19512 } && test -s conftest.$ac_objext; then
19513 ac_cv_header_stdc=yes
19515 echo "$as_me: failed program was:" >&5
19516 sed 's/^/| /' conftest.$ac_ext >&5
19518 ac_cv_header_stdc=no
19521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19523 if test $ac_cv_header_stdc = yes; then
19524 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19525 cat >conftest.$ac_ext <<_ACEOF
19528 cat confdefs.h >>conftest.$ac_ext
19529 cat >>conftest.$ac_ext <<_ACEOF
19530 /* end confdefs.h. */
19531 #include <string.h>
19534 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19535 $EGREP "memchr" >/dev/null 2>&1; then
19538 ac_cv_header_stdc=no
19544 if test $ac_cv_header_stdc = yes; then
19545 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19546 cat >conftest.$ac_ext <<_ACEOF
19549 cat confdefs.h >>conftest.$ac_ext
19550 cat >>conftest.$ac_ext <<_ACEOF
19551 /* end confdefs.h. */
19552 #include <stdlib.h>
19555 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19556 $EGREP "free" >/dev/null 2>&1; then
19559 ac_cv_header_stdc=no
19565 if test $ac_cv_header_stdc = yes; then
19566 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19567 if test "$cross_compiling" = yes; then
19570 cat >conftest.$ac_ext <<_ACEOF
19573 cat confdefs.h >>conftest.$ac_ext
19574 cat >>conftest.$ac_ext <<_ACEOF
19575 /* end confdefs.h. */
19577 #include <stdlib.h>
19578 #if ((' ' & 0x0FF) == 0x020)
19579 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19580 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19582 # define ISLOWER(c) \
19583 (('a' <= (c) && (c) <= 'i') \
19584 || ('j' <= (c) && (c) <= 'r') \
19585 || ('s' <= (c) && (c) <= 'z'))
19586 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19589 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19594 for (i = 0; i < 256; i++)
19595 if (XOR (islower (i), ISLOWER (i))
19596 || toupper (i) != TOUPPER (i))
19601 rm -f conftest$ac_exeext
19602 if { (ac_try="$ac_link"
19603 case "(($ac_try" in
19604 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19605 *) ac_try_echo
=$ac_try;;
19607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19608 (eval "$ac_link") 2>&5
19610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19611 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19612 { (case "(($ac_try" in
19613 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19614 *) ac_try_echo=$ac_try;;
19616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19617 (eval "$ac_try") 2>&5
19619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19620 (exit $ac_status); }; }; then
19623 echo "$as_me: program exited with status $ac_status" >&5
19624 echo "$as_me: failed program was:" >&5
19625 sed 's/^/| /' conftest.$ac_ext >&5
19627 ( exit $ac_status )
19628 ac_cv_header_stdc=no
19630 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19636 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19637 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19638 if test $ac_cv_header_stdc = yes; then
19640 cat >>confdefs.h <<\_ACEOF
19641 #define STDC_HEADERS 1
19648 for ac_header in sys/types.h
19650 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
19651 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19652 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19653 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19654 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19655 echo $ECHO_N "(cached) $ECHO_C" >&6
19657 ac_res=`eval echo '${'$as_ac_Header'}'`
19658 { echo "$as_me:$LINENO: result: $ac_res" >&5
19659 echo "${ECHO_T}$ac_res" >&6; }
19661 # Is the header compilable?
19662 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
19663 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
19664 cat >conftest.$ac_ext <<_ACEOF
19667 cat confdefs.h >>conftest.$ac_ext
19668 cat >>conftest.$ac_ext <<_ACEOF
19669 /* end confdefs.h. */
19670 $ac_includes_default
19671 #include <$ac_header>
19673 rm -f conftest.$ac_objext
19674 if { (ac_try="$ac_compile"
19675 case "(($ac_try" in
19676 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19677 *) ac_try_echo
=$ac_try;;
19679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19680 (eval "$ac_compile") 2>conftest.er1
19682 grep -v '^ *+' conftest.er1
>conftest.err
19684 cat conftest.err
>&5
19685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19686 (exit $ac_status); } && {
19687 test -z "$ac_c_werror_flag" ||
19688 test ! -s conftest.err
19689 } && test -s conftest.
$ac_objext; then
19690 ac_header_compiler
=yes
19692 echo "$as_me: failed program was:" >&5
19693 sed 's/^/| /' conftest.
$ac_ext >&5
19695 ac_header_compiler
=no
19698 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19699 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19700 echo "${ECHO_T}$ac_header_compiler" >&6; }
19702 # Is the header present?
19703 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
19704 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
19705 cat >conftest.
$ac_ext <<_ACEOF
19708 cat confdefs.h
>>conftest.
$ac_ext
19709 cat >>conftest.
$ac_ext <<_ACEOF
19710 /* end confdefs.h. */
19711 #include <$ac_header>
19713 if { (ac_try
="$ac_cpp conftest.$ac_ext"
19714 case "(($ac_try" in
19715 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19716 *) ac_try_echo=$ac_try;;
19718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19719 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19721 grep -v '^ *+' conftest.er1 >conftest.err
19723 cat conftest.err >&5
19724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19725 (exit $ac_status); } >/dev/null && {
19726 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19727 test ! -s conftest.err
19729 ac_header_preproc=yes
19731 echo "$as_me: failed program was:" >&5
19732 sed 's/^/| /' conftest.$ac_ext >&5
19734 ac_header_preproc=no
19737 rm -f conftest.err conftest.$ac_ext
19738 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19739 echo "${ECHO_T}$ac_header_preproc" >&6; }
19741 # So? What about this header?
19742 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19744 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19745 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19746 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19747 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19748 ac_header_preproc=yes
19751 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19752 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19753 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19754 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19755 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19756 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19757 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19758 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19759 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19760 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19761 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19762 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19764 ## -------------------------------------------------- ##
19765 ## Report this to courier-users@lists.sourceforge.net ##
19766 ## -------------------------------------------------- ##
19768 ) | sed "s/^/$as_me: WARNING: /" >&2
19771 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19772 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19773 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19774 echo $ECHO_N "(cached) $ECHO_C" >&6
19776 eval "$as_ac_Header=\$ac_header_preproc"
19778 ac_res=`eval echo '${'$as_ac_Header'}'`
19779 { echo "$as_me:$LINENO: result: $ac_res" >&5
19780 echo "${ECHO_T}$ac_res" >&6; }
19783 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19784 cat >>confdefs.h <<_ACEOF
19785 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
19795 # Check whether --with-int32 was given.
19796 if test "${with_int32+set}" = set; then
19797 withval=$with_int32; int32="$withval"
19801 { echo "$as_me:$LINENO: checking for uint32_t" >&5
19802 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6; }
19804 cat >conftest.$ac_ext <<_ACEOF
19807 cat confdefs.h >>conftest.$ac_ext
19808 cat >>conftest.$ac_ext <<_ACEOF
19809 /* end confdefs.h. */
19811 #if HAVE_SYS_TYPES_H
19812 #include <sys/types.h>
19825 rm -f conftest.$ac_objext
19826 if { (ac_try="$ac_compile"
19827 case "(($ac_try" in
19828 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19829 *) ac_try_echo
=$ac_try;;
19831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19832 (eval "$ac_compile") 2>conftest.er1
19834 grep -v '^ *+' conftest.er1
>conftest.err
19836 cat conftest.err
>&5
19837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19838 (exit $ac_status); } && {
19839 test -z "$ac_c_werror_flag" ||
19840 test ! -s conftest.err
19841 } && test -s conftest.
$ac_objext; then
19842 { echo "$as_me:$LINENO: result: yes" >&5
19843 echo "${ECHO_T}yes" >&6; } ; int32
="uint32_t"
19845 echo "$as_me: failed program was:" >&5
19846 sed 's/^/| /' conftest.
$ac_ext >&5
19850 { echo "$as_me:$LINENO: result: no" >&5
19851 echo "${ECHO_T}no" >&6; }
19852 { echo "$as_me:$LINENO: checking for u_int_32_t" >&5
19853 echo $ECHO_N "checking for u_int_32_t... $ECHO_C" >&6; }
19855 cat >conftest.
$ac_ext <<_ACEOF
19858 cat confdefs.h
>>conftest.
$ac_ext
19859 cat >>conftest.
$ac_ext <<_ACEOF
19860 /* end confdefs.h. */
19862 #if HAVE_SYS_TYPES_H
19863 #include <sys/types.h>
19876 rm -f conftest.
$ac_objext
19877 if { (ac_try
="$ac_compile"
19878 case "(($ac_try" in
19879 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19880 *) ac_try_echo=$ac_try;;
19882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19883 (eval "$ac_compile") 2>conftest.er1
19885 grep -v '^ *+' conftest.er1 >conftest.err
19887 cat conftest.err >&5
19888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19889 (exit $ac_status); } && {
19890 test -z "$ac_c_werror_flag" ||
19891 test ! -s conftest.err
19892 } && test -s conftest.$ac_objext; then
19893 { echo "$as_me:$LINENO: result: yes" >&5
19894 echo "${ECHO_T}yes" >&6; }; int32="u_int32_t"
19896 echo "$as_me: failed program was:" >&5
19897 sed 's/^/| /' conftest.$ac_ext >&5
19901 { echo "$as_me:$LINENO: result: no" >&5
19902 echo "${ECHO_T}no" >&6; }
19904 { echo "$as_me:$LINENO: checking for unsigned" >&5
19905 echo $ECHO_N "checking for unsigned... $ECHO_C" >&6; }
19906 if test "${ac_cv_type_unsigned+set}" = set; then
19907 echo $ECHO_N "(cached) $ECHO_C" >&6
19909 cat >conftest.$ac_ext <<_ACEOF
19912 cat confdefs.h >>conftest.$ac_ext
19913 cat >>conftest.$ac_ext <<_ACEOF
19914 /* end confdefs.h. */
19915 $ac_includes_default
19916 typedef unsigned ac__type_new_;
19920 if ((ac__type_new_ *) 0)
19922 if (sizeof (ac__type_new_))
19928 rm -f conftest.$ac_objext
19929 if { (ac_try="$ac_compile"
19930 case "(($ac_try" in
19931 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19932 *) ac_try_echo
=$ac_try;;
19934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19935 (eval "$ac_compile") 2>conftest.er1
19937 grep -v '^ *+' conftest.er1
>conftest.err
19939 cat conftest.err
>&5
19940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19941 (exit $ac_status); } && {
19942 test -z "$ac_c_werror_flag" ||
19943 test ! -s conftest.err
19944 } && test -s conftest.
$ac_objext; then
19945 ac_cv_type_unsigned
=yes
19947 echo "$as_me: failed program was:" >&5
19948 sed 's/^/| /' conftest.
$ac_ext >&5
19950 ac_cv_type_unsigned
=no
19953 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19955 { echo "$as_me:$LINENO: result: $ac_cv_type_unsigned" >&5
19956 echo "${ECHO_T}$ac_cv_type_unsigned" >&6; }
19958 # The cast to long int works around a bug in the HP C Compiler
19959 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19960 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19961 # This bug is HP SR number 8606223364.
19962 { echo "$as_me:$LINENO: checking size of unsigned" >&5
19963 echo $ECHO_N "checking size of unsigned... $ECHO_C" >&6; }
19964 if test "${ac_cv_sizeof_unsigned+set}" = set; then
19965 echo $ECHO_N "(cached) $ECHO_C" >&6
19967 if test "$cross_compiling" = yes; then
19968 # Depending upon the size, compute the lo and hi bounds.
19969 cat >conftest.
$ac_ext <<_ACEOF
19972 cat confdefs.h
>>conftest.
$ac_ext
19973 cat >>conftest.
$ac_ext <<_ACEOF
19974 /* end confdefs.h. */
19975 $ac_includes_default
19976 typedef unsigned ac__type_sizeof_;
19980 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19987 rm -f conftest.
$ac_objext
19988 if { (ac_try
="$ac_compile"
19989 case "(($ac_try" in
19990 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19991 *) ac_try_echo=$ac_try;;
19993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19994 (eval "$ac_compile") 2>conftest.er1
19996 grep -v '^ *+' conftest.er1 >conftest.err
19998 cat conftest.err >&5
19999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20000 (exit $ac_status); } && {
20001 test -z "$ac_c_werror_flag" ||
20002 test ! -s conftest.err
20003 } && test -s conftest.$ac_objext; then
20006 cat >conftest.$ac_ext <<_ACEOF
20009 cat confdefs.h >>conftest.$ac_ext
20010 cat >>conftest.$ac_ext <<_ACEOF
20011 /* end confdefs.h. */
20012 $ac_includes_default
20013 typedef unsigned ac__type_sizeof_;
20017 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20024 rm -f conftest.$ac_objext
20025 if { (ac_try="$ac_compile"
20026 case "(($ac_try" in
20027 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20028 *) ac_try_echo
=$ac_try;;
20030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20031 (eval "$ac_compile") 2>conftest.er1
20033 grep -v '^ *+' conftest.er1
>conftest.err
20035 cat conftest.err
>&5
20036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20037 (exit $ac_status); } && {
20038 test -z "$ac_c_werror_flag" ||
20039 test ! -s conftest.err
20040 } && test -s conftest.
$ac_objext; then
20041 ac_hi
=$ac_mid; break
20043 echo "$as_me: failed program was:" >&5
20044 sed 's/^/| /' conftest.
$ac_ext >&5
20046 ac_lo
=`expr $ac_mid + 1`
20047 if test $ac_lo -le $ac_mid; then
20051 ac_mid
=`expr 2 '*' $ac_mid + 1`
20054 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20057 echo "$as_me: failed program was:" >&5
20058 sed 's/^/| /' conftest.
$ac_ext >&5
20060 cat >conftest.
$ac_ext <<_ACEOF
20063 cat confdefs.h
>>conftest.
$ac_ext
20064 cat >>conftest.
$ac_ext <<_ACEOF
20065 /* end confdefs.h. */
20066 $ac_includes_default
20067 typedef unsigned ac__type_sizeof_;
20071 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20078 rm -f conftest.
$ac_objext
20079 if { (ac_try
="$ac_compile"
20080 case "(($ac_try" in
20081 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20082 *) ac_try_echo=$ac_try;;
20084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20085 (eval "$ac_compile") 2>conftest.er1
20087 grep -v '^ *+' conftest.er1 >conftest.err
20089 cat conftest.err >&5
20090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20091 (exit $ac_status); } && {
20092 test -z "$ac_c_werror_flag" ||
20093 test ! -s conftest.err
20094 } && test -s conftest.$ac_objext; then
20097 cat >conftest.$ac_ext <<_ACEOF
20100 cat confdefs.h >>conftest.$ac_ext
20101 cat >>conftest.$ac_ext <<_ACEOF
20102 /* end confdefs.h. */
20103 $ac_includes_default
20104 typedef unsigned ac__type_sizeof_;
20108 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20115 rm -f conftest.$ac_objext
20116 if { (ac_try="$ac_compile"
20117 case "(($ac_try" in
20118 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20119 *) ac_try_echo
=$ac_try;;
20121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20122 (eval "$ac_compile") 2>conftest.er1
20124 grep -v '^ *+' conftest.er1
>conftest.err
20126 cat conftest.err
>&5
20127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20128 (exit $ac_status); } && {
20129 test -z "$ac_c_werror_flag" ||
20130 test ! -s conftest.err
20131 } && test -s conftest.
$ac_objext; then
20132 ac_lo
=$ac_mid; break
20134 echo "$as_me: failed program was:" >&5
20135 sed 's/^/| /' conftest.
$ac_ext >&5
20137 ac_hi
=`expr '(' $ac_mid ')' - 1`
20138 if test $ac_mid -le $ac_hi; then
20142 ac_mid
=`expr 2 '*' $ac_mid`
20145 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20148 echo "$as_me: failed program was:" >&5
20149 sed 's/^/| /' conftest.
$ac_ext >&5
20154 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20157 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20158 # Binary search between lo and hi bounds.
20159 while test "x$ac_lo" != "x$ac_hi"; do
20160 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20161 cat >conftest.
$ac_ext <<_ACEOF
20164 cat confdefs.h
>>conftest.
$ac_ext
20165 cat >>conftest.
$ac_ext <<_ACEOF
20166 /* end confdefs.h. */
20167 $ac_includes_default
20168 typedef unsigned ac__type_sizeof_;
20172 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20179 rm -f conftest.
$ac_objext
20180 if { (ac_try
="$ac_compile"
20181 case "(($ac_try" in
20182 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20183 *) ac_try_echo=$ac_try;;
20185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20186 (eval "$ac_compile") 2>conftest.er1
20188 grep -v '^ *+' conftest.er1 >conftest.err
20190 cat conftest.err >&5
20191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20192 (exit $ac_status); } && {
20193 test -z "$ac_c_werror_flag" ||
20194 test ! -s conftest.err
20195 } && test -s conftest.$ac_objext; then
20198 echo "$as_me: failed program was:" >&5
20199 sed 's/^/| /' conftest.$ac_ext >&5
20201 ac_lo=`expr '(' $ac_mid ')' + 1`
20204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20207 ?*) ac_cv_sizeof_unsigned=$ac_lo;;
20208 '') if test "$ac_cv_type_unsigned" = yes; then
20209 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned)
20210 See \`config.log
' for more details." >&5
20211 echo "$as_me: error: cannot compute sizeof (unsigned)
20212 See \`config.log' for more details.
" >&2;}
20213 { (exit 77); exit 77; }; }
20215 ac_cv_sizeof_unsigned=0
20219 cat >conftest.$ac_ext <<_ACEOF
20222 cat confdefs.h >>conftest.$ac_ext
20223 cat >>conftest.$ac_ext <<_ACEOF
20224 /* end confdefs.h. */
20225 $ac_includes_default
20226 typedef unsigned ac__type_sizeof_;
20227 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20228 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20230 #include <stdlib.h>
20235 FILE *f = fopen ("conftest.val
", "w
");
20238 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20240 long int i = longval ();
20241 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20243 fprintf (f, "%ld
\n", i);
20247 unsigned long int i = ulongval ();
20248 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20250 fprintf (f, "%lu
\n", i);
20252 return ferror (f) || fclose (f) != 0;
20258 rm -f conftest$ac_exeext
20259 if { (ac_try="$ac_link"
20260 case "(($ac_try" in
20261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20262 *) ac_try_echo=$ac_try;;
20264 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20265 (eval "$ac_link") 2>&5
20267 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20268 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20269 { (case "(($ac_try" in
20270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20271 *) ac_try_echo=$ac_try;;
20273 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20274 (eval "$ac_try") 2>&5
20276 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20277 (exit $ac_status); }; }; then
20278 ac_cv_sizeof_unsigned=`cat conftest.val`
20280 echo "$as_me: program exited with status
$ac_status" >&5
20281 echo "$as_me: failed program was
:" >&5
20282 sed 's/^/| /' conftest.$ac_ext >&5
20284 ( exit $ac_status )
20285 if test "$ac_cv_type_unsigned" = yes; then
20286 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(unsigned
)
20287 See \
`config.log' for more details." >&5
20288 echo "$as_me: error: cannot compute sizeof (unsigned)
20289 See \`config.log
' for more details." >&2;}
20290 { (exit 77); exit 77; }; }
20292 ac_cv_sizeof_unsigned=0
20295 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20299 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned" >&5
20300 echo "${ECHO_T}$ac_cv_sizeof_unsigned" >&6; }
20304 cat >>confdefs.h <<_ACEOF
20305 #define SIZEOF_UNSIGNED $ac_cv_sizeof_unsigned
20309 if test "$ac_cv_sizeof_unsigned" != 4
20311 { echo "$as_me:$LINENO: checking for unsigned long" >&5
20312 echo $ECHO_N "checking for unsigned long... $ECHO_C" >&6; }
20313 if test "${ac_cv_type_unsigned_long+set}" = set; then
20314 echo $ECHO_N "(cached) $ECHO_C" >&6
20316 cat >conftest.$ac_ext <<_ACEOF
20319 cat confdefs.h >>conftest.$ac_ext
20320 cat >>conftest.$ac_ext <<_ACEOF
20321 /* end confdefs.h. */
20322 $ac_includes_default
20323 typedef unsigned long ac__type_new_;
20327 if ((ac__type_new_ *) 0)
20329 if (sizeof (ac__type_new_))
20335 rm -f conftest.$ac_objext
20336 if { (ac_try="$ac_compile"
20337 case "(($ac_try" in
20338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20339 *) ac_try_echo=$ac_try;;
20341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20342 (eval "$ac_compile") 2>conftest.er1
20344 grep -v '^
*+' conftest.er1 >conftest.err
20346 cat conftest.err >&5
20347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20348 (exit $ac_status); } && {
20349 test -z "$ac_c_werror_flag" ||
20350 test ! -s conftest.err
20351 } && test -s conftest.$ac_objext; then
20352 ac_cv_type_unsigned_long=yes
20354 echo "$as_me: failed program was:" >&5
20355 sed 's
/^
/|
/' conftest.$ac_ext >&5
20357 ac_cv_type_unsigned_long=no
20360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20362 { echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long" >&5
20363 echo "${ECHO_T}$ac_cv_type_unsigned_long" >&6; }
20365 # The cast to long int works around a bug in the HP C Compiler
20366 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20367 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20368 # This bug is HP SR number 8606223364.
20369 { echo "$as_me:$LINENO: checking size of unsigned long" >&5
20370 echo $ECHO_N "checking size of unsigned long... $ECHO_C" >&6; }
20371 if test "${ac_cv_sizeof_unsigned_long+set}" = set; then
20372 echo $ECHO_N "(cached) $ECHO_C" >&6
20374 if test "$cross_compiling" = yes; then
20375 # Depending upon the size, compute the lo and hi bounds.
20376 cat >conftest.
$ac_ext <<_ACEOF
20379 cat confdefs.h
>>conftest.
$ac_ext
20380 cat >>conftest.
$ac_ext <<_ACEOF
20381 /* end confdefs.h. */
20382 $ac_includes_default
20383 typedef unsigned long ac__type_sizeof_;
20387 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20394 rm -f conftest.
$ac_objext
20395 if { (ac_try
="$ac_compile"
20396 case "(($ac_try" in
20397 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20398 *) ac_try_echo=$ac_try;;
20400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20401 (eval "$ac_compile") 2>conftest.er1
20403 grep -v '^ *+' conftest.er1 >conftest.err
20405 cat conftest.err >&5
20406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20407 (exit $ac_status); } && {
20408 test -z "$ac_c_werror_flag" ||
20409 test ! -s conftest.err
20410 } && test -s conftest.$ac_objext; then
20413 cat >conftest.$ac_ext <<_ACEOF
20416 cat confdefs.h >>conftest.$ac_ext
20417 cat >>conftest.$ac_ext <<_ACEOF
20418 /* end confdefs.h. */
20419 $ac_includes_default
20420 typedef unsigned long ac__type_sizeof_;
20424 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20431 rm -f conftest.$ac_objext
20432 if { (ac_try="$ac_compile"
20433 case "(($ac_try" in
20434 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20435 *) ac_try_echo
=$ac_try;;
20437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20438 (eval "$ac_compile") 2>conftest.er1
20440 grep -v '^ *+' conftest.er1
>conftest.err
20442 cat conftest.err
>&5
20443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20444 (exit $ac_status); } && {
20445 test -z "$ac_c_werror_flag" ||
20446 test ! -s conftest.err
20447 } && test -s conftest.
$ac_objext; then
20448 ac_hi
=$ac_mid; break
20450 echo "$as_me: failed program was:" >&5
20451 sed 's/^/| /' conftest.
$ac_ext >&5
20453 ac_lo
=`expr $ac_mid + 1`
20454 if test $ac_lo -le $ac_mid; then
20458 ac_mid
=`expr 2 '*' $ac_mid + 1`
20461 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20464 echo "$as_me: failed program was:" >&5
20465 sed 's/^/| /' conftest.
$ac_ext >&5
20467 cat >conftest.
$ac_ext <<_ACEOF
20470 cat confdefs.h
>>conftest.
$ac_ext
20471 cat >>conftest.
$ac_ext <<_ACEOF
20472 /* end confdefs.h. */
20473 $ac_includes_default
20474 typedef unsigned long ac__type_sizeof_;
20478 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20485 rm -f conftest.
$ac_objext
20486 if { (ac_try
="$ac_compile"
20487 case "(($ac_try" in
20488 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20489 *) ac_try_echo=$ac_try;;
20491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20492 (eval "$ac_compile") 2>conftest.er1
20494 grep -v '^ *+' conftest.er1 >conftest.err
20496 cat conftest.err >&5
20497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20498 (exit $ac_status); } && {
20499 test -z "$ac_c_werror_flag" ||
20500 test ! -s conftest.err
20501 } && test -s conftest.$ac_objext; then
20504 cat >conftest.$ac_ext <<_ACEOF
20507 cat confdefs.h >>conftest.$ac_ext
20508 cat >>conftest.$ac_ext <<_ACEOF
20509 /* end confdefs.h. */
20510 $ac_includes_default
20511 typedef unsigned long ac__type_sizeof_;
20515 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20522 rm -f conftest.$ac_objext
20523 if { (ac_try="$ac_compile"
20524 case "(($ac_try" in
20525 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20526 *) ac_try_echo
=$ac_try;;
20528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20529 (eval "$ac_compile") 2>conftest.er1
20531 grep -v '^ *+' conftest.er1
>conftest.err
20533 cat conftest.err
>&5
20534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20535 (exit $ac_status); } && {
20536 test -z "$ac_c_werror_flag" ||
20537 test ! -s conftest.err
20538 } && test -s conftest.
$ac_objext; then
20539 ac_lo
=$ac_mid; break
20541 echo "$as_me: failed program was:" >&5
20542 sed 's/^/| /' conftest.
$ac_ext >&5
20544 ac_hi
=`expr '(' $ac_mid ')' - 1`
20545 if test $ac_mid -le $ac_hi; then
20549 ac_mid
=`expr 2 '*' $ac_mid`
20552 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20555 echo "$as_me: failed program was:" >&5
20556 sed 's/^/| /' conftest.
$ac_ext >&5
20561 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20564 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20565 # Binary search between lo and hi bounds.
20566 while test "x$ac_lo" != "x$ac_hi"; do
20567 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20568 cat >conftest.
$ac_ext <<_ACEOF
20571 cat confdefs.h
>>conftest.
$ac_ext
20572 cat >>conftest.
$ac_ext <<_ACEOF
20573 /* end confdefs.h. */
20574 $ac_includes_default
20575 typedef unsigned long ac__type_sizeof_;
20579 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20586 rm -f conftest.
$ac_objext
20587 if { (ac_try
="$ac_compile"
20588 case "(($ac_try" in
20589 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20590 *) ac_try_echo=$ac_try;;
20592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20593 (eval "$ac_compile") 2>conftest.er1
20595 grep -v '^ *+' conftest.er1 >conftest.err
20597 cat conftest.err >&5
20598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20599 (exit $ac_status); } && {
20600 test -z "$ac_c_werror_flag" ||
20601 test ! -s conftest.err
20602 } && test -s conftest.$ac_objext; then
20605 echo "$as_me: failed program was:" >&5
20606 sed 's/^/| /' conftest.$ac_ext >&5
20608 ac_lo=`expr '(' $ac_mid ')' + 1`
20611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20614 ?*) ac_cv_sizeof_unsigned_long=$ac_lo;;
20615 '') if test "$ac_cv_type_unsigned_long" = yes; then
20616 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long)
20617 See \`config.log
' for more details." >&5
20618 echo "$as_me: error: cannot compute sizeof (unsigned long)
20619 See \`config.log' for more details.
" >&2;}
20620 { (exit 77); exit 77; }; }
20622 ac_cv_sizeof_unsigned_long=0
20626 cat >conftest.$ac_ext <<_ACEOF
20629 cat confdefs.h >>conftest.$ac_ext
20630 cat >>conftest.$ac_ext <<_ACEOF
20631 /* end confdefs.h. */
20632 $ac_includes_default
20633 typedef unsigned long ac__type_sizeof_;
20634 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20635 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20637 #include <stdlib.h>
20642 FILE *f = fopen ("conftest.val
", "w
");
20645 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20647 long int i = longval ();
20648 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20650 fprintf (f, "%ld
\n", i);
20654 unsigned long int i = ulongval ();
20655 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20657 fprintf (f, "%lu
\n", i);
20659 return ferror (f) || fclose (f) != 0;
20665 rm -f conftest$ac_exeext
20666 if { (ac_try="$ac_link"
20667 case "(($ac_try" in
20668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20669 *) ac_try_echo=$ac_try;;
20671 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20672 (eval "$ac_link") 2>&5
20674 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20675 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20676 { (case "(($ac_try" in
20677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20678 *) ac_try_echo=$ac_try;;
20680 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20681 (eval "$ac_try") 2>&5
20683 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20684 (exit $ac_status); }; }; then
20685 ac_cv_sizeof_unsigned_long=`cat conftest.val`
20687 echo "$as_me: program exited with status
$ac_status" >&5
20688 echo "$as_me: failed program was
:" >&5
20689 sed 's/^/| /' conftest.$ac_ext >&5
20691 ( exit $ac_status )
20692 if test "$ac_cv_type_unsigned_long" = yes; then
20693 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(unsigned long
)
20694 See \
`config.log' for more details." >&5
20695 echo "$as_me: error: cannot compute sizeof (unsigned long)
20696 See \`config.log
' for more details." >&2;}
20697 { (exit 77); exit 77; }; }
20699 ac_cv_sizeof_unsigned_long=0
20702 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20706 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long" >&5
20707 echo "${ECHO_T}$ac_cv_sizeof_unsigned_long" >&6; }
20711 cat >>confdefs.h <<_ACEOF
20712 #define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
20716 if test "$ac_cv_sizeof_unsigned_long" != 4
20718 { echo "$as_me:$LINENO: checking for unsigned short" >&5
20719 echo $ECHO_N "checking for unsigned short... $ECHO_C" >&6; }
20720 if test "${ac_cv_type_unsigned_short+set}" = set; then
20721 echo $ECHO_N "(cached) $ECHO_C" >&6
20723 cat >conftest.$ac_ext <<_ACEOF
20726 cat confdefs.h >>conftest.$ac_ext
20727 cat >>conftest.$ac_ext <<_ACEOF
20728 /* end confdefs.h. */
20729 $ac_includes_default
20730 typedef unsigned short ac__type_new_;
20734 if ((ac__type_new_ *) 0)
20736 if (sizeof (ac__type_new_))
20742 rm -f conftest.$ac_objext
20743 if { (ac_try="$ac_compile"
20744 case "(($ac_try" in
20745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20746 *) ac_try_echo=$ac_try;;
20748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20749 (eval "$ac_compile") 2>conftest.er1
20751 grep -v '^
*+' conftest.er1 >conftest.err
20753 cat conftest.err >&5
20754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20755 (exit $ac_status); } && {
20756 test -z "$ac_c_werror_flag" ||
20757 test ! -s conftest.err
20758 } && test -s conftest.$ac_objext; then
20759 ac_cv_type_unsigned_short=yes
20761 echo "$as_me: failed program was:" >&5
20762 sed 's
/^
/|
/' conftest.$ac_ext >&5
20764 ac_cv_type_unsigned_short=no
20767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20769 { echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_short" >&5
20770 echo "${ECHO_T}$ac_cv_type_unsigned_short" >&6; }
20772 # The cast to long int works around a bug in the HP C Compiler
20773 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20774 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20775 # This bug is HP SR number 8606223364.
20776 { echo "$as_me:$LINENO: checking size of unsigned short" >&5
20777 echo $ECHO_N "checking size of unsigned short... $ECHO_C" >&6; }
20778 if test "${ac_cv_sizeof_unsigned_short+set}" = set; then
20779 echo $ECHO_N "(cached) $ECHO_C" >&6
20781 if test "$cross_compiling" = yes; then
20782 # Depending upon the size, compute the lo and hi bounds.
20783 cat >conftest.
$ac_ext <<_ACEOF
20786 cat confdefs.h
>>conftest.
$ac_ext
20787 cat >>conftest.
$ac_ext <<_ACEOF
20788 /* end confdefs.h. */
20789 $ac_includes_default
20790 typedef unsigned short ac__type_sizeof_;
20794 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20801 rm -f conftest.
$ac_objext
20802 if { (ac_try
="$ac_compile"
20803 case "(($ac_try" in
20804 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20805 *) ac_try_echo=$ac_try;;
20807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20808 (eval "$ac_compile") 2>conftest.er1
20810 grep -v '^ *+' conftest.er1 >conftest.err
20812 cat conftest.err >&5
20813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20814 (exit $ac_status); } && {
20815 test -z "$ac_c_werror_flag" ||
20816 test ! -s conftest.err
20817 } && test -s conftest.$ac_objext; then
20820 cat >conftest.$ac_ext <<_ACEOF
20823 cat confdefs.h >>conftest.$ac_ext
20824 cat >>conftest.$ac_ext <<_ACEOF
20825 /* end confdefs.h. */
20826 $ac_includes_default
20827 typedef unsigned short ac__type_sizeof_;
20831 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20838 rm -f conftest.$ac_objext
20839 if { (ac_try="$ac_compile"
20840 case "(($ac_try" in
20841 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20842 *) ac_try_echo
=$ac_try;;
20844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20845 (eval "$ac_compile") 2>conftest.er1
20847 grep -v '^ *+' conftest.er1
>conftest.err
20849 cat conftest.err
>&5
20850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20851 (exit $ac_status); } && {
20852 test -z "$ac_c_werror_flag" ||
20853 test ! -s conftest.err
20854 } && test -s conftest.
$ac_objext; then
20855 ac_hi
=$ac_mid; break
20857 echo "$as_me: failed program was:" >&5
20858 sed 's/^/| /' conftest.
$ac_ext >&5
20860 ac_lo
=`expr $ac_mid + 1`
20861 if test $ac_lo -le $ac_mid; then
20865 ac_mid
=`expr 2 '*' $ac_mid + 1`
20868 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20871 echo "$as_me: failed program was:" >&5
20872 sed 's/^/| /' conftest.
$ac_ext >&5
20874 cat >conftest.
$ac_ext <<_ACEOF
20877 cat confdefs.h
>>conftest.
$ac_ext
20878 cat >>conftest.
$ac_ext <<_ACEOF
20879 /* end confdefs.h. */
20880 $ac_includes_default
20881 typedef unsigned short ac__type_sizeof_;
20885 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20892 rm -f conftest.
$ac_objext
20893 if { (ac_try
="$ac_compile"
20894 case "(($ac_try" in
20895 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20896 *) ac_try_echo=$ac_try;;
20898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20899 (eval "$ac_compile") 2>conftest.er1
20901 grep -v '^ *+' conftest.er1 >conftest.err
20903 cat conftest.err >&5
20904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20905 (exit $ac_status); } && {
20906 test -z "$ac_c_werror_flag" ||
20907 test ! -s conftest.err
20908 } && test -s conftest.$ac_objext; then
20911 cat >conftest.$ac_ext <<_ACEOF
20914 cat confdefs.h >>conftest.$ac_ext
20915 cat >>conftest.$ac_ext <<_ACEOF
20916 /* end confdefs.h. */
20917 $ac_includes_default
20918 typedef unsigned short ac__type_sizeof_;
20922 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20929 rm -f conftest.$ac_objext
20930 if { (ac_try="$ac_compile"
20931 case "(($ac_try" in
20932 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20933 *) ac_try_echo
=$ac_try;;
20935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20936 (eval "$ac_compile") 2>conftest.er1
20938 grep -v '^ *+' conftest.er1
>conftest.err
20940 cat conftest.err
>&5
20941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20942 (exit $ac_status); } && {
20943 test -z "$ac_c_werror_flag" ||
20944 test ! -s conftest.err
20945 } && test -s conftest.
$ac_objext; then
20946 ac_lo
=$ac_mid; break
20948 echo "$as_me: failed program was:" >&5
20949 sed 's/^/| /' conftest.
$ac_ext >&5
20951 ac_hi
=`expr '(' $ac_mid ')' - 1`
20952 if test $ac_mid -le $ac_hi; then
20956 ac_mid
=`expr 2 '*' $ac_mid`
20959 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20962 echo "$as_me: failed program was:" >&5
20963 sed 's/^/| /' conftest.
$ac_ext >&5
20968 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20971 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20972 # Binary search between lo and hi bounds.
20973 while test "x$ac_lo" != "x$ac_hi"; do
20974 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20975 cat >conftest.
$ac_ext <<_ACEOF
20978 cat confdefs.h
>>conftest.
$ac_ext
20979 cat >>conftest.
$ac_ext <<_ACEOF
20980 /* end confdefs.h. */
20981 $ac_includes_default
20982 typedef unsigned short ac__type_sizeof_;
20986 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20993 rm -f conftest.
$ac_objext
20994 if { (ac_try
="$ac_compile"
20995 case "(($ac_try" in
20996 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20997 *) ac_try_echo=$ac_try;;
20999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21000 (eval "$ac_compile") 2>conftest.er1
21002 grep -v '^ *+' conftest.er1 >conftest.err
21004 cat conftest.err >&5
21005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21006 (exit $ac_status); } && {
21007 test -z "$ac_c_werror_flag" ||
21008 test ! -s conftest.err
21009 } && test -s conftest.$ac_objext; then
21012 echo "$as_me: failed program was:" >&5
21013 sed 's/^/| /' conftest.$ac_ext >&5
21015 ac_lo=`expr '(' $ac_mid ')' + 1`
21018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21021 ?*) ac_cv_sizeof_unsigned_short=$ac_lo;;
21022 '') if test "$ac_cv_type_unsigned_short" = yes; then
21023 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned short)
21024 See \`config.log
' for more details." >&5
21025 echo "$as_me: error: cannot compute sizeof (unsigned short)
21026 See \`config.log' for more details.
" >&2;}
21027 { (exit 77); exit 77; }; }
21029 ac_cv_sizeof_unsigned_short=0
21033 cat >conftest.$ac_ext <<_ACEOF
21036 cat confdefs.h >>conftest.$ac_ext
21037 cat >>conftest.$ac_ext <<_ACEOF
21038 /* end confdefs.h. */
21039 $ac_includes_default
21040 typedef unsigned short ac__type_sizeof_;
21041 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21042 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21044 #include <stdlib.h>
21049 FILE *f = fopen ("conftest.val
", "w
");
21052 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21054 long int i = longval ();
21055 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21057 fprintf (f, "%ld
\n", i);
21061 unsigned long int i = ulongval ();
21062 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21064 fprintf (f, "%lu
\n", i);
21066 return ferror (f) || fclose (f) != 0;
21072 rm -f conftest$ac_exeext
21073 if { (ac_try="$ac_link"
21074 case "(($ac_try" in
21075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21076 *) ac_try_echo=$ac_try;;
21078 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21079 (eval "$ac_link") 2>&5
21081 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21082 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21083 { (case "(($ac_try" in
21084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21085 *) ac_try_echo=$ac_try;;
21087 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21088 (eval "$ac_try") 2>&5
21090 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21091 (exit $ac_status); }; }; then
21092 ac_cv_sizeof_unsigned_short=`cat conftest.val`
21094 echo "$as_me: program exited with status
$ac_status" >&5
21095 echo "$as_me: failed program was
:" >&5
21096 sed 's/^/| /' conftest.$ac_ext >&5
21098 ( exit $ac_status )
21099 if test "$ac_cv_type_unsigned_short" = yes; then
21100 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(unsigned short
)
21101 See \
`config.log' for more details." >&5
21102 echo "$as_me: error: cannot compute sizeof (unsigned short)
21103 See \`config.log
' for more details." >&2;}
21104 { (exit 77); exit 77; }; }
21106 ac_cv_sizeof_unsigned_short=0
21109 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21113 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_short" >&5
21114 echo "${ECHO_T}$ac_cv_sizeof_unsigned_short" >&6; }
21118 cat >>confdefs.h <<_ACEOF
21119 #define SIZEOF_UNSIGNED_SHORT $ac_cv_sizeof_unsigned_short
21123 if test "$ac_cv_sizeof_unsigned_short" != 4
21125 { { echo "$as_me:$LINENO: error: --with-int32 option is required" >&5
21126 echo "$as_me: error: --with-int32 option is required" >&2;}
21127 { (exit 1); exit 1; }; }
21129 int32="unsigned short"
21131 int32="unsigned long"
21138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21150 cat >>confdefs.h <<_ACEOF
21151 #define MD5_WORD $UINT32
21155 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
21156 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
21157 if test "${ac_cv_c_const+set}" = set; then
21158 echo $ECHO_N "(cached) $ECHO_C" >&6
21160 cat >conftest.$ac_ext <<_ACEOF
21163 cat confdefs.h >>conftest.$ac_ext
21164 cat >>conftest.$ac_ext <<_ACEOF
21165 /* end confdefs.h. */
21170 /* FIXME: Include the comments suggested by Paul. */
21171 #ifndef __cplusplus
21172 /* Ultrix mips cc rejects this. */
21173 typedef int charset[2];
21175 /* SunOS 4.1.1 cc rejects this. */
21176 char const *const *pcpcc;
21178 /* NEC SVR4.0.2 mips cc rejects this. */
21179 struct point {int x, y;};
21180 static struct point const zero = {0,0};
21181 /* AIX XL C 1.02.0.0 rejects this.
21182 It does not let you subtract one const X* pointer from another in
21183 an arm of an if-expression whose if-part is not a constant
21185 const char *g = "string";
21186 pcpcc = &g + (g ? g-g : 0);
21187 /* HPUX 7.0 cc rejects these. */
21189 ppc = (char**) pcpcc;
21190 pcpcc = (char const *const *) ppc;
21191 { /* SCO 3.2v4 cc rejects this. */
21193 char const *s = 0 ? (char *) 0 : (char const *) 0;
21198 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
21199 int x[] = {25, 17};
21200 const int *foo = &x[0];
21203 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
21204 typedef const int *iptr;
21208 { /* AIX XL C 1.02.0.0 rejects this saying
21209 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
21210 struct s { int j; const int *ap[3]; };
21211 struct s *b; b->j = 5;
21213 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
21214 const int foo = 10;
21215 if (!foo) return 0;
21217 return !cs[0] && !zero.x;
21224 rm -f conftest.$ac_objext
21225 if { (ac_try="$ac_compile"
21226 case "(($ac_try" in
21227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21228 *) ac_try_echo=$ac_try;;
21230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21231 (eval "$ac_compile") 2>conftest.er1
21233 grep -v '^
*+' conftest.er1 >conftest.err
21235 cat conftest.err >&5
21236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21237 (exit $ac_status); } && {
21238 test -z "$ac_c_werror_flag" ||
21239 test ! -s conftest.err
21240 } && test -s conftest.$ac_objext; then
21243 echo "$as_me: failed program was:" >&5
21244 sed 's
/^
/|
/' conftest.$ac_ext >&5
21249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21251 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
21252 echo "${ECHO_T}$ac_cv_c_const" >&6; }
21253 if test $ac_cv_c_const = no; then
21255 cat >>confdefs.h <<\_ACEOF
21263 ac_config_files="$ac_config_files Makefile"
21265 cat >confcache <<\_ACEOF
21266 # This file is a shell script that caches the results of configure
21267 # tests run on this system so they can be shared between configure
21268 # scripts and configure runs, see configure's option
--config-cache.
21269 # It is not useful on other systems. If it contains results you don't
21270 # want to keep, you may remove or edit it.
21272 # config.status only pays attention to the cache file if you give it
21273 # the --recheck option to rerun configure.
21275 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21276 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21277 # following values.
21281 # The following way of writing the cache mishandles newlines in values,
21282 # but we know of no workaround that is simple, portable, and efficient.
21283 # So, we kill variables containing newlines.
21284 # Ultrix sh set writes to stderr and can't be redirected directly,
21285 # and sets the high bit in the cache file unless we assign to the vars.
21287 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21288 eval ac_val
=\$
$ac_var
21292 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
21293 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
21296 _ | IFS | as_nl
) ;; #(
21297 *) $as_unset $ac_var ;;
21303 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21304 *${as_nl}ac_space
=\
*)
21305 # `set' does not quote correctly, so add quotes (double-quote
21306 # substitution turns \\\\ into \\, and sed turns \\ into \).
21309 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21312 # `set' quotes correctly as required by POSIX, so do not add quotes.
21313 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21322 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21324 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21326 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
21327 if test -w "$cache_file"; then
21328 test "x$cache_file" != "x/dev/null" &&
21329 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
21330 echo "$as_me: updating cache $cache_file" >&6;}
21331 cat confcache
>$cache_file
21333 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
21334 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21339 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
21340 # Let make expand exec_prefix.
21341 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
21343 DEFS
=-DHAVE_CONFIG_H
21347 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
21348 # 1. Remove the extension, and $U if already installed.
21349 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
21350 ac_i
=`echo "$ac_i" | sed "$ac_script"`
21351 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21352 # will be set to the directory where LIBOBJS objects are built.
21353 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21354 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
21356 LIBOBJS
=$ac_libobjs
21358 LTLIBOBJS
=$ac_ltlibobjs
21361 if test -z "${HMACC_TRUE}" && test -z "${HMACC_FALSE}"; then
21362 { { echo "$as_me:$LINENO: error: conditional \"HMACC\" was never defined.
21363 Usually this means the macro was only invoked conditionally." >&5
21364 echo "$as_me: error: conditional \"HMACC\" was never defined.
21365 Usually this means the macro was only invoked conditionally." >&2;}
21366 { (exit 1); exit 1; }; }
21368 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
21369 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
21370 Usually this means the macro was only invoked conditionally." >&5
21371 echo "$as_me: error: conditional \"AMDEP\" was never defined.
21372 Usually this means the macro was only invoked conditionally." >&2;}
21373 { (exit 1); exit 1; }; }
21375 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
21376 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
21377 Usually this means the macro was only invoked conditionally." >&5
21378 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
21379 Usually this means the macro was only invoked conditionally." >&2;}
21380 { (exit 1); exit 1; }; }
21382 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
21383 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
21384 Usually this means the macro was only invoked conditionally." >&5
21385 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
21386 Usually this means the macro was only invoked conditionally." >&2;}
21387 { (exit 1); exit 1; }; }
21390 : ${CONFIG_STATUS=./config.status}
21391 ac_clean_files_save
=$ac_clean_files
21392 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
21393 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21394 echo "$as_me: creating $CONFIG_STATUS" >&6;}
21395 cat >$CONFIG_STATUS <<_ACEOF
21397 # Generated by $as_me.
21398 # Run this file to recreate the current configuration.
21399 # Compiler output produced by configure, useful for debugging
21400 # configure, is in config.log if it exists.
21403 ac_cs_recheck=false
21405 SHELL=\${CONFIG_SHELL-$SHELL}
21408 cat >>$CONFIG_STATUS <<\_ACEOF
21409 ## --------------------- ##
21410 ## M4sh Initialization. ##
21411 ## --------------------- ##
21413 # Be more Bourne compatible
21414 DUALCASE
=1; export DUALCASE
# for MKS sh
21415 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21418 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21419 # is contrary to our usage. Disable this feature.
21420 alias -g '${1+"$@"}'='"$@"'
21421 setopt NO_GLOB_SUBST
21423 case `(set -o) 2>/dev/null` in
21424 *posix
*) set -o posix
;;
21433 # Avoid depending upon Character Ranges.
21434 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
21435 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21436 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
21437 as_cr_digits
='0123456789'
21438 as_cr_alnum
=$as_cr_Letters$as_cr_digits
21440 # The user is always right.
21441 if test "${PATH_SEPARATOR+set}" != set; then
21442 echo "#! /bin/sh" >conf$$.sh
21443 echo "exit 0" >>conf$$.sh
21445 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
21453 # Support unset when possible.
21454 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
21462 # We need space, tab and new line, in precisely that order. Quoting is
21463 # there to prevent editors from complaining about space-tab.
21464 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21465 # splitting by setting IFS to empty value.)
21470 # Find who we are. Look in the path if we contain no directory separator.
21472 *[\\/]* ) as_myself
=$0 ;;
21473 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21474 for as_dir
in $PATH
21477 test -z "$as_dir" && as_dir
=.
21478 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
21484 # We did not find ourselves, most probably we were run as `sh COMMAND'
21485 # in which case we are not to be found in the path.
21486 if test "x$as_myself" = x
; then
21489 if test ! -f "$as_myself"; then
21490 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21491 { (exit 1); exit 1; }
21494 # Work around bugs in pre-3.0 UWIN ksh.
21495 for as_var
in ENV MAIL MAILPATH
21496 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
21504 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21505 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21506 LC_TELEPHONE LC_TIME
21508 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21509 eval $as_var=C
; export $as_var
21511 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
21515 # Required to use basename.
21516 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21517 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21523 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21524 as_basename
=basename
21530 # Name of the executable.
21531 as_me
=`$as_basename -- "$0" ||
21532 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21533 X"$0" : 'X\(//\)$' \| \
21534 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21536 sed '/^.*\/\([^/][^/]*\)\/*$/{
21555 as_lineno_1
=$LINENO
21556 as_lineno_2
=$LINENO
21557 test "x$as_lineno_1" != "x$as_lineno_2" &&
21558 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
21560 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21561 # uniformly replaced by the line number. The first 'sed' inserts a
21562 # line-number line after each line using $LINENO; the second 'sed'
21563 # does the real work. The second script uses 'N' to pair each
21564 # line-number line with the line containing $LINENO, and appends
21565 # trailing '-' during substitution so that $LINENO is not a special
21566 # case at line end.
21567 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21568 # scripts with optimization help from Paolo Bonzini. Blame Lee
21569 # E. McMahon (1931-1989) for sed's syntax. :-)
21581 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21584 ' >$as_me.lineno
&&
21585 chmod +x
"$as_me.lineno" ||
21586 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21587 { (exit 1); exit 1; }; }
21589 # Don't try to exec as it changes $[0], causing all sort of problems
21590 # (the dirname of $[0] is not the place where we might find the
21591 # original and so on. Autoconf is especially sensitive to this).
21592 .
"./$as_me.lineno"
21593 # Exit status is that of the last command.
21598 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
21604 ECHO_C
= ECHO_N
= ECHO_T
=
21605 case `echo -n x` in
21607 case `echo 'x\c'` in
21608 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
21615 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21616 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21622 rm -f conf$$ conf$$.exe conf$$.
file
21623 if test -d conf$$.dir
; then
21624 rm -f conf$$.dir
/conf$$.
file
21630 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
21632 # ... but there are two gotchas:
21633 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21634 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21635 # In both cases, we have to default to `cp -p'.
21636 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
21638 elif ln conf$$.
file conf$$
2>/dev
/null
; then
21643 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
21644 rmdir conf$$.dir
2>/dev
/null
21646 if mkdir
-p .
2>/dev
/null
; then
21649 test -d .
/-p && rmdir .
/-p
21653 if test -x / >/dev
/null
2>&1; then
21654 as_test_x
='test -x'
21656 if ls -dL / >/dev
/null
2>&1; then
21663 if test -d "$1"; then
21669 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
21670 ???[sx]*):;;*)false;;esac;fi
21674 as_executable_p
=$as_test_x
21676 # Sed expression to map a string onto a valid CPP name.
21677 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21679 # Sed expression to map a string onto a valid variable name.
21680 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21685 # Save the log message, to keep $[0] and so on meaningful, and to
21686 # report actual input values of CONFIG_FILES etc. instead of their
21687 # values after options handling.
21689 This file was extended by libmd5 $as_me 1.21, which was
21690 generated by GNU Autoconf 2.61. Invocation command line was
21692 CONFIG_FILES = $CONFIG_FILES
21693 CONFIG_HEADERS = $CONFIG_HEADERS
21694 CONFIG_LINKS = $CONFIG_LINKS
21695 CONFIG_COMMANDS = $CONFIG_COMMANDS
21698 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21703 cat >>$CONFIG_STATUS <<_ACEOF
21704 # Files that config.status was made for.
21705 config_files="$ac_config_files"
21706 config_headers="$ac_config_headers"
21707 config_commands="$ac_config_commands"
21711 cat >>$CONFIG_STATUS <<\_ACEOF
21713 \`$as_me' instantiates files from templates according to the
21714 current configuration.
21716 Usage: $0 [OPTIONS] [FILE]...
21718 -h, --help print this help, then exit
21719 -V, --version print version number and configuration settings, then exit
21720 -q, --quiet do not print progress messages
21721 -d, --debug don't remove temporary files
21722 --recheck update $as_me by reconfiguring in the same conditions
21723 --file=FILE[:TEMPLATE]
21724 instantiate the configuration file FILE
21725 --header=FILE[:TEMPLATE]
21726 instantiate the configuration header FILE
21728 Configuration files:
21731 Configuration headers:
21734 Configuration commands:
21737 Report bugs to <bug-autoconf@gnu.org>."
21740 cat >>$CONFIG_STATUS <<_ACEOF
21742 libmd5 config.status 1.21
21743 configured by $0, generated by GNU Autoconf 2.61,
21744 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21746 Copyright (C) 2006 Free Software Foundation, Inc.
21747 This config.status script is free software; the Free Software Foundation
21748 gives unlimited permission to copy, distribute and modify it."
21756 cat >>$CONFIG_STATUS <<\_ACEOF
21757 # If no file are specified by the user, then we need to provide default
21758 # value. By we need to know if files were specified by the user.
21764 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
21765 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
21776 # Handling of the options.
21777 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
21779 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
21780 echo "$ac_cs_version"; exit ;;
21781 --debug |
--debu |
--deb |
--de |
--d |
-d )
21783 --file |
--fil |
--fi |
--f )
21785 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
21786 ac_need_defaults
=false
;;
21787 --header |
--heade |
--head |
--hea )
21789 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
21790 ac_need_defaults
=false
;;
21792 # Conflict between --help and --header
21793 { echo "$as_me: error: ambiguous option: $1
21794 Try \`$0 --help' for more information." >&2
21795 { (exit 1); exit 1; }; };;
21796 --help |
--hel |
-h )
21797 echo "$ac_cs_usage"; exit ;;
21798 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
21799 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
21802 # This is an error.
21803 -*) { echo "$as_me: error: unrecognized option: $1
21804 Try \`$0 --help' for more information." >&2
21805 { (exit 1); exit 1; }; } ;;
21807 *) ac_config_targets
="$ac_config_targets $1"
21808 ac_need_defaults
=false
;;
21814 ac_configure_extra_args
=
21816 if $ac_cs_silent; then
21818 ac_configure_extra_args
="$ac_configure_extra_args --silent"
21822 cat >>$CONFIG_STATUS <<_ACEOF
21823 if \$ac_cs_recheck; then
21824 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21825 CONFIG_SHELL=$SHELL
21826 export CONFIG_SHELL
21827 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21831 cat >>$CONFIG_STATUS <<\_ACEOF
21835 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21836 ## Running $as_me. ##
21842 cat >>$CONFIG_STATUS <<_ACEOF
21846 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
21850 cat >>$CONFIG_STATUS <<\_ACEOF
21852 # Handling of arguments.
21853 for ac_config_target
in $ac_config_targets
21855 case $ac_config_target in
21856 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
21857 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
21858 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
21860 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21861 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21862 { (exit 1); exit 1; }; };;
21867 # If the user did not use the arguments to specify the items to instantiate,
21868 # then the envvar interface is used. Set only those that are not.
21869 # We use the long form for the default assignment because of an extremely
21870 # bizarre bug on SunOS 4.1.3.
21871 if $ac_need_defaults; then
21872 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
21873 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
21874 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
21877 # Have a temporary directory for convenience. Make it in the build tree
21878 # simply because there is no reason against having it here, and in addition,
21879 # creating and moving files from /tmp can sometimes cause problems.
21880 # Hook for its removal unless debugging.
21881 # Note that there is a small window in which the directory will not be cleaned:
21882 # after its creation but before its name has been assigned to `$tmp'.
21886 trap 'exit_status=$?
21887 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21889 trap '{ (exit 1); exit 1; }' 1 2 13 15
21891 # Create a (secure) tmp directory for tmp files.
21894 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21895 test -n "$tmp" && test -d "$tmp"
21898 tmp
=.
/conf$$
-$RANDOM
21899 (umask 077 && mkdir
"$tmp")
21902 echo "$me: cannot create a temporary directory in ." >&2
21903 { (exit 1); exit 1; }
21907 # Set up the sed scripts for CONFIG_FILES section.
21910 # No need to generate the scripts if there are no CONFIG_FILES.
21911 # This happens for instance when ./config.status config.h
21912 if test -n "$CONFIG_FILES"; then
21919 for ac_last_try
in false false false false false
:; do
21920 cat >conf$
$subs.
sed <<_ACEOF
21921 SHELL!$SHELL$ac_delim
21922 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
21923 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
21924 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
21925 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
21926 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
21927 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
21928 exec_prefix!$exec_prefix$ac_delim
21929 prefix!$prefix$ac_delim
21930 program_transform_name!$program_transform_name$ac_delim
21931 bindir!$bindir$ac_delim
21932 sbindir!$sbindir$ac_delim
21933 libexecdir!$libexecdir$ac_delim
21934 datarootdir!$datarootdir$ac_delim
21935 datadir!$datadir$ac_delim
21936 sysconfdir!$sysconfdir$ac_delim
21937 sharedstatedir!$sharedstatedir$ac_delim
21938 localstatedir!$localstatedir$ac_delim
21939 includedir!$includedir$ac_delim
21940 oldincludedir!$oldincludedir$ac_delim
21941 docdir!$docdir$ac_delim
21942 infodir!$infodir$ac_delim
21943 htmldir!$htmldir$ac_delim
21944 dvidir!$dvidir$ac_delim
21945 pdfdir!$pdfdir$ac_delim
21946 psdir!$psdir$ac_delim
21947 libdir!$libdir$ac_delim
21948 localedir!$localedir$ac_delim
21949 mandir!$mandir$ac_delim
21950 DEFS!$DEFS$ac_delim
21951 ECHO_C!$ECHO_C$ac_delim
21952 ECHO_N!$ECHO_N$ac_delim
21953 ECHO_T!$ECHO_T$ac_delim
21954 LIBS!$LIBS$ac_delim
21955 build_alias!$build_alias$ac_delim
21956 host_alias!$host_alias$ac_delim
21957 target_alias!$target_alias$ac_delim
21958 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
21959 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
21960 INSTALL_DATA!$INSTALL_DATA$ac_delim
21961 am__isrc!$am__isrc$ac_delim
21962 CYGPATH_W!$CYGPATH_W$ac_delim
21963 PACKAGE!$PACKAGE$ac_delim
21964 VERSION!$VERSION$ac_delim
21965 ACLOCAL!$ACLOCAL$ac_delim
21966 AUTOCONF!$AUTOCONF$ac_delim
21967 AUTOMAKE!$AUTOMAKE$ac_delim
21968 AUTOHEADER!$AUTOHEADER$ac_delim
21969 MAKEINFO!$MAKEINFO$ac_delim
21970 install_sh!$install_sh$ac_delim
21971 STRIP!$STRIP$ac_delim
21972 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
21973 mkdir_p!$mkdir_p$ac_delim
21975 SET_MAKE!$SET_MAKE$ac_delim
21976 am__leading_dot!$am__leading_dot$ac_delim
21977 AMTAR!$AMTAR$ac_delim
21978 am__tar!$am__tar$ac_delim
21979 am__untar!$am__untar$ac_delim
21980 HMACC_TRUE!$HMACC_TRUE$ac_delim
21981 HMACC_FALSE!$HMACC_FALSE$ac_delim
21982 LN_S!$LN_S$ac_delim
21984 CFLAGS!$CFLAGS$ac_delim
21985 LDFLAGS!$LDFLAGS$ac_delim
21986 CPPFLAGS!$CPPFLAGS$ac_delim
21987 ac_ct_CC!$ac_ct_CC$ac_delim
21988 EXEEXT!$EXEEXT$ac_delim
21989 OBJEXT!$OBJEXT$ac_delim
21990 DEPDIR!$DEPDIR$ac_delim
21991 am__include!$am__include$ac_delim
21992 am__quote!$am__quote$ac_delim
21993 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
21994 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
21995 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
21996 CCDEPMODE!$CCDEPMODE$ac_delim
21997 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
21998 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
21999 build!$build$ac_delim
22000 build_cpu!$build_cpu$ac_delim
22001 build_vendor!$build_vendor$ac_delim
22002 build_os!$build_os$ac_delim
22003 host!$host$ac_delim
22004 host_cpu!$host_cpu$ac_delim
22005 host_vendor!$host_vendor$ac_delim
22006 host_os!$host_os$ac_delim
22008 GREP!$GREP$ac_delim
22009 EGREP!$EGREP$ac_delim
22010 ECHO!$ECHO$ac_delim
22012 RANLIB!$RANLIB$ac_delim
22015 CXXFLAGS!$CXXFLAGS$ac_delim
22016 ac_ct_CXX!$ac_ct_CXX$ac_delim
22017 CXXDEPMODE!$CXXDEPMODE$ac_delim
22020 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
22022 elif $ac_last_try; then
22023 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22024 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22025 { (exit 1); exit 1; }; }
22027 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
22031 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22032 if test -n "$ac_eof"; then
22033 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
22034 ac_eof
=`expr $ac_eof + 1`
22037 cat >>$CONFIG_STATUS <<_ACEOF
22038 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
22039 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22042 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22043 s/^/s,@/; s/!/@,|#_!!_#|/
22046 s/'"$ac_delim"'$/,g/; t
22048 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22049 ' >>$CONFIG_STATUS <conf$
$subs.
sed
22050 rm -f conf$
$subs.
sed
22051 cat >>$CONFIG_STATUS <<_ACEOF
22057 for ac_last_try
in false false false false false
:; do
22058 cat >conf$
$subs.
sed <<_ACEOF
22059 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
22060 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
22061 CXXCPP!$CXXCPP$ac_delim
22063 FFLAGS!$FFLAGS$ac_delim
22064 ac_ct_F77!$ac_ct_F77$ac_delim
22065 LIBTOOL!$LIBTOOL$ac_delim
22066 LIBOBJS!$LIBOBJS$ac_delim
22067 LTLIBOBJS!$LTLIBOBJS$ac_delim
22070 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 9; then
22072 elif $ac_last_try; then
22073 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22074 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22075 { (exit 1); exit 1; }; }
22077 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
22081 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22082 if test -n "$ac_eof"; then
22083 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
22084 ac_eof
=`expr $ac_eof + 1`
22087 cat >>$CONFIG_STATUS <<_ACEOF
22088 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
22089 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
22092 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22093 s/^/s,@/; s/!/@,|#_!!_#|/
22096 s/'"$ac_delim"'$/,g/; t
22098 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22099 ' >>$CONFIG_STATUS <conf$
$subs.
sed
22100 rm -f conf$
$subs.
sed
22101 cat >>$CONFIG_STATUS <<_ACEOF
22108 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22109 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22110 # trailing colons and then remove the whole line if VPATH becomes empty
22111 # (actually we leave an empty line to preserve line numbers).
22112 if test "x$srcdir" = x.
; then
22113 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
22114 s/:*\$(srcdir):*/:/
22115 s/:*\${srcdir}:*/:/
22117 s/^\([^=]*=[ ]*\):*/\1/
22123 cat >>$CONFIG_STATUS <<\_ACEOF
22124 fi # test -n "$CONFIG_FILES"
22127 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
22130 :[FHLC
]) ac_mode
=$ac_tag; continue;;
22132 case $ac_mode$ac_tag in
22134 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
22135 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
22136 { (exit 1); exit 1; }; };;
22137 :[FH
]-) ac_tag
=-:-;;
22138 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
22155 -) ac_f
="$tmp/stdin";;
22156 *) # Look for the file first in the build tree, then in the source tree
22157 # (if the path is not absolute). The absolute path cannot be DOS-style,
22158 # because $ac_f cannot contain `:'.
22162 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
22164 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22165 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22166 { (exit 1); exit 1; }; };;
22168 ac_file_inputs
="$ac_file_inputs $ac_f"
22171 # Let's still pretend it is `configure' which instantiates (i.e., don't
22172 # use $as_me), people would be surprised to read:
22173 # /* config.h. Generated by config.status. */
22174 configure_input
="Generated from "`IFS=:
22175 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
22176 if test x
"$ac_file" != x-
; then
22177 configure_input
="$ac_file. $configure_input"
22178 { echo "$as_me:$LINENO: creating $ac_file" >&5
22179 echo "$as_me: creating $ac_file" >&6;}
22183 *:-:* |
*:-) cat >"$tmp/stdin";;
22188 ac_dir
=`$as_dirname -- "$ac_file" ||
22189 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22190 X"$ac_file" : 'X\(//\)[^/]' \| \
22191 X"$ac_file" : 'X\(//\)$' \| \
22192 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22194 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22198 /^X\(\/\/\)[^/].*/{
22213 -*) as_dir
=.
/$as_dir;;
22215 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
22219 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22220 *) as_qdir
=$as_dir;;
22222 as_dirs
="'$as_qdir' $as_dirs"
22223 as_dir
=`$as_dirname -- "$as_dir" ||
22224 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22225 X"$as_dir" : 'X\(//\)[^/]' \| \
22226 X"$as_dir" : 'X\(//\)$' \| \
22227 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22229 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22233 /^X\(\/\/\)[^/].*/{
22246 test -d "$as_dir" && break
22248 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22249 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22250 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22251 { (exit 1); exit 1; }; }; }
22255 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22257 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22258 # A ".." for each directory in $ac_dir_suffix.
22259 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
22260 case $ac_top_builddir_sub in
22261 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22262 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
22265 ac_abs_top_builddir
=$ac_pwd
22266 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
22267 # for backward compatibility:
22268 ac_top_builddir
=$ac_top_build_prefix
22271 .
) # We are building in place.
22273 ac_top_srcdir
=$ac_top_builddir_sub
22274 ac_abs_top_srcdir
=$ac_pwd ;;
22275 [\\/]* | ?
:[\\/]* ) # Absolute name.
22276 ac_srcdir
=$srcdir$ac_dir_suffix;
22277 ac_top_srcdir
=$srcdir
22278 ac_abs_top_srcdir
=$srcdir ;;
22279 *) # Relative name.
22280 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
22281 ac_top_srcdir
=$ac_top_build_prefix$srcdir
22282 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
22284 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
22294 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
22295 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
22297 ac_MKDIR_P
=$MKDIR_P
22299 [\\/$
]* | ?
:[\\/]* ) ;;
22300 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
22304 cat >>$CONFIG_STATUS <<\_ACEOF
22305 # If the template does not know about datarootdir, expand it.
22306 # FIXME: This hack should be removed a few years after 2.60.
22307 ac_datarootdir_hack
=; ac_datarootdir_seen
=
22309 case `sed -n '/datarootdir/ {
22318 ' $ac_file_inputs` in
22319 *datarootdir
*) ac_datarootdir_seen
=yes;;
22320 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
22321 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22322 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22324 cat >>$CONFIG_STATUS <<_ACEOF
22325 ac_datarootdir_hack='
22326 s&@datadir@&$datadir&g
22327 s&@docdir@&$docdir&g
22328 s&@infodir@&$infodir&g
22329 s&@localedir@&$localedir&g
22330 s&@mandir@&$mandir&g
22331 s&\\\${datarootdir}&$datarootdir&g' ;;
22335 # Neutralize VPATH when `$srcdir' = `.'.
22336 # Shell code in configure.ac might set extrasub.
22337 # FIXME: do we really want to maintain this feature?
22338 cat >>$CONFIG_STATUS <<_ACEOF
22342 cat >>$CONFIG_STATUS <<\_ACEOF
22344 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
22345 s
&@configure_input@
&$configure_input&;t t
22346 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
22347 s
&@srcdir@
&$ac_srcdir&;t t
22348 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
22349 s
&@top_srcdir@
&$ac_top_srcdir&;t t
22350 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
22351 s
&@builddir@
&$ac_builddir&;t t
22352 s
&@abs_builddir@
&$ac_abs_builddir&;t t
22353 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
22354 s
&@INSTALL@
&$ac_INSTALL&;t t
22355 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
22356 $ac_datarootdir_hack
22357 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
22359 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22360 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
22361 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
22362 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
22363 which seems to be undefined. Please make sure it is defined." >&5
22364 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
22365 which seems to be undefined. Please make sure it is defined." >&2;}
22369 -) cat "$tmp/out"; rm -f "$tmp/out";;
22370 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
22379 # Transform confdefs.h into a sed script `conftest.defines', that
22380 # substitutes the proper values into config.h.in to produce config.h.
22381 rm -f conftest.defines conftest.
tail
22382 # First, append a space to every undef/define line, to ease matching.
22383 echo 's/$/ /' >conftest.defines
22384 # Then, protect against being on the right side of a sed subst, or in
22385 # an unquoted here document, in config.status. If some macros were
22386 # called several times there might be several #defines for the same
22387 # symbol, which is useless. But do not sort them, since the last
22388 # AC_DEFINE must be honored.
22389 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
22390 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
22391 # NAME is the cpp macro being defined, VALUE is the value it is being given.
22392 # PARAMS is the parameter list in the macro definition--in most cases, it's
22393 # just an empty string.
22394 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
22395 ac_dB
='\\)[ (].*,\\1define\\2'
22403 s/^[ ]*#[ ]*define[ ][ ]*//
22408 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
22409 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
22410 ' >>conftest.defines
22412 # Remove the space that was appended to ease matching.
22413 # Then replace #undef with comments. This is necessary, for
22414 # example, in the case of _POSIX_SOURCE, which is predefined and required
22415 # on some systems where configure will not decide to define it.
22416 # (The regexp can be short, since the line contains either #define or #undef.)
22418 s,^[ #]*u.*,/* & */,' >>conftest.defines
22420 # Break up conftest.defines:
22421 ac_max_sed_lines
=50
22423 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
22424 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
22425 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
22427 ac_in
='$ac_file_inputs'
22428 ac_out
='"$tmp/out1"'
22429 ac_nxt
='"$tmp/out2"'
22433 # Write a here document:
22434 cat >>$CONFIG_STATUS <<_ACEOF
22435 # First, check the format of the line:
22436 cat >"\$tmp/defines.sed" <<\\CEOF
22437 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
22438 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
22442 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
22444 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
22445 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
22446 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
22447 grep . conftest.
tail >/dev
/null ||
break
22448 rm -f conftest.defines
22449 mv conftest.
tail conftest.defines
22451 rm -f conftest.defines conftest.
tail
22453 echo "ac_result=$ac_in" >>$CONFIG_STATUS
22454 cat >>$CONFIG_STATUS <<\_ACEOF
22455 if test x
"$ac_file" != x-
; then
22456 echo "/* $configure_input */" >"$tmp/config.h"
22457 cat "$ac_result" >>"$tmp/config.h"
22458 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
22459 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22460 echo "$as_me: $ac_file is unchanged" >&6;}
22463 mv "$tmp/config.h" $ac_file
22466 echo "/* $configure_input */"
22470 # Compute $ac_file's index in $config_headers.
22473 for _am_header
in $config_headers :; do
22474 case $_am_header in
22475 $_am_arg |
$_am_arg:* )
22478 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
22481 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
22482 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22483 X"$_am_arg" : 'X\(//\)[^/]' \| \
22484 X"$_am_arg" : 'X\(//\)$' \| \
22485 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
22487 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22491 /^X\(\/\/\)[^/].*/{
22503 s/.*/./; q'`/stamp-h
$_am_stamp_count
22506 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
22507 echo "$as_me: executing $ac_file commands" >&6;}
22512 case $ac_file$ac_mode in
22513 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
22514 # Strip MF so we end up with the name of the file.
22515 mf
=`echo "$mf" | sed -e 's/:.*$//'`
22516 # Check whether this is an Automake generated Makefile or not.
22517 # We used to match only the files named `Makefile.in', but
22518 # some people rename them; so instead we look at the file content.
22519 # Grep'ing the first line is not enough: some people post-process
22520 # each Makefile.in and add a new line on top of each file to say so.
22521 # Grep'ing the whole file is not good either: AIX grep has a line
22522 # limit of 2048, but all sed's we know have understand at least 4000.
22523 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
22524 dirpart
=`$as_dirname -- "$mf" ||
22525 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22526 X"$mf" : 'X\(//\)[^/]' \| \
22527 X"$mf" : 'X\(//\)$' \| \
22528 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
22530 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22534 /^X\(\/\/\)[^/].*/{
22550 # Extract the definition of DEPDIR, am__include, and am__quote
22551 # from the Makefile without running `make'.
22552 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
22553 test -z "$DEPDIR" && continue
22554 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
22555 test -z "am__include" && continue
22556 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
22557 # When using ansi2knr, U may be empty or an underscore; expand it
22558 U
=`sed -n 's/^U = //p' < "$mf"`
22559 # Find all dependency output files, they are included files with
22560 # $(DEPDIR) in their names. We invoke sed twice because it is the
22561 # simplest approach to changing $(DEPDIR) to its actual value in the
22563 for file in `sed -n "
22564 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
22565 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
22566 # Make sure the directory exists.
22567 test -f "$dirpart/$file" && continue
22568 fdir
=`$as_dirname -- "$file" ||
22569 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22570 X"$file" : 'X\(//\)[^/]' \| \
22571 X"$file" : 'X\(//\)$' \| \
22572 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
22574 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22578 /^X\(\/\/\)[^/].*/{
22591 { as_dir
=$dirpart/$fdir
22593 -*) as_dir
=.
/$as_dir;;
22595 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
22599 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22600 *) as_qdir
=$as_dir;;
22602 as_dirs
="'$as_qdir' $as_dirs"
22603 as_dir
=`$as_dirname -- "$as_dir" ||
22604 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22605 X"$as_dir" : 'X\(//\)[^/]' \| \
22606 X"$as_dir" : 'X\(//\)$' \| \
22607 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22609 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22613 /^X\(\/\/\)[^/].*/{
22626 test -d "$as_dir" && break
22628 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22629 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22630 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22631 { (exit 1); exit 1; }; }; }
22632 # echo "creating $dirpart/$file"
22633 echo '# dummy' > "$dirpart/$file"
22642 { (exit 0); exit 0; }
22644 chmod +x
$CONFIG_STATUS
22645 ac_clean_files
=$ac_clean_files_save
22648 # configure is writing to config.log, and then calls config.status.
22649 # config.status does its own redirection, appending to config.log.
22650 # Unfortunately, on DOS this fails, as config.log is still kept open
22651 # by configure, so config.status won't be able to write to it; its
22652 # output is simply discarded. So we exec the FD to /dev/null,
22653 # effectively closing config.log, so it can be properly (re)opened and
22654 # appended to by config.status. When coming back to configure, we
22655 # need to make the FD available again.
22656 if test "$no_create" != yes; then
22658 ac_config_status_args
=
22659 test "$silent" = yes &&
22660 ac_config_status_args
="$ac_config_status_args --quiet"
22662 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
22664 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22665 # would make configure fail if this is the last instruction.
22666 $ac_cs_success ||
{ (exit 1); exit 1; }